@utilitywarehouse/hearth-react-native 0.2.0 → 0.3.1
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +3 -1
- package/CHANGELOG.md +34 -0
- package/build/components/Alert/AlertCloseButton.js +25 -3
- package/build/components/Alert/AlertIcon.js +17 -1
- package/build/components/Alert/AlertIconButton.js +27 -1
- package/build/components/Alert/AlertLink.js +47 -1
- package/build/components/Alert/AlertText.d.ts +1 -1
- package/build/components/Alert/AlertText.js +26 -2
- package/build/components/Alert/AlertTitle.d.ts +1 -1
- package/build/components/Alert/AlertTitle.js +26 -2
- package/build/components/Badge/Badge.js +101 -14
- package/build/components/Badge/Badge.props.d.ts +2 -2
- package/build/components/Badge/BadgeIcon.js +27 -29
- package/build/components/Badge/BadgeText.js +29 -31
- package/build/components/Button/Button.d.ts +2 -2
- package/build/components/Button/ButtonGroupRoot.d.ts +3 -2
- package/build/components/Button/ButtonGroupRoot.js +9 -0
- package/build/components/Button/ButtonRoot.js +1 -0
- package/build/components/Card/Card.props.d.ts +2 -2
- package/build/components/Checkbox/Checkbox.d.ts +2 -2
- package/build/components/Checkbox/Checkbox.js +11 -10
- package/build/components/Checkbox/Checkbox.props.d.ts +3 -1
- package/build/components/Checkbox/CheckboxIcon.js +1 -1
- package/build/components/Checkbox/CheckboxImage.d.ts +6 -0
- package/build/components/Checkbox/CheckboxImage.js +5 -0
- package/build/components/Checkbox/CheckboxTileRoot.js +1 -1
- package/build/components/Checkbox/index.d.ts +3 -2
- package/build/components/Checkbox/index.js +2 -1
- package/build/components/CurrencyInput/CurrencyInput.d.ts +6 -0
- package/build/components/CurrencyInput/CurrencyInput.js +47 -0
- package/build/components/CurrencyInput/CurrencyInput.props.d.ts +14 -0
- package/build/components/CurrencyInput/CurrencyInput.props.js +1 -0
- package/build/components/CurrencyInput/index.d.ts +1 -0
- package/build/components/CurrencyInput/index.js +1 -0
- package/build/components/DescriptionList/DescriptionList.context.d.ts +6 -0
- package/build/components/DescriptionList/DescriptionList.context.js +9 -0
- package/build/components/DescriptionList/DescriptionList.d.ts +6 -0
- package/build/components/DescriptionList/DescriptionList.js +25 -0
- package/build/components/DescriptionList/DescriptionList.props.d.ts +18 -0
- package/build/components/DescriptionList/DescriptionList.props.js +1 -0
- package/build/components/DescriptionList/DescriptionListItem.d.ts +6 -0
- package/build/components/DescriptionList/DescriptionListItem.js +49 -0
- package/build/components/DescriptionList/DescriptionListItem.props.d.ts +17 -0
- package/build/components/DescriptionList/DescriptionListItem.props.js +1 -0
- package/build/components/DescriptionList/index.d.ts +4 -0
- package/build/components/DescriptionList/index.js +2 -0
- package/build/components/Divider/Divider.js +46 -0
- package/build/components/Divider/Divider.props.d.ts +2 -2
- package/build/components/Flex/Flex.props.d.ts +3 -2
- package/build/components/Grid/Grid.props.d.ts +2 -2
- package/build/components/IconContainer/IconContainer.d.ts +5 -0
- package/build/components/IconContainer/IconContainer.js +161 -0
- package/build/components/IconContainer/IconContainer.props.d.ts +15 -0
- package/build/components/IconContainer/IconContainer.props.js +1 -0
- package/build/components/IconContainer/index.d.ts +2 -0
- package/build/components/IconContainer/index.js +1 -0
- package/build/components/Icons/CircleIcon.js +3 -3
- package/build/components/Input/Input.js +2 -34
- package/build/components/Input/Input.props.d.ts +1 -17
- package/build/components/Input/InputField.js +0 -7
- package/build/components/Link/Link.d.ts +1 -1
- package/build/components/Link/Link.js +4 -4
- package/build/components/Link/Link.props.d.ts +3 -0
- package/build/components/Modal/Modal.js +17 -1
- package/build/components/Radio/Radio.d.ts +2 -2
- package/build/components/Radio/Radio.js +9 -8
- package/build/components/Radio/Radio.props.d.ts +3 -1
- package/build/components/Radio/RadioImage.d.ts +6 -0
- package/build/components/Radio/RadioImage.js +5 -0
- package/build/components/Radio/RadioTileRoot.js +1 -1
- package/build/components/Radio/index.d.ts +3 -2
- package/build/components/Radio/index.js +2 -1
- package/build/components/SectionHeader/SectionHeader.js +1 -0
- package/build/components/Select/SelectOption.js +1 -7
- package/build/components/Tabs/Tab.d.ts +18 -0
- package/build/components/Tabs/Tab.js +74 -0
- package/build/components/Tabs/Tab.props.d.ts +14 -0
- package/build/components/Tabs/Tab.props.js +1 -0
- package/build/components/Tabs/TabPanel.d.ts +3 -0
- package/build/components/Tabs/TabPanel.js +34 -0
- package/build/components/Tabs/TabPanel.props.d.ts +8 -0
- package/build/components/Tabs/TabPanel.props.js +1 -0
- package/build/components/Tabs/Tabs.context.d.ts +23 -0
- package/build/components/Tabs/Tabs.context.js +8 -0
- package/build/components/Tabs/Tabs.d.ts +6 -0
- package/build/components/Tabs/Tabs.js +114 -0
- package/build/components/Tabs/Tabs.props.d.ts +19 -0
- package/build/components/Tabs/Tabs.props.js +1 -0
- package/build/components/Tabs/TabsList.d.ts +6 -0
- package/build/components/Tabs/TabsList.js +112 -0
- package/build/components/Tabs/TabsList.props.d.ts +6 -0
- package/build/components/Tabs/TabsList.props.js +1 -0
- package/build/components/Tabs/index.d.ts +8 -0
- package/build/components/Tabs/index.js +4 -0
- package/build/components/UnstyledIconButton/UnstyledIconButton.d.ts +1 -1
- package/build/components/UnstyledIconButton/UnstyledIconButton.js +4 -4
- package/build/components/UnstyledIconButton/UnstyledIconButton.props.d.ts +2 -1
- package/build/components/index.d.ts +4 -0
- package/build/components/index.js +4 -0
- package/build/core/themes.d.ts +428 -160
- package/build/core/themes.js +57 -1
- package/build/tokens/color.d.ts +88 -80
- package/build/tokens/color.js +44 -40
- package/build/tokens/components/dark/alert.d.ts +13 -0
- package/build/tokens/components/dark/alert.js +13 -0
- package/build/tokens/components/dark/button.d.ts +1 -0
- package/build/tokens/components/dark/button.js +1 -0
- package/build/tokens/components/dark/checkbox.d.ts +4 -1
- package/build/tokens/components/dark/checkbox.js +4 -1
- package/build/tokens/components/dark/icon-button.d.ts +10 -3
- package/build/tokens/components/dark/icon-button.js +10 -3
- package/build/tokens/components/dark/index.d.ts +1 -0
- package/build/tokens/components/dark/index.js +1 -0
- package/build/tokens/components/dark/link.d.ts +5 -0
- package/build/tokens/components/dark/link.js +5 -0
- package/build/tokens/components/dark/progress-bar.d.ts +41 -0
- package/build/tokens/components/dark/progress-bar.js +40 -0
- package/build/tokens/components/dark/radio.d.ts +1 -1
- package/build/tokens/components/dark/radio.js +1 -1
- package/build/tokens/components/dark/tabs.d.ts +2 -0
- package/build/tokens/components/dark/tabs.js +2 -0
- package/build/tokens/components/light/alert.d.ts +13 -0
- package/build/tokens/components/light/alert.js +13 -0
- package/build/tokens/components/light/badge.d.ts +1 -1
- package/build/tokens/components/light/badge.js +1 -1
- package/build/tokens/components/light/button.d.ts +1 -0
- package/build/tokens/components/light/button.js +1 -0
- package/build/tokens/components/light/checkbox.d.ts +6 -3
- package/build/tokens/components/light/checkbox.js +6 -3
- package/build/tokens/components/light/icon-button.d.ts +8 -1
- package/build/tokens/components/light/icon-button.js +8 -1
- package/build/tokens/components/light/index.d.ts +1 -0
- package/build/tokens/components/light/index.js +1 -0
- package/build/tokens/components/light/link.d.ts +5 -0
- package/build/tokens/components/light/link.js +5 -0
- package/build/tokens/components/light/progress-bar.d.ts +41 -0
- package/build/tokens/components/light/progress-bar.js +40 -0
- package/build/tokens/components/light/radio.d.ts +3 -3
- package/build/tokens/components/light/radio.js +3 -3
- package/build/tokens/components/light/tabs.d.ts +2 -0
- package/build/tokens/components/light/tabs.js +2 -0
- package/build/tokens/index.d.ts +1 -0
- package/build/tokens/index.js +1 -0
- package/build/tokens/layout.d.ts +48 -30
- package/build/tokens/layout.js +24 -15
- package/build/tokens/motion.d.ts +23 -0
- package/build/tokens/motion.js +22 -0
- package/build/tokens/primitive.d.ts +19 -0
- package/build/tokens/primitive.js +19 -0
- package/build/tokens/semantic-dark.d.ts +26 -24
- package/build/tokens/semantic-dark.js +26 -24
- package/build/tokens/semantic-light.d.ts +18 -16
- package/build/tokens/semantic-light.js +18 -16
- package/build/types/values.d.ts +2 -1
- package/build/utils/formatThousands.d.ts +2 -0
- package/build/utils/formatThousands.js +16 -0
- package/build/utils/index.d.ts +1 -0
- package/build/utils/index.js +1 -0
- package/docs/assets/bank-logo.png +0 -0
- package/docs/assets/bank-logo1.png +0 -0
- package/docs/components/AllComponents.web.tsx +97 -8
- package/docs/components/NextPrevPage.tsx +11 -3
- package/docs/components/UsageWrap.tsx +2 -2
- package/docs/components/index.ts +6 -7
- package/docs/heplers/addReactNativePrefix.ts +8 -0
- package/docs/heplers/index.ts +1 -0
- package/docs/introduction.mdx +3 -3
- package/docs/theme-tokens.mdx +42 -0
- package/package.json +13 -13
- package/src/components/Alert/AlertCloseButton.tsx +33 -5
- package/src/components/Alert/AlertIcon.tsx +17 -1
- package/src/components/Alert/AlertIconButton.tsx +37 -4
- package/src/components/Alert/AlertLink.tsx +52 -1
- package/src/components/Alert/AlertText.tsx +28 -3
- package/src/components/Alert/AlertTitle.tsx +28 -3
- package/src/components/Badge/Badge.docs.mdx +7 -7
- package/src/components/Badge/Badge.props.ts +3 -2
- package/src/components/Badge/Badge.stories.tsx +81 -92
- package/src/components/Badge/Badge.tsx +101 -14
- package/src/components/Badge/BadgeIcon.tsx +27 -29
- package/src/components/Badge/BadgeText.tsx +29 -31
- package/src/components/Button/ButtonGroupRoot.tsx +12 -2
- package/src/components/Button/ButtonRoot.tsx +1 -0
- package/src/components/Card/Card.docs.mdx +1 -1
- package/src/components/Card/Card.props.ts +2 -2
- package/src/components/Checkbox/Checkbox.docs.mdx +45 -7
- package/src/components/Checkbox/Checkbox.props.ts +3 -1
- package/src/components/Checkbox/Checkbox.stories.tsx +37 -1
- package/src/components/Checkbox/Checkbox.tsx +12 -9
- package/src/components/Checkbox/CheckboxIcon.tsx +1 -1
- package/src/components/Checkbox/CheckboxImage.tsx +9 -0
- package/src/components/Checkbox/CheckboxTileRoot.tsx +1 -1
- package/src/components/Checkbox/index.ts +3 -2
- package/src/components/CurrencyInput/CurrencyInput.docs.mdx +120 -0
- package/src/components/CurrencyInput/CurrencyInput.props.ts +19 -0
- package/src/components/CurrencyInput/CurrencyInput.stories.tsx +116 -0
- package/src/components/CurrencyInput/CurrencyInput.tsx +91 -0
- package/src/components/CurrencyInput/index.ts +1 -0
- package/src/components/DescriptionList/DescriptionList.context.ts +18 -0
- package/src/components/DescriptionList/DescriptionList.docs.mdx +98 -0
- package/src/components/DescriptionList/DescriptionList.props.ts +20 -0
- package/src/components/DescriptionList/DescriptionList.stories.tsx +154 -0
- package/src/components/DescriptionList/DescriptionList.tsx +64 -0
- package/src/components/DescriptionList/DescriptionListItem.props.ts +19 -0
- package/src/components/DescriptionList/DescriptionListItem.tsx +101 -0
- package/src/components/DescriptionList/index.ts +4 -0
- package/src/components/Divider/Divider.props.ts +2 -2
- package/src/components/Divider/Divider.stories.tsx +3 -3
- package/src/components/Divider/Divider.tsx +46 -0
- package/src/components/Flex/Flex.docs.mdx +4 -4
- package/src/components/Flex/Flex.props.ts +3 -2
- package/src/components/Flex/Flex.stories.tsx +1 -1
- package/src/components/Grid/Grid.docs.mdx +12 -12
- package/src/components/Grid/Grid.props.ts +2 -2
- package/src/components/Grid/Grid.stories.tsx +2 -2
- package/src/components/IconContainer/IconContainer.docs.mdx +90 -0
- package/src/components/IconContainer/IconContainer.props.ts +17 -0
- package/src/components/IconContainer/IconContainer.stories.tsx +130 -0
- package/src/components/IconContainer/IconContainer.tsx +180 -0
- package/src/components/IconContainer/index.tsx +2 -0
- package/src/components/Icons/CircleIcon.tsx +9 -11
- package/src/components/Input/Input.docs.mdx +3 -3
- package/src/components/Input/Input.props.ts +0 -20
- package/src/components/Input/Input.stories.tsx +0 -6
- package/src/components/Input/Input.tsx +2 -49
- package/src/components/Input/InputField.tsx +0 -7
- package/src/components/Link/Link.props.ts +3 -0
- package/src/components/Link/Link.tsx +12 -6
- package/src/components/List/List.docs.mdx +24 -23
- package/src/components/Modal/Modal.tsx +18 -0
- package/src/components/Radio/Radio.docs.mdx +96 -124
- package/src/components/Radio/Radio.props.ts +3 -1
- package/src/components/Radio/Radio.stories.tsx +47 -0
- package/src/components/Radio/Radio.tsx +10 -7
- package/src/components/Radio/RadioImage.tsx +9 -0
- package/src/components/Radio/RadioTileRoot.tsx +1 -1
- package/src/components/Radio/index.ts +3 -2
- package/src/components/SectionHeader/SectionHeader.tsx +1 -0
- package/src/components/Select/Select.docs.mdx +6 -6
- package/src/components/Select/Select.stories.tsx +7 -7
- package/src/components/Select/SelectOption.tsx +4 -10
- package/src/components/Tabs/Tab.props.ts +16 -0
- package/src/components/Tabs/Tab.tsx +113 -0
- package/src/components/Tabs/TabPanel.props.ts +10 -0
- package/src/components/Tabs/TabPanel.tsx +46 -0
- package/src/components/Tabs/Tabs.context.ts +26 -0
- package/src/components/Tabs/Tabs.docs.mdx +214 -0
- package/src/components/Tabs/Tabs.props.ts +21 -0
- package/src/components/Tabs/Tabs.stories.tsx +270 -0
- package/src/components/Tabs/Tabs.tsx +139 -0
- package/src/components/Tabs/TabsList.props.ts +8 -0
- package/src/components/Tabs/TabsList.tsx +194 -0
- package/src/components/Tabs/index.ts +8 -0
- package/src/components/UnstyledIconButton/UnstyledIconButton.props.ts +2 -1
- package/src/components/UnstyledIconButton/UnstyledIconButton.tsx +9 -3
- package/src/components/index.ts +4 -0
- package/src/core/themes.ts +57 -1
- package/src/tokens/color.ts +44 -40
- package/src/tokens/components/dark/alert.ts +13 -0
- package/src/tokens/components/dark/button.ts +1 -0
- package/src/tokens/components/dark/checkbox.ts +4 -1
- package/src/tokens/components/dark/icon-button.ts +10 -3
- package/src/tokens/components/dark/index.ts +1 -0
- package/src/tokens/components/dark/link.ts +5 -0
- package/src/tokens/components/dark/progress-bar.ts +41 -0
- package/src/tokens/components/dark/radio.ts +1 -1
- package/src/tokens/components/dark/tabs.ts +2 -0
- package/src/tokens/components/light/alert.ts +13 -0
- package/src/tokens/components/light/badge.ts +1 -1
- package/src/tokens/components/light/button.ts +1 -0
- package/src/tokens/components/light/checkbox.ts +6 -3
- package/src/tokens/components/light/icon-button.ts +8 -1
- package/src/tokens/components/light/index.ts +1 -0
- package/src/tokens/components/light/link.ts +5 -0
- package/src/tokens/components/light/progress-bar.ts +41 -0
- package/src/tokens/components/light/radio.ts +3 -3
- package/src/tokens/components/light/tabs.ts +2 -0
- package/src/tokens/index.ts +1 -0
- package/src/tokens/layout.ts +24 -15
- package/src/tokens/motion.ts +23 -0
- package/src/tokens/primitive.ts +19 -0
- package/src/tokens/semantic-dark.ts +26 -24
- package/src/tokens/semantic-light.ts +18 -16
- package/src/types/values.ts +3 -1
- package/src/utils/formatThousands.ts +14 -0
- package/src/utils/index.ts +1 -0
- package/docs/assets/react-native-pig.png +0 -0
- package/docs/components/AdvancedRadioExample.tsx +0 -126
|
@@ -6,12 +6,15 @@ export default {
|
|
|
6
6
|
borderWidth: 2,
|
|
7
7
|
checked: {
|
|
8
8
|
backgroundColor: '#101010',
|
|
9
|
+
icon: {
|
|
10
|
+
color: '#fcfbf2',
|
|
11
|
+
},
|
|
9
12
|
},
|
|
10
|
-
gap:
|
|
13
|
+
gap: 12,
|
|
11
14
|
group: {
|
|
12
15
|
gap: 16,
|
|
13
16
|
stack: {
|
|
14
|
-
gap:
|
|
17
|
+
gap: 20,
|
|
15
18
|
},
|
|
16
19
|
},
|
|
17
20
|
outlineColorActive: '#d4d2c0',
|
|
@@ -21,7 +24,7 @@ export default {
|
|
|
21
24
|
borderRadius: 8,
|
|
22
25
|
borderWidth: 1,
|
|
23
26
|
borderWidthSelected: 2,
|
|
24
|
-
gap:
|
|
27
|
+
gap: 12,
|
|
25
28
|
group: {
|
|
26
29
|
gap: 6,
|
|
27
30
|
stack: {
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
declare const _default: {
|
|
5
|
+
readonly iconButton: {
|
|
6
|
+
readonly unstyled: {
|
|
7
|
+
readonly foregroundColor: "#101010";
|
|
8
|
+
readonly foregroundColorActive: "#3f3f3f";
|
|
9
|
+
readonly foregroundColorHover: "#3a3837";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
5
12
|
readonly borderRadius: 8;
|
|
6
13
|
readonly md: {
|
|
7
14
|
readonly height: 48;
|
|
@@ -21,7 +28,7 @@ declare const _default: {
|
|
|
21
28
|
readonly foregroundColorHover: "#3a3837";
|
|
22
29
|
readonly inverted: {
|
|
23
30
|
readonly foregroundColor: "#f7f7f7";
|
|
24
|
-
readonly foregroundColorActive: "#
|
|
31
|
+
readonly foregroundColorActive: "#b2afae";
|
|
25
32
|
readonly foregroundColorHover: "#d3d3d3";
|
|
26
33
|
};
|
|
27
34
|
readonly md: {
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
export default {
|
|
5
|
+
iconButton: {
|
|
6
|
+
unstyled: {
|
|
7
|
+
foregroundColor: '#101010',
|
|
8
|
+
foregroundColorActive: '#3f3f3f',
|
|
9
|
+
foregroundColorHover: '#3a3837',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
5
12
|
borderRadius: 8,
|
|
6
13
|
md: {
|
|
7
14
|
height: 48,
|
|
@@ -21,7 +28,7 @@ export default {
|
|
|
21
28
|
foregroundColorHover: '#3a3837',
|
|
22
29
|
inverted: {
|
|
23
30
|
foregroundColor: '#f7f7f7',
|
|
24
|
-
foregroundColorActive: '#
|
|
31
|
+
foregroundColorActive: '#b2afae',
|
|
25
32
|
foregroundColorHover: '#d3d3d3',
|
|
26
33
|
},
|
|
27
34
|
md: {
|
|
@@ -33,6 +33,7 @@ export { default as overlay } from './overlay';
|
|
|
33
33
|
export { default as pagination } from './pagination';
|
|
34
34
|
export { default as parts } from './parts';
|
|
35
35
|
export { default as pill } from './pill';
|
|
36
|
+
export { default as progressBar } from './progress-bar';
|
|
36
37
|
export { default as progressStepper } from './progress-stepper';
|
|
37
38
|
export { default as radio } from './radio';
|
|
38
39
|
export { default as sectionHeader } from './section-header';
|
|
@@ -33,6 +33,7 @@ export { default as overlay } from './overlay';
|
|
|
33
33
|
export { default as pagination } from './pagination';
|
|
34
34
|
export { default as parts } from './parts';
|
|
35
35
|
export { default as pill } from './pill';
|
|
36
|
+
export { default as progressBar } from './progress-bar';
|
|
36
37
|
export { default as progressStepper } from './progress-stepper';
|
|
37
38
|
export { default as radio } from './radio';
|
|
38
39
|
export { default as sectionHeader } from './section-header';
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
declare const _default: {
|
|
5
|
+
readonly link: {
|
|
6
|
+
readonly color: "#101010";
|
|
7
|
+
readonly colorActive: "#3f3f3f";
|
|
8
|
+
readonly colorHover: "#3a3837";
|
|
9
|
+
};
|
|
5
10
|
readonly color: "#101010";
|
|
6
11
|
readonly colorActive: "#3f3f3f";
|
|
7
12
|
readonly colorHover: "#3a3837";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
readonly barColor: "#f1efe4";
|
|
6
|
+
readonly circular: {
|
|
7
|
+
readonly md: {
|
|
8
|
+
readonly bar: {
|
|
9
|
+
readonly width: 12;
|
|
10
|
+
};
|
|
11
|
+
readonly gap: 0;
|
|
12
|
+
readonly height: 140;
|
|
13
|
+
readonly label: {
|
|
14
|
+
readonly fontFamily: "DM Sans";
|
|
15
|
+
readonly fontSize: 24;
|
|
16
|
+
readonly fontWeight: 400;
|
|
17
|
+
readonly lineHeight: 24;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
readonly sm: {
|
|
21
|
+
readonly barWidth: 8;
|
|
22
|
+
readonly height: 80;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
readonly linear: {
|
|
26
|
+
readonly bar: {
|
|
27
|
+
readonly borderRadius: 9999;
|
|
28
|
+
readonly height: 12;
|
|
29
|
+
};
|
|
30
|
+
readonly gap: 8;
|
|
31
|
+
readonly label: {
|
|
32
|
+
readonly gap: 8;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
readonly progress: {
|
|
36
|
+
readonly dangerColor: "#f4412a";
|
|
37
|
+
readonly defaultColor: "#26164f";
|
|
38
|
+
readonly successColor: "#19a660";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export default {
|
|
5
|
+
barColor: '#f1efe4',
|
|
6
|
+
circular: {
|
|
7
|
+
md: {
|
|
8
|
+
bar: {
|
|
9
|
+
width: 12,
|
|
10
|
+
},
|
|
11
|
+
gap: 0,
|
|
12
|
+
height: 140,
|
|
13
|
+
label: {
|
|
14
|
+
fontFamily: 'DM Sans',
|
|
15
|
+
fontSize: 24,
|
|
16
|
+
fontWeight: 400,
|
|
17
|
+
lineHeight: 24,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
sm: {
|
|
21
|
+
barWidth: 8,
|
|
22
|
+
height: 80,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
linear: {
|
|
26
|
+
bar: {
|
|
27
|
+
borderRadius: 9999,
|
|
28
|
+
height: 12,
|
|
29
|
+
},
|
|
30
|
+
gap: 8,
|
|
31
|
+
label: {
|
|
32
|
+
gap: 8,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
progress: {
|
|
36
|
+
dangerColor: '#f4412a',
|
|
37
|
+
defaultColor: '#26164f',
|
|
38
|
+
successColor: '#19a660',
|
|
39
|
+
},
|
|
40
|
+
};
|
|
@@ -7,11 +7,11 @@ declare const _default: {
|
|
|
7
7
|
readonly checked: {
|
|
8
8
|
readonly color: "#101010";
|
|
9
9
|
};
|
|
10
|
-
readonly gap:
|
|
10
|
+
readonly gap: 12;
|
|
11
11
|
readonly group: {
|
|
12
12
|
readonly gap: 16;
|
|
13
13
|
readonly stack: {
|
|
14
|
-
readonly gap:
|
|
14
|
+
readonly gap: 20;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
readonly outlineColorActive: "#d4d2c0";
|
|
@@ -23,7 +23,7 @@ declare const _default: {
|
|
|
23
23
|
readonly borderWidthSelected: 2;
|
|
24
24
|
readonly gap: 8;
|
|
25
25
|
readonly group: {
|
|
26
|
-
readonly gap:
|
|
26
|
+
readonly gap: 12;
|
|
27
27
|
readonly stack: {
|
|
28
28
|
readonly gap: 12;
|
|
29
29
|
};
|
|
@@ -7,11 +7,11 @@ export default {
|
|
|
7
7
|
checked: {
|
|
8
8
|
color: '#101010',
|
|
9
9
|
},
|
|
10
|
-
gap:
|
|
10
|
+
gap: 12,
|
|
11
11
|
group: {
|
|
12
12
|
gap: 16,
|
|
13
13
|
stack: {
|
|
14
|
-
gap:
|
|
14
|
+
gap: 20,
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
outlineColorActive: '#d4d2c0',
|
|
@@ -23,7 +23,7 @@ export default {
|
|
|
23
23
|
borderWidthSelected: 2,
|
|
24
24
|
gap: 8,
|
|
25
25
|
group: {
|
|
26
|
-
gap:
|
|
26
|
+
gap: 12,
|
|
27
27
|
stack: {
|
|
28
28
|
gap: 12,
|
|
29
29
|
},
|
package/build/tokens/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { default as borderWidth } from './border-width';
|
|
|
13
13
|
export { default as font } from './font';
|
|
14
14
|
export { default as letterSpacing } from './letter-spacing';
|
|
15
15
|
export { default as lineHeight } from './line-height';
|
|
16
|
+
export { default as motion } from './motion';
|
|
16
17
|
export { default as space } from './space';
|
|
17
18
|
export { default as typography } from './typography';
|
|
18
19
|
export * as components from './components';
|
package/build/tokens/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export { default as borderWidth } from './border-width';
|
|
|
13
13
|
export { default as font } from './font';
|
|
14
14
|
export { default as letterSpacing } from './letter-spacing';
|
|
15
15
|
export { default as lineHeight } from './line-height';
|
|
16
|
+
export { default as motion } from './motion';
|
|
16
17
|
export { default as space } from './space';
|
|
17
18
|
export { default as typography } from './typography';
|
|
18
19
|
export * as components from './components';
|
package/build/tokens/layout.d.ts
CHANGED
|
@@ -20,11 +20,14 @@ export declare const mobile: {
|
|
|
20
20
|
readonly margin: 16;
|
|
21
21
|
};
|
|
22
22
|
readonly spacing: {
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
23
|
+
readonly '2xl': 28;
|
|
24
|
+
readonly '2xs': 2;
|
|
25
|
+
readonly lg: 16;
|
|
26
|
+
readonly md: 12;
|
|
27
|
+
readonly none: 0;
|
|
28
|
+
readonly sm: 8;
|
|
29
|
+
readonly xl: 20;
|
|
30
|
+
readonly xs: 4;
|
|
28
31
|
};
|
|
29
32
|
};
|
|
30
33
|
export declare const tablet: {
|
|
@@ -46,11 +49,14 @@ export declare const tablet: {
|
|
|
46
49
|
readonly margin: 32;
|
|
47
50
|
};
|
|
48
51
|
readonly spacing: {
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
52
|
+
readonly '2xl': 28;
|
|
53
|
+
readonly '2xs': 2;
|
|
54
|
+
readonly lg: 16;
|
|
55
|
+
readonly md: 12;
|
|
56
|
+
readonly none: 0;
|
|
57
|
+
readonly sm: 8;
|
|
58
|
+
readonly xl: 24;
|
|
59
|
+
readonly xs: 4;
|
|
54
60
|
};
|
|
55
61
|
};
|
|
56
62
|
export declare const desktop: {
|
|
@@ -72,11 +78,14 @@ export declare const desktop: {
|
|
|
72
78
|
readonly margin: 32;
|
|
73
79
|
};
|
|
74
80
|
readonly spacing: {
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
81
|
+
readonly '2xl': 40;
|
|
82
|
+
readonly '2xs': 2;
|
|
83
|
+
readonly lg: 16;
|
|
84
|
+
readonly md: 12;
|
|
85
|
+
readonly none: 0;
|
|
86
|
+
readonly sm: 8;
|
|
87
|
+
readonly xl: 24;
|
|
88
|
+
readonly xs: 4;
|
|
80
89
|
};
|
|
81
90
|
};
|
|
82
91
|
declare const layout: {
|
|
@@ -99,11 +108,14 @@ declare const layout: {
|
|
|
99
108
|
readonly margin: 16;
|
|
100
109
|
};
|
|
101
110
|
readonly spacing: {
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
111
|
+
readonly '2xl': 28;
|
|
112
|
+
readonly '2xs': 2;
|
|
113
|
+
readonly lg: 16;
|
|
114
|
+
readonly md: 12;
|
|
115
|
+
readonly none: 0;
|
|
116
|
+
readonly sm: 8;
|
|
117
|
+
readonly xl: 20;
|
|
118
|
+
readonly xs: 4;
|
|
107
119
|
};
|
|
108
120
|
};
|
|
109
121
|
readonly tablet: {
|
|
@@ -125,11 +137,14 @@ declare const layout: {
|
|
|
125
137
|
readonly margin: 32;
|
|
126
138
|
};
|
|
127
139
|
readonly spacing: {
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
140
|
+
readonly '2xl': 28;
|
|
141
|
+
readonly '2xs': 2;
|
|
142
|
+
readonly lg: 16;
|
|
143
|
+
readonly md: 12;
|
|
144
|
+
readonly none: 0;
|
|
145
|
+
readonly sm: 8;
|
|
146
|
+
readonly xl: 24;
|
|
147
|
+
readonly xs: 4;
|
|
133
148
|
};
|
|
134
149
|
};
|
|
135
150
|
readonly desktop: {
|
|
@@ -151,11 +166,14 @@ declare const layout: {
|
|
|
151
166
|
readonly margin: 32;
|
|
152
167
|
};
|
|
153
168
|
readonly spacing: {
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
169
|
+
readonly '2xl': 40;
|
|
170
|
+
readonly '2xs': 2;
|
|
171
|
+
readonly lg: 16;
|
|
172
|
+
readonly md: 12;
|
|
173
|
+
readonly none: 0;
|
|
174
|
+
readonly sm: 8;
|
|
175
|
+
readonly xl: 24;
|
|
176
|
+
readonly xs: 4;
|
|
159
177
|
};
|
|
160
178
|
};
|
|
161
179
|
};
|
package/build/tokens/layout.js
CHANGED
|
@@ -20,11 +20,14 @@ export const mobile = {
|
|
|
20
20
|
margin: 16,
|
|
21
21
|
},
|
|
22
22
|
spacing: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
'2xl': 28,
|
|
24
|
+
'2xs': 2,
|
|
25
|
+
lg: 16,
|
|
26
|
+
md: 12,
|
|
27
|
+
none: 0,
|
|
28
|
+
sm: 8,
|
|
29
|
+
xl: 20,
|
|
30
|
+
xs: 4,
|
|
28
31
|
},
|
|
29
32
|
};
|
|
30
33
|
export const tablet = {
|
|
@@ -46,11 +49,14 @@ export const tablet = {
|
|
|
46
49
|
margin: 32,
|
|
47
50
|
},
|
|
48
51
|
spacing: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
'2xl': 28,
|
|
53
|
+
'2xs': 2,
|
|
54
|
+
lg: 16,
|
|
55
|
+
md: 12,
|
|
56
|
+
none: 0,
|
|
57
|
+
sm: 8,
|
|
58
|
+
xl: 24,
|
|
59
|
+
xs: 4,
|
|
54
60
|
},
|
|
55
61
|
};
|
|
56
62
|
export const desktop = {
|
|
@@ -72,11 +78,14 @@ export const desktop = {
|
|
|
72
78
|
margin: 32,
|
|
73
79
|
},
|
|
74
80
|
spacing: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
'2xl': 40,
|
|
82
|
+
'2xs': 2,
|
|
83
|
+
lg: 16,
|
|
84
|
+
md: 12,
|
|
85
|
+
none: 0,
|
|
86
|
+
sm: 8,
|
|
87
|
+
xl: 24,
|
|
88
|
+
xs: 4,
|
|
80
89
|
},
|
|
81
90
|
};
|
|
82
91
|
const layout = { mobile, tablet, desktop };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
readonly duration: {
|
|
6
|
+
readonly '100': 130;
|
|
7
|
+
readonly '200': 160;
|
|
8
|
+
readonly '300': 190;
|
|
9
|
+
readonly '400': 220;
|
|
10
|
+
readonly '500': 250;
|
|
11
|
+
readonly '600': 300;
|
|
12
|
+
readonly '700': 350;
|
|
13
|
+
readonly '800': 400;
|
|
14
|
+
readonly '900': 450;
|
|
15
|
+
readonly '1000': 500;
|
|
16
|
+
};
|
|
17
|
+
readonly ease: {
|
|
18
|
+
readonly in: "cubic-bezier(0.42, 0, 1, 1)";
|
|
19
|
+
readonly inOut: "cubic-bezier(0, 0, 1, 1)";
|
|
20
|
+
readonly out: "cubic-bezier(0.19, 0.91, 0.38, 1)";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export default {
|
|
5
|
+
duration: {
|
|
6
|
+
'100': 130,
|
|
7
|
+
'200': 160,
|
|
8
|
+
'300': 190,
|
|
9
|
+
'400': 220,
|
|
10
|
+
'500': 250,
|
|
11
|
+
'600': 300,
|
|
12
|
+
'700': 350,
|
|
13
|
+
'800': 400,
|
|
14
|
+
'900': 450,
|
|
15
|
+
'1000': 500,
|
|
16
|
+
},
|
|
17
|
+
ease: {
|
|
18
|
+
in: 'cubic-bezier(0.42, 0, 1, 1)',
|
|
19
|
+
inOut: 'cubic-bezier(0, 0, 1, 1)',
|
|
20
|
+
out: 'cubic-bezier(0.19, 0.91, 0.38, 1)',
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -81,6 +81,25 @@ declare const _default: {
|
|
|
81
81
|
readonly '1100': 72;
|
|
82
82
|
readonly '1200': 90;
|
|
83
83
|
};
|
|
84
|
+
readonly motion: {
|
|
85
|
+
readonly duration: {
|
|
86
|
+
readonly '100': 130;
|
|
87
|
+
readonly '200': 160;
|
|
88
|
+
readonly '300': 190;
|
|
89
|
+
readonly '400': 220;
|
|
90
|
+
readonly '500': 250;
|
|
91
|
+
readonly '600': 300;
|
|
92
|
+
readonly '700': 350;
|
|
93
|
+
readonly '800': 400;
|
|
94
|
+
readonly '900': 450;
|
|
95
|
+
readonly '1000': 500;
|
|
96
|
+
};
|
|
97
|
+
readonly ease: {
|
|
98
|
+
readonly in: "cubic-bezier(0.42, 0, 1, 1)";
|
|
99
|
+
readonly inOut: "cubic-bezier(0, 0, 1, 1)";
|
|
100
|
+
readonly out: "cubic-bezier(0.19, 0.91, 0.38, 1)";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
84
103
|
readonly space: {
|
|
85
104
|
readonly '0': 0;
|
|
86
105
|
readonly '25': 2;
|
|
@@ -81,6 +81,25 @@ export default {
|
|
|
81
81
|
'1100': 72,
|
|
82
82
|
'1200': 90,
|
|
83
83
|
},
|
|
84
|
+
motion: {
|
|
85
|
+
duration: {
|
|
86
|
+
'100': 130,
|
|
87
|
+
'200': 160,
|
|
88
|
+
'300': 190,
|
|
89
|
+
'400': 220,
|
|
90
|
+
'500': 250,
|
|
91
|
+
'600': 300,
|
|
92
|
+
'700': 350,
|
|
93
|
+
'800': 400,
|
|
94
|
+
'900': 450,
|
|
95
|
+
'1000': 500,
|
|
96
|
+
},
|
|
97
|
+
ease: {
|
|
98
|
+
in: 'cubic-bezier(0.42, 0, 1, 1)',
|
|
99
|
+
inOut: 'cubic-bezier(0, 0, 1, 1)',
|
|
100
|
+
out: 'cubic-bezier(0.19, 0.91, 0.38, 1)',
|
|
101
|
+
},
|
|
102
|
+
},
|
|
84
103
|
space: {
|
|
85
104
|
'0': 0,
|
|
86
105
|
'25': 2,
|