@platform-blocks/ui 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (533) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +44 -0
  3. package/lib/cjs/index.js +35531 -0
  4. package/lib/cjs/index.js.map +1 -0
  5. package/lib/components/Accessibility/AccessibilityDemo.d.ts +5 -0
  6. package/lib/components/Accessibility/AccessibilityHelpers.d.ts +49 -0
  7. package/lib/components/Accessibility/AccessibilityTesting.d.ts +24 -0
  8. package/lib/components/Accessibility/AccessibleComponents.d.ts +20 -0
  9. package/lib/components/Accessibility/index.d.ts +2 -0
  10. package/lib/components/Accordion/Accordion.d.ts +9 -0
  11. package/lib/components/Accordion/AccordionItem.d.ts +23 -0
  12. package/lib/components/Accordion/defaults.d.ts +13 -0
  13. package/lib/components/Accordion/hooks/useAccordionItemAnimation.d.ts +17 -0
  14. package/lib/components/Accordion/hooks/useMeasuredHeight.d.ts +8 -0
  15. package/lib/components/Accordion/index.d.ts +5 -0
  16. package/lib/components/Accordion/styles.d.ts +17 -0
  17. package/lib/components/Accordion/tokens.d.ts +12 -0
  18. package/lib/components/Accordion/types.d.ts +180 -0
  19. package/lib/components/Alert/Alert.d.ts +2 -0
  20. package/lib/components/Alert/index.d.ts +2 -0
  21. package/lib/components/Alert/types.d.ts +25 -0
  22. package/lib/components/AppShell/AppShell.d.ts +48 -0
  23. package/lib/components/AppShell/BottomAppBar.d.ts +3 -0
  24. package/lib/components/AppShell/MobileMenu.d.ts +10 -0
  25. package/lib/components/AppShell/StatusBarManager.d.ts +7 -0
  26. package/lib/components/AppShell/app-layout/AppLayoutProvider.d.ts +8 -0
  27. package/lib/components/AppShell/app-layout/AppLayoutRenderer.d.ts +5 -0
  28. package/lib/components/AppShell/app-layout/context.d.ts +4 -0
  29. package/lib/components/AppShell/app-layout/defineAppLayout.d.ts +2 -0
  30. package/lib/components/AppShell/app-layout/index.d.ts +5 -0
  31. package/lib/components/AppShell/app-layout/types.d.ts +120 -0
  32. package/lib/components/AppShell/context.d.ts +44 -0
  33. package/lib/components/AppShell/defaults.d.ts +6 -0
  34. package/lib/components/AppShell/hooks/useBreakpoint.d.ts +9 -0
  35. package/lib/components/AppShell/hooks/useResponsiveValue.d.ts +2 -0
  36. package/lib/components/AppShell/index.d.ts +12 -0
  37. package/lib/components/AppShell/meta.schema.d.ts +14 -0
  38. package/lib/components/AppShell/types.d.ts +228 -0
  39. package/lib/components/AppStoreBadge/AppStoreBadge.d.ts +5 -0
  40. package/lib/components/AppStoreBadge/ConvenienceComponents.d.ts +88 -0
  41. package/lib/components/AppStoreBadge/examples/usage-examples.d.ts +4 -0
  42. package/lib/components/AppStoreBadge/index.d.ts +3 -0
  43. package/lib/components/AppStoreBadge/types.d.ts +36 -0
  44. package/lib/components/AppStoreButton/AppStoreButton.d.ts +5 -0
  45. package/lib/components/AppStoreButton/ConvenienceComponents.d.ts +8 -0
  46. package/lib/components/AppStoreButton/index.d.ts +3 -0
  47. package/lib/components/AppStoreButton/types.d.ts +36 -0
  48. package/lib/components/AudioPlayer/AudioPlayer.d.ts +3 -0
  49. package/lib/components/AudioPlayer/AudioPlayerDemo.d.ts +2 -0
  50. package/lib/components/AudioPlayer/index.d.ts +2 -0
  51. package/lib/components/AudioPlayer/types.d.ts +232 -0
  52. package/lib/components/AutoComplete/AutoComplete.d.ts +6 -0
  53. package/lib/components/AutoComplete/index.d.ts +2 -0
  54. package/lib/components/AutoComplete/types.d.ts +120 -0
  55. package/lib/components/Avatar/Avatar.d.ts +3 -0
  56. package/lib/components/Avatar/AvatarGroup.d.ts +3 -0
  57. package/lib/components/Avatar/index.d.ts +3 -0
  58. package/lib/components/Avatar/types.d.ts +30 -0
  59. package/lib/components/Badge/Badge.d.ts +4 -0
  60. package/lib/components/Badge/index.d.ts +3 -0
  61. package/lib/components/Badge/types.d.ts +26 -0
  62. package/lib/components/Block/Block.d.ts +36 -0
  63. package/lib/components/Block/index.d.ts +2 -0
  64. package/lib/components/Block/types.d.ts +102 -0
  65. package/lib/components/Block/utils.d.ts +28 -0
  66. package/lib/components/Blockquote/Blockquote.d.ts +3 -0
  67. package/lib/components/Blockquote/BlockquoteAttribution.d.ts +3 -0
  68. package/lib/components/Blockquote/BlockquoteAuthor.d.ts +3 -0
  69. package/lib/components/Blockquote/BlockquoteMeta.d.ts +3 -0
  70. package/lib/components/Blockquote/BlockquoteSource.d.ts +3 -0
  71. package/lib/components/Blockquote/index.d.ts +6 -0
  72. package/lib/components/Blockquote/styles.d.ts +80 -0
  73. package/lib/components/Blockquote/types.d.ts +74 -0
  74. package/lib/components/BrandButton/BrandButton.d.ts +3 -0
  75. package/lib/components/BrandButton/index.d.ts +2 -0
  76. package/lib/components/BrandButton/types.d.ts +23 -0
  77. package/lib/components/BrandIcon/BrandIcon.d.ts +27 -0
  78. package/lib/components/BrandIcon/brands.d.ts +520 -0
  79. package/lib/components/BrandIcon/index.d.ts +2 -0
  80. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -0
  81. package/lib/components/Breadcrumbs/index.d.ts +2 -0
  82. package/lib/components/Breadcrumbs/types.d.ts +35 -0
  83. package/lib/components/Button/Button.d.ts +3 -0
  84. package/lib/components/Button/SoundButton.d.ts +22 -0
  85. package/lib/components/Button/defaults.d.ts +7 -0
  86. package/lib/components/Button/index.d.ts +2 -0
  87. package/lib/components/Button/styles/resolver.d.ts +7 -0
  88. package/lib/components/Button/tokens.d.ts +16 -0
  89. package/lib/components/Button/types.d.ts +67 -0
  90. package/lib/components/Calendar/Calendar.d.ts +3 -0
  91. package/lib/components/Calendar/Day.d.ts +3 -0
  92. package/lib/components/Calendar/Month.d.ts +3 -0
  93. package/lib/components/Calendar/MonthPicker.d.ts +2 -0
  94. package/lib/components/Calendar/YearPicker.d.ts +2 -0
  95. package/lib/components/Calendar/index.d.ts +8 -0
  96. package/lib/components/Calendar/types.d.ts +92 -0
  97. package/lib/components/Calendar/utils.d.ts +31 -0
  98. package/lib/components/Can/Can.d.ts +30 -0
  99. package/lib/components/Can/PermissionDemo.d.ts +2 -0
  100. package/lib/components/Can/ability.d.ts +89 -0
  101. package/lib/components/Can/builder.d.ts +113 -0
  102. package/lib/components/Can/context.d.ts +25 -0
  103. package/lib/components/Can/index.d.ts +6 -0
  104. package/lib/components/Can/types.d.ts +228 -0
  105. package/lib/components/Card/Card.d.ts +3 -0
  106. package/lib/components/Card/index.d.ts +2 -0
  107. package/lib/components/Card/types.d.ts +15 -0
  108. package/lib/components/Carousel/Carousel.d.ts +4 -0
  109. package/lib/components/Carousel/index.d.ts +2 -0
  110. package/lib/components/Carousel/styles.d.ts +21 -0
  111. package/lib/components/Carousel/types.d.ts +51 -0
  112. package/lib/components/Checkbox/Checkbox.d.ts +4 -0
  113. package/lib/components/Checkbox/index.d.ts +2 -0
  114. package/lib/components/Checkbox/styles.d.ts +71 -0
  115. package/lib/components/Checkbox/types.d.ts +52 -0
  116. package/lib/components/Chip/Chip.d.ts +4 -0
  117. package/lib/components/Chip/index.d.ts +3 -0
  118. package/lib/components/Chip/types.d.ts +22 -0
  119. package/lib/components/CodeBlock/CodeBlock.d.ts +16 -0
  120. package/lib/components/CodeBlock/index.d.ts +3 -0
  121. package/lib/components/CodeBlock/type.d.ts +40 -0
  122. package/lib/components/CodeBlock/types.d.ts +44 -0
  123. package/lib/components/CodeBlock/utils.d.ts +38 -0
  124. package/lib/components/ColorPicker/ColorPicker.d.ts +8 -0
  125. package/lib/components/ColorPicker/index.d.ts +2 -0
  126. package/lib/components/ColorPicker/styles.d.ts +35 -0
  127. package/lib/components/ColorPicker/types.d.ts +69 -0
  128. package/lib/components/ColorPicker/utils.d.ts +8 -0
  129. package/lib/components/ColorSwatch/ColorSwatch.d.ts +6 -0
  130. package/lib/components/ColorSwatch/index.d.ts +2 -0
  131. package/lib/components/ColorSwatch/types.d.ts +29 -0
  132. package/lib/components/Container/Container.d.ts +3 -0
  133. package/lib/components/Container/index.d.ts +2 -0
  134. package/lib/components/Container/types.d.ts +31 -0
  135. package/lib/components/ContextMenu/ContextMenu.d.ts +5 -0
  136. package/lib/components/ContextMenu/index.d.ts +2 -0
  137. package/lib/components/ContextMenu/types.d.ts +36 -0
  138. package/lib/components/CopyButton/CopyButton.d.ts +10 -0
  139. package/lib/components/CopyButton/index.d.ts +2 -0
  140. package/lib/components/CopyButton/types.d.ts +37 -0
  141. package/lib/components/DataTable/AdvancedFilterControl.d.ts +10 -0
  142. package/lib/components/DataTable/ColumnSettings.d.ts +16 -0
  143. package/lib/components/DataTable/DataTable.d.ts +5 -0
  144. package/lib/components/DataTable/hooks/useColumnSettings.d.ts +12 -0
  145. package/lib/components/DataTable/hooks/useDataTableState.d.ts +41 -0
  146. package/lib/components/DataTable/hooks/useRowSelection.d.ts +40 -0
  147. package/lib/components/DataTable/index.d.ts +1 -0
  148. package/lib/components/DataTable/types.d.ts +223 -0
  149. package/lib/components/DatePicker/DatePicker.d.ts +4 -0
  150. package/lib/components/DatePicker/index.d.ts +8 -0
  151. package/lib/components/DatePicker/types.d.ts +47 -0
  152. package/lib/components/DatePicker/utils.d.ts +30 -0
  153. package/lib/components/DatePickerInput/DatePickerInput.d.ts +4 -0
  154. package/lib/components/DatePickerInput/index.d.ts +2 -0
  155. package/lib/components/DatePickerInput/types.d.ts +41 -0
  156. package/lib/components/Dialog/Dialog.d.ts +3 -0
  157. package/lib/components/Dialog/DialogContext.d.ts +11 -0
  158. package/lib/components/Dialog/DialogRenderer.d.ts +2 -0
  159. package/lib/components/Dialog/hooks/useSimpleDialog.d.ts +25 -0
  160. package/lib/components/Dialog/index.d.ts +6 -0
  161. package/lib/components/Dialog/types.d.ts +35 -0
  162. package/lib/components/Disclaimer/Disclaimer.d.ts +11 -0
  163. package/lib/components/Disclaimer/disclaimerUtils.d.ts +21 -0
  164. package/lib/components/Disclaimer/index.d.ts +6 -0
  165. package/lib/components/Disclaimer/withDisclaimer.d.ts +13 -0
  166. package/lib/components/Divider/Divider.d.ts +2 -0
  167. package/lib/components/Divider/index.d.ts +2 -0
  168. package/lib/components/Divider/types.d.ts +22 -0
  169. package/lib/components/EmojiPicker/EmojiPicker.d.ts +6 -0
  170. package/lib/components/EmojiPicker/index.d.ts +2 -0
  171. package/lib/components/EmojiPicker/types.d.ts +29 -0
  172. package/lib/components/FileInput/FileInput.d.ts +3 -0
  173. package/lib/components/FileInput/index.d.ts +2 -0
  174. package/lib/components/FileInput/types.d.ts +82 -0
  175. package/lib/components/Flex/Flex.d.ts +38 -0
  176. package/lib/components/Flex/helpers.d.ts +13 -0
  177. package/lib/components/Flex/index.d.ts +2 -0
  178. package/lib/components/FloatingActions/FloatingActions.d.ts +29 -0
  179. package/lib/components/FloatingActions/index.d.ts +2 -0
  180. package/lib/components/Form/FormBase.d.ts +3 -0
  181. package/lib/components/Form/FormContext.d.ts +16 -0
  182. package/lib/components/Form/FormError.d.ts +3 -0
  183. package/lib/components/Form/FormField.d.ts +3 -0
  184. package/lib/components/Form/FormInput.d.ts +3 -0
  185. package/lib/components/Form/FormLabel.d.ts +3 -0
  186. package/lib/components/Form/FormSubmit.d.ts +3 -0
  187. package/lib/components/Form/OptimizedForm.d.ts +22 -0
  188. package/lib/components/Form/index.d.ts +9 -0
  189. package/lib/components/Form/types.d.ts +104 -0
  190. package/lib/components/FormLayout/FormField.d.ts +3 -0
  191. package/lib/components/FormLayout/FormGroup.d.ts +3 -0
  192. package/lib/components/FormLayout/FormLayout.d.ts +3 -0
  193. package/lib/components/FormLayout/FormSection.d.ts +3 -0
  194. package/lib/components/FormLayout/index.d.ts +5 -0
  195. package/lib/components/FormLayout/types.d.ts +31 -0
  196. package/lib/components/Forms/ContactForm.d.ts +3 -0
  197. package/lib/components/Forms/ForgotPasswordForm.d.ts +3 -0
  198. package/lib/components/Forms/LoginForm.d.ts +3 -0
  199. package/lib/components/Forms/SignupForm.d.ts +3 -0
  200. package/lib/components/Forms/index.d.ts +5 -0
  201. package/lib/components/Forms/types.d.ts +89 -0
  202. package/lib/components/Gallery/Gallery.d.ts +3 -0
  203. package/lib/components/Gallery/GalleryControls.d.ts +3 -0
  204. package/lib/components/Gallery/GalleryMetadata.d.ts +3 -0
  205. package/lib/components/Gallery/GalleryNew.d.ts +3 -0
  206. package/lib/components/Gallery/GalleryThumbnails.d.ts +3 -0
  207. package/lib/components/Gallery/index.d.ts +5 -0
  208. package/lib/components/Gallery/types.d.ts +68 -0
  209. package/lib/components/Gauge/Gauge.d.ts +41 -0
  210. package/lib/components/Gauge/index.d.ts +9 -0
  211. package/lib/components/Gauge/styles.d.ts +57 -0
  212. package/lib/components/Gauge/types.d.ts +210 -0
  213. package/lib/components/Gauge/utils.d.ts +72 -0
  214. package/lib/components/GradientText/GradientText.d.ts +46 -0
  215. package/lib/components/GradientText/index.d.ts +2 -0
  216. package/lib/components/GradientText/types.d.ts +39 -0
  217. package/lib/components/Grid/Grid.d.ts +11 -0
  218. package/lib/components/Grid/index.d.ts +2 -0
  219. package/lib/components/Grid/types.d.ts +32 -0
  220. package/lib/components/HoverCard/HoverCard.d.ts +2 -0
  221. package/lib/components/HoverCard/index.d.ts +2 -0
  222. package/lib/components/HoverCard/types.d.ts +53 -0
  223. package/lib/components/Icon/Icon.d.ts +6 -0
  224. package/lib/components/Icon/icons/actions.d.ts +2 -0
  225. package/lib/components/Icon/icons/data.d.ts +2 -0
  226. package/lib/components/Icon/icons/multimedia.d.ts +2 -0
  227. package/lib/components/Icon/icons/navigation.d.ts +2 -0
  228. package/lib/components/Icon/icons/platforms.d.ts +2 -0
  229. package/lib/components/Icon/icons/status.d.ts +2 -0
  230. package/lib/components/Icon/icons/ui.d.ts +2 -0
  231. package/lib/components/Icon/index.d.ts +2 -0
  232. package/lib/components/Icon/registry.d.ts +6 -0
  233. package/lib/components/Icon/types.d.ts +40 -0
  234. package/lib/components/IconButton/IconButton.d.ts +3 -0
  235. package/lib/components/IconButton/index.d.ts +2 -0
  236. package/lib/components/IconButton/types.d.ts +45 -0
  237. package/lib/components/Image/Image.d.ts +3 -0
  238. package/lib/components/Image/index.d.ts +2 -0
  239. package/lib/components/Image/types.d.ts +57 -0
  240. package/lib/components/Indicator/Indicator.d.ts +7 -0
  241. package/lib/components/Indicator/index.d.ts +2 -0
  242. package/lib/components/Indicator/types.d.ts +13 -0
  243. package/lib/components/Input/Input.d.ts +6 -0
  244. package/lib/components/Input/InputBase.d.ts +17 -0
  245. package/lib/components/Input/OptimizedInput.d.ts +19 -0
  246. package/lib/components/Input/PasswordInput.d.ts +3 -0
  247. package/lib/components/Input/index.d.ts +5 -0
  248. package/lib/components/Input/styles.d.ts +85 -0
  249. package/lib/components/Input/types.d.ts +120 -0
  250. package/lib/components/Input/validation/index.d.ts +14 -0
  251. package/lib/components/Input/validation/optimized.d.ts +33 -0
  252. package/lib/components/KeyCap/KeyCap.d.ts +6 -0
  253. package/lib/components/KeyCap/index.d.ts +3 -0
  254. package/lib/components/KeyCap/styles.d.ts +11 -0
  255. package/lib/components/KeyCap/types.d.ts +54 -0
  256. package/lib/components/Layout/Layout.d.ts +18 -0
  257. package/lib/components/Layout/index.d.ts +1 -0
  258. package/lib/components/Link/Link.d.ts +31 -0
  259. package/lib/components/Link/index.d.ts +2 -0
  260. package/lib/components/ListGroup/ListGroup.d.ts +19 -0
  261. package/lib/components/ListGroup/index.d.ts +2 -0
  262. package/lib/components/ListGroup/types.d.ts +26 -0
  263. package/lib/components/Loader/Loader.d.ts +8 -0
  264. package/lib/components/Loader/index.d.ts +2 -0
  265. package/lib/components/Loader/types.d.ts +18 -0
  266. package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +3 -0
  267. package/lib/components/LoadingOverlay/index.d.ts +2 -0
  268. package/lib/components/LoadingOverlay/types.d.ts +16 -0
  269. package/lib/components/Lottie/Lottie.d.ts +30 -0
  270. package/lib/components/Lottie/index.d.ts +2 -0
  271. package/lib/components/Markdown/Markdown.d.ts +66 -0
  272. package/lib/components/Markdown/index.d.ts +1 -0
  273. package/lib/components/Masonry/Masonry.d.ts +7 -0
  274. package/lib/components/Masonry/index.d.ts +2 -0
  275. package/lib/components/Masonry/types.d.ts +39 -0
  276. package/lib/components/Menu/Menu.d.ts +29 -0
  277. package/lib/components/Menu/index.d.ts +2 -0
  278. package/lib/components/Menu/styles.d.ts +13 -0
  279. package/lib/components/Menu/types.d.ts +71 -0
  280. package/lib/components/MenuItemButton/MenuItemButton.d.ts +39 -0
  281. package/lib/components/MenuItemButton/index.d.ts +2 -0
  282. package/lib/components/MiniCalendar/MiniCalendar.d.ts +3 -0
  283. package/lib/components/MiniCalendar/index.d.ts +1 -0
  284. package/lib/components/MonthPicker/MonthPicker.d.ts +3 -0
  285. package/lib/components/MonthPicker/index.d.ts +2 -0
  286. package/lib/components/MonthPicker/types.d.ts +26 -0
  287. package/lib/components/MonthPickerInput/MonthPickerInput.d.ts +4 -0
  288. package/lib/components/MonthPickerInput/index.d.ts +2 -0
  289. package/lib/components/MonthPickerInput/types.d.ts +30 -0
  290. package/lib/components/Navigation/DrawerNavigator.d.ts +7 -0
  291. package/lib/components/Navigation/NavigationContainer.d.ts +11 -0
  292. package/lib/components/Navigation/NavigationContext.d.ts +11 -0
  293. package/lib/components/Navigation/Screen.d.ts +6 -0
  294. package/lib/components/Navigation/StackNavigator.d.ts +7 -0
  295. package/lib/components/Navigation/index.d.ts +6 -0
  296. package/lib/components/Navigation/types.d.ts +70 -0
  297. package/lib/components/NavigationProgress/NavigationProgress.d.ts +4 -0
  298. package/lib/components/NavigationProgress/defaults.d.ts +8 -0
  299. package/lib/components/NavigationProgress/hooks/useNavigationProgressState.d.ts +1 -0
  300. package/lib/components/NavigationProgress/index.d.ts +2 -0
  301. package/lib/components/NavigationProgress/styles/resolver.d.ts +1 -0
  302. package/lib/components/NavigationProgress/tokens.d.ts +4 -0
  303. package/lib/components/NavigationProgress/types.d.ts +30 -0
  304. package/lib/components/NumberInput/NumberInput.d.ts +5 -0
  305. package/lib/components/NumberInput/index.d.ts +2 -0
  306. package/lib/components/NumberInput/types.d.ts +76 -0
  307. package/lib/components/Overlay/Overlay.d.ts +4 -0
  308. package/lib/components/Overlay/index.d.ts +2 -0
  309. package/lib/components/Overlay/types.d.ts +27 -0
  310. package/lib/components/Pagination/Pagination.d.ts +6 -0
  311. package/lib/components/Pagination/index.d.ts +2 -0
  312. package/lib/components/Pagination/types.d.ts +58 -0
  313. package/lib/components/PhoneInput/PhoneInput.d.ts +3 -0
  314. package/lib/components/PhoneInput/index.d.ts +2 -0
  315. package/lib/components/PhoneInput/types.d.ts +27 -0
  316. package/lib/components/PinInput/PinInput.d.ts +6 -0
  317. package/lib/components/PinInput/index.d.ts +2 -0
  318. package/lib/components/PinInput/types.d.ts +41 -0
  319. package/lib/components/PressAnimation/PressAnimation.d.ts +29 -0
  320. package/lib/components/PressAnimation/index.d.ts +2 -0
  321. package/lib/components/Progress/Progress.d.ts +11 -0
  322. package/lib/components/Progress/index.d.ts +2 -0
  323. package/lib/components/Progress/types.d.ts +48 -0
  324. package/lib/components/QRCode/QRCode.d.ts +11 -0
  325. package/lib/components/QRCode/QRCodeSVG.d.ts +6 -0
  326. package/lib/components/QRCode/core/buildMatrix.d.ts +11 -0
  327. package/lib/components/QRCode/core/encoder.d.ts +12 -0
  328. package/lib/components/QRCode/core/mask.d.ts +2 -0
  329. package/lib/components/QRCode/core/mode.d.ts +6 -0
  330. package/lib/components/QRCode/core/reedSolomon.d.ts +1 -0
  331. package/lib/components/QRCode/core/tables.d.ts +24 -0
  332. package/lib/components/QRCode/index.d.ts +3 -0
  333. package/lib/components/QRCode/optimizations.d.ts +20 -0
  334. package/lib/components/QRCode/types.d.ts +76 -0
  335. package/lib/components/Radio/Radio.d.ts +10 -0
  336. package/lib/components/Radio/index.d.ts +2 -0
  337. package/lib/components/Radio/styles.d.ts +81 -0
  338. package/lib/components/Radio/types.d.ts +79 -0
  339. package/lib/components/Rating/Rating.d.ts +2 -0
  340. package/lib/components/Rating/index.d.ts +2 -0
  341. package/lib/components/Rating/types.d.ts +35 -0
  342. package/lib/components/Reveal/Reveal.d.ts +4 -0
  343. package/lib/components/Reveal/index.d.ts +2 -0
  344. package/lib/components/Reveal/types.d.ts +53 -0
  345. package/lib/components/RichTextEditor/RichTextEditor.d.ts +3 -0
  346. package/lib/components/RichTextEditor/index.d.ts +2 -0
  347. package/lib/components/RichTextEditor/styles.d.ts +61 -0
  348. package/lib/components/RichTextEditor/types.d.ts +150 -0
  349. package/lib/components/Search/Search.d.ts +6 -0
  350. package/lib/components/Search/index.d.ts +2 -0
  351. package/lib/components/Search/test-component.d.ts +3 -0
  352. package/lib/components/Search/types.d.ts +27 -0
  353. package/lib/components/SegmentedControl/SegmentedControl.d.ts +6 -0
  354. package/lib/components/SegmentedControl/index.d.ts +2 -0
  355. package/lib/components/SegmentedControl/types.d.ts +62 -0
  356. package/lib/components/Select/Select.d.ts +6 -0
  357. package/lib/components/Select/Select.types.d.ts +31 -0
  358. package/lib/components/Select/index.d.ts +2 -0
  359. package/lib/components/Select/types.d.ts +25 -0
  360. package/lib/components/ShimmerText/ShimmerText.d.ts +33 -0
  361. package/lib/components/ShimmerText/index.d.ts +2 -0
  362. package/lib/components/ShimmerText/types.d.ts +33 -0
  363. package/lib/components/Skeleton/Skeleton.d.ts +2 -0
  364. package/lib/components/Skeleton/index.d.ts +2 -0
  365. package/lib/components/Skeleton/types.d.ts +30 -0
  366. package/lib/components/Slider/Slider.d.ts +10 -0
  367. package/lib/components/Slider/SliderCore.d.ts +57 -0
  368. package/lib/components/Slider/index.d.ts +2 -0
  369. package/lib/components/Slider/types.d.ts +133 -0
  370. package/lib/components/Space/Space.d.ts +4 -0
  371. package/lib/components/Space/index.d.ts +2 -0
  372. package/lib/components/Space/types.d.ts +17 -0
  373. package/lib/components/Spoiler/Spoiler.d.ts +5 -0
  374. package/lib/components/Spoiler/index.d.ts +2 -0
  375. package/lib/components/Spoiler/types.d.ts +40 -0
  376. package/lib/components/Spotlight/DirectSpotlightState.d.ts +41 -0
  377. package/lib/components/Spotlight/Spotlight.d.ts +19 -0
  378. package/lib/components/Spotlight/SpotlightController.d.ts +13 -0
  379. package/lib/components/Spotlight/SpotlightStore.d.ts +32 -0
  380. package/lib/components/Spotlight/SpotlightTypes.d.ts +29 -0
  381. package/lib/components/Spotlight/index.d.ts +6 -0
  382. package/lib/components/Spotlight/types.d.ts +66 -0
  383. package/lib/components/Stepper/Stepper.d.ts +12 -0
  384. package/lib/components/Stepper/index.d.ts +2 -0
  385. package/lib/components/Stepper/types.d.ts +68 -0
  386. package/lib/components/Switch/Switch.d.ts +6 -0
  387. package/lib/components/Switch/index.d.ts +2 -0
  388. package/lib/components/Switch/styles.d.ts +85 -0
  389. package/lib/components/Switch/types.d.ts +54 -0
  390. package/lib/components/Table/Table.d.ts +115 -0
  391. package/lib/components/Table/index.d.ts +1 -0
  392. package/lib/components/TableOfContents/TableOfContents.d.ts +3 -0
  393. package/lib/components/TableOfContents/index.d.ts +2 -0
  394. package/lib/components/TableOfContents/types.d.ts +77 -0
  395. package/lib/components/Tabs/Tabs.d.ts +3 -0
  396. package/lib/components/Tabs/index.d.ts +2 -0
  397. package/lib/components/Tabs/types.d.ts +182 -0
  398. package/lib/components/Text/Text.d.ts +51 -0
  399. package/lib/components/Text/aliases.d.ts +22 -0
  400. package/lib/components/Text/index.d.ts +2 -0
  401. package/lib/components/TextArea/TextArea.d.ts +6 -0
  402. package/lib/components/TextArea/index.d.ts +2 -0
  403. package/lib/components/TextArea/meta/index.d.ts +97 -0
  404. package/lib/components/TextArea/styles.d.ts +95 -0
  405. package/lib/components/TextArea/types.d.ts +33 -0
  406. package/lib/components/TimePicker/TimePicker.d.ts +3 -0
  407. package/lib/components/TimePicker/index.d.ts +2 -0
  408. package/lib/components/TimePicker/types.d.ts +32 -0
  409. package/lib/components/TimePickerInput/index.d.ts +2 -0
  410. package/lib/components/Timeline/Timeline.d.ts +13 -0
  411. package/lib/components/Timeline/index.d.ts +2 -0
  412. package/lib/components/Timeline/types.d.ts +53 -0
  413. package/lib/components/Title/Title.d.ts +10 -0
  414. package/lib/components/Title/index.d.ts +2 -0
  415. package/lib/components/Title/types.d.ts +55 -0
  416. package/lib/components/Toast/Toast.d.ts +8 -0
  417. package/lib/components/Toast/ToastProvider.d.ts +88 -0
  418. package/lib/components/Toast/index.d.ts +3 -0
  419. package/lib/components/Toast/types.d.ts +78 -0
  420. package/lib/components/Toggle/Toggle.d.ts +10 -0
  421. package/lib/components/Toggle/ToggleBar.d.ts +42 -0
  422. package/lib/components/Toggle/index.d.ts +4 -0
  423. package/lib/components/Toggle/types.d.ts +68 -0
  424. package/lib/components/Tooltip/Tooltip.d.ts +2 -0
  425. package/lib/components/Tooltip/index.d.ts +2 -0
  426. package/lib/components/Tooltip/types.d.ts +44 -0
  427. package/lib/components/Tree/Tree.d.ts +5 -0
  428. package/lib/components/Tree/index.d.ts +2 -0
  429. package/lib/components/Tree/types.d.ts +65 -0
  430. package/lib/components/Video/NativeVideoPlayer.d.ts +33 -0
  431. package/lib/components/Video/Video.d.ts +3 -0
  432. package/lib/components/Video/VideoControls.d.ts +17 -0
  433. package/lib/components/Video/VideoTimeline.d.ts +12 -0
  434. package/lib/components/Video/YouTubePlayer.d.ts +44 -0
  435. package/lib/components/Video/index.d.ts +2 -0
  436. package/lib/components/Video/types.d.ts +145 -0
  437. package/lib/components/Waveform/Waveform.d.ts +3 -0
  438. package/lib/components/Waveform/WaveformSkeleton.d.ts +9 -0
  439. package/lib/components/Waveform/index.d.ts +4 -0
  440. package/lib/components/Waveform/styles.d.ts +53 -0
  441. package/lib/components/Waveform/types.d.ts +124 -0
  442. package/lib/components/Waveform/utils.d.ts +95 -0
  443. package/lib/components/YearPicker/YearPicker.d.ts +3 -0
  444. package/lib/components/YearPicker/index.d.ts +2 -0
  445. package/lib/components/YearPicker/types.d.ts +24 -0
  446. package/lib/components/YearPickerInput/YearPickerInput.d.ts +4 -0
  447. package/lib/components/YearPickerInput/index.d.ts +2 -0
  448. package/lib/components/YearPickerInput/types.d.ts +26 -0
  449. package/lib/components/_internal/FieldHeader.d.ts +21 -0
  450. package/lib/components/index.d.ts +164 -0
  451. package/lib/components/optimized.d.ts +74 -0
  452. package/lib/components/types.d.ts +57 -0
  453. package/lib/contexts/TitleRegistryContext.d.ts +20 -0
  454. package/lib/contexts/index.d.ts +1 -0
  455. package/lib/core/accessibility/advancedHooks.d.ts +82 -0
  456. package/lib/core/accessibility/constants.d.ts +85 -0
  457. package/lib/core/accessibility/context.d.ts +5 -0
  458. package/lib/core/accessibility/hooks.d.ts +33 -0
  459. package/lib/core/accessibility/index.d.ts +6 -0
  460. package/lib/core/accessibility/types.d.ts +35 -0
  461. package/lib/core/accessibility/utils.d.ts +56 -0
  462. package/lib/core/animations/index.d.ts +2 -0
  463. package/lib/core/animations/transitions.d.ts +31 -0
  464. package/lib/core/components/ClearButton.d.ts +15 -0
  465. package/lib/core/components/InputContainer.d.ts +19 -0
  466. package/lib/core/design-tokens.d.ts +292 -0
  467. package/lib/core/factory/factory.d.ts +33 -0
  468. package/lib/core/factory/index.d.ts +4 -0
  469. package/lib/core/factory/polymorphicFactory.d.ts +38 -0
  470. package/lib/core/haptics/HapticsProvider.d.ts +14 -0
  471. package/lib/core/hooks/useDropdownPositioning.d.ts +61 -0
  472. package/lib/core/hooks/usePopoverPositioning.d.ts +33 -0
  473. package/lib/core/i18n/I18nContext.d.ts +8 -0
  474. package/lib/core/i18n/index.d.ts +2 -0
  475. package/lib/core/i18n/types.d.ts +22 -0
  476. package/lib/core/index.d.ts +15 -0
  477. package/lib/core/interactive-states.d.ts +41 -0
  478. package/lib/core/motion/ReducedMotionProvider.d.ts +10 -0
  479. package/lib/core/motion/motionTokens.d.ts +12 -0
  480. package/lib/core/providers/DirectionProvider.d.ts +88 -0
  481. package/lib/core/providers/OverlayProvider.d.ts +40 -0
  482. package/lib/core/providers/OverlayRenderer.d.ts +7 -0
  483. package/lib/core/providers/index.d.ts +5 -0
  484. package/lib/core/responsive/index.d.ts +22 -0
  485. package/lib/core/sound/context.d.ts +21 -0
  486. package/lib/core/sound/hooks.d.ts +214 -0
  487. package/lib/core/sound/index.d.ts +5 -0
  488. package/lib/core/sound/mockContext.d.ts +21 -0
  489. package/lib/core/sound/sounds.d.ts +17 -0
  490. package/lib/core/sound/types.d.ts +79 -0
  491. package/lib/core/style-factory.d.ts +23 -0
  492. package/lib/core/theme/CSSVariables.d.ts +9 -0
  493. package/lib/core/theme/PlatformBlocksProvider.d.ts +52 -0
  494. package/lib/core/theme/ThemeModeProvider.d.ts +42 -0
  495. package/lib/core/theme/ThemeProvider.d.ts +19 -0
  496. package/lib/core/theme/breakpoints.d.ts +34 -0
  497. package/lib/core/theme/darkTheme.d.ts +2 -0
  498. package/lib/core/theme/defaultTheme.d.ts +2 -0
  499. package/lib/core/theme/index.d.ts +12 -0
  500. package/lib/core/theme/radius.d.ts +132 -0
  501. package/lib/core/theme/shadow.d.ts +119 -0
  502. package/lib/core/theme/sizes.d.ts +185 -0
  503. package/lib/core/theme/types.d.ts +190 -0
  504. package/lib/core/theme/unified-sizing.d.ts +65 -0
  505. package/lib/core/theme/useColorScheme.d.ts +6 -0
  506. package/lib/core/theme/utils.d.ts +9 -0
  507. package/lib/core/unified-styles.d.ts +12 -0
  508. package/lib/core/utils/UniversalCSS.d.ts +14 -0
  509. package/lib/core/utils/debounce.d.ts +16 -0
  510. package/lib/core/utils/hash.d.ts +4 -0
  511. package/lib/core/utils/index.d.ts +38 -0
  512. package/lib/core/utils/layout.d.ts +44 -0
  513. package/lib/core/utils/performance.d.ts +30 -0
  514. package/lib/core/utils/positioning-enhanced.d.ts +88 -0
  515. package/lib/core/utils/rtl.d.ts +174 -0
  516. package/lib/core/utils/shadow.d.ts +13 -0
  517. package/lib/core/utils/spacing.d.ts +56 -0
  518. package/lib/core/utils/universal.d.ts +47 -0
  519. package/lib/core/utils/universalSimple.d.ts +37 -0
  520. package/lib/core/utils/withUniversalProps.d.ts +26 -0
  521. package/lib/esm/index.js +35209 -0
  522. package/lib/esm/index.js.map +1 -0
  523. package/lib/hooks/index.d.ts +6 -0
  524. package/lib/hooks/useClipboard.d.ts +20 -0
  525. package/lib/hooks/useHaptics.d.ts +22 -0
  526. package/lib/hooks/useHotkeys.d.ts +42 -0
  527. package/lib/hooks/useMaskedInput.d.ts +35 -0
  528. package/lib/hooks/useScrollSpy.d.ts +38 -0
  529. package/lib/hooks/useTitleRegistration.d.ts +14 -0
  530. package/lib/index.d.ts +220 -0
  531. package/lib/utils/index.d.ts +1 -0
  532. package/lib/utils/mask.d.ts +138 -0
  533. package/package.json +148 -0
@@ -0,0 +1,164 @@
1
+ export { Alert } from './Alert';
2
+ export { AppShell } from './AppShell';
3
+ export { AppStoreBadge, AppStoreDownloadBadge, GalaxyStoreDownloadBadge, GooglePlayDownloadBadge, HuaweiAppGalleryBadge, AmazonAppstoreBadge, MicrosoftStoreDownloadBadge, SpotifyListenBadge, ApplePodcastsListenBadge, YouTubeWatchBadge, YouTubeMusicListenBadge, AppleMusicListenBadge, AmazonMusicListenBadge, SoundCloudListenBadge, AmazonStoreBadge, AmazonPrimeVideoBadge, TwitchWatchBadge, GitHubViewBadge, DiscordJoinBadge, RedditJoinBadge, TikTokWatchBadge, ChromeWebStoreBadge, } from './AppStoreBadge';
4
+ export { AudioPlayer } from './AudioPlayer';
5
+ export { Avatar, AvatarGroup } from './Avatar';
6
+ export { BrandButton } from './BrandButton';
7
+ export { Block } from './Block';
8
+ export { Breadcrumbs } from './Breadcrumbs';
9
+ export { Button } from './Button';
10
+ export { Card } from './Card';
11
+ export { Carousel } from './Carousel';
12
+ export { Checkbox } from './Checkbox';
13
+ export { Chip } from './Chip';
14
+ export { CodeBlock } from './CodeBlock';
15
+ export { CopyButton } from './CopyButton/CopyButton';
16
+ export { ColorPicker } from './ColorPicker';
17
+ export { Container } from './Container';
18
+ export { DataTable } from './DataTable';
19
+ export { Disclaimer, ComponentWithDisclaimer, useDisclaimer, withDisclaimer, extractDisclaimerProps } from './Disclaimer';
20
+ export { Dialog, DialogProvider, DialogRenderer, useDialog, useSimpleDialog } from './Dialog';
21
+ export { Divider } from './Divider';
22
+ export { Space } from './Space';
23
+ export { Flex } from './Flex';
24
+ export { Grid } from './Grid';
25
+ export { Tree } from './Tree';
26
+ export { Waveform } from './Waveform';
27
+ export { TimePicker } from './TimePicker/TimePicker';
28
+ export { TimePickerInput } from './TimePickerInput';
29
+ export { Icon } from './Icon';
30
+ export { IconButton } from './IconButton';
31
+ export { Image } from './Image';
32
+ export { BrandIcon } from './BrandIcon';
33
+ export { Input, PasswordInput, TextInputBase } from './Input';
34
+ export { TextArea } from './TextArea';
35
+ export { Overlay } from './Overlay';
36
+ export { KeyCap } from './KeyCap';
37
+ export { Link } from './Link';
38
+ export { Menu, MenuItem, MenuLabel, MenuDivider, MenuDropdown } from './Menu';
39
+ export { MenuItemButton } from './MenuItemButton';
40
+ export { NumberInput } from './NumberInput';
41
+ export { DatePicker, Calendar, Month, Day } from './DatePicker';
42
+ export { MonthPicker } from './MonthPicker';
43
+ export { YearPicker } from './YearPicker';
44
+ export { DatePickerInput } from './DatePickerInput';
45
+ export { MonthPickerInput } from './MonthPickerInput';
46
+ export { YearPickerInput } from './YearPickerInput';
47
+ export { Pagination } from './Pagination';
48
+ export { PinInput } from './PinInput';
49
+ export { Slider, RangeSlider } from './Slider';
50
+ export { AutoComplete } from './AutoComplete';
51
+ export { FileInput } from './FileInput';
52
+ export { RichTextEditor } from './RichTextEditor';
53
+ export { Form } from './Form';
54
+ export { FormLayout, FormSection, FormGroup, FormField } from './FormLayout';
55
+ export { Row, Column } from './Layout';
56
+ export { ToastProvider, useToast, useToastApi, toast } from './Toast';
57
+ export { Progress } from './Progress';
58
+ export { QRCode } from './QRCode';
59
+ export { NavigationProgress, navigationProgress } from './NavigationProgress';
60
+ export { Radio, RadioGroup } from './Radio';
61
+ export { Rating } from './Rating';
62
+ export { Reveal } from './Reveal';
63
+ export { Skeleton } from './Skeleton';
64
+ export { Loader } from './Loader';
65
+ export { LoadingOverlay } from './LoadingOverlay';
66
+ export { Spotlight, SpotlightProvider, useSpotlightStore, spotlight, createSpotlightStore, useSpotlightStoreInstance, onSpotlightRequested } from './Spotlight';
67
+ export { Stepper } from './Stepper';
68
+ export { Switch } from './Switch';
69
+ export { Table } from './Table';
70
+ export { Text } from './Text';
71
+ export { Timeline } from './Timeline';
72
+ export { Toast } from './Toast';
73
+ export { ToggleButton, ToggleGroup } from './Toggle';
74
+ export { Tooltip } from './Tooltip';
75
+ export { Tabs } from './Tabs';
76
+ export { Accordion } from './Accordion';
77
+ export { Gauge } from './Gauge';
78
+ export { GradientText } from './GradientText';
79
+ export { ShimmerText } from './ShimmerText';
80
+ export { Title } from './Title/Title';
81
+ export { TableOfContents } from './TableOfContents/TableOfContents';
82
+ export { HoverCard } from './HoverCard/HoverCard';
83
+ export { ContextMenu } from './ContextMenu';
84
+ export { Gallery } from './Gallery';
85
+ export type { AlertProps } from './Alert';
86
+ export type { AppShellProps } from './AppShell';
87
+ export type { AppStoreBadgeProps, AppStoreBadgeSize, SupportedLocale, BadgeConfig } from './AppStoreBadge';
88
+ export type { AvatarProps, AvatarGroupProps } from './Avatar';
89
+ export type { BrandButtonProps } from './BrandButton';
90
+ export type { BreadcrumbsProps, BreadcrumbItem } from './Breadcrumbs';
91
+ export { Search } from './Search/Search';
92
+ export { SegmentedControl } from './SegmentedControl';
93
+ export type { ButtonProps } from './Button';
94
+ export type { CardProps } from './Card';
95
+ export type { CarouselProps } from './Carousel';
96
+ export type { CheckboxProps } from './Checkbox';
97
+ export type { ChipProps } from './Chip';
98
+ export type { CodeBlockProps } from './CodeBlock/types';
99
+ export type { CopyButtonProps } from './CopyButton/types';
100
+ export type { ColorPickerProps } from './ColorPicker';
101
+ export type { ContainerProps } from './Container';
102
+ export type { DialogProps, DialogConfig, UseSimpleDialogOptions } from './Dialog';
103
+ export type { DividerProps } from './Divider';
104
+ export type { SpaceProps } from './Space';
105
+ export type { FlexProps } from './Flex';
106
+ export type { GridProps } from './Grid';
107
+ export type { GradientTextProps } from './GradientText';
108
+ export type { ShimmerTextProps } from './ShimmerText';
109
+ export type { TreeProps, TreeNode } from './Tree/Tree';
110
+ export type { TimePickerProps, TimePickerValue } from './TimePicker/types';
111
+ export type { IconProps, IconSize, IconVariant, IconDefinition, IconRegistry } from './Icon';
112
+ export type { IconButtonProps } from './IconButton';
113
+ export type { ImageProps } from './Image';
114
+ export type { OverlayProps } from './Overlay';
115
+ export type { InputProps, PasswordInputProps, BaseInputProps, ValidationRule } from './Input';
116
+ export type { LinkProps } from './Link';
117
+ export type { MenuProps, MenuItemProps, MenuLabelProps, MenuDividerProps, MenuDropdownProps } from './Menu';
118
+ export type { MenuItemButtonProps } from './MenuItemButton';
119
+ export type { NumberInputProps } from './NumberInput';
120
+ export type { DatePickerProps, CalendarProps, MonthProps, DayProps, CalendarLevel, CalendarType, } from './DatePicker';
121
+ export type { MonthPickerProps } from './MonthPicker';
122
+ export type { YearPickerProps } from './YearPicker';
123
+ export type { DatePickerInputProps } from './DatePickerInput';
124
+ export type { MonthPickerInputProps } from './MonthPickerInput';
125
+ export type { YearPickerInputProps } from './YearPickerInput';
126
+ export type { TimePickerInputProps } from './TimePickerInput';
127
+ export type { PaginationProps } from './Pagination';
128
+ export type { PinInputProps } from './PinInput';
129
+ export type { SliderProps, RangeSliderProps } from './Slider';
130
+ export type { AutoCompleteProps, AutoCompleteOption } from './AutoComplete';
131
+ export type { FileInputProps, FileInputFile } from './FileInput';
132
+ export type { RichTextEditorProps, RichTextEditorContent, RichTextEditorFormat, RichTextEditorSelection } from './RichTextEditor';
133
+ export type { FormProps, FormFieldProps, FormInputProps, FormLabelProps, FormErrorProps, FormSubmitProps } from './Form';
134
+ export type { RowProps, ColumnProps } from './Layout';
135
+ export type { ToastOptions, ToastPosition } from './Toast';
136
+ export type { ProgressProps } from './Progress';
137
+ export type { QRCodeProps } from './QRCode';
138
+ export type { RadioProps, RadioGroupProps } from './Radio';
139
+ export type { RatingProps } from './Rating';
140
+ export type { SkeletonProps } from './Skeleton';
141
+ export type { LoaderProps } from './Loader';
142
+ export type { LoadingOverlayProps } from './LoadingOverlay';
143
+ export type { SpotlightProps, SpotlightActionData, SpotlightActionGroupData, SpotlightItem, SpotlightState, SpotlightStore } from './Spotlight';
144
+ export type { SwitchProps } from './Switch';
145
+ export type { TableProps } from './Table';
146
+ export type { DataTableProps, DataTableColumn, DataTableFilter, DataTableSort, DataTablePagination } from './DataTable';
147
+ export type { DisclaimerProps, WithDisclaimerProps, ComponentWithDisclaimerProps, DisclaimerSupport } from './Disclaimer';
148
+ export type { TextProps } from './Text';
149
+ export type { ToastProps } from './Toast';
150
+ export type { TooltipProps, TooltipPositionType } from './Tooltip';
151
+ export type { TabsProps, TabItem } from './Tabs';
152
+ export type { AccordionProps } from './Accordion';
153
+ export type { GaugeProps, GaugeRange, GaugeNeedle, GaugeTicks, GaugeLabels } from './Gauge';
154
+ export type { TitleProps } from './Title/types';
155
+ export type { TableOfContentsProps, TocItem } from './TableOfContents/types';
156
+ export type { StepperProps } from './Stepper';
157
+ export type { HoverCardProps } from './HoverCard/types';
158
+ export type { ContextMenuProps, ContextMenuItem } from './ContextMenu/ContextMenu';
159
+ export type { SegmentedControlProps, SegmentedControlItem, SegmentedControlData } from './SegmentedControl';
160
+ export type { GalleryProps, GalleryModalProps, GalleryItem } from './Gallery';
161
+ export * from './Accessibility/AccessibilityHelpers';
162
+ export * from './Accessibility/AccessibilityTesting';
163
+ export * from './Accessibility/AccessibilityDemo';
164
+ export * from './Button/SoundButton';
@@ -0,0 +1,74 @@
1
+ import React from 'react';
2
+ /**
3
+ * Tree-shakable component exports for bundle size optimization
4
+ * Import only what you need to reduce bundle size
5
+ */
6
+ export { Input } from './Input/Input';
7
+ export { TextInputBase } from './Input/InputBase';
8
+ export { Form } from './Form';
9
+ export type { CheckboxProps } from './Checkbox/types';
10
+ export type { RadioProps, RadioGroupProps } from './Radio/types';
11
+ export type { SwitchProps } from './Switch/types';
12
+ export type { NumberInputProps } from './NumberInput/types';
13
+ export type { PinInputProps } from './PinInput/types';
14
+ export type { SliderProps, RangeSliderProps } from './Slider/types';
15
+ export declare const LazyPasswordInput: React.LazyExoticComponent<React.FC<import("./Input/types").PasswordInputProps>>;
16
+ export declare const LazyNumberInput: React.LazyExoticComponent<import("../core").PlatformBlocksComponent<{
17
+ props: import("./NumberInput/types").NumberInputProps;
18
+ ref: any;
19
+ }>>;
20
+ export declare const LazyPinInput: React.LazyExoticComponent<import("../core").PlatformBlocksComponent<{
21
+ props: import("./PinInput/types").PinInputProps;
22
+ ref: import("react-native").View;
23
+ }>>;
24
+ export declare const LazySlider: React.LazyExoticComponent<import("../core").PlatformBlocksComponent<{
25
+ props: import("./Slider/types").SliderProps;
26
+ ref: import("react-native").View;
27
+ }>>;
28
+ export declare const LazyRangeSlider: React.LazyExoticComponent<import("../core").PlatformBlocksComponent<{
29
+ props: import("./Slider/types").RangeSliderProps;
30
+ ref: import("react-native").View;
31
+ }>>;
32
+ export declare const LazyCheckbox: React.LazyExoticComponent<React.ForwardRefExoticComponent<import("./Checkbox/types").CheckboxProps & React.RefAttributes<import("react-native").View>>>;
33
+ export declare const LazyRadio: React.LazyExoticComponent<import("../core").PlatformBlocksComponent<{
34
+ props: import("./Radio/types").RadioProps;
35
+ ref: import("react-native").View;
36
+ }>>;
37
+ export declare const LazyRadioGroup: React.LazyExoticComponent<import("../core").PlatformBlocksComponent<{
38
+ props: import("./Radio/types").RadioGroupProps;
39
+ ref: import("react-native").View;
40
+ }>>;
41
+ export declare const LazySwitch: React.LazyExoticComponent<import("../core").PlatformBlocksComponent<{
42
+ props: import("./Switch/types").SwitchProps;
43
+ ref: import("react-native").View;
44
+ }>>;
45
+ export { OptimizedInput, OptimizedPasswordInput } from './Input/OptimizedInput';
46
+ export { OptimizedForm } from './Form/OptimizedForm';
47
+ export type { ValidationRule, PasswordStrengthRule } from './Input/types';
48
+ /**
49
+ * Lazy load component utility
50
+ */
51
+ export declare function lazyLoadComponent<T>(importFn: () => Promise<{
52
+ default: React.ComponentType<T>;
53
+ } | {
54
+ [key: string]: React.ComponentType<T>;
55
+ }>, componentName?: string): React.LazyExoticComponent<React.ComponentType<T>>;
56
+ /**
57
+ * Conditional component loading based on usage patterns
58
+ */
59
+ export declare class ComponentLoader {
60
+ private static loadedComponents;
61
+ private static componentUsageCount;
62
+ static loadComponent(componentName: string): Promise<React.ComponentType<any>>;
63
+ private static getLoadedComponent;
64
+ static getUsageStats(): {
65
+ loadedComponents: string[];
66
+ usageCount: {
67
+ [k: string]: number;
68
+ };
69
+ };
70
+ }
71
+ /**
72
+ * Bundle analyzer utility for development
73
+ */
74
+ export declare function analyzeBundleUsage(): void;
@@ -0,0 +1,57 @@
1
+ export type { AlertProps } from './Alert';
2
+ export type { AppShellProps } from './AppShell';
3
+ export type { AvatarProps, AvatarGroupProps } from './Avatar';
4
+ export type { BreadcrumbsProps, BreadcrumbItem } from './Breadcrumbs';
5
+ export type { ButtonProps } from './Button';
6
+ export type { CardProps } from './Card';
7
+ export type { CarouselProps } from './Carousel';
8
+ export type { CheckboxProps } from './Checkbox';
9
+ export type { ChipProps } from './Chip';
10
+ export type { CodeBlockProps } from './CodeBlock/types';
11
+ export type { CopyButtonProps } from './CopyButton/types';
12
+ export type { ColorPickerProps } from './ColorPicker';
13
+ export type { ContainerProps } from './Container';
14
+ export type { DialogProps } from './Dialog';
15
+ export type { DividerProps } from './Divider';
16
+ export type { SpaceProps } from './Space';
17
+ export type { FlexProps } from './Flex';
18
+ export type { GridProps } from './Grid';
19
+ export type { IconProps } from './Icon';
20
+ export type { BrandIconProps, BrandName } from './BrandIcon';
21
+ export type { InputProps, PasswordInputProps, BaseInputProps } from './Input';
22
+ export type { PhoneInputProps } from './PhoneInput/types';
23
+ export type { LinkProps } from './Link';
24
+ export type { MenuProps, MenuItemProps, MenuLabelProps, MenuDividerProps, MenuDropdownProps } from './Menu';
25
+ export type { NumberInputProps } from './NumberInput';
26
+ export type { DatePickerProps, CalendarProps, MonthProps, DayProps } from './DatePicker';
27
+ export type { MonthPickerProps } from './MonthPicker';
28
+ export type { YearPickerProps } from './YearPicker';
29
+ export type { DatePickerInputProps } from './DatePickerInput';
30
+ export type { MonthPickerInputProps } from './MonthPickerInput';
31
+ export type { YearPickerInputProps } from './YearPickerInput';
32
+ export type { PaginationProps } from './Pagination';
33
+ export type { PinInputProps } from './PinInput';
34
+ export type { SliderProps, RangeSliderProps } from './Slider';
35
+ export type { AutoCompleteProps, AutoCompleteOption } from './AutoComplete';
36
+ export type { FileInputProps, FileInputFile } from './FileInput';
37
+ export type { RichTextEditorProps } from './RichTextEditor';
38
+ export type { FormProps } from './Form';
39
+ export type { RowProps, ColumnProps } from './Layout';
40
+ export type { ProgressProps } from './Progress';
41
+ export type { QRCodeProps } from './QRCode';
42
+ export type { RadioProps, RadioGroupProps } from './Radio';
43
+ export type { RatingProps } from './Rating';
44
+ export type { SkeletonProps } from './Skeleton';
45
+ export type { LoaderProps } from './Loader';
46
+ export type { SpotlightProps } from './Spotlight';
47
+ export type { SelectProps, SelectOption } from './Select';
48
+ export type { SwitchProps } from './Switch';
49
+ export type { TableProps } from './Table';
50
+ export type { DataTableProps } from './DataTable';
51
+ export type { TextProps } from './Text';
52
+ export type { ToastProps } from './Toast';
53
+ export type { TooltipProps } from './Tooltip';
54
+ export type { TabsProps, TabItem } from './Tabs';
55
+ export type { AccordionProps } from './Accordion';
56
+ export type { GaugeProps } from './Gauge';
57
+ export type { GalleryProps } from './Gallery';
@@ -0,0 +1,20 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface TitleItem {
3
+ id: string;
4
+ text: string;
5
+ order: number;
6
+ ref?: React.RefObject<any>;
7
+ }
8
+ interface TitleRegistryContextType {
9
+ titles: TitleItem[];
10
+ registerTitle: (title: TitleItem) => void;
11
+ unregisterTitle: (id: string) => void;
12
+ clearTitles: () => void;
13
+ }
14
+ export declare const useTitleRegistry: () => TitleRegistryContextType;
15
+ export declare const useTitleRegistryOptional: () => TitleRegistryContextType | null;
16
+ interface TitleRegistryProviderProps {
17
+ children: ReactNode;
18
+ }
19
+ export declare const TitleRegistryProvider: React.FC<TitleRegistryProviderProps>;
20
+ export {};
@@ -0,0 +1 @@
1
+ export { TitleRegistryProvider, useTitleRegistry, useTitleRegistryOptional, type TitleItem } from './TitleRegistryContext';
@@ -0,0 +1,82 @@
1
+ import React from 'react';
2
+ /**
3
+ * Hook for managing announcement queues with priorities
4
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
5
+ */
6
+ export declare const useAnnouncementQueue: () => {
7
+ addToQueue: (message: string, priority?: "low" | "medium" | "high") => void;
8
+ clearQueue: () => void;
9
+ queueLength: number;
10
+ };
11
+ /**
12
+ * Hook for managing focus trapping within a component
13
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
14
+ */
15
+ export declare const useFocusTrap: (isActive?: boolean) => {
16
+ containerRef: React.RefObject<any>;
17
+ };
18
+ /**
19
+ * Hook for keyboard navigation within a list of items
20
+ */
21
+ export declare const useKeyboardNavigation: (items: string[], onSelect?: (id: string) => void) => {
22
+ activeIndex: number;
23
+ isFocused: boolean;
24
+ handleKeyPress: (event: any) => void;
25
+ focusItem: (index: number) => void;
26
+ blur: () => void;
27
+ activeId: string | null;
28
+ };
29
+ /**
30
+ * Hook for managing accessible form validation
31
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
32
+ */
33
+ export declare const useAccessibleValidation: (fieldId: string) => {
34
+ errors: string[];
35
+ hasErrors: boolean;
36
+ validate: (value: any, rules: ValidationRule[]) => boolean;
37
+ markAsTouched: () => void;
38
+ clearErrors: () => void;
39
+ getAccessibilityProps: () => {
40
+ 'aria-invalid': boolean;
41
+ 'aria-describedby': string | undefined;
42
+ };
43
+ errorId: string | undefined;
44
+ };
45
+ interface ValidationRule {
46
+ validator: (value: any) => boolean;
47
+ message: string;
48
+ }
49
+ /**
50
+ * Hook for managing accessible loading states
51
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
52
+ */
53
+ export declare const useAccessibleLoading: (initialLoading?: boolean) => {
54
+ isLoading: boolean;
55
+ loadingMessage: string;
56
+ progress: number | undefined;
57
+ startLoading: (message?: string) => void;
58
+ stopLoading: (successMessage?: string) => void;
59
+ updateProgress: (newProgress: number, message?: string) => void;
60
+ getAccessibilityProps: () => {
61
+ 'aria-busy': boolean;
62
+ 'aria-live': string;
63
+ 'aria-label': string | undefined;
64
+ };
65
+ };
66
+ /**
67
+ * Hook for accessible toast notifications
68
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
69
+ */
70
+ export declare const useAccessibleToast: () => {
71
+ toasts: Toast[];
72
+ showToast: (message: string, type?: "success" | "error" | "warning" | "info", duration?: number) => string;
73
+ removeToast: (id: string) => void;
74
+ clearAllToasts: () => void;
75
+ };
76
+ interface Toast {
77
+ id: string;
78
+ message: string;
79
+ type: 'success' | 'error' | 'warning' | 'info';
80
+ duration: number;
81
+ }
82
+ export {};
@@ -0,0 +1,85 @@
1
+ export declare const ACCESSIBILITY_LABELS: {
2
+ readonly CLOSE: "Close";
3
+ readonly OPEN: "Open";
4
+ readonly TOGGLE: "Toggle";
5
+ readonly SELECT: "Select";
6
+ readonly DESELECT: "Deselect";
7
+ readonly EXPAND: "Expand";
8
+ readonly COLLAPSE: "Collapse";
9
+ readonly PREVIOUS: "Previous";
10
+ readonly NEXT: "Next";
11
+ readonly FIRST: "First";
12
+ readonly LAST: "Last";
13
+ readonly PAGE_UP: "Page up";
14
+ readonly PAGE_DOWN: "Page down";
15
+ readonly REQUIRED: "Required field";
16
+ readonly OPTIONAL: "Optional field";
17
+ readonly INVALID: "Invalid input";
18
+ readonly VALID: "Valid input";
19
+ readonly LOADING: "Loading";
20
+ readonly ERROR: "Error";
21
+ readonly SUCCESS: "Success";
22
+ readonly WARNING: "Warning";
23
+ readonly ITEM_OF: "Item {current} of {total}";
24
+ readonly PAGE_OF: "Page {current} of {total}";
25
+ readonly SELECTED_ITEMS: "{count} items selected";
26
+ };
27
+ export declare const ACCESSIBILITY_ROLES: {
28
+ readonly BUTTON: "button";
29
+ readonly LINK: "link";
30
+ readonly CHECKBOX: "checkbox";
31
+ readonly RADIO: "radio";
32
+ readonly SWITCH: "switch";
33
+ readonly SLIDER: "slider";
34
+ readonly TEXTBOX: "textbox";
35
+ readonly SEARCH: "search";
36
+ readonly COMBOBOX: "combobox";
37
+ readonly SPINBUTTON: "spinbutton";
38
+ readonly MAIN: "main";
39
+ readonly BANNER: "banner";
40
+ readonly CONTENTINFO: "contentinfo";
41
+ readonly NAVIGATION: "navigation";
42
+ readonly COMPLEMENTARY: "complementary";
43
+ readonly HEADING: "heading";
44
+ readonly LIST: "list";
45
+ readonly LISTITEM: "listitem";
46
+ readonly TABLE: "table";
47
+ readonly ROW: "row";
48
+ readonly CELL: "cell";
49
+ readonly MENU: "menu";
50
+ readonly MENUITEM: "menuitem";
51
+ readonly TAB: "tab";
52
+ readonly TABPANEL: "tabpanel";
53
+ readonly TABLIST: "tablist";
54
+ readonly ALERT: "alert";
55
+ readonly STATUS: "status";
56
+ readonly LOG: "log";
57
+ readonly MARQUEE: "marquee";
58
+ readonly TIMER: "timer";
59
+ };
60
+ export declare const ACCESSIBILITY_STATES: {
61
+ readonly CHECKED: "checked";
62
+ readonly SELECTED: "selected";
63
+ readonly PRESSED: "pressed";
64
+ readonly DISABLED: "disabled";
65
+ readonly READONLY: "readonly";
66
+ readonly REQUIRED: "required";
67
+ readonly EXPANDED: "expanded";
68
+ readonly COLLAPSED: "collapsed";
69
+ readonly HIDDEN: "hidden";
70
+ readonly INVALID: "invalid";
71
+ readonly VALID: "valid";
72
+ };
73
+ export declare const FOCUS_TRAP_SELECTOR = "[data-focus-trap]";
74
+ export declare const FOCUSABLE_ELEMENTS: string;
75
+ export declare const MOTION_DURATIONS: {
76
+ readonly INSTANT: 0;
77
+ readonly FAST: 150;
78
+ readonly NORMAL: 300;
79
+ readonly SLOW: 500;
80
+ readonly REDUCED: 0;
81
+ };
82
+ export declare const ANNOUNCEMENT_PRIORITY: {
83
+ readonly POLITE: "polite";
84
+ readonly ASSERTIVE: "assertive";
85
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { AccessibilityContextValue, AccessibilityProviderProps } from './types';
3
+ export declare const AccessibilityProvider: React.FC<AccessibilityProviderProps>;
4
+ export declare const useAccessibility: () => AccessibilityContextValue;
5
+ export declare const useOptionalAccessibility: () => AccessibilityContextValue | null;
@@ -0,0 +1,33 @@
1
+ import type { FocusOptions, AnnouncementOptions, ScreenReaderInfo } from './types';
2
+ /**
3
+ * Hook for managing focus state and restoration
4
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
5
+ */
6
+ export declare const useFocus: (id: string, options?: FocusOptions) => {
7
+ ref: import("react").RefObject<any>;
8
+ focus: () => void;
9
+ blur: () => void;
10
+ isFocused: boolean;
11
+ };
12
+ /**
13
+ * Hook for making announcements to screen readers
14
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
15
+ */
16
+ export declare const useAnnouncer: () => {
17
+ announce: (message: string, options?: AnnouncementOptions) => void;
18
+ screenReaderEnabled: boolean;
19
+ };
20
+ /**
21
+ * Hook for detecting reduced motion preferences
22
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
23
+ */
24
+ export declare const useReducedMotion: () => {
25
+ prefersReducedMotion: boolean;
26
+ getDuration: (normalDuration: number) => number;
27
+ getScale: (normalScale: number) => number;
28
+ };
29
+ /**
30
+ * Hook for screen reader detection and information
31
+ * Gracefully handles cases where AccessibilityProvider is not available (e.g., in overlays)
32
+ */
33
+ export declare const useScreenReader: () => ScreenReaderInfo;
@@ -0,0 +1,6 @@
1
+ export * from './types';
2
+ export * from './hooks';
3
+ export * from './context';
4
+ export * from './utils';
5
+ export * from './constants';
6
+ export * from './advancedHooks';
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ export interface AccessibilityContextValue {
3
+ prefersReducedMotion: boolean;
4
+ currentFocusId: string | null;
5
+ focusHistory: string[];
6
+ screenReaderEnabled: boolean;
7
+ announcements: string[];
8
+ setFocus: (id: string) => void;
9
+ restoreFocus: () => void;
10
+ announce: (message: string, priority?: 'polite' | 'assertive') => void;
11
+ clearAnnouncements: () => void;
12
+ }
13
+ export interface AccessibilityProviderProps {
14
+ children: React.ReactNode;
15
+ reducedMotion?: boolean;
16
+ }
17
+ export interface FocusableElement {
18
+ id: string;
19
+ ref: React.RefObject<any>;
20
+ priority?: number;
21
+ }
22
+ export interface FocusOptions {
23
+ preventScroll?: boolean;
24
+ restoreOnUnmount?: boolean;
25
+ }
26
+ export interface AnnouncementOptions {
27
+ priority?: 'polite' | 'assertive';
28
+ timeout?: number;
29
+ clearPrevious?: boolean;
30
+ }
31
+ export type MotionPreference = 'no-preference' | 'reduce';
32
+ export interface ScreenReaderInfo {
33
+ enabled: boolean;
34
+ type?: 'voiceover' | 'talkback' | 'nvda' | 'jaws' | 'unknown';
35
+ }
@@ -0,0 +1,56 @@
1
+ import { AccessibilityRole, AccessibilityState } from 'react-native';
2
+ /**
3
+ * Generate accessible label with context
4
+ */
5
+ export declare const createAccessibleLabel: (label: string, context?: {
6
+ required?: boolean;
7
+ invalid?: boolean;
8
+ current?: number;
9
+ total?: number;
10
+ selected?: boolean;
11
+ }) => string;
12
+ /**
13
+ * Generate accessibility props for React Native components
14
+ */
15
+ export declare const createAccessibilityProps: (options: {
16
+ role?: AccessibilityRole;
17
+ label?: string;
18
+ hint?: string;
19
+ state?: AccessibilityState;
20
+ value?: {
21
+ min?: number;
22
+ max?: number;
23
+ now?: number;
24
+ text?: string;
25
+ };
26
+ actions?: Array<{
27
+ name: string;
28
+ label?: string;
29
+ }>;
30
+ disabled?: boolean;
31
+ selected?: boolean;
32
+ }) => any;
33
+ /**
34
+ * Format numbers for screen readers (e.g., "1,000" becomes "1 thousand")
35
+ */
36
+ export declare const formatNumberForScreenReader: (num: number) => string;
37
+ /**
38
+ * Format time duration for screen readers
39
+ */
40
+ export declare const formatDurationForScreenReader: (seconds: number) => string;
41
+ /**
42
+ * Get appropriate ARIA role based on component type
43
+ */
44
+ export declare const getAriaRole: (componentType: string) => AccessibilityRole | undefined;
45
+ /**
46
+ * Check if an element should be focusable
47
+ */
48
+ export declare const isFocusable: (element: any) => boolean;
49
+ /**
50
+ * Debounce announcements to prevent spam
51
+ */
52
+ export declare const debounceAnnouncement: (key: string, announcement: () => void, delay?: number) => void;
53
+ /**
54
+ * Get reading time estimate for content
55
+ */
56
+ export declare const getReadingTime: (text: string, wordsPerMinute?: number) => string;
@@ -0,0 +1,2 @@
1
+ export { createTransition, createSpringTransition, TRANSITION_EASINGS, DEFAULT_TRANSITION_CONFIG } from './transitions';
2
+ export type { TransitionConfig, TransitionType } from './transitions';