@telus-uds/components-base 3.28.2 → 4.0.0-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 (1140) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/babel.config.cjs +1 -1
  3. package/lib/cjs/A11yInfoProvider/{index.js → A11yInfoProvider.js} +2 -3
  4. package/lib/cjs/A11yText/{index.js → A11yText.js} +7 -6
  5. package/lib/cjs/ActionCard/ActionCard.js +34 -26
  6. package/lib/cjs/ActivityIndicator/{index.js → ActivityIndicator.js} +17 -17
  7. package/lib/cjs/ActivityIndicator/Dots.js +4 -5
  8. package/lib/cjs/ActivityIndicator/Dots.native.js +5 -7
  9. package/lib/cjs/ActivityIndicator/FullScreenIndicator.js +9 -10
  10. package/lib/cjs/ActivityIndicator/InlineIndicator.js +9 -10
  11. package/lib/cjs/ActivityIndicator/OverlayIndicator.js +10 -11
  12. package/lib/cjs/ActivityIndicator/RenderActivityIndicator.js +8 -8
  13. package/lib/cjs/ActivityIndicator/Spinner.js +4 -5
  14. package/lib/cjs/ActivityIndicator/Spinner.native.js +5 -7
  15. package/lib/cjs/Autocomplete/Autocomplete.js +35 -28
  16. package/lib/cjs/Autocomplete/Loading.js +11 -12
  17. package/lib/cjs/Autocomplete/Suggestions.js +11 -12
  18. package/lib/cjs/Autocomplete/dictionary.js +2 -2
  19. package/lib/cjs/Badge/Badge.js +14 -11
  20. package/lib/cjs/BaseProvider/{index.js → BaseProvider.js} +10 -11
  21. package/lib/cjs/BaseProvider/HydrationContext.js +2 -3
  22. package/lib/cjs/Box/Box.js +55 -43
  23. package/lib/cjs/Box/backgroundImageStylesMap.js +2 -2
  24. package/lib/cjs/Button/Button.js +16 -17
  25. package/lib/cjs/Button/ButtonBase.js +43 -31
  26. package/lib/cjs/Button/ButtonDropdown.js +24 -23
  27. package/lib/cjs/Button/ButtonGroup.js +36 -27
  28. package/lib/cjs/Button/ButtonLink.js +20 -19
  29. package/lib/cjs/Button/propTypes.js +10 -11
  30. package/lib/cjs/Card/Card.js +49 -34
  31. package/lib/cjs/Card/CardBase.js +45 -29
  32. package/lib/cjs/Card/PressableCardBase.js +36 -25
  33. package/lib/cjs/Card/backgroundImageStylesMap.js +2 -2
  34. package/lib/cjs/CardGroup/CardGroup.js +35 -28
  35. package/lib/cjs/CardGroup/dictionary.js +2 -2
  36. package/lib/cjs/Carousel/Carousel.js +69 -61
  37. package/lib/cjs/Carousel/CarouselContext.js +2 -2
  38. package/lib/cjs/Carousel/CarouselFirstFocus/CarouselFirstFocus.js +4 -4
  39. package/lib/cjs/Carousel/CarouselItem/CarouselItem.js +16 -13
  40. package/lib/cjs/Carousel/CarouselStepTracker/CarouselStepTracker.js +17 -17
  41. package/lib/cjs/Carousel/CarouselTabs/CarouselTabsPanel.js +9 -10
  42. package/lib/cjs/Carousel/CarouselTabs/CarouselTabsPanelItem.js +20 -13
  43. package/lib/cjs/Carousel/CarouselThumbnail.js +7 -8
  44. package/lib/cjs/Carousel/CarouselThumbnailNavigation.js +12 -13
  45. package/lib/cjs/Carousel/dictionary.js +2 -2
  46. package/lib/cjs/Checkbox/Checkbox.js +32 -25
  47. package/lib/cjs/Checkbox/CheckboxButton.js +15 -12
  48. package/lib/cjs/Checkbox/CheckboxGroup.js +31 -24
  49. package/lib/cjs/Checkbox/CheckboxInput.js +4 -4
  50. package/lib/cjs/Checkbox/CheckboxInput.native.js +2 -2
  51. package/lib/cjs/CheckboxCard/CheckboxCard.js +31 -25
  52. package/lib/cjs/CheckboxCardGroup/CheckboxCardGroup.js +29 -24
  53. package/lib/cjs/ColourToggle/ColourBubble.js +24 -11
  54. package/lib/cjs/ColourToggle/ColourToggle.js +27 -18
  55. package/lib/cjs/Divider/Divider.js +18 -14
  56. package/lib/cjs/DownloadApp/DownloadApp.js +25 -17
  57. package/lib/cjs/DownloadApp/dictionary.js +2 -2
  58. package/lib/cjs/ExpandCollapse/ExpandCollapse.js +19 -13
  59. package/lib/cjs/ExpandCollapse/ExpandCollapseAccordion.js +20 -0
  60. package/lib/cjs/ExpandCollapse/{Control.js → ExpandCollapseControl.js} +32 -14
  61. package/lib/cjs/ExpandCollapse/{Panel.js → ExpandCollapsePanel.js} +33 -21
  62. package/lib/cjs/ExpandCollapse/dictionary.js +2 -2
  63. package/lib/cjs/ExpandCollapseMini/ExpandCollapseMini.js +33 -18
  64. package/lib/cjs/ExpandCollapseMini/ExpandCollapseMiniControl.js +26 -12
  65. package/lib/cjs/Feedback/Feedback.js +22 -17
  66. package/lib/cjs/Fieldset/Fieldset.js +31 -23
  67. package/lib/cjs/Fieldset/FieldsetContainer.js +9 -8
  68. package/lib/cjs/Fieldset/FieldsetContainer.native.js +7 -6
  69. package/lib/cjs/Fieldset/Legend.js +6 -6
  70. package/lib/cjs/Fieldset/Legend.native.js +4 -4
  71. package/lib/cjs/Fieldset/cssReset.js +2 -2
  72. package/lib/cjs/FileUpload/FileUpload.js +38 -32
  73. package/lib/cjs/FileUpload/NotificationContent.js +7 -7
  74. package/lib/cjs/FileUpload/dictionary.js +2 -2
  75. package/lib/cjs/FlexGrid/FlexGrid.js +30 -28
  76. package/lib/cjs/FlexGrid/{Col/Col.js → FlexGridCol/FlexGridCol.js} +25 -24
  77. package/lib/cjs/FlexGrid/{Row/Row.js → FlexGridRow/FlexGridRow.js} +16 -16
  78. package/lib/cjs/FlexGrid/helpers/index.js +2 -2
  79. package/lib/cjs/FlexGrid/providers/GutterContext.js +2 -3
  80. package/lib/cjs/Footnote/Footnote.js +26 -21
  81. package/lib/cjs/Footnote/FootnoteLink.js +18 -13
  82. package/lib/cjs/Footnote/dictionary.js +2 -2
  83. package/lib/cjs/HorizontalScroll/HorizontalScroll.js +24 -14
  84. package/lib/cjs/HorizontalScroll/HorizontalScrollButton.js +19 -16
  85. package/lib/cjs/HorizontalScroll/ScrollViewEnd.js +3 -4
  86. package/lib/cjs/HorizontalScroll/ScrollViewEnd.native.js +4 -4
  87. package/lib/cjs/HorizontalScroll/dictionary.js +2 -2
  88. package/lib/cjs/Icon/Icon.js +9 -9
  89. package/lib/cjs/Icon/IconText.js +10 -12
  90. package/lib/cjs/IconButton/IconButton.js +34 -21
  91. package/lib/cjs/InputLabel/InputLabel.js +24 -19
  92. package/lib/cjs/InputLabel/LabelContent.js +3 -4
  93. package/lib/cjs/InputLabel/LabelContent.native.js +3 -4
  94. package/lib/cjs/InputSupports/InputSupports.js +21 -21
  95. package/lib/cjs/InputSupports/dictionary.js +2 -2
  96. package/lib/cjs/InputSupports/useInputSupports.js +10 -11
  97. package/lib/cjs/Link/ChevronLink.js +16 -14
  98. package/lib/cjs/Link/InlinePressable.js +4 -4
  99. package/lib/cjs/Link/InlinePressable.native.js +3 -4
  100. package/lib/cjs/Link/Link.js +50 -9
  101. package/lib/cjs/Link/LinkBase.js +64 -38
  102. package/lib/cjs/Link/MobileIconTextContent.js +153 -0
  103. package/lib/cjs/Link/TextButton.js +11 -11
  104. package/lib/cjs/List/List.js +12 -9
  105. package/lib/cjs/List/ListItem.js +12 -11
  106. package/lib/cjs/List/ListItemBase.js +19 -16
  107. package/lib/cjs/List/ListItemContent.js +9 -9
  108. package/lib/cjs/List/ListItemMark.js +8 -9
  109. package/lib/cjs/List/PressableListItemBase.js +27 -21
  110. package/lib/cjs/Listbox/GroupControl.js +11 -12
  111. package/lib/cjs/Listbox/Listbox.js +20 -22
  112. package/lib/cjs/Listbox/ListboxGroup.js +22 -21
  113. package/lib/cjs/Listbox/ListboxItem.js +14 -12
  114. package/lib/cjs/Listbox/ListboxOverlay.js +8 -8
  115. package/lib/cjs/Listbox/PressableItem.js +8 -7
  116. package/lib/cjs/Listbox/SecondLevelHeader.js +19 -18
  117. package/lib/cjs/Listbox/dictionary.js +2 -2
  118. package/lib/cjs/Modal/Modal.js +31 -25
  119. package/lib/cjs/Modal/ModalContent.js +18 -19
  120. package/lib/cjs/Modal/WebModal.js +9 -8
  121. package/lib/cjs/Modal/dictionary.js +2 -2
  122. package/lib/cjs/MultiSelectFilter/ModalOverlay.js +25 -29
  123. package/lib/cjs/MultiSelectFilter/MultiSelectFilter.js +64 -65
  124. package/lib/cjs/MultiSelectFilter/dictionary.js +2 -2
  125. package/lib/cjs/Notification/Notification.js +43 -34
  126. package/lib/cjs/Notification/dictionary.js +2 -2
  127. package/lib/cjs/OrderedList/OrderedList.js +14 -13
  128. package/lib/cjs/OrderedList/OrderedListBase.js +2 -5
  129. package/lib/cjs/OrderedList/{Item.js → OrderedListItem.js} +27 -21
  130. package/lib/cjs/OrderedList/{ItemBase.js → OrderedListItemBase.js} +4 -5
  131. package/lib/cjs/Pagination/Pagination.js +38 -32
  132. package/lib/cjs/Pagination/PaginationPageButton.js +90 -0
  133. package/lib/cjs/Pagination/SideButton.js +26 -22
  134. package/lib/cjs/Pagination/dictionary.js +2 -2
  135. package/lib/cjs/Pagination/usePagination.js +2 -3
  136. package/lib/cjs/Portal/Portal.js +3 -3
  137. package/lib/cjs/Portal/Portal.native.js +7 -3
  138. package/lib/cjs/PriceLockup/PriceLockup.js +20 -18
  139. package/lib/cjs/PriceLockup/utils/renderFootnoteContent.js +7 -7
  140. package/lib/cjs/PriceLockup/utils/renderFootnoteLinks.js +4 -4
  141. package/lib/cjs/PriceLockup/utils/renderPrice.js +12 -12
  142. package/lib/cjs/PriceLockup/utils/renderTypography.js +4 -4
  143. package/lib/cjs/ProductCard/ProductCard.js +42 -37
  144. package/lib/cjs/ProductCard/dictionary.js +2 -2
  145. package/lib/cjs/ProductCardGroup/ProductCardGroup.js +12 -10
  146. package/lib/cjs/Progress/Progress.js +16 -12
  147. package/lib/cjs/Progress/ProgressBar.js +18 -14
  148. package/lib/cjs/Progress/ProgressBarBackground.js +4 -5
  149. package/lib/cjs/Progress/ProgressContext.js +3 -4
  150. package/lib/cjs/QuickLinks/QuickLinks.js +20 -19
  151. package/lib/cjs/QuickLinks/QuickLinksCard.js +14 -13
  152. package/lib/cjs/QuickLinks/QuickLinksItem.js +26 -21
  153. package/lib/cjs/QuickLinksFeature/QuickLinksFeature.js +19 -16
  154. package/lib/cjs/QuickLinksFeature/QuickLinksFeatureItem.js +27 -18
  155. package/lib/cjs/Radio/Radio.js +27 -22
  156. package/lib/cjs/Radio/RadioButton.js +20 -16
  157. package/lib/cjs/Radio/RadioGroup.js +31 -24
  158. package/lib/cjs/Radio/RadioInput.js +4 -4
  159. package/lib/cjs/Radio/RadioInput.native.js +2 -2
  160. package/lib/cjs/RadioCard/RadioCard.js +31 -25
  161. package/lib/cjs/RadioCard/RadioCardGroup.js +29 -24
  162. package/lib/cjs/Responsive/Responsive.js +11 -10
  163. package/lib/cjs/Responsive/ResponsiveProp.js +5 -5
  164. package/lib/cjs/Responsive/ResponsiveWithMediaQueryStyleSheet.js +8 -8
  165. package/lib/cjs/Search/Search.js +37 -29
  166. package/lib/cjs/Search/dictionary.js +2 -2
  167. package/lib/cjs/Select/Picker.js +8 -7
  168. package/lib/cjs/Select/Picker.native.js +8 -8
  169. package/lib/cjs/Select/Select.js +28 -19
  170. package/lib/cjs/Select/{Group.js → SelectGroup.js} +6 -7
  171. package/lib/cjs/Select/{Group.native.js → SelectGroup.native.js} +6 -6
  172. package/lib/cjs/Select/{Item.js → SelectItem.js} +4 -5
  173. package/lib/cjs/Select/SelectItem.native.js +8 -0
  174. package/lib/cjs/Shortcuts/Shortcuts.js +25 -21
  175. package/lib/cjs/Shortcuts/ShortcutsItem.js +33 -23
  176. package/lib/cjs/SideNav/SideNav.js +29 -28
  177. package/lib/cjs/SideNav/{Item.js → SideNavItem.js} +26 -20
  178. package/lib/cjs/SideNav/{ItemContent.js → SideNavItemContent.js} +10 -11
  179. package/lib/cjs/SideNav/{ItemsGroup.js → SideNavItemsGroup.js} +29 -28
  180. package/lib/cjs/Skeleton/Skeleton.js +28 -26
  181. package/lib/cjs/Skeleton/skeletonWebAnimation.js +2 -2
  182. package/lib/cjs/Skeleton/useSkeletonNativeAnimation.js +2 -2
  183. package/lib/cjs/SkipLink/SkipLink.js +24 -14
  184. package/lib/cjs/Spacer/Spacer.js +18 -14
  185. package/lib/cjs/StackView/StackView.js +31 -22
  186. package/lib/cjs/StackView/StackWrap.js +8 -9
  187. package/lib/cjs/StackView/StackWrap.native.js +7 -5
  188. package/lib/cjs/StackView/StackWrapBox.js +27 -20
  189. package/lib/cjs/StackView/StackWrapGap.js +20 -16
  190. package/lib/cjs/StackView/common.js +2 -1
  191. package/lib/cjs/StackView/getStackedContent.js +12 -13
  192. package/lib/cjs/Status/Status.js +21 -15
  193. package/lib/cjs/StepTracker/Step.js +21 -17
  194. package/lib/cjs/StepTracker/StepTracker.js +26 -21
  195. package/lib/cjs/StepTracker/dictionary.js +2 -2
  196. package/lib/cjs/TabBar/TabBar.js +22 -14
  197. package/lib/cjs/TabBar/TabBarItem.js +16 -15
  198. package/lib/cjs/Tabs/Tabs.js +40 -31
  199. package/lib/cjs/Tabs/TabsDropdown.js +38 -28
  200. package/lib/cjs/Tabs/TabsItem.js +30 -20
  201. package/lib/cjs/Tabs/dictionary.js +2 -2
  202. package/lib/cjs/Tags/Tags.js +37 -28
  203. package/lib/cjs/TextInput/TextArea.js +22 -16
  204. package/lib/cjs/TextInput/TextInput.js +20 -14
  205. package/lib/cjs/TextInput/TextInputBase.js +34 -24
  206. package/lib/cjs/TextInput/dictionary.js +2 -2
  207. package/lib/cjs/TextInput/propTypes.js +3 -4
  208. package/lib/cjs/ThemeProvider/ThemeProvider.js +11 -9
  209. package/lib/cjs/ThemeProvider/useResponsiveThemeTokens.js +8 -9
  210. package/lib/cjs/ThemeProvider/useResponsiveThemeTokensCallback.js +9 -10
  211. package/lib/cjs/ThemeProvider/useSetTheme.js +2 -2
  212. package/lib/cjs/ThemeProvider/useTheme.js +2 -2
  213. package/lib/cjs/ThemeProvider/useThemeTokens.js +10 -11
  214. package/lib/cjs/ThemeProvider/utils/styles.js +4 -1
  215. package/lib/cjs/Timeline/Timeline.js +20 -16
  216. package/lib/cjs/ToggleSwitch/ToggleSwitch.js +26 -19
  217. package/lib/cjs/ToggleSwitch/ToggleSwitchGroup.js +32 -25
  218. package/lib/cjs/Tooltip/Backdrop.js +2 -3
  219. package/lib/cjs/Tooltip/Backdrop.native.js +3 -3
  220. package/lib/cjs/Tooltip/Tooltip.js +21 -18
  221. package/lib/cjs/Tooltip/Tooltip.native.js +27 -24
  222. package/lib/cjs/Tooltip/dictionary.js +2 -2
  223. package/lib/cjs/Tooltip/getTooltipPosition.js +2 -3
  224. package/lib/cjs/Tooltip/shared.js +5 -6
  225. package/lib/cjs/TooltipButton/TooltipButton.js +17 -13
  226. package/lib/cjs/Typography/Typography.js +42 -24
  227. package/lib/cjs/Validator/Validator.js +12 -12
  228. package/lib/cjs/ViewportProvider/ViewportProvider.js +9 -7
  229. package/lib/cjs/ViewportProvider/useViewportListener.js +4 -4
  230. package/lib/cjs/index.js +897 -355
  231. package/lib/cjs/server.js +5 -6
  232. package/lib/cjs/utils/BaseView/BaseView.js +6 -6
  233. package/lib/cjs/utils/BaseView/BaseView.native.js +7 -6
  234. package/lib/cjs/utils/animation/useVerticalExpandAnimation.js +5 -6
  235. package/lib/cjs/utils/children.js +2 -2
  236. package/lib/cjs/utils/containUniqueFields.js +2 -2
  237. package/lib/cjs/utils/convertFromMegaByteToByte.js +1 -1
  238. package/lib/cjs/utils/formatImageSource.js +2 -2
  239. package/lib/cjs/utils/getSpacingScale.js +2 -2
  240. package/lib/cjs/utils/hasOwnProperty.js +1 -1
  241. package/lib/cjs/utils/htmlAttrs.js +2 -2
  242. package/lib/cjs/utils/info/info.js +12 -0
  243. package/lib/cjs/utils/info/platform/platform.android.js +2 -2
  244. package/lib/cjs/utils/info/platform/platform.ios.js +2 -2
  245. package/lib/cjs/utils/info/platform/platform.js +14 -2
  246. package/lib/cjs/utils/info/platform/platform.native.js +2 -2
  247. package/lib/cjs/utils/info/versions.js +2 -2
  248. package/lib/cjs/utils/isTouchDevice.js +2 -2
  249. package/lib/cjs/utils/pressability.js +2 -2
  250. package/lib/cjs/utils/props/a11yProps.js +4 -4
  251. package/lib/cjs/utils/props/clickProps.js +2 -2
  252. package/lib/cjs/utils/props/componentPropType.js +1 -1
  253. package/lib/cjs/utils/props/contentfulProps.js +4 -4
  254. package/lib/cjs/utils/props/copyPropTypes.js +2 -2
  255. package/lib/cjs/utils/props/getPropSelector.js +3 -3
  256. package/lib/cjs/utils/props/handlerProps.js +3 -3
  257. package/lib/cjs/utils/props/hrefAttrsProp.js +2 -2
  258. package/lib/cjs/utils/props/inputSupportsProps.js +4 -4
  259. package/lib/cjs/utils/props/linkProps.js +8 -8
  260. package/lib/cjs/utils/props/paddingProp.js +2 -2
  261. package/lib/cjs/utils/props/pressProps.js +7 -7
  262. package/lib/cjs/utils/props/rectProp.js +2 -2
  263. package/lib/cjs/utils/props/responsiveProps.js +2 -2
  264. package/lib/cjs/utils/props/selectSystemProps.js +1 -1
  265. package/lib/cjs/utils/props/spacingProps.js +6 -6
  266. package/lib/cjs/utils/props/textInputProps.js +4 -4
  267. package/lib/cjs/utils/props/textProps.js +4 -4
  268. package/lib/cjs/utils/props/variantProp.js +2 -2
  269. package/lib/cjs/utils/props/viewProps.js +4 -4
  270. package/lib/cjs/utils/resolveContentMaxWidth.js +2 -2
  271. package/lib/cjs/utils/ssr-media-query/create-stylesheet/create-stylesheet-mobile.js +2 -2
  272. package/lib/cjs/utils/ssr-media-query/create-stylesheet/index.android.js +7 -4
  273. package/lib/cjs/utils/ssr-media-query/create-stylesheet/index.ios.js +7 -4
  274. package/lib/cjs/utils/ssr-media-query/create-stylesheet/index.js +6 -7
  275. package/lib/cjs/utils/ssr-media-query/hash.js +1 -1
  276. package/lib/cjs/utils/ssr-media-query/ssr-media-query.js +24 -0
  277. package/lib/cjs/utils/ssr-media-query/utils/create-declaration-block.js +4 -4
  278. package/lib/cjs/utils/ssr-media-query/utils/create-media-query-styles.js +2 -3
  279. package/lib/cjs/utils/ssr-media-query/utils/hyphenate-style-name.js +2 -2
  280. package/lib/cjs/utils/ssr-media-query/utils/use-all-viewport-tokens.js +11 -11
  281. package/lib/cjs/utils/ssr.js +3 -3
  282. package/lib/cjs/utils/transformGradient.js +2 -5
  283. package/lib/cjs/utils/useCopy.js +3 -3
  284. package/lib/cjs/utils/useDetectOutsideClick.js +2 -3
  285. package/lib/cjs/utils/useHash.js +2 -2
  286. package/lib/cjs/utils/useHash.native.js +2 -2
  287. package/lib/cjs/utils/useMediaQuerySpacing.js +8 -8
  288. package/lib/cjs/utils/useOverlaidPosition.js +2 -2
  289. package/lib/cjs/utils/useResponsiveProp.js +7 -8
  290. package/lib/cjs/utils/useSafeLayoutEffect.js +3 -4
  291. package/lib/cjs/utils/useScrollBlocking.js +2 -2
  292. package/lib/cjs/utils/useScrollBlocking.native.js +3 -3
  293. package/lib/cjs/utils/useSpacingScale.js +6 -6
  294. package/lib/cjs/utils/useUniqueId.js +2 -3
  295. package/lib/cjs/utils/useVariants.js +6 -5
  296. package/lib/cjs/utils/withLinkRouter.js +7 -6
  297. package/lib/esm/A11yInfoProvider/{index.js → A11yInfoProvider.js} +1 -2
  298. package/lib/esm/A11yText/{index.js → A11yText.js} +5 -4
  299. package/lib/esm/ActionCard/ActionCard.js +18 -10
  300. package/lib/esm/ActivityIndicator/{index.js → ActivityIndicator.js} +9 -9
  301. package/lib/esm/ActivityIndicator/Dots.js +3 -4
  302. package/lib/esm/ActivityIndicator/Dots.native.js +3 -4
  303. package/lib/esm/ActivityIndicator/FullScreenIndicator.js +5 -6
  304. package/lib/esm/ActivityIndicator/InlineIndicator.js +5 -6
  305. package/lib/esm/ActivityIndicator/OverlayIndicator.js +5 -6
  306. package/lib/esm/ActivityIndicator/RenderActivityIndicator.js +4 -5
  307. package/lib/esm/ActivityIndicator/Spinner.js +3 -4
  308. package/lib/esm/ActivityIndicator/Spinner.native.js +3 -4
  309. package/lib/esm/Autocomplete/Autocomplete.js +20 -13
  310. package/lib/esm/Autocomplete/Loading.js +6 -7
  311. package/lib/esm/Autocomplete/Suggestions.js +6 -7
  312. package/lib/esm/Autocomplete/dictionary.js +1 -1
  313. package/lib/esm/Badge/Badge.js +8 -5
  314. package/lib/esm/BaseProvider/{index.js → BaseProvider.js} +5 -6
  315. package/lib/esm/BaseProvider/HydrationContext.js +1 -2
  316. package/lib/esm/Box/Box.js +20 -6
  317. package/lib/esm/Box/backgroundImageStylesMap.js +1 -1
  318. package/lib/esm/Button/Button.js +9 -8
  319. package/lib/esm/Button/ButtonBase.js +27 -15
  320. package/lib/esm/Button/ButtonDropdown.js +12 -9
  321. package/lib/esm/Button/ButtonGroup.js +20 -10
  322. package/lib/esm/Button/ButtonLink.js +10 -8
  323. package/lib/esm/Button/propTypes.js +8 -8
  324. package/lib/esm/Card/Card.js +29 -12
  325. package/lib/esm/Card/CardBase.js +26 -10
  326. package/lib/esm/Card/PressableCardBase.js +23 -10
  327. package/lib/esm/Card/backgroundImageStylesMap.js +1 -1
  328. package/lib/esm/CardGroup/CardGroup.js +19 -10
  329. package/lib/esm/CardGroup/dictionary.js +1 -1
  330. package/lib/esm/Carousel/Carousel.js +40 -32
  331. package/lib/esm/Carousel/CarouselContext.js +4 -5
  332. package/lib/esm/Carousel/CarouselFirstFocus/CarouselFirstFocus.js +2 -3
  333. package/lib/esm/Carousel/CarouselItem/CarouselItem.js +10 -7
  334. package/lib/esm/Carousel/CarouselStepTracker/CarouselStepTracker.js +9 -9
  335. package/lib/esm/Carousel/CarouselTabs/CarouselTabsPanel.js +5 -6
  336. package/lib/esm/Carousel/CarouselTabs/CarouselTabsPanelItem.js +12 -5
  337. package/lib/esm/Carousel/CarouselThumbnail.js +4 -5
  338. package/lib/esm/Carousel/CarouselThumbnailNavigation.js +6 -7
  339. package/lib/esm/Carousel/dictionary.js +1 -1
  340. package/lib/esm/Checkbox/Checkbox.js +17 -10
  341. package/lib/esm/Checkbox/CheckboxButton.js +8 -5
  342. package/lib/esm/Checkbox/CheckboxGroup.js +18 -11
  343. package/lib/esm/Checkbox/CheckboxInput.js +2 -3
  344. package/lib/esm/Checkbox/CheckboxInput.native.js +1 -2
  345. package/lib/esm/CheckboxCard/CheckboxCard.js +15 -7
  346. package/lib/esm/CheckboxCardGroup/CheckboxCardGroup.js +16 -9
  347. package/lib/esm/ColourToggle/ColourBubble.js +21 -8
  348. package/lib/esm/ColourToggle/ColourToggle.js +19 -10
  349. package/lib/esm/Divider/Divider.js +10 -6
  350. package/lib/esm/DownloadApp/DownloadApp.js +14 -6
  351. package/lib/esm/DownloadApp/dictionary.js +1 -1
  352. package/lib/esm/ExpandCollapse/ExpandCollapse.js +12 -6
  353. package/lib/esm/ExpandCollapse/ExpandCollapseAccordion.js +14 -0
  354. package/lib/esm/ExpandCollapse/{Control.js → ExpandCollapseControl.js} +26 -8
  355. package/lib/esm/ExpandCollapse/{Panel.js → ExpandCollapsePanel.js} +21 -9
  356. package/lib/esm/ExpandCollapse/dictionary.js +1 -1
  357. package/lib/esm/ExpandCollapseMini/ExpandCollapseMini.js +25 -10
  358. package/lib/esm/ExpandCollapseMini/ExpandCollapseMiniControl.js +22 -8
  359. package/lib/esm/Feedback/Feedback.js +10 -5
  360. package/lib/esm/Fieldset/Fieldset.js +21 -14
  361. package/lib/esm/Fieldset/FieldsetContainer.js +6 -5
  362. package/lib/esm/Fieldset/FieldsetContainer.native.js +5 -4
  363. package/lib/esm/Fieldset/Legend.js +3 -4
  364. package/lib/esm/Fieldset/Legend.native.js +2 -3
  365. package/lib/esm/Fieldset/cssReset.js +1 -1
  366. package/lib/esm/FileUpload/FileUpload.js +18 -12
  367. package/lib/esm/FileUpload/NotificationContent.js +3 -4
  368. package/lib/esm/FileUpload/dictionary.js +1 -1
  369. package/lib/esm/FlexGrid/FlexGrid.js +16 -14
  370. package/lib/esm/FlexGrid/{Col/Col.js → FlexGridCol/FlexGridCol.js} +13 -12
  371. package/lib/esm/FlexGrid/{Row/Row.js → FlexGridRow/FlexGridRow.js} +9 -9
  372. package/lib/esm/FlexGrid/helpers/index.js +2 -3
  373. package/lib/esm/FlexGrid/providers/GutterContext.js +1 -2
  374. package/lib/esm/Footnote/Footnote.js +15 -10
  375. package/lib/esm/Footnote/FootnoteLink.js +10 -5
  376. package/lib/esm/Footnote/dictionary.js +1 -1
  377. package/lib/esm/HorizontalScroll/HorizontalScroll.js +17 -7
  378. package/lib/esm/HorizontalScroll/HorizontalScrollButton.js +10 -7
  379. package/lib/esm/HorizontalScroll/ScrollViewEnd.js +2 -3
  380. package/lib/esm/HorizontalScroll/ScrollViewEnd.native.js +2 -3
  381. package/lib/esm/HorizontalScroll/dictionary.js +1 -1
  382. package/lib/esm/Icon/Icon.js +5 -5
  383. package/lib/esm/Icon/IconText.js +5 -6
  384. package/lib/esm/IconButton/IconButton.js +20 -7
  385. package/lib/esm/InputLabel/InputLabel.js +12 -7
  386. package/lib/esm/InputLabel/LabelContent.js +2 -3
  387. package/lib/esm/InputLabel/LabelContent.native.js +2 -3
  388. package/lib/esm/InputSupports/InputSupports.js +11 -11
  389. package/lib/esm/InputSupports/dictionary.js +1 -1
  390. package/lib/esm/InputSupports/useInputSupports.js +5 -6
  391. package/lib/esm/Link/ChevronLink.js +7 -6
  392. package/lib/esm/Link/InlinePressable.js +2 -3
  393. package/lib/esm/Link/InlinePressable.native.js +2 -3
  394. package/lib/esm/Link/Link.js +48 -6
  395. package/lib/esm/Link/LinkBase.js +50 -24
  396. package/lib/esm/Link/MobileIconTextContent.js +146 -0
  397. package/lib/esm/Link/TextButton.js +5 -6
  398. package/lib/esm/List/List.js +8 -5
  399. package/lib/esm/List/ListItem.js +6 -6
  400. package/lib/esm/List/ListItemBase.js +11 -8
  401. package/lib/esm/List/ListItemContent.js +5 -5
  402. package/lib/esm/List/ListItemMark.js +4 -5
  403. package/lib/esm/List/PressableListItemBase.js +17 -11
  404. package/lib/esm/Listbox/GroupControl.js +6 -7
  405. package/lib/esm/Listbox/Listbox.js +10 -11
  406. package/lib/esm/Listbox/ListboxGroup.js +12 -11
  407. package/lib/esm/Listbox/ListboxItem.js +9 -7
  408. package/lib/esm/Listbox/ListboxOverlay.js +4 -4
  409. package/lib/esm/Listbox/PressableItem.js +5 -4
  410. package/lib/esm/Listbox/SecondLevelHeader.js +10 -9
  411. package/lib/esm/Listbox/dictionary.js +1 -1
  412. package/lib/esm/Modal/Modal.js +17 -11
  413. package/lib/esm/Modal/ModalContent.js +9 -10
  414. package/lib/esm/Modal/WebModal.js +6 -5
  415. package/lib/esm/Modal/dictionary.js +1 -1
  416. package/lib/esm/MultiSelectFilter/ModalOverlay.js +15 -19
  417. package/lib/esm/MultiSelectFilter/MultiSelectFilter.js +33 -34
  418. package/lib/esm/MultiSelectFilter/dictionary.js +1 -1
  419. package/lib/esm/Notification/Notification.js +18 -9
  420. package/lib/esm/Notification/dictionary.js +1 -1
  421. package/lib/esm/OrderedList/OrderedList.js +9 -8
  422. package/lib/esm/OrderedList/OrderedListBase.js +1 -4
  423. package/lib/esm/OrderedList/{Item.js → OrderedListItem.js} +16 -10
  424. package/lib/esm/OrderedList/{ItemBase.js → OrderedListItemBase.js} +3 -4
  425. package/lib/esm/Pagination/Pagination.js +20 -13
  426. package/lib/esm/Pagination/{PageButton.js → PaginationPageButton.js} +18 -9
  427. package/lib/esm/Pagination/SideButton.js +15 -11
  428. package/lib/esm/Pagination/dictionary.js +1 -1
  429. package/lib/esm/Pagination/usePagination.js +2 -3
  430. package/lib/esm/Portal/Portal.js +2 -3
  431. package/lib/esm/Portal/Portal.native.js +1 -2
  432. package/lib/esm/PriceLockup/PriceLockup.js +11 -9
  433. package/lib/esm/PriceLockup/utils/renderFootnoteContent.js +3 -4
  434. package/lib/esm/PriceLockup/utils/renderFootnoteLinks.js +3 -4
  435. package/lib/esm/PriceLockup/utils/renderPrice.js +4 -5
  436. package/lib/esm/PriceLockup/utils/renderTypography.js +3 -4
  437. package/lib/esm/ProductCard/ProductCard.js +18 -13
  438. package/lib/esm/ProductCard/dictionary.js +1 -1
  439. package/lib/esm/ProductCardGroup/ProductCardGroup.js +8 -6
  440. package/lib/esm/Progress/Progress.js +9 -5
  441. package/lib/esm/Progress/ProgressBar.js +10 -6
  442. package/lib/esm/Progress/ProgressBarBackground.js +2 -3
  443. package/lib/esm/Progress/ProgressContext.js +2 -3
  444. package/lib/esm/QuickLinks/QuickLinks.js +9 -9
  445. package/lib/esm/QuickLinks/QuickLinksCard.js +8 -8
  446. package/lib/esm/QuickLinks/QuickLinksItem.js +15 -10
  447. package/lib/esm/QuickLinksFeature/QuickLinksFeature.js +12 -9
  448. package/lib/esm/QuickLinksFeature/QuickLinksFeatureItem.js +18 -9
  449. package/lib/esm/Radio/Radio.js +15 -8
  450. package/lib/esm/Radio/RadioButton.js +10 -6
  451. package/lib/esm/Radio/RadioGroup.js +18 -11
  452. package/lib/esm/Radio/RadioInput.js +2 -3
  453. package/lib/esm/Radio/RadioInput.native.js +1 -2
  454. package/lib/esm/RadioCard/RadioCard.js +16 -8
  455. package/lib/esm/RadioCard/RadioCardGroup.js +16 -9
  456. package/lib/esm/Responsive/Responsive.js +5 -6
  457. package/lib/esm/Responsive/ResponsiveProp.js +3 -4
  458. package/lib/esm/Responsive/ResponsiveWithMediaQueryStyleSheet.js +4 -4
  459. package/lib/esm/Search/Search.js +18 -10
  460. package/lib/esm/Search/dictionary.js +1 -1
  461. package/lib/esm/Select/Picker.js +5 -4
  462. package/lib/esm/Select/Picker.native.js +5 -5
  463. package/lib/esm/Select/Select.js +16 -7
  464. package/lib/esm/Select/{Group.js → SelectGroup.js} +4 -5
  465. package/lib/esm/Select/{Group.native.js → SelectGroup.native.js} +3 -4
  466. package/lib/esm/Select/{Item.js → SelectItem.js} +3 -4
  467. package/lib/esm/Select/SelectItem.native.js +1 -0
  468. package/lib/esm/Shortcuts/Shortcuts.js +13 -7
  469. package/lib/esm/Shortcuts/ShortcutsItem.js +17 -7
  470. package/lib/esm/SideNav/SideNav.js +19 -17
  471. package/lib/esm/SideNav/{Item.js → SideNavItem.js} +18 -12
  472. package/lib/esm/SideNav/{ItemContent.js → SideNavItemContent.js} +6 -7
  473. package/lib/esm/SideNav/{ItemsGroup.js → SideNavItemsGroup.js} +20 -19
  474. package/lib/esm/Skeleton/Skeleton.js +16 -14
  475. package/lib/esm/Skeleton/skeletonWebAnimation.js +2 -3
  476. package/lib/esm/Skeleton/useSkeletonNativeAnimation.js +2 -3
  477. package/lib/esm/SkipLink/SkipLink.js +16 -6
  478. package/lib/esm/Spacer/Spacer.js +10 -6
  479. package/lib/esm/StackView/StackView.js +16 -7
  480. package/lib/esm/StackView/StackWrap.js +5 -6
  481. package/lib/esm/StackView/StackWrap.native.js +1 -3
  482. package/lib/esm/StackView/StackWrapBox.js +14 -7
  483. package/lib/esm/StackView/StackWrapGap.js +12 -8
  484. package/lib/esm/StackView/common.js +2 -1
  485. package/lib/esm/StackView/getStackedContent.js +5 -6
  486. package/lib/esm/Status/Status.js +12 -6
  487. package/lib/esm/StepTracker/Step.js +10 -6
  488. package/lib/esm/StepTracker/StepTracker.js +14 -9
  489. package/lib/esm/StepTracker/dictionary.js +1 -1
  490. package/lib/esm/TabBar/TabBar.js +16 -8
  491. package/lib/esm/TabBar/TabBarItem.js +8 -7
  492. package/lib/esm/Tabs/Tabs.js +22 -11
  493. package/lib/esm/Tabs/TabsDropdown.js +20 -10
  494. package/lib/esm/Tabs/TabsItem.js +18 -8
  495. package/lib/esm/Tabs/dictionary.js +1 -1
  496. package/lib/esm/Tags/Tags.js +20 -11
  497. package/lib/esm/TextInput/TextArea.js +14 -8
  498. package/lib/esm/TextInput/TextInput.js +13 -7
  499. package/lib/esm/TextInput/TextInputBase.js +18 -8
  500. package/lib/esm/TextInput/dictionary.js +1 -1
  501. package/lib/esm/TextInput/propTypes.js +2 -3
  502. package/lib/esm/ThemeProvider/ThemeProvider.js +8 -6
  503. package/lib/esm/ThemeProvider/useResponsiveThemeTokens.js +4 -5
  504. package/lib/esm/ThemeProvider/useResponsiveThemeTokensCallback.js +4 -5
  505. package/lib/esm/ThemeProvider/useSetTheme.js +2 -3
  506. package/lib/esm/ThemeProvider/useTheme.js +2 -3
  507. package/lib/esm/ThemeProvider/useThemeTokens.js +2 -2
  508. package/lib/esm/ThemeProvider/utils/styles.js +4 -1
  509. package/lib/esm/Timeline/Timeline.js +10 -6
  510. package/lib/esm/ToggleSwitch/ToggleSwitch.js +15 -8
  511. package/lib/esm/ToggleSwitch/ToggleSwitchGroup.js +18 -11
  512. package/lib/esm/Tooltip/Backdrop.js +2 -3
  513. package/lib/esm/Tooltip/Backdrop.native.js +1 -2
  514. package/lib/esm/Tooltip/Tooltip.js +11 -8
  515. package/lib/esm/Tooltip/Tooltip.native.js +15 -12
  516. package/lib/esm/Tooltip/dictionary.js +1 -1
  517. package/lib/esm/Tooltip/getTooltipPosition.js +2 -3
  518. package/lib/esm/Tooltip/shared.js +3 -4
  519. package/lib/esm/TooltipButton/TooltipButton.js +10 -6
  520. package/lib/esm/Typography/Typography.js +27 -9
  521. package/lib/esm/Validator/Validator.js +7 -7
  522. package/lib/esm/ViewportProvider/ViewportProvider.js +6 -5
  523. package/lib/esm/ViewportProvider/useViewportListener.js +3 -4
  524. package/lib/esm/index.js +166 -73
  525. package/lib/esm/server.js +2 -2
  526. package/lib/esm/utils/BaseView/BaseView.js +3 -4
  527. package/lib/esm/utils/BaseView/BaseView.native.js +1 -2
  528. package/lib/esm/utils/animation/useVerticalExpandAnimation.js +4 -5
  529. package/lib/esm/utils/children.js +1 -1
  530. package/lib/esm/utils/containUniqueFields.js +2 -3
  531. package/lib/esm/utils/convertFromMegaByteToByte.js +1 -1
  532. package/lib/esm/utils/formatImageSource.js +2 -3
  533. package/lib/esm/utils/getSpacingScale.js +2 -3
  534. package/lib/esm/utils/hasOwnProperty.js +1 -1
  535. package/lib/esm/utils/htmlAttrs.js +1 -1
  536. package/lib/esm/utils/info/info.js +6 -0
  537. package/lib/esm/utils/info/platform/platform.android.js +1 -1
  538. package/lib/esm/utils/info/platform/platform.ios.js +1 -1
  539. package/lib/esm/utils/info/platform/platform.js +10 -1
  540. package/lib/esm/utils/info/platform/platform.native.js +1 -1
  541. package/lib/esm/utils/info/versions.js +1 -1
  542. package/lib/esm/utils/isTouchDevice.js +2 -3
  543. package/lib/esm/utils/pressability.js +1 -1
  544. package/lib/esm/utils/props/a11yProps.js +2 -2
  545. package/lib/esm/utils/props/clickProps.js +1 -1
  546. package/lib/esm/utils/props/componentPropType.js +1 -1
  547. package/lib/esm/utils/props/contentfulProps.js +2 -2
  548. package/lib/esm/utils/props/copyPropTypes.js +1 -1
  549. package/lib/esm/utils/props/getPropSelector.js +2 -2
  550. package/lib/esm/utils/props/handlerProps.js +1 -1
  551. package/lib/esm/utils/props/hrefAttrsProp.js +1 -1
  552. package/lib/esm/utils/props/inputSupportsProps.js +2 -2
  553. package/lib/esm/utils/props/linkProps.js +4 -4
  554. package/lib/esm/utils/props/paddingProp.js +1 -1
  555. package/lib/esm/utils/props/pressProps.js +3 -3
  556. package/lib/esm/utils/props/rectProp.js +1 -1
  557. package/lib/esm/utils/props/responsiveProps.js +1 -1
  558. package/lib/esm/utils/props/selectSystemProps.js +1 -1
  559. package/lib/esm/utils/props/spacingProps.js +3 -3
  560. package/lib/esm/utils/props/textInputProps.js +2 -2
  561. package/lib/esm/utils/props/textProps.js +2 -2
  562. package/lib/esm/utils/props/variantProp.js +1 -1
  563. package/lib/esm/utils/props/viewProps.js +2 -2
  564. package/lib/esm/utils/resolveContentMaxWidth.js +2 -3
  565. package/lib/esm/utils/ssr-media-query/create-stylesheet/create-stylesheet-mobile.js +2 -3
  566. package/lib/esm/utils/ssr-media-query/create-stylesheet/index.android.js +1 -2
  567. package/lib/esm/utils/ssr-media-query/create-stylesheet/index.ios.js +1 -2
  568. package/lib/esm/utils/ssr-media-query/create-stylesheet/index.js +4 -5
  569. package/lib/esm/utils/ssr-media-query/hash.js +1 -1
  570. package/lib/esm/utils/ssr-media-query/ssr-media-query.js +7 -0
  571. package/lib/esm/utils/ssr-media-query/utils/create-declaration-block.js +3 -4
  572. package/lib/esm/utils/ssr-media-query/utils/create-media-query-styles.js +2 -3
  573. package/lib/esm/utils/ssr-media-query/utils/hyphenate-style-name.js +2 -3
  574. package/lib/esm/utils/ssr-media-query/utils/use-all-viewport-tokens.js +4 -5
  575. package/lib/esm/utils/ssr.js +0 -1
  576. package/lib/esm/utils/transformGradient.js +1 -4
  577. package/lib/esm/utils/useCopy.js +2 -3
  578. package/lib/esm/utils/useDetectOutsideClick.js +2 -3
  579. package/lib/esm/utils/useHash.js +2 -3
  580. package/lib/esm/utils/useHash.native.js +1 -2
  581. package/lib/esm/utils/useMediaQuerySpacing.js +3 -4
  582. package/lib/esm/utils/useOverlaidPosition.js +2 -3
  583. package/lib/esm/utils/useResponsiveProp.js +4 -5
  584. package/lib/esm/utils/useSafeLayoutEffect.js +2 -3
  585. package/lib/esm/utils/useScrollBlocking.js +2 -3
  586. package/lib/esm/utils/useScrollBlocking.native.js +1 -1
  587. package/lib/esm/utils/useSpacingScale.js +4 -5
  588. package/lib/esm/utils/useUniqueId.js +2 -3
  589. package/lib/esm/utils/useVariants.js +4 -4
  590. package/lib/esm/utils/withLinkRouter.js +3 -4
  591. package/lib/package.json +16 -19
  592. package/package.json +16 -19
  593. package/src/A11yInfoProvider/{index.jsx → A11yInfoProvider.jsx} +1 -3
  594. package/src/A11yText/{index.jsx → A11yText.jsx} +4 -4
  595. package/src/ActionCard/ActionCard.jsx +14 -17
  596. package/src/ActivityIndicator/{index.jsx → ActivityIndicator.jsx} +8 -9
  597. package/src/ActivityIndicator/Dots.jsx +2 -4
  598. package/src/ActivityIndicator/Dots.native.jsx +2 -4
  599. package/src/ActivityIndicator/FullScreenIndicator.jsx +4 -6
  600. package/src/ActivityIndicator/InlineIndicator.jsx +4 -6
  601. package/src/ActivityIndicator/OverlayIndicator.jsx +4 -6
  602. package/src/ActivityIndicator/RenderActivityIndicator.jsx +3 -5
  603. package/src/ActivityIndicator/Spinner.jsx +2 -4
  604. package/src/ActivityIndicator/Spinner.native.jsx +2 -4
  605. package/src/Autocomplete/Autocomplete.jsx +20 -24
  606. package/src/Autocomplete/Loading.jsx +5 -7
  607. package/src/Autocomplete/Suggestions.jsx +5 -7
  608. package/src/Autocomplete/dictionary.js +1 -1
  609. package/src/Badge/Badge.jsx +8 -6
  610. package/src/BaseProvider/{index.jsx → BaseProvider.jsx} +4 -6
  611. package/src/BaseProvider/HydrationContext.jsx +0 -2
  612. package/src/Box/Box.jsx +20 -28
  613. package/src/Box/backgroundImageStylesMap.js +1 -1
  614. package/src/Button/Button.jsx +9 -13
  615. package/src/Button/ButtonBase.jsx +21 -20
  616. package/src/Button/ButtonDropdown.jsx +11 -16
  617. package/src/Button/ButtonGroup.jsx +17 -21
  618. package/src/Button/ButtonLink.jsx +9 -8
  619. package/src/Button/propTypes.js +6 -9
  620. package/src/Card/Card.jsx +27 -23
  621. package/src/Card/CardBase.jsx +25 -10
  622. package/src/Card/PressableCardBase.jsx +27 -23
  623. package/src/Card/backgroundImageStylesMap.js +1 -1
  624. package/src/CardGroup/CardGroup.jsx +18 -22
  625. package/src/CardGroup/dictionary.js +1 -1
  626. package/src/Carousel/Carousel.jsx +33 -40
  627. package/src/Carousel/CarouselContext.jsx +3 -5
  628. package/src/Carousel/CarouselFirstFocus/CarouselFirstFocus.jsx +1 -3
  629. package/src/Carousel/CarouselItem/CarouselItem.jsx +10 -15
  630. package/src/Carousel/CarouselStepTracker/CarouselStepTracker.jsx +8 -9
  631. package/src/Carousel/CarouselTabs/CarouselTabsPanel.jsx +4 -6
  632. package/src/Carousel/CarouselTabs/CarouselTabsPanelItem.jsx +11 -14
  633. package/src/Carousel/CarouselThumbnail.jsx +66 -66
  634. package/src/Carousel/CarouselThumbnailNavigation.jsx +5 -7
  635. package/src/Carousel/dictionary.js +1 -1
  636. package/src/Checkbox/Checkbox.jsx +17 -24
  637. package/src/Checkbox/CheckboxButton.jsx +8 -12
  638. package/src/Checkbox/CheckboxGroup.jsx +15 -20
  639. package/src/Checkbox/CheckboxInput.jsx +1 -3
  640. package/src/Checkbox/CheckboxInput.native.jsx +1 -3
  641. package/src/CheckboxCard/CheckboxCard.jsx +15 -18
  642. package/src/CheckboxCardGroup/CheckboxCardGroup.jsx +15 -18
  643. package/src/ColourToggle/ColourBubble.jsx +21 -8
  644. package/src/ColourToggle/ColourToggle.jsx +17 -10
  645. package/src/Divider/Divider.jsx +47 -49
  646. package/src/DownloadApp/DownloadApp.jsx +13 -17
  647. package/src/DownloadApp/dictionary.js +1 -1
  648. package/src/ExpandCollapse/ExpandCollapse.jsx +12 -16
  649. package/src/ExpandCollapse/ExpandCollapseAccordion.jsx +11 -0
  650. package/src/ExpandCollapse/{Control.jsx → ExpandCollapseControl.jsx} +32 -9
  651. package/src/ExpandCollapse/{Panel.jsx → ExpandCollapsePanel.jsx} +18 -17
  652. package/src/ExpandCollapse/dictionary.js +1 -1
  653. package/src/ExpandCollapseMini/ExpandCollapseMini.jsx +34 -12
  654. package/src/ExpandCollapseMini/ExpandCollapseMiniControl.jsx +20 -8
  655. package/src/Feedback/Feedback.jsx +10 -13
  656. package/src/Fieldset/Fieldset.jsx +23 -13
  657. package/src/Fieldset/FieldsetContainer.jsx +5 -5
  658. package/src/Fieldset/FieldsetContainer.native.jsx +4 -4
  659. package/src/Fieldset/Legend.jsx +2 -4
  660. package/src/Fieldset/Legend.native.jsx +1 -3
  661. package/src/Fieldset/cssReset.js +1 -1
  662. package/src/FileUpload/FileUpload.jsx +19 -23
  663. package/src/FileUpload/NotificationContent.jsx +2 -4
  664. package/src/FileUpload/dictionary.js +1 -1
  665. package/src/FlexGrid/FlexGrid.jsx +15 -25
  666. package/src/FlexGrid/{Col/Col.jsx → FlexGridCol/FlexGridCol.jsx} +12 -12
  667. package/src/FlexGrid/{Row/Row.jsx → FlexGridRow/FlexGridRow.jsx} +8 -9
  668. package/src/FlexGrid/helpers/index.js +1 -3
  669. package/src/FlexGrid/providers/GutterContext.jsx +1 -3
  670. package/src/Footnote/Footnote.jsx +16 -12
  671. package/src/Footnote/FootnoteLink.jsx +10 -13
  672. package/src/Footnote/dictionary.js +1 -1
  673. package/src/HorizontalScroll/HorizontalScroll.jsx +21 -13
  674. package/src/HorizontalScroll/HorizontalScrollButton.jsx +9 -7
  675. package/src/HorizontalScroll/ScrollViewEnd.jsx +1 -3
  676. package/src/HorizontalScroll/ScrollViewEnd.native.jsx +1 -3
  677. package/src/HorizontalScroll/dictionary.js +1 -1
  678. package/src/Icon/Icon.jsx +4 -5
  679. package/src/Icon/IconText.jsx +4 -6
  680. package/src/IconButton/IconButton.jsx +20 -19
  681. package/src/InputLabel/InputLabel.jsx +12 -15
  682. package/src/InputLabel/LabelContent.jsx +1 -3
  683. package/src/InputLabel/LabelContent.native.jsx +1 -3
  684. package/src/InputSupports/InputSupports.jsx +10 -11
  685. package/src/InputSupports/dictionary.js +1 -1
  686. package/src/InputSupports/useInputSupports.js +4 -6
  687. package/src/Link/ChevronLink.jsx +6 -6
  688. package/src/Link/InlinePressable.jsx +1 -3
  689. package/src/Link/InlinePressable.native.jsx +1 -3
  690. package/src/Link/Link.jsx +51 -6
  691. package/src/Link/LinkBase.jsx +68 -42
  692. package/src/Link/MobileIconTextContent.jsx +127 -0
  693. package/src/Link/TextButton.jsx +4 -6
  694. package/src/List/List.jsx +7 -5
  695. package/src/List/ListItem.jsx +5 -6
  696. package/src/List/ListItemBase.jsx +10 -8
  697. package/src/List/ListItemContent.jsx +4 -5
  698. package/src/List/ListItemMark.jsx +3 -5
  699. package/src/List/PressableListItemBase.jsx +15 -18
  700. package/src/Listbox/GroupControl.jsx +5 -7
  701. package/src/Listbox/Listbox.jsx +9 -12
  702. package/src/Listbox/ListboxGroup.jsx +12 -12
  703. package/src/Listbox/ListboxItem.jsx +9 -7
  704. package/src/Listbox/ListboxOverlay.jsx +4 -4
  705. package/src/Listbox/PressableItem.jsx +4 -4
  706. package/src/Listbox/SecondLevelHeader.jsx +9 -9
  707. package/src/Listbox/dictionary.js +1 -1
  708. package/src/Modal/Modal.jsx +17 -20
  709. package/src/Modal/ModalContent.jsx +8 -10
  710. package/src/Modal/WebModal.jsx +5 -5
  711. package/src/Modal/dictionary.js +1 -1
  712. package/src/MultiSelectFilter/ModalOverlay.jsx +14 -19
  713. package/src/MultiSelectFilter/MultiSelectFilter.jsx +37 -48
  714. package/src/MultiSelectFilter/dictionary.js +1 -1
  715. package/src/Notification/Notification.jsx +17 -25
  716. package/src/Notification/dictionary.js +1 -1
  717. package/src/OrderedList/OrderedList.jsx +8 -9
  718. package/src/OrderedList/OrderedListBase.jsx +1 -7
  719. package/src/OrderedList/{Item.jsx → OrderedListItem.jsx} +17 -19
  720. package/src/OrderedList/{ItemBase.jsx → OrderedListItemBase.jsx} +3 -5
  721. package/src/Pagination/Pagination.jsx +20 -25
  722. package/src/Pagination/{PageButton.jsx → PaginationPageButton.jsx} +17 -18
  723. package/src/Pagination/SideButton.jsx +15 -11
  724. package/src/Pagination/dictionary.js +1 -1
  725. package/src/Pagination/usePagination.js +1 -3
  726. package/src/Portal/Portal.jsx +1 -3
  727. package/src/Portal/Portal.native.jsx +1 -3
  728. package/src/PriceLockup/PriceLockup.jsx +11 -10
  729. package/src/PriceLockup/utils/renderFootnoteContent.jsx +3 -5
  730. package/src/PriceLockup/utils/renderFootnoteLinks.jsx +2 -4
  731. package/src/PriceLockup/utils/renderPrice.jsx +4 -6
  732. package/src/PriceLockup/utils/renderTypography.jsx +2 -4
  733. package/src/ProductCard/ProductCard.jsx +18 -21
  734. package/src/ProductCard/dictionary.js +1 -1
  735. package/src/ProductCardGroup/ProductCardGroup.jsx +43 -41
  736. package/src/Progress/Progress.jsx +9 -6
  737. package/src/Progress/ProgressBar.jsx +10 -7
  738. package/src/Progress/ProgressBarBackground.jsx +2 -4
  739. package/src/Progress/ProgressContext.js +1 -3
  740. package/src/QuickLinks/QuickLinks.jsx +8 -9
  741. package/src/QuickLinks/QuickLinksCard.jsx +7 -8
  742. package/src/QuickLinks/QuickLinksItem.jsx +15 -10
  743. package/src/QuickLinksFeature/QuickLinksFeature.jsx +11 -9
  744. package/src/QuickLinksFeature/QuickLinksFeatureItem.jsx +18 -16
  745. package/src/Radio/Radio.jsx +15 -18
  746. package/src/Radio/RadioButton.jsx +9 -18
  747. package/src/Radio/RadioGroup.jsx +15 -20
  748. package/src/Radio/RadioInput.jsx +1 -3
  749. package/src/Radio/RadioInput.native.jsx +1 -3
  750. package/src/RadioCard/RadioCard.jsx +15 -18
  751. package/src/RadioCard/RadioCardGroup.jsx +15 -18
  752. package/src/Responsive/Responsive.jsx +23 -23
  753. package/src/Responsive/ResponsiveProp.jsx +2 -4
  754. package/src/Responsive/ResponsiveWithMediaQueryStyleSheet.jsx +3 -4
  755. package/src/Search/Search.jsx +17 -22
  756. package/src/Search/dictionary.js +1 -1
  757. package/src/Select/Picker.jsx +5 -5
  758. package/src/Select/Picker.native.jsx +5 -6
  759. package/src/Select/Select.jsx +16 -18
  760. package/src/Select/{Group.jsx → SelectGroup.jsx} +4 -6
  761. package/src/Select/{Group.native.jsx → SelectGroup.native.jsx} +3 -5
  762. package/src/Select/{Item.jsx → SelectItem.jsx} +3 -5
  763. package/src/Select/SelectItem.native.jsx +1 -0
  764. package/src/Shortcuts/Shortcuts.jsx +13 -18
  765. package/src/Shortcuts/ShortcutsItem.jsx +16 -18
  766. package/src/SideNav/SideNav.jsx +19 -26
  767. package/src/SideNav/{Item.jsx → SideNavItem.jsx} +17 -20
  768. package/src/SideNav/{ItemContent.jsx → SideNavItemContent.jsx} +5 -8
  769. package/src/SideNav/{ItemsGroup.jsx → SideNavItemsGroup.jsx} +21 -21
  770. package/src/Skeleton/Skeleton.jsx +15 -36
  771. package/src/Skeleton/skeletonWebAnimation.js +1 -3
  772. package/src/Skeleton/useSkeletonNativeAnimation.js +1 -3
  773. package/src/SkipLink/SkipLink.jsx +16 -15
  774. package/src/Spacer/Spacer.jsx +41 -41
  775. package/src/StackView/StackView.jsx +16 -19
  776. package/src/StackView/StackWrap.jsx +4 -6
  777. package/src/StackView/StackWrap.native.jsx +1 -3
  778. package/src/StackView/StackWrapBox.jsx +13 -18
  779. package/src/StackView/StackWrapGap.jsx +11 -15
  780. package/src/StackView/common.jsx +2 -1
  781. package/src/StackView/getStackedContent.jsx +4 -6
  782. package/src/Status/Status.jsx +33 -35
  783. package/src/StepTracker/Step.jsx +10 -7
  784. package/src/StepTracker/StepTracker.jsx +14 -10
  785. package/src/StepTracker/dictionary.js +1 -1
  786. package/src/TabBar/TabBar.jsx +29 -10
  787. package/src/TabBar/TabBarItem.jsx +7 -7
  788. package/src/Tabs/Tabs.jsx +19 -26
  789. package/src/Tabs/TabsDropdown.jsx +20 -22
  790. package/src/Tabs/TabsItem.jsx +18 -19
  791. package/src/Tabs/dictionary.js +1 -1
  792. package/src/Tags/Tags.jsx +17 -22
  793. package/src/TextInput/TextArea.jsx +13 -18
  794. package/src/TextInput/TextInput.jsx +12 -17
  795. package/src/TextInput/TextInputBase.jsx +18 -20
  796. package/src/TextInput/dictionary.js +1 -1
  797. package/src/TextInput/propTypes.js +1 -3
  798. package/src/ThemeProvider/ThemeProvider.jsx +27 -24
  799. package/src/ThemeProvider/useResponsiveThemeTokens.js +8 -5
  800. package/src/ThemeProvider/useResponsiveThemeTokensCallback.js +3 -5
  801. package/src/ThemeProvider/useSetTheme.js +1 -2
  802. package/src/ThemeProvider/useTheme.js +1 -2
  803. package/src/ThemeProvider/useThemeTokens.js +7 -2
  804. package/src/ThemeProvider/utils/styles.js +5 -1
  805. package/src/Timeline/Timeline.jsx +9 -14
  806. package/src/ToggleSwitch/ToggleSwitch.jsx +14 -18
  807. package/src/ToggleSwitch/ToggleSwitchGroup.jsx +15 -20
  808. package/src/Tooltip/Backdrop.jsx +1 -3
  809. package/src/Tooltip/Backdrop.native.jsx +1 -3
  810. package/src/Tooltip/Tooltip.jsx +11 -9
  811. package/src/Tooltip/Tooltip.native.jsx +14 -12
  812. package/src/Tooltip/dictionary.js +1 -1
  813. package/src/Tooltip/getTooltipPosition.js +1 -3
  814. package/src/Tooltip/shared.js +2 -4
  815. package/src/TooltipButton/TooltipButton.jsx +30 -25
  816. package/src/Typography/Typography.jsx +22 -22
  817. package/src/Validator/Validator.jsx +7 -8
  818. package/src/ViewportProvider/ViewportProvider.jsx +6 -5
  819. package/src/ViewportProvider/useViewportListener.js +2 -5
  820. package/src/index.js +189 -89
  821. package/src/server.js +2 -2
  822. package/src/utils/BaseView/BaseView.jsx +2 -4
  823. package/src/utils/BaseView/BaseView.native.jsx +1 -3
  824. package/src/utils/animation/useVerticalExpandAnimation.js +3 -5
  825. package/src/utils/children.jsx +1 -1
  826. package/src/utils/containUniqueFields.js +1 -3
  827. package/src/utils/convertFromMegaByteToByte.js +1 -1
  828. package/src/utils/formatImageSource.js +1 -3
  829. package/src/utils/getSpacingScale.js +1 -3
  830. package/src/utils/hasOwnProperty.js +1 -1
  831. package/src/utils/htmlAttrs.js +1 -1
  832. package/src/utils/info/info.js +7 -0
  833. package/src/utils/info/platform/platform.android.js +1 -1
  834. package/src/utils/info/platform/platform.ios.js +1 -1
  835. package/src/utils/info/platform/platform.js +10 -1
  836. package/src/utils/info/platform/platform.native.js +1 -1
  837. package/src/utils/info/versions.js +1 -1
  838. package/src/utils/isTouchDevice.js +1 -3
  839. package/src/utils/pressability.js +1 -1
  840. package/src/utils/props/a11yProps.js +2 -2
  841. package/src/utils/props/clickProps.js +1 -1
  842. package/src/utils/props/componentPropType.js +1 -1
  843. package/src/utils/props/contentfulProps.js +2 -2
  844. package/src/utils/props/copyPropTypes.js +1 -1
  845. package/src/utils/props/getPropSelector.js +2 -2
  846. package/src/utils/props/handlerProps.js +1 -1
  847. package/src/utils/props/hrefAttrsProp.js +1 -1
  848. package/src/utils/props/inputSupportsProps.js +2 -2
  849. package/src/utils/props/linkProps.js +4 -4
  850. package/src/utils/props/paddingProp.js +1 -1
  851. package/src/utils/props/pressProps.js +3 -3
  852. package/src/utils/props/rectProp.js +1 -1
  853. package/src/utils/props/responsiveProps.js +1 -1
  854. package/src/utils/props/selectSystemProps.js +1 -1
  855. package/src/utils/props/spacingProps.js +3 -3
  856. package/src/utils/props/textInputProps.js +2 -2
  857. package/src/utils/props/textProps.js +2 -2
  858. package/src/utils/props/variantProp.js +1 -1
  859. package/src/utils/props/viewProps.js +2 -2
  860. package/src/utils/resolveContentMaxWidth.js +1 -3
  861. package/src/utils/ssr-media-query/create-stylesheet/create-stylesheet-mobile.js +1 -3
  862. package/src/utils/ssr-media-query/create-stylesheet/index.android.js +1 -3
  863. package/src/utils/ssr-media-query/create-stylesheet/index.ios.js +1 -3
  864. package/src/utils/ssr-media-query/create-stylesheet/index.js +3 -5
  865. package/src/utils/ssr-media-query/hash.js +1 -1
  866. package/src/utils/ssr-media-query/ssr-media-query.js +9 -0
  867. package/src/utils/ssr-media-query/utils/create-declaration-block.js +2 -4
  868. package/src/utils/ssr-media-query/utils/create-media-query-styles.js +1 -3
  869. package/src/utils/ssr-media-query/utils/hyphenate-style-name.js +1 -3
  870. package/src/utils/ssr-media-query/utils/use-all-viewport-tokens.js +3 -5
  871. package/src/utils/ssr.jsx +0 -2
  872. package/src/utils/transformGradient.js +0 -2
  873. package/src/utils/useCopy.js +1 -3
  874. package/src/utils/useDetectOutsideClick.js +1 -3
  875. package/src/utils/useHash.js +1 -2
  876. package/src/utils/useHash.native.js +1 -2
  877. package/src/utils/useMediaQuerySpacing.js +7 -4
  878. package/src/utils/useOverlaidPosition.js +1 -3
  879. package/src/utils/useResponsiveProp.js +3 -5
  880. package/src/utils/useSafeLayoutEffect.js +1 -3
  881. package/src/utils/useScrollBlocking.js +1 -3
  882. package/src/utils/useScrollBlocking.native.js +1 -1
  883. package/src/utils/useSpacingScale.js +3 -5
  884. package/src/utils/useUniqueId.js +1 -3
  885. package/src/utils/useVariants.js +3 -4
  886. package/src/utils/withLinkRouter.jsx +2 -4
  887. package/types/Checkbox.d.ts +19 -20
  888. package/types/FileUpload.d.ts +1 -1
  889. package/types/Shortcuts.d.ts +0 -1
  890. package/types/Status.d.ts +1 -1
  891. package/lib/cjs/ActionCard/index.js +0 -9
  892. package/lib/cjs/Autocomplete/index.js +0 -9
  893. package/lib/cjs/Badge/index.js +0 -9
  894. package/lib/cjs/Box/index.js +0 -9
  895. package/lib/cjs/Button/index.js +0 -34
  896. package/lib/cjs/Card/index.js +0 -32
  897. package/lib/cjs/CardGroup/index.js +0 -9
  898. package/lib/cjs/Carousel/CarouselItem/index.js +0 -9
  899. package/lib/cjs/Carousel/CarouselStepTracker/index.js +0 -9
  900. package/lib/cjs/Carousel/CarouselTabs/CarouselTabs.js +0 -54
  901. package/lib/cjs/Carousel/CarouselTabs/index.js +0 -9
  902. package/lib/cjs/Carousel/index.js +0 -44
  903. package/lib/cjs/Checkbox/index.js +0 -16
  904. package/lib/cjs/CheckboxCard/index.js +0 -9
  905. package/lib/cjs/CheckboxCardGroup/index.js +0 -9
  906. package/lib/cjs/ColourToggle/index.js +0 -9
  907. package/lib/cjs/Divider/index.js +0 -9
  908. package/lib/cjs/DownloadApp/index.js +0 -9
  909. package/lib/cjs/ExpandCollapse/Accordion.js +0 -20
  910. package/lib/cjs/ExpandCollapse/index.js +0 -19
  911. package/lib/cjs/ExpandCollapseMini/index.js +0 -9
  912. package/lib/cjs/Feedback/index.js +0 -9
  913. package/lib/cjs/Fieldset/index.js +0 -9
  914. package/lib/cjs/FileUpload/index.js +0 -9
  915. package/lib/cjs/FlexGrid/Col/index.js +0 -9
  916. package/lib/cjs/FlexGrid/Row/index.js +0 -9
  917. package/lib/cjs/FlexGrid/index.js +0 -23
  918. package/lib/cjs/Footnote/index.js +0 -11
  919. package/lib/cjs/HorizontalScroll/index.js +0 -26
  920. package/lib/cjs/Icon/index.js +0 -24
  921. package/lib/cjs/IconButton/index.js +0 -9
  922. package/lib/cjs/InputLabel/index.js +0 -9
  923. package/lib/cjs/InputSupports/index.js +0 -9
  924. package/lib/cjs/Link/index.js +0 -34
  925. package/lib/cjs/List/index.js +0 -23
  926. package/lib/cjs/Listbox/index.js +0 -9
  927. package/lib/cjs/Modal/index.js +0 -9
  928. package/lib/cjs/MultiSelectFilter/index.js +0 -9
  929. package/lib/cjs/Notification/index.js +0 -9
  930. package/lib/cjs/OrderedList/index.js +0 -16
  931. package/lib/cjs/Pagination/PageButton.js +0 -82
  932. package/lib/cjs/Pagination/index.js +0 -9
  933. package/lib/cjs/Portal/index.js +0 -9
  934. package/lib/cjs/PriceLockup/index.js +0 -9
  935. package/lib/cjs/ProductCard/index.js +0 -9
  936. package/lib/cjs/ProductCardGroup/index.js +0 -9
  937. package/lib/cjs/Progress/index.js +0 -11
  938. package/lib/cjs/QuickLinks/index.js +0 -11
  939. package/lib/cjs/QuickLinksFeature/index.js +0 -11
  940. package/lib/cjs/Radio/index.js +0 -16
  941. package/lib/cjs/RadioCard/index.js +0 -16
  942. package/lib/cjs/Responsive/index.js +0 -9
  943. package/lib/cjs/Search/index.js +0 -9
  944. package/lib/cjs/Select/Item.native.js +0 -8
  945. package/lib/cjs/Select/index.js +0 -13
  946. package/lib/cjs/Shortcuts/index.js +0 -16
  947. package/lib/cjs/SideNav/index.js +0 -13
  948. package/lib/cjs/Skeleton/index.js +0 -9
  949. package/lib/cjs/SkipLink/index.js +0 -9
  950. package/lib/cjs/Spacer/index.js +0 -9
  951. package/lib/cjs/StackView/index.js +0 -23
  952. package/lib/cjs/Status/index.js +0 -9
  953. package/lib/cjs/StepTracker/index.js +0 -9
  954. package/lib/cjs/TabBar/index.js +0 -11
  955. package/lib/cjs/Tabs/index.js +0 -9
  956. package/lib/cjs/Tags/index.js +0 -9
  957. package/lib/cjs/TextInput/index.js +0 -20
  958. package/lib/cjs/ThemeProvider/index.js +0 -67
  959. package/lib/cjs/ThemeProvider/utils/index.js +0 -27
  960. package/lib/cjs/Timeline/index.js +0 -9
  961. package/lib/cjs/ToggleSwitch/index.js +0 -20
  962. package/lib/cjs/Tooltip/index.js +0 -12
  963. package/lib/cjs/TooltipButton/index.js +0 -9
  964. package/lib/cjs/Typography/index.js +0 -9
  965. package/lib/cjs/Validator/index.js +0 -9
  966. package/lib/cjs/ViewportProvider/index.js +0 -22
  967. package/lib/cjs/utils/BaseView/index.js +0 -9
  968. package/lib/cjs/utils/a11y/index.js +0 -27
  969. package/lib/cjs/utils/animation/index.js +0 -13
  970. package/lib/cjs/utils/index.js +0 -285
  971. package/lib/cjs/utils/info/index.js +0 -14
  972. package/lib/cjs/utils/info/platform/index.js +0 -18
  973. package/lib/cjs/utils/props/index.js +0 -176
  974. package/lib/cjs/utils/ssr-media-query/index.js +0 -25
  975. package/lib/esm/ActionCard/index.js +0 -2
  976. package/lib/esm/Autocomplete/index.js +0 -2
  977. package/lib/esm/Badge/index.js +0 -2
  978. package/lib/esm/Box/index.js +0 -2
  979. package/lib/esm/Button/index.js +0 -5
  980. package/lib/esm/Card/index.js +0 -4
  981. package/lib/esm/CardGroup/index.js +0 -2
  982. package/lib/esm/Carousel/CarouselItem/index.js +0 -2
  983. package/lib/esm/Carousel/CarouselStepTracker/index.js +0 -2
  984. package/lib/esm/Carousel/CarouselTabs/CarouselTabs.js +0 -49
  985. package/lib/esm/Carousel/CarouselTabs/index.js +0 -2
  986. package/lib/esm/Carousel/index.js +0 -4
  987. package/lib/esm/Checkbox/index.js +0 -3
  988. package/lib/esm/CheckboxCard/index.js +0 -2
  989. package/lib/esm/CheckboxCardGroup/index.js +0 -2
  990. package/lib/esm/ColourToggle/index.js +0 -2
  991. package/lib/esm/Divider/index.js +0 -2
  992. package/lib/esm/DownloadApp/index.js +0 -2
  993. package/lib/esm/ExpandCollapse/Accordion.js +0 -15
  994. package/lib/esm/ExpandCollapse/index.js +0 -7
  995. package/lib/esm/ExpandCollapseMini/index.js +0 -2
  996. package/lib/esm/Feedback/index.js +0 -2
  997. package/lib/esm/Fieldset/index.js +0 -2
  998. package/lib/esm/FileUpload/index.js +0 -2
  999. package/lib/esm/FlexGrid/Col/index.js +0 -2
  1000. package/lib/esm/FlexGrid/Row/index.js +0 -2
  1001. package/lib/esm/FlexGrid/index.js +0 -4
  1002. package/lib/esm/Footnote/index.js +0 -4
  1003. package/lib/esm/HorizontalScroll/index.js +0 -11
  1004. package/lib/esm/Icon/index.js +0 -4
  1005. package/lib/esm/IconButton/index.js +0 -2
  1006. package/lib/esm/InputLabel/index.js +0 -2
  1007. package/lib/esm/InputSupports/index.js +0 -2
  1008. package/lib/esm/Link/index.js +0 -5
  1009. package/lib/esm/List/index.js +0 -5
  1010. package/lib/esm/Listbox/index.js +0 -2
  1011. package/lib/esm/Modal/index.js +0 -2
  1012. package/lib/esm/MultiSelectFilter/index.js +0 -2
  1013. package/lib/esm/Notification/index.js +0 -2
  1014. package/lib/esm/OrderedList/index.js +0 -3
  1015. package/lib/esm/Pagination/index.js +0 -2
  1016. package/lib/esm/Portal/index.js +0 -2
  1017. package/lib/esm/PriceLockup/index.js +0 -2
  1018. package/lib/esm/ProductCard/index.js +0 -2
  1019. package/lib/esm/ProductCardGroup/index.js +0 -2
  1020. package/lib/esm/Progress/index.js +0 -4
  1021. package/lib/esm/QuickLinks/index.js +0 -4
  1022. package/lib/esm/QuickLinksFeature/index.js +0 -4
  1023. package/lib/esm/Radio/index.js +0 -3
  1024. package/lib/esm/RadioCard/index.js +0 -3
  1025. package/lib/esm/Responsive/index.js +0 -2
  1026. package/lib/esm/Search/index.js +0 -2
  1027. package/lib/esm/Select/Item.native.js +0 -2
  1028. package/lib/esm/Select/index.js +0 -6
  1029. package/lib/esm/Shortcuts/index.js +0 -3
  1030. package/lib/esm/SideNav/index.js +0 -1
  1031. package/lib/esm/Skeleton/index.js +0 -2
  1032. package/lib/esm/SkipLink/index.js +0 -2
  1033. package/lib/esm/Spacer/index.js +0 -2
  1034. package/lib/esm/StackView/index.js +0 -5
  1035. package/lib/esm/Status/index.js +0 -2
  1036. package/lib/esm/StepTracker/index.js +0 -2
  1037. package/lib/esm/TabBar/index.js +0 -4
  1038. package/lib/esm/Tabs/index.js +0 -2
  1039. package/lib/esm/Tags/index.js +0 -2
  1040. package/lib/esm/TextInput/index.js +0 -3
  1041. package/lib/esm/ThemeProvider/index.js +0 -8
  1042. package/lib/esm/ThemeProvider/utils/index.js +0 -2
  1043. package/lib/esm/Timeline/index.js +0 -2
  1044. package/lib/esm/ToggleSwitch/index.js +0 -3
  1045. package/lib/esm/Tooltip/index.js +0 -5
  1046. package/lib/esm/TooltipButton/index.js +0 -2
  1047. package/lib/esm/Typography/index.js +0 -2
  1048. package/lib/esm/Validator/index.js +0 -2
  1049. package/lib/esm/ViewportProvider/index.js +0 -3
  1050. package/lib/esm/utils/BaseView/index.js +0 -2
  1051. package/lib/esm/utils/a11y/index.js +0 -2
  1052. package/lib/esm/utils/animation/index.js +0 -2
  1053. package/lib/esm/utils/index.js +0 -30
  1054. package/lib/esm/utils/info/index.js +0 -8
  1055. package/lib/esm/utils/info/platform/index.js +0 -14
  1056. package/lib/esm/utils/props/index.js +0 -20
  1057. package/lib/esm/utils/ssr-media-query/index.js +0 -7
  1058. package/src/ActionCard/index.js +0 -3
  1059. package/src/Autocomplete/index.js +0 -3
  1060. package/src/Badge/index.js +0 -3
  1061. package/src/Box/index.js +0 -3
  1062. package/src/Button/index.js +0 -6
  1063. package/src/Card/index.js +0 -6
  1064. package/src/CardGroup/index.js +0 -3
  1065. package/src/Carousel/CarouselItem/index.js +0 -3
  1066. package/src/Carousel/CarouselStepTracker/index.js +0 -3
  1067. package/src/Carousel/CarouselTabs/CarouselTabs.jsx +0 -39
  1068. package/src/Carousel/CarouselTabs/index.js +0 -3
  1069. package/src/Carousel/index.js +0 -4
  1070. package/src/Checkbox/index.js +0 -5
  1071. package/src/CheckboxCard/index.js +0 -3
  1072. package/src/CheckboxCardGroup/index.js +0 -3
  1073. package/src/ColourToggle/index.js +0 -3
  1074. package/src/Divider/index.js +0 -3
  1075. package/src/DownloadApp/index.js +0 -3
  1076. package/src/ExpandCollapse/Accordion.jsx +0 -13
  1077. package/src/ExpandCollapse/index.js +0 -8
  1078. package/src/ExpandCollapseMini/index.js +0 -3
  1079. package/src/Feedback/index.js +0 -3
  1080. package/src/Fieldset/index.js +0 -3
  1081. package/src/FileUpload/index.js +0 -3
  1082. package/src/FlexGrid/Col/index.js +0 -3
  1083. package/src/FlexGrid/Row/index.js +0 -3
  1084. package/src/FlexGrid/index.js +0 -6
  1085. package/src/Footnote/index.js +0 -6
  1086. package/src/HorizontalScroll/index.js +0 -17
  1087. package/src/Icon/index.js +0 -5
  1088. package/src/IconButton/index.js +0 -3
  1089. package/src/InputLabel/index.js +0 -3
  1090. package/src/InputSupports/index.js +0 -3
  1091. package/src/Link/index.js +0 -6
  1092. package/src/List/index.js +0 -8
  1093. package/src/Listbox/index.js +0 -3
  1094. package/src/Modal/index.js +0 -3
  1095. package/src/MultiSelectFilter/index.js +0 -3
  1096. package/src/Notification/index.js +0 -3
  1097. package/src/OrderedList/index.js +0 -4
  1098. package/src/Pagination/index.js +0 -3
  1099. package/src/Portal/index.js +0 -3
  1100. package/src/PriceLockup/index.js +0 -3
  1101. package/src/ProductCard/index.js +0 -3
  1102. package/src/ProductCardGroup/index.js +0 -3
  1103. package/src/Progress/index.js +0 -6
  1104. package/src/QuickLinks/index.js +0 -6
  1105. package/src/QuickLinksFeature/index.js +0 -6
  1106. package/src/Radio/index.js +0 -5
  1107. package/src/RadioCard/index.js +0 -5
  1108. package/src/Responsive/index.js +0 -3
  1109. package/src/Search/index.js +0 -3
  1110. package/src/Select/Item.native.jsx +0 -3
  1111. package/src/Select/index.js +0 -8
  1112. package/src/Shortcuts/index.js +0 -4
  1113. package/src/SideNav/index.js +0 -1
  1114. package/src/Skeleton/index.js +0 -3
  1115. package/src/SkipLink/index.js +0 -3
  1116. package/src/Spacer/index.js +0 -3
  1117. package/src/StackView/index.js +0 -6
  1118. package/src/Status/index.js +0 -3
  1119. package/src/StepTracker/index.js +0 -3
  1120. package/src/TabBar/index.js +0 -6
  1121. package/src/Tabs/index.js +0 -3
  1122. package/src/Tags/index.js +0 -3
  1123. package/src/TextInput/index.js +0 -4
  1124. package/src/ThemeProvider/index.js +0 -11
  1125. package/src/ThemeProvider/utils/index.js +0 -2
  1126. package/src/Timeline/index.js +0 -3
  1127. package/src/ToggleSwitch/index.js +0 -4
  1128. package/src/Tooltip/index.js +0 -7
  1129. package/src/TooltipButton/index.js +0 -3
  1130. package/src/Typography/index.js +0 -3
  1131. package/src/Validator/index.js +0 -3
  1132. package/src/ViewportProvider/index.jsx +0 -4
  1133. package/src/utils/BaseView/index.js +0 -3
  1134. package/src/utils/a11y/index.js +0 -2
  1135. package/src/utils/animation/index.js +0 -2
  1136. package/src/utils/index.js +0 -30
  1137. package/src/utils/info/index.js +0 -8
  1138. package/src/utils/info/platform/index.js +0 -11
  1139. package/src/utils/props/index.js +0 -20
  1140. package/src/utils/ssr-media-query/index.js +0 -9
@@ -1,12 +1,14 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import Feedback from '../Feedback';
4
- import { getTokensPropType, spacingProps, variantProp } from '../utils';
5
- import { useThemeTokens } from '../ThemeProvider';
6
- import FieldsetContainer from './FieldsetContainer';
7
- import { getStackedContent } from '../StackView';
8
- import InputLabel from '../InputLabel';
9
- import useInputSupports from '../InputSupports/useInputSupports';
3
+ import { Feedback } from '../Feedback/Feedback';
4
+ import { getTokensPropType } from '../utils/props/tokens';
5
+ import { spacingProps } from '../utils/props/spacingProps';
6
+ import { variantProp } from '../utils/props/variantProp';
7
+ import { useThemeTokens } from '../ThemeProvider/useThemeTokens';
8
+ import { FieldsetContainer } from './FieldsetContainer';
9
+ import { getStackedContent } from '../StackView/getStackedContent';
10
+ import { InputLabel } from '../InputLabel/InputLabel';
11
+ import { useInputSupports } from '../InputSupports/useInputSupports';
10
12
 
11
13
  /**
12
14
  * An alternative to InputSupports for groups of input elements that, on web, are to be
@@ -14,8 +16,8 @@ import useInputSupports from '../InputSupports/useInputSupports';
14
16
  *
15
17
  * Follows the same theming and most of the same props as InputSupports.
16
18
  */
17
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
18
- const Fieldset = /*#__PURE__*/React.forwardRef((_ref, ref) => {
19
+ import { jsx as _jsx } from "react/jsx-runtime";
20
+ export const Fieldset = /*#__PURE__*/React.forwardRef((_ref, ref) => {
19
21
  let {
20
22
  copy = 'en',
21
23
  space,
@@ -105,10 +107,16 @@ const Fieldset = /*#__PURE__*/React.forwardRef((_ref, ref) => {
105
107
  // and on MacOS voiceover, radiogroup -> radio. To allow elements to be direct children of the
106
108
  // fieldset as much as possible, but also allow different spacing within content and between
107
109
  // fieldset / feedback / etc, wrap resolved children in a fragment, and stack with `preserveFragments`.
108
- const childContent = /*#__PURE__*/_jsx(_Fragment, {
110
+ const childContent = /*#__PURE__*/_jsx(React.Fragment, {
109
111
  children: typeof children === 'function' ? children(a11yProps) : children
110
- });
111
- const orderedContent = feedbackPosition === 'bottom' ? [legendContent, feedbackContent, childContent] : [legendContent, childContent, feedbackContent];
112
+ }, "fieldset-children");
113
+ const legendWithKey = legendContent ? /*#__PURE__*/_jsx(React.Fragment, {
114
+ children: legendContent
115
+ }, "fieldset-legend") : null;
116
+ const feedbackWithKey = feedbackContent ? /*#__PURE__*/_jsx(React.Fragment, {
117
+ children: feedbackContent
118
+ }, "fieldset-feedback") : null;
119
+ const orderedContent = feedbackPosition === 'bottom' ? [legendWithKey, feedbackWithKey, childContent].filter(Boolean) : [legendWithKey, childContent, feedbackWithKey].filter(Boolean);
112
120
  const stackedContent = getStackedContent(orderedContent, {
113
121
  space,
114
122
  preserveFragments: true
@@ -189,5 +197,4 @@ Fieldset.propTypes = {
189
197
  * Use to show border in case of error for a group of components
190
198
  */
191
199
  showErrorBorder: PropTypes.bool
192
- };
193
- export default Fieldset;
200
+ };
@@ -1,14 +1,16 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import cssReset from './cssReset';
4
- import { selectSystemProps, a11yProps, htmlAttrs } from '../utils';
3
+ import { cssReset } from './cssReset';
4
+ import { selectSystemProps } from '../utils/props/selectSystemProps';
5
+ import { a11yProps } from '../utils/props/a11yProps';
6
+ import { htmlAttrs } from '../utils/htmlAttrs';
5
7
  import { jsx as _jsx } from "react/jsx-runtime";
6
8
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([a11yProps, htmlAttrs]);
7
9
 
8
10
  /**
9
11
  * On Web, wraps children with a HTML `<fieldset>` and sets its attributes as necessary.
10
12
  */
11
- const FieldsetContainer = /*#__PURE__*/React.forwardRef((_ref, ref) => {
13
+ export const FieldsetContainer = /*#__PURE__*/React.forwardRef((_ref, ref) => {
12
14
  let {
13
15
  children,
14
16
  inactive,
@@ -44,5 +46,4 @@ FieldsetContainer.propTypes = {
44
46
  showBorderStyle: PropTypes.bool,
45
47
  borderStyle: PropTypes.object,
46
48
  style: PropTypes.object
47
- };
48
- export default FieldsetContainer;
49
+ };
@@ -1,13 +1,15 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import View from "react-native-web/dist/exports/View";
4
- import { selectSystemProps, a11yProps, viewProps } from '../utils';
4
+ import { selectSystemProps } from '../utils/props/selectSystemProps';
5
+ import { a11yProps } from '../utils/props/a11yProps';
6
+ import { viewProps } from '../utils/props/viewProps';
5
7
  import { jsx as _jsx } from "react/jsx-runtime";
6
8
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([a11yProps, viewProps]);
7
9
 
8
10
  // No equivalent of `<fieldset>` on native, so just apply accessibility role to container.
9
11
  // If a11y testing finds any additional handling is needed at the container level, add it here.
10
- const FieldsetContainer = /*#__PURE__*/React.forwardRef((_ref, ref) => {
12
+ export const FieldsetContainer = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11
13
  let {
12
14
  children,
13
15
  accessibilityRole,
@@ -28,5 +30,4 @@ FieldsetContainer.propTypes = {
28
30
  children: PropTypes.node,
29
31
  accessibilityRole: PropTypes.string,
30
32
  style: PropTypes.object
31
- };
32
- export default FieldsetContainer;
33
+ };
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import cssReset from './cssReset';
3
+ import { cssReset } from './cssReset';
4
4
 
5
5
  /**
6
6
  * On Web, wraps children in HTML `<legend>` tag.
7
7
  * On Native, `<legend>` does not exist, wraps in a width 100% block to follow <legend>'s behaviour in a flex.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- const Legend = /*#__PURE__*/React.forwardRef((_ref, ref) => {
10
+ export const Legend = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11
11
  let {
12
12
  children
13
13
  } = _ref;
@@ -20,5 +20,4 @@ const Legend = /*#__PURE__*/React.forwardRef((_ref, ref) => {
20
20
  Legend.displayName = 'Legend';
21
21
  Legend.propTypes = {
22
22
  children: PropTypes.node
23
- };
24
- export default Legend;
23
+ };
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
8
8
  * On Native, `<legend>` does not exist, wraps in a width 100% block to follow <legend>'s behaviour in a flex.
9
9
  */
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
- const Legend = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11
+ export const Legend = /*#__PURE__*/React.forwardRef((_ref, ref) => {
12
12
  let {
13
13
  children
14
14
  } = _ref;
@@ -27,5 +27,4 @@ const staticStyles = StyleSheet.create({
27
27
  width: '100%',
28
28
  flexGrow: 1
29
29
  }
30
- });
31
- export default Legend;
30
+ });
@@ -3,7 +3,7 @@
3
3
  // Can't use RN stylesheets because it's not an RN element (RNW's createElement tooling is unstable).
4
4
  // Using CSS `all` doesn't work well as an inline style.
5
5
  // https://github.com/necolas/react-native-web/issues/1385
6
- export default {
6
+ export const cssReset = {
7
7
  margin: 'unset',
8
8
  padding: 'unset',
9
9
  float: 'unset',
@@ -2,15 +2,22 @@ import React from 'react';
2
2
  import View from "react-native-web/dist/exports/View";
3
3
  import Platform from "react-native-web/dist/exports/Platform";
4
4
  import PropTypes from 'prop-types';
5
- import { useThemeTokens } from '../ThemeProvider';
6
- import { a11yProps, copyPropTypes, getTokensPropType, selectSystemProps, useCopy, variantProp, viewProps, convertFromMegaByteToByte } from '../utils';
7
- import InputLabel from '../InputLabel';
8
- import { Button } from '../Button';
9
- import Notification from '../Notification';
10
- import Spacer from '../Spacer';
11
- import StackView from '../StackView';
12
- import NotificationContent from './NotificationContent';
13
- import defaultDictionary from './dictionary';
5
+ import { useThemeTokens } from '../ThemeProvider/useThemeTokens';
6
+ import { a11yProps } from '../utils/props/a11yProps';
7
+ import { copyPropTypes } from '../utils/props/copyPropTypes';
8
+ import { getTokensPropType } from '../utils/props/tokens';
9
+ import { selectSystemProps } from '../utils/props/selectSystemProps';
10
+ import { useCopy } from '../utils/useCopy';
11
+ import { variantProp } from '../utils/props/variantProp';
12
+ import { viewProps } from '../utils/props/viewProps';
13
+ import { convertFromMegaByteToByte } from '../utils/convertFromMegaByteToByte';
14
+ import { InputLabel } from '../InputLabel/InputLabel';
15
+ import { Button } from '../Button/Button';
16
+ import { Notification } from '../Notification/Notification';
17
+ import { Spacer } from '../Spacer/Spacer';
18
+ import { StackView } from '../StackView/StackView';
19
+ import { NotificationContent } from './NotificationContent';
20
+ import { dictionary as defaultDictionary } from './dictionary';
14
21
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
22
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([a11yProps, viewProps]);
16
23
  const getHintFromFileTypes = fileTypes => {
@@ -81,7 +88,7 @@ const selectComponentTokens = (tokens, componentIdentifier) => {
81
88
  * @param {any} props.rest - Additional props to be spread to the component.
82
89
  * @returns {JSX.Element} The rendered FileUpload component.
83
90
  */
84
- const FileUpload = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
91
+ export const FileUpload = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
85
92
  let {
86
93
  tokens,
87
94
  variant,
@@ -388,5 +395,4 @@ FileUpload.propTypes = {
388
395
  en: dictionaryEntryShape,
389
396
  fr: dictionaryEntryShape
390
397
  })
391
- };
392
- export default FileUpload;
398
+ };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import Typography from '../Typography';
3
+ import { Typography } from '../Typography/Typography';
4
4
 
5
5
  /**
6
6
  * Renders the content of a notification for a file upload.
@@ -14,7 +14,7 @@ import Typography from '../Typography';
14
14
  * @returns {JSX.Element} The rendered NotificationContent component.
15
15
  */
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
- const NotificationContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
17
+ export const NotificationContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
18
18
  let {
19
19
  file,
20
20
  color,
@@ -50,5 +50,4 @@ NotificationContent.propTypes = {
50
50
  * The color of the typography.
51
51
  */
52
52
  color: PropTypes.string
53
- };
54
- export default NotificationContent;
53
+ };
@@ -1,4 +1,4 @@
1
- export default {
1
+ export const dictionary = {
2
2
  en: {
3
3
  label: 'Upload files',
4
4
  buttonLabel: 'Choose files',
@@ -1,14 +1,18 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { viewports } from '@telus-uds/system-constants';
4
- import { a11yProps, viewProps, getA11yPropsFromHtmlTag, layoutTags, selectSystemProps, BaseView, StyleSheet, createMediaQueryStyles, useResponsiveProp } from '../utils';
5
- import resolveContentMaxWidth from '../utils/resolveContentMaxWidth';
6
- import Row from './Row';
7
- import Col from './Col';
8
- import GutterContext from './providers/GutterContext';
9
- import applyInheritance from './helpers';
10
- import { useTheme } from '../ThemeProvider';
11
- import { useViewport } from '../ViewportProvider';
4
+ import { a11yProps } from '../utils/props/a11yProps';
5
+ import { viewProps } from '../utils/props/viewProps';
6
+ import { getA11yPropsFromHtmlTag, layoutTags } from '../utils/a11y/semantics';
7
+ import { selectSystemProps } from '../utils/props/selectSystemProps';
8
+ import { BaseView } from '../utils/BaseView/BaseView';
9
+ import { StyleSheet, createMediaQueryStyles } from '../utils/ssr-media-query/ssr-media-query';
10
+ import { useResponsiveProp } from '../utils/useResponsiveProp';
11
+ import { resolveContentMaxWidth } from '../utils/resolveContentMaxWidth';
12
+ import { GutterContext } from './providers/GutterContext';
13
+ import { applyInheritance } from './helpers';
14
+ import { useTheme } from '../ThemeProvider/useTheme';
15
+ import { useViewport } from '../ViewportProvider/useViewport';
12
16
  import { jsx as _jsx } from "react/jsx-runtime";
13
17
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([a11yProps, viewProps]);
14
18
 
@@ -38,7 +42,7 @@ const getMaxWidthForViewport = (viewportKey, limitWidth, contentWidthProp, maxWi
38
42
  * A mobile-first flexbox grid.
39
43
  */
40
44
 
41
- const FlexGrid = /*#__PURE__*/React.forwardRef((_ref, ref) => {
45
+ export const FlexGrid = /*#__PURE__*/React.forwardRef((_ref, ref) => {
42
46
  let {
43
47
  limitWidth = true,
44
48
  gutter = true,
@@ -96,6 +100,7 @@ const FlexGrid = /*#__PURE__*/React.forwardRef((_ref, ref) => {
96
100
  };
97
101
  const staticStyles = {
98
102
  flexWrap: 'wrap',
103
+ alignContent: 'stretch',
99
104
  width: outsideGutter ? '100%' : 'auto',
100
105
  marginVertical: 0,
101
106
  marginHorizontal: outsideGutter ? 'auto' : -16
@@ -182,7 +187,7 @@ FlexGrid.propTypes = {
182
187
  */
183
188
  tag: PropTypes.oneOf(layoutTags),
184
189
  /**
185
- * The rows and columns of the Grid. Will typically be `FlexGrid.Row` and `FlexGrid.Col` components.
190
+ * The rows and columns of the Grid. Will typically be `FlexGridRow` and `FlexGridCol` components.
186
191
  */
187
192
  children: PropTypes.node.isRequired,
188
193
  /**
@@ -216,7 +221,4 @@ FlexGrid.propTypes = {
216
221
  sm: PropTypes.oneOfType([PropTypes.oneOf(['max', 'full']), PropTypes.number]),
217
222
  xs: PropTypes.oneOfType([PropTypes.oneOf(['max', 'full']), PropTypes.number])
218
223
  })
219
- };
220
- FlexGrid.Row = Row;
221
- FlexGrid.Col = Col;
222
- export default FlexGrid;
224
+ };
@@ -1,13 +1,15 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import Platform from "react-native-web/dist/exports/Platform";
4
- import GutterContext from '../providers/GutterContext';
5
- import applyInheritance from '../helpers';
6
- import { responsiveProps, BaseView, StyleSheet, createMediaQueryStyles } from '../../utils';
7
- import { useViewport } from '../../ViewportProvider';
8
- import { useTheme } from '../../ThemeProvider';
4
+ import { GutterContext } from '../providers/GutterContext';
5
+ import { applyInheritance } from '../helpers';
6
+ import { responsiveProps } from '../../utils/props/responsiveProps';
7
+ import { BaseView } from '../../utils/BaseView/BaseView';
8
+ import { StyleSheet, createMediaQueryStyles } from '../../utils/ssr-media-query/ssr-media-query';
9
+ import { useViewport } from '../../ViewportProvider/useViewport';
10
+ import { useTheme } from '../../ThemeProvider/useTheme';
9
11
  import { jsx as _jsx } from "react/jsx-runtime";
10
- const Col = /*#__PURE__*/React.forwardRef((_ref, ref) => {
12
+ export const FlexGridCol = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11
13
  let {
12
14
  horizontalAlign,
13
15
  children,
@@ -165,14 +167,14 @@ const Col = /*#__PURE__*/React.forwardRef((_ref, ref) => {
165
167
  children: children
166
168
  });
167
169
  });
168
- Col.displayName = 'Col';
170
+ FlexGridCol.displayName = 'FlexGridCol';
169
171
 
170
172
  /*
171
173
  * We're disabling default props since passing undefined props to
172
174
  * the react-flexbox-grid component sets up blank classes that may cause
173
175
  * styling issues.
174
176
  */
175
- Col.propTypes = {
177
+ FlexGridCol.propTypes = {
176
178
  /**
177
179
  * Specify number of columns within the 'xs' breakpoint range. `0` hides the column.
178
180
  *
@@ -238,7 +240,7 @@ Col.propTypes = {
238
240
  */
239
241
  xlOffset: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]),
240
242
  /**
241
- * The columns of the Grid. Will typically be `FlexGrid.Col` components.
243
+ * The columns of the Grid. Will typically be `FlexGridCol` components.
242
244
  */
243
245
  children: PropTypes.node.isRequired,
244
246
  /**
@@ -250,8 +252,7 @@ Col.propTypes = {
250
252
  horizontalAlign: responsiveProps.getTypeOptionallyByViewport(PropTypes.oneOf(['left', 'center', 'right'])),
251
253
  /**
252
254
  * (web only) Stretches the column to fill vertical space using `display: flex`.
253
- * In native apps, FlexGrid.Col behaves as if this is always true (as do all `View`s).
255
+ * In native apps, FlexGridCol behaves as if this is always true (as do all `View`s).
254
256
  */
255
257
  flex: PropTypes.bool
256
- };
257
- export default Col;
258
+ };
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import applyInheritance from '../helpers';
4
- import { BaseView, StyleSheet, createMediaQueryStyles } from '../../utils';
5
- import { useTheme } from '../../ThemeProvider';
6
- import { useViewport } from '../../ViewportProvider';
3
+ import { applyInheritance } from '../helpers';
4
+ import { BaseView } from '../../utils/BaseView/BaseView';
5
+ import { StyleSheet, createMediaQueryStyles } from '../../utils/ssr-media-query/ssr-media-query';
6
+ import { useTheme } from '../../ThemeProvider/useTheme';
7
+ import { useViewport } from '../../ViewportProvider/useViewport';
7
8
  import { jsx as _jsx } from "react/jsx-runtime";
8
9
  const horizontalAlignStyles = horizontalAlign => {
9
10
  switch (horizontalAlign) {
@@ -58,7 +59,7 @@ const distributeStyles = distribute => {
58
59
  return {};
59
60
  }
60
61
  };
61
- const Row = /*#__PURE__*/React.forwardRef((_ref, ref) => {
62
+ export const FlexGridRow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
62
63
  let {
63
64
  horizontalAlign,
64
65
  verticalAlign,
@@ -142,8 +143,8 @@ const Row = /*#__PURE__*/React.forwardRef((_ref, ref) => {
142
143
  children: children
143
144
  });
144
145
  });
145
- Row.displayName = 'Row';
146
- Row.propTypes = {
146
+ FlexGridRow.displayName = 'FlexGridRow';
147
+ FlexGridRow.propTypes = {
147
148
  /**
148
149
  * Align columns horizontally within their row.
149
150
  */
@@ -177,5 +178,4 @@ Row.propTypes = {
177
178
  */
178
179
  xlReverse: PropTypes.bool,
179
180
  children: PropTypes.node.isRequired
180
- };
181
- export default Row;
181
+ };
@@ -1,4 +1,4 @@
1
- const applyInheritance = sizes => {
1
+ export const applyInheritance = sizes => {
2
2
  let prevSize;
3
3
  return sizes.map((size, index) => {
4
4
  if (size !== undefined) {
@@ -11,5 +11,4 @@ const applyInheritance = sizes => {
11
11
  }
12
12
  return undefined;
13
13
  });
14
- };
15
- export default applyInheritance;
14
+ };
@@ -1,3 +1,2 @@
1
1
  import React from 'react';
2
- const GutterContext = /*#__PURE__*/React.createContext(false);
3
- export default GutterContext;
2
+ export const GutterContext = /*#__PURE__*/React.createContext(false);
@@ -8,13 +8,19 @@ import Modal from "react-native-web/dist/exports/Modal";
8
8
  import View from "react-native-web/dist/exports/View";
9
9
  import SafeAreaView from "react-native-web/dist/exports/SafeAreaView";
10
10
  import ScrollView from "react-native-web/dist/exports/ScrollView";
11
- import defaultDictionary from './dictionary';
12
- import { getTokensPropType, htmlAttrs, selectSystemProps, useCopy, viewProps } from '../utils';
13
- import { useViewport } from '../ViewportProvider';
14
- import { useTheme, useThemeTokens } from '../ThemeProvider';
15
- import Typography from '../Typography';
16
- import Icon from '../Icon';
17
- import OrderedList from '../OrderedList';
11
+ import { dictionary as defaultDictionary } from './dictionary';
12
+ import { getTokensPropType } from '../utils/props/tokens';
13
+ import { htmlAttrs } from '../utils/htmlAttrs';
14
+ import { selectSystemProps } from '../utils/props/selectSystemProps';
15
+ import { useCopy } from '../utils/useCopy';
16
+ import { viewProps } from '../utils/props/viewProps';
17
+ import { useViewport } from '../ViewportProvider/useViewport';
18
+ import { useTheme } from '../ThemeProvider/useTheme';
19
+ import { useThemeTokens } from '../ThemeProvider/useThemeTokens';
20
+ import { Typography } from '../Typography/Typography';
21
+ import { Icon } from '../Icon/Icon';
22
+ import { OrderedList } from '../OrderedList/OrderedList';
23
+ import { OrderedListItem } from '../OrderedList/OrderedListItem';
18
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
25
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs, viewProps]);
20
26
  const selectFootnoteStyle = _ref => {
@@ -130,7 +136,7 @@ const selectCustomContentFontStyle = _ref5 => {
130
136
  * - When `Footnote` is open, the inert prop must be set on all children of body excluding the Footnote
131
137
  * - When `Footnote` is closed, focus must return to the initiating element
132
138
  */
133
- const Footnote = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
139
+ export const Footnote = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
134
140
  let {
135
141
  copy = 'en',
136
142
  number = undefined,
@@ -166,7 +172,7 @@ const Footnote = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
166
172
  }
167
173
  return /*#__PURE__*/_jsx(OrderedList, {
168
174
  start: number,
169
- children: /*#__PURE__*/_jsx(OrderedList.Item, {
175
+ children: /*#__PURE__*/_jsx(OrderedListItem, {
170
176
  children: /*#__PURE__*/_jsx(Text, {
171
177
  style: selectCustomContentFontStyle(themeTokens),
172
178
  children: content
@@ -288,7 +294,6 @@ Footnote.propTypes = {
288
294
  fr: dictionaryContentShape
289
295
  })
290
296
  };
291
- export default Footnote;
292
297
  const staticStyles = StyleSheet.create({
293
298
  container: {
294
299
  flex: 1
@@ -4,9 +4,15 @@ import View from "react-native-web/dist/exports/View";
4
4
  import StyleSheet from "react-native-web/dist/exports/StyleSheet";
5
5
  import Platform from "react-native-web/dist/exports/Platform";
6
6
  import TouchableWithoutFeedback from "react-native-web/dist/exports/TouchableWithoutFeedback";
7
- import dictionary from './dictionary';
8
- import { htmlAttrs, selectSystemProps, useCopy, viewProps, wrapStringsInText, variantProp } from '../utils';
9
- import { applyTextStyles, useThemeTokens } from '../ThemeProvider';
7
+ import { dictionary } from './dictionary';
8
+ import { htmlAttrs } from '../utils/htmlAttrs';
9
+ import { selectSystemProps } from '../utils/props/selectSystemProps';
10
+ import { useCopy } from '../utils/useCopy';
11
+ import { viewProps } from '../utils/props/viewProps';
12
+ import { wrapStringsInText } from '../utils/children';
13
+ import { variantProp } from '../utils/props/variantProp';
14
+ import { applyTextStyles } from '../ThemeProvider/utils/styles';
15
+ import { useThemeTokens } from '../ThemeProvider/useThemeTokens';
10
16
  import { jsx as _jsx } from "react/jsx-runtime";
11
17
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs, viewProps]);
12
18
 
@@ -32,7 +38,7 @@ const selectTextStyle = _ref => {
32
38
  })
33
39
  };
34
40
  };
35
- const FootnoteLink = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
41
+ export const FootnoteLink = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
36
42
  let {
37
43
  copy = 'en',
38
44
  content = [],
@@ -95,7 +101,6 @@ FootnoteLink.propTypes = {
95
101
  */
96
102
  onClick: PropTypes.func.isRequired
97
103
  };
98
- export default FootnoteLink;
99
104
  const staticStyles = StyleSheet.create({
100
105
  text: {
101
106
  position: 'relative',
@@ -1,4 +1,4 @@
1
- export default {
1
+ export const dictionary = {
2
2
  en: {
3
3
  a11yLabel: 'Read legal footnote',
4
4
  close: 'close',
@@ -3,10 +3,14 @@ import PropTypes from 'prop-types';
3
3
  import Platform from "react-native-web/dist/exports/Platform";
4
4
  import StyleSheet from "react-native-web/dist/exports/StyleSheet";
5
5
  import View from "react-native-web/dist/exports/View";
6
- import { validateThemeTokens, resolveThemeTokens } from '../ThemeProvider';
7
- import { a11yProps, getTokensSetPropType, selectSystemProps, selectTokens, variantProp, viewProps } from '../utils';
8
- import ScrollViewEnd from './ScrollViewEnd';
9
- import { getItemPositionScrollTarget, itemPositionsPropType } from './itemPositions';
6
+ import { validateThemeTokens, resolveThemeTokens } from '../ThemeProvider/utils/theme-tokens';
7
+ import { a11yProps } from '../utils/props/a11yProps';
8
+ import { getTokensSetPropType, selectTokens } from '../utils/props/tokens';
9
+ import { selectSystemProps } from '../utils/props/selectSystemProps';
10
+ import { variantProp } from '../utils/props/variantProp';
11
+ import { viewProps } from '../utils/props/viewProps';
12
+ import { ScrollViewEnd } from './ScrollViewEnd';
13
+ import { getItemPositionScrollTarget, itemPositionsPropType, useItemPositions, getItemPositionLayoutHandler } from './itemPositions';
10
14
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
15
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([a11yProps, viewProps]);
12
16
  const tokenKeys = ['nextIcon', 'previousIcon', 'gutter', 'borderBottomWidth', 'borderBottomColor', 'buttonClearance'];
@@ -15,6 +19,13 @@ const selectBorderStyles = (borderBottomWidth, borderBottomColor) => ({
15
19
  borderBottomWidth,
16
20
  borderBottomColor
17
21
  });
22
+ export const horizontalScrollUtils = {
23
+ selectHorizontalScrollTokens,
24
+ useItemPositions,
25
+ getItemPositionScrollTarget,
26
+ getItemPositionLayoutHandler,
27
+ itemPositionsPropType
28
+ };
18
29
 
19
30
  /**
20
31
  * Base component that scrolls horizontally and displays left and right buttons if
@@ -22,7 +33,7 @@ const selectBorderStyles = (borderBottomWidth, borderBottomColor) => ({
22
33
  *
23
34
  * @TODO revisit `ScrollButton` after IconButton is stable.
24
35
  */
25
- const HorizontalScroll = /*#__PURE__*/React.forwardRef((_ref, ref) => {
36
+ export const HorizontalScroll = /*#__PURE__*/React.forwardRef((_ref, ref) => {
26
37
  let {
27
38
  ScrollButton,
28
39
  tokens,
@@ -166,5 +177,4 @@ HorizontalScroll.propTypes = {
166
177
  }),
167
178
  variant: variantProp.propType,
168
179
  children: PropTypes.node
169
- };
170
- export default HorizontalScroll;
180
+ };
@@ -2,10 +2,14 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import StyleSheet from "react-native-web/dist/exports/StyleSheet";
4
4
  import View from "react-native-web/dist/exports/View";
5
- import { variantProp, getTokensPropType, useCopy, copyPropTypes, a11yProps } from '../utils';
6
- import { useThemeTokens } from '../ThemeProvider';
7
- import IconButton from '../IconButton';
8
- import dictionary from './dictionary';
5
+ import { variantProp } from '../utils/props/variantProp';
6
+ import { getTokensPropType } from '../utils/props/tokens';
7
+ import { useCopy } from '../utils/useCopy';
8
+ import { copyPropTypes } from '../utils/props/copyPropTypes';
9
+ import { a11yProps } from '../utils/props/a11yProps';
10
+ import { useThemeTokens } from '../ThemeProvider/useThemeTokens';
11
+ import { IconButton } from '../IconButton/IconButton';
12
+ import { dictionary } from './dictionary';
9
13
  import { jsx as _jsx } from "react/jsx-runtime";
10
14
  const selectContainerStyles = _ref => {
11
15
  let {
@@ -24,7 +28,7 @@ const selectContainerStyles = _ref => {
24
28
  *
25
29
  * @TODO when IconButton is complete and stable revisit this and update interaction state styles.
26
30
  */
27
- const HorizontalScrollButton = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
31
+ export const HorizontalScrollButton = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
28
32
  let {
29
33
  direction = 'next',
30
34
  icon,
@@ -75,5 +79,4 @@ HorizontalScrollButton.propTypes = {
75
79
  offset: PropTypes.number,
76
80
  icon: PropTypes.elementType,
77
81
  onPress: PropTypes.func.isRequired
78
- };
79
- export default HorizontalScrollButton;
82
+ };
@@ -12,7 +12,7 @@ const DEBOUNCE_MS = 100;
12
12
  * so we need to work around it with debouncing on `onScroll`. See:
13
13
  * https://github.com/necolas/react-native-web/issues/1021
14
14
  */
15
- const ScrollViewEnd = /*#__PURE__*/React.forwardRef((_ref, ref) => {
15
+ export const ScrollViewEnd = /*#__PURE__*/React.forwardRef((_ref, ref) => {
16
16
  let {
17
17
  onScrollEnd,
18
18
  onScroll = null,
@@ -42,5 +42,4 @@ ScrollViewEnd.displayName = 'ScrollViewEnd';
42
42
  ScrollViewEnd.propTypes = {
43
43
  onScrollEnd: PropTypes.func.isRequired,
44
44
  onScroll: PropTypes.func
45
- };
46
- export default ScrollViewEnd;
45
+ };
@@ -7,7 +7,7 @@ import ScrollView from "react-native-web/dist/exports/ScrollView";
7
7
  * React Native has two scroll end handlers, we want to treat them both the same.
8
8
  */
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
- const ScrollViewEnd = /*#__PURE__*/React.forwardRef((_ref, ref) => {
10
+ export const ScrollViewEnd = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11
11
  let {
12
12
  onScrollEnd,
13
13
  ...props
@@ -22,5 +22,4 @@ const ScrollViewEnd = /*#__PURE__*/React.forwardRef((_ref, ref) => {
22
22
  ScrollViewEnd.displayName = 'ScrollViewEnd';
23
23
  ScrollViewEnd.propTypes = {
24
24
  onScrollEnd: PropTypes.func.isRequired
25
- };
26
- export default ScrollViewEnd;
25
+ };
@@ -1,4 +1,4 @@
1
- export default {
1
+ export const dictionary = {
2
2
  en: {
3
3
  // English text from TDS Community `Tabs`
4
4
  previousLabel: 'Move menu to the left',