@hero-design/rn-work-uikit 1.8.0 → 1.9.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.
@@ -143,6 +143,7 @@ exports[`StyledCharacterCount renders correctly with themeState default 1`] = `
143
143
  }
144
144
  themeFontWeight="regular"
145
145
  themeIntent="body"
146
+ themeIsItalic={false}
146
147
  themeState="default"
147
148
  >
148
149
  100/255
@@ -178,6 +179,7 @@ exports[`StyledCharacterCount renders correctly with themeState disabled 1`] = `
178
179
  }
179
180
  themeFontWeight="regular"
180
181
  themeIntent="body"
182
+ themeIsItalic={false}
181
183
  themeState="disabled"
182
184
  >
183
185
  100/255
@@ -213,6 +215,7 @@ exports[`StyledCharacterCount renders correctly with themeState error 1`] = `
213
215
  }
214
216
  themeFontWeight="regular"
215
217
  themeIntent="body"
218
+ themeIsItalic={false}
216
219
  themeState="error"
217
220
  >
218
221
  100/255
@@ -248,6 +251,7 @@ exports[`StyledCharacterCount renders correctly with themeState filled 1`] = `
248
251
  }
249
252
  themeFontWeight="regular"
250
253
  themeIntent="body"
254
+ themeIsItalic={false}
251
255
  themeState="filled"
252
256
  >
253
257
  100/255
@@ -283,6 +287,7 @@ exports[`StyledCharacterCount renders correctly with themeState readonly 1`] = `
283
287
  }
284
288
  themeFontWeight="regular"
285
289
  themeIntent="body"
290
+ themeIsItalic={false}
286
291
  themeState="readonly"
287
292
  >
288
293
  100/255
@@ -316,6 +321,7 @@ exports[`StyledError renders correctly 1`] = `
316
321
  }
317
322
  themeFontWeight="regular"
318
323
  themeIntent="body"
324
+ themeIsItalic={false}
319
325
  >
320
326
  must not exceed character limit
321
327
  </Text>
@@ -359,6 +365,7 @@ exports[`StyledHelperText renders correctly 1`] = `
359
365
  }
360
366
  themeFontWeight="regular"
361
367
  themeIntent="body"
368
+ themeIsItalic={false}
362
369
  >
363
370
  helper text
364
371
  </Text>
@@ -390,6 +397,7 @@ exports[`StyledLabel renders correctly with themeState default 1`] = `
390
397
  }
391
398
  themeFontWeight="regular"
392
399
  themeIntent="body"
400
+ themeIsItalic={false}
393
401
  themeState="default"
394
402
  >
395
403
  Label
@@ -422,6 +430,7 @@ exports[`StyledLabel renders correctly with themeState disabled 1`] = `
422
430
  }
423
431
  themeFontWeight="regular"
424
432
  themeIntent="body"
433
+ themeIsItalic={false}
425
434
  themeState="disabled"
426
435
  >
427
436
  Label
@@ -454,6 +463,7 @@ exports[`StyledLabel renders correctly with themeState error 1`] = `
454
463
  }
455
464
  themeFontWeight="regular"
456
465
  themeIntent="body"
466
+ themeIsItalic={false}
457
467
  themeState="error"
458
468
  >
459
469
  Label
@@ -486,6 +496,7 @@ exports[`StyledLabel renders correctly with themeState filled 1`] = `
486
496
  }
487
497
  themeFontWeight="regular"
488
498
  themeIntent="body"
499
+ themeIsItalic={false}
489
500
  themeState="filled"
490
501
  >
491
502
  Label
@@ -518,6 +529,7 @@ exports[`StyledLabel renders correctly with themeState readonly 1`] = `
518
529
  }
519
530
  themeFontWeight="regular"
520
531
  themeIntent="body"
532
+ themeIsItalic={false}
521
533
  themeState="readonly"
522
534
  >
523
535
  Label
@@ -142,6 +142,7 @@ exports[`TextInput when user applies custom styling should respect user-provided
142
142
  testID="input-label-text"
143
143
  themeFontWeight="regular"
144
144
  themeIntent="body"
145
+ themeIsItalic={false}
145
146
  themeState="filled"
146
147
  >
147
148
  Amount (AUD)
@@ -300,6 +301,7 @@ exports[`TextInput when user applies custom styling should respect user-provided
300
301
  }
301
302
  themeFontWeight="regular"
302
303
  themeIntent="body"
304
+ themeIsItalic={false}
303
305
  >
304
306
  This is helper text
305
307
  </Text>
@@ -331,6 +333,7 @@ exports[`TextInput when user applies custom styling should respect user-provided
331
333
  }
332
334
  themeFontWeight="regular"
333
335
  themeIntent="body"
336
+ themeIsItalic={false}
334
337
  themeState="filled"
335
338
  >
336
339
  4
@@ -498,6 +501,7 @@ exports[`TextInput when user chooses textarea variant should provide multiline t
498
501
  testID="input-label-text"
499
502
  themeFontWeight="regular"
500
503
  themeIntent="body"
504
+ themeIsItalic={false}
501
505
  themeState="filled"
502
506
  >
503
507
  Amount (AUD)
@@ -527,6 +531,7 @@ exports[`TextInput when user chooses textarea variant should provide multiline t
527
531
  }
528
532
  themeFontWeight="regular"
529
533
  themeIntent="body"
534
+ themeIsItalic={false}
530
535
  themeState="filled"
531
536
  >
532
537
  (Optional)
@@ -777,6 +782,7 @@ exports[`TextInput when user encounters a disabled field should display content
777
782
  testID="input-label-text"
778
783
  themeFontWeight="regular"
779
784
  themeIntent="body"
785
+ themeIsItalic={false}
780
786
  themeState="disabled"
781
787
  >
782
788
  Amount (AUD)
@@ -806,6 +812,7 @@ exports[`TextInput when user encounters a disabled field should display content
806
812
  }
807
813
  themeFontWeight="regular"
808
814
  themeIntent="body"
815
+ themeIsItalic={false}
809
816
  themeState="disabled"
810
817
  >
811
818
  (Optional)
@@ -1055,6 +1062,7 @@ exports[`TextInput when user encounters a read-only field should display content
1055
1062
  testID="input-label-text"
1056
1063
  themeFontWeight="regular"
1057
1064
  themeIntent="body"
1065
+ themeIsItalic={false}
1058
1066
  themeState="readonly"
1059
1067
  >
1060
1068
  Amount (AUD)
@@ -1084,6 +1092,7 @@ exports[`TextInput when user encounters a read-only field should display content
1084
1092
  }
1085
1093
  themeFontWeight="regular"
1086
1094
  themeIntent="body"
1095
+ themeIsItalic={false}
1087
1096
  themeState="readonly"
1088
1097
  >
1089
1098
  (Optional)
@@ -1417,6 +1426,7 @@ exports[`TextInput when user has entered text should show the input content and
1417
1426
  testID="input-label-text"
1418
1427
  themeFontWeight="regular"
1419
1428
  themeIntent="body"
1429
+ themeIsItalic={false}
1420
1430
  themeState="filled"
1421
1431
  >
1422
1432
  Amount (AUD)
@@ -1446,6 +1456,7 @@ exports[`TextInput when user has entered text should show the input content and
1446
1456
  }
1447
1457
  themeFontWeight="regular"
1448
1458
  themeIntent="body"
1459
+ themeIsItalic={false}
1449
1460
  themeState="filled"
1450
1461
  >
1451
1462
  (Optional)
@@ -1779,6 +1790,7 @@ exports[`TextInput when user interacts with placeholder text starting from empty
1779
1790
  testID="input-label-text"
1780
1791
  themeFontWeight="regular"
1781
1792
  themeIntent="body"
1793
+ themeIsItalic={false}
1782
1794
  themeState="default"
1783
1795
  >
1784
1796
  Amount (AUD)
@@ -1934,6 +1946,7 @@ exports[`TextInput when user interacts with placeholder text starting from empty
1934
1946
  }
1935
1947
  themeFontWeight="regular"
1936
1948
  themeIntent="body"
1949
+ themeIsItalic={false}
1937
1950
  >
1938
1951
  This is helper text
1939
1952
  </Text>
@@ -2098,6 +2111,7 @@ exports[`TextInput when user needs programmatic control should provide ref metho
2098
2111
  testID="input-label-text"
2099
2112
  themeFontWeight="regular"
2100
2113
  themeIntent="body"
2114
+ themeIsItalic={false}
2101
2115
  themeState="filled"
2102
2116
  >
2103
2117
  Amount (AUD)
@@ -2127,6 +2141,7 @@ exports[`TextInput when user needs programmatic control should provide ref metho
2127
2141
  }
2128
2142
  themeFontWeight="regular"
2129
2143
  themeIntent="body"
2144
+ themeIsItalic={false}
2130
2145
  themeState="filled"
2131
2146
  >
2132
2147
  (Optional)
@@ -2376,6 +2391,7 @@ exports[`TextInput when user provides default values starting with pre-filled co
2376
2391
  testID="input-label-text"
2377
2392
  themeFontWeight="regular"
2378
2393
  themeIntent="body"
2394
+ themeIsItalic={false}
2379
2395
  themeState="filled"
2380
2396
  >
2381
2397
  Amount (AUD)
@@ -2533,6 +2549,7 @@ exports[`TextInput when user provides default values starting with pre-filled co
2533
2549
  }
2534
2550
  themeFontWeight="regular"
2535
2551
  themeIntent="body"
2552
+ themeIsItalic={false}
2536
2553
  >
2537
2554
  This is helper text
2538
2555
  </Text>
@@ -2564,6 +2581,7 @@ exports[`TextInput when user provides default values starting with pre-filled co
2564
2581
  }
2565
2582
  themeFontWeight="regular"
2566
2583
  themeIntent="body"
2584
+ themeIsItalic={false}
2567
2585
  themeState="filled"
2568
2586
  >
2569
2587
  4
@@ -2731,6 +2749,7 @@ exports[`TextInput when user provides default values when both default and contr
2731
2749
  testID="input-label-text"
2732
2750
  themeFontWeight="regular"
2733
2751
  themeIntent="body"
2752
+ themeIsItalic={false}
2734
2753
  themeState="filled"
2735
2754
  >
2736
2755
  Amount (AUD)
@@ -2889,6 +2908,7 @@ exports[`TextInput when user provides default values when both default and contr
2889
2908
  }
2890
2909
  themeFontWeight="regular"
2891
2910
  themeIntent="body"
2911
+ themeIsItalic={false}
2892
2912
  >
2893
2913
  This is helper text
2894
2914
  </Text>
@@ -2920,6 +2940,7 @@ exports[`TextInput when user provides default values when both default and contr
2920
2940
  }
2921
2941
  themeFontWeight="regular"
2922
2942
  themeIntent="body"
2943
+ themeIsItalic={false}
2923
2944
  themeState="filled"
2924
2945
  >
2925
2946
  4
@@ -3087,6 +3108,7 @@ exports[`TextInput when user sees a loading state should show loading indicator
3087
3108
  testID="input-label-text"
3088
3109
  themeFontWeight="regular"
3089
3110
  themeIntent="body"
3111
+ themeIsItalic={false}
3090
3112
  themeState="readonly"
3091
3113
  >
3092
3114
  Amount (AUD)
@@ -3116,6 +3138,7 @@ exports[`TextInput when user sees a loading state should show loading indicator
3116
3138
  }
3117
3139
  themeFontWeight="regular"
3118
3140
  themeIntent="body"
3141
+ themeIsItalic={false}
3119
3142
  themeState="readonly"
3120
3143
  >
3121
3144
  (Optional)
@@ -3468,6 +3491,7 @@ exports[`TextInput when user sees a required field should indicate the field is
3468
3491
  testID="input-label-text"
3469
3492
  themeFontWeight="regular"
3470
3493
  themeIntent="body"
3494
+ themeIsItalic={false}
3471
3495
  themeState="default"
3472
3496
  >
3473
3497
  Amount (AUD)
@@ -3800,6 +3824,7 @@ exports[`TextInput when user sees a textarea with character count should display
3800
3824
  testID="input-label-text"
3801
3825
  themeFontWeight="regular"
3802
3826
  themeIntent="body"
3827
+ themeIsItalic={false}
3803
3828
  themeState="filled"
3804
3829
  >
3805
3830
  Amount (AUD)
@@ -3829,6 +3854,7 @@ exports[`TextInput when user sees a textarea with character count should display
3829
3854
  }
3830
3855
  themeFontWeight="regular"
3831
3856
  themeIntent="body"
3857
+ themeIsItalic={false}
3832
3858
  themeState="filled"
3833
3859
  >
3834
3860
  (Optional)
@@ -3997,6 +4023,7 @@ exports[`TextInput when user sees a textarea with character count should display
3997
4023
  }
3998
4024
  themeFontWeight="regular"
3999
4025
  themeIntent="body"
4026
+ themeIsItalic={false}
4000
4027
  themeState="filled"
4001
4028
  >
4002
4029
  3
@@ -4199,6 +4226,7 @@ exports[`TextInput when user sees a textarea with character count should hide ch
4199
4226
  testID="input-label-text"
4200
4227
  themeFontWeight="regular"
4201
4228
  themeIntent="body"
4229
+ themeIsItalic={false}
4202
4230
  themeState="filled"
4203
4231
  >
4204
4232
  Amount (AUD)
@@ -4228,6 +4256,7 @@ exports[`TextInput when user sees a textarea with character count should hide ch
4228
4256
  }
4229
4257
  themeFontWeight="regular"
4230
4258
  themeIntent="body"
4259
+ themeIsItalic={false}
4231
4260
  themeState="filled"
4232
4261
  >
4233
4262
  (Optional)
@@ -4565,6 +4594,7 @@ exports[`TextInput when user sees an empty input field should display label and
4565
4594
  testID="input-label-text"
4566
4595
  themeFontWeight="regular"
4567
4596
  themeIntent="body"
4597
+ themeIsItalic={false}
4568
4598
  themeState="default"
4569
4599
  >
4570
4600
  Amount (AUD)
@@ -4594,6 +4624,7 @@ exports[`TextInput when user sees an empty input field should display label and
4594
4624
  }
4595
4625
  themeFontWeight="regular"
4596
4626
  themeIntent="body"
4627
+ themeIsItalic={false}
4597
4628
  themeState="default"
4598
4629
  >
4599
4630
  (Optional)
@@ -4926,6 +4957,7 @@ exports[`TextInput when user sees an error state should display error message to
4926
4957
  testID="input-label-text"
4927
4958
  themeFontWeight="regular"
4928
4959
  themeIntent="body"
4960
+ themeIsItalic={false}
4929
4961
  themeState="error"
4930
4962
  >
4931
4963
  Amount (AUD)
@@ -5138,6 +5170,7 @@ exports[`TextInput when user sees an error state should display error message to
5138
5170
  testID="input-error-message"
5139
5171
  themeFontWeight="regular"
5140
5172
  themeIntent="body"
5173
+ themeIsItalic={false}
5141
5174
  >
5142
5175
  This field is required
5143
5176
  </Text>
@@ -5303,6 +5336,7 @@ exports[`TextInput when user sees helper text should display guidance text to as
5303
5336
  testID="input-label-text"
5304
5337
  themeFontWeight="regular"
5305
5338
  themeIntent="body"
5339
+ themeIsItalic={false}
5306
5340
  themeState="default"
5307
5341
  >
5308
5342
  Amount (AUD)
@@ -5458,6 +5492,7 @@ exports[`TextInput when user sees helper text should display guidance text to as
5458
5492
  }
5459
5493
  themeFontWeight="regular"
5460
5494
  themeIntent="body"
5495
+ themeIsItalic={false}
5461
5496
  >
5462
5497
  This is helper text
5463
5498
  </Text>
@@ -5622,6 +5657,7 @@ exports[`TextInput when user sees input with custom prefix and suffix elements s
5622
5657
  testID="input-label-text"
5623
5658
  themeFontWeight="regular"
5624
5659
  themeIntent="body"
5660
+ themeIsItalic={false}
5625
5661
  themeState="default"
5626
5662
  >
5627
5663
  Amount (AUD)
@@ -1742,45 +1742,53 @@ exports[`theme returns correct theme object 1`] = `
1742
1742
  "xxxxxlarge": 31.384615384615387,
1743
1743
  },
1744
1744
  "fontWeights": {
1745
- "body": {
1746
- "neutral": {
1747
- "regular": "BeVietnamPro-Regular",
1748
- "semiBold": "BeVietnamPro-SemiBold",
1749
- },
1750
- "playful": {
1751
- "regular": "Saiga-Regular",
1752
- "semiBold": "Saiga-Medium",
1753
- },
1754
- },
1755
1745
  "titles": {
1756
1746
  "neutral": {
1757
1747
  "h1": "BeVietnamPro-Regular",
1748
+ "h1Italic": "BeVietnamPro-RegularItalic",
1758
1749
  "h2": "BeVietnamPro-SemiBold",
1750
+ "h2Italic": "BeVietnamPro-SemiBoldItalic",
1759
1751
  "h3": "BeVietnamPro-SemiBold",
1752
+ "h3Italic": "BeVietnamPro-SemiBoldItalic",
1760
1753
  "h4": "BeVietnamPro-SemiBold",
1754
+ "h4Italic": "BeVietnamPro-SemiBoldItalic",
1761
1755
  "h5": "BeVietnamPro-SemiBold",
1756
+ "h5Italic": "BeVietnamPro-SemiBoldItalic",
1762
1757
  "h6": "BeVietnamPro-Regular",
1758
+ "h6Italic": "BeVietnamPro-RegularItalic",
1763
1759
  },
1764
1760
  "playful": {
1765
1761
  "h1": "Saiga-Medium",
1762
+ "h1Italic": "Saiga-MediumItalic",
1766
1763
  "h2": "Saiga-Medium",
1764
+ "h2Italic": "Saiga-MediumItalic",
1767
1765
  "h3": "Saiga-Medium",
1766
+ "h3Italic": "Saiga-MediumItalic",
1768
1767
  "h4": "Saiga-Medium",
1768
+ "h4Italic": "Saiga-MediumItalic",
1769
1769
  "h5": "Saiga-Medium",
1770
+ "h5Italic": "Saiga-MediumItalic",
1770
1771
  "h6": "Saiga-Regular",
1772
+ "h6Italic": "Saiga-RegularItalic",
1771
1773
  },
1772
1774
  },
1773
1775
  },
1774
1776
  "fonts": {
1775
1777
  "neutral": {
1776
1778
  "light": "BeVietnamPro-Light",
1779
+ "lightItalic": "BeVietnamPro-LightItalic",
1777
1780
  "regular": "BeVietnamPro-Regular",
1781
+ "regularItalic": "BeVietnamPro-RegularItalic",
1778
1782
  "semiBold": "BeVietnamPro-SemiBold",
1783
+ "semiBoldItalic": "BeVietnamPro-SemiBoldItalic",
1779
1784
  },
1780
1785
  "playful": {
1781
1786
  "light": "Saiga-Light",
1787
+ "lightItalic": "Saiga-LightItalic",
1782
1788
  "regular": "Saiga-Regular",
1789
+ "regularItalic": "Saiga-RegularItalic",
1783
1790
  "semiBold": "Saiga-Medium",
1791
+ "semiBoldItalic": "Saiga-MediumItalic",
1784
1792
  },
1785
1793
  },
1786
1794
  "letterSpacings": {
@@ -1925,13 +1933,19 @@ exports[`theme returns correct theme object 1`] = `
1925
1933
  "fonts": {
1926
1934
  "neutral": {
1927
1935
  "light": "BeVietnamPro-Light",
1936
+ "lightItalic": "BeVietnamPro-LightItalic",
1928
1937
  "regular": "BeVietnamPro-Regular",
1938
+ "regularItalic": "BeVietnamPro-RegularItalic",
1929
1939
  "semiBold": "BeVietnamPro-SemiBold",
1940
+ "semiBoldItalic": "BeVietnamPro-SemiBoldItalic",
1930
1941
  },
1931
1942
  "playful": {
1932
1943
  "light": "Saiga-Light",
1944
+ "lightItalic": "Saiga-LightItalic",
1933
1945
  "regular": "Saiga-Regular",
1946
+ "regularItalic": "Saiga-RegularItalic",
1934
1947
  "semiBold": "Saiga-Medium",
1948
+ "semiBoldItalic": "Saiga-MediumItalic",
1935
1949
  },
1936
1950
  },
1937
1951
  "lineHeights": {