Skip to content

Commit cad162c

Browse files
committed
move into /form story folder
1 parent 5068250 commit cad162c

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

packages/uui-form-layout-item/lib/uui-form-layout-item.story.ts

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,24 @@ import '@umbraco-ui/uui-form/lib';
88
import '@umbraco-ui/uui-label/lib';
99

1010
export default {
11-
id: 'uui-form-item',
12-
title: 'Inputs/Form Item',
13-
component: 'uui-form-item',
11+
id: 'uui-form-layout-item',
12+
title: 'Inputs/Form/Form Layout Item',
13+
component: 'uui-form-layout-item',
1414
};
1515

16-
export const Overview: Story = () => html`
17-
<uui-form-item>
18-
Form item is a layout component, use the slots to append components of
19-
interest. See the following stories for examples.
20-
</uui-form-item>
16+
export const AAAOverview: Story = () => html`
17+
<uui-form-layout-item>
18+
Form layout item is a layout component, use the properties and slots to
19+
append content/components of interest. See the following stories for
20+
examples.
21+
</uui-form-layout-item>
2122
`;
23+
AAAOverview.storyName = 'Overview';
2224

2325
export const Example: Story = () => html` <form
2426
is="uui-form"
2527
style="max-width: 800px;">
26-
<uui-form-item>
28+
<uui-form-layout-item>
2729
<uui-label slot="label" for="phoneInput" required>Phone number</uui-label>
2830
<span slot="description"
2931
>Form item accepts a description, keep it short.</span
@@ -46,8 +48,8 @@ export const Example: Story = () => html` <form
4648
required-message="You must enter a phone number">
4749
</uui-input>
4850
</div>
49-
</uui-form-item>
50-
<uui-form-item>
51+
</uui-form-layout-item>
52+
<uui-form-layout-item>
5153
<uui-label slot="label" for="cityinput">City</uui-label>
5254
<span slot="description"></span>
5355
<div>
@@ -60,8 +62,8 @@ export const Example: Story = () => html` <form
6062
required-message="You must enter a city">
6163
</uui-input>
6264
</div>
63-
</uui-form-item>
64-
<uui-form-item>
65+
</uui-form-layout-item>
66+
<uui-form-layout-item>
6567
<div>
6668
<uui-input
6769
type="text"
@@ -71,7 +73,7 @@ export const Example: Story = () => html` <form
7173
required-message="You must enter a postal number">
7274
</uui-input>
7375
</div>
74-
</uui-form-item>
76+
</uui-form-layout-item>
7577
<uui-button type="submit" label="Submit" look="positive"> Submit </uui-button>
7678
7779
<uui-button type="reset" label="Reset" look="secondary"> Reset </uui-button>

packages/uui-form-validation-message/lib/uui-form-validation-message.story.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { html } from 'lit-html';
55

66
export default {
77
id: 'uui-form-validation-message',
8-
title: 'Inputs/Form Validation Message',
8+
title: 'Inputs/Form/Form Validation Message',
99
component: 'uui-form-validation-message',
1010
};
1111

packages/uui-form/lib/uui-form.story.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { UUIRadioGroupEvent } from '@umbraco-ui/uui-radio/lib/UUIRadioGroupEvent
99

1010
export default {
1111
id: 'uui-form',
12-
title: 'Inputs/Form',
12+
title: 'Inputs/Form/Form',
1313
component: 'uui-form',
1414
};
1515

0 commit comments

Comments
 (0)