@midas-ds/components 16.4.0 → 16.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/accordion/Accordion.stories.d.ts +24 -0
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/badge/Badge.stories.d.ts +17 -0
- package/breadcrumbs/Breadcrumbs.stories.d.ts +16 -0
- package/button/Button.stories.d.ts +25 -0
- package/button/ButtonGroup.stories.d.ts +15 -0
- package/calendar/Calendar.stories.d.ts +15 -0
- package/calendar/RangeCalendar.stories.d.ts +13 -0
- package/card/Card.stories.d.ts +12 -0
- package/checkbox/Checkbox.stories.d.ts +30 -0
- package/checkbox/CheckboxGroup.stories.d.ts +29 -0
- package/chunks/{AccordionItem-D6vWtoJN.js → AccordionItem-Cu5L1c1h.js} +39 -39
- package/color-scheme-switch/ColorSchemeSwitch.stories.d.ts +6 -0
- package/combobox/ComboBox.stories.d.ts +44 -0
- package/date-field/DateField.stories.d.ts +13 -0
- package/date-picker/DatePicker.stories.d.ts +14 -0
- package/date-picker/DateRangePicker.stories.d.ts +38 -0
- package/file-upload/DropZone.stories.d.ts +6 -0
- package/file-upload/FileUpload.stories.d.ts +11 -0
- package/grid/Grid.stories.d.ts +30 -0
- package/heading/Heading.stories.d.ts +30 -0
- package/index.js +1 -1
- package/info-banner/InfoBanner.stories.d.ts +16 -0
- package/label/Label.stories.d.ts +10 -0
- package/layout/Layout.stories.d.ts +9 -0
- package/legacy-select/LegacySelect.stories.d.ts +27 -0
- package/link/Link.stories.d.ts +14 -0
- package/link-button/LinkButton.stories.d.ts +12 -0
- package/logo/Logo.stories.d.ts +7 -0
- package/menu/Menu.stories.d.ts +34 -0
- package/modal/Dialog.stories.d.ts +15 -0
- package/package.json +1 -1
- package/popover/Popover.stories.d.ts +18 -0
- package/progress-bar/ProgressBar.stories.d.ts +15 -0
- package/radio/Radio.stories.d.ts +53 -0
- package/search-field/SearchField.stories.d.ts +22 -0
- package/select/Select.stories.d.ts +45 -0
- package/skeleton/Skeleton.Form.stories.d.ts +20 -0
- package/skeleton/Skeleton.stories.d.ts +10 -0
- package/spinner/Spinner.stories.d.ts +20 -0
- package/table/Table.stories.d.ts +31 -0
- package/tabs/Tabs.stories.d.ts +22 -0
- package/tag/Tag.stories.d.ts +8 -0
- package/text/Text.stories.d.ts +12 -0
- package/textfield/TextArea.stories.d.ts +367 -0
- package/textfield/TextField.stories.d.ts +34 -0
- package/toast/Toast.stories.d.ts +22 -0
- package/tooltip/Tooltip.stories.d.ts +26 -0
- package/utils/tests.d.ts +17 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Label } from './Label';
|
|
3
|
+
type Story = StoryObj<typeof Label>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: import('react').FC<import('react-aria-components').LabelProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Layout } from './Layout';
|
|
3
|
+
declare const meta: Meta<typeof Layout>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Layout>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const External: Story;
|
|
8
|
+
export declare const OnlyHeader: Story;
|
|
9
|
+
export declare const Navbar: Story;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { LegacySelect } from '.';
|
|
3
|
+
type Story = StoryObj<typeof LegacySelect>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./types').SelectProps, "children" | "items"> & {
|
|
6
|
+
options: import('..').ListBoxOption[];
|
|
7
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
title: string;
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
description: string;
|
|
12
|
+
isDisabled: false;
|
|
13
|
+
isSelectableAll: false;
|
|
14
|
+
label: string;
|
|
15
|
+
options: {
|
|
16
|
+
name: string;
|
|
17
|
+
id: string;
|
|
18
|
+
}[];
|
|
19
|
+
placeholder: string;
|
|
20
|
+
selectionMode: "single";
|
|
21
|
+
showTags: false;
|
|
22
|
+
errorPosition: "top";
|
|
23
|
+
size: "large";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Link } from './Link';
|
|
3
|
+
declare const meta: Meta<typeof Link>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Link>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const PrimaryDisabled: Story;
|
|
8
|
+
export declare const ExternalLink: Story;
|
|
9
|
+
export declare const DownloadLink: Story;
|
|
10
|
+
export declare const Standalone: Story;
|
|
11
|
+
export declare const StandaloneDisabled: Story;
|
|
12
|
+
export declare const ExternalLinkStandalone: Story;
|
|
13
|
+
export declare const DownloadLinkStandalone: Story;
|
|
14
|
+
export declare const CustomIcon: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { LinkButton } from './LinkButton';
|
|
3
|
+
declare const meta: Meta<typeof LinkButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LinkButton>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Secondary: Story;
|
|
8
|
+
export declare const Tertiary: Story;
|
|
9
|
+
export declare const Previous: Story;
|
|
10
|
+
export declare const Disabled: Story;
|
|
11
|
+
export declare const AppLink: Story;
|
|
12
|
+
export declare const Danger: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Logo } from './Logo';
|
|
3
|
+
declare const meta: Meta<typeof Logo>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Logo>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Monochrome: Story;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Menu } from './Menu';
|
|
3
|
+
interface Item {
|
|
4
|
+
id: string | number;
|
|
5
|
+
name: string;
|
|
6
|
+
children?: Item[];
|
|
7
|
+
[prop: string]: unknown;
|
|
8
|
+
}
|
|
9
|
+
type Story = StoryObj<typeof Menu<Item>>;
|
|
10
|
+
declare const _default: {
|
|
11
|
+
title: string;
|
|
12
|
+
component: <T extends import('./Menu').MenuItemObject>({ className, size, ...rest }: import('./Menu').MenuProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
subcomponents: {
|
|
14
|
+
MenuItem: <T extends import('./Menu').MenuItemObject>(props: import('./MenuItem').MenuItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
render: (args: import('./Menu').MenuProps<import('./Menu').MenuItemObject>) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
args: {
|
|
18
|
+
children: (item: import('./Menu').MenuItemObject) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
items: {
|
|
20
|
+
id: number;
|
|
21
|
+
name: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const Primary: Story;
|
|
27
|
+
export declare const ControlledSingleSelection: Story;
|
|
28
|
+
export declare const ControlledMultipleSelection: Story;
|
|
29
|
+
export declare const Sections: Story;
|
|
30
|
+
export declare const Separators: Story;
|
|
31
|
+
export declare const TextSlots: Story;
|
|
32
|
+
export declare const MultiSelectWithDescriptions: Story;
|
|
33
|
+
export declare const DisabledItems: Story;
|
|
34
|
+
export declare const SubMenus: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Modal } from './Dialog';
|
|
3
|
+
type Story = StoryObj<typeof Modal>;
|
|
4
|
+
declare const _default: Meta<typeof Modal>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const NotDismissable: Story;
|
|
8
|
+
/**
|
|
9
|
+
* For special cases when modal should not be closable without taking further action
|
|
10
|
+
*/
|
|
11
|
+
export declare const HiddenCloseButton: Story;
|
|
12
|
+
export declare const EmptyTitle: Story;
|
|
13
|
+
export declare const Scrollable: Story;
|
|
14
|
+
export declare const DS1282: Story;
|
|
15
|
+
export declare const LongTitle: Story;
|
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Popover } from './Popover';
|
|
3
|
+
import { DialogTrigger } from 'react-aria-components';
|
|
4
|
+
type Story = StoryObj<typeof Popover>;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
component: typeof Popover;
|
|
7
|
+
subcomponents: {
|
|
8
|
+
DialogTrigger: typeof DialogTrigger;
|
|
9
|
+
};
|
|
10
|
+
title: string;
|
|
11
|
+
tags: string[];
|
|
12
|
+
parameters: {
|
|
13
|
+
layout: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Primary: Story;
|
|
18
|
+
export declare const Placement: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { ProgressBar } from './ProgressBar';
|
|
3
|
+
type Story = StoryObj<typeof ProgressBar>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: import('react').FC<import('./ProgressBar').ProgressBarProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
args: {
|
|
9
|
+
isIndeterminate: false;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const Primary: Story;
|
|
14
|
+
export declare const WithoutLabels: Story;
|
|
15
|
+
export declare const IsIndeterminate: Story;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { RadioGroup } from './Radio';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').FC<import('./Radio').MVDSRadioGroupProps>;
|
|
6
|
+
subcomponents: {
|
|
7
|
+
Radio: ({ className, ...rest }: import('react-aria-components').RadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
label: string;
|
|
12
|
+
description: string;
|
|
13
|
+
errorMessage: string;
|
|
14
|
+
errorPosition: "top";
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
children: {
|
|
18
|
+
table: {
|
|
19
|
+
disable: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
label: {
|
|
23
|
+
type: "string";
|
|
24
|
+
control: {
|
|
25
|
+
type: "text";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
isDisabled: {
|
|
29
|
+
type: "boolean";
|
|
30
|
+
options: boolean[];
|
|
31
|
+
control: {
|
|
32
|
+
type: "radio";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
isInvalid: {
|
|
36
|
+
type: "boolean";
|
|
37
|
+
options: boolean[];
|
|
38
|
+
control: {
|
|
39
|
+
type: "radio";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
type Story = StoryObj<typeof RadioGroup>;
|
|
46
|
+
export declare const Primary: Story;
|
|
47
|
+
export declare const Disabled: Story;
|
|
48
|
+
export declare const ReadOnly: Story;
|
|
49
|
+
export declare const OneItemDisabled: Story;
|
|
50
|
+
export declare const Invalid: Story;
|
|
51
|
+
export declare const Required: Story;
|
|
52
|
+
export declare const CustomValidation: Story;
|
|
53
|
+
export declare const Horizontal: Story;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SearchField } from './SearchField';
|
|
3
|
+
type Story = StoryObj<typeof SearchField>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: import('react').FC<import('./SearchField').SearchFieldProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
args: {
|
|
12
|
+
buttonText: string;
|
|
13
|
+
errorPosition: "top";
|
|
14
|
+
className: string;
|
|
15
|
+
size: "large";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const Primary: Story;
|
|
20
|
+
export declare const CustomValidation: Story;
|
|
21
|
+
export declare const Invalid: Story;
|
|
22
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { options, optionsWithSections } from '../utils/tests';
|
|
3
|
+
import { Select, SelectionMode } from './Select';
|
|
4
|
+
type Story<T extends object = Item, M extends SelectionMode = 'single'> = StoryObj<typeof Select<T, M>>;
|
|
5
|
+
type Item = (typeof options)[0];
|
|
6
|
+
type Section = (typeof optionsWithSections)[0];
|
|
7
|
+
declare const _default: {
|
|
8
|
+
component: typeof Select;
|
|
9
|
+
title: string;
|
|
10
|
+
tags: string[];
|
|
11
|
+
args: {
|
|
12
|
+
children: (item: {
|
|
13
|
+
name: string;
|
|
14
|
+
id: string;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
description: string;
|
|
17
|
+
isDisabled: false;
|
|
18
|
+
isSelectableAll: false;
|
|
19
|
+
label: string;
|
|
20
|
+
items: {
|
|
21
|
+
name: string;
|
|
22
|
+
id: string;
|
|
23
|
+
}[];
|
|
24
|
+
placeholder: string;
|
|
25
|
+
selectionMode: "single";
|
|
26
|
+
showTags: false;
|
|
27
|
+
errorPosition: "top";
|
|
28
|
+
size: "large";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
32
|
+
export declare const StaticItems: Story;
|
|
33
|
+
export declare const Primary: Story;
|
|
34
|
+
export declare const DefaultValue: Story<Item, 'multiple'>;
|
|
35
|
+
export declare const AllKeysSelected: Story<Item, 'multiple'>;
|
|
36
|
+
export declare const Disabled: Story;
|
|
37
|
+
export declare const DisabledOption: Story;
|
|
38
|
+
export declare const Invalid: Story;
|
|
39
|
+
export declare const WithTags: Story<Item, 'multiple'>;
|
|
40
|
+
export declare const SelectAllEnabled: Story<Item, 'multiple'>;
|
|
41
|
+
export declare const DS872: Story;
|
|
42
|
+
export declare const StaticSections: Story;
|
|
43
|
+
export declare const DynamicSections: Story<Section>;
|
|
44
|
+
export declare const RequiredSingleSelect: Story;
|
|
45
|
+
export declare const LongWords: Story;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Skeleton } from './Skeleton';
|
|
3
|
+
type Story = StoryObj<typeof Skeleton>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: import('react').FC<import('./Skeleton').SkeletonProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
args: {
|
|
9
|
+
variant: "form";
|
|
10
|
+
width: string;
|
|
11
|
+
};
|
|
12
|
+
render: (args: import('./Skeleton').SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const Large: Story;
|
|
16
|
+
export declare const Medium: Story;
|
|
17
|
+
export declare const NoAnimation: Story;
|
|
18
|
+
export declare const OnLayer01: Story;
|
|
19
|
+
export declare const Multiple: Story;
|
|
20
|
+
export declare const Comparison: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Skeleton } from './Skeleton';
|
|
3
|
+
type Story = StoryObj<typeof Skeleton>;
|
|
4
|
+
declare const _default: Meta<typeof Skeleton>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Rectangle: Story;
|
|
7
|
+
export declare const Circle: Story;
|
|
8
|
+
export declare const NoAnimation: Story;
|
|
9
|
+
export declare const IsOnLayer01: Story;
|
|
10
|
+
export declare const DS1191: Story;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Spinner } from './Spinner';
|
|
3
|
+
type Story = StoryObj<typeof Spinner>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: import('react').FC<import('./Spinner').SpinnerProps>;
|
|
6
|
+
title: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
args: {
|
|
12
|
+
small: false;
|
|
13
|
+
className: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Primary: Story;
|
|
18
|
+
export declare const Small: Story;
|
|
19
|
+
export declare const InButton: Story;
|
|
20
|
+
export declare const UserSelectColor: Story;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Table } from './Table';
|
|
3
|
+
type Story = StoryObj<typeof Table>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: ({ size, striped, className, ...rest }: import('./Table').TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
subcomponents: {
|
|
7
|
+
TableHeader: <T extends object>({ columns, children, className, }: import('react-aria-components').TableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
Column: ({ children, className, ...rest }: import('react-aria-components').ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
TableBody: <T extends object>({ className, ...rest }: import('react-aria-components').TableBodyProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
Row: <T extends object>({ id, columns, children, className, ...rest }: import('react-aria-components').RowProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
Cell: ({ className, ...rest }: import('react-aria-components').CellProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
title: string;
|
|
14
|
+
tags: string[];
|
|
15
|
+
args: {
|
|
16
|
+
'aria-label': string;
|
|
17
|
+
selectionMode: "multiple";
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
size: {
|
|
21
|
+
control: false;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
render: (args: import('./Table').TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export declare const Primary: Story;
|
|
28
|
+
export declare const Striped: Story;
|
|
29
|
+
export declare const Virtualized: Story;
|
|
30
|
+
export declare const StripedWithLink: Story;
|
|
31
|
+
export declare const Sorting: Story;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { Tabs } from './Tabs';
|
|
4
|
+
type Story = StoryObj<typeof Tabs>;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
component: React.FC<import('./Tabs').TabsProps>;
|
|
7
|
+
title: string;
|
|
8
|
+
tags: string[];
|
|
9
|
+
args: {
|
|
10
|
+
orientation: "horizontal";
|
|
11
|
+
variant: "uncontained";
|
|
12
|
+
};
|
|
13
|
+
render: (args: import('./Tabs').TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
export declare const Primary: Story;
|
|
17
|
+
export declare const Contained: Story;
|
|
18
|
+
export declare const Vertical: Story;
|
|
19
|
+
export declare const DisabledTabs: Story;
|
|
20
|
+
export declare const DefaultSelectedKey: Story;
|
|
21
|
+
export declare const Controlled: Story;
|
|
22
|
+
export declare const MoreItemsThanChildren: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Tag } from './Tag';
|
|
3
|
+
type Story = StoryObj<typeof Tag>;
|
|
4
|
+
declare const _default: Meta<typeof Tag>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Status: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Text } from './Text';
|
|
3
|
+
type Story = StoryObj<typeof Text>;
|
|
4
|
+
declare const meta: Meta<typeof Text>;
|
|
5
|
+
export declare const Default: Story;
|
|
6
|
+
export declare const BodySmall: Story;
|
|
7
|
+
export declare const Description: Story;
|
|
8
|
+
export declare const DescriptionSmall: Story;
|
|
9
|
+
export declare const Expressive: Story;
|
|
10
|
+
export declare const Body01: Story;
|
|
11
|
+
export declare const Body02: Story;
|
|
12
|
+
export default meta;
|