diff --git a/package.json b/package.json index 71a5710..05d995e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@panic/web-ui", - "version": "0.1.9", + "version": "0.1.10", "license": "AGPL-3.0-only", "description": "Core components for panic.haus web applications", "type": "module", diff --git a/src/components/Button.stories.tsx b/src/components/Button.stories.tsx index ae0119c..c8eddf1 100644 --- a/src/components/Button.stories.tsx +++ b/src/components/Button.stories.tsx @@ -39,6 +39,12 @@ const meta = { control: 'inline-radio', table: { type: { summary: "'sm' | 'md' | 'lg' | 'full'" } }, }, + width: { + description: 'Button width behavior.', + options: ['sm', 'md', 'lg', 'full'], + control: 'inline-radio', + table: { type: { summary: "'sm' | 'md' | 'lg' | 'full'" } }, + }, to: { description: 'Navigation path. When set, the component renders a ``.', control: 'text', @@ -80,6 +86,7 @@ const meta = { type: 'solid', variant: 'primary', size: 'md', + width: 'md', label: 'Save', }, } satisfies Meta; @@ -132,7 +139,7 @@ export const SizeMatrix: Story = {