diff --git a/package.json b/package.json index b6ceac1..3318437 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chardonnay", - "version": "1.0.22", + "version": "1.0.23", "description": "A mobile first frontend framework made with wine", "homepage": "https://vissimo-group.github.io/chardonnay/", "main": "./dist/index.js", diff --git a/src/components/Button/index.stories.tsx b/src/components/Button/index.stories.tsx index 0737089..d88039f 100644 --- a/src/components/Button/index.stories.tsx +++ b/src/components/Button/index.stories.tsx @@ -6,7 +6,7 @@ const meta: Meta = { component: Button, tags: ['autodocs'], argTypes: { - type: { + buttonType: { control: { type: 'select', }, @@ -111,7 +111,7 @@ const checkIcon = ( export const Filled: Story = { args: { variant: 'FILLED', - type: 'PRIMARY', + buttonType: 'PRIMARY', fullWidth: true, large: false, disabled: false, @@ -127,7 +127,7 @@ export const Filled: Story = { export const FilledDestructive: Story = { args: { variant: 'FILLED', - type: 'DESTRUCTIVE', + buttonType: 'DESTRUCTIVE', fullWidth: true, large: false, }, @@ -140,7 +140,12 @@ export const FilledDestructive: Story = { } export const Outlined: Story = { - args: { variant: 'OUTLINED', type: 'PRIMARY', fullWidth: true, large: false }, + args: { + variant: 'OUTLINED', + buttonType: 'PRIMARY', + fullWidth: true, + large: false, + }, render: (args) => ( , } export const Large: Story = { - args: { variant: 'FILLED', type: 'PRIMARY', fullWidth: true, large: true }, + args: { + variant: 'FILLED', + buttonType: 'PRIMARY', + fullWidth: true, + large: true, + }, render: (args) => (