@simplybusiness/mobius 4.2.2 → 4.2.3
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 +1 -0
- package/dist/cjs/components/Accordion/Accordion.stories.d.ts +10 -13
- package/dist/cjs/components/Accordion/Accordion.stories.js +7 -3
- package/dist/cjs/components/Accordion/Accordion.stories.js.map +1 -1
- package/dist/cjs/components/Alert/Alert.stories.d.ts +7 -17
- package/dist/cjs/components/Alert/Alert.stories.js +2 -1
- package/dist/cjs/components/Alert/Alert.stories.js.map +1 -1
- package/dist/cjs/components/Box/Box.stories.d.ts +7 -16
- package/dist/cjs/components/Box/Box.stories.js +4 -3
- package/dist/cjs/components/Box/Box.stories.js.map +1 -1
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.stories.d.ts +7 -9
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +2 -1
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.stories.js.map +1 -1
- package/dist/cjs/components/Button/Button.stories.d.ts +17 -58
- package/dist/cjs/components/Button/Button.stories.js +4 -3
- package/dist/cjs/components/Button/Button.stories.js.map +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.stories.d.ts +10 -30
- package/dist/cjs/components/Checkbox/Checkbox.stories.js +7 -3
- package/dist/cjs/components/Checkbox/Checkbox.stories.js.map +1 -1
- package/dist/cjs/components/Checkbox/CheckboxGroup.stories.d.ts +9 -24
- package/dist/cjs/components/Checkbox/CheckboxGroup.stories.js +7 -3
- package/dist/cjs/components/Checkbox/CheckboxGroup.stories.js.map +1 -1
- package/dist/cjs/components/Container/Container.stories.d.ts +6 -8
- package/dist/cjs/components/Container/Container.stories.js +2 -1
- package/dist/cjs/components/Container/Container.stories.js.map +1 -1
- package/dist/cjs/components/Divider/Divider.stories.d.ts +6 -11
- package/dist/cjs/components/Divider/Divider.stories.js +6 -1
- package/dist/cjs/components/Divider/Divider.stories.js.map +1 -1
- package/dist/cjs/components/Drawer/Drawer.stories.d.ts +8 -27
- package/dist/cjs/components/Drawer/Drawer.stories.js +10 -9
- package/dist/cjs/components/Drawer/Drawer.stories.js.map +1 -1
- package/dist/cjs/components/DropdownMenu/DropdownMenu.stories.d.ts +6 -19
- package/dist/cjs/components/DropdownMenu/DropdownMenu.stories.js +12 -11
- package/dist/cjs/components/DropdownMenu/DropdownMenu.stories.js.map +1 -1
- package/dist/cjs/components/ErrorMessage/ErrorMessage.stories.d.ts +7 -12
- package/dist/cjs/components/ErrorMessage/ErrorMessage.stories.js +2 -1
- package/dist/cjs/components/ErrorMessage/ErrorMessage.stories.js.map +1 -1
- package/dist/cjs/components/Fieldset/Fieldset.stories.d.ts +7 -10
- package/dist/cjs/components/Fieldset/Fieldset.stories.js +7 -3
- package/dist/cjs/components/Fieldset/Fieldset.stories.js.map +1 -1
- package/dist/cjs/components/Flex/Flex.stories.d.ts +6 -81
- package/dist/cjs/components/Flex/Flex.stories.js +8 -7
- package/dist/cjs/components/Flex/Flex.stories.js.map +1 -1
- package/dist/cjs/components/Grid/Grid.stories.d.ts +7 -82
- package/dist/cjs/components/Grid/Grid.stories.js +19 -19
- package/dist/cjs/components/Grid/Grid.stories.js.map +1 -1
- package/dist/cjs/components/Icon/Icon.stories.d.ts +6 -9
- package/dist/cjs/components/Icon/Icon.stories.js +5 -4
- package/dist/cjs/components/Icon/Icon.stories.js.map +1 -1
- package/dist/cjs/components/Image/Image.stories.d.ts +6 -8
- package/dist/cjs/components/Image/Image.stories.js +3 -2
- package/dist/cjs/components/Image/Image.stories.js.map +1 -1
- package/dist/cjs/components/Label/Label.stories.d.ts +6 -8
- package/dist/cjs/components/Label/Label.stories.js +2 -1
- package/dist/cjs/components/Label/Label.stories.js.map +1 -1
- package/dist/cjs/components/Link/Link.stories.d.ts +7 -38
- package/dist/cjs/components/Link/Link.stories.js +4 -3
- package/dist/cjs/components/Link/Link.stories.js.map +1 -1
- package/dist/cjs/components/LinkButton/LinkButton.stories.d.ts +5 -47
- package/dist/cjs/components/LinkButton/LinkButton.stories.js +4 -3
- package/dist/cjs/components/LinkButton/LinkButton.stories.js.map +1 -1
- package/dist/cjs/components/List/List.stories.d.ts +10 -33
- package/dist/cjs/components/List/List.stories.js +4 -3
- package/dist/cjs/components/List/List.stories.js.map +1 -1
- package/dist/cjs/components/LoadingIndicator/LoadingIndicator.d.ts +2 -6
- package/dist/cjs/components/LoadingIndicator/LoadingIndicator.js.map +1 -1
- package/dist/cjs/components/LoadingIndicator/LoadingIndicator.stories.d.ts +9 -36
- package/dist/cjs/components/LoadingIndicator/LoadingIndicator.stories.js +7 -9
- package/dist/cjs/components/LoadingIndicator/LoadingIndicator.stories.js.map +1 -1
- package/dist/cjs/components/Logo/Logo.stories.d.ts +6 -16
- package/dist/cjs/components/Logo/Logo.stories.js +5 -4
- package/dist/cjs/components/Logo/Logo.stories.js.map +1 -1
- package/dist/cjs/components/Modal/Modal.stories.d.ts +10 -42
- package/dist/cjs/components/Modal/Modal.stories.js +18 -17
- package/dist/cjs/components/Modal/Modal.stories.js.map +1 -1
- package/dist/cjs/components/NumberField/NumberField.stories.d.ts +10 -52
- package/dist/cjs/components/NumberField/NumberField.stories.js +7 -3
- package/dist/cjs/components/NumberField/NumberField.stories.js.map +1 -1
- package/dist/cjs/components/PasswordField/PasswordField.stories.d.ts +6 -30
- package/dist/cjs/components/PasswordField/PasswordField.stories.js +7 -3
- package/dist/cjs/components/PasswordField/PasswordField.stories.js.map +1 -1
- package/dist/cjs/components/Popover/Popover.stories.d.ts +7 -21
- package/dist/cjs/components/Popover/Popover.stories.js +4 -3
- package/dist/cjs/components/Popover/Popover.stories.js.map +1 -1
- package/dist/cjs/components/Progress/Progress.stories.d.ts +9 -56
- package/dist/cjs/components/Progress/Progress.stories.js +8 -4
- package/dist/cjs/components/Progress/Progress.stories.js.map +1 -1
- package/dist/cjs/components/Radio/Radio.stories.d.ts +11 -37
- package/dist/cjs/components/Radio/Radio.stories.js +8 -4
- package/dist/cjs/components/Radio/Radio.stories.js.map +1 -1
- package/dist/cjs/components/Radio/RadioButton.stories.d.ts +10 -23
- package/dist/cjs/components/Radio/RadioButton.stories.js +8 -4
- package/dist/cjs/components/Radio/RadioButton.stories.js.map +1 -1
- package/dist/cjs/components/SVG/SVG.stories.d.ts +6 -8
- package/dist/cjs/components/SVG/SVG.stories.js +3 -2
- package/dist/cjs/components/SVG/SVG.stories.js.map +1 -1
- package/dist/cjs/components/Segment/Segment.stories.d.ts +8 -30
- package/dist/cjs/components/Segment/Segment.stories.js +11 -10
- package/dist/cjs/components/Segment/Segment.stories.js.map +1 -1
- package/dist/cjs/components/Select/Select.stories.d.ts +10 -31
- package/dist/cjs/components/Select/Select.stories.js +6 -1
- package/dist/cjs/components/Select/Select.stories.js.map +1 -1
- package/dist/cjs/components/Slider/Slider.stories.d.ts +10 -13
- package/dist/cjs/components/Slider/Slider.stories.js +7 -3
- package/dist/cjs/components/Slider/Slider.stories.js.map +1 -1
- package/dist/cjs/components/Table/Table.stories.d.ts +6 -8
- package/dist/cjs/components/Table/Table.stories.js +2 -1
- package/dist/cjs/components/Table/Table.stories.js.map +1 -1
- package/dist/cjs/components/Text/Text.stories.d.ts +7 -11
- package/dist/cjs/components/Text/Text.stories.js +4 -3
- package/dist/cjs/components/Text/Text.stories.js.map +1 -1
- package/dist/cjs/components/TextArea/TextArea.stories.d.ts +11 -31
- package/dist/cjs/components/TextArea/TextArea.stories.js +7 -3
- package/dist/cjs/components/TextArea/TextArea.stories.js.map +1 -1
- package/dist/cjs/components/TextField/TextField.stories.d.ts +19 -45
- package/dist/cjs/components/TextField/TextField.stories.js +7 -3
- package/dist/cjs/components/TextField/TextField.stories.js.map +1 -1
- package/dist/cjs/components/Title/Title.stories.d.ts +6 -8
- package/dist/cjs/components/Title/Title.stories.js +2 -1
- package/dist/cjs/components/Title/Title.stories.js.map +1 -1
- package/dist/cjs/components/VisuallyHidden/VisuallyHidden.stories.d.ts +5 -7
- package/dist/cjs/components/VisuallyHidden/VisuallyHidden.stories.js +2 -1
- package/dist/cjs/components/VisuallyHidden/VisuallyHidden.stories.js.map +1 -1
- package/dist/cjs/hooks/useBreakpoint/useBreakpoint.stories.d.ts +6 -9
- package/dist/cjs/hooks/useBreakpoint/useBreakpoint.stories.js +3 -2
- package/dist/cjs/hooks/useBreakpoint/useBreakpoint.stories.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/cjs/utils/StoryContainer.d.ts +1 -0
- package/dist/cjs/utils/StoryContainer.js +11 -0
- package/dist/cjs/utils/StoryContainer.js.map +1 -0
- package/dist/cjs/utils/index.d.ts +8 -0
- package/dist/cjs/utils/index.js +25 -0
- package/dist/cjs/utils/index.js.map +1 -0
- package/dist/esm/components/LoadingIndicator/LoadingIndicator.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/utils/StoryContainer.js +4 -0
- package/dist/esm/utils/StoryContainer.js.map +1 -0
- package/dist/esm/utils/index.js +9 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/mobius.d.ts +1 -6
- package/package.json +2 -2
- package/src/components/Accordion/Accordion.mdx +4 -4
- package/src/components/Accordion/Accordion.stories.tsx +19 -8
- package/src/components/Alert/Alert.mdx +1 -2
- package/src/components/Alert/Alert.stories.tsx +8 -4
- package/src/components/Box/Box.mdx +1 -3
- package/src/components/Box/Box.stories.tsx +9 -5
- package/src/components/Breadcrumbs/Breadcrumbs.mdx +0 -4
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +8 -4
- package/src/components/Button/Button.mdx +0 -2
- package/src/components/Button/Button.stories.tsx +19 -15
- package/src/components/Checkbox/Checkbox.mdx +0 -3
- package/src/components/Checkbox/Checkbox.stories.tsx +19 -8
- package/src/components/Checkbox/CheckboxGroup.mdx +1 -1
- package/src/components/Checkbox/CheckboxGroup.stories.tsx +18 -7
- package/src/components/Container/Container.mdx +0 -1
- package/src/components/Container/Container.stories.tsx +7 -3
- package/src/components/Divider/Divider.mdx +0 -2
- package/src/components/Divider/Divider.stories.tsx +15 -3
- package/src/components/Drawer/Drawer.stories.tsx +21 -17
- package/src/components/DropdownMenu/DropdownMenu.mdx +0 -1
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +26 -18
- package/src/components/ErrorMessage/ErrorMessage.mdx +1 -6
- package/src/components/ErrorMessage/ErrorMessage.stories.tsx +8 -4
- package/src/components/Fieldset/Fieldset.mdx +0 -2
- package/src/components/Fieldset/Fieldset.stories.tsx +16 -5
- package/src/components/Flex/Flex.mdx +0 -1
- package/src/components/Flex/Flex.stories.tsx +28 -24
- package/src/components/Grid/Grid.mdx +0 -2
- package/src/components/Grid/Grid.stories.tsx +44 -41
- package/src/components/Icon/Icon.stories.tsx +10 -6
- package/src/components/Image/Image.mdx +0 -1
- package/src/components/Image/Image.stories.tsx +9 -5
- package/src/components/Label/Label.mdx +0 -1
- package/src/components/Label/Label.stories.tsx +7 -3
- package/src/components/Link/Link.mdx +0 -1
- package/src/components/Link/Link.stories.tsx +9 -5
- package/src/components/LinkButton/LinkButton.mdx +0 -1
- package/src/components/LinkButton/LinkButton.stories.tsx +8 -4
- package/src/components/List/List.mdx +0 -2
- package/src/components/List/List.stories.tsx +12 -8
- package/src/components/LoadingIndicator/LoadingIndicator.mdx +0 -1
- package/src/components/LoadingIndicator/LoadingIndicator.stories.tsx +15 -14
- package/src/components/LoadingIndicator/LoadingIndicator.tsx +5 -8
- package/src/components/Logo/Logo.stories.tsx +9 -5
- package/src/components/Modal/Modal.stories.tsx +38 -34
- package/src/components/NumberField/NumberField.stories.tsx +19 -8
- package/src/components/PasswordField/PasswordField.mdx +0 -3
- package/src/components/PasswordField/PasswordField.stories.tsx +15 -4
- package/src/components/Popover/Popover.stories.tsx +10 -6
- package/src/components/Progress/Progress.mdx +1 -2
- package/src/components/Progress/Progress.stories.tsx +23 -12
- package/src/components/Radio/Radio.mdx +0 -5
- package/src/components/Radio/Radio.stories.tsx +22 -11
- package/src/components/Radio/RadioButton.mdx +0 -5
- package/src/components/Radio/RadioButton.stories.tsx +21 -10
- package/src/components/SVG/SVG.mdx +0 -1
- package/src/components/SVG/SVG.stories.tsx +11 -7
- package/src/components/Segment/Segment.mdx +0 -12
- package/src/components/Segment/Segment.stories.tsx +18 -14
- package/src/components/Select/Select.mdx +0 -4
- package/src/components/Select/Select.stories.tsx +19 -7
- package/src/components/Slider/Slider.mdx +0 -2
- package/src/components/Slider/Slider.stories.tsx +22 -17
- package/src/components/Table/Table.mdx +0 -1
- package/src/components/Table/Table.stories.tsx +8 -4
- package/src/components/Text/Text.mdx +1 -2
- package/src/components/Text/Text.stories.tsx +9 -5
- package/src/components/TextArea/TextArea.mdx +0 -1
- package/src/components/TextArea/TextArea.stories.tsx +20 -9
- package/src/components/TextField/TextField.mdx +0 -3
- package/src/components/TextField/TextField.stories.tsx +28 -17
- package/src/components/Title/Title.mdx +1 -2
- package/src/components/Title/Title.stories.tsx +7 -3
- package/src/components/VisuallyHidden/VisuallyHidden.mdx +1 -3
- package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +7 -3
- package/src/hooks/useBreakpoint/useBreakpoint.stories.tsx +9 -5
- package/src/styles.d.ts +2 -0
- package/src/utils/StoryContainer.module.css +13 -0
- package/src/utils/StoryContainer.tsx +5 -0
- package/src/utils/index.ts +8 -0
|
@@ -1,42 +1,10 @@
|
|
|
1
|
-
import type { Meta } from "@storybook/react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare const
|
|
9
|
-
declare const
|
|
10
|
-
|
|
11
|
-
declare const _default: {
|
|
12
|
-
title: string;
|
|
13
|
-
component: {
|
|
14
|
-
({ isOpen, onClose, children, className, closeLabel, isFullScreen, animation, size, appElement, preventCloseOnEsc, shouldFocusAfterRender, parentSelector, }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
} & {
|
|
17
|
-
Header: import("react").ForwardRefExoticComponent<Omit<import("./Header").HeaderProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
18
|
-
Content: import("react").ForwardRefExoticComponent<Omit<import("./Content").ContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
-
};
|
|
20
|
-
argTypes: {
|
|
21
|
-
animation: {
|
|
22
|
-
options: string[];
|
|
23
|
-
control: {
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
mapping: {
|
|
27
|
-
slideUp: string;
|
|
28
|
-
fade: string;
|
|
29
|
-
neither: undefined;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
args: {
|
|
34
|
-
isFullScreen: boolean;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export default _default;
|
|
38
|
-
export declare const Normal: Meta<typeof Demo>;
|
|
39
|
-
export declare const FullScreen: Meta<typeof FullScreenDemo>;
|
|
40
|
-
export declare const WithAnimation: Meta<typeof WithAnimationDemo>;
|
|
41
|
-
export declare const WithLongContent: Meta<typeof WithLongContentDemo>;
|
|
42
|
-
export declare const WithNested: Meta<typeof WithNestedDemo>;
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Modal } from ".";
|
|
3
|
+
type StoryType = StoryObj<typeof Modal>;
|
|
4
|
+
declare const meta: Meta<typeof Modal>;
|
|
5
|
+
export declare const Normal: StoryType;
|
|
6
|
+
export declare const FullScreen: StoryType;
|
|
7
|
+
export declare const WithAnimation: StoryType;
|
|
8
|
+
export declare const WithLongContent: StoryType;
|
|
9
|
+
export declare const WithNested: StoryType;
|
|
10
|
+
export default meta;
|
|
@@ -4,9 +4,25 @@ exports.WithNested = exports.WithLongContent = exports.WithAnimation = exports.F
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const _1 = require(".");
|
|
7
|
-
const
|
|
7
|
+
const utils_1 = require("../../utils");
|
|
8
8
|
const Button_1 = require("../Button");
|
|
9
9
|
const Text_1 = require("../Text");
|
|
10
|
+
const meta = {
|
|
11
|
+
title: "Components/Modal",
|
|
12
|
+
component: _1.Modal,
|
|
13
|
+
argTypes: Object.assign({ animation: {
|
|
14
|
+
options: ["slideUp", "fade", "neither"],
|
|
15
|
+
control: { type: "radio" },
|
|
16
|
+
mapping: {
|
|
17
|
+
slideUp: "slideUp",
|
|
18
|
+
fade: "fade",
|
|
19
|
+
neither: undefined,
|
|
20
|
+
},
|
|
21
|
+
} }, (0, utils_1.excludeControls)("appElement", "parentSelector", "isOpen", "preventCloseOnEsc", "shouldFocusAfterRender", "size")),
|
|
22
|
+
args: {
|
|
23
|
+
isFullScreen: false,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
10
26
|
const Demo = (props) => {
|
|
11
27
|
const [open, setOpen] = (0, react_1.useState)(false);
|
|
12
28
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: () => setOpen(true), children: "Show Modal" }), (0, jsx_runtime_1.jsxs)(_1.Modal, Object.assign({}, props, { isOpen: open, onClose: () => setOpen(false), children: [(0, jsx_runtime_1.jsx)(_1.Modal.Header, { children: "The Latin Modal" }), (0, jsx_runtime_1.jsx)(_1.Modal.Content, { children: "Aliquam fringilla quam vel purus rhoncus interdum in quis sapien. Sed at eros et lectus mollis posuere. Morbi augue augue, venenatis vel consectetur sed, vulputate et lorem. Integer venenatis nibh molestie commodo lobortis. Phasellus sit amet dignissim nisi. Vivamus nisi augue, scelerisque commodo libero vitae, vulputate interdum ex. Integer non risus sollicitudin, cursus ipsum vitae, rhoncus nulla." })] }))] }));
|
|
@@ -33,22 +49,6 @@ const WithNestedDemo = ({ animation, closeLabel }) => {
|
|
|
33
49
|
const [open, setOpen] = (0, react_1.useState)(false);
|
|
34
50
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: () => setOpen(true), children: "Show Nested Modal" }), (0, jsx_runtime_1.jsxs)(_1.Modal, { isOpen: open, onClose: () => setOpen(false), animation: animation, closeLabel: closeLabel, children: [(0, jsx_runtime_1.jsx)(_1.Modal.Header, { children: "The Latin Modal" }), (0, jsx_runtime_1.jsxs)(_1.Modal.Content, { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { children: "Closing or cancelling the next modal should leave me open." }), (0, jsx_runtime_1.jsx)(ChildModal, {})] })] })] }));
|
|
35
51
|
};
|
|
36
|
-
exports.default = {
|
|
37
|
-
title: "Components/Modal",
|
|
38
|
-
component: _1.Modal,
|
|
39
|
-
argTypes: Object.assign({ animation: {
|
|
40
|
-
options: ["slideUp", "fade", "neither"],
|
|
41
|
-
control: { type: "radio" },
|
|
42
|
-
mapping: {
|
|
43
|
-
slideUp: "slideUp",
|
|
44
|
-
fade: "fade",
|
|
45
|
-
neither: undefined,
|
|
46
|
-
},
|
|
47
|
-
} }, (0, excludeControls_1.excludeControls)("appElement", "parentSelector", "isOpen", "preventCloseOnEsc", "shouldFocusAfterRender", "size")),
|
|
48
|
-
args: {
|
|
49
|
-
isFullScreen: false,
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
52
|
exports.Normal = {
|
|
53
53
|
render: (args) => (0, jsx_runtime_1.jsx)(Demo, Object.assign({}, args)),
|
|
54
54
|
args: {
|
|
@@ -86,4 +86,5 @@ exports.WithNested = {
|
|
|
86
86
|
closeLabel: "Close",
|
|
87
87
|
},
|
|
88
88
|
};
|
|
89
|
+
exports.default = meta;
|
|
89
90
|
//# sourceMappingURL=Modal.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.stories.js","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.stories.tsx"],"names":[],"mappings":";;;;AACA,iCAAiC;AACjC,wBAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"Modal.stories.js","sourceRo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AAM,EAAE,KAAK;QACb,UAAU,EAAE,OAAO;KACpB;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -1,52 +1,10 @@
|
|
|
1
|
-
import type { Meta } from "@storybook/react";
|
|
2
|
-
import { NumberField
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
mapping: {
|
|
13
|
-
valid: string;
|
|
14
|
-
invalid: string;
|
|
15
|
-
neither: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
minValue: {
|
|
19
|
-
control: {
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
};
|
|
23
|
-
min: number;
|
|
24
|
-
max: number;
|
|
25
|
-
step: number;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
maxValue: {
|
|
29
|
-
control: {
|
|
30
|
-
control: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
min: number;
|
|
34
|
-
max: number;
|
|
35
|
-
step: number;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
args: {
|
|
40
|
-
minValue: number;
|
|
41
|
-
maxValue: number;
|
|
42
|
-
placeholder: string;
|
|
43
|
-
isDisabled: boolean;
|
|
44
|
-
isReadOnly: boolean;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export default _default;
|
|
48
|
-
export declare const Normal: Meta<typeof NumberField>;
|
|
49
|
-
export declare const LimitedRange: Meta<typeof NumberField>;
|
|
50
|
-
export declare const Valid: Meta<typeof NumberField>;
|
|
51
|
-
export declare const Invalid: Meta<typeof NumberField>;
|
|
52
|
-
export declare const Disabled: Meta<typeof NumberField>;
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { NumberField } from "./NumberField";
|
|
3
|
+
type StoryType = StoryObj<typeof NumberField>;
|
|
4
|
+
declare const meta: Meta<typeof NumberField>;
|
|
5
|
+
export declare const Normal: StoryType;
|
|
6
|
+
export declare const LimitedRange: StoryType;
|
|
7
|
+
export declare const Valid: StoryType;
|
|
8
|
+
export declare const Invalid: StoryType;
|
|
9
|
+
export declare const Disabled: StoryType;
|
|
10
|
+
export default meta;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Disabled = exports.Invalid = exports.Valid = exports.LimitedRange = exports.Normal = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const NumberField_1 = require("./NumberField");
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const utils_1 = require("../../utils");
|
|
7
|
+
const meta = {
|
|
8
8
|
title: "Forms/NumberField",
|
|
9
9
|
component: NumberField_1.NumberField,
|
|
10
10
|
argTypes: Object.assign({ validationState: {
|
|
@@ -29,7 +29,7 @@ exports.default = {
|
|
|
29
29
|
max: 10,
|
|
30
30
|
step: 1,
|
|
31
31
|
},
|
|
32
|
-
} }, (0,
|
|
32
|
+
} }, (0, utils_1.excludeControls)("value")),
|
|
33
33
|
args: {
|
|
34
34
|
minValue: 0,
|
|
35
35
|
maxValue: 100,
|
|
@@ -37,6 +37,9 @@ exports.default = {
|
|
|
37
37
|
isDisabled: false,
|
|
38
38
|
isReadOnly: false,
|
|
39
39
|
},
|
|
40
|
+
decorators: [
|
|
41
|
+
Story => ((0, jsx_runtime_1.jsx)(utils_1.StoryContainer, { children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
42
|
+
],
|
|
40
43
|
};
|
|
41
44
|
exports.Normal = {
|
|
42
45
|
render: (args) => (0, jsx_runtime_1.jsx)(NumberField_1.NumberField, Object.assign({}, args)),
|
|
@@ -93,4 +96,5 @@ exports.Disabled = {
|
|
|
93
96
|
isRequired: false,
|
|
94
97
|
},
|
|
95
98
|
};
|
|
99
|
+
exports.default = meta;
|
|
96
100
|
//# sourceMappingURL=NumberField.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.stories.js","sourceRoot":"","sources":["../../../../src/components/NumberField/NumberField.stories.tsx"],"names":[],"mappings":";;;;AACA,+CAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"NumberField.stories.js","sourceRoot":"","sources":["../../../../src/components/NumberField/NumberField.stories.tsx"],"names":[],"mappings":";;;;AACA,+CAA8D;AAC9D,uCAA8D;AAI9D,MAAM,IAAI,GAA6B;IACrC,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,yBAAW;IACtB,QAAQ,kBACN,eAAe,EAAE;YACf,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC;YACxC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,OAAO,EAAE;gBACP,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE,SAAS;gBAClB,OAAO,EAAE,EAAE;aACZ;SACF,EACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;gBAC1B,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,EAAE;gBACP,IAAI,EAAE,CAAC;aACR;SACF,EACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;gBAC1B,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,EAAE;gBACP,IAAI,EAAE,CAAC;aACR;SACF,IACE,IAAA,uBAAe,EAAC,OAAO,CAAC,CAC5B;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,CAAC;QACX,QAAQ,EAAE,GAAG;QACb,WAAW,EAAE,EAAE;QACf,UAAU,EAAE,KAAK;QACjB,UAAU,EAAE,KAAK;KAClB;IACD,UAAU,EAAE;QACV,KAAK,CAAC,EAAE,CAAC,CACP,uBAAC,sBAAc,cACb,uBAAC,KAAK,KAAG,GACM,CAClB;KACF;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CAAC,uBAAC,yBAAW,oBAAK,IAAI,EAAI;IAC7D,IAAI,EAAE;QACJ,KAAK,EAAE,cAAc;QACrB,UAAU,EAAE,IAAI;QAChB,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,EAAE;QAChB,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,KAAK;KAClB;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -1,30 +1,6 @@
|
|
|
1
|
-
import type { Meta } from "@storybook/react";
|
|
2
|
-
import { PasswordField
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
validationState: {
|
|
8
|
-
options: string[];
|
|
9
|
-
control: {
|
|
10
|
-
type: string;
|
|
11
|
-
};
|
|
12
|
-
mapping: {
|
|
13
|
-
valid: string;
|
|
14
|
-
invalid: string;
|
|
15
|
-
neither: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
type: {
|
|
19
|
-
control: {
|
|
20
|
-
type: string;
|
|
21
|
-
};
|
|
22
|
-
options: string[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
args: {
|
|
26
|
-
isReadOnly: boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default _default;
|
|
30
|
-
export declare const Normal: Meta<typeof PasswordField>;
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { PasswordField } from "./PasswordField";
|
|
3
|
+
type StoryType = StoryObj<typeof PasswordField>;
|
|
4
|
+
declare const meta: Meta<typeof PasswordField>;
|
|
5
|
+
export declare const Normal: StoryType;
|
|
6
|
+
export default meta;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Normal = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const PasswordField_1 = require("./PasswordField");
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const utils_1 = require("../../utils");
|
|
7
|
+
const meta = {
|
|
8
8
|
title: "Forms/PasswordField",
|
|
9
9
|
component: PasswordField_1.PasswordField,
|
|
10
10
|
argTypes: Object.assign({ validationState: {
|
|
@@ -18,10 +18,13 @@ exports.default = {
|
|
|
18
18
|
}, type: {
|
|
19
19
|
control: { type: "radio" },
|
|
20
20
|
options: ["text", "password"],
|
|
21
|
-
} }, (0,
|
|
21
|
+
} }, (0, utils_1.excludeControls)("description")),
|
|
22
22
|
args: {
|
|
23
23
|
isReadOnly: false,
|
|
24
24
|
},
|
|
25
|
+
decorators: [
|
|
26
|
+
Story => ((0, jsx_runtime_1.jsx)(utils_1.StoryContainer, { children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
27
|
+
],
|
|
25
28
|
};
|
|
26
29
|
exports.Normal = {
|
|
27
30
|
render: (args) => (0, jsx_runtime_1.jsx)(PasswordField_1.PasswordField, Object.assign({}, args)),
|
|
@@ -34,4 +37,5 @@ exports.Normal = {
|
|
|
34
37
|
isRequired: false,
|
|
35
38
|
},
|
|
36
39
|
};
|
|
40
|
+
exports.default = meta;
|
|
37
41
|
//# sourceMappingURL=PasswordField.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordField.stories.js","sourceRoot":"","sources":["../../../../src/components/PasswordField/PasswordField.stories.tsx"],"names":[],"mappings":";;;;AACA,mDAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"PasswordField.stories.js","sourceRoot":"","sources":["../../../../src/components/PasswordField/PasswordField.stories.tsx"],"names":[],"mappings":";;;;AACA,mDAAoE;AACpE,uCAA8D;AAI9D,MAAM,IAAI,GAA+B;IACvC,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,6BAAa;IACxB,QAAQ,kBACN,eAAe,EAAE;YACf,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC;YACxC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,OAAO,EAAE;gBACP,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE,SAAS;gBAClB,OAAO,EAAE,EAAE;aACZ;SACF,EACD,IAAI,EAAE;YACJ,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;SAC9B,IACE,IAAA,uBAAe,EAAC,aAAa,CAAC,CAClC;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,KAAK;KAClB;IACD,UAAU,EAAE;QACV,KAAK,CAAC,EAAE,CAAC,CACP,uBAAC,sBAAc,cACb,uBAAC,KAAK,KAAG,GACM,CAClB;KACF;CACF,CAAC;AAEW,QAAA,MAAM,GAAc;IAC/B,MAAM,EAAE,CAAC,IAAwB,EAAE,EAAE,CAAC,uBAAC,6BAAa,oBAAK,IAAI,EAAI;IACjE,IAAI,EAAE;QACJ,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,EAAE;QACf,UAAU,EAAE,KAAK;QACjB,YAAY,EAAE,EAAE;QAChB,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,KAAK;KAClB;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
import type { Meta } from "@storybook/react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
9
|
-
children?: import("react").ReactNode;
|
|
10
|
-
trigger: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
11
|
-
onOpen?: (() => void) | undefined;
|
|
12
|
-
onClose?: (() => void) | undefined;
|
|
13
|
-
className?: string | undefined;
|
|
14
|
-
id?: string | undefined;
|
|
15
|
-
ref?: Ref<HTMLDivElement> | undefined;
|
|
16
|
-
key?: import("react").Key | null | undefined;
|
|
17
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|
|
20
|
-
export declare const Normal: Meta<typeof Popover>;
|
|
21
|
-
export declare const CustomTrigger: Meta<typeof Popover>;
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Popover } from "..";
|
|
3
|
+
type StoryType = StoryObj<typeof Popover>;
|
|
4
|
+
declare const meta: Meta<typeof Popover>;
|
|
5
|
+
export declare const Normal: StoryType;
|
|
6
|
+
export declare const CustomTrigger: StoryType;
|
|
7
|
+
export default meta;
|
|
@@ -4,11 +4,11 @@ exports.CustomTrigger = exports.Normal = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const __1 = require("..");
|
|
7
|
-
const
|
|
8
|
-
|
|
7
|
+
const utils_1 = require("../../utils");
|
|
8
|
+
const meta = {
|
|
9
9
|
title: "Components/Popover",
|
|
10
10
|
component: __1.Popover,
|
|
11
|
-
argTypes: Object.assign({}, (0,
|
|
11
|
+
argTypes: Object.assign({}, (0, utils_1.excludeControls)("trigger", "anchor", "children")),
|
|
12
12
|
decorators: [
|
|
13
13
|
Story => {
|
|
14
14
|
// eslint-disable-next-line global-require
|
|
@@ -28,4 +28,5 @@ exports.Normal = {
|
|
|
28
28
|
exports.CustomTrigger = {
|
|
29
29
|
render: () => ((0, jsx_runtime_1.jsx)("div", { className: "popover-example", children: (0, jsx_runtime_1.jsx)(__1.Popover, { trigger: (0, jsx_runtime_1.jsx)(__1.Button, { variant: "ghost", children: (0, jsx_runtime_1.jsxs)(__1.Flex, { children: [(0, jsx_runtime_1.jsx)("span", { children: "Occurrence Limit" }), (0, jsx_runtime_1.jsx)(QuestionIcon, {})] }) }), children: "This is the maximum amount of money you'll get to cover a single incident that occurs during the policy period, regardless of when it's reported." }) })),
|
|
30
30
|
};
|
|
31
|
+
exports.default = meta;
|
|
31
32
|
//# sourceMappingURL=Popover.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.stories.js","sourceRoot":"","sources":["../../../../src/components/Popover/Popover.stories.tsx"],"names":[],"mappings":";;;;AACA,iCAAwC;AACxC,0BAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"Popover.stories.js","sourceRoot":"","sources":["../../../../src/components/Popover/Popover.stories.tsx"],"names":[],"mappings":";;;;AACA,iCAAwC;AACxC,0BAAyD;AACzD,uCAA8C;AAI9C,MAAM,IAAI,GAAyB;IACjC,KAAK,EAAE,oBAAoB;IAC3B,SAAS,EAAE,WAAO;IAClB,QAAQ,oBACH,IAAA,uBAAe,EAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,CAAC,CACpD;IACD,UAAU,EAAE;QACV,KAAK,CAAC,EAAE;YACN,0CAA0C;YAC1C,OAAO,CAAC,4BAA4B,CAAC,CAAC;YAEtC,OAAO,uBAAC,KAAK,KAAG,CAAC;QACnB,CAAC;KACF;CACF,CAAC;AAIF,MAAM,YAAY,GAAG,IAAA,kBAAU,EAC7B,CAAC,KAAwB,EAAE,GAAuB,EAAE,EAAE,CAAC,CACrD,+CACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,GAAG,EAAE,GAAG,IACJ,KAAK,eAET,+BAAG,QAAQ,EAAC,wBAAwB,aAClC,iCACE,CAAC,EAAC,gNAAgN,EAClN,MAAM,EAAC,cAAc,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,EACF,iCACE,CAAC,EAAC,+LAA+L,EACjM,MAAM,EAAC,cAAc,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,EACF,mCAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,QAAQ,EAAC,MAAM,EAAC,cAAc,GAAG,IACvD,EACJ,2CACE,qCAAU,EAAE,EAAC,kBAAkB,YAC7B,iCAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,OAAO,GAAG,GACnC,GACN,KACH,CACP,CACF,CAAC;AAEW,QAAA,MAAM,GAAc;IAC/B,MAAM,EAAE,CAAC,IAAkB,EAAE,EAAE,CAAC,uBAAC,WAAO,oBAAK,IAAI,EAAI;IACrD,IAAI,EAAE;QACJ,QAAQ,EAAE,qHAAgD;QAC1D,OAAO,EAAE,uBAAC,UAAM,IAAC,OAAO,EAAC,SAAS,+CAAwC;KAC3E;CACF,CAAC;AAEW,QAAA,aAAa,GAAc;IACtC,MAAM,EAAE,GAAG,EAAE,CAAC,CACZ,gCAAK,SAAS,EAAC,iBAAiB,YAC9B,uBAAC,WAAO,IACN,OAAO,EACL,uBAAC,UAAM,IAAC,OAAO,EAAC,OAAO,YACrB,wBAAC,QAAI,eACH,gEAA6B,EAC7B,uBAAC,YAAY,KAAG,IACX,GACA,kKAMH,GACN,CACP;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -1,56 +1,9 @@
|
|
|
1
|
-
import type { Meta } from "@storybook/react";
|
|
2
|
-
import { Progress
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type: string;
|
|
11
|
-
};
|
|
12
|
-
min: number;
|
|
13
|
-
max: number;
|
|
14
|
-
step: number;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
minValue: {
|
|
18
|
-
control: {
|
|
19
|
-
control: {
|
|
20
|
-
type: string;
|
|
21
|
-
};
|
|
22
|
-
min: number;
|
|
23
|
-
max: number;
|
|
24
|
-
step: number;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
maxValue: {
|
|
28
|
-
control: {
|
|
29
|
-
control: {
|
|
30
|
-
type: string;
|
|
31
|
-
};
|
|
32
|
-
min: number;
|
|
33
|
-
max: number;
|
|
34
|
-
step: number;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
label: {
|
|
38
|
-
control: {
|
|
39
|
-
control: {
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
variant: {
|
|
45
|
-
control: {
|
|
46
|
-
type: string;
|
|
47
|
-
};
|
|
48
|
-
options: string[];
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
export default _default;
|
|
53
|
-
export declare const Primary: Meta<typeof Progress>;
|
|
54
|
-
export declare const Secondary: Meta<typeof Progress>;
|
|
55
|
-
export declare const NoVisibleLabel: Meta<typeof Progress>;
|
|
56
|
-
export declare const CustomValueFormat: Meta<typeof Progress>;
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Progress } from "./Progress";
|
|
3
|
+
type StoryType = StoryObj<typeof Progress>;
|
|
4
|
+
declare const meta: Meta<typeof Progress>;
|
|
5
|
+
export declare const Primary: StoryType;
|
|
6
|
+
export declare const Secondary: StoryType;
|
|
7
|
+
export declare const NoVisibleLabel: StoryType;
|
|
8
|
+
export declare const CustomValueFormat: StoryType;
|
|
9
|
+
export default meta;
|
|
@@ -3,9 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CustomValueFormat = exports.NoVisibleLabel = exports.Secondary = exports.Primary = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const Progress_1 = require("./Progress");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
exports.default = {
|
|
6
|
+
const utils_1 = require("../../utils");
|
|
7
|
+
const meta = {
|
|
9
8
|
title: "Components/Progress",
|
|
10
9
|
component: Progress_1.Progress,
|
|
11
10
|
argTypes: Object.assign({ value: {
|
|
@@ -36,8 +35,12 @@ exports.default = {
|
|
|
36
35
|
}, variant: {
|
|
37
36
|
control: { type: "radio" },
|
|
38
37
|
options: ["primary", "secondary"],
|
|
39
|
-
} }, (0,
|
|
38
|
+
} }, (0, utils_1.excludeControls)("valueFormatter")),
|
|
39
|
+
decorators: [
|
|
40
|
+
Story => ((0, jsx_runtime_1.jsx)(utils_1.StoryContainer, { children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
41
|
+
],
|
|
40
42
|
};
|
|
43
|
+
const customValueFormatter = (value, minValue, maxValue) => `Step ${value} of ${maxValue}`;
|
|
41
44
|
exports.Primary = {
|
|
42
45
|
render: (args) => (0, jsx_runtime_1.jsx)(Progress_1.Progress, Object.assign({}, args)),
|
|
43
46
|
args: {
|
|
@@ -89,4 +92,5 @@ exports.CustomValueFormat = {
|
|
|
89
92
|
valueFormatter: customValueFormatter,
|
|
90
93
|
},
|
|
91
94
|
};
|
|
95
|
+
exports.default = meta;
|
|
92
96
|
//# sourceMappingURL=Progress.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.stories.js","sourceRoot":"","sources":["../../../../src/components/Progress/Progress.stories.tsx"],"names":[],"mappings":";;;;AACA,yCAAqD;AACrD,
|
|
1
|
+
{"version":3,"file":"Progress.stories.js","sourceRoot":"","sources":["../../../../src/components/Progress/Progress.stories.tsx"],"names":[],"mappings":";;;;AACA,yCAAqD;AACrD,uCAA8D;AAI9D,MAAM,IAAI,GAA0B;IAClC,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,mBAAQ;IACnB,QAAQ,kBACN,KAAK,EAAE;YACL,OAAO,EAAE;gBACP,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;gBAC1B,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,EAAE;gBACP,IAAI,EAAE,CAAC;aACR;SACF,EACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;gBAC1B,GAAG,EAAE,CAAC;g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ClB,OAAO,EAAE,WAAW;QACpB,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEW,QAAA,cAAc,GAAc;IACvC,MAAM,EAAE,CAAC,IAAmB,EAAE,EAAE,CAAC,uBAAC,mBAAQ,oBAAK,IAAI,EAAI;IACvD,IAAI,EAAE;QACJ,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,CAAC;QACX,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,EAAE;QACT,OAAO,EAAE,SAAS;QAClB,YAAY,EAAE,UAAU;QACxB,cAAc,EAAE,IAAI;KACrB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,YAAY,CAAC;SACxB;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAc;IAC1C,MAAM,EAAE,CAAC,IAAmB,EAAE,EAAE,CAAC,uBAAC,mBAAQ,oBAAK,IAAI,EAAI;IACvD,IAAI,EAAE;QACJ,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,CAAC;QACX,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,SAAS;QAClB,cAAc,EAAE,IAAI;QACpB,cAAc,EAAE,oBAAoB;KACrC;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -1,38 +1,12 @@
|
|
|
1
|
-
import type { Meta } from "@storybook/react";
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { RadioGroup } from "./RadioGroup";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
valid: string;
|
|
14
|
-
invalid: string;
|
|
15
|
-
neither: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
orientation: {
|
|
19
|
-
control: {
|
|
20
|
-
type: string;
|
|
21
|
-
};
|
|
22
|
-
options: string[];
|
|
23
|
-
};
|
|
24
|
-
label: {
|
|
25
|
-
control: {
|
|
26
|
-
type: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export default _default;
|
|
32
|
-
export declare const Normal: Meta<typeof RadioGroup>;
|
|
33
|
-
export declare const Disabled: Meta<typeof RadioGroup>;
|
|
34
|
-
export declare const DisabledIndividualRadios: Meta<typeof RadioGroup>;
|
|
35
|
-
export declare const Valid: Meta<typeof RadioGroup>;
|
|
36
|
-
export declare const Invalid: Meta<typeof RadioGroup>;
|
|
37
|
-
export declare const ComplexLabel: Meta<typeof RadioGroup>;
|
|
38
|
-
export declare const HorizontalLayout: Meta<typeof RadioGroup>;
|
|
3
|
+
type StoryType = StoryObj<typeof RadioGroup>;
|
|
4
|
+
declare const meta: Meta<typeof RadioGroup>;
|
|
5
|
+
export declare const Normal: StoryType;
|
|
6
|
+
export declare const Disabled: StoryType;
|
|
7
|
+
export declare const DisabledIndividualRadios: StoryType;
|
|
8
|
+
export declare const Valid: StoryType;
|
|
9
|
+
export declare const Invalid: StoryType;
|
|
10
|
+
export declare const ComplexLabel: StoryType;
|
|
11
|
+
export declare const HorizontalLayout: StoryType;
|
|
12
|
+
export default meta;
|
|
@@ -6,10 +6,10 @@ const Radio_1 = require("./Radio");
|
|
|
6
6
|
const RadioGroup_1 = require("./RadioGroup");
|
|
7
7
|
const Flex_1 = require("../Flex");
|
|
8
8
|
const Divider_1 = require("../Divider");
|
|
9
|
-
const
|
|
10
|
-
|
|
9
|
+
const utils_1 = require("../../utils");
|
|
10
|
+
const meta = {
|
|
11
11
|
title: "Forms/Radio",
|
|
12
|
-
component:
|
|
12
|
+
component: RadioGroup_1.RadioGroup,
|
|
13
13
|
argTypes: Object.assign({ validationState: {
|
|
14
14
|
options: ["valid", "invalid", "neither"],
|
|
15
15
|
control: { type: "radio" },
|
|
@@ -23,7 +23,10 @@ exports.default = {
|
|
|
23
23
|
options: ["horizontal", "vertical"],
|
|
24
24
|
}, label: {
|
|
25
25
|
control: { type: "text" },
|
|
26
|
-
} }, (0,
|
|
26
|
+
} }, (0, utils_1.excludeControls)("name", "groupDisabled", "selected", "setSelected", "defaultValue", "value")),
|
|
27
|
+
decorators: [
|
|
28
|
+
Story => ((0, jsx_runtime_1.jsx)(utils_1.StoryContainer, { children: (0, jsx_runtime_1.jsx)(Story, {}) })),
|
|
29
|
+
],
|
|
27
30
|
};
|
|
28
31
|
exports.Normal = {
|
|
29
32
|
render: (args) => ((0, jsx_runtime_1.jsxs)(RadioGroup_1.RadioGroup, Object.assign({}, args, { children: [(0, jsx_runtime_1.jsx)(Radio_1.Radio, { value: "red", label: "Red" }), (0, jsx_runtime_1.jsx)(Radio_1.Radio, { value: "blue", label: "Blue" })] }))),
|
|
@@ -115,4 +118,5 @@ exports.HorizontalLayout = {
|
|
|
115
118
|
orientation: "horizontal",
|
|
116
119
|
},
|
|
117
120
|
};
|
|
121
|
+
exports.default = meta;
|
|
118
122
|
//# sourceMappingURL=Radio.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.stories.js","sourceRoot":"","sources":["../../../../src/components/Radio/Radio.stories.tsx"],"names":[],"mappings":";;;;AACA,mCAAgC;AAChC,6CAA2D;AAC3D,kCAA+B;AAC/B,wCAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"Radio.stories.js","sourceRoot":"","sources":["../../../../src/components/Radio/Radio.stories.tsx"],"names":[],"mappings":";;;;AACA,mCAAgC;AAChC,6CAA2D;AAC3D,kCAA+B;AAC/B,wCAAqC;AACrC,uCAA8D;AAI9D,MAAM,IAAI,GAA4B;IACpC,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,uBAAU;IACrB,QAAQ,kBACN,eAAe,EAAE;YACf,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC;YACxC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,OAAO,EAAE;gBACP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