@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,94 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import Input, { InputProps, InputTypes } from './Input';
|
|
4
|
-
import { FormMode, FormSize } from '../../constants';
|
|
5
|
-
type InputWithAndCustomArgs = React.ComponentProps<typeof Input> & {
|
|
6
|
-
showIcon: boolean;
|
|
7
|
-
};
|
|
8
|
-
declare const meta: {
|
|
9
|
-
title: string;
|
|
10
|
-
component: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
-
parameters: {
|
|
12
|
-
docs: {
|
|
13
|
-
page: () => React.JSX.Element;
|
|
14
|
-
description: {
|
|
15
|
-
component: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
args: {
|
|
20
|
-
width: undefined;
|
|
21
|
-
size: FormSize.medium;
|
|
22
|
-
transparent: false;
|
|
23
|
-
type: InputTypes.text;
|
|
24
|
-
disabled: false;
|
|
25
|
-
mode: FormMode.onwhite;
|
|
26
|
-
showIcon: true;
|
|
27
|
-
iconRight: false;
|
|
28
|
-
readOnly: false;
|
|
29
|
-
autoComplete: string;
|
|
30
|
-
name: string;
|
|
31
|
-
required: false;
|
|
32
|
-
maxText: string;
|
|
33
|
-
};
|
|
34
|
-
argTypes: {
|
|
35
|
-
defaultValue: {
|
|
36
|
-
control: string;
|
|
37
|
-
};
|
|
38
|
-
placeholder: {
|
|
39
|
-
control: string;
|
|
40
|
-
};
|
|
41
|
-
width: {
|
|
42
|
-
control: string;
|
|
43
|
-
};
|
|
44
|
-
size: {
|
|
45
|
-
control: string;
|
|
46
|
-
options: typeof FormSize;
|
|
47
|
-
};
|
|
48
|
-
transparent: {
|
|
49
|
-
control: string;
|
|
50
|
-
};
|
|
51
|
-
type: {
|
|
52
|
-
control: string;
|
|
53
|
-
options: typeof InputTypes;
|
|
54
|
-
};
|
|
55
|
-
disabled: {
|
|
56
|
-
control: string;
|
|
57
|
-
};
|
|
58
|
-
mode: {
|
|
59
|
-
control: string;
|
|
60
|
-
options: typeof FormMode;
|
|
61
|
-
};
|
|
62
|
-
showIcon: {
|
|
63
|
-
control: string;
|
|
64
|
-
};
|
|
65
|
-
iconRight: {
|
|
66
|
-
control: string;
|
|
67
|
-
};
|
|
68
|
-
readOnly: {
|
|
69
|
-
control: string;
|
|
70
|
-
};
|
|
71
|
-
autoComplete: {
|
|
72
|
-
control: string;
|
|
73
|
-
};
|
|
74
|
-
name: {
|
|
75
|
-
control: string;
|
|
76
|
-
};
|
|
77
|
-
required: {
|
|
78
|
-
control: string;
|
|
79
|
-
};
|
|
80
|
-
maxCharacters: {
|
|
81
|
-
control: string;
|
|
82
|
-
};
|
|
83
|
-
maxText: {
|
|
84
|
-
control: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
export default meta;
|
|
89
|
-
type Story = StoryObj<InputWithAndCustomArgs>;
|
|
90
|
-
export declare const Default: Story;
|
|
91
|
-
export declare const MultipleExamples: Story;
|
|
92
|
-
export declare const MaxCharacters: Story;
|
|
93
|
-
export declare const AfterInputChildren: Story;
|
|
94
|
-
export declare const BaseIncrementValue: Story;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import Label from './Label';
|
|
4
|
-
type LabelWithAndCustomArgs = React.ComponentProps<typeof Label> & {
|
|
5
|
-
showIcon: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const meta: {
|
|
8
|
-
title: string;
|
|
9
|
-
component: React.FunctionComponent<import("./Label").LabelProps>;
|
|
10
|
-
parameters: {
|
|
11
|
-
docs: {
|
|
12
|
-
page: () => React.JSX.Element;
|
|
13
|
-
description: {
|
|
14
|
-
component: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
argTypes: {};
|
|
19
|
-
};
|
|
20
|
-
export default meta;
|
|
21
|
-
type Story = StoryObj<LabelWithAndCustomArgs>;
|
|
22
|
-
export declare const Default: Story;
|
|
23
|
-
export declare const OnDark: Story;
|
|
24
|
-
export declare const ChildrenAfterLabel: Story;
|
|
25
|
-
export declare const LabelAsString: Story;
|
|
@@ -1,25 +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("./LazyIcon").LazyIconProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
iconName: "Hospital";
|
|
16
|
-
};
|
|
17
|
-
argTypes: {
|
|
18
|
-
iconName: {
|
|
19
|
-
control: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default meta;
|
|
24
|
-
type Story = StoryObj<typeof meta>;
|
|
25
|
-
export declare const Default: 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("./LazyIllustration").LazyIllustrationProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
illustrationName: "Doctor";
|
|
16
|
-
size: number;
|
|
17
|
-
color: "neutral";
|
|
18
|
-
ariaLabel: string;
|
|
19
|
-
};
|
|
20
|
-
argTypes: {
|
|
21
|
-
illustrationName: {
|
|
22
|
-
control: string;
|
|
23
|
-
};
|
|
24
|
-
size: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
color: {
|
|
28
|
-
control: string;
|
|
29
|
-
options: string[];
|
|
30
|
-
};
|
|
31
|
-
ariaLabel: {
|
|
32
|
-
control: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export default meta;
|
|
37
|
-
type Story = StoryObj<typeof meta>;
|
|
38
|
-
export declare const Default: Story;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import("./LinkList").CompoundComponent;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
children: string;
|
|
16
|
-
chevron: false;
|
|
17
|
-
size: "medium";
|
|
18
|
-
color: "blueberry";
|
|
19
|
-
};
|
|
20
|
-
argTypes: {
|
|
21
|
-
chevron: {
|
|
22
|
-
control: string;
|
|
23
|
-
};
|
|
24
|
-
variant: {
|
|
25
|
-
control: string;
|
|
26
|
-
options: string[];
|
|
27
|
-
};
|
|
28
|
-
size: {
|
|
29
|
-
control: string;
|
|
30
|
-
options: import("./LinkList").LinkListSize[];
|
|
31
|
-
};
|
|
32
|
-
color: {
|
|
33
|
-
control: string;
|
|
34
|
-
options: import("../../theme/palette").PaletteNames[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export default meta;
|
|
39
|
-
type Story = StoryObj<typeof meta>;
|
|
40
|
-
export declare const Default: Story;
|
|
41
|
-
export declare const WithIconAndChevron: Story;
|
|
42
|
-
export declare const WithListHeaderComp: Story;
|
|
43
|
-
export declare const WithAvatarAndBadge: Story;
|
|
44
|
-
export declare const VariantLine: Story;
|
|
45
|
-
export declare const VariantOutline: Story;
|
|
46
|
-
export declare const VariantFill: Story;
|
|
47
|
-
export declare const WithRef: Story;
|
|
48
|
-
export declare const AsButton: Story;
|
|
49
|
-
export declare const WithNotificationBadge: Story;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import List from './List';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: import("./List").ListCompound;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
page: () => React.JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
variant: "bullet";
|
|
17
|
-
margin: false;
|
|
18
|
-
className: string;
|
|
19
|
-
testId: string;
|
|
20
|
-
};
|
|
21
|
-
argTypes: {
|
|
22
|
-
variant: {
|
|
23
|
-
control: string;
|
|
24
|
-
options: string[];
|
|
25
|
-
description: string;
|
|
26
|
-
defaultValue: string;
|
|
27
|
-
};
|
|
28
|
-
margin: {
|
|
29
|
-
control: string;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
children: {
|
|
33
|
-
control: string;
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
className: {
|
|
37
|
-
control: string;
|
|
38
|
-
description: string;
|
|
39
|
-
};
|
|
40
|
-
testId: {
|
|
41
|
-
control: string;
|
|
42
|
-
description: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export default meta;
|
|
47
|
-
type Story = StoryObj<typeof List>;
|
|
48
|
-
export declare const Default: Story;
|
|
49
|
-
export declare const Bullet: Story;
|
|
50
|
-
export declare const Dashed: Story;
|
|
51
|
-
export declare const Numbered: Story;
|
|
52
|
-
export declare const Nested: 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("./Loader").LoaderProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
color: "blueberry";
|
|
16
|
-
};
|
|
17
|
-
argTypes: {
|
|
18
|
-
color: {
|
|
19
|
-
control: string;
|
|
20
|
-
options: import("../../theme/palette").PaletteNames[];
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default meta;
|
|
25
|
-
type Story = StoryObj<typeof meta>;
|
|
26
|
-
export declare const Default: Story;
|
|
27
|
-
export declare const AllSizes: Story;
|
|
28
|
-
export declare const LoaderIsCentered: Story;
|
|
29
|
-
export declare const Inline: Story;
|
|
30
|
-
export declare const OverlayScreen: Story;
|
|
31
|
-
export declare const OverlayParent: Story;
|
|
@@ -1,37 +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("./Logo").LogoProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
color: "black";
|
|
16
|
-
size: number;
|
|
17
|
-
byline: false;
|
|
18
|
-
};
|
|
19
|
-
argTypes: {
|
|
20
|
-
color: {
|
|
21
|
-
control: string;
|
|
22
|
-
options: import("../../theme/palette").PaletteNames[];
|
|
23
|
-
};
|
|
24
|
-
size: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
byline: {
|
|
28
|
-
control: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export default meta;
|
|
33
|
-
type Story = StoryObj<typeof meta>;
|
|
34
|
-
export declare const Default: Story;
|
|
35
|
-
export declare const Sizes: Story;
|
|
36
|
-
export declare const Colors: Story;
|
|
37
|
-
export declare const Byline: Story;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { ModalSize } from './Modal';
|
|
4
|
-
import { ModalVariants } from './Modal';
|
|
5
|
-
declare const meta: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: {
|
|
8
|
-
(props: import("./Modal").ModalProps): JSX.Element;
|
|
9
|
-
defaultProps: {
|
|
10
|
-
variant: ModalVariants;
|
|
11
|
-
primaryButtonText: string;
|
|
12
|
-
titleId: string;
|
|
13
|
-
className: string;
|
|
14
|
-
size: ModalSize;
|
|
15
|
-
zIndex: import("../../constants").ZIndex;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
parameters: {
|
|
19
|
-
docs: {
|
|
20
|
-
description: {
|
|
21
|
-
component: string;
|
|
22
|
-
};
|
|
23
|
-
story: {
|
|
24
|
-
inline: boolean;
|
|
25
|
-
iframeHeight: string;
|
|
26
|
-
};
|
|
27
|
-
page: () => React.JSX.Element;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
args: {
|
|
31
|
-
variant: ModalVariants.normal;
|
|
32
|
-
size: ModalSize.large;
|
|
33
|
-
title: string;
|
|
34
|
-
description: string;
|
|
35
|
-
primaryButtonText: string;
|
|
36
|
-
secondaryButtonText: string;
|
|
37
|
-
};
|
|
38
|
-
argTypes: {
|
|
39
|
-
variant: {
|
|
40
|
-
control: string;
|
|
41
|
-
options: typeof ModalVariants;
|
|
42
|
-
};
|
|
43
|
-
size: {
|
|
44
|
-
control: string;
|
|
45
|
-
options: typeof ModalSize;
|
|
46
|
-
};
|
|
47
|
-
title: {
|
|
48
|
-
control: string;
|
|
49
|
-
};
|
|
50
|
-
description: {
|
|
51
|
-
control: string;
|
|
52
|
-
};
|
|
53
|
-
primaryButtonText: {
|
|
54
|
-
control: string;
|
|
55
|
-
};
|
|
56
|
-
secondaryButtonText: {
|
|
57
|
-
control: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
export default meta;
|
|
62
|
-
type Story = StoryObj<typeof meta>;
|
|
63
|
-
export declare const Default: Story;
|
|
64
|
-
export declare const ModalWithIcon: Story;
|
|
65
|
-
export declare const ModalWithChildrenAfterTitle: Story;
|
|
66
|
-
export declare const Scroll: Story;
|
|
67
|
-
export declare const WithHorizontalImage4By3: Story;
|
|
68
|
-
export declare const WithHorizontalImage16By9: Story;
|
|
69
|
-
export declare const WithVerticalImage: Story;
|
|
70
|
-
export declare const ModalWithoutCloseButton: Story;
|
|
71
|
-
export declare const ModalWithDisabledButton: Story;
|
|
72
|
-
export declare const ModalWithOnlyTitle: Story;
|
|
73
|
-
export declare const ModalWithOnlyTitleAndNoCloseEvent: Story;
|
|
74
|
-
export declare const ModalInBottomOfPage: Story;
|
|
75
|
-
export declare const ModalWithCustomContent: Story;
|
|
76
|
-
export declare const PrintModal: Story;
|
|
@@ -1,60 +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("./NotificationPanel").NotificationPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
page: () => React.JSX.Element;
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
dismissable: false;
|
|
16
|
-
size: "large";
|
|
17
|
-
fluid: false;
|
|
18
|
-
label: string;
|
|
19
|
-
labelHtmlMarkup: "h1";
|
|
20
|
-
variant: "error";
|
|
21
|
-
role: undefined;
|
|
22
|
-
};
|
|
23
|
-
argTypes: {
|
|
24
|
-
dismissable: {
|
|
25
|
-
control: string;
|
|
26
|
-
};
|
|
27
|
-
size: {
|
|
28
|
-
control: string;
|
|
29
|
-
options: string[];
|
|
30
|
-
};
|
|
31
|
-
fluid: {
|
|
32
|
-
control: string;
|
|
33
|
-
};
|
|
34
|
-
label: {
|
|
35
|
-
control: string;
|
|
36
|
-
};
|
|
37
|
-
labelHtmlMarkup: {
|
|
38
|
-
control: string;
|
|
39
|
-
options: import("../Title").TitleTags[];
|
|
40
|
-
};
|
|
41
|
-
variant: {
|
|
42
|
-
control: string;
|
|
43
|
-
options: string[];
|
|
44
|
-
};
|
|
45
|
-
role: {
|
|
46
|
-
control: string;
|
|
47
|
-
options: string[];
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export default meta;
|
|
52
|
-
type Story = StoryObj<typeof meta>;
|
|
53
|
-
export declare const Default: Story;
|
|
54
|
-
export declare const WithoutLabel: Story;
|
|
55
|
-
export declare const AllVariants: Story;
|
|
56
|
-
export declare const Expander: Story;
|
|
57
|
-
export declare const Dismissable: Story;
|
|
58
|
-
export declare const Compact: Story;
|
|
59
|
-
export declare const CompactWithChildren: Story;
|
|
60
|
-
export declare const WithSetWidth: Story;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import Panel, { PanelStatus, PanelVariant } from './Panel';
|
|
4
|
-
type PanelWithAndCustomArgs = React.ComponentProps<typeof Panel> & {
|
|
5
|
-
useIcon: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const meta: {
|
|
8
|
-
title: string;
|
|
9
|
-
component: React.ForwardRefExoticComponent<import("./Panel").PanelProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
10
|
-
parameters: {
|
|
11
|
-
docs: {
|
|
12
|
-
page: () => React.JSX.Element;
|
|
13
|
-
description: {
|
|
14
|
-
component: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
args: {
|
|
19
|
-
variant: PanelVariant.fill;
|
|
20
|
-
title: string;
|
|
21
|
-
status: PanelStatus.normal;
|
|
22
|
-
statusMessage: string;
|
|
23
|
-
buttonText: string;
|
|
24
|
-
buttonTextClose: string;
|
|
25
|
-
useIcon: false;
|
|
26
|
-
containerAsButton: false;
|
|
27
|
-
date: string;
|
|
28
|
-
time: string;
|
|
29
|
-
expanded: false;
|
|
30
|
-
renderChildrenWhenClosed: false;
|
|
31
|
-
focusable: false;
|
|
32
|
-
};
|
|
33
|
-
argTypes: {
|
|
34
|
-
variant: {
|
|
35
|
-
control: string;
|
|
36
|
-
options: typeof PanelVariant;
|
|
37
|
-
};
|
|
38
|
-
title: {
|
|
39
|
-
control: string;
|
|
40
|
-
};
|
|
41
|
-
status: {
|
|
42
|
-
control: string;
|
|
43
|
-
options: typeof PanelStatus;
|
|
44
|
-
};
|
|
45
|
-
statusMessage: {
|
|
46
|
-
control: string;
|
|
47
|
-
};
|
|
48
|
-
buttonText: {
|
|
49
|
-
control: string;
|
|
50
|
-
};
|
|
51
|
-
buttonTextClose: {
|
|
52
|
-
control: string;
|
|
53
|
-
};
|
|
54
|
-
useIcon: {
|
|
55
|
-
control: string;
|
|
56
|
-
};
|
|
57
|
-
containerAsButton: {
|
|
58
|
-
control: string;
|
|
59
|
-
};
|
|
60
|
-
date: {
|
|
61
|
-
control: string;
|
|
62
|
-
};
|
|
63
|
-
time: {
|
|
64
|
-
control: string;
|
|
65
|
-
};
|
|
66
|
-
expanded: {
|
|
67
|
-
control: string;
|
|
68
|
-
};
|
|
69
|
-
renderChildrenWhenClosed: {
|
|
70
|
-
control: string;
|
|
71
|
-
};
|
|
72
|
-
focusable: {
|
|
73
|
-
control: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
export default meta;
|
|
78
|
-
type Story = StoryObj<PanelWithAndCustomArgs>;
|
|
79
|
-
export declare const Default: Story;
|
|
80
|
-
export declare const ContentA: Story;
|
|
81
|
-
export declare const ContentAAndB: Story;
|
|
82
|
-
export declare const ContentAAndBWithIconAndUrl: Story;
|
|
83
|
-
export declare const ContentHeader: Story;
|
|
84
|
-
export declare const IconAndDetails: Story;
|
|
85
|
-
export declare const AvatarAndDetails: Story;
|
|
86
|
-
export declare const Status: Story;
|
|
87
|
-
export declare const AsButton: Story;
|
|
88
|
-
export declare const WithCallback: Story;
|
|
89
|
-
export declare const NotClickable: Story;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { PanelVariant } from '../Panel';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<import("./PanelList").PanelListProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: () => React.JSX.Element;
|
|
10
|
-
description: {
|
|
11
|
-
component: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
variant: PanelVariant.fill;
|
|
17
|
-
};
|
|
18
|
-
argTypes: {
|
|
19
|
-
variant: {
|
|
20
|
-
control: string;
|
|
21
|
-
options: typeof PanelVariant;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export default meta;
|
|
26
|
-
type Story = StoryObj<typeof meta>;
|
|
27
|
-
export declare const Default: Story;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { PopMenuLabelPosition, PopMenuVariant } from './PopMenu';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import("./PopMenu").PopMenuProps>;
|
|
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
|
-
popMenuVariant: PopMenuVariant.onWhite;
|
|
21
|
-
};
|
|
22
|
-
argTypes: {
|
|
23
|
-
popMenuVariant: {
|
|
24
|
-
control: string;
|
|
25
|
-
options: typeof PopMenuVariant;
|
|
26
|
-
};
|
|
27
|
-
labelTextPosition: {
|
|
28
|
-
control: string;
|
|
29
|
-
options: typeof PopMenuLabelPosition;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default meta;
|
|
34
|
-
type Story = StoryObj<typeof meta>;
|
|
35
|
-
export declare const Default: Story;
|
|
36
|
-
export declare const CustomIcon: Story;
|
|
37
|
-
export declare const WithLabel: Story;
|
|
38
|
-
export declare const HorizontalScroll: Story;
|
|
39
|
-
export declare const CenteredOverflow: Story;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
import { PopOverVariant } from './PopOver';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<import("./PopOver").PopOverProps & React.RefAttributes<HTMLDivElement | SVGSVGElement>>;
|
|
7
|
-
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
page: () => React.JSX.Element;
|
|
13
|
-
story: {
|
|
14
|
-
inline: boolean;
|
|
15
|
-
height: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
args: {
|
|
20
|
-
controllerRef: undefined;
|
|
21
|
-
children: string;
|
|
22
|
-
variant: PopOverVariant.positionautomatic;
|
|
23
|
-
};
|
|
24
|
-
argTypes: {
|
|
25
|
-
children: {
|
|
26
|
-
control: string;
|
|
27
|
-
};
|
|
28
|
-
variant: {
|
|
29
|
-
control: string;
|
|
30
|
-
options: typeof PopOverVariant;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export default meta;
|
|
35
|
-
type Story = StoryObj<typeof meta>;
|
|
36
|
-
export declare const Default: Story;
|
|
37
|
-
export declare const Toggle: Story;
|
|
38
|
-
export declare const HorizontalScroll: Story;
|