@utilitywarehouse/hearth-react-native 0.20.0 → 0.21.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.
Files changed (123) hide show
  1. package/.storybook/manager.ts +1 -0
  2. package/.storybook/preview.tsx +1 -0
  3. package/.turbo/turbo-build.log +1 -1
  4. package/.turbo/turbo-lint.log +13 -13
  5. package/CHANGELOG.md +249 -0
  6. package/build/components/BodyText/BodyText.js +12 -5
  7. package/build/components/BodyText/BodyText.props.d.ts +5 -19
  8. package/build/components/Box/Box.js +23 -3
  9. package/build/components/Box/Box.props.d.ts +3 -95
  10. package/build/components/Card/Card.props.d.ts +2 -5
  11. package/build/components/Container/Container.props.d.ts +2 -78
  12. package/build/components/DateInput/DateInput.d.ts +1 -1
  13. package/build/components/DateInput/DateInput.js +2 -2
  14. package/build/components/DateInput/DateInput.props.d.ts +15 -1
  15. package/build/components/DateInput/DateInputSegment.d.ts +1 -1
  16. package/build/components/DateInput/DateInputSegment.js +2 -2
  17. package/build/components/DetailText/DetailText.js +14 -13
  18. package/build/components/DetailText/DetailText.props.d.ts +4 -17
  19. package/build/components/Flex/Flex.js +3 -1
  20. package/build/components/Flex/Flex.props.d.ts +2 -2
  21. package/build/components/Heading/Heading.js +34 -13
  22. package/build/components/Heading/Heading.props.d.ts +4 -18
  23. package/build/core/themes.d.ts +188 -8
  24. package/build/core/themes.js +18 -2
  25. package/build/hooks/useStyleProps.js +22 -5
  26. package/build/tokens/color.d.ts +4 -0
  27. package/build/tokens/color.js +2 -0
  28. package/build/tokens/components/dark/modal.d.ts +6 -0
  29. package/build/tokens/components/dark/modal.js +6 -0
  30. package/build/tokens/components/dark/navigation.d.ts +1 -0
  31. package/build/tokens/components/dark/navigation.js +1 -0
  32. package/build/tokens/components/light/modal.d.ts +6 -0
  33. package/build/tokens/components/light/modal.js +6 -0
  34. package/build/tokens/components/light/navigation.d.ts +1 -0
  35. package/build/tokens/components/light/navigation.js +1 -0
  36. package/build/tokens/components/light/skeleton.d.ts +1 -1
  37. package/build/tokens/components/light/skeleton.js +1 -1
  38. package/build/tokens/font.d.ts +2 -0
  39. package/build/tokens/font.js +2 -0
  40. package/build/tokens/line-height.d.ts +2 -0
  41. package/build/tokens/line-height.js +2 -0
  42. package/build/tokens/primitive.d.ts +4 -0
  43. package/build/tokens/primitive.js +4 -0
  44. package/build/tokens/semantic-dark.d.ts +1 -0
  45. package/build/tokens/semantic-dark.js +1 -0
  46. package/build/tokens/semantic-light.d.ts +1 -0
  47. package/build/tokens/semantic-light.js +1 -0
  48. package/build/tokens/typography.d.ts +30 -0
  49. package/build/tokens/typography.js +15 -0
  50. package/build/types/index.d.ts +4 -2
  51. package/build/types/index.js +4 -2
  52. package/build/types/semanticColorValues.d.ts +22 -0
  53. package/build/types/semanticColorValues.js +1 -0
  54. package/build/types/utilityProps.d.ts +326 -0
  55. package/build/types/utilityProps.js +1 -0
  56. package/build/types/values.d.ts +4 -3
  57. package/build/utils/coloursAsArray.d.ts +4 -0
  58. package/build/utils/coloursAsArray.js +5 -0
  59. package/build/utils/index.d.ts +1 -1
  60. package/build/utils/index.js +1 -1
  61. package/build/utils/styleUtils.d.ts +26 -2
  62. package/build/utils/styleUtils.js +42 -13
  63. package/build/utils/themeValueHelpers.d.ts +13 -0
  64. package/build/utils/themeValueHelpers.js +29 -0
  65. package/docs/changelog.mdx +74 -2
  66. package/docs/components/AllComponents.web.tsx +23 -24
  67. package/docs/components/UsageWrap.tsx +2 -2
  68. package/docs/introduction.mdx +0 -7
  69. package/package.json +5 -3
  70. package/src/components/BodyText/BodyText.props.ts +5 -19
  71. package/src/components/BodyText/BodyText.stories.tsx +2 -1
  72. package/src/components/BodyText/BodyText.tsx +17 -6
  73. package/src/components/Box/Box.docs.mdx +5 -4
  74. package/src/components/Box/Box.props.ts +3 -231
  75. package/src/components/Box/Box.stories.tsx +2 -2
  76. package/src/components/Box/Box.tsx +38 -9
  77. package/src/components/Button/Button.docs.mdx +46 -1
  78. package/src/components/Card/Card.docs.mdx +1 -1
  79. package/src/components/Card/Card.props.ts +2 -5
  80. package/src/components/Card/Card.stories.tsx +54 -23
  81. package/src/components/Carousel/Carousel.docs.mdx +49 -44
  82. package/src/components/Center/Center.docs.mdx +6 -4
  83. package/src/components/Container/Container.docs.mdx +13 -8
  84. package/src/components/Container/Container.props.ts +9 -80
  85. package/src/components/Container/Container.stories.tsx +81 -65
  86. package/src/components/DateInput/DateInput.docs.mdx +43 -0
  87. package/src/components/DateInput/DateInput.props.ts +15 -1
  88. package/src/components/DateInput/DateInput.stories.tsx +37 -2
  89. package/src/components/DateInput/DateInput.tsx +6 -0
  90. package/src/components/DateInput/DateInputSegment.tsx +2 -0
  91. package/src/components/DetailText/DetailText.props.ts +4 -17
  92. package/src/components/DetailText/DetailText.stories.tsx +2 -3
  93. package/src/components/DetailText/DetailText.tsx +16 -17
  94. package/src/components/Flex/Flex.props.ts +2 -2
  95. package/src/components/Flex/Flex.stories.tsx +1 -1
  96. package/src/components/Flex/Flex.tsx +4 -1
  97. package/src/components/Grid/Grid.docs.mdx +53 -49
  98. package/src/components/Heading/Heading.props.ts +4 -18
  99. package/src/components/Heading/Heading.stories.tsx +2 -1
  100. package/src/components/Heading/Heading.tsx +40 -18
  101. package/src/components/Toast/ToastItem.figma.tsx +1 -8
  102. package/src/core/themes.ts +19 -2
  103. package/src/hooks/useStyleProps.ts +40 -5
  104. package/src/tokens/color.ts +2 -0
  105. package/src/tokens/components/dark/modal.ts +6 -0
  106. package/src/tokens/components/dark/navigation.ts +1 -0
  107. package/src/tokens/components/light/modal.ts +6 -0
  108. package/src/tokens/components/light/navigation.ts +1 -0
  109. package/src/tokens/components/light/skeleton.ts +1 -1
  110. package/src/tokens/font.ts +2 -0
  111. package/src/tokens/line-height.ts +2 -0
  112. package/src/tokens/primitive.ts +4 -0
  113. package/src/tokens/semantic-dark.ts +1 -0
  114. package/src/tokens/semantic-light.ts +1 -0
  115. package/src/tokens/typography.ts +15 -0
  116. package/src/types/index.ts +4 -2
  117. package/src/types/semanticColorValues.ts +26 -0
  118. package/src/types/utilityProps.ts +410 -0
  119. package/src/types/values.ts +4 -7
  120. package/src/utils/coloursAsArray.ts +6 -0
  121. package/src/utils/index.ts +8 -1
  122. package/src/utils/styleUtils.ts +45 -14
  123. package/src/utils/themeValueHelpers.ts +38 -0
@@ -2,7 +2,30 @@ import { DimensionValue } from 'react-native';
2
2
  import { components } from '../tokens';
3
3
  export declare const lightTheme: {
4
4
  readonly helpers: {
5
- shadow: {
5
+ readonly semanticColor: {
6
+ readonly background: {
7
+ readonly brand: "#7a42c8";
8
+ readonly loading: "#f1efe4";
9
+ readonly primary: "#fcfbf2";
10
+ readonly secondary: "#ffffff";
11
+ };
12
+ readonly border: {
13
+ readonly strong: "#101010";
14
+ readonly subtle: "#d4d2c0";
15
+ };
16
+ readonly text: {
17
+ readonly affirmative: "#0f834a";
18
+ readonly brand: "#7a42c8";
19
+ readonly inverted: "#fcfbf2";
20
+ readonly primary: "#101010";
21
+ readonly secondary: "#5b5b5b";
22
+ };
23
+ readonly icon: {
24
+ readonly inverted: "#fcfbf2";
25
+ readonly primary: "#101010";
26
+ };
27
+ };
28
+ readonly shadow: {
6
29
  functional: string;
7
30
  brand: string;
8
31
  energy: string;
@@ -12,7 +35,7 @@ export declare const lightTheme: {
12
35
  cashback: string;
13
36
  pig: string;
14
37
  };
15
- focusVisible: {
38
+ readonly focusVisible: {
16
39
  outlineStyle: string;
17
40
  outlineWidth: number;
18
41
  outlineColor: "#101010";
@@ -146,7 +169,9 @@ export declare const lightTheme: {
146
169
  readonly '800': 36;
147
170
  readonly '900': 40;
148
171
  readonly '950': 48;
172
+ readonly '975': 52;
149
173
  readonly '1000': 56;
174
+ readonly '1050': 62;
150
175
  readonly '1100': 72;
151
176
  readonly '1200': 90;
152
177
  };
@@ -167,7 +192,9 @@ export declare const lightTheme: {
167
192
  readonly '400': 30;
168
193
  readonly '500': 36;
169
194
  readonly '550': 40;
195
+ readonly '575': 44;
170
196
  readonly '600': 48;
197
+ readonly '650': 54;
171
198
  readonly '700': 60;
172
199
  readonly '800': 72;
173
200
  readonly '900': 96;
@@ -204,7 +231,9 @@ export declare const lightTheme: {
204
231
  readonly '400': 30;
205
232
  readonly '500': 36;
206
233
  readonly '550': 40;
234
+ readonly '575': 44;
207
235
  readonly '600': 48;
236
+ readonly '650': 54;
208
237
  readonly '700': 60;
209
238
  readonly '800': 72;
210
239
  readonly '900': 96;
@@ -273,6 +302,11 @@ export declare const lightTheme: {
273
302
  };
274
303
  };
275
304
  readonly heading: {
305
+ readonly '2xl': {
306
+ readonly fontSize: 44;
307
+ readonly fontWeight: 700;
308
+ readonly lineHeight: 52;
309
+ };
276
310
  readonly fontFamily: "Comic Hams";
277
311
  readonly lg: {
278
312
  readonly fontSize: 24;
@@ -359,6 +393,11 @@ export declare const lightTheme: {
359
393
  };
360
394
  };
361
395
  readonly heading: {
396
+ readonly '2xl': {
397
+ readonly fontSize: 44;
398
+ readonly fontWeight: 700;
399
+ readonly lineHeight: 52;
400
+ };
362
401
  readonly fontFamily: "Comic Hams";
363
402
  readonly lg: {
364
403
  readonly fontSize: 24;
@@ -445,6 +484,11 @@ export declare const lightTheme: {
445
484
  };
446
485
  };
447
486
  readonly heading: {
487
+ readonly '2xl': {
488
+ readonly fontSize: 54;
489
+ readonly fontWeight: 700;
490
+ readonly lineHeight: 62;
491
+ };
448
492
  readonly fontFamily: "Comic Hams";
449
493
  readonly lg: {
450
494
  readonly fontSize: 30;
@@ -901,6 +945,7 @@ export declare const lightTheme: {
901
945
  readonly black: "#000000";
902
946
  readonly background: {
903
947
  readonly brand: "#7a42c8";
948
+ readonly loading: "#f1efe4";
904
949
  readonly primary: "#fcfbf2";
905
950
  readonly secondary: "#ffffff";
906
951
  };
@@ -1362,7 +1407,30 @@ export declare const lightTheme: {
1362
1407
  };
1363
1408
  export declare const darkTheme: {
1364
1409
  readonly helpers: {
1365
- shadow: {
1410
+ readonly semanticColor: {
1411
+ readonly background: {
1412
+ readonly brand: "#7a42c8";
1413
+ readonly loading: "#30302c";
1414
+ readonly primary: "#191917";
1415
+ readonly secondary: "#232323";
1416
+ };
1417
+ readonly border: {
1418
+ readonly strong: "#ebebeb";
1419
+ readonly subtle: "#4c473d";
1420
+ };
1421
+ readonly text: {
1422
+ readonly affirmative: "#58ca93";
1423
+ readonly brand: "#af90de";
1424
+ readonly inverted: "#fcfbf2";
1425
+ readonly primary: "#ebebeb";
1426
+ readonly secondary: "#b2afae";
1427
+ };
1428
+ readonly icon: {
1429
+ readonly inverted: "#fcfbf2";
1430
+ readonly primary: "#ebebeb";
1431
+ };
1432
+ };
1433
+ readonly shadow: {
1366
1434
  functional: string;
1367
1435
  brand: string;
1368
1436
  energy: string;
@@ -1372,7 +1440,7 @@ export declare const darkTheme: {
1372
1440
  cashback: string;
1373
1441
  pig: string;
1374
1442
  };
1375
- focusVisible: {
1443
+ readonly focusVisible: {
1376
1444
  outlineStyle: string;
1377
1445
  outlineWidth: number;
1378
1446
  outlineColor: "#ebebeb";
@@ -1506,7 +1574,9 @@ export declare const darkTheme: {
1506
1574
  readonly '800': 36;
1507
1575
  readonly '900': 40;
1508
1576
  readonly '950': 48;
1577
+ readonly '975': 52;
1509
1578
  readonly '1000': 56;
1579
+ readonly '1050': 62;
1510
1580
  readonly '1100': 72;
1511
1581
  readonly '1200': 90;
1512
1582
  };
@@ -1527,7 +1597,9 @@ export declare const darkTheme: {
1527
1597
  readonly '400': 30;
1528
1598
  readonly '500': 36;
1529
1599
  readonly '550': 40;
1600
+ readonly '575': 44;
1530
1601
  readonly '600': 48;
1602
+ readonly '650': 54;
1531
1603
  readonly '700': 60;
1532
1604
  readonly '800': 72;
1533
1605
  readonly '900': 96;
@@ -1564,7 +1636,9 @@ export declare const darkTheme: {
1564
1636
  readonly '400': 30;
1565
1637
  readonly '500': 36;
1566
1638
  readonly '550': 40;
1639
+ readonly '575': 44;
1567
1640
  readonly '600': 48;
1641
+ readonly '650': 54;
1568
1642
  readonly '700': 60;
1569
1643
  readonly '800': 72;
1570
1644
  readonly '900': 96;
@@ -1633,6 +1707,11 @@ export declare const darkTheme: {
1633
1707
  };
1634
1708
  };
1635
1709
  readonly heading: {
1710
+ readonly '2xl': {
1711
+ readonly fontSize: 44;
1712
+ readonly fontWeight: 700;
1713
+ readonly lineHeight: 52;
1714
+ };
1636
1715
  readonly fontFamily: "Comic Hams";
1637
1716
  readonly lg: {
1638
1717
  readonly fontSize: 24;
@@ -1719,6 +1798,11 @@ export declare const darkTheme: {
1719
1798
  };
1720
1799
  };
1721
1800
  readonly heading: {
1801
+ readonly '2xl': {
1802
+ readonly fontSize: 44;
1803
+ readonly fontWeight: 700;
1804
+ readonly lineHeight: 52;
1805
+ };
1722
1806
  readonly fontFamily: "Comic Hams";
1723
1807
  readonly lg: {
1724
1808
  readonly fontSize: 24;
@@ -1805,6 +1889,11 @@ export declare const darkTheme: {
1805
1889
  };
1806
1890
  };
1807
1891
  readonly heading: {
1892
+ readonly '2xl': {
1893
+ readonly fontSize: 54;
1894
+ readonly fontWeight: 700;
1895
+ readonly lineHeight: 62;
1896
+ };
1808
1897
  readonly fontFamily: "Comic Hams";
1809
1898
  readonly lg: {
1810
1899
  readonly fontSize: 30;
@@ -2272,6 +2361,7 @@ export declare const darkTheme: {
2272
2361
  readonly black: "#000000";
2273
2362
  readonly background: {
2274
2363
  readonly brand: "#7a42c8";
2364
+ readonly loading: "#30302c";
2275
2365
  readonly primary: "#191917";
2276
2366
  readonly secondary: "#232323";
2277
2367
  };
@@ -2734,7 +2824,30 @@ export declare const darkTheme: {
2734
2824
  export declare const themes: {
2735
2825
  readonly light: {
2736
2826
  readonly helpers: {
2737
- shadow: {
2827
+ readonly semanticColor: {
2828
+ readonly background: {
2829
+ readonly brand: "#7a42c8";
2830
+ readonly loading: "#f1efe4";
2831
+ readonly primary: "#fcfbf2";
2832
+ readonly secondary: "#ffffff";
2833
+ };
2834
+ readonly border: {
2835
+ readonly strong: "#101010";
2836
+ readonly subtle: "#d4d2c0";
2837
+ };
2838
+ readonly text: {
2839
+ readonly affirmative: "#0f834a";
2840
+ readonly brand: "#7a42c8";
2841
+ readonly inverted: "#fcfbf2";
2842
+ readonly primary: "#101010";
2843
+ readonly secondary: "#5b5b5b";
2844
+ };
2845
+ readonly icon: {
2846
+ readonly inverted: "#fcfbf2";
2847
+ readonly primary: "#101010";
2848
+ };
2849
+ };
2850
+ readonly shadow: {
2738
2851
  functional: string;
2739
2852
  brand: string;
2740
2853
  energy: string;
@@ -2744,7 +2857,7 @@ export declare const themes: {
2744
2857
  cashback: string;
2745
2858
  pig: string;
2746
2859
  };
2747
- focusVisible: {
2860
+ readonly focusVisible: {
2748
2861
  outlineStyle: string;
2749
2862
  outlineWidth: number;
2750
2863
  outlineColor: "#101010";
@@ -2878,7 +2991,9 @@ export declare const themes: {
2878
2991
  readonly '800': 36;
2879
2992
  readonly '900': 40;
2880
2993
  readonly '950': 48;
2994
+ readonly '975': 52;
2881
2995
  readonly '1000': 56;
2996
+ readonly '1050': 62;
2882
2997
  readonly '1100': 72;
2883
2998
  readonly '1200': 90;
2884
2999
  };
@@ -2899,7 +3014,9 @@ export declare const themes: {
2899
3014
  readonly '400': 30;
2900
3015
  readonly '500': 36;
2901
3016
  readonly '550': 40;
3017
+ readonly '575': 44;
2902
3018
  readonly '600': 48;
3019
+ readonly '650': 54;
2903
3020
  readonly '700': 60;
2904
3021
  readonly '800': 72;
2905
3022
  readonly '900': 96;
@@ -2936,7 +3053,9 @@ export declare const themes: {
2936
3053
  readonly '400': 30;
2937
3054
  readonly '500': 36;
2938
3055
  readonly '550': 40;
3056
+ readonly '575': 44;
2939
3057
  readonly '600': 48;
3058
+ readonly '650': 54;
2940
3059
  readonly '700': 60;
2941
3060
  readonly '800': 72;
2942
3061
  readonly '900': 96;
@@ -3005,6 +3124,11 @@ export declare const themes: {
3005
3124
  };
3006
3125
  };
3007
3126
  readonly heading: {
3127
+ readonly '2xl': {
3128
+ readonly fontSize: 44;
3129
+ readonly fontWeight: 700;
3130
+ readonly lineHeight: 52;
3131
+ };
3008
3132
  readonly fontFamily: "Comic Hams";
3009
3133
  readonly lg: {
3010
3134
  readonly fontSize: 24;
@@ -3091,6 +3215,11 @@ export declare const themes: {
3091
3215
  };
3092
3216
  };
3093
3217
  readonly heading: {
3218
+ readonly '2xl': {
3219
+ readonly fontSize: 44;
3220
+ readonly fontWeight: 700;
3221
+ readonly lineHeight: 52;
3222
+ };
3094
3223
  readonly fontFamily: "Comic Hams";
3095
3224
  readonly lg: {
3096
3225
  readonly fontSize: 24;
@@ -3177,6 +3306,11 @@ export declare const themes: {
3177
3306
  };
3178
3307
  };
3179
3308
  readonly heading: {
3309
+ readonly '2xl': {
3310
+ readonly fontSize: 54;
3311
+ readonly fontWeight: 700;
3312
+ readonly lineHeight: 62;
3313
+ };
3180
3314
  readonly fontFamily: "Comic Hams";
3181
3315
  readonly lg: {
3182
3316
  readonly fontSize: 30;
@@ -3633,6 +3767,7 @@ export declare const themes: {
3633
3767
  readonly black: "#000000";
3634
3768
  readonly background: {
3635
3769
  readonly brand: "#7a42c8";
3770
+ readonly loading: "#f1efe4";
3636
3771
  readonly primary: "#fcfbf2";
3637
3772
  readonly secondary: "#ffffff";
3638
3773
  };
@@ -4094,7 +4229,30 @@ export declare const themes: {
4094
4229
  };
4095
4230
  readonly dark: {
4096
4231
  readonly helpers: {
4097
- shadow: {
4232
+ readonly semanticColor: {
4233
+ readonly background: {
4234
+ readonly brand: "#7a42c8";
4235
+ readonly loading: "#30302c";
4236
+ readonly primary: "#191917";
4237
+ readonly secondary: "#232323";
4238
+ };
4239
+ readonly border: {
4240
+ readonly strong: "#ebebeb";
4241
+ readonly subtle: "#4c473d";
4242
+ };
4243
+ readonly text: {
4244
+ readonly affirmative: "#58ca93";
4245
+ readonly brand: "#af90de";
4246
+ readonly inverted: "#fcfbf2";
4247
+ readonly primary: "#ebebeb";
4248
+ readonly secondary: "#b2afae";
4249
+ };
4250
+ readonly icon: {
4251
+ readonly inverted: "#fcfbf2";
4252
+ readonly primary: "#ebebeb";
4253
+ };
4254
+ };
4255
+ readonly shadow: {
4098
4256
  functional: string;
4099
4257
  brand: string;
4100
4258
  energy: string;
@@ -4104,7 +4262,7 @@ export declare const themes: {
4104
4262
  cashback: string;
4105
4263
  pig: string;
4106
4264
  };
4107
- focusVisible: {
4265
+ readonly focusVisible: {
4108
4266
  outlineStyle: string;
4109
4267
  outlineWidth: number;
4110
4268
  outlineColor: "#ebebeb";
@@ -4238,7 +4396,9 @@ export declare const themes: {
4238
4396
  readonly '800': 36;
4239
4397
  readonly '900': 40;
4240
4398
  readonly '950': 48;
4399
+ readonly '975': 52;
4241
4400
  readonly '1000': 56;
4401
+ readonly '1050': 62;
4242
4402
  readonly '1100': 72;
4243
4403
  readonly '1200': 90;
4244
4404
  };
@@ -4259,7 +4419,9 @@ export declare const themes: {
4259
4419
  readonly '400': 30;
4260
4420
  readonly '500': 36;
4261
4421
  readonly '550': 40;
4422
+ readonly '575': 44;
4262
4423
  readonly '600': 48;
4424
+ readonly '650': 54;
4263
4425
  readonly '700': 60;
4264
4426
  readonly '800': 72;
4265
4427
  readonly '900': 96;
@@ -4296,7 +4458,9 @@ export declare const themes: {
4296
4458
  readonly '400': 30;
4297
4459
  readonly '500': 36;
4298
4460
  readonly '550': 40;
4461
+ readonly '575': 44;
4299
4462
  readonly '600': 48;
4463
+ readonly '650': 54;
4300
4464
  readonly '700': 60;
4301
4465
  readonly '800': 72;
4302
4466
  readonly '900': 96;
@@ -4365,6 +4529,11 @@ export declare const themes: {
4365
4529
  };
4366
4530
  };
4367
4531
  readonly heading: {
4532
+ readonly '2xl': {
4533
+ readonly fontSize: 44;
4534
+ readonly fontWeight: 700;
4535
+ readonly lineHeight: 52;
4536
+ };
4368
4537
  readonly fontFamily: "Comic Hams";
4369
4538
  readonly lg: {
4370
4539
  readonly fontSize: 24;
@@ -4451,6 +4620,11 @@ export declare const themes: {
4451
4620
  };
4452
4621
  };
4453
4622
  readonly heading: {
4623
+ readonly '2xl': {
4624
+ readonly fontSize: 44;
4625
+ readonly fontWeight: 700;
4626
+ readonly lineHeight: 52;
4627
+ };
4454
4628
  readonly fontFamily: "Comic Hams";
4455
4629
  readonly lg: {
4456
4630
  readonly fontSize: 24;
@@ -4537,6 +4711,11 @@ export declare const themes: {
4537
4711
  };
4538
4712
  };
4539
4713
  readonly heading: {
4714
+ readonly '2xl': {
4715
+ readonly fontSize: 54;
4716
+ readonly fontWeight: 700;
4717
+ readonly lineHeight: 62;
4718
+ };
4540
4719
  readonly fontFamily: "Comic Hams";
4541
4720
  readonly lg: {
4542
4721
  readonly fontSize: 30;
@@ -5004,6 +5183,7 @@ export declare const themes: {
5004
5183
  readonly black: "#000000";
5005
5184
  readonly background: {
5006
5185
  readonly brand: "#7a42c8";
5186
+ readonly loading: "#30302c";
5007
5187
  readonly primary: "#191917";
5008
5188
  readonly secondary: "#232323";
5009
5189
  };
@@ -292,7 +292,15 @@ export const lightTheme = {
292
292
  },
293
293
  components: components.light,
294
294
  ...shared,
295
- helpers: lightHelpers,
295
+ helpers: {
296
+ ...lightHelpers /** Simplified semantic color tokens grouped by category */,
297
+ semanticColor: {
298
+ background: light.background,
299
+ border: light.border,
300
+ text: light.text,
301
+ icon: light.icon,
302
+ },
303
+ },
296
304
  };
297
305
  const darkHelpers = {
298
306
  ...shared.helpers,
@@ -346,7 +354,15 @@ export const darkTheme = {
346
354
  },
347
355
  components: components.dark,
348
356
  ...shared,
349
- helpers: darkHelpers,
357
+ helpers: {
358
+ ...darkHelpers /** Simplified semantic color tokens grouped by category */,
359
+ semanticColor: {
360
+ background: dark.background,
361
+ border: dark.border,
362
+ text: dark.text,
363
+ icon: dark.icon,
364
+ },
365
+ },
350
366
  };
351
367
  export const themes = {
352
368
  light: lightTheme,
@@ -1,5 +1,5 @@
1
1
  import { useMemo } from 'react';
2
- import { propStyleMapping, resolveThemeValue, themeStyleMapping, viewStyleProps } from '../utils';
2
+ import { propStyleMapping, resolveThemeKey, resolveThemeValueWithFallback, semanticPropMapping, themeStyleFallbackMapping, themeStyleMapping, viewStyleProps, } from '../utils';
3
3
  import useTheme from './useTheme';
4
4
  /**
5
5
  * Hook to process utility style props and resolve theme values
@@ -14,8 +14,17 @@ export const useStyleProps = (props) => {
14
14
  Object.entries(props).forEach(([propName, propValue]) => {
15
15
  if (propValue === undefined)
16
16
  return;
17
+ // Check for semantic prop mappings first (e.g., iconColor, color)
18
+ const semanticMapping = semanticPropMapping[propName];
19
+ if (semanticMapping) {
20
+ const { styleProp, themeKey } = semanticMapping;
21
+ const themeMapping = resolveThemeKey(theme, themeKey);
22
+ const fallbackKey = themeStyleFallbackMapping[themeKey];
23
+ const fallbackMapping = fallbackKey ? resolveThemeKey(theme, fallbackKey) : undefined;
24
+ computedStyles[styleProp] = resolveThemeValueWithFallback(propValue, themeMapping, fallbackMapping);
25
+ return;
26
+ }
17
27
  let stylePropName;
18
- let themeKey;
19
28
  // Handle shorthand props
20
29
  if (propStyleMapping[propName]) {
21
30
  stylePropName = propStyleMapping[propName];
@@ -26,9 +35,17 @@ export const useStyleProps = (props) => {
26
35
  }
27
36
  if (stylePropName) {
28
37
  // Resolve theme value if needed
29
- themeKey = themeStyleMapping[stylePropName];
30
- if (themeKey && theme[themeKey]) {
31
- computedStyles[stylePropName] = resolveThemeValue(propValue, theme[themeKey]);
38
+ const themeKey = themeStyleMapping[stylePropName];
39
+ if (themeKey) {
40
+ const themeObj = resolveThemeKey(theme, themeKey);
41
+ const fallbackKey = themeStyleFallbackMapping[themeKey];
42
+ const fallbackMapping = fallbackKey ? resolveThemeKey(theme, fallbackKey) : undefined;
43
+ if (themeObj) {
44
+ computedStyles[stylePropName] = resolveThemeValueWithFallback(propValue, themeObj, fallbackMapping);
45
+ }
46
+ else {
47
+ computedStyles[stylePropName] = propValue;
48
+ }
32
49
  }
33
50
  else {
34
51
  computedStyles[stylePropName] = propValue;
@@ -217,6 +217,7 @@ export declare const yellow: {
217
217
  export declare const light: {
218
218
  readonly background: {
219
219
  readonly brand: "#7a42c8";
220
+ readonly loading: "#f1efe4";
220
221
  readonly primary: "#fcfbf2";
221
222
  readonly secondary: "#ffffff";
222
223
  };
@@ -464,6 +465,7 @@ export declare const light: {
464
465
  export declare const dark: {
465
466
  readonly background: {
466
467
  readonly brand: "#7a42c8";
468
+ readonly loading: "#30302c";
467
469
  readonly primary: "#191917";
468
470
  readonly secondary: "#232323";
469
471
  };
@@ -925,6 +927,7 @@ declare const color: {
925
927
  readonly light: {
926
928
  readonly background: {
927
929
  readonly brand: "#7a42c8";
930
+ readonly loading: "#f1efe4";
928
931
  readonly primary: "#fcfbf2";
929
932
  readonly secondary: "#ffffff";
930
933
  };
@@ -1172,6 +1175,7 @@ declare const color: {
1172
1175
  readonly dark: {
1173
1176
  readonly background: {
1174
1177
  readonly brand: "#7a42c8";
1178
+ readonly loading: "#30302c";
1175
1179
  readonly primary: "#191917";
1176
1180
  readonly secondary: "#232323";
1177
1181
  };
@@ -217,6 +217,7 @@ export const yellow = {
217
217
  export const light = {
218
218
  background: {
219
219
  brand: '#7a42c8',
220
+ loading: '#f1efe4',
220
221
  primary: '#fcfbf2',
221
222
  secondary: '#ffffff',
222
223
  },
@@ -464,6 +465,7 @@ export const light = {
464
465
  export const dark = {
465
466
  background: {
466
467
  brand: '#7a42c8',
468
+ loading: '#30302c',
467
469
  primary: '#191917',
468
470
  secondary: '#232323',
469
471
  },
@@ -8,8 +8,14 @@ declare const _default: {
8
8
  readonly borderRadius: 16;
9
9
  readonly content: {
10
10
  readonly gap: 12;
11
+ readonly mobile: {
12
+ readonly paddingBottom: 16;
13
+ };
11
14
  };
12
15
  readonly gap: 24;
16
+ readonly handle: {
17
+ readonly paddingBottom: 16;
18
+ };
13
19
  readonly heading: {
14
20
  readonly gap: 24;
15
21
  };
@@ -8,8 +8,14 @@ export default {
8
8
  borderRadius: 16,
9
9
  content: {
10
10
  gap: 12,
11
+ mobile: {
12
+ paddingBottom: 16,
13
+ },
11
14
  },
12
15
  gap: 24,
16
+ handle: {
17
+ paddingBottom: 16,
18
+ },
13
19
  heading: {
14
20
  gap: 24,
15
21
  },
@@ -6,6 +6,7 @@ declare const _default: {
6
6
  readonly borderRadiusNone: 0;
7
7
  readonly borderRadiusRounded: 4;
8
8
  };
9
+ readonly borderBottom: "#5c2ca9";
9
10
  readonly borderRadius: 6;
10
11
  readonly desktop: {
11
12
  readonly height: 88;
@@ -6,6 +6,7 @@ export default {
6
6
  borderRadiusNone: 0,
7
7
  borderRadiusRounded: 4,
8
8
  },
9
+ borderBottom: '#5c2ca9',
9
10
  borderRadius: 6,
10
11
  desktop: {
11
12
  height: 88,
@@ -8,8 +8,14 @@ declare const _default: {
8
8
  readonly borderRadius: 16;
9
9
  readonly content: {
10
10
  readonly gap: 12;
11
+ readonly mobile: {
12
+ readonly paddingBottom: 16;
13
+ };
11
14
  };
12
15
  readonly gap: 24;
16
+ readonly handle: {
17
+ readonly paddingBottom: 16;
18
+ };
13
19
  readonly heading: {
14
20
  readonly gap: 24;
15
21
  };
@@ -8,8 +8,14 @@ export default {
8
8
  borderRadius: 16,
9
9
  content: {
10
10
  gap: 12,
11
+ mobile: {
12
+ paddingBottom: 16,
13
+ },
11
14
  },
12
15
  gap: 24,
16
+ handle: {
17
+ paddingBottom: 16,
18
+ },
13
19
  heading: {
14
20
  gap: 24,
15
21
  },
@@ -6,6 +6,7 @@ declare const _default: {
6
6
  readonly borderRadiusNone: 0;
7
7
  readonly borderRadiusRounded: 4;
8
8
  };
9
+ readonly borderBottom: "#5c2ca9";
9
10
  readonly borderRadius: 6;
10
11
  readonly desktop: {
11
12
  readonly height: 88;
@@ -6,6 +6,7 @@ export default {
6
6
  borderRadiusNone: 0,
7
7
  borderRadiusRounded: 4,
8
8
  },
9
+ borderBottom: '#5c2ca9',
9
10
  borderRadius: 6,
10
11
  desktop: {
11
12
  height: 88,
@@ -2,6 +2,6 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
  declare const _default: {
5
- readonly loadingColor: "#f7f6eb";
5
+ readonly loadingColor: "#f1efe4";
6
6
  };
7
7
  export default _default;