@flikk/ui 1.0.0-beta.2 → 1.0.0-beta.4

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 (394) hide show
  1. package/dist/components/ai/ApprovalCard/ApprovalCard.js +2 -2
  2. package/dist/components/ai/ApprovalCard/ApprovalCard.types.d.ts +2 -2
  3. package/dist/components/ai/PromptInput/PromptInput.js +51 -10
  4. package/dist/components/ai/PromptInput/PromptInput.theme.js +1 -0
  5. package/dist/components/ai/PromptInput/PromptInput.types.d.ts +20 -0
  6. package/dist/components/charts/DonutChart/DonutChart.types.d.ts +1 -2
  7. package/dist/components/charts/DonutChart/MultiSegmentDonutChart.types.d.ts +1 -2
  8. package/dist/components/core/Accordion/Accordion.theme.js +2 -2
  9. package/dist/components/core/Alert/Alert.js +2 -2
  10. package/dist/components/core/Alert/Alert.types.d.ts +2 -2
  11. package/dist/components/core/AlertDialog/AlertDialog.d.ts +1 -1
  12. package/dist/components/core/AlertDialog/AlertDialog.js +2 -2
  13. package/dist/components/core/AlertDialog/AlertDialog.types.d.ts +2 -2
  14. package/dist/components/core/Badge/Badge.d.ts +1 -1
  15. package/dist/components/core/Badge/Badge.js +11 -9
  16. package/dist/components/core/Badge/Badge.theme.js +13 -14
  17. package/dist/components/core/Badge/Badge.types.d.ts +8 -4
  18. package/dist/components/core/Button/Button.d.ts +1 -1
  19. package/dist/components/core/Button/Button.theme.js +8 -9
  20. package/dist/components/core/Button/Button.types.d.ts +1 -2
  21. package/dist/components/core/Calendar/Calendar.theme.js +1 -1
  22. package/dist/components/core/Card/Card.d.ts +2 -2
  23. package/dist/components/core/Card/Card.js +6 -7
  24. package/dist/components/core/Card/Card.theme.js +4 -4
  25. package/dist/components/core/Card/Card.types.d.ts +5 -20
  26. package/dist/components/core/Card/CardSubtitle.d.ts +3 -0
  27. package/dist/components/core/Card/CardSubtitle.js +11 -0
  28. package/dist/components/core/Card/index.d.ts +2 -2
  29. package/dist/components/core/CommandPalette/CommandItem.d.ts +1 -1
  30. package/dist/components/core/CommandPalette/CommandItem.js +2 -2
  31. package/dist/components/core/CommandPalette/CommandPalette.js +2 -2
  32. package/dist/components/core/CommandPalette/CommandPalette.theme.js +2 -2
  33. package/dist/components/core/CommandPalette/CommandPalette.types.d.ts +2 -2
  34. package/dist/components/core/ContextMenu/ContextMenu.types.d.ts +1 -1
  35. package/dist/components/core/ContextMenu/ContextMenuItem.js +2 -2
  36. package/dist/components/core/Drawer/Drawer.d.ts +13 -1
  37. package/dist/components/core/Drawer/Drawer.js +23 -10
  38. package/dist/components/core/Drawer/Drawer.theme.js +1 -1
  39. package/dist/components/core/Drawer/Drawer.types.d.ts +21 -4
  40. package/dist/components/core/Drawer/DrawerHeader.d.ts +5 -0
  41. package/dist/components/core/Drawer/DrawerHeader.js +14 -0
  42. package/dist/components/core/Drawer/DrawerSubtitle.d.ts +5 -0
  43. package/dist/components/core/Drawer/DrawerSubtitle.js +11 -0
  44. package/dist/components/core/Drawer/DrawerTitle.d.ts +5 -0
  45. package/dist/components/core/Drawer/DrawerTitle.js +11 -0
  46. package/dist/components/core/Drawer/index.d.ts +1 -1
  47. package/dist/components/core/Dropdown/Dropdown.types.d.ts +4 -4
  48. package/dist/components/core/Dropdown/DropdownItem.js +2 -2
  49. package/dist/components/core/Empty/Empty.js +2 -2
  50. package/dist/components/core/Empty/Empty.theme.d.ts +1 -1
  51. package/dist/components/core/Empty/Empty.theme.js +3 -3
  52. package/dist/components/core/Empty/Empty.types.d.ts +2 -2
  53. package/dist/components/core/Link/Link.d.ts +1 -1
  54. package/dist/components/core/Link/Link.types.d.ts +2 -2
  55. package/dist/components/core/MenuItem/MenuItem.js +2 -2
  56. package/dist/components/core/MenuItem/MenuItem.theme.d.ts +1 -2
  57. package/dist/components/core/MenuItem/MenuItem.theme.js +7 -9
  58. package/dist/components/core/MenuItem/MenuItem.types.d.ts +1 -1
  59. package/dist/components/core/Message/Message.d.ts +3 -2
  60. package/dist/components/core/Message/Message.js +30 -24
  61. package/dist/components/core/Message/Message.theme.d.ts +1 -1
  62. package/dist/components/core/Message/Message.theme.js +22 -24
  63. package/dist/components/core/Message/Message.types.d.ts +0 -7
  64. package/dist/components/core/Message/MessageList.animations.d.ts +6 -0
  65. package/dist/components/core/Message/MessageList.animations.js +32 -0
  66. package/dist/components/core/Message/MessageList.d.ts +5 -0
  67. package/dist/components/core/Message/MessageList.js +78 -0
  68. package/dist/components/core/Message/MessageList.theme.d.ts +2 -0
  69. package/dist/components/core/Message/MessageList.theme.js +6 -0
  70. package/dist/components/core/Message/MessageList.types.d.ts +32 -0
  71. package/dist/components/core/Message/index.d.ts +2 -0
  72. package/dist/components/core/Modal/Modal.d.ts +2 -2
  73. package/dist/components/core/Modal/Modal.js +5 -5
  74. package/dist/components/core/Modal/Modal.theme.js +5 -5
  75. package/dist/components/core/Modal/Modal.types.d.ts +4 -4
  76. package/dist/components/core/Modal/ModalSubtitle.d.ts +5 -0
  77. package/dist/components/core/Modal/ModalSubtitle.js +11 -0
  78. package/dist/components/core/ModalStack/ModalStack.animations.js +3 -3
  79. package/dist/components/core/ModalStack/ModalStackModal.js +3 -3
  80. package/dist/components/core/PageHeading/PageHeading.d.ts +8 -0
  81. package/dist/components/core/PageHeading/PageHeading.js +28 -0
  82. package/dist/components/core/PageHeading/PageHeading.theme.d.ts +2 -0
  83. package/dist/components/core/PageHeading/PageHeading.theme.js +11 -0
  84. package/dist/components/core/PageHeading/PageHeading.types.d.ts +55 -0
  85. package/dist/components/core/PageHeading/PageHeadingActions.d.ts +3 -0
  86. package/dist/components/core/PageHeading/PageHeadingActions.js +11 -0
  87. package/dist/components/core/PageHeading/PageHeadingBackButton.d.ts +3 -0
  88. package/dist/components/core/PageHeading/PageHeadingBackButton.js +12 -0
  89. package/dist/components/core/PageHeading/PageHeadingIcon.d.ts +3 -0
  90. package/dist/components/core/PageHeading/PageHeadingIcon.js +11 -0
  91. package/dist/components/core/PageHeading/PageHeadingSubtitle.d.ts +3 -0
  92. package/dist/components/core/PageHeading/PageHeadingSubtitle.js +11 -0
  93. package/dist/components/core/PageHeading/PageHeadingTitle.d.ts +3 -0
  94. package/dist/components/core/PageHeading/PageHeadingTitle.js +11 -0
  95. package/dist/components/core/PageHeading/index.d.ts +2 -0
  96. package/dist/components/core/Popover/Popover.theme.js +1 -1
  97. package/dist/components/core/Segmented/Segmented.theme.js +3 -3
  98. package/dist/components/core/Sidebar/Sidebar.js +1 -0
  99. package/dist/components/core/SocialIcon/SocialIcon.d.ts +3 -0
  100. package/dist/components/core/SocialIcon/SocialIcon.js +30 -0
  101. package/dist/components/core/SocialIcon/SocialIcon.theme.d.ts +2 -0
  102. package/dist/components/core/SocialIcon/SocialIcon.theme.js +12 -0
  103. package/dist/components/core/SocialIcon/SocialIcon.types.d.ts +18 -0
  104. package/dist/components/core/SocialIcon/index.d.ts +2 -0
  105. package/dist/components/core/SocialIcon/platforms.d.ts +17 -0
  106. package/dist/components/core/SocialIcon/platforms.js +234 -0
  107. package/dist/components/core/Toast/Toast.js +4 -4
  108. package/dist/components/core/Toast/Toast.theme.js +1 -1
  109. package/dist/components/core/Toast/Toast.types.d.ts +9 -9
  110. package/dist/components/core/Toast/useToast.js +6 -6
  111. package/dist/components/core/index.d.ts +2 -7
  112. package/dist/components/core/index.js +9 -19
  113. package/dist/components/{core → data-display}/DescriptionList/DescriptionList.theme.js +1 -1
  114. package/dist/components/{core → data-display}/Feed/Feed.js +2 -2
  115. package/dist/components/data-display/GanttChart/GanttChart.animations.d.ts +4 -0
  116. package/dist/components/data-display/GanttChart/GanttChart.animations.js +21 -0
  117. package/dist/components/data-display/GanttChart/GanttChart.d.ts +8 -0
  118. package/dist/components/data-display/GanttChart/GanttChart.js +170 -0
  119. package/dist/components/data-display/GanttChart/GanttChart.theme.d.ts +2 -0
  120. package/dist/components/data-display/GanttChart/GanttChart.theme.js +23 -0
  121. package/dist/components/data-display/GanttChart/GanttChart.types.d.ts +162 -0
  122. package/dist/components/data-display/GanttChart/GanttChart.types.js +9 -0
  123. package/dist/components/data-display/GanttChart/GanttChart.utils.d.ts +80 -0
  124. package/dist/components/data-display/GanttChart/GanttChart.utils.js +274 -0
  125. package/dist/components/data-display/GanttChart/GanttChartPanel.d.ts +9 -0
  126. package/dist/components/data-display/GanttChart/GanttChartPanel.js +82 -0
  127. package/dist/components/data-display/GanttChart/GanttDependencyArrows.d.ts +2 -0
  128. package/dist/components/data-display/GanttChart/GanttDependencyArrows.js +35 -0
  129. package/dist/components/data-display/GanttChart/GanttGroupBar.d.ts +8 -0
  130. package/dist/components/data-display/GanttChart/GanttGroupBar.js +26 -0
  131. package/dist/components/data-display/GanttChart/GanttMilestone.d.ts +9 -0
  132. package/dist/components/data-display/GanttChart/GanttMilestone.js +44 -0
  133. package/dist/components/data-display/GanttChart/GanttProgressCircle.d.ts +9 -0
  134. package/dist/components/data-display/GanttChart/GanttProgressCircle.js +11 -0
  135. package/dist/components/data-display/GanttChart/GanttSplitter.d.ts +2 -0
  136. package/dist/components/data-display/GanttChart/GanttSplitter.js +39 -0
  137. package/dist/components/data-display/GanttChart/GanttTableGroupRow.d.ts +7 -0
  138. package/dist/components/data-display/GanttChart/GanttTableGroupRow.js +23 -0
  139. package/dist/components/data-display/GanttChart/GanttTableHeader.d.ts +2 -0
  140. package/dist/components/data-display/GanttChart/GanttTableHeader.js +13 -0
  141. package/dist/components/data-display/GanttChart/GanttTablePanel.d.ts +6 -0
  142. package/dist/components/data-display/GanttChart/GanttTablePanel.js +20 -0
  143. package/dist/components/data-display/GanttChart/GanttTableTaskRow.d.ts +8 -0
  144. package/dist/components/data-display/GanttChart/GanttTableTaskRow.js +30 -0
  145. package/dist/components/data-display/GanttChart/GanttTaskBar.d.ts +9 -0
  146. package/dist/components/data-display/GanttChart/GanttTaskBar.js +206 -0
  147. package/dist/components/data-display/GanttChart/GanttTaskContextMenu.d.ts +8 -0
  148. package/dist/components/data-display/GanttChart/GanttTaskContextMenu.js +17 -0
  149. package/dist/components/data-display/GanttChart/GanttTimelineGrid.d.ts +7 -0
  150. package/dist/components/data-display/GanttChart/GanttTimelineGrid.js +33 -0
  151. package/dist/components/data-display/GanttChart/GanttTimelineHeader.d.ts +8 -0
  152. package/dist/components/data-display/GanttChart/GanttTimelineHeader.js +43 -0
  153. package/dist/components/data-display/GanttChart/GanttToolbar.d.ts +2 -0
  154. package/dist/components/data-display/GanttChart/GanttToolbar.js +28 -0
  155. package/dist/components/data-display/GanttChart/hooks/useGanttDates.d.ts +12 -0
  156. package/dist/components/data-display/GanttChart/hooks/useGanttDates.js +25 -0
  157. package/dist/components/data-display/GanttChart/hooks/useGanttDrag.d.ts +25 -0
  158. package/dist/components/data-display/GanttChart/hooks/useGanttDrag.js +144 -0
  159. package/dist/components/data-display/GanttChart/hooks/useGanttLayout.d.ts +2 -0
  160. package/dist/components/data-display/GanttChart/hooks/useGanttLayout.js +33 -0
  161. package/dist/components/data-display/GanttChart/hooks/useGanttScrollSync.d.ts +6 -0
  162. package/dist/components/data-display/GanttChart/hooks/useGanttScrollSync.js +32 -0
  163. package/dist/components/data-display/GanttChart/index.d.ts +3 -0
  164. package/dist/components/{core → data-display}/KPI/KPI.js +10 -8
  165. package/dist/components/{core → data-display}/KPI/KPI.theme.js +2 -1
  166. package/dist/components/{core → data-display}/KPI/KPI.types.d.ts +5 -5
  167. package/dist/components/{core → data-display}/KPI/index.d.ts +1 -0
  168. package/dist/components/{core → data-display}/Metric/Metric.js +4 -7
  169. package/dist/components/{core → data-display}/Metric/Metric.theme.js +9 -9
  170. package/dist/components/{core → data-display}/Metric/Metric.types.d.ts +6 -6
  171. package/dist/components/{core → data-display}/Table/Table.theme.js +2 -2
  172. package/dist/components/{core → data-display}/Table/TableActions.js +8 -8
  173. package/dist/components/{core → data-display}/Table/TableColumnManager.js +4 -4
  174. package/dist/components/{core → data-display}/Table/TableFilter.js +3 -3
  175. package/dist/components/data-display/Table/TablePagination.js +25 -0
  176. package/dist/components/{core → data-display}/Table/TableRow.js +1 -1
  177. package/dist/components/{core → data-display}/Table/TableSelectionHeader.js +1 -1
  178. package/dist/components/data-display/index.d.ts +7 -0
  179. package/dist/components/data-display/index.js +20 -0
  180. package/dist/components/effects/3d/index.d.ts +6 -0
  181. package/dist/components/effects/3d/index.js +3 -0
  182. package/dist/components/effects/Aurora/Aurora.d.ts +24 -0
  183. package/dist/components/effects/Aurora/Aurora.js +119 -0
  184. package/dist/components/effects/Aurora/Aurora.types.d.ts +15 -0
  185. package/dist/components/effects/Aurora/index.d.ts +2 -0
  186. package/dist/components/effects/CustomCursor/CustomCursor.d.ts +2 -2
  187. package/dist/components/effects/CustomCursor/CustomCursor.types.d.ts +3 -3
  188. package/dist/components/effects/DotPattern/DotPattern.d.ts +18 -0
  189. package/dist/components/effects/DotPattern/DotPattern.js +65 -0
  190. package/dist/components/effects/DotPattern/DotPattern.types.d.ts +47 -0
  191. package/dist/components/effects/DotPattern/index.d.ts +2 -0
  192. package/dist/components/effects/GridPattern/GridPattern.d.ts +18 -0
  193. package/dist/components/effects/GridPattern/GridPattern.js +64 -0
  194. package/dist/components/effects/GridPattern/GridPattern.types.d.ts +47 -0
  195. package/dist/components/effects/GridPattern/index.d.ts +2 -0
  196. package/dist/components/effects/MagneticElement/MagneticElement.d.ts +30 -0
  197. package/dist/components/effects/MagneticElement/MagneticElement.js +110 -0
  198. package/dist/components/effects/MagneticElement/MagneticElement.types.d.ts +44 -0
  199. package/dist/components/effects/MagneticElement/index.d.ts +2 -0
  200. package/dist/components/effects/MorphingText/MorphingText.d.ts +17 -0
  201. package/dist/components/effects/MorphingText/MorphingText.js +91 -0
  202. package/dist/components/effects/MorphingText/MorphingText.types.d.ts +18 -0
  203. package/dist/components/effects/MorphingText/index.d.ts +2 -0
  204. package/dist/components/effects/NoiseOverlay/NoiseOverlay.d.ts +28 -0
  205. package/dist/components/effects/NoiseOverlay/NoiseOverlay.js +61 -0
  206. package/dist/components/effects/NoiseOverlay/NoiseOverlay.types.d.ts +35 -0
  207. package/dist/components/effects/NoiseOverlay/index.d.ts +2 -0
  208. package/dist/components/effects/ParallaxSection/ParallaxSection.d.ts +26 -0
  209. package/dist/components/effects/ParallaxSection/ParallaxSection.js +71 -0
  210. package/dist/components/effects/ParallaxSection/ParallaxSection.types.d.ts +11 -0
  211. package/dist/components/effects/ParallaxSection/index.d.ts +2 -0
  212. package/dist/components/effects/Particles/Particles.d.ts +22 -0
  213. package/dist/components/effects/Particles/Particles.js +33 -0
  214. package/dist/components/effects/Particles/Particles.scene.d.ts +3 -0
  215. package/dist/components/effects/Particles/Particles.scene.js +284 -0
  216. package/dist/components/effects/Particles/Particles.types.d.ts +65 -0
  217. package/dist/components/effects/Particles/index.d.ts +2 -0
  218. package/dist/components/effects/ProgressiveBlur/ProgressiveBlur.d.ts +3 -0
  219. package/dist/components/effects/ProgressiveBlur/ProgressiveBlur.js +75 -0
  220. package/dist/components/effects/ProgressiveBlur/ProgressiveBlur.theme.d.ts +7 -0
  221. package/dist/components/effects/ProgressiveBlur/ProgressiveBlur.theme.js +12 -0
  222. package/dist/components/effects/ProgressiveBlur/ProgressiveBlur.types.d.ts +47 -0
  223. package/dist/components/effects/ProgressiveBlur/index.d.ts +2 -0
  224. package/dist/components/effects/ScrollReveal/ScrollReveal.d.ts +29 -0
  225. package/dist/components/effects/ScrollReveal/ScrollReveal.js +121 -0
  226. package/dist/components/effects/ScrollReveal/ScrollReveal.types.d.ts +25 -0
  227. package/dist/components/effects/ScrollReveal/index.d.ts +2 -0
  228. package/dist/components/effects/Spotlight/Spotlight.d.ts +36 -0
  229. package/dist/components/effects/Spotlight/Spotlight.js +112 -0
  230. package/dist/components/effects/Spotlight/Spotlight.types.d.ts +29 -0
  231. package/dist/components/effects/Spotlight/index.d.ts +2 -0
  232. package/dist/components/effects/StickyScroll/StickyScroll.d.ts +30 -0
  233. package/dist/components/effects/StickyScroll/StickyScroll.js +128 -0
  234. package/dist/components/effects/StickyScroll/StickyScroll.types.d.ts +19 -0
  235. package/dist/components/effects/StickyScroll/index.d.ts +2 -0
  236. package/dist/components/effects/index.d.ts +22 -4
  237. package/dist/components/effects/index.js +11 -2
  238. package/dist/components/forms/Checkbox/Checkbox.js +3 -3
  239. package/dist/components/forms/Checkbox/Checkbox.theme.js +3 -5
  240. package/dist/components/forms/ColorPicker/ColorPicker.theme.js +2 -2
  241. package/dist/components/forms/CronInput/CronInput.d.ts +3 -0
  242. package/dist/components/forms/CronInput/CronInput.js +107 -0
  243. package/dist/components/forms/CronInput/CronInput.theme.d.ts +6 -0
  244. package/dist/components/forms/CronInput/CronInput.theme.js +84 -0
  245. package/dist/components/forms/CronInput/CronInput.types.d.ts +98 -0
  246. package/dist/components/forms/CronInput/CronInput.utils.d.ts +67 -0
  247. package/dist/components/forms/CronInput/CronInput.utils.js +505 -0
  248. package/dist/components/forms/CronInput/index.d.ts +4 -0
  249. package/dist/components/forms/DatePicker/DatePicker.theme.js +2 -2
  250. package/dist/components/forms/InputCounter/InputCounter.d.ts +1 -1
  251. package/dist/components/forms/InputCounter/InputCounter.types.d.ts +3 -2
  252. package/dist/components/forms/InputOTP/InputOTP.theme.js +1 -1
  253. package/dist/components/forms/Mention/Mention.d.ts +3 -0
  254. package/dist/components/forms/Mention/Mention.js +410 -0
  255. package/dist/components/forms/Mention/Mention.theme.d.ts +6 -0
  256. package/dist/components/forms/Mention/Mention.theme.js +56 -0
  257. package/dist/components/forms/Mention/Mention.types.d.ts +111 -0
  258. package/dist/components/forms/Mention/index.d.ts +3 -0
  259. package/dist/components/forms/Radio/Radio.js +8 -12
  260. package/dist/components/forms/Radio/Radio.theme.js +28 -5
  261. package/dist/components/forms/SelectableCard/SelectableCard.animations.d.ts +2 -0
  262. package/dist/components/forms/SelectableCard/SelectableCard.animations.js +9 -0
  263. package/dist/components/forms/SelectableCard/SelectableCard.d.ts +5 -0
  264. package/dist/components/forms/SelectableCard/SelectableCard.js +58 -0
  265. package/dist/components/forms/SelectableCard/SelectableCard.theme.d.ts +2 -0
  266. package/dist/components/forms/SelectableCard/SelectableCard.theme.js +38 -0
  267. package/dist/components/forms/SelectableCard/SelectableCard.types.d.ts +33 -0
  268. package/dist/components/forms/SelectableCard/SelectableCardContext.d.ts +3 -0
  269. package/dist/components/forms/SelectableCard/SelectableCardContext.js +12 -0
  270. package/dist/components/forms/SelectableCard/SelectableCardGroup.d.ts +3 -0
  271. package/dist/components/forms/SelectableCard/SelectableCardGroup.js +37 -0
  272. package/dist/components/forms/SelectableCard/index.d.ts +3 -0
  273. package/dist/components/forms/TransferList/TransferList.animations.d.ts +10 -0
  274. package/dist/components/forms/TransferList/TransferList.animations.js +32 -0
  275. package/dist/components/forms/TransferList/TransferList.d.ts +28 -0
  276. package/dist/components/forms/TransferList/TransferList.js +199 -0
  277. package/dist/components/forms/TransferList/TransferList.theme.d.ts +6 -0
  278. package/dist/components/forms/TransferList/TransferList.theme.js +60 -0
  279. package/dist/components/forms/TransferList/TransferList.types.d.ts +101 -0
  280. package/dist/components/forms/TransferList/index.d.ts +3 -0
  281. package/dist/components/forms/index.d.ts +13 -0
  282. package/dist/components/forms/index.js +9 -0
  283. package/dist/components/layout/FormLayout/FormLayout.d.ts +8 -0
  284. package/dist/components/layout/FormLayout/FormLayout.js +22 -0
  285. package/dist/components/layout/FormLayout/FormLayout.theme.d.ts +2 -0
  286. package/dist/components/layout/FormLayout/FormLayout.theme.js +16 -0
  287. package/dist/components/layout/FormLayout/FormLayout.types.d.ts +61 -0
  288. package/dist/components/layout/FormLayout/FormLayoutBody.d.ts +3 -0
  289. package/dist/components/layout/FormLayout/FormLayoutBody.js +13 -0
  290. package/dist/components/layout/FormLayout/FormLayoutFooter.d.ts +3 -0
  291. package/dist/components/layout/FormLayout/FormLayoutFooter.js +12 -0
  292. package/dist/components/layout/FormLayout/FormLayoutHeader.d.ts +3 -0
  293. package/dist/components/layout/FormLayout/FormLayoutHeader.js +12 -0
  294. package/dist/components/layout/FormLayout/FormLayoutSection.d.ts +3 -0
  295. package/dist/components/layout/FormLayout/FormLayoutSection.js +12 -0
  296. package/dist/components/layout/FormLayout/index.d.ts +3 -0
  297. package/dist/components/layout/PageLayout/PageLayout.d.ts +7 -0
  298. package/dist/components/layout/PageLayout/PageLayout.js +33 -0
  299. package/dist/components/layout/PageLayout/PageLayout.theme.d.ts +2 -0
  300. package/dist/components/layout/PageLayout/PageLayout.theme.js +10 -0
  301. package/dist/components/layout/PageLayout/PageLayout.types.d.ts +39 -0
  302. package/dist/components/layout/PageLayout/PageLayoutContent.d.ts +3 -0
  303. package/dist/components/layout/PageLayout/PageLayoutContent.js +12 -0
  304. package/dist/components/layout/PageLayout/PageLayoutHeader.d.ts +3 -0
  305. package/dist/components/layout/PageLayout/PageLayoutHeader.js +12 -0
  306. package/dist/components/layout/PageLayout/PageLayoutSidebar.d.ts +3 -0
  307. package/dist/components/layout/PageLayout/PageLayoutSidebar.js +12 -0
  308. package/dist/components/layout/PageLayout/index.d.ts +3 -0
  309. package/dist/components/layout/index.d.ts +2 -0
  310. package/dist/index.d.ts +2 -0
  311. package/dist/index.js +53 -21
  312. package/dist/styles.css +1 -1
  313. package/dist/utils/dateUtils.d.ts +30 -0
  314. package/dist/utils/dateUtils.js +58 -1
  315. package/dist/utils/index.d.ts +1 -1
  316. package/package.json +26 -22
  317. package/dist/components/core/Card/CardDescription.d.ts +0 -3
  318. package/dist/components/core/Card/CardDescription.js +0 -11
  319. package/dist/components/core/Modal/ModalDescription.d.ts +0 -5
  320. package/dist/components/core/Modal/ModalDescription.js +0 -11
  321. package/dist/components/core/ProgressiveBlur/ProgressiveBlur.d.ts +0 -34
  322. package/dist/components/core/ProgressiveBlur/ProgressiveBlur.js +0 -218
  323. package/dist/components/core/ProgressiveBlur/ProgressiveBlur.theme.d.ts +0 -9
  324. package/dist/components/core/ProgressiveBlur/ProgressiveBlur.types.d.ts +0 -48
  325. package/dist/components/core/ProgressiveBlur/index.d.ts +0 -2
  326. package/dist/components/core/Table/TablePagination.js +0 -25
  327. /package/dist/components/{core → data-display}/DescriptionList/DescriptionList.d.ts +0 -0
  328. /package/dist/components/{core → data-display}/DescriptionList/DescriptionList.js +0 -0
  329. /package/dist/components/{core → data-display}/DescriptionList/DescriptionList.theme.d.ts +0 -0
  330. /package/dist/components/{core → data-display}/DescriptionList/DescriptionList.types.d.ts +0 -0
  331. /package/dist/components/{core → data-display}/DescriptionList/index.d.ts +0 -0
  332. /package/dist/components/{core → data-display}/Feed/Feed.d.ts +0 -0
  333. /package/dist/components/{core → data-display}/Feed/Feed.theme.d.ts +0 -0
  334. /package/dist/components/{core → data-display}/Feed/Feed.theme.js +0 -0
  335. /package/dist/components/{core → data-display}/Feed/Feed.types.d.ts +0 -0
  336. /package/dist/components/{core → data-display}/Feed/index.d.ts +0 -0
  337. /package/dist/components/{core → data-display}/KPI/KPI.d.ts +0 -0
  338. /package/dist/components/{core → data-display}/KPI/KPI.theme.d.ts +0 -0
  339. /package/dist/components/{core → data-display}/Metric/Metric.d.ts +0 -0
  340. /package/dist/components/{core → data-display}/Metric/Metric.theme.d.ts +0 -0
  341. /package/dist/components/{core → data-display}/Metric/index.d.ts +0 -0
  342. /package/dist/components/{core → data-display}/Table/Table.animations.d.ts +0 -0
  343. /package/dist/components/{core → data-display}/Table/Table.animations.js +0 -0
  344. /package/dist/components/{core → data-display}/Table/Table.d.ts +0 -0
  345. /package/dist/components/{core → data-display}/Table/Table.filterUtils.d.ts +0 -0
  346. /package/dist/components/{core → data-display}/Table/Table.filterUtils.js +0 -0
  347. /package/dist/components/{core → data-display}/Table/Table.js +0 -0
  348. /package/dist/components/{core → data-display}/Table/Table.theme.d.ts +0 -0
  349. /package/dist/components/{core → data-display}/Table/Table.types.d.ts +0 -0
  350. /package/dist/components/{core → data-display}/Table/Table.utils.d.ts +0 -0
  351. /package/dist/components/{core → data-display}/Table/Table.utils.js +0 -0
  352. /package/dist/components/{core → data-display}/Table/TableActions.d.ts +0 -0
  353. /package/dist/components/{core → data-display}/Table/TableActionsMenu.d.ts +0 -0
  354. /package/dist/components/{core → data-display}/Table/TableActionsMenu.js +0 -0
  355. /package/dist/components/{core → data-display}/Table/TableBody.d.ts +0 -0
  356. /package/dist/components/{core → data-display}/Table/TableBody.js +0 -0
  357. /package/dist/components/{core → data-display}/Table/TableCell.d.ts +0 -0
  358. /package/dist/components/{core → data-display}/Table/TableCell.js +0 -0
  359. /package/dist/components/{core → data-display}/Table/TableColumnManager.d.ts +0 -0
  360. /package/dist/components/{core → data-display}/Table/TableDeclarative.d.ts +0 -0
  361. /package/dist/components/{core → data-display}/Table/TableDeclarative.js +0 -0
  362. /package/dist/components/{core → data-display}/Table/TableFilter.d.ts +0 -0
  363. /package/dist/components/{core → data-display}/Table/TableHeader.d.ts +0 -0
  364. /package/dist/components/{core → data-display}/Table/TableHeader.js +0 -0
  365. /package/dist/components/{core → data-display}/Table/TablePagination.d.ts +0 -0
  366. /package/dist/components/{core → data-display}/Table/TableRow.d.ts +0 -0
  367. /package/dist/components/{core → data-display}/Table/TableSelectionHeader.d.ts +0 -0
  368. /package/dist/components/{core → data-display}/Table/hooks/index.d.ts +0 -0
  369. /package/dist/components/{core → data-display}/Table/hooks/useTableColumns.d.ts +0 -0
  370. /package/dist/components/{core → data-display}/Table/hooks/useTableColumns.js +0 -0
  371. /package/dist/components/{core → data-display}/Table/hooks/useTableExpansion.d.ts +0 -0
  372. /package/dist/components/{core → data-display}/Table/hooks/useTableExpansion.js +0 -0
  373. /package/dist/components/{core → data-display}/Table/hooks/useTableFilter.d.ts +0 -0
  374. /package/dist/components/{core → data-display}/Table/hooks/useTableFilter.js +0 -0
  375. /package/dist/components/{core → data-display}/Table/hooks/useTablePagination.d.ts +0 -0
  376. /package/dist/components/{core → data-display}/Table/hooks/useTablePagination.js +0 -0
  377. /package/dist/components/{core → data-display}/Table/hooks/useTableSelection.d.ts +0 -0
  378. /package/dist/components/{core → data-display}/Table/hooks/useTableSelection.js +0 -0
  379. /package/dist/components/{core → data-display}/Table/index.d.ts +0 -0
  380. /package/dist/components/{core → data-display}/Table/index.js +0 -0
  381. /package/dist/components/{core → data-display}/Timeline/Timeline.animations.d.ts +0 -0
  382. /package/dist/components/{core → data-display}/Timeline/Timeline.animations.js +0 -0
  383. /package/dist/components/{core → data-display}/Timeline/Timeline.d.ts +0 -0
  384. /package/dist/components/{core → data-display}/Timeline/Timeline.js +0 -0
  385. /package/dist/components/{core → data-display}/Timeline/Timeline.theme.d.ts +0 -0
  386. /package/dist/components/{core → data-display}/Timeline/Timeline.theme.js +0 -0
  387. /package/dist/components/{core → data-display}/Timeline/Timeline.types.d.ts +0 -0
  388. /package/dist/components/{core → data-display}/Timeline/TimelineContent.d.ts +0 -0
  389. /package/dist/components/{core → data-display}/Timeline/TimelineContent.js +0 -0
  390. /package/dist/components/{core → data-display}/Timeline/TimelineItem.d.ts +0 -0
  391. /package/dist/components/{core → data-display}/Timeline/TimelineItem.js +0 -0
  392. /package/dist/components/{core → data-display}/Timeline/TimelineMarker.d.ts +0 -0
  393. /package/dist/components/{core → data-display}/Timeline/TimelineMarker.js +0 -0
  394. /package/dist/components/{core → data-display}/Timeline/index.d.ts +0 -0
@@ -0,0 +1,101 @@
1
+ import React from "react";
2
+ /**
3
+ * Size variants for the TransferList component
4
+ */
5
+ export type TransferListSize = "sm" | "md" | "lg";
6
+ /**
7
+ * Individual item in the TransferList
8
+ */
9
+ export interface TransferListItem {
10
+ /** Unique identifier for the item */
11
+ id: string;
12
+ /** Display label for the item */
13
+ label: string;
14
+ /** Whether the item is disabled and cannot be transferred */
15
+ disabled?: boolean;
16
+ /** Allow custom data to be attached to the item */
17
+ [key: string]: unknown;
18
+ }
19
+ /**
20
+ * TransferList component props
21
+ *
22
+ * Supports both controlled (value + onChange) and uncontrolled (defaultValue) patterns.
23
+ *
24
+ * @example
25
+ * ```tsx
26
+ * // Controlled
27
+ * <TransferList
28
+ * items={items}
29
+ * value={selectedIds}
30
+ * onChange={setSelectedIds}
31
+ * sourceTitle="Available"
32
+ * targetTitle="Selected"
33
+ * />
34
+ *
35
+ * // Uncontrolled
36
+ * <TransferList
37
+ * items={items}
38
+ * defaultValue={['item-1', 'item-2']}
39
+ * sourceTitle="Available"
40
+ * targetTitle="Selected"
41
+ * />
42
+ * ```
43
+ */
44
+ export interface TransferListProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
45
+ /** All available items for both lists */
46
+ items: TransferListItem[];
47
+ /** IDs of items currently in the target list (controlled mode) */
48
+ value?: string[];
49
+ /** Default IDs of items in the target list (uncontrolled mode) */
50
+ defaultValue?: string[];
51
+ /** Callback when target list changes */
52
+ onChange?: (targetIds: string[]) => void;
53
+ /** Title displayed above the source list */
54
+ sourceTitle?: string;
55
+ /** Title displayed above the target list */
56
+ targetTitle?: string;
57
+ /** Whether to show search/filter inputs for each list */
58
+ searchable?: boolean;
59
+ /** Size variant affecting padding and text size */
60
+ size?: TransferListSize;
61
+ /** Custom renderer for each item in both lists */
62
+ renderItem?: (item: TransferListItem) => React.ReactNode;
63
+ /** Additional className for the root container */
64
+ className?: string;
65
+ }
66
+ /**
67
+ * Theme configuration for the TransferList component
68
+ */
69
+ export interface TransferListTheme {
70
+ /** Root container style */
71
+ baseStyle: string;
72
+ /** Individual list panel style */
73
+ panelStyle: string;
74
+ /** Panel header (title + count) style */
75
+ headerStyle: string;
76
+ /** Title text style */
77
+ titleStyle: string;
78
+ /** Item count badge style */
79
+ countStyle: string;
80
+ /** Search input wrapper style */
81
+ searchWrapperStyle: string;
82
+ /** Search input style */
83
+ searchInputStyle: string;
84
+ /** Scrollable list container style */
85
+ listStyle: string;
86
+ /** Individual item row style */
87
+ itemStyle: string;
88
+ /** Disabled item style */
89
+ itemDisabledStyle: string;
90
+ /** Actions column (transfer buttons) style */
91
+ actionsStyle: string;
92
+ /** Transfer button style */
93
+ buttonStyle: string;
94
+ /** Size variants */
95
+ sizes: Record<TransferListSize, {
96
+ panel: string;
97
+ item: string;
98
+ button: string;
99
+ searchInput: string;
100
+ }>;
101
+ }
@@ -0,0 +1,3 @@
1
+ export { TransferList } from "./TransferList";
2
+ export type { TransferListProps, TransferListItem, TransferListSize, TransferListTheme, } from "./TransferList.types";
3
+ export { transferListTheme } from "./TransferList.theme";
@@ -60,3 +60,16 @@ export { Combobox } from "./Combobox";
60
60
  export type { ComboboxProps, ComboboxOption, ComboboxSize, ComboboxState, ComboboxTheme, ComboboxThemeOverrides, } from "./Combobox";
61
61
  export { comboboxTheme } from "./Combobox";
62
62
  export * from "./ColorPicker";
63
+ export { SelectableCard } from "./SelectableCard";
64
+ export type { SelectableCardProps, SelectableCardGroupProps, SelectableCardType, SelectableCardIndicator, SelectableCardTheme, } from "./SelectableCard";
65
+ export { selectableCardTheme } from "./SelectableCard";
66
+ export { TransferList } from "./TransferList";
67
+ export type { TransferListProps, TransferListItem, TransferListSize, TransferListTheme, } from "./TransferList";
68
+ export { transferListTheme } from "./TransferList";
69
+ export { Mention } from "./Mention";
70
+ export type { MentionProps, MentionSuggestion, MentionTrigger, MentionSize, MentionTheme, MentionThemeOverrides, } from "./Mention";
71
+ export { mentionTheme } from "./Mention";
72
+ export { CronInput } from "./CronInput";
73
+ export type { CronInputProps, CronInputSize, CronInputMode, CronInputTheme, CronInputThemeOverrides, CronFields, CronPreset, } from "./CronInput";
74
+ export { cronInputTheme } from "./CronInput";
75
+ export { parseCron, fieldsToCron, validateCron, cronToDescription, getNextRuns, formatNextRun, CRON_PRESETS, } from "./CronInput";
@@ -58,6 +58,15 @@ export { ColorPickerFormatSelector } from './ColorPicker/ColorPickerFormatSelect
58
58
  export { ColorPickerEyeDropper } from './ColorPicker/ColorPickerEyeDropper.js';
59
59
  export { ColorPickerPresets } from './ColorPicker/ColorPickerPresets.js';
60
60
  export { formatHex, formatHsl, formatRgb, hexToRgb, hslToRgb, hsvToRgb, parseColor, rgbToHex, rgbToHsl, rgbToHsv, validateHex, validateRgb } from './ColorPicker/colorUtils.js';
61
+ export { SelectableCard } from './SelectableCard/SelectableCard.js';
62
+ export { selectableCardTheme } from './SelectableCard/SelectableCard.theme.js';
63
+ export { TransferList } from './TransferList/TransferList.js';
64
+ export { transferListTheme } from './TransferList/TransferList.theme.js';
65
+ export { Mention } from './Mention/Mention.js';
66
+ export { mentionTheme } from './Mention/Mention.theme.js';
67
+ export { CronInput } from './CronInput/CronInput.js';
68
+ export { cronInputTheme } from './CronInput/CronInput.theme.js';
69
+ export { CRON_PRESETS, cronToDescription, fieldsToCron, formatNextRun, getNextRuns, parseCron, validateCron } from './CronInput/CronInput.utils.js';
61
70
  export { DatePickerContent } from './DatePicker/DatePickerContent.js';
62
71
  export { DatePickerPresets } from './DatePicker/DatePickerPresets.js';
63
72
  export { DatePickerTrigger } from './DatePicker/DatePickerTrigger.js';
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { FormLayoutProps } from "./FormLayout.types";
3
+ export declare const FormLayout: React.ForwardRefExoticComponent<FormLayoutProps & React.RefAttributes<HTMLDivElement>> & {
4
+ Header: React.ForwardRefExoticComponent<import("./FormLayout.types").FormLayoutHeaderProps & React.RefAttributes<HTMLDivElement>>;
5
+ Body: React.ForwardRefExoticComponent<import("./FormLayout.types").FormLayoutBodyProps & React.RefAttributes<HTMLDivElement>>;
6
+ Section: React.ForwardRefExoticComponent<import("./FormLayout.types").FormLayoutSectionProps & React.RefAttributes<HTMLElement>>;
7
+ Footer: React.ForwardRefExoticComponent<import("./FormLayout.types").FormLayoutFooterProps & React.RefAttributes<HTMLDivElement>>;
8
+ };
@@ -0,0 +1,22 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { formLayoutTheme } from './FormLayout.theme.js';
5
+ import { FormLayoutHeader } from './FormLayoutHeader.js';
6
+ import { FormLayoutBody } from './FormLayoutBody.js';
7
+ import { FormLayoutSection } from './FormLayoutSection.js';
8
+ import { FormLayoutFooter } from './FormLayoutFooter.js';
9
+
10
+ const FormLayoutRoot = React__default.forwardRef(({ className, theme: customTheme, children, ...props }, ref) => {
11
+ const theme = { ...formLayoutTheme, ...customTheme };
12
+ return (jsx("div", { ref: ref, className: cn(theme.root, className), ...props, children: children }));
13
+ });
14
+ FormLayoutRoot.displayName = "FormLayout";
15
+ const FormLayout = Object.assign(FormLayoutRoot, {
16
+ Header: FormLayoutHeader,
17
+ Body: FormLayoutBody,
18
+ Section: FormLayoutSection,
19
+ Footer: FormLayoutFooter,
20
+ });
21
+
22
+ export { FormLayout };
@@ -0,0 +1,2 @@
1
+ import type { FormLayoutTheme } from "./FormLayout.types";
2
+ export declare const formLayoutTheme: FormLayoutTheme;
@@ -0,0 +1,16 @@
1
+ const formLayoutTheme = {
2
+ root: "flex flex-col gap-6",
3
+ header: "border-b border-[var(--color-border)] pb-6",
4
+ headerTitle: "text-base font-semibold text-[var(--color-text-primary)]",
5
+ headerSubtitle: "text-base text-[var(--color-text-muted)]",
6
+ body: "flex flex-col gap-6",
7
+ section: "grid grid-cols-1 md:grid-cols-6 gap-6 md:gap-10",
8
+ sectionSidebar: "col-span-full md:col-span-2",
9
+ sectionTitle: "text-base font-semibold text-[var(--color-text-primary)]",
10
+ sectionDescription: "text-sm text-[var(--color-text-muted)] mt-1",
11
+ sectionAction: "mt-4",
12
+ sectionContent: "col-span-full md:col-span-4 grid grid-cols-1 sm:grid-cols-2 gap-4",
13
+ footer: "flex flex-col-reverse sm:flex-row sm:justify-between items-center gap-3 border-t border-[var(--color-border)] pt-3",
14
+ };
15
+
16
+ export { formLayoutTheme };
@@ -0,0 +1,61 @@
1
+ import React from "react";
2
+ export interface FormLayoutTheme {
3
+ root: string;
4
+ header: string;
5
+ headerTitle: string;
6
+ headerSubtitle: string;
7
+ body: string;
8
+ section: string;
9
+ sectionSidebar: string;
10
+ sectionTitle: string;
11
+ sectionDescription: string;
12
+ sectionAction: string;
13
+ sectionContent: string;
14
+ footer: string;
15
+ }
16
+ export interface FormLayoutThemeOverrides {
17
+ root?: string;
18
+ header?: string;
19
+ headerTitle?: string;
20
+ headerSubtitle?: string;
21
+ body?: string;
22
+ section?: string;
23
+ sectionSidebar?: string;
24
+ sectionTitle?: string;
25
+ sectionDescription?: string;
26
+ sectionAction?: string;
27
+ sectionContent?: string;
28
+ footer?: string;
29
+ }
30
+ export interface FormLayoutProps extends React.HTMLAttributes<HTMLDivElement> {
31
+ /** Theme overrides for the root container. */
32
+ theme?: FormLayoutThemeOverrides;
33
+ }
34
+ export interface FormLayoutHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
35
+ /** Header title text. */
36
+ title: string;
37
+ /** Optional subtitle displayed below the title. */
38
+ subtitle?: string;
39
+ /** Optional action element rendered on the right side of the header. */
40
+ action?: React.ReactNode;
41
+ /** Theme overrides for the header. */
42
+ theme?: FormLayoutThemeOverrides;
43
+ }
44
+ export interface FormLayoutBodyProps extends React.HTMLAttributes<HTMLDivElement> {
45
+ }
46
+ export interface FormLayoutSectionProps extends React.HTMLAttributes<HTMLElement> {
47
+ /** Section title text. */
48
+ title: string;
49
+ /** Optional description displayed below the title. */
50
+ description?: string;
51
+ /** Optional action element rendered below the description. */
52
+ action?: React.ReactNode;
53
+ /** Additional className applied to the content area. */
54
+ contentClassName?: string;
55
+ /** Theme overrides for the section. */
56
+ theme?: FormLayoutThemeOverrides;
57
+ }
58
+ export interface FormLayoutFooterProps extends React.HTMLAttributes<HTMLDivElement> {
59
+ /** Theme overrides for the footer. */
60
+ theme?: FormLayoutThemeOverrides;
61
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { FormLayoutBodyProps } from "./FormLayout.types";
3
+ export declare const FormLayoutBody: React.ForwardRefExoticComponent<FormLayoutBodyProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,13 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { formLayoutTheme } from './FormLayout.theme.js';
5
+ import { Separator } from '../../core/Separator/Separator.js';
6
+
7
+ const FormLayoutBody = React__default.forwardRef(({ className, children, ...props }, ref) => {
8
+ const childArray = React__default.Children.toArray(children).filter(Boolean);
9
+ return (jsx("div", { ref: ref, className: cn(formLayoutTheme.body, className), ...props, children: childArray.map((child, index) => (jsxs(React__default.Fragment, { children: [child, index < childArray.length - 1 && jsx(Separator, {})] }, index))) }));
10
+ });
11
+ FormLayoutBody.displayName = "FormLayout.Body";
12
+
13
+ export { FormLayoutBody };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { FormLayoutFooterProps } from "./FormLayout.types";
3
+ export declare const FormLayoutFooter: React.ForwardRefExoticComponent<FormLayoutFooterProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { formLayoutTheme } from './FormLayout.theme.js';
5
+
6
+ const FormLayoutFooter = React__default.forwardRef(({ className, theme: customTheme, children, ...props }, ref) => {
7
+ const theme = { ...formLayoutTheme, ...customTheme };
8
+ return (jsx("div", { ref: ref, className: cn(theme.footer, className), ...props, children: children }));
9
+ });
10
+ FormLayoutFooter.displayName = "FormLayout.Footer";
11
+
12
+ export { FormLayoutFooter };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { FormLayoutHeaderProps } from "./FormLayout.types";
3
+ export declare const FormLayoutHeader: React.ForwardRefExoticComponent<FormLayoutHeaderProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,12 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { formLayoutTheme } from './FormLayout.theme.js';
5
+
6
+ const FormLayoutHeader = React__default.forwardRef(({ title, subtitle, action, className, theme: customTheme, ...props }, ref) => {
7
+ const theme = { ...formLayoutTheme, ...customTheme };
8
+ return (jsx("div", { ref: ref, className: cn(theme.header, className), ...props, children: jsxs("div", { className: "flex items-start justify-between", children: [jsxs("div", { children: [jsx("div", { className: theme.headerTitle, children: title }), subtitle && jsx("div", { className: theme.headerSubtitle, children: subtitle })] }), action && jsx("div", { children: action })] }) }));
9
+ });
10
+ FormLayoutHeader.displayName = "FormLayout.Header";
11
+
12
+ export { FormLayoutHeader };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { FormLayoutSectionProps } from "./FormLayout.types";
3
+ export declare const FormLayoutSection: React.ForwardRefExoticComponent<FormLayoutSectionProps & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,12 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { formLayoutTheme } from './FormLayout.theme.js';
5
+
6
+ const FormLayoutSection = React__default.forwardRef(({ title, description, action, className, contentClassName, theme: customTheme, children, ...props }, ref) => {
7
+ const theme = { ...formLayoutTheme, ...customTheme };
8
+ return (jsxs("section", { ref: ref, className: cn(theme.section, className), ...props, children: [jsxs("div", { className: theme.sectionSidebar, children: [jsx("div", { className: theme.sectionTitle, children: title }), description && (jsx("div", { className: theme.sectionDescription, children: description })), action && jsx("div", { className: theme.sectionAction, children: action })] }), jsx("div", { className: cn(theme.sectionContent, contentClassName), children: children })] }));
9
+ });
10
+ FormLayoutSection.displayName = "FormLayout.Section";
11
+
12
+ export { FormLayoutSection };
@@ -0,0 +1,3 @@
1
+ export { FormLayout } from "./FormLayout";
2
+ export type { FormLayoutProps, FormLayoutHeaderProps, FormLayoutBodyProps, FormLayoutSectionProps, FormLayoutFooterProps, FormLayoutTheme, FormLayoutThemeOverrides, } from "./FormLayout.types";
3
+ export { formLayoutTheme } from "./FormLayout.theme";
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import type { PageLayoutProps } from "./PageLayout.types";
3
+ export declare const PageLayout: React.ForwardRefExoticComponent<PageLayoutProps & React.RefAttributes<HTMLDivElement>> & {
4
+ Sidebar: React.ForwardRefExoticComponent<import("./PageLayout.types").PageLayoutSidebarProps & React.RefAttributes<HTMLElement>>;
5
+ Header: React.ForwardRefExoticComponent<import("./PageLayout.types").PageLayoutHeaderProps & React.RefAttributes<HTMLElement>>;
6
+ Content: React.ForwardRefExoticComponent<import("./PageLayout.types").PageLayoutContentProps & React.RefAttributes<HTMLElement>>;
7
+ };
@@ -0,0 +1,33 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { pageLayoutTheme } from './PageLayout.theme.js';
5
+ import { PageLayoutSidebar } from './PageLayoutSidebar.js';
6
+ import { PageLayoutHeader } from './PageLayoutHeader.js';
7
+ import { PageLayoutContent } from './PageLayoutContent.js';
8
+
9
+ const PageLayoutRoot = React__default.forwardRef(({ className, theme: customTheme, children, ...props }, ref) => {
10
+ const theme = { ...pageLayoutTheme, ...customTheme };
11
+ // Separate Sidebar children from the rest (Header, Content)
12
+ // so we can wrap non-sidebar children in a vertical main column.
13
+ const childArray = React__default.Children.toArray(children);
14
+ const sidebar = [];
15
+ const main = [];
16
+ childArray.forEach((child) => {
17
+ if (React__default.isValidElement(child) && child.type === PageLayoutSidebar) {
18
+ sidebar.push(child);
19
+ }
20
+ else {
21
+ main.push(child);
22
+ }
23
+ });
24
+ return (jsxs("div", { ref: ref, className: cn(theme.root, className), ...props, children: [sidebar, jsx("div", { className: cn(theme.main), children: main })] }));
25
+ });
26
+ PageLayoutRoot.displayName = "PageLayout";
27
+ const PageLayout = Object.assign(PageLayoutRoot, {
28
+ Sidebar: PageLayoutSidebar,
29
+ Header: PageLayoutHeader,
30
+ Content: PageLayoutContent,
31
+ });
32
+
33
+ export { PageLayout };
@@ -0,0 +1,2 @@
1
+ import type { PageLayoutTheme } from "./PageLayout.types";
2
+ export declare const pageLayoutTheme: PageLayoutTheme;
@@ -0,0 +1,10 @@
1
+ const pageLayoutTheme = {
2
+ root: "flex h-screen overflow-hidden bg-[var(--color-background)]",
3
+ sidebar: "flex flex-col shrink-0 border-r border-[var(--color-border)] bg-[var(--color-background-secondary)] overflow-y-auto",
4
+ sidebarCollapsed: "hidden lg:flex",
5
+ main: "flex flex-col flex-1 min-w-0 overflow-hidden",
6
+ header: "shrink-0 border-b border-[var(--color-border)] bg-[var(--color-background)]",
7
+ content: "flex-1 overflow-y-auto",
8
+ };
9
+
10
+ export { pageLayoutTheme };
@@ -0,0 +1,39 @@
1
+ import React from "react";
2
+ export interface PageLayoutTheme {
3
+ root: string;
4
+ sidebar: string;
5
+ sidebarCollapsed: string;
6
+ main: string;
7
+ header: string;
8
+ content: string;
9
+ }
10
+ export interface PageLayoutThemeOverrides {
11
+ root?: string;
12
+ sidebar?: string;
13
+ sidebarCollapsed?: string;
14
+ main?: string;
15
+ header?: string;
16
+ content?: string;
17
+ }
18
+ export interface PageLayoutProps extends React.HTMLAttributes<HTMLDivElement> {
19
+ /** Theme overrides for the root container. */
20
+ theme?: PageLayoutThemeOverrides;
21
+ }
22
+ export interface PageLayoutSidebarProps extends React.HTMLAttributes<HTMLElement> {
23
+ /** Width of the sidebar (CSS value). Defaults to "16rem". */
24
+ width?: string;
25
+ /** Whether the sidebar is collapsed on mobile. Defaults to true. */
26
+ collapsedOnMobile?: boolean;
27
+ /** Theme overrides for the sidebar. */
28
+ theme?: PageLayoutThemeOverrides;
29
+ }
30
+ export interface PageLayoutHeaderProps extends React.HTMLAttributes<HTMLElement> {
31
+ /** Whether the header is sticky. Defaults to true. */
32
+ sticky?: boolean;
33
+ /** Theme overrides for the header. */
34
+ theme?: PageLayoutThemeOverrides;
35
+ }
36
+ export interface PageLayoutContentProps extends React.HTMLAttributes<HTMLElement> {
37
+ /** Theme overrides for the content area. */
38
+ theme?: PageLayoutThemeOverrides;
39
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { PageLayoutContentProps } from "./PageLayout.types";
3
+ export declare const PageLayoutContent: React.ForwardRefExoticComponent<PageLayoutContentProps & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { pageLayoutTheme } from './PageLayout.theme.js';
5
+
6
+ const PageLayoutContent = React__default.forwardRef(({ className, theme: customTheme, children, ...props }, ref) => {
7
+ const theme = { ...pageLayoutTheme, ...customTheme };
8
+ return (jsx("main", { ref: ref, className: cn(theme.content, className), ...props, children: children }));
9
+ });
10
+ PageLayoutContent.displayName = "PageLayout.Content";
11
+
12
+ export { PageLayoutContent };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { PageLayoutHeaderProps } from "./PageLayout.types";
3
+ export declare const PageLayoutHeader: React.ForwardRefExoticComponent<PageLayoutHeaderProps & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { pageLayoutTheme } from './PageLayout.theme.js';
5
+
6
+ const PageLayoutHeader = React__default.forwardRef(({ sticky = true, className, theme: customTheme, children, ...props }, ref) => {
7
+ const theme = { ...pageLayoutTheme, ...customTheme };
8
+ return (jsx("header", { ref: ref, className: cn(theme.header, sticky && "sticky top-0 z-10", className), ...props, children: children }));
9
+ });
10
+ PageLayoutHeader.displayName = "PageLayout.Header";
11
+
12
+ export { PageLayoutHeader };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { PageLayoutSidebarProps } from "./PageLayout.types";
3
+ export declare const PageLayoutSidebar: React.ForwardRefExoticComponent<PageLayoutSidebarProps & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import { cn } from '../../../utils/cn.js';
4
+ import { pageLayoutTheme } from './PageLayout.theme.js';
5
+
6
+ const PageLayoutSidebar = React__default.forwardRef(({ width = "16rem", collapsedOnMobile = true, className, theme: customTheme, style, children, ...props }, ref) => {
7
+ const theme = { ...pageLayoutTheme, ...customTheme };
8
+ return (jsx("aside", { ref: ref, className: cn(theme.sidebar, collapsedOnMobile && theme.sidebarCollapsed, className), style: { width, ...style }, ...props, children: children }));
9
+ });
10
+ PageLayoutSidebar.displayName = "PageLayout.Sidebar";
11
+
12
+ export { PageLayoutSidebar };
@@ -0,0 +1,3 @@
1
+ export { PageLayout } from "./PageLayout";
2
+ export type { PageLayoutProps, PageLayoutSidebarProps, PageLayoutHeaderProps, PageLayoutContentProps, PageLayoutTheme, PageLayoutThemeOverrides, } from "./PageLayout.types";
3
+ export { pageLayoutTheme } from "./PageLayout.theme";
@@ -0,0 +1,2 @@
1
+ export * from "./FormLayout";
2
+ export * from "./PageLayout";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  export * from "./components/core";
2
+ export * from "./components/data-display";
2
3
  export * from "./components/forms";
3
4
  export * from "./components/charts";
5
+ export * from "./components/layout";
4
6
  export * from "./components/effects";
5
7
  export { cn } from "./utils/cn";
6
8
  export { debounce } from "./utils/debounce";