@telus-uds/components-base 1.8.1 → 1.8.2

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 (365) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/component-docs.json +682 -675
  3. package/lib/A11yInfoProvider/index.js +4 -3
  4. package/lib/A11yText/index.js +6 -5
  5. package/lib/ActivityIndicator/Spinner.js +7 -6
  6. package/lib/ActivityIndicator/Spinner.native.js +8 -6
  7. package/lib/ActivityIndicator/index.js +6 -5
  8. package/lib/ActivityIndicator/shared.js +1 -1
  9. package/lib/BaseProvider/index.js +13 -10
  10. package/lib/Box/Box.js +20 -19
  11. package/lib/Button/Button.js +7 -6
  12. package/lib/Button/ButtonBase.js +95 -77
  13. package/lib/Button/ButtonGroup.js +33 -31
  14. package/lib/Button/ButtonLink.js +9 -7
  15. package/lib/Button/index.js +4 -4
  16. package/lib/Button/propTypes.js +1 -1
  17. package/lib/Card/Card.js +8 -7
  18. package/lib/Card/CardBase.js +35 -31
  19. package/lib/Card/PressableCardBase.js +14 -12
  20. package/lib/Checkbox/Checkbox.js +96 -82
  21. package/lib/Checkbox/CheckboxGroup.js +27 -25
  22. package/lib/Checkbox/CheckboxInput.js +12 -10
  23. package/lib/Divider/Divider.js +8 -7
  24. package/lib/ExpandCollapse/Control.js +42 -36
  25. package/lib/ExpandCollapse/ExpandCollapse.js +11 -10
  26. package/lib/ExpandCollapse/Panel.js +27 -23
  27. package/lib/Feedback/Feedback.js +48 -35
  28. package/lib/Fieldset/Fieldset.js +16 -15
  29. package/lib/Fieldset/FieldsetContainer.js +16 -13
  30. package/lib/Fieldset/FieldsetContainer.native.js +11 -8
  31. package/lib/Fieldset/Legend.js +10 -7
  32. package/lib/Fieldset/Legend.native.js +10 -7
  33. package/lib/FlexGrid/Col/Col.js +17 -16
  34. package/lib/FlexGrid/FlexGrid.js +15 -14
  35. package/lib/FlexGrid/Row/Row.js +13 -12
  36. package/lib/HorizontalScroll/HorizontalScroll.js +25 -20
  37. package/lib/HorizontalScroll/HorizontalScrollButton.js +18 -14
  38. package/lib/HorizontalScroll/ScrollViewEnd.js +6 -5
  39. package/lib/HorizontalScroll/ScrollViewEnd.native.js +12 -9
  40. package/lib/HorizontalScroll/itemPositions.js +19 -13
  41. package/lib/Icon/Icon.js +10 -9
  42. package/lib/Icon/IconText.js +8 -7
  43. package/lib/Icon/index.js +5 -5
  44. package/lib/IconButton/IconButton.js +50 -42
  45. package/lib/InputLabel/InputLabel.js +37 -30
  46. package/lib/InputLabel/LabelContent.js +12 -9
  47. package/lib/InputLabel/LabelContent.native.js +9 -6
  48. package/lib/InputSupports/InputSupports.js +11 -10
  49. package/lib/InputSupports/useInputSupports.js +7 -6
  50. package/lib/Link/ChevronLink.js +9 -8
  51. package/lib/Link/InlinePressable.js +13 -10
  52. package/lib/Link/InlinePressable.native.js +20 -16
  53. package/lib/Link/Link.js +10 -9
  54. package/lib/Link/LinkBase.js +96 -78
  55. package/lib/Link/TextButton.js +9 -8
  56. package/lib/List/List.js +9 -7
  57. package/lib/List/ListItem.js +99 -74
  58. package/lib/Modal/Modal.js +72 -59
  59. package/lib/Notification/Notification.js +46 -33
  60. package/lib/Pagination/PageButton.js +11 -10
  61. package/lib/Pagination/Pagination.js +39 -28
  62. package/lib/Pagination/SideButton.js +21 -18
  63. package/lib/Pagination/usePagination.js +5 -4
  64. package/lib/Progress/Progress.js +23 -19
  65. package/lib/Progress/ProgressBar.js +23 -19
  66. package/lib/Progress/ProgressBarBackground.js +4 -3
  67. package/lib/Radio/Radio.js +79 -68
  68. package/lib/Radio/RadioButton.js +63 -53
  69. package/lib/Radio/RadioGroup.js +28 -26
  70. package/lib/Radio/RadioInput.js +12 -10
  71. package/lib/RadioCard/RadioCard.js +15 -14
  72. package/lib/RadioCard/RadioCardGroup.js +28 -26
  73. package/lib/Search/Search.js +51 -31
  74. package/lib/Select/Group.js +5 -4
  75. package/lib/Select/Group.native.js +4 -3
  76. package/lib/Select/Item.js +10 -7
  77. package/lib/Select/Item.native.js +1 -9
  78. package/lib/Select/Picker.js +16 -15
  79. package/lib/Select/Picker.native.js +49 -38
  80. package/lib/Select/Select.js +134 -113
  81. package/lib/SideNav/Item.js +39 -33
  82. package/lib/SideNav/ItemContent.js +15 -12
  83. package/lib/SideNav/ItemsGroup.js +13 -11
  84. package/lib/SideNav/SideNav.js +19 -16
  85. package/lib/Skeleton/Skeleton.js +60 -44
  86. package/lib/Skeleton/skeleton.constant.js +1 -1
  87. package/lib/Spacer/Spacer.js +6 -5
  88. package/lib/StackView/StackView.js +12 -11
  89. package/lib/StackView/StackWrap.js +2 -2
  90. package/lib/StackView/StackWrapBox.js +12 -11
  91. package/lib/StackView/StackWrapGap.js +11 -10
  92. package/lib/StackView/common.js +14 -11
  93. package/lib/StackView/getStackedContent.js +8 -7
  94. package/lib/StackView/index.js +1 -1
  95. package/lib/StepTracker/Step.js +122 -103
  96. package/lib/StepTracker/StepTracker.js +48 -38
  97. package/lib/Tabs/Tabs.js +29 -24
  98. package/lib/Tabs/TabsItem.js +79 -68
  99. package/lib/Tags/Tags.js +67 -61
  100. package/lib/TextInput/TextArea.js +26 -20
  101. package/lib/TextInput/TextInput.js +20 -15
  102. package/lib/TextInput/TextInputBase.js +74 -62
  103. package/lib/TextInput/index.js +4 -4
  104. package/lib/ThemeProvider/ThemeProvider.js +6 -5
  105. package/lib/ThemeProvider/index.js +5 -5
  106. package/lib/ThemeProvider/useSetTheme.js +6 -3
  107. package/lib/ThemeProvider/useThemeTokens.js +7 -2
  108. package/lib/ThemeProvider/utils/styles.js +48 -41
  109. package/lib/ThemeProvider/utils/theme-tokens.js +26 -12
  110. package/lib/ToggleSwitch/ToggleSwitch.js +89 -73
  111. package/lib/ToggleSwitch/ToggleSwitchGroup.js +36 -34
  112. package/lib/Tooltip/Backdrop.js +4 -3
  113. package/lib/Tooltip/Backdrop.native.js +5 -4
  114. package/lib/Tooltip/Tooltip.js +81 -65
  115. package/lib/Tooltip/getTooltipPosition.js +29 -18
  116. package/lib/TooltipButton/TooltipButton.js +28 -21
  117. package/lib/Typography/Typography.js +37 -33
  118. package/lib/ViewportProvider/ViewportProvider.js +4 -3
  119. package/lib/ViewportProvider/useViewportListener.js +6 -3
  120. package/lib/index.js +54 -54
  121. package/lib/utils/a11y/semantics.js +5 -2
  122. package/lib/utils/a11y/textSize.js +8 -6
  123. package/lib/utils/animation/useVerticalExpandAnimation.js +6 -5
  124. package/lib/utils/children.js +2 -1
  125. package/lib/utils/index.js +10 -10
  126. package/lib/utils/input.js +22 -17
  127. package/lib/utils/pressability.js +36 -22
  128. package/lib/utils/props/clickProps.js +2 -1
  129. package/lib/utils/props/getPropSelector.js +6 -3
  130. package/lib/utils/props/handlerProps.js +25 -19
  131. package/lib/utils/props/hrefAttrsProp.js +14 -11
  132. package/lib/utils/props/index.js +12 -12
  133. package/lib/utils/props/inputSupportsProps.js +15 -12
  134. package/lib/utils/props/linkProps.js +7 -6
  135. package/lib/utils/props/pressProps.js +1 -1
  136. package/lib/utils/props/tokens.js +27 -13
  137. package/lib/utils/ssr.js +6 -2
  138. package/lib/utils/useCopy.js +6 -4
  139. package/lib/utils/useHash.js +2 -1
  140. package/lib/utils/useResponsiveProp.js +1 -1
  141. package/lib/utils/useUniqueId.js +2 -1
  142. package/lib/utils/withLinkRouter.js +6 -5
  143. package/package.json +11 -10
  144. package/src/Pagination/Pagination.jsx +3 -0
  145. package/src/Search/Search.jsx +11 -0
  146. package/src/Select/Item.native.jsx +0 -7
  147. package/lib-module/A11yInfoProvider/index.js +0 -62
  148. package/lib-module/A11yText/index.js +0 -55
  149. package/lib-module/ActivityIndicator/Spinner.js +0 -76
  150. package/lib-module/ActivityIndicator/Spinner.native.js +0 -143
  151. package/lib-module/ActivityIndicator/index.js +0 -40
  152. package/lib-module/ActivityIndicator/shared.js +0 -12
  153. package/lib-module/BaseProvider/index.js +0 -26
  154. package/lib-module/Box/Box.js +0 -243
  155. package/lib-module/Box/index.js +0 -2
  156. package/lib-module/Button/Button.js +0 -25
  157. package/lib-module/Button/ButtonBase.js +0 -254
  158. package/lib-module/Button/ButtonGroup.js +0 -245
  159. package/lib-module/Button/ButtonLink.js +0 -39
  160. package/lib-module/Button/index.js +0 -4
  161. package/lib-module/Button/propTypes.js +0 -36
  162. package/lib-module/Card/Card.js +0 -83
  163. package/lib-module/Card/CardBase.js +0 -62
  164. package/lib-module/Card/PressableCardBase.js +0 -113
  165. package/lib-module/Card/index.js +0 -4
  166. package/lib-module/Checkbox/Checkbox.js +0 -332
  167. package/lib-module/Checkbox/CheckboxGroup.js +0 -231
  168. package/lib-module/Checkbox/CheckboxInput.js +0 -58
  169. package/lib-module/Checkbox/CheckboxInput.native.js +0 -6
  170. package/lib-module/Checkbox/index.js +0 -3
  171. package/lib-module/Divider/Divider.js +0 -123
  172. package/lib-module/Divider/index.js +0 -2
  173. package/lib-module/ExpandCollapse/Accordion.js +0 -15
  174. package/lib-module/ExpandCollapse/Control.js +0 -130
  175. package/lib-module/ExpandCollapse/ExpandCollapse.js +0 -94
  176. package/lib-module/ExpandCollapse/Panel.js +0 -159
  177. package/lib-module/ExpandCollapse/index.js +0 -7
  178. package/lib-module/Feedback/Feedback.js +0 -144
  179. package/lib-module/Feedback/index.js +0 -2
  180. package/lib-module/Fieldset/Fieldset.js +0 -152
  181. package/lib-module/Fieldset/FieldsetContainer.js +0 -29
  182. package/lib-module/Fieldset/FieldsetContainer.native.js +0 -20
  183. package/lib-module/Fieldset/Legend.js +0 -21
  184. package/lib-module/Fieldset/Legend.native.js +0 -28
  185. package/lib-module/Fieldset/cssReset.js +0 -14
  186. package/lib-module/Fieldset/index.js +0 -2
  187. package/lib-module/FlexGrid/Col/Col.js +0 -275
  188. package/lib-module/FlexGrid/Col/index.js +0 -2
  189. package/lib-module/FlexGrid/FlexGrid.js +0 -147
  190. package/lib-module/FlexGrid/Row/Row.js +0 -183
  191. package/lib-module/FlexGrid/Row/index.js +0 -2
  192. package/lib-module/FlexGrid/helpers/index.js +0 -18
  193. package/lib-module/FlexGrid/index.js +0 -2
  194. package/lib-module/FlexGrid/providers/GutterContext.js +0 -3
  195. package/lib-module/HorizontalScroll/HorizontalScroll.js +0 -170
  196. package/lib-module/HorizontalScroll/HorizontalScrollButton.js +0 -77
  197. package/lib-module/HorizontalScroll/ScrollViewEnd.js +0 -47
  198. package/lib-module/HorizontalScroll/ScrollViewEnd.native.js +0 -24
  199. package/lib-module/HorizontalScroll/dictionary.js +0 -11
  200. package/lib-module/HorizontalScroll/index.js +0 -11
  201. package/lib-module/HorizontalScroll/itemPositions.js +0 -106
  202. package/lib-module/Icon/Icon.js +0 -61
  203. package/lib-module/Icon/IconText.js +0 -81
  204. package/lib-module/Icon/index.js +0 -4
  205. package/lib-module/IconButton/IconButton.js +0 -115
  206. package/lib-module/IconButton/index.js +0 -2
  207. package/lib-module/InputLabel/InputLabel.js +0 -141
  208. package/lib-module/InputLabel/LabelContent.js +0 -24
  209. package/lib-module/InputLabel/LabelContent.native.js +0 -16
  210. package/lib-module/InputLabel/index.js +0 -2
  211. package/lib-module/InputSupports/InputSupports.js +0 -95
  212. package/lib-module/InputSupports/index.js +0 -2
  213. package/lib-module/InputSupports/useInputSupports.js +0 -31
  214. package/lib-module/Link/ChevronLink.js +0 -51
  215. package/lib-module/Link/InlinePressable.js +0 -37
  216. package/lib-module/Link/InlinePressable.native.js +0 -85
  217. package/lib-module/Link/Link.js +0 -27
  218. package/lib-module/Link/LinkBase.js +0 -223
  219. package/lib-module/Link/TextButton.js +0 -34
  220. package/lib-module/Link/index.js +0 -5
  221. package/lib-module/List/List.js +0 -55
  222. package/lib-module/List/ListItem.js +0 -223
  223. package/lib-module/List/index.js +0 -5
  224. package/lib-module/Modal/Modal.js +0 -208
  225. package/lib-module/Modal/dictionary.js +0 -9
  226. package/lib-module/Modal/index.js +0 -2
  227. package/lib-module/Notification/Notification.js +0 -196
  228. package/lib-module/Notification/dictionary.js +0 -8
  229. package/lib-module/Notification/index.js +0 -2
  230. package/lib-module/Pagination/PageButton.js +0 -65
  231. package/lib-module/Pagination/Pagination.js +0 -140
  232. package/lib-module/Pagination/SideButton.js +0 -103
  233. package/lib-module/Pagination/dictionary.js +0 -18
  234. package/lib-module/Pagination/index.js +0 -2
  235. package/lib-module/Pagination/usePagination.js +0 -72
  236. package/lib-module/Progress/Progress.js +0 -85
  237. package/lib-module/Progress/ProgressBar.js +0 -134
  238. package/lib-module/Progress/ProgressBarBackground.js +0 -41
  239. package/lib-module/Progress/index.js +0 -4
  240. package/lib-module/Radio/Radio.js +0 -274
  241. package/lib-module/Radio/RadioButton.js +0 -128
  242. package/lib-module/Radio/RadioGroup.js +0 -241
  243. package/lib-module/Radio/RadioInput.js +0 -60
  244. package/lib-module/Radio/RadioInput.native.js +0 -6
  245. package/lib-module/Radio/index.js +0 -3
  246. package/lib-module/RadioCard/RadioCard.js +0 -218
  247. package/lib-module/RadioCard/RadioCardGroup.js +0 -248
  248. package/lib-module/RadioCard/index.js +0 -3
  249. package/lib-module/Search/Search.js +0 -241
  250. package/lib-module/Search/dictionary.js +0 -12
  251. package/lib-module/Search/index.js +0 -2
  252. package/lib-module/Select/Group.js +0 -20
  253. package/lib-module/Select/Group.native.js +0 -14
  254. package/lib-module/Select/Item.js +0 -17
  255. package/lib-module/Select/Item.native.js +0 -9
  256. package/lib-module/Select/Picker.js +0 -67
  257. package/lib-module/Select/Picker.native.js +0 -110
  258. package/lib-module/Select/Select.js +0 -316
  259. package/lib-module/Select/index.js +0 -6
  260. package/lib-module/SideNav/Item.js +0 -139
  261. package/lib-module/SideNav/ItemContent.js +0 -45
  262. package/lib-module/SideNav/ItemsGroup.js +0 -115
  263. package/lib-module/SideNav/SideNav.js +0 -133
  264. package/lib-module/SideNav/index.js +0 -1
  265. package/lib-module/Skeleton/Skeleton.js +0 -163
  266. package/lib-module/Skeleton/index.js +0 -2
  267. package/lib-module/Skeleton/skeleton.constant.js +0 -3
  268. package/lib-module/Skeleton/skeletonWebAnimation.js +0 -18
  269. package/lib-module/Skeleton/useSkeletonNativeAnimation.js +0 -24
  270. package/lib-module/Spacer/Spacer.js +0 -97
  271. package/lib-module/Spacer/index.js +0 -2
  272. package/lib-module/StackView/StackView.js +0 -124
  273. package/lib-module/StackView/StackWrap.js +0 -48
  274. package/lib-module/StackView/StackWrap.native.js +0 -3
  275. package/lib-module/StackView/StackWrapBox.js +0 -114
  276. package/lib-module/StackView/StackWrapGap.js +0 -58
  277. package/lib-module/StackView/common.js +0 -32
  278. package/lib-module/StackView/getStackedContent.js +0 -123
  279. package/lib-module/StackView/index.js +0 -5
  280. package/lib-module/StepTracker/Step.js +0 -229
  281. package/lib-module/StepTracker/StepTracker.js +0 -175
  282. package/lib-module/StepTracker/dictionary.js +0 -10
  283. package/lib-module/StepTracker/index.js +0 -2
  284. package/lib-module/Tabs/Tabs.js +0 -113
  285. package/lib-module/Tabs/TabsItem.js +0 -215
  286. package/lib-module/Tabs/index.js +0 -2
  287. package/lib-module/Tags/Tags.js +0 -245
  288. package/lib-module/Tags/index.js +0 -2
  289. package/lib-module/TextInput/TextArea.js +0 -88
  290. package/lib-module/TextInput/TextInput.js +0 -68
  291. package/lib-module/TextInput/TextInputBase.js +0 -233
  292. package/lib-module/TextInput/index.js +0 -3
  293. package/lib-module/TextInput/propTypes.js +0 -37
  294. package/lib-module/ThemeProvider/ThemeProvider.js +0 -35
  295. package/lib-module/ThemeProvider/index.js +0 -6
  296. package/lib-module/ThemeProvider/useSetTheme.js +0 -22
  297. package/lib-module/ThemeProvider/useTheme.js +0 -14
  298. package/lib-module/ThemeProvider/useThemeTokens.js +0 -105
  299. package/lib-module/ThemeProvider/utils/index.js +0 -2
  300. package/lib-module/ThemeProvider/utils/styles.js +0 -174
  301. package/lib-module/ThemeProvider/utils/theme-tokens.js +0 -151
  302. package/lib-module/ToggleSwitch/ToggleSwitch.js +0 -234
  303. package/lib-module/ToggleSwitch/ToggleSwitchGroup.js +0 -218
  304. package/lib-module/ToggleSwitch/index.js +0 -3
  305. package/lib-module/Tooltip/Backdrop.js +0 -52
  306. package/lib-module/Tooltip/Backdrop.native.js +0 -43
  307. package/lib-module/Tooltip/Tooltip.js +0 -332
  308. package/lib-module/Tooltip/dictionary.js +0 -8
  309. package/lib-module/Tooltip/getTooltipPosition.js +0 -164
  310. package/lib-module/Tooltip/index.js +0 -2
  311. package/lib-module/TooltipButton/TooltipButton.js +0 -71
  312. package/lib-module/TooltipButton/index.js +0 -2
  313. package/lib-module/Typography/Typography.js +0 -120
  314. package/lib-module/Typography/index.js +0 -2
  315. package/lib-module/ViewportProvider/ViewportProvider.js +0 -28
  316. package/lib-module/ViewportProvider/index.js +0 -3
  317. package/lib-module/ViewportProvider/useViewport.js +0 -3
  318. package/lib-module/ViewportProvider/useViewportListener.js +0 -43
  319. package/lib-module/index.js +0 -48
  320. package/lib-module/utils/a11y/index.js +0 -2
  321. package/lib-module/utils/a11y/semantics.js +0 -154
  322. package/lib-module/utils/a11y/textSize.js +0 -34
  323. package/lib-module/utils/animation/index.js +0 -2
  324. package/lib-module/utils/animation/useVerticalExpandAnimation.js +0 -61
  325. package/lib-module/utils/children.js +0 -118
  326. package/lib-module/utils/containUniqueFields.js +0 -26
  327. package/lib-module/utils/index.js +0 -16
  328. package/lib-module/utils/info/index.js +0 -7
  329. package/lib-module/utils/info/platform/index.js +0 -11
  330. package/lib-module/utils/info/platform/platform.android.js +0 -1
  331. package/lib-module/utils/info/platform/platform.ios.js +0 -1
  332. package/lib-module/utils/info/platform/platform.js +0 -1
  333. package/lib-module/utils/info/platform/platform.native.js +0 -4
  334. package/lib-module/utils/info/versions.js +0 -5
  335. package/lib-module/utils/input.js +0 -180
  336. package/lib-module/utils/pressability.js +0 -97
  337. package/lib-module/utils/props/a11yProps.js +0 -140
  338. package/lib-module/utils/props/clickProps.js +0 -25
  339. package/lib-module/utils/props/componentPropType.js +0 -63
  340. package/lib-module/utils/props/copyPropTypes.js +0 -2
  341. package/lib-module/utils/props/getPropSelector.js +0 -6
  342. package/lib-module/utils/props/handlerProps.js +0 -59
  343. package/lib-module/utils/props/hrefAttrsProp.js +0 -30
  344. package/lib-module/utils/props/index.js +0 -19
  345. package/lib-module/utils/props/inputSupportsProps.js +0 -59
  346. package/lib-module/utils/props/linkProps.js +0 -43
  347. package/lib-module/utils/props/paddingProp.js +0 -9
  348. package/lib-module/utils/props/pressProps.js +0 -42
  349. package/lib-module/utils/props/rectProp.js +0 -9
  350. package/lib-module/utils/props/responsiveProps.js +0 -30
  351. package/lib-module/utils/props/selectSystemProps.js +0 -24
  352. package/lib-module/utils/props/spacingProps.js +0 -56
  353. package/lib-module/utils/props/textInputProps.js +0 -194
  354. package/lib-module/utils/props/textProps.js +0 -59
  355. package/lib-module/utils/props/tokens.js +0 -120
  356. package/lib-module/utils/props/variantProp.js +0 -18
  357. package/lib-module/utils/props/viewProps.js +0 -22
  358. package/lib-module/utils/ssr.js +0 -35
  359. package/lib-module/utils/useCopy.js +0 -42
  360. package/lib-module/utils/useHash.js +0 -44
  361. package/lib-module/utils/useHash.native.js +0 -7
  362. package/lib-module/utils/useResponsiveProp.js +0 -47
  363. package/lib-module/utils/useSpacingScale.js +0 -123
  364. package/lib-module/utils/useUniqueId.js +0 -12
  365. package/lib-module/utils/withLinkRouter.js +0 -82
@@ -1550,6 +1550,23 @@
1550
1550
  }
1551
1551
  },
1552
1552
  "components": {
1553
+ "A11yInfoProvider": {
1554
+ "docs": {
1555
+ "description": "",
1556
+ "props": {
1557
+ "children": {
1558
+ "type": {
1559
+ "name": "node"
1560
+ },
1561
+ "required": true,
1562
+ "description": ""
1563
+ }
1564
+ },
1565
+ "attributes": {
1566
+ "acceptsRNA11yProps": false
1567
+ }
1568
+ }
1569
+ },
1553
1570
  "A11yText": {
1554
1571
  "docs": {
1555
1572
  "description": "A11yText is a zero-size invisible element that adds text to be read by screen readers.\n\nIt should be used to add selectable screen-reader-only text to the main document flow,\nas a sibling to blocks of text like paragraphs and interactive elements like buttons.",
@@ -1574,6 +1591,233 @@
1574
1591
  }
1575
1592
  }
1576
1593
  },
1594
+ "Accordion": {
1595
+ "docs": {
1596
+ "description": "'Accordion' is a shorthand for an ExpandCollapse where only one item may be open at a time",
1597
+ "props": {
1598
+ "variant": {
1599
+ "type": {
1600
+ "name": "objectOf",
1601
+ "value": {
1602
+ "name": "union",
1603
+ "value": [
1604
+ {
1605
+ "name": "string"
1606
+ },
1607
+ {
1608
+ "name": "number"
1609
+ },
1610
+ {
1611
+ "name": "bool"
1612
+ }
1613
+ ]
1614
+ }
1615
+ },
1616
+ "required": false,
1617
+ "description": ""
1618
+ },
1619
+ "tokens": {
1620
+ "type": {
1621
+ "name": "custom",
1622
+ "raw": {
1623
+ "borderColor": "color",
1624
+ "borderWidth": "border",
1625
+ "borderStyle": "borderStyle"
1626
+ }
1627
+ },
1628
+ "required": false,
1629
+ "description": ""
1630
+ },
1631
+ "children": {
1632
+ "type": {
1633
+ "name": "union",
1634
+ "value": [
1635
+ {
1636
+ "name": "func"
1637
+ },
1638
+ {
1639
+ "name": "node"
1640
+ }
1641
+ ]
1642
+ },
1643
+ "required": true,
1644
+ "description": "ExpandCollapse usually takes a render function to which it passes an object with properties\n{ openIds, onToggle, resetValues, setValues, unsetValues }. openIds (array of ids) and\nonToggle (function) will usually be passed to `<ExpandCollapse.Panel>`"
1645
+ },
1646
+ "maxOpen": {
1647
+ "type": {
1648
+ "name": "number"
1649
+ },
1650
+ "required": false,
1651
+ "description": "If set, enforces a specific maximum number of open items, closing already-open items when new\nitems are opened. By default, any number of items may be open at once."
1652
+ },
1653
+ "open": {
1654
+ "type": {
1655
+ "name": "arrayOf",
1656
+ "value": {
1657
+ "name": "string"
1658
+ }
1659
+ },
1660
+ "required": false,
1661
+ "description": "If passed, the item or items that are expanded will be controlled by a parent component"
1662
+ },
1663
+ "onChange": {
1664
+ "type": {
1665
+ "name": "func"
1666
+ },
1667
+ "required": false,
1668
+ "description": "Function called when which panels are currently open changes. Necessary if `open` is passed."
1669
+ },
1670
+ "initialOpen": {
1671
+ "type": {
1672
+ "name": "arrayOf",
1673
+ "value": {
1674
+ "name": "string"
1675
+ }
1676
+ },
1677
+ "required": false,
1678
+ "description": "Allows items with specified ids to be open by default on first load. Should not be used with `open`."
1679
+ }
1680
+ },
1681
+ "attributes": {
1682
+ "acceptsRNA11yProps": false
1683
+ }
1684
+ },
1685
+ "Panel": {
1686
+ "docs": {
1687
+ "description": "An item in an `ExpandCollapse` which contains collapsible `children` and a `control` that opens\nand closes the collapsible children when pressed.\n\nExpects `openIds` and `onToggle` props from the `ExpandCollapse` render function and a unique\n`panelId` that matches the ids passed to the `<ExpandCollapse>`.\n\nThe panel does not need to be a direct child of the `<ExpandCollapse>` (unless this is required\nby the chosen accessibility props for a particular accessibility tools).",
1688
+ "props": {
1689
+ "openIds": {
1690
+ "defaultValue": {
1691
+ "value": "[]",
1692
+ "computed": false
1693
+ },
1694
+ "type": {
1695
+ "name": "arrayOf",
1696
+ "value": {
1697
+ "name": "union",
1698
+ "value": [
1699
+ {
1700
+ "name": "number"
1701
+ },
1702
+ {
1703
+ "name": "string"
1704
+ }
1705
+ ]
1706
+ }
1707
+ },
1708
+ "required": false,
1709
+ "description": "Array of the ids of currently open groups"
1710
+ },
1711
+ "variant": {
1712
+ "type": {
1713
+ "name": "objectOf",
1714
+ "value": {
1715
+ "name": "union",
1716
+ "value": [
1717
+ {
1718
+ "name": "string"
1719
+ },
1720
+ {
1721
+ "name": "number"
1722
+ },
1723
+ {
1724
+ "name": "bool"
1725
+ }
1726
+ ]
1727
+ }
1728
+ },
1729
+ "required": false,
1730
+ "description": ""
1731
+ },
1732
+ "tokens": {
1733
+ "type": {
1734
+ "name": "custom",
1735
+ "raw": {
1736
+ "expandDuration": "duration",
1737
+ "collapseDuration": "duration",
1738
+ "contentPaddingLeft": "size",
1739
+ "contentPaddingRight": "size",
1740
+ "contentPaddingTop": "size",
1741
+ "contentPaddingBottom": "size"
1742
+ }
1743
+ },
1744
+ "required": false,
1745
+ "description": ""
1746
+ },
1747
+ "panelId": {
1748
+ "type": {
1749
+ "name": "string"
1750
+ },
1751
+ "required": true,
1752
+ "description": "Unique name by which the ExpandCollapse controls this element."
1753
+ },
1754
+ "onToggle": {
1755
+ "type": {
1756
+ "name": "func"
1757
+ },
1758
+ "required": true,
1759
+ "description": "Function to call on pressing the panel's control, which should open or close the panel.\nIf Panel is a direct child of `ExpandCollapse`, this prop will be provided by the ExpandCollapse parent."
1760
+ },
1761
+ "onPress": {
1762
+ "type": {
1763
+ "name": "func"
1764
+ },
1765
+ "required": false,
1766
+ "description": "Optional function to call on pressing the panel's control, in addition to opening or closing the panel."
1767
+ },
1768
+ "children": {
1769
+ "type": {
1770
+ "name": "union",
1771
+ "value": [
1772
+ {
1773
+ "name": "func"
1774
+ },
1775
+ {
1776
+ "name": "node"
1777
+ }
1778
+ ]
1779
+ },
1780
+ "required": false,
1781
+ "description": "ExpandCollapsePanel's children are the content that is hidden or revealed on open or close, and may be any\nsingle React element or a render function which takes this group's isExpanded state, onToggle function and panelId"
1782
+ },
1783
+ "control": {
1784
+ "type": {
1785
+ "name": "custom",
1786
+ "raw": "ExpandCollapseControl.propTypes.children.isRequired"
1787
+ },
1788
+ "required": false,
1789
+ "description": "The content inside the always-visible control element that opens and closes the ExpandCollapse when pressed."
1790
+ },
1791
+ "controlTokens": {
1792
+ "type": {
1793
+ "name": "custom",
1794
+ "raw": {
1795
+ "icon": "icon",
1796
+ "iconColor": "color",
1797
+ "iconSize": "size",
1798
+ "iconGap": "size",
1799
+ "iconPosition": "position",
1800
+ "verticalAlign": "verticalAlign",
1801
+ "justifyContent": "flexJustifyContent",
1802
+ "paddingLeft": "size",
1803
+ "paddingRight": "size",
1804
+ "paddingTop": "size",
1805
+ "paddingBottom": "size",
1806
+ "borderWidth": "border",
1807
+ "borderColor": "color",
1808
+ "backgroundColor": "color"
1809
+ }
1810
+ },
1811
+ "required": false,
1812
+ "description": "Optional theme token overrides that may be passed to the ExpandCollapseControl element."
1813
+ }
1814
+ },
1815
+ "attributes": {
1816
+ "acceptsRNA11yProps": false
1817
+ }
1818
+ }
1819
+ }
1820
+ },
1577
1821
  "ActivityIndicator": {
1578
1822
  "docs": {
1579
1823
  "description": "`ActivityIndicator` renders a visual loading state.\nIt does not handle positioning or layout of that visual loader.",
@@ -1624,6 +1868,31 @@
1624
1868
  }
1625
1869
  }
1626
1870
  },
1871
+ "BaseProvider": {
1872
+ "docs": {
1873
+ "description": "",
1874
+ "props": {
1875
+ "defaultTheme": {
1876
+ "type": {
1877
+ "name": "custom",
1878
+ "raw": "ThemeProvider.propTypes?.defaultTheme"
1879
+ },
1880
+ "required": false,
1881
+ "description": ""
1882
+ },
1883
+ "children": {
1884
+ "type": {
1885
+ "name": "node"
1886
+ },
1887
+ "required": true,
1888
+ "description": ""
1889
+ }
1890
+ },
1891
+ "attributes": {
1892
+ "acceptsRNA11yProps": false
1893
+ }
1894
+ }
1895
+ },
1627
1896
  "Box": {
1628
1897
  "docs": {
1629
1898
  "description": "A layout utility component. Use Box to create space (padding) around content.\n\n## Spacing\n\nFor most simple uses, pass a number to Box's `space` prop referring to an index in the theme's\nspacing scale. For example, for a box with the theme's smallest non-zero amount of padding on all sides:\n\n```jsx\n<Box space={1}>\n```\n\n#### Targetting specific sides\n\nBox allows spacing value props to be assigned to any side or all sides using the following props:\n\n- `space` sets the default for all sides, which is overridden by other props below\n- `horizontal` sets defaults for `left` and `right` (overriding `space` there if it is set)\n- `vertical` sets defaults for `top` and `bottom` (overriding `space` there if it is set)\n- `left` sets the left side padding, inside the box's bounds\n- `right` sets the right side padding, inside the box's bounds\n- `top` sets the top side padding, inside the box's bounds\n- `bottom` sets the bottom side padding, inside the box's bounds\n\nBox only controls spacing within its bounds. If space is needed around a box outside of its bounds,\nuse `Spacer`, `StackView` or wrap the `Box` inside another `Box`.\n\n#### Viewport-specific spacing\n\nResponsive behaviours may be set by passing any of the above props an object keyed by viewports.\n\nFor example, if a theme's spacing scale is [0, 4, 8...], this below will have padding of 4px on top,\nbottom, and right, and its left padding will be 0px on xs, sm and md viewports and 8px on lg and xl viewports:\n\n```jsx\n<Box space={1} left={{ xs: 0, lg: 2 }} />`\n```\n\n#### Subtracting from spacing\n\nA parent may sometimes need to reduce the spacing size on one or more sides of a `Box` by some variable.\nFor example, the parent may have a border on one side and want to reduce the spacing of a child box\nby the width of that border on that side. This can be achieved using the `subtract` option of the\nspacing object, for example:\n\n```jsx\n<Box space={2} left={{ space: 2, options: { subtract: themeTokens.borderWidthLeft } }} />`\n```\n\nSee `useSpacingScale` hook for other spacing value options and documentation.\n\n## Theming\n\nBox is intended for layout, so minimal theming is supported. Use components like `Card` for\nmore sophisticated theming.\n\n## Scroll\n\nIf passed, the box will be scrollable. If an object is passed, it will be passed to React Native's\n`ScrollView` component as props.\n\nWhen building native iOS and Android apps, it is important to remember to ensure any screen containing\ntext content is inside a scrollable box, as screens are not scrollable by default and even very\nshort text will require scrolling on small devices at the highest accessibility text scaling settings.",
@@ -1956,68 +2225,7 @@
1956
2225
  "paddingTop": "size",
1957
2226
  "minWidth": "size",
1958
2227
  "shadow": "shadow"
1959
- }
1960
- },
1961
- "required": false,
1962
- "description": ""
1963
- },
1964
- "variant": {
1965
- "type": {
1966
- "name": "objectOf",
1967
- "value": {
1968
- "name": "union",
1969
- "value": [
1970
- {
1971
- "name": "string"
1972
- },
1973
- {
1974
- "name": "number"
1975
- },
1976
- {
1977
- "name": "bool"
1978
- }
1979
- ]
1980
- }
1981
- },
1982
- "required": false,
1983
- "description": ""
1984
- }
1985
- },
1986
- "attributes": {
1987
- "acceptsRNA11yProps": false
1988
- }
1989
- }
1990
- },
1991
- "PressableCardBase": {
1992
- "docs": {
1993
- "description": "A pressable themeless base component that handles pressable states and passes tokens\nbased on these to an outer border and a base Card component. Not intended to be used in\napps or sites directly: build themed components on top of this.",
1994
- "props": {
1995
- "accessibilityRole": {
1996
- "defaultValue": {
1997
- "value": "href ? 'link' : undefined",
1998
- "computed": false
1999
- },
2000
- "required": false
2001
- },
2002
- "children": {
2003
- "type": {
2004
- "name": "union",
2005
- "value": [
2006
- {
2007
- "name": "func"
2008
- },
2009
- {
2010
- "name": "node"
2011
- }
2012
- ]
2013
- },
2014
- "required": false,
2015
- "description": ""
2016
- },
2017
- "tokens": {
2018
- "type": {
2019
- "name": "custom",
2020
- "raw": "getTokensSetPropType(tokenKeys, { requireAll: true, allowFunction: true })"
2228
+ }
2021
2229
  },
2022
2230
  "required": false,
2023
2231
  "description": ""
@@ -2227,276 +2435,49 @@
2227
2435
  "type": {
2228
2436
  "name": "union",
2229
2437
  "value": [
2230
- {
2231
- "name": "custom",
2232
- "raw": "spacingIndexPropType"
2233
- },
2234
- {
2235
- "name": "custom",
2236
- "raw": "spacingObjectPropType"
2237
- }
2238
- ]
2239
- },
2240
- "required": false,
2241
- "description": ""
2242
- },
2243
- "variant": {
2244
- "type": {
2245
- "name": "objectOf",
2246
- "value": {
2247
- "name": "union",
2248
- "value": [
2249
- {
2250
- "name": "string"
2251
- },
2252
- {
2253
- "name": "number"
2254
- },
2255
- {
2256
- "name": "bool"
2257
- }
2258
- ]
2259
- }
2260
- },
2261
- "required": false,
2262
- "description": ""
2263
- }
2264
- },
2265
- "attributes": {
2266
- "acceptsRNA11yProps": false
2267
- }
2268
- }
2269
- },
2270
- "ExpandCollapse": {
2271
- "docs": {
2272
- "description": "Flexible base component for lists where some or all items are collapsible headers.\n\nPass a render function as `children` which takes and passes `openIds` and `onToggle` props to\n<ExpandCollapse.Panel> children, and assign the panels explicit `panelId` props. The panels may be\nnested (they do not need to be direct children), and non-interactive items may be included too.",
2273
- "props": {
2274
- "variant": {
2275
- "type": {
2276
- "name": "objectOf",
2277
- "value": {
2278
- "name": "union",
2279
- "value": [
2280
- {
2281
- "name": "string"
2282
- },
2283
- {
2284
- "name": "number"
2285
- },
2286
- {
2287
- "name": "bool"
2288
- }
2289
- ]
2290
- }
2291
- },
2292
- "required": false,
2293
- "description": ""
2294
- },
2295
- "tokens": {
2296
- "type": {
2297
- "name": "custom",
2298
- "raw": {
2299
- "borderColor": "color",
2300
- "borderWidth": "border",
2301
- "borderStyle": "borderStyle"
2302
- }
2303
- },
2304
- "required": false,
2305
- "description": ""
2306
- },
2307
- "children": {
2308
- "type": {
2309
- "name": "union",
2310
- "value": [
2311
- {
2312
- "name": "func"
2313
- },
2314
- {
2315
- "name": "node"
2316
- }
2317
- ]
2318
- },
2319
- "required": true,
2320
- "description": "ExpandCollapse usually takes a render function to which it passes an object with properties\n{ openIds, onToggle, resetValues, setValues, unsetValues }. openIds (array of ids) and\nonToggle (function) will usually be passed to `<ExpandCollapse.Panel>`"
2321
- },
2322
- "maxOpen": {
2323
- "type": {
2324
- "name": "number"
2325
- },
2326
- "required": false,
2327
- "description": "If set, enforces a specific maximum number of open items, closing already-open items when new\nitems are opened. By default, any number of items may be open at once."
2328
- },
2329
- "open": {
2330
- "type": {
2331
- "name": "arrayOf",
2332
- "value": {
2333
- "name": "string"
2334
- }
2335
- },
2336
- "required": false,
2337
- "description": "If passed, the item or items that are expanded will be controlled by a parent component"
2338
- },
2339
- "onChange": {
2340
- "type": {
2341
- "name": "func"
2342
- },
2343
- "required": false,
2344
- "description": "Function called when which panels are currently open changes. Necessary if `open` is passed."
2345
- },
2346
- "initialOpen": {
2347
- "type": {
2348
- "name": "arrayOf",
2349
- "value": {
2350
- "name": "string"
2351
- }
2352
- },
2353
- "required": false,
2354
- "description": "Allows items with specified ids to be open by default on first load. Should not be used with `open`."
2355
- }
2356
- },
2357
- "attributes": {
2358
- "acceptsRNA11yProps": false
2359
- }
2360
- },
2361
- "Panel": {
2362
- "docs": {
2363
- "description": "An item in an `ExpandCollapse` which contains collapsible `children` and a `control` that opens\nand closes the collapsible children when pressed.\n\nExpects `openIds` and `onToggle` props from the `ExpandCollapse` render function and a unique\n`panelId` that matches the ids passed to the `<ExpandCollapse>`.\n\nThe panel does not need to be a direct child of the `<ExpandCollapse>` (unless this is required\nby the chosen accessibility props for a particular accessibility tools).",
2364
- "props": {
2365
- "openIds": {
2366
- "defaultValue": {
2367
- "value": "[]",
2368
- "computed": false
2369
- },
2370
- "type": {
2371
- "name": "arrayOf",
2372
- "value": {
2373
- "name": "union",
2374
- "value": [
2375
- {
2376
- "name": "number"
2377
- },
2378
- {
2379
- "name": "string"
2380
- }
2381
- ]
2382
- }
2383
- },
2384
- "required": false,
2385
- "description": "Array of the ids of currently open groups"
2386
- },
2387
- "variant": {
2388
- "type": {
2389
- "name": "objectOf",
2390
- "value": {
2391
- "name": "union",
2392
- "value": [
2393
- {
2394
- "name": "string"
2395
- },
2396
- {
2397
- "name": "number"
2398
- },
2399
- {
2400
- "name": "bool"
2401
- }
2402
- ]
2403
- }
2404
- },
2405
- "required": false,
2406
- "description": ""
2407
- },
2408
- "tokens": {
2409
- "type": {
2410
- "name": "custom",
2411
- "raw": {
2412
- "expandDuration": "duration",
2413
- "collapseDuration": "duration",
2414
- "contentPaddingLeft": "size",
2415
- "contentPaddingRight": "size",
2416
- "contentPaddingTop": "size",
2417
- "contentPaddingBottom": "size"
2418
- }
2419
- },
2420
- "required": false,
2421
- "description": ""
2422
- },
2423
- "panelId": {
2424
- "type": {
2425
- "name": "string"
2426
- },
2427
- "required": true,
2428
- "description": "Unique name by which the ExpandCollapse controls this element."
2429
- },
2430
- "onToggle": {
2431
- "type": {
2432
- "name": "func"
2433
- },
2434
- "required": true,
2435
- "description": "Function to call on pressing the panel's control, which should open or close the panel.\nIf Panel is a direct child of `ExpandCollapse`, this prop will be provided by the ExpandCollapse parent."
2436
- },
2437
- "onPress": {
2438
- "type": {
2439
- "name": "func"
2440
- },
2441
- "required": false,
2442
- "description": "Optional function to call on pressing the panel's control, in addition to opening or closing the panel."
2443
- },
2444
- "children": {
2445
- "type": {
2446
- "name": "union",
2447
- "value": [
2448
- {
2449
- "name": "func"
2450
- },
2451
- {
2452
- "name": "node"
2453
- }
2454
- ]
2455
- },
2456
- "required": false,
2457
- "description": "ExpandCollapsePanel's children are the content that is hidden or revealed on open or close, and may be any\nsingle React element or a render function which takes this group's isExpanded state, onToggle function and panelId"
2458
- },
2459
- "control": {
2460
- "type": {
2461
- "name": "custom",
2462
- "raw": "ExpandCollapseControl.propTypes.children.isRequired"
2463
- },
2464
- "required": false,
2465
- "description": "The content inside the always-visible control element that opens and closes the ExpandCollapse when pressed."
2466
- },
2467
- "controlTokens": {
2468
- "type": {
2469
- "name": "custom",
2470
- "raw": {
2471
- "icon": "icon",
2472
- "iconColor": "color",
2473
- "iconSize": "size",
2474
- "iconGap": "size",
2475
- "iconPosition": "position",
2476
- "verticalAlign": "verticalAlign",
2477
- "justifyContent": "flexJustifyContent",
2478
- "paddingLeft": "size",
2479
- "paddingRight": "size",
2480
- "paddingTop": "size",
2481
- "paddingBottom": "size",
2482
- "borderWidth": "border",
2483
- "borderColor": "color",
2484
- "backgroundColor": "color"
2438
+ {
2439
+ "name": "custom",
2440
+ "raw": "spacingIndexPropType"
2441
+ },
2442
+ {
2443
+ "name": "custom",
2444
+ "raw": "spacingObjectPropType"
2485
2445
  }
2486
- },
2487
- "required": false,
2488
- "description": "Optional theme token overrides that may be passed to the ExpandCollapseControl element."
2489
- }
2446
+ ]
2447
+ },
2448
+ "required": false,
2449
+ "description": ""
2490
2450
  },
2491
- "attributes": {
2492
- "acceptsRNA11yProps": false
2451
+ "variant": {
2452
+ "type": {
2453
+ "name": "objectOf",
2454
+ "value": {
2455
+ "name": "union",
2456
+ "value": [
2457
+ {
2458
+ "name": "string"
2459
+ },
2460
+ {
2461
+ "name": "number"
2462
+ },
2463
+ {
2464
+ "name": "bool"
2465
+ }
2466
+ ]
2467
+ }
2468
+ },
2469
+ "required": false,
2470
+ "description": ""
2493
2471
  }
2472
+ },
2473
+ "attributes": {
2474
+ "acceptsRNA11yProps": false
2494
2475
  }
2495
2476
  }
2496
2477
  },
2497
- "Accordion": {
2478
+ "ExpandCollapse": {
2498
2479
  "docs": {
2499
- "description": "'Accordion' is a shorthand for an ExpandCollapse where only one item may be open at a time",
2480
+ "description": "Flexible base component for lists where some or all items are collapsible headers.\n\nPass a render function as `children` which takes and passes `openIds` and `onToggle` props to\n<ExpandCollapse.Panel> children, and assign the panels explicit `panelId` props. The panels may be\nnested (they do not need to be direct children), and non-interactive items may be included too.",
2500
2481
  "props": {
2501
2482
  "variant": {
2502
2483
  "type": {
@@ -4486,91 +4467,6 @@
4486
4467
  }
4487
4468
  }
4488
4469
  },
4489
- "ListItem": {
4490
- "docs": {
4491
- "description": "ListItem is responsible for rendering icon or a bullet as side item",
4492
- "props": {
4493
- "tokens": {
4494
- "type": {
4495
- "name": "custom",
4496
- "raw": {
4497
- "iconMarginTop": "size",
4498
- "itemFontWeight": "fontWeight",
4499
- "itemFontSize": "fontSize",
4500
- "itemLineHeight": "lineHeight",
4501
- "itemFontName": "fontName",
4502
- "interItemMargin": "size",
4503
- "interItemMarginWithDivider": "size",
4504
- "dividerColor": "color",
4505
- "dividerSize": "border",
4506
- "itemBulletContainerWidth": "size",
4507
- "itemBulletContainerAlign": "textAlign",
4508
- "itemBulletWidth": "size",
4509
- "itemBulletHeight": "size",
4510
- "itemBulletColor": "color",
4511
- "itemIconSize": "size",
4512
- "itemIconColor": "color",
4513
- "listGutter": "size"
4514
- }
4515
- },
4516
- "required": false,
4517
- "description": ""
4518
- },
4519
- "variant": {
4520
- "type": {
4521
- "name": "objectOf",
4522
- "value": {
4523
- "name": "union",
4524
- "value": [
4525
- {
4526
- "name": "string"
4527
- },
4528
- {
4529
- "name": "number"
4530
- },
4531
- {
4532
- "name": "bool"
4533
- }
4534
- ]
4535
- }
4536
- },
4537
- "required": false,
4538
- "description": ""
4539
- },
4540
- "children": {
4541
- "type": {
4542
- "name": "node"
4543
- },
4544
- "required": true,
4545
- "description": ""
4546
- },
4547
- "icon": {
4548
- "type": {
4549
- "name": "func"
4550
- },
4551
- "required": false,
4552
- "description": "Renders side item icon"
4553
- },
4554
- "iconColor": {
4555
- "type": {
4556
- "name": "string"
4557
- },
4558
- "required": false,
4559
- "description": "Will set display icon color"
4560
- },
4561
- "iconSize": {
4562
- "type": {
4563
- "name": "number"
4564
- },
4565
- "required": false,
4566
- "description": "Allow the user define the icon size if not defined the theme's file"
4567
- }
4568
- },
4569
- "attributes": {
4570
- "acceptsRNA11yProps": false
4571
- }
4572
- }
4573
- },
4574
4470
  "ListBase": {
4575
4471
  "docs": {
4576
4472
  "description": "An unordered List component has a child a ListItem that\nallows icon, dividers and customized typography",
@@ -4728,6 +4624,91 @@
4728
4624
  }
4729
4625
  }
4730
4626
  },
4627
+ "ListItem": {
4628
+ "docs": {
4629
+ "description": "ListItem is responsible for rendering icon or a bullet as side item",
4630
+ "props": {
4631
+ "tokens": {
4632
+ "type": {
4633
+ "name": "custom",
4634
+ "raw": {
4635
+ "iconMarginTop": "size",
4636
+ "itemFontWeight": "fontWeight",
4637
+ "itemFontSize": "fontSize",
4638
+ "itemLineHeight": "lineHeight",
4639
+ "itemFontName": "fontName",
4640
+ "interItemMargin": "size",
4641
+ "interItemMarginWithDivider": "size",
4642
+ "dividerColor": "color",
4643
+ "dividerSize": "border",
4644
+ "itemBulletContainerWidth": "size",
4645
+ "itemBulletContainerAlign": "textAlign",
4646
+ "itemBulletWidth": "size",
4647
+ "itemBulletHeight": "size",
4648
+ "itemBulletColor": "color",
4649
+ "itemIconSize": "size",
4650
+ "itemIconColor": "color",
4651
+ "listGutter": "size"
4652
+ }
4653
+ },
4654
+ "required": false,
4655
+ "description": ""
4656
+ },
4657
+ "variant": {
4658
+ "type": {
4659
+ "name": "objectOf",
4660
+ "value": {
4661
+ "name": "union",
4662
+ "value": [
4663
+ {
4664
+ "name": "string"
4665
+ },
4666
+ {
4667
+ "name": "number"
4668
+ },
4669
+ {
4670
+ "name": "bool"
4671
+ }
4672
+ ]
4673
+ }
4674
+ },
4675
+ "required": false,
4676
+ "description": ""
4677
+ },
4678
+ "children": {
4679
+ "type": {
4680
+ "name": "node"
4681
+ },
4682
+ "required": true,
4683
+ "description": ""
4684
+ },
4685
+ "icon": {
4686
+ "type": {
4687
+ "name": "func"
4688
+ },
4689
+ "required": false,
4690
+ "description": "Renders side item icon"
4691
+ },
4692
+ "iconColor": {
4693
+ "type": {
4694
+ "name": "string"
4695
+ },
4696
+ "required": false,
4697
+ "description": "Will set display icon color"
4698
+ },
4699
+ "iconSize": {
4700
+ "type": {
4701
+ "name": "number"
4702
+ },
4703
+ "required": false,
4704
+ "description": "Allow the user define the icon size if not defined the theme's file"
4705
+ }
4706
+ },
4707
+ "attributes": {
4708
+ "acceptsRNA11yProps": false
4709
+ }
4710
+ }
4711
+ },
4731
4712
  "Modal": {
4732
4713
  "docs": {
4733
4714
  "description": "A modal window is a secondary window that opens on top of the main one.\nUsers have to interact with it before they can carry out their task and return to the main window.\nUse to reveal additional information to a user after they have performed an explicit interaction.\nThey are a strongly discouraged pattern; it's preferred to have all relevant information within a page,\nand irrelevant information either linked externally or omitted.\n\n- Must only appear after a customer interaction, not on page load or any other circumstance\n- Open a modal based on explicit customer action e.g. clicking on a button/link/form field\n- Only one modal should be \"current\" at any time\n- Read [WebAIM's documentation](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html) to create accessible modals\n- Don’t use modals to reinforce or repeat information already available in the parent page or view\n- Don’t use modals consecutively",
@@ -5285,6 +5266,67 @@
5285
5266
  }
5286
5267
  }
5287
5268
  },
5269
+ "PressableCardBase": {
5270
+ "docs": {
5271
+ "description": "A pressable themeless base component that handles pressable states and passes tokens\nbased on these to an outer border and a base Card component. Not intended to be used in\napps or sites directly: build themed components on top of this.",
5272
+ "props": {
5273
+ "accessibilityRole": {
5274
+ "defaultValue": {
5275
+ "value": "href ? 'link' : undefined",
5276
+ "computed": false
5277
+ },
5278
+ "required": false
5279
+ },
5280
+ "children": {
5281
+ "type": {
5282
+ "name": "union",
5283
+ "value": [
5284
+ {
5285
+ "name": "func"
5286
+ },
5287
+ {
5288
+ "name": "node"
5289
+ }
5290
+ ]
5291
+ },
5292
+ "required": false,
5293
+ "description": ""
5294
+ },
5295
+ "tokens": {
5296
+ "type": {
5297
+ "name": "custom",
5298
+ "raw": "getTokensSetPropType(tokenKeys, { requireAll: true, allowFunction: true })"
5299
+ },
5300
+ "required": false,
5301
+ "description": ""
5302
+ },
5303
+ "variant": {
5304
+ "type": {
5305
+ "name": "objectOf",
5306
+ "value": {
5307
+ "name": "union",
5308
+ "value": [
5309
+ {
5310
+ "name": "string"
5311
+ },
5312
+ {
5313
+ "name": "number"
5314
+ },
5315
+ {
5316
+ "name": "bool"
5317
+ }
5318
+ ]
5319
+ }
5320
+ },
5321
+ "required": false,
5322
+ "description": ""
5323
+ }
5324
+ },
5325
+ "attributes": {
5326
+ "acceptsRNA11yProps": false
5327
+ }
5328
+ }
5329
+ },
5288
5330
  "Progress": {
5289
5331
  "docs": {
5290
5332
  "description": "The `Progress` is a container for displaying one or several `ProgressBar`s.\n\n## Props\n\n- Use `children` prop to pass one or multiple `ProgressBar`s. Note that in case of stacked progress bars\n each next will be displayed on top of the previous one.\n\n## Tokens\n\n- Use the following tokens to customize the appearance:\n - `backgroundColor` for the background color of the progress container,\n - `borderColor` to control the color of the border,\n - `borderRadius` for the rounded corners,\n - `borderWidth` to change the border width.\n - `height` to control the height of the progress bars displayed within the progress bar container.\n\n## Variants\n\n- Use the `size` variant to control the height of your progress bars: passing `'mini'` will make your\n progress bar container narrower.\n\n## Usability and A11y guidelines\n\n`Progress` component accepts the standard accessibility properties, however it's more important to make sure\nits children (instances of `ProgressBar`) receive the accessibility properties specific to the `progressbar`\nrole.",
@@ -5830,6 +5872,13 @@
5830
5872
  "required": false,
5831
5873
  "description": "Triggered when the clear button is pressed."
5832
5874
  },
5875
+ "onFocus": {
5876
+ "type": {
5877
+ "name": "func"
5878
+ },
5879
+ "required": false,
5880
+ "description": "Triggered when the search input is focused."
5881
+ },
5833
5882
  "accessibilityLabel": {
5834
5883
  "type": {
5835
5884
  "name": "string"
@@ -7250,6 +7299,42 @@
7250
7299
  }
7251
7300
  }
7252
7301
  },
7302
+ "ThemeProvider": {
7303
+ "docs": {
7304
+ "description": "",
7305
+ "props": {
7306
+ "children": {
7307
+ "type": {
7308
+ "name": "node"
7309
+ },
7310
+ "required": true,
7311
+ "description": ""
7312
+ },
7313
+ "defaultTheme": {
7314
+ "type": {
7315
+ "name": "shape",
7316
+ "value": {
7317
+ "metadata": {
7318
+ "name": "shape",
7319
+ "value": {
7320
+ "themeTokensVersion": {
7321
+ "name": "string",
7322
+ "required": true
7323
+ }
7324
+ },
7325
+ "required": true
7326
+ }
7327
+ }
7328
+ },
7329
+ "required": true,
7330
+ "description": ""
7331
+ }
7332
+ },
7333
+ "attributes": {
7334
+ "acceptsRNA11yProps": false
7335
+ }
7336
+ }
7337
+ },
7253
7338
  "Tooltip": {
7254
7339
  "docs": {
7255
7340
  "description": "Tooltip provides a descriptive and detailed explanation or instructions. It can be used next to an input label\nto help a user fill it in, or as a standalone component.\n\nBy default the TooltipButton component will be used as a control for triggering the tooltip, but you may attach\na tooltip to any other component. A render function can be used to adjust the control's styling on state changes (hover, focus, etc.).\n\n### Positioning\nBy default a Tooltip will be automatically positioned in a way that ensures it fits within the viewport.\nYou may suggest a position with a prop - it will be used, unless the tooltip would end up outside the viewport.\n\n### Usage criteria\n- You may use one when the information is useful only to a small percentage of users (ie. tech savvy people wouldn't need this info).\n- Tooltips may also be useful when vertical space is an issue.",
@@ -7652,215 +7737,45 @@
7652
7737
  {
7653
7738
  "value": "true",
7654
7739
  "computed": false
7655
- }
7656
- ]
7657
- },
7658
- "required": false,
7659
- "description": "Renders the text as a semantic heading. If a html heading tag is provided, uses that tag on Web.\n\nDoes not affect styling: <Typography heading=\"h2\"> will render a <h2> that looks like plain text.\nUse both `heading` and `variant` props to render semantic headings that look like headings.\n\nIn native apps, if this is `true` or any html heading tag string and accessibilityRole prop\nis not defined, the accessibilityRole will default to \"heading\"."
7660
- },
7661
- "children": {
7662
- "type": {
7663
- "name": "node"
7664
- },
7665
- "required": false,
7666
- "description": "Same children allowed as a React Native <Text> node"
7667
- }
7668
- },
7669
- "attributes": {
7670
- "acceptsRNA11yProps": false
7671
- }
7672
- }
7673
- },
7674
- "A11yInfoProvider": {
7675
- "docs": {
7676
- "description": "",
7677
- "props": {
7678
- "children": {
7679
- "type": {
7680
- "name": "node"
7681
- },
7682
- "required": true,
7683
- "description": ""
7684
- }
7685
- },
7686
- "attributes": {
7687
- "acceptsRNA11yProps": false
7688
- }
7689
- }
7690
- },
7691
- "BaseProvider": {
7692
- "docs": {
7693
- "description": "",
7694
- "props": {
7695
- "defaultTheme": {
7696
- "type": {
7697
- "name": "custom",
7698
- "raw": "ThemeProvider.propTypes?.defaultTheme"
7699
- },
7700
- "required": false,
7701
- "description": ""
7702
- },
7703
- "children": {
7704
- "type": {
7705
- "name": "node"
7706
- },
7707
- "required": true,
7708
- "description": ""
7709
- }
7710
- },
7711
- "attributes": {
7712
- "acceptsRNA11yProps": false
7713
- }
7714
- }
7715
- },
7716
- "ViewportProvider": {
7717
- "docs": {
7718
- "description": "Provides an up-to-date viewport value from system-constants, available via the `useViewport` hook",
7719
- "props": {
7720
- "children": {
7721
- "type": {
7722
- "name": "node"
7723
- },
7724
- "required": true,
7725
- "description": ""
7726
- }
7727
- },
7728
- "attributes": {
7729
- "acceptsRNA11yProps": false
7730
- }
7731
- }
7732
- },
7733
- "ThemeProvider": {
7734
- "docs": {
7735
- "description": "",
7736
- "props": {
7737
- "children": {
7738
- "type": {
7739
- "name": "node"
7740
- },
7741
- "required": true,
7742
- "description": ""
7743
- },
7744
- "defaultTheme": {
7745
- "type": {
7746
- "name": "shape",
7747
- "value": {
7748
- "metadata": {
7749
- "name": "shape",
7750
- "value": {
7751
- "themeTokensVersion": {
7752
- "name": "string",
7753
- "required": true
7754
- }
7755
- },
7756
- "required": true
7757
- }
7758
- }
7759
- },
7760
- "required": true,
7761
- "description": ""
7762
- }
7763
- },
7764
- "attributes": {
7765
- "acceptsRNA11yProps": false
7766
- }
7767
- }
7768
- },
7769
- "Button": {
7770
- "docs": {
7771
- "description": "",
7772
- "props": {
7773
- "tokens": {
7774
- "type": {
7775
- "name": "custom",
7776
- "raw": {
7777
- "borderColor": "color",
7778
- "borderWidth": "border",
7779
- "borderRadius": "radius",
7780
- "shadow": "shadow",
7781
- "fontSize": "fontSize",
7782
- "color": "color",
7783
- "lineHeight": "lineHeight",
7784
- "textAlign": "flexJustifyContent",
7785
- "alignSelf": "flexAlign",
7786
- "fontName": "fontName",
7787
- "fontWeight": "fontWeight",
7788
- "backgroundColor": "color",
7789
- "opacity": "opacity",
7790
- "paddingLeft": "size",
7791
- "paddingRight": "size",
7792
- "paddingTop": "size",
7793
- "paddingBottom": "size",
7794
- "width": "size",
7795
- "minWidth": "size",
7796
- "outerBorderColor": "color",
7797
- "outerBorderWidth": "border",
7798
- "outerBorderGap": "size",
7799
- "outerBackgroundColor": "color"
7800
- }
7801
- },
7802
- "required": false,
7803
- "description": ""
7804
- },
7805
- "inactive": {
7806
- "type": {
7807
- "name": "bool"
7808
- },
7809
- "required": false,
7810
- "description": "If true, prevents the button from being pressed, changes the cursor (on web) and accessibility\nattributes to communicate this to the user, and applies `inactive: true` appearances from the theme"
7811
- },
7812
- "disabled": {
7813
- "type": {
7814
- "name": "bool"
7815
- },
7816
- "required": false,
7817
- "description": "Alias for `inactive`"
7818
- },
7819
- "children": {
7820
- "type": {
7821
- "name": "custom",
7822
- "raw": "ABBPropTypes.childrenOf(\n PropTypes.oneOfType([ABBPropTypes.elementType(A11yText), PropTypes.string])\n)"
7823
- },
7824
- "required": false,
7825
- "description": "Button's children must be either:\n - One or more text strings and / or A11yText components\n - A render function with contents that responds to current button state by being passed an object of:\n```\n{ hovered<bool>, focused<bool>, pressed<bool>, inactive<bool>, selected<bool>, textStyles<RNStyle> }\n```"
7826
- },
7827
- "onPress": {
7828
- "type": {
7829
- "name": "func"
7830
- },
7831
- "required": false,
7832
- "description": "Function called when the button is pressed. Required unless the button has a href."
7833
- },
7834
- "variant": {
7835
- "type": {
7836
- "name": "objectOf",
7837
- "value": {
7838
- "name": "union",
7839
- "value": [
7840
- {
7841
- "name": "string"
7842
- },
7843
- {
7844
- "name": "number"
7845
- },
7846
- {
7847
- "name": "bool"
7848
- }
7849
- ]
7850
- }
7740
+ }
7741
+ ]
7742
+ },
7743
+ "required": false,
7744
+ "description": "Renders the text as a semantic heading. If a html heading tag is provided, uses that tag on Web.\n\nDoes not affect styling: <Typography heading=\"h2\"> will render a <h2> that looks like plain text.\nUse both `heading` and `variant` props to render semantic headings that look like headings.\n\nIn native apps, if this is `true` or any html heading tag string and accessibilityRole prop\nis not defined, the accessibilityRole will default to \"heading\"."
7745
+ },
7746
+ "children": {
7747
+ "type": {
7748
+ "name": "node"
7851
7749
  },
7852
7750
  "required": false,
7751
+ "description": "Same children allowed as a React Native <Text> node"
7752
+ }
7753
+ },
7754
+ "attributes": {
7755
+ "acceptsRNA11yProps": false
7756
+ }
7757
+ }
7758
+ },
7759
+ "ViewportProvider": {
7760
+ "docs": {
7761
+ "description": "Provides an up-to-date viewport value from system-constants, available via the `useViewport` hook",
7762
+ "props": {
7763
+ "children": {
7764
+ "type": {
7765
+ "name": "node"
7766
+ },
7767
+ "required": true,
7853
7768
  "description": ""
7854
7769
  }
7855
7770
  },
7856
7771
  "attributes": {
7857
- "acceptsRNA11yProps": true
7772
+ "acceptsRNA11yProps": false
7858
7773
  }
7859
7774
  }
7860
7775
  },
7861
- "ButtonLink": {
7776
+ "Button": {
7862
7777
  "docs": {
7863
- "description": "`ButtonLink` is a component with the semantics and behaviour of a link, but with the visual appearance of a button.\nButtonLink is a block-level component and should not be used inline.",
7778
+ "description": "",
7864
7779
  "props": {
7865
7780
  "tokens": {
7866
7781
  "type": {
@@ -7943,66 +7858,6 @@
7943
7858
  },
7944
7859
  "required": false,
7945
7860
  "description": ""
7946
- },
7947
- "onPressIn": {
7948
- "type": {
7949
- "name": "func"
7950
- },
7951
- "required": false,
7952
- "description": ""
7953
- },
7954
- "onPressOut": {
7955
- "type": {
7956
- "name": "func"
7957
- },
7958
- "required": false,
7959
- "description": ""
7960
- },
7961
- "href": {
7962
- "type": {
7963
- "name": "string"
7964
- },
7965
- "required": false,
7966
- "description": ""
7967
- },
7968
- "hrefAttrs": {
7969
- "type": {
7970
- "name": "shape",
7971
- "value": {
7972
- "download": {
7973
- "name": "string",
7974
- "required": false
7975
- },
7976
- "rel": {
7977
- "name": "string",
7978
- "required": false
7979
- },
7980
- "target": {
7981
- "name": "enum",
7982
- "value": [
7983
- {
7984
- "value": "'_self'",
7985
- "computed": false
7986
- },
7987
- {
7988
- "value": "'_blank'",
7989
- "computed": false
7990
- },
7991
- {
7992
- "value": "'_parent'",
7993
- "computed": false
7994
- },
7995
- {
7996
- "value": "'_top'",
7997
- "computed": false
7998
- }
7999
- ],
8000
- "required": false
8001
- }
8002
- }
8003
- },
8004
- "required": false,
8005
- "description": ""
8006
7861
  }
8007
7862
  },
8008
7863
  "attributes": {
@@ -8230,6 +8085,158 @@
8230
8085
  }
8231
8086
  }
8232
8087
  },
8088
+ "ButtonLink": {
8089
+ "docs": {
8090
+ "description": "`ButtonLink` is a component with the semantics and behaviour of a link, but with the visual appearance of a button.\nButtonLink is a block-level component and should not be used inline.",
8091
+ "props": {
8092
+ "tokens": {
8093
+ "type": {
8094
+ "name": "custom",
8095
+ "raw": {
8096
+ "borderColor": "color",
8097
+ "borderWidth": "border",
8098
+ "borderRadius": "radius",
8099
+ "shadow": "shadow",
8100
+ "fontSize": "fontSize",
8101
+ "color": "color",
8102
+ "lineHeight": "lineHeight",
8103
+ "textAlign": "flexJustifyContent",
8104
+ "alignSelf": "flexAlign",
8105
+ "fontName": "fontName",
8106
+ "fontWeight": "fontWeight",
8107
+ "backgroundColor": "color",
8108
+ "opacity": "opacity",
8109
+ "paddingLeft": "size",
8110
+ "paddingRight": "size",
8111
+ "paddingTop": "size",
8112
+ "paddingBottom": "size",
8113
+ "width": "size",
8114
+ "minWidth": "size",
8115
+ "outerBorderColor": "color",
8116
+ "outerBorderWidth": "border",
8117
+ "outerBorderGap": "size",
8118
+ "outerBackgroundColor": "color"
8119
+ }
8120
+ },
8121
+ "required": false,
8122
+ "description": ""
8123
+ },
8124
+ "inactive": {
8125
+ "type": {
8126
+ "name": "bool"
8127
+ },
8128
+ "required": false,
8129
+ "description": "If true, prevents the button from being pressed, changes the cursor (on web) and accessibility\nattributes to communicate this to the user, and applies `inactive: true` appearances from the theme"
8130
+ },
8131
+ "disabled": {
8132
+ "type": {
8133
+ "name": "bool"
8134
+ },
8135
+ "required": false,
8136
+ "description": "Alias for `inactive`"
8137
+ },
8138
+ "children": {
8139
+ "type": {
8140
+ "name": "custom",
8141
+ "raw": "ABBPropTypes.childrenOf(\n PropTypes.oneOfType([ABBPropTypes.elementType(A11yText), PropTypes.string])\n)"
8142
+ },
8143
+ "required": false,
8144
+ "description": "Button's children must be either:\n - One or more text strings and / or A11yText components\n - A render function with contents that responds to current button state by being passed an object of:\n```\n{ hovered<bool>, focused<bool>, pressed<bool>, inactive<bool>, selected<bool>, textStyles<RNStyle> }\n```"
8145
+ },
8146
+ "onPress": {
8147
+ "type": {
8148
+ "name": "func"
8149
+ },
8150
+ "required": false,
8151
+ "description": "Function called when the button is pressed. Required unless the button has a href."
8152
+ },
8153
+ "variant": {
8154
+ "type": {
8155
+ "name": "objectOf",
8156
+ "value": {
8157
+ "name": "union",
8158
+ "value": [
8159
+ {
8160
+ "name": "string"
8161
+ },
8162
+ {
8163
+ "name": "number"
8164
+ },
8165
+ {
8166
+ "name": "bool"
8167
+ }
8168
+ ]
8169
+ }
8170
+ },
8171
+ "required": false,
8172
+ "description": ""
8173
+ },
8174
+ "onPressIn": {
8175
+ "type": {
8176
+ "name": "func"
8177
+ },
8178
+ "required": false,
8179
+ "description": ""
8180
+ },
8181
+ "onPressOut": {
8182
+ "type": {
8183
+ "name": "func"
8184
+ },
8185
+ "required": false,
8186
+ "description": ""
8187
+ },
8188
+ "href": {
8189
+ "type": {
8190
+ "name": "string"
8191
+ },
8192
+ "required": false,
8193
+ "description": ""
8194
+ },
8195
+ "hrefAttrs": {
8196
+ "type": {
8197
+ "name": "shape",
8198
+ "value": {
8199
+ "download": {
8200
+ "name": "string",
8201
+ "required": false
8202
+ },
8203
+ "rel": {
8204
+ "name": "string",
8205
+ "required": false
8206
+ },
8207
+ "target": {
8208
+ "name": "enum",
8209
+ "value": [
8210
+ {
8211
+ "value": "'_self'",
8212
+ "computed": false
8213
+ },
8214
+ {
8215
+ "value": "'_blank'",
8216
+ "computed": false
8217
+ },
8218
+ {
8219
+ "value": "'_parent'",
8220
+ "computed": false
8221
+ },
8222
+ {
8223
+ "value": "'_top'",
8224
+ "computed": false
8225
+ }
8226
+ ],
8227
+ "required": false
8228
+ }
8229
+ }
8230
+ },
8231
+ "required": false,
8232
+ "description": ""
8233
+ }
8234
+ },
8235
+ "attributes": {
8236
+ "acceptsRNA11yProps": true
8237
+ }
8238
+ }
8239
+ },
8233
8240
  "CheckboxGroup": {
8234
8241
  "docs": {
8235
8242
  "description": "A group of Checkboxs that behave as a fieldset. Use when users select any number of choices from options.\n\n## Component API\n\nUse the `items` prop to pass an array of objects describing each Checkbox in the group:\n\n - `label`: main text passed to CheckboxGroup's `label` prop\n - `id`: identifier used to store which CheckboxGroup is selected (uses `label` if undefinded)\n - `onChange`: optional function called on selection, in addition to updating the group's selection state\n\n### Controlled version\n\nIf the selection state is controlled from outside, it needs to receive `checkedId` and `onChange` props.\n\n### Uncontrolled version\n\nIf the CheckboxGroup manages its own state, you can use `initialCheckedId` prop to provide the initial value.\nWhenever the radio card gets toggled, it calls the `onChange` callback with the new value (string).\n\n### Use in forms\n\nFor web forms, the `name` prop may be used to define the name of the group's `fieldset` and input elements.\n\n### Validation\n\nValidation state may be set by passing 'error' or 'success' to the `validation` prop.\n\n## A11y guidelines\n\nCheckboxGroup accepts all the common accessibility props, and controls the accessibility state\nof children like Checkbox and Feedback based on current state.\n\n@example\n```jsx\n<CheckboxGroup\n initialCheckedId=\"check1\"\n items={[\n { label: 'Checkbox 1', id: 'check1' },\n { label: 'Checkbox 2', id: 'check2' },\n { label: 'Checkbox 3', id: 'check3' }\n ]}\n legend=\"Checkboxes\"\n hint=\"Choose from these options\"\n/>\n```",
@@ -9511,9 +9518,9 @@
9511
9518
  }
9512
9519
  }
9513
9520
  },
9514
- "TextInput": {
9521
+ "TextArea": {
9515
9522
  "docs": {
9516
- "description": "A basic text input component. Use in forms or individually to receive user's input.\nDue to React Native's implementation of `TextInput` it's not possible to access the current value by passing a ref.\n\n## Controlled component\nIf it is required that the state of the `TextInput` be controlled by the application or other external methods,\n`value` and `onChange` props must be passed to the `TextInput`.\nIf the `TextInput` value should not be changed by user input, a `readOnly` prop must be provided.\n\n## Uncontrolled component\nIf it is not necessary to control the `TextInput` state, you can create one without a value prop.\nIn this case its value can be accessed within the `onChange` callback.\n\nNOTE: In order to support more advanced usages all additional props will be passed down to the React Native's\n`TextInput` component. See <a href=\"https://reactnative.dev/docs/textinput\" target=\"_blank\">React Native documentation</a> for\nsupported props and <a href=\"https://reactnative.dev/docs/textinput\" target=\"_blank\">React Native Web documentation</a> for\ntheir implementation on the web.",
9523
+ "description": "Use to collect long-form information such as product feedback or support queries.\nDue to React Native's implementation of `TextInput` it's not possible to access the current value by passing a ref.\nThe `TextArea` height will automatically increase when new lines are added - this behavior can be limited within the theme.\n\n## Controlled component\nIf it is required that the state of the `TextArea` be controlled by the application or other external methods,\n`value` and `onChange` props must be passed to the `TextArea`.\nIf the `TextArea` value should not be changed by user input, a `readOnly` prop must be provided.\n\n## Uncontrolled component\nIf it is not necessary to control the `TextArea` state, you can create one without a value prop.\nIn this case its value can be accessed within the `onChange` callback.\n\n## Getting feedback for entered values\nUse the `feedback` prop to give the user feedback regarding their input.\nYou can affirm that the user's input was correct, or highlight errors that must be corrected, using the `validation` prop.\nKeep feedback text as brief as possible, should be limited to text and links.\n\n## Supplying a hint\nUse the `hint` prop to succinctly clarify attributes of the expected input data, such as the expected format,\nor an indicator that the field is optional.\nIt is a more usable and accessible option than the HTML `placeholder` attribute.",
9517
9524
  "props": {
9518
9525
  "variant": {
9519
9526
  "defaultValue": {
@@ -9579,6 +9586,8 @@
9579
9586
  "type": {
9580
9587
  "name": "custom",
9581
9588
  "raw": {
9589
+ "minLines": "integer",
9590
+ "maxLines": "integer",
9582
9591
  "backgroundColor": "color",
9583
9592
  "color": "color",
9584
9593
  "borderWidth": "border",
@@ -9609,9 +9618,9 @@
9609
9618
  }
9610
9619
  }
9611
9620
  },
9612
- "TextArea": {
9621
+ "TextInput": {
9613
9622
  "docs": {
9614
- "description": "Use to collect long-form information such as product feedback or support queries.\nDue to React Native's implementation of `TextInput` it's not possible to access the current value by passing a ref.\nThe `TextArea` height will automatically increase when new lines are added - this behavior can be limited within the theme.\n\n## Controlled component\nIf it is required that the state of the `TextArea` be controlled by the application or other external methods,\n`value` and `onChange` props must be passed to the `TextArea`.\nIf the `TextArea` value should not be changed by user input, a `readOnly` prop must be provided.\n\n## Uncontrolled component\nIf it is not necessary to control the `TextArea` state, you can create one without a value prop.\nIn this case its value can be accessed within the `onChange` callback.\n\n## Getting feedback for entered values\nUse the `feedback` prop to give the user feedback regarding their input.\nYou can affirm that the user's input was correct, or highlight errors that must be corrected, using the `validation` prop.\nKeep feedback text as brief as possible, should be limited to text and links.\n\n## Supplying a hint\nUse the `hint` prop to succinctly clarify attributes of the expected input data, such as the expected format,\nor an indicator that the field is optional.\nIt is a more usable and accessible option than the HTML `placeholder` attribute.",
9623
+ "description": "A basic text input component. Use in forms or individually to receive user's input.\nDue to React Native's implementation of `TextInput` it's not possible to access the current value by passing a ref.\n\n## Controlled component\nIf it is required that the state of the `TextInput` be controlled by the application or other external methods,\n`value` and `onChange` props must be passed to the `TextInput`.\nIf the `TextInput` value should not be changed by user input, a `readOnly` prop must be provided.\n\n## Uncontrolled component\nIf it is not necessary to control the `TextInput` state, you can create one without a value prop.\nIn this case its value can be accessed within the `onChange` callback.\n\nNOTE: In order to support more advanced usages all additional props will be passed down to the React Native's\n`TextInput` component. See <a href=\"https://reactnative.dev/docs/textinput\" target=\"_blank\">React Native documentation</a> for\nsupported props and <a href=\"https://reactnative.dev/docs/textinput\" target=\"_blank\">React Native Web documentation</a> for\ntheir implementation on the web.",
9615
9624
  "props": {
9616
9625
  "variant": {
9617
9626
  "defaultValue": {
@@ -9677,8 +9686,6 @@
9677
9686
  "type": {
9678
9687
  "name": "custom",
9679
9688
  "raw": {
9680
- "minLines": "integer",
9681
- "maxLines": "integer",
9682
9689
  "backgroundColor": "color",
9683
9690
  "color": "color",
9684
9691
  "borderWidth": "border",