@telus-uds/components-base 0.0.2-prerelease.1 → 0.0.2-prerelease.10

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 (475) hide show
  1. package/.ultra.cache.json +1 -0
  2. package/CHANGELOG.md +120 -0
  3. package/README.md +4 -2
  4. package/__fixtures__/Accessible.js +33 -0
  5. package/__fixtures__/Accessible.native.js +32 -0
  6. package/__fixtures__/test-utils.js +25 -0
  7. package/__fixtures__/testTheme.js +1146 -145
  8. package/__tests__/ActivityIndicator/ActivityIndicator.test.jsx +1 -1
  9. package/__tests__/Box/Box.test.jsx +81 -58
  10. package/__tests__/Button/ButtonBase.test.jsx +3 -32
  11. package/__tests__/Button/ButtonGroup.test.jsx +6 -7
  12. package/__tests__/Card/Card.test.jsx +63 -0
  13. package/__tests__/Checkbox/Checkbox.test.jsx +94 -0
  14. package/__tests__/Checkbox/CheckboxGroup.test.jsx +246 -0
  15. package/__tests__/Divider/Divider.test.jsx +26 -5
  16. package/__tests__/ExpandCollapse/ExpandCollapse.test.jsx +2 -2
  17. package/__tests__/Feedback/Feedback.test.jsx +42 -0
  18. package/__tests__/FlexGrid/Col.test.jsx +5 -0
  19. package/__tests__/HorizontalScroll/HorizontalScroll.test.jsx +164 -0
  20. package/__tests__/Icon/Icon.test.jsx +3 -3
  21. package/__tests__/IconButton/IconButton.test.jsx +52 -0
  22. package/__tests__/InputSupports/InputSupports.test.jsx +50 -0
  23. package/__tests__/Link/LinkBase.test.jsx +0 -14
  24. package/__tests__/List/List.test.jsx +60 -0
  25. package/__tests__/Modal/Modal.test.jsx +47 -0
  26. package/__tests__/Notification/Notification.test.jsx +20 -0
  27. package/__tests__/Pagination/Pagination.test.jsx +160 -0
  28. package/__tests__/Progress/Progress.test.jsx +79 -0
  29. package/__tests__/Radio/Radio.test.jsx +87 -0
  30. package/__tests__/Radio/RadioGroup.test.jsx +220 -0
  31. package/__tests__/RadioCard/RadioCard.test.jsx +87 -0
  32. package/__tests__/RadioCard/RadioCardGroup.test.jsx +246 -0
  33. package/__tests__/Search/Search.test.jsx +73 -0
  34. package/__tests__/Select/Select.test.jsx +94 -0
  35. package/__tests__/Skeleton/Skeleton.test.jsx +61 -0
  36. package/__tests__/Spacer/Spacer.test.jsx +63 -0
  37. package/__tests__/StackView/StackView.test.jsx +216 -0
  38. package/__tests__/StackView/StackWrap.test.jsx +47 -0
  39. package/__tests__/StackView/getStackedContent.test.jsx +295 -0
  40. package/__tests__/StepTracker/StepTracker.test.jsx +94 -0
  41. package/__tests__/Tabs/Tabs.test.jsx +40 -0
  42. package/__tests__/Tags/Tags.test.jsx +327 -0
  43. package/__tests__/TextInput/TextArea.test.jsx +35 -0
  44. package/__tests__/TextInput/TextInputBase.test.jsx +125 -0
  45. package/__tests__/ThemeProvider/ThemeProvider.test.jsx +77 -0
  46. package/__tests__/ThemeProvider/useThemeTokens.test.jsx +14 -8
  47. package/__tests__/ThemeProvider/utils/theme-tokens.test.js +41 -0
  48. package/__tests__/ToggleSwitch/ToggleSwitch.test.jsx +3 -2
  49. package/__tests__/Tooltip/Tooltip.test.jsx +65 -0
  50. package/__tests__/Tooltip/getTooltipPosition.test.js +79 -0
  51. package/__tests__/utils/children.test.jsx +128 -0
  52. package/__tests__/utils/input.test.js +59 -1
  53. package/__tests__/utils/useCopy.test.js +42 -0
  54. package/__tests__/utils/useResponsiveProp.test.jsx +202 -0
  55. package/__tests__/utils/useSpacingScale.test.jsx +273 -0
  56. package/__tests__/utils/useUniqueId.test.js +31 -0
  57. package/babel.config.js +18 -1
  58. package/jest.config.js +19 -9
  59. package/lib/A11yInfoProvider/index.js +54 -26
  60. package/lib/A11yText/index.js +36 -15
  61. package/lib/ActivityIndicator/Spinner.js +78 -0
  62. package/lib/ActivityIndicator/Spinner.native.js +121 -87
  63. package/lib/ActivityIndicator/index.js +28 -12
  64. package/lib/ActivityIndicator/shared.js +27 -12
  65. package/lib/BaseProvider/index.js +34 -11
  66. package/lib/Box/Box.js +214 -87
  67. package/lib/Box/index.js +13 -2
  68. package/lib/Button/Button.js +37 -11
  69. package/lib/Button/ButtonBase.js +119 -110
  70. package/lib/Button/ButtonGroup.js +98 -101
  71. package/lib/Button/ButtonLink.js +40 -14
  72. package/lib/Button/index.js +31 -4
  73. package/lib/Button/propTypes.js +32 -9
  74. package/lib/Card/Card.js +98 -0
  75. package/lib/Card/CardBase.js +78 -0
  76. package/lib/Card/PressableCardBase.js +137 -0
  77. package/lib/Card/index.js +40 -0
  78. package/lib/Checkbox/Checkbox.js +344 -0
  79. package/lib/Checkbox/CheckboxGroup.js +231 -0
  80. package/lib/Checkbox/CheckboxInput.js +74 -0
  81. package/lib/Checkbox/CheckboxInput.native.js +14 -0
  82. package/lib/Checkbox/index.js +21 -0
  83. package/lib/Divider/Divider.js +80 -18
  84. package/lib/Divider/index.js +13 -2
  85. package/lib/ExpandCollapse/Accordion.js +19 -8
  86. package/lib/ExpandCollapse/Control.js +50 -29
  87. package/lib/ExpandCollapse/ExpandCollapse.js +41 -24
  88. package/lib/ExpandCollapse/Panel.js +77 -41
  89. package/lib/ExpandCollapse/index.js +25 -7
  90. package/lib/Feedback/Feedback.js +161 -0
  91. package/lib/Feedback/index.js +13 -0
  92. package/lib/Fieldset/Fieldset.js +160 -0
  93. package/lib/Fieldset/FieldsetContainer.js +41 -0
  94. package/lib/Fieldset/FieldsetContainer.native.js +33 -0
  95. package/lib/Fieldset/Legend.js +33 -0
  96. package/lib/Fieldset/Legend.native.js +43 -0
  97. package/lib/Fieldset/cssReset.js +21 -0
  98. package/lib/Fieldset/index.js +13 -0
  99. package/lib/FlexGrid/Col/Col.js +66 -39
  100. package/lib/FlexGrid/Col/index.js +13 -2
  101. package/lib/FlexGrid/FlexGrid.js +70 -47
  102. package/lib/FlexGrid/Row/Row.js +47 -28
  103. package/lib/FlexGrid/Row/index.js +13 -2
  104. package/lib/FlexGrid/helpers/index.js +9 -1
  105. package/lib/FlexGrid/index.js +13 -2
  106. package/lib/FlexGrid/providers/GutterContext.js +15 -3
  107. package/lib/HorizontalScroll/HorizontalScroll.js +199 -0
  108. package/lib/HorizontalScroll/HorizontalScrollButton.js +121 -0
  109. package/lib/HorizontalScroll/ScrollViewEnd.js +66 -0
  110. package/lib/HorizontalScroll/ScrollViewEnd.native.js +41 -0
  111. package/lib/HorizontalScroll/dictionary.js +18 -0
  112. package/lib/HorizontalScroll/index.js +35 -0
  113. package/lib/HorizontalScroll/itemPositions.js +128 -0
  114. package/lib/Icon/Icon.js +52 -47
  115. package/lib/Icon/IconText.js +100 -0
  116. package/lib/Icon/index.js +31 -3
  117. package/lib/IconButton/IconButton.js +135 -0
  118. package/lib/IconButton/index.js +13 -0
  119. package/lib/InputLabel/InputLabel.js +145 -0
  120. package/lib/InputLabel/LabelContent.js +39 -0
  121. package/lib/InputLabel/LabelContent.native.js +16 -0
  122. package/lib/InputLabel/index.js +13 -0
  123. package/lib/InputSupports/InputSupports.js +104 -0
  124. package/lib/InputSupports/index.js +13 -0
  125. package/lib/InputSupports/propTypes.js +66 -0
  126. package/lib/InputSupports/useInputSupports.js +41 -0
  127. package/lib/Link/ChevronLink.js +56 -16
  128. package/lib/Link/InlinePressable.js +50 -0
  129. package/lib/Link/InlinePressable.native.js +101 -0
  130. package/lib/Link/Link.js +29 -14
  131. package/lib/Link/LinkBase.js +120 -147
  132. package/lib/Link/TextButton.js +46 -18
  133. package/lib/Link/index.js +39 -4
  134. package/lib/List/List.js +80 -0
  135. package/lib/List/ListItem.js +239 -0
  136. package/lib/List/index.js +13 -0
  137. package/lib/Modal/Modal.js +226 -0
  138. package/lib/Modal/dictionary.js +16 -0
  139. package/lib/Modal/index.js +13 -0
  140. package/lib/Notification/Notification.js +215 -0
  141. package/lib/Notification/dictionary.js +15 -0
  142. package/lib/Notification/index.js +13 -0
  143. package/lib/Pagination/PageButton.js +89 -0
  144. package/lib/Pagination/Pagination.js +148 -0
  145. package/lib/Pagination/SideButton.js +124 -0
  146. package/lib/Pagination/dictionary.js +25 -0
  147. package/lib/Pagination/index.js +13 -0
  148. package/lib/Pagination/usePagination.js +80 -0
  149. package/lib/Progress/Progress.js +99 -0
  150. package/lib/Progress/ProgressBar.js +146 -0
  151. package/lib/Progress/ProgressBarBackground.js +57 -0
  152. package/lib/Progress/index.js +16 -0
  153. package/lib/Radio/Radio.js +292 -0
  154. package/lib/Radio/RadioButton.js +141 -0
  155. package/lib/Radio/RadioGroup.js +234 -0
  156. package/lib/Radio/RadioInput.js +76 -0
  157. package/lib/Radio/RadioInput.native.js +14 -0
  158. package/lib/Radio/index.js +21 -0
  159. package/lib/RadioCard/RadioCard.js +243 -0
  160. package/lib/RadioCard/RadioCardGroup.js +251 -0
  161. package/lib/RadioCard/index.js +21 -0
  162. package/lib/Search/Search.js +250 -0
  163. package/lib/Search/dictionary.js +19 -0
  164. package/lib/Search/index.js +13 -0
  165. package/lib/Select/Group.js +33 -0
  166. package/lib/Select/Group.native.js +25 -0
  167. package/lib/Select/Item.js +29 -0
  168. package/lib/Select/Item.native.js +19 -0
  169. package/lib/Select/Picker.js +79 -0
  170. package/lib/Select/Picker.native.js +127 -0
  171. package/lib/Select/Select.js +341 -0
  172. package/lib/Select/index.js +19 -0
  173. package/lib/SideNav/Item.js +54 -35
  174. package/lib/SideNav/ItemContent.js +41 -15
  175. package/lib/SideNav/ItemsGroup.js +53 -34
  176. package/lib/SideNav/SideNav.js +94 -70
  177. package/lib/SideNav/index.js +15 -1
  178. package/lib/Skeleton/Skeleton.js +137 -0
  179. package/lib/Skeleton/index.js +13 -0
  180. package/lib/Skeleton/skeleton.constant.js +12 -0
  181. package/lib/Skeleton/skeletonWebAnimation.js +27 -0
  182. package/lib/Skeleton/useSkeletonNativeAnimation.js +37 -0
  183. package/lib/Spacer/Spacer.js +117 -0
  184. package/lib/Spacer/index.js +13 -0
  185. package/lib/StackView/StackView.js +130 -0
  186. package/lib/StackView/StackWrap.js +55 -0
  187. package/lib/StackView/StackWrap.native.js +14 -0
  188. package/lib/StackView/StackWrapBox.js +120 -0
  189. package/lib/StackView/StackWrapGap.js +71 -0
  190. package/lib/StackView/common.js +47 -0
  191. package/lib/StackView/getStackedContent.js +141 -0
  192. package/lib/StackView/index.js +29 -0
  193. package/lib/StepTracker/Step.js +245 -0
  194. package/lib/StepTracker/StepTracker.js +197 -0
  195. package/lib/StepTracker/dictionary.js +17 -0
  196. package/lib/StepTracker/index.js +13 -0
  197. package/lib/Tabs/Tabs.js +118 -0
  198. package/lib/Tabs/TabsItem.js +237 -0
  199. package/lib/Tabs/index.js +13 -0
  200. package/lib/Tags/Tags.js +250 -0
  201. package/lib/Tags/index.js +13 -0
  202. package/lib/TextInput/TextArea.js +109 -0
  203. package/lib/TextInput/TextInput.js +75 -0
  204. package/lib/TextInput/TextInputBase.js +255 -0
  205. package/lib/TextInput/index.js +23 -0
  206. package/lib/TextInput/propTypes.js +42 -0
  207. package/lib/ThemeProvider/ThemeProvider.js +46 -18
  208. package/lib/ThemeProvider/index.js +61 -6
  209. package/lib/ThemeProvider/useSetTheme.js +19 -5
  210. package/lib/ThemeProvider/useTheme.js +13 -4
  211. package/lib/ThemeProvider/useThemeTokens.js +111 -16
  212. package/lib/ThemeProvider/utils/index.js +31 -2
  213. package/lib/ThemeProvider/utils/styles.js +52 -16
  214. package/lib/ThemeProvider/utils/theme-tokens.js +154 -19
  215. package/lib/ToggleSwitch/ToggleSwitch.js +87 -93
  216. package/lib/ToggleSwitch/index.js +13 -2
  217. package/lib/Tooltip/Backdrop.js +56 -0
  218. package/lib/Tooltip/Backdrop.native.js +59 -0
  219. package/lib/Tooltip/Tooltip.js +357 -0
  220. package/lib/Tooltip/dictionary.js +15 -0
  221. package/lib/Tooltip/getTooltipPosition.js +172 -0
  222. package/lib/Tooltip/index.js +13 -0
  223. package/lib/TooltipButton/TooltipButton.js +83 -0
  224. package/lib/TooltipButton/index.js +13 -0
  225. package/lib/Typography/Typography.js +58 -49
  226. package/lib/Typography/index.js +13 -2
  227. package/lib/ViewportProvider/ViewportProvider.js +46 -0
  228. package/lib/ViewportProvider/index.js +22 -38
  229. package/lib/ViewportProvider/useViewport.js +15 -0
  230. package/lib/ViewportProvider/useViewportListener.js +57 -0
  231. package/lib/index.js +539 -17
  232. package/lib/utils/a11y/index.js +18 -0
  233. package/lib/utils/a11y/textSize.js +49 -0
  234. package/lib/utils/animation/index.js +15 -2
  235. package/lib/utils/animation/useVerticalExpandAnimation.js +28 -11
  236. package/lib/utils/children.js +134 -0
  237. package/lib/utils/index.js +163 -3
  238. package/lib/utils/info/index.js +19 -0
  239. package/lib/utils/info/platform/index.js +23 -0
  240. package/lib/utils/info/platform/platform.android.js +8 -0
  241. package/lib/utils/info/platform/platform.ios.js +8 -0
  242. package/lib/utils/info/platform/platform.js +8 -0
  243. package/lib/utils/info/platform/platform.native.js +11 -0
  244. package/lib/utils/info/versions.js +16 -0
  245. package/lib/utils/input.js +62 -38
  246. package/lib/utils/pressability.js +120 -0
  247. package/lib/utils/propTypes.js +360 -109
  248. package/lib/utils/useCopy.js +51 -0
  249. package/lib/utils/useHash.js +52 -0
  250. package/lib/utils/useHash.native.js +15 -0
  251. package/lib/utils/useResponsiveProp.js +59 -0
  252. package/lib/utils/useSpacingScale.js +135 -0
  253. package/lib/utils/useUniqueId.js +21 -0
  254. package/package.json +15 -14
  255. package/release-context.json +4 -4
  256. package/src/ActivityIndicator/{Spinner.web.jsx → Spinner.jsx} +0 -0
  257. package/src/Box/Box.jsx +180 -78
  258. package/src/Button/Button.jsx +9 -5
  259. package/src/Button/ButtonBase.jsx +74 -87
  260. package/src/Button/ButtonGroup.jsx +26 -43
  261. package/src/Button/ButtonLink.jsx +14 -4
  262. package/src/Button/propTypes.js +12 -2
  263. package/src/Card/Card.jsx +75 -0
  264. package/src/Card/CardBase.jsx +57 -0
  265. package/src/Card/PressableCardBase.jsx +112 -0
  266. package/src/Card/index.js +6 -0
  267. package/src/Checkbox/Checkbox.jsx +274 -0
  268. package/src/Checkbox/CheckboxGroup.jsx +196 -0
  269. package/src/Checkbox/CheckboxInput.jsx +55 -0
  270. package/src/Checkbox/CheckboxInput.native.jsx +6 -0
  271. package/src/Checkbox/index.js +5 -0
  272. package/src/Divider/Divider.jsx +38 -3
  273. package/src/ExpandCollapse/Control.jsx +3 -4
  274. package/src/ExpandCollapse/Panel.jsx +3 -3
  275. package/src/Feedback/Feedback.jsx +108 -0
  276. package/src/Feedback/index.js +3 -0
  277. package/src/Fieldset/Fieldset.jsx +129 -0
  278. package/src/Fieldset/FieldsetContainer.jsx +22 -0
  279. package/src/Fieldset/FieldsetContainer.native.jsx +16 -0
  280. package/src/Fieldset/Legend.jsx +16 -0
  281. package/src/Fieldset/Legend.native.jsx +22 -0
  282. package/src/Fieldset/cssReset.js +14 -0
  283. package/src/Fieldset/index.js +3 -0
  284. package/src/FlexGrid/Col/Col.jsx +4 -2
  285. package/src/HorizontalScroll/HorizontalScroll.jsx +165 -0
  286. package/src/HorizontalScroll/HorizontalScrollButton.jsx +108 -0
  287. package/src/HorizontalScroll/ScrollViewEnd.jsx +53 -0
  288. package/src/HorizontalScroll/ScrollViewEnd.native.jsx +24 -0
  289. package/src/HorizontalScroll/dictionary.js +11 -0
  290. package/src/HorizontalScroll/index.js +17 -0
  291. package/src/HorizontalScroll/itemPositions.js +101 -0
  292. package/src/Icon/Icon.jsx +23 -27
  293. package/src/Icon/IconText.jsx +63 -0
  294. package/src/Icon/index.js +3 -2
  295. package/src/IconButton/IconButton.jsx +107 -0
  296. package/src/IconButton/index.js +3 -0
  297. package/src/InputLabel/InputLabel.jsx +124 -0
  298. package/src/InputLabel/LabelContent.jsx +23 -0
  299. package/src/InputLabel/LabelContent.native.jsx +6 -0
  300. package/src/InputLabel/index.js +3 -0
  301. package/src/InputSupports/InputSupports.jsx +75 -0
  302. package/src/InputSupports/index.js +3 -0
  303. package/src/InputSupports/propTypes.js +44 -0
  304. package/src/InputSupports/useInputSupports.js +30 -0
  305. package/src/Link/ChevronLink.jsx +28 -7
  306. package/src/Link/InlinePressable.jsx +37 -0
  307. package/src/Link/InlinePressable.native.jsx +73 -0
  308. package/src/Link/Link.jsx +17 -13
  309. package/src/Link/LinkBase.jsx +71 -146
  310. package/src/Link/TextButton.jsx +25 -11
  311. package/src/Link/index.js +2 -1
  312. package/src/List/List.jsx +47 -0
  313. package/src/List/ListItem.jsx +184 -0
  314. package/src/List/index.js +3 -0
  315. package/src/Modal/Modal.jsx +185 -0
  316. package/src/Modal/dictionary.js +9 -0
  317. package/src/Modal/index.js +3 -0
  318. package/src/Notification/Notification.jsx +161 -0
  319. package/src/Notification/dictionary.js +8 -0
  320. package/src/Notification/index.js +3 -0
  321. package/src/Pagination/PageButton.jsx +70 -0
  322. package/src/Pagination/Pagination.jsx +135 -0
  323. package/src/Pagination/SideButton.jsx +82 -0
  324. package/src/Pagination/dictionary.js +18 -0
  325. package/src/Pagination/index.js +3 -0
  326. package/src/Pagination/usePagination.js +69 -0
  327. package/src/Progress/Progress.jsx +77 -0
  328. package/src/Progress/ProgressBar.jsx +110 -0
  329. package/src/Progress/ProgressBarBackground.jsx +34 -0
  330. package/src/Progress/index.js +6 -0
  331. package/src/Radio/Radio.jsx +233 -0
  332. package/src/Radio/RadioButton.jsx +131 -0
  333. package/src/Radio/RadioGroup.jsx +199 -0
  334. package/src/Radio/RadioInput.jsx +57 -0
  335. package/src/Radio/RadioInput.native.jsx +6 -0
  336. package/src/Radio/index.js +5 -0
  337. package/src/RadioCard/RadioCard.jsx +191 -0
  338. package/src/RadioCard/RadioCardGroup.jsx +211 -0
  339. package/src/RadioCard/index.js +5 -0
  340. package/src/Search/Search.jsx +215 -0
  341. package/src/Search/dictionary.js +12 -0
  342. package/src/Search/index.js +3 -0
  343. package/src/Select/Group.jsx +15 -0
  344. package/src/Select/Group.native.jsx +14 -0
  345. package/src/Select/Item.jsx +11 -0
  346. package/src/Select/Item.native.jsx +10 -0
  347. package/src/Select/Picker.jsx +67 -0
  348. package/src/Select/Picker.native.jsx +108 -0
  349. package/src/Select/Select.jsx +286 -0
  350. package/src/Select/index.js +8 -0
  351. package/src/SideNav/Item.jsx +5 -5
  352. package/src/SideNav/ItemsGroup.jsx +11 -13
  353. package/src/SideNav/SideNav.jsx +2 -1
  354. package/src/Skeleton/Skeleton.jsx +98 -0
  355. package/src/Skeleton/index.js +3 -0
  356. package/src/Skeleton/skeleton.constant.js +3 -0
  357. package/src/Skeleton/skeletonWebAnimation.js +13 -0
  358. package/src/Skeleton/useSkeletonNativeAnimation.js +27 -0
  359. package/src/Spacer/Spacer.jsx +91 -0
  360. package/src/Spacer/index.js +3 -0
  361. package/src/StackView/StackView.jsx +113 -0
  362. package/src/StackView/StackWrap.jsx +41 -0
  363. package/src/StackView/StackWrap.native.jsx +4 -0
  364. package/src/StackView/StackWrapBox.jsx +102 -0
  365. package/src/StackView/StackWrapGap.jsx +49 -0
  366. package/src/StackView/common.jsx +29 -0
  367. package/src/StackView/getStackedContent.jsx +112 -0
  368. package/src/StackView/index.js +6 -0
  369. package/src/StepTracker/Step.jsx +202 -0
  370. package/src/StepTracker/StepTracker.jsx +163 -0
  371. package/src/StepTracker/dictionary.js +10 -0
  372. package/src/StepTracker/index.js +3 -0
  373. package/src/Tabs/Tabs.jsx +92 -0
  374. package/src/Tabs/TabsItem.jsx +205 -0
  375. package/src/Tabs/index.js +3 -0
  376. package/src/Tags/Tags.jsx +207 -0
  377. package/src/Tags/index.js +3 -0
  378. package/src/TextInput/TextArea.jsx +78 -0
  379. package/src/TextInput/TextInput.jsx +52 -0
  380. package/src/TextInput/TextInputBase.jsx +211 -0
  381. package/src/TextInput/index.js +4 -0
  382. package/src/TextInput/propTypes.js +29 -0
  383. package/src/ThemeProvider/ThemeProvider.jsx +11 -7
  384. package/src/ThemeProvider/useSetTheme.js +4 -0
  385. package/src/ThemeProvider/useThemeTokens.js +85 -7
  386. package/src/ThemeProvider/utils/styles.js +18 -5
  387. package/src/ThemeProvider/utils/theme-tokens.js +106 -8
  388. package/src/ToggleSwitch/ToggleSwitch.jsx +25 -46
  389. package/src/Tooltip/Backdrop.jsx +60 -0
  390. package/src/Tooltip/Backdrop.native.jsx +33 -0
  391. package/src/Tooltip/Tooltip.jsx +294 -0
  392. package/src/Tooltip/dictionary.js +8 -0
  393. package/src/Tooltip/getTooltipPosition.js +161 -0
  394. package/src/Tooltip/index.js +3 -0
  395. package/src/TooltipButton/TooltipButton.jsx +49 -0
  396. package/src/TooltipButton/index.js +3 -0
  397. package/src/Typography/Typography.jsx +10 -24
  398. package/src/ViewportProvider/ViewportProvider.jsx +21 -0
  399. package/src/ViewportProvider/index.jsx +2 -41
  400. package/src/ViewportProvider/useViewport.js +5 -0
  401. package/src/ViewportProvider/useViewportListener.js +43 -0
  402. package/src/index.js +38 -1
  403. package/src/utils/a11y/index.js +1 -0
  404. package/src/utils/a11y/textSize.js +30 -0
  405. package/src/utils/children.jsx +119 -0
  406. package/src/utils/index.js +11 -0
  407. package/src/utils/info/index.js +8 -0
  408. package/src/utils/info/platform/index.js +11 -0
  409. package/src/utils/info/platform/platform.android.js +1 -0
  410. package/src/utils/info/platform/platform.ios.js +1 -0
  411. package/src/utils/info/platform/platform.js +1 -0
  412. package/src/utils/info/platform/platform.native.js +4 -0
  413. package/src/utils/info/versions.js +6 -0
  414. package/src/utils/input.js +38 -26
  415. package/src/utils/pressability.js +96 -0
  416. package/src/utils/propTypes.js +298 -66
  417. package/src/utils/useCopy.js +39 -0
  418. package/src/utils/useHash.js +39 -0
  419. package/src/utils/useHash.native.js +6 -0
  420. package/src/utils/useResponsiveProp.js +50 -0
  421. package/src/utils/useSpacingScale.js +108 -0
  422. package/src/utils/useUniqueId.js +14 -0
  423. package/stories/A11yText/A11yText.stories.jsx +15 -13
  424. package/stories/ActivityIndicator/ActivityIndicator.stories.jsx +11 -2
  425. package/stories/Box/Box.stories.jsx +46 -17
  426. package/stories/Button/Button.stories.jsx +21 -20
  427. package/stories/Button/ButtonGroup.stories.jsx +2 -1
  428. package/stories/Button/ButtonLink.stories.jsx +6 -4
  429. package/stories/Card/Card.stories.jsx +62 -0
  430. package/stories/Checkbox/Checkbox.stories.jsx +94 -0
  431. package/stories/Divider/Divider.stories.jsx +26 -2
  432. package/stories/ExpandCollapse/ExpandCollapse.stories.jsx +74 -79
  433. package/stories/Feedback/Feedback.stories.jsx +96 -0
  434. package/stories/FlexGrid/01 FlexGrid.stories.jsx +20 -7
  435. package/stories/Icon/Icon.stories.jsx +35 -7
  436. package/stories/IconButton/IconButton.stories.jsx +50 -0
  437. package/stories/InputLabel/InputLabel.stories.jsx +42 -0
  438. package/stories/Link/ChevronLink.stories.jsx +20 -4
  439. package/stories/Link/Link.stories.jsx +51 -20
  440. package/stories/Link/TextButton.stories.jsx +24 -3
  441. package/stories/List/List.stories.jsx +117 -0
  442. package/stories/Modal/Modal.stories.jsx +29 -0
  443. package/stories/Notification/Notification.stories.jsx +82 -0
  444. package/stories/Pagination/Pagination.stories.jsx +64 -0
  445. package/stories/Progress/Progress.stories.jsx +93 -0
  446. package/stories/Radio/Radio.stories.jsx +100 -0
  447. package/stories/RadioCard/RadioCard.stories.jsx +98 -0
  448. package/stories/Search/Search.stories.jsx +16 -0
  449. package/stories/Select/Select.stories.jsx +55 -0
  450. package/stories/SideNav/SideNav.stories.jsx +17 -2
  451. package/stories/Skeleton/Skeleton.stories.jsx +36 -0
  452. package/stories/Spacer/Spacer.stories.jsx +38 -0
  453. package/stories/StackView/StackView.stories.jsx +75 -0
  454. package/stories/StackView/StackWrap.stories.jsx +64 -0
  455. package/stories/StepTracker/StepTracker.stories.jsx +71 -0
  456. package/stories/Tabs/Tabs.stories.jsx +97 -0
  457. package/stories/Tags/Tags.stories.jsx +69 -0
  458. package/stories/TextInput/TextArea.stories.jsx +100 -0
  459. package/stories/TextInput/TextInput.stories.jsx +103 -0
  460. package/stories/ToggleSwitch/ToggleSwitch.stories.jsx +16 -3
  461. package/stories/Tooltip/Tooltip.stories.jsx +81 -0
  462. package/stories/TooltipButton/TooltipButton.stories.jsx +11 -0
  463. package/stories/Typography/Typography.stories.jsx +12 -3
  464. package/stories/{platform-supports.web.jsx → platform-supports.jsx} +1 -1
  465. package/stories/supports.jsx +148 -14
  466. package/__fixtures__/accessible.icon.svg +0 -6
  467. package/docs/Contributing.stories.mdx +0 -9
  468. package/docs/Fonts.stories.mdx +0 -104
  469. package/docs/Icons.stories.mdx +0 -144
  470. package/docs/Introduction.stories.mdx +0 -9
  471. package/lib/ActivityIndicator/Spinner.web.js +0 -57
  472. package/lib/config/svgr-icons-web.js +0 -9
  473. package/lib/config/svgr-icons.js +0 -52
  474. package/src/config/svgr-icons-web.js +0 -11
  475. package/src/config/svgr-icons.js +0 -46
@@ -0,0 +1 @@
1
+ {"files":{"lib":"1642696726451.3376","node_modules":"1642696689547.3218","CHANGELOG.md":"5725f34237112908e7be4ec623e85aee7486c17b","README.md":"53209993cf731d14a6aec8ad24a75f2df0661aa8","__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/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":"262a79320201a15aef984fcf1cc6c6cf02c8744a","jest.config.js":"8fa824d22f579fd7ffa9c7bd9d83e59c2dee611e","package.json":"2dfec56cf119e7d5af8d0da574584cd07f734b2f","src/A11yInfoProvider/index.jsx":"79a84eef336aa678d2adfe290bfdb15aae94687e","src/A11yText/index.jsx":"8bc34f4cdb15fb64718e2d535592f598265326af","src/ActivityIndicator/Spinner.jsx":"42f0d695466b5312f5972d47d0b5803c3c5648f5","src/ActivityIndicator/Spinner.native.jsx":"c6c1f9985121ac8e5d511539f899d4bfb5a61f8c","src/ActivityIndicator/index.jsx":"15d219d42aef7f29e689086d4d82ac0e225cc611","src/ActivityIndicator/shared.js":"ca6120fee59f7a0986bb823cc92ad21966d7bb2e","src/BaseProvider/index.jsx":"14773240cde78b596fe391cc1ef2525d87e6b246","src/Box/Box.jsx":"af383addc35b95755e565c0f5f023ed4e9480fc3","src/Box/index.js":"280496403f647db4bb7d563109b72799b281c104","src/Button/Button.jsx":"c8df2c9f1782bdf8a6db47aad26470aec9158a00","src/Button/ButtonBase.jsx":"e0abf0714ad831daef1a4308411499e0df58122e","src/Button/ButtonGroup.jsx":"2bf465ec88549e73f4d8f8a32b523048ccd4b96f","src/Button/ButtonLink.jsx":"d12b6fde47c73eddceaa1afe9e7a53323df650a8","src/Button/index.js":"46aecee948aff0b9039676c156098100a3ee6033","src/Button/propTypes.js":"d1b001e897ba08c8a3c8a240c0d0214824ec6642","src/Card/Card.jsx":"3e04381c18604c4e839ecc50d776d1163679c2df","src/Card/CardBase.jsx":"bfc1b67184c466b1ffc70c4b18e60ad79050bb68","src/Card/PressableCardBase.jsx":"cb520219c79e3c3cf4e797a37df87ac85f87d0df","src/Card/index.js":"76bf74db2e39f45cd9b47d8e36052a93ec62f483","src/Checkbox/Checkbox.jsx":"932e8bbae9ce776177061c0fc4dbd8fa0a108a29","src/Checkbox/CheckboxGroup.jsx":"39a3f52c72661df8460dddd6eaddfb7a38c041db","src/Checkbox/CheckboxInput.jsx":"88d356f8287c502ecec4413ecfcd8ea231f271b6","src/Checkbox/CheckboxInput.native.jsx":"393cc6721b14ae67ec336ed94639ae764d4dd928","src/Checkbox/index.js":"958d04ebd9cd61c92316e5ce6f66647bcb45066b","src/Divider/Divider.jsx":"f517d4501df2f31b0cf6213089f54abf5d4c50ff","src/Divider/index.js":"fa2817652d45ec83ae079679fb5a8c9eb786fc43","src/ExpandCollapse/Accordion.jsx":"382109f00c5ceed895e0ca6cc08bb21725645af9","src/ExpandCollapse/Control.jsx":"8d9717041db7711191ee3a31b9428a53bd3b8824","src/ExpandCollapse/ExpandCollapse.jsx":"74f6f110fb21ed6ff40dc163a984ebd76d9c6428","src/ExpandCollapse/Panel.jsx":"5fc072a8ea0db6e2f09af443eaf002ec805380ac","src/ExpandCollapse/index.js":"e553901efa8408d1753ecc329ea1361e57084199","src/Feedback/Feedback.jsx":"b516ef8ebe0256913f8d7fca915000054e310e1b","src/Feedback/index.js":"a1181a81414ebd8797eb48975b1a377319de4ad2","src/Fieldset/Fieldset.jsx":"b70e66c7e851d0a7342bf898a6389c2158e514fc","src/Fieldset/FieldsetContainer.jsx":"b716b18a7490401009c6fb827f1c8d20eedc9fcc","src/Fieldset/FieldsetContainer.native.jsx":"d4376c53c48f67628b7b3ec908298ca15611b713","src/Fieldset/Legend.jsx":"92387a2321381ecc2c2f305bc7d6f47dfdc93558","src/Fieldset/Legend.native.jsx":"5416181ee5aeb034ed9350c9f6370fb3a6a53e12","src/Fieldset/cssReset.js":"6532e6e410e70d2ef566d75e252615f9a9ca6bb9","src/Fieldset/index.js":"cc6c5bc097a0f7f1437637ebf285480bffeb71b4","src/FlexGrid/Col/Col.jsx":"84ed0037b3b7844b45eb78648b993020846b8744","src/FlexGrid/Col/index.js":"a5e8b19d6f2f0cf20635a9407421bd2448f22a55","src/FlexGrid/FlexGrid.jsx":"a885fa3328f796e0624a5158baa8b378265d8fde","src/FlexGrid/Row/Row.jsx":"c6993dd57024baffb5c2f6d54534ae5ab2c39ae7","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":"688fd0bce41e28612afc5f128260b5910258e112","src/HorizontalScroll/HorizontalScrollButton.jsx":"177794a6c766df67791c2f03c038b67cb82c44a2","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":"7b638e4dcf00e1b2f5b2aecb09610119cf0e973f","src/Icon/IconText.jsx":"32f0cd29e0a8364f33b7525f7cc7bb6612eaed14","src/Icon/index.js":"bd961bc6eb1602d8e0cf77bad71a2c9e6d084d1e","src/IconButton/IconButton.jsx":"abf12c94060c6f3c8082fea55be083dd3e22b297","src/IconButton/index.js":"a719cd42817fa7f7922a2a18f679163da2ab923b","src/InputLabel/InputLabel.jsx":"a2797491937df7094b1a0a378abf4b7654c144c5","src/InputLabel/LabelContent.jsx":"a6fbd3bbfd4ebabff44c8ee98dc4174ff399d595","src/InputLabel/LabelContent.native.jsx":"ca05199ac6793615fbe65f19a30ec4145a0303d1","src/InputLabel/index.js":"d73f3f71f8afdaa74b4e8f0905f9f9b8815c89b1","src/InputSupports/InputSupports.jsx":"e62278cd4b73b5306a9f7305f827144a18deba0a","src/InputSupports/index.js":"5173f3d29b1d427836b20906608fc7e2fdb6bb17","src/InputSupports/propTypes.js":"e66e0dad9ed1931416b57ffc996daba1d5c125e5","src/InputSupports/useInputSupports.js":"7b926bb247864737a1223acf79b6d2308d306bc9","src/Link/ChevronLink.jsx":"acd2363f419abfa8c60c5813ae02e0a7b269ee28","src/Link/InlinePressable.jsx":"a55d82e1428ff56cbef68e4d6a177298fd61ecd0","src/Link/InlinePressable.native.jsx":"995bf9c884c972cafa0b33564efb57c9504d9e57","src/Link/Link.jsx":"71869fd0b1458b8b3b9bca11e7861731d632abbb","src/Link/LinkBase.jsx":"e1f363c4ccd085c630076971d24d7fc71e1ec512","src/Link/TextButton.jsx":"a56911d540d4e071579674cdd710694fdc701fff","src/Link/index.js":"09d2787b9253295551e08326120969635c040b7a","src/List/List.jsx":"2d4c1581095e2e1ae723ba25da66b31f82f088e7","src/List/ListItem.jsx":"0d858373b0af54af73ec5f58df40e809a0acb506","src/List/index.js":"6cd88f9e42f35d8494a0a273250b3f349c88acbe","src/Modal/Modal.jsx":"3244f882442ee8e48ff42d6dc52a6eff17ff891d","src/Modal/dictionary.js":"c5bebd7b63fa826f93df3f61d0950b010890a6d0","src/Modal/index.js":"498702f472940b1d7a8b6b29797bbea308209e1d","src/Notification/Notification.jsx":"e317e2e9341dce81950269bd27ab5489d00f6f9f","src/Notification/dictionary.js":"c7e14273e5253a3e8ce1e11879630ad29ad5108c","src/Notification/index.js":"21d57835b505d7198076398e5ea6309a61299f40","src/Pagination/PageButton.jsx":"8ae6da269138528634cc4d18480c168c023db205","src/Pagination/Pagination.jsx":"9d0aa65dc4acf042751ab252e1c46dd5b6df0ada","src/Pagination/SideButton.jsx":"26f6191ab6db248175a065744764ce5fb5870b0c","src/Pagination/dictionary.js":"ccfb5733071adfd9b8a067f407627461dce68a9a","src/Pagination/index.js":"1466412190cfefc75aaa042004374f9f19505c64","src/Pagination/usePagination.js":"ca67794bd989d870a9bf68acbdf4d847e19a0ded","src/Progress/Progress.jsx":"2ef6425cad7ce53947ee2deefea37f7ae2564c86","src/Progress/ProgressBar.jsx":"0f329b4d8a59f04520af41481c5e71139afaccb2","src/Progress/ProgressBarBackground.jsx":"01279e59a5b2d70b55b5ff355d1b4e404170d5f8","src/Progress/index.js":"9a98c968b708cc86d9c6f00415faede75cfadb85","src/Radio/Radio.jsx":"959f774edd3c080803ca95690190a9eca08976ec","src/Radio/RadioButton.jsx":"37ae90c39876eb85432cb922a6d65657f9b7b5b2","src/Radio/RadioGroup.jsx":"a9a40a0904a72aaf6eb2f3cb43e95b88a5ce0f18","src/Radio/RadioInput.jsx":"a0a8e4bc2d483d79b2ff91e15da582054ba38370","src/Radio/RadioInput.native.jsx":"227eb3d2893549ba6a7a12a3f0d9a5b0ba9a5df8","src/Radio/index.js":"07a6f7d8302f7942705766fb11034a4bd1ef9a32","src/RadioCard/RadioCard.jsx":"207626275e9dce055d002870a26635f2f435b3b9","src/RadioCard/RadioCardGroup.jsx":"3350c279b6b5f761b7cabf8455ea547f3cba40b4","src/RadioCard/index.js":"98c5762ea92a4c3cd014d9aa29935d67da4a2433","src/Search/Search.jsx":"2c7f7107e409f55fc0d8a29fa833775e3977c5b0","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":"e88d80258ecc29f4fd2772da9724d517275c216e","src/Select/Picker.native.jsx":"855f07c1f7e6f753623f28e4e52a2d79da863e67","src/Select/Select.jsx":"e96ad9d69786dc4ae3a6ad79bf9afb081d7c15b1","src/Select/index.js":"7169081eb3d414a76095b7f44c0f64460b7cd53e","src/SideNav/Item.jsx":"91ea090a00ebd3241ab7f040a377bcc06c78e92b","src/SideNav/ItemContent.jsx":"fd1d090470a79fedb8c991204c20668497e2e372","src/SideNav/ItemsGroup.jsx":"3da969daa7b6fe5aacdcb0fcd0ca6aedc0834ecf","src/SideNav/SideNav.jsx":"887f59e0dd53f1ff0ce3aa50ac4f5219e3ba784f","src/SideNav/index.js":"07bd001f3d51fcb378612a8f52ec51e0d37f207c","src/Skeleton/Skeleton.jsx":"de4d89173150e171cf1fc6781bbf0bc4e3070330","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":"7591757948f1294a4c0f5e7dff3bdcf05b2ae30e","src/Spacer/index.js":"2674e6f47037b82fa9587b2cbb081dcbe42b506c","src/StackView/StackView.jsx":"07fd6d8ec1f9bb037b3fd7966ef79c4a1f65f6af","src/StackView/StackWrap.jsx":"6777b9d75a815576d1afa51fa4b216d4b945e2f4","src/StackView/StackWrap.native.jsx":"44fc5973fea70b528b3597519a4d0aec9fdd323d","src/StackView/StackWrapBox.jsx":"282e92fbbcdc86eb5b02d4b00300820bd5065f4d","src/StackView/StackWrapGap.jsx":"5ab7601d2cc194ae4acf5176f3fce4da550e9b6f","src/StackView/common.jsx":"be957949c9c5a4be81a37ee9902e8016b6f2b4a1","src/StackView/getStackedContent.jsx":"152e653f7a59e269a4a421296480ee3f00bee2cb","src/StackView/index.js":"8a3ad6ded46712f67e5a520220bdfee60cd262ed","src/StepTracker/Step.jsx":"050dfe88582d6879cc012c6a9d8940f5beea93ba","src/StepTracker/StepTracker.jsx":"07e941a8a23c92d84c7b5f1e7ddaa22efb8a2f4a","src/StepTracker/dictionary.js":"7a3e206b5be7ca14f9b6e6b0ab056ee733faabcd","src/StepTracker/index.js":"fd6442c015d6d61aba70553b3f6ddae3a45b5fc6","src/Tabs/Tabs.jsx":"e6a12db3e6c02498c77e94db295e60eac68aa197","src/Tabs/TabsItem.jsx":"5d5ca1679e7c39228dc87c372638a23cf7611736","src/Tabs/index.js":"d094ea3406d681aed9787075e4dcc6489aca99ab","src/Tags/Tags.jsx":"5eb98f7b9c5ea84c9b9d4f945714f31e2a5cd4a9","src/Tags/index.js":"ad96785c7165bd33a85b0b2589292098e2baf6ca","src/TextInput/TextArea.jsx":"60aa9869b8aa923fdd1cf976215b26ea10a78ee3","src/TextInput/TextInput.jsx":"8d5d320ac09ad6db771c695e5c272277dd6e2100","src/TextInput/TextInputBase.jsx":"331bc44ffa3b60ce54d5e1697706fa592610e624","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":"72f3567fcc576ca65ad0dabe191052bab2bfb8ec","src/ToggleSwitch/index.js":"e64f52f7b34559f2fda37c9c6d389aa93f9dd0ab","src/Tooltip/Backdrop.jsx":"f4fb660b21350756247e8c4cdd01614dceb071f7","src/Tooltip/Backdrop.native.jsx":"dafa102a533f3b4ad0c97900c340f9b70414a3f8","src/Tooltip/Tooltip.jsx":"82010507e0b1257c3c0d2fc6b617692c461dca4f","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":"acafeee3153c57a0207d37333a522c7bfe329080","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":"24f209e1d8999abd186fc86a002275b8be9f852f","src/utils/a11y/index.js":"d4e9fc105374821fb29b3e6bd9befc971b9f946b","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":"420745b93f1f22d182af81cb8f52840b0537377a","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":"06dbc198dccf05309eb9f991884b050462a06de0","stories/ActivityIndicator/ActivityIndicator.stories.jsx":"d64e822e56629900677fd4d630f3f5609d5b449e","stories/Box/Box.stories.jsx":"facdb8b9c831bcfbe20d5f7274405febd7c7ea4e","stories/Button/Button.stories.jsx":"8a89aad8d0eca38bc23f83e8e98ff41a492d91b7","stories/Button/ButtonGroup.stories.jsx":"c789e0cae74ec586ad89cba0cdf981e7a8f47d8c","stories/Button/ButtonLink.stories.jsx":"3a74a862fa232243f79c0f7392da7b0ffe2fae1b","stories/Card/Card.stories.jsx":"e2e836873c4a2860533f9414e9135d9b1fe4bae6","stories/Checkbox/Checkbox.stories.jsx":"623f5f2600490c5ec1fef2d6b2e2bac15bacbd0d","stories/Divider/Divider.stories.jsx":"915e48a437371c7b0a9c5e3217bfb7472a1dc60f","stories/ExpandCollapse/ExpandCollapse.stories.jsx":"0202d99e1b6261b2982f298d9c4ff19497bf9d39","stories/Feedback/Feedback.stories.jsx":"aa681938edb512626fdcf870b93729ead7988cc9","stories/FlexGrid/01 FlexGrid.stories.jsx":"2a167c821373be06f3711dda96ffb2a3a2359b6a","stories/FlexGrid/02 Row.stories.jsx":"6080fd863e2b8a1937910a5542ebfa1c5c785354","stories/FlexGrid/03 Col.stories.jsx":"275468c54dc745607b666743922e0fda2620ecfe","stories/Icon/Icon.stories.jsx":"4f4562a5e3ede26d60778d5d23b506402802e2a6","stories/IconButton/IconButton.stories.jsx":"a719e5caa45ff4422243774e412228cf497523e4","stories/InputLabel/InputLabel.stories.jsx":"d617e10f6d4103d5cf68c7ec298511870038ae81","stories/Link/ChevronLink.stories.jsx":"0e57c45603f49430bcc6413789e6707a343ec350","stories/Link/Link.stories.jsx":"0bdd2c2a33c3bc46ad42bf156adc4c138d6b0770","stories/Link/TextButton.stories.jsx":"b12469c061f4672904bea80d9e78afcef6385551","stories/List/List.stories.jsx":"020a87ad7ec1bf6b4feaabfdaa367a6b1432bbce","stories/Modal/Modal.stories.jsx":"9251f7cc1a3087b6407aceda5f0ecf277532f1ff","stories/Notification/Notification.stories.jsx":"7e7d0e0af09017dce8d9bbf2d2d631cd0c76ee84","stories/Pagination/Pagination.stories.jsx":"b2101af449f199f03b0eae520d8ae52557484eb5","stories/Progress/Progress.stories.jsx":"e20b7fb0dc12b06044bc5670e55f1e14422586f5","stories/Radio/Radio.stories.jsx":"afa8390003bf7318b3388bc31cfb504de5da5c99","stories/RadioCard/RadioCard.stories.jsx":"12acafccd9b754dea81e336f54cecfa6db38cb59","stories/Search/Search.stories.jsx":"a28efe6a293d80f717ec149792e90d2ec1e8162f","stories/Select/Select.stories.jsx":"8d73fb9850834d4c837221ef028fa3c7fed124a8","stories/SideNav/SideNav.stories.jsx":"36f98572fa651be8db6d8f3633cef8d5db2221e6","stories/SideNav/SideNavItem.stories.jsx":"a9bf9189f7c8c2c322ffc291eaab24e00259e9da","stories/SideNav/SideNavItemsGroup.stories.jsx":"316adeb93421a258792b0810cf1cb8ca43384453","stories/Skeleton/Skeleton.stories.jsx":"e517538b89ff539b196712dbcaebb45e11004833","stories/Spacer/Spacer.stories.jsx":"151762f905deaadf7396369329633f3b69aaba26","stories/StackView/StackView.stories.jsx":"e7d9b663dc64996d86aa5c62fb74c587bca13b82","stories/StackView/StackWrap.stories.jsx":"38f73364c6fead41694e9f9d6b36f9ffc4f34e66","stories/StepTracker/StepTracker.stories.jsx":"c40dc2265e5b37f58a621eae1f2509eaa35b5eee","stories/Tabs/Tabs.stories.jsx":"85458254c44deea12caa178511e4bf15a8195f18","stories/Tags/Tags.stories.jsx":"370c180758881efab1ac3966fe7a39cd2904b593","stories/TextInput/TextArea.stories.jsx":"02d62f5de6582aad07f9add961af22adfa7814c9","stories/TextInput/TextInput.stories.jsx":"26fd05b15e02bf265670310d52e82c97a0f50341","stories/ToggleSwitch/ToggleSwitch.stories.jsx":"a473e05d4f5938d2835e21c28a5b6da5db582515","stories/Tooltip/Tooltip.stories.jsx":"e03b7c0ce05ba537ab2582bd26217230c47d0fc0","stories/TooltipButton/TooltipButton.stories.jsx":"81b9f4f91f3e29ffc1f70b20b61cd54b7be38551","stories/Typography/Typography.stories.jsx":"3b3bf6c8b6bb6272ffc41a4fbd9c2365cf14ca82","stories/platform-supports.jsx":"1e6f6f8fd3e09f99fe667cc46d86c7da50b399e4","stories/platform-supports.native.jsx":"fcfbb23b926b3440b0f684119832a388e880bd82","stories/supports.jsx":"07523b43ff784f8a95c0f8c9b74e1c10e57fd5e3"},"deps":{"@telus-uds/system-constants":1642696720967.3352,"@telus-uds/system-theme-tokens":1642696721075.3352}}
package/CHANGELOG.md CHANGED
@@ -2,6 +2,126 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.2-prerelease.10](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.9...@telus-uds/components-base/v0.0.2-prerelease.10) (2022-01-20)
6
+
7
+ ### Features
8
+
9
+ - **base:** add flex prop to Box ([#1066](https://github.com/telus/universal-design-system/issues/1066)) ([83c6df6](https://github.com/telus/universal-design-system/commit/83c6df6f2c4c4c4713b55f336e4f977b1611b00d))
10
+ - **base:** pass event objects to onChange handlers ([#1143](https://github.com/telus/universal-design-system/issues/1143)) ([b46e485](https://github.com/telus/universal-design-system/commit/b46e485d867bc9d1d8288a7d30a262b79edc588e))
11
+ - **base:** validate theme token version ([#1067](https://github.com/telus/universal-design-system/issues/1067)) ([b853f78](https://github.com/telus/universal-design-system/commit/b853f7883543264ebd649f323f10bf714dbdea08))
12
+ - **ds-allium:** add `DatePicker` component ([#1015](https://github.com/telus/universal-design-system/issues/1015)) ([43e8fcf](https://github.com/telus/universal-design-system/commit/43e8fcf795524b05229cb98503732d61ffaafff8))
13
+ - **ds-allium:** add `VideoPicker` component ([#970](https://github.com/telus/universal-design-system/issues/970)) ([d9e29c7](https://github.com/telus/universal-design-system/commit/d9e29c70519a80d2690a6c0ca0a9b43ee15cd898))
14
+
15
+ ### Bug Fixes
16
+
17
+ - **base:** decouple system-themes ([#1134](https://github.com/telus/universal-design-system/issues/1134)) ([0665dea](https://github.com/telus/universal-design-system/commit/0665dea77bd7844ed34d0affff6e2edf5e7c7768))
18
+ - **base:** fix issues found doing Link/Button docs ([#1084](https://github.com/telus/universal-design-system/issues/1084)) ([0047323](https://github.com/telus/universal-design-system/commit/0047323af561e93359f117a5641cf1ed94993411))
19
+ - **base:** let components get `href` && `onPress` ([#1122](https://github.com/telus/universal-design-system/issues/1122)) ([f643657](https://github.com/telus/universal-design-system/commit/f64365785cc519b8c7312321dcebf79ca81262f6))
20
+ - **base:** make the semantic label cursor inherit its styling ([#1126](https://github.com/telus/universal-design-system/issues/1126)) ([0d9e6de](https://github.com/telus/universal-design-system/commit/0d9e6de7b0da9f60e3156719e043d4b4d01fe819))
21
+ - correct prop name and exports for group/fieldsets ([#1104](https://github.com/telus/universal-design-system/issues/1104)) ([ca45a37](https://github.com/telus/universal-design-system/commit/ca45a37b8d5cced62e542ed908dfa12778cbd767))
22
+ - **docs:** fix `Pagination` docs crashing in prod ([#1075](https://github.com/telus/universal-design-system/issues/1075)) ([e449542](https://github.com/telus/universal-design-system/commit/e449542d4309f0b2bf8d9f9636a37cb0cd5a5b4f))
23
+
24
+ ### [0.0.2-prerelease.9](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.8...@telus-uds/components-base/v0.0.2-prerelease.9) (2021-12-29)
25
+
26
+ ### Features
27
+
28
+ - **base:** implement IconButton ([#958](https://github.com/telus/universal-design-system/issues/958)) ([c3ff7dd](https://github.com/telus/universal-design-system/commit/c3ff7dd9fb76123d3ff8409e507c89ad91b7fef2))
29
+
30
+ ### [0.0.2-prerelease.8](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.7...@telus-uds/components-base/v0.0.2-prerelease.8) (2021-12-15)
31
+
32
+ ### Features
33
+
34
+ - **base:** add `ProgressBar` component ([#890](https://github.com/telus/universal-design-system/issues/890)) ([b98315c](https://github.com/telus/universal-design-system/commit/b98315cc7dabb2c7130c62c9c3bbf6fdfb7419a0))
35
+ - **base:** add `Tabs` component ([#908](https://github.com/telus/universal-design-system/issues/908)) ([073bbd2](https://github.com/telus/universal-design-system/commit/073bbd2a0b4282112aa434f8e97e505fa8b4b92f))
36
+ - **base:** add base `StepTracker` component ([#800](https://github.com/telus/universal-design-system/issues/800)) ([aa7d472](https://github.com/telus/universal-design-system/commit/aa7d47297c1d9ba13daef60b5184ead07b95cd52))
37
+ - **base:** add Group fieldsets for RadioCard, Radio, Checkbox ([#875](https://github.com/telus/universal-design-system/issues/875)) ([4b99987](https://github.com/telus/universal-design-system/commit/4b999872714144b643f676d3d473369d605b3eea))
38
+ - **base:** add Notification ([#848](https://github.com/telus/universal-design-system/issues/848)) ([ee6a83e](https://github.com/telus/universal-design-system/commit/ee6a83e05dc991acef3b9449f78c17d43d63b248))
39
+ - **base:** add RadioCard and PressableCardBase ([#865](https://github.com/telus/universal-design-system/issues/865)) ([55c6fa2](https://github.com/telus/universal-design-system/commit/55c6fa293f2fa09499aed763910d3791eefbc4a1))
40
+ - **base:** add the Modal component ([#878](https://github.com/telus/universal-design-system/issues/878)) ([431d4cd](https://github.com/telus/universal-design-system/commit/431d4cd2c1a7f4ce30b453d437b9f5d7b69fd251))
41
+ - **base:** add the Search component ([#798](https://github.com/telus/universal-design-system/issues/798)) ([7b974df](https://github.com/telus/universal-design-system/commit/7b974df12d2bf0cb94b6360091bac8ac57dd7245))
42
+ - **base:** handle `Tabs` hashes, with `useHash` ([#910](https://github.com/telus/universal-design-system/issues/910)) ([8ad6507](https://github.com/telus/universal-design-system/commit/8ad65072c249e8439e7d1c7e55fee535a5f30b4e))
43
+ - **ds-allium:** `PriceLockup` implmementation ([#858](https://github.com/telus/universal-design-system/issues/858)) ([8669b9e](https://github.com/telus/universal-design-system/commit/8669b9e3f80261bd18962dfba5d774c90a5f4ebb))
44
+ - **ds-allium:** add `StoryCard` component ([#880](https://github.com/telus/universal-design-system/issues/880)) ([6f0616d](https://github.com/telus/universal-design-system/commit/6f0616dc761cbdcf470bc2505d773eb362bf800e))
45
+ - **ds-allium:** add Modal content types ([#896](https://github.com/telus/universal-design-system/issues/896)) ([f070447](https://github.com/telus/universal-design-system/commit/f070447fc796139046a96892aab34b74bc1974a4))
46
+ - **ds-allium:** add SubNavigation ([#931](https://github.com/telus/universal-design-system/issues/931)) ([834ee7b](https://github.com/telus/universal-design-system/commit/834ee7bbe811ea8477ac4870466ae573d73e3a8f))
47
+ - use built icons ([#809](https://github.com/telus/universal-design-system/issues/809)) ([120802e](https://github.com/telus/universal-design-system/commit/120802e11bcb4352b9d2e171525f6dc5b687c023))
48
+
49
+ ### Bug Fixes
50
+
51
+ - **base:** add outer border to Radio, extract RadioButton ([#847](https://github.com/telus/universal-design-system/issues/847)) ([b563335](https://github.com/telus/universal-design-system/commit/b563335087fbfffe6739ad185fe4fc7886ef4e4d))
52
+ - **base:** fix Tags icon, update Allium Tags/ButtonGroup ([#888](https://github.com/telus/universal-design-system/issues/888)) ([6d6ff35](https://github.com/telus/universal-design-system/commit/6d6ff35caba4c9c6c99eacf015be56e8862ad170))
53
+ - **components-base:** Remove named import of json file ([#930](https://github.com/telus/universal-design-system/issues/930)) ([9db1cbe](https://github.com/telus/universal-design-system/commit/9db1cbe501d3c049f1f6476720a3ee9bd8b4d736))
54
+ - fix storybook error from proptypes ([#857](https://github.com/telus/universal-design-system/issues/857)) ([175537a](https://github.com/telus/universal-design-system/commit/175537a6ac4b48699f66b1a59eb35910cbf9930b))
55
+ - update test theme icons + cleanup ds-allium icon usage ([#860](https://github.com/telus/universal-design-system/issues/860)) ([c2c0a84](https://github.com/telus/universal-design-system/commit/c2c0a84914eed9dafaf47acca30e1f5119f19e57))
56
+
57
+ ### [0.0.2-prerelease.7](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.6...@telus-uds/components-base/v0.0.2-prerelease.7) (2021-11-23)
58
+
59
+ ### Features
60
+
61
+ - **base:** add `Radio` button ([#731](https://github.com/telus/universal-design-system/issues/731)) ([ad1613c](https://github.com/telus/universal-design-system/commit/ad1613c547fe3b0cdf1490a92267f32045356133))
62
+ - **base:** add base `Checkbox` component ([#706](https://github.com/telus/universal-design-system/issues/706)) ([a3fa01a](https://github.com/telus/universal-design-system/commit/a3fa01ad0da342be02c15284a103c22d7b315ae9))
63
+ - **base:** add Tags component ([#785](https://github.com/telus/universal-design-system/issues/785)) ([90bbf40](https://github.com/telus/universal-design-system/commit/90bbf4035a0bc0a8cdf319d9b366c8498c0dfb56))
64
+ - **base:** add TextArea ([#720](https://github.com/telus/universal-design-system/issues/720)) ([b18cae3](https://github.com/telus/universal-design-system/commit/b18cae3357375019ecc4e24e78ed9a2345b26139))
65
+ - **base:** add the Select component ([#759](https://github.com/telus/universal-design-system/issues/759)) ([9cfdf84](https://github.com/telus/universal-design-system/commit/9cfdf846b7a273dd140537b60e08f30a70c13a66))
66
+ - **base:** adding list component ([#296](https://github.com/telus/universal-design-system/issues/296)) ([#703](https://github.com/telus/universal-design-system/issues/703)) ([50e474d](https://github.com/telus/universal-design-system/commit/50e474d3d7f1988f5971a10be8416c8ac510626f))
67
+ - **base:** implementing base Skeleton component ([#770](https://github.com/telus/universal-design-system/issues/770)) ([1138f08](https://github.com/telus/universal-design-system/commit/1138f08885f4cf67fc0fb7273758d20cc0a989c1)), closes [#296](https://github.com/telus/universal-design-system/issues/296) [#296](https://github.com/telus/universal-design-system/issues/296) [#296](https://github.com/telus/universal-design-system/issues/296) [#296](https://github.com/telus/universal-design-system/issues/296) [#296](https://github.com/telus/universal-design-system/issues/296) [#296](https://github.com/telus/universal-design-system/issues/296) [#296](https://github.com/telus/universal-design-system/issues/296)
68
+
69
+ ### Bug Fixes
70
+
71
+ - **base:** adjust event handlers for checkbox / radio inputs on Web ([#820](https://github.com/telus/universal-design-system/issues/820)) ([87624d2](https://github.com/telus/universal-design-system/commit/87624d29166ce85aeaf7dc1db4dc5b60ecd170a5))
72
+ - **base:** fix button text alignment ([#794](https://github.com/telus/universal-design-system/issues/794)) ([9671087](https://github.com/telus/universal-design-system/commit/9671087477eb45b0d3c872b47f1d24cdd43a727f))
73
+ - **base:** various visual fixes for native/app ([#797](https://github.com/telus/universal-design-system/issues/797)) ([a00ab12](https://github.com/telus/universal-design-system/commit/a00ab124c40e1ea46441270acfd64ae0f37b0a68))
74
+ - export a11ytext [prerelease-components-base] ([#830](https://github.com/telus/universal-design-system/issues/830)) ([af627a2](https://github.com/telus/universal-design-system/commit/af627a2b4fa4cbf78983521bbb66b86ab9f87601))
75
+ - **jest:** pick .web files in -allium-web tests ([#765](https://github.com/telus/universal-design-system/issues/765)) ([e0b1bd5](https://github.com/telus/universal-design-system/commit/e0b1bd5edcc52b916685f8c5dcd8d2901d2ecdbd))
76
+
77
+ ### [0.0.2-prerelease.6](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.5...@telus-uds/components-base/v0.0.2-prerelease.6) (2021-11-08)
78
+
79
+ ### Features
80
+
81
+ - **base:** add Tooltip component ([#687](https://github.com/telus/universal-design-system/issues/687)) ([38aaad4](https://github.com/telus/universal-design-system/commit/38aaad43d664b76e85a264901df5e1ca045a0304))
82
+ - **base:** responsive directions with `useResponsiveProp` ([#677](https://github.com/telus/universal-design-system/issues/677)) ([b61e6a7](https://github.com/telus/universal-design-system/commit/b61e6a75159ce3fbd81758148ff8d10ab73cb409))
83
+
84
+ ### Bug Fixes
85
+
86
+ - **base:** fix Tooltip positioning when page scrollbar is rendered ([#728](https://github.com/telus/universal-design-system/issues/728)) ([c52167d](https://github.com/telus/universal-design-system/commit/c52167d94b1306749f2755ed2c4fb39bedd5dbf6))
87
+ - **base:** refresh viewport on first render, for SSR ([#712](https://github.com/telus/universal-design-system/issues/712)) ([b6288c0](https://github.com/telus/universal-design-system/commit/b6288c0e003a73f88e3fa5743ee085a767c53a0b))
88
+
89
+ ### [0.0.2-prerelease.5](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.4...@telus-uds/components-base/v0.0.2-prerelease.5) (2021-10-27)
90
+
91
+ ### Features
92
+
93
+ - **allium-web:** Add `ExpandCollapseMiniControl` component ([#661](https://github.com/telus/universal-design-system/issues/661)) ([227407e](https://github.com/telus/universal-design-system/commit/227407ec6a48c0a170b8e39761ba33293f13eb3c)), closes [#605](https://github.com/telus/universal-design-system/issues/605) [#605](https://github.com/telus/universal-design-system/issues/605) [#605](https://github.com/telus/universal-design-system/issues/605) [#605](https://github.com/telus/universal-design-system/issues/605) [#605](https://github.com/telus/universal-design-system/issues/605)
94
+ - **allium:** add Allium `Card` ([#639](https://github.com/telus/universal-design-system/issues/639)) ([f88179c](https://github.com/telus/universal-design-system/commit/f88179c503dfe574bf7bac6bb36ce4726a9af338))
95
+ - **base, allium:** add reverse directions and switch Allium card to using `StackView` ([#676](https://github.com/telus/universal-design-system/issues/676)) ([819a15f](https://github.com/telus/universal-design-system/commit/819a15f059faa47d1bc4e96c6370e9694effc003))
96
+ - **base:** add StackView and Spacer ([#662](https://github.com/telus/universal-design-system/issues/662)) ([cc3965e](https://github.com/telus/universal-design-system/commit/cc3965e83c1ec2fa0f0dd006a03eeeeda5384940))
97
+ - **base:** add StackWrap component ([#666](https://github.com/telus/universal-design-system/issues/666)) ([f34fb60](https://github.com/telus/universal-design-system/commit/f34fb60d0a923b1e4b3105c21b4a762b630ab309))
98
+ - **base:** add TextInput component ([#649](https://github.com/telus/universal-design-system/issues/649)) ([245c073](https://github.com/telus/universal-design-system/commit/245c073ed3ba3a022f989d234fbf5cf972edec25))
99
+ - **base:** add the Feedback component ([#656](https://github.com/telus/universal-design-system/issues/656)) ([5d7a5b6](https://github.com/telus/universal-design-system/commit/5d7a5b69c870ce1077adfdb230fddd1aa120b373))
100
+
101
+ ### Bug Fixes
102
+
103
+ - **base:** control stretch from a row parent ([#668](https://github.com/telus/universal-design-system/issues/668)) ([fa13c37](https://github.com/telus/universal-design-system/commit/fa13c37b2bd6b4118dbeb39bc2cdf59d13d5b151))
104
+ - **base:** fix icon link width in block container ([#645](https://github.com/telus/universal-design-system/issues/645)) ([ff60d1d](https://github.com/telus/universal-design-system/commit/ff60d1d1d0a66b7735b902098c7ca22e442265e1))
105
+
106
+ ### [0.0.2-prerelease.4](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.3...@telus-uds/components-base/v0.0.2-prerelease.4) (2021-10-13)
107
+
108
+ ### Bug Fixes
109
+
110
+ - same rnw dep specification for base as components-allium-web ([#642](https://github.com/telus/universal-design-system/issues/642)) ([d40a9a2](https://github.com/telus/universal-design-system/commit/d40a9a2eade0a6ab276f13d02758fff0a88c2ecd))
111
+
112
+ ### [0.0.2-prerelease.3](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.2...@telus-uds/components-base/v0.0.2-prerelease.3) (2021-10-12)
113
+
114
+ ### Features
115
+
116
+ - **base:** add `Card` component ([#597](https://github.com/telus/universal-design-system/issues/597)) ([9e29d3c](https://github.com/telus/universal-design-system/commit/9e29d3c426c7082ec4d54a0c9d353986c0cc0b01))
117
+ - **base:** add useSpacingScale hook, apply to Box ([#606](https://github.com/telus/universal-design-system/issues/606)) ([5109b4f](https://github.com/telus/universal-design-system/commit/5109b4f7537b8a732b86e34675bef992a54873e5))
118
+
119
+ ### [0.0.2-prerelease.2](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.1...@telus-uds/components-base/v0.0.2-prerelease.2) (2021-10-08)
120
+
121
+ ### Features
122
+
123
+ - **base:** add the Pagination component ([#577](https://github.com/telus/universal-design-system/issues/577)) ([e24b644](https://github.com/telus/universal-design-system/commit/e24b6441b3d31be01187c0cac728f2c8e25f5157))
124
+
5
125
  ### [0.0.2-prerelease.1](https://github.com/telus/universal-design-system/compare/@telus-uds/components-base/v0.0.2-prerelease.0...@telus-uds/components-base/v0.0.2-prerelease.1) (2021-10-04)
6
126
 
7
127
  ### Features
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
- # UDS BASE
1
+ # Base components
2
2
 
3
- > TODO fill me in
3
+ The UDS base components are a set of low level react-native components themed by UDS themes.
4
+
5
+ Refer to the [UDS monorepo README](../../README.md) for details.
@@ -0,0 +1,33 @@
1
+ // this is a copy of an autogenerated file
2
+ /* eslint-disable */
3
+
4
+ import * as React from 'react'
5
+
6
+ const Accessible = ({ title, titleId, size, color }) =>
7
+ /*#__PURE__*/ React.createElement(
8
+ 'svg',
9
+ {
10
+ viewBox: '0 0 24 24',
11
+ height: size,
12
+ width: size,
13
+ fill: color,
14
+ role: title ? 'img' : undefined,
15
+ 'aria-hidden': !title,
16
+ 'aria-labelledby': titleId
17
+ },
18
+ title
19
+ ? /*#__PURE__*/ React.createElement(
20
+ 'title',
21
+ {
22
+ id: titleId
23
+ },
24
+ title
25
+ )
26
+ : null,
27
+ /*#__PURE__*/ React.createElement('path', {
28
+ d: 'M4.231 12.257l.662.662a5.87 5.87 0 00-.982 3.235c0 1.585.618 3.078 1.74 4.2a5.903 5.903 0 004.2 1.739 5.839 5.839 0 002.991-.831l.242-.151.647.645c-1.167.81-2.517 1.244-3.88 1.244a6.83 6.83 0 01-4.845-2.003A6.805 6.805 0 013 16.154c0-1.315.378-2.568 1.067-3.65l.165-.247zm5.81-9.99c.178 0 .358.037.527.112l.175.093c.575.334 5.897 3.426 5.907 3.433.307.192.507.492.579.822.124.433.054.913-.22 1.3l-.1.125-2.68 2.738c.106.088.21.178.313.273l.166.162.014.016 5.136-.603.07-.002a1.3 1.3 0 011.3 1.265l-.004.14-.39 6.71a1.46 1.46 0 01-1.455 1.369l-.094-.003a1.456 1.456 0 01-1.362-1.41l.003-.141.337-4.465a.09.09 0 00-.09-.103l-1.71.3a6.86 6.86 0 01-.809 5.367l-.165.254-.66-.66a5.882 5.882 0 00.96-3.206 5.903 5.903 0 00-1.738-4.2 5.904 5.904 0 00-4.201-1.74c-1.06 0-2.073.291-2.966.813l-.24.148-.648-.648a6.827 6.827 0 012.94-1.156l.312-.035 2.507-2.778-1.5-.876L8.33 7.31a1.47 1.47 0 01-2.081.002c-.542-.542-.554-1.423-.078-2.008l.102-.112 2.902-2.596c.244-.217.552-.33.865-.33zm10.24 10.386c.096-.848-.406-.964-.75-.955l-.061.003-3.975.467c.223.338.41.701.576 1.073l.12.28 1.75-.308.077-.022.156-.004c.288 0 .562.125.754.34.15.174.236.392.246.618l-.003.136-.337 4.454a.541.541 0 00.136.389.536.536 0 00.287.171l.086.013c.289 0 .509-.18.567-.422l.015-.093.357-6.14zm-10.24-9.475a.387.387 0 00-.202.056l-.057.043L6.905 5.85c-.215.23-.222.607-.012.817a.558.558 0 00.725.057l.068-.058.027-.027 2.444-2.07 3.024 1.766-2.663 2.952a6.958 6.958 0 012.683.85l.31.183 2.727-2.784a.602.602 0 00.135-.46l-.02-.1-.013-.053a.385.385 0 00-.165-.241l-5.94-3.451a.38.38 0 00-.194-.053zM17.743 1c1.16 0 2.106.945 2.106 2.106a2.11 2.11 0 01-2.106 2.107 2.11 2.11 0 01-2.106-2.107c0-1.161.945-2.106 2.106-2.106zm0 .91a1.196 1.196 0 000 2.392 1.196 1.196 0 000-2.391z',
29
+ fillRule: 'evenodd'
30
+ })
31
+ )
32
+
33
+ export default Accessible
@@ -0,0 +1,32 @@
1
+ // this is a copy of an autogenerated file
2
+ /* eslint-disable */
3
+
4
+ import * as React from 'react'
5
+ import Svg, { Path } from 'react-native-svg'
6
+
7
+ const Accessible = ({ title, titleId, size, color }) =>
8
+ /*#__PURE__*/ React.createElement(
9
+ Svg,
10
+ {
11
+ viewBox: '0 0 24 24',
12
+ height: size,
13
+ width: size,
14
+ fill: color,
15
+ 'aria-labelledby': titleId
16
+ },
17
+ title
18
+ ? /*#__PURE__*/ React.createElement(
19
+ 'title',
20
+ {
21
+ id: titleId
22
+ },
23
+ title
24
+ )
25
+ : null,
26
+ /*#__PURE__*/ React.createElement(Path, {
27
+ d: 'M4.231 12.257l.662.662a5.87 5.87 0 00-.982 3.235c0 1.585.618 3.078 1.74 4.2a5.903 5.903 0 004.2 1.739 5.839 5.839 0 002.991-.831l.242-.151.647.645c-1.167.81-2.517 1.244-3.88 1.244a6.83 6.83 0 01-4.845-2.003A6.805 6.805 0 013 16.154c0-1.315.378-2.568 1.067-3.65l.165-.247zm5.81-9.99c.178 0 .358.037.527.112l.175.093c.575.334 5.897 3.426 5.907 3.433.307.192.507.492.579.822.124.433.054.913-.22 1.3l-.1.125-2.68 2.738c.106.088.21.178.313.273l.166.162.014.016 5.136-.603.07-.002a1.3 1.3 0 011.3 1.265l-.004.14-.39 6.71a1.46 1.46 0 01-1.455 1.369l-.094-.003a1.456 1.456 0 01-1.362-1.41l.003-.141.337-4.465a.09.09 0 00-.09-.103l-1.71.3a6.86 6.86 0 01-.809 5.367l-.165.254-.66-.66a5.882 5.882 0 00.96-3.206 5.903 5.903 0 00-1.738-4.2 5.904 5.904 0 00-4.201-1.74c-1.06 0-2.073.291-2.966.813l-.24.148-.648-.648a6.827 6.827 0 012.94-1.156l.312-.035 2.507-2.778-1.5-.876L8.33 7.31a1.47 1.47 0 01-2.081.002c-.542-.542-.554-1.423-.078-2.008l.102-.112 2.902-2.596c.244-.217.552-.33.865-.33zm10.24 10.386c.096-.848-.406-.964-.75-.955l-.061.003-3.975.467c.223.338.41.701.576 1.073l.12.28 1.75-.308.077-.022.156-.004c.288 0 .562.125.754.34.15.174.236.392.246.618l-.003.136-.337 4.454a.541.541 0 00.136.389.536.536 0 00.287.171l.086.013c.289 0 .509-.18.567-.422l.015-.093.357-6.14zm-10.24-9.475a.387.387 0 00-.202.056l-.057.043L6.905 5.85c-.215.23-.222.607-.012.817a.558.558 0 00.725.057l.068-.058.027-.027 2.444-2.07 3.024 1.766-2.663 2.952a6.958 6.958 0 012.683.85l.31.183 2.727-2.784a.602.602 0 00.135-.46l-.02-.1-.013-.053a.385.385 0 00-.165-.241l-5.94-3.451a.38.38 0 00-.194-.053zM17.743 1c1.16 0 2.106.945 2.106 2.106a2.11 2.11 0 01-2.106 2.107 2.11 2.11 0 01-2.106-2.107c0-1.161.945-2.106 2.106-2.106zm0 .91a1.196 1.196 0 000 2.392 1.196 1.196 0 000-2.391z',
28
+ fillRule: 'evenodd'
29
+ })
30
+ )
31
+
32
+ export default Accessible
@@ -0,0 +1,25 @@
1
+ // eslint-disable-next-line import/no-extraneous-dependencies
2
+ import { act } from '@testing-library/react-native'
3
+
4
+ // React Native Testing Library does not create or pass event objects on fireEvent,
5
+ // but fireEvent takes additional properties that are passed to the event handlers,
6
+ // where we can create and pass a mock event object to the handler.
7
+ // WARNING: these are passed even if the real RN prop doesn't pass events (e.g onChangeText).
8
+ // https://github.com/callstack/react-native-testing-library/issues/714
9
+ export const getMockEvent = (nativeEvent, eventProps = {}) => ({ nativeEvent, ...eventProps })
10
+
11
+ // React Native Testing Library does not support TextInput's onChange.
12
+ // fireEvent.changeText incorrectly calls onChangeText handlers only.
13
+ // https://github.com/callstack/react-native-testing-library/issues/428
14
+ export const fireChange = (input, text) => {
15
+ if (!input?.props?.onChange) {
16
+ throw new Error(
17
+ `Called fireChange on ${
18
+ !input
19
+ ? input
20
+ : `${typeof input} without ${!input.props ? 'props' : 'onChange handler function'}`
21
+ }`
22
+ )
23
+ }
24
+ act(() => input.props.onChange(getMockEvent({ text })))
25
+ }