@helsenorge/designsystem-react 7.12.0 → 7.13.0
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 +8 -0
- package/_virtual/dynamic-import-helper.js +11 -4
- package/_virtual/dynamic-import-helper.js.map +1 -1
- package/_virtual/index.js +2 -2
- package/components/AnchorLink/AnchorLink.js +16 -16
- package/components/AnchorLink/AnchorLink.js.map +1 -1
- package/components/Avatar/Avatar.js +9 -9
- package/components/Avatar/Avatar.js.map +1 -1
- package/components/Badge/Badge.js +7 -7
- package/components/Badge/Badge.js.map +1 -1
- package/components/Badge/NotificationBadge.js +5 -5
- package/components/Badge/NotificationBadge.js.map +1 -1
- package/components/Button/Button.js +23 -23
- package/components/Button/Button.js.map +1 -1
- package/components/ButtonWithModal/ButtonWithModal.js +5 -5
- package/components/ButtonWithModal/ButtonWithModal.js.map +1 -1
- package/components/Checkbox/Checkbox.js +41 -42
- package/components/Checkbox/Checkbox.js.map +1 -1
- package/components/Checkbox/index.js +2 -3
- package/components/Checkbox/index.js.map +1 -1
- package/components/Checkbox/styles.module.scss +2 -2
- package/components/Close/Close.js +9 -9
- package/components/Close/Close.js.map +1 -1
- package/components/DictionaryTrigger/DictionaryTrigger.js +14 -15
- package/components/DictionaryTrigger/DictionaryTrigger.js.map +1 -1
- package/components/DictionaryTrigger/styles.module.scss +1 -2
- package/components/Dropdown/Dropdown.js +24 -24
- package/components/Dropdown/Dropdown.js.map +1 -1
- package/components/Dropdown/styles.module.scss +1 -1
- package/components/Duolist/Duolist.d.ts +3 -0
- package/components/Duolist/Duolist.js +45 -36
- package/components/Duolist/Duolist.js.map +1 -1
- package/components/Duolist/index.js +5 -5
- package/components/Duolist/styles.module.scss +4 -0
- package/components/Duolist/styles.module.scss.d.ts +1 -0
- package/components/EmptyState/EmptyState.js +3 -3
- package/components/EmptyState/EmptyState.js.map +1 -1
- package/components/EmptyState/NobodyHome.js +3 -3
- package/components/EmptyState/NobodyHome.js.map +1 -1
- package/components/ErrorWrapper/ErrorWrapper.js +4 -4
- package/components/ErrorWrapper/ErrorWrapper.js.map +1 -1
- package/components/ErrorWrapper/index.js +2 -3
- package/components/ErrorWrapper/index.js.map +1 -1
- package/components/Expander/Expander.js +10 -10
- package/components/Expander/Expander.js.map +1 -1
- package/components/Expander/styles.module.scss +1 -1
- package/components/ExpanderHierarchy/Expander.js +5 -5
- package/components/ExpanderHierarchy/Expander.js.map +1 -1
- package/components/ExpanderHierarchy/ExpanderButton.js +7 -7
- package/components/ExpanderHierarchy/ExpanderButton.js.map +1 -1
- package/components/ExpanderHierarchy/ExpanderHierarchy.js +13 -14
- package/components/ExpanderHierarchy/ExpanderHierarchy.js.map +1 -1
- package/components/ExpanderHierarchy/expander.module.scss +2 -2
- package/components/ExpanderList/ExpanderList.js +34 -35
- package/components/ExpanderList/ExpanderList.js.map +1 -1
- package/components/ExpanderList/index.js +2 -3
- package/components/ExpanderList/index.js.map +1 -1
- package/components/ExpanderList/styles.module.scss +1 -1
- package/components/FormExample/FormExample.d.ts +0 -1
- package/components/FormExample/FormExample.js +12 -12
- package/components/FormExample/FormExample.js.map +1 -1
- package/components/FormExample/index.js +5 -5
- package/components/FormGroup/FormGroup.js +37 -38
- package/components/FormGroup/FormGroup.js.map +1 -1
- package/components/FormGroup/index.js +2 -3
- package/components/FormGroup/index.js.map +1 -1
- package/components/FormLayout/FormLayout.js +16 -17
- package/components/FormLayout/FormLayout.js.map +1 -1
- package/components/FormLayout/index.js +4 -4
- package/components/GridExample/GridExample.js +3 -3
- package/components/GridExample/GridExample.js.map +1 -1
- package/components/GridExample/index.js +3 -4
- package/components/GridExample/index.js.map +1 -1
- package/components/HelpBubble/HelpBubble.js +26 -27
- package/components/HelpBubble/HelpBubble.js.map +1 -1
- package/components/HelpBubble/styles.module.scss +1 -1
- package/components/HelpBubbleExample/HelpBubbleExample.js +3 -3
- package/components/HelpBubbleExample/HelpBubbleExample.js.map +1 -1
- package/components/HelpPanel/HelpPanel.js +11 -11
- package/components/HelpPanel/HelpPanel.js.map +1 -1
- package/components/HelpQuestion/HelpQuestion.js +16 -17
- package/components/HelpQuestion/HelpQuestion.js.map +1 -1
- package/components/HighlightBox/HighlightBox.js +16 -16
- package/components/HighlightBox/HighlightBox.js.map +1 -1
- package/components/HighlightBox/styles.module.scss +4 -4
- package/components/HorizontalScroll/HorizontalScroll.js +4 -4
- package/components/HorizontalScroll/HorizontalScroll.js.map +1 -1
- package/components/HorizontalScroll/index.js +2 -3
- package/components/HorizontalScroll/index.js.map +1 -1
- package/components/Illustration/Illustration.js +16 -17
- package/components/Illustration/Illustration.js.map +1 -1
- package/components/Illustration/index.js +5 -5
- package/components/Input/Input.js +65 -67
- package/components/Input/Input.js.map +1 -1
- package/components/Label/Label.js +16 -16
- package/components/Label/Label.js.map +1 -1
- package/components/LazyIcon/ErrorBoundary.js +7 -8
- package/components/LazyIcon/ErrorBoundary.js.map +1 -1
- package/components/LazyIcon/LazyIcon.js +4 -4
- package/components/LazyIcon/LazyIcon.js.map +1 -1
- package/components/LazyIcon/index.js +3 -3
- package/components/LazyIllustration/LazyIllustration.js +10 -10
- package/components/LazyIllustration/LazyIllustration.js.map +1 -1
- package/components/LazyIllustration/index.js +5 -5
- package/components/LinkList/LinkList.js +36 -37
- package/components/LinkList/LinkList.js.map +1 -1
- package/components/LinkList/index.js +2 -3
- package/components/LinkList/index.js.map +1 -1
- package/components/List/List.js +7 -8
- package/components/List/List.js.map +1 -1
- package/components/ListHeader/ListHeader.js +1 -1
- package/components/ListHeader/ListHeader.js.map +1 -1
- package/components/ListHeader/ListHeaderText/ListHeaderText.js +18 -19
- package/components/ListHeader/ListHeaderText/ListHeaderText.js.map +1 -1
- package/components/ListHeader/ListHeaderText/index.js +2 -3
- package/components/ListHeader/ListHeaderText/index.js.map +1 -1
- package/components/Loader/Loader.js +2 -2
- package/components/Loader/Loader.js.map +1 -1
- package/components/Logo/Logo.js +5 -5
- package/components/Logo/Logo.js.map +1 -1
- package/components/MaxCharacters/MaxCharacters.js +5 -5
- package/components/MaxCharacters/MaxCharacters.js.map +1 -1
- package/components/Modal/Modal.js +32 -33
- package/components/Modal/Modal.js.map +1 -1
- package/components/Modal/styles.module.scss +8 -8
- package/components/NotificationPanel/NotificationPanel.js +14 -14
- package/components/NotificationPanel/NotificationPanel.js.map +1 -1
- package/components/NotificationPanel/styles.module.scss +3 -3
- package/components/Panel/Panel.js +25 -25
- package/components/Panel/Panel.js.map +1 -1
- package/components/Panel/styles.module.scss +3 -3
- package/components/PanelList/PanelList.js +8 -8
- package/components/PanelList/PanelList.js.map +1 -1
- package/components/PopMenu/PopMenu.js +14 -14
- package/components/PopMenu/PopMenu.js.map +1 -1
- package/components/PopMenu/index.js +3 -3
- package/components/PopOver/PopOver.js +27 -28
- package/components/PopOver/PopOver.js.map +1 -1
- package/components/Portal/index.js.map +1 -1
- package/components/Progressbar/Progressbar.js +13 -13
- package/components/Progressbar/Progressbar.js.map +1 -1
- package/components/PromoPanel/PromoPanel.js +16 -16
- package/components/PromoPanel/PromoPanel.js.map +1 -1
- package/components/RadioButton/RadioButton.js +52 -53
- package/components/RadioButton/RadioButton.js.map +1 -1
- package/components/RadioButton/index.js +4 -4
- package/components/RadioButton/styles.module.scss +2 -2
- package/components/Select/Select.js +21 -21
- package/components/Select/Select.js.map +1 -1
- package/components/Select/index.js +2 -3
- package/components/Select/index.js.map +1 -1
- package/components/ServiceMessage/ServiceMessage.js +30 -30
- package/components/ServiceMessage/ServiceMessage.js.map +1 -1
- package/components/ServiceMessage/styles.module.scss +10 -10
- package/components/SharingStatus/SharingStatus.js +7 -7
- package/components/SharingStatus/SharingStatus.js.map +1 -1
- package/components/Slider/Slider.js +15 -17
- package/components/Slider/Slider.js.map +1 -1
- package/components/Slider/index.js +2 -3
- package/components/Slider/index.js.map +1 -1
- package/components/Spacer/Spacer.js +4 -4
- package/components/Spacer/Spacer.js.map +1 -1
- package/components/StatusDot/StatusDot.js +8 -8
- package/components/StatusDot/StatusDot.js.map +1 -1
- package/components/Step/Step.js +10 -10
- package/components/Step/Step.js.map +1 -1
- package/components/StepButtons/StepButtons.js +4 -4
- package/components/StepButtons/StepButtons.js.map +1 -1
- package/components/StepButtons/index.js +2 -3
- package/components/StepButtons/index.js.map +1 -1
- package/components/Stepper/Dot.js +3 -3
- package/components/Stepper/Dot.js.map +1 -1
- package/components/Stepper/DotList.js +4 -4
- package/components/Stepper/DotList.js.map +1 -1
- package/components/Stepper/Stepper.js +10 -10
- package/components/Stepper/Stepper.js.map +1 -1
- package/components/Table/Table.js +1 -1
- package/components/Table/TableBody/TableBody.js +3 -3
- package/components/Table/TableBody/TableBody.js.map +1 -1
- package/components/Table/TableBody/index.js +3 -4
- package/components/Table/TableBody/index.js.map +1 -1
- package/components/Table/TableCell/TableCell.js +10 -10
- package/components/Table/TableCell/TableCell.js.map +1 -1
- package/components/Table/TableCell/index.js +4 -4
- package/components/Table/TableExpandedRow/TableExpandedRow.js +8 -8
- package/components/Table/TableExpandedRow/TableExpandedRow.js.map +1 -1
- package/components/Table/TableExpandedRow/index.js +3 -4
- package/components/Table/TableExpandedRow/index.js.map +1 -1
- package/components/Table/TableExpanderCell/TableExpanderCell.js +3 -3
- package/components/Table/TableExpanderCell/TableExpanderCell.js.map +1 -1
- package/components/Table/TableExpanderCell/TableExpanderCellMobile.js +11 -11
- package/components/Table/TableExpanderCell/TableExpanderCellMobile.js.map +1 -1
- package/components/Table/TableExpanderCell/index.js +3 -4
- package/components/Table/TableExpanderCell/index.js.map +1 -1
- package/components/Table/TableHead/TableHead.js +9 -9
- package/components/Table/TableHead/TableHead.js.map +1 -1
- package/components/Table/TableHead/index.js +4 -4
- package/components/Table/TableHeadCell/TableHeadCell.js +15 -15
- package/components/Table/TableHeadCell/TableHeadCell.js.map +1 -1
- package/components/Table/TableHeadCell/index.js +4 -4
- package/components/Table/TableRow/TableRow.js +16 -16
- package/components/Table/TableRow/TableRow.js.map +1 -1
- package/components/Table/TableRow/index.js +3 -4
- package/components/Table/TableRow/index.js.map +1 -1
- package/components/Table/styles.module.scss +3 -3
- package/components/Table/utils.d.ts +1 -1
- package/components/Tabs/Tab.js +2 -2
- package/components/Tabs/Tab.js.map +1 -1
- package/components/Tabs/TabList/TabList.js +43 -38
- package/components/Tabs/TabList/TabList.js.map +1 -1
- package/components/Tabs/TabList/styles.module.scss +14 -4
- package/components/Tabs/TabPanel/TabPanel.d.ts +5 -1
- package/components/Tabs/TabPanel/TabPanel.js +13 -9
- package/components/Tabs/TabPanel/TabPanel.js.map +1 -1
- package/components/Tabs/TabPanel/styles.module.scss +48 -6
- package/components/Tabs/TabPanel/styles.module.scss.d.ts +4 -0
- package/components/Tabs/Tabs.d.ts +8 -4
- package/components/Tabs/Tabs.js +85 -16
- package/components/Tabs/Tabs.js.map +1 -1
- package/components/Tabs/styles.module.scss +38 -2
- package/components/Tabs/styles.module.scss.d.ts +7 -1
- package/components/Tag/Tag.js +3 -3
- package/components/Tag/Tag.js.map +1 -1
- package/components/TagList/TagList.js +1 -1
- package/components/TagList/TagList.js.map +1 -1
- package/components/Textarea/Textarea.js +48 -49
- package/components/Textarea/Textarea.js.map +1 -1
- package/components/Tile/Tile.js +14 -15
- package/components/Tile/Tile.js.map +1 -1
- package/components/Tile/index.js +2 -3
- package/components/Tile/index.js.map +1 -1
- package/components/Title/Title.js +10 -10
- package/components/Title/Title.js.map +1 -1
- package/components/Title/index.js +4 -4
- package/components/Tooltip/Tooltip.js +4 -4
- package/components/Tooltip/Tooltip.js.map +1 -1
- package/components/Tooltip/TooltipWord/TooltipWord.js +17 -18
- package/components/Tooltip/TooltipWord/TooltipWord.js.map +1 -1
- package/components/Tooltip/index.js +5 -5
- package/components/TooltipExample/TooltipExample.js +4 -4
- package/components/TooltipExample/TooltipExample.js.map +1 -1
- package/components/Trigger/HelpSign.js +3 -3
- package/components/Trigger/HelpSign.js.map +1 -1
- package/components/Trigger/Trigger.js +25 -26
- package/components/Trigger/Trigger.js.map +1 -1
- package/components/Validation/ErrorList.js +5 -5
- package/components/Validation/ErrorList.js.map +1 -1
- package/components/Validation/ErrorListItem.js +8 -8
- package/components/Validation/ErrorListItem.js.map +1 -1
- package/components/Validation/Validation.js +13 -14
- package/components/Validation/Validation.js.map +1 -1
- package/components/Validation/ValidationSummary.js +4 -4
- package/components/Validation/ValidationSummary.js.map +1 -1
- package/components/Validation/index.js +3 -4
- package/components/Validation/index.js.map +1 -1
- package/components/Validation/types.d.ts +0 -1
- package/constants.d.ts +2 -1
- package/constants.js +1 -1
- package/constants.js.map +1 -1
- package/hooks/useIcons.d.ts +0 -1
- package/hooks/useIcons.js +1 -1
- package/hooks/useLayoutEvent.js +1 -2
- package/hooks/useLayoutEvent.js.map +1 -1
- package/hooks/useSticky.d.ts +1 -1
- package/package.json +1 -1
- package/scss/_palette.scss +1 -0
- package/scss/typography.module.scss +1 -1
- package/scss/typography.module.scss.d.ts +1 -1
- package/scss/typography.stories.tsx +157 -0
- package/theme/currys/color.d.ts +1 -1
- package/utils/accessibility.d.ts +2 -1
- package/utils/accessibility.js +1 -1
- package/utils/accessibility.js.map +1 -1
- package/utils/component.d.ts +3 -3
- package/utils/refs.d.ts +1 -2
- package/_virtual/index2.js +0 -5
- package/_virtual/index2.js.map +0 -1
- package/_virtual/index3.js +0 -5
- package/_virtual/index3.js.map +0 -1
- package/components/AnchorLink/AnchorLink.stories.d.ts +0 -31
- package/components/Avatar/Avatar.stories.d.ts +0 -36
- package/components/Badge/Badge.stories.d.ts +0 -42
- package/components/Button/Button.stories.d.ts +0 -56
- package/components/Checkbox/Checkbox.stories.d.ts +0 -54
- package/components/Close/Close.stories.d.ts +0 -29
- package/components/DictionaryTrigger/DictionaryTrigger.stories.d.ts +0 -30
- package/components/Dropdown/Dropdown.stories.d.ts +0 -67
- package/components/Duolist/Duolist.stories.d.ts +0 -32
- package/components/EmptyState/EmptyState.stories.d.ts +0 -26
- package/components/Expander/Expander.stories.d.ts +0 -60
- package/components/ExpanderHierarchy/ExpanderHierarchy.stories.d.ts +0 -44
- package/components/ExpanderList/ExpanderList.stories.d.ts +0 -59
- package/components/FormGroup/FormGroup.stories.d.ts +0 -50
- package/components/FormLayout/FormLayout.stories.d.ts +0 -32
- package/components/HelpBubble/HelpBubble.stories.d.ts +0 -46
- package/components/HelpPanel/HelpPanel.stories.d.ts +0 -31
- package/components/HelpQuestion/HelpQuestion.stories.d.ts +0 -29
- package/components/HighlightBox/HighlightBox.stories.d.ts +0 -42
- package/components/Icon/Icon.stories.d.ts +0 -38
- package/components/Illustration/Illustration.stories.d.ts +0 -34
- package/components/Illustration/Illustrations.stories.d.ts +0 -41
- package/components/Input/Input.stories.d.ts +0 -94
- package/components/Label/Label.stories.d.ts +0 -25
- package/components/LazyIcon/LazyIcon.stories.d.ts +0 -25
- package/components/LazyIllustration/LazyIllustration.stories.d.ts +0 -38
- package/components/LinkList/LinkList.stories.d.ts +0 -49
- package/components/List/List.stories.d.ts +0 -52
- package/components/Loader/Loader.stories.d.ts +0 -31
- package/components/Logo/Logo.stories.d.ts +0 -37
- package/components/Modal/Modal.stories.d.ts +0 -76
- package/components/NotificationPanel/NotificationPanel.stories.d.ts +0 -60
- package/components/Panel/Panel.stories.d.ts +0 -89
- package/components/PanelList/PanelList.stories.d.ts +0 -27
- package/components/PopMenu/PopMenu.stories.d.ts +0 -39
- package/components/PopOver/PopOver.stories.d.ts +0 -38
- package/components/Progressbar/Progressbar.stories.d.ts +0 -43
- package/components/PromoPanel/PromoPanel.stories.d.ts +0 -45
- package/components/RadioButton/RadioButton.stories.d.ts +0 -57
- package/components/Select/Select.stories.d.ts +0 -38
- package/components/ServiceMessage/ServiceMessage.stories.d.ts +0 -71
- package/components/SharingStatus/SharingStatus.stories.d.ts +0 -31
- package/components/Slider/Slider.stories.d.ts +0 -52
- package/components/Spacer/Spacer.stories.d.ts +0 -17
- package/components/StatusDot/StatusDot.stories.d.ts +0 -31
- package/components/Step/Step.stories.d.ts +0 -32
- package/components/StepButtons/StepButtons.stories.d.ts +0 -19
- package/components/Stepper/Stepper.stories.d.ts +0 -38
- package/components/Table/Table.stories.d.ts +0 -90
- package/components/Tabs/Tabs.stories.d.ts +0 -50
- package/components/Tag/Tag.stories.d.ts +0 -48
- package/components/TagList/TagList.stories.d.ts +0 -17
- package/components/Textarea/Textarea.stories.d.ts +0 -94
- package/components/Tile/Tile.stories.d.ts +0 -65
- package/components/Title/Title.stories.d.ts +0 -40
- package/components/Tooltip/Tooltip.stories.d.ts +0 -34
- package/components/Trigger/Trigger.stories.d.ts +0 -52
- package/components/Validation/Validation.stories.d.ts +0 -37
- package/hoc/withBreakpoint/withBreakpoint.stories.d.ts +0 -17
- package/hooks/useBreakpoint.stories.d.ts +0 -16
- package/hooks/useDelayedState.stories.d.ts +0 -27
- package/hooks/useElementList.stories.d.ts +0 -16
- package/hooks/useFocusToggle.stories.d.ts +0 -16
- package/hooks/useFocusTrap.stories.d.ts +0 -16
- package/hooks/useFocusableElements.stories.d.ts +0 -16
- package/hooks/useHover.stories.d.ts +0 -16
- package/hooks/useIntersectionObserver.stories.d.ts +0 -16
- package/hooks/useInterval.stories.d.ts +0 -16
- package/hooks/useIsVisible.stories.d.ts +0 -27
- package/hooks/useKeyboardEvent.stories.d.ts +0 -16
- package/hooks/useLayoutEvent.stories.d.ts +0 -16
- package/hooks/useOutsideEvent.stories.d.ts +0 -16
- package/hooks/usePseudoClasses.stories.d.ts +0 -16
- package/hooks/useResizeObserver.stories.d.ts +0 -16
- package/hooks/useRovingFocus.stories.d.ts +0 -17
- package/hooks/useSize.stories.d.ts +0 -16
- package/hooks/useSticky.stories.d.ts +0 -16
- package/hooks/useUuid.stories.d.ts +0 -16
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("./DictionaryTrigger").DictionaryTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: string;
|
|
16
|
-
selected: false;
|
|
17
|
-
};
|
|
18
|
-
argTypes: {
|
|
19
|
-
children: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
selected: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export default meta;
|
|
28
|
-
type Story = StoryObj<typeof meta>;
|
|
29
|
-
export declare const Default: Story;
|
|
30
|
-
export declare const NextToText: Story;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { DropdownMode } from './Dropdown';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("./Dropdown").DropdownProps>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
story: {
|
|
14
|
-
inline: boolean;
|
|
15
|
-
iframeHeight: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
args: {
|
|
20
|
-
label: string;
|
|
21
|
-
children: string;
|
|
22
|
-
placeholder: string;
|
|
23
|
-
closeText: string;
|
|
24
|
-
open: false;
|
|
25
|
-
mode: DropdownMode.onwhite;
|
|
26
|
-
transparent: false;
|
|
27
|
-
fluid: false;
|
|
28
|
-
noCloseButton: false;
|
|
29
|
-
disabled: false;
|
|
30
|
-
};
|
|
31
|
-
argTypes: {
|
|
32
|
-
label: {
|
|
33
|
-
control: string;
|
|
34
|
-
};
|
|
35
|
-
placeholder: {
|
|
36
|
-
control: string;
|
|
37
|
-
};
|
|
38
|
-
closeText: {
|
|
39
|
-
control: string;
|
|
40
|
-
};
|
|
41
|
-
open: {
|
|
42
|
-
control: string;
|
|
43
|
-
};
|
|
44
|
-
mode: {
|
|
45
|
-
control: string;
|
|
46
|
-
options: typeof DropdownMode;
|
|
47
|
-
};
|
|
48
|
-
transparent: {
|
|
49
|
-
control: string;
|
|
50
|
-
};
|
|
51
|
-
fluid: {
|
|
52
|
-
control: string;
|
|
53
|
-
};
|
|
54
|
-
noCloseButton: {
|
|
55
|
-
control: string;
|
|
56
|
-
};
|
|
57
|
-
disabled: {
|
|
58
|
-
control: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
export default meta;
|
|
63
|
-
type Story = StoryObj<typeof meta>;
|
|
64
|
-
export declare const RadioButtonChildren: Story;
|
|
65
|
-
export declare const CheckboxChildren: Story;
|
|
66
|
-
export declare const CustomContent: Story;
|
|
67
|
-
export declare const EksternChildrenRefs: Story;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./Duolist").DuolistProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: string;
|
|
16
|
-
};
|
|
17
|
-
argTypes: {
|
|
18
|
-
descriptionWidth: {
|
|
19
|
-
control: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default meta;
|
|
24
|
-
type Story = StoryObj<typeof meta>;
|
|
25
|
-
export declare const Default: Story;
|
|
26
|
-
export declare const DescriptionWithLink: Story;
|
|
27
|
-
export declare const WithLabel: Story;
|
|
28
|
-
export declare const WithLines: Story;
|
|
29
|
-
export declare const WithBorder: Story;
|
|
30
|
-
export declare const BoldColumn: Story;
|
|
31
|
-
export declare const DescriptionWidth: Story;
|
|
32
|
-
export declare const NonFormatted: Story;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./EmptyState").EmptyStateProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: string;
|
|
16
|
-
};
|
|
17
|
-
argTypes: {
|
|
18
|
-
children: {
|
|
19
|
-
control: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default meta;
|
|
24
|
-
type Story = StoryObj<typeof meta>;
|
|
25
|
-
export declare const Default: Story;
|
|
26
|
-
export declare const WithAnchorLink: Story;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { ExpanderSize } from './Expander';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("./Expander").ExpanderProps>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
children: string;
|
|
17
|
-
title: string;
|
|
18
|
-
size: ExpanderSize.small;
|
|
19
|
-
color: "blueberry";
|
|
20
|
-
noNestedLine: false;
|
|
21
|
-
expanded: false;
|
|
22
|
-
renderChildrenWhenClosed: false;
|
|
23
|
-
sticky: true;
|
|
24
|
-
};
|
|
25
|
-
argTypes: {
|
|
26
|
-
children: {
|
|
27
|
-
control: string;
|
|
28
|
-
};
|
|
29
|
-
title: {
|
|
30
|
-
control: string;
|
|
31
|
-
};
|
|
32
|
-
size: {
|
|
33
|
-
control: string;
|
|
34
|
-
options: typeof ExpanderSize;
|
|
35
|
-
};
|
|
36
|
-
color: {
|
|
37
|
-
control: string;
|
|
38
|
-
options: string[];
|
|
39
|
-
};
|
|
40
|
-
noNestedLine: {
|
|
41
|
-
control: string;
|
|
42
|
-
};
|
|
43
|
-
expanded: {
|
|
44
|
-
control: string;
|
|
45
|
-
};
|
|
46
|
-
renderChildrenWhenClosed: {
|
|
47
|
-
control: string;
|
|
48
|
-
};
|
|
49
|
-
sticky: {
|
|
50
|
-
control: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export default meta;
|
|
55
|
-
type Story = StoryObj<typeof meta>;
|
|
56
|
-
export declare const DefaultSmall: Story;
|
|
57
|
-
export declare const Large: Story;
|
|
58
|
-
export declare const WithIcon: Story;
|
|
59
|
-
export declare const WithLoader: Story;
|
|
60
|
-
export declare const WithCallback: Story;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import ExpanderHierarchy from './ExpanderHierarchy';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: import("./ExpanderHierarchy").ExpanderHierarchyCompound;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
htmlMarkup: "h2";
|
|
17
|
-
print: false;
|
|
18
|
-
};
|
|
19
|
-
argTypes: {
|
|
20
|
-
htmlMarkup: {
|
|
21
|
-
control: string;
|
|
22
|
-
options: string[];
|
|
23
|
-
description: string;
|
|
24
|
-
};
|
|
25
|
-
print: {
|
|
26
|
-
control: string;
|
|
27
|
-
description: string;
|
|
28
|
-
};
|
|
29
|
-
children: {
|
|
30
|
-
control: string;
|
|
31
|
-
};
|
|
32
|
-
level: {
|
|
33
|
-
control: string;
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
testId: {
|
|
37
|
-
control: string;
|
|
38
|
-
description: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export default meta;
|
|
43
|
-
type Story = StoryObj<typeof ExpanderHierarchy>;
|
|
44
|
-
export declare const Default: Story;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import("./ExpanderList").ExpanderListCompound;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: string;
|
|
16
|
-
renderChildrenWhenClosed: false;
|
|
17
|
-
accordion: false;
|
|
18
|
-
childPadding: true;
|
|
19
|
-
color: "blueberry";
|
|
20
|
-
sticky: false;
|
|
21
|
-
large: false;
|
|
22
|
-
};
|
|
23
|
-
argTypes: {
|
|
24
|
-
renderChildrenWhenClosed: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
accordion: {
|
|
28
|
-
control: string;
|
|
29
|
-
};
|
|
30
|
-
childPadding: {
|
|
31
|
-
control: string;
|
|
32
|
-
};
|
|
33
|
-
color: {
|
|
34
|
-
control: string;
|
|
35
|
-
options: import("../../theme/palette").PaletteNames[];
|
|
36
|
-
};
|
|
37
|
-
sticky: {
|
|
38
|
-
control: string;
|
|
39
|
-
};
|
|
40
|
-
large: {
|
|
41
|
-
control: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export default meta;
|
|
46
|
-
type Story = StoryObj<typeof meta>;
|
|
47
|
-
export declare const Default: Story;
|
|
48
|
-
export declare const VariantLine: Story;
|
|
49
|
-
export declare const VariantOutline: Story;
|
|
50
|
-
export declare const VariantFill: Story;
|
|
51
|
-
export declare const WithListHeaderComp: Story;
|
|
52
|
-
export declare const WithAvatarAndBadge: Story;
|
|
53
|
-
export declare const MultipleOpenExpanders: Story;
|
|
54
|
-
export declare const WithIcon: Story;
|
|
55
|
-
export declare const WithLinkList: Story;
|
|
56
|
-
export declare const AsAccordion: Story;
|
|
57
|
-
export declare const WithCallback: Story;
|
|
58
|
-
export declare const InteractiveChildren: Story;
|
|
59
|
-
export declare const JsxTitle: Story;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { FormMode, FormSize } from '../../constants';
|
|
4
|
-
import './formGroup.stories.scss';
|
|
5
|
-
declare const meta: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: React.ForwardRefExoticComponent<import("./FormGroup").FormGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: () => React.JSX.Element;
|
|
11
|
-
description: {
|
|
12
|
-
component: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
args: {
|
|
17
|
-
title: string;
|
|
18
|
-
legend: string;
|
|
19
|
-
mode: FormMode.onwhite;
|
|
20
|
-
size: FormSize.medium;
|
|
21
|
-
name: string;
|
|
22
|
-
};
|
|
23
|
-
argTypes: {
|
|
24
|
-
title: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
legend: {
|
|
28
|
-
control: string;
|
|
29
|
-
};
|
|
30
|
-
mode: {
|
|
31
|
-
control: string;
|
|
32
|
-
options: typeof FormMode;
|
|
33
|
-
};
|
|
34
|
-
size: {
|
|
35
|
-
control: string;
|
|
36
|
-
options: typeof FormSize;
|
|
37
|
-
};
|
|
38
|
-
name: {
|
|
39
|
-
control: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export default meta;
|
|
44
|
-
type Story = StoryObj<typeof meta>;
|
|
45
|
-
export declare const CheckboxChildren: Story;
|
|
46
|
-
export declare const RadioButtonChildren: Story;
|
|
47
|
-
export declare const InputChildren: Story;
|
|
48
|
-
export declare const DivTagTrue: Story;
|
|
49
|
-
export declare const CustomErrorWrapperClass: Story;
|
|
50
|
-
export declare const FormLayoutChildren: Story;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { FormLayoutColumns } from './FormLayout';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<import("./FormLayout").FormLayoutProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
maxColumns: FormLayoutColumns.three;
|
|
17
|
-
colMinWidth: number;
|
|
18
|
-
};
|
|
19
|
-
argTypes: {
|
|
20
|
-
maxColumns: {
|
|
21
|
-
control: string;
|
|
22
|
-
options: typeof FormLayoutColumns;
|
|
23
|
-
};
|
|
24
|
-
colMinWidth: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default meta;
|
|
30
|
-
type Story = StoryObj<typeof meta>;
|
|
31
|
-
export declare const CheckboxChildren: Story;
|
|
32
|
-
export declare const RadioButtonChildren: Story;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("./HelpBubble").HelpBubbleProps & React.RefAttributes<HTMLDivElement | SVGSVGElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
story: {
|
|
13
|
-
inline: boolean;
|
|
14
|
-
iframeHeight: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
args: {
|
|
19
|
-
controllerRef: undefined;
|
|
20
|
-
children: string;
|
|
21
|
-
showBubble: true;
|
|
22
|
-
variant: import("../PopOver").PopOverVariant.positionautomatic;
|
|
23
|
-
};
|
|
24
|
-
argTypes: {
|
|
25
|
-
children: {
|
|
26
|
-
control: string;
|
|
27
|
-
};
|
|
28
|
-
showBubble: {
|
|
29
|
-
control: string;
|
|
30
|
-
};
|
|
31
|
-
variant: {
|
|
32
|
-
control: string;
|
|
33
|
-
options: typeof import("../PopOver").PopOverVariant;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export default meta;
|
|
38
|
-
type Story = StoryObj<typeof meta>;
|
|
39
|
-
export declare const Default: Story;
|
|
40
|
-
export declare const Link: Story;
|
|
41
|
-
export declare const Toggle: Story;
|
|
42
|
-
export declare const OnText: Story;
|
|
43
|
-
export declare const AsTooltip: Story;
|
|
44
|
-
export declare const WithHelpQuestion: Story;
|
|
45
|
-
export declare const HorizontalScroll: Story;
|
|
46
|
-
export declare const CenteredOverflow: Story;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("./HelpPanel").HelpPanelProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: string;
|
|
16
|
-
size: "medium";
|
|
17
|
-
};
|
|
18
|
-
argTypes: {
|
|
19
|
-
children: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
size: {
|
|
23
|
-
control: string;
|
|
24
|
-
options: string[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export default meta;
|
|
29
|
-
type Story = StoryObj<typeof meta>;
|
|
30
|
-
export declare const Default: Story;
|
|
31
|
-
export declare const WithoutTitle: Story;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("./HelpQuestion").HelpQuestionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: string;
|
|
16
|
-
selected: false;
|
|
17
|
-
};
|
|
18
|
-
argTypes: {
|
|
19
|
-
children: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
selected: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export default meta;
|
|
28
|
-
type Story = StoryObj<typeof meta>;
|
|
29
|
-
export declare const Default: Story;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { HighlightBoxSize } from './HighlightBox';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("./HighlightBox").HighlightBoxProps>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
children: string;
|
|
17
|
-
color: "white";
|
|
18
|
-
size: HighlightBoxSize.medium;
|
|
19
|
-
htmlMarkup: "div";
|
|
20
|
-
};
|
|
21
|
-
argTypes: {
|
|
22
|
-
children: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
color: {
|
|
26
|
-
control: string;
|
|
27
|
-
options: string[];
|
|
28
|
-
};
|
|
29
|
-
size: {
|
|
30
|
-
control: string;
|
|
31
|
-
options: typeof HighlightBoxSize;
|
|
32
|
-
};
|
|
33
|
-
htmlMarkup: {
|
|
34
|
-
control: string;
|
|
35
|
-
options: string[];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export default meta;
|
|
40
|
-
type Story = StoryObj<typeof meta>;
|
|
41
|
-
export declare const Default: Story;
|
|
42
|
-
export declare const WithIcon: Story;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import LazyIcon from '../LazyIcon';
|
|
4
|
-
import Icon from '.';
|
|
5
|
-
declare const meta: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: React.ForwardRefExoticComponent<import("./Icon").IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: () => React.JSX.Element;
|
|
11
|
-
description: {
|
|
12
|
-
component: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
args: {
|
|
17
|
-
color: string;
|
|
18
|
-
hoverColor: string;
|
|
19
|
-
isHovered: false;
|
|
20
|
-
};
|
|
21
|
-
argTypes: {
|
|
22
|
-
color: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
hoverColor: {
|
|
26
|
-
control: string;
|
|
27
|
-
};
|
|
28
|
-
isHovered: {
|
|
29
|
-
control: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default meta;
|
|
34
|
-
type Story = StoryObj<typeof Icon>;
|
|
35
|
-
export declare const Default: Story;
|
|
36
|
-
export declare const Accessibility: Story;
|
|
37
|
-
type LazyIconStory = StoryObj<typeof LazyIcon>;
|
|
38
|
-
export declare const IconWall: LazyIconStory;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.ForwardRefExoticComponent<import("./Illustration").IllustrationProps & React.RefAttributes<SVGSVGElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
size: number;
|
|
16
|
-
color: "neutral";
|
|
17
|
-
ariaLabel: string;
|
|
18
|
-
};
|
|
19
|
-
argTypes: {
|
|
20
|
-
size: {
|
|
21
|
-
control: string;
|
|
22
|
-
};
|
|
23
|
-
color: {
|
|
24
|
-
control: string;
|
|
25
|
-
options: string[];
|
|
26
|
-
};
|
|
27
|
-
ariaLabel: {
|
|
28
|
-
control: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export default meta;
|
|
33
|
-
type Story = StoryObj<typeof meta>;
|
|
34
|
-
export declare const Default: Story;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import LazyIllustration from '../LazyIllustration';
|
|
4
|
-
type IllustrationWallWithAndCustomArgs = React.ComponentProps<typeof LazyIllustration> & {
|
|
5
|
-
query: string;
|
|
6
|
-
};
|
|
7
|
-
declare const meta: {
|
|
8
|
-
title: string;
|
|
9
|
-
component: React.FC<import("../LazyIllustration").LazyIllustrationProps>;
|
|
10
|
-
parameters: {
|
|
11
|
-
docs: {
|
|
12
|
-
page: () => React.JSX.Element;
|
|
13
|
-
description: {
|
|
14
|
-
component: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
args: {
|
|
19
|
-
size: number;
|
|
20
|
-
color: "neutral";
|
|
21
|
-
ariaLabel: string;
|
|
22
|
-
};
|
|
23
|
-
argTypes: {
|
|
24
|
-
query: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
size: {
|
|
28
|
-
control: string;
|
|
29
|
-
};
|
|
30
|
-
color: {
|
|
31
|
-
control: string;
|
|
32
|
-
options: string[];
|
|
33
|
-
};
|
|
34
|
-
ariaLabel: {
|
|
35
|
-
control: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export default meta;
|
|
40
|
-
type Story = StoryObj<IllustrationWallWithAndCustomArgs>;
|
|
41
|
-
export declare const IllustrationWall: Story;
|