@thalavaisankar/atoms 0.0.0-stage → 0.1.0

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 (763) hide show
  1. package/LICENSE +24 -0
  2. package/README.md +142 -2
  3. package/THIRD_PARTY_NOTICES.md +246 -0
  4. package/dist/blocks/index.d.mts +2 -0
  5. package/dist/blocks/index.mjs +1 -0
  6. package/dist/blocks/index.mjs.map +1 -0
  7. package/dist/components/ui/accordion/accordion.mjs +194 -0
  8. package/dist/components/ui/accordion/accordion.mjs.map +1 -0
  9. package/dist/components/ui/accordion/index.mjs +15 -0
  10. package/dist/components/ui/accordion/index.mjs.map +1 -0
  11. package/dist/components/ui/activity-feed/activity-feed.mjs +287 -0
  12. package/dist/components/ui/activity-feed/activity-feed.mjs.map +1 -0
  13. package/dist/components/ui/activity-feed/index.mjs +39 -0
  14. package/dist/components/ui/activity-feed/index.mjs.map +1 -0
  15. package/dist/components/ui/alert/alert.mjs +128 -0
  16. package/dist/components/ui/alert/alert.mjs.map +1 -0
  17. package/dist/components/ui/alert/index.mjs +17 -0
  18. package/dist/components/ui/alert/index.mjs.map +1 -0
  19. package/dist/components/ui/animated-label/animated-label.mjs +89 -0
  20. package/dist/components/ui/animated-label/animated-label.mjs.map +1 -0
  21. package/dist/components/ui/animated-label/index.mjs +9 -0
  22. package/dist/components/ui/animated-label/index.mjs.map +1 -0
  23. package/dist/components/ui/animated-number/animated-number.mjs +101 -0
  24. package/dist/components/ui/animated-number/animated-number.mjs.map +1 -0
  25. package/dist/components/ui/animated-number/index.mjs +5 -0
  26. package/dist/components/ui/animated-number/index.mjs.map +1 -0
  27. package/dist/components/ui/avatar/avatar.mjs +130 -0
  28. package/dist/components/ui/avatar/avatar.mjs.map +1 -0
  29. package/dist/components/ui/avatar/index.mjs +17 -0
  30. package/dist/components/ui/avatar/index.mjs.map +1 -0
  31. package/dist/components/ui/avatar-group/avatar-group.mjs +49 -0
  32. package/dist/components/ui/avatar-group/avatar-group.mjs.map +1 -0
  33. package/dist/components/ui/avatar-group/index.mjs +5 -0
  34. package/dist/components/ui/avatar-group/index.mjs.map +1 -0
  35. package/dist/components/ui/badge/badge-motion.mjs +108 -0
  36. package/dist/components/ui/badge/badge-motion.mjs.map +1 -0
  37. package/dist/components/ui/badge/badge.mjs +314 -0
  38. package/dist/components/ui/badge/badge.mjs.map +1 -0
  39. package/dist/components/ui/badge/index.mjs +27 -0
  40. package/dist/components/ui/badge/index.mjs.map +1 -0
  41. package/dist/components/ui/badge/readable-ink.mjs +36 -0
  42. package/dist/components/ui/badge/readable-ink.mjs.map +1 -0
  43. package/dist/components/ui/badge-group/badge-group.mjs +132 -0
  44. package/dist/components/ui/badge-group/badge-group.mjs.map +1 -0
  45. package/dist/components/ui/badge-group/index.mjs +5 -0
  46. package/dist/components/ui/badge-group/index.mjs.map +1 -0
  47. package/dist/components/ui/breadcrumb/breadcrumb.mjs +108 -0
  48. package/dist/components/ui/breadcrumb/breadcrumb.mjs.map +1 -0
  49. package/dist/components/ui/breadcrumb/index.mjs +19 -0
  50. package/dist/components/ui/breadcrumb/index.mjs.map +1 -0
  51. package/dist/components/ui/button/button-variants.mjs +80 -0
  52. package/dist/components/ui/button/button-variants.mjs.map +1 -0
  53. package/dist/components/ui/button/button.mjs +74 -0
  54. package/dist/components/ui/button/button.mjs.map +1 -0
  55. package/dist/components/ui/button/index.mjs +17 -0
  56. package/dist/components/ui/button/index.mjs.map +1 -0
  57. package/dist/components/ui/button/social-button.mjs +45 -0
  58. package/dist/components/ui/button/social-button.mjs.map +1 -0
  59. package/dist/components/ui/button/social-logos.mjs +179 -0
  60. package/dist/components/ui/button/social-logos.mjs.map +1 -0
  61. package/dist/components/ui/button/split-button.mjs +72 -0
  62. package/dist/components/ui/button/split-button.mjs.map +1 -0
  63. package/dist/components/ui/button-group/button-group.mjs +58 -0
  64. package/dist/components/ui/button-group/button-group.mjs.map +1 -0
  65. package/dist/components/ui/button-group/index.mjs +11 -0
  66. package/dist/components/ui/button-group/index.mjs.map +1 -0
  67. package/dist/components/ui/card/card.mjs +131 -0
  68. package/dist/components/ui/card/card.mjs.map +1 -0
  69. package/dist/components/ui/card/index.mjs +23 -0
  70. package/dist/components/ui/card/index.mjs.map +1 -0
  71. package/dist/components/ui/chart/bar-list.mjs +87 -0
  72. package/dist/components/ui/chart/bar-list.mjs.map +1 -0
  73. package/dist/components/ui/chart/chart-colors.mjs +68 -0
  74. package/dist/components/ui/chart/chart-colors.mjs.map +1 -0
  75. package/dist/components/ui/chart/chart-geometry.mjs +152 -0
  76. package/dist/components/ui/chart/chart-geometry.mjs.map +1 -0
  77. package/dist/components/ui/chart/chart-specialized.mjs +194 -0
  78. package/dist/components/ui/chart/chart-specialized.mjs.map +1 -0
  79. package/dist/components/ui/chart/chart.mjs +648 -0
  80. package/dist/components/ui/chart/chart.mjs.map +1 -0
  81. package/dist/components/ui/chart/index.mjs +88 -0
  82. package/dist/components/ui/chart/index.mjs.map +1 -0
  83. package/dist/components/ui/chart/radial-meter.mjs +142 -0
  84. package/dist/components/ui/chart/radial-meter.mjs.map +1 -0
  85. package/dist/components/ui/chart/types.mjs +1 -0
  86. package/dist/components/ui/chart/types.mjs.map +1 -0
  87. package/dist/components/ui/checkbox/checkbox.mjs +183 -0
  88. package/dist/components/ui/checkbox/checkbox.mjs.map +1 -0
  89. package/dist/components/ui/checkbox/index.mjs +11 -0
  90. package/dist/components/ui/checkbox/index.mjs.map +1 -0
  91. package/dist/components/ui/checklist/checklist.mjs +353 -0
  92. package/dist/components/ui/checklist/checklist.mjs.map +1 -0
  93. package/dist/components/ui/checklist/index.mjs +33 -0
  94. package/dist/components/ui/checklist/index.mjs.map +1 -0
  95. package/dist/components/ui/chip/chip.mjs +202 -0
  96. package/dist/components/ui/chip/chip.mjs.map +1 -0
  97. package/dist/components/ui/chip/index.mjs +13 -0
  98. package/dist/components/ui/chip/index.mjs.map +1 -0
  99. package/dist/components/ui/chip-group/chip-group.mjs +204 -0
  100. package/dist/components/ui/chip-group/chip-group.mjs.map +1 -0
  101. package/dist/components/ui/chip-group/index.mjs +11 -0
  102. package/dist/components/ui/chip-group/index.mjs.map +1 -0
  103. package/dist/components/ui/code-snippet/code-highlighter.mjs +16 -0
  104. package/dist/components/ui/code-snippet/code-highlighter.mjs.map +1 -0
  105. package/dist/components/ui/code-snippet/code-snippet.mjs +437 -0
  106. package/dist/components/ui/code-snippet/code-snippet.mjs.map +1 -0
  107. package/dist/components/ui/code-snippet/index.mjs +17 -0
  108. package/dist/components/ui/code-snippet/index.mjs.map +1 -0
  109. package/dist/components/ui/code-snippet/labels.mjs +16 -0
  110. package/dist/components/ui/code-snippet/labels.mjs.map +1 -0
  111. package/dist/components/ui/code-snippet/tokenize.mjs +715 -0
  112. package/dist/components/ui/code-snippet/tokenize.mjs.map +1 -0
  113. package/dist/components/ui/code-snippet/types.mjs +1 -0
  114. package/dist/components/ui/code-snippet/types.mjs.map +1 -0
  115. package/dist/components/ui/collapsible/collapsible.mjs +85 -0
  116. package/dist/components/ui/collapsible/collapsible.mjs.map +1 -0
  117. package/dist/components/ui/collapsible/index.mjs +15 -0
  118. package/dist/components/ui/collapsible/index.mjs.map +1 -0
  119. package/dist/components/ui/color-picker/color-picker.mjs +852 -0
  120. package/dist/components/ui/color-picker/color-picker.mjs.map +1 -0
  121. package/dist/components/ui/color-picker/index.mjs +47 -0
  122. package/dist/components/ui/color-picker/index.mjs.map +1 -0
  123. package/dist/components/ui/combobox/combobox.mjs +745 -0
  124. package/dist/components/ui/combobox/combobox.mjs.map +1 -0
  125. package/dist/components/ui/combobox/index.mjs +27 -0
  126. package/dist/components/ui/combobox/index.mjs.map +1 -0
  127. package/dist/components/ui/command/command.mjs +439 -0
  128. package/dist/components/ui/command/command.mjs.map +1 -0
  129. package/dist/components/ui/command/index.mjs +31 -0
  130. package/dist/components/ui/command/index.mjs.map +1 -0
  131. package/dist/components/ui/compare-slider/compare-slider.mjs +335 -0
  132. package/dist/components/ui/compare-slider/compare-slider.mjs.map +1 -0
  133. package/dist/components/ui/compare-slider/index.mjs +17 -0
  134. package/dist/components/ui/compare-slider/index.mjs.map +1 -0
  135. package/dist/components/ui/context-menu/context-menu.mjs +184 -0
  136. package/dist/components/ui/context-menu/context-menu.mjs.map +1 -0
  137. package/dist/components/ui/context-menu/index.mjs +37 -0
  138. package/dist/components/ui/context-menu/index.mjs.map +1 -0
  139. package/dist/components/ui/data-table/active-filters.mjs +69 -0
  140. package/dist/components/ui/data-table/active-filters.mjs.map +1 -0
  141. package/dist/components/ui/data-table/body-row.mjs +118 -0
  142. package/dist/components/ui/data-table/body-row.mjs.map +1 -0
  143. package/dist/components/ui/data-table/cards.mjs +76 -0
  144. package/dist/components/ui/data-table/cards.mjs.map +1 -0
  145. package/dist/components/ui/data-table/data-table.mjs +680 -0
  146. package/dist/components/ui/data-table/data-table.mjs.map +1 -0
  147. package/dist/components/ui/data-table/empty.mjs +26 -0
  148. package/dist/components/ui/data-table/empty.mjs.map +1 -0
  149. package/dist/components/ui/data-table/expand.mjs +70 -0
  150. package/dist/components/ui/data-table/expand.mjs.map +1 -0
  151. package/dist/components/ui/data-table/faceted-filter.mjs +112 -0
  152. package/dist/components/ui/data-table/faceted-filter.mjs.map +1 -0
  153. package/dist/components/ui/data-table/features.mjs +96 -0
  154. package/dist/components/ui/data-table/features.mjs.map +1 -0
  155. package/dist/components/ui/data-table/grip.mjs +37 -0
  156. package/dist/components/ui/data-table/grip.mjs.map +1 -0
  157. package/dist/components/ui/data-table/header-cell.mjs +85 -0
  158. package/dist/components/ui/data-table/header-cell.mjs.map +1 -0
  159. package/dist/components/ui/data-table/index.mjs +55 -0
  160. package/dist/components/ui/data-table/index.mjs.map +1 -0
  161. package/dist/components/ui/data-table/labels.mjs +55 -0
  162. package/dist/components/ui/data-table/labels.mjs.map +1 -0
  163. package/dist/components/ui/data-table/load-more.mjs +56 -0
  164. package/dist/components/ui/data-table/load-more.mjs.map +1 -0
  165. package/dist/components/ui/data-table/move-item.mjs +11 -0
  166. package/dist/components/ui/data-table/move-item.mjs.map +1 -0
  167. package/dist/components/ui/data-table/persist.mjs +65 -0
  168. package/dist/components/ui/data-table/persist.mjs.map +1 -0
  169. package/dist/components/ui/data-table/selection-bar.mjs +51 -0
  170. package/dist/components/ui/data-table/selection-bar.mjs.map +1 -0
  171. package/dist/components/ui/data-table/tabs.mjs +48 -0
  172. package/dist/components/ui/data-table/tabs.mjs.map +1 -0
  173. package/dist/components/ui/data-table/toolbar.mjs +92 -0
  174. package/dist/components/ui/data-table/toolbar.mjs.map +1 -0
  175. package/dist/components/ui/data-table/use-reorder.mjs +239 -0
  176. package/dist/components/ui/data-table/use-reorder.mjs.map +1 -0
  177. package/dist/components/ui/data-table/use-reveal.mjs +24 -0
  178. package/dist/components/ui/data-table/use-reveal.mjs.map +1 -0
  179. package/dist/components/ui/data-table/use-table-state.mjs +38 -0
  180. package/dist/components/ui/data-table/use-table-state.mjs.map +1 -0
  181. package/dist/components/ui/data-table/view-options.mjs +66 -0
  182. package/dist/components/ui/data-table/view-options.mjs.map +1 -0
  183. package/dist/components/ui/date-picker/calendar.mjs +466 -0
  184. package/dist/components/ui/date-picker/calendar.mjs.map +1 -0
  185. package/dist/components/ui/date-picker/date-picker.mjs +366 -0
  186. package/dist/components/ui/date-picker/date-picker.mjs.map +1 -0
  187. package/dist/components/ui/date-picker/index.mjs +17 -0
  188. package/dist/components/ui/date-picker/index.mjs.map +1 -0
  189. package/dist/components/ui/date-picker/presets.mjs +49 -0
  190. package/dist/components/ui/date-picker/presets.mjs.map +1 -0
  191. package/dist/components/ui/description-list/description-list.mjs +40 -0
  192. package/dist/components/ui/description-list/description-list.mjs.map +1 -0
  193. package/dist/components/ui/description-list/index.mjs +15 -0
  194. package/dist/components/ui/description-list/index.mjs.map +1 -0
  195. package/dist/components/ui/dialog/dialog-stepper.mjs +23 -0
  196. package/dist/components/ui/dialog/dialog-stepper.mjs.map +1 -0
  197. package/dist/components/ui/dialog/dialog.mjs +343 -0
  198. package/dist/components/ui/dialog/dialog.mjs.map +1 -0
  199. package/dist/components/ui/dialog/focus-return.mjs +21 -0
  200. package/dist/components/ui/dialog/focus-return.mjs.map +1 -0
  201. package/dist/components/ui/dialog/index.mjs +33 -0
  202. package/dist/components/ui/dialog/index.mjs.map +1 -0
  203. package/dist/components/ui/divider/divider.mjs +130 -0
  204. package/dist/components/ui/divider/divider.mjs.map +1 -0
  205. package/dist/components/ui/divider/index.mjs +6 -0
  206. package/dist/components/ui/divider/index.mjs.map +1 -0
  207. package/dist/components/ui/dock/dock.mjs +444 -0
  208. package/dist/components/ui/dock/dock.mjs.map +1 -0
  209. package/dist/components/ui/dock/index.mjs +19 -0
  210. package/dist/components/ui/dock/index.mjs.map +1 -0
  211. package/dist/components/ui/document-editor/block-actions.mjs +118 -0
  212. package/dist/components/ui/document-editor/block-actions.mjs.map +1 -0
  213. package/dist/components/ui/document-editor/block-commands.mjs +182 -0
  214. package/dist/components/ui/document-editor/block-commands.mjs.map +1 -0
  215. package/dist/components/ui/document-editor/block-handle.mjs +387 -0
  216. package/dist/components/ui/document-editor/block-handle.mjs.map +1 -0
  217. package/dist/components/ui/document-editor/block-morph.mjs +95 -0
  218. package/dist/components/ui/document-editor/block-morph.mjs.map +1 -0
  219. package/dist/components/ui/document-editor/block-selection.mjs +81 -0
  220. package/dist/components/ui/document-editor/block-selection.mjs.map +1 -0
  221. package/dist/components/ui/document-editor/blocks.mjs +30 -0
  222. package/dist/components/ui/document-editor/blocks.mjs.map +1 -0
  223. package/dist/components/ui/document-editor/bubble-menu.mjs +120 -0
  224. package/dist/components/ui/document-editor/bubble-menu.mjs.map +1 -0
  225. package/dist/components/ui/document-editor/code-block.mjs +89 -0
  226. package/dist/components/ui/document-editor/code-block.mjs.map +1 -0
  227. package/dist/components/ui/document-editor/collaboration-types.mjs +9 -0
  228. package/dist/components/ui/document-editor/collaboration-types.mjs.map +1 -0
  229. package/dist/components/ui/document-editor/collaboration.mjs +198 -0
  230. package/dist/components/ui/document-editor/collaboration.mjs.map +1 -0
  231. package/dist/components/ui/document-editor/columns.mjs +52 -0
  232. package/dist/components/ui/document-editor/columns.mjs.map +1 -0
  233. package/dist/components/ui/document-editor/contents.mjs +60 -0
  234. package/dist/components/ui/document-editor/contents.mjs.map +1 -0
  235. package/dist/components/ui/document-editor/date-chip.mjs +115 -0
  236. package/dist/components/ui/document-editor/date-chip.mjs.map +1 -0
  237. package/dist/components/ui/document-editor/date-words.mjs +101 -0
  238. package/dist/components/ui/document-editor/date-words.mjs.map +1 -0
  239. package/dist/components/ui/document-editor/doc-labels.mjs +19 -0
  240. package/dist/components/ui/document-editor/doc-labels.mjs.map +1 -0
  241. package/dist/components/ui/document-editor/document-editor.mjs +496 -0
  242. package/dist/components/ui/document-editor/document-editor.mjs.map +1 -0
  243. package/dist/components/ui/document-editor/emoji-suggest.mjs +81 -0
  244. package/dist/components/ui/document-editor/emoji-suggest.mjs.map +1 -0
  245. package/dist/components/ui/document-editor/focus-mode.mjs +32 -0
  246. package/dist/components/ui/document-editor/focus-mode.mjs.map +1 -0
  247. package/dist/components/ui/document-editor/geometry.mjs +35 -0
  248. package/dist/components/ui/document-editor/geometry.mjs.map +1 -0
  249. package/dist/components/ui/document-editor/ghost-text.mjs +154 -0
  250. package/dist/components/ui/document-editor/ghost-text.mjs.map +1 -0
  251. package/dist/components/ui/document-editor/gliding-caret.mjs +118 -0
  252. package/dist/components/ui/document-editor/gliding-caret.mjs.map +1 -0
  253. package/dist/components/ui/document-editor/headings.mjs +64 -0
  254. package/dist/components/ui/document-editor/headings.mjs.map +1 -0
  255. package/dist/components/ui/document-editor/image.mjs +318 -0
  256. package/dist/components/ui/document-editor/image.mjs.map +1 -0
  257. package/dist/components/ui/document-editor/index.mjs +131 -0
  258. package/dist/components/ui/document-editor/index.mjs.map +1 -0
  259. package/dist/components/ui/document-editor/labels.mjs +96 -0
  260. package/dist/components/ui/document-editor/labels.mjs.map +1 -0
  261. package/dist/components/ui/document-editor/link-card.mjs +138 -0
  262. package/dist/components/ui/document-editor/link-card.mjs.map +1 -0
  263. package/dist/components/ui/document-editor/mentions.mjs +105 -0
  264. package/dist/components/ui/document-editor/mentions.mjs.map +1 -0
  265. package/dist/components/ui/document-editor/outline.mjs +138 -0
  266. package/dist/components/ui/document-editor/outline.mjs.map +1 -0
  267. package/dist/components/ui/document-editor/section-fold.mjs +124 -0
  268. package/dist/components/ui/document-editor/section-fold.mjs.map +1 -0
  269. package/dist/components/ui/document-editor/slash-command.mjs +210 -0
  270. package/dist/components/ui/document-editor/slash-command.mjs.map +1 -0
  271. package/dist/components/ui/document-editor/suggest-list.mjs +187 -0
  272. package/dist/components/ui/document-editor/suggest-list.mjs.map +1 -0
  273. package/dist/components/ui/document-editor/table.mjs +242 -0
  274. package/dist/components/ui/document-editor/table.mjs.map +1 -0
  275. package/dist/components/ui/document-editor/templates.mjs +66 -0
  276. package/dist/components/ui/document-editor/templates.mjs.map +1 -0
  277. package/dist/components/ui/document-editor/toggle.mjs +176 -0
  278. package/dist/components/ui/document-editor/toggle.mjs.map +1 -0
  279. package/dist/components/ui/document-editor/typography-rules.mjs +8 -0
  280. package/dist/components/ui/document-editor/typography-rules.mjs.map +1 -0
  281. package/dist/components/ui/document-editor/use-editor-value.mjs +34 -0
  282. package/dist/components/ui/document-editor/use-editor-value.mjs.map +1 -0
  283. package/dist/components/ui/drawer/drawer-nav.mjs +153 -0
  284. package/dist/components/ui/drawer/drawer-nav.mjs.map +1 -0
  285. package/dist/components/ui/drawer/drawer.mjs +334 -0
  286. package/dist/components/ui/drawer/drawer.mjs.map +1 -0
  287. package/dist/components/ui/drawer/index.mjs +37 -0
  288. package/dist/components/ui/drawer/index.mjs.map +1 -0
  289. package/dist/components/ui/drawer/use-swipe-to-close.mjs +77 -0
  290. package/dist/components/ui/drawer/use-swipe-to-close.mjs.map +1 -0
  291. package/dist/components/ui/dropdown-menu/dropdown-menu.mjs +567 -0
  292. package/dist/components/ui/dropdown-menu/dropdown-menu.mjs.map +1 -0
  293. package/dist/components/ui/dropdown-menu/index.mjs +43 -0
  294. package/dist/components/ui/dropdown-menu/index.mjs.map +1 -0
  295. package/dist/components/ui/editable-text/editable-text.mjs +148 -0
  296. package/dist/components/ui/editable-text/editable-text.mjs.map +1 -0
  297. package/dist/components/ui/editable-text/index.mjs +6 -0
  298. package/dist/components/ui/editable-text/index.mjs.map +1 -0
  299. package/dist/components/ui/emoji-picker/emoji-data.mjs +469 -0
  300. package/dist/components/ui/emoji-picker/emoji-data.mjs.map +1 -0
  301. package/dist/components/ui/emoji-picker/emoji-picker.mjs +464 -0
  302. package/dist/components/ui/emoji-picker/emoji-picker.mjs.map +1 -0
  303. package/dist/components/ui/emoji-picker/index.mjs +19 -0
  304. package/dist/components/ui/emoji-picker/index.mjs.map +1 -0
  305. package/dist/components/ui/empty-state/empty-state.mjs +110 -0
  306. package/dist/components/ui/empty-state/empty-state.mjs.map +1 -0
  307. package/dist/components/ui/empty-state/index.mjs +17 -0
  308. package/dist/components/ui/empty-state/index.mjs.map +1 -0
  309. package/dist/components/ui/event-calendar/calendar-math.mjs +256 -0
  310. package/dist/components/ui/event-calendar/calendar-math.mjs.map +1 -0
  311. package/dist/components/ui/event-calendar/context.mjs +51 -0
  312. package/dist/components/ui/event-calendar/context.mjs.map +1 -0
  313. package/dist/components/ui/event-calendar/editor.mjs +292 -0
  314. package/dist/components/ui/event-calendar/editor.mjs.map +1 -0
  315. package/dist/components/ui/event-calendar/event-block.mjs +55 -0
  316. package/dist/components/ui/event-calendar/event-block.mjs.map +1 -0
  317. package/dist/components/ui/event-calendar/event-calendar.mjs +438 -0
  318. package/dist/components/ui/event-calendar/event-calendar.mjs.map +1 -0
  319. package/dist/components/ui/event-calendar/event-keys.mjs +41 -0
  320. package/dist/components/ui/event-calendar/event-keys.mjs.map +1 -0
  321. package/dist/components/ui/event-calendar/index.mjs +37 -0
  322. package/dist/components/ui/event-calendar/index.mjs.map +1 -0
  323. package/dist/components/ui/event-calendar/month-grid.mjs +207 -0
  324. package/dist/components/ui/event-calendar/month-grid.mjs.map +1 -0
  325. package/dist/components/ui/event-calendar/narrow.mjs +193 -0
  326. package/dist/components/ui/event-calendar/narrow.mjs.map +1 -0
  327. package/dist/components/ui/event-calendar/time-grid.mjs +534 -0
  328. package/dist/components/ui/event-calendar/time-grid.mjs.map +1 -0
  329. package/dist/components/ui/expandable-search/expandable-search.mjs +174 -0
  330. package/dist/components/ui/expandable-search/expandable-search.mjs.map +1 -0
  331. package/dist/components/ui/expandable-search/index.mjs +6 -0
  332. package/dist/components/ui/expandable-search/index.mjs.map +1 -0
  333. package/dist/components/ui/field/field.mjs +444 -0
  334. package/dist/components/ui/field/field.mjs.map +1 -0
  335. package/dist/components/ui/field/index.mjs +21 -0
  336. package/dist/components/ui/field/index.mjs.map +1 -0
  337. package/dist/components/ui/file-card/file-card.mjs +198 -0
  338. package/dist/components/ui/file-card/file-card.mjs.map +1 -0
  339. package/dist/components/ui/file-card/file-icon.mjs +66 -0
  340. package/dist/components/ui/file-card/file-icon.mjs.map +1 -0
  341. package/dist/components/ui/file-card/file-types.mjs +70 -0
  342. package/dist/components/ui/file-card/file-types.mjs.map +1 -0
  343. package/dist/components/ui/file-card/index.mjs +32 -0
  344. package/dist/components/ui/file-card/index.mjs.map +1 -0
  345. package/dist/components/ui/file-preview/context.mjs +77 -0
  346. package/dist/components/ui/file-preview/context.mjs.map +1 -0
  347. package/dist/components/ui/file-preview/file-preview.mjs +865 -0
  348. package/dist/components/ui/file-preview/file-preview.mjs.map +1 -0
  349. package/dist/components/ui/file-preview/index.mjs +56 -0
  350. package/dist/components/ui/file-preview/index.mjs.map +1 -0
  351. package/dist/components/ui/file-preview/pdf.mjs +250 -0
  352. package/dist/components/ui/file-preview/pdf.mjs.map +1 -0
  353. package/dist/components/ui/file-preview/renderers.mjs +257 -0
  354. package/dist/components/ui/file-preview/renderers.mjs.map +1 -0
  355. package/dist/components/ui/file-upload/file-upload.mjs +633 -0
  356. package/dist/components/ui/file-upload/file-upload.mjs.map +1 -0
  357. package/dist/components/ui/file-upload/index.mjs +42 -0
  358. package/dist/components/ui/file-upload/index.mjs.map +1 -0
  359. package/dist/components/ui/file-upload/validate.mjs +111 -0
  360. package/dist/components/ui/file-upload/validate.mjs.map +1 -0
  361. package/dist/components/ui/flag/flag.mjs +39 -0
  362. package/dist/components/ui/flag/flag.mjs.map +1 -0
  363. package/dist/components/ui/flag/index.mjs +7 -0
  364. package/dist/components/ui/flag/index.mjs.map +1 -0
  365. package/dist/components/ui/floating-window/floating-window.mjs +255 -0
  366. package/dist/components/ui/floating-window/floating-window.mjs.map +1 -0
  367. package/dist/components/ui/floating-window/index.mjs +11 -0
  368. package/dist/components/ui/floating-window/index.mjs.map +1 -0
  369. package/dist/components/ui/form/form-section.mjs +87 -0
  370. package/dist/components/ui/form/form-section.mjs.map +1 -0
  371. package/dist/components/ui/form/form.mjs +205 -0
  372. package/dist/components/ui/form/form.mjs.map +1 -0
  373. package/dist/components/ui/form/index.mjs +29 -0
  374. package/dist/components/ui/form/index.mjs.map +1 -0
  375. package/dist/components/ui/globe/globe-data.mjs +9 -0
  376. package/dist/components/ui/globe/globe-data.mjs.map +1 -0
  377. package/dist/components/ui/globe/globe-math.mjs +269 -0
  378. package/dist/components/ui/globe/globe-math.mjs.map +1 -0
  379. package/dist/components/ui/globe/globe.mjs +719 -0
  380. package/dist/components/ui/globe/globe.mjs.map +1 -0
  381. package/dist/components/ui/globe/index.mjs +13 -0
  382. package/dist/components/ui/globe/index.mjs.map +1 -0
  383. package/dist/components/ui/highlight-match/highlight-children.mjs +13 -0
  384. package/dist/components/ui/highlight-match/highlight-children.mjs.map +1 -0
  385. package/dist/components/ui/highlight-match/highlight-match-variants.mjs +17 -0
  386. package/dist/components/ui/highlight-match/highlight-match-variants.mjs.map +1 -0
  387. package/dist/components/ui/highlight-match/highlight-match.mjs +37 -0
  388. package/dist/components/ui/highlight-match/highlight-match.mjs.map +1 -0
  389. package/dist/components/ui/highlight-match/index.mjs +15 -0
  390. package/dist/components/ui/highlight-match/index.mjs.map +1 -0
  391. package/dist/components/ui/highlight-match/match-ranges.mjs +50 -0
  392. package/dist/components/ui/highlight-match/match-ranges.mjs.map +1 -0
  393. package/dist/components/ui/histogram-slider/histogram-slider.mjs +83 -0
  394. package/dist/components/ui/histogram-slider/histogram-slider.mjs.map +1 -0
  395. package/dist/components/ui/histogram-slider/index.mjs +6 -0
  396. package/dist/components/ui/histogram-slider/index.mjs.map +1 -0
  397. package/dist/components/ui/hold-button/hold-button.mjs +258 -0
  398. package/dist/components/ui/hold-button/hold-button.mjs.map +1 -0
  399. package/dist/components/ui/hold-button/index.mjs +6 -0
  400. package/dist/components/ui/hold-button/index.mjs.map +1 -0
  401. package/dist/components/ui/hover-card/hover-card.mjs +111 -0
  402. package/dist/components/ui/hover-card/hover-card.mjs.map +1 -0
  403. package/dist/components/ui/hover-card/index.mjs +21 -0
  404. package/dist/components/ui/hover-card/index.mjs.map +1 -0
  405. package/dist/components/ui/ink-tray/index.mjs +29 -0
  406. package/dist/components/ui/ink-tray/index.mjs.map +1 -0
  407. package/dist/components/ui/ink-tray/ink-tray-art.mjs +68 -0
  408. package/dist/components/ui/ink-tray/ink-tray-art.mjs.map +1 -0
  409. package/dist/components/ui/ink-tray/ink-tray.mjs +350 -0
  410. package/dist/components/ui/ink-tray/ink-tray.mjs.map +1 -0
  411. package/dist/components/ui/input/index.mjs +41 -0
  412. package/dist/components/ui/input/index.mjs.map +1 -0
  413. package/dist/components/ui/input/input.mjs +268 -0
  414. package/dist/components/ui/input/input.mjs.map +1 -0
  415. package/dist/components/ui/input/number-input.mjs +272 -0
  416. package/dist/components/ui/input/number-input.mjs.map +1 -0
  417. package/dist/components/ui/input/password-input.mjs +49 -0
  418. package/dist/components/ui/input/password-input.mjs.map +1 -0
  419. package/dist/components/ui/input/phone-input-countries.mjs +216 -0
  420. package/dist/components/ui/input/phone-input-countries.mjs.map +1 -0
  421. package/dist/components/ui/input/phone-input.mjs +326 -0
  422. package/dist/components/ui/input/phone-input.mjs.map +1 -0
  423. package/dist/components/ui/input/use-controllable-state.mjs +24 -0
  424. package/dist/components/ui/input/use-controllable-state.mjs.map +1 -0
  425. package/dist/components/ui/input/use-hold-repeat.mjs +35 -0
  426. package/dist/components/ui/input/use-hold-repeat.mjs.map +1 -0
  427. package/dist/components/ui/input-group/index.mjs +11 -0
  428. package/dist/components/ui/input-group/index.mjs.map +1 -0
  429. package/dist/components/ui/input-group/input-group.mjs +78 -0
  430. package/dist/components/ui/input-group/input-group.mjs.map +1 -0
  431. package/dist/components/ui/island/index.mjs +23 -0
  432. package/dist/components/ui/island/index.mjs.map +1 -0
  433. package/dist/components/ui/island/island.mjs +328 -0
  434. package/dist/components/ui/island/island.mjs.map +1 -0
  435. package/dist/components/ui/kbd/index.mjs +6 -0
  436. package/dist/components/ui/kbd/index.mjs.map +1 -0
  437. package/dist/components/ui/kbd/kbd.mjs +73 -0
  438. package/dist/components/ui/kbd/kbd.mjs.map +1 -0
  439. package/dist/components/ui/keypad/index.mjs +23 -0
  440. package/dist/components/ui/keypad/index.mjs.map +1 -0
  441. package/dist/components/ui/keypad/keypad.mjs +345 -0
  442. package/dist/components/ui/keypad/keypad.mjs.map +1 -0
  443. package/dist/components/ui/label/index.mjs +7 -0
  444. package/dist/components/ui/label/index.mjs.map +1 -0
  445. package/dist/components/ui/label/label.mjs +117 -0
  446. package/dist/components/ui/label/label.mjs.map +1 -0
  447. package/dist/components/ui/lightbox/index.mjs +47 -0
  448. package/dist/components/ui/lightbox/index.mjs.map +1 -0
  449. package/dist/components/ui/lightbox/labels.mjs +23 -0
  450. package/dist/components/ui/lightbox/labels.mjs.map +1 -0
  451. package/dist/components/ui/lightbox/lightbox.mjs +1359 -0
  452. package/dist/components/ui/lightbox/lightbox.mjs.map +1 -0
  453. package/dist/components/ui/link/index.mjs +6 -0
  454. package/dist/components/ui/link/index.mjs.map +1 -0
  455. package/dist/components/ui/link/link.mjs +64 -0
  456. package/dist/components/ui/link/link.mjs.map +1 -0
  457. package/dist/components/ui/list/index.mjs +35 -0
  458. package/dist/components/ui/list/index.mjs.map +1 -0
  459. package/dist/components/ui/list/list.mjs +505 -0
  460. package/dist/components/ui/list/list.mjs.map +1 -0
  461. package/dist/components/ui/load-more/index.mjs +23 -0
  462. package/dist/components/ui/load-more/index.mjs.map +1 -0
  463. package/dist/components/ui/load-more/load-more.mjs +409 -0
  464. package/dist/components/ui/load-more/load-more.mjs.map +1 -0
  465. package/dist/components/ui/map/index.mjs +27 -0
  466. package/dist/components/ui/map/index.mjs.map +1 -0
  467. package/dist/components/ui/map/map-style.mjs +169 -0
  468. package/dist/components/ui/map/map-style.mjs.map +1 -0
  469. package/dist/components/ui/map/map.mjs +624 -0
  470. package/dist/components/ui/map/map.mjs.map +1 -0
  471. package/dist/components/ui/map-pin/index.mjs +6 -0
  472. package/dist/components/ui/map-pin/index.mjs.map +1 -0
  473. package/dist/components/ui/map-pin/map-pin.mjs +55 -0
  474. package/dist/components/ui/map-pin/map-pin.mjs.map +1 -0
  475. package/dist/components/ui/mention/index.mjs +29 -0
  476. package/dist/components/ui/mention/index.mjs.map +1 -0
  477. package/dist/components/ui/mention/mention.mjs +262 -0
  478. package/dist/components/ui/mention/mention.mjs.map +1 -0
  479. package/dist/components/ui/mention/split-mentions.mjs +24 -0
  480. package/dist/components/ui/mention/split-mentions.mjs.map +1 -0
  481. package/dist/components/ui/menubar/index.mjs +39 -0
  482. package/dist/components/ui/menubar/index.mjs.map +1 -0
  483. package/dist/components/ui/menubar/menubar.mjs +222 -0
  484. package/dist/components/ui/menubar/menubar.mjs.map +1 -0
  485. package/dist/components/ui/meter/index.mjs +21 -0
  486. package/dist/components/ui/meter/index.mjs.map +1 -0
  487. package/dist/components/ui/meter/meter.mjs +167 -0
  488. package/dist/components/ui/meter/meter.mjs.map +1 -0
  489. package/dist/components/ui/multi-select/index.mjs +25 -0
  490. package/dist/components/ui/multi-select/index.mjs.map +1 -0
  491. package/dist/components/ui/multi-select/multi-select.mjs +285 -0
  492. package/dist/components/ui/multi-select/multi-select.mjs.map +1 -0
  493. package/dist/components/ui/navigation-menu/index.mjs +41 -0
  494. package/dist/components/ui/navigation-menu/index.mjs.map +1 -0
  495. package/dist/components/ui/navigation-menu/navigation-menu.mjs +396 -0
  496. package/dist/components/ui/navigation-menu/navigation-menu.mjs.map +1 -0
  497. package/dist/components/ui/notebook-page/index.mjs +15 -0
  498. package/dist/components/ui/notebook-page/index.mjs.map +1 -0
  499. package/dist/components/ui/notebook-page/notebook-page.mjs +162 -0
  500. package/dist/components/ui/notebook-page/notebook-page.mjs.map +1 -0
  501. package/dist/components/ui/notification-inbox/index.mjs +47 -0
  502. package/dist/components/ui/notification-inbox/index.mjs.map +1 -0
  503. package/dist/components/ui/notification-inbox/notification-inbox.mjs +422 -0
  504. package/dist/components/ui/notification-inbox/notification-inbox.mjs.map +1 -0
  505. package/dist/components/ui/number-field/index.mjs +24 -0
  506. package/dist/components/ui/number-field/index.mjs.map +1 -0
  507. package/dist/components/ui/number-field/number-field.mjs +460 -0
  508. package/dist/components/ui/number-field/number-field.mjs.map +1 -0
  509. package/dist/components/ui/number-field/number-format.mjs +48 -0
  510. package/dist/components/ui/number-field/number-format.mjs.map +1 -0
  511. package/dist/components/ui/otp-input/index.mjs +9 -0
  512. package/dist/components/ui/otp-input/index.mjs.map +1 -0
  513. package/dist/components/ui/otp-input/otp-input.mjs +285 -0
  514. package/dist/components/ui/otp-input/otp-input.mjs.map +1 -0
  515. package/dist/components/ui/pager/index.mjs +7 -0
  516. package/dist/components/ui/pager/index.mjs.map +1 -0
  517. package/dist/components/ui/pager/pager.mjs +86 -0
  518. package/dist/components/ui/pager/pager.mjs.map +1 -0
  519. package/dist/components/ui/pagination/index.mjs +23 -0
  520. package/dist/components/ui/pagination/index.mjs.map +1 -0
  521. package/dist/components/ui/pagination/pagination.mjs +210 -0
  522. package/dist/components/ui/pagination/pagination.mjs.map +1 -0
  523. package/dist/components/ui/password-strength/index.mjs +21 -0
  524. package/dist/components/ui/password-strength/index.mjs.map +1 -0
  525. package/dist/components/ui/password-strength/password-rules.mjs +25 -0
  526. package/dist/components/ui/password-strength/password-rules.mjs.map +1 -0
  527. package/dist/components/ui/password-strength/password-strength.mjs +125 -0
  528. package/dist/components/ui/password-strength/password-strength.mjs.map +1 -0
  529. package/dist/components/ui/popover/index.mjs +31 -0
  530. package/dist/components/ui/popover/index.mjs.map +1 -0
  531. package/dist/components/ui/popover/popover.mjs +574 -0
  532. package/dist/components/ui/popover/popover.mjs.map +1 -0
  533. package/dist/components/ui/progress/index.mjs +15 -0
  534. package/dist/components/ui/progress/index.mjs.map +1 -0
  535. package/dist/components/ui/progress/progress.mjs +224 -0
  536. package/dist/components/ui/progress/progress.mjs.map +1 -0
  537. package/dist/components/ui/prose/index.mjs +6 -0
  538. package/dist/components/ui/prose/index.mjs.map +1 -0
  539. package/dist/components/ui/prose/prose.mjs +89 -0
  540. package/dist/components/ui/prose/prose.mjs.map +1 -0
  541. package/dist/components/ui/radio-group/index.mjs +15 -0
  542. package/dist/components/ui/radio-group/index.mjs.map +1 -0
  543. package/dist/components/ui/radio-group/radio-group.mjs +88 -0
  544. package/dist/components/ui/radio-group/radio-group.mjs.map +1 -0
  545. package/dist/components/ui/rating/index.mjs +6 -0
  546. package/dist/components/ui/rating/index.mjs.map +1 -0
  547. package/dist/components/ui/rating/rating.mjs +119 -0
  548. package/dist/components/ui/rating/rating.mjs.map +1 -0
  549. package/dist/components/ui/rich-text-editor/bubble-menu.mjs +120 -0
  550. package/dist/components/ui/rich-text-editor/bubble-menu.mjs.map +1 -0
  551. package/dist/components/ui/rich-text-editor/image-links.mjs +63 -0
  552. package/dist/components/ui/rich-text-editor/image-links.mjs.map +1 -0
  553. package/dist/components/ui/rich-text-editor/index.mjs +37 -0
  554. package/dist/components/ui/rich-text-editor/index.mjs.map +1 -0
  555. package/dist/components/ui/rich-text-editor/labels.mjs +27 -0
  556. package/dist/components/ui/rich-text-editor/labels.mjs.map +1 -0
  557. package/dist/components/ui/rich-text-editor/rich-text-editor.mjs +149 -0
  558. package/dist/components/ui/rich-text-editor/rich-text-editor.mjs.map +1 -0
  559. package/dist/components/ui/rich-text-editor/toolbar.mjs +325 -0
  560. package/dist/components/ui/rich-text-editor/toolbar.mjs.map +1 -0
  561. package/dist/components/ui/save-bar/index.mjs +13 -0
  562. package/dist/components/ui/save-bar/index.mjs.map +1 -0
  563. package/dist/components/ui/save-bar/save-bar.mjs +59 -0
  564. package/dist/components/ui/save-bar/save-bar.mjs.map +1 -0
  565. package/dist/components/ui/scroll-area/index.mjs +6 -0
  566. package/dist/components/ui/scroll-area/index.mjs.map +1 -0
  567. package/dist/components/ui/scroll-area/scroll-area.mjs +148 -0
  568. package/dist/components/ui/scroll-area/scroll-area.mjs.map +1 -0
  569. package/dist/components/ui/scroll-area/use-drag-scroll.mjs +134 -0
  570. package/dist/components/ui/scroll-area/use-drag-scroll.mjs.map +1 -0
  571. package/dist/components/ui/select/index.mjs +23 -0
  572. package/dist/components/ui/select/index.mjs.map +1 -0
  573. package/dist/components/ui/select/select.mjs +216 -0
  574. package/dist/components/ui/select/select.mjs.map +1 -0
  575. package/dist/components/ui/sheet/index.mjs +23 -0
  576. package/dist/components/ui/sheet/index.mjs.map +1 -0
  577. package/dist/components/ui/sheet/sheet.mjs +292 -0
  578. package/dist/components/ui/sheet/sheet.mjs.map +1 -0
  579. package/dist/components/ui/sidebar/index.mjs +122 -0
  580. package/dist/components/ui/sidebar/index.mjs.map +1 -0
  581. package/dist/components/ui/sidebar/sidebar-group.mjs +75 -0
  582. package/dist/components/ui/sidebar/sidebar-group.mjs.map +1 -0
  583. package/dist/components/ui/sidebar/sidebar-item.mjs +199 -0
  584. package/dist/components/ui/sidebar/sidebar-item.mjs.map +1 -0
  585. package/dist/components/ui/sidebar/sidebar-panels.mjs +182 -0
  586. package/dist/components/ui/sidebar/sidebar-panels.mjs.map +1 -0
  587. package/dist/components/ui/sidebar/sidebar-peek.mjs +324 -0
  588. package/dist/components/ui/sidebar/sidebar-peek.mjs.map +1 -0
  589. package/dist/components/ui/sidebar/sidebar-rich.mjs +65 -0
  590. package/dist/components/ui/sidebar/sidebar-rich.mjs.map +1 -0
  591. package/dist/components/ui/sidebar/sidebar-tree.mjs +224 -0
  592. package/dist/components/ui/sidebar/sidebar-tree.mjs.map +1 -0
  593. package/dist/components/ui/sidebar/sidebar.mjs +205 -0
  594. package/dist/components/ui/sidebar/sidebar.mjs.map +1 -0
  595. package/dist/components/ui/sidebar/variants.mjs +396 -0
  596. package/dist/components/ui/sidebar/variants.mjs.map +1 -0
  597. package/dist/components/ui/signature/index.mjs +6 -0
  598. package/dist/components/ui/signature/index.mjs.map +1 -0
  599. package/dist/components/ui/signature/signature.mjs +145 -0
  600. package/dist/components/ui/signature/signature.mjs.map +1 -0
  601. package/dist/components/ui/signature-pad/index.mjs +19 -0
  602. package/dist/components/ui/signature-pad/index.mjs.map +1 -0
  603. package/dist/components/ui/signature-pad/signature-pad.mjs +210 -0
  604. package/dist/components/ui/signature-pad/signature-pad.mjs.map +1 -0
  605. package/dist/components/ui/signature-pad/strokes.mjs +68 -0
  606. package/dist/components/ui/signature-pad/strokes.mjs.map +1 -0
  607. package/dist/components/ui/skeleton/index.mjs +9 -0
  608. package/dist/components/ui/skeleton/index.mjs.map +1 -0
  609. package/dist/components/ui/skeleton/skeleton.mjs +58 -0
  610. package/dist/components/ui/skeleton/skeleton.mjs.map +1 -0
  611. package/dist/components/ui/slide/index.mjs +25 -0
  612. package/dist/components/ui/slide/index.mjs.map +1 -0
  613. package/dist/components/ui/slide/slide.mjs +159 -0
  614. package/dist/components/ui/slide/slide.mjs.map +1 -0
  615. package/dist/components/ui/slider/index.mjs +21 -0
  616. package/dist/components/ui/slider/index.mjs.map +1 -0
  617. package/dist/components/ui/slider/slider-input.mjs +449 -0
  618. package/dist/components/ui/slider/slider-input.mjs.map +1 -0
  619. package/dist/components/ui/slider/slider.mjs +235 -0
  620. package/dist/components/ui/slider/slider.mjs.map +1 -0
  621. package/dist/components/ui/slides/index.mjs +31 -0
  622. package/dist/components/ui/slides/index.mjs.map +1 -0
  623. package/dist/components/ui/slides/slides.mjs +890 -0
  624. package/dist/components/ui/slides/slides.mjs.map +1 -0
  625. package/dist/components/ui/smooth-anchors/index.mjs +17 -0
  626. package/dist/components/ui/smooth-anchors/index.mjs.map +1 -0
  627. package/dist/components/ui/smooth-anchors/smooth-anchors.mjs +75 -0
  628. package/dist/components/ui/smooth-anchors/smooth-anchors.mjs.map +1 -0
  629. package/dist/components/ui/smooth-anchors/smooth-scroll.mjs +87 -0
  630. package/dist/components/ui/smooth-anchors/smooth-scroll.mjs.map +1 -0
  631. package/dist/components/ui/spinner/index.mjs +6 -0
  632. package/dist/components/ui/spinner/index.mjs.map +1 -0
  633. package/dist/components/ui/spinner/spinner.mjs +49 -0
  634. package/dist/components/ui/spinner/spinner.mjs.map +1 -0
  635. package/dist/components/ui/stat/index.mjs +29 -0
  636. package/dist/components/ui/stat/index.mjs.map +1 -0
  637. package/dist/components/ui/stat/stat.mjs +226 -0
  638. package/dist/components/ui/stat/stat.mjs.map +1 -0
  639. package/dist/components/ui/status-bar/index.mjs +17 -0
  640. package/dist/components/ui/status-bar/index.mjs.map +1 -0
  641. package/dist/components/ui/status-bar/status-bar.mjs +96 -0
  642. package/dist/components/ui/status-bar/status-bar.mjs.map +1 -0
  643. package/dist/components/ui/stepper/index.mjs +25 -0
  644. package/dist/components/ui/stepper/index.mjs.map +1 -0
  645. package/dist/components/ui/stepper/stepper.mjs +235 -0
  646. package/dist/components/ui/stepper/stepper.mjs.map +1 -0
  647. package/dist/components/ui/steps/index.mjs +9 -0
  648. package/dist/components/ui/steps/index.mjs.map +1 -0
  649. package/dist/components/ui/steps/steps.mjs +70 -0
  650. package/dist/components/ui/steps/steps.mjs.map +1 -0
  651. package/dist/components/ui/swatch-grid/index.mjs +7 -0
  652. package/dist/components/ui/swatch-grid/index.mjs.map +1 -0
  653. package/dist/components/ui/swatch-grid/swatch-grid.mjs +110 -0
  654. package/dist/components/ui/swatch-grid/swatch-grid.mjs.map +1 -0
  655. package/dist/components/ui/switch/index.mjs +7 -0
  656. package/dist/components/ui/switch/index.mjs.map +1 -0
  657. package/dist/components/ui/switch/switch.mjs +79 -0
  658. package/dist/components/ui/switch/switch.mjs.map +1 -0
  659. package/dist/components/ui/tab-strip/index.mjs +13 -0
  660. package/dist/components/ui/tab-strip/index.mjs.map +1 -0
  661. package/dist/components/ui/tab-strip/tab-strip.mjs +244 -0
  662. package/dist/components/ui/tab-strip/tab-strip.mjs.map +1 -0
  663. package/dist/components/ui/table/index.mjs +27 -0
  664. package/dist/components/ui/table/index.mjs.map +1 -0
  665. package/dist/components/ui/table/table.mjs +290 -0
  666. package/dist/components/ui/table/table.mjs.map +1 -0
  667. package/dist/components/ui/table-of-contents/index.mjs +20 -0
  668. package/dist/components/ui/table-of-contents/index.mjs.map +1 -0
  669. package/dist/components/ui/table-of-contents/scroll-spy.mjs +60 -0
  670. package/dist/components/ui/table-of-contents/scroll-spy.mjs.map +1 -0
  671. package/dist/components/ui/table-of-contents/table-of-contents.mjs +371 -0
  672. package/dist/components/ui/table-of-contents/table-of-contents.mjs.map +1 -0
  673. package/dist/components/ui/table-of-contents/use-headings.mjs +40 -0
  674. package/dist/components/ui/table-of-contents/use-headings.mjs.map +1 -0
  675. package/dist/components/ui/tablet-frame/index.mjs +7 -0
  676. package/dist/components/ui/tablet-frame/index.mjs.map +1 -0
  677. package/dist/components/ui/tablet-frame/tablet-frame.mjs +48 -0
  678. package/dist/components/ui/tablet-frame/tablet-frame.mjs.map +1 -0
  679. package/dist/components/ui/tabs/index.mjs +25 -0
  680. package/dist/components/ui/tabs/index.mjs.map +1 -0
  681. package/dist/components/ui/tabs/tabs.mjs +382 -0
  682. package/dist/components/ui/tabs/tabs.mjs.map +1 -0
  683. package/dist/components/ui/tabs/use-tabs-indicator.mjs +90 -0
  684. package/dist/components/ui/tabs/use-tabs-indicator.mjs.map +1 -0
  685. package/dist/components/ui/tags-input/index.mjs +9 -0
  686. package/dist/components/ui/tags-input/index.mjs.map +1 -0
  687. package/dist/components/ui/tags-input/split.mjs +38 -0
  688. package/dist/components/ui/tags-input/split.mjs.map +1 -0
  689. package/dist/components/ui/tags-input/tags-input.mjs +328 -0
  690. package/dist/components/ui/tags-input/tags-input.mjs.map +1 -0
  691. package/dist/components/ui/terminal/index.mjs +41 -0
  692. package/dist/components/ui/terminal/index.mjs.map +1 -0
  693. package/dist/components/ui/terminal/terminal.mjs +287 -0
  694. package/dist/components/ui/terminal/terminal.mjs.map +1 -0
  695. package/dist/components/ui/textarea/index.mjs +21 -0
  696. package/dist/components/ui/textarea/index.mjs.map +1 -0
  697. package/dist/components/ui/textarea/textarea.mjs +244 -0
  698. package/dist/components/ui/textarea/textarea.mjs.map +1 -0
  699. package/dist/components/ui/toast/index.mjs +19 -0
  700. package/dist/components/ui/toast/index.mjs.map +1 -0
  701. package/dist/components/ui/toast/store.mjs +96 -0
  702. package/dist/components/ui/toast/store.mjs.map +1 -0
  703. package/dist/components/ui/toast/toast.mjs +395 -0
  704. package/dist/components/ui/toast/toast.mjs.map +1 -0
  705. package/dist/components/ui/toggle/index.mjs +13 -0
  706. package/dist/components/ui/toggle/index.mjs.map +1 -0
  707. package/dist/components/ui/toggle/toggle.mjs +123 -0
  708. package/dist/components/ui/toggle/toggle.mjs.map +1 -0
  709. package/dist/components/ui/toggle-group/index.mjs +11 -0
  710. package/dist/components/ui/toggle-group/index.mjs.map +1 -0
  711. package/dist/components/ui/toggle-group/toggle-group.mjs +243 -0
  712. package/dist/components/ui/toggle-group/toggle-group.mjs.map +1 -0
  713. package/dist/components/ui/toggletip/index.mjs +6 -0
  714. package/dist/components/ui/toggletip/index.mjs.map +1 -0
  715. package/dist/components/ui/toggletip/toggletip.mjs +95 -0
  716. package/dist/components/ui/toggletip/toggletip.mjs.map +1 -0
  717. package/dist/components/ui/toolbar/index.mjs +21 -0
  718. package/dist/components/ui/toolbar/index.mjs.map +1 -0
  719. package/dist/components/ui/toolbar/toolbar.mjs +130 -0
  720. package/dist/components/ui/toolbar/toolbar.mjs.map +1 -0
  721. package/dist/components/ui/tooltip/index.mjs +29 -0
  722. package/dist/components/ui/tooltip/index.mjs.map +1 -0
  723. package/dist/components/ui/tooltip/tooltip.mjs +640 -0
  724. package/dist/components/ui/tooltip/tooltip.mjs.map +1 -0
  725. package/dist/components/ui/tree/index.mjs +11 -0
  726. package/dist/components/ui/tree/index.mjs.map +1 -0
  727. package/dist/components/ui/tree/tree.mjs +450 -0
  728. package/dist/components/ui/tree/tree.mjs.map +1 -0
  729. package/dist/index.d.mts +19332 -0
  730. package/dist/index.mjs +155 -0
  731. package/dist/index.mjs.map +1 -0
  732. package/dist/lib/color.mjs +78 -0
  733. package/dist/lib/color.mjs.map +1 -0
  734. package/dist/lib/create-context.mjs +31 -0
  735. package/dist/lib/create-context.mjs.map +1 -0
  736. package/dist/lib/date.mjs +116 -0
  737. package/dist/lib/date.mjs.map +1 -0
  738. package/dist/lib/density.mjs +79 -0
  739. package/dist/lib/density.mjs.map +1 -0
  740. package/dist/lib/field-context.mjs +13 -0
  741. package/dist/lib/field-context.mjs.map +1 -0
  742. package/dist/lib/filter.mjs +28 -0
  743. package/dist/lib/filter.mjs.map +1 -0
  744. package/dist/lib/gesture.mjs +38 -0
  745. package/dist/lib/gesture.mjs.map +1 -0
  746. package/dist/lib/hit-area.mjs +14 -0
  747. package/dist/lib/hit-area.mjs.map +1 -0
  748. package/dist/lib/labels.mjs +27 -0
  749. package/dist/lib/labels.mjs.map +1 -0
  750. package/dist/lib/morph-box.mjs +56 -0
  751. package/dist/lib/morph-box.mjs.map +1 -0
  752. package/dist/lib/motion.mjs +70 -0
  753. package/dist/lib/motion.mjs.map +1 -0
  754. package/dist/lib/pulse.mjs +69 -0
  755. package/dist/lib/pulse.mjs.map +1 -0
  756. package/dist/lib/roving-focus.mjs +74 -0
  757. package/dist/lib/roving-focus.mjs.map +1 -0
  758. package/dist/lib/tv.mjs +11 -0
  759. package/dist/lib/tv.mjs.map +1 -0
  760. package/dist/lib/utils.mjs +82 -0
  761. package/dist/lib/utils.mjs.map +1 -0
  762. package/dist/styles.css +2 -0
  763. package/package.json +133 -4
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/ui/floating-window/floating-window.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport { Minus, X } from \"atoms-icons\"\n\nimport { tv } from \"../../../lib/tv.mjs\"\n\n/**\n * A movable, resizable, non-modal window over the app. Controlled: it reports a drag and a resize\n * (in rem, already kept inside its layer) and draws whatever comes back, so the app owns position,\n * size, z-order and the folded state.\n */\nexport const floatingWindowVariants = tv({\n slots: {\n layer: \"pointer-events-none absolute inset-0\",\n root: [\n \"group/floating-window pointer-events-auto absolute flex max-w-full flex-col overflow-hidden rounded-xl px-2 pb-2 text-popover-foreground\",\n \"bg-[color-mix(in_oklab,var(--frame-ink)_var(--frame-mix),var(--popover))] shadow-lg ring-1 ring-border-soft\",\n \"data-[dragging]:shadow-xl motion-safe:data-[dragging]:scale-[1.01]\",\n \"animate-in fade-in-0 zoom-in-95 ease-out motion-reduce:animate-none\",\n // The fold rides the drawer curve; the lift while dragging rides the lift curve.\n \"transition-[height,box-shadow,scale] duration-base motion-reduce-fade [transition-timing-function:var(--ease-drawer),var(--ease-lift),var(--ease-lift)]\",\n ],\n bar: \"flex h-9 shrink-0 cursor-grab touch-none items-center gap-2 pl-1.5 select-none active:cursor-grabbing [&>svg]:size-3.5 [&>svg]:shrink-0 [&>svg]:text-muted-foreground\",\n title: \"min-w-0 flex-1 truncate text-xs font-medium\",\n controls: \"-mr-0.5 flex shrink-0 items-center gap-1 pointer-coarse:gap-5\",\n control: [\n \"inline-flex size-6 cursor-pointer items-center justify-center rounded-md text-muted-foreground\",\n \"relative before:absolute before:left-1/2 before:top-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:content-[''] before:h-10 before:w-full pointer-coarse:before:h-11 pointer-coarse:before:w-11\",\n \"transition-[color,background-color,scale] duration-fast ease-out motion-reduce-fade outline-none focus-visible:ring-2 focus-visible:ring-focus [&_svg]:size-3.5\",\n ],\n minimize: \"hover:bg-accent hover:text-foreground\",\n close: \"hover:bg-destructive hover:text-destructive-foreground\",\n body: [\n \"min-h-0 flex-1 overflow-auto rounded-md bg-popover ring-1 ring-edge [--surface:var(--popover)]\",\n \"transition-opacity duration-base ease-out motion-reduce-fade data-[state=minimized]:opacity-0\",\n ],\n grip: [\n \"pointer-events-none absolute right-0 bottom-0 size-5 cursor-nwse-resize touch-none opacity-0 transition-opacity duration-fast ease-out motion-reduce-fade\",\n \"group-hover/floating-window:pointer-events-auto group-hover/floating-window:opacity-100\",\n \"pointer-coarse:pointer-events-auto pointer-coarse:opacity-100 pointer-coarse:size-11\",\n \"after:absolute after:right-1 after:bottom-1 after:size-4 after:rounded-br-lg after:border-r-2 after:border-b-2 after:border-muted-foreground/30\",\n \"after:transition-colors after:duration-fast after:ease-out hover:after:border-muted-foreground/70\",\n ],\n },\n})\n\nconst slots = floatingWindowVariants()\n\n/** The bar's height in rem: a folded window is exactly this tall. */\nconst BAR = 2.25\n/** How much of a window a move keeps inside the layer: the controls' side and the title's side. */\nconst KEEP_RIGHT_SIDE = 6\nconst KEEP_LEFT_SIDE = 4\n/** How far short of the layer's far edges a resize stops. */\nconst RESIZE_GAP = 0.5\n\nconst LayerContext = React.createContext<React.RefObject<HTMLDivElement | null> | null>(null)\n\nfunction assignRef<T>(ref: React.Ref<T> | undefined, node: T | null) {\n if (typeof ref === \"function\") ref(node)\n else if (ref) (ref as React.RefObject<T | null>).current = node\n}\n\n/** The bounds for the windows inside it: an absolute inset-0 layer, transparent to the pointer. */\nexport function FloatingWindowLayer({ className, ref, ...props }: React.ComponentProps<\"div\">) {\n const layerRef = React.useRef<HTMLDivElement | null>(null)\n const setRef = React.useCallback(\n (node: HTMLDivElement | null) => {\n layerRef.current = node\n assignRef(ref, node)\n },\n [ref],\n )\n return (\n <LayerContext.Provider value={layerRef}>\n <div ref={setRef} data-slot=\"floating-window-layer\" className={slots.layer({ className })} {...props} />\n </LayerContext.Provider>\n )\n}\n\nexport interface FloatingWindowProps extends Omit<React.ComponentProps<\"div\">, \"title\"> {\n /** The window's name: shown in the bar, and the dialog's accessible name. */\n title: React.ReactNode\n /** A glyph before the title: the component, not an element (`icon={NotePencil}`). */\n icon?: React.ElementType\n /** Left edge inside the layer, in rem. */\n x: number\n /** Top edge inside the layer, in rem. */\n y: number\n /** Width in rem. */\n width: number\n /** Height in rem, while not minimized. */\n height: number\n /** Folded to the title bar. The content stays mounted, and inert. */\n minimized?: boolean\n /** Stacking order among the layer's windows. Raise it in onFocusWindow. */\n zIndex?: number\n /** Smallest width a resize can reach, in rem. */\n minWidth?: number\n /** Smallest height a resize can reach, in rem: the bar and 2rem of content. */\n minHeight?: number\n /** The window was pressed, or focus moved into it: bring it to the front. */\n onFocusWindow?: () => void\n /** A drag of the title bar: the new x and y, in rem, already kept inside the layer. */\n onMove?: (x: number, y: number) => void\n /** A drag of the corner grip: the new width and height, in rem, within the limits. */\n onResize?: (width: number, height: number) => void\n /** Shows the minimize button and turns on double-click on the bar. */\n onToggleMinimize?: () => void\n /** Shows the close button. */\n onClose?: () => void\n minimizeLabel?: string\n closeLabel?: string\n}\n\nconst clamp = (value: number, min: number, max: number) => Math.min(Math.max(value, min), Math.max(min, max))\nconst tidy = (value: number) => Math.round(value * 100) / 100\n\n/** The root font size, so pointer pixels convert to the rem the window is measured in. */\nfunction remPx() {\n return parseFloat(getComputedStyle(document.documentElement).fontSize) || 16\n}\n\ntype Gesture = {\n kind: \"move\" | \"resize\"\n pointerX: number\n pointerY: number\n startX: number\n startY: number\n startWidth: number\n startHeight: number\n rem: number\n bounds: { width: number; height: number } | null\n}\n\nexport function FloatingWindow({\n title,\n icon: Icon,\n x,\n y,\n width,\n height,\n minimized = false,\n zIndex,\n minWidth = 18,\n minHeight = 4.25,\n onFocusWindow,\n onMove,\n onResize,\n onToggleMinimize,\n onClose,\n minimizeLabel = \"Minimize\",\n closeLabel = \"Close\",\n className,\n style,\n children,\n onPointerDownCapture,\n onFocus,\n \"aria-label\": ariaLabel,\n ...props\n}: FloatingWindowProps) {\n const layerRef = React.useContext(LayerContext)\n const titleId = React.useId()\n const gesture = React.useRef<Gesture | null>(null)\n const [dragging, setDragging] = React.useState(false)\n\n const begin = (kind: Gesture[\"kind\"], event: React.PointerEvent<HTMLElement>) => {\n if (event.button !== 0) return false\n const layer = layerRef?.current\n const rem = remPx()\n gesture.current = {\n kind,\n pointerX: event.clientX,\n pointerY: event.clientY,\n startX: x,\n startY: y,\n startWidth: width,\n startHeight: height,\n rem,\n bounds: layer ? { width: layer.clientWidth / rem, height: layer.clientHeight / rem } : null,\n }\n try {\n event.currentTarget.setPointerCapture(event.pointerId)\n } catch {\n // A synthetic pointer (a scripted demo) has nothing to capture; moves still arrive.\n }\n return true\n }\n\n const track = (event: React.PointerEvent<HTMLElement>) => {\n const g = gesture.current\n if (!g) return\n const dx = (event.clientX - g.pointerX) / g.rem\n const dy = (event.clientY - g.pointerY) / g.rem\n if (g.kind === \"move\") {\n let nextX = g.startX + dx\n let nextY = g.startY + dy\n if (g.bounds) {\n nextX = clamp(nextX, KEEP_RIGHT_SIDE - width, g.bounds.width - KEEP_LEFT_SIDE)\n nextY = clamp(nextY, 0, g.bounds.height - BAR)\n }\n onMove?.(tidy(nextX), tidy(nextY))\n } else {\n const maxWidth = g.bounds ? g.bounds.width - x - RESIZE_GAP : Infinity\n const maxHeight = g.bounds ? g.bounds.height - y - RESIZE_GAP : Infinity\n onResize?.(\n tidy(clamp(g.startWidth + dx, minWidth, maxWidth)),\n tidy(clamp(g.startHeight + dy, minHeight, maxHeight)),\n )\n }\n }\n\n const end = () => {\n gesture.current = null\n setDragging(false)\n }\n\n return (\n <div\n role=\"dialog\"\n aria-modal={false}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabel ? undefined : titleId}\n data-slot=\"floating-window\"\n data-state={minimized ? \"minimized\" : \"open\"}\n data-dragging={dragging || undefined}\n className={slots.root({ className })}\n style={{\n left: `${x}rem`,\n top: `${y}rem`,\n width: `${width}rem`,\n height: `${minimized ? BAR : height}rem`,\n zIndex,\n ...style,\n }}\n onPointerDownCapture={(event) => {\n onPointerDownCapture?.(event)\n onFocusWindow?.()\n }}\n onFocus={(event) => {\n onFocus?.(event)\n // Focus arriving from outside (Tab, a click into a field) brings the window forward.\n if (!(event.relatedTarget instanceof Node && event.currentTarget.contains(event.relatedTarget))) onFocusWindow?.()\n }}\n {...props}\n >\n <div\n data-slot=\"floating-window-bar\"\n className={slots.bar()}\n onPointerDown={(event) => {\n if ((event.target as Element).closest(\"[data-window-control]\")) return\n if (begin(\"move\", event)) setDragging(true)\n }}\n onPointerMove={track}\n onPointerUp={end}\n onPointerCancel={end}\n onDoubleClick={(event) => {\n if ((event.target as Element).closest(\"[data-window-control]\")) return\n onToggleMinimize?.()\n }}\n >\n {Icon && <Icon />}\n <div id={titleId} data-slot=\"floating-window-title\" className={slots.title()}>\n {title}\n </div>\n {(onToggleMinimize || onClose) && (\n <div data-slot=\"floating-window-controls\" className={slots.controls()}>\n {onToggleMinimize && (\n <button\n type=\"button\"\n data-window-control\n data-slot=\"floating-window-minimize\"\n aria-label={minimizeLabel}\n aria-pressed={minimized}\n className={slots.control({ className: slots.minimize() })}\n onClick={onToggleMinimize}\n >\n <Minus />\n </button>\n )}\n {onClose && (\n <button\n type=\"button\"\n data-window-control\n data-slot=\"floating-window-close\"\n aria-label={closeLabel}\n className={slots.control({ className: slots.close() })}\n onClick={onClose}\n >\n <X />\n </button>\n )}\n </div>\n )}\n </div>\n <div\n data-slot=\"floating-window-body\"\n data-state={minimized ? \"minimized\" : \"open\"}\n inert={minimized || undefined}\n className={slots.body()}\n >\n {children}\n </div>\n {!minimized && onResize && (\n <div\n aria-hidden\n data-slot=\"floating-window-grip\"\n className={slots.grip()}\n onPointerDown={(event) => {\n event.stopPropagation()\n if (begin(\"resize\", event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A,kBAAC;AAAA;AAAA,oBACC,MAAK;AAAA,oBACL,uBAAmB;AAAA,oBACnB,aAAU;AAAA,oBACV,cAAY;AAAA,oBACZ,WAAW,MAAM,QAAQ,EAAE,WAAW,MAAM,MAAM,EAAE,CAAC;AAAA,oBACrD,SAAS;AAAA,oBAET,8BAAC,KAAE;AAAA;AAAA,gBACL;AAAA,iBAEJ;AAAA;AAAA;AAAA,QAEJ;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,aAAU;AAAA,YACV,cAAY,YAAY,cAAc;AAAA,YACtC,OAAO,aAAa;AAAA,YACpB,WAAW,MAAM,KAAK;AAAA,YAErB;AAAA;AAAA,QACH;AAAA,QACC,CAAC,aAAa,YACb;AAAA,UAAC;AAAA;AAAA,YACC,eAAW;AAAA,YACX,aAAU;AAAA,YACV,WAAW,MAAM,KAAK;AAAA,YACtB,eAAe,CAAC,UAAU;AACxB,oBAAM,gBAAgB;AACtB,kBAAI,MAAM,UAAU,KAAK,EAAG,aAAY,IAAI;AAAA,YAC9C;AAAA,YACA,eAAe;AAAA,YACf,aAAa;AAAA,YACb,iBAAiB;AAAA;AAAA,QACnB;AAAA;AAAA;AAAA,EAEJ;AAEJ;","names":[]}
@@ -0,0 +1,11 @@
1
+ import {
2
+ FloatingWindow,
3
+ FloatingWindowLayer,
4
+ floatingWindowVariants
5
+ } from "./floating-window.mjs";
6
+ export {
7
+ FloatingWindow,
8
+ FloatingWindowLayer,
9
+ floatingWindowVariants
10
+ };
11
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/ui/floating-window/index.ts"],"sourcesContent":["export {\n FloatingWindow,\n FloatingWindowLayer,\n floatingWindowVariants,\n type FloatingWindowProps,\n} from \"./floating-window.mjs\"\n"],"mappings":"AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;","names":[]}
@@ -0,0 +1,87 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import * as React from "react";
4
+ import { Slot } from "radix-ui";
5
+ import { ControlSizeProvider, useDensity } from "../../../lib/density.mjs";
6
+ import { tv } from "../../../lib/tv.mjs";
7
+ const formSectionVariants = tv({
8
+ slots: {
9
+ root: "w-full min-w-0",
10
+ header: "flex flex-col gap-1",
11
+ title: "font-sans font-semibold text-foreground text-balance",
12
+ description: "text-sm text-pretty text-muted-foreground",
13
+ body: "flex min-w-0 flex-col"
14
+ },
15
+ variants: {
16
+ layout: {
17
+ stack: { root: "flex flex-col", title: "text-sm" },
18
+ // Header 14rem and body 20rem bases: side by side from about 36rem, stacked below.
19
+ split: {
20
+ root: [
21
+ "gap-5 flex flex-wrap gap-x-8",
22
+ "*:data-[slot=form-section-header]:flex-[1_1_14rem] *:data-[slot=form-section-body]:flex-[2_1_20rem]"
23
+ ],
24
+ title: "text-base"
25
+ }
26
+ },
27
+ density: {
28
+ compact: { body: "gap-4" },
29
+ comfortable: { body: "gap-5" }
30
+ }
31
+ },
32
+ compoundVariants: [
33
+ { layout: "stack", density: "compact", class: { root: "gap-4" } },
34
+ { layout: "stack", density: "comfortable", class: { root: "gap-5" } }
35
+ ],
36
+ defaultVariants: {
37
+ layout: "stack",
38
+ density: "compact"
39
+ }
40
+ });
41
+ const FormSectionContext = React.createContext("stack");
42
+ FormSectionContext.displayName = "FormSectionContext";
43
+ function FormSection({ className, layout = "stack", density, size, children, ...props }) {
44
+ const resolvedDensity = useDensity(density);
45
+ const section = /* @__PURE__ */ jsx(
46
+ "section",
47
+ {
48
+ "data-slot": "form-section",
49
+ "data-layout": layout,
50
+ "data-control-size": size,
51
+ className: formSectionVariants({ layout, density: resolvedDensity }).root({ className }),
52
+ ...props,
53
+ children: /* @__PURE__ */ jsx(FormSectionContext.Provider, { value: layout, children })
54
+ }
55
+ );
56
+ return size ? /* @__PURE__ */ jsx(ControlSizeProvider, { size, children: section }) : section;
57
+ }
58
+ function FormSectionHeader({ className, ...props }) {
59
+ return /* @__PURE__ */ jsx("div", { "data-slot": "form-section-header", className: formSectionVariants().header({ className }), ...props });
60
+ }
61
+ function FormSectionTitle({ className, asChild = false, ...props }) {
62
+ const layout = React.useContext(FormSectionContext);
63
+ const Comp = asChild ? Slot.Root : "h3";
64
+ return /* @__PURE__ */ jsx(
65
+ Comp,
66
+ {
67
+ "data-slot": "form-section-title",
68
+ className: formSectionVariants({ layout }).title({ className }),
69
+ ...props
70
+ }
71
+ );
72
+ }
73
+ function FormSectionDescription({ className, ...props }) {
74
+ return /* @__PURE__ */ jsx("p", { "data-slot": "form-section-description", className: formSectionVariants().description({ className }), ...props });
75
+ }
76
+ function FormSectionBody({ className, density = "comfortable", ...props }) {
77
+ return /* @__PURE__ */ jsx("div", { "data-slot": "form-section-body", className: formSectionVariants({ density }).body({ className }), ...props });
78
+ }
79
+ export {
80
+ FormSection,
81
+ FormSectionBody,
82
+ FormSectionDescription,
83
+ FormSectionHeader,
84
+ FormSectionTitle,
85
+ formSectionVariants
86
+ };
87
+ //# sourceMappingURL=form-section.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/ui/form/form-section.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport { Slot } from \"radix-ui\"\n\nimport { ControlSizeProvider, useDensity, type ControlSize, type Density } from \"../../../lib/density.mjs\"\nimport { tv } from \"../../../lib/tv.mjs\"\n\n/*\n * A chapter of a long form. A stack section keeps the field rhythm inside itself and takes extra air\n * from the section before it (the Form's `[&>[data-slot=form-section]+*]` hook). A split section sets\n * the header beside the fields, the settings-row layout, and wraps back to one column on narrow\n * screens. Outside a <form> (a Dialog body) it's pure layout, and `size` sets its control height.\n */\n\nexport const formSectionVariants = tv({\n slots: {\n root: \"w-full min-w-0\",\n header: \"flex flex-col gap-1\",\n title: \"font-sans font-semibold text-foreground text-balance\",\n description: \"text-sm text-pretty text-muted-foreground\",\n body: \"flex min-w-0 flex-col\",\n },\n variants: {\n layout: {\n stack: { root: \"flex flex-col\", title: \"text-sm\" },\n // Header 14rem and body 20rem bases: side by side from about 36rem, stacked below.\n split: {\n root: [\n \"gap-5 flex flex-wrap gap-x-8\",\n \"*:data-[slot=form-section-header]:flex-[1_1_14rem] *:data-[slot=form-section-body]:flex-[2_1_20rem]\",\n ],\n title: \"text-base\",\n },\n },\n density: {\n compact: { body: \"gap-4\" },\n comfortable: { body: \"gap-5\" },\n },\n },\n compoundVariants: [\n { layout: \"stack\", density: \"compact\", class: { root: \"gap-4\" } },\n { layout: \"stack\", density: \"comfortable\", class: { root: \"gap-5\" } },\n ],\n defaultVariants: {\n layout: \"stack\",\n density: \"compact\",\n },\n})\n\ntype SectionLayout = \"stack\" | \"split\"\n\nconst FormSectionContext = React.createContext<SectionLayout>(\"stack\")\nFormSectionContext.displayName = \"FormSectionContext\"\n\n/* ─── FormSection ───────────────────────────────────────────────────────── */\n\nexport interface FormSectionProps extends React.ComponentProps<\"section\"> {\n /** Header above the fields, or beside them (put the fields in a `FormSectionBody`). */\n layout?: SectionLayout\n /** The rhythm inside the chapter. Falls back to the density provider. */\n density?: Density\n /** A control height for this chapter alone, or for a section used as a Dialog's form body. */\n size?: ControlSize\n}\n\nexport function FormSection({ className, layout = \"stack\", density, size, children, ...props }: FormSectionProps) {\n const resolvedDensity = useDensity(density)\n const section = (\n <section\n data-slot=\"form-section\"\n data-layout={layout}\n data-control-size={size}\n className={formSectionVariants({ layout, density: resolvedDensity }).root({ className })}\n {...props}\n >\n <FormSectionContext.Provider value={layout}>{children}</FormSectionContext.Provider>\n </section>\n )\n return size ? <ControlSizeProvider size={size}>{section}</ControlSizeProvider> : section\n}\n\n/* ─── Header parts ──────────────────────────────────────────────────────── */\n\n/** Stacks the title and the description. */\nexport function FormSectionHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div data-slot=\"form-section-header\" className={formSectionVariants().header({ className })} {...props} />\n}\n\nexport interface FormSectionTitleProps extends React.ComponentProps<\"h3\"> {\n /** Render your own heading, when h3 is the wrong level for the page. */\n asChild?: boolean\n}\n\n/** The chapter's heading: an h3, a step larger in a split section. */\nexport function FormSectionTitle({ className, asChild = false, ...props }: FormSectionTitleProps) {\n const layout = React.useContext(FormSectionContext)\n const Comp = asChild ? Slot.Root : \"h3\"\n return (\n <Comp\n data-slot=\"form-section-title\"\n className={formSectionVariants({ layout }).title({ className })}\n {...props}\n />\n )\n}\n\n/** One line under the title. */\nexport function FormSectionDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <p data-slot=\"form-section-description\" className={formSectionVariants().description({ className })} {...props} />\n )\n}\n\n/* ─── FormSectionBody ───────────────────────────────────────────────────── */\n\nexport interface FormSectionBodyProps extends React.ComponentProps<\"div\"> {\n /** The rhythm between fields. Unset, comfortable: a split column reads better with more air. */\n density?: Density\n}\n\n/** The field column of a split section, so the fields share one column instead of a cell each. */\nexport function FormSectionBody({ className, density = \"comfortable\", ...props }: FormSectionBodyProps) {\n return (\n <div data-slot=\"form-section-body\" className={formSectionVariants({ density }).body({ className })} {...props} />\n )\n}\n"],"mappings":";AA4EM;AA1EN,YAAY,WAAW;AACvB,SAAS,YAAY;AAErB,SAAS,qBAAqB,kBAAkD;AAChF,SAAS,UAAU;AASZ,MAAM,sBAAsB,GAAG;AAAA,EACpC,OAAO;AAAA,IACL,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,aAAa;AAAA,IACb,MAAM;AAAA,EACR;AAAA,EACA,UAAU;AAAA,IACR,QAAQ;AAAA,MACN,OAAO,EAAE,MAAM,iBAAiB,OAAO,UAAU;AAAA;AAAA,MAEjD,OAAO;AAAA,QACL,MAAM;AAAA,UACJ;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,SAAS;AAAA,MACP,SAAS,EAAE,MAAM,QAAQ;AAAA,MACzB,aAAa,EAAE,MAAM,QAAQ;AAAA,IAC/B;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA,IAChB,EAAE,QAAQ,SAAS,SAAS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ACE,oBAAC,OAAE,aAAU,4BAA2B,WAAW,oBAAoB,EAAE,YAAY,EAAE,UAAU,CAAC,GAAI,GAAG,OAAO;AAEpH;AAUO,SAAS,gBAAgB,EAAE,WAAW,UAAU,eAAe,GAAG,MAAM,GAAyB;AACtG,SACE,oBAAC,SAAI,aAAU,qBAAoB,WAAW,oBAAoB,EAAE,QAAQ,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,GAAI,GAAG,OAAO;AAEnH;","names":[]}
@@ -0,0 +1,205 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import * as React from "react";
4
+ import { ControlSizeProvider, useControlSize, useDensity } from "../../../lib/density.mjs";
5
+ import { tv } from "../../../lib/tv.mjs";
6
+ const FormContext = React.createContext(null);
7
+ FormContext.displayName = "FormContext";
8
+ function useFormContext() {
9
+ return React.useContext(FormContext);
10
+ }
11
+ function readFormValues(form) {
12
+ const values = {};
13
+ if (!form) return values;
14
+ new FormData(form).forEach((value, key) => {
15
+ const current = values[key];
16
+ if (current === void 0) values[key] = value;
17
+ else values[key] = Array.isArray(current) ? [...current, value] : [current, value];
18
+ });
19
+ return values;
20
+ }
21
+ const formVariants = tv({
22
+ slots: {
23
+ root: "flex w-full flex-col",
24
+ actions: "flex flex-wrap gap-3"
25
+ },
26
+ variants: {
27
+ layout: {
28
+ stack: {},
29
+ // One field and one button: the field grows, the button hugs, and the pair stacks below sm.
30
+ row: { root: "[&>[data-slot=form-section]+*]:mt-4 gap-2 sm:flex-row sm:items-center" },
31
+ // No rhythm: a FormSection inside owns the spacing.
32
+ plain: {}
33
+ },
34
+ density: {
35
+ compact: {},
36
+ comfortable: {}
37
+ },
38
+ align: {
39
+ start: { actions: "items-center justify-start" },
40
+ end: { actions: "items-center justify-end" },
41
+ between: { actions: "items-center justify-between" },
42
+ stack: { actions: "flex-col items-stretch" }
43
+ },
44
+ bordered: {
45
+ true: { actions: "border-t border-border pt-4" },
46
+ false: {}
47
+ }
48
+ },
49
+ compoundVariants: [
50
+ { layout: "stack", density: "compact", class: { root: "gap-4 [&>[data-slot=form-section]+*]:mt-4" } },
51
+ { layout: "stack", density: "comfortable", class: { root: "gap-5 [&>[data-slot=form-section]+*]:mt-5" } }
52
+ ],
53
+ defaultVariants: {
54
+ layout: "stack",
55
+ density: "compact",
56
+ align: "end",
57
+ bordered: false
58
+ }
59
+ });
60
+ const SHAKE = ["animate-shake-a", "animate-shake-b"];
61
+ function shake(control) {
62
+ if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
63
+ const target = control.closest(
64
+ "[data-slot=input-root], [data-slot=select-trigger], [data-slot=textarea-root]"
65
+ ) ?? control;
66
+ const next = target.classList.contains(SHAKE[0]) ? SHAKE[1] : SHAKE[0];
67
+ target.classList.remove(...SHAKE);
68
+ target.classList.add(next);
69
+ target.addEventListener("animationend", () => target.classList.remove(next), { once: true });
70
+ }
71
+ function byDocumentOrder(a, b) {
72
+ return a.compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
73
+ }
74
+ function focusFirst(controls) {
75
+ const first = controls.filter((control) => control != null).sort(byDocumentOrder)[0];
76
+ if (!first) return;
77
+ first.focus();
78
+ shake(first);
79
+ }
80
+ const NO_ERRORS = {};
81
+ function Form({
82
+ className,
83
+ validationMode = "onSubmit",
84
+ validationDebounceTime = 0,
85
+ errors,
86
+ onFormSubmit,
87
+ onSubmit,
88
+ onReset,
89
+ noValidate = false,
90
+ size,
91
+ density,
92
+ layout = "stack",
93
+ action,
94
+ children,
95
+ ref,
96
+ ...props
97
+ }) {
98
+ const formRef = React.useRef(null);
99
+ const fields = React.useRef(/* @__PURE__ */ new Set());
100
+ const passed = React.useRef(false);
101
+ const resolvedSize = useControlSize(size);
102
+ const resolvedDensity = useDensity(density);
103
+ React.useImperativeHandle(ref, () => formRef.current);
104
+ const [seenErrors, setSeenErrors] = React.useState(errors);
105
+ const [serverErrors, setServerErrors] = React.useState(errors ?? NO_ERRORS);
106
+ const [errorRound, setErrorRound] = React.useState(0);
107
+ if (errors !== seenErrors) {
108
+ setSeenErrors(errors);
109
+ setServerErrors(errors ?? NO_ERRORS);
110
+ if (errors && Object.keys(errors).length > 0) setErrorRound((round) => round + 1);
111
+ }
112
+ React.useEffect(() => {
113
+ if (errorRound === 0) return;
114
+ const named = [...fields.current].filter((field) => {
115
+ const name = field.getName();
116
+ return name !== void 0 && name in serverErrors;
117
+ });
118
+ focusFirst(named.map((field) => field.getControl()));
119
+ }, [errorRound]);
120
+ const clearServerError = React.useCallback((name) => {
121
+ setServerErrors((current) => {
122
+ if (!(name in current)) return current;
123
+ const next = { ...current };
124
+ delete next[name];
125
+ return next;
126
+ });
127
+ }, []);
128
+ const context = React.useMemo(
129
+ () => ({
130
+ validationMode,
131
+ validationDebounceTime,
132
+ skipNative: noValidate,
133
+ serverErrors,
134
+ clearServerError,
135
+ register(field) {
136
+ fields.current.add(field);
137
+ return () => fields.current.delete(field);
138
+ },
139
+ getValues: () => readFormValues(formRef.current)
140
+ }),
141
+ [validationMode, validationDebounceTime, noValidate, serverErrors, clearServerError]
142
+ );
143
+ async function handleSubmit(event) {
144
+ if (passed.current) {
145
+ passed.current = false;
146
+ onSubmit?.(event);
147
+ if (action === void 0) event.preventDefault();
148
+ return;
149
+ }
150
+ event.preventDefault();
151
+ const submitter = event.nativeEvent.submitter;
152
+ const all = [...fields.current];
153
+ const results = await Promise.all(all.map((field) => field.validate()));
154
+ const failed = all.filter((_, index) => !results[index]);
155
+ if (failed.length > 0) {
156
+ focusFirst(failed.map((field) => field.getControl()));
157
+ return;
158
+ }
159
+ if (onFormSubmit) {
160
+ onFormSubmit(readFormValues(formRef.current), event);
161
+ return;
162
+ }
163
+ passed.current = true;
164
+ formRef.current?.requestSubmit(submitter instanceof HTMLElement ? submitter : void 0);
165
+ }
166
+ function handleReset(event) {
167
+ onReset?.(event);
168
+ setServerErrors(NO_ERRORS);
169
+ window.setTimeout(() => fields.current.forEach((field) => field.reset()));
170
+ }
171
+ return /* @__PURE__ */ jsx(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsx(ControlSizeProvider, { size: resolvedSize, children: /* @__PURE__ */ jsx(
172
+ "form",
173
+ {
174
+ ref: formRef,
175
+ "data-slot": "form",
176
+ "data-control-size": resolvedSize,
177
+ "data-layout": layout,
178
+ noValidate: true,
179
+ action,
180
+ className: formVariants({ layout, density: resolvedDensity }).root({ className }),
181
+ onSubmit: handleSubmit,
182
+ onReset: handleReset,
183
+ ...props,
184
+ children
185
+ }
186
+ ) }) });
187
+ }
188
+ function FormActions({ className, align, bordered, ...props }) {
189
+ return /* @__PURE__ */ jsx(
190
+ "div",
191
+ {
192
+ "data-slot": "form-actions",
193
+ className: formVariants({ align, bordered }).actions({ className }),
194
+ ...props
195
+ }
196
+ );
197
+ }
198
+ export {
199
+ Form,
200
+ FormActions,
201
+ formVariants,
202
+ readFormValues,
203
+ useFormContext
204
+ };
205
+ //# sourceMappingURL=form.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/ui/form/form.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\n\nimport { ControlSizeProvider, useControlSize, useDensity, type ControlSize, type Density } from \"../../../lib/density.mjs\"\nimport { tv, type VariantProps } from \"../../../lib/tv.mjs\"\n\n/* ─── Context ───────────────────────────────────────────────────────────── */\n\nexport type ValidationMode = \"onSubmit\" | \"onBlur\" | \"onChange\"\n\n/** Every named value in the form, as `FormData` holds it. A name used more than once gives a list. */\nexport type FormValues = Record<string, FormDataEntryValue | FormDataEntryValue[]>\n\n/** Server errors keyed by field name: one message or several. */\nexport type FormErrors = Record<string, string | string[]>\n\n/** What a Field hands its Form so a submit can check it, focus it and reset it. */\nexport interface FormFieldApi {\n /** Runs native constraints, then `validate`. Resolves `true` when the field passes. */\n validate: () => Promise<boolean>\n /** The element that takes focus when the field is the first invalid one. */\n getControl: () => HTMLElement | null\n /** The key the field's value and server errors go by. */\n getName: () => string | undefined\n /** Clears the field's validation state after the form resets. */\n reset: () => void\n}\n\ninterface FormContextValue {\n validationMode: ValidationMode\n validationDebounceTime: number\n /** Skip native constraints; `validate` functions still run. */\n skipNative: boolean\n /** Server errors still showing, keyed by field name. */\n serverErrors: FormErrors\n /** Drops one field's server error, once its value changes. */\n clearServerError: (name: string) => void\n register: (field: FormFieldApi) => () => void\n getValues: () => FormValues\n}\n\nconst FormContext = React.createContext<FormContextValue | null>(null)\nFormContext.displayName = \"FormContext\"\n\nexport function useFormContext(): FormContextValue | null {\n return React.useContext(FormContext)\n}\n\nexport function readFormValues(form: HTMLFormElement | null): FormValues {\n const values: FormValues = {}\n if (!form) return values\n new FormData(form).forEach((value, key) => {\n const current = values[key]\n if (current === undefined) values[key] = value\n else values[key] = Array.isArray(current) ? [...current, value] : [current, value]\n })\n return values\n}\n\n/* ─── Styles ────────────────────────────────────────────────────────────── */\n\nexport const formVariants = tv({\n slots: {\n root: \"flex w-full flex-col\",\n actions: \"flex flex-wrap gap-3\",\n },\n variants: {\n layout: {\n stack: {},\n // One field and one button: the field grows, the button hugs, and the pair stacks below sm.\n row: { root: \"[&>[data-slot=form-section]+*]:mt-4 gap-2 sm:flex-row sm:items-center\" },\n // No rhythm: a FormSection inside owns the spacing.\n plain: {},\n },\n density: {\n compact: {},\n comfortable: {},\n },\n align: {\n start: { actions: \"items-center justify-start\" },\n end: { actions: \"items-center justify-end\" },\n between: { actions: \"items-center justify-between\" },\n stack: { actions: \"flex-col items-stretch\" },\n },\n bordered: {\n true: { actions: \"border-t border-border pt-4\" },\n false: {},\n },\n },\n compoundVariants: [\n { layout: \"stack\", density: \"compact\", class: { root: \"gap-4 [&>[data-slot=form-section]+*]:mt-4\" } },\n { layout: \"stack\", density: \"comfortable\", class: { root: \"gap-5 [&>[data-slot=form-section]+*]:mt-5\" } },\n ],\n defaultVariants: {\n layout: \"stack\",\n density: \"compact\",\n align: \"end\",\n bordered: false,\n },\n})\n\nconst SHAKE = [\"animate-shake-a\", \"animate-shake-b\"] as const\n\n/** Plays the short wobble on the invalid control's frame, alternating names so a repeat restarts it. */\nfunction shake(control: HTMLElement) {\n if (window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches) return\n const target =\n control.closest<HTMLElement>(\n \"[data-slot=input-root], [data-slot=select-trigger], [data-slot=textarea-root]\",\n ) ?? control\n const next = target.classList.contains(SHAKE[0]) ? SHAKE[1] : SHAKE[0]\n target.classList.remove(...SHAKE)\n target.classList.add(next)\n target.addEventListener(\"animationend\", () => target.classList.remove(next), { once: true })\n}\n\nfunction byDocumentOrder(a: HTMLElement, b: HTMLElement) {\n return a.compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1\n}\n\nfunction focusFirst(controls: (HTMLElement | null)[]) {\n const first = controls.filter((control): control is HTMLElement => control != null).sort(byDocumentOrder)[0]\n if (!first) return\n first.focus()\n shake(first)\n}\n\n/* ─── Form ──────────────────────────────────────────────────────────────── */\n\nconst NO_ERRORS: FormErrors = {}\n\nexport interface FormProps extends React.ComponentProps<\"form\"> {\n /** When fields check themselves. Every mode checks the whole form on submit. */\n validationMode?: ValidationMode\n /** How long `onChange` validation waits for a pause in typing, in ms. */\n validationDebounceTime?: number\n /** Server errors keyed by field name. Each shows in its field and clears once that value changes. */\n errors?: FormErrors\n /** Called with every value once each field passes. It replaces the native submit. */\n onFormSubmit?: (values: FormValues, event: React.SubmitEvent<HTMLFormElement>) => void\n /** The native handler. Called only once every field passes. */\n onSubmit?: React.FormEventHandler<HTMLFormElement>\n /** Skips the native constraints (`required`, `type`, `pattern`…). `validate` functions still run. */\n noValidate?: boolean\n /** The height of every control inside. Unset, it follows the domain: sm in app UI, md on marketing. */\n size?: ControlSize\n /** The gap between fields: compact 16px, comfortable 20px. Falls back to the density provider. */\n density?: Density\n /** A field column, a one-line capture, or no rhythm for a form that is itself a card. */\n layout?: \"stack\" | \"row\" | \"plain\"\n}\n\nexport function Form({\n className,\n validationMode = \"onSubmit\",\n validationDebounceTime = 0,\n errors,\n onFormSubmit,\n onSubmit,\n onReset,\n noValidate = false,\n size,\n density,\n layout = \"stack\",\n action,\n children,\n ref,\n ...props\n}: FormProps) {\n const formRef = React.useRef<HTMLFormElement | null>(null)\n const fields = React.useRef(new Set<FormFieldApi>())\n // Set while the form re-submits itself after passing, so the second event goes through natively.\n const passed = React.useRef(false)\n const resolvedSize = useControlSize(size)\n const resolvedDensity = useDensity(density)\n\n React.useImperativeHandle(ref, () => formRef.current as HTMLFormElement)\n\n // A new `errors` object replaces whatever server errors still show, and focuses the first one.\n const [seenErrors, setSeenErrors] = React.useState(errors)\n const [serverErrors, setServerErrors] = React.useState<FormErrors>(errors ?? NO_ERRORS)\n const [errorRound, setErrorRound] = React.useState(0)\n if (errors !== seenErrors) {\n setSeenErrors(errors)\n setServerErrors(errors ?? NO_ERRORS)\n if (errors && Object.keys(errors).length > 0) setErrorRound((round) => round + 1)\n }\n\n React.useEffect(() => {\n if (errorRound === 0) return\n const named = [...fields.current].filter((field) => {\n const name = field.getName()\n return name !== undefined && name in serverErrors\n })\n focusFirst(named.map((field) => field.getControl()))\n // Only a new round of errors moves focus; clearing one as the person types never does.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [errorRound])\n\n const clearServerError = React.useCallback((name: string) => {\n setServerErrors((current) => {\n if (!(name in current)) return current\n const next = { ...current }\n delete next[name]\n return next\n })\n }, [])\n\n const context = React.useMemo<FormContextValue>(\n () => ({\n validationMode,\n validationDebounceTime,\n skipNative: noValidate,\n serverErrors,\n clearServerError,\n register(field) {\n fields.current.add(field)\n return () => fields.current.delete(field)\n },\n getValues: () => readFormValues(formRef.current),\n }),\n [validationMode, validationDebounceTime, noValidate, serverErrors, clearServerError],\n )\n\n async function handleSubmit(event: React.SubmitEvent<HTMLFormElement>) {\n if (passed.current) {\n // The second pass, after every field passed: the native handler and the form's action run.\n passed.current = false\n onSubmit?.(event)\n // Without an action there is nothing to send, and a native submit would only reload the page.\n if (action === undefined) event.preventDefault()\n return\n }\n // Always held here first: async checks have to finish before anything is sent.\n event.preventDefault()\n const submitter = (event.nativeEvent as SubmitEvent).submitter\n const all = [...fields.current]\n const results = await Promise.all(all.map((field) => field.validate()))\n const failed = all.filter((_, index) => !results[index])\n if (failed.length > 0) {\n focusFirst(failed.map((field) => field.getControl()))\n return\n }\n if (onFormSubmit) {\n onFormSubmit(readFormValues(formRef.current), event)\n return\n }\n passed.current = true\n formRef.current?.requestSubmit(submitter instanceof HTMLElement ? submitter : undefined)\n }\n\n function handleReset(event: React.FormEvent<HTMLFormElement>) {\n onReset?.(event)\n setServerErrors(NO_ERRORS)\n // The native reset restores the values after this handler; clear the state once it has.\n window.setTimeout(() => fields.current.forEach((field) => field.reset()))\n }\n\n return (\n <FormContext.Provider value={context}>\n <ControlSizeProvider size={resolvedSize}>\n <form\n ref={formRef}\n data-slot=\"form\"\n data-control-size={resolvedSize}\n data-layout={layout}\n // The browser's bubbles never show: the fields show their own messages.\n noValidate\n action={action}\n className={formVariants({ layout, density: resolvedDensity }).root({ className })}\n onSubmit={handleSubmit}\n onReset={handleReset}\n {...props}\n >\n {children}\n </form>\n </ControlSizeProvider>\n </FormContext.Provider>\n )\n}\n\n/* ─── FormActions ───────────────────────────────────────────────────────── */\n\nexport interface FormActionsProps\n extends React.ComponentProps<\"div\">,\n Pick<VariantProps<typeof formVariants>, \"align\" | \"bordered\"> {}\n\n/** The bar that closes a form: buttons at the end, spread apart, or one full-width stack. */\nexport function FormActions({ className, align, bordered, ...props }: FormActionsProps) {\n return (\n <div\n data-slot=\"form-actions\"\n className={formVariants({ align, bordered }).actions({ className })}\n {...props}\n />\n )\n}\n"],"mappings":";AAsQQ;AApQR,YAAY,WAAW;AAEvB,SAAS,qBAAqB,gBAAgB,kBAAkD;AAChG,SAAS,UAA6B;AAqCtC,MAAM,cAAc,MAAM,cAAuC,IAAI;AACrE,YAAY,cAAc;AAEnB,SAAS,iBAA0C;AACxD,SAAO,MAAM,WAAW,WAAW;AACrC;AAEO,SAAS,eAAe,MAA0C;AACvE,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AO,SAAS,CAAC,EAAE,QAAQ,EAAE,UAAU,CAAC;AAAA,MACjE,GAAG;AAAA;AAAA,EACN;AAEJ;","names":[]}
@@ -0,0 +1,29 @@
1
+ import {
2
+ Form,
3
+ FormActions,
4
+ formVariants,
5
+ readFormValues,
6
+ useFormContext
7
+ } from "./form.mjs";
8
+ import {
9
+ FormSection,
10
+ FormSectionHeader,
11
+ FormSectionTitle,
12
+ FormSectionDescription,
13
+ FormSectionBody,
14
+ formSectionVariants
15
+ } from "./form-section.mjs";
16
+ export {
17
+ Form,
18
+ FormActions,
19
+ FormSection,
20
+ FormSectionBody,
21
+ FormSectionDescription,
22
+ FormSectionHeader,
23
+ FormSectionTitle,
24
+ formSectionVariants,
25
+ formVariants,
26
+ readFormValues,
27
+ useFormContext
28
+ };
29
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/ui/form/index.ts"],"sourcesContent":["export {\n Form,\n FormActions,\n formVariants,\n readFormValues,\n useFormContext,\n type FormProps,\n type FormActionsProps,\n type FormErrors,\n type FormFieldApi,\n type FormValues,\n type ValidationMode,\n} from \"./form.mjs\"\nexport {\n FormSection,\n FormSectionHeader,\n FormSectionTitle,\n FormSectionDescription,\n FormSectionBody,\n formSectionVariants,\n type FormSectionProps,\n type FormSectionTitleProps,\n type FormSectionBodyProps,\n} from \"./form-section.mjs\"\n"],"mappings":"AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;","names":[]}
@@ -0,0 +1,9 @@
1
+ const GLOBE_GRID = 8192;
2
+ const GLOBE_ARCS = "Sq9PknDMGQLHXbFZGDUSQUFWAkpDKCFVDBk_PJdJFQWKQCaO__PAKmwJ0-DIDmF7CCbiCrBW43Js5DT3BCZcRCLLZCNBVQbStBQJSq5JqxDjBZx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G-BHQTQBOFuBFMPSmyJ6nEZyBVKHSVYbCQaYCGOQo8J6xEPTPTENANaAKEKHO68JyvEJPSZQVSP0E1BmBAKo9JiyEMNBRZLULEs9JqwERXWs9JqwEOHKTURWAsBKwBGoBOYEQIaCGorJs-DZNLEM8rJglESMcJmBKgBAcWMi7I6_FQALTWRFVLBIq7I89FHDNJHXKq9Iw7FEACKcGKCG2-Ii8FQEUAa2-Ii8FBEGGEKFAHIHCFIHCFIHDHNJDM68I88FEERKNEHILGIy7Iy7FJELOTKE68I88FHJQooFqvEcGIBBhBlBDHEOMBS";
3
+ const GLOBE_COUNTRIES = [["FJ", "Fiji", [[[0]], [[1]]]], ["TZ", "Tanzania", [[[2, 3, 4, 5, 6, 7, 8, 9, 10]]]], ["EH", "Western Sahara", [[[11, 12, 13, 14]]]], ["CA", "Canada", [[[15, 16, 17, 18]], [[19]], [[20]], [[21]], [[22]], [[23]], [[24]], [[25]], [[26]], [[27]], [[28]], [[29]], [[30]], [[31]], [[32]], [[33]], [[34]], [[35]], [[36]], [[37]], [[38]], [[39]], [[40]], [[41]], [[42]], [[43]], [[44]], [[45]], [[46]], [[47]]]], ["US", "United States", [[[-19, 48, 49, 50]], [[51]], [[52]], [[53]], [[54]], [[55]], [[56]], [[57]], [[-17, 58]], [[59]]]], ["KZ", "Kazakhstan", [[[60, 61, 62, 63, 64, 65]]]], ["UZ", "Uzbekistan", [[[-63, 66, 67, 68, 69]]]], ["PG", "Papua New Guinea", [[[70, 71]], [[72]], [[73]], [[74]]]], ["ID", "Indonesia", [[[-72, 75]], [[76, 77]], [[78]], [[79, 80]], [[81]], [[82]], [[83]], [[84]], [[85]], [[86]], [[87]], [[88]], [[89]]]], ["AR", "Argentina", [[[90, 91]], [[92, 93, 94, 95, 96, 97]]]], ["CL", "Chile", [[[-92, 98]], [[99, -95, 100, 101]]]], ["CD", "DR Congo", [[[-8, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111]]]], ["SO", "Somalia", [[[112, 113, 114, 115]]]], ["KE", "Kenya", [[[-3, 116, 117, 118, -113, 119]]]], ["SD", "Sudan", [[[120, 121, 122, 123, 124, 125, 126, 127]]]], ["TD", "Chad", [[[-122, 128, 129, 130, 131]]]], ["HT", "Haiti", [[[132, 133]]]], ["DO", "Dominican Republic", [[[-133, 134]]]], ["RU", "Russia", [[[135]], [[136]], [[137]], [[138]], [[139]], [[140]], [[141, 142, 143]], [[144]], [[145]], [[146, 147, 148, 149, -66, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161]], [[162]], [[163, 164]]]], ["BS", "Bahamas", [[[165]], [[166]], [[167]]]], ["FK", "Falkland Islands", [[[168]]]], ["NO", "Norway", [[[169]], [[-161, 170, 171, 172]], [[173]], [[174]]]], ["GL", "Greenland", [[[175]]]], ["TF", "French Southern Lands", [[[176]]]], ["TL", "Timor-Leste", [[[177, -77]]]], ["ZA", "South Africa", [[[178, 179, 180, 181, 182, 183, 184], [185]]]], ["LS", "Lesotho", [[[-186]]]], ["MX", "Mexico", [[[-50, 186, 187, 188, 189]]]], ["UY", "Uruguay", [[[190, 191, -93]]]], ["BR", "Brazil", [[[-191, -98, 192, 193, 194, 195, 196, 197, 198, 199, 200]]]], ["BO", "Bolivia", [[[-194, 201, -96, -100, 202]]]], ["PE", "Peru", [[[-195, -203, -102, 203, 204, 205]]]], ["CO", "Colombia", [[[-196, -206, 206, 207, 208, 209, 210]]]], ["PA", "Panama", [[[-209, 211, 212, 213]]]], ["CR", "Costa Rica", [[[-213, 214, 215, 216]]]], ["NI", "Nicaragua", [[[-216, 217, 218, 219]]]], ["HN", "Honduras", [[[-219, 220, 221, 222, 223]]]], ["SV", "El Salvador", [[[-222, 224, 225]]]], ["GT", "Guatemala", [[[-189, 226, 227, -223, -226, 228]]]], ["BZ", "Belize", [[[-188, 229, -227]]]], ["VE", "Venezuela", [[[-197, -211, 230, 231]]]], ["GY", "Guyana", [[[-198, -232, 232, 233]]]], ["SR", "Suriname", [[[-199, -234, 234, 235]]]], ["FR", "France", [[[-200, -236, 236]], [[237, 238, 239, 240, 241, 242, 243, 244]], [[245]]]], ["EC", "Ecuador", [[[-205, 246, -207]]]], ["PR", "Puerto Rico", [[[247]]]], ["JM", "Jamaica", [[[248]]]], ["CU", "Cuba", [[[249]]]], ["ZW", "Zimbabwe", [[[-181, 250, 251, 252]]]], ["BW", "Botswana", [[[-180, 253, 254, -251]]]], ["NA", "Namibia", [[[-179, 255, 256, 257, -254]]]], ["SN", "Senegal", [[[258, 259, 260, 261, 262, 263, 264]]]], ["ML", "Mali", [[[-261, 265, 266, 267, 268, 269, 270]]]], ["MR", "Mauritania", [[[-13, 271, -266, -260, 272]]]], ["BJ", "Benin", [[[273, 274, 275, 276, 277]]]], ["NE", "Niger", [[[-131, 278, 279, -277, 280, -268, 281, 282]]]], ["NG", "Nigeria", [[[-278, -280, 283, 284]]]], ["CM", "Cameroon", [[[-130, 285, 286, 287, 288, 289, -284, -279]]]], ["TG", "Togo", [[[-275, 290, 291, 292]]]], ["GH", "Ghana", [[[-292, 293, 294, 295]]]], ["CI", "C\xF4te d'Ivoire", [[[-270, 296, -295, 297, 298, 299]]]], ["GN", "Guinea", [[[-262, -271, -300, 300, 301, 302, 303]]]], ["GW", "Guinea-Bissau", [[[-263, -304, 304]]]], ["LR", "Liberia", [[[-299, 305, 306, -301]]]], ["SL", "Sierra Leone", [[[-302, -307, 307]]]], ["BF", "Burkina Faso", [[[-269, -281, -276, -293, -296, -297]]]], ["CF", "Central African Republic", [[[-108, 308, -286, -129, -121, 309]]]], ["CG", "Congo", [[[-107, 310, 311, 312, -287, -309]]]], ["GA", "Gabon", [[[-288, -313, 313, 314]]]], ["GQ", "Equatorial Guinea", [[[-289, -315, 315]]]], ["ZM", "Zambia", [[[-7, 316, 317, -252, -255, -258, 318, -103]]]], ["MW", "Malawi", [[[-6, 319, -317]]]], ["MZ", "Mozambique", [[[-5, 320, -184, 321, -182, -253, -318, -320]]]], ["SZ", "Eswatini", [[[-183, -322]]]], ["AO", "Angola", [[[-106, 322, -311]], [[-104, -319, -257, 323]]]], ["BI", "Burundi", [[[-9, -112, 324]]]], ["IL", "Israel", [[[325, 326, 327, 328, 329, 330, 331]]]], ["LB", "Lebanon", [[[-331, 332, 333]]]], ["MG", "Madagascar", [[[334]]]], ["PS", "Palestine", [[[-327, 335]]]], ["GM", "Gambia", [[[-265, 336]]]], ["TN", "Tunisia", [[[337, 338, 339]]]], ["DZ", "Algeria", [[[-12, 340, 341, -338, 342, -282, -267, -272]]]], ["JO", "Jordan", [[[-326, 343, 344, 345, 346, -328, -336]]]], ["AE", "United Arab Emirates", [[[347, 348, 349, 350, 351]]]], ["QA", "Qatar", [[[352, 353]]]], ["KW", "Kuwait", [[[354, 355, 356]]]], ["IQ", "Iraq", [[[-345, 357, 358, 359, 360, -357, 361]]]], ["OM", "Oman", [[[-351, 362, 363, 364]], [[-349, 365]]]], ["VU", "Vanuatu", [[[366]], [[367]]]], ["KH", "Cambodia", [[[368, 369, 370, 371]]]], ["TH", "Thailand", [[[-369, 372, 373, 374, 375, 376]]]], ["LA", "Laos", [[[-370, -377, 377, 378, 379]]]], ["MM", "Myanmar", [[[-376, 380, 381, 382, 383, -378]]]], ["VN", "Vietnam", [[[-371, -380, 384, 385]]]], ["KP", "North Korea", [[[386, 386, 386]], [[-147, 387, 388, 389, 390]]]], ["KR", "South Korea", [[[-389, 391]]]], ["MN", "Mongolia", [[[-149, 392]]]], ["IN", "India", [[[-383, 393, 394, 395, 396, 397, 398, 399, 400]]]], ["BD", "Bangladesh", [[[-382, 401, -394]]]], ["BT", "Bhutan", [[[-400, 402]]]], ["NP", "Nepal", [[[-398, 403]]]], ["PK", "Pakistan", [[[-396, 404, 405, 406, 407]]]], ["AF", "Afghanistan", [[[-69, 408, 409, -407, 410, 411]]]], ["TJ", "Tajikistan", [[[-68, 412, 413, -409]]]], ["KG", "Kyrgyzstan", [[[-62, 414, -413, -67]]]], ["TM", "Turkmenistan", [[[-64, -70, -412, 415, 416]]]], ["IR", "Iran", [[[-360, 417, 418, 419, 420, 421, -416, -411, -406, 422]]]], ["SY", "Syria", [[[-332, -334, 423, 424, -358, -344]]]], ["AM", "Armenia", [[[-420, 425, 426, 427, 428]]]], ["SE", "Sweden", [[[-172, 429, 430]]]], ["BY", "Belarus", [[[-156, 431, 432, 433, 434]]]], ["UA", "Ukraine", [[[-155, 435, -164, 436, 437, 438, 439, 440, 441, 442, -432]]]], ["PL", "Poland", [[[-433, -443, 443, 444, 445, 446, -142, 447]]]], ["AT", "Austria", [[[448, 449, 450, 451, 452, 453, 454]]]], ["HU", "Hungary", [[[-441, 455, 456, 457, 458, -449, 459]]]], ["MD", "Moldova", [[[-439, 460]]]], ["RO", "Romania", [[[-438, 461, 462, 463, -456, -440, -461]]]], ["LT", "Lithuania", [[[-434, -448, -144, 464, 465]]]], ["LV", "Latvia", [[[-157, -435, -466, 466, 467]]]], ["EE", "Estonia", [[[-158, -468, 468]]]], ["DE", "Germany", [[[-446, 469, -453, 470, -238, 471, 472, 473, 474, 475, 476]]]], ["BG", "Bulgaria", [[[-463, 477, 478, 479, 480, 481]]]], ["GR", "Greece", [[[482]], [[-480, 483, 484, 485, 486]]]], ["TR", "Turkey", [[[-359, -425, 487, 488, -427, -418]], [[-479, 489, -484]]]], ["AL", "Albania", [[[-486, 490, 491, 492, 493]]]], ["HR", "Croatia", [[[-458, 494, 495, 496, 497, 498]]]], ["CH", "Switzerland", [[[-452, 499, -239, -471]]]], ["LU", "Luxembourg", [[[-472, -245, 500]]]], ["BE", "Belgium", [[[-473, -501, -244, 501, 502]]]], ["NL", "Netherlands", [[[-474, -503, 503]]]], ["PT", "Portugal", [[[504, 505]]]], ["ES", "Spain", [[[-505, 506, -242, 507]]]], ["IE", "Ireland", [[[508, 509]]]], ["NC", "New Caledonia", [[[510]]]], ["SB", "Solomon Islands", [[[511]], [[512]], [[513]], [[514]], [[515]]]], ["NZ", "New Zealand", [[[516]], [[517]]]], ["AU", "Australia", [[[518]], [[519]]]], ["LK", "Sri Lanka", [[[520]]]], ["CN", "China", [[[521]], [[-61, -150, -393, -148, -391, 522, -385, -379, -384, -401, -403, -399, -404, -397, -408, -410, -414, -415]]]], ["TW", "Taiwan", [[[523]]]], ["IT", "Italy", [[[-451, 524, 525, -240, -500]], [[526]], [[527]]]], ["DK", "Denmark", [[[-476, 528]], [[529]]]], ["GB", "United Kingdom", [[[-510, 530]], [[531]]]], ["IS", "Iceland", [[[532]]]], ["AZ", "Azerbaijan", [[[-152, 533, -421, -429, 534]], [[-419, -426]]]], ["GE", "Georgia", [[[-153, -535, -428, -489, 535]]]], ["PH", "Philippines", [[[536]], [[537]], [[538]], [[539]], [[540]], [[541]], [[542]]]], ["MY", "Malaysia", [[[-374, 543]], [[-81, 544, 545, 546]]]], ["BN", "Brunei", [[[-546, 547]]]], ["SI", "Slovenia", [[[-450, -459, -499, 548, -525]]]], ["FI", "Finland", [[[-160, 549, -430, -171]]]], ["SK", "Slovakia", [[[-442, -460, -455, 550, -444]]]], ["CZ", "Czechia", [[[-445, -551, -454, -470]]]], ["ER", "Eritrea", [[[-126, 551, 552, 553]]]], ["JP", "Japan", [[[554]], [[555]], [[556]]]], ["PY", "Paraguay", [[[-193, -97, -202]]]], ["YE", "Yemen", [[[-364, 557, 558]]]], ["SA", "Saudi Arabia", [[[-346, -362, -356, 559, -354, 560, -352, -365, -559, 561]]]], ["AQ", "Antarctica", [[[562]], [[563]], [[564]], [[565]], [[566]], [[567]], [[568]], [[569]]]], ["", "Northern Cyprus", [[[570, 571]]]], ["CY", "Cyprus", [[[-572, 572]]]], ["MA", "Morocco", [[[-341, -15, 573]]]], ["EG", "Egypt", [[[-124, 574, 575, -329, 576]]]], ["LY", "Libya", [[[-123, -132, -283, -343, -340, 577, -575]]]], ["ET", "Ethiopia", [[[-114, -119, 578, -127, -554, 579, 580]]]], ["DJ", "Djibouti", [[[-553, 581, 582, -580]]]], ["", "Somaliland", [[[-115, -581, -583, 583]]]], ["UG", "Uganda", [[[-11, 584, -110, 585, -117]]]], ["RW", "Rwanda", [[[-10, -325, -111, -585]]]], ["BA", "Bosnia and Herzegovina", [[[-496, 586, 587]]]], ["MK", "North Macedonia", [[[-481, -487, -494, 588, 589]]]], ["RS", "Serbia", [[[-457, -464, -482, -590, 590, 591, -587, -495]]]], ["ME", "Montenegro", [[[-492, 592, -497, -588, -592, 593]]]], ["XK", "Kosovo", [[[-493, -594, -591, -589]]]], ["TT", "Trinidad and Tobago", [[[594]]]], ["SS", "South Sudan", [[[-109, -310, -128, -579, -118, -586]]]]];
4
+ export {
5
+ GLOBE_ARCS,
6
+ GLOBE_COUNTRIES,
7
+ GLOBE_GRID
8
+ };
9
+ //# sourceMappingURL=globe-data.mjs.map