Skip to content

Commit

Permalink
[carbon-web-components]: popover Storybook 7 update (carbon-design-sy…
Browse files Browse the repository at this point in the history
…stem#11407)

* feat(popover): convert to storybook 7: rename files

* feat(popover): convert to storybook 7

* feat(popover): Change Storybook main file

* feat(popover): Small code adjustments

* feat(popover): Small code adjustment

---------

Co-authored-by: Ignacio Becerra <[email protected]>
  • Loading branch information
marcelojcs and IgnacioBecerra authored Jan 30, 2024
1 parent cbdf754 commit 52a2391
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 198 deletions.
2 changes: 2 additions & 0 deletions packages/carbon-web-components/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ const stories = glob.sync(
'../src/**/layer.mdx',
'../src/**/file-uploader.mdx',
'../src/**/file-uploader.stories.ts',
'../src/**/popover.mdx',
'../src/**/popover.stories.ts',
'../src/**/form-group.mdx',
'../src/**/form-group.stories.ts',
'../src/**/modal.stories.ts',
Expand Down
195 changes: 0 additions & 195 deletions packages/carbon-web-components/src/components/popover/popover-story.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { Props, Description } from '@storybook/addon-docs/blocks';
import { ArgsTable, Description, Meta } from '@storybook/addon-docs/blocks';
import * as PopoverStories from './popover.stories';

<Meta of={PopoverStories} />
import { cdnJs, cdnCss } from '../../globals/internal/storybook-cdn';

# Popover
Expand Down Expand Up @@ -98,8 +101,8 @@ import Settings16 from '@carbon/icons/lib/settings/16';

## `<cds-popover>` attributes and properties

<Props of="cds-popover" />
<ArgsTable of="cds-popover" />

## `<cds-popover-content>` attributes and properties

<Props of="cds-popover-content" />
<ArgsTable of="cds-popover-content" />
Loading

0 comments on commit 52a2391

Please sign in to comment.