add width, v0.1.10
This commit is contained in:
@@ -38,6 +38,12 @@ const meta = {
|
||||
control: 'inline-radio',
|
||||
table: { type: { summary: "'sm' | 'md' | 'lg' | 'full'" } },
|
||||
},
|
||||
width: {
|
||||
description: 'Input width constraint.',
|
||||
options: ['sm', 'md', 'lg', 'full'],
|
||||
control: 'inline-radio',
|
||||
table: { type: { summary: "'sm' | 'md' | 'lg' | 'full'" } },
|
||||
},
|
||||
layout: {
|
||||
description: 'Label/input layout mode.',
|
||||
options: ['stacked', 'inline'],
|
||||
@@ -105,6 +111,7 @@ const meta = {
|
||||
type: 'datetime-local',
|
||||
value: '',
|
||||
size: 'md',
|
||||
width: 'md',
|
||||
layout: 'stacked',
|
||||
},
|
||||
} satisfies Meta<typeof DatePicker>;
|
||||
@@ -224,6 +231,7 @@ export const SizeMatrix: Story = {
|
||||
{...args}
|
||||
value={value}
|
||||
size="full"
|
||||
width="full"
|
||||
onChange={(event) => setValue(event.target.value)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user