diff --git a/package.json b/package.json index 77a62dc7..89182de5 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "config": {}, "size-limit": [ { - "limit": "25 KB", + "limit": "30 KB", "webpack": false, "path": "dist/**/!(*.test).js" } @@ -75,7 +75,7 @@ }, "dependencies": { "@bluebase/component-mapper": "^1.4.0", - "@bluebase/components": "^5.1.0", + "@bluebase/components": "^5.1.1", "@material-ui/core": "^3.9.3", "@material-ui/lab": "^3.0.0-alpha.30", "deepmerge": "^3.2.0", diff --git a/src/components/Button/__stories__/Button.stories.tsx b/src/components/Button/__stories__/Button.stories.tsx index bdf827df..a6cc34e6 100644 --- a/src/components/Button/__stories__/Button.stories.tsx +++ b/src/components/Button/__stories__/Button.stories.tsx @@ -1,12 +1,12 @@ -import { ButtonProps } from '@bluebase/components'; +import { Button, /*ButtonProps*/ } from '@bluebase/components'; import React from 'react'; import { action } from '@storybook/addon-actions'; -import { getComponent } from '@bluebase/core'; +// import { getComponent } from '@bluebase/core'; import storiesOf from '@bluebase/storybook-addon'; import { withInfo } from '@storybook/addon-info'; import { withKnobs } from '@storybook/addon-knobs'; -const Button = getComponent('Button'); +// const Button = getComponent('Button'); const stories = storiesOf('Button', module); @@ -15,109 +15,109 @@ stories.addDecorator(withKnobs); stories -.add('Contained Buttons', () => ( - - - - - - - -)) + + )) -.add('Text Buttons', () => ( - - - + - - - - -)) + + )) -.add('Outlined Buttons', () => ( - - - - - - - -)) + + )) -.add('Sizes', () => ( - - - - - - - - - - - -)) + + )) -.add('Width', () => ( - - - - -)) + .add('Width', () => ( + + + + + )) -.add('Title Prop', () => ( - -