@utilitywarehouse/hearth-react-native 0.31.0 → 0.32.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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +13 -13
- package/CHANGELOG.md +71 -0
- package/build/components/Rating/Rating.d.ts +6 -0
- package/build/components/Rating/Rating.js +76 -0
- package/build/components/Rating/Rating.props.d.ts +18 -0
- package/build/components/Rating/Rating.props.js +1 -0
- package/build/components/Rating/RatingStarEmpty.d.ts +6 -0
- package/build/components/Rating/RatingStarEmpty.js +9 -0
- package/build/components/Rating/RatingStarFilled.d.ts +6 -0
- package/build/components/Rating/RatingStarFilled.js +9 -0
- package/build/components/Rating/index.d.ts +2 -0
- package/build/components/Rating/index.js +1 -0
- package/build/components/Roundel/Roundel.d.ts +6 -0
- package/build/components/Roundel/Roundel.js +40 -0
- package/build/components/Roundel/Roundel.props.d.ts +6 -0
- package/build/components/Roundel/Roundel.props.js +1 -0
- package/build/components/Roundel/index.d.ts +2 -0
- package/build/components/Roundel/index.js +1 -0
- package/build/components/StepperInput/StepperButton.d.ts +22 -0
- package/build/components/StepperInput/StepperButton.js +55 -0
- package/build/components/StepperInput/StepperInput.d.ts +6 -0
- package/build/components/StepperInput/StepperInput.js +196 -0
- package/build/components/StepperInput/StepperInput.props.d.ts +31 -0
- package/build/components/StepperInput/StepperInput.props.js +1 -0
- package/build/components/StepperInput/index.d.ts +2 -0
- package/build/components/StepperInput/index.js +1 -0
- package/build/components/Table/TableHeaderCell.js +10 -1
- package/build/components/Textarea/Textarea.d.ts +1 -1
- package/build/components/Textarea/Textarea.js +10 -3
- package/build/components/Textarea/Textarea.props.d.ts +11 -0
- package/build/components/index.d.ts +3 -0
- package/build/components/index.js +3 -0
- package/build/core/themes.d.ts +92 -88
- package/build/tokens/color.d.ts +82 -80
- package/build/tokens/color.js +41 -40
- package/build/tokens/components/dark/alert.d.ts +6 -6
- package/build/tokens/components/dark/alert.js +6 -6
- package/build/tokens/components/dark/bottom-navigation.d.ts +2 -2
- package/build/tokens/components/dark/bottom-navigation.js +2 -2
- package/build/tokens/components/dark/checkbox.d.ts +1 -1
- package/build/tokens/components/dark/checkbox.js +1 -1
- package/build/tokens/components/dark/icon-button.d.ts +3 -3
- package/build/tokens/components/dark/icon-button.js +3 -3
- package/build/tokens/components/dark/inline-link.d.ts +1 -1
- package/build/tokens/components/dark/inline-link.js +1 -1
- package/build/tokens/components/dark/link.d.ts +3 -3
- package/build/tokens/components/dark/link.js +3 -3
- package/build/tokens/components/dark/navigation.d.ts +2 -2
- package/build/tokens/components/dark/navigation.js +2 -2
- package/build/tokens/components/dark/parts.d.ts +2 -2
- package/build/tokens/components/dark/parts.js +2 -2
- package/build/tokens/components/dark/progress-bar.d.ts +3 -3
- package/build/tokens/components/dark/progress-bar.js +3 -3
- package/build/tokens/components/dark/progress-stepper.d.ts +1 -1
- package/build/tokens/components/dark/progress-stepper.js +1 -1
- package/build/tokens/components/dark/spinner.d.ts +1 -1
- package/build/tokens/components/dark/spinner.js +1 -1
- package/build/tokens/components/dark/table.d.ts +2 -0
- package/build/tokens/components/dark/table.js +2 -0
- package/build/tokens/components/dark/time-picker.d.ts +1 -0
- package/build/tokens/components/dark/time-picker.js +1 -0
- package/build/tokens/components/light/parts.d.ts +3 -3
- package/build/tokens/components/light/parts.js +3 -3
- package/build/tokens/components/light/table.d.ts +2 -0
- package/build/tokens/components/light/table.js +2 -0
- package/build/tokens/components/light/time-picker.d.ts +1 -0
- package/build/tokens/components/light/time-picker.js +1 -0
- package/build/tokens/semantic-dark.d.ts +40 -40
- package/build/tokens/semantic-dark.js +40 -40
- package/docs/adding-shadows.mdx +2 -2
- package/docs/changelog.mdx +165 -0
- package/docs/components/AllComponents.web.tsx +30 -1
- package/docs/dark-mode-best-practice.mdx +328 -0
- package/package.json +1 -1
- package/src/components/Modal/Modal.docs.mdx +58 -4
- package/src/components/NavModal/NavModal.docs.mdx +2 -2
- package/src/components/Rating/Rating.docs.mdx +178 -0
- package/src/components/Rating/Rating.figma.tsx +20 -0
- package/src/components/Rating/Rating.props.ts +22 -0
- package/src/components/Rating/Rating.stories.tsx +95 -0
- package/src/components/Rating/Rating.tsx +140 -0
- package/src/components/Rating/RatingStarEmpty.tsx +22 -0
- package/src/components/Rating/RatingStarFilled.tsx +27 -0
- package/src/components/Rating/index.ts +2 -0
- package/src/components/Roundel/Roundel.docs.mdx +48 -0
- package/src/components/Roundel/Roundel.figma.tsx +17 -0
- package/src/components/Roundel/Roundel.props.ts +8 -0
- package/src/components/Roundel/Roundel.stories.tsx +49 -0
- package/src/components/Roundel/Roundel.tsx +51 -0
- package/src/components/Roundel/index.ts +2 -0
- package/src/components/StepperInput/StepperButton.tsx +83 -0
- package/src/components/StepperInput/StepperInput.docs.mdx +121 -0
- package/src/components/StepperInput/StepperInput.figma.tsx +45 -0
- package/src/components/StepperInput/StepperInput.props.ts +39 -0
- package/src/components/StepperInput/StepperInput.stories.tsx +270 -0
- package/src/components/StepperInput/StepperInput.tsx +349 -0
- package/src/components/StepperInput/index.ts +2 -0
- package/src/components/Table/TableHeaderCell.tsx +10 -1
- package/src/components/Textarea/Textarea.docs.mdx +2 -0
- package/src/components/Textarea/Textarea.props.ts +11 -0
- package/src/components/Textarea/Textarea.stories.tsx +14 -0
- package/src/components/Textarea/Textarea.tsx +11 -2
- package/src/components/index.ts +3 -0
- package/src/tokens/color.ts +41 -40
- package/src/tokens/components/dark/alert.ts +6 -6
- package/src/tokens/components/dark/bottom-navigation.ts +2 -2
- package/src/tokens/components/dark/checkbox.ts +1 -1
- package/src/tokens/components/dark/icon-button.ts +3 -3
- package/src/tokens/components/dark/inline-link.ts +1 -1
- package/src/tokens/components/dark/link.ts +3 -3
- package/src/tokens/components/dark/navigation.ts +2 -2
- package/src/tokens/components/dark/parts.ts +2 -2
- package/src/tokens/components/dark/progress-bar.ts +3 -3
- package/src/tokens/components/dark/progress-stepper.ts +1 -1
- package/src/tokens/components/dark/spinner.ts +1 -1
- package/src/tokens/components/dark/table.ts +2 -0
- package/src/tokens/components/dark/time-picker.ts +1 -0
- package/src/tokens/components/light/parts.ts +3 -3
- package/src/tokens/components/light/table.ts +2 -0
- package/src/tokens/components/light/time-picker.ts +1 -0
- package/src/tokens/semantic-dark.ts +40 -40
- package/vercel.json +0 -21
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
export default {
|
|
6
6
|
iconButton: {
|
|
7
7
|
unstyled: {
|
|
8
|
-
foregroundColor: '#
|
|
9
|
-
foregroundColorActive: '#
|
|
10
|
-
foregroundColorHover: '#
|
|
8
|
+
foregroundColor: '#ebebeb',
|
|
9
|
+
foregroundColorActive: '#b2afae',
|
|
10
|
+
foregroundColorHover: '#d3d3d3',
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
13
|
borderRadius: 8,
|
|
@@ -7,12 +7,12 @@ export default {
|
|
|
7
7
|
borderRadiusNone: 0,
|
|
8
8
|
borderRadiusRounded: 4,
|
|
9
9
|
},
|
|
10
|
-
borderBottom: '#
|
|
10
|
+
borderBottom: '#996cda',
|
|
11
11
|
borderRadius: 6,
|
|
12
12
|
desktop: {
|
|
13
13
|
height: 88,
|
|
14
14
|
},
|
|
15
|
-
dividerBorderColor: '#
|
|
15
|
+
dividerBorderColor: '#996cda',
|
|
16
16
|
gap: 4,
|
|
17
17
|
mobile: {
|
|
18
18
|
height: 64,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
homeIndicator: {
|
|
7
|
-
foregroundColor: '#
|
|
7
|
+
foregroundColor: '#101010',
|
|
8
8
|
foregroundColorInverted: '#ffffff',
|
|
9
9
|
},
|
|
10
10
|
modalStack: {
|
|
@@ -26,8 +26,8 @@ export default {
|
|
|
26
26
|
borderRadius: 9999,
|
|
27
27
|
},
|
|
28
28
|
statusBar: {
|
|
29
|
-
foregroundColor: '#
|
|
29
|
+
foregroundColor: '#101010',
|
|
30
30
|
foregroundColorInverted: '#ffffff',
|
|
31
|
-
notch: '#
|
|
31
|
+
notch: '#101010',
|
|
32
32
|
},
|
|
33
33
|
} as const;
|
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
background: {
|
|
7
|
-
brand: '#
|
|
7
|
+
brand: '#442484',
|
|
8
8
|
loading: '#30302c',
|
|
9
9
|
primary: '#191917',
|
|
10
|
-
secondary: '#
|
|
10
|
+
secondary: '#2f2d2d',
|
|
11
11
|
},
|
|
12
12
|
border: {
|
|
13
|
-
strong: '#
|
|
14
|
-
subtle: '#
|
|
13
|
+
strong: '#888888',
|
|
14
|
+
subtle: '#5b5b5b',
|
|
15
15
|
},
|
|
16
16
|
feedback: {
|
|
17
17
|
danger: {
|
|
18
|
-
border: '#
|
|
18
|
+
border: '#f4412a',
|
|
19
19
|
foreground: {
|
|
20
|
-
default: '#
|
|
20
|
+
default: '#ffffff',
|
|
21
21
|
subtle: '#ff7964',
|
|
22
22
|
},
|
|
23
23
|
surface: {
|
|
24
|
-
default: '#
|
|
25
|
-
subtle: '#
|
|
24
|
+
default: '#de2612',
|
|
25
|
+
subtle: '#6b1f1a',
|
|
26
26
|
},
|
|
27
27
|
},
|
|
28
28
|
functional: {
|
|
@@ -37,36 +37,36 @@ export default {
|
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
39
|
info: {
|
|
40
|
-
border: '#
|
|
40
|
+
border: '#2786f1',
|
|
41
41
|
foreground: {
|
|
42
|
-
default: '#
|
|
42
|
+
default: '#ffffff',
|
|
43
43
|
subtle: '#6bb0ff',
|
|
44
44
|
},
|
|
45
45
|
surface: {
|
|
46
|
-
default: '#
|
|
47
|
-
subtle: '#
|
|
46
|
+
default: '#1c6cd4',
|
|
47
|
+
subtle: '#0b3375',
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
50
|
positive: {
|
|
51
|
-
border: '#
|
|
51
|
+
border: '#19a660',
|
|
52
52
|
foreground: {
|
|
53
|
-
default: '#
|
|
53
|
+
default: '#ffffff',
|
|
54
54
|
subtle: '#58ca93',
|
|
55
55
|
},
|
|
56
56
|
surface: {
|
|
57
|
-
default: '#
|
|
58
|
-
subtle: '#
|
|
57
|
+
default: '#0f834a',
|
|
58
|
+
subtle: '#074b2a',
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
warning: {
|
|
62
|
-
border: '#
|
|
62
|
+
border: '#f56e00',
|
|
63
63
|
foreground: {
|
|
64
|
-
default: '#
|
|
64
|
+
default: '#ffffff',
|
|
65
65
|
subtle: '#ff9639',
|
|
66
66
|
},
|
|
67
67
|
surface: {
|
|
68
|
-
default: '#
|
|
69
|
-
subtle: '#
|
|
68
|
+
default: '#cf5d00',
|
|
69
|
+
subtle: '#893900',
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
72
|
},
|
|
@@ -109,9 +109,9 @@ export default {
|
|
|
109
109
|
},
|
|
110
110
|
surface: {
|
|
111
111
|
strong: {
|
|
112
|
-
active: '#
|
|
113
|
-
default: '#
|
|
114
|
-
hover: '#
|
|
112
|
+
active: '#ddd5eb',
|
|
113
|
+
default: '#af90de',
|
|
114
|
+
hover: '#c6b5e2',
|
|
115
115
|
},
|
|
116
116
|
},
|
|
117
117
|
},
|
|
@@ -197,52 +197,52 @@ export default {
|
|
|
197
197
|
disabled: 50,
|
|
198
198
|
},
|
|
199
199
|
shadow: {
|
|
200
|
-
brand: '#
|
|
201
|
-
broadband: '#
|
|
202
|
-
cashback: '#
|
|
203
|
-
default: '#
|
|
204
|
-
energy: '#
|
|
205
|
-
insurance: '#
|
|
206
|
-
mobile: '#
|
|
207
|
-
pig: '#
|
|
200
|
+
brand: '#442484',
|
|
201
|
+
broadband: '#4f6b20',
|
|
202
|
+
cashback: '#7429b5',
|
|
203
|
+
default: '#3f3f3f',
|
|
204
|
+
energy: '#2c6370',
|
|
205
|
+
insurance: '#7f4518',
|
|
206
|
+
mobile: '#8a3260',
|
|
207
|
+
pig: '#7a1f7e',
|
|
208
208
|
},
|
|
209
209
|
surface: {
|
|
210
210
|
brand: {
|
|
211
|
-
default: '#
|
|
211
|
+
default: '#af90de',
|
|
212
212
|
strong: '#26164f',
|
|
213
213
|
subtle: '#442484',
|
|
214
214
|
},
|
|
215
215
|
broadband: {
|
|
216
216
|
default: '#506c21',
|
|
217
|
-
subtle: '#
|
|
217
|
+
subtle: '#4f6b20',
|
|
218
218
|
},
|
|
219
219
|
cashback: {
|
|
220
220
|
default: '#8b2bc9',
|
|
221
|
-
subtle: '#
|
|
221
|
+
subtle: '#7429b5',
|
|
222
222
|
},
|
|
223
223
|
energy: {
|
|
224
224
|
default: '#326e7a',
|
|
225
|
-
subtle: '#
|
|
225
|
+
subtle: '#2c6370',
|
|
226
226
|
},
|
|
227
227
|
highlight: {
|
|
228
228
|
default: '#ffb921',
|
|
229
|
-
subtle: '#
|
|
229
|
+
subtle: '#82692b',
|
|
230
230
|
},
|
|
231
231
|
insurance: {
|
|
232
232
|
default: '#9b4c0e',
|
|
233
|
-
subtle: '#
|
|
233
|
+
subtle: '#7f4518',
|
|
234
234
|
},
|
|
235
235
|
mobile: {
|
|
236
236
|
default: '#a7266d',
|
|
237
|
-
subtle: '#
|
|
237
|
+
subtle: '#8a3260',
|
|
238
238
|
},
|
|
239
239
|
neutral: {
|
|
240
|
-
strong: '#
|
|
240
|
+
strong: '#2f2d2d',
|
|
241
241
|
subtle: '#191917',
|
|
242
242
|
},
|
|
243
243
|
pig: {
|
|
244
244
|
default: '#8f358f',
|
|
245
|
-
subtle: '#
|
|
245
|
+
subtle: '#7a1f7e',
|
|
246
246
|
},
|
|
247
247
|
},
|
|
248
248
|
text: {
|
package/vercel.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"headers": [
|
|
3
|
-
{
|
|
4
|
-
"source": "/(stories|metadata).json",
|
|
5
|
-
"headers": [
|
|
6
|
-
{
|
|
7
|
-
"key": "Access-Control-Allow-Origin",
|
|
8
|
-
"value": "*"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"key": "Access-Control-Allow-Methods",
|
|
12
|
-
"value": "GET,OPTIONS"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"key": "Access-Control-Allow-Headers",
|
|
16
|
-
"value": "Content-Type"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
}
|