@telus-uds/components-base 1.1.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/.turbo/turbo-build.log +8 -0
  2. package/CHANGELOG.json +38 -0
  3. package/CHANGELOG.md +35 -2
  4. package/__fixtures__/Accessible.js +4 -2
  5. package/__fixtures__/Accessible.native.js +5 -2
  6. package/__fixtures__/testTheme.js +9 -0
  7. package/__tests__/ActivityIndicator/ActivityIndicator.test.jsx +35 -0
  8. package/__tests__/ActivityIndicator/__snapshots__/ActivityIndicator.test.jsx.snap +287 -0
  9. package/__tests__/FlexGrid/Col.test.jsx +6 -10
  10. package/__tests__/HorizontalScroll/HorizontalScroll.test.jsx +1 -0
  11. package/__tests__/ToggleSwitch/ToggleSwitch.test.jsx +10 -0
  12. package/__tests__/ToggleSwitch/ToggleSwitchGroup.test.jsx +192 -0
  13. package/__tests__/utils/props.test.js +36 -0
  14. package/__tests__/utils/semantics.test.jsx +1 -10
  15. package/babel.config.js +27 -5
  16. package/component-docs.json +638 -1145
  17. package/generate-component-docs.js +3 -0
  18. package/lib/A11yText/index.js +6 -5
  19. package/lib/ActivityIndicator/Spinner.js +46 -37
  20. package/lib/ActivityIndicator/Spinner.native.js +26 -15
  21. package/lib/ActivityIndicator/index.js +3 -3
  22. package/lib/Box/Box.js +8 -8
  23. package/lib/Button/Button.js +2 -2
  24. package/lib/Button/ButtonBase.js +25 -12
  25. package/lib/Button/ButtonGroup.js +10 -12
  26. package/lib/Button/ButtonLink.js +4 -4
  27. package/lib/Button/propTypes.js +4 -2
  28. package/lib/Card/Card.js +6 -5
  29. package/lib/Card/CardBase.js +6 -9
  30. package/lib/Card/PressableCardBase.js +15 -14
  31. package/lib/Checkbox/Checkbox.js +4 -8
  32. package/lib/Divider/Divider.js +14 -13
  33. package/lib/ExpandCollapse/Control.js +7 -7
  34. package/lib/ExpandCollapse/ExpandCollapse.js +6 -2
  35. package/lib/ExpandCollapse/Panel.js +6 -7
  36. package/lib/Feedback/Feedback.js +6 -5
  37. package/lib/Fieldset/Fieldset.js +1 -3
  38. package/lib/FlexGrid/FlexGrid.js +4 -4
  39. package/lib/FlexGrid/helpers/index.js +1 -4
  40. package/lib/HorizontalScroll/HorizontalScroll.js +5 -6
  41. package/lib/IconButton/IconButton.js +14 -9
  42. package/lib/InputLabel/InputLabel.js +7 -2
  43. package/lib/InputSupports/InputSupports.js +2 -2
  44. package/lib/Link/LinkBase.js +21 -15
  45. package/lib/List/List.js +4 -6
  46. package/lib/List/ListItem.js +6 -2
  47. package/lib/Modal/Modal.js +6 -2
  48. package/lib/Notification/Notification.js +7 -2
  49. package/lib/Pagination/PageButton.js +3 -1
  50. package/lib/Pagination/Pagination.js +22 -5
  51. package/lib/Pagination/SideButton.js +3 -1
  52. package/lib/Progress/Progress.js +5 -4
  53. package/lib/Progress/ProgressBar.js +8 -7
  54. package/lib/Radio/Radio.js +4 -8
  55. package/lib/Radio/RadioButton.js +6 -3
  56. package/lib/Radio/RadioGroup.js +7 -2
  57. package/lib/RadioCard/RadioCard.js +4 -4
  58. package/lib/RadioCard/RadioCardGroup.js +9 -6
  59. package/lib/Search/Search.js +7 -2
  60. package/lib/Select/Select.js +10 -9
  61. package/lib/SideNav/Item.js +7 -7
  62. package/lib/SideNav/SideNav.js +7 -3
  63. package/lib/Skeleton/Skeleton.js +6 -2
  64. package/lib/Spacer/Spacer.js +9 -20
  65. package/lib/StackView/StackView.js +7 -7
  66. package/lib/StackView/StackWrapBox.js +6 -7
  67. package/lib/StackView/StackWrapGap.js +6 -5
  68. package/lib/StackView/getStackedContent.js +1 -1
  69. package/lib/StepTracker/Step.js +7 -3
  70. package/lib/StepTracker/StepTracker.js +7 -7
  71. package/lib/Tabs/Tabs.js +16 -4
  72. package/lib/Tabs/TabsItem.js +18 -11
  73. package/lib/Tags/Tags.js +11 -12
  74. package/lib/TextInput/TextArea.js +13 -14
  75. package/lib/TextInput/TextInput.js +13 -14
  76. package/lib/TextInput/TextInputBase.js +5 -3
  77. package/lib/ThemeProvider/useThemeTokens.js +3 -3
  78. package/lib/ThemeProvider/utils/theme-tokens.js +3 -3
  79. package/lib/ToggleSwitch/ToggleSwitch.js +106 -43
  80. package/lib/ToggleSwitch/ToggleSwitchGroup.js +228 -0
  81. package/lib/ToggleSwitch/index.js +14 -4
  82. package/lib/Tooltip/Tooltip.js +7 -2
  83. package/lib/TooltipButton/TooltipButton.js +7 -2
  84. package/lib/Typography/Typography.js +8 -6
  85. package/lib/index.js +20 -8
  86. package/lib/utils/a11y/semantics.js +4 -3
  87. package/lib/utils/children.js +5 -1
  88. package/lib/utils/index.js +28 -5
  89. package/lib/utils/pressability.js +2 -2
  90. package/lib/utils/props/a11yProps.js +153 -0
  91. package/lib/utils/props/clickProps.js +36 -0
  92. package/lib/utils/props/componentPropType.js +70 -0
  93. package/lib/utils/props/copyPropTypes.js +14 -0
  94. package/lib/utils/props/getPropSelector.js +13 -0
  95. package/lib/utils/props/hrefAttrsProp.js +41 -0
  96. package/lib/utils/props/index.js +158 -0
  97. package/lib/{InputSupports/propTypes.js → utils/props/inputSupportsProps.js} +2 -3
  98. package/lib/utils/props/linkProps.js +64 -0
  99. package/lib/utils/props/paddingProp.js +20 -0
  100. package/lib/utils/props/pressProps.js +57 -0
  101. package/lib/utils/props/rectProp.js +20 -0
  102. package/lib/utils/props/responsiveProps.js +40 -0
  103. package/lib/utils/props/selectSystemProps.js +31 -0
  104. package/lib/utils/props/spacingProps.js +71 -0
  105. package/lib/utils/props/tokens.js +145 -0
  106. package/lib/utils/props/variantProp.js +28 -0
  107. package/lib/utils/props/viewProps.js +34 -0
  108. package/lib/utils/ssr.js +51 -0
  109. package/lib/utils/useResponsiveProp.js +1 -1
  110. package/lib/utils/useSpacingScale.js +4 -4
  111. package/lib/utils/withLinkRouter.js +98 -0
  112. package/lib-module/A11yInfoProvider/index.js +62 -0
  113. package/lib-module/A11yText/index.js +55 -0
  114. package/lib-module/ActivityIndicator/Spinner.js +76 -0
  115. package/lib-module/ActivityIndicator/Spinner.native.js +143 -0
  116. package/lib-module/ActivityIndicator/index.js +40 -0
  117. package/lib-module/ActivityIndicator/shared.js +12 -0
  118. package/lib-module/BaseProvider/index.js +26 -0
  119. package/lib-module/Box/Box.js +243 -0
  120. package/lib-module/Box/index.js +2 -0
  121. package/lib-module/Button/Button.js +25 -0
  122. package/lib-module/Button/ButtonBase.js +254 -0
  123. package/lib-module/Button/ButtonGroup.js +164 -0
  124. package/lib-module/Button/ButtonLink.js +39 -0
  125. package/lib-module/Button/index.js +4 -0
  126. package/lib-module/Button/propTypes.js +36 -0
  127. package/lib-module/Card/Card.js +83 -0
  128. package/lib-module/Card/CardBase.js +62 -0
  129. package/lib-module/Card/PressableCardBase.js +113 -0
  130. package/lib-module/Card/index.js +4 -0
  131. package/lib-module/Checkbox/Checkbox.js +321 -0
  132. package/lib-module/Checkbox/CheckboxGroup.js +218 -0
  133. package/lib-module/Checkbox/CheckboxInput.js +58 -0
  134. package/lib-module/Checkbox/CheckboxInput.native.js +6 -0
  135. package/lib-module/Checkbox/index.js +3 -0
  136. package/lib-module/Divider/Divider.js +123 -0
  137. package/lib-module/Divider/index.js +2 -0
  138. package/lib-module/ExpandCollapse/Accordion.js +15 -0
  139. package/lib-module/ExpandCollapse/Control.js +130 -0
  140. package/lib-module/ExpandCollapse/ExpandCollapse.js +94 -0
  141. package/lib-module/ExpandCollapse/Panel.js +158 -0
  142. package/lib-module/ExpandCollapse/index.js +7 -0
  143. package/lib-module/Feedback/Feedback.js +144 -0
  144. package/lib-module/Feedback/index.js +2 -0
  145. package/lib-module/Fieldset/Fieldset.js +145 -0
  146. package/lib-module/Fieldset/FieldsetContainer.js +29 -0
  147. package/lib-module/Fieldset/FieldsetContainer.native.js +20 -0
  148. package/lib-module/Fieldset/Legend.js +21 -0
  149. package/lib-module/Fieldset/Legend.native.js +28 -0
  150. package/lib-module/Fieldset/cssReset.js +14 -0
  151. package/lib-module/Fieldset/index.js +2 -0
  152. package/lib-module/FlexGrid/Col/Col.js +265 -0
  153. package/lib-module/FlexGrid/Col/index.js +2 -0
  154. package/lib-module/FlexGrid/FlexGrid.js +147 -0
  155. package/lib-module/FlexGrid/Row/Row.js +177 -0
  156. package/lib-module/FlexGrid/Row/index.js +2 -0
  157. package/lib-module/FlexGrid/helpers/index.js +18 -0
  158. package/lib-module/FlexGrid/index.js +2 -0
  159. package/lib-module/FlexGrid/providers/GutterContext.js +3 -0
  160. package/lib-module/HorizontalScroll/HorizontalScroll.js +171 -0
  161. package/lib-module/HorizontalScroll/HorizontalScrollButton.js +102 -0
  162. package/lib-module/HorizontalScroll/ScrollViewEnd.js +47 -0
  163. package/lib-module/HorizontalScroll/ScrollViewEnd.native.js +24 -0
  164. package/lib-module/HorizontalScroll/dictionary.js +11 -0
  165. package/lib-module/HorizontalScroll/index.js +11 -0
  166. package/lib-module/HorizontalScroll/itemPositions.js +106 -0
  167. package/lib-module/Icon/Icon.js +61 -0
  168. package/lib-module/Icon/IconText.js +81 -0
  169. package/lib-module/Icon/index.js +4 -0
  170. package/lib-module/IconButton/IconButton.js +115 -0
  171. package/lib-module/IconButton/index.js +2 -0
  172. package/lib-module/InputLabel/InputLabel.js +131 -0
  173. package/lib-module/InputLabel/LabelContent.js +24 -0
  174. package/lib-module/InputLabel/LabelContent.native.js +16 -0
  175. package/lib-module/InputLabel/index.js +2 -0
  176. package/lib-module/InputSupports/InputSupports.js +88 -0
  177. package/lib-module/InputSupports/index.js +2 -0
  178. package/lib-module/InputSupports/useInputSupports.js +31 -0
  179. package/lib-module/Link/ChevronLink.js +51 -0
  180. package/lib-module/Link/InlinePressable.js +37 -0
  181. package/lib-module/Link/InlinePressable.native.js +85 -0
  182. package/lib-module/Link/Link.js +27 -0
  183. package/lib-module/Link/LinkBase.js +210 -0
  184. package/lib-module/Link/TextButton.js +43 -0
  185. package/lib-module/Link/index.js +5 -0
  186. package/lib-module/List/List.js +55 -0
  187. package/lib-module/List/ListItem.js +213 -0
  188. package/lib-module/List/index.js +5 -0
  189. package/lib-module/Modal/Modal.js +208 -0
  190. package/lib-module/Modal/dictionary.js +9 -0
  191. package/lib-module/Modal/index.js +2 -0
  192. package/lib-module/Notification/Notification.js +196 -0
  193. package/lib-module/Notification/dictionary.js +8 -0
  194. package/lib-module/Notification/index.js +2 -0
  195. package/lib-module/Pagination/PageButton.js +65 -0
  196. package/lib-module/Pagination/Pagination.js +140 -0
  197. package/lib-module/Pagination/SideButton.js +103 -0
  198. package/lib-module/Pagination/dictionary.js +18 -0
  199. package/lib-module/Pagination/index.js +2 -0
  200. package/lib-module/Pagination/usePagination.js +72 -0
  201. package/lib-module/Progress/Progress.js +85 -0
  202. package/lib-module/Progress/ProgressBar.js +134 -0
  203. package/lib-module/Progress/ProgressBarBackground.js +41 -0
  204. package/lib-module/Progress/index.js +4 -0
  205. package/lib-module/Radio/Radio.js +263 -0
  206. package/lib-module/Radio/RadioButton.js +128 -0
  207. package/lib-module/Radio/RadioGroup.js +225 -0
  208. package/lib-module/Radio/RadioInput.js +60 -0
  209. package/lib-module/Radio/RadioInput.native.js +6 -0
  210. package/lib-module/Radio/index.js +3 -0
  211. package/lib-module/RadioCard/RadioCard.js +218 -0
  212. package/lib-module/RadioCard/RadioCardGroup.js +232 -0
  213. package/lib-module/RadioCard/index.js +3 -0
  214. package/lib-module/Search/Search.js +233 -0
  215. package/lib-module/Search/dictionary.js +12 -0
  216. package/lib-module/Search/index.js +2 -0
  217. package/lib-module/Select/Group.js +20 -0
  218. package/lib-module/Select/Group.native.js +14 -0
  219. package/lib-module/Select/Item.js +17 -0
  220. package/lib-module/Select/Item.native.js +9 -0
  221. package/lib-module/Select/Picker.js +67 -0
  222. package/lib-module/Select/Picker.native.js +110 -0
  223. package/lib-module/Select/Select.js +317 -0
  224. package/lib-module/Select/index.js +6 -0
  225. package/lib-module/SideNav/Item.js +139 -0
  226. package/lib-module/SideNav/ItemContent.js +45 -0
  227. package/lib-module/SideNav/ItemsGroup.js +115 -0
  228. package/lib-module/SideNav/SideNav.js +133 -0
  229. package/lib-module/SideNav/index.js +1 -0
  230. package/lib-module/Skeleton/Skeleton.js +117 -0
  231. package/lib-module/Skeleton/index.js +2 -0
  232. package/lib-module/Skeleton/skeleton.constant.js +3 -0
  233. package/lib-module/Skeleton/skeletonWebAnimation.js +18 -0
  234. package/lib-module/Skeleton/useSkeletonNativeAnimation.js +24 -0
  235. package/lib-module/Spacer/Spacer.js +97 -0
  236. package/lib-module/Spacer/index.js +2 -0
  237. package/lib-module/StackView/StackView.js +124 -0
  238. package/lib-module/StackView/StackWrap.js +48 -0
  239. package/lib-module/StackView/StackWrap.native.js +3 -0
  240. package/lib-module/StackView/StackWrapBox.js +114 -0
  241. package/lib-module/StackView/StackWrapGap.js +58 -0
  242. package/lib-module/StackView/common.js +32 -0
  243. package/lib-module/StackView/getStackedContent.js +123 -0
  244. package/lib-module/StackView/index.js +5 -0
  245. package/lib-module/StepTracker/Step.js +229 -0
  246. package/lib-module/StepTracker/StepTracker.js +175 -0
  247. package/lib-module/StepTracker/dictionary.js +10 -0
  248. package/lib-module/StepTracker/index.js +2 -0
  249. package/lib-module/Tabs/Tabs.js +113 -0
  250. package/lib-module/Tabs/TabsItem.js +215 -0
  251. package/lib-module/Tabs/index.js +2 -0
  252. package/lib-module/Tags/Tags.js +238 -0
  253. package/lib-module/Tags/index.js +2 -0
  254. package/lib-module/TextInput/TextArea.js +88 -0
  255. package/lib-module/TextInput/TextInput.js +60 -0
  256. package/lib-module/TextInput/TextInputBase.js +233 -0
  257. package/lib-module/TextInput/index.js +3 -0
  258. package/lib-module/TextInput/propTypes.js +31 -0
  259. package/lib-module/ThemeProvider/ThemeProvider.js +35 -0
  260. package/lib-module/ThemeProvider/index.js +6 -0
  261. package/lib-module/ThemeProvider/useSetTheme.js +22 -0
  262. package/lib-module/ThemeProvider/useTheme.js +14 -0
  263. package/lib-module/ThemeProvider/useThemeTokens.js +105 -0
  264. package/lib-module/ThemeProvider/utils/index.js +2 -0
  265. package/lib-module/ThemeProvider/utils/styles.js +174 -0
  266. package/lib-module/ThemeProvider/utils/theme-tokens.js +151 -0
  267. package/lib-module/ToggleSwitch/ToggleSwitch.js +224 -0
  268. package/lib-module/ToggleSwitch/ToggleSwitchGroup.js +202 -0
  269. package/lib-module/ToggleSwitch/index.js +3 -0
  270. package/lib-module/Tooltip/Backdrop.js +52 -0
  271. package/lib-module/Tooltip/Backdrop.native.js +43 -0
  272. package/lib-module/Tooltip/Tooltip.js +332 -0
  273. package/lib-module/Tooltip/dictionary.js +8 -0
  274. package/lib-module/Tooltip/getTooltipPosition.js +164 -0
  275. package/lib-module/Tooltip/index.js +2 -0
  276. package/lib-module/TooltipButton/TooltipButton.js +71 -0
  277. package/lib-module/TooltipButton/index.js +2 -0
  278. package/lib-module/Typography/Typography.js +118 -0
  279. package/lib-module/Typography/index.js +2 -0
  280. package/lib-module/ViewportProvider/ViewportProvider.js +28 -0
  281. package/lib-module/ViewportProvider/index.js +3 -0
  282. package/lib-module/ViewportProvider/useViewport.js +3 -0
  283. package/lib-module/ViewportProvider/useViewportListener.js +43 -0
  284. package/lib-module/index.js +48 -0
  285. package/lib-module/utils/a11y/index.js +2 -0
  286. package/lib-module/utils/a11y/semantics.js +154 -0
  287. package/lib-module/utils/a11y/textSize.js +34 -0
  288. package/lib-module/utils/animation/index.js +2 -0
  289. package/lib-module/utils/animation/useVerticalExpandAnimation.js +49 -0
  290. package/lib-module/utils/children.js +118 -0
  291. package/lib-module/utils/index.js +15 -0
  292. package/lib-module/utils/info/index.js +7 -0
  293. package/lib-module/utils/info/platform/index.js +11 -0
  294. package/lib-module/utils/info/platform/platform.android.js +1 -0
  295. package/lib-module/utils/info/platform/platform.ios.js +1 -0
  296. package/lib-module/utils/info/platform/platform.js +1 -0
  297. package/lib-module/utils/info/platform/platform.native.js +4 -0
  298. package/lib-module/utils/info/versions.js +5 -0
  299. package/lib-module/utils/input.js +180 -0
  300. package/lib-module/utils/pressability.js +97 -0
  301. package/lib-module/utils/props/a11yProps.js +140 -0
  302. package/lib-module/utils/props/clickProps.js +25 -0
  303. package/lib-module/utils/props/componentPropType.js +63 -0
  304. package/lib-module/utils/props/copyPropTypes.js +2 -0
  305. package/lib-module/utils/props/getPropSelector.js +6 -0
  306. package/lib-module/utils/props/hrefAttrsProp.js +30 -0
  307. package/lib-module/utils/props/index.js +16 -0
  308. package/lib-module/utils/props/inputSupportsProps.js +54 -0
  309. package/lib-module/utils/props/linkProps.js +47 -0
  310. package/lib-module/utils/props/paddingProp.js +9 -0
  311. package/lib-module/utils/props/pressProps.js +42 -0
  312. package/lib-module/utils/props/rectProp.js +9 -0
  313. package/lib-module/utils/props/responsiveProps.js +30 -0
  314. package/lib-module/utils/props/selectSystemProps.js +24 -0
  315. package/lib-module/utils/props/spacingProps.js +56 -0
  316. package/lib-module/utils/props/tokens.js +120 -0
  317. package/lib-module/utils/props/variantProp.js +18 -0
  318. package/lib-module/utils/props/viewProps.js +22 -0
  319. package/lib-module/utils/ssr.js +35 -0
  320. package/lib-module/utils/useCopy.js +42 -0
  321. package/lib-module/utils/useHash.js +44 -0
  322. package/lib-module/utils/useHash.native.js +7 -0
  323. package/lib-module/utils/useResponsiveProp.js +47 -0
  324. package/lib-module/utils/useSpacingScale.js +123 -0
  325. package/lib-module/utils/useUniqueId.js +12 -0
  326. package/lib-module/utils/withLinkRouter.js +82 -0
  327. package/package.json +9 -5
  328. package/src/A11yText/index.jsx +7 -3
  329. package/src/ActivityIndicator/Spinner.jsx +56 -44
  330. package/src/ActivityIndicator/Spinner.native.jsx +20 -12
  331. package/src/ActivityIndicator/index.jsx +1 -1
  332. package/src/Box/Box.jsx +15 -13
  333. package/src/Button/Button.jsx +1 -1
  334. package/src/Button/ButtonBase.jsx +20 -12
  335. package/src/Button/ButtonGroup.jsx +17 -8
  336. package/src/Button/ButtonLink.jsx +1 -1
  337. package/src/Button/propTypes.js +2 -1
  338. package/src/Card/Card.jsx +7 -4
  339. package/src/Card/CardBase.jsx +6 -5
  340. package/src/Card/PressableCardBase.jsx +16 -14
  341. package/src/Checkbox/Checkbox.jsx +12 -7
  342. package/src/Divider/Divider.jsx +19 -12
  343. package/src/ExpandCollapse/Control.jsx +12 -7
  344. package/src/ExpandCollapse/ExpandCollapse.jsx +13 -3
  345. package/src/ExpandCollapse/Panel.jsx +15 -5
  346. package/src/Feedback/Feedback.jsx +13 -3
  347. package/src/Fieldset/Fieldset.jsx +1 -1
  348. package/src/FlexGrid/FlexGrid.jsx +11 -5
  349. package/src/FlexGrid/helpers/index.js +1 -3
  350. package/src/HorizontalScroll/HorizontalScroll.jsx +12 -5
  351. package/src/IconButton/IconButton.jsx +18 -12
  352. package/src/InputLabel/InputLabel.jsx +16 -2
  353. package/src/InputSupports/InputSupports.jsx +1 -1
  354. package/src/Link/LinkBase.jsx +15 -12
  355. package/src/List/List.jsx +12 -5
  356. package/src/List/ListItem.jsx +16 -2
  357. package/src/Modal/Modal.jsx +63 -50
  358. package/src/Notification/Notification.jsx +17 -3
  359. package/src/Pagination/PageButton.jsx +3 -2
  360. package/src/Pagination/Pagination.jsx +38 -4
  361. package/src/Pagination/SideButton.jsx +2 -2
  362. package/src/Progress/Progress.jsx +5 -3
  363. package/src/Progress/ProgressBar.jsx +8 -6
  364. package/src/Radio/Radio.jsx +13 -7
  365. package/src/Radio/RadioButton.jsx +13 -3
  366. package/src/Radio/RadioGroup.jsx +14 -2
  367. package/src/RadioCard/RadioCard.jsx +9 -6
  368. package/src/RadioCard/RadioCardGroup.jsx +16 -4
  369. package/src/Search/Search.jsx +15 -3
  370. package/src/Select/Select.jsx +21 -7
  371. package/src/SideNav/Item.jsx +15 -7
  372. package/src/SideNav/SideNav.jsx +13 -2
  373. package/src/Skeleton/Skeleton.jsx +55 -43
  374. package/src/Spacer/Spacer.jsx +10 -18
  375. package/src/StackView/StackView.jsx +13 -12
  376. package/src/StackView/StackWrapBox.jsx +12 -12
  377. package/src/StackView/StackWrapGap.jsx +9 -7
  378. package/src/StackView/getStackedContent.jsx +1 -1
  379. package/src/StepTracker/Step.jsx +7 -4
  380. package/src/StepTracker/StepTracker.jsx +8 -8
  381. package/src/Tabs/Tabs.jsx +63 -23
  382. package/src/Tabs/TabsItem.jsx +22 -14
  383. package/src/Tags/Tags.jsx +16 -7
  384. package/src/TextInput/TextArea.jsx +20 -8
  385. package/src/TextInput/TextInput.jsx +20 -8
  386. package/src/TextInput/TextInputBase.jsx +13 -3
  387. package/src/ThemeProvider/useThemeTokens.js +3 -3
  388. package/src/ThemeProvider/utils/theme-tokens.js +3 -3
  389. package/src/ToggleSwitch/ToggleSwitch.jsx +104 -41
  390. package/src/ToggleSwitch/ToggleSwitchGroup.jsx +211 -0
  391. package/src/ToggleSwitch/index.js +2 -1
  392. package/src/Tooltip/Tooltip.jsx +13 -3
  393. package/src/TooltipButton/TooltipButton.jsx +6 -4
  394. package/src/Typography/Typography.jsx +10 -6
  395. package/src/index.js +2 -2
  396. package/src/utils/a11y/semantics.js +3 -2
  397. package/src/utils/children.jsx +2 -1
  398. package/src/utils/index.js +3 -1
  399. package/src/utils/pressability.js +1 -1
  400. package/src/utils/props/a11yProps.js +151 -0
  401. package/src/utils/props/clickProps.js +31 -0
  402. package/src/utils/props/componentPropType.js +67 -0
  403. package/src/utils/props/copyPropTypes.js +3 -0
  404. package/src/utils/props/getPropSelector.js +14 -0
  405. package/src/utils/props/hrefAttrsProp.js +25 -0
  406. package/src/utils/props/index.js +16 -0
  407. package/src/{InputSupports/propTypes.js → utils/props/inputSupportsProps.js} +2 -4
  408. package/src/utils/props/linkProps.js +43 -0
  409. package/src/utils/props/paddingProp.js +10 -0
  410. package/src/utils/props/pressProps.js +45 -0
  411. package/src/utils/props/rectProp.js +10 -0
  412. package/src/utils/props/responsiveProps.js +30 -0
  413. package/src/utils/props/selectSystemProps.js +25 -0
  414. package/src/utils/props/spacingProps.js +58 -0
  415. package/src/utils/props/tokens.js +150 -0
  416. package/src/utils/props/variantProp.js +20 -0
  417. package/src/utils/props/viewProps.js +23 -0
  418. package/src/utils/ssr.js +35 -0
  419. package/src/utils/useResponsiveProp.js +1 -1
  420. package/src/utils/useSpacingScale.js +4 -4
  421. package/src/utils/withLinkRouter.jsx +68 -0
  422. package/stories/TextInput/TextArea.stories.jsx +1 -0
  423. package/stories/ToggleSwitch/ToggleSwitch.stories.jsx +5 -1
  424. package/stories/ToggleSwitch/ToggleSwitchGroup.stories.jsx +81 -0
  425. package/.ultra.cache.json +0 -1
  426. package/lib/utils/a11y/propTypes.js +0 -61
  427. package/lib/utils/a11y/propTypes.native.js +0 -47
  428. package/lib/utils/propTypes.js +0 -541
  429. package/release-context.json +0 -7
  430. package/src/utils/a11y/propTypes.js +0 -61
  431. package/src/utils/a11y/propTypes.native.js +0 -39
  432. package/src/utils/propTypes.js +0 -531
@@ -0,0 +1,150 @@
1
+ import PropTypes from 'prop-types'
2
+ import { components as tokenKeys } from '@telus-uds/system-theme-tokens'
3
+
4
+ // Tokens can be primitive values (e.g. `'rgba(0,0,0,0'`, `12`), or objects of such values,
5
+ // such as tokens that describe shadow (e.g. shadow: { inset: true, color: 'rgba(...)' ... }),
6
+ // or components (e.g. Icon tokens)
7
+ const tokenValue = PropTypes.oneOfType([
8
+ PropTypes.string,
9
+ PropTypes.number,
10
+ PropTypes.bool,
11
+ PropTypes.elementType
12
+ ])
13
+ const tokenValueType = PropTypes.oneOfType([tokenValue, PropTypes.objectOf(tokenValue)])
14
+
15
+ export const getTokenNames = (componentName) => {
16
+ const componentTokenSchema = tokenKeys[componentName]
17
+ if (!componentTokenSchema) {
18
+ throw new Error(`No "${componentName}" tokenKeys in @telus-uds/system-theme-tokens`)
19
+ }
20
+ return Object.keys(componentTokenSchema)
21
+ }
22
+
23
+ /**
24
+ * Returns the subset of a set of tokens that may be accepted by the `tokens` prop of a named component
25
+ * or by a provided array of tokens. A prefix may be provided, for example:
26
+ *
27
+ * @example
28
+ * ```jsx
29
+ * // returns tokens from `themeTokens` that exist in the theme schema for `Button`.
30
+ * selectTokens('Button', themeTokens)
31
+ * ```
32
+ *
33
+ * @example
34
+ * ```jsx
35
+ * // returns `{ backgroundColor, width }` where the values of those keys come from
36
+ * // the source object's `{ containerBackgroundColor, containerWidth }` properties.
37
+ * selectTokens(['backgroundColor', 'width'], themeTokens, 'container')
38
+ * ```
39
+ *
40
+ * @example
41
+ * ```jsx
42
+ * // returns tokens that are defined in the `Button` theme schema, from tokens with
43
+ * // a prefix `'button'` e.g. a token `buttonBorderWidth` outputs as `borderWidth`.
44
+ * selectTokens('Button', themeTokens, 'button')
45
+ * ```
46
+ *
47
+ * @param {string[]|string} specifier - a name of a component in the theme schema, or an array of token names
48
+ * @param {object} tokens - a source object of theme tokens
49
+ * @param {string} [prefix] - if provided, matches keys in the source object with this as the first camelCase item
50
+ * @returns {object} - subset of theme tokens
51
+ */
52
+ export const selectTokens = (specifier, tokens, prefix) => {
53
+ const tokenNames = typeof specifier === 'string' ? getTokenNames(specifier) : specifier
54
+ const filteredTokens = tokenNames.reduce((validTokens, key) => {
55
+ const prefixedKey = prefix ? `${prefix}${key[0].toUpperCase()}${key.slice(1)}` : key
56
+ const token = tokens[prefixedKey]
57
+ return token !== undefined ? { ...validTokens, [key]: token } : validTokens
58
+ }, {})
59
+ return filteredTokens
60
+ }
61
+
62
+ /**
63
+ * @typedef {string|number|boolean|{[key: string]:string|number|boolean}} TokenValue
64
+ * @typedef {{[key: string]: TokenValue}} TokensSet
65
+ * @typedef {(AppearanceSet) => TokensSet} TokensGetter
66
+ * @typedef {TokensSet|TokensGetter} TokensProp
67
+ */
68
+ /**
69
+ * 'tokens' is an optional object prop on all themable components. Its keys must match the
70
+ * token keys in the component's theme schema.
71
+ *
72
+ * This prop is intended to be used as an 'escape hatch' for difficult or exceptional cases
73
+ * where the main theming system doesn't apply. It is intentionally permissive about values.
74
+ *
75
+ * @param {...string} componentsNames - one or more ComponentName, which tokens keys are accepted
76
+ * @return {function} - a custom PropTypes validator
77
+ *
78
+ * @example
79
+ * Component.propTypes = {
80
+ * // accepts all tokens keys defined in Component schema
81
+ * tokens: getTokensPropType('Component')
82
+ * }
83
+ *
84
+ * Component.propTypes = {
85
+ * // accepts all tokens keys defined in schemas for Component1 and Component2
86
+ * tokens: getTokensPropType('Component1', 'Component2')
87
+ * }
88
+ */
89
+ export const getTokensPropType = (...componentsNames) => (props, propName, componentName) => {
90
+ PropTypes.checkPropTypes(
91
+ {
92
+ [propName]: PropTypes.oneOfType([PropTypes.object, PropTypes.func])
93
+ },
94
+ props,
95
+ propName,
96
+ componentName
97
+ )
98
+
99
+ if (typeof props[propName] !== 'function') {
100
+ PropTypes.checkPropTypes(
101
+ {
102
+ [propName]: PropTypes.exact(
103
+ Object.fromEntries(
104
+ componentsNames.flatMap((component) =>
105
+ getTokenNames(component).map((key) => [key, tokenValueType])
106
+ )
107
+ )
108
+ )
109
+ },
110
+ props,
111
+ propName,
112
+ componentName
113
+ )
114
+ }
115
+ }
116
+
117
+ /**
118
+ * Get a proptypes validator for a set of tokens that is not based on a component in the theme schema.
119
+ *
120
+ * For example, for a set of tokens used in a common style, or for a set of tokens required by
121
+ * a themeless component whose tokens are set by a parent but requires tokens of a certain shape.
122
+ *
123
+ * By default, requires an object with a complete set of tokens (allowing `null`, but not `undefined`).
124
+ *
125
+ * @param {string[]} componentTokenKeys - array of strings of token names
126
+ * @param {object} [options]
127
+ * @param {boolean} [options.partial] - if true, allows tokens to be undefined
128
+ * @param {boolean} [options.allowFunction] - if true, allows functions as well as tokens objects
129
+ * @returns
130
+ */
131
+ export const getTokensSetPropType = (
132
+ componentTokenKeys,
133
+ { partial = false, allowFunction = false } = {}
134
+ ) => {
135
+ const tokensObjectValidator = PropTypes.exact(
136
+ Object.fromEntries(
137
+ componentTokenKeys.map((key) => [
138
+ key,
139
+ partial
140
+ ? tokenValueType
141
+ : // Some theme tokens can validly resolve to `null`, but .isRequired treats null as undefined
142
+ (props, propName, ...args) =>
143
+ props[propName] !== null && tokenValueType.isRequired(props, propName, ...args)
144
+ ])
145
+ )
146
+ )
147
+ return allowFunction
148
+ ? PropTypes.oneOfType([tokensObjectValidator, PropTypes.func])
149
+ : tokensObjectValidator
150
+ }
@@ -0,0 +1,20 @@
1
+ import PropTypes from 'prop-types'
2
+
3
+ /**
4
+ * @typedef {{[key: string]: string|number|boolean}} AppearanceSet
5
+ * @typedef {AppearanceSet} VariantProp
6
+ */
7
+ export default {
8
+ /**
9
+ * 'variant' is an optional object prop on all themable components.
10
+ *
11
+ * Contains an object with keys that correspond to the current component theme's allowed
12
+ * appearances and values that correspond to the allowed values of that component.
13
+ *
14
+ * Since the particular keys and values depend on which theme is currently active,
15
+ * the exact shape of variant props is not enforced using PropTypes.
16
+ */
17
+ propType: PropTypes.objectOf(
18
+ PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool])
19
+ )
20
+ }
@@ -0,0 +1,23 @@
1
+ import PropTypes from 'prop-types'
2
+ import getPropSelector from './getPropSelector'
3
+
4
+ const viewPropTypes = {
5
+ pointerEvents: PropTypes.oneOf(['all', 'none', 'box-only', 'box-none']),
6
+ onLayout: PropTypes.func,
7
+ nativeID: PropTypes.string,
8
+ testID: PropTypes.string,
9
+ dataSet: PropTypes.object
10
+ }
11
+
12
+ export default {
13
+ /**
14
+ * Subset of `View` proptypes that could conceivably be needed on any component
15
+ * that renders a single View.
16
+ */
17
+ types: viewPropTypes,
18
+ /**
19
+ * Filters a props object, returning only cross-platform View props that are potentially
20
+ * relevant to any basic layout component that renders one View.
21
+ */
22
+ select: getPropSelector(viewPropTypes)
23
+ }
@@ -0,0 +1,35 @@
1
+ import { AppRegistry } from 'react-native'
2
+ /** @typedef {import('react').ComponentType} ReactComponent */
3
+ /** @typedef {import('react').ReactElement} ReactElement */
4
+
5
+ /**
6
+ * Registers the app's root component with React Native Web and generates
7
+ * the main <style> tag containing React Native Web stylesheet styles.
8
+ *
9
+ * @param {ReactComponent} AppRoot
10
+ * @param {string} [appName]
11
+ * @returns {ReactElement[]}
12
+ */
13
+
14
+ export const getReactNativeWebSSRStyles = (AppRoot, appName = 'app') => {
15
+ AppRegistry.registerComponent(appName, () => AppRoot)
16
+ const { getStyleElement } = AppRegistry.getApplication(appName)
17
+ return [getStyleElement()]
18
+ }
19
+
20
+ /**
21
+ * Gets style tags for each currently supported CSS-in-JS library and returns
22
+ * them alongside any existing style tags.
23
+ *
24
+ * @param {ReactComponent} AppRoot
25
+ * @param {string} [appName]
26
+ * @param {ReactElement[]} [existingStyles]
27
+ * @returns {ReactElement[]}
28
+ */
29
+ export const getSSRStyles = (AppRoot, appName = 'app', existingStyles = []) => {
30
+ return [
31
+ ...existingStyles,
32
+ ...getReactNativeWebSSRStyles(AppRoot, appName)
33
+ // if any other CSS-in-JS is added e.g. styled-components generate and add its styles here
34
+ ]
35
+ }
@@ -36,7 +36,7 @@ export const resolveResponsiveProp = (prop, viewport, defaultValue) => {
36
36
  * For example, if passed `{ sm: 4, lg: 8 }`, it will return 8 on `xl` and `lg` viewports,
37
37
  * 4 on `md` and `sm` viewports, and `undefined` (or a provided `defaultValue`) on `xs` viewports.
38
38
  *
39
- * To generate propTypes for responsive props, see `responsiveProps` in `./utils/propTypes.js`.
39
+ * To generate propTypes for responsive props, see `responsiveProps` in `./utils/props/responsiveProps.js`.
40
40
  *
41
41
  * @param {*} prop - any value which may be an object with viewport keys
42
42
  * @param {*} [defaultValue] - default value to provide if no matches found for the current viewport
@@ -3,10 +3,10 @@ import { useThemeTokens } from '../ThemeProvider'
3
3
  import { resolveResponsiveProp } from './useResponsiveProp'
4
4
  /**
5
5
  * @typedef {import('@telus-uds/system-constants/viewports').Viewport} Viewport
6
- * @typedef {import('./propTypes.js').SpacingValue} SpacingValue
7
- * @typedef {import('./propTypes.js').SpacingIndex} SpacingIndex
8
- * @typedef {import('./propTypes.js').SpacingObject} SpacingObject
9
- * @typedef {import('./propTypes.js').SpacingOptions} SpacingOptions
6
+ * @typedef {import('./props/spacingProps.js').SpacingValue} SpacingValue
7
+ * @typedef {import('./props/spacingProps.js').SpacingIndex} SpacingIndex
8
+ * @typedef {import('./props/spacingProps.js').SpacingObject} SpacingObject
9
+ * @typedef {import('./props/spacingProps.js').SpacingOptions} SpacingOptions
10
10
  */
11
11
 
12
12
  const resolveSpacingOptions = (space) => {
@@ -0,0 +1,68 @@
1
+ import React, { forwardRef } from 'react'
2
+ import PropTypes from 'prop-types'
3
+
4
+ // Prototype-safe alternative to (linter-forbidden) someObject.hasOwnProperty()
5
+ const hasOwnProperty = (object, prop) => Object.prototype.hasOwnProperty.call(object, prop)
6
+
7
+ /**
8
+ * Higher-order component that has no effect unless an additional prop `LinkRouter` is passed.
9
+ * This may be used to provide custom wrappers for integrations with third party libraries.
10
+ *
11
+ * If LinkRouter is passed, LinkRouter is rendered in place of the main component and is passed:
12
+ *
13
+ * - `linkRouterProps`: an optional object passed alongside LinkRouter, for props needed by the wrapper
14
+ * that are not valid props for the wrapped component.
15
+ * - `Component`: automatically provided, the original component to render inside the wrapper.
16
+ * - `ref`: forwarded `ref` passed down to `Component`
17
+ * - All other props passed to the outer component
18
+ *
19
+ * @example A LinkRouter component to be used with link-like components might look like:
20
+ *
21
+ * ```jsx
22
+ * const LinkLinkRouter = forwardRef(({ Component, linkRouterProps: { to, options }, href, ...rest }, ref) => {
23
+ * const { href: resolvedHref, onClick } = useSomeRouterHook({ to, href, options })
24
+ * return <Component href={resolvedHref} onPress={onClick} {...rest} />
25
+ * })
26
+ * ```
27
+ *
28
+ * Any component that takes href and onPress props may then use this wrapper:
29
+ *
30
+ * ```jsx
31
+ * <Link href={href} LinkRouter={LinkLinkRouter} linkRouterProps={{ to, options }}>Some link</Link>
32
+ * <IconButton icon={SomeIcon} LinkRouter={LinkLinkRouter} linkRouterProps={{ to, options }} ref={iconRef} />
33
+ * ```
34
+ */
35
+ const withLinkRouter = (Component) => {
36
+ const wrappedComponent = forwardRef(({ LinkRouter, linkRouterProps, ...props }, ref) => {
37
+ if (!LinkRouter) return <Component {...props} ref={ref} />
38
+ return (
39
+ <LinkRouter linkRouterProps={linkRouterProps} Component={Component} ref={ref} {...props} />
40
+ )
41
+ })
42
+
43
+ // Ensure the returned component has appropriate outer properties set:
44
+ /* eslint-disable-next-line react/forbid-foreign-prop-types */
45
+ const { displayName, name, propTypes, ...otherProperties } = Component
46
+
47
+ // Apply unique component name as a displayName
48
+ wrappedComponent.displayName = Component.displayName || Component.name
49
+
50
+ // Apply proptypes including wrapper props - is safely { ...undefined, ...undefined } in prod
51
+ wrappedComponent.propTypes = { ...Component.propTypes, ...withLinkRouter.propTypes }
52
+
53
+ // Forward any other properties explicitly set e.g. Component.SubComponent
54
+ Object.keys(otherProperties).forEach((key) => {
55
+ // Skip internal React properties from wrappedComponent's forwardRef (render, $$typeof, etc)
56
+ if (hasOwnProperty(Component, key) && !hasOwnProperty(wrappedComponent, key)) {
57
+ wrappedComponent[key] = Component[key]
58
+ }
59
+ })
60
+ return wrappedComponent
61
+ }
62
+
63
+ withLinkRouter.propTypes = {
64
+ LinkRouter: PropTypes.elementType,
65
+ linkRouterProps: PropTypes.object
66
+ }
67
+
68
+ export default withLinkRouter
@@ -1,3 +1,4 @@
1
+ /* eslint-disable react/no-multi-comp */
1
2
  import React, { useEffect, useState } from 'react'
2
3
 
3
4
  import { TextArea } from '../../src'
@@ -9,7 +9,11 @@ Default.storyName = 'ToggleSwitch'
9
9
 
10
10
  export default {
11
11
  title: 'ToggleSwitch',
12
- component: ToggleSwitch
12
+ component: ToggleSwitch,
13
+ args: {
14
+ label: 'Enable data',
15
+ tooltip: 'Toggle this on to enable data'
16
+ }
13
17
  }
14
18
 
15
19
  export const ToggleSwitchControlled = (args) => {
@@ -0,0 +1,81 @@
1
+ /* eslint-disable react/no-multi-comp */
2
+ import React, { useState } from 'react'
3
+ import { View } from 'react-native'
4
+ import { ToggleSwitchGroup, Typography } from '../../src'
5
+ import { Container } from '../supports'
6
+
7
+ const defaultArgs = {
8
+ items: [
9
+ { label: 'First item', id: 'first' },
10
+ { label: 'Second item', id: 'second' },
11
+ { label: 'Third item', id: 'third' },
12
+ { label: 'Fourth item', id: 'fourth' },
13
+ { label: 'Fifth item', id: 'fifth' },
14
+ { label: 'Sixth item', id: 'sixth' }
15
+ ],
16
+ initialValues: ['second', 'fourth']
17
+ }
18
+ const defaultControlledArgs = {
19
+ ...defaultArgs,
20
+ values: defaultArgs.initialValues,
21
+ initialValues: undefined
22
+ }
23
+
24
+ export default {
25
+ title: 'ToggleSwitchGroup',
26
+ component: ToggleSwitchGroup,
27
+ args: {
28
+ ...defaultArgs
29
+ }
30
+ }
31
+
32
+ const UncontrolledTemplate = (args) => <ToggleSwitchGroup {...args} />
33
+ UncontrolledTemplate.propTypes = ToggleSwitchGroup.propTypes
34
+
35
+ const ControlledTemplate = ({ values, ...args }) => {
36
+ // Simulate saving and retrieving data from a server
37
+ const [isSaving, setIsSaving] = useState(false)
38
+ const [currentValues, setValues] = useState(values)
39
+ const handleChange = (newValue) => {
40
+ setIsSaving(true)
41
+ setTimeout(() => {
42
+ setValues(newValue)
43
+ setIsSaving(false)
44
+ }, 400)
45
+ }
46
+
47
+ const text = isSaving ? 'Saving...' : `Saved selected IDs: "${currentValues.join('", "')}".`
48
+ return (
49
+ <View>
50
+ <Container padding={4} margin={0}>
51
+ <Typography variant={{ size: 'small', colour: 'secondary' }}>{text}</Typography>
52
+ </Container>
53
+ <Container padding={4} margin={0}>
54
+ <ToggleSwitchGroup {...args} values={currentValues} onChange={handleChange} />
55
+ </Container>
56
+ </View>
57
+ )
58
+ }
59
+
60
+ ControlledTemplate.propTypes = ToggleSwitchGroup.propTypes
61
+
62
+ export const Default = UncontrolledTemplate.bind({})
63
+ Default.storyName = 'ToggleSwitchGroup'
64
+
65
+ export const ToggleSwitchGroupMaxThree = UncontrolledTemplate.bind({})
66
+ ToggleSwitchGroupMaxThree.args = { maxValues: 3 }
67
+
68
+ export const ToggleSwitchGroupMaxUnlimited = UncontrolledTemplate.bind({})
69
+ ToggleSwitchGroupMaxUnlimited.args = { maxValues: null }
70
+
71
+ export const ToggleSwitchGroupControlled = ControlledTemplate.bind({})
72
+ ToggleSwitchGroupControlled.args = { ...defaultControlledArgs }
73
+
74
+ export const ToggleSwitchGroupControlledMaxThree = ControlledTemplate.bind({})
75
+ ToggleSwitchGroupControlledMaxThree.args = { ...defaultControlledArgs, maxValues: 3 }
76
+
77
+ export const ToggleSwitchGroupControlledMaxUnlimited = ControlledTemplate.bind({})
78
+ ToggleSwitchGroupControlledMaxUnlimited.args = { ...defaultControlledArgs, maxValues: null }
79
+
80
+ export const ToggleSwitchGroupInactive = UncontrolledTemplate.bind({})
81
+ ToggleSwitchGroupInactive.args = { inactive: true }
package/.ultra.cache.json DELETED
@@ -1 +0,0 @@
1
- {"files":{"component-docs.json":"1646065626069.3083","lib":"1646065606405.5198","node_modules":"1646065579789.7966",".eslintrc.js":"3e315a0248881b40f2b14e07515086837fb988d3",".storybook/main.js":"d88250b3e07803246064f23380ab6301e0b4a4c4",".storybook/preview.js":"58f9a0852bc9e2c7f5450655ac9d56b2f608969b","CHANGELOG.md":"89dea5295dcfcf1314c4b3c6d603bc11757e1c4a","README.md":"c06783eb7b4e69a59dc3dd972ada31e3907fe604","__fixtures__/Accessible.js":"1e452d9be512760279c180058fd1d7eec73604d8","__fixtures__/Accessible.native.js":"81b05d1715839d7c9a83da5f4adc6997f15c7ac4","__fixtures__/Theme.jsx":"98540416fcd0b932d18083f9256ccba8ff559cf4","__fixtures__/Viewport.jsx":"c9b2af9a0786fbe2445e77e5da76ef4c500f04d3","__fixtures__/test-utils.js":"638010cab97673998a7a269be67199725d7d2dbb","__fixtures__/testTheme.js":"44db8b812e8ddce527b6ebd911933c1a279ba2cb","__tests__/A11yText/A11yText.test.jsx":"bb544fd8f00c2e6135588049c62bf5910f9ffcda","__tests__/ActivityIndicator/ActivityIndicator.test.jsx":"ffed250b44f2e28838c9b8f909b7c45941385da3","__tests__/Box/Box.test.jsx":"5635f1b28e1bf5b07c09bc31218bbb90533445f9","__tests__/Button/Button.test.jsx":"c5b7e97ffb7171ce6e9ceaa4d6c6e6cbd78562e7","__tests__/Button/ButtonBase.test.jsx":"f8cf3ecdbafcea37c7f9f57ca5060c18b17dc56f","__tests__/Button/ButtonGroup.test.jsx":"e58306fc255e0c35bd0553f31d83dc0467fbf0a0","__tests__/Button/ButtonLink.test.jsx":"60200e31dcabcde9f800d9c56cabcfa931168518","__tests__/Card/Card.test.jsx":"627cbf03d2bbf569bd29e33345d79f8cefaedfd1","__tests__/Checkbox/Checkbox.test.jsx":"7b860d497671ce6adabf2103889ce132da89ab4c","__tests__/Checkbox/CheckboxGroup.test.jsx":"782a72a8bea4a19608c5222df0f652014d578f3e","__tests__/Divider/Divider.test.jsx":"026de7361850866ffe8f553d10834e6dc835417b","__tests__/ExpandCollapse/ExpandCollapse.test.jsx":"15d2cbe05488aca3384a8461fd742ae41cb720fa","__tests__/Feedback/Feedback.test.jsx":"c26bcd8a8b528dd45a656fb58e157e759b7c4284","__tests__/FlexGrid/Col.test.jsx":"c5c224c841d87e79e8feccc297d4ee2dd0075a09","__tests__/FlexGrid/FlexGrid.test.jsx":"f7cd0601b26c39e6113ae4068022c6ea4646f731","__tests__/FlexGrid/Row.test.jsx":"084735ca2082515a1ebfe7c5e62bd7016efe922c","__tests__/HorizontalScroll/HorizontalScroll.test.jsx":"6fafc1052ebb96c93bb1f2e6ada4584c0f55d24e","__tests__/Icon/Icon.test.jsx":"56e95c5df78ba4f73e56c281cbfa69493cafe15f","__tests__/IconButton/IconButton.test.jsx":"c085f4a605726b9460fd4d74ba14f070b76a9847","__tests__/InputSupports/InputSupports.test.jsx":"6590d5033b31b30fb6290bb2fe4e1c60696ce9a5","__tests__/Link/Link.test.jsx":"deb9ea0fbedbe8a214d1c3047c93b830bf8588b3","__tests__/Link/LinkBase.test.jsx":"f1f92c83bfc653b9fa9a598a8eefd38348599979","__tests__/Link/TextButton.test.jsx":"e5653b75e6dece08d7f64a99e9880cbb21a61cbe","__tests__/List/List.test.jsx":"8ba93772fcf305c49d73fdddc66a51ec098169f1","__tests__/Modal/Modal.test.jsx":"920e8a16e7064142f56533889f0ac4fb5909225f","__tests__/Notification/Notification.test.jsx":"9f073100b6e5696ef43ec663988b7d8ccbf009e4","__tests__/Pagination/Pagination.test.jsx":"254a468b5bbe038147ab7858ae78fe349a883c76","__tests__/Progress/Progress.test.jsx":"2e2cd16b50871ed616ada7bc617fcdfb81f6906e","__tests__/Radio/Radio.test.jsx":"8ae788baf6f3ca578a9d10e7aa7bfdac525253fe","__tests__/Radio/RadioGroup.test.jsx":"df6226ee82421d1a332efa80bfd9a089ce9a59c6","__tests__/RadioCard/RadioCard.test.jsx":"2aec835f0713e661106dbe012cf9cc64fadcb2a8","__tests__/RadioCard/RadioCardGroup.test.jsx":"9947b105f8e3f18b78553951b851beea0efc335b","__tests__/Search/Search.test.jsx":"8c72a917e73daacfab182354bd3af41fb60ca8b3","__tests__/Select/Select.test.jsx":"7103a483a946154e6763f5dbe26fa1a2ccd950b4","__tests__/SideNav/SideNav.test.jsx":"9c5548f7a6c891741a7e60a520dc4da2b54ecb82","__tests__/Skeleton/Skeleton.test.jsx":"3facb44a45dda0114a30de7c7fee4105796b83ea","__tests__/Spacer/Spacer.test.jsx":"6ab4f9c2e75409bbe6aeef3708bc28da1a06de7b","__tests__/StackView/StackView.test.jsx":"051e7bb2dcee923a610dbf547143d21e19a52616","__tests__/StackView/StackWrap.test.jsx":"f1c7e1f9f0d35bd76fd97e11bc36e8d86b8e47dd","__tests__/StackView/getStackedContent.test.jsx":"73d7bd8448641fea18ded75254d6ecc4bf04e836","__tests__/StepTracker/StepTracker.test.jsx":"c11ee312ae4a1ea5820d8d96c7120c7ebe51c36f","__tests__/Tabs/Tabs.test.jsx":"a2a3daeccc896fb4077964542b33346dcfafeefd","__tests__/Tags/Tags.test.jsx":"b5663cc520ad4520abb3eb0a194173b6aa5604f2","__tests__/TextInput/TextArea.test.jsx":"7fca323a327016b23c809b9735bb8899b69867c5","__tests__/TextInput/TextInputBase.test.jsx":"cae196350545fae82913083302e89d9af05d656f","__tests__/ThemeProvider/ThemeProvider.test.jsx":"96c3786787b9d8eda1df9c817c40cf04b7ec0d75","__tests__/ThemeProvider/useThemeTokens.test.jsx":"09b785fd09998e473185d8aab0e9201b7bfe5719","__tests__/ThemeProvider/utils/theme-tokens.test.js":"133367fc0f395d64a7fd1e647cb47556fc365b95","__tests__/ToggleSwitch/ToggleSwitch.test.jsx":"8e8376f714865b5a6b5c52fea2460d9a50f9552e","__tests__/Tooltip/Tooltip.test.jsx":"6c88c6dfd4aa97994ec8686d986e149ba9de5d5a","__tests__/Tooltip/getTooltipPosition.test.js":"b9fb1a5f5849216de602a66b810435e2e95f71ec","__tests__/Typography/typography.test.jsx":"f63a1d7137cc3c981adb343abf2db6f8d88cfe3b","__tests__/utils/children.test.jsx":"5926583a51d54c63f16a18416a01efa96edaaa42","__tests__/utils/input.test.js":"b9b4ac03b43f4709d59b4e7895185160043ead15","__tests__/utils/semantics.test.jsx":"bd7c207736d8e39c96a872c34733a987d0da0f8b","__tests__/utils/useCopy.test.js":"b7ac269197a892761be543a1aa0ca25419e2575d","__tests__/utils/useResponsiveProp.test.jsx":"d1fe7f195df30c7623f5c221b59ab421ded34769","__tests__/utils/useSpacingScale.test.jsx":"3acd952f4e8ca3673f7f2b25a8fbeb82f12d8bda","__tests__/utils/useUniqueId.test.js":"6886d52bb63423cc88293a60a2495c0934b4e447","babel.config.js":"d9b22b64ce125cceb202ff62d6c8a0684fc10017","generate-component-docs.js":"e9fcf3d3477a27f9ab0658c6a86c9c5c2d677306","jest.config.js":"8fa824d22f579fd7ffa9c7bd9d83e59c2dee611e","package.json":"190bc42018ab1f267c888980120d6650fa023afd","src/A11yInfoProvider/index.jsx":"79a84eef336aa678d2adfe290bfdb15aae94687e","src/A11yText/index.jsx":"314bb8ef783456f77369997b34a323b58168d38b","src/ActivityIndicator/Spinner.jsx":"4dadc04d1f27fbfa8952e47102d991f6bbb8b512","src/ActivityIndicator/Spinner.native.jsx":"6f587f29913100accf3f210becad8f14934e8593","src/ActivityIndicator/index.jsx":"15d219d42aef7f29e689086d4d82ac0e225cc611","src/ActivityIndicator/shared.js":"ca6120fee59f7a0986bb823cc92ad21966d7bb2e","src/BaseProvider/index.jsx":"14773240cde78b596fe391cc1ef2525d87e6b246","src/Box/Box.jsx":"e6fb7100f3e36c9573cc78d263a197a6a0e6c2a8","src/Box/index.js":"280496403f647db4bb7d563109b72799b281c104","src/Button/Button.jsx":"0d11f6bc9e637e72723f31db94d02e27b187a908","src/Button/ButtonBase.jsx":"f975fc19250eb63dfe0658ad1cb9c5f1b45ae203","src/Button/ButtonGroup.jsx":"bb5c6c6d34a8cac282e8a17cd1746f7a2cb6d581","src/Button/ButtonLink.jsx":"9c35ef5382136112a87c1ef7358d7004ed1bb361","src/Button/index.js":"46aecee948aff0b9039676c156098100a3ee6033","src/Button/propTypes.js":"d1b001e897ba08c8a3c8a240c0d0214824ec6642","src/Card/Card.jsx":"6b59f85a89c84b3b64fc6c897aa09265ee5539c1","src/Card/CardBase.jsx":"6e96660737b8fadab8c0475dbf1be94717b6662e","src/Card/PressableCardBase.jsx":"35a694969cafe4fc0c6201c0afd493b07c749819","src/Card/index.js":"76bf74db2e39f45cd9b47d8e36052a93ec62f483","src/Checkbox/Checkbox.jsx":"6050de429c0123057da6b8dac5ea2158cc4a3774","src/Checkbox/CheckboxGroup.jsx":"ca01fffe491ef47541bcbeb99c9dfa2741f783df","src/Checkbox/CheckboxInput.jsx":"88d356f8287c502ecec4413ecfcd8ea231f271b6","src/Checkbox/CheckboxInput.native.jsx":"393cc6721b14ae67ec336ed94639ae764d4dd928","src/Checkbox/index.js":"958d04ebd9cd61c92316e5ce6f66647bcb45066b","src/Divider/Divider.jsx":"a71611162d10d9c4edaaf86f08a96d9959af90ee","src/Divider/index.js":"fa2817652d45ec83ae079679fb5a8c9eb786fc43","src/ExpandCollapse/Accordion.jsx":"6bc361988fabd5347217c8abf67b8c565b46a771","src/ExpandCollapse/Control.jsx":"064e6d0947a89711fcb49bbeb9d94301274e3110","src/ExpandCollapse/ExpandCollapse.jsx":"7be4acf1faa39b0c2ef9c3210560bb3e463cf607","src/ExpandCollapse/Panel.jsx":"6c292b3fe638ab60b588f30839b2e4acd3dd6414","src/ExpandCollapse/index.js":"e553901efa8408d1753ecc329ea1361e57084199","src/Feedback/Feedback.jsx":"230fbcae3d1688eeac445c833c683ef57506a343","src/Feedback/index.js":"a1181a81414ebd8797eb48975b1a377319de4ad2","src/Fieldset/Fieldset.jsx":"72dfd35a7e329db124365690369b2f169089b0d1","src/Fieldset/FieldsetContainer.jsx":"045201ae3e754ac78124bf076428586011069212","src/Fieldset/FieldsetContainer.native.jsx":"1a73ca37cc0ef486d43bc3103552d01e948e4105","src/Fieldset/Legend.jsx":"1e03fe499c69d73a040ec7a16dd7c898425e0d03","src/Fieldset/Legend.native.jsx":"a48dfb0286a62b3e0d01b081f138b54a3684e62f","src/Fieldset/cssReset.js":"6532e6e410e70d2ef566d75e252615f9a9ca6bb9","src/Fieldset/index.js":"cc6c5bc097a0f7f1437637ebf285480bffeb71b4","src/FlexGrid/Col/Col.jsx":"cbea78d3db25b2f5ace8b7c120ef381f6106e4f4","src/FlexGrid/Col/index.js":"a5e8b19d6f2f0cf20635a9407421bd2448f22a55","src/FlexGrid/FlexGrid.jsx":"bbd86f9253b73b0260fbae0af5cfa83be1794b1e","src/FlexGrid/Row/Row.jsx":"0aec928a4a04c6a3365e91e73ec28a06ade6a07e","src/FlexGrid/Row/index.js":"136065433ab96251df79b75f213e0fd9de30e7b7","src/FlexGrid/helpers/index.js":"640ddf9188848b52b35736a615b4124708b5cbec","src/FlexGrid/index.js":"c5c40a5d8c40df5c1a25309aeee1f740df58e261","src/FlexGrid/providers/GutterContext.jsx":"f6fd8ed5a72cb7daf1b5faeb7d15675bd61aca41","src/HorizontalScroll/HorizontalScroll.jsx":"b00e7d830618684b38ceb3fe025a16923a5766e3","src/HorizontalScroll/HorizontalScrollButton.jsx":"67be493c96b7c4195f54bc4699b47268b8e45907","src/HorizontalScroll/ScrollViewEnd.jsx":"b1f722ad16516a3ede2f6696ad21d304bbf04809","src/HorizontalScroll/ScrollViewEnd.native.jsx":"b02f54552b6f81af2c530f1cbb2bf0e2cffb55d4","src/HorizontalScroll/dictionary.js":"a11323cbd5ecf131d3ca4a0c5f877b53c83bb4e9","src/HorizontalScroll/index.js":"e5c0fb60efb5c1ef7b71220f676405be914fa58e","src/HorizontalScroll/itemPositions.js":"0a4b023e5f10162344a8260888190f1f3ceb051d","src/Icon/Icon.jsx":"efd278c95df74cf80b3b543d7462ffc201496135","src/Icon/IconText.jsx":"ef2dda3ea94b2ba6fb82a537e13ee414885c7d17","src/Icon/index.js":"bd961bc6eb1602d8e0cf77bad71a2c9e6d084d1e","src/IconButton/IconButton.jsx":"86587471396a91d40ca2169a4bfe6d901a156975","src/IconButton/index.js":"a719cd42817fa7f7922a2a18f679163da2ab923b","src/InputLabel/InputLabel.jsx":"faab0cf9c55da7d59c1204c2e680dbe5c751087f","src/InputLabel/LabelContent.jsx":"571413edba9845e2c848e8f251580c443c54bb10","src/InputLabel/LabelContent.native.jsx":"c4cf321274d17b90b0b0d83e073887e3d675419f","src/InputLabel/index.js":"d73f3f71f8afdaa74b4e8f0905f9f9b8815c89b1","src/InputSupports/InputSupports.jsx":"335d97bbdc685aabd1e50cb83d8545d94bb06ccb","src/InputSupports/index.js":"5173f3d29b1d427836b20906608fc7e2fdb6bb17","src/InputSupports/propTypes.js":"e66e0dad9ed1931416b57ffc996daba1d5c125e5","src/InputSupports/useInputSupports.js":"7b926bb247864737a1223acf79b6d2308d306bc9","src/Link/ChevronLink.jsx":"d8d58d1ab348c01a96ec1507230701870d28ca5a","src/Link/InlinePressable.jsx":"2564b25fca61f11ae04668e30e334ab9b8cbf6f9","src/Link/InlinePressable.native.jsx":"8d1887d0a9470b7933786822b3b6dd3f2011f7d2","src/Link/Link.jsx":"94e9a87cd2b878e55c0b628971ed23cc287b9dbb","src/Link/LinkBase.jsx":"d4d92cbd546ec5a160388c145c5b0397d3ba8e5d","src/Link/TextButton.jsx":"9ed5b7fdb033d8bd45e02876f5b491f72c8d104b","src/Link/index.js":"09d2787b9253295551e08326120969635c040b7a","src/List/List.jsx":"10ea53b2cf1c0e0acd0990e00a24ad79277f9d1c","src/List/ListItem.jsx":"0dc29488b67ed5dc0b65a91c0111cfa216b7cdb3","src/List/index.js":"3574417357ab9aab4843a77dee33a50d319b8d5d","src/Modal/Modal.jsx":"b2953506b31925bbf8ae8d5c3c5610a2d8ce5eed","src/Modal/dictionary.js":"c5bebd7b63fa826f93df3f61d0950b010890a6d0","src/Modal/index.js":"498702f472940b1d7a8b6b29797bbea308209e1d","src/Notification/Notification.jsx":"046a5bf1ecc25546ea4301085cd00dafffa21193","src/Notification/dictionary.js":"c7e14273e5253a3e8ce1e11879630ad29ad5108c","src/Notification/index.js":"21d57835b505d7198076398e5ea6309a61299f40","src/Pagination/PageButton.jsx":"7cdcc3164e6fe23b67c3b4b14ce45f95a3fa56e0","src/Pagination/Pagination.jsx":"fe3ea9398e0770b23e12ba2221f104a1170dc1c9","src/Pagination/SideButton.jsx":"3fa48dfeb6b4e087867e013c00f5dcb6a82b67a0","src/Pagination/dictionary.js":"ccfb5733071adfd9b8a067f407627461dce68a9a","src/Pagination/index.js":"1466412190cfefc75aaa042004374f9f19505c64","src/Pagination/usePagination.js":"ca67794bd989d870a9bf68acbdf4d847e19a0ded","src/Progress/Progress.jsx":"444f989433b90a510a4df6f8833d7d377a482d86","src/Progress/ProgressBar.jsx":"a730df7657c474d7b8c6d2a4b2ec07680e5e5c77","src/Progress/ProgressBarBackground.jsx":"59b30d753fe93d3f3aa67a39497e8e129908995c","src/Progress/index.js":"9a98c968b708cc86d9c6f00415faede75cfadb85","src/Radio/Radio.jsx":"6500f93c92bb26e784a30bf66aba5d85406055ea","src/Radio/RadioButton.jsx":"175402da7ef50b9cbaeab30bd236b02d869a985d","src/Radio/RadioGroup.jsx":"65ccbcbaf237ef5164bff33b41587a15660f9e1d","src/Radio/RadioInput.jsx":"a0a8e4bc2d483d79b2ff91e15da582054ba38370","src/Radio/RadioInput.native.jsx":"227eb3d2893549ba6a7a12a3f0d9a5b0ba9a5df8","src/Radio/index.js":"07a6f7d8302f7942705766fb11034a4bd1ef9a32","src/RadioCard/RadioCard.jsx":"98eda58f4dbde2035cac9af44aade82231b31a3d","src/RadioCard/RadioCardGroup.jsx":"1b503a9a4f8acf89c969fd1b844ff011b38845e5","src/RadioCard/index.js":"98c5762ea92a4c3cd014d9aa29935d67da4a2433","src/Search/Search.jsx":"929c542c6b25d808b811f66e2df5bc35fbae3d19","src/Search/dictionary.js":"915f90418afeb3d964667a8cd44729179d6accb6","src/Search/index.js":"e96a4b2864d1b57869e7ab27a62e9cf033d456ed","src/Select/Group.jsx":"ed00f24c67e7979a6e5058775e81c62a8c810031","src/Select/Group.native.jsx":"e949aca728b9df2e73b0c0f03a78af1c0c64287b","src/Select/Item.jsx":"a82c7147e30f64c0fae2be100de060eafecd9bb1","src/Select/Item.native.jsx":"3ae9bf5713525621674fa3db2f18dabed22c345a","src/Select/Picker.jsx":"43cb6bbe94571fb22b954d5edf817b3fc7c38a8e","src/Select/Picker.native.jsx":"23e97cfcd276471c566a679a82fcde9adccfd916","src/Select/Select.jsx":"b6160956f2b9825fbd3f8c40b155d373621cda17","src/Select/index.js":"7169081eb3d414a76095b7f44c0f64460b7cd53e","src/SideNav/Item.jsx":"caba931f11aa112aa716cfc85853b3b8db5d6f6c","src/SideNav/ItemContent.jsx":"fd1d090470a79fedb8c991204c20668497e2e372","src/SideNav/ItemsGroup.jsx":"dfdbb4c1f038089fa7af999000047eb849bd54d7","src/SideNav/SideNav.jsx":"66db2c4cb8b0f6358fb9e850c19dd67a2f0ca69d","src/SideNav/index.js":"07bd001f3d51fcb378612a8f52ec51e0d37f207c","src/Skeleton/Skeleton.jsx":"7462da9d49ac8b8931a7965a5573006978b8a52a","src/Skeleton/index.js":"032fa38fe8f7abfeca030301aa602a85a0f4e52c","src/Skeleton/skeleton.constant.js":"5b3a0266664ddc225df74ecd907f796f1536d517","src/Skeleton/skeletonWebAnimation.js":"a384b159901d16375545d84c4fee45363db206c0","src/Skeleton/useSkeletonNativeAnimation.js":"ca0baa551fece56b1f434cdb8edd91ea97e0d2c8","src/Spacer/Spacer.jsx":"319b18f1552c09a71d64ace8662de6d907e61360","src/Spacer/index.js":"2674e6f47037b82fa9587b2cbb081dcbe42b506c","src/StackView/StackView.jsx":"0754bd3a97e2732a47627fb22d735c24c1e4db01","src/StackView/StackWrap.jsx":"bf73d9a3d014a5df9b81898c5b5d31bc26a87436","src/StackView/StackWrap.native.jsx":"44fc5973fea70b528b3597519a4d0aec9fdd323d","src/StackView/StackWrapBox.jsx":"104168246e69e07c49ef1b860badfd790d7701d2","src/StackView/StackWrapGap.jsx":"ee32796c42b41e669b8a5293a7bb4615df82649e","src/StackView/common.jsx":"be957949c9c5a4be81a37ee9902e8016b6f2b4a1","src/StackView/getStackedContent.jsx":"152e653f7a59e269a4a421296480ee3f00bee2cb","src/StackView/index.js":"8a3ad6ded46712f67e5a520220bdfee60cd262ed","src/StepTracker/Step.jsx":"050dfe88582d6879cc012c6a9d8940f5beea93ba","src/StepTracker/StepTracker.jsx":"cc592df79efbe30b7202f5b3404e9977ac5108a9","src/StepTracker/dictionary.js":"7a3e206b5be7ca14f9b6e6b0ab056ee733faabcd","src/StepTracker/index.js":"fd6442c015d6d61aba70553b3f6ddae3a45b5fc6","src/Tabs/Tabs.jsx":"79f8c1a3f29d0f1daf9231a1b59f88f13f6052e7","src/Tabs/TabsItem.jsx":"d3dae2a46a337e0d249bafb5d0f86e4eb7a8df11","src/Tabs/index.js":"d094ea3406d681aed9787075e4dcc6489aca99ab","src/Tags/Tags.jsx":"514a9c9f8a58e892cdac35e254ff96fa44bdac6b","src/Tags/index.js":"ad96785c7165bd33a85b0b2589292098e2baf6ca","src/TextInput/TextArea.jsx":"c4128d5971f20e1f9d0f4bab51d4a6426269a0e5","src/TextInput/TextInput.jsx":"aa2ba2a40fd6cc4d936c399cf37dff8cfd9ff800","src/TextInput/TextInputBase.jsx":"334fb836f874d62e0ca4f67659983fdf91f91b14","src/TextInput/index.js":"437c6f792ac811cd8eb2a8d3d4bcd2cc1423bb46","src/TextInput/propTypes.js":"a3d489be19df6b9bfacc907874bd5508c0b3b1ef","src/ThemeProvider/ThemeProvider.jsx":"97d5a97e01409c26854c4896d6ce99e4b889afab","src/ThemeProvider/index.js":"e760f3d3e4257b79286ad0ea9177be3c28e2bbb0","src/ThemeProvider/useSetTheme.js":"65316370df624ff148b6cfefaa2b9bcd94f586c2","src/ThemeProvider/useTheme.js":"d76b9a6607d6beeeedf18c3685d8f33464b93862","src/ThemeProvider/useThemeTokens.js":"9fa34bf510276c7569da30bce911917c19d24f8f","src/ThemeProvider/utils/index.js":"91b8a1965980bba29b286e4af92ccf2a33379d33","src/ThemeProvider/utils/styles.js":"c4c48493e02992b440ae13c79a1acfda713bb9fe","src/ThemeProvider/utils/theme-tokens.js":"feaee8eebfcad96a2f3c0bf7d515b2de552e1718","src/ToggleSwitch/ToggleSwitch.jsx":"d7cb55ade91bd4dbb41e8d8ebc381039a12327eb","src/ToggleSwitch/index.js":"e64f52f7b34559f2fda37c9c6d389aa93f9dd0ab","src/Tooltip/Backdrop.jsx":"f4fb660b21350756247e8c4cdd01614dceb071f7","src/Tooltip/Backdrop.native.jsx":"dafa102a533f3b4ad0c97900c340f9b70414a3f8","src/Tooltip/Tooltip.jsx":"c73d701afc77d129218b87bf02845fdd38f42b82","src/Tooltip/dictionary.js":"b68f778fe4885a66c30076593b665ffd2cf21768","src/Tooltip/getTooltipPosition.js":"a08ff8b8aaa124f70893642e5313e8c61a69e05c","src/Tooltip/index.js":"33178590407a2a57b03f2c54f84e099ddec5d981","src/TooltipButton/TooltipButton.jsx":"0f566ecd3904ecf2a4a0a00905e5782f82b33c47","src/TooltipButton/index.js":"fcb73069cb7c57a70f8103adf941c8e6a7b7d27a","src/Typography/Typography.jsx":"d7052aded952c79709b60f623602119765411228","src/Typography/index.js":"3e2c97cd6c718560ce5a0e0cad5253535029133a","src/ViewportProvider/ViewportProvider.jsx":"e1b9b7ca47b8e1bd8a0234cef61aa2f9eedfbeb9","src/ViewportProvider/index.jsx":"09d29bb9b616094157963d1df37231463c14be38","src/ViewportProvider/useViewport.js":"853192112855ec8447ae0a96ae2e5f88cd260bbb","src/ViewportProvider/useViewportListener.js":"4af2d136d0a116630ff1017b9c493db3cdf5d723","src/index.js":"ae25bc5362e0a4ca0a18c2c22482e79157b5dc3e","src/utils/a11y/index.js":"55a40c73414c0df89209692776bebeea58b306df","src/utils/a11y/propTypes.js":"0cf14ec32369bbf4b33b05ce8c13a08d058376ba","src/utils/a11y/propTypes.native.js":"a810207ab1ff88aa48ee68214555335e710faa83","src/utils/a11y/semantics.js":"fd7e1c38329f5cfbec697c651718f9af0a881017","src/utils/a11y/textSize.js":"69fc64f71f7a566dae1c74cc71421c631d6c2261","src/utils/animation/index.js":"826e6a13f4d8ebecb37214942d54584d32458db7","src/utils/animation/useVerticalExpandAnimation.js":"53b8fd94922ef2502a2b56ed3bf7fec9181fb0f2","src/utils/children.jsx":"1f53adf94ed830a5876b454cf61427c11cc34731","src/utils/index.js":"f9245114f7ec5140de99f613e5e29d89a295bf30","src/utils/info/index.js":"fa745289aec95c4c8760842abd9ef1a069e190f9","src/utils/info/platform/index.js":"35090561512cc6e6eb188d27297ac79c2040cf2a","src/utils/info/platform/platform.android.js":"d9ed506d3f13da692dd979e1b3e8e54e5953b9e3","src/utils/info/platform/platform.ios.js":"c0b73ee281326cb67bd1808062564685e963db7a","src/utils/info/platform/platform.js":"0749f2c09350d8c0a14bdafa185fb67efe92e169","src/utils/info/platform/platform.native.js":"e5f5be1e6c86f89d6a55331532077702b8c45a87","src/utils/info/versions.js":"a0cfb8630dcb8f2848ccc4d3a44ff3432215fa85","src/utils/input.js":"2d59fa1fe5c026eb89486e68aaa586f85aa4e7e8","src/utils/pressability.js":"b4a038578ab619307d4a6e59b47f0acf966a56ae","src/utils/propTypes.js":"fe7a3cc97b7464daba47cc344448596c85786264","src/utils/useCopy.js":"85f1a455cf72d42875ff2a4194c0402f68e31e27","src/utils/useHash.js":"41956b17755431948380ae8e3c8edb3edb6eec74","src/utils/useHash.native.js":"5bf9b2880abf96ed34105b2c6aac8110e429dacb","src/utils/useResponsiveProp.js":"63d1cc35b6ea313b35e3f23e3bc7a7c0bad74e76","src/utils/useSpacingScale.js":"0c1106da09be680fc6155e76514250845e56bc0e","src/utils/useUniqueId.js":"cf003781273080b70460791569909d6b19b28c06","stories/A11yText/A11yText.stories.jsx":"0e748ee8f23272b816aa8175d2debd605a1d358b","stories/ActivityIndicator/ActivityIndicator.stories.jsx":"cc000317b056a492d65d8dcdfc600e0827b9648b","stories/Box/Box.stories.jsx":"4ace422085f72c3d857617e78c96e47ae2952365","stories/Button/Button.stories.jsx":"3da4651fbff36690e8e9879fd95b1486245bcdaf","stories/Button/ButtonGroup.stories.jsx":"3c2f2f97830c534cdceff1aaa0b47f0e1973b273","stories/Button/ButtonLink.stories.jsx":"e522c05422ed3bbe660f671be49f03bd576e3dac","stories/Card/Card.stories.jsx":"33cb50e27e8eb85b92412ab334b9c599de8dd142","stories/Checkbox/Checkbox.stories.jsx":"40e702812c4feb66d83c119d828eb0a07d92c2d4","stories/Divider/Divider.stories.jsx":"a16ae4589699e9ea820c4a44211ae22f3214e7d0","stories/ExpandCollapse/ExpandCollapse.stories.jsx":"22a749b1425065ea840d2a1e48f3beea8e6d2731","stories/Feedback/Feedback.stories.jsx":"2f0bfdd3d777d66b2d4be4d6299fd8f21d6e2ae7","stories/FlexGrid/01 FlexGrid.stories.jsx":"1d30601d2e738116c7502498df9dd3e4684a0a16","stories/FlexGrid/02 Row.stories.jsx":"1550d8775bc6893592ead3b549f0cdb26f95b06c","stories/FlexGrid/03 Col.stories.jsx":"2cf523d01fa7ecb587906d0a782435febddacf62","stories/Icon/Icon.stories.jsx":"fae1c5afb7322c5f5d96081dc0fa584209e171cf","stories/IconButton/IconButton.stories.jsx":"d05d2371bb060c7c6f1042e77f8c277e32f369d8","stories/InputLabel/InputLabel.stories.jsx":"b84e7869dd9ee759e0ceca469006f79c8d3d88cc","stories/Link/ChevronLink.stories.jsx":"9de199ef16e32be5ee464e3535b8ec8e808e63f1","stories/Link/Link.stories.jsx":"1dc4e62ba9fa5d17c5ed44a919e3e58ac31e2d13","stories/Link/TextButton.stories.jsx":"d9f635d8a019189c05f3807e2249903e0869efc4","stories/List/List.stories.jsx":"9c9caccf7dc75e863ec301cbd07753be1fa69475","stories/Modal/Modal.stories.jsx":"15d317ad33bd52b6b4945274953a2e877c8943ef","stories/Notification/Notification.stories.jsx":"6d9c466df7a5fcbf1d81687755d408d22c3135ca","stories/Pagination/Pagination.stories.jsx":"eebdab61376507ffa03d9ef7a93c67827f8a9012","stories/Progress/Progress.stories.jsx":"abb64a010e824bf7004899106ff4c5d6facea98e","stories/Radio/Radio.stories.jsx":"3ed6a6b65ca2968a9f36ad11170c4ce7d30e5fc4","stories/RadioCard/RadioCard.stories.jsx":"e13458fb142463148092d50e3ece5861dce27efe","stories/Search/Search.stories.jsx":"e28b76328852df5e3b960eff98ceb363547be8b1","stories/Select/Select.stories.jsx":"78846c0080ce7d5a224ed77e4bdca4846271e99d","stories/SideNav/SideNav.stories.jsx":"b27ad888fc35d3001aacc8deda52dd0c16f157b3","stories/SideNav/SideNavItem.stories.jsx":"f74229e44c96c1bd41e9133574eaecbd1c52ba6f","stories/SideNav/SideNavItemsGroup.stories.jsx":"8ad455500b4bfbd3dd28cd7e21a6ef8643e75674","stories/Skeleton/Skeleton.stories.jsx":"bc0a8e89fab728b72e5402c119656515d56b772a","stories/Spacer/Spacer.stories.jsx":"7f893716dcbee75557d718d5e9c2cf1d4a5a9ab8","stories/StackView/StackView.stories.jsx":"c5db0b6b72cd26e1eea609c56634ca1022d62c84","stories/StackView/StackWrap.stories.jsx":"797c3187c885c27ce3f4092b8b59bd5be7cd9ce2","stories/StepTracker/StepTracker.stories.jsx":"7586d7186ffbf0cd4b867b87ccbf7b49a5ec0a6e","stories/Tabs/Tabs.stories.jsx":"47593444d0a74bc62cf4ea81ef9d6c79bc048bb1","stories/Tags/Tags.stories.jsx":"81172c01914e808c68ef0de2298e08534007fdc6","stories/TextInput/TextArea.stories.jsx":"ddc007e5cc3e6705c68ef7f6d6df5e12a515069c","stories/TextInput/TextInput.stories.jsx":"5c218e87eda32ba52d4a2f4c09de4b39835e242a","stories/ToggleSwitch/ToggleSwitch.stories.jsx":"95de18bd9569b778c68a6260c6e67e2862b0465b","stories/Tooltip/Tooltip.stories.jsx":"ada14e82fe127bdde7ae2840be8fcf36cd3420e0","stories/TooltipButton/TooltipButton.stories.jsx":"268daafd1138d596fc7b3905a8157c0b98994f2d","stories/Typography/Typography.stories.jsx":"4e948b610fdd4cbed43a426a63fa2b534925b31d","stories/platform-supports.jsx":"3409479da536d7ff93e569aa452d2082de378944","stories/platform-supports.native.jsx":"fcfbb23b926b3440b0f684119832a388e880bd82","stories/supports.jsx":"a60968955f15a5879fecefe7a48ac214e6c38225"},"deps":{"@telus-uds/system-constants":1646065600453.5847,"@telus-uds/system-theme-tokens":1646065600701.582,"@telus-uds/browserslist-config":1646065600945.579}}
@@ -1,61 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _propTypes = _interopRequireDefault(require("prop-types"));
9
-
10
- var _propTypes2 = _interopRequireDefault(require("./propTypes.native"));
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
- var _default = { ..._propTypes2.default,
15
- // React Native Web adds many a11y props that alias aria-* attributes
16
- // Types based on https://necolas.github.io/react-native-web/docs/accessibility/
17
- accessibilityActiveDescendant: _propTypes.default.string,
18
- accessibilityAtomic: _propTypes.default.bool,
19
- accessibilityAutoComplete: _propTypes.default.string,
20
- accessibilityBusy: _propTypes.default.bool,
21
- accessibilityChecked: _propTypes.default.oneOf([true, false, 'mixed']),
22
- accessibilityColumnCount: _propTypes.default.number,
23
- accessibilityColumnIndex: _propTypes.default.number,
24
- accessibilityColumnSpan: _propTypes.default.number,
25
- accessibilityControls: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
26
- accessibilityCurrent: _propTypes.default.oneOf([true, false, 'page', 'step', 'location', 'date', 'time']),
27
- accessibilityDescribedBy: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
28
- accessibilityDetails: _propTypes.default.string,
29
- accessibilityDisabled: _propTypes.default.bool,
30
- accessibilityErrorMessage: _propTypes.default.string,
31
- accessibilityExpanded: _propTypes.default.bool,
32
- accessibilityFlowTo: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
33
- accessibilityHasPopup: _propTypes.default.string,
34
- accessibilityHidden: _propTypes.default.bool,
35
- accessibilityInvalid: _propTypes.default.bool,
36
- accessibilityKeyShortcuts: _propTypes.default.string,
37
- accessibilityLabelledBy: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
38
- accessibilityLevel: _propTypes.default.number,
39
- accessibilityModal: _propTypes.default.bool,
40
- accessibilityMultiline: _propTypes.default.bool,
41
- accessibilityMultiSelectable: _propTypes.default.bool,
42
- accessibilityOrientation: _propTypes.default.oneOf(['horizontal', 'vertical']),
43
- accessibilityOwns: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
44
- accessibilityPlaceholder: _propTypes.default.string,
45
- accessibilityPosInSet: _propTypes.default.number,
46
- accessibilityPressed: _propTypes.default.bool,
47
- accessibilityReadOnly: _propTypes.default.bool,
48
- accessibilityRequired: _propTypes.default.bool,
49
- accessibilityRoleDescription: _propTypes.default.string,
50
- accessibilityRowCount: _propTypes.default.number,
51
- accessibilityRowIndex: _propTypes.default.number,
52
- accessibilityRowSpan: _propTypes.default.number,
53
- accessibilitySelected: _propTypes.default.bool,
54
- accessibilitySetSize: _propTypes.default.number,
55
- accessibilitySort: _propTypes.default.oneOf(['ascending', 'descending', 'none', 'other']),
56
- accessibilityValueMax: _propTypes.default.number,
57
- accessibilityValueMin: _propTypes.default.number,
58
- accessibilityValueNow: _propTypes.default.number,
59
- accessibilityValueText: _propTypes.default.string
60
- };
61
- exports.default = _default;
@@ -1,47 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _propTypes = _interopRequireDefault(require("prop-types"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
- // React Native exports a11y prop definitions as TypeScript Interfaces, but no longer exports PropTypes
13
- // so we have to define them ourselves.
14
- var _default = {
15
- accessible: _propTypes.default.bool,
16
- focusable: _propTypes.default.bool,
17
- accessibilityElementsHidden: _propTypes.default.bool,
18
- accessibilityHint: _propTypes.default.string,
19
- // react-native-web ignores `accessibilityHint`
20
- accessibilityIgnoresInvertColors: _propTypes.default.bool,
21
- accessibilityLabel: _propTypes.default.string,
22
- accessibilityRole: _propTypes.default.string,
23
- accessibilityActions: _propTypes.default.arrayOf(_propTypes.default.shape({
24
- name: _propTypes.default.string.isRequired,
25
- label: _propTypes.default.string
26
- })),
27
- accessibilityLiveRegion: _propTypes.default.oneOf(['none', 'polite', 'assertive']),
28
- accessibilityState: _propTypes.default.shape({
29
- disabled: _propTypes.default.bool,
30
- selected: _propTypes.default.bool,
31
- checked: _propTypes.default.oneOf([true, false, 'mixed']),
32
- busy: _propTypes.default.bool,
33
- expanded: _propTypes.default.bool
34
- }),
35
- accessibilityValue: _propTypes.default.shape({
36
- min: _propTypes.default.number,
37
- max: _propTypes.default.number,
38
- now: _propTypes.default.number,
39
- text: _propTypes.default.string
40
- }),
41
- accessibilityViewIsModal: _propTypes.default.bool,
42
- importantForAccessibility: _propTypes.default.oneOf(['auto', 'yes', 'no', 'no-hide-descendants']),
43
- onAccessibilityAction: _propTypes.default.func,
44
- onAccessibilityEscape: _propTypes.default.func,
45
- onAccessibilityTap: _propTypes.default.func
46
- };
47
- exports.default = _default;