@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,2 @@
1
+ export { CopyButton } from './CopyButton';
2
+ export type { CopyButtonProps } from './types';
@@ -0,0 +1,37 @@
1
+ import { ViewStyle } from 'react-native';
2
+ export interface CopyButtonProps {
3
+ /** The text to copy to clipboard */
4
+ value: string;
5
+ /** Callback fired after copy action */
6
+ onCopy?: (value: string) => void;
7
+ /** If true, only the icon is shown (no button chrome or label) */
8
+ iconOnly?: boolean;
9
+ /** Accessible label for the button */
10
+ label?: string;
11
+ /** Title for the toast */
12
+ toastTitle?: string;
13
+ /** Detailed message for the toast */
14
+ toastMessage?: string;
15
+ /** Size of the button */
16
+ size?: 'xs' | 'sm' | 'md';
17
+ /** Style overrides for the button container */
18
+ style?: ViewStyle;
19
+ /** Disable the "copied to clipboard" toast */
20
+ disableToast?: boolean;
21
+ /** Tooltip text */
22
+ tooltip?: string;
23
+ /** Tooltip position */
24
+ tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
25
+ /** Presentation mode: default button (legacy) or bare icon */
26
+ mode?: 'button' | 'icon';
27
+ /** Button variant override when in button mode */
28
+ buttonVariant?: 'none' | 'secondary' | 'ghost' | 'filled' | 'outline' | 'gradient' | undefined;
29
+ /** Icon name to display (defaults to copy) when in icon mode */
30
+ iconName?: string;
31
+ /** Icon name to display after copy (default check) in icon mode */
32
+ copiedIconName?: string;
33
+ /** Base icon color (icon mode) */
34
+ iconColor?: string;
35
+ /** Copied state icon color (icon mode) */
36
+ copiedIconColor?: string;
37
+ }
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { DataTableColumn, DataTableFilter } from './types';
3
+ interface AdvancedFilterControlProps<T = any> {
4
+ column: DataTableColumn<T>;
5
+ currentFilter?: DataTableFilter;
6
+ onFilterChange: (filter: DataTableFilter | null) => void;
7
+ data?: T[];
8
+ }
9
+ export declare function AdvancedFilterControl<T = any>({ column, currentFilter, onFilterChange, data }: AdvancedFilterControlProps<T>): React.JSX.Element;
10
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import type { DataTableColumn } from './types';
3
+ interface ColumnSettingsProps<T = any> {
4
+ column: DataTableColumn<T>;
5
+ onClose: () => void;
6
+ onColumnUpdate?: (columnKey: string, updates: Partial<DataTableColumn<T>>) => void;
7
+ onHideColumn?: (columnKey: string) => void;
8
+ anchorRect?: {
9
+ x: number;
10
+ y: number;
11
+ width: number;
12
+ height: number;
13
+ };
14
+ }
15
+ export declare function ColumnSettings<T = any>({ column, onClose, onColumnUpdate, onHideColumn, anchorRect }: ColumnSettingsProps<T>): React.JSX.Element;
16
+ export {};
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { DataTableProps } from './types';
3
+ export type { DataTableProps, DataTableColumn, DataTableFilter, DataTableSort, DataTablePagination, SortDirection, FilterType, ColumnDataType } from './types';
4
+ export declare const DataTable: <T>({ id, data, columns, loading, error, emptyMessage, searchable, searchPlaceholder, searchValue: controlledSearchValue, onSearchChange, sortBy, onSortChange, filters, onFilterChange, pagination, onPaginationChange, selectable, selectedRows, onSelectionChange, getRowId, onRowClick, editMode, onEditModeChange, onCellEdit, bulkActions, variant, density, height, virtual, style, hoverHighlight, enableColumnResizing, rowFeatureToggle, initialHiddenColumns, onColumnVisibilityChange, onColumnSettings, showColumnVisibilityManager, rowsPerPageOptions, showRowsPerPageControl, rowActions, actionsColumnWidth, fullWidth, rowBorderWidth, rowBorderColor, rowBorderStyle, columnBorderWidth, columnBorderColor, columnBorderStyle, showOuterBorder, outerBorderWidth, outerBorderColor, expandableRowRender, initialExpandedRows, expandedRows: controlledExpandedRows, onExpandedRowsChange, allowMultipleExpanded, expandIcon, collapseIcon, ...props }: DataTableProps<T>) => React.JSX.Element;
5
+ export default DataTable;
@@ -0,0 +1,12 @@
1
+ import type { DataTableColumn } from '../types';
2
+ interface UseColumnSettingsProps<T = any> {
3
+ columns: DataTableColumn<T>[];
4
+ onColumnUpdate?: (columnKey: string, updates: Partial<DataTableColumn<T>>) => void;
5
+ onHideColumn?: (columnKey: string) => void;
6
+ }
7
+ interface UseColumnSettingsReturn {
8
+ openColumnSettings: (columnKey: string, anchorElement: any) => void;
9
+ closeColumnSettings: () => void;
10
+ }
11
+ export declare function useColumnSettings<T = any>({ columns, onColumnUpdate, onHideColumn }: UseColumnSettingsProps<T>): UseColumnSettingsReturn;
12
+ export {};
@@ -0,0 +1,41 @@
1
+ import type { DataTableFilter, DataTableSort, DataTablePagination, DataTableColumn, DataTableProps } from '../types';
2
+ interface UseDataTableStateProps<T> {
3
+ data: T[];
4
+ columns: DataTableColumn<T>[];
5
+ initialSortBy?: DataTableSort[];
6
+ initialFilters?: DataTableFilter[];
7
+ initialPagination?: DataTablePagination;
8
+ initialSelectedRows?: (string | number)[];
9
+ initialExpandedRows?: (string | number)[];
10
+ initialHiddenColumns?: string[];
11
+ getRowId?: (row: T, index: number) => string | number;
12
+ rowFeatureToggle?: DataTableProps<T>['rowFeatureToggle'];
13
+ }
14
+ interface UseDataTableStateReturn<T> {
15
+ processedData: T[];
16
+ totalFiltered: number;
17
+ searchValue: string;
18
+ setSearchValue: (value: string) => void;
19
+ sortBy: DataTableSort[];
20
+ setSortBy: (sorts: DataTableSort[]) => void;
21
+ handleSort: (columnKey: string) => void;
22
+ filters: DataTableFilter[];
23
+ setFilters: (filters: DataTableFilter[]) => void;
24
+ activeFilters: DataTableFilter[];
25
+ pagination?: DataTablePagination;
26
+ setPagination?: (pagination: DataTablePagination) => void;
27
+ selectedRows: (string | number)[];
28
+ setSelectedRows: (rows: (string | number)[]) => void;
29
+ isAllSelected: boolean;
30
+ isIndeterminate: boolean;
31
+ handleRowSelect: (rowId: string | number) => void;
32
+ handleSelectAll: () => void;
33
+ expandedRows: (string | number)[];
34
+ setExpandedRows: (rows: (string | number)[]) => void;
35
+ handleRowExpand: (rowId: string | number) => void;
36
+ hiddenColumns: string[];
37
+ setHiddenColumns: (columns: string[]) => void;
38
+ visibleColumns: DataTableColumn<T>[];
39
+ }
40
+ export declare function useDataTableState<T>({ data, columns, initialSortBy, initialFilters, initialPagination, initialSelectedRows, initialExpandedRows, initialHiddenColumns, getRowId, rowFeatureToggle }: UseDataTableStateProps<T>): UseDataTableStateReturn<T>;
41
+ export {};
@@ -0,0 +1,40 @@
1
+ interface UseRowSelectionProps {
2
+ /** All row IDs in current view (after filtering/pagination) */
3
+ allRowIds: (string | number)[];
4
+ /** Initial selected rows */
5
+ initialSelectedRows?: (string | number)[];
6
+ /** Controlled selected rows */
7
+ selectedRows?: (string | number)[];
8
+ /** Selection change handler */
9
+ onSelectionChange?: (selectedRows: (string | number)[]) => void;
10
+ /** Whether to persist selection across pagination */
11
+ persistAcrossPagination?: boolean;
12
+ }
13
+ interface UseRowSelectionReturn {
14
+ /** Currently selected row IDs */
15
+ selectedRows: (string | number)[];
16
+ /** Whether all visible rows are selected */
17
+ isAllSelected: boolean;
18
+ /** Whether some (but not all) visible rows are selected */
19
+ isIndeterminate: boolean;
20
+ /** Toggle selection for a single row */
21
+ toggleRow: (rowId: string | number, event?: {
22
+ shiftKey?: boolean;
23
+ ctrlKey?: boolean;
24
+ metaKey?: boolean;
25
+ }) => void;
26
+ /** Toggle selection for all visible rows */
27
+ toggleAll: () => void;
28
+ /** Select a range of rows (for shift+click) */
29
+ selectRange: (fromId: string | number, toId: string | number) => void;
30
+ /** Clear all selections */
31
+ clearSelection: () => void;
32
+ /** Select all rows (including those not currently visible if persistAcrossPagination is true) */
33
+ selectAll: (allPossibleIds?: (string | number)[]) => void;
34
+ /** Get number of selected rows */
35
+ selectionCount: number;
36
+ /** Check if a specific row is selected */
37
+ isRowSelected: (rowId: string | number) => boolean;
38
+ }
39
+ export declare function useRowSelection({ allRowIds, initialSelectedRows, selectedRows: controlledSelectedRows, onSelectionChange, persistAcrossPagination }: UseRowSelectionProps): UseRowSelectionReturn;
40
+ export {};
@@ -0,0 +1 @@
1
+ export { DataTable, type DataTableProps, type DataTableColumn, type DataTableFilter, type DataTableSort, type DataTablePagination } from './DataTable';
@@ -0,0 +1,223 @@
1
+ import React from 'react';
2
+ import { SpacingProps } from '../../core/utils';
3
+ export type SortDirection = 'asc' | 'desc' | null;
4
+ export type FilterType = 'text' | 'number' | 'select' | 'date' | 'boolean';
5
+ export type ColumnDataType = 'text' | 'number' | 'date' | 'boolean' | 'currency' | 'percentage';
6
+ export interface DataTableColumn<T = any> {
7
+ /** Unique identifier for the column */
8
+ key: string;
9
+ /** Display header for the column */
10
+ header: React.ReactNode;
11
+ /** Accessor function or key path */
12
+ accessor: keyof T | ((row: T) => any);
13
+ /** Custom cell renderer */
14
+ cell?: (value: any, row: T, index: number) => React.ReactNode;
15
+ /** Whether column is sortable */
16
+ sortable?: boolean;
17
+ /** Optional custom comparison function overriding default sorting */
18
+ compare?: (a: any, b: any, rowA: T, rowB: T) => number;
19
+ /** Whether column is filterable */
20
+ filterable?: boolean;
21
+ /** Filter type for this column */
22
+ filterType?: FilterType;
23
+ /** Filter options for select filter type */
24
+ filterOptions?: Array<{
25
+ label: string;
26
+ value: any;
27
+ }>;
28
+ /** Preferred width */
29
+ width?: number | string;
30
+ /** Minimum width */
31
+ minWidth?: number;
32
+ /** Maximum width */
33
+ maxWidth?: number;
34
+ /** Whether the user can resize this column */
35
+ resizable?: boolean;
36
+ /** Whether cells in this column are editable (when table in edit mode) */
37
+ editable?: boolean;
38
+ /** Validation function returning an error message or null */
39
+ validate?: (value: any) => string | null;
40
+ /** Data type for formatting & validation */
41
+ dataType?: ColumnDataType;
42
+ /** Text alignment */
43
+ align?: 'left' | 'center' | 'right';
44
+ /** Sticky positioning */
45
+ sticky?: 'left' | 'right';
46
+ }
47
+ export interface DataTableFilter {
48
+ column: string;
49
+ value: any;
50
+ operator: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'contains' | 'startsWith' | 'endsWith';
51
+ }
52
+ export interface DataTableSort {
53
+ column: string;
54
+ direction: SortDirection;
55
+ }
56
+ export interface DataTablePagination {
57
+ page: number;
58
+ pageSize: number;
59
+ total: number;
60
+ }
61
+ export interface DataTableProps<T = any> extends SpacingProps {
62
+ /** Stable id for user preference persistence */
63
+ id?: string;
64
+ /** Data rows */
65
+ data: T[];
66
+ /** Column definitions */
67
+ columns: DataTableColumn<T>[];
68
+ /** Loading state */
69
+ loading?: boolean;
70
+ /** Error message (when defined overrides table body) */
71
+ error?: string | null;
72
+ /** Message to display when there is no data */
73
+ emptyMessage?: string;
74
+ /** Enable global search input */
75
+ searchable?: boolean;
76
+ /** Placeholder text for global search */
77
+ searchPlaceholder?: string;
78
+ /** Controlled global search value */
79
+ searchValue?: string;
80
+ /** Global search change handler */
81
+ onSearchChange?: (value: string) => void;
82
+ /** Current sorting state */
83
+ sortBy?: DataTableSort[];
84
+ /** Sorting change callback */
85
+ onSortChange?: (sort: DataTableSort[]) => void;
86
+ /** Active column filters */
87
+ filters?: DataTableFilter[];
88
+ /** Filter change callback */
89
+ onFilterChange?: (filters: DataTableFilter[]) => void;
90
+ /** Pagination state */
91
+ pagination?: DataTablePagination;
92
+ /** Pagination change handler */
93
+ onPaginationChange?: (pagination: DataTablePagination) => void;
94
+ /** Enable row selection */
95
+ selectable?: boolean;
96
+ /** Selected row identifiers */
97
+ selectedRows?: (string | number)[];
98
+ /** Selection change handler */
99
+ onSelectionChange?: (selected: (string | number)[]) => void;
100
+ /** Function to extract a stable id for each row */
101
+ getRowId?: (row: T, index: number) => string | number;
102
+ /** Row click handler */
103
+ onRowClick?: (row: T, index: number) => void;
104
+ /** Whether table is in edit mode */
105
+ editMode?: boolean;
106
+ /** Edit mode toggle callback */
107
+ onEditModeChange?: (editMode: boolean) => void;
108
+ /** Commit cell edit */
109
+ onCellEdit?: (rowIndex: number, columnKey: string, newValue: any) => void;
110
+ /** Bulk action definitions */
111
+ bulkActions?: Array<{
112
+ /** Unique key */
113
+ key: string;
114
+ /** Button label */
115
+ label: string;
116
+ /** Optional icon */
117
+ icon?: React.ReactNode;
118
+ /** Action invoked with selected row ids & full data */
119
+ action: (selectedRows: (string | number)[], data: T[]) => void;
120
+ }>;
121
+ /** Visual table variant */
122
+ variant?: 'default' | 'striped' | 'bordered';
123
+ /** Row density */
124
+ density?: 'compact' | 'normal' | 'comfortable';
125
+ /** Fixed table height (enables internal scroll) */
126
+ height?: number;
127
+ /** Enable FlashList-powered virtualization for large datasets */
128
+ virtual?: boolean;
129
+ /** Container style override */
130
+ style?: any;
131
+ /** Enable interactive column resizing */
132
+ enableColumnResizing?: boolean;
133
+ /** Per-row feature overrides */
134
+ rowFeatureToggle?: (row: T, index: number) => ({
135
+ selectable?: boolean;
136
+ editable?: boolean;
137
+ sortable?: boolean;
138
+ filterable?: boolean;
139
+ searchable?: boolean;
140
+ } | null | undefined);
141
+ /** Initially hidden column keys */
142
+ initialHiddenColumns?: string[];
143
+ /** Hidden column change callback */
144
+ onColumnVisibilityChange?: (hidden: string[]) => void;
145
+ /** Column settings action callback */
146
+ onColumnSettings?: (columnKey: string) => void;
147
+ /** Show built-in column visibility manager button */
148
+ showColumnVisibilityManager?: boolean;
149
+ /** Pagination size choices */
150
+ rowsPerPageOptions?: number[];
151
+ /** Show rows-per-page selector */
152
+ showRowsPerPageControl?: boolean;
153
+ /** Per-row action icon buttons (renders trailing actions column when provided) */
154
+ rowActions?: (row: T, index: number) => Array<{
155
+ /** Unique action key */
156
+ key: string;
157
+ /** Icon to display (icon-only buttons recommended) */
158
+ icon?: React.ReactNode;
159
+ /** Optional text label (not typically shown in compact cell) */
160
+ label?: string;
161
+ /** Action handler */
162
+ onPress?: (row: T, index: number) => void;
163
+ /** Disable this action */
164
+ disabled?: boolean;
165
+ /** Whether to hide this action */
166
+ hidden?: boolean;
167
+ /** Optional tooltip text (future enhancement; currently ignored) */
168
+ tooltip?: string;
169
+ }>;
170
+ /** Width of the actions column */
171
+ actionsColumnWidth?: number;
172
+ /** Custom header background color */
173
+ headerBackgroundColor?: string;
174
+ /** Show enhanced loading skeletons instead of basic loading text */
175
+ enhancedLoading?: boolean;
176
+ /** Show enhanced empty state with icon and description */
177
+ enhancedEmptyState?: boolean;
178
+ /** Enable enhanced hover effects */
179
+ enhancedHover?: boolean;
180
+ /** Custom row hover color */
181
+ hoverColor?: string;
182
+ /** Enable enhanced selection styling */
183
+ enhancedSelection?: boolean;
184
+ /** Show row dividers */
185
+ showRowDividers?: boolean;
186
+ /** Custom border color for enhanced styling */
187
+ borderColor?: string;
188
+ /** Enable simple row background hover highlight */
189
+ hoverHighlight?: boolean;
190
+ /** Make table take full width of container */
191
+ fullWidth?: boolean;
192
+ /** Custom row border width */
193
+ rowBorderWidth?: number;
194
+ /** Custom row border color */
195
+ rowBorderColor?: string;
196
+ /** Row border style */
197
+ rowBorderStyle?: 'solid' | 'dashed' | 'dotted';
198
+ /** Custom column border width */
199
+ columnBorderWidth?: number;
200
+ /** Custom column border color */
201
+ columnBorderColor?: string;
202
+ /** Column border style */
203
+ columnBorderStyle?: 'solid' | 'dashed' | 'dotted';
204
+ /** Whether to show outer border around entire table */
205
+ showOuterBorder?: boolean;
206
+ /** Outer border width */
207
+ outerBorderWidth?: number;
208
+ /** Outer border color */
209
+ outerBorderColor?: string;
210
+ /** Function to render expanded row content */
211
+ expandableRowRender?: (row: T, index: number) => React.ReactNode;
212
+ /** Initially expanded row identifiers */
213
+ initialExpandedRows?: (string | number)[];
214
+ /** Controlled expanded rows */
215
+ expandedRows?: (string | number)[];
216
+ /** Expanded rows change handler */
217
+ onExpandedRowsChange?: (expanded: (string | number)[]) => void;
218
+ /** Allow multiple rows to be expanded at once */
219
+ allowMultipleExpanded?: boolean;
220
+ /** Custom expand/collapse icons */
221
+ expandIcon?: React.ReactNode;
222
+ collapseIcon?: React.ReactNode;
223
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { DatePickerProps } from './types';
4
+ export declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<View>>;
@@ -0,0 +1,8 @@
1
+ export { DatePicker } from './DatePicker';
2
+ export { Calendar } from '../Calendar/Calendar';
3
+ export { MiniCalendar } from '../MiniCalendar/MiniCalendar';
4
+ export { Month } from '../Calendar/Month';
5
+ export { Day } from '../Calendar/Day';
6
+ export { dateUtils, extractFirstDate } from './utils';
7
+ export type { DatePickerProps, DateTimePickerProps, CalendarType, CalendarValue, CalendarLevel, } from './types';
8
+ export type { CalendarProps, MiniCalendarProps, MonthProps, DayProps, } from '../Calendar/types';
@@ -0,0 +1,47 @@
1
+ import { ViewStyle } from 'react-native';
2
+ import { BaseInputProps } from '../Input/types';
3
+ import { SizeValue } from '../../core/theme/types';
4
+ import type { CalendarProps as CoreCalendarProps, CalendarType, CalendarValue, CalendarLevel } from '../Calendar/types';
5
+ export interface DatePickerProps {
6
+ /** Selected value; type depends on `type` prop */
7
+ value?: CalendarValue;
8
+ /** Initial value for uncontrolled usage */
9
+ defaultValue?: CalendarValue;
10
+ /** Called when value changes */
11
+ onChange?: (value: CalendarValue) => void;
12
+ /** Selection behavior */
13
+ type?: CalendarType;
14
+ /** Pass-through customization for underlying Calendar */
15
+ calendarProps?: Partial<CoreCalendarProps>;
16
+ /** Optional container style for the inline calendar */
17
+ style?: ViewStyle;
18
+ /** Test identifier */
19
+ testID?: string;
20
+ /** Accessibility label for the inline calendar region */
21
+ accessibilityLabel?: string;
22
+ /** Accessibility hint for the inline calendar region */
23
+ accessibilityHint?: string;
24
+ }
25
+ /**
26
+ * DateTimePickerProps – combines calendar date + time selection.
27
+ */
28
+ export interface DateTimePickerProps extends Omit<BaseInputProps, 'value' | 'onChangeText'> {
29
+ value?: Date | null;
30
+ defaultValue?: Date | null;
31
+ onChange?: (value: Date | null) => void;
32
+ calendarProps?: Partial<CoreCalendarProps>;
33
+ withTime?: boolean;
34
+ timeFormat?: 12 | 24;
35
+ withSeconds?: boolean;
36
+ minuteStep?: number;
37
+ secondStep?: number;
38
+ placeholder?: string;
39
+ displayFormat?: string;
40
+ clearable?: boolean;
41
+ dropdownType?: 'modal' | 'popover';
42
+ closeOnSelect?: boolean;
43
+ onOpen?: () => void;
44
+ onClose?: () => void;
45
+ size?: SizeValue;
46
+ }
47
+ export type { CalendarType, CalendarValue, CalendarLevel };
@@ -0,0 +1,30 @@
1
+ import type { CalendarValue } from '../Calendar/types';
2
+ export declare const extractFirstDate: (val: CalendarValue | null | undefined) => Date | undefined;
3
+ export declare const dateUtils: {
4
+ startOfDay: (date: Date) => Date;
5
+ endOfDay: (date: Date) => Date;
6
+ startOfMonth: (date: Date) => Date;
7
+ endOfMonth: (date: Date) => Date;
8
+ startOfYear: (date: Date) => Date;
9
+ endOfYear: (date: Date) => Date;
10
+ addDays: (date: Date, days: number) => Date;
11
+ addMonths: (date: Date, months: number) => Date;
12
+ addYears: (date: Date, years: number) => Date;
13
+ isSameDay: (date1: Date, date2: Date) => boolean;
14
+ isSameMonth: (date1: Date, date2: Date) => boolean;
15
+ isSameYear: (date1: Date, date2: Date) => boolean;
16
+ isToday: (date: Date) => boolean;
17
+ isWeekend: (date: Date, weekendDays?: number[]) => boolean;
18
+ isInRange: (date: Date, start: Date | null, end: Date | null) => boolean;
19
+ isBetween: (date: Date, start: Date | null, end: Date | null) => boolean;
20
+ getDaysInMonth: (date: Date) => number;
21
+ getMonthCalendar: (date: Date, firstDayOfWeek?: number) => Date[][];
22
+ getMonthNames: (locale?: string) => string[];
23
+ getWeekdayNames: (locale?: string, format?: "long" | "short" | "narrow") => string[];
24
+ formatDate: (date: Date, format: string, locale?: string) => string;
25
+ parseDate: (value: string) => Date | null;
26
+ getDecadeRange: (year: number) => [number, number];
27
+ getYearsInDecade: (date: Date) => number[];
28
+ clampDate: (date: Date, minDate?: Date, maxDate?: Date) => Date;
29
+ isDateDisabled: (date: Date, minDate?: Date, maxDate?: Date, excludeDate?: (date: Date) => boolean) => boolean;
30
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { DatePickerInputProps } from './types';
4
+ export declare const DatePickerInput: React.ForwardRefExoticComponent<DatePickerInputProps & React.RefAttributes<View>>;
@@ -0,0 +1,2 @@
1
+ export { DatePickerInput } from './DatePickerInput';
2
+ export type { DatePickerInputProps, CalendarType, CalendarValue, CalendarLevel } from './types';
@@ -0,0 +1,41 @@
1
+ import { BaseInputProps } from '../Input/types';
2
+ import { SizeValue } from '../../core/theme/types';
3
+ import type { CalendarProps as CoreCalendarProps, CalendarType, CalendarValue, CalendarLevel } from '../Calendar/types';
4
+ export interface DatePickerInputProps extends Omit<BaseInputProps, 'value' | 'onChangeText'> {
5
+ /** Selected value; type depends on `type` prop */
6
+ value?: CalendarValue;
7
+ /** Initial value for uncontrolled usage */
8
+ defaultValue?: CalendarValue;
9
+ /** Called when value changes */
10
+ onChange?: (value: CalendarValue) => void;
11
+ /** Selection behavior */
12
+ type?: CalendarType;
13
+ /** Pass-through customization for underlying Calendar */
14
+ calendarProps?: Partial<CoreCalendarProps>;
15
+ /** Input placeholder text */
16
+ placeholder?: string;
17
+ /** Format string for displaying value in the input */
18
+ displayFormat?: string;
19
+ /** Serialization/parsing format (reserved for future) */
20
+ valueFormat?: string;
21
+ /** Show a clear button */
22
+ clearable?: boolean;
23
+ /** Visual size */
24
+ size?: SizeValue;
25
+ /** Disable interaction */
26
+ disabled?: boolean;
27
+ /** Show required indicator */
28
+ withAsterisk?: boolean;
29
+ /** @deprecated Set to false to render inline calendar. Prefer using <DatePicker> directly. */
30
+ withInput?: boolean;
31
+ /** Presentation modality */
32
+ dropdownType?: 'modal' | 'popover';
33
+ /** Close picker after single selection (for single mode) */
34
+ closeOnSelect?: boolean;
35
+ /** Lifecycle events */
36
+ onOpen?: () => void;
37
+ onClose?: () => void;
38
+ onFocus?: () => void;
39
+ onBlur?: () => void;
40
+ }
41
+ export type { CalendarType, CalendarValue, CalendarLevel };
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { DialogProps } from './types';
3
+ export declare function Dialog({ visible, variant, title, children, closable, backdrop, backdropClosable, shouldClose, onClose, width, height, style }: DialogProps): React.JSX.Element | null;
@@ -0,0 +1,11 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { DialogConfig, DialogContextValue } from './types';
3
+ type DialogRequestListener = () => void;
4
+ export declare function onDialogsRequested(listener: DialogRequestListener): () => void;
5
+ export declare function DialogProvider({ children }: {
6
+ children: ReactNode;
7
+ }): React.JSX.Element;
8
+ export declare function useDialog(): DialogContextValue;
9
+ export declare function useDialogApi(): Pick<DialogContextValue, "openDialog" | "closeDialog" | "removeDialog" | "closeAllDialogs">;
10
+ export declare function useDialogs(): DialogConfig[];
11
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare function DialogRenderer(): React.JSX.Element | null;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ export interface UseSimpleDialogOptions {
3
+ title?: string;
4
+ closable?: boolean;
5
+ backdrop?: boolean;
6
+ backdropClosable?: boolean;
7
+ width?: number;
8
+ height?: number;
9
+ }
10
+ /**
11
+ * Simple hook for opening dialogs with less boilerplate
12
+ */
13
+ export declare function useSimpleDialog(): {
14
+ modal: (content: React.ReactNode, options?: UseSimpleDialogOptions) => string;
15
+ bottomSheet: (content: React.ReactNode, options?: UseSimpleDialogOptions) => string;
16
+ fullScreen: (content: React.ReactNode, options?: UseSimpleDialogOptions) => string;
17
+ confirm: (message: string, options?: UseSimpleDialogOptions & {
18
+ onConfirm?: () => void;
19
+ onCancel?: () => void;
20
+ confirmText?: string;
21
+ cancelText?: string;
22
+ }) => string;
23
+ close: (id: string) => void;
24
+ closeAll: () => void;
25
+ };
@@ -0,0 +1,6 @@
1
+ export { Dialog } from './Dialog';
2
+ export { DialogProvider, useDialog, useDialogApi, useDialogs, onDialogsRequested } from './DialogContext';
3
+ export { DialogRenderer } from './DialogRenderer';
4
+ export { useSimpleDialog } from './hooks/useSimpleDialog';
5
+ export type { DialogProps, DialogConfig, DialogContextValue } from './types';
6
+ export type { UseSimpleDialogOptions } from './hooks/useSimpleDialog';
@@ -0,0 +1,35 @@
1
+ import { ReactNode } from 'react';
2
+ export interface DialogProps {
3
+ visible: boolean;
4
+ variant?: 'modal' | 'bottomsheet' | 'fullscreen';
5
+ title?: string | null;
6
+ children: ReactNode;
7
+ closable?: boolean;
8
+ backdrop?: boolean;
9
+ backdropClosable?: boolean;
10
+ shouldClose?: boolean;
11
+ onClose?: () => void;
12
+ width?: number;
13
+ height?: number;
14
+ style?: object;
15
+ }
16
+ export interface DialogConfig {
17
+ id: string;
18
+ variant: 'modal' | 'bottomsheet' | 'fullscreen';
19
+ content: ReactNode;
20
+ title?: string;
21
+ closable?: boolean;
22
+ onClose?: () => void;
23
+ backdrop?: boolean;
24
+ backdropClosable?: boolean;
25
+ isClosing?: boolean;
26
+ }
27
+ export interface DialogContextValue {
28
+ dialogs: DialogConfig[];
29
+ openDialog: (config: Omit<DialogConfig, 'id'> & {
30
+ id?: string;
31
+ }) => string;
32
+ closeDialog: (id: string) => void;
33
+ removeDialog: (id: string) => void;
34
+ closeAllDialogs: () => void;
35
+ }
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { type TextProps } from '../Text';
3
+ import type { SpacingValue } from '../../core/theme/types';
4
+ export interface DisclaimerProps extends Omit<TextProps, 'children'> {
5
+ children: React.ReactNode;
6
+ mt?: SpacingValue;
7
+ }
8
+ /**
9
+ * Disclaimer component for showing muted helper text below components
10
+ */
11
+ export declare const Disclaimer: React.FC<DisclaimerProps>;