Skip to content

Commit

Permalink
Vault ui (#21)
Browse files Browse the repository at this point in the history
Vault ui
  • Loading branch information
perry-mitchell committed May 4, 2019
2 parents a48267a + 88de179 commit e902ef7
Show file tree
Hide file tree
Showing 34 changed files with 6,254 additions and 3,774 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Expand Up @@ -10,8 +10,11 @@
}]
],
"plugins": [
"ramda",
"@babel/plugin-transform-spread",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-function-bind",
"jsx-control-statements"
]
}
3 changes: 3 additions & 0 deletions .editorconfig
Expand Up @@ -3,3 +3,6 @@ root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
5 changes: 0 additions & 5 deletions .npmignore

This file was deleted.

35 changes: 35 additions & 0 deletions .storybook/webpack.config.js
@@ -0,0 +1,35 @@
const path = require('path');

module.exports = {
node: {
fs: 'empty'
},
module: {
rules: [
{
test: /\.css$/,
use: [
'style-loader', // creates style nodes from JS strings
'css-loader' // translates CSS into CommonJS
]
},
{
test: /\.scss$/,
use: [
'style-loader', // creates style nodes from JS strings
'css-loader', // translates CSS into CommonJS
'sass-loader' // compiles Sass to CSS, using Node Sass by default
]
},
{
test: /\.(png|jpg|gif)$/,
use: [
{
loader: 'file-loader',
options: {}
}
]
}
]
}
};
10 changes: 6 additions & 4 deletions __tests__/__snapshots__/generator.spec.js.snap
Expand Up @@ -368,10 +368,11 @@ exports[`generator initial render remains consistent 1`] = `
<body>
<div
class="Popover Popover-above "
style="position: absolute; top: -4px; left: -25px; display: flex; flex-flow: column; transform: translateY(0); opacity: 1;"
style="position: absolute; top: -4px; left: -25px; display: flex; flex-flow: column; transform: translateY(0); opacity: 1; transition-property: top, left, opacity, transform; transition-duration: 500ms; transition-timing-function: cubic-bezier(0.230, 1.000, 0.320, 1.000);"
>
<div
class="Popover-body"
style="order: -1;"
>
<div
class="c0"
Expand Down Expand Up @@ -512,7 +513,7 @@ exports[`generator initial render remains consistent 1`] = `
<svg
class="Popover-tip"
height="7"
style="transform: translateX(-14px);"
style="transform: translateX(-14px); transition: transform 150ms ease-in;"
width="14"
>
<polygon
Expand Down Expand Up @@ -550,10 +551,11 @@ exports[`generator initial render remains consistent 1`] = `
<body>
<div
class="Popover Popover-above "
style="position: absolute; top: -4px; left: -25px; display: flex; flex-flow: column; transform: translateY(0); opacity: 1;"
style="position: absolute; top: -4px; left: -25px; display: flex; flex-flow: column; transform: translateY(0); opacity: 1; transition-property: top, left, opacity, transform; transition-duration: 500ms; transition-timing-function: cubic-bezier(0.230, 1.000, 0.320, 1.000);"
>
<div
class="Popover-body"
style="order: -1;"
>
<div
class="c0"
Expand Down Expand Up @@ -694,7 +696,7 @@ exports[`generator initial render remains consistent 1`] = `
<svg
class="Popover-tip"
height="7"
style="transform: translateX(-14px);"
style="transform: translateX(-14px); transition: transform 150ms ease-in;"
width="14"
>
<polygon
Expand Down

0 comments on commit e902ef7

Please sign in to comment.