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 ed8df3a commit 4407bc4
Show file tree
Hide file tree
Showing 78 changed files with 78 additions and 0 deletions.
1 change: 1 addition & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const config: StorybookConfig = {
getAbsolutePath('@storybook/addon-links'),
getAbsolutePath('@storybook/addon-essentials'),
getAbsolutePath('@chromatic-com/storybook'),
'../storyhelpers/storybook-readme',
],
framework: {
name: getAbsolutePath('@storybook/web-components-vite'),
Expand Down
1 change: 1 addition & 0 deletions packages/uui-action-bar/lib/uui-action-bar.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { html } from 'lit';
import '.';
import readme from '../README.md?raw';
import '@umbraco-ui/uui-action-bar/lib';
import '@umbraco-ui/uui-button/lib';
import '@umbraco-ui/uui-icon/lib';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-avatar-group/lib/uui-avatar-group.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-avatar/lib/uui-avatar.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-badge/lib/uui-badge.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-box/lib/uui-box.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html, nothing } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-breadcrumbs/lib/uui-breadcrumbs.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';

Expand Down
1 change: 1 addition & 0 deletions packages/uui-button-group/lib/uui-button-group.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html, TemplateResult } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { GetRandomUmbracoWord } from '../../../storyhelpers/UmbracoWordGenerator';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-button/lib/uui-button.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { html } from 'lit';
import '.';
import readme from '../README.md?raw';
import '@umbraco-ui/uui-badge/lib';
import '@umbraco-ui/uui-icon/lib';
import '@umbraco-ui/uui-loader-circle/lib';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import '@umbraco-ui/uui-tag/lib/index';
import '@umbraco-ui/uui-button/lib/index';
import { html } from 'lit';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import '@umbraco-ui/uui-tag/lib/index';
import '@umbraco-ui/uui-button/lib/index';
import { html, nothing, TemplateResult } from 'lit';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-card-media/lib/uui-card-media.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import '@umbraco-ui/uui-tag/lib/index';
import '@umbraco-ui/uui-button/lib/index';
import '@umbraco-ui/uui-symbol-file/lib/index';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-card-user/lib/uui-card-user.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import '@umbraco-ui/uui-tag/lib/index';
import '@umbraco-ui/uui-button/lib/index';
import '@umbraco-ui/uui-avatar/lib/index';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-card/lib/uui-card.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-caret/lib/uui-caret.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-checkbox/lib/uui-checkbox.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-color-area/lib/uui-color-area.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-color-picker/lib/uui-color-picker.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-color-slider/lib/uui-color-slider.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-color-swatch/lib/uui-color-swatch.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-combobox/lib/uui-combobox.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-dialog/lib/uui-dialog.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-file-preview/lib/uui-file-preview.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html, nothing } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';

Expand Down
1 change: 1 addition & 0 deletions packages/uui-form/lib/uui-form.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';

Expand Down
1 change: 1 addition & 0 deletions packages/uui-icon/lib/uui-icon.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-input-file/lib/uui-input-file.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import { action } from '@storybook/addon-actions';
import type { Meta, StoryObj } from '@storybook/web-components';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-input-lock/lib/uui-input-lock.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-input/lib/uui-input.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';

Expand Down
1 change: 1 addition & 0 deletions packages/uui-label/lib/uui-label.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-loader-bar/lib/uui-loader-bar.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-loader/lib/uui-loader.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';

Expand Down
1 change: 1 addition & 0 deletions packages/uui-menu-item/lib/uui-menu-item.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html, nothing } from 'lit';
import type { Meta, StoryFn, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-modal/lib/uui-modal.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import '@umbraco-ui/uui-dialog-layout/lib';
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import './modal-example.element';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-pagination/lib/uui-pagination.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Args, Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-progress-bar/lib/uui-progress-bar.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-radio/lib/uui-radio.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-range-slider/lib/uui-range-slider.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-ref-list/lib/uui-ref-list.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-ref-node/lib/uui-ref-node.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { renderSlots, spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';

Expand Down
1 change: 1 addition & 0 deletions packages/uui-select/lib/uui-select.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-slider/lib/uui-slider.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
1 change: 1 addition & 0 deletions packages/uui-symbol-file/lib/uui-symbol-file.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';

Expand Down
1 change: 1 addition & 0 deletions packages/uui-symbol-lock/lib/uui-symbol-lock.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '.';
import readme from '../README.md?raw';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers';
Expand Down
Loading

0 comments on commit 4407bc4

Please sign in to comment.