1. Feb 05, 2019
  2. Feb 04, 2019
    • Luke Schoen's avatar
      chore: Refactor using Babel plugin syntax from guide · 2213a8fa
      Luke Schoen authored
      In the Babel 7 migration guide these are the different plugings and
      to add them:
      
      See https://babeljs.io/blog/2018/07/27/removing-babels-stage-presets#migrating
      
      ```
      // Stage 0
      "@babel/plugin-proposal-function-bind",
      
      // Stage 1
      "@babel/plugin-proposal-export-default-from",
      "@babel/plugin-proposal-logical-assignment-operators",
      ["@babel/plugin-proposal-optional-chaining", { "loose": false }],
      ["@babel/plugin-proposal-pipeline-operator", { "proposal": "minimal" }],
      ["@babel/plugin-proposal-nullish-coalescing-operator", { "loose": false }],
      "@babel/plugin-proposal-do-expressions",
      
      // Stage 2
      ["@babel/plugin-proposal-decorators", { "legacy": true }],
      "@babel/plugin-proposal-function-sent",
      "@babel/plugin-proposal-export-namespace-from",
      "@babel/plugin-proposal-numeric-separator",
      "@babel/plugin-proposal-throw-expressions",
      
      // Stage 3
      "@babel/plugin-syntax-dynamic-import",
      "@babel/plugin-syntax-import-meta",
      ["@babel/plugin-proposal-class-properties", { "loose": false }],
      "@babel/plugin-proposal-json-strings"
      ```
      2213a8fa
    • Luke Schoen's avatar
      ffe59409
    • Luke Schoen's avatar
      fix: Remove stage-0 and add dependencies to fix errors. Update to Babel 7.2.3 · f9856d6b
      Luke Schoen authored
      Fixes errors:
      
      ```
      { Error: Cannot find module '@babel/plugin-proposal-class-properties' from '/Users/scon/code/src/paritytech/fether/packages/fether-ui'
      ```
      
      ```
      Failed to minify the bundle. Error: static/js/main.f19a0eac.chunk.js from Terser
      TypeError: Cannot read property 'minify' of undefined
      ```
      f9856d6b
  3. Jan 22, 2019
  4. Jan 21, 2019
  5. Jan 19, 2019
  6. Jan 18, 2019
  7. Jan 16, 2019
    • Thibaut Sardan's avatar
      Update package.json · a79710ab
      Thibaut Sardan authored
      a79710ab
    • Luke Schoen's avatar
      feat: Relates to #337. Part 1 of 2 - Account view - Change header account design · 85b74c41
      Luke Schoen authored
      * Change Account screen so its header uses the Information component with a big identicon, a short address,
      so it is clickable, and with identicon on left of name and address.
      
      * Apply extra bottom margin between name and account address when Information component used in the header
      
      * Update header so it uses Flexbox according to docs as intended
      
      * Since we're using Flexbox without placeholder spacing for the left and right header buttons, when the title
      is shown in the header it is offset if there is only a left or right button. So a `titleOffset` prop
      is used on pages where the Header component is used to indicate if the title needs to be offset to the left
      or right so it appears centered in the screen. We also pass a `screen` prop (named after the component where the
      Header component is being used so we can tailor the header spacing on specific screens.
      
      * Re-order props alphabetically
      
      * QUESTION - should we consider always adding placeholder spacing for where both right and left buttons in header would be as an alternative so no offset for the title is require?
      85b74c41
  8. Jan 14, 2019