Skip to content

Commit

Permalink
Merge branch 'feat/cwc-storybook-7-vite' into feat/toggle-toggletip-c…
Browse files Browse the repository at this point in the history
…wc-controls
  • Loading branch information
ariellalgilmore authored Jan 11, 2024
2 parents 3d67008 + f2b4480 commit ac4c361
Show file tree
Hide file tree
Showing 87 changed files with 4,592 additions and 3,517 deletions.
44 changes: 44 additions & 0 deletions packages/carbon-web-components/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,52 @@ const stories = glob.sync(
// '../src/**/*.mdx',
// '../src/**/*.stories.@(js|jsx|ts|tsx)',
// add mdx/story files as they are being worked on
'../src/**/accordion.mdx',
'../src/**/accordion.stories.ts',
'../src/**/breadcrumb.mdx',
'../src/**/breadcrumb.stories.ts',
'../src/**/code-snippet.mdx',
'../src/**/code-snippet.stories.ts',
'../src/**/combo-box.stories.ts',
'../src/**/combo-box.mdx',
'../src/**/date-picker.mdx',
'../src/**/date-picker.stories.ts',
'../src/**/content-switcher.mdx',
'../src/**/content-switcher.stories.ts',
'../src/**/dropdown.stories.ts',
'../src/**/dropdown.mdx',
'../src/**/data-table-*.stories.ts',
'../src/**/data-table.mdx',
'../src/**/ordered-list.stories.ts',
'../src/**/unordered-list.stories.ts',
'../src/**/list.mdx',
'../src/**/checkbox.stories.ts',
'../src/**/inline-loading.mdx',
'../src/**/inline-loading.stories.ts',
'../src/**/checkbox.mdx',
'../src/**/loading.stories.ts',
'../src/**/loading.mdx',
'../src/**/button.mdx',
'../src/**/button.stories.ts',
'../src/**/link.mdx',
'../src/**/link.stories.ts',
'../src/**/layer.stories.ts',
'../src/**/layer.mdx',
'../src/**/file-uploader.mdx',
'../src/**/file-uploader.stories.ts',
'../src/**/form-group.mdx',
'../src/**/form-group.stories.ts',
'../src/**/modal.stories.ts',
'../src/**/modal.mdx',
'../src/**/file-uploader.stories.ts',
'../src/**/number-input.mdx',
'../src/**/number-input.stories.ts',
'../src/**/multi-select.mdx',
'../src/**/multi-select.stories.ts',
'../src/**/notification.mdx',
'../src/**/actionable-notification.stories.ts',
'../src/**/inline-notification.stories.ts',
'../src/**/toast-notification.stories.ts',
'../src/**/overflow-menu.mdx',
'../src/**/overflow-menu.stories.ts',
'../src/**/progress-bar.mdx',
Expand All @@ -44,6 +84,10 @@ const stories = glob.sync(
'../src/**/skip-to-content.stories.ts',
'../src/**/slider.mdx',
'../src/**/slider.stories.ts',
'../src/**/tag.mdx',
'../src/**/tag.stories.ts',
'../src/**/tooltip.mdx',
'../src/**/tooltip.stories.ts',
'../src/**/toggle.mdx',
'../src/**/toggle.stories.ts',
'../src/**/toggletip.mdx',
Expand Down
1 change: 1 addition & 0 deletions packages/carbon-web-components/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import container from './container';
import { white, g10, g90, g100 } from '@carbon/themes';
import { breakpoints } from '@carbon/layout';
import theme from './theme';
import './templates/with-layer';

setCustomElementsManifest(customElements);

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { Props, Description } from '@storybook/addon-docs/blocks';
import { ArgsTable, Meta, Description } from '@storybook/addon-docs/blocks';
import { cdnJs, cdnCss } from '../../globals/internal/storybook-cdn';
import * as AccordionStories from './accordion.stories';

<Meta of={AccordionStories} />

# Accordion

Expand Down Expand Up @@ -87,4 +90,4 @@ Note: For `boolean` attributes, `true` means simply setting the attribute (e.g.
`<cds-accordion-item open>`) and `false` means not setting the attribute (e.g.
`<cds-accordion-item>` without `open` attribute).

<Props of="cds-accordion-item" />
<ArgsTable of="cds-accordion-item" />
Loading

0 comments on commit ac4c361

Please sign in to comment.