@hero-design/rn 8.75.0 → 8.76.1-alpha.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 (359) hide show
  1. package/.turbo/turbo-build$colon$types.log +0 -0
  2. package/.turbo/turbo-build.log +4 -3
  3. package/.turbo/turbo-lint.log +183 -0
  4. package/.turbo/turbo-publish:npm.log +9 -0
  5. package/.turbo/turbo-test.log +4726 -0
  6. package/.turbo/turbo-type-check.log +0 -0
  7. package/CHANGELOG.md +24 -0
  8. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  9. package/es/index.js +562 -397
  10. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  11. package/lib/index.js +562 -397
  12. package/package.json +2 -2
  13. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +84 -18
  14. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -2
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +1 -1
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  17. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  18. package/src/components/BottomSheet/index.tsx +2 -0
  19. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
  20. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
  21. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  22. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -4
  23. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +3 -3
  24. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
  25. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
  26. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  27. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +1 -1
  28. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  29. package/src/components/FAB/ActionGroup/ActionItem.tsx +1 -3
  30. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -1
  31. package/src/components/FAB/ActionGroup/StyledActionItem.tsx +2 -2
  32. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +162 -89
  33. package/src/components/FAB/FAB.tsx +1 -1
  34. package/src/components/FAB/StyledFAB.tsx +2 -3
  35. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
  36. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +25 -3
  37. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  38. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  39. package/src/components/Icon/IconList.ts +5 -0
  40. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
  41. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +6 -6
  42. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
  43. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
  44. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  45. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
  46. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -10
  47. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +14 -14
  48. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
  49. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
  50. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  51. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -2
  52. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +14 -14
  53. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +14 -14
  54. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  55. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -8
  56. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  57. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  58. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
  59. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -32
  60. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  61. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  62. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
  63. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  64. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +2 -2
  65. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -3
  66. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +5 -5
  67. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  68. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +5 -5
  69. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -1
  70. package/src/components/Toolbar/StyledToolbar.tsx +50 -1
  71. package/src/components/Toolbar/ToolbarMessage.tsx +169 -0
  72. package/src/components/Toolbar/__tests__/ToolbarMessage.spec.tsx +161 -0
  73. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +18 -18
  74. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +7 -7
  75. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarMessage.spec.tsx.snap +382 -0
  76. package/src/components/Toolbar/index.tsx +2 -0
  77. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +1 -1
  78. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  79. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +1 -1
  80. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  81. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +1 -1
  82. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  83. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
  84. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1 -1
  85. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  86. package/src/theme/ThemeSwitcher.tsx +12 -2
  87. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +16 -0
  88. package/src/theme/components/fab.ts +6 -6
  89. package/src/theme/components/toolbar.ts +19 -1
  90. package/src/theme/getTheme.ts +2 -2
  91. package/stats/8.76.0/rn-stats.html +4844 -0
  92. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  93. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  94. package/types/components/Accordion/index.d.ts +0 -0
  95. package/types/components/Alert/StyledAlert.d.ts +0 -0
  96. package/types/components/Alert/index.d.ts +0 -0
  97. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  98. package/types/components/Attachment/index.d.ts +0 -0
  99. package/types/components/Avatar/Avatar.d.ts +0 -0
  100. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  101. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  102. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  103. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  104. package/types/components/Avatar/index.d.ts +0 -0
  105. package/types/components/Badge/Status.d.ts +0 -0
  106. package/types/components/Badge/StyledBadge.d.ts +0 -0
  107. package/types/components/Badge/index.d.ts +0 -0
  108. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  109. package/types/components/BottomNavigation/index.d.ts +0 -0
  110. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  111. package/types/components/BottomSheet/Footer.d.ts +0 -0
  112. package/types/components/BottomSheet/Header.d.ts +0 -0
  113. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  114. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  115. package/types/components/BottomSheet/index.d.ts +0 -0
  116. package/types/components/Box/StyledBox.d.ts +0 -0
  117. package/types/components/Box/config.d.ts +0 -0
  118. package/types/components/Box/index.d.ts +0 -0
  119. package/types/components/Box/types.d.ts +0 -0
  120. package/types/components/Button/Button.d.ts +0 -0
  121. package/types/components/Button/IconButton.d.ts +0 -0
  122. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  123. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  124. package/types/components/Button/StyledButton.d.ts +0 -0
  125. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  126. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  127. package/types/components/Button/index.d.ts +0 -0
  128. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  129. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  130. package/types/components/Calendar/helpers.d.ts +0 -0
  131. package/types/components/Calendar/index.d.ts +0 -0
  132. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  133. package/types/components/Card/DataCard/index.d.ts +0 -0
  134. package/types/components/Card/StyledCard.d.ts +0 -0
  135. package/types/components/Card/index.d.ts +0 -0
  136. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  137. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  138. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  139. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  140. package/types/components/Carousel/contants.d.ts +0 -0
  141. package/types/components/Carousel/index.d.ts +0 -0
  142. package/types/components/Carousel/types.d.ts +0 -0
  143. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  144. package/types/components/Checkbox/index.d.ts +0 -0
  145. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  146. package/types/components/Collapse/index.d.ts +0 -0
  147. package/types/components/CompoundSearch/CompoundSearchHandler.d.ts +31 -0
  148. package/types/components/CompoundSearch/CompoundSearchTextInput.d.ts +60 -0
  149. package/types/components/CompoundSearch/StyledCompoundSearch.d.ts +40 -0
  150. package/types/components/CompoundSearch/index.d.ts +8 -0
  151. package/types/components/CompoundSearch/utils.d.ts +8 -0
  152. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  153. package/types/components/ContentNavigator/index.d.ts +0 -0
  154. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  155. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  156. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  157. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  158. package/types/components/DatePicker/index.d.ts +0 -0
  159. package/types/components/DatePicker/types.d.ts +0 -0
  160. package/types/components/Divider/StyledDivider.d.ts +0 -0
  161. package/types/components/Divider/index.d.ts +0 -0
  162. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  163. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  164. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  165. package/types/components/Drawer/index.d.ts +0 -0
  166. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  167. package/types/components/Empty/index.d.ts +0 -0
  168. package/types/components/Error/StyledError.d.ts +0 -0
  169. package/types/components/Error/index.d.ts +0 -0
  170. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  171. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  172. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +3 -3
  173. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  174. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  175. package/types/components/FAB/FAB.d.ts +0 -0
  176. package/types/components/FAB/StyledFAB.d.ts +2 -3
  177. package/types/components/FAB/index.d.ts +0 -0
  178. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  179. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  180. package/types/components/Icon/IconList.d.ts +1 -1
  181. package/types/components/Icon/index.d.ts +1 -1
  182. package/types/components/Icon/utils.d.ts +1 -1
  183. package/types/components/Image/index.d.ts +0 -0
  184. package/types/components/List/BasicListItem.d.ts +0 -0
  185. package/types/components/List/ListItem.d.ts +0 -0
  186. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  187. package/types/components/List/StyledListItem.d.ts +0 -0
  188. package/types/components/List/index.d.ts +0 -0
  189. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  190. package/types/components/PageControl/index.d.ts +0 -0
  191. package/types/components/PinInput/PinCell.d.ts +0 -0
  192. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  193. package/types/components/PinInput/index.d.ts +0 -0
  194. package/types/components/Progress/ProgressBar.d.ts +0 -0
  195. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  196. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  197. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  198. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  199. package/types/components/Progress/constants.d.ts +0 -0
  200. package/types/components/Progress/index.d.ts +0 -0
  201. package/types/components/Progress/types.d.ts +0 -0
  202. package/types/components/Radio/Radio.d.ts +0 -0
  203. package/types/components/Radio/RadioGroup.d.ts +0 -0
  204. package/types/components/Radio/StyledRadio.d.ts +0 -0
  205. package/types/components/Radio/index.d.ts +0 -0
  206. package/types/components/Radio/types.d.ts +0 -0
  207. package/types/components/RefreshControl/index.d.ts +0 -0
  208. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  209. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  210. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  211. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  212. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  213. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  214. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  215. package/types/components/RichTextEditor/constants.d.ts +0 -0
  216. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  217. package/types/components/RichTextEditor/index.d.ts +0 -0
  218. package/types/components/RichTextEditor/types.d.ts +0 -0
  219. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  220. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  221. package/types/components/Search/SearchBasic.d.ts +31 -0
  222. package/types/components/Search/SearchCompound.d.ts +60 -0
  223. package/types/components/Search/utils.d.ts +2 -2
  224. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  225. package/types/components/SectionHeading/index.d.ts +0 -0
  226. package/types/components/Select/BaseOptionList.d.ts +0 -0
  227. package/types/components/Select/Footer.d.ts +0 -0
  228. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  229. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  230. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  231. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  232. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  233. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  234. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  235. package/types/components/Select/StyledSelect.d.ts +0 -0
  236. package/types/components/Select/helpers.d.ts +0 -0
  237. package/types/components/Select/index.d.ts +0 -0
  238. package/types/components/Select/types.d.ts +0 -0
  239. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  240. package/types/components/Skeleton/index.d.ts +0 -0
  241. package/types/components/Slider/index.d.ts +0 -0
  242. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  243. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  244. package/types/components/Spinner/index.d.ts +0 -0
  245. package/types/components/Success/StyledSuccess.d.ts +0 -0
  246. package/types/components/Success/index.d.ts +0 -0
  247. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  248. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  249. package/types/components/Swipeable/index.d.ts +0 -0
  250. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  251. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  252. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  253. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  254. package/types/components/Switch/index.d.ts +0 -0
  255. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  256. package/types/components/Tabs/SceneView.d.ts +0 -0
  257. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  258. package/types/components/Tabs/ScrollableTabsHeader.d.ts +35 -0
  259. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  260. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  261. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  262. package/types/components/Tabs/index.d.ts +0 -0
  263. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  264. package/types/components/Tabs/utils.d.ts +0 -0
  265. package/types/components/Tag/StyledTag.d.ts +0 -0
  266. package/types/components/Tag/index.d.ts +0 -0
  267. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  268. package/types/components/TextInput/index.d.ts +3 -3
  269. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  270. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  271. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  272. package/types/components/TimePicker/index.d.ts +0 -0
  273. package/types/components/TimePicker/types.d.ts +0 -0
  274. package/types/components/Toast/StyledToast.d.ts +0 -0
  275. package/types/components/Toast/Toast.d.ts +0 -0
  276. package/types/components/Toast/ToastContainer.d.ts +0 -0
  277. package/types/components/Toast/ToastContext.d.ts +0 -0
  278. package/types/components/Toast/ToastProvider.d.ts +0 -0
  279. package/types/components/Toast/index.d.ts +0 -0
  280. package/types/components/Toast/types.d.ts +0 -0
  281. package/types/components/Toolbar/StyledToolbar.d.ts +33 -2
  282. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  283. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  284. package/types/components/Toolbar/ToolbarMessage.d.ts +59 -0
  285. package/types/components/Toolbar/index.d.ts +1 -0
  286. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  287. package/types/components/Typography/Text/index.d.ts +0 -0
  288. package/types/components/Typography/index.d.ts +0 -0
  289. package/types/index.d.ts +0 -0
  290. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  291. package/types/theme/ThemeProvider.d.ts +0 -0
  292. package/types/theme/ThemeSwitcher.d.ts +1 -1
  293. package/types/theme/components/accordion.d.ts +0 -0
  294. package/types/theme/components/alert.d.ts +0 -0
  295. package/types/theme/components/attachment.d.ts +0 -0
  296. package/types/theme/components/avatar.d.ts +0 -0
  297. package/types/theme/components/badge.d.ts +0 -0
  298. package/types/theme/components/bottomNavigation.d.ts +0 -0
  299. package/types/theme/components/bottomSheet.d.ts +0 -0
  300. package/types/theme/components/button.d.ts +0 -0
  301. package/types/theme/components/calendar.d.ts +0 -0
  302. package/types/theme/components/card.d.ts +0 -0
  303. package/types/theme/components/cardCarousel.d.ts +0 -0
  304. package/types/theme/components/carousel.d.ts +0 -0
  305. package/types/theme/components/checkbox.d.ts +0 -0
  306. package/types/theme/components/compoundSearch.d.ts +36 -0
  307. package/types/theme/components/contentNavigator.d.ts +0 -0
  308. package/types/theme/components/datePicker.d.ts +0 -0
  309. package/types/theme/components/divider.d.ts +0 -0
  310. package/types/theme/components/drawer.d.ts +0 -0
  311. package/types/theme/components/empty.d.ts +0 -0
  312. package/types/theme/components/error.d.ts +0 -0
  313. package/types/theme/components/fab.d.ts +0 -0
  314. package/types/theme/components/icon.d.ts +0 -0
  315. package/types/theme/components/image.d.ts +0 -0
  316. package/types/theme/components/list.d.ts +0 -0
  317. package/types/theme/components/pageControl.d.ts +0 -0
  318. package/types/theme/components/pinInput.d.ts +0 -0
  319. package/types/theme/components/progress.d.ts +0 -0
  320. package/types/theme/components/radio.d.ts +0 -0
  321. package/types/theme/components/refreshControl.d.ts +0 -0
  322. package/types/theme/components/richTextEditor.d.ts +0 -0
  323. package/types/theme/components/sectionHeading.d.ts +0 -0
  324. package/types/theme/components/select.d.ts +0 -0
  325. package/types/theme/components/skeleton.d.ts +0 -0
  326. package/types/theme/components/slider.d.ts +0 -0
  327. package/types/theme/components/spinner.d.ts +0 -0
  328. package/types/theme/components/success.d.ts +0 -0
  329. package/types/theme/components/swipeable.d.ts +0 -0
  330. package/types/theme/components/switch.d.ts +0 -0
  331. package/types/theme/components/tabs.d.ts +0 -0
  332. package/types/theme/components/tag.d.ts +0 -0
  333. package/types/theme/components/textInput.d.ts +0 -0
  334. package/types/theme/components/timePicker.d.ts +0 -0
  335. package/types/theme/components/toast.d.ts +0 -0
  336. package/types/theme/components/toolbar.d.ts +16 -0
  337. package/types/theme/components/typography.d.ts +0 -0
  338. package/types/theme/getTheme.d.ts +0 -0
  339. package/types/theme/global/borders.d.ts +0 -0
  340. package/types/theme/global/colors/eBens.d.ts +0 -0
  341. package/types/theme/global/colors/global.d.ts +0 -0
  342. package/types/theme/global/colors/globalDark.d.ts +0 -0
  343. package/types/theme/global/colors/jobs.d.ts +0 -0
  344. package/types/theme/global/colors/swag.d.ts +0 -0
  345. package/types/theme/global/colors/swagDark.d.ts +0 -0
  346. package/types/theme/global/colors/types.d.ts +0 -0
  347. package/types/theme/global/colors/wallet.d.ts +0 -0
  348. package/types/theme/global/colors/work.d.ts +0 -0
  349. package/types/theme/global/index.d.ts +0 -0
  350. package/types/theme/global/scale.d.ts +0 -0
  351. package/types/theme/global/sizes.d.ts +0 -0
  352. package/types/theme/global/space.d.ts +0 -0
  353. package/types/theme/global/typography.d.ts +0 -0
  354. package/types/theme/index.d.ts +0 -0
  355. package/types/types.d.ts +0 -0
  356. package/types/utils/functions.d.ts +0 -0
  357. package/types/utils/helpers.d.ts +0 -0
  358. package/types/utils/hooks.d.ts +0 -0
  359. package/types/utils/scale.d.ts +0 -0
@@ -0,0 +1,382 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`ToolbarMessage disabled renders correctly 1`] = `
4
+ <View
5
+ style={
6
+ {
7
+ "flex": 1,
8
+ }
9
+ }
10
+ >
11
+ <View
12
+ style={
13
+ [
14
+ {
15
+ "alignItems": "center",
16
+ "flex": 1,
17
+ "flexDirection": "row",
18
+ "height": 64,
19
+ "justifyContent": "space-between",
20
+ "paddingHorizontal": 8,
21
+ "paddingVertical": 12,
22
+ },
23
+ undefined,
24
+ ]
25
+ }
26
+ testID="toolbar-message"
27
+ >
28
+ <View
29
+ pointerEvents="none"
30
+ style={
31
+ [
32
+ {
33
+ "alignItems": "center",
34
+ "backgroundColor": "#f6f6f7",
35
+ "borderRadius": 999,
36
+ "flex": 1,
37
+ "flexDirection": "row",
38
+ "height": 40,
39
+ "paddingHorizontal": 12,
40
+ "paddingVertical": 8,
41
+ },
42
+ undefined,
43
+ ]
44
+ }
45
+ testID="toolbar-message-input-container"
46
+ >
47
+ <TextInput
48
+ editable={true}
49
+ onChangeText={[MockFunction]}
50
+ placeholder="Message"
51
+ style={
52
+ [
53
+ {
54
+ "alignSelf": "stretch",
55
+ "flexGrow": 1,
56
+ "flexShrink": 1,
57
+ "fontFamily": "BeVietnamPro-Regular",
58
+ "fontSize": 16,
59
+ "textAlignVertical": "center",
60
+ },
61
+ undefined,
62
+ ]
63
+ }
64
+ testID="toolbar-message-input"
65
+ value="Jisoo"
66
+ />
67
+ </View>
68
+ </View>
69
+ <View
70
+ pointerEvents="box-none"
71
+ position="bottom"
72
+ style={
73
+ [
74
+ {
75
+ "bottom": 0,
76
+ "elevation": 9999,
77
+ "flexDirection": "column-reverse",
78
+ "left": 0,
79
+ "paddingHorizontal": 24,
80
+ "paddingVertical": 16,
81
+ "position": "absolute",
82
+ "right": 0,
83
+ "top": 0,
84
+ },
85
+ undefined,
86
+ ]
87
+ }
88
+ />
89
+ </View>
90
+ `;
91
+
92
+ exports[`ToolbarMessage filled renders correctly 1`] = `
93
+ <View
94
+ style={
95
+ {
96
+ "flex": 1,
97
+ }
98
+ }
99
+ >
100
+ <View
101
+ style={
102
+ [
103
+ {
104
+ "alignItems": "center",
105
+ "flex": 1,
106
+ "flexDirection": "row",
107
+ "height": 64,
108
+ "justifyContent": "space-between",
109
+ "paddingHorizontal": 8,
110
+ "paddingVertical": 12,
111
+ },
112
+ undefined,
113
+ ]
114
+ }
115
+ testID="toolbar-message"
116
+ >
117
+ <View
118
+ pointerEvents="auto"
119
+ style={
120
+ [
121
+ {
122
+ "alignItems": "center",
123
+ "backgroundColor": "#f6f6f7",
124
+ "borderRadius": 999,
125
+ "flex": 1,
126
+ "flexDirection": "row",
127
+ "height": 40,
128
+ "paddingHorizontal": 12,
129
+ "paddingVertical": 8,
130
+ },
131
+ undefined,
132
+ ]
133
+ }
134
+ testID="toolbar-message-input-container"
135
+ >
136
+ <TextInput
137
+ editable={true}
138
+ placeholder="Message"
139
+ style={
140
+ [
141
+ {
142
+ "alignSelf": "stretch",
143
+ "flexGrow": 1,
144
+ "flexShrink": 1,
145
+ "fontFamily": "BeVietnamPro-Regular",
146
+ "fontSize": 16,
147
+ "textAlignVertical": "center",
148
+ },
149
+ undefined,
150
+ ]
151
+ }
152
+ testID="toolbar-message-input"
153
+ value="Jennie Kim"
154
+ />
155
+ </View>
156
+ </View>
157
+ <View
158
+ pointerEvents="box-none"
159
+ position="bottom"
160
+ style={
161
+ [
162
+ {
163
+ "bottom": 0,
164
+ "elevation": 9999,
165
+ "flexDirection": "column-reverse",
166
+ "left": 0,
167
+ "paddingHorizontal": 24,
168
+ "paddingVertical": 16,
169
+ "position": "absolute",
170
+ "right": 0,
171
+ "top": 0,
172
+ },
173
+ undefined,
174
+ ]
175
+ }
176
+ />
177
+ </View>
178
+ `;
179
+
180
+ exports[`ToolbarMessage idle renders correctly 1`] = `
181
+ <View
182
+ style={
183
+ {
184
+ "flex": 1,
185
+ }
186
+ }
187
+ >
188
+ <View
189
+ style={
190
+ [
191
+ {
192
+ "alignItems": "center",
193
+ "flex": 1,
194
+ "flexDirection": "row",
195
+ "height": 64,
196
+ "justifyContent": "space-between",
197
+ "paddingHorizontal": 8,
198
+ "paddingVertical": 12,
199
+ },
200
+ undefined,
201
+ ]
202
+ }
203
+ testID="toolbar-message"
204
+ >
205
+ <View
206
+ style={
207
+ [
208
+ {
209
+ "marginRight": 16,
210
+ "maxHeight": "100%",
211
+ },
212
+ undefined,
213
+ ]
214
+ }
215
+ testID="toolbar-message-prefix"
216
+ >
217
+ prefix
218
+ </View>
219
+ <View
220
+ pointerEvents="auto"
221
+ style={
222
+ [
223
+ {
224
+ "alignItems": "center",
225
+ "backgroundColor": "#f6f6f7",
226
+ "borderRadius": 999,
227
+ "flex": 1,
228
+ "flexDirection": "row",
229
+ "height": 40,
230
+ "paddingHorizontal": 12,
231
+ "paddingVertical": 8,
232
+ },
233
+ undefined,
234
+ ]
235
+ }
236
+ testID="toolbar-message-input-container"
237
+ >
238
+ <TextInput
239
+ editable={true}
240
+ placeholder="Message"
241
+ style={
242
+ [
243
+ {
244
+ "alignSelf": "stretch",
245
+ "flexGrow": 1,
246
+ "flexShrink": 1,
247
+ "fontFamily": "BeVietnamPro-Regular",
248
+ "fontSize": 16,
249
+ "textAlignVertical": "center",
250
+ },
251
+ undefined,
252
+ ]
253
+ }
254
+ testID="toolbar-message-input"
255
+ />
256
+ </View>
257
+ <View
258
+ style={
259
+ [
260
+ {
261
+ "marginLeft": 16,
262
+ "maxHeight": "100%",
263
+ },
264
+ undefined,
265
+ ]
266
+ }
267
+ testID="toolbar-message-suffix"
268
+ >
269
+ suffix
270
+ </View>
271
+ </View>
272
+ <View
273
+ pointerEvents="box-none"
274
+ position="bottom"
275
+ style={
276
+ [
277
+ {
278
+ "bottom": 0,
279
+ "elevation": 9999,
280
+ "flexDirection": "column-reverse",
281
+ "left": 0,
282
+ "paddingHorizontal": 24,
283
+ "paddingVertical": 16,
284
+ "position": "absolute",
285
+ "right": 0,
286
+ "top": 0,
287
+ },
288
+ undefined,
289
+ ]
290
+ }
291
+ />
292
+ </View>
293
+ `;
294
+
295
+ exports[`ToolbarMessage readonly renders correctly 1`] = `
296
+ <View
297
+ style={
298
+ {
299
+ "flex": 1,
300
+ }
301
+ }
302
+ >
303
+ <View
304
+ style={
305
+ [
306
+ {
307
+ "alignItems": "center",
308
+ "flex": 1,
309
+ "flexDirection": "row",
310
+ "height": 64,
311
+ "justifyContent": "space-between",
312
+ "paddingHorizontal": 8,
313
+ "paddingVertical": 12,
314
+ },
315
+ undefined,
316
+ ]
317
+ }
318
+ testID="toolbar-message"
319
+ >
320
+ <View
321
+ pointerEvents="auto"
322
+ style={
323
+ [
324
+ {
325
+ "alignItems": "center",
326
+ "backgroundColor": "#f6f6f7",
327
+ "borderRadius": 999,
328
+ "flex": 1,
329
+ "flexDirection": "row",
330
+ "height": 40,
331
+ "paddingHorizontal": 12,
332
+ "paddingVertical": 8,
333
+ },
334
+ undefined,
335
+ ]
336
+ }
337
+ testID="toolbar-message-input-container"
338
+ >
339
+ <TextInput
340
+ editable={true}
341
+ onChangeText={[MockFunction]}
342
+ placeholder="Message"
343
+ style={
344
+ [
345
+ {
346
+ "alignSelf": "stretch",
347
+ "flexGrow": 1,
348
+ "flexShrink": 1,
349
+ "fontFamily": "BeVietnamPro-Regular",
350
+ "fontSize": 16,
351
+ "textAlignVertical": "center",
352
+ },
353
+ undefined,
354
+ ]
355
+ }
356
+ testID="toolbar-message-input"
357
+ value="Lalisa"
358
+ />
359
+ </View>
360
+ </View>
361
+ <View
362
+ pointerEvents="box-none"
363
+ position="bottom"
364
+ style={
365
+ [
366
+ {
367
+ "bottom": 0,
368
+ "elevation": 9999,
369
+ "flexDirection": "column-reverse",
370
+ "left": 0,
371
+ "paddingHorizontal": 24,
372
+ "paddingVertical": 16,
373
+ "position": "absolute",
374
+ "right": 0,
375
+ "top": 0,
376
+ },
377
+ undefined,
378
+ ]
379
+ }
380
+ />
381
+ </View>
382
+ `;
@@ -3,6 +3,7 @@ import type { ReactNode } from 'react';
3
3
  import { ViewProps } from 'react-native';
4
4
  import { ToolbarWrapper } from './StyledToolbar';
5
5
  import ToolbarGroup from './ToolbarGroup';
6
+ import ToolbarMessage from './ToolbarMessage';
6
7
 
7
8
  export interface ToolbarProps extends Omit<ViewProps, 'style'> {
8
9
  /**
@@ -17,4 +18,5 @@ const Toolbar = ({ children, ...rest }: ToolbarProps) => (
17
18
 
18
19
  export default Object.assign(Toolbar, {
19
20
  Group: ToolbarGroup,
21
+ Message: ToolbarMessage,
20
22
  });
@@ -212,7 +212,7 @@ exports[`StyledBody has primary intent style 1`] = `
212
212
  style={
213
213
  [
214
214
  {
215
- "color": "#401960",
215
+ "color": "#460078",
216
216
  "fontFamily": "BeVietnamPro-Regular",
217
217
  "fontSize": 16,
218
218
  "letterSpacing": 0.48,
@@ -370,7 +370,7 @@ exports[`Body has primary intent style 1`] = `
370
370
  style={
371
371
  [
372
372
  {
373
- "color": "#401960",
373
+ "color": "#460078",
374
374
  "fontFamily": "BeVietnamPro-Regular",
375
375
  "fontSize": 16,
376
376
  "letterSpacing": 0.48,
@@ -625,7 +625,7 @@ exports[`Body has secondary intent style 1`] = `
625
625
  style={
626
626
  [
627
627
  {
628
- "color": "#795e90",
628
+ "color": "#B382FD",
629
629
  "fontFamily": "BeVietnamPro-Regular",
630
630
  "fontSize": 16,
631
631
  "letterSpacing": 0.48,
@@ -208,7 +208,7 @@ exports[`StyledCaption has primary intent style 1`] = `
208
208
  style={
209
209
  [
210
210
  {
211
- "color": "#401960",
211
+ "color": "#460078",
212
212
  "fontFamily": "BeVietnamPro-Regular",
213
213
  "fontSize": 12,
214
214
  "letterSpacing": 0.36,
@@ -363,7 +363,7 @@ exports[`Caption has primary intent style 1`] = `
363
363
  style={
364
364
  [
365
365
  {
366
- "color": "#401960",
366
+ "color": "#460078",
367
367
  "fontFamily": "BeVietnamPro-Regular",
368
368
  "fontSize": 12,
369
369
  "letterSpacing": 0.36,
@@ -463,7 +463,7 @@ exports[`Caption has secondary intent style 1`] = `
463
463
  style={
464
464
  [
465
465
  {
466
- "color": "#795e90",
466
+ "color": "#B382FD",
467
467
  "fontFamily": "BeVietnamPro-Regular",
468
468
  "fontSize": 12,
469
469
  "letterSpacing": 0.36,
@@ -200,7 +200,7 @@ exports[`StyledLabel has primary intent style 1`] = `
200
200
  style={
201
201
  [
202
202
  {
203
- "color": "#401960",
203
+ "color": "#460078",
204
204
  "fontSize": 10,
205
205
  "letterSpacing": 0,
206
206
  "lineHeight": 14,
@@ -349,7 +349,7 @@ exports[`Label has primary intent style 1`] = `
349
349
  style={
350
350
  [
351
351
  {
352
- "color": "#401960",
352
+ "color": "#460078",
353
353
  "fontSize": 10,
354
354
  "letterSpacing": 0,
355
355
  "lineHeight": 14,
@@ -397,7 +397,7 @@ exports[`Label has secondary intent style 1`] = `
397
397
  style={
398
398
  [
399
399
  {
400
- "color": "#795e90",
400
+ "color": "#B382FD",
401
401
  "fontSize": 10,
402
402
  "letterSpacing": 0,
403
403
  "lineHeight": 14,
@@ -471,7 +471,7 @@ exports[`StyledText has primary intent style 1`] = `
471
471
  style={
472
472
  [
473
473
  {
474
- "color": "#401960",
474
+ "color": "#460078",
475
475
  "fontFamily": "BeVietnamPro-Regular",
476
476
  "fontSize": 14,
477
477
  "letterSpacing": 0.42,
@@ -812,7 +812,7 @@ exports[`StyledTitle has primary intent style 1`] = `
812
812
  style={
813
813
  [
814
814
  {
815
- "color": "#401960",
815
+ "color": "#460078",
816
816
  "fontFamily": "BeVietnamPro-Regular",
817
817
  "fontSize": 18,
818
818
  "letterSpacing": 0.48,
@@ -982,7 +982,7 @@ exports[`Title has primary intent style 1`] = `
982
982
  style={
983
983
  [
984
984
  {
985
- "color": "#401960",
985
+ "color": "#460078",
986
986
  "fontFamily": "BeVietnamPro-Regular",
987
987
  "fontSize": 42,
988
988
  "letterSpacing": 0,
@@ -1033,7 +1033,7 @@ exports[`Title has secondary intent style 1`] = `
1033
1033
  style={
1034
1034
  [
1035
1035
  {
1036
- "color": "#795e90",
1036
+ "color": "#B382FD",
1037
1037
  "fontFamily": "BeVietnamPro-Regular",
1038
1038
  "fontSize": 42,
1039
1039
  "letterSpacing": 0,
@@ -9,13 +9,21 @@ import {
9
9
  walletSystemPalette,
10
10
  eBensSystemPalette,
11
11
  swagDarkSystemPalette,
12
+ swagLightSystemPalette,
12
13
  } from './global';
13
14
  import ThemeProvider from './ThemeProvider';
14
15
 
15
- type ThemeName = 'swag' | 'swagDark' | 'work' | 'jobs' | 'wallet' | 'eBens';
16
+ type ThemeName =
17
+ | 'swag'
18
+ | 'swagLight'
19
+ | 'swagDark'
20
+ | 'work'
21
+ | 'jobs'
22
+ | 'wallet'
23
+ | 'eBens';
16
24
 
17
25
  const ThemeSwitcher = ({
18
- name = 'swag',
26
+ name = 'swagLight',
19
27
  children,
20
28
  }: {
21
29
  name?: ThemeName;
@@ -35,6 +43,8 @@ const ThemeSwitcher = ({
35
43
  return getTheme(defaultScale, eBensSystemPalette);
36
44
  case 'swagDark':
37
45
  return getTheme(defaultScale, swagDarkSystemPalette);
46
+ case 'swagLight':
47
+ return getTheme(defaultScale, swagLightSystemPalette);
38
48
  }
39
49
  }, [name]);
40
50
  return <ThemeProvider theme={theme}>{children}</ThemeProvider>;
@@ -1316,20 +1316,36 @@ exports[`theme returns correct theme object 1`] = `
1316
1316
  "error": "#f46363",
1317
1317
  "iconButtonBackground": "#ece8ef",
1318
1318
  "info": "#b5c3fd",
1319
+ "inputContainerBackground": "#f6f6f7",
1319
1320
  "primary": "#401960",
1320
1321
  "secondary": "#4d6265",
1321
1322
  "success": "#5ace7d",
1322
1323
  },
1324
+ "fontSizes": {
1325
+ "text": 16,
1326
+ },
1327
+ "fonts": {
1328
+ "text": "BeVietnamPro-Regular",
1329
+ },
1323
1330
  "radii": {
1324
1331
  "iconButtonWrapperBorderRadius": 24,
1332
+ "messageContainer": 999,
1325
1333
  },
1326
1334
  "sizes": {
1327
1335
  "itemWrapperHeight": 64,
1336
+ "messageInputHeight": 40,
1337
+ "messageWrapperHeight": 64,
1328
1338
  },
1329
1339
  "space": {
1340
+ "affixInnerMargin": 16,
1330
1341
  "horizontalPadding": 8,
1331
1342
  "iconButtonLabelMarginLeft": 8,
1332
1343
  "iconButtonWrapperPadding": 12,
1344
+ "messageInputPaddingHorizontal": 12,
1345
+ "messageInputPaddingVertical": 8,
1346
+ "messageWrapperMarginHorizontal": 8,
1347
+ "messageWrapperPaddingHorizontal": 8,
1348
+ "messageWrapperPaddingVertical": 12,
1333
1349
  "verticalPadding": 8,
1334
1350
  },
1335
1351
  },
@@ -2,13 +2,13 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getFABTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- buttonBackground: theme.colors.primary,
6
- buttonPressedBackground: theme.colors.pressedSurface,
7
- buttonActiveBackground: theme.colors.pressedSurface,
5
+ buttonBackground: theme.colors.overlayGlobalSurface,
6
+ buttonPressedBackground: theme.colors.overlayGlobalSurface,
7
+ buttonActiveBackground: theme.colors.overlayGlobalSurface,
8
8
  icon: theme.colors.onPrimary,
9
- actionItemBackground: theme.colors.secondary,
10
- actionItemPressedBackground: theme.colors.pressedSurface,
11
- backdropBackground: theme.colors.overlayGlobalSurface,
9
+ actionItemBackground: theme.colors.overlayGlobalSurface,
10
+ actionItemPressedBackground: theme.colors.overlayGlobalSurface,
11
+ backdropBackground: theme.colors.defaultSurface,
12
12
  titleText: theme.colors.onPrimary,
13
13
  actionItemText: theme.colors.onPrimary,
14
14
  };
@@ -13,6 +13,7 @@ const getToolbarTheme = (theme: GlobalTheme) => {
13
13
  error: theme.colors.error,
14
14
  disabled: theme.colors.disabledOnDefaultGlobalSurface,
15
15
  iconButtonBackground: theme.colors.highlightedSurface,
16
+ inputContainerBackground: theme.colors.neutralGlobalSurface,
16
17
  };
17
18
 
18
19
  const space = {
@@ -20,6 +21,12 @@ const getToolbarTheme = (theme: GlobalTheme) => {
20
21
  horizontalPadding: theme.space.small,
21
22
  iconButtonLabelMarginLeft: theme.space.small,
22
23
  iconButtonWrapperPadding: theme.space.smallMedium,
24
+ messageWrapperMarginHorizontal: theme.space.small,
25
+ messageWrapperPaddingVertical: theme.space.smallMedium,
26
+ messageWrapperPaddingHorizontal: theme.space.small,
27
+ messageInputPaddingHorizontal: theme.space.smallMedium,
28
+ messageInputPaddingVertical: theme.space.small,
29
+ affixInnerMargin: theme.space.medium,
23
30
  };
24
31
 
25
32
  const borderWidths = {
@@ -28,13 +35,24 @@ const getToolbarTheme = (theme: GlobalTheme) => {
28
35
 
29
36
  const sizes = {
30
37
  itemWrapperHeight: scale(64),
38
+ messageWrapperHeight: scale(64),
39
+ messageInputHeight: 40,
31
40
  };
32
41
 
33
42
  const radii = {
34
43
  iconButtonWrapperBorderRadius: theme.radii.xxxlarge,
44
+ messageContainer: theme.radii.rounded,
35
45
  };
36
46
 
37
- return { colors, space, borderWidths, sizes, radii };
47
+ const fontSizes = {
48
+ text: theme.fontSizes.large,
49
+ };
50
+
51
+ const fonts = {
52
+ text: theme.fonts.neutral.regular,
53
+ };
54
+
55
+ return { colors, space, borderWidths, sizes, radii, fontSizes, fonts };
38
56
  };
39
57
 
40
58
  export default getToolbarTheme;
@@ -1,4 +1,4 @@
1
- import { getGlobalTheme, defaultScale, swagSystemPalette } from './global';
1
+ import { getGlobalTheme, defaultScale, swagLightSystemPalette } from './global';
2
2
 
3
3
  import getAccordionTheme from './components/accordion';
4
4
  import getAlertTheme from './components/alert';
@@ -108,7 +108,7 @@ type Theme = GlobalTheme & {
108
108
 
109
109
  const getTheme = (
110
110
  scale: Scale = defaultScale,
111
- systemPallete: SystemPalette = swagSystemPalette
111
+ systemPallete: SystemPalette = swagLightSystemPalette
112
112
  ): Theme => {
113
113
  const globalTheme = getGlobalTheme(scale, systemPallete);
114
114
  return {