@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
package/src/core/themes.ts
CHANGED
|
@@ -36,6 +36,42 @@ const shared = {
|
|
|
36
36
|
'4/6': '66.666%',
|
|
37
37
|
'5/6': '83.333%',
|
|
38
38
|
full: '100%' as DimensionValue,
|
|
39
|
+
none: 0,
|
|
40
|
+
'2xs': {
|
|
41
|
+
base: layout.mobile.spacing['2xs'],
|
|
42
|
+
md: layout.tablet.spacing['2xs'],
|
|
43
|
+
lg: layout.desktop.spacing['2xs'],
|
|
44
|
+
},
|
|
45
|
+
xs: {
|
|
46
|
+
base: layout.mobile.spacing.xs,
|
|
47
|
+
md: layout.tablet.spacing.xs,
|
|
48
|
+
lg: layout.desktop.spacing.xs,
|
|
49
|
+
},
|
|
50
|
+
sm: {
|
|
51
|
+
base: layout.mobile.spacing.sm,
|
|
52
|
+
md: layout.tablet.spacing.sm,
|
|
53
|
+
lg: layout.desktop.spacing.sm,
|
|
54
|
+
},
|
|
55
|
+
md: {
|
|
56
|
+
base: layout.mobile.spacing.md,
|
|
57
|
+
md: layout.tablet.spacing.md,
|
|
58
|
+
lg: layout.desktop.spacing.md,
|
|
59
|
+
},
|
|
60
|
+
lg: {
|
|
61
|
+
base: layout.mobile.spacing.lg,
|
|
62
|
+
md: layout.tablet.spacing.lg,
|
|
63
|
+
lg: layout.desktop.spacing.lg,
|
|
64
|
+
},
|
|
65
|
+
xl: {
|
|
66
|
+
base: layout.mobile.spacing.xl,
|
|
67
|
+
md: layout.tablet.spacing.xl,
|
|
68
|
+
lg: layout.desktop.spacing.xl,
|
|
69
|
+
},
|
|
70
|
+
'2xl': {
|
|
71
|
+
base: layout.mobile.spacing['2xl'],
|
|
72
|
+
md: layout.tablet.spacing['2xl'],
|
|
73
|
+
lg: layout.desktop.spacing['2xl'],
|
|
74
|
+
},
|
|
39
75
|
},
|
|
40
76
|
borderWidth,
|
|
41
77
|
borderRadius,
|
|
@@ -169,7 +205,20 @@ const shared = {
|
|
|
169
205
|
},
|
|
170
206
|
},
|
|
171
207
|
space: {
|
|
172
|
-
none: {
|
|
208
|
+
none: {
|
|
209
|
+
gap: {
|
|
210
|
+
base: layout.mobile.spacing.none,
|
|
211
|
+
md: layout.tablet.spacing.none,
|
|
212
|
+
lg: layout.desktop.spacing.none,
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
'2xs': {
|
|
216
|
+
gap: {
|
|
217
|
+
base: layout.mobile.spacing['2xs'],
|
|
218
|
+
md: layout.tablet.spacing['2xs'],
|
|
219
|
+
lg: layout.desktop.spacing['2xs'],
|
|
220
|
+
},
|
|
221
|
+
},
|
|
173
222
|
xs: {
|
|
174
223
|
gap: {
|
|
175
224
|
base: layout.mobile.spacing.xs,
|
|
@@ -205,6 +254,13 @@ const shared = {
|
|
|
205
254
|
lg: layout.desktop.spacing.xl,
|
|
206
255
|
},
|
|
207
256
|
},
|
|
257
|
+
'2xl': {
|
|
258
|
+
gap: {
|
|
259
|
+
base: layout.mobile.spacing['2xl'],
|
|
260
|
+
md: layout.tablet.spacing['2xl'],
|
|
261
|
+
lg: layout.desktop.spacing['2xl'],
|
|
262
|
+
},
|
|
263
|
+
},
|
|
208
264
|
},
|
|
209
265
|
},
|
|
210
266
|
},
|
package/src/tokens/color.ts
CHANGED
|
@@ -243,55 +243,55 @@ export const light = {
|
|
|
243
243
|
danger: {
|
|
244
244
|
border: '#de2612',
|
|
245
245
|
foreground: {
|
|
246
|
-
default: '#
|
|
246
|
+
default: '#101010',
|
|
247
247
|
subtle: '#de2612',
|
|
248
248
|
},
|
|
249
249
|
surface: {
|
|
250
|
-
default: '#
|
|
251
|
-
subtle: '#
|
|
250
|
+
default: '#ff634a',
|
|
251
|
+
subtle: '#ffa89d',
|
|
252
252
|
},
|
|
253
253
|
},
|
|
254
254
|
functional: {
|
|
255
|
-
border: '#
|
|
255
|
+
border: '#5b5b5b',
|
|
256
256
|
foreground: {
|
|
257
|
-
default: '#
|
|
258
|
-
subtle: '#
|
|
257
|
+
default: '#101010',
|
|
258
|
+
subtle: '#5b5b5b',
|
|
259
259
|
},
|
|
260
260
|
surface: {
|
|
261
|
-
default: '#
|
|
261
|
+
default: '#919191',
|
|
262
262
|
subtle: '#d3d3d3',
|
|
263
263
|
},
|
|
264
264
|
},
|
|
265
265
|
info: {
|
|
266
266
|
border: '#1c6cd4',
|
|
267
267
|
foreground: {
|
|
268
|
-
default: '#
|
|
268
|
+
default: '#101010',
|
|
269
269
|
subtle: '#1c6cd4',
|
|
270
270
|
},
|
|
271
271
|
surface: {
|
|
272
|
-
default: '#
|
|
272
|
+
default: '#6bb0ff',
|
|
273
273
|
subtle: '#bcddff',
|
|
274
274
|
},
|
|
275
275
|
},
|
|
276
276
|
positive: {
|
|
277
277
|
border: '#0f834a',
|
|
278
278
|
foreground: {
|
|
279
|
-
default: '#
|
|
279
|
+
default: '#101010',
|
|
280
280
|
subtle: '#0f834a',
|
|
281
281
|
},
|
|
282
282
|
surface: {
|
|
283
|
-
default: '#
|
|
283
|
+
default: '#36bf7d',
|
|
284
284
|
subtle: '#a2e2c3',
|
|
285
285
|
},
|
|
286
286
|
},
|
|
287
287
|
warning: {
|
|
288
288
|
border: '#be5400',
|
|
289
289
|
foreground: {
|
|
290
|
-
default: '#
|
|
290
|
+
default: '#101010',
|
|
291
291
|
subtle: '#be5400',
|
|
292
292
|
},
|
|
293
293
|
surface: {
|
|
294
|
-
default: '#
|
|
294
|
+
default: '#ff8010',
|
|
295
295
|
subtle: '#ffcca8',
|
|
296
296
|
},
|
|
297
297
|
},
|
|
@@ -364,14 +364,14 @@ export const light = {
|
|
|
364
364
|
},
|
|
365
365
|
functional: {
|
|
366
366
|
border: {
|
|
367
|
+
inverted: '#f7f7f7',
|
|
367
368
|
strong: '#101010',
|
|
368
369
|
subtle: '#101010',
|
|
369
|
-
inverted: '#f7f7f7',
|
|
370
370
|
},
|
|
371
371
|
foreground: {
|
|
372
|
+
inverted: '#f7f7f7',
|
|
372
373
|
strong: '#fcfbf2',
|
|
373
374
|
subtle: '#101010',
|
|
374
|
-
inverted: '#f7f7f7',
|
|
375
375
|
},
|
|
376
376
|
surface: {
|
|
377
377
|
strong: {
|
|
@@ -469,15 +469,17 @@ export const light = {
|
|
|
469
469
|
},
|
|
470
470
|
},
|
|
471
471
|
text: {
|
|
472
|
+
affirmative: '#0f834a',
|
|
473
|
+
brand: '#7a42c8',
|
|
472
474
|
inverted: '#fcfbf2',
|
|
473
475
|
primary: '#101010',
|
|
474
|
-
secondary: '#
|
|
476
|
+
secondary: '#5b5b5b',
|
|
475
477
|
},
|
|
476
478
|
} as const;
|
|
477
479
|
|
|
478
480
|
export const dark = {
|
|
479
481
|
background: {
|
|
480
|
-
brand: '#
|
|
482
|
+
brand: '#7a42c8',
|
|
481
483
|
primary: '#191917',
|
|
482
484
|
secondary: '#232323',
|
|
483
485
|
},
|
|
@@ -489,56 +491,56 @@ export const dark = {
|
|
|
489
491
|
danger: {
|
|
490
492
|
border: '#ff7964',
|
|
491
493
|
foreground: {
|
|
492
|
-
default: '#
|
|
494
|
+
default: '#101010',
|
|
493
495
|
subtle: '#ff7964',
|
|
494
496
|
},
|
|
495
497
|
surface: {
|
|
496
|
-
default: '#
|
|
497
|
-
subtle: '#
|
|
498
|
+
default: '#ff634a',
|
|
499
|
+
subtle: '#ffa89d',
|
|
498
500
|
},
|
|
499
501
|
},
|
|
500
502
|
functional: {
|
|
501
503
|
border: '#b2afae',
|
|
502
504
|
foreground: {
|
|
503
|
-
default: '#
|
|
505
|
+
default: '#101010',
|
|
504
506
|
subtle: '#b2afae',
|
|
505
507
|
},
|
|
506
508
|
surface: {
|
|
507
|
-
default: '#
|
|
508
|
-
subtle: '#
|
|
509
|
+
default: '#919191',
|
|
510
|
+
subtle: '#d3d3d3',
|
|
509
511
|
},
|
|
510
512
|
},
|
|
511
513
|
info: {
|
|
512
514
|
border: '#6bb0ff',
|
|
513
515
|
foreground: {
|
|
514
|
-
default: '#
|
|
516
|
+
default: '#101010',
|
|
515
517
|
subtle: '#6bb0ff',
|
|
516
518
|
},
|
|
517
519
|
surface: {
|
|
518
|
-
default: '#
|
|
519
|
-
subtle: '#
|
|
520
|
+
default: '#6bb0ff',
|
|
521
|
+
subtle: '#bcddff',
|
|
520
522
|
},
|
|
521
523
|
},
|
|
522
524
|
positive: {
|
|
523
525
|
border: '#58ca93',
|
|
524
526
|
foreground: {
|
|
525
|
-
default: '#
|
|
527
|
+
default: '#101010',
|
|
526
528
|
subtle: '#58ca93',
|
|
527
529
|
},
|
|
528
530
|
surface: {
|
|
529
|
-
default: '#
|
|
530
|
-
subtle: '#
|
|
531
|
+
default: '#36bf7d',
|
|
532
|
+
subtle: '#a2e2c3',
|
|
531
533
|
},
|
|
532
534
|
},
|
|
533
535
|
warning: {
|
|
534
536
|
border: '#ff9639',
|
|
535
537
|
foreground: {
|
|
536
|
-
default: '#
|
|
538
|
+
default: '#101010',
|
|
537
539
|
subtle: '#ff9639',
|
|
538
540
|
},
|
|
539
541
|
surface: {
|
|
540
|
-
default: '#
|
|
541
|
-
subtle: '#
|
|
542
|
+
default: '#ff8010',
|
|
543
|
+
subtle: '#ffcca8',
|
|
542
544
|
},
|
|
543
545
|
},
|
|
544
546
|
},
|
|
@@ -553,7 +555,7 @@ export const dark = {
|
|
|
553
555
|
interactive: {
|
|
554
556
|
affirmative: {
|
|
555
557
|
border: {
|
|
556
|
-
strong: '#
|
|
558
|
+
strong: '#101010',
|
|
557
559
|
subtle: '#58ca93',
|
|
558
560
|
},
|
|
559
561
|
foreground: {
|
|
@@ -589,7 +591,7 @@ export const dark = {
|
|
|
589
591
|
},
|
|
590
592
|
destructive: {
|
|
591
593
|
border: {
|
|
592
|
-
strong: '#
|
|
594
|
+
strong: '#101010',
|
|
593
595
|
subtle: '#ff7964',
|
|
594
596
|
},
|
|
595
597
|
foreground: {
|
|
@@ -610,14 +612,14 @@ export const dark = {
|
|
|
610
612
|
},
|
|
611
613
|
functional: {
|
|
612
614
|
border: {
|
|
615
|
+
inverted: '#f7f7f7',
|
|
613
616
|
strong: '#ebebeb',
|
|
614
617
|
subtle: '#ebebeb',
|
|
615
|
-
inverted: '#f7f7f7',
|
|
616
618
|
},
|
|
617
619
|
foreground: {
|
|
620
|
+
inverted: '#f7f7f7',
|
|
618
621
|
strong: '#fcfbf2',
|
|
619
622
|
subtle: '#ebebeb',
|
|
620
|
-
inverted: '#f7f7f7',
|
|
621
623
|
},
|
|
622
624
|
surface: {
|
|
623
625
|
strong: {
|
|
@@ -629,15 +631,15 @@ export const dark = {
|
|
|
629
631
|
active: '#4c4c4c',
|
|
630
632
|
hover: '#3a3837',
|
|
631
633
|
inverted: {
|
|
632
|
-
active: '#
|
|
633
|
-
hover: '#
|
|
634
|
+
active: '#3a3837',
|
|
635
|
+
hover: '#3f3f3f',
|
|
634
636
|
},
|
|
635
637
|
},
|
|
636
638
|
},
|
|
637
639
|
},
|
|
638
640
|
highlight: {
|
|
639
641
|
border: {
|
|
640
|
-
strong: '#
|
|
642
|
+
strong: '#101010',
|
|
641
643
|
},
|
|
642
644
|
foreground: {
|
|
643
645
|
strong: '#101010',
|
|
@@ -715,7 +717,9 @@ export const dark = {
|
|
|
715
717
|
},
|
|
716
718
|
},
|
|
717
719
|
text: {
|
|
718
|
-
|
|
720
|
+
affirmative: '#58ca93',
|
|
721
|
+
brand: '#af90de',
|
|
722
|
+
inverted: '#fcfbf2',
|
|
719
723
|
primary: '#ebebeb',
|
|
720
724
|
secondary: '#b2afae',
|
|
721
725
|
},
|
|
@@ -6,6 +6,19 @@ export default {
|
|
|
6
6
|
borderRadius: 8,
|
|
7
7
|
borderWidth: 2,
|
|
8
8
|
contentGap: 4,
|
|
9
|
+
focus: '#101010',
|
|
9
10
|
gap: 8,
|
|
11
|
+
iconButton: {
|
|
12
|
+
unstyled: {
|
|
13
|
+
foregroundColor: '#101010',
|
|
14
|
+
foregroundColorActive: '#3f3f3f',
|
|
15
|
+
foregroundColorHover: '#3a3837',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
link: {
|
|
19
|
+
color: '#101010',
|
|
20
|
+
colorActive: '#3f3f3f',
|
|
21
|
+
colorHover: '#3a3837',
|
|
22
|
+
},
|
|
10
23
|
padding: 14,
|
|
11
24
|
} as const;
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
|
+
iconButton: {
|
|
7
|
+
unstyled: {
|
|
8
|
+
foregroundColor: '#101010',
|
|
9
|
+
foregroundColorActive: '#3f3f3f',
|
|
10
|
+
foregroundColorHover: '#3a3837',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
6
13
|
borderRadius: 8,
|
|
7
14
|
md: {
|
|
8
15
|
height: 48,
|
|
@@ -21,9 +28,9 @@ export default {
|
|
|
21
28
|
foregroundColorActive: '#b2afae',
|
|
22
29
|
foregroundColorHover: '#d3d3d3',
|
|
23
30
|
inverted: {
|
|
24
|
-
foregroundColor: '#
|
|
25
|
-
foregroundColorActive: '#
|
|
26
|
-
foregroundColorHover: '#
|
|
31
|
+
foregroundColor: '#f7f7f7',
|
|
32
|
+
foregroundColorActive: '#b2afae',
|
|
33
|
+
foregroundColorHover: '#d3d3d3',
|
|
27
34
|
},
|
|
28
35
|
md: {
|
|
29
36
|
height: 24,
|
|
@@ -34,6 +34,7 @@ export { default as overlay } from './overlay';
|
|
|
34
34
|
export { default as pagination } from './pagination';
|
|
35
35
|
export { default as parts } from './parts';
|
|
36
36
|
export { default as pill } from './pill';
|
|
37
|
+
export { default as progressBar } from './progress-bar';
|
|
37
38
|
export { default as progressStepper } from './progress-stepper';
|
|
38
39
|
export { default as radio } from './radio';
|
|
39
40
|
export { default as sectionHeader } from './section-header';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
barColor: '#4c473d',
|
|
7
|
+
circular: {
|
|
8
|
+
md: {
|
|
9
|
+
bar: {
|
|
10
|
+
width: 12,
|
|
11
|
+
},
|
|
12
|
+
gap: 0,
|
|
13
|
+
height: 140,
|
|
14
|
+
label: {
|
|
15
|
+
fontFamily: 'DM Sans',
|
|
16
|
+
fontSize: 24,
|
|
17
|
+
fontWeight: 400,
|
|
18
|
+
lineHeight: 24,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
sm: {
|
|
22
|
+
barWidth: 8,
|
|
23
|
+
height: 80,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
linear: {
|
|
27
|
+
bar: {
|
|
28
|
+
borderRadius: 9999,
|
|
29
|
+
height: 12,
|
|
30
|
+
},
|
|
31
|
+
gap: 8,
|
|
32
|
+
label: {
|
|
33
|
+
gap: 8,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
progress: {
|
|
37
|
+
dangerColor: '#ff634a',
|
|
38
|
+
defaultColor: '#c6b5e2',
|
|
39
|
+
successColor: '#36bf7d',
|
|
40
|
+
},
|
|
41
|
+
} as const;
|
|
@@ -6,6 +6,19 @@ export default {
|
|
|
6
6
|
borderRadius: 8,
|
|
7
7
|
borderWidth: 2,
|
|
8
8
|
contentGap: 4,
|
|
9
|
+
focus: '#101010',
|
|
9
10
|
gap: 8,
|
|
11
|
+
iconButton: {
|
|
12
|
+
unstyled: {
|
|
13
|
+
foregroundColor: '#101010',
|
|
14
|
+
foregroundColorActive: '#3f3f3f',
|
|
15
|
+
foregroundColorHover: '#3a3837',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
link: {
|
|
19
|
+
color: '#101010',
|
|
20
|
+
colorActive: '#3f3f3f',
|
|
21
|
+
colorHover: '#3a3837',
|
|
22
|
+
},
|
|
10
23
|
padding: 14,
|
|
11
24
|
} as const;
|
|
@@ -7,12 +7,15 @@ export default {
|
|
|
7
7
|
borderWidth: 2,
|
|
8
8
|
checked: {
|
|
9
9
|
backgroundColor: '#101010',
|
|
10
|
+
icon: {
|
|
11
|
+
color: '#fcfbf2',
|
|
12
|
+
},
|
|
10
13
|
},
|
|
11
|
-
gap:
|
|
14
|
+
gap: 12,
|
|
12
15
|
group: {
|
|
13
16
|
gap: 16,
|
|
14
17
|
stack: {
|
|
15
|
-
gap:
|
|
18
|
+
gap: 20,
|
|
16
19
|
},
|
|
17
20
|
},
|
|
18
21
|
outlineColorActive: '#d4d2c0',
|
|
@@ -22,7 +25,7 @@ export default {
|
|
|
22
25
|
borderRadius: 8,
|
|
23
26
|
borderWidth: 1,
|
|
24
27
|
borderWidthSelected: 2,
|
|
25
|
-
gap:
|
|
28
|
+
gap: 12,
|
|
26
29
|
group: {
|
|
27
30
|
gap: 6,
|
|
28
31
|
stack: {
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
|
+
iconButton: {
|
|
7
|
+
unstyled: {
|
|
8
|
+
foregroundColor: '#101010',
|
|
9
|
+
foregroundColorActive: '#3f3f3f',
|
|
10
|
+
foregroundColorHover: '#3a3837',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
6
13
|
borderRadius: 8,
|
|
7
14
|
md: {
|
|
8
15
|
height: 48,
|
|
@@ -22,7 +29,7 @@ export default {
|
|
|
22
29
|
foregroundColorHover: '#3a3837',
|
|
23
30
|
inverted: {
|
|
24
31
|
foregroundColor: '#f7f7f7',
|
|
25
|
-
foregroundColorActive: '#
|
|
32
|
+
foregroundColorActive: '#b2afae',
|
|
26
33
|
foregroundColorHover: '#d3d3d3',
|
|
27
34
|
},
|
|
28
35
|
md: {
|
|
@@ -34,6 +34,7 @@ export { default as overlay } from './overlay';
|
|
|
34
34
|
export { default as pagination } from './pagination';
|
|
35
35
|
export { default as parts } from './parts';
|
|
36
36
|
export { default as pill } from './pill';
|
|
37
|
+
export { default as progressBar } from './progress-bar';
|
|
37
38
|
export { default as progressStepper } from './progress-stepper';
|
|
38
39
|
export { default as radio } from './radio';
|
|
39
40
|
export { default as sectionHeader } from './section-header';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
barColor: '#f1efe4',
|
|
7
|
+
circular: {
|
|
8
|
+
md: {
|
|
9
|
+
bar: {
|
|
10
|
+
width: 12,
|
|
11
|
+
},
|
|
12
|
+
gap: 0,
|
|
13
|
+
height: 140,
|
|
14
|
+
label: {
|
|
15
|
+
fontFamily: 'DM Sans',
|
|
16
|
+
fontSize: 24,
|
|
17
|
+
fontWeight: 400,
|
|
18
|
+
lineHeight: 24,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
sm: {
|
|
22
|
+
barWidth: 8,
|
|
23
|
+
height: 80,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
linear: {
|
|
27
|
+
bar: {
|
|
28
|
+
borderRadius: 9999,
|
|
29
|
+
height: 12,
|
|
30
|
+
},
|
|
31
|
+
gap: 8,
|
|
32
|
+
label: {
|
|
33
|
+
gap: 8,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
progress: {
|
|
37
|
+
dangerColor: '#f4412a',
|
|
38
|
+
defaultColor: '#26164f',
|
|
39
|
+
successColor: '#19a660',
|
|
40
|
+
},
|
|
41
|
+
} as const;
|
|
@@ -8,11 +8,11 @@ export default {
|
|
|
8
8
|
checked: {
|
|
9
9
|
color: '#101010',
|
|
10
10
|
},
|
|
11
|
-
gap:
|
|
11
|
+
gap: 12,
|
|
12
12
|
group: {
|
|
13
13
|
gap: 16,
|
|
14
14
|
stack: {
|
|
15
|
-
gap:
|
|
15
|
+
gap: 20,
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
outlineColorActive: '#d4d2c0',
|
|
@@ -24,7 +24,7 @@ export default {
|
|
|
24
24
|
borderWidthSelected: 2,
|
|
25
25
|
gap: 8,
|
|
26
26
|
group: {
|
|
27
|
-
gap:
|
|
27
|
+
gap: 12,
|
|
28
28
|
stack: {
|
|
29
29
|
gap: 12,
|
|
30
30
|
},
|
package/src/tokens/index.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { default as borderWidth } from './border-width';
|
|
|
14
14
|
export { default as font } from './font';
|
|
15
15
|
export { default as letterSpacing } from './letter-spacing';
|
|
16
16
|
export { default as lineHeight } from './line-height';
|
|
17
|
+
export { default as motion } from './motion';
|
|
17
18
|
export { default as space } from './space';
|
|
18
19
|
export { default as typography } from './typography';
|
|
19
20
|
export * as components from './components';
|