Skip to content

Commit

Permalink
chore(file-uploader): update file-uploader to sb v7 (carbon-design-sy…
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei authored Jan 4, 2024
1 parent d6d2f3f commit aa53aac
Show file tree
Hide file tree
Showing 4 changed files with 227 additions and 176 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const stories = glob.sync(
// add mdx/story files as they are being worked on
'../src/**/link.mdx',
'../src/**/link.stories.ts',
'../src/**/file-uploader.mdx',
'../src/**/file-uploader.stories.ts',
],
{
ignore: ['../src/**/docs/*.mdx'],
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 FileUploaderStories from './file-uploader.stories';

<Meta of={FileUploaderStories} />

# File uploader

Expand Down Expand Up @@ -40,20 +43,20 @@ import '@carbon/web-components/es/components/file-uploader/index.js';

## `<cds-file-uploader>` attributes, properties and events

<Props of="cds-file-uploader" />
<ArgsTable of="cds-file-uploader" />

## `<cds-file-uploader-drop-container>` attributes, properties and events

<Props of="cds-file-uploader-drop-container" />
<ArgsTable of="cds-file-uploader-drop-container" />

## `<cds-file-uploader-button>` attributes, properties and events

<Props of="cds-file-uploader-button" />
<ArgsTable of="cds-file-uploader-button" />

## `<cds-file-uploader-item>` attributes, properties and events

Note: For `boolean` attributes, `true` means simply setting the attribute (e.g.
`<cds-file-uploader-item invalid>`) and `false` means not setting the attribute
(e.g. `<cds-file-uploader-item>` without `invalid` attribute).

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

0 comments on commit aa53aac

Please sign in to comment.