Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JesmoDev committed Sep 6, 2024
1 parent 4407bc4 commit a6a75b6
Show file tree
Hide file tree
Showing 77 changed files with 381 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/uui-action-bar/lib/uui-action-bar.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ const meta: Meta = {
options: ['default', 'positive', 'warning', 'danger'],
},
},
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-avatar-group/lib/uui-avatar-group.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const meta: Meta = {
<uui-avatar name="Jesper Møller Jensen"></uui-avatar>
</uui-avatar-group>`;
},
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-avatar/lib/uui-avatar.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ const meta: Meta = {
render: args => {
return html`<uui-avatar ${spread(args)}></uui-avatar>`;
},
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-badge/lib/uui-badge.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ const meta: Meta = {
render: args => {
return html`<uui-badge ${spread(args)}>${renderSlots(args)}</uui-badge>`;
},
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-box/lib/uui-box.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ const meta: Meta = {
${args['slot']}
</uui-box>`;
},
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-breadcrumbs/lib/uui-breadcrumbs.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const meta: Meta = {
<uui-breadcrumb-item href="#Products">Products</uui-breadcrumb-item>
<uui-breadcrumb-item href="#Cars">Cars</uui-breadcrumb-item>
</uui-breadcrumbs>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-button-group/lib/uui-button-group.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ const meta: Meta = {
<uui-button look="primary" color="danger" label="Delete"></uui-button>
</uui-button-group>
`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ const meta: Meta = {
id: 'uui-button-inline-create',
component: 'uui-button-inline-create',
title: 'Buttons/Button Inline Create',
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-button/lib/uui-button.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ const meta: Meta = {
render: args => {
return html`<uui-button ${spread(args)}>${renderSlots(args)}</uui-button>`;
},
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ const meta: Meta = {
${Story()}
</div>`,
],
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ const meta: Meta = {
${Story()}
</div>`,
],
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-card-media/lib/uui-card-media.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ const meta: Meta = {
${Story()}
</div>`,
],
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-card-user/lib/uui-card-user.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ const meta: Meta = {
${Story()}
</div>`,
],
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-card/lib/uui-card.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const meta: Meta = {
${Story()}
</div>`,
],
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-caret/lib/uui-caret.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ const meta: Meta = {
component: 'uui-caret',
title: 'Symbols/Caret',
render: args => html`<uui-caret ${spread(args)}></uui-caret>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-checkbox/lib/uui-checkbox.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ const meta: Meta = {
},
render: args =>
html`<uui-checkbox ${spread(args)}>${renderSlots(args)}</uui-checkbox>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-color-area/lib/uui-color-area.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const meta: Meta = {
value: { control: 'color' },
},
render: args => html`<uui-color-area ${spread(args)}></uui-color-area>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-color-picker/lib/uui-color-picker.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ const meta: Meta = {
},
},
render: args => html`<uui-color-picker ${spread(args)}></uui-color-picker>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-color-slider/lib/uui-color-slider.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ const meta: Meta = {
},
},
render: args => html`<uui-color-slider ${spread(args)}></uui-color-slider>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-color-swatch/lib/uui-color-swatch.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const meta: Meta = {
html`<uui-color-swatch ${spread(args)}
>${renderSlots(args)}</uui-color-swatch
>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-color-swatches/lib/uui-color-swatches.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ const meta: Meta = {
})}
</uui-color-swatches>
`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-combobox-list/lib/uui-combobox-list.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ const meta: Meta = {
<uui-combobox-list-option>orange</uui-combobox-list-option>
<uui-combobox-list-option>lemon</uui-combobox-list-option>
</uui-combobox-list>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
3 changes: 3 additions & 0 deletions packages/uui-combobox/lib/uui-combobox.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ const meta: Meta = {
),
},
parameters: {
readme: {
markdown: readme,
},
controls: {
exclude: ['listItemRenderer', 'filter'],
},
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-dialog-layout/lib/uui-dialog-layout.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ const meta: Meta = {
html`<uui-dialog-layout ${spread(args)}
>${renderSlots(args)}</uui-dialog-layout
>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-dialog/lib/uui-dialog.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const meta: Meta = {
title: 'Displays/Dialog/Dialog',
render: args =>
html`<uui-dialog ${spread(args)}>${renderSlots(args)}</uui-dialog>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-file-dropzone/lib/uui-file-dropzone.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ const meta: Meta = {
</div>
${Story()}`,
],
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-file-preview/lib/uui-file-preview.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ const meta: Meta = {
html`<uui-file-preview ${spread(args)}
>${renderSlots(args)}</uui-file-preview
>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-form-layout-item/lib/uui-form-layout.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const meta: Meta = {
html`<uui-form-layout-item ${spread(args)}
>${renderSlots(args)}</uui-form-layout-item
>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ const meta: Meta = {
id: 'uui-form-validation-message',
component: 'uui-form-validation-message',
title: 'Inputs/Form/Form Validation Message',
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-form/lib/uui-form.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ const meta: Meta = {
id: 'uui-form',
component: 'uui-form',
title: 'Inputs/Form/Form',
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-icon/lib/uui-icon.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ const meta: Meta = {
${renderSlots(args)}
</uui-icon>
</uui-icon-registry-essential>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-input-file/lib/uui-input-file.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const meta: Meta = {
component: 'uui-input-file',
title: 'Inputs/Files/Input File',
render: args => html`<uui-input-file ${spread(args)}></uui-input-file>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
5 changes: 5 additions & 0 deletions packages/uui-input-lock/lib/uui-input-lock.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ const meta: Meta = {
},
render: args =>
html`<uui-input-lock ${spread(args)}>${renderSlots(args)}</uui-input-lock>`,
parameters: {
readme: {
markdown: readme,
},
},
};

export default meta;
Expand Down
Loading

0 comments on commit a6a75b6

Please sign in to comment.