@hero-design/rn 8.33.1 → 8.34.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 (202) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +868 -655
  4. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  5. package/lib/index.js +871 -656
  6. package/package.json +8 -7
  7. package/rollup.config.js +1 -0
  8. package/src/components/Accordion/AccordionItem.tsx +1 -3
  9. package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
  10. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +26 -34
  11. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +36 -48
  12. package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
  13. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +26 -39
  14. package/src/components/Alert/__tests__/index.spec.tsx +8 -2
  15. package/src/components/Alert/index.tsx +2 -2
  16. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
  17. package/src/components/Attachment/index.tsx +3 -1
  18. package/src/components/Badge/StyledBadge.tsx +1 -4
  19. package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
  20. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +18 -48
  21. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -3
  22. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
  23. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -12
  24. package/src/components/BottomNavigation/index.tsx +0 -1
  25. package/src/components/BottomSheet/Header.tsx +1 -3
  26. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
  27. package/src/components/Button/Button.tsx +34 -11
  28. package/src/components/Button/StyledButton.tsx +45 -38
  29. package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
  30. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +8 -14
  31. package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
  32. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +66 -90
  33. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +56 -86
  34. package/src/components/Calendar/CalendarRowItem.tsx +5 -2
  35. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +10 -15
  36. package/src/components/Calendar/index.tsx +1 -1
  37. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +12 -18
  38. package/src/components/Card/__tests__/index.spec.tsx +1 -1
  39. package/src/components/Carousel/CardCarousel.tsx +2 -0
  40. package/src/components/Carousel/CarouselItem.tsx +4 -4
  41. package/src/components/Carousel/StyledCarousel.tsx +1 -4
  42. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
  43. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +24 -20
  44. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +99 -165
  45. package/src/components/Checkbox/StyledCheckbox.tsx +1 -1
  46. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +8 -12
  47. package/src/components/Checkbox/index.tsx +1 -1
  48. package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
  49. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
  50. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +0 -29
  51. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +124 -17
  52. package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
  53. package/src/components/ContentNavigator/index.tsx +30 -9
  54. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +12 -18
  55. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -6
  56. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +4 -6
  57. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +13 -18
  58. package/src/components/Empty/StyledEmpty.tsx +2 -6
  59. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +22 -36
  60. package/src/components/Empty/index.tsx +4 -2
  61. package/src/components/Error/StyledError.tsx +2 -8
  62. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +44 -76
  63. package/src/components/Error/index.tsx +6 -2
  64. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -4
  65. package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
  66. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +54 -116
  67. package/src/components/FAB/ActionGroup/index.tsx +1 -1
  68. package/src/components/FAB/StyledFAB.tsx +1 -4
  69. package/src/components/FAB/__tests__/StyledFAB.spec.tsx +1 -1
  70. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +2 -3
  71. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -8
  72. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  73. package/src/components/Icon/IconList.ts +2 -0
  74. package/src/components/List/BasicListItem.tsx +2 -6
  75. package/src/components/List/ListItem.tsx +3 -5
  76. package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
  77. package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
  78. package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
  79. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -10
  80. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +23 -37
  81. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +8 -12
  82. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +8 -12
  83. package/src/components/Modal/ModalContentWrapper.tsx +112 -0
  84. package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +135 -0
  85. package/src/components/Modal/ModalPresenter/index.tsx +9 -0
  86. package/src/components/Modal/ModalProvider.tsx +8 -0
  87. package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +25 -0
  88. package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +57 -0
  89. package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +35 -0
  90. package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +55 -0
  91. package/src/components/Modal/__tests__/index.spec.tsx +50 -0
  92. package/src/components/Modal/index.tsx +121 -0
  93. package/src/components/PageControl/index.tsx +0 -1
  94. package/src/components/PinInput/PinCell.tsx +3 -1
  95. package/src/components/PinInput/StyledPinInput.tsx +2 -7
  96. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +25 -45
  97. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +18 -34
  98. package/src/components/PinInput/index.tsx +2 -0
  99. package/src/components/Progress/ProgressCircle.tsx +1 -3
  100. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -6
  101. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -4
  102. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -6
  103. package/src/components/RichTextEditor/RichTextEditor.tsx +7 -11
  104. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +16 -24
  105. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
  106. package/src/components/SectionHeading/__tests__/index.spec.tsx +3 -1
  107. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
  108. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
  109. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +86 -130
  110. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +6 -10
  111. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
  112. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
  113. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +49 -79
  114. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
  115. package/src/components/Success/StyledSuccess.tsx +2 -6
  116. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +40 -64
  117. package/src/components/Success/index.tsx +3 -1
  118. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
  119. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +6 -9
  120. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
  121. package/src/components/Swipeable/__tests__/index.spec.tsx +6 -4
  122. package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
  123. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
  124. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -2
  125. package/src/components/Tabs/ScrollableTabsHeader.tsx +3 -3
  126. package/src/components/Tabs/__tests__/SceneView.spec.tsx +4 -4
  127. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +6 -9
  128. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +33 -60
  129. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +7 -13
  130. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -8
  131. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +45 -81
  132. package/src/components/Tabs/index.tsx +3 -3
  133. package/src/components/Tag/StyledTag.tsx +1 -4
  134. package/src/components/Tag/__tests__/Tag.spec.tsx +5 -1
  135. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +47 -93
  136. package/src/components/Tag/index.tsx +5 -1
  137. package/src/components/TextInput/StyledTextInput.tsx +8 -16
  138. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +72 -134
  139. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +145 -257
  140. package/src/components/TextInput/index.tsx +2 -3
  141. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +12 -23
  142. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +21 -35
  143. package/src/components/Toast/Toast.tsx +6 -5
  144. package/src/components/Toast/ToastContainer.tsx +2 -0
  145. package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
  146. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +26 -39
  147. package/src/components/Toolbar/StyledToolbar.tsx +1 -1
  148. package/src/components/Toolbar/ToolbarItem.tsx +4 -6
  149. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -18
  150. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +14 -21
  151. package/src/index.ts +2 -0
  152. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -0
  153. package/src/theme/components/badge.ts +15 -0
  154. package/src/theme/components/button.ts +16 -0
  155. package/src/theme/components/carousel.ts +15 -0
  156. package/src/theme/components/empty.ts +12 -0
  157. package/src/theme/components/error.ts +16 -0
  158. package/src/theme/components/fab.ts +11 -0
  159. package/src/theme/components/pinInput.ts +15 -0
  160. package/src/theme/components/success.ts +12 -0
  161. package/src/theme/components/tag.ts +16 -0
  162. package/src/theme/components/textInput.ts +1 -0
  163. package/src/theme/getTheme.ts +18 -18
  164. package/testUtils/setup.tsx +24 -0
  165. package/types/components/Badge/StyledBadge.d.ts +1 -1
  166. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +1 -1
  167. package/types/components/Button/StyledButton.d.ts +12 -5
  168. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +1 -1
  169. package/types/components/Carousel/StyledCarousel.d.ts +1 -1
  170. package/types/components/Checkbox/StyledCheckbox.d.ts +1 -1
  171. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -5
  172. package/types/components/Empty/StyledEmpty.d.ts +2 -2
  173. package/types/components/Error/StyledError.d.ts +2 -2
  174. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +2 -2
  175. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +1 -1
  176. package/types/components/FAB/StyledFAB.d.ts +1 -1
  177. package/types/components/Icon/IconList.d.ts +1 -1
  178. package/types/components/Icon/index.d.ts +1 -1
  179. package/types/components/Icon/utils.d.ts +1 -1
  180. package/types/components/Modal/ModalContentWrapper.d.ts +16 -0
  181. package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +34 -0
  182. package/types/components/Modal/ModalPresenter/index.d.ts +3 -0
  183. package/types/components/Modal/ModalProvider.d.ts +5 -0
  184. package/types/components/Modal/index.d.ts +33 -0
  185. package/types/components/PinInput/StyledPinInput.d.ts +2 -2
  186. package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  187. package/types/components/Success/StyledSuccess.d.ts +2 -2
  188. package/types/components/Tag/StyledTag.d.ts +1 -1
  189. package/types/components/TextInput/StyledTextInput.d.ts +7 -10
  190. package/types/components/Toolbar/StyledToolbar.d.ts +1 -1
  191. package/types/index.d.ts +2 -1
  192. package/types/theme/components/badge.d.ts +15 -0
  193. package/types/theme/components/button.d.ts +14 -0
  194. package/types/theme/components/carousel.d.ts +15 -0
  195. package/types/theme/components/empty.d.ts +11 -0
  196. package/types/theme/components/error.d.ts +15 -0
  197. package/types/theme/components/fab.d.ts +11 -0
  198. package/types/theme/components/pinInput.d.ts +15 -0
  199. package/types/theme/components/success.d.ts +11 -0
  200. package/types/theme/components/tag.d.ts +15 -0
  201. package/types/theme/components/textInput.d.ts +1 -0
  202. package/types/theme/getTheme.d.ts +18 -18
@@ -64,12 +64,8 @@ const renderMultipleOption = ({
64
64
  onPress={onPress}
65
65
  title={
66
66
  <>
67
- <Typography.Text fontSize="large" fontWeight="semi-bold">
68
- {item.text}
69
- </Typography.Text>
70
- <Typography.Text fontSize="large" intent="subdued">
71
- {item.role}
72
- </Typography.Text>
67
+ <Typography.Body variant="regular-bold">{item.text}</Typography.Body>
68
+ <Typography.Body intent="subdued">{item.role}</Typography.Body>
73
69
  </>
74
70
  }
75
71
  />
@@ -208,7 +204,7 @@ describe('rendering', () => {
208
204
  renderSelectedValue={(selectedValue, _inputProps) => (
209
205
  <>
210
206
  {selectedValue.map((value) => (
211
- <Typography.Text>Custom {value}</Typography.Text>
207
+ <Typography.Body>Custom {value}</Typography.Body>
212
208
  ))}
213
209
  </>
214
210
  )}
@@ -229,7 +225,7 @@ describe('rendering', () => {
229
225
  renderSelectedValue={(selectedValue, _inputProps) => (
230
226
  <>
231
227
  {selectedValue.map(() => (
232
- <Typography.Text>Custom value</Typography.Text>
228
+ <Typography.Body>Custom value</Typography.Body>
233
229
  ))}
234
230
  </>
235
231
  )}
@@ -247,9 +243,9 @@ describe('rendering', () => {
247
243
  value={['Jack', 'Jane']}
248
244
  onConfirm={jest.fn()}
249
245
  renderSelectedValue={(selectedValue, _inputProps) => (
250
- <Typography.Text>{`Selected: ${selectedValue.join(
246
+ <Typography.Body>{`Selected: ${selectedValue.join(
251
247
  ', '
252
- )}`}</Typography.Text>
248
+ )}`}</Typography.Body>
253
249
  )}
254
250
  />
255
251
  );
@@ -54,10 +54,9 @@ exports[`Option renders correctly 1`] = `
54
54
  undefined,
55
55
  ]
56
56
  }
57
- themeFontSize="large"
58
- themeFontWeight="regular"
59
57
  themeIntent="body"
60
58
  themeTypeface="neutral"
59
+ themeVariant="regular"
61
60
  >
62
61
  testOption
63
62
  </Text>
@@ -245,10 +245,9 @@ exports[`OptionList render isLoading correctly 1`] = `
245
245
  undefined,
246
246
  ]
247
247
  }
248
- themeFontSize="large"
249
- themeFontWeight="regular"
250
248
  themeIntent="body"
251
249
  themeTypeface="neutral"
250
+ themeVariant="regular"
252
251
  >
253
252
  A1
254
253
  </Text>
@@ -472,10 +471,9 @@ exports[`OptionList render isLoading correctly 1`] = `
472
471
  undefined,
473
472
  ]
474
473
  }
475
- themeFontSize="large"
476
- themeFontWeight="regular"
477
474
  themeIntent="body"
478
475
  themeTypeface="neutral"
476
+ themeVariant="regular"
479
477
  >
480
478
  B1
481
479
  </Text>
@@ -590,10 +588,9 @@ exports[`OptionList render isLoading correctly 1`] = `
590
588
  undefined,
591
589
  ]
592
590
  }
593
- themeFontSize="large"
594
- themeFontWeight="regular"
595
591
  themeIntent="body"
596
592
  themeTypeface="neutral"
593
+ themeVariant="regular"
597
594
  >
598
595
  B2
599
596
  </Text>
@@ -1038,10 +1035,9 @@ exports[`OptionList renders correctly 1`] = `
1038
1035
  undefined,
1039
1036
  ]
1040
1037
  }
1041
- themeFontSize="large"
1042
- themeFontWeight="regular"
1043
1038
  themeIntent="body"
1044
1039
  themeTypeface="neutral"
1040
+ themeVariant="regular"
1045
1041
  >
1046
1042
  A1
1047
1043
  </Text>
@@ -1265,10 +1261,9 @@ exports[`OptionList renders correctly 1`] = `
1265
1261
  undefined,
1266
1262
  ]
1267
1263
  }
1268
- themeFontSize="large"
1269
- themeFontWeight="regular"
1270
1264
  themeIntent="body"
1271
1265
  themeTypeface="neutral"
1266
+ themeVariant="regular"
1272
1267
  >
1273
1268
  B1
1274
1269
  </Text>
@@ -1383,10 +1378,9 @@ exports[`OptionList renders correctly 1`] = `
1383
1378
  undefined,
1384
1379
  ]
1385
1380
  }
1386
- themeFontSize="large"
1387
- themeFontWeight="regular"
1388
1381
  themeIntent="body"
1389
1382
  themeTypeface="neutral"
1383
+ themeVariant="regular"
1390
1384
  >
1391
1385
  B2
1392
1386
  </Text>
@@ -1678,10 +1672,9 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1678
1672
  undefined,
1679
1673
  ]
1680
1674
  }
1681
- themeFontSize="large"
1682
- themeFontWeight="regular"
1683
1675
  themeIntent="body"
1684
1676
  themeTypeface="neutral"
1677
+ themeVariant="regular"
1685
1678
  >
1686
1679
  A1
1687
1680
  </Text>
@@ -1905,10 +1898,9 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1905
1898
  undefined,
1906
1899
  ]
1907
1900
  }
1908
- themeFontSize="large"
1909
- themeFontWeight="regular"
1910
1901
  themeIntent="body"
1911
1902
  themeTypeface="neutral"
1903
+ themeVariant="regular"
1912
1904
  >
1913
1905
  B1
1914
1906
  </Text>
@@ -2023,10 +2015,9 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
2023
2015
  undefined,
2024
2016
  ]
2025
2017
  }
2026
- themeFontSize="large"
2027
- themeFontWeight="regular"
2028
2018
  themeIntent="body"
2029
2019
  themeTypeface="neutral"
2020
+ themeVariant="regular"
2030
2021
  >
2031
2022
  B2
2032
2023
  </Text>
@@ -2318,10 +2309,9 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2318
2309
  undefined,
2319
2310
  ]
2320
2311
  }
2321
- themeFontSize="large"
2322
- themeFontWeight="regular"
2323
2312
  themeIntent="body"
2324
2313
  themeTypeface="neutral"
2314
+ themeVariant="regular"
2325
2315
  >
2326
2316
  A1
2327
2317
  </Text>
@@ -2545,10 +2535,9 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2545
2535
  undefined,
2546
2536
  ]
2547
2537
  }
2548
- themeFontSize="large"
2549
- themeFontWeight="regular"
2550
2538
  themeIntent="body"
2551
2539
  themeTypeface="neutral"
2540
+ themeVariant="regular"
2552
2541
  >
2553
2542
  B1
2554
2543
  </Text>
@@ -2663,10 +2652,9 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2663
2652
  undefined,
2664
2653
  ]
2665
2654
  }
2666
- themeFontSize="large"
2667
- themeFontWeight="regular"
2668
2655
  themeIntent="body"
2669
2656
  themeTypeface="neutral"
2657
+ themeVariant="regular"
2670
2658
  >
2671
2659
  B2
2672
2660
  </Text>
@@ -116,16 +116,15 @@ Array [
116
116
  Object {
117
117
  "color": "#001f23",
118
118
  "fontFamily": "BeVietnamPro-Regular",
119
- "fontSize": 14,
120
- "letterSpacing": 0.42,
121
- "lineHeight": 22,
119
+ "fontSize": 16,
120
+ "letterSpacing": 0.48,
121
+ "lineHeight": 24,
122
122
  },
123
123
  Array [
124
124
  Object {
125
125
  "alignContent": "center",
126
126
  "alignItems": "center",
127
127
  "color": "#001f23",
128
- "fontSize": 16,
129
128
  "marginTop": -2,
130
129
  "textAlignVertical": "center",
131
130
  },
@@ -134,11 +133,10 @@ Array [
134
133
  ]
135
134
  }
136
135
  testID="input-label"
137
- themeFontSize="medium"
138
- themeFontWeight="regular"
139
136
  themeIntent="body"
140
137
  themeState="default"
141
138
  themeTypeface="neutral"
139
+ themeVariant="regular"
142
140
  >
143
141
  Choose collaborators
144
142
  </Text>
@@ -202,6 +200,7 @@ Array [
202
200
  Object {
203
201
  "minHeight": 16,
204
202
  "paddingLeft": 16,
203
+ "paddingTop": 2,
205
204
  },
206
205
  undefined,
207
206
  ]
@@ -348,16 +347,15 @@ Array [
348
347
  "color": "#001f23",
349
348
  "fontFamily": "BeVietnamPro-SemiBold",
350
349
  "fontSize": 16,
351
- "letterSpacing": 0.48,
350
+ "letterSpacing": 0.24,
352
351
  "lineHeight": 24,
353
352
  },
354
353
  undefined,
355
354
  ]
356
355
  }
357
- themeFontSize="large"
358
- themeFontWeight="semi-bold"
359
356
  themeIntent="body"
360
357
  themeTypeface="neutral"
358
+ themeVariant="regular-bold"
361
359
  >
362
360
  Choose collaborators
363
361
  </Text>
@@ -655,16 +653,15 @@ Array [
655
653
  "color": "#001f23",
656
654
  "fontFamily": "BeVietnamPro-SemiBold",
657
655
  "fontSize": 16,
658
- "letterSpacing": 0.48,
656
+ "letterSpacing": 0.24,
659
657
  "lineHeight": 24,
660
658
  },
661
659
  undefined,
662
660
  ]
663
661
  }
664
- themeFontSize="large"
665
- themeFontWeight="semi-bold"
666
662
  themeIntent="body"
667
663
  themeTypeface="neutral"
664
+ themeVariant="regular-bold"
668
665
  >
669
666
  Daniel
670
667
  </Text>
@@ -682,10 +679,9 @@ Array [
682
679
  undefined,
683
680
  ]
684
681
  }
685
- themeFontSize="large"
686
- themeFontWeight="regular"
687
682
  themeIntent="subdued"
688
683
  themeTypeface="neutral"
684
+ themeVariant="regular"
689
685
  >
690
686
  Senior Developer
691
687
  </Text>
@@ -804,16 +800,15 @@ Array [
804
800
  "color": "#001f23",
805
801
  "fontFamily": "BeVietnamPro-SemiBold",
806
802
  "fontSize": 16,
807
- "letterSpacing": 0.48,
803
+ "letterSpacing": 0.24,
808
804
  "lineHeight": 24,
809
805
  },
810
806
  undefined,
811
807
  ]
812
808
  }
813
- themeFontSize="large"
814
- themeFontWeight="semi-bold"
815
809
  themeIntent="body"
816
810
  themeTypeface="neutral"
811
+ themeVariant="regular-bold"
817
812
  >
818
813
  Daemon
819
814
  </Text>
@@ -831,10 +826,9 @@ Array [
831
826
  undefined,
832
827
  ]
833
828
  }
834
- themeFontSize="large"
835
- themeFontWeight="regular"
836
829
  themeIntent="subdued"
837
830
  themeTypeface="neutral"
831
+ themeVariant="regular"
838
832
  >
839
833
  Manager
840
834
  </Text>
@@ -1070,16 +1064,15 @@ Array [
1070
1064
  "color": "#001f23",
1071
1065
  "fontFamily": "BeVietnamPro-SemiBold",
1072
1066
  "fontSize": 16,
1073
- "letterSpacing": 0.48,
1067
+ "letterSpacing": 0.24,
1074
1068
  "lineHeight": 24,
1075
1069
  },
1076
1070
  undefined,
1077
1071
  ]
1078
1072
  }
1079
- themeFontSize="large"
1080
- themeFontWeight="semi-bold"
1081
1073
  themeIntent="body"
1082
1074
  themeTypeface="neutral"
1075
+ themeVariant="regular-bold"
1083
1076
  >
1084
1077
  Jennifer
1085
1078
  </Text>
@@ -1097,10 +1090,9 @@ Array [
1097
1090
  undefined,
1098
1091
  ]
1099
1092
  }
1100
- themeFontSize="large"
1101
- themeFontWeight="regular"
1102
1093
  themeIntent="subdued"
1103
1094
  themeTypeface="neutral"
1095
+ themeVariant="regular"
1104
1096
  >
1105
1097
  UX Designer
1106
1098
  </Text>
@@ -1219,16 +1211,15 @@ Array [
1219
1211
  "color": "#001f23",
1220
1212
  "fontFamily": "BeVietnamPro-SemiBold",
1221
1213
  "fontSize": 16,
1222
- "letterSpacing": 0.48,
1214
+ "letterSpacing": 0.24,
1223
1215
  "lineHeight": 24,
1224
1216
  },
1225
1217
  undefined,
1226
1218
  ]
1227
1219
  }
1228
- themeFontSize="large"
1229
- themeFontWeight="semi-bold"
1230
1220
  themeIntent="body"
1231
1221
  themeTypeface="neutral"
1222
+ themeVariant="regular-bold"
1232
1223
  >
1233
1224
  Josh
1234
1225
  </Text>
@@ -1246,10 +1237,9 @@ Array [
1246
1237
  undefined,
1247
1238
  ]
1248
1239
  }
1249
- themeFontSize="large"
1250
- themeFontWeight="regular"
1251
1240
  themeIntent="subdued"
1252
1241
  themeTypeface="neutral"
1242
+ themeVariant="regular"
1253
1243
  >
1254
1244
  Junior Developer
1255
1245
  </Text>
@@ -1425,14 +1415,13 @@ Array [
1425
1415
  Object {
1426
1416
  "color": "#001f23",
1427
1417
  "fontFamily": "BeVietnamPro-Regular",
1428
- "fontSize": 14,
1429
- "letterSpacing": 0.42,
1430
- "lineHeight": 22,
1418
+ "fontSize": 12,
1419
+ "letterSpacing": 0.48,
1420
+ "lineHeight": 16,
1431
1421
  },
1432
1422
  Array [
1433
1423
  Object {
1434
1424
  "color": "#001f23",
1435
- "fontSize": 12,
1436
1425
  "lineHeight": 12,
1437
1426
  },
1438
1427
  Object {
@@ -1442,11 +1431,9 @@ Array [
1442
1431
  ]
1443
1432
  }
1444
1433
  testID="input-label"
1445
- themeFontSize="medium"
1446
1434
  themeFontWeight="regular"
1447
1435
  themeIntent="body"
1448
1436
  themeState="filled"
1449
- themeTypeface="neutral"
1450
1437
  >
1451
1438
  Allow notifications
1452
1439
  </Text>
@@ -1525,6 +1512,7 @@ Array [
1525
1512
  Object {
1526
1513
  "minHeight": 16,
1527
1514
  "paddingLeft": 16,
1515
+ "paddingTop": 2,
1528
1516
  },
1529
1517
  undefined,
1530
1518
  ]
@@ -1658,14 +1646,13 @@ Array [
1658
1646
  Object {
1659
1647
  "color": "#001f23",
1660
1648
  "fontFamily": "BeVietnamPro-Regular",
1661
- "fontSize": 14,
1662
- "letterSpacing": 0.42,
1663
- "lineHeight": 22,
1649
+ "fontSize": 12,
1650
+ "letterSpacing": 0.48,
1651
+ "lineHeight": 16,
1664
1652
  },
1665
1653
  Array [
1666
1654
  Object {
1667
1655
  "color": "#001f23",
1668
- "fontSize": 12,
1669
1656
  "lineHeight": 12,
1670
1657
  },
1671
1658
  Object {
@@ -1675,11 +1662,9 @@ Array [
1675
1662
  ]
1676
1663
  }
1677
1664
  testID="input-label"
1678
- themeFontSize="medium"
1679
1665
  themeFontWeight="regular"
1680
1666
  themeIntent="body"
1681
1667
  themeState="filled"
1682
- themeTypeface="neutral"
1683
1668
  >
1684
1669
  Allow notifications
1685
1670
  </Text>
@@ -1758,6 +1743,7 @@ Array [
1758
1743
  Object {
1759
1744
  "minHeight": 16,
1760
1745
  "paddingLeft": 16,
1746
+ "paddingTop": 2,
1761
1747
  },
1762
1748
  undefined,
1763
1749
  ]
@@ -1904,16 +1890,15 @@ Array [
1904
1890
  "color": "#001f23",
1905
1891
  "fontFamily": "BeVietnamPro-SemiBold",
1906
1892
  "fontSize": 16,
1907
- "letterSpacing": 0.48,
1893
+ "letterSpacing": 0.24,
1908
1894
  "lineHeight": 24,
1909
1895
  },
1910
1896
  undefined,
1911
1897
  ]
1912
1898
  }
1913
- themeFontSize="large"
1914
- themeFontWeight="semi-bold"
1915
1899
  themeIntent="body"
1916
1900
  themeTypeface="neutral"
1901
+ themeVariant="regular-bold"
1917
1902
  >
1918
1903
  Allow notifications
1919
1904
  </Text>
@@ -2157,10 +2142,9 @@ Array [
2157
2142
  undefined,
2158
2143
  ]
2159
2144
  }
2160
- themeFontSize="large"
2161
- themeFontWeight="regular"
2162
2145
  themeIntent="body"
2163
2146
  themeTypeface="neutral"
2147
+ themeVariant="regular"
2164
2148
  >
2165
2149
  Monday
2166
2150
  </Text>
@@ -2285,10 +2269,9 @@ Array [
2285
2269
  undefined,
2286
2270
  ]
2287
2271
  }
2288
- themeFontSize="large"
2289
- themeFontWeight="regular"
2290
2272
  themeIntent="body"
2291
2273
  themeTypeface="neutral"
2274
+ themeVariant="regular"
2292
2275
  >
2293
2276
  Tuesday
2294
2277
  </Text>
@@ -2413,10 +2396,9 @@ Array [
2413
2396
  undefined,
2414
2397
  ]
2415
2398
  }
2416
- themeFontSize="large"
2417
- themeFontWeight="regular"
2418
2399
  themeIntent="body"
2419
2400
  themeTypeface="neutral"
2401
+ themeVariant="regular"
2420
2402
  >
2421
2403
  Wednesday
2422
2404
  </Text>
@@ -2541,10 +2523,9 @@ Array [
2541
2523
  undefined,
2542
2524
  ]
2543
2525
  }
2544
- themeFontSize="large"
2545
- themeFontWeight="regular"
2546
2526
  themeIntent="body"
2547
2527
  themeTypeface="neutral"
2528
+ themeVariant="regular"
2548
2529
  >
2549
2530
  Thursday
2550
2531
  </Text>
@@ -2669,10 +2650,9 @@ Array [
2669
2650
  undefined,
2670
2651
  ]
2671
2652
  }
2672
- themeFontSize="large"
2673
- themeFontWeight="regular"
2674
2653
  themeIntent="body"
2675
2654
  themeTypeface="neutral"
2655
+ themeVariant="regular"
2676
2656
  >
2677
2657
  Friday
2678
2658
  </Text>
@@ -2797,10 +2777,9 @@ Array [
2797
2777
  undefined,
2798
2778
  ]
2799
2779
  }
2800
- themeFontSize="large"
2801
- themeFontWeight="regular"
2802
2780
  themeIntent="body"
2803
2781
  themeTypeface="neutral"
2782
+ themeVariant="regular"
2804
2783
  >
2805
2784
  Saturday
2806
2785
  </Text>
@@ -2926,10 +2905,9 @@ Array [
2926
2905
  undefined,
2927
2906
  ]
2928
2907
  }
2929
- themeFontSize="large"
2930
- themeFontWeight="regular"
2931
2908
  themeIntent="body"
2932
2909
  themeTypeface="neutral"
2910
+ themeVariant="regular"
2933
2911
  >
2934
2912
  Sunday
2935
2913
  </Text>
@@ -3107,14 +3085,13 @@ Array [
3107
3085
  Object {
3108
3086
  "color": "#001f23",
3109
3087
  "fontFamily": "BeVietnamPro-Regular",
3110
- "fontSize": 14,
3111
- "letterSpacing": 0.42,
3112
- "lineHeight": 22,
3088
+ "fontSize": 12,
3089
+ "letterSpacing": 0.48,
3090
+ "lineHeight": 16,
3113
3091
  },
3114
3092
  Array [
3115
3093
  Object {
3116
3094
  "color": "#808f91",
3117
- "fontSize": 12,
3118
3095
  "lineHeight": 12,
3119
3096
  },
3120
3097
  Object {
@@ -3124,11 +3101,9 @@ Array [
3124
3101
  ]
3125
3102
  }
3126
3103
  testID="input-label"
3127
- themeFontSize="medium"
3128
3104
  themeFontWeight="regular"
3129
3105
  themeIntent="body"
3130
3106
  themeState="readonly"
3131
- themeTypeface="neutral"
3132
3107
  >
3133
3108
  Allow notifications
3134
3109
  </Text>
@@ -3220,6 +3195,7 @@ Array [
3220
3195
  Object {
3221
3196
  "minHeight": 16,
3222
3197
  "paddingLeft": 16,
3198
+ "paddingTop": 2,
3223
3199
  },
3224
3200
  undefined,
3225
3201
  ]
@@ -3353,14 +3329,13 @@ Array [
3353
3329
  Object {
3354
3330
  "color": "#001f23",
3355
3331
  "fontFamily": "BeVietnamPro-Regular",
3356
- "fontSize": 14,
3357
- "letterSpacing": 0.42,
3358
- "lineHeight": 22,
3332
+ "fontSize": 12,
3333
+ "letterSpacing": 0.48,
3334
+ "lineHeight": 16,
3359
3335
  },
3360
3336
  Array [
3361
3337
  Object {
3362
3338
  "color": "#001f23",
3363
- "fontSize": 12,
3364
3339
  "lineHeight": 12,
3365
3340
  },
3366
3341
  Object {
@@ -3370,11 +3345,9 @@ Array [
3370
3345
  ]
3371
3346
  }
3372
3347
  testID="input-label"
3373
- themeFontSize="medium"
3374
3348
  themeFontWeight="regular"
3375
3349
  themeIntent="body"
3376
3350
  themeState="filled"
3377
- themeTypeface="neutral"
3378
3351
  >
3379
3352
  Allow notifications
3380
3353
  </Text>
@@ -3453,6 +3426,7 @@ Array [
3453
3426
  Object {
3454
3427
  "minHeight": 16,
3455
3428
  "paddingLeft": 16,
3429
+ "paddingTop": 2,
3456
3430
  },
3457
3431
  undefined,
3458
3432
  ]
@@ -3599,16 +3573,15 @@ Array [
3599
3573
  "color": "#001f23",
3600
3574
  "fontFamily": "BeVietnamPro-SemiBold",
3601
3575
  "fontSize": 16,
3602
- "letterSpacing": 0.48,
3576
+ "letterSpacing": 0.24,
3603
3577
  "lineHeight": 24,
3604
3578
  },
3605
3579
  undefined,
3606
3580
  ]
3607
3581
  }
3608
- themeFontSize="large"
3609
- themeFontWeight="semi-bold"
3610
3582
  themeIntent="body"
3611
3583
  themeTypeface="neutral"
3584
+ themeVariant="regular-bold"
3612
3585
  >
3613
3586
  Allow notifications
3614
3587
  </Text>
@@ -3895,10 +3868,9 @@ Array [
3895
3868
  undefined,
3896
3869
  ]
3897
3870
  }
3898
- themeFontSize="large"
3899
- themeFontWeight="regular"
3900
3871
  themeIntent="body"
3901
3872
  themeTypeface="neutral"
3873
+ themeVariant="regular"
3902
3874
  >
3903
3875
  A1
3904
3876
  </Text>
@@ -4122,10 +4094,9 @@ Array [
4122
4094
  undefined,
4123
4095
  ]
4124
4096
  }
4125
- themeFontSize="large"
4126
- themeFontWeight="regular"
4127
4097
  themeIntent="body"
4128
4098
  themeTypeface="neutral"
4099
+ themeVariant="regular"
4129
4100
  >
4130
4101
  B1
4131
4102
  </Text>
@@ -4240,10 +4211,9 @@ Array [
4240
4211
  undefined,
4241
4212
  ]
4242
4213
  }
4243
- themeFontSize="large"
4244
- themeFontWeight="regular"
4245
4214
  themeIntent="body"
4246
4215
  themeTypeface="neutral"
4216
+ themeVariant="regular"
4247
4217
  >
4248
4218
  B2
4249
4219
  </Text>