@utilitywarehouse/hearth-react-native 0.33.1 → 0.34.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 (38) hide show
  1. package/.storybook/preview.tsx +2 -4
  2. package/CHANGELOG.md +63 -0
  3. package/build/core/themes.d.ts +60 -500
  4. package/build/tokens/border-radius.d.ts +0 -1
  5. package/build/tokens/border-radius.js +0 -1
  6. package/build/tokens/color.d.ts +0 -182
  7. package/build/tokens/color.js +0 -91
  8. package/build/tokens/font.d.ts +0 -8
  9. package/build/tokens/font.js +0 -8
  10. package/build/tokens/letter-spacing.d.ts +0 -9
  11. package/build/tokens/letter-spacing.js +0 -9
  12. package/build/tokens/line-height.d.ts +0 -7
  13. package/build/tokens/line-height.js +0 -7
  14. package/build/tokens/primitive.d.ts +0 -26
  15. package/build/tokens/primitive.js +0 -26
  16. package/build/tokens/space.d.ts +0 -1
  17. package/build/tokens/space.js +0 -1
  18. package/build/tokens/typography.d.ts +30 -0
  19. package/build/tokens/typography.js +15 -0
  20. package/docs/changelog.mdx +63 -0
  21. package/docs/components/AllComponents.web.tsx +6 -6
  22. package/docs/introduction.mdx +0 -1
  23. package/docs/styling.mdx +14 -14
  24. package/docs/theme-tokens.mdx +1 -4
  25. package/eslint.config.js +2 -1
  26. package/package.json +6 -6
  27. package/src/components/Carousel/Carousel.stories.tsx +2 -2
  28. package/src/components/Container/Container.stories.tsx +3 -3
  29. package/src/components/IndicatorIconButton/IndicatorIconButton.docs.mdx +1 -1
  30. package/src/components/IndicatorIconButton/IndicatorIconButton.stories.tsx +1 -1
  31. package/src/tokens/border-radius.ts +0 -1
  32. package/src/tokens/color.ts +0 -91
  33. package/src/tokens/font.ts +0 -8
  34. package/src/tokens/letter-spacing.ts +0 -9
  35. package/src/tokens/line-height.ts +0 -7
  36. package/src/tokens/primitive.ts +0 -26
  37. package/src/tokens/space.ts +0 -1
  38. package/src/tokens/typography.ts +15 -0
@@ -2,9 +2,6 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
  export default {
5
- '0': 0,
6
- '50': -0.30000001192092896,
7
- '75': -0.36000001430511475,
8
5
  '90': -0.41999998688697815,
9
6
  '100': -0.47999998927116394,
10
7
  '150': -0.5400000214576721,
@@ -12,10 +9,4 @@ export default {
12
9
  '300': -0.7200000286102295,
13
10
  '400': -0.8999999761581421,
14
11
  '500': -1.0800000429153442,
15
- '550': -1.2000000476837158,
16
- '600': -1.440000057220459,
17
- '700': -1.7999999523162842,
18
- '800': -2.1600000858306885,
19
- '900': -2.880000114440918,
20
- '1000': -3.8399999141693115,
21
12
  };
@@ -2,9 +2,6 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
  declare const _default: {
5
- readonly '50': 12;
6
- readonly '75': 14;
7
- readonly '100': 16;
8
5
  readonly '200': 18;
9
6
  readonly '300': 20;
10
7
  readonly '400': 22;
@@ -12,12 +9,8 @@ declare const _default: {
12
9
  readonly '600': 28;
13
10
  readonly '700': 32;
14
11
  readonly '800': 36;
15
- readonly '900': 40;
16
12
  readonly '950': 48;
17
13
  readonly '975': 52;
18
- readonly '1000': 56;
19
14
  readonly '1050': 62;
20
- readonly '1100': 72;
21
- readonly '1200': 90;
22
15
  };
23
16
  export default _default;
@@ -2,9 +2,6 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
  export default {
5
- '50': 12,
6
- '75': 14,
7
- '100': 16,
8
5
  '200': 18,
9
6
  '300': 20,
10
7
  '400': 22,
@@ -12,11 +9,7 @@ export default {
12
9
  '600': 28,
13
10
  '700': 32,
14
11
  '800': 36,
15
- '900': 40,
16
12
  '950': 48,
17
13
  '975': 52,
18
- '1000': 56,
19
14
  '1050': 62,
20
- '1100': 72,
21
- '1200': 90,
22
15
  };
@@ -4,7 +4,6 @@
4
4
  declare const _default: {
5
5
  readonly borderRadius: {
6
6
  readonly full: 9999;
7
- readonly lg: 12;
8
7
  readonly md: 8;
9
8
  readonly none: 0;
10
9
  readonly sm: 6;
@@ -22,8 +21,6 @@ declare const _default: {
22
21
  readonly heading: "Comic Hams";
23
22
  };
24
23
  readonly size: {
25
- readonly '50': 10;
26
- readonly '75': 12;
27
24
  readonly '90': 14;
28
25
  readonly '100': 16;
29
26
  readonly '150': 18;
@@ -33,25 +30,16 @@ declare const _default: {
33
30
  readonly '500': 36;
34
31
  readonly '550': 40;
35
32
  readonly '575': 44;
36
- readonly '600': 48;
37
33
  readonly '650': 54;
38
- readonly '700': 60;
39
- readonly '800': 72;
40
- readonly '900': 96;
41
- readonly '1000': 128;
42
34
  };
43
35
  readonly weight: {
44
36
  readonly bold: 700;
45
- readonly heavy: 900;
46
37
  readonly medium: 500;
47
38
  readonly regular: 400;
48
39
  readonly semibold: 600;
49
40
  };
50
41
  };
51
42
  readonly letterSpacing: {
52
- readonly '0': 0;
53
- readonly '50': -0.30000001192092896;
54
- readonly '75': -0.36000001430511475;
55
43
  readonly '90': -0.41999998688697815;
56
44
  readonly '100': -0.47999998927116394;
57
45
  readonly '150': -0.5400000214576721;
@@ -59,17 +47,8 @@ declare const _default: {
59
47
  readonly '300': -0.7200000286102295;
60
48
  readonly '400': -0.8999999761581421;
61
49
  readonly '500': -1.0800000429153442;
62
- readonly '550': -1.2000000476837158;
63
- readonly '600': -1.440000057220459;
64
- readonly '700': -1.7999999523162842;
65
- readonly '800': -2.1600000858306885;
66
- readonly '900': -2.880000114440918;
67
- readonly '1000': -3.8399999141693115;
68
50
  };
69
51
  readonly lineHeight: {
70
- readonly '50': 12;
71
- readonly '75': 14;
72
- readonly '100': 16;
73
52
  readonly '200': 18;
74
53
  readonly '300': 20;
75
54
  readonly '400': 22;
@@ -77,13 +56,9 @@ declare const _default: {
77
56
  readonly '600': 28;
78
57
  readonly '700': 32;
79
58
  readonly '800': 36;
80
- readonly '900': 40;
81
59
  readonly '950': 48;
82
60
  readonly '975': 52;
83
- readonly '1000': 56;
84
61
  readonly '1050': 62;
85
- readonly '1100': 72;
86
- readonly '1200': 90;
87
62
  };
88
63
  readonly motion: {
89
64
  readonly duration: {
@@ -122,7 +97,6 @@ declare const _default: {
122
97
  readonly '700': 56;
123
98
  readonly '800': 64;
124
99
  readonly '900': 72;
125
- readonly '1000': 80;
126
100
  };
127
101
  };
128
102
  export default _default;
@@ -4,7 +4,6 @@
4
4
  export default {
5
5
  borderRadius: {
6
6
  full: 9999,
7
- lg: 12,
8
7
  md: 8,
9
8
  none: 0,
10
9
  sm: 6,
@@ -22,8 +21,6 @@ export default {
22
21
  heading: 'Comic Hams',
23
22
  },
24
23
  size: {
25
- '50': 10,
26
- '75': 12,
27
24
  '90': 14,
28
25
  '100': 16,
29
26
  '150': 18,
@@ -33,25 +30,16 @@ export default {
33
30
  '500': 36,
34
31
  '550': 40,
35
32
  '575': 44,
36
- '600': 48,
37
33
  '650': 54,
38
- '700': 60,
39
- '800': 72,
40
- '900': 96,
41
- '1000': 128,
42
34
  },
43
35
  weight: {
44
36
  bold: 700,
45
- heavy: 900,
46
37
  medium: 500,
47
38
  regular: 400,
48
39
  semibold: 600,
49
40
  },
50
41
  },
51
42
  letterSpacing: {
52
- '0': 0,
53
- '50': -0.30000001192092896,
54
- '75': -0.36000001430511475,
55
43
  '90': -0.41999998688697815,
56
44
  '100': -0.47999998927116394,
57
45
  '150': -0.5400000214576721,
@@ -59,17 +47,8 @@ export default {
59
47
  '300': -0.7200000286102295,
60
48
  '400': -0.8999999761581421,
61
49
  '500': -1.0800000429153442,
62
- '550': -1.2000000476837158,
63
- '600': -1.440000057220459,
64
- '700': -1.7999999523162842,
65
- '800': -2.1600000858306885,
66
- '900': -2.880000114440918,
67
- '1000': -3.8399999141693115,
68
50
  },
69
51
  lineHeight: {
70
- '50': 12,
71
- '75': 14,
72
- '100': 16,
73
52
  '200': 18,
74
53
  '300': 20,
75
54
  '400': 22,
@@ -77,13 +56,9 @@ export default {
77
56
  '600': 28,
78
57
  '700': 32,
79
58
  '800': 36,
80
- '900': 40,
81
59
  '950': 48,
82
60
  '975': 52,
83
- '1000': 56,
84
61
  '1050': 62,
85
- '1100': 72,
86
- '1200': 90,
87
62
  },
88
63
  motion: {
89
64
  duration: {
@@ -122,6 +97,5 @@ export default {
122
97
  '700': 56,
123
98
  '800': 64,
124
99
  '900': 72,
125
- '1000': 80,
126
100
  },
127
101
  };
@@ -19,6 +19,5 @@ declare const _default: {
19
19
  readonly '700': 56;
20
20
  readonly '800': 64;
21
21
  readonly '900': 72;
22
- readonly '1000': 80;
23
22
  };
24
23
  export default _default;
@@ -19,5 +19,4 @@ export default {
19
19
  '700': 56,
20
20
  '800': 64,
21
21
  '900': 72,
22
- '1000': 80,
23
22
  };
@@ -22,6 +22,11 @@ export declare const mobile: {
22
22
  readonly lineHeight: 20;
23
23
  readonly paragraphSpacing: 14;
24
24
  };
25
+ readonly xl: {
26
+ readonly fontSize: 20;
27
+ readonly lineHeight: 28;
28
+ readonly paragraphSpacing: 20;
29
+ };
25
30
  };
26
31
  readonly detailText: {
27
32
  readonly '2xl': {
@@ -113,6 +118,11 @@ export declare const tablet: {
113
118
  readonly lineHeight: 20;
114
119
  readonly paragraphSpacing: 14;
115
120
  };
121
+ readonly xl: {
122
+ readonly fontSize: 20;
123
+ readonly lineHeight: 28;
124
+ readonly paragraphSpacing: 20;
125
+ };
116
126
  };
117
127
  readonly detailText: {
118
128
  readonly '2xl': {
@@ -204,6 +214,11 @@ export declare const desktop: {
204
214
  readonly lineHeight: 20;
205
215
  readonly paragraphSpacing: 14;
206
216
  };
217
+ readonly xl: {
218
+ readonly fontSize: 20;
219
+ readonly lineHeight: 28;
220
+ readonly paragraphSpacing: 20;
221
+ };
207
222
  };
208
223
  readonly detailText: {
209
224
  readonly '2xl': {
@@ -296,6 +311,11 @@ declare const typography: {
296
311
  readonly lineHeight: 20;
297
312
  readonly paragraphSpacing: 14;
298
313
  };
314
+ readonly xl: {
315
+ readonly fontSize: 20;
316
+ readonly lineHeight: 28;
317
+ readonly paragraphSpacing: 20;
318
+ };
299
319
  };
300
320
  readonly detailText: {
301
321
  readonly '2xl': {
@@ -387,6 +407,11 @@ declare const typography: {
387
407
  readonly lineHeight: 20;
388
408
  readonly paragraphSpacing: 14;
389
409
  };
410
+ readonly xl: {
411
+ readonly fontSize: 20;
412
+ readonly lineHeight: 28;
413
+ readonly paragraphSpacing: 20;
414
+ };
390
415
  };
391
416
  readonly detailText: {
392
417
  readonly '2xl': {
@@ -478,6 +503,11 @@ declare const typography: {
478
503
  readonly lineHeight: 20;
479
504
  readonly paragraphSpacing: 14;
480
505
  };
506
+ readonly xl: {
507
+ readonly fontSize: 20;
508
+ readonly lineHeight: 28;
509
+ readonly paragraphSpacing: 20;
510
+ };
481
511
  };
482
512
  readonly detailText: {
483
513
  readonly '2xl': {
@@ -22,6 +22,11 @@ export const mobile = {
22
22
  lineHeight: 20,
23
23
  paragraphSpacing: 14,
24
24
  },
25
+ xl: {
26
+ fontSize: 20,
27
+ lineHeight: 28,
28
+ paragraphSpacing: 20,
29
+ },
25
30
  },
26
31
  detailText: {
27
32
  '2xl': {
@@ -113,6 +118,11 @@ export const tablet = {
113
118
  lineHeight: 20,
114
119
  paragraphSpacing: 14,
115
120
  },
121
+ xl: {
122
+ fontSize: 20,
123
+ lineHeight: 28,
124
+ paragraphSpacing: 20,
125
+ },
116
126
  },
117
127
  detailText: {
118
128
  '2xl': {
@@ -204,6 +214,11 @@ export const desktop = {
204
214
  lineHeight: 20,
205
215
  paragraphSpacing: 14,
206
216
  },
217
+ xl: {
218
+ fontSize: 20,
219
+ lineHeight: 28,
220
+ paragraphSpacing: 20,
221
+ },
207
222
  },
208
223
  detailText: {
209
224
  '2xl': {
@@ -9,6 +9,69 @@ import { BackToTopButton, NextPrevPage } from './components';
9
9
  The changelog for the Hearth React Native library. Here you can find all the changes, improvements, and bug fixes for each version.
10
10
 
11
11
 
12
+ ## 0.34.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#1341](https://github.com/utilitywarehouse/hearth/pull/1341) [`2165fd8`](https://github.com/utilitywarehouse/hearth/commit/2165fd820cc879fe169df878944b41e337a06c89) Thanks [@robphoenix](https://github.com/robphoenix)! - 🧹 [HOUSEKEEPING]: Make all packages public
17
+
18
+ - Updated dependencies [[`2165fd8`](https://github.com/utilitywarehouse/hearth/commit/2165fd820cc879fe169df878944b41e337a06c89)]:
19
+ - @utilitywarehouse/hearth-react-native-icons@0.8.3
20
+
21
+ ## 0.34.0
22
+
23
+ ### Minor Changes
24
+
25
+ - [#1338](https://github.com/utilitywarehouse/hearth/pull/1338) [`fe9767f`](https://github.com/utilitywarehouse/hearth/commit/fe9767f916975ba2e0ba8aea585858d8ea00a147) Thanks [@robphoenix](https://github.com/robphoenix)! - 💔 [BREAKING_CHANGE]: Remove pruned design tokens from React Native token exports
26
+
27
+ Several unused design tokens have been removed from the React Native token exports
28
+ to align with the updated design token set.
29
+
30
+ **Tokens removed**:
31
+
32
+ - `borderRadius.lg`
33
+ - `color`: multiple shades pruned across all colour palettes (`blue`, `broadbandGreen`, `cashbackLilac`, `energyBlue`, `green`, `insuranceOrange`, `mobileRose`, `orange`, `piggyPink`, `purple`, `red`, `warmWhite`, `yellow`)
34
+ - `font.size`: `50`, `75`, `600`, `700`, `800`, `900`, `1000`
35
+ - `font.weight.heavy`
36
+ - `letterSpacing`: `0`, `50`, `75`, `550`, `600`, `700`, `800`, `900`, `1000`
37
+ - `lineHeight`: `50`, `75`, `100`, `900`, `1000`, `1100`, `1200`
38
+ - `space['1000']`
39
+
40
+ **Developer changes**:
41
+
42
+ If you are referencing any of the removed tokens directly, replace them with the
43
+ nearest available equivalent or remove the usage.
44
+
45
+ For example:
46
+
47
+ ```diff
48
+ - borderRadius: tokens.borderRadius.lg,
49
+ + borderRadius: tokens.borderRadius.md,
50
+ ```
51
+
52
+ ```diff
53
+ - fontSize: tokens.font.size['50'],
54
+ + fontSize: tokens.font.size['90'],
55
+ ```
56
+
57
+ ```diff
58
+ - fontWeight: tokens.font.weight.heavy,
59
+ + fontWeight: tokens.font.weight.bold,
60
+ ```
61
+
62
+ ### Patch Changes
63
+
64
+ - [#1338](https://github.com/utilitywarehouse/hearth/pull/1338) [`fe9767f`](https://github.com/utilitywarehouse/hearth/commit/fe9767f916975ba2e0ba8aea585858d8ea00a147) Thanks [@robphoenix](https://github.com/robphoenix)! - 🌟 [FEATURE]: Add `xl` variant to `bodyText` typography tokens
65
+
66
+ The `bodyText` typography scale now includes an `xl` variant across mobile,
67
+ tablet, and desktop breakpoints.
68
+
69
+ | Property | Value |
70
+ | ------------------ | ----- |
71
+ | `fontSize` | `20` |
72
+ | `lineHeight` | `28` |
73
+ | `paragraphSpacing` | `20` |
74
+
12
75
  ## 0.33.1
13
76
 
14
77
  ### Patch Changes
@@ -381,9 +381,9 @@ const AllComponents: React.FC = () => {
381
381
  </ComponentWrapper>
382
382
  <ComponentWrapper name="Container" link="primitives-container">
383
383
  <Container spacing="md" backgroundColor="secondary">
384
- <Box h={20} bg={color.blue[300]} />
384
+ <Box h={20} bg={color.blue[200]} />
385
385
  <Box h={20} bg={color.blue[400]} />
386
- <Box h={20} bg={color.blue[500]} />
386
+ <Box h={20} bg={color.blue[600]} />
387
387
  </Container>
388
388
  </ComponentWrapper>
389
389
  <ComponentWrapper name="Currency Input" link="forms-currency-input">
@@ -474,10 +474,10 @@ const AllComponents: React.FC = () => {
474
474
  <ComponentWrapper name="Flex" link="primitives-flex">
475
475
  <Center flex={1}>
476
476
  <Flex direction="row" spacing="md">
477
- <Box w={40} h={40} bg={color.blue[300]} />
477
+ <Box w={40} h={40} bg={color.blue[200]} />
478
478
  <Box w={40} h={40} bg={color.blue[400]} />
479
- <Box w={40} h={40} bg={color.blue[500]} />
480
479
  <Box w={40} h={40} bg={color.blue[600]} />
480
+ <Box w={40} h={40} bg={color.blue[700]} />
481
481
  </Flex>
482
482
  </Center>
483
483
  </ComponentWrapper>
@@ -497,10 +497,10 @@ const AllComponents: React.FC = () => {
497
497
  <Center flex={1}>
498
498
  <Box width={100}>
499
499
  <Grid columns={2} spacing="md">
500
- <Box w={40} h={40} bg={color.blue[300]} />
500
+ <Box w={40} h={40} bg={color.blue[200]} />
501
501
  <Box w={40} h={40} bg={color.blue[400]} />
502
- <Box w={40} h={40} bg={color.blue[500]} />
503
502
  <Box w={40} h={40} bg={color.blue[600]} />
503
+ <Box w={40} h={40} bg={color.blue[700]} />
504
504
  </Grid>
505
505
  </Box>
506
506
  </Center>
@@ -140,7 +140,6 @@ import App from './src/App';
140
140
  export default () => {
141
141
  const [loaded] = useFonts({
142
142
  'ComicHams-BoldFlare': require('./assets/fonts/comichams_boldflare.ttf'),
143
- 'ComicHams-HeavyFlare': require('./assets/fonts/comichams_heavyflare.ttf'),
144
143
  'ComicHams-SemiBoldFlare': require('./assets/fonts/comichams_semiboldflare.ttf'),
145
144
  'DM Mono': require('./assets/fonts/dmmono_medium.ttf'),
146
145
  'DMMono-MediumItalic': require('./assets/fonts/dmmono_mediumitalic.ttf'),
package/docs/styling.mdx CHANGED
@@ -117,8 +117,8 @@ The theme provides a comprehensive color palette organized by semantic meaning:
117
117
  const styles = StyleSheet.create(theme => ({
118
118
  // Primary colors
119
119
  primaryButton: {
120
- backgroundColor: theme.color.purple[500],
121
- borderColor: theme.color.purple[600],
120
+ backgroundColor: theme.color.purple[400],
121
+ borderColor: theme.color.purple[700],
122
122
  },
123
123
 
124
124
  // Secondary colors
@@ -136,7 +136,7 @@ const styles = StyleSheet.create(theme => ({
136
136
 
137
137
  errorMessage: {
138
138
  backgroundColor: theme.color.red[50],
139
- borderColor: theme.color.red[200],
139
+ borderColor: theme.color.red[300],
140
140
  color: theme.color.red[800],
141
141
  },
142
142
  }));
@@ -226,7 +226,7 @@ const styles = StyleSheet.create(theme => ({
226
226
 
227
227
  floatingButton: {
228
228
  ...theme.shadow.lg,
229
- backgroundColor: theme.color.purple[500],
229
+ backgroundColor: theme.color.purple[400],
230
230
  },
231
231
  }));
232
232
  ```
@@ -379,8 +379,8 @@ const styles = StyleSheet.create(theme => ({
379
379
  variants: {
380
380
  variant: {
381
381
  primary: {
382
- backgroundColor: theme.color.purple[500],
383
- borderColor: theme.color.purple[600],
382
+ backgroundColor: theme.color.purple[400],
383
+ borderColor: theme.color.purple[700],
384
384
  borderWidth: 1,
385
385
  },
386
386
  secondary: {
@@ -425,7 +425,7 @@ const styles = StyleSheet.create(theme => ({
425
425
  color: theme.color.grey[700],
426
426
  },
427
427
  ghost: {
428
- color: theme.color.purple[600],
428
+ color: theme.color.purple[700],
429
429
  },
430
430
  },
431
431
  size: {
@@ -477,11 +477,11 @@ const styles = StyleSheet.create(theme => ({
477
477
  isError: {
478
478
  true: {
479
479
  backgroundColor: theme.color.red[50],
480
- borderColor: theme.color.red[200],
480
+ borderColor: theme.color.red[300],
481
481
  borderWidth: 1,
482
482
  },
483
483
  false: {
484
- backgroundColor: theme.color.blue[50],
484
+ backgroundColor: theme.color.blue[200],
485
485
  borderColor: theme.color.blue[200],
486
486
  borderWidth: 1,
487
487
  },
@@ -502,7 +502,7 @@ const styles = StyleSheet.create(theme => ({
502
502
  color: theme.color.red[800],
503
503
  },
504
504
  false: {
505
- color: theme.color.blue[800],
505
+ color: theme.color.blue[700],
506
506
  },
507
507
  },
508
508
  },
@@ -593,7 +593,7 @@ const styles = StyleSheet.create(theme => ({
593
593
  variant: 'solid',
594
594
  color: 'purple',
595
595
  styles: {
596
- backgroundColor: theme.color.purple[500],
596
+ backgroundColor: theme.color.purple[400],
597
597
  },
598
598
  },
599
599
  {
@@ -616,7 +616,7 @@ const styles = StyleSheet.create(theme => ({
616
616
  variant: 'outline',
617
617
  color: 'purple',
618
618
  styles: {
619
- borderColor: theme.color.purple[500],
619
+ borderColor: theme.color.purple[400],
620
620
  backgroundColor: 'transparent',
621
621
  },
622
622
  },
@@ -706,7 +706,7 @@ const styles = StyleSheet.create(theme => ({
706
706
  variant: 'outline',
707
707
  color: 'purple',
708
708
  styles: {
709
- color: theme.color.purple[600],
709
+ color: theme.color.purple[700],
710
710
  },
711
711
  },
712
712
  {
@@ -749,7 +749,7 @@ const styles = StyleSheet.create(theme => ({
749
749
  variants: {
750
750
  variant: {
751
751
  primary: {
752
- backgroundColor: theme.color.purple[500],
752
+ backgroundColor: theme.color.purple[400],
753
753
  },
754
754
  secondary: {
755
755
  backgroundColor: theme.color.grey[100],
@@ -592,7 +592,7 @@ Access the full primitive color palette for custom use cases:
592
592
  ```tsx
593
593
  const styles = StyleSheet.create(theme => ({
594
594
  customElement: {
595
- backgroundColor: theme.color.purple[500],
595
+ backgroundColor: theme.color.purple[400],
596
596
  borderColor: theme.color.grey[300],
597
597
  color: theme.color.grey[900],
598
598
  },
@@ -739,9 +739,6 @@ const styles = StyleSheet.create(theme => ({
739
739
  bold: {
740
740
  fontWeight: theme.font.weight.bold, // 700
741
741
  },
742
- heavy: {
743
- fontWeight: theme.font.weight.heavy, // 900
744
- },
745
742
  }));
746
743
  ```
747
744
 
package/eslint.config.js CHANGED
@@ -25,7 +25,8 @@ export default tseslint.config(
25
25
  'react-refresh': reactRefresh,
26
26
  },
27
27
  rules: {
28
- ...reactHooks.configs.recommended.rules,
28
+ 'react-hooks/rules-of-hooks': 'error',
29
+ 'react-hooks/exhaustive-deps': 'warn',
29
30
  'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
30
31
  '@typescript-eslint/no-explicit-any': 'off',
31
32
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utilitywarehouse/hearth-react-native",
3
- "version": "0.33.1",
3
+ "version": "0.34.1",
4
4
  "description": "Utility Warehouse React Native UI library",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -60,11 +60,11 @@
60
60
  "vite-plugin-svgr": "^4.5.0",
61
61
  "vitest": "^4.1.7",
62
62
  "@utilitywarehouse/hearth-storybook-utils": "0.0.0",
63
- "@utilitywarehouse/hearth-fonts": "^0.0.4",
64
- "@utilitywarehouse/hearth-react-icons": "^0.8.2",
65
- "@utilitywarehouse/hearth-react-native-icons": "^0.8.1",
66
- "@utilitywarehouse/hearth-svg-assets": "^0.6.2",
67
- "@utilitywarehouse/hearth-tokens": "^0.3.1"
63
+ "@utilitywarehouse/hearth-fonts": "^0.1.1",
64
+ "@utilitywarehouse/hearth-react-icons": "^0.8.4",
65
+ "@utilitywarehouse/hearth-react-native-icons": "^0.8.3",
66
+ "@utilitywarehouse/hearth-svg-assets": "^0.6.3",
67
+ "@utilitywarehouse/hearth-tokens": "^0.4.1"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@gorhom/bottom-sheet": ">=5.0.0",
@@ -117,12 +117,12 @@ const items = [
117
117
  title: '3333',
118
118
  },
119
119
  {
120
- color: color.blue['800'],
120
+ color: color.blue['700'],
121
121
  key: 4,
122
122
  title: '4444',
123
123
  },
124
124
  {
125
- color: color.piggyPink['700'],
125
+ color: color.piggyPink['800'],
126
126
  key: 5,
127
127
  title: '5555',
128
128
  },
@@ -197,7 +197,7 @@ export const Playground: Story = {
197
197
  <Box bg={color.purple['400']} p="200" borderRadius="md">
198
198
  <BodyText>Container content 2</BodyText>
199
199
  </Box>
200
- <Box bg={color.piggyPink['400']} p="200" borderRadius="md">
200
+ <Box bg={color.piggyPink['300']} p="200" borderRadius="md">
201
201
  <BodyText>Container content 3</BodyText>
202
202
  </Box>
203
203
  </Container>
@@ -259,7 +259,7 @@ export const WithCustomSpacing: Story = {
259
259
  <Box bg={color.purple['400']} p="200" borderRadius="md">
260
260
  <BodyText>Item 2</BodyText>
261
261
  </Box>
262
- <Box bg={color.piggyPink['400']} p="200" borderRadius="md">
262
+ <Box bg={color.piggyPink['300']} p="200" borderRadius="md">
263
263
  <BodyText>Item 3</BodyText>
264
264
  </Box>
265
265
  <Box bg={color.orange['400']} p="200" borderRadius="md">
@@ -277,7 +277,7 @@ export const LayoutTokens: Story = {
277
277
  return (
278
278
  <Box backgroundColor={color.red['100']}>
279
279
  <Container backgroundColor="secondary">
280
- <Box bg={color.blue['100']} p="200" borderRadius="md">
280
+ <Box bg={color.blue['200']} p="200" borderRadius="md">
281
281
  <BodyText>
282
282
  This Container uses the responsive layout tokens from the design system. It will
283
283
  automatically adjust margin and padding based on the current breakpoint.