@utilitywarehouse/hearth-react-native 0.30.4 → 0.31.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.
Files changed (121) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-lint.log +15 -18
  3. package/CHANGELOG.md +165 -0
  4. package/build/components/Badge/Badge.js +2 -2
  5. package/build/components/Badge/Badge.props.d.ts +1 -0
  6. package/build/components/Badge/BadgeText.d.ts +1 -1
  7. package/build/components/Badge/BadgeText.js +2 -2
  8. package/build/components/Container/Container.props.d.ts +2 -2
  9. package/build/components/ExpandableCard/ExpandableCard.d.ts +1 -1
  10. package/build/components/ExpandableCard/ExpandableCard.js +13 -2
  11. package/build/components/ExpandableCard/ExpandableCard.props.d.ts +43 -23
  12. package/build/components/ExpandableCard/ExpandableCardText.js +1 -1
  13. package/build/components/ExpandableCard/ExpandableCardTrigger.d.ts +3 -3
  14. package/build/components/ExpandableCard/ExpandableCardTrigger.props.d.ts +31 -6
  15. package/build/components/ExpandableCard/ExpandableCardTriggerRoot.d.ts +1 -1
  16. package/build/components/ExpandableCard/ExpandableCardTriggerRoot.js +13 -2
  17. package/build/components/Flex/Flex.props.d.ts +2 -2
  18. package/build/components/FormField/FormField.d.ts +5 -5
  19. package/build/components/FormField/FormField.js +3 -2
  20. package/build/components/Modal/Modal.d.ts +1 -1
  21. package/build/components/Modal/Modal.js +33 -39
  22. package/build/components/Modal/Modal.props.d.ts +8 -3
  23. package/build/components/Modal/Modal.shared.types.d.ts +19 -4
  24. package/build/components/Modal/Modal.web.d.ts +1 -1
  25. package/build/components/Modal/Modal.web.js +6 -3
  26. package/build/components/NavModal/NavModal.d.ts +1 -1
  27. package/build/components/NavModal/NavModal.js +10 -7
  28. package/build/components/NavModal/NavModal.props.d.ts +4 -3
  29. package/build/components/Table/TableHeaderCell.js +10 -1
  30. package/build/components/Textarea/Textarea.d.ts +1 -1
  31. package/build/components/Textarea/Textarea.js +64 -5
  32. package/build/components/Textarea/Textarea.props.d.ts +10 -0
  33. package/build/components/Textarea/TextareaRoot.js +4 -1
  34. package/build/core/themes.d.ts +92 -88
  35. package/build/tokens/color.d.ts +82 -80
  36. package/build/tokens/color.js +41 -40
  37. package/build/tokens/components/dark/alert.d.ts +6 -6
  38. package/build/tokens/components/dark/alert.js +6 -6
  39. package/build/tokens/components/dark/bottom-navigation.d.ts +2 -2
  40. package/build/tokens/components/dark/bottom-navigation.js +2 -2
  41. package/build/tokens/components/dark/checkbox.d.ts +1 -1
  42. package/build/tokens/components/dark/checkbox.js +1 -1
  43. package/build/tokens/components/dark/icon-button.d.ts +3 -3
  44. package/build/tokens/components/dark/icon-button.js +3 -3
  45. package/build/tokens/components/dark/inline-link.d.ts +1 -1
  46. package/build/tokens/components/dark/inline-link.js +1 -1
  47. package/build/tokens/components/dark/link.d.ts +3 -3
  48. package/build/tokens/components/dark/link.js +3 -3
  49. package/build/tokens/components/dark/navigation.d.ts +2 -2
  50. package/build/tokens/components/dark/navigation.js +2 -2
  51. package/build/tokens/components/dark/parts.d.ts +2 -2
  52. package/build/tokens/components/dark/parts.js +2 -2
  53. package/build/tokens/components/dark/progress-bar.d.ts +3 -3
  54. package/build/tokens/components/dark/progress-bar.js +3 -3
  55. package/build/tokens/components/dark/progress-stepper.d.ts +1 -1
  56. package/build/tokens/components/dark/progress-stepper.js +1 -1
  57. package/build/tokens/components/dark/spinner.d.ts +1 -1
  58. package/build/tokens/components/dark/spinner.js +1 -1
  59. package/build/tokens/components/dark/table.d.ts +2 -0
  60. package/build/tokens/components/dark/table.js +2 -0
  61. package/build/tokens/components/dark/time-picker.d.ts +1 -0
  62. package/build/tokens/components/dark/time-picker.js +1 -0
  63. package/build/tokens/components/light/parts.d.ts +3 -3
  64. package/build/tokens/components/light/parts.js +3 -3
  65. package/build/tokens/components/light/table.d.ts +2 -0
  66. package/build/tokens/components/light/table.js +2 -0
  67. package/build/tokens/components/light/time-picker.d.ts +1 -0
  68. package/build/tokens/components/light/time-picker.js +1 -0
  69. package/build/tokens/semantic-dark.d.ts +40 -40
  70. package/build/tokens/semantic-dark.js +40 -40
  71. package/docs/changelog.mdx +170 -0
  72. package/package.json +3 -3
  73. package/src/components/Badge/Badge.props.ts +1 -0
  74. package/src/components/Badge/Badge.tsx +6 -1
  75. package/src/components/Badge/BadgeText.tsx +8 -2
  76. package/src/components/Container/Container.props.ts +10 -1
  77. package/src/components/ExpandableCard/ExpandableCard.docs.mdx +89 -37
  78. package/src/components/ExpandableCard/ExpandableCard.props.ts +51 -27
  79. package/src/components/ExpandableCard/ExpandableCard.stories.tsx +67 -17
  80. package/src/components/ExpandableCard/ExpandableCard.tsx +15 -7
  81. package/src/components/ExpandableCard/ExpandableCardText.tsx +1 -1
  82. package/src/components/ExpandableCard/ExpandableCardTrigger.props.ts +37 -7
  83. package/src/components/ExpandableCard/ExpandableCardTriggerRoot.tsx +36 -2
  84. package/src/components/Flex/Flex.props.ts +16 -2
  85. package/src/components/FormField/FormField.tsx +2 -1
  86. package/src/components/List/List.stories.tsx +35 -0
  87. package/src/components/Modal/Modal.docs.mdx +52 -1
  88. package/src/components/Modal/Modal.props.ts +21 -6
  89. package/src/components/Modal/Modal.shared.types.ts +23 -4
  90. package/src/components/Modal/Modal.stories.tsx +165 -1
  91. package/src/components/Modal/Modal.tsx +101 -81
  92. package/src/components/Modal/Modal.web.tsx +29 -23
  93. package/src/components/NavModal/NavModal.docs.mdx +29 -0
  94. package/src/components/NavModal/NavModal.props.ts +11 -3
  95. package/src/components/NavModal/NavModal.stories.tsx +29 -0
  96. package/src/components/NavModal/NavModal.tsx +39 -33
  97. package/src/components/Table/TableHeaderCell.tsx +10 -1
  98. package/src/components/Textarea/Textarea.docs.mdx +33 -1
  99. package/src/components/Textarea/Textarea.props.ts +11 -2
  100. package/src/components/Textarea/Textarea.stories.tsx +21 -1
  101. package/src/components/Textarea/Textarea.tsx +107 -3
  102. package/src/components/Textarea/TextareaRoot.tsx +6 -2
  103. package/src/tokens/color.ts +41 -40
  104. package/src/tokens/components/dark/alert.ts +6 -6
  105. package/src/tokens/components/dark/bottom-navigation.ts +2 -2
  106. package/src/tokens/components/dark/checkbox.ts +1 -1
  107. package/src/tokens/components/dark/icon-button.ts +3 -3
  108. package/src/tokens/components/dark/inline-link.ts +1 -1
  109. package/src/tokens/components/dark/link.ts +3 -3
  110. package/src/tokens/components/dark/navigation.ts +2 -2
  111. package/src/tokens/components/dark/parts.ts +2 -2
  112. package/src/tokens/components/dark/progress-bar.ts +3 -3
  113. package/src/tokens/components/dark/progress-stepper.ts +1 -1
  114. package/src/tokens/components/dark/spinner.ts +1 -1
  115. package/src/tokens/components/dark/table.ts +2 -0
  116. package/src/tokens/components/dark/time-picker.ts +1 -0
  117. package/src/tokens/components/light/parts.ts +3 -3
  118. package/src/tokens/components/light/table.ts +2 -0
  119. package/src/tokens/components/light/time-picker.ts +1 -0
  120. package/src/tokens/semantic-dark.ts +40 -40
  121. package/vercel.json +0 -21
@@ -4,25 +4,25 @@
4
4
 
5
5
  export default {
6
6
  background: {
7
- brand: '#7a42c8',
7
+ brand: '#442484',
8
8
  loading: '#30302c',
9
9
  primary: '#191917',
10
- secondary: '#232323',
10
+ secondary: '#2f2d2d',
11
11
  },
12
12
  border: {
13
- strong: '#ebebeb',
14
- subtle: '#4c473d',
13
+ strong: '#888888',
14
+ subtle: '#5b5b5b',
15
15
  },
16
16
  feedback: {
17
17
  danger: {
18
- border: '#ff7964',
18
+ border: '#f4412a',
19
19
  foreground: {
20
- default: '#101010',
20
+ default: '#ffffff',
21
21
  subtle: '#ff7964',
22
22
  },
23
23
  surface: {
24
- default: '#ff634a',
25
- subtle: '#ffa89d',
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: '#6bb0ff',
40
+ border: '#2786f1',
41
41
  foreground: {
42
- default: '#101010',
42
+ default: '#ffffff',
43
43
  subtle: '#6bb0ff',
44
44
  },
45
45
  surface: {
46
- default: '#6bb0ff',
47
- subtle: '#bcddff',
46
+ default: '#1c6cd4',
47
+ subtle: '#0b3375',
48
48
  },
49
49
  },
50
50
  positive: {
51
- border: '#58ca93',
51
+ border: '#19a660',
52
52
  foreground: {
53
- default: '#101010',
53
+ default: '#ffffff',
54
54
  subtle: '#58ca93',
55
55
  },
56
56
  surface: {
57
- default: '#36bf7d',
58
- subtle: '#a2e2c3',
57
+ default: '#0f834a',
58
+ subtle: '#074b2a',
59
59
  },
60
60
  },
61
61
  warning: {
62
- border: '#ff9639',
62
+ border: '#f56e00',
63
63
  foreground: {
64
- default: '#101010',
64
+ default: '#ffffff',
65
65
  subtle: '#ff9639',
66
66
  },
67
67
  surface: {
68
- default: '#ff8010',
69
- subtle: '#ffcca8',
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: '#c6b5e2',
113
- default: '#996cda',
114
- hover: '#af90de',
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: '#7a42c8',
201
- broadband: '#506c21',
202
- cashback: '#8b2bc9',
203
- default: '#f7f7f7',
204
- energy: '#326e7a',
205
- insurance: '#9b4c0e',
206
- mobile: '#a7266d',
207
- pig: '#8f358f',
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: '#996cda',
211
+ default: '#af90de',
212
212
  strong: '#26164f',
213
213
  subtle: '#442484',
214
214
  },
215
215
  broadband: {
216
216
  default: '#506c21',
217
- subtle: '#35421c',
217
+ subtle: '#4f6b20',
218
218
  },
219
219
  cashback: {
220
220
  default: '#8b2bc9',
221
- subtle: '#522270',
221
+ subtle: '#7429b5',
222
222
  },
223
223
  energy: {
224
224
  default: '#326e7a',
225
- subtle: '#254348',
225
+ subtle: '#2c6370',
226
226
  },
227
227
  highlight: {
228
228
  default: '#ffb921',
229
- subtle: '#756230',
229
+ subtle: '#82692b',
230
230
  },
231
231
  insurance: {
232
232
  default: '#9b4c0e',
233
- subtle: '#5a3213',
233
+ subtle: '#7f4518',
234
234
  },
235
235
  mobile: {
236
236
  default: '#a7266d',
237
- subtle: '#601f42',
237
+ subtle: '#8a3260',
238
238
  },
239
239
  neutral: {
240
- strong: '#232323',
240
+ strong: '#2f2d2d',
241
241
  subtle: '#191917',
242
242
  },
243
243
  pig: {
244
244
  default: '#8f358f',
245
- subtle: '#5d2167',
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
- }