@hero-design/rn 7.22.2 → 7.23.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 (249) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/es/index.js +2395 -1880
  3. package/lib/index.js +2395 -1878
  4. package/package.json +6 -6
  5. package/src/components/Accordion/AccordionItem.tsx +1 -1
  6. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -8
  7. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  8. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
  9. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  10. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  11. package/src/components/Box/StyledBox.tsx +1 -2
  12. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
  13. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  14. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +24 -24
  15. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +6 -6
  16. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +3 -3
  17. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  18. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
  19. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  20. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +2 -2
  21. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  22. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  23. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +18 -4
  24. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +19 -5
  25. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  26. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
  27. package/src/components/Icon/HeroIcon/index.tsx +2 -0
  28. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  29. package/src/components/Icon/index.tsx +1 -0
  30. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
  31. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +12 -12
  32. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
  33. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -4
  34. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
  35. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
  36. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
  37. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +1 -1
  38. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1 -1
  39. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +69 -0
  40. package/src/components/RefreshControl/__tests__/index.spec.tsx +55 -0
  41. package/src/components/RefreshControl/index.tsx +23 -0
  42. package/src/components/RichTextEditor/MentionList.tsx +25 -4
  43. package/src/components/RichTextEditor/RichTextEditor.tsx +3 -1
  44. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +1 -1
  45. package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +6 -6
  46. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +38 -10
  47. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  48. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  49. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +13 -9
  50. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +108 -38
  51. package/src/components/Select/MultiSelect/index.tsx +1 -1
  52. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  53. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -8
  54. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +99 -29
  55. package/src/components/Select/SingleSelect/index.tsx +1 -1
  56. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
  57. package/src/components/Select/types.ts +1 -3
  58. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  59. package/src/components/Spinner/StyledSpinner.tsx +8 -4
  60. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
  61. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -16
  62. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
  63. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +3 -3
  64. package/src/components/Tabs/ScrollableTabs.tsx +2 -5
  65. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
  66. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +1 -1
  67. package/src/components/TextInput/StyledTextInput.tsx +16 -11
  68. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +3 -3
  69. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +46 -28
  70. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +246 -64
  71. package/src/components/TextInput/index.tsx +21 -4
  72. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +18 -4
  73. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +19 -5
  74. package/src/components/Toast/ToastProvider.tsx +2 -4
  75. package/src/components/Toast/__tests__/index.spec.tsx +138 -0
  76. package/src/components/Toolbar/ToolbarItem.tsx +1 -1
  77. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
  78. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
  79. package/src/components/Typography/Text/StyledText.tsx +1 -0
  80. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +3 -3
  81. package/src/components/Typography/Text/index.tsx +1 -0
  82. package/src/index.ts +4 -0
  83. package/src/theme/ThemeSwitcher.tsx +9 -2
  84. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +101 -88
  85. package/src/theme/components/accordion.ts +1 -1
  86. package/src/theme/components/alert.ts +4 -4
  87. package/src/theme/components/avatar.ts +2 -2
  88. package/src/theme/components/badge.ts +6 -6
  89. package/src/theme/components/bottomNavigation.ts +2 -2
  90. package/src/theme/components/bottomSheet.ts +3 -3
  91. package/src/theme/components/button.ts +20 -20
  92. package/src/theme/components/calendar.ts +4 -4
  93. package/src/theme/components/card.ts +5 -5
  94. package/src/theme/components/checkbox.ts +1 -1
  95. package/src/theme/components/divider.ts +1 -1
  96. package/src/theme/components/drawer.ts +4 -4
  97. package/src/theme/components/empty.ts +3 -4
  98. package/src/theme/components/fab.ts +7 -7
  99. package/src/theme/components/icon.ts +4 -3
  100. package/src/theme/components/list.ts +6 -7
  101. package/src/theme/components/pinInput.ts +4 -4
  102. package/src/theme/components/progress.ts +3 -3
  103. package/src/theme/components/refreshControl.ts +11 -0
  104. package/src/theme/components/richTextEditor.ts +9 -8
  105. package/src/theme/components/sectionHeading.ts +1 -1
  106. package/src/theme/components/select.ts +1 -1
  107. package/src/theme/components/slider.ts +3 -3
  108. package/src/theme/components/spinner.ts +1 -4
  109. package/src/theme/components/switch.ts +7 -7
  110. package/src/theme/components/tabs.ts +5 -5
  111. package/src/theme/components/tag.ts +12 -12
  112. package/src/theme/components/textInput.ts +38 -38
  113. package/src/theme/components/toast.ts +6 -6
  114. package/src/theme/components/toolbar.ts +3 -2
  115. package/src/theme/components/typography.ts +4 -3
  116. package/src/theme/getTheme.ts +3 -0
  117. package/src/theme/global/colors/global.ts +32 -0
  118. package/src/theme/global/colors/jobs.ts +18 -0
  119. package/src/theme/global/colors/legacySystemPalette.ts +53 -0
  120. package/src/theme/global/colors/swag.ts +21 -35
  121. package/src/theme/global/colors/types.ts +46 -27
  122. package/src/theme/global/colors/work.ts +10 -9
  123. package/src/theme/global/index.ts +8 -1
  124. package/src/theme/index.ts +6 -1
  125. package/src/utils/__tests__/helpers.spec.ts +27 -0
  126. package/src/utils/helpers.ts +21 -0
  127. package/tsconfig.prod.json +4 -0
  128. package/types/components/Icon/HeroIcon/index.d.ts +1 -1
  129. package/types/components/Icon/index.d.ts +1 -1
  130. package/types/components/RefreshControl/index.d.ts +5 -0
  131. package/types/components/RichTextEditor/MentionList.d.ts +7 -3
  132. package/types/components/RichTextEditor/index.d.ts +1 -1
  133. package/types/components/Select/types.d.ts +1 -3
  134. package/types/components/TextInput/StyledTextInput.d.ts +9 -3
  135. package/types/components/Toolbar/ToolbarItem.d.ts +1 -1
  136. package/types/components/Typography/Text/StyledText.d.ts +1 -1
  137. package/types/components/Typography/Text/index.d.ts +1 -1
  138. package/types/index.d.ts +3 -2
  139. package/types/theme/ThemeSwitcher.d.ts +1 -1
  140. package/types/theme/components/empty.d.ts +0 -1
  141. package/types/theme/components/icon.d.ts +1 -0
  142. package/types/theme/components/refreshControl.d.ts +7 -0
  143. package/types/theme/components/richTextEditor.d.ts +4 -3
  144. package/types/theme/components/spinner.d.ts +1 -4
  145. package/types/theme/components/toolbar.d.ts +1 -0
  146. package/types/theme/components/typography.d.ts +1 -0
  147. package/types/theme/getTheme.d.ts +2 -0
  148. package/types/theme/global/colors/global.d.ts +3 -0
  149. package/types/theme/global/colors/jobs.d.ts +3 -0
  150. package/types/theme/global/colors/legacySystemPalette.d.ts +3 -0
  151. package/types/theme/global/colors/types.d.ts +41 -21
  152. package/types/theme/global/index.d.ts +30 -21
  153. package/types/theme/index.d.ts +2 -2
  154. package/types/utils/helpers.d.ts +2 -0
  155. package/src/components/Box/__tests__/helpers.spec.ts +0 -14
  156. package/src/components/Box/helpers.ts +0 -10
  157. package/types/components/Accordion/__tests__/AccordionItem.spec.d.ts +0 -1
  158. package/types/components/Accordion/__tests__/StyledAccordion.spec.d.ts +0 -1
  159. package/types/components/Accordion/__tests__/index.spec.d.ts +0 -1
  160. package/types/components/Alert/__tests__/index.spec.d.ts +0 -1
  161. package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -1
  162. package/types/components/Avatar/__tests__/index.spec.d.ts +0 -1
  163. package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -1
  164. package/types/components/Badge/__tests__/Status.spec.d.ts +0 -1
  165. package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
  166. package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -1
  167. package/types/components/Box/__tests__/helpers.spec.d.ts +0 -1
  168. package/types/components/Box/__tests__/index.spec.d.ts +0 -1
  169. package/types/components/Box/helpers.d.ts +0 -1
  170. package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -1
  171. package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -1
  172. package/types/components/Button/UtilityButton/__tests__/index.spec.d.ts +0 -1
  173. package/types/components/Button/__tests__/Button.spec.d.ts +0 -1
  174. package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -1
  175. package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -1
  176. package/types/components/Calendar/__tests__/CalendarRowItem.spec.d.ts +0 -1
  177. package/types/components/Calendar/__tests__/helper.spec.d.ts +0 -1
  178. package/types/components/Calendar/__tests__/index.spec.d.ts +0 -1
  179. package/types/components/Card/DataCard/__tests__/StyledDataCard.spec.d.ts +0 -1
  180. package/types/components/Card/DataCard/__tests__/index.spec.d.ts +0 -1
  181. package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
  182. package/types/components/Card/__tests__/index.spec.d.ts +0 -1
  183. package/types/components/Checkbox/__tests__/StyledCheckbox.spec.d.ts +0 -1
  184. package/types/components/Checkbox/__tests__/index.spec.d.ts +0 -1
  185. package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
  186. package/types/components/Collapse/__tests__/index.spec.d.ts +0 -1
  187. package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -1
  188. package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -1
  189. package/types/components/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
  190. package/types/components/DatePicker/__tests__/DatePickerAndroid.spec.d.ts +0 -1
  191. package/types/components/DatePicker/__tests__/DatePickerIOS.spec.d.ts +0 -1
  192. package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
  193. package/types/components/Drawer/DragableDrawer/__tests__/helpers.spec.d.ts +0 -1
  194. package/types/components/Drawer/DragableDrawer/__tests__/index.spec.d.ts +0 -1
  195. package/types/components/Drawer/__tests__/index.spec.d.ts +0 -1
  196. package/types/components/Empty/__tests__/index.spec.d.ts +0 -1
  197. package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
  198. package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
  199. package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
  200. package/types/components/FAB/__tests__/index.spec.d.ts +0 -1
  201. package/types/components/Icon/__tests__/index.spec.d.ts +0 -1
  202. package/types/components/Image/__tests__/index.spec.d.ts +0 -1
  203. package/types/components/List/__tests__/BasicListItem.spec.d.ts +0 -1
  204. package/types/components/List/__tests__/ListItem.spec.d.ts +0 -1
  205. package/types/components/List/__tests__/StyledBasicListItem.spec.d.ts +0 -1
  206. package/types/components/List/__tests__/StyledListItem.spec.d.ts +0 -1
  207. package/types/components/PinInput/__tests__/PinCell.spec.d.ts +0 -1
  208. package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +0 -1
  209. package/types/components/PinInput/__tests__/index.spec.d.ts +0 -1
  210. package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -1
  211. package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -1
  212. package/types/components/RichTextEditor/__tests__/EditorToolbar.spec.d.ts +0 -1
  213. package/types/components/RichTextEditor/__tests__/MentionList.spec.d.ts +0 -1
  214. package/types/components/RichTextEditor/__tests__/RichTextEditor.spec.d.ts +0 -1
  215. package/types/components/SectionHeading/__tests__/StyledHeading.spec.d.ts +0 -1
  216. package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -1
  217. package/types/components/Select/MultiSelect/__tests__/Option.spec.d.ts +0 -1
  218. package/types/components/Select/MultiSelect/__tests__/OptionList.spec.d.ts +0 -1
  219. package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +0 -1
  220. package/types/components/Select/SingleSelect/__tests__/Option.spec.d.ts +0 -1
  221. package/types/components/Select/SingleSelect/__tests__/OptionList.spec.d.ts +0 -1
  222. package/types/components/Select/SingleSelect/__tests__/index.spec.d.ts +0 -1
  223. package/types/components/Select/__tests__/StyledSelect.spec.d.ts +0 -1
  224. package/types/components/Select/__tests__/helpers.spec.d.ts +0 -1
  225. package/types/components/Slider/__tests__/index.spec.d.ts +0 -1
  226. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -1
  227. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -1
  228. package/types/components/Spinner/__tests__/index.spec.d.ts +0 -1
  229. package/types/components/Switch/SelectorSwitch/__tests__/Option.spec.d.ts +0 -1
  230. package/types/components/Switch/SelectorSwitch/__tests__/index.spec.d.ts +0 -1
  231. package/types/components/Switch/__tests__/StyledSwitch.spec.d.ts +0 -1
  232. package/types/components/Switch/__tests__/index.spec.d.ts +0 -1
  233. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
  234. package/types/components/Tabs/__tests__/TabWithBadge.spec.d.ts +0 -1
  235. package/types/components/Tabs/__tests__/index.spec.d.ts +0 -1
  236. package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -1
  237. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -1
  238. package/types/components/TextInput/__tests__/index.spec.d.ts +0 -1
  239. package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
  240. package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +0 -1
  241. package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +0 -1
  242. package/types/components/Toast/__tests__/Toast.spec.d.ts +0 -1
  243. package/types/components/Toast/__tests__/ToastContainer.spec.d.ts +0 -1
  244. package/types/components/Toolbar/__tests__/ToolbarGroup.spec.d.ts +0 -1
  245. package/types/components/Toolbar/__tests__/ToolbarItem.spec.d.ts +0 -1
  246. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
  247. package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
  248. package/types/theme/__tests__/index.spec.d.ts +0 -1
  249. package/types/utils/__tests__/scale.spec.d.ts +0 -1
@@ -29,16 +29,12 @@ Array [
29
29
  style={
30
30
  Array [
31
31
  Object {
32
- "borderColor": "#001f23",
33
- "borderRadius": 8,
34
- "borderWidth": 1,
35
32
  "marginVertical": 8,
36
33
  "width": "100%",
37
34
  },
38
35
  undefined,
39
36
  ]
40
37
  }
41
- themeVariant="default"
42
38
  >
43
39
  <View
44
40
  style={
@@ -52,6 +48,24 @@ Array [
52
48
  ]
53
49
  }
54
50
  >
51
+ <View
52
+ style={
53
+ Array [
54
+ Object {
55
+ "borderColor": "#001f23",
56
+ "borderRadius": 8,
57
+ "borderWidth": 1,
58
+ "bottom": 0,
59
+ "left": 0,
60
+ "position": "absolute",
61
+ "right": 0,
62
+ "top": 0,
63
+ },
64
+ undefined,
65
+ ]
66
+ }
67
+ themeVariant="default"
68
+ />
55
69
  <View
56
70
  style={
57
71
  Array [
@@ -627,7 +641,7 @@ Array [
627
641
  style={
628
642
  Array [
629
643
  Object {
630
- "color": "#808f91",
644
+ "color": "#4d6265",
631
645
  "fontFamily": "BeVietnamPro-Regular",
632
646
  "fontSize": 16,
633
647
  "letterSpacing": 0.48,
@@ -772,7 +786,7 @@ Array [
772
786
  style={
773
787
  Array [
774
788
  Object {
775
- "color": "#808f91",
789
+ "color": "#4d6265",
776
790
  "fontFamily": "BeVietnamPro-Regular",
777
791
  "fontSize": 16,
778
792
  "letterSpacing": 0.48,
@@ -1032,7 +1046,7 @@ Array [
1032
1046
  style={
1033
1047
  Array [
1034
1048
  Object {
1035
- "color": "#808f91",
1049
+ "color": "#4d6265",
1036
1050
  "fontFamily": "BeVietnamPro-Regular",
1037
1051
  "fontSize": 16,
1038
1052
  "letterSpacing": 0.48,
@@ -1177,7 +1191,7 @@ Array [
1177
1191
  style={
1178
1192
  Array [
1179
1193
  Object {
1180
- "color": "#808f91",
1194
+ "color": "#4d6265",
1181
1195
  "fontFamily": "BeVietnamPro-Regular",
1182
1196
  "fontSize": 16,
1183
1197
  "letterSpacing": 0.48,
@@ -1292,16 +1306,12 @@ Array [
1292
1306
  style={
1293
1307
  Array [
1294
1308
  Object {
1295
- "borderColor": "#001f23",
1296
- "borderRadius": 8,
1297
- "borderWidth": 1,
1298
1309
  "marginVertical": 8,
1299
1310
  "width": "100%",
1300
1311
  },
1301
1312
  undefined,
1302
1313
  ]
1303
1314
  }
1304
- themeVariant="filled"
1305
1315
  >
1306
1316
  <View
1307
1317
  style={
@@ -1315,6 +1325,24 @@ Array [
1315
1325
  ]
1316
1326
  }
1317
1327
  >
1328
+ <View
1329
+ style={
1330
+ Array [
1331
+ Object {
1332
+ "borderColor": "#001f23",
1333
+ "borderRadius": 8,
1334
+ "borderWidth": 1,
1335
+ "bottom": 0,
1336
+ "left": 0,
1337
+ "position": "absolute",
1338
+ "right": 0,
1339
+ "top": 0,
1340
+ },
1341
+ undefined,
1342
+ ]
1343
+ }
1344
+ themeVariant="filled"
1345
+ />
1318
1346
  <View
1319
1347
  pointerEvents="none"
1320
1348
  style={
@@ -1790,7 +1818,7 @@ Array [
1790
1818
  Array [
1791
1819
  Object {
1792
1820
  "alignItems": "center",
1793
- "backgroundColor": "#ECE8EF",
1821
+ "backgroundColor": "#d9d1df",
1794
1822
  "borderRadius": 4,
1795
1823
  "flexDirection": "row",
1796
1824
  "opacity": 1,
@@ -2700,16 +2728,12 @@ Array [
2700
2728
  style={
2701
2729
  Array [
2702
2730
  Object {
2703
- "borderColor": "#001f23",
2704
- "borderRadius": 8,
2705
- "borderWidth": 1,
2706
2731
  "marginVertical": 8,
2707
2732
  "width": "100%",
2708
2733
  },
2709
2734
  undefined,
2710
2735
  ]
2711
2736
  }
2712
- themeVariant="filled"
2713
2737
  >
2714
2738
  <View
2715
2739
  style={
@@ -2723,6 +2747,24 @@ Array [
2723
2747
  ]
2724
2748
  }
2725
2749
  >
2750
+ <View
2751
+ style={
2752
+ Array [
2753
+ Object {
2754
+ "borderColor": "#001f23",
2755
+ "borderRadius": 8,
2756
+ "borderWidth": 1,
2757
+ "bottom": 0,
2758
+ "left": 0,
2759
+ "position": "absolute",
2760
+ "right": 0,
2761
+ "top": 0,
2762
+ },
2763
+ undefined,
2764
+ ]
2765
+ }
2766
+ themeVariant="filled"
2767
+ />
2726
2768
  <View
2727
2769
  pointerEvents="none"
2728
2770
  style={
@@ -3193,7 +3235,7 @@ Array [
3193
3235
  Array [
3194
3236
  Object {
3195
3237
  "alignItems": "center",
3196
- "backgroundColor": "#ECE8EF",
3238
+ "backgroundColor": "#d9d1df",
3197
3239
  "borderRadius": 4,
3198
3240
  "flexDirection": "row",
3199
3241
  "opacity": 1,
@@ -4105,16 +4147,12 @@ Array [
4105
4147
  style={
4106
4148
  Array [
4107
4149
  Object {
4108
- "borderColor": "#808f91",
4109
- "borderRadius": 8,
4110
- "borderWidth": 1,
4111
4150
  "marginVertical": 8,
4112
4151
  "width": "100%",
4113
4152
  },
4114
4153
  undefined,
4115
4154
  ]
4116
4155
  }
4117
- themeVariant="readonly"
4118
4156
  >
4119
4157
  <View
4120
4158
  style={
@@ -4128,6 +4166,24 @@ Array [
4128
4166
  ]
4129
4167
  }
4130
4168
  >
4169
+ <View
4170
+ style={
4171
+ Array [
4172
+ Object {
4173
+ "borderColor": "#808f91",
4174
+ "borderRadius": 8,
4175
+ "borderWidth": 1,
4176
+ "bottom": 0,
4177
+ "left": 0,
4178
+ "position": "absolute",
4179
+ "right": 0,
4180
+ "top": 0,
4181
+ },
4182
+ undefined,
4183
+ ]
4184
+ }
4185
+ themeVariant="readonly"
4186
+ />
4131
4187
  <View
4132
4188
  pointerEvents="none"
4133
4189
  style={
@@ -4157,7 +4213,7 @@ Array [
4157
4213
  },
4158
4214
  Array [
4159
4215
  Object {
4160
- "color": "#808f91",
4216
+ "color": "#bfc1c5",
4161
4217
  },
4162
4218
  undefined,
4163
4219
  ],
@@ -4617,7 +4673,7 @@ Array [
4617
4673
  Array [
4618
4674
  Object {
4619
4675
  "alignItems": "center",
4620
- "backgroundColor": "#ECE8EF",
4676
+ "backgroundColor": "#d9d1df",
4621
4677
  "borderRadius": 4,
4622
4678
  "flexDirection": "row",
4623
4679
  "opacity": 1,
@@ -5527,16 +5583,12 @@ Array [
5527
5583
  style={
5528
5584
  Array [
5529
5585
  Object {
5530
- "borderColor": "#001f23",
5531
- "borderRadius": 8,
5532
- "borderWidth": 1,
5533
5586
  "marginVertical": 8,
5534
5587
  "width": "100%",
5535
5588
  },
5536
5589
  undefined,
5537
5590
  ]
5538
5591
  }
5539
- themeVariant="filled"
5540
5592
  >
5541
5593
  <View
5542
5594
  style={
@@ -5550,6 +5602,24 @@ Array [
5550
5602
  ]
5551
5603
  }
5552
5604
  >
5605
+ <View
5606
+ style={
5607
+ Array [
5608
+ Object {
5609
+ "borderColor": "#001f23",
5610
+ "borderRadius": 8,
5611
+ "borderWidth": 1,
5612
+ "bottom": 0,
5613
+ "left": 0,
5614
+ "position": "absolute",
5615
+ "right": 0,
5616
+ "top": 0,
5617
+ },
5618
+ undefined,
5619
+ ]
5620
+ }
5621
+ themeVariant="filled"
5622
+ />
5553
5623
  <View
5554
5624
  pointerEvents="none"
5555
5625
  style={
@@ -6061,7 +6131,7 @@ Array [
6061
6131
  Array [
6062
6132
  Object {
6063
6133
  "alignItems": "center",
6064
- "backgroundColor": "#ECE8EF",
6134
+ "backgroundColor": "#d9d1df",
6065
6135
  "borderRadius": 4,
6066
6136
  "flexDirection": "row",
6067
6137
  "opacity": 1,
@@ -75,6 +75,7 @@ const SingleSelect = <V, T extends OptionType<V>>({
75
75
  }
76
76
  <View pointerEvents="none">
77
77
  <TextInput
78
+ {...inputProps}
78
79
  label={label}
79
80
  value={displayedValue}
80
81
  suffix="arrow-down"
@@ -82,7 +83,6 @@ const SingleSelect = <V, T extends OptionType<V>>({
82
83
  error={error}
83
84
  editable={editable}
84
85
  disabled={disabled}
85
- loading={inputProps?.loading}
86
86
  numberOfLines={numberOfLines}
87
87
  pointerEvents="none"
88
88
  style={style}
@@ -13,7 +13,7 @@ exports[`FooterText has correct style 1`] = `
13
13
  },
14
14
  Array [
15
15
  Object {
16
- "color": "#8505a2",
16
+ "color": "#401960",
17
17
  },
18
18
  undefined,
19
19
  ],
@@ -81,9 +81,7 @@ export interface SelectProps<V, T extends OptionType<V>>
81
81
  /**
82
82
  * Props that are passed to TextInput.
83
83
  */
84
- inputProps?: {
85
- loading?: boolean;
86
- };
84
+ inputProps?: Pick<TextInputProps, 'loading' | 'required'>;
87
85
  /**
88
86
  * Field label.
89
87
  */
@@ -8,7 +8,7 @@ exports[`Slider renders correctly by default 1`] = `
8
8
  minimumTrackTintColor="#401960"
9
9
  minimumValue={0}
10
10
  step={0}
11
- thumbTintColor="#e6e9e9"
11
+ thumbTintColor="#f6f6f7"
12
12
  value={0}
13
13
  />
14
14
  `;
@@ -21,7 +21,7 @@ exports[`Slider renders correctly when disabled 1`] = `
21
21
  minimumTrackTintColor="#401960"
22
22
  minimumValue={0}
23
23
  step={0}
24
- thumbTintColor="#e6e9e9"
24
+ thumbTintColor="#f6f6f7"
25
25
  value={0}
26
26
  />
27
27
  `;
@@ -37,7 +37,7 @@ exports[`Slider renders correctly with props 1`] = `
37
37
  onSlidingStart={[MockFunction]}
38
38
  onValueChange={[MockFunction]}
39
39
  step={0.25}
40
- thumbTintColor="#e6e9e9"
40
+ thumbTintColor="#f6f6f7"
41
41
  value={0.5}
42
42
  />
43
43
  `;
@@ -30,21 +30,25 @@ const StyledSpinnerDot = styled(View)<{
30
30
  switch (themePosition) {
31
31
  case 'topLeft':
32
32
  return {
33
- backgroundColor: theme.__hd__.spinner.colors.dot1,
33
+ backgroundColor: theme.__hd__.spinner.colors.dot,
34
+ opacity: 1,
34
35
  };
35
36
  case 'topRight':
36
37
  return {
37
38
  marginLeft: theme.__hd__.spinner.space.spinnerDotPadding[themeSize],
38
- backgroundColor: theme.__hd__.spinner.colors.dot2,
39
+ backgroundColor: theme.__hd__.spinner.colors.dot,
40
+ opacity: 0.75,
39
41
  };
40
42
  case 'bottomLeft':
41
43
  return {
42
- backgroundColor: theme.__hd__.spinner.colors.dot3,
44
+ backgroundColor: theme.__hd__.spinner.colors.dot,
45
+ opacity: 0.5,
43
46
  };
44
47
  case 'bottomRight':
45
48
  return {
46
49
  marginLeft: theme.__hd__.spinner.space.spinnerDotPadding[themeSize],
47
- backgroundColor: theme.__hd__.spinner.colors.dot4,
50
+ backgroundColor: theme.__hd__.spinner.colors.dot,
51
+ opacity: 0.25,
48
52
  };
49
53
  }
50
54
  };
@@ -35,9 +35,10 @@ exports[`AnimatedSpinner renders correctly 1`] = `
35
35
  style={
36
36
  Array [
37
37
  Object {
38
- "backgroundColor": "#795e90",
38
+ "backgroundColor": "#001f23",
39
39
  "borderRadius": 999,
40
40
  "height": 16,
41
+ "opacity": 1,
41
42
  "width": 16,
42
43
  },
43
44
  Object {},
@@ -52,10 +53,11 @@ exports[`AnimatedSpinner renders correctly 1`] = `
52
53
  style={
53
54
  Array [
54
55
  Object {
55
- "backgroundColor": "#a08cb0",
56
+ "backgroundColor": "#001f23",
56
57
  "borderRadius": 999,
57
58
  "height": 16,
58
59
  "marginLeft": 8,
60
+ "opacity": 0.75,
59
61
  "width": 16,
60
62
  },
61
63
  Object {},
@@ -86,9 +88,10 @@ exports[`AnimatedSpinner renders correctly 1`] = `
86
88
  style={
87
89
  Array [
88
90
  Object {
89
- "backgroundColor": "#d9d1df",
91
+ "backgroundColor": "#001f23",
90
92
  "borderRadius": 999,
91
93
  "height": 16,
94
+ "opacity": 0.5,
92
95
  "width": 16,
93
96
  },
94
97
  Object {},
@@ -103,10 +106,11 @@ exports[`AnimatedSpinner renders correctly 1`] = `
103
106
  style={
104
107
  Array [
105
108
  Object {
106
- "backgroundColor": "#ece8ef",
109
+ "backgroundColor": "#001f23",
107
110
  "borderRadius": 999,
108
111
  "height": 16,
109
112
  "marginLeft": 8,
113
+ "opacity": 0.25,
110
114
  "width": 16,
111
115
  },
112
116
  Object {},
@@ -47,9 +47,10 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
47
47
  style={
48
48
  Array [
49
49
  Object {
50
- "backgroundColor": "#795e90",
50
+ "backgroundColor": "#001f23",
51
51
  "borderRadius": 999,
52
52
  "height": 16,
53
+ "opacity": 1,
53
54
  "width": 16,
54
55
  },
55
56
  Object {},
@@ -64,10 +65,11 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
64
65
  style={
65
66
  Array [
66
67
  Object {
67
- "backgroundColor": "#a08cb0",
68
+ "backgroundColor": "#001f23",
68
69
  "borderRadius": 999,
69
70
  "height": 16,
70
71
  "marginLeft": 8,
72
+ "opacity": 0.75,
71
73
  "width": 16,
72
74
  },
73
75
  Object {},
@@ -98,9 +100,10 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
98
100
  style={
99
101
  Array [
100
102
  Object {
101
- "backgroundColor": "#d9d1df",
103
+ "backgroundColor": "#001f23",
102
104
  "borderRadius": 999,
103
105
  "height": 16,
106
+ "opacity": 0.5,
104
107
  "width": 16,
105
108
  },
106
109
  Object {},
@@ -115,10 +118,11 @@ exports[`StyledSpinnerContainer renders correctly in medium size 1`] = `
115
118
  style={
116
119
  Array [
117
120
  Object {
118
- "backgroundColor": "#ece8ef",
121
+ "backgroundColor": "#001f23",
119
122
  "borderRadius": 999,
120
123
  "height": 16,
121
124
  "marginLeft": 8,
125
+ "opacity": 0.25,
122
126
  "width": 16,
123
127
  },
124
128
  Object {},
@@ -179,9 +183,10 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
179
183
  style={
180
184
  Array [
181
185
  Object {
182
- "backgroundColor": "#795e90",
186
+ "backgroundColor": "#001f23",
183
187
  "borderRadius": 999,
184
188
  "height": 8,
189
+ "opacity": 1,
185
190
  "width": 8,
186
191
  },
187
192
  Object {},
@@ -196,10 +201,11 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
196
201
  style={
197
202
  Array [
198
203
  Object {
199
- "backgroundColor": "#a08cb0",
204
+ "backgroundColor": "#001f23",
200
205
  "borderRadius": 999,
201
206
  "height": 8,
202
207
  "marginLeft": 4,
208
+ "opacity": 0.75,
203
209
  "width": 8,
204
210
  },
205
211
  Object {},
@@ -230,9 +236,10 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
230
236
  style={
231
237
  Array [
232
238
  Object {
233
- "backgroundColor": "#d9d1df",
239
+ "backgroundColor": "#001f23",
234
240
  "borderRadius": 999,
235
241
  "height": 8,
242
+ "opacity": 0.5,
236
243
  "width": 8,
237
244
  },
238
245
  Object {},
@@ -247,10 +254,11 @@ exports[`StyledSpinnerContainer renders correctly in small size 1`] = `
247
254
  style={
248
255
  Array [
249
256
  Object {
250
- "backgroundColor": "#ece8ef",
257
+ "backgroundColor": "#001f23",
251
258
  "borderRadius": 999,
252
259
  "height": 8,
253
260
  "marginLeft": 4,
261
+ "opacity": 0.25,
254
262
  "width": 8,
255
263
  },
256
264
  Object {},
@@ -333,9 +341,10 @@ exports[`StyledSpinnerText renders correctly when position is bottomLeft, size i
333
341
  style={
334
342
  Array [
335
343
  Object {
336
- "backgroundColor": "#d9d1df",
344
+ "backgroundColor": "#001f23",
337
345
  "borderRadius": 999,
338
346
  "height": 16,
347
+ "opacity": 0.5,
339
348
  "width": 16,
340
349
  },
341
350
  undefined,
@@ -351,9 +360,10 @@ exports[`StyledSpinnerText renders correctly when position is bottomLeft, size i
351
360
  style={
352
361
  Array [
353
362
  Object {
354
- "backgroundColor": "#d9d1df",
363
+ "backgroundColor": "#001f23",
355
364
  "borderRadius": 999,
356
365
  "height": 8,
366
+ "opacity": 0.5,
357
367
  "width": 8,
358
368
  },
359
369
  undefined,
@@ -369,10 +379,11 @@ exports[`StyledSpinnerText renders correctly when position is bottomRight, size
369
379
  style={
370
380
  Array [
371
381
  Object {
372
- "backgroundColor": "#ece8ef",
382
+ "backgroundColor": "#001f23",
373
383
  "borderRadius": 999,
374
384
  "height": 16,
375
385
  "marginLeft": 8,
386
+ "opacity": 0.25,
376
387
  "width": 16,
377
388
  },
378
389
  undefined,
@@ -388,10 +399,11 @@ exports[`StyledSpinnerText renders correctly when position is bottomRight, size
388
399
  style={
389
400
  Array [
390
401
  Object {
391
- "backgroundColor": "#ece8ef",
402
+ "backgroundColor": "#001f23",
392
403
  "borderRadius": 999,
393
404
  "height": 8,
394
405
  "marginLeft": 4,
406
+ "opacity": 0.25,
395
407
  "width": 8,
396
408
  },
397
409
  undefined,
@@ -407,9 +419,10 @@ exports[`StyledSpinnerText renders correctly when position is topLeft, size is m
407
419
  style={
408
420
  Array [
409
421
  Object {
410
- "backgroundColor": "#795e90",
422
+ "backgroundColor": "#001f23",
411
423
  "borderRadius": 999,
412
424
  "height": 16,
425
+ "opacity": 1,
413
426
  "width": 16,
414
427
  },
415
428
  undefined,
@@ -425,9 +438,10 @@ exports[`StyledSpinnerText renders correctly when position is topLeft, size is s
425
438
  style={
426
439
  Array [
427
440
  Object {
428
- "backgroundColor": "#795e90",
441
+ "backgroundColor": "#001f23",
429
442
  "borderRadius": 999,
430
443
  "height": 8,
444
+ "opacity": 1,
431
445
  "width": 8,
432
446
  },
433
447
  undefined,
@@ -443,10 +457,11 @@ exports[`StyledSpinnerText renders correctly when position is topRight, size is
443
457
  style={
444
458
  Array [
445
459
  Object {
446
- "backgroundColor": "#a08cb0",
460
+ "backgroundColor": "#001f23",
447
461
  "borderRadius": 999,
448
462
  "height": 16,
449
463
  "marginLeft": 8,
464
+ "opacity": 0.75,
450
465
  "width": 16,
451
466
  },
452
467
  undefined,
@@ -462,10 +477,11 @@ exports[`StyledSpinnerText renders correctly when position is topRight, size is
462
477
  style={
463
478
  Array [
464
479
  Object {
465
- "backgroundColor": "#a08cb0",
480
+ "backgroundColor": "#001f23",
466
481
  "borderRadius": 999,
467
482
  "height": 8,
468
483
  "marginLeft": 4,
484
+ "opacity": 0.75,
469
485
  "width": 8,
470
486
  },
471
487
  undefined,
@@ -56,9 +56,10 @@ exports[`Spinner renders correctly 1`] = `
56
56
  style={
57
57
  Array [
58
58
  Object {
59
- "backgroundColor": "#795e90",
59
+ "backgroundColor": "#001f23",
60
60
  "borderRadius": 999,
61
61
  "height": 16,
62
+ "opacity": 1,
62
63
  "width": 16,
63
64
  },
64
65
  Object {},
@@ -73,10 +74,11 @@ exports[`Spinner renders correctly 1`] = `
73
74
  style={
74
75
  Array [
75
76
  Object {
76
- "backgroundColor": "#a08cb0",
77
+ "backgroundColor": "#001f23",
77
78
  "borderRadius": 999,
78
79
  "height": 16,
79
80
  "marginLeft": 8,
81
+ "opacity": 0.75,
80
82
  "width": 16,
81
83
  },
82
84
  Object {},
@@ -107,9 +109,10 @@ exports[`Spinner renders correctly 1`] = `
107
109
  style={
108
110
  Array [
109
111
  Object {
110
- "backgroundColor": "#d9d1df",
112
+ "backgroundColor": "#001f23",
111
113
  "borderRadius": 999,
112
114
  "height": 16,
115
+ "opacity": 0.5,
113
116
  "width": 16,
114
117
  },
115
118
  Object {},
@@ -124,10 +127,11 @@ exports[`Spinner renders correctly 1`] = `
124
127
  style={
125
128
  Array [
126
129
  Object {
127
- "backgroundColor": "#ece8ef",
130
+ "backgroundColor": "#001f23",
128
131
  "borderRadius": 999,
129
132
  "height": 16,
130
133
  "marginLeft": 8,
134
+ "opacity": 0.25,
131
135
  "width": 16,
132
136
  },
133
137
  Object {},