@cruk/cruk-react-components 2.0.1 → 3.1.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/lib/components/AddressLookup/AddressLookUp.test.cypress.d.ts +1 -1
- package/lib/components/AddressLookup/AddressLookup.stories.d.ts +37 -7
- package/lib/components/AddressLookup/index.d.ts +65 -61
- package/lib/components/AddressLookup/styles.d.ts +14 -14
- package/lib/components/Avatar/Avatar.stories.d.ts +33 -20
- package/lib/components/Avatar/Avatar.test.cypress.d.ts +1 -1
- package/lib/components/Avatar/index.d.ts +15 -15
- package/lib/components/Avatar/styles.d.ts +7 -7
- package/lib/components/Badge/Badge.stories.d.ts +27 -16
- package/lib/components/Badge/Badge.test.cypress.d.ts +1 -1
- package/lib/components/Badge/index.d.ts +28 -28
- package/lib/components/Badge/styles.d.ts +11 -11
- package/lib/components/Box/Box.stories.d.ts +20 -13
- package/lib/components/Box/Box.test.cypress.d.ts +1 -1
- package/lib/components/Box/index.d.ts +17 -17
- package/lib/components/Box/styles.d.ts +8 -8
- package/lib/components/Button/Button.stories.d.ts +39 -15
- package/lib/components/Button/Button.test.cypress.d.ts +1 -1
- package/lib/components/Button/index.d.ts +46 -46
- package/lib/components/Button/styles.d.ts +15 -13
- package/lib/components/Carousel/Carousel.stories.d.ts +15 -7
- package/lib/components/Carousel/Carousel.test.cypress.d.ts +1 -1
- package/lib/components/Carousel/Dots.d.ts +12 -12
- package/lib/components/Carousel/index.d.ts +20 -20
- package/lib/components/Carousel/styles.d.ts +33 -33
- package/lib/components/Checkbox/CheckBox.test.cypress.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.stories.d.ts +26 -8
- package/lib/components/Checkbox/index.d.ts +23 -23
- package/lib/components/Checkbox/styles.d.ts +16 -13
- package/lib/components/Collapse/Collapse.stories.d.ts +24 -13
- package/lib/components/Collapse/Collapse.test.cypress.d.ts +1 -1
- package/lib/components/Collapse/index.d.ts +29 -29
- package/lib/components/Collapse/styles.d.ts +26 -26
- package/lib/components/DateField/DateField.stories.d.ts +30 -10
- package/lib/components/DateField/DateField.test.cypress.d.ts +1 -1
- package/lib/components/DateField/index.d.ts +32 -32
- package/lib/components/DateField/styles.d.ts +9 -4
- package/lib/components/Divider.d.ts +6 -6
- package/lib/components/ErrorText/ErrorText.stories.d.ts +16 -7
- package/lib/components/ErrorText/ErrorText.test.cypress.d.ts +1 -1
- package/lib/components/ErrorText/index.d.ts +13 -13
- package/lib/components/ErrorText/styles.d.ts +7 -3
- package/lib/components/Flex.d.ts +3 -3
- package/lib/components/Fontface.d.ts +2 -2
- package/lib/components/Footer/Footer.stories.d.ts +14 -7
- package/lib/components/Footer/Footer.test.cypress.d.ts +1 -1
- package/lib/components/Footer/index.d.ts +11 -11
- package/lib/components/Footer/styles.d.ts +16 -11
- package/lib/components/GlobalStyle.d.ts +9 -9
- package/lib/components/GlobalStyleNoFontFace.d.ts +9 -9
- package/lib/components/Header/Header.stories.d.ts +21 -7
- package/lib/components/Header/Header.test.cypress.d.ts +1 -1
- package/lib/components/Header/index.d.ts +37 -37
- package/lib/components/Header/styles.d.ts +37 -31
- package/lib/components/Heading/Heading.stories.d.ts +32 -25
- package/lib/components/Heading/Heading.test.cypress.d.ts +1 -1
- package/lib/components/Heading/index.d.ts +32 -32
- package/lib/components/Heading/styles.d.ts +50 -50
- package/lib/components/Icon/Icon.stories.d.ts +16 -6
- package/lib/components/Icon/Icon.test.cypress.d.ts +1 -1
- package/lib/components/Icon/iconList.d.ts +268 -268
- package/lib/components/Icon/index.d.ts +23 -23
- package/lib/components/Icon/styles.d.ts +5 -5
- package/lib/components/IconFa/IconFa.stories.d.ts +17 -7
- package/lib/components/IconFa/IconFa.test.cypress.d.ts +1 -1
- package/lib/components/IconFa/index.d.ts +17 -17
- package/lib/components/IconFa/styles.d.ts +5 -5
- package/lib/components/InfoBox/InfoBox.stories.d.ts +22 -9
- package/lib/components/InfoBox/InfoBox.test.cypress.d.ts +1 -1
- package/lib/components/InfoBox/index.d.ts +27 -27
- package/lib/components/InfoBox/styles.d.ts +14 -14
- package/lib/components/LabelWrapper/index.d.ts +19 -19
- package/lib/components/LabelWrapper/styles.d.ts +6 -6
- package/lib/components/LegendWrapper/LegendWrapper.stories.d.ts +22 -11
- package/lib/components/LegendWrapper/LegendWrapper.test.cypress.d.ts +1 -1
- package/lib/components/LegendWrapper/index.d.ts +22 -22
- package/lib/components/LegendWrapper/styles.d.ts +12 -12
- package/lib/components/Link/Link.stories.d.ts +33 -14
- package/lib/components/Link/Link.test.cypress.d.ts +1 -1
- package/lib/components/Link/index.d.ts +37 -37
- package/lib/components/Link/styles.d.ts +22 -18
- package/lib/components/Loader/Loader.stories.d.ts +14 -6
- package/lib/components/Loader/Loader.test.cypress.d.ts +1 -1
- package/lib/components/Loader/index.d.ts +7 -7
- package/lib/components/Loader/styles.d.ts +7 -2
- package/lib/components/Modal/Modal.stories.d.ts +14 -7
- package/lib/components/Modal/Modal.test.cypress.d.ts +1 -1
- package/lib/components/Modal/index.d.ts +32 -32
- package/lib/components/Modal/styles.d.ts +27 -24
- package/lib/components/Pagination/Pagination.stories.d.ts +21 -8
- package/lib/components/Pagination/Pagination.test.cypress.d.ts +1 -1
- package/lib/components/Pagination/index.d.ts +24 -24
- package/lib/components/Pagination/styles.d.ts +14 -10
- package/lib/components/PopOver/PopOver.test.cypress.d.ts +1 -1
- package/lib/components/PopOver/Popover.stories.d.ts +19 -7
- package/lib/components/PopOver/index.d.ts +26 -24
- package/lib/components/PopOver/styles.d.ts +11 -10
- package/lib/components/ProgressBar/ProgressBar.stories.d.ts +20 -10
- package/lib/components/ProgressBar/ProgressBar.test.cypress.d.ts +1 -1
- package/lib/components/ProgressBar/index.d.ts +24 -24
- package/lib/components/ProgressBar/styles.d.ts +30 -30
- package/lib/components/Radio/Radio.stories.d.ts +28 -8
- package/lib/components/Radio/Radio.test.cypress.d.ts +1 -1
- package/lib/components/Radio/index.d.ts +23 -23
- package/lib/components/Radio/styles.d.ts +21 -19
- package/lib/components/RadioConsent/Radio.stories.d.ts +21 -7
- package/lib/components/RadioConsent/RadioConsent.test.cypress.d.ts +1 -1
- package/lib/components/RadioConsent/index.d.ts +24 -24
- package/lib/components/RadioConsent/styles.d.ts +16 -16
- package/lib/components/Select/Select.test.cypress.d.ts +1 -1
- package/lib/components/Select/Selelct.stories.d.ts +24 -10
- package/lib/components/Select/index.d.ts +21 -21
- package/lib/components/Select/styles.d.ts +9 -9
- package/lib/components/Spacing/index.d.ts +19 -19
- package/lib/components/Step/Step.stories.d.ts +17 -7
- package/lib/components/Step/Step.test.cypress.d.ts +1 -1
- package/lib/components/Step/index.d.ts +15 -15
- package/lib/components/Step/styles.d.ts +17 -13
- package/lib/components/TestWrapper.d.ts +12 -12
- package/lib/components/Text/Text.stories.d.ts +17 -7
- package/lib/components/Text/Text.test.cypress.d.ts +1 -1
- package/lib/components/Text/index.d.ts +26 -26
- package/lib/components/Text/styles.d.ts +22 -22
- package/lib/components/TextAreaField/TextAreaField.stories.d.ts +29 -10
- package/lib/components/TextAreaField/TextAreaField.test.cypress.d.ts +1 -1
- package/lib/components/TextAreaField/index.d.ts +22 -22
- package/lib/components/TextAreaField/styles.d.ts +10 -10
- package/lib/components/TextField/TextField.stories.d.ts +27 -12
- package/lib/components/TextField/TextField.test.cypress.d.ts +1 -1
- package/lib/components/TextField/index.d.ts +34 -34
- package/lib/components/TextField/styles.d.ts +18 -18
- package/lib/components/ThemeCheatSheet.d.ts +7 -7
- package/lib/components/Totaliser/Totaliser.stories.d.ts +28 -19
- package/lib/components/Totaliser/Totaliser.test.cypress.d.ts +1 -1
- package/lib/components/Totaliser/index.d.ts +22 -22
- package/lib/components/Totaliser/styles.d.ts +20 -16
- package/lib/components/UserBlock/UserBlock.stories.d.ts +24 -16
- package/lib/components/UserBlock/UserBlock.test.cypress.d.ts +1 -1
- package/lib/components/UserBlock/index.d.ts +18 -18
- package/lib/components/UserBlock/styles.d.ts +9 -4
- package/lib/components/index.d.ts +73 -73
- package/lib/docs/Docs.d.ts +3 -2
- package/lib/docs/index.d.ts +1 -1
- package/lib/es/{node_modules/tslib/tslib.es6.js → _virtual/_tslib.js} +1 -1
- package/lib/es/_virtual/_tslib.js.map +1 -0
- package/lib/es/node_modules/focus-lock/dist/es2015/index.js +1 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/index.js.map +1 -1
- package/lib/es/node_modules/focus-lock/dist/es2015/utils/safe.js.map +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Combination.js +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Combination.js.map +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Lock.js.map +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/Trap.js.map +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/index.js +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/medium.js +1 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/medium.js.map +1 -1
- package/lib/es/node_modules/use-sidecar/dist/es2015/medium.js +1 -1
- package/lib/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
- package/lib/es/src/components/AddressLookup/README.md.js +1 -1
- package/lib/es/src/components/AddressLookup/README.md.js.map +1 -1
- package/lib/es/src/components/AddressLookup/index.js +1 -1
- package/lib/es/src/components/AddressLookup/styles.js +1 -1
- package/lib/es/src/components/Avatar/index.js +1 -1
- package/lib/es/src/components/Avatar/styles.js +1 -1
- package/lib/es/src/components/Badge/index.js +1 -1
- package/lib/es/src/components/Badge/styles.js +1 -1
- package/lib/es/src/components/Box/index.js +1 -1
- package/lib/es/src/components/Box/styles.js +1 -1
- package/lib/es/src/components/Button/index.js +1 -1
- package/lib/es/src/components/Button/styles.js +1 -1
- package/lib/es/src/components/Carousel/Dots.js +1 -1
- package/lib/es/src/components/Carousel/styles.js +1 -1
- package/lib/es/src/components/Checkbox/index.js +1 -1
- package/lib/es/src/components/Checkbox/styles.js +1 -1
- package/lib/es/src/components/Collapse/index.js +1 -1
- package/lib/es/src/components/Collapse/styles.js +1 -1
- package/lib/es/src/components/DateField/styles.js +1 -1
- package/lib/es/src/components/Divider.js +1 -1
- package/lib/es/src/components/ErrorText/index.js +1 -1
- package/lib/es/src/components/ErrorText/styles.js +1 -1
- package/lib/es/src/components/Flex.js +1 -1
- package/lib/es/src/components/Footer/index.js +1 -1
- package/lib/es/src/components/Footer/styles.js +1 -1
- package/lib/es/src/components/GlobalStyle.js +1 -1
- package/lib/es/src/components/GlobalStyleNoFontFace.js +1 -1
- package/lib/es/src/components/Header/index.js +1 -1
- package/lib/es/src/components/Header/styles.js +1 -1
- package/lib/es/src/components/Heading/index.js +1 -1
- package/lib/es/src/components/Heading/styles.js +1 -1
- package/lib/es/src/components/Icon/index.js +1 -1
- package/lib/es/src/components/Icon/styles.js +1 -1
- package/lib/es/src/components/IconFa/index.js +1 -1
- package/lib/es/src/components/IconFa/styles.js +1 -1
- package/lib/es/src/components/InfoBox/index.js +1 -1
- package/lib/es/src/components/InfoBox/styles.js +1 -1
- package/lib/es/src/components/LabelWrapper/index.js +1 -1
- package/lib/es/src/components/LabelWrapper/styles.js +1 -1
- package/lib/es/src/components/LegendWrapper/index.js +1 -1
- package/lib/es/src/components/LegendWrapper/styles.js +1 -1
- package/lib/es/src/components/Link/index.js +1 -1
- package/lib/es/src/components/Link/styles.js +1 -1
- package/lib/es/src/components/Loader/index.js +1 -1
- package/lib/es/src/components/Loader/styles.js +1 -1
- package/lib/es/src/components/Modal/index.js +1 -1
- package/lib/es/src/components/Modal/styles.js +1 -1
- package/lib/es/src/components/Pagination/index.js +1 -1
- package/lib/es/src/components/Pagination/styles.js +1 -1
- package/lib/es/src/components/PopOver/README.md.js +1 -1
- package/lib/es/src/components/PopOver/README.md.js.map +1 -1
- package/lib/es/src/components/PopOver/index.js +1 -1
- package/lib/es/src/components/PopOver/styles.js +1 -1
- package/lib/es/src/components/ProgressBar/index.js +1 -1
- package/lib/es/src/components/ProgressBar/styles.js +1 -1
- package/lib/es/src/components/Radio/index.js +1 -1
- package/lib/es/src/components/Radio/styles.js +1 -1
- package/lib/es/src/components/RadioConsent/index.js +1 -1
- package/lib/es/src/components/RadioConsent/styles.js +1 -1
- package/lib/es/src/components/Select/index.js +1 -1
- package/lib/es/src/components/Select/styles.js +1 -1
- package/lib/es/src/components/Step/index.js +1 -1
- package/lib/es/src/components/Step/styles.js +1 -1
- package/lib/es/src/components/Text/index.js +1 -1
- package/lib/es/src/components/Text/styles.js +1 -1
- package/lib/es/src/components/TextAreaField/index.js +1 -1
- package/lib/es/src/components/TextAreaField/styles.js +1 -1
- package/lib/es/src/components/TextField/index.js +1 -1
- package/lib/es/src/components/TextField/styles.js +1 -1
- package/lib/es/src/components/Totaliser/index.js +1 -1
- package/lib/es/src/components/Totaliser/styles.js +1 -1
- package/lib/es/src/components/UserBlock/index.js +1 -1
- package/lib/es/src/components/UserBlock/styles.js +1 -1
- package/lib/es/src/themes/bowelbabe.js +1 -1
- package/lib/es/src/themes/su2c.js +1 -1
- package/lib/es/src/utils/Helper.js +1 -1
- package/lib/hocs/MdxProvider.d.ts +7 -6
- package/lib/hooks/useEffectBrowser.d.ts +3 -3
- package/lib/hooks/useKey.d.ts +6 -6
- package/lib/hooks/useLayoutEffectBrowser.d.ts +4 -4
- package/lib/hooks/useScrollPosition.d.ts +13 -13
- package/lib/themes/bowelbabe.d.ts +13 -13
- package/lib/themes/cruk.d.ts +13 -13
- package/lib/themes/su2c.d.ts +13 -13
- package/lib/types.d.ts +232 -232
- package/lib/utils/Helper.d.ts +7 -6
- package/lib/utils/__tests__/testHelpers.jest.d.ts +1 -1
- package/lib/utils/debounce.d.ts +2 -2
- package/package.json +22 -16
- package/lib/es/node_modules/detect-node-es/esm/node.js +0 -2
- package/lib/es/node_modules/detect-node-es/esm/node.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/AutoFocusInside.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/FreeFocusInside.js.map +0 -1
- package/lib/es/node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js +0 -2
- package/lib/es/node_modules/react-focus-lock/dist/es2015/MoveFocusInside.js.map +0 -1
- package/lib/es/node_modules/tslib/tslib.es6.js.map +0 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { SpacingProps } from "../Spacing";
|
|
2
|
-
import { ThemeType, FontSizeType, WordBreakType } from "../../types";
|
|
3
|
-
export declare const H1: import("styled-components").StyledComponent<"h1", any, SpacingProps & {
|
|
4
|
-
theme: ThemeType;
|
|
5
|
-
textSize?: FontSizeType | undefined;
|
|
6
|
-
textAlign?: "left" | "right" | "center" | undefined;
|
|
7
|
-
textColor?: string | undefined;
|
|
8
|
-
wordBreak?: WordBreakType | undefined;
|
|
9
|
-
overflowWrap?: WordBreakType | undefined;
|
|
10
|
-
}, never>;
|
|
11
|
-
export declare const H2: import("styled-components").StyledComponent<"h2", any, SpacingProps & {
|
|
12
|
-
theme: ThemeType;
|
|
13
|
-
textSize?: FontSizeType | undefined;
|
|
14
|
-
textAlign?: "left" | "right" | "center" | undefined;
|
|
15
|
-
textColor?: string | undefined;
|
|
16
|
-
wordBreak?: WordBreakType | undefined;
|
|
17
|
-
overflowWrap?: WordBreakType | undefined;
|
|
18
|
-
}, never>;
|
|
19
|
-
export declare const H3: import("styled-components").StyledComponent<"h3", any, SpacingProps & {
|
|
20
|
-
theme: ThemeType;
|
|
21
|
-
textSize?: FontSizeType | undefined;
|
|
22
|
-
textAlign?: "left" | "right" | "center" | undefined;
|
|
23
|
-
textColor?: string | undefined;
|
|
24
|
-
wordBreak?: WordBreakType | undefined;
|
|
25
|
-
overflowWrap?: WordBreakType | undefined;
|
|
26
|
-
}, never>;
|
|
27
|
-
export declare const H4: import("styled-components").StyledComponent<"h4", any, SpacingProps & {
|
|
28
|
-
theme: ThemeType;
|
|
29
|
-
textSize?: FontSizeType | undefined;
|
|
30
|
-
textAlign?: "left" | "right" | "center" | undefined;
|
|
31
|
-
textColor?: string | undefined;
|
|
32
|
-
wordBreak?: WordBreakType | undefined;
|
|
33
|
-
overflowWrap?: WordBreakType | undefined;
|
|
34
|
-
}, never>;
|
|
35
|
-
export declare const H5: import("styled-components").StyledComponent<"h5", any, SpacingProps & {
|
|
36
|
-
theme: ThemeType;
|
|
37
|
-
textSize?: FontSizeType | undefined;
|
|
38
|
-
textAlign?: "left" | "right" | "center" | undefined;
|
|
39
|
-
textColor?: string | undefined;
|
|
40
|
-
wordBreak?: WordBreakType | undefined;
|
|
41
|
-
overflowWrap?: WordBreakType | undefined;
|
|
42
|
-
}, never>;
|
|
43
|
-
export declare const H6: import("styled-components").StyledComponent<"h6", any, SpacingProps & {
|
|
44
|
-
theme: ThemeType;
|
|
45
|
-
textSize?: FontSizeType | undefined;
|
|
46
|
-
textAlign?: "left" | "right" | "center" | undefined;
|
|
47
|
-
textColor?: string | undefined;
|
|
48
|
-
wordBreak?: WordBreakType | undefined;
|
|
49
|
-
overflowWrap?: WordBreakType | undefined;
|
|
50
|
-
}, never>;
|
|
1
|
+
import { SpacingProps } from "../Spacing";
|
|
2
|
+
import { ThemeType, FontSizeType, WordBreakType } from "../../types";
|
|
3
|
+
export declare const H1: import("styled-components").StyledComponent<"h1", any, SpacingProps & {
|
|
4
|
+
theme: ThemeType;
|
|
5
|
+
textSize?: FontSizeType | undefined;
|
|
6
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
7
|
+
textColor?: string | undefined;
|
|
8
|
+
wordBreak?: WordBreakType | undefined;
|
|
9
|
+
overflowWrap?: WordBreakType | undefined;
|
|
10
|
+
}, never>;
|
|
11
|
+
export declare const H2: import("styled-components").StyledComponent<"h2", any, SpacingProps & {
|
|
12
|
+
theme: ThemeType;
|
|
13
|
+
textSize?: FontSizeType | undefined;
|
|
14
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
15
|
+
textColor?: string | undefined;
|
|
16
|
+
wordBreak?: WordBreakType | undefined;
|
|
17
|
+
overflowWrap?: WordBreakType | undefined;
|
|
18
|
+
}, never>;
|
|
19
|
+
export declare const H3: import("styled-components").StyledComponent<"h3", any, SpacingProps & {
|
|
20
|
+
theme: ThemeType;
|
|
21
|
+
textSize?: FontSizeType | undefined;
|
|
22
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
23
|
+
textColor?: string | undefined;
|
|
24
|
+
wordBreak?: WordBreakType | undefined;
|
|
25
|
+
overflowWrap?: WordBreakType | undefined;
|
|
26
|
+
}, never>;
|
|
27
|
+
export declare const H4: import("styled-components").StyledComponent<"h4", any, SpacingProps & {
|
|
28
|
+
theme: ThemeType;
|
|
29
|
+
textSize?: FontSizeType | undefined;
|
|
30
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
31
|
+
textColor?: string | undefined;
|
|
32
|
+
wordBreak?: WordBreakType | undefined;
|
|
33
|
+
overflowWrap?: WordBreakType | undefined;
|
|
34
|
+
}, never>;
|
|
35
|
+
export declare const H5: import("styled-components").StyledComponent<"h5", any, SpacingProps & {
|
|
36
|
+
theme: ThemeType;
|
|
37
|
+
textSize?: FontSizeType | undefined;
|
|
38
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
39
|
+
textColor?: string | undefined;
|
|
40
|
+
wordBreak?: WordBreakType | undefined;
|
|
41
|
+
overflowWrap?: WordBreakType | undefined;
|
|
42
|
+
}, never>;
|
|
43
|
+
export declare const H6: import("styled-components").StyledComponent<"h6", any, SpacingProps & {
|
|
44
|
+
theme: ThemeType;
|
|
45
|
+
textSize?: FontSizeType | undefined;
|
|
46
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
47
|
+
textColor?: string | undefined;
|
|
48
|
+
wordBreak?: WordBreakType | undefined;
|
|
49
|
+
overflowWrap?: WordBreakType | undefined;
|
|
50
|
+
}, never>;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from "@storybook/react";
|
|
3
|
+
import Icon, { IconProps } from ".";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: ({ name, color, size, ...rest }: IconProps) => JSX.Element;
|
|
7
|
+
args: {
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
tags: string[];
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
type Story = StoryObj<typeof Icon>;
|
|
14
|
+
export declare const IconDefault: Story;
|
|
15
|
+
export declare const IconSU2C: Story;
|
|
16
|
+
export declare const IconBowelbabe: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,268 +1,268 @@
|
|
|
1
|
-
export declare const ICONS: {
|
|
2
|
-
calendar: {
|
|
3
|
-
paths: string[];
|
|
4
|
-
width: string;
|
|
5
|
-
height: string;
|
|
6
|
-
};
|
|
7
|
-
check: {
|
|
8
|
-
paths: string[];
|
|
9
|
-
width: string;
|
|
10
|
-
height: string;
|
|
11
|
-
};
|
|
12
|
-
checkCircle: {
|
|
13
|
-
paths: string[];
|
|
14
|
-
width: string;
|
|
15
|
-
height: string;
|
|
16
|
-
};
|
|
17
|
-
chevronLeft: {
|
|
18
|
-
paths: string[];
|
|
19
|
-
width: string;
|
|
20
|
-
height: string;
|
|
21
|
-
};
|
|
22
|
-
chevronRight: {
|
|
23
|
-
paths: string[];
|
|
24
|
-
width: string;
|
|
25
|
-
height: string;
|
|
26
|
-
};
|
|
27
|
-
chevronRightBold: {
|
|
28
|
-
paths: string[];
|
|
29
|
-
width: string;
|
|
30
|
-
height: string;
|
|
31
|
-
};
|
|
32
|
-
cog: {
|
|
33
|
-
paths: string[];
|
|
34
|
-
width: string;
|
|
35
|
-
height: string;
|
|
36
|
-
};
|
|
37
|
-
copy: {
|
|
38
|
-
paths: string[];
|
|
39
|
-
width: string;
|
|
40
|
-
height: string;
|
|
41
|
-
};
|
|
42
|
-
clock: {
|
|
43
|
-
paths: string[];
|
|
44
|
-
width: string;
|
|
45
|
-
height: string;
|
|
46
|
-
};
|
|
47
|
-
close: {
|
|
48
|
-
paths: string[];
|
|
49
|
-
width: string;
|
|
50
|
-
height: string;
|
|
51
|
-
};
|
|
52
|
-
comment: {
|
|
53
|
-
paths: string[];
|
|
54
|
-
width: string;
|
|
55
|
-
height: string;
|
|
56
|
-
};
|
|
57
|
-
delete: {
|
|
58
|
-
paths: string[];
|
|
59
|
-
width: string;
|
|
60
|
-
height: string;
|
|
61
|
-
};
|
|
62
|
-
edit: {
|
|
63
|
-
paths: string[];
|
|
64
|
-
width: string;
|
|
65
|
-
height: string;
|
|
66
|
-
};
|
|
67
|
-
envelope: {
|
|
68
|
-
paths: string[];
|
|
69
|
-
width: string;
|
|
70
|
-
height: string;
|
|
71
|
-
};
|
|
72
|
-
envelopeSquare: {
|
|
73
|
-
paths: string[];
|
|
74
|
-
width: string;
|
|
75
|
-
height: string;
|
|
76
|
-
};
|
|
77
|
-
eventName: {
|
|
78
|
-
paths: string[];
|
|
79
|
-
width: string;
|
|
80
|
-
height: string;
|
|
81
|
-
};
|
|
82
|
-
facebook: {
|
|
83
|
-
paths: string[];
|
|
84
|
-
width: string;
|
|
85
|
-
height: string;
|
|
86
|
-
};
|
|
87
|
-
facebookRound: {
|
|
88
|
-
paths: string[];
|
|
89
|
-
width: string;
|
|
90
|
-
height: string;
|
|
91
|
-
};
|
|
92
|
-
facebookSquare: {
|
|
93
|
-
paths: string[];
|
|
94
|
-
width: string;
|
|
95
|
-
height: string;
|
|
96
|
-
};
|
|
97
|
-
flag: {
|
|
98
|
-
paths: string[];
|
|
99
|
-
width: string;
|
|
100
|
-
height: string;
|
|
101
|
-
};
|
|
102
|
-
heartbeat: {
|
|
103
|
-
paths: string[];
|
|
104
|
-
width: string;
|
|
105
|
-
height: string;
|
|
106
|
-
};
|
|
107
|
-
link: {
|
|
108
|
-
paths: string[];
|
|
109
|
-
width: string;
|
|
110
|
-
height: string;
|
|
111
|
-
};
|
|
112
|
-
linkedin: {
|
|
113
|
-
paths: string[];
|
|
114
|
-
width: string;
|
|
115
|
-
height: string;
|
|
116
|
-
};
|
|
117
|
-
linkedinSquare: {
|
|
118
|
-
paths: string[];
|
|
119
|
-
width: string;
|
|
120
|
-
height: string;
|
|
121
|
-
};
|
|
122
|
-
mapMarker: {
|
|
123
|
-
paths: string[];
|
|
124
|
-
width: string;
|
|
125
|
-
height: string;
|
|
126
|
-
};
|
|
127
|
-
messengerSquare: {
|
|
128
|
-
paths: string[];
|
|
129
|
-
width: string;
|
|
130
|
-
height: string;
|
|
131
|
-
};
|
|
132
|
-
move: {
|
|
133
|
-
paths: string[];
|
|
134
|
-
width: string;
|
|
135
|
-
height: string;
|
|
136
|
-
};
|
|
137
|
-
moveDown: {
|
|
138
|
-
paths: string[];
|
|
139
|
-
width: string;
|
|
140
|
-
height: string;
|
|
141
|
-
};
|
|
142
|
-
moveLeft: {
|
|
143
|
-
paths: string[];
|
|
144
|
-
width: string;
|
|
145
|
-
height: string;
|
|
146
|
-
};
|
|
147
|
-
moveRight: {
|
|
148
|
-
paths: string[];
|
|
149
|
-
width: string;
|
|
150
|
-
height: string;
|
|
151
|
-
};
|
|
152
|
-
moveUp: {
|
|
153
|
-
paths: string[];
|
|
154
|
-
width: string;
|
|
155
|
-
height: string;
|
|
156
|
-
};
|
|
157
|
-
poundSign: {
|
|
158
|
-
paths: string[];
|
|
159
|
-
width: string;
|
|
160
|
-
height: string;
|
|
161
|
-
};
|
|
162
|
-
question: {
|
|
163
|
-
paths: string[];
|
|
164
|
-
width: string;
|
|
165
|
-
height: string;
|
|
166
|
-
};
|
|
167
|
-
rotateLeft: {
|
|
168
|
-
paths: string[];
|
|
169
|
-
width: string;
|
|
170
|
-
height: string;
|
|
171
|
-
};
|
|
172
|
-
rotateRight: {
|
|
173
|
-
paths: string[];
|
|
174
|
-
width: string;
|
|
175
|
-
height: string;
|
|
176
|
-
};
|
|
177
|
-
search: {
|
|
178
|
-
paths: string[];
|
|
179
|
-
width: string;
|
|
180
|
-
height: string;
|
|
181
|
-
};
|
|
182
|
-
selectImage: {
|
|
183
|
-
paths: string[];
|
|
184
|
-
width: string;
|
|
185
|
-
height: string;
|
|
186
|
-
};
|
|
187
|
-
settings: {
|
|
188
|
-
paths: string[];
|
|
189
|
-
width: string;
|
|
190
|
-
height: string;
|
|
191
|
-
};
|
|
192
|
-
share: {
|
|
193
|
-
paths: string[];
|
|
194
|
-
width: string;
|
|
195
|
-
height: string;
|
|
196
|
-
};
|
|
197
|
-
shareSquare: {
|
|
198
|
-
paths: string[];
|
|
199
|
-
width: string;
|
|
200
|
-
height: string;
|
|
201
|
-
};
|
|
202
|
-
steps: {
|
|
203
|
-
paths: string[];
|
|
204
|
-
width: string;
|
|
205
|
-
height: string;
|
|
206
|
-
};
|
|
207
|
-
sync: {
|
|
208
|
-
paths: string[];
|
|
209
|
-
width: string;
|
|
210
|
-
height: string;
|
|
211
|
-
};
|
|
212
|
-
team: {
|
|
213
|
-
paths: string[];
|
|
214
|
-
width: string;
|
|
215
|
-
height: string;
|
|
216
|
-
};
|
|
217
|
-
twitter: {
|
|
218
|
-
paths: string[];
|
|
219
|
-
width: string;
|
|
220
|
-
height: string;
|
|
221
|
-
};
|
|
222
|
-
twitterSquare: {
|
|
223
|
-
paths: string[];
|
|
224
|
-
width: string;
|
|
225
|
-
height: string;
|
|
226
|
-
};
|
|
227
|
-
uploadPhoto: {
|
|
228
|
-
paths: string[];
|
|
229
|
-
width: string;
|
|
230
|
-
height: string;
|
|
231
|
-
};
|
|
232
|
-
userLock: {
|
|
233
|
-
paths: string[];
|
|
234
|
-
width: string;
|
|
235
|
-
height: string;
|
|
236
|
-
};
|
|
237
|
-
view: {
|
|
238
|
-
paths: string[];
|
|
239
|
-
width: string;
|
|
240
|
-
height: string;
|
|
241
|
-
};
|
|
242
|
-
walk: {
|
|
243
|
-
paths: string[];
|
|
244
|
-
width: string;
|
|
245
|
-
height: string;
|
|
246
|
-
};
|
|
247
|
-
whatsapp: {
|
|
248
|
-
paths: string[];
|
|
249
|
-
width: string;
|
|
250
|
-
height: string;
|
|
251
|
-
};
|
|
252
|
-
whatsappSquare: {
|
|
253
|
-
paths: string[];
|
|
254
|
-
width: string;
|
|
255
|
-
height: string;
|
|
256
|
-
};
|
|
257
|
-
zoomIn: {
|
|
258
|
-
paths: string[];
|
|
259
|
-
width: string;
|
|
260
|
-
height: string;
|
|
261
|
-
};
|
|
262
|
-
zoomOut: {
|
|
263
|
-
paths: string[];
|
|
264
|
-
width: string;
|
|
265
|
-
height: string;
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
export default ICONS;
|
|
1
|
+
export declare const ICONS: {
|
|
2
|
+
calendar: {
|
|
3
|
+
paths: string[];
|
|
4
|
+
width: string;
|
|
5
|
+
height: string;
|
|
6
|
+
};
|
|
7
|
+
check: {
|
|
8
|
+
paths: string[];
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
};
|
|
12
|
+
checkCircle: {
|
|
13
|
+
paths: string[];
|
|
14
|
+
width: string;
|
|
15
|
+
height: string;
|
|
16
|
+
};
|
|
17
|
+
chevronLeft: {
|
|
18
|
+
paths: string[];
|
|
19
|
+
width: string;
|
|
20
|
+
height: string;
|
|
21
|
+
};
|
|
22
|
+
chevronRight: {
|
|
23
|
+
paths: string[];
|
|
24
|
+
width: string;
|
|
25
|
+
height: string;
|
|
26
|
+
};
|
|
27
|
+
chevronRightBold: {
|
|
28
|
+
paths: string[];
|
|
29
|
+
width: string;
|
|
30
|
+
height: string;
|
|
31
|
+
};
|
|
32
|
+
cog: {
|
|
33
|
+
paths: string[];
|
|
34
|
+
width: string;
|
|
35
|
+
height: string;
|
|
36
|
+
};
|
|
37
|
+
copy: {
|
|
38
|
+
paths: string[];
|
|
39
|
+
width: string;
|
|
40
|
+
height: string;
|
|
41
|
+
};
|
|
42
|
+
clock: {
|
|
43
|
+
paths: string[];
|
|
44
|
+
width: string;
|
|
45
|
+
height: string;
|
|
46
|
+
};
|
|
47
|
+
close: {
|
|
48
|
+
paths: string[];
|
|
49
|
+
width: string;
|
|
50
|
+
height: string;
|
|
51
|
+
};
|
|
52
|
+
comment: {
|
|
53
|
+
paths: string[];
|
|
54
|
+
width: string;
|
|
55
|
+
height: string;
|
|
56
|
+
};
|
|
57
|
+
delete: {
|
|
58
|
+
paths: string[];
|
|
59
|
+
width: string;
|
|
60
|
+
height: string;
|
|
61
|
+
};
|
|
62
|
+
edit: {
|
|
63
|
+
paths: string[];
|
|
64
|
+
width: string;
|
|
65
|
+
height: string;
|
|
66
|
+
};
|
|
67
|
+
envelope: {
|
|
68
|
+
paths: string[];
|
|
69
|
+
width: string;
|
|
70
|
+
height: string;
|
|
71
|
+
};
|
|
72
|
+
envelopeSquare: {
|
|
73
|
+
paths: string[];
|
|
74
|
+
width: string;
|
|
75
|
+
height: string;
|
|
76
|
+
};
|
|
77
|
+
eventName: {
|
|
78
|
+
paths: string[];
|
|
79
|
+
width: string;
|
|
80
|
+
height: string;
|
|
81
|
+
};
|
|
82
|
+
facebook: {
|
|
83
|
+
paths: string[];
|
|
84
|
+
width: string;
|
|
85
|
+
height: string;
|
|
86
|
+
};
|
|
87
|
+
facebookRound: {
|
|
88
|
+
paths: string[];
|
|
89
|
+
width: string;
|
|
90
|
+
height: string;
|
|
91
|
+
};
|
|
92
|
+
facebookSquare: {
|
|
93
|
+
paths: string[];
|
|
94
|
+
width: string;
|
|
95
|
+
height: string;
|
|
96
|
+
};
|
|
97
|
+
flag: {
|
|
98
|
+
paths: string[];
|
|
99
|
+
width: string;
|
|
100
|
+
height: string;
|
|
101
|
+
};
|
|
102
|
+
heartbeat: {
|
|
103
|
+
paths: string[];
|
|
104
|
+
width: string;
|
|
105
|
+
height: string;
|
|
106
|
+
};
|
|
107
|
+
link: {
|
|
108
|
+
paths: string[];
|
|
109
|
+
width: string;
|
|
110
|
+
height: string;
|
|
111
|
+
};
|
|
112
|
+
linkedin: {
|
|
113
|
+
paths: string[];
|
|
114
|
+
width: string;
|
|
115
|
+
height: string;
|
|
116
|
+
};
|
|
117
|
+
linkedinSquare: {
|
|
118
|
+
paths: string[];
|
|
119
|
+
width: string;
|
|
120
|
+
height: string;
|
|
121
|
+
};
|
|
122
|
+
mapMarker: {
|
|
123
|
+
paths: string[];
|
|
124
|
+
width: string;
|
|
125
|
+
height: string;
|
|
126
|
+
};
|
|
127
|
+
messengerSquare: {
|
|
128
|
+
paths: string[];
|
|
129
|
+
width: string;
|
|
130
|
+
height: string;
|
|
131
|
+
};
|
|
132
|
+
move: {
|
|
133
|
+
paths: string[];
|
|
134
|
+
width: string;
|
|
135
|
+
height: string;
|
|
136
|
+
};
|
|
137
|
+
moveDown: {
|
|
138
|
+
paths: string[];
|
|
139
|
+
width: string;
|
|
140
|
+
height: string;
|
|
141
|
+
};
|
|
142
|
+
moveLeft: {
|
|
143
|
+
paths: string[];
|
|
144
|
+
width: string;
|
|
145
|
+
height: string;
|
|
146
|
+
};
|
|
147
|
+
moveRight: {
|
|
148
|
+
paths: string[];
|
|
149
|
+
width: string;
|
|
150
|
+
height: string;
|
|
151
|
+
};
|
|
152
|
+
moveUp: {
|
|
153
|
+
paths: string[];
|
|
154
|
+
width: string;
|
|
155
|
+
height: string;
|
|
156
|
+
};
|
|
157
|
+
poundSign: {
|
|
158
|
+
paths: string[];
|
|
159
|
+
width: string;
|
|
160
|
+
height: string;
|
|
161
|
+
};
|
|
162
|
+
question: {
|
|
163
|
+
paths: string[];
|
|
164
|
+
width: string;
|
|
165
|
+
height: string;
|
|
166
|
+
};
|
|
167
|
+
rotateLeft: {
|
|
168
|
+
paths: string[];
|
|
169
|
+
width: string;
|
|
170
|
+
height: string;
|
|
171
|
+
};
|
|
172
|
+
rotateRight: {
|
|
173
|
+
paths: string[];
|
|
174
|
+
width: string;
|
|
175
|
+
height: string;
|
|
176
|
+
};
|
|
177
|
+
search: {
|
|
178
|
+
paths: string[];
|
|
179
|
+
width: string;
|
|
180
|
+
height: string;
|
|
181
|
+
};
|
|
182
|
+
selectImage: {
|
|
183
|
+
paths: string[];
|
|
184
|
+
width: string;
|
|
185
|
+
height: string;
|
|
186
|
+
};
|
|
187
|
+
settings: {
|
|
188
|
+
paths: string[];
|
|
189
|
+
width: string;
|
|
190
|
+
height: string;
|
|
191
|
+
};
|
|
192
|
+
share: {
|
|
193
|
+
paths: string[];
|
|
194
|
+
width: string;
|
|
195
|
+
height: string;
|
|
196
|
+
};
|
|
197
|
+
shareSquare: {
|
|
198
|
+
paths: string[];
|
|
199
|
+
width: string;
|
|
200
|
+
height: string;
|
|
201
|
+
};
|
|
202
|
+
steps: {
|
|
203
|
+
paths: string[];
|
|
204
|
+
width: string;
|
|
205
|
+
height: string;
|
|
206
|
+
};
|
|
207
|
+
sync: {
|
|
208
|
+
paths: string[];
|
|
209
|
+
width: string;
|
|
210
|
+
height: string;
|
|
211
|
+
};
|
|
212
|
+
team: {
|
|
213
|
+
paths: string[];
|
|
214
|
+
width: string;
|
|
215
|
+
height: string;
|
|
216
|
+
};
|
|
217
|
+
twitter: {
|
|
218
|
+
paths: string[];
|
|
219
|
+
width: string;
|
|
220
|
+
height: string;
|
|
221
|
+
};
|
|
222
|
+
twitterSquare: {
|
|
223
|
+
paths: string[];
|
|
224
|
+
width: string;
|
|
225
|
+
height: string;
|
|
226
|
+
};
|
|
227
|
+
uploadPhoto: {
|
|
228
|
+
paths: string[];
|
|
229
|
+
width: string;
|
|
230
|
+
height: string;
|
|
231
|
+
};
|
|
232
|
+
userLock: {
|
|
233
|
+
paths: string[];
|
|
234
|
+
width: string;
|
|
235
|
+
height: string;
|
|
236
|
+
};
|
|
237
|
+
view: {
|
|
238
|
+
paths: string[];
|
|
239
|
+
width: string;
|
|
240
|
+
height: string;
|
|
241
|
+
};
|
|
242
|
+
walk: {
|
|
243
|
+
paths: string[];
|
|
244
|
+
width: string;
|
|
245
|
+
height: string;
|
|
246
|
+
};
|
|
247
|
+
whatsapp: {
|
|
248
|
+
paths: string[];
|
|
249
|
+
width: string;
|
|
250
|
+
height: string;
|
|
251
|
+
};
|
|
252
|
+
whatsappSquare: {
|
|
253
|
+
paths: string[];
|
|
254
|
+
width: string;
|
|
255
|
+
height: string;
|
|
256
|
+
};
|
|
257
|
+
zoomIn: {
|
|
258
|
+
paths: string[];
|
|
259
|
+
width: string;
|
|
260
|
+
height: string;
|
|
261
|
+
};
|
|
262
|
+
zoomOut: {
|
|
263
|
+
paths: string[];
|
|
264
|
+
width: string;
|
|
265
|
+
height: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
export default ICONS;
|