@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,43 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { ProgressBarMode, ProgressbarSize } from './Progressbar';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("./Progressbar").ProgressbarProps>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
page: () => React.JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
value: number;
|
|
17
|
-
size: ProgressbarSize.large;
|
|
18
|
-
mode: ProgressBarMode.onlight;
|
|
19
|
-
};
|
|
20
|
-
argTypes: {
|
|
21
|
-
value: {
|
|
22
|
-
control: string;
|
|
23
|
-
};
|
|
24
|
-
size: {
|
|
25
|
-
control: string;
|
|
26
|
-
options: string[];
|
|
27
|
-
};
|
|
28
|
-
mode: {
|
|
29
|
-
control: string;
|
|
30
|
-
options: string[];
|
|
31
|
-
};
|
|
32
|
-
ariaLabel: {
|
|
33
|
-
control: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export default meta;
|
|
38
|
-
type Story = StoryObj<typeof meta>;
|
|
39
|
-
export declare const Default: Story;
|
|
40
|
-
export declare const Animated: Story;
|
|
41
|
-
export declare const Modes: Story;
|
|
42
|
-
export declare const OverlayScreen: Story;
|
|
43
|
-
export declare const OverlayParent: Story;
|
|
@@ -1,45 +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("./PromoPanel").PromoPanelProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
title: string;
|
|
16
|
-
children: string;
|
|
17
|
-
href: string;
|
|
18
|
-
target: "_parent";
|
|
19
|
-
color: "neutral";
|
|
20
|
-
illustration: "Doctor";
|
|
21
|
-
};
|
|
22
|
-
argTypes: {
|
|
23
|
-
title: {
|
|
24
|
-
control: string;
|
|
25
|
-
};
|
|
26
|
-
children: {
|
|
27
|
-
control: string;
|
|
28
|
-
};
|
|
29
|
-
href: {
|
|
30
|
-
control: string;
|
|
31
|
-
};
|
|
32
|
-
color: {
|
|
33
|
-
control: string;
|
|
34
|
-
options: string[];
|
|
35
|
-
};
|
|
36
|
-
illustration: {
|
|
37
|
-
control: string;
|
|
38
|
-
options: string[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export default meta;
|
|
43
|
-
type Story = StoryObj<typeof meta>;
|
|
44
|
-
export declare const Default: Story;
|
|
45
|
-
export declare const CustomLinkComponent: Story;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { FormMode, FormSize } from '../../constants';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<import("./RadioButton").RadioButtonProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
label: string;
|
|
17
|
-
defaultChecked: false;
|
|
18
|
-
disabled: false;
|
|
19
|
-
mode: FormMode.onwhite;
|
|
20
|
-
size: FormSize.medium;
|
|
21
|
-
name: string;
|
|
22
|
-
value: string;
|
|
23
|
-
required: false;
|
|
24
|
-
};
|
|
25
|
-
argTypes: {
|
|
26
|
-
label: {
|
|
27
|
-
control: string;
|
|
28
|
-
};
|
|
29
|
-
defaultChecked: {
|
|
30
|
-
control: string;
|
|
31
|
-
};
|
|
32
|
-
disabled: {
|
|
33
|
-
control: string;
|
|
34
|
-
};
|
|
35
|
-
mode: {
|
|
36
|
-
control: string;
|
|
37
|
-
options: typeof FormMode;
|
|
38
|
-
};
|
|
39
|
-
size: {
|
|
40
|
-
control: string;
|
|
41
|
-
options: typeof FormSize;
|
|
42
|
-
};
|
|
43
|
-
name: {
|
|
44
|
-
control: string;
|
|
45
|
-
};
|
|
46
|
-
value: {
|
|
47
|
-
control: string;
|
|
48
|
-
};
|
|
49
|
-
required: {
|
|
50
|
-
control: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export default meta;
|
|
55
|
-
type Story = StoryObj<typeof meta>;
|
|
56
|
-
export declare const Default: Story;
|
|
57
|
-
export declare const Large: Story;
|
|
@@ -1,38 +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("./Select").SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: React.JSX.Element;
|
|
16
|
-
label: React.JSX.Element;
|
|
17
|
-
name: string;
|
|
18
|
-
onChange: import("@storybook/addon-actions").HandlerFunction;
|
|
19
|
-
disabled: false;
|
|
20
|
-
autoComplete: string;
|
|
21
|
-
};
|
|
22
|
-
argTypes: {
|
|
23
|
-
disabled: {
|
|
24
|
-
control: string;
|
|
25
|
-
};
|
|
26
|
-
autoComplete: {
|
|
27
|
-
control: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export default meta;
|
|
32
|
-
type Story = StoryObj<typeof meta>;
|
|
33
|
-
export declare const Default: Story;
|
|
34
|
-
export declare const DefaultValue: Story;
|
|
35
|
-
export declare const Disabled: Story;
|
|
36
|
-
export declare const Concepts: Story;
|
|
37
|
-
export declare const Modes: Story;
|
|
38
|
-
export declare const Width: Story;
|
|
@@ -1,71 +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("./ServiceMessage").ServiceMessageProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
label: string;
|
|
16
|
-
info: string;
|
|
17
|
-
extraInfo: string;
|
|
18
|
-
dismissable: true;
|
|
19
|
-
expanderOpenFromStart: true;
|
|
20
|
-
urlTitle: string;
|
|
21
|
-
url: string;
|
|
22
|
-
target: "_parent";
|
|
23
|
-
closeBtnText: string;
|
|
24
|
-
variant: "error";
|
|
25
|
-
testId: string;
|
|
26
|
-
};
|
|
27
|
-
argTypes: {
|
|
28
|
-
label: {
|
|
29
|
-
control: string;
|
|
30
|
-
};
|
|
31
|
-
info: {
|
|
32
|
-
control: string;
|
|
33
|
-
};
|
|
34
|
-
extraInfo: {
|
|
35
|
-
control: string;
|
|
36
|
-
};
|
|
37
|
-
dismissable: {
|
|
38
|
-
control: string;
|
|
39
|
-
};
|
|
40
|
-
expanderOpenFromStart: {
|
|
41
|
-
control: string;
|
|
42
|
-
};
|
|
43
|
-
urlTitle: {
|
|
44
|
-
control: string;
|
|
45
|
-
};
|
|
46
|
-
url: {
|
|
47
|
-
control: string;
|
|
48
|
-
};
|
|
49
|
-
target: {
|
|
50
|
-
control: string;
|
|
51
|
-
options: string[];
|
|
52
|
-
};
|
|
53
|
-
closeBtnText: {
|
|
54
|
-
control: string;
|
|
55
|
-
};
|
|
56
|
-
variant: {
|
|
57
|
-
control: string;
|
|
58
|
-
options: string[];
|
|
59
|
-
};
|
|
60
|
-
testId: {
|
|
61
|
-
control: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export default meta;
|
|
66
|
-
type Story = StoryObj<typeof meta>;
|
|
67
|
-
export declare const Default: Story;
|
|
68
|
-
export declare const ReadMore: Story;
|
|
69
|
-
export declare const DismissableWithContent: Story;
|
|
70
|
-
export declare const DismissableLabelOnly: Story;
|
|
71
|
-
export declare const LabelOnly: 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("./SharingStatus").SharingStatusProps>;
|
|
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
|
-
wrapText: {
|
|
22
|
-
control: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export default meta;
|
|
27
|
-
type Story = StoryObj<typeof meta>;
|
|
28
|
-
export declare const Default: Story;
|
|
29
|
-
export declare const WrapText: Story;
|
|
30
|
-
export declare const DifferentIcons: Story;
|
|
31
|
-
export declare const AllColors: Story;
|
|
@@ -1,52 +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("./Slider").SliderProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
title: string;
|
|
16
|
-
disabled: false;
|
|
17
|
-
};
|
|
18
|
-
argTypes: {
|
|
19
|
-
title: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
labelLeft: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
labelRight: {
|
|
26
|
-
control: string;
|
|
27
|
-
};
|
|
28
|
-
ariaLabel: {
|
|
29
|
-
control: string;
|
|
30
|
-
};
|
|
31
|
-
disabled: {
|
|
32
|
-
control: string;
|
|
33
|
-
};
|
|
34
|
-
selected: {
|
|
35
|
-
control: string;
|
|
36
|
-
};
|
|
37
|
-
step: {
|
|
38
|
-
control: string;
|
|
39
|
-
};
|
|
40
|
-
value: {
|
|
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 NotSelected: Story;
|
|
49
|
-
export declare const Steps: Story;
|
|
50
|
-
export declare const StepLabel: Story;
|
|
51
|
-
export declare const StepEmoji: Story;
|
|
52
|
-
export declare const CombinedData: Story;
|
|
@@ -1,17 +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("./Spacer").SpacerProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const Default: Story;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { StatusDotVariant } from './StatusDot';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("./StatusDot").StatusDotProps>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
variant: StatusDotVariant.info;
|
|
17
|
-
text: string;
|
|
18
|
-
};
|
|
19
|
-
argTypes: {
|
|
20
|
-
variant: {
|
|
21
|
-
control: string;
|
|
22
|
-
options: typeof StatusDotVariant;
|
|
23
|
-
};
|
|
24
|
-
text: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default meta;
|
|
30
|
-
type Story = StoryObj<typeof meta>;
|
|
31
|
-
export declare const Default: 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("./Step").StepProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: string;
|
|
16
|
-
stickyButtons: false;
|
|
17
|
-
};
|
|
18
|
-
argTypes: {
|
|
19
|
-
stickyButtons: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default meta;
|
|
25
|
-
type Story = StoryObj<typeof meta>;
|
|
26
|
-
export declare const Default: Story;
|
|
27
|
-
export declare const StickyButtons: Story;
|
|
28
|
-
export declare const StickyButtonsNoSiblings: Story;
|
|
29
|
-
export declare const NoNavigation: Story;
|
|
30
|
-
export declare const WithStepButtons: Story;
|
|
31
|
-
export declare const AdditionalButtons: Story;
|
|
32
|
-
export declare const Locked: Story;
|
|
@@ -1,19 +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("./StepButtons").StepButtonsProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
argTypes: {};
|
|
15
|
-
};
|
|
16
|
-
export default meta;
|
|
17
|
-
type Story = StoryObj<typeof meta>;
|
|
18
|
-
export declare const Default: Story;
|
|
19
|
-
export declare const AdditionalButtons: Story;
|
|
@@ -1,38 +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("./Stepper").StepperProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
ariaLabel: string;
|
|
16
|
-
};
|
|
17
|
-
argTypes: {
|
|
18
|
-
ariaLabel: {
|
|
19
|
-
control: string;
|
|
20
|
-
};
|
|
21
|
-
ariaLabelledById: {
|
|
22
|
-
control: string;
|
|
23
|
-
};
|
|
24
|
-
value: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
min: {
|
|
28
|
-
control: string;
|
|
29
|
-
};
|
|
30
|
-
max: {
|
|
31
|
-
control: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export default meta;
|
|
36
|
-
type Story = StoryObj<typeof meta>;
|
|
37
|
-
export declare const Dots: Story;
|
|
38
|
-
export declare const Smooth: Story;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { ResponsiveTableVariant, Table, HeaderCategory, ModeType } from './';
|
|
4
|
-
type TableWithAndCustomArgs = React.ComponentProps<typeof Table> & {
|
|
5
|
-
breakpoint: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
-
variant: ResponsiveTableVariant;
|
|
7
|
-
fallbackVariant: ResponsiveTableVariant;
|
|
8
|
-
headerCategory: HeaderCategory;
|
|
9
|
-
};
|
|
10
|
-
declare const meta: {
|
|
11
|
-
title: string;
|
|
12
|
-
component: React.FC<import("./Table").Props>;
|
|
13
|
-
parameters: {
|
|
14
|
-
docs: {
|
|
15
|
-
page: () => React.JSX.Element;
|
|
16
|
-
description: {
|
|
17
|
-
component: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
args: {
|
|
22
|
-
breakpoint: "xl";
|
|
23
|
-
variant: ResponsiveTableVariant.none;
|
|
24
|
-
fallbackVariant: ResponsiveTableVariant.none;
|
|
25
|
-
headerCategory: HeaderCategory.normal;
|
|
26
|
-
mode: ModeType.normal;
|
|
27
|
-
scrollAriaLabel: string;
|
|
28
|
-
};
|
|
29
|
-
argTypes: {
|
|
30
|
-
breakpoint: {
|
|
31
|
-
control: string;
|
|
32
|
-
options: string[];
|
|
33
|
-
};
|
|
34
|
-
variant: {
|
|
35
|
-
control: string;
|
|
36
|
-
options: typeof ResponsiveTableVariant;
|
|
37
|
-
};
|
|
38
|
-
fallbackVariant: {
|
|
39
|
-
control: string;
|
|
40
|
-
options: typeof ResponsiveTableVariant;
|
|
41
|
-
};
|
|
42
|
-
headerCategory: {
|
|
43
|
-
control: string;
|
|
44
|
-
options: typeof HeaderCategory;
|
|
45
|
-
};
|
|
46
|
-
mode: {
|
|
47
|
-
control: string;
|
|
48
|
-
options: typeof ModeType;
|
|
49
|
-
};
|
|
50
|
-
scrollAriaLabel: {
|
|
51
|
-
control: string;
|
|
52
|
-
};
|
|
53
|
-
scrollAriaLabelledById: {
|
|
54
|
-
control: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export default meta;
|
|
59
|
-
type Story = StoryObj<TableWithAndCustomArgs>;
|
|
60
|
-
export declare const Default: Story;
|
|
61
|
-
export declare const Compact: Story;
|
|
62
|
-
export declare const DefaultResponsiveConfig: Story;
|
|
63
|
-
export declare const SimpleResponsiveConfig: Story;
|
|
64
|
-
export declare const SortableAndExpandable: Story;
|
|
65
|
-
export declare const NestedExpandableBlockTables: Story;
|
|
66
|
-
export declare const ExtraData: Story;
|
|
67
|
-
export declare const Irregular: Story;
|
|
68
|
-
export interface Legekontor {
|
|
69
|
-
Navn: string | JSX.Element;
|
|
70
|
-
Adresse: string;
|
|
71
|
-
}
|
|
72
|
-
export interface FastlegeAvtale {
|
|
73
|
-
AntallPlasser: number;
|
|
74
|
-
LedigePlasser: number;
|
|
75
|
-
Fastlege: Fastlege;
|
|
76
|
-
Legekontor: Legekontor;
|
|
77
|
-
Avtaledato: string;
|
|
78
|
-
Valgbar: boolean;
|
|
79
|
-
Fellesliste: boolean;
|
|
80
|
-
VentelisteTilgjengelig: boolean;
|
|
81
|
-
AntallPaVenteliste: number;
|
|
82
|
-
}
|
|
83
|
-
export interface Fastlege {
|
|
84
|
-
Stillingsprosent: string | null;
|
|
85
|
-
Autorisert: string | null;
|
|
86
|
-
Fornavn: string;
|
|
87
|
-
Etternavn: string;
|
|
88
|
-
Alder: string;
|
|
89
|
-
Kjonn: string;
|
|
90
|
-
}
|
|
@@ -1,50 +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("./Tabs").TabsProps> & {
|
|
6
|
-
Tab: React.FC<import("./Tab").TabProps>;
|
|
7
|
-
};
|
|
8
|
-
subcomponents: {
|
|
9
|
-
Tab: React.FC<import("./Tab").TabProps>;
|
|
10
|
-
};
|
|
11
|
-
parameters: {
|
|
12
|
-
docs: {
|
|
13
|
-
description: {
|
|
14
|
-
component: string;
|
|
15
|
-
};
|
|
16
|
-
page: () => React.JSX.Element;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
args: {
|
|
20
|
-
color: "white";
|
|
21
|
-
type: "normal";
|
|
22
|
-
};
|
|
23
|
-
argTypes: {
|
|
24
|
-
color: {
|
|
25
|
-
control: string;
|
|
26
|
-
options: string[];
|
|
27
|
-
description: string;
|
|
28
|
-
};
|
|
29
|
-
testId: {
|
|
30
|
-
control: string;
|
|
31
|
-
description: string;
|
|
32
|
-
};
|
|
33
|
-
type: {
|
|
34
|
-
control: string;
|
|
35
|
-
options: string[];
|
|
36
|
-
describtion: string;
|
|
37
|
-
};
|
|
38
|
-
activeTab: {
|
|
39
|
-
control: string;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
export default meta;
|
|
45
|
-
type Story = StoryObj<typeof meta>;
|
|
46
|
-
export declare const Default: Story;
|
|
47
|
-
export declare const WithIcon: Story;
|
|
48
|
-
export declare const Framed: Story;
|
|
49
|
-
export declare const Colors: Story;
|
|
50
|
-
export declare const Controlled: Story;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { TagAction, TagSize, TagVariant } from './Tag';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("./Tag").TagProps>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
children: string;
|
|
17
|
-
size: TagSize.medium;
|
|
18
|
-
color: "blueberry";
|
|
19
|
-
variant: TagVariant.normal;
|
|
20
|
-
action: TagAction.remove;
|
|
21
|
-
};
|
|
22
|
-
argTypes: {
|
|
23
|
-
children: {
|
|
24
|
-
control: string;
|
|
25
|
-
};
|
|
26
|
-
size: {
|
|
27
|
-
control: string;
|
|
28
|
-
options: typeof TagSize;
|
|
29
|
-
};
|
|
30
|
-
color: {
|
|
31
|
-
control: string;
|
|
32
|
-
options: string[];
|
|
33
|
-
};
|
|
34
|
-
variant: {
|
|
35
|
-
control: string;
|
|
36
|
-
options: typeof TagVariant;
|
|
37
|
-
};
|
|
38
|
-
action: {
|
|
39
|
-
control: string;
|
|
40
|
-
options: typeof TagAction;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
export default meta;
|
|
45
|
-
type Story = StoryObj<typeof meta>;
|
|
46
|
-
export declare const Default: Story;
|
|
47
|
-
export declare const WithIcon: Story;
|
|
48
|
-
export declare const Action: Story;
|
|
@@ -1,17 +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("./TagList").TagListPropsProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const Default: Story;
|