@hero-design/rn 7.9.0 → 7.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/assets/fonts/hero-icons.ttf +0 -0
  3. package/es/index.js +731 -252
  4. package/lib/assets/fonts/hero-icons.ttf +0 -0
  5. package/lib/index.js +730 -251
  6. package/package.json +2 -2
  7. package/src/components/Button/Button.tsx +10 -2
  8. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +7 -1
  9. package/src/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.tsx +3 -0
  10. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +60 -0
  11. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +363 -0
  12. package/src/components/Button/LoadingIndicator/__tests__/index.spec.tsx +3 -0
  13. package/src/components/Button/LoadingIndicator/index.tsx +4 -1
  14. package/src/components/Button/StyledButton.tsx +57 -1
  15. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +167 -0
  16. package/src/components/Button/UtilityButton/__tests__/index.spec.tsx +55 -0
  17. package/src/components/Button/UtilityButton/index.tsx +53 -0
  18. package/src/components/Button/UtilityButton/styled.tsx +25 -0
  19. package/src/components/Button/__tests__/Button.spec.tsx +3 -0
  20. package/src/components/Button/__tests__/StyledButton.spec.tsx +18 -0
  21. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +468 -0
  22. package/src/components/Button/index.tsx +3 -0
  23. package/src/components/Icon/HeroIcon/selection.json +1 -1
  24. package/src/components/Icon/IconList.ts +2 -0
  25. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +248 -94
  26. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +248 -94
  27. package/src/components/TextInput/StyledTextInput.tsx +133 -11
  28. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +143 -7
  29. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +922 -15
  30. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +2078 -0
  31. package/src/components/TextInput/__tests__/index.spec.tsx +302 -11
  32. package/src/components/TextInput/index.tsx +232 -28
  33. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +69 -3
  34. package/src/theme/components/button.ts +6 -0
  35. package/src/theme/components/textInput.ts +62 -3
  36. package/src/theme/global/colors.ts +1 -0
  37. package/src/types.ts +8 -1
  38. package/types/components/Alert/StyledAlert.d.ts +0 -0
  39. package/types/components/Alert/__tests__/index.spec.d.ts +0 -0
  40. package/types/components/Alert/index.d.ts +0 -0
  41. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  42. package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -0
  43. package/types/components/Avatar/__tests__/index.spec.d.ts +0 -0
  44. package/types/components/Avatar/index.d.ts +0 -0
  45. package/types/components/Badge/Status.d.ts +0 -0
  46. package/types/components/Badge/StyledBadge.d.ts +0 -0
  47. package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -0
  48. package/types/components/Badge/__tests__/Status.spec.d.ts +0 -0
  49. package/types/components/Badge/index.d.ts +0 -0
  50. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  51. package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -0
  52. package/types/components/BottomNavigation/index.d.ts +0 -0
  53. package/types/components/BottomSheet/Footer.d.ts +0 -0
  54. package/types/components/BottomSheet/Header.d.ts +0 -0
  55. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  56. package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -0
  57. package/types/components/BottomSheet/index.d.ts +0 -0
  58. package/types/components/Button/Button.d.ts +2 -2
  59. package/types/components/Button/IconButton.d.ts +0 -0
  60. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +1 -1
  61. package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -0
  62. package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -0
  63. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  64. package/types/components/Button/StyledButton.d.ts +1 -1
  65. package/types/components/Button/UtilityButton/__tests__/index.spec.d.ts +1 -0
  66. package/types/components/Button/UtilityButton/index.d.ts +23 -0
  67. package/types/components/Button/UtilityButton/styled.d.ts +17 -0
  68. package/types/components/Button/__tests__/Button.spec.d.ts +0 -0
  69. package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -0
  70. package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -0
  71. package/types/components/Button/index.d.ts +2 -0
  72. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  73. package/types/components/Card/DataCard/__tests__/StyledDataCard.spec.d.ts +0 -0
  74. package/types/components/Card/DataCard/__tests__/index.spec.d.ts +0 -0
  75. package/types/components/Card/DataCard/index.d.ts +0 -0
  76. package/types/components/Card/StyledCard.d.ts +0 -0
  77. package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -0
  78. package/types/components/Card/__tests__/index.spec.d.ts +0 -0
  79. package/types/components/Card/index.d.ts +0 -0
  80. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  81. package/types/components/Checkbox/__tests__/StyledCheckbox.spec.d.ts +0 -0
  82. package/types/components/Checkbox/__tests__/index.spec.d.ts +0 -0
  83. package/types/components/Checkbox/index.d.ts +0 -0
  84. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  85. package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -0
  86. package/types/components/Collapse/__tests__/index.spec.d.ts +0 -0
  87. package/types/components/Collapse/index.d.ts +0 -0
  88. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  89. package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -0
  90. package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -0
  91. package/types/components/ContentNavigator/index.d.ts +0 -0
  92. package/types/components/Divider/StyledDivider.d.ts +0 -0
  93. package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -0
  94. package/types/components/Divider/index.d.ts +0 -0
  95. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  96. package/types/components/Drawer/__tests__/index.spec.d.ts +0 -0
  97. package/types/components/Drawer/index.d.ts +0 -0
  98. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  99. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  100. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  101. package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -0
  102. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  103. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  104. package/types/components/FAB/FAB.d.ts +0 -0
  105. package/types/components/FAB/StyledFAB.d.ts +0 -0
  106. package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -0
  107. package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -0
  108. package/types/components/FAB/__tests__/index.spec.d.ts +0 -0
  109. package/types/components/FAB/index.d.ts +0 -0
  110. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  111. package/types/components/Icon/IconList.d.ts +1 -1
  112. package/types/components/Icon/__tests__/index.spec.d.ts +0 -0
  113. package/types/components/Icon/index.d.ts +0 -0
  114. package/types/components/Icon/utils.d.ts +1 -1
  115. package/types/components/List/BasicListItem.d.ts +0 -0
  116. package/types/components/List/ListItem.d.ts +0 -0
  117. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  118. package/types/components/List/StyledListItem.d.ts +0 -0
  119. package/types/components/List/__tests__/BasicListItem.spec.d.ts +0 -0
  120. package/types/components/List/__tests__/ListItem.spec.d.ts +0 -0
  121. package/types/components/List/__tests__/StyledBasicListItem.spec.d.ts +0 -0
  122. package/types/components/List/__tests__/StyledListItem.spec.d.ts +0 -0
  123. package/types/components/List/index.d.ts +0 -0
  124. package/types/components/Progress/ProgressBar.d.ts +0 -0
  125. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  126. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  127. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  128. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  129. package/types/components/Progress/index.d.ts +0 -0
  130. package/types/components/Progress/types.d.ts +0 -0
  131. package/types/components/Radio/Radio.d.ts +0 -0
  132. package/types/components/Radio/RadioGroup.d.ts +0 -0
  133. package/types/components/Radio/StyledRadio.d.ts +0 -0
  134. package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -0
  135. package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -0
  136. package/types/components/Radio/__tests__/StyledRadio.spec.d.ts +0 -0
  137. package/types/components/Radio/index.d.ts +0 -0
  138. package/types/components/Radio/types.d.ts +0 -0
  139. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  140. package/types/components/SectionHeading/__tests__/StyledHeading.spec.d.ts +0 -0
  141. package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -0
  142. package/types/components/SectionHeading/index.d.ts +0 -0
  143. package/types/components/Select/Footer.d.ts +0 -0
  144. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  145. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  146. package/types/components/Select/MultiSelect/__tests__/Option.spec.d.ts +0 -0
  147. package/types/components/Select/MultiSelect/__tests__/OptionList.spec.d.ts +0 -0
  148. package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +0 -0
  149. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  150. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  151. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  152. package/types/components/Select/SingleSelect/__tests__/Option.spec.d.ts +0 -0
  153. package/types/components/Select/SingleSelect/__tests__/OptionList.spec.d.ts +0 -0
  154. package/types/components/Select/SingleSelect/__tests__/index.spec.d.ts +0 -0
  155. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  156. package/types/components/Select/StyledSelect.d.ts +0 -0
  157. package/types/components/Select/__tests__/StyledSelect.spec.d.ts +0 -0
  158. package/types/components/Select/helpers.d.ts +0 -0
  159. package/types/components/Select/index.d.ts +0 -0
  160. package/types/components/Select/types.d.ts +0 -0
  161. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  162. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  163. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -0
  164. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -0
  165. package/types/components/Spinner/__tests__/index.spec.d.ts +0 -0
  166. package/types/components/Spinner/index.d.ts +0 -0
  167. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  168. package/types/components/Switch/__tests__/StyledHeading.spec.d.ts +0 -0
  169. package/types/components/Switch/__tests__/index.spec.d.ts +0 -0
  170. package/types/components/Switch/index.d.ts +0 -0
  171. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  172. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  173. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  174. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  175. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -0
  176. package/types/components/Tabs/__tests__/index.spec.d.ts +0 -0
  177. package/types/components/Tabs/index.d.ts +0 -0
  178. package/types/components/Tabs/utils.d.ts +0 -0
  179. package/types/components/Tag/StyledTag.d.ts +0 -0
  180. package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -0
  181. package/types/components/Tag/index.d.ts +0 -0
  182. package/types/components/TextInput/StyledTextInput.d.ts +82 -3
  183. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -0
  184. package/types/components/TextInput/__tests__/index.spec.d.ts +0 -0
  185. package/types/components/TextInput/index.d.ts +33 -5
  186. package/types/components/Toast/StyledToast.d.ts +0 -0
  187. package/types/components/Toast/Toast.d.ts +0 -0
  188. package/types/components/Toast/ToastContainer.d.ts +0 -0
  189. package/types/components/Toast/ToastContext.d.ts +0 -0
  190. package/types/components/Toast/ToastProvider.d.ts +0 -0
  191. package/types/components/Toast/__tests__/Toast.spec.d.ts +0 -0
  192. package/types/components/Toast/__tests__/ToastContainer.spec.d.ts +0 -0
  193. package/types/components/Toast/index.d.ts +0 -0
  194. package/types/components/Toast/types.d.ts +0 -0
  195. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  196. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  197. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  198. package/types/components/Toolbar/__tests__/ToolbarGroup.spec.d.ts +0 -0
  199. package/types/components/Toolbar/__tests__/ToolbarItem.spec.d.ts +0 -0
  200. package/types/components/Toolbar/index.d.ts +0 -0
  201. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  202. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -0
  203. package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -0
  204. package/types/components/Typography/Text/index.d.ts +0 -0
  205. package/types/components/Typography/index.d.ts +0 -0
  206. package/types/index.d.ts +0 -0
  207. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  208. package/types/theme/__tests__/index.spec.d.ts +0 -0
  209. package/types/theme/components/alert.d.ts +0 -0
  210. package/types/theme/components/avatar.d.ts +0 -0
  211. package/types/theme/components/badge.d.ts +0 -0
  212. package/types/theme/components/bottomNavigation.d.ts +0 -0
  213. package/types/theme/components/bottomSheet.d.ts +0 -0
  214. package/types/theme/components/button.d.ts +6 -0
  215. package/types/theme/components/card.d.ts +0 -0
  216. package/types/theme/components/checkbox.d.ts +0 -0
  217. package/types/theme/components/contentNavigator.d.ts +0 -0
  218. package/types/theme/components/divider.d.ts +0 -0
  219. package/types/theme/components/drawer.d.ts +0 -0
  220. package/types/theme/components/fab.d.ts +0 -0
  221. package/types/theme/components/icon.d.ts +0 -0
  222. package/types/theme/components/list.d.ts +0 -0
  223. package/types/theme/components/progress.d.ts +0 -0
  224. package/types/theme/components/radio.d.ts +0 -0
  225. package/types/theme/components/sectionHeading.d.ts +0 -0
  226. package/types/theme/components/select.d.ts +0 -0
  227. package/types/theme/components/spinner.d.ts +0 -0
  228. package/types/theme/components/switch.d.ts +0 -0
  229. package/types/theme/components/tabs.d.ts +0 -0
  230. package/types/theme/components/tag.d.ts +0 -0
  231. package/types/theme/components/textInput.d.ts +61 -2
  232. package/types/theme/components/toast.d.ts +0 -0
  233. package/types/theme/components/toolbar.d.ts +0 -0
  234. package/types/theme/components/typography.d.ts +0 -0
  235. package/types/theme/global/borders.d.ts +0 -0
  236. package/types/theme/global/colors.d.ts +1 -0
  237. package/types/theme/global/index.d.ts +1 -0
  238. package/types/theme/global/scale.d.ts +0 -0
  239. package/types/theme/global/space.d.ts +0 -0
  240. package/types/theme/global/typography.d.ts +0 -0
  241. package/types/theme/index.d.ts +0 -0
  242. package/types/types.d.ts +2 -1
  243. package/types/utils/__tests__/scale.spec.d.ts +0 -0
  244. package/types/utils/helpers.d.ts +0 -0
  245. package/types/utils/hooks.d.ts +0 -0
  246. package/types/utils/scale.d.ts +0 -0
  247. package/.expo/README.md +0 -15
  248. package/.expo/packager-info.json +0 -10
  249. package/.expo/prebuild/cached-packages.json +0 -4
  250. package/.expo/settings.json +0 -10
  251. package/.expo/xcodebuild-error.log +0 -2
  252. package/.expo/xcodebuild.log +0 -11199
@@ -145,9 +145,12 @@ Object {
145
145
  "pressedSecondary": "#d1d9fe",
146
146
  "primary": "#7622d7",
147
147
  "secondary": "#4568fb",
148
+ "utilityBackground": "#fafbfb",
148
149
  },
149
150
  "fontSize": Object {
150
151
  "default": 18,
152
+ "textVariant": 16,
153
+ "utility": 16,
151
154
  },
152
155
  "fonts": Object {
153
156
  "default": "BeVietnamPro-SemiBold",
@@ -157,6 +160,7 @@ Object {
157
160
  },
158
161
  "radii": Object {
159
162
  "default": 32,
163
+ "utilityRadii": 8,
160
164
  },
161
165
  "sizes": Object {
162
166
  "iconSize": 20,
@@ -164,6 +168,8 @@ Object {
164
168
  "space": Object {
165
169
  "buttonPadding": 16,
166
170
  "iconPadding": 8,
171
+ "utilityIconPadding": 12,
172
+ "utilityPadding": 8,
167
173
  },
168
174
  },
169
175
  "card": Object {
@@ -514,24 +520,83 @@ Object {
514
520
  },
515
521
  "textInput": Object {
516
522
  "borderWidths": Object {
517
- "container": 1,
523
+ "container": Object {
524
+ "focused": 2,
525
+ "normal": 1,
526
+ },
518
527
  },
519
528
  "colors": Object {
520
- "border": "#292a2b",
529
+ "asterisks": Object {
530
+ "default": "#de350b",
531
+ "disabled": "#ccced1",
532
+ "error": "#de350b",
533
+ "filled": "#de350b",
534
+ "focused": "#de350b",
535
+ "readonly": "#8b8d92",
536
+ },
537
+ "borders": Object {
538
+ "default": "#292a2b",
539
+ "disabled": "#ccced1",
540
+ "error": "#de350b",
541
+ "filled": "#292a2b",
542
+ "focused": "#292a2b",
543
+ "readonly": "#8b8d92",
544
+ },
545
+ "disabledLabel": "#ccced1",
546
+ "error": "#de350b",
547
+ "label": "#292a2b",
521
548
  "labelBackground": "#ffffff",
549
+ "labels": Object {
550
+ "default": "#292a2b",
551
+ "disabled": "#ccced1",
552
+ "error": "#292a2b",
553
+ "filled": "#292a2b",
554
+ "focused": "#292a2b",
555
+ "readonly": "#8b8d92",
556
+ },
557
+ "labelsInsideTextInput": Object {
558
+ "default": "#292a2b",
559
+ "disabled": "#ccced1",
560
+ "error": "#292a2b",
561
+ "filled": "#292a2b",
562
+ "focused": "#292a2b",
563
+ "readonly": "#8b8d92",
564
+ },
565
+ "maxLengthLabels": Object {
566
+ "default": "#292a2b",
567
+ "disabled": "#ccced1",
568
+ "error": "#de350b",
569
+ "filled": "#292a2b",
570
+ "focused": "#292a2b",
571
+ "readonly": "#8b8d92",
572
+ },
573
+ "placeholderIfFocued": "#8b8d92",
574
+ "placeholderIfNotFocused": "#292a2b",
575
+ "readonlyLabel": "#8b8d92",
576
+ "text": "#292a2b",
522
577
  },
523
578
  "fontSizes": Object {
524
- "text": 16,
579
+ "asteriskLabel": 14,
580
+ "error": 12,
581
+ "labelInsideTextInput": 14,
582
+ "maxLength": 12,
583
+ "text": 14,
525
584
  },
526
585
  "radii": Object {
527
586
  "container": 8,
528
587
  },
529
588
  "space": Object {
589
+ "containerMarginVertical": 8,
530
590
  "containerPadding": 16,
591
+ "errorContainerMarginLeft": 16,
592
+ "errorContainerMarginRight": 4,
593
+ "errorMarginLeft": 4,
531
594
  "inputHorizontalMargin": 8,
532
595
  "labelHorizontalPadding": 4,
533
596
  "labelLeft": 16,
597
+ "labelPaddingBottom": 8,
534
598
  "labelTop": -10,
599
+ "maxLengthLabelMarginLeft": 4,
535
600
  },
536
601
  },
537
602
  "toast": Object {
@@ -635,6 +700,7 @@ Object {
635
700
  "secondary": "#4568fb",
636
701
  "secondaryLight": "#d1d9fe",
637
702
  "shadow": "#dadbde",
703
+ "subduedText": "#727478",
638
704
  "success": "#01b39c",
639
705
  "successBackground": "#f0fef4",
640
706
  "successDark": "#017d6d",
@@ -7,6 +7,8 @@ const getButtonTheme = (theme: GlobalTheme) => {
7
7
 
8
8
  const fontSize = {
9
9
  default: theme.fontSizes.xlarge,
10
+ utility: theme.fontSizes.large,
11
+ textVariant: theme.fontSizes.large,
10
12
  };
11
13
 
12
14
  const lineHeight = {
@@ -20,6 +22,8 @@ const getButtonTheme = (theme: GlobalTheme) => {
20
22
  const space = {
21
23
  buttonPadding: theme.space.medium,
22
24
  iconPadding: theme.space.small,
25
+ utilityPadding: theme.space.small,
26
+ utilityIconPadding: theme.space.smallMedium,
23
27
  };
24
28
 
25
29
  const sizes = {
@@ -28,6 +32,7 @@ const getButtonTheme = (theme: GlobalTheme) => {
28
32
 
29
33
  const radii = {
30
34
  default: theme.space.xlarge,
35
+ utilityRadii: theme.space.small,
31
36
  };
32
37
 
33
38
  const colors = {
@@ -42,6 +47,7 @@ const getButtonTheme = (theme: GlobalTheme) => {
42
47
  disabledBorder: theme.colors.disabledLightText,
43
48
  disabledBackground: theme.colors.disabledLightText,
44
49
  invertedText: theme.colors.invertedText,
50
+ utilityBackground: theme.colors.backgroundLight,
45
51
  };
46
52
 
47
53
  return {
@@ -3,23 +3,82 @@ import { GlobalTheme } from '../global';
3
3
  const getTextInputTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
5
  labelBackground: theme.colors.platformBackground,
6
- border: theme.colors.text,
6
+ asterisks: {
7
+ default: theme.colors.danger,
8
+ error: theme.colors.danger,
9
+ disabled: theme.colors.disabledLightText,
10
+ readonly: theme.colors.disabledText,
11
+ filled: theme.colors.danger,
12
+ focused: theme.colors.danger,
13
+ },
14
+ error: theme.colors.danger,
15
+ placeholderIfNotFocused: theme.colors.text,
16
+ placeholderIfFocued: theme.colors.disabledText,
17
+ label: theme.colors.text,
18
+ readonlyLabel: theme.colors.disabledText,
19
+ disabledLabel: theme.colors.disabledLightText,
20
+ text: theme.colors.text,
21
+ borders: {
22
+ default: theme.colors.text,
23
+ error: theme.colors.danger,
24
+ disabled: theme.colors.disabledLightText,
25
+ readonly: theme.colors.disabledText,
26
+ filled: theme.colors.text,
27
+ focused: theme.colors.text,
28
+ },
29
+ labels: {
30
+ default: theme.colors.text,
31
+ error: theme.colors.text,
32
+ disabled: theme.colors.disabledLightText,
33
+ readonly: theme.colors.disabledText,
34
+ filled: theme.colors.text,
35
+ focused: theme.colors.text,
36
+ },
37
+ labelsInsideTextInput: {
38
+ default: theme.colors.text,
39
+ error: theme.colors.text,
40
+ disabled: theme.colors.disabledLightText,
41
+ readonly: theme.colors.disabledText,
42
+ filled: theme.colors.text,
43
+ focused: theme.colors.text,
44
+ },
45
+ maxLengthLabels: {
46
+ default: theme.colors.text,
47
+ error: theme.colors.danger,
48
+ disabled: theme.colors.disabledLightText,
49
+ readonly: theme.colors.disabledText,
50
+ filled: theme.colors.text,
51
+ focused: theme.colors.text,
52
+ },
7
53
  };
8
54
 
9
55
  const space = {
10
56
  containerPadding: theme.space.medium,
11
57
  labelLeft: theme.space.medium,
12
58
  labelTop: theme.lineHeights.small / -2,
59
+ labelPaddingBottom: theme.space.small,
13
60
  labelHorizontalPadding: theme.space.xsmall,
14
61
  inputHorizontalMargin: theme.space.small,
62
+ containerMarginVertical: theme.space.small,
63
+ errorContainerMarginLeft: theme.space.medium,
64
+ errorContainerMarginRight: theme.space.xsmall,
65
+ errorMarginLeft: theme.space.xsmall,
66
+ maxLengthLabelMarginLeft: theme.space.xsmall,
15
67
  };
16
68
 
17
69
  const fontSizes = {
18
- text: theme.fontSizes.large,
70
+ text: theme.fontSizes.medium,
71
+ labelInsideTextInput: theme.fontSizes.medium,
72
+ error: theme.fontSizes.small,
73
+ maxLength: theme.fontSizes.small,
74
+ asteriskLabel: theme.fontSizes.medium,
19
75
  };
20
76
 
21
77
  const borderWidths = {
22
- container: theme.borderWidths.base,
78
+ container: {
79
+ normal: theme.borderWidths.base,
80
+ focused: theme.borderWidths.medium,
81
+ },
23
82
  };
24
83
 
25
84
  const radii = {
@@ -29,6 +29,7 @@ const systemPalette = {
29
29
  backgroundLight: palette.greyLight95,
30
30
  backgroundDark: palette.greyDark75,
31
31
  text: palette.greyDark75,
32
+ subduedText: palette.greyDark30,
32
33
  disabledText: palette.greyDark15,
33
34
  disabledLightText: palette.greyLight45,
34
35
  invertedText: palette.white,
package/src/types.ts CHANGED
@@ -1,7 +1,14 @@
1
1
  import { BottomNavigationTabType } from './components/BottomNavigation';
2
2
  import { IconName } from './components/Icon';
3
3
  import { TabType } from './components/Tabs';
4
+ import { TextInputProps } from './components/TextInput';
4
5
 
5
6
  import { Theme } from './theme';
6
7
 
7
- export type { BottomNavigationTabType, IconName, TabType, Theme };
8
+ export type {
9
+ BottomNavigationTabType,
10
+ IconName,
11
+ TabType,
12
+ Theme,
13
+ TextInputProps,
14
+ };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -50,8 +50,8 @@ export interface ButtonProps {
50
50
  /**
51
51
  * Button type.
52
52
  */
53
- variant?: 'basic-transparent' | 'filled' | 'outlined';
53
+ variant?: 'basic-transparent' | 'filled' | 'outlined' | 'text';
54
54
  }
55
- export declare const getThemeVariant: (variant: 'basic-transparent' | 'filled' | 'outlined', intent: Intent) => ThemeVariant;
55
+ export declare const getThemeVariant: (variant: 'basic-transparent' | 'filled' | 'outlined' | 'text', intent: Intent) => ThemeVariant;
56
56
  declare const Button: ({ accessibilityHint, accessibilityLabel, disabled, icon, intent, loading, onPress, rightIcon, style, testID, text, variant, }: ButtonProps) => JSX.Element;
57
57
  export default Button;
File without changes
@@ -1,6 +1,6 @@
1
1
  import { View, ViewProps } from 'react-native';
2
2
  import { Theme } from '@emotion/react';
3
- declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger';
3
+ declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
4
4
  declare const StyledLoadingIndicatorWrapper: import("@emotion/native").StyledComponent<ViewProps & {
5
5
  theme?: Theme | undefined;
6
6
  as?: import("react").ElementType<any> | undefined;
@@ -1,5 +1,5 @@
1
1
  import { StyleProp, ViewStyle, ViewProps } from 'react-native';
2
- declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger';
2
+ declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
3
3
  interface LoadingIndicatorProps extends ViewProps {
4
4
  /**
5
5
  * Size of the loading dot.
@@ -1,7 +1,7 @@
1
1
  import { View } from 'react-native';
2
2
  import { Theme } from '@emotion/react';
3
3
  declare type Intent = 'primary' | 'secondary' | 'danger';
4
- declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger';
4
+ declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
5
5
  declare const StyledButtonContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
6
6
  theme?: Theme | undefined;
7
7
  as?: import("react").ElementType<any> | undefined;
@@ -0,0 +1,23 @@
1
+ import { ReactChild } from 'react';
2
+ import { ViewProps } from 'react-native';
3
+ import { IconName } from '../../Icon';
4
+ export interface UtilityButtonProps extends ViewProps {
5
+ /**
6
+ * Places an icon within the button, before the button's text
7
+ */
8
+ icon: IconName;
9
+ /**
10
+ * Set the handler to handle press event.
11
+ */
12
+ onPress: () => void;
13
+ /**
14
+ * Button label.
15
+ */
16
+ text: ReactChild;
17
+ /**
18
+ * Visual intent color to apply to button.
19
+ */
20
+ intent?: 'primary' | 'text';
21
+ }
22
+ declare const UtilityButton: ({ icon, onPress, text, testID, intent, style, hitSlop, }: UtilityButtonProps) => JSX.Element;
23
+ export default UtilityButton;
@@ -0,0 +1,17 @@
1
+ import { View, TouchableOpacity } from 'react-native';
2
+ export declare const ButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, {}, {
6
+ ref?: import("react").Ref<TouchableOpacity> | undefined;
7
+ }>;
8
+ export declare const IconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ }, {}, {
12
+ ref?: import("react").Ref<View> | undefined;
13
+ }>;
14
+ export declare const ButtonText: import("@emotion/native").StyledComponent<import("../../Typography/Text").TextProps & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ as?: import("react").ElementType<any> | undefined;
17
+ }, {}, {}>;
@@ -1,8 +1,10 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { ButtonProps } from './Button';
3
3
  import IconButton from './IconButton';
4
+ import UtilityButton from './UtilityButton';
4
5
  interface CompoundButtonProps extends FunctionComponent<ButtonProps> {
5
6
  Icon: typeof IconButton;
7
+ Utility: typeof UtilityButton;
6
8
  }
7
9
  declare const CompoundButton: CompoundButtonProps;
8
10
  export default CompoundButton;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,2 +1,2 @@
1
- declare const IconList: readonly ["activate", "add-person", "adjustment", "alignment", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left", "carat-right", "carat-up", "circle-add", "circle-cancel", "circle-check", "circle-down", "circle-info", "circle-left", "circle-ok", "circle-pencil", "circle-question", "circle-remove", "circle-right", "circle-up", "circle-warning", "clock", "cloud-download", "cloud-upload", "cog", "coin", "contacts", "credit-card", "diamond", "direction-arrows", "directory", "document", "dollar-coin-shine", "double-buildings", "edit-template", "envelope", "expense", "eye-circle", "eye-invisible", "eye", "face-meh", "face-sad", "face-smiley", "feed", "feedbacks", "file-certified", "file-clone", "file-copy", "file-csv", "file-dispose", "file-doc", "file-excel", "file-export", "file-lock", "file-pdf", "file-powerpoint", "file-search", "file-secured", "file-sheets", "file-slide", "file-verified", "file-word", "file", "folder-user", "folder", "funnel-filter", "global-dollar", "globe", "graduation-cap", "graph", "happy-sun", "health-bag", "heart", "home", "image", "import", "incident-siren", "instapay", "list", "loading", "loading-2", "location", "lock", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "plane", "play-circle", "print", "raising-hands", "reply", "reschedule", "rostering", "save", "schedule", "search-person", "send", "speaker", "star-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "switch", "tag", "target", "teams", "timesheet", "touch-id", "trash-bin", "unlock", "user", "video-1", "video-2", "activate-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "at-sign", "bell-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "checkmark", "circle-add-outlined", "circle-cancel-outlined", "circle-down-outlined", "circle-info-outlined", "circle-left-outlined", "circle-ok-outlined", "circle-question-outlined", "circle-remove-outlined", "circle-right-outlined", "circle-up-outlined", "circle-warning-outlined", "clock-2-outlined", "clock-outlined", "cog-outlined", "coin-outlined", "comment-outlined", "contacts-outlined", "credit-card-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "media-content-outlined", "menu-close", "menu-expand", "menu-fold-outlined", "menu-unfold-outlined", "moneybag-outlined", "moon-outlined", "more-horizontal", "more-vertical", "multiple-folders-outlined", "multiple-users-outlined", "node-outlined", "number-points", "number", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined", "warning"];
1
+ declare const IconList: readonly ["activate", "add-person", "adjustment", "alignment", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left", "carat-right", "carat-up", "circle-add", "circle-cancel", "circle-check", "circle-down", "circle-info", "circle-left", "circle-ok", "circle-pencil", "circle-question", "circle-remove", "circle-right", "circle-up", "circle-warning", "clock", "cloud-download", "cloud-upload", "cog", "coin", "contacts", "credit-card", "diamond", "direction-arrows", "directory", "document", "dollar-coin-shine", "double-buildings", "edit-template", "envelope", "expense", "eye-circle", "eye-invisible", "eye", "face-meh", "face-sad", "face-smiley", "feed", "feedbacks", "file-certified", "file-clone", "file-copy", "file-csv", "file-dispose", "file-doc", "file-excel", "file-export", "file-lock", "file-pdf", "file-powerpoint", "file-search", "file-secured", "file-sheets", "file-slide", "file-verified", "file-word", "file", "folder-user", "folder", "funnel-filter", "global-dollar", "globe", "graduation-cap", "graph", "happy-sun", "health-bag", "heart", "home", "image", "import", "incident-siren", "instapay", "list", "loading", "loading-2", "location", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "plane", "play-circle", "print", "raising-hands", "reply", "reschedule", "rostering", "save", "schedule", "search-person", "send", "speaker", "star-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "switch", "tag", "target", "teams", "timesheet", "touch-id", "trash-bin", "unlock", "user", "video-1", "video-2", "activate-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "at-sign", "bell-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "checkmark", "circle-add-outlined", "circle-cancel-outlined", "circle-down-outlined", "circle-info-outlined", "circle-left-outlined", "circle-ok-outlined", "circle-question-outlined", "circle-remove-outlined", "circle-right-outlined", "circle-up-outlined", "circle-warning-outlined", "clock-2-outlined", "clock-outlined", "cog-outlined", "coin-outlined", "comment-outlined", "contacts-outlined", "credit-card-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "media-content-outlined", "menu-close", "menu-expand", "menu-fold-outlined", "menu-unfold-outlined", "moneybag-outlined", "moon-outlined", "more-horizontal", "more-vertical", "multiple-folders-outlined", "multiple-users-outlined", "node-outlined", "number-points", "number", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined", "warning"];
2
2
  export default IconList;
File without changes
File without changes
@@ -1,2 +1,2 @@
1
- declare const isHeroIcon: (x: any) => x is "number" | "activate" | "add-person" | "adjustment" | "alignment" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left" | "carat-right" | "carat-up" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "directory" | "document" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "expense" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feed" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "file" | "folder-user" | "folder" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "home" | "image" | "import" | "incident-siren" | "instapay" | "list" | "loading" | "loading-2" | "location" | "lock" | "media-content" | "menu" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane" | "play-circle" | "print" | "raising-hands" | "reply" | "reschedule" | "rostering" | "save" | "schedule" | "search-person" | "send" | "speaker" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "swag" | "switch" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell-outlined" | "billing-outlined" | "body-outlined" | "bold" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "comment-outlined" | "contacts-outlined" | "credit-card-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-coin-shine-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "enter-arrow" | "envelope-outlined" | "expense-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "node-outlined" | "number-points" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "qr-code-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "restart" | "return-arrow" | "rostering-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined" | "warning";
1
+ declare const isHeroIcon: (x: any) => x is "number" | "activate" | "add-person" | "adjustment" | "alignment" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left" | "carat-right" | "carat-up" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "directory" | "document" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "expense" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feed" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "file" | "folder-user" | "folder" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "home" | "image" | "import" | "incident-siren" | "instapay" | "list" | "loading" | "loading-2" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "menu" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane" | "play-circle" | "print" | "raising-hands" | "reply" | "reschedule" | "rostering" | "save" | "schedule" | "search-person" | "send" | "speaker" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "swag" | "switch" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell-outlined" | "billing-outlined" | "body-outlined" | "bold" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "comment-outlined" | "contacts-outlined" | "credit-card-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-coin-shine-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "enter-arrow" | "envelope-outlined" | "expense-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "node-outlined" | "number-points" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "qr-code-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "restart" | "return-arrow" | "rostering-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined" | "warning";
2
2
  export { isHeroIcon };
File without changes
File without changes
File without changes