@42-central/ui-react 0.0.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1248) hide show
  1. package/README.md +315 -2
  2. package/dist/chunk-2762HZYX.js +284 -0
  3. package/dist/chunk-2762HZYX.js.map +1 -0
  4. package/dist/chunk-2GILNBZW.js +31 -0
  5. package/dist/chunk-2GILNBZW.js.map +1 -0
  6. package/dist/chunk-2H46IXW4.js +264 -0
  7. package/dist/chunk-2H46IXW4.js.map +1 -0
  8. package/dist/chunk-2SVX3MQQ.js +78 -0
  9. package/dist/chunk-2SVX3MQQ.js.map +1 -0
  10. package/dist/chunk-3GYOIQW7.js +242 -0
  11. package/dist/chunk-3GYOIQW7.js.map +1 -0
  12. package/dist/chunk-3NZXWCGF.js +152 -0
  13. package/dist/chunk-3NZXWCGF.js.map +1 -0
  14. package/dist/chunk-44OV3PNH.js +294 -0
  15. package/dist/chunk-44OV3PNH.js.map +1 -0
  16. package/dist/chunk-5FDOOG4J.js +15 -0
  17. package/dist/chunk-5FDOOG4J.js.map +1 -0
  18. package/dist/chunk-6I4R3HR6.js +90 -0
  19. package/dist/chunk-6I4R3HR6.js.map +1 -0
  20. package/dist/chunk-6SWK4XG5.js +128 -0
  21. package/dist/chunk-6SWK4XG5.js.map +1 -0
  22. package/dist/chunk-7NZSTCJO.js +82 -0
  23. package/dist/chunk-7NZSTCJO.js.map +1 -0
  24. package/dist/chunk-7P32XCEU.js +15 -0
  25. package/dist/chunk-7P32XCEU.js.map +1 -0
  26. package/dist/chunk-AIQG7IIT.js +39 -0
  27. package/dist/chunk-AIQG7IIT.js.map +1 -0
  28. package/dist/chunk-B2LCHXUB.js +26 -0
  29. package/dist/chunk-B2LCHXUB.js.map +1 -0
  30. package/dist/chunk-BEL75C7N.js +35 -0
  31. package/dist/chunk-BEL75C7N.js.map +1 -0
  32. package/dist/chunk-BJZLQTAZ.js +3 -0
  33. package/dist/chunk-BJZLQTAZ.js.map +1 -0
  34. package/dist/chunk-BUIHQJGE.js +8 -0
  35. package/dist/chunk-BUIHQJGE.js.map +1 -0
  36. package/dist/chunk-CHTN5AHI.js +106 -0
  37. package/dist/chunk-CHTN5AHI.js.map +1 -0
  38. package/dist/chunk-CSCVTESP.js +58 -0
  39. package/dist/chunk-CSCVTESP.js.map +1 -0
  40. package/dist/chunk-EEMRRRYS.js +60 -0
  41. package/dist/chunk-EEMRRRYS.js.map +1 -0
  42. package/dist/chunk-EVVMHTCL.js +216 -0
  43. package/dist/chunk-EVVMHTCL.js.map +1 -0
  44. package/dist/chunk-FD6P6PLQ.js +153 -0
  45. package/dist/chunk-FD6P6PLQ.js.map +1 -0
  46. package/dist/chunk-FMMKEYHB.js +3 -0
  47. package/dist/chunk-FMMKEYHB.js.map +1 -0
  48. package/dist/chunk-FUWSTUDM.js +219 -0
  49. package/dist/chunk-FUWSTUDM.js.map +1 -0
  50. package/dist/chunk-G52U24GR.js +10 -0
  51. package/dist/chunk-G52U24GR.js.map +1 -0
  52. package/dist/chunk-GTKKRV5N.js +14 -0
  53. package/dist/chunk-GTKKRV5N.js.map +1 -0
  54. package/dist/chunk-HWNPXAEN.js +31 -0
  55. package/dist/chunk-HWNPXAEN.js.map +1 -0
  56. package/dist/chunk-IFWCCAQV.js +222 -0
  57. package/dist/chunk-IFWCCAQV.js.map +1 -0
  58. package/dist/chunk-IG7FBZVM.js +101 -0
  59. package/dist/chunk-IG7FBZVM.js.map +1 -0
  60. package/dist/chunk-IHYFYMHJ.js +167 -0
  61. package/dist/chunk-IHYFYMHJ.js.map +1 -0
  62. package/dist/chunk-IRXZHLUL.js +51 -0
  63. package/dist/chunk-IRXZHLUL.js.map +1 -0
  64. package/dist/chunk-IXKELBJA.js +202 -0
  65. package/dist/chunk-IXKELBJA.js.map +1 -0
  66. package/dist/chunk-J3PELDH3.js +279 -0
  67. package/dist/chunk-J3PELDH3.js.map +1 -0
  68. package/dist/chunk-JBVFWSRQ.js +21 -0
  69. package/dist/chunk-JBVFWSRQ.js.map +1 -0
  70. package/dist/chunk-MOI7B3KH.js +217 -0
  71. package/dist/chunk-MOI7B3KH.js.map +1 -0
  72. package/dist/chunk-NF5JM2YO.js +57 -0
  73. package/dist/chunk-NF5JM2YO.js.map +1 -0
  74. package/dist/chunk-NGAQITWP.js +156 -0
  75. package/dist/chunk-NGAQITWP.js.map +1 -0
  76. package/dist/chunk-NSDM3FEB.js +82 -0
  77. package/dist/chunk-NSDM3FEB.js.map +1 -0
  78. package/dist/chunk-NSOA3GMZ.js +376 -0
  79. package/dist/chunk-NSOA3GMZ.js.map +1 -0
  80. package/dist/chunk-ORTCK34Y.js +3 -0
  81. package/dist/chunk-ORTCK34Y.js.map +1 -0
  82. package/dist/chunk-P3XMBETI.js +26 -0
  83. package/dist/chunk-P3XMBETI.js.map +1 -0
  84. package/dist/chunk-P7A3BCAC.js +93 -0
  85. package/dist/chunk-P7A3BCAC.js.map +1 -0
  86. package/dist/chunk-POKDSVQT.js +223 -0
  87. package/dist/chunk-POKDSVQT.js.map +1 -0
  88. package/dist/chunk-QMW7D5GU.js +207 -0
  89. package/dist/chunk-QMW7D5GU.js.map +1 -0
  90. package/dist/chunk-QP4I37PA.js +14 -0
  91. package/dist/chunk-QP4I37PA.js.map +1 -0
  92. package/dist/chunk-R5GMMWAY.js +3 -0
  93. package/dist/chunk-R5GMMWAY.js.map +1 -0
  94. package/dist/chunk-S53FHWNG.js +30 -0
  95. package/dist/chunk-S53FHWNG.js.map +1 -0
  96. package/dist/chunk-SIG4DMNZ.js +238 -0
  97. package/dist/chunk-SIG4DMNZ.js.map +1 -0
  98. package/dist/chunk-SKPM2FRX.js +44 -0
  99. package/dist/chunk-SKPM2FRX.js.map +1 -0
  100. package/dist/chunk-TCWYBVIL.js +33 -0
  101. package/dist/chunk-TCWYBVIL.js.map +1 -0
  102. package/dist/chunk-TNNH3FVQ.js +155 -0
  103. package/dist/chunk-TNNH3FVQ.js.map +1 -0
  104. package/dist/chunk-TWGCWKRV.js +44 -0
  105. package/dist/chunk-TWGCWKRV.js.map +1 -0
  106. package/dist/chunk-U5GW5EBR.js +150 -0
  107. package/dist/chunk-U5GW5EBR.js.map +1 -0
  108. package/dist/chunk-UNSAA7YG.js +148 -0
  109. package/dist/chunk-UNSAA7YG.js.map +1 -0
  110. package/dist/chunk-UVYTJQTJ.js +14 -0
  111. package/dist/chunk-UVYTJQTJ.js.map +1 -0
  112. package/dist/chunk-VLUKI3HL.js +120 -0
  113. package/dist/chunk-VLUKI3HL.js.map +1 -0
  114. package/dist/chunk-VZ2TPU4B.js +348 -0
  115. package/dist/chunk-VZ2TPU4B.js.map +1 -0
  116. package/dist/chunk-VZH6TS7M.js +153 -0
  117. package/dist/chunk-VZH6TS7M.js.map +1 -0
  118. package/dist/chunk-WYCMIIRR.js +12 -0
  119. package/dist/chunk-WYCMIIRR.js.map +1 -0
  120. package/dist/chunk-WZB6LPQI.js +47 -0
  121. package/dist/chunk-WZB6LPQI.js.map +1 -0
  122. package/dist/chunk-YBJB7FGE.js +187 -0
  123. package/dist/chunk-YBJB7FGE.js.map +1 -0
  124. package/dist/chunk-YIQI2CF3.js +92 -0
  125. package/dist/chunk-YIQI2CF3.js.map +1 -0
  126. package/dist/chunk-YKUCSV34.js +72 -0
  127. package/dist/chunk-YKUCSV34.js.map +1 -0
  128. package/dist/chunk-YON5Y336.js +639 -0
  129. package/dist/chunk-YON5Y336.js.map +1 -0
  130. package/dist/chunk-ZP6EBROY.js +3 -0
  131. package/dist/chunk-ZP6EBROY.js.map +1 -0
  132. package/dist/colors.css +296 -0
  133. package/dist/components/accordion/accordion-data.d.ts +52 -0
  134. package/dist/components/accordion/accordion-data.d.ts.map +1 -0
  135. package/dist/components/accordion/accordion.d.ts +116 -0
  136. package/dist/components/accordion/accordion.d.ts.map +1 -0
  137. package/dist/components/accordion/index.d.ts +3 -0
  138. package/dist/components/accordion/index.d.ts.map +1 -0
  139. package/dist/components/accordion/index.js +206 -0
  140. package/dist/components/accordion/index.js.map +1 -0
  141. package/dist/components/action-icon/action-icon.d.ts +51 -0
  142. package/dist/components/action-icon/action-icon.d.ts.map +1 -0
  143. package/dist/components/action-icon/index.d.ts +2 -0
  144. package/dist/components/action-icon/index.d.ts.map +1 -0
  145. package/dist/components/action-icon/index.js +8 -0
  146. package/dist/components/action-icon/index.js.map +1 -0
  147. package/dist/components/alert/alert.d.ts +90 -0
  148. package/dist/components/alert/alert.d.ts.map +1 -0
  149. package/dist/components/alert/index.d.ts +2 -0
  150. package/dist/components/alert/index.d.ts.map +1 -0
  151. package/dist/components/alert/index.js +74 -0
  152. package/dist/components/alert/index.js.map +1 -0
  153. package/dist/components/ambient-background/ambient-background.d.ts +47 -0
  154. package/dist/components/ambient-background/ambient-background.d.ts.map +1 -0
  155. package/dist/components/ambient-background/index.d.ts +2 -0
  156. package/dist/components/ambient-background/index.d.ts.map +1 -0
  157. package/dist/components/ambient-background/index.js +35 -0
  158. package/dist/components/ambient-background/index.js.map +1 -0
  159. package/dist/components/app-shell/app-shell.d.ts +185 -0
  160. package/dist/components/app-shell/app-shell.d.ts.map +1 -0
  161. package/dist/components/app-shell/index.d.ts +2 -0
  162. package/dist/components/app-shell/index.d.ts.map +1 -0
  163. package/dist/components/app-shell/index.js +243 -0
  164. package/dist/components/app-shell/index.js.map +1 -0
  165. package/dist/components/autocomplete/autocomplete.d.ts +70 -0
  166. package/dist/components/autocomplete/autocomplete.d.ts.map +1 -0
  167. package/dist/components/autocomplete/index.d.ts +3 -0
  168. package/dist/components/autocomplete/index.d.ts.map +1 -0
  169. package/dist/components/autocomplete/index.js +149 -0
  170. package/dist/components/autocomplete/index.js.map +1 -0
  171. package/dist/components/avatar/avatar.d.ts +105 -0
  172. package/dist/components/avatar/avatar.d.ts.map +1 -0
  173. package/dist/components/avatar/index.d.ts +2 -0
  174. package/dist/components/avatar/index.d.ts.map +1 -0
  175. package/dist/components/avatar/index.js +211 -0
  176. package/dist/components/avatar/index.js.map +1 -0
  177. package/dist/components/badge/badge.d.ts +48 -0
  178. package/dist/components/badge/badge.d.ts.map +1 -0
  179. package/dist/components/badge/index.d.ts +2 -0
  180. package/dist/components/badge/index.d.ts.map +1 -0
  181. package/dist/components/badge/index.js +102 -0
  182. package/dist/components/badge/index.js.map +1 -0
  183. package/dist/components/breadcrumb/breadcrumb.d.ts +64 -0
  184. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  185. package/dist/components/breadcrumb/index.d.ts +2 -0
  186. package/dist/components/breadcrumb/index.d.ts.map +1 -0
  187. package/dist/components/breadcrumb/index.js +203 -0
  188. package/dist/components/breadcrumb/index.js.map +1 -0
  189. package/dist/components/button/button.d.ts +72 -0
  190. package/dist/components/button/button.d.ts.map +1 -0
  191. package/dist/components/button/index.d.ts +2 -0
  192. package/dist/components/button/index.d.ts.map +1 -0
  193. package/dist/components/button/index.js +9 -0
  194. package/dist/components/button/index.js.map +1 -0
  195. package/dist/components/button-group/button-group.d.ts +49 -0
  196. package/dist/components/button-group/button-group.d.ts.map +1 -0
  197. package/dist/components/button-group/index.d.ts +2 -0
  198. package/dist/components/button-group/index.d.ts.map +1 -0
  199. package/dist/components/button-group/index.js +5 -0
  200. package/dist/components/button-group/index.js.map +1 -0
  201. package/dist/components/button-multi-select/button-multi-select.d.ts +39 -0
  202. package/dist/components/button-multi-select/button-multi-select.d.ts.map +1 -0
  203. package/dist/components/button-multi-select/index.d.ts +5 -0
  204. package/dist/components/button-multi-select/index.d.ts.map +1 -0
  205. package/dist/components/button-multi-select/index.js +45 -0
  206. package/dist/components/button-multi-select/index.js.map +1 -0
  207. package/dist/components/button-select/button-select-control.d.ts +56 -0
  208. package/dist/components/button-select/button-select-control.d.ts.map +1 -0
  209. package/dist/components/button-select/button-select-data.d.ts +53 -0
  210. package/dist/components/button-select/button-select-data.d.ts.map +1 -0
  211. package/dist/components/button-select/button-select-items.d.ts +72 -0
  212. package/dist/components/button-select/button-select-items.d.ts.map +1 -0
  213. package/dist/components/button-select/button-select.d.ts +98 -0
  214. package/dist/components/button-select/button-select.d.ts.map +1 -0
  215. package/dist/components/button-select/index.d.ts +5 -0
  216. package/dist/components/button-select/index.d.ts.map +1 -0
  217. package/dist/components/button-select/index.js +45 -0
  218. package/dist/components/button-select/index.js.map +1 -0
  219. package/dist/components/calendar/calendar-body.d.ts +48 -0
  220. package/dist/components/calendar/calendar-body.d.ts.map +1 -0
  221. package/dist/components/calendar/calendar.d.ts +88 -0
  222. package/dist/components/calendar/calendar.d.ts.map +1 -0
  223. package/dist/components/calendar/index.d.ts +4 -0
  224. package/dist/components/calendar/index.d.ts.map +1 -0
  225. package/dist/components/calendar/index.js +11 -0
  226. package/dist/components/calendar/index.js.map +1 -0
  227. package/dist/components/card/card.d.ts +69 -0
  228. package/dist/components/card/card.d.ts.map +1 -0
  229. package/dist/components/card/index.d.ts +2 -0
  230. package/dist/components/card/index.d.ts.map +1 -0
  231. package/dist/components/card/index.js +6 -0
  232. package/dist/components/card/index.js.map +1 -0
  233. package/dist/components/chart/chart.d.ts +103 -0
  234. package/dist/components/chart/chart.d.ts.map +1 -0
  235. package/dist/components/chart/index.d.ts +2 -0
  236. package/dist/components/chart/index.d.ts.map +1 -0
  237. package/dist/components/chart/index.js +70 -0
  238. package/dist/components/chart/index.js.map +1 -0
  239. package/dist/components/chart/styles.css +50 -0
  240. package/dist/components/checkbox/checkbox.d.ts +74 -0
  241. package/dist/components/checkbox/checkbox.d.ts.map +1 -0
  242. package/dist/components/checkbox/control.d.ts +28 -0
  243. package/dist/components/checkbox/control.d.ts.map +1 -0
  244. package/dist/components/checkbox/index.d.ts +2 -0
  245. package/dist/components/checkbox/index.d.ts.map +1 -0
  246. package/dist/components/checkbox/index.js +10 -0
  247. package/dist/components/checkbox/index.js.map +1 -0
  248. package/dist/components/choice-card-group/choice-card-group.d.ts +148 -0
  249. package/dist/components/choice-card-group/choice-card-group.d.ts.map +1 -0
  250. package/dist/components/choice-card-group/index.d.ts +2 -0
  251. package/dist/components/choice-card-group/index.d.ts.map +1 -0
  252. package/dist/components/choice-card-group/index.js +280 -0
  253. package/dist/components/choice-card-group/index.js.map +1 -0
  254. package/dist/components/circular-progress/circular-progress.d.ts +49 -0
  255. package/dist/components/circular-progress/circular-progress.d.ts.map +1 -0
  256. package/dist/components/circular-progress/index.d.ts +2 -0
  257. package/dist/components/circular-progress/index.d.ts.map +1 -0
  258. package/dist/components/circular-progress/index.js +133 -0
  259. package/dist/components/circular-progress/index.js.map +1 -0
  260. package/dist/components/clipboard/clipboard.d.ts +95 -0
  261. package/dist/components/clipboard/clipboard.d.ts.map +1 -0
  262. package/dist/components/clipboard/copy.d.ts +67 -0
  263. package/dist/components/clipboard/copy.d.ts.map +1 -0
  264. package/dist/components/clipboard/index.d.ts +3 -0
  265. package/dist/components/clipboard/index.d.ts.map +1 -0
  266. package/dist/components/clipboard/index.js +86 -0
  267. package/dist/components/clipboard/index.js.map +1 -0
  268. package/dist/components/code/code.d.ts +37 -0
  269. package/dist/components/code/code.d.ts.map +1 -0
  270. package/dist/components/code/index.d.ts +2 -0
  271. package/dist/components/code/index.d.ts.map +1 -0
  272. package/dist/components/code/index.js +28 -0
  273. package/dist/components/code/index.js.map +1 -0
  274. package/dist/components/code-block/chrome.d.ts +77 -0
  275. package/dist/components/code-block/chrome.d.ts.map +1 -0
  276. package/dist/components/code-block/chrome.js +15 -0
  277. package/dist/components/code-block/chrome.js.map +1 -0
  278. package/dist/components/code-block/code-block.d.ts +99 -0
  279. package/dist/components/code-block/code-block.d.ts.map +1 -0
  280. package/dist/components/code-block/diff.d.ts +79 -0
  281. package/dist/components/code-block/diff.d.ts.map +1 -0
  282. package/dist/components/code-block/diff.js +23 -0
  283. package/dist/components/code-block/diff.js.map +1 -0
  284. package/dist/components/code-block/gutters.d.ts +100 -0
  285. package/dist/components/code-block/gutters.d.ts.map +1 -0
  286. package/dist/components/code-block/highlighter.d.ts +84 -0
  287. package/dist/components/code-block/highlighter.d.ts.map +1 -0
  288. package/dist/components/code-block/index.d.ts +23 -0
  289. package/dist/components/code-block/index.d.ts.map +1 -0
  290. package/dist/components/code-block/index.js +463 -0
  291. package/dist/components/code-block/index.js.map +1 -0
  292. package/dist/components/code-block/notation.d.ts +126 -0
  293. package/dist/components/code-block/notation.d.ts.map +1 -0
  294. package/dist/components/code-block/presets.d.ts +23 -0
  295. package/dist/components/code-block/presets.d.ts.map +1 -0
  296. package/dist/components/code-block/static.d.ts +65 -0
  297. package/dist/components/code-block/static.d.ts.map +1 -0
  298. package/dist/components/code-block/static.js +380 -0
  299. package/dist/components/code-block/static.js.map +1 -0
  300. package/dist/components/code-block/styles.css +198 -0
  301. package/dist/components/collapse/collapse.d.ts +50 -0
  302. package/dist/components/collapse/collapse.d.ts.map +1 -0
  303. package/dist/components/collapse/index.d.ts +2 -0
  304. package/dist/components/collapse/index.d.ts.map +1 -0
  305. package/dist/components/collapse/index.js +5 -0
  306. package/dist/components/collapse/index.js.map +1 -0
  307. package/dist/components/combobox/combobox.d.ts +78 -0
  308. package/dist/components/combobox/combobox.d.ts.map +1 -0
  309. package/dist/components/combobox/index.d.ts +3 -0
  310. package/dist/components/combobox/index.d.ts.map +1 -0
  311. package/dist/components/combobox/index.js +15 -0
  312. package/dist/components/combobox/index.js.map +1 -0
  313. package/dist/components/combobox-list/combobox-list.d.ts +77 -0
  314. package/dist/components/combobox-list/combobox-list.d.ts.map +1 -0
  315. package/dist/components/combobox-list/index.d.ts +2 -0
  316. package/dist/components/combobox-list/index.d.ts.map +1 -0
  317. package/dist/components/combobox-list/index.js +16 -0
  318. package/dist/components/combobox-list/index.js.map +1 -0
  319. package/dist/components/container/container.d.ts +18 -0
  320. package/dist/components/container/container.d.ts.map +1 -0
  321. package/dist/components/container/index.d.ts +2 -0
  322. package/dist/components/container/index.d.ts.map +1 -0
  323. package/dist/components/container/index.js +40 -0
  324. package/dist/components/container/index.js.map +1 -0
  325. package/dist/components/data-table/data-table-features.d.ts +80 -0
  326. package/dist/components/data-table/data-table-features.d.ts.map +1 -0
  327. package/dist/components/data-table/data-table-filter/data-table-date-filter.d.ts +53 -0
  328. package/dist/components/data-table/data-table-filter/data-table-date-filter.d.ts.map +1 -0
  329. package/dist/components/data-table/data-table-filter/data-table-filter-fns.d.ts +18 -0
  330. package/dist/components/data-table/data-table-filter/data-table-filter-fns.d.ts.map +1 -0
  331. package/dist/components/data-table/data-table-filter/data-table-number-filter.d.ts +7 -0
  332. package/dist/components/data-table/data-table-filter/data-table-number-filter.d.ts.map +1 -0
  333. package/dist/components/data-table/data-table-filter/data-table-select-filter.d.ts +15 -0
  334. package/dist/components/data-table/data-table-filter/data-table-select-filter.d.ts.map +1 -0
  335. package/dist/components/data-table/data-table-filter/data-table-text-filter.d.ts +7 -0
  336. package/dist/components/data-table/data-table-filter/data-table-text-filter.d.ts.map +1 -0
  337. package/dist/components/data-table/data-table-filter/index.d.ts +15 -0
  338. package/dist/components/data-table/data-table-filter/index.d.ts.map +1 -0
  339. package/dist/components/data-table/data-table-filter/utils.d.ts +52 -0
  340. package/dist/components/data-table/data-table-filter/utils.d.ts.map +1 -0
  341. package/dist/components/data-table/data-table-header-cell.d.ts +65 -0
  342. package/dist/components/data-table/data-table-header-cell.d.ts.map +1 -0
  343. package/dist/components/data-table/data-table-meta.d.ts +103 -0
  344. package/dist/components/data-table/data-table-meta.d.ts.map +1 -0
  345. package/dist/components/data-table/data-table-pagination.d.ts +56 -0
  346. package/dist/components/data-table/data-table-pagination.d.ts.map +1 -0
  347. package/dist/components/data-table/data-table-placeholder.d.ts +18 -0
  348. package/dist/components/data-table/data-table-placeholder.d.ts.map +1 -0
  349. package/dist/components/data-table/data-table-schema.d.ts +45 -0
  350. package/dist/components/data-table/data-table-schema.d.ts.map +1 -0
  351. package/dist/components/data-table/data-table-skeleton.d.ts +10 -0
  352. package/dist/components/data-table/data-table-skeleton.d.ts.map +1 -0
  353. package/dist/components/data-table/data-table-stack.d.ts +48 -0
  354. package/dist/components/data-table/data-table-stack.d.ts.map +1 -0
  355. package/dist/components/data-table/data-table-state.d.ts +10 -0
  356. package/dist/components/data-table/data-table-state.d.ts.map +1 -0
  357. package/dist/components/data-table/data-table-toolbar.d.ts +21 -0
  358. package/dist/components/data-table/data-table-toolbar.d.ts.map +1 -0
  359. package/dist/components/data-table/data-table.d.ts +194 -0
  360. package/dist/components/data-table/data-table.d.ts.map +1 -0
  361. package/dist/components/data-table/index.d.ts +14 -0
  362. package/dist/components/data-table/index.d.ts.map +1 -0
  363. package/dist/components/data-table/index.js +1603 -0
  364. package/dist/components/data-table/index.js.map +1 -0
  365. package/dist/components/date-picker/aliases.d.ts +11 -0
  366. package/dist/components/date-picker/aliases.d.ts.map +1 -0
  367. package/dist/components/date-picker/date-picker.d.ts +204 -0
  368. package/dist/components/date-picker/date-picker.d.ts.map +1 -0
  369. package/dist/components/date-picker/date-time-text.d.ts +32 -0
  370. package/dist/components/date-picker/date-time-text.d.ts.map +1 -0
  371. package/dist/components/date-picker/index.d.ts +7 -0
  372. package/dist/components/date-picker/index.d.ts.map +1 -0
  373. package/dist/components/date-picker/index.js +48 -0
  374. package/dist/components/date-picker/index.js.map +1 -0
  375. package/dist/components/divider/divider.d.ts +79 -0
  376. package/dist/components/divider/divider.d.ts.map +1 -0
  377. package/dist/components/divider/index.d.ts +2 -0
  378. package/dist/components/divider/index.d.ts.map +1 -0
  379. package/dist/components/divider/index.js +5 -0
  380. package/dist/components/divider/index.js.map +1 -0
  381. package/dist/components/drawer/drawer.d.ts +103 -0
  382. package/dist/components/drawer/drawer.d.ts.map +1 -0
  383. package/dist/components/drawer/index.d.ts +2 -0
  384. package/dist/components/drawer/index.d.ts.map +1 -0
  385. package/dist/components/drawer/index.js +13 -0
  386. package/dist/components/drawer/index.js.map +1 -0
  387. package/dist/components/field/field.d.ts +79 -0
  388. package/dist/components/field/field.d.ts.map +1 -0
  389. package/dist/components/field/index.d.ts +2 -0
  390. package/dist/components/field/index.d.ts.map +1 -0
  391. package/dist/components/field/index.js +6 -0
  392. package/dist/components/field/index.js.map +1 -0
  393. package/dist/components/file-upload/file-upload.d.ts +68 -0
  394. package/dist/components/file-upload/file-upload.d.ts.map +1 -0
  395. package/dist/components/file-upload/index.d.ts +2 -0
  396. package/dist/components/file-upload/index.d.ts.map +1 -0
  397. package/dist/components/file-upload/index.js +189 -0
  398. package/dist/components/file-upload/index.js.map +1 -0
  399. package/dist/components/flex/flex.d.ts +25 -0
  400. package/dist/components/flex/flex.d.ts.map +1 -0
  401. package/dist/components/flex/index.d.ts +2 -0
  402. package/dist/components/flex/index.d.ts.map +1 -0
  403. package/dist/components/flex/index.js +5 -0
  404. package/dist/components/flex/index.js.map +1 -0
  405. package/dist/components/grid/grid.d.ts +21 -0
  406. package/dist/components/grid/grid.d.ts.map +1 -0
  407. package/dist/components/grid/index.d.ts +2 -0
  408. package/dist/components/grid/index.d.ts.map +1 -0
  409. package/dist/components/grid/index.js +44 -0
  410. package/dist/components/grid/index.js.map +1 -0
  411. package/dist/components/hover-card/hover-card.d.ts +122 -0
  412. package/dist/components/hover-card/hover-card.d.ts.map +1 -0
  413. package/dist/components/hover-card/index.d.ts +2 -0
  414. package/dist/components/hover-card/index.d.ts.map +1 -0
  415. package/dist/components/hover-card/index.js +157 -0
  416. package/dist/components/hover-card/index.js.map +1 -0
  417. package/dist/components/indicator/index.d.ts +2 -0
  418. package/dist/components/indicator/index.d.ts.map +1 -0
  419. package/dist/components/indicator/index.js +152 -0
  420. package/dist/components/indicator/index.js.map +1 -0
  421. package/dist/components/indicator/indicator.d.ts +69 -0
  422. package/dist/components/indicator/indicator.d.ts.map +1 -0
  423. package/dist/components/input/index.d.ts +2 -0
  424. package/dist/components/input/index.d.ts.map +1 -0
  425. package/dist/components/input/index.js +7 -0
  426. package/dist/components/input/index.js.map +1 -0
  427. package/dist/components/input/input.d.ts +116 -0
  428. package/dist/components/input/input.d.ts.map +1 -0
  429. package/dist/components/kbd/index.d.ts +2 -0
  430. package/dist/components/kbd/index.d.ts.map +1 -0
  431. package/dist/components/kbd/index.js +65 -0
  432. package/dist/components/kbd/index.js.map +1 -0
  433. package/dist/components/kbd/kbd.d.ts +43 -0
  434. package/dist/components/kbd/kbd.d.ts.map +1 -0
  435. package/dist/components/mark/index.d.ts +2 -0
  436. package/dist/components/mark/index.d.ts.map +1 -0
  437. package/dist/components/mark/index.js +5 -0
  438. package/dist/components/mark/index.js.map +1 -0
  439. package/dist/components/mark/mark.d.ts +50 -0
  440. package/dist/components/mark/mark.d.ts.map +1 -0
  441. package/dist/components/menu/index.d.ts +3 -0
  442. package/dist/components/menu/index.d.ts.map +1 -0
  443. package/dist/components/menu/index.js +88 -0
  444. package/dist/components/menu/index.js.map +1 -0
  445. package/dist/components/menu/menu-data.d.ts +119 -0
  446. package/dist/components/menu/menu-data.d.ts.map +1 -0
  447. package/dist/components/menu/menu.d.ts +123 -0
  448. package/dist/components/menu/menu.d.ts.map +1 -0
  449. package/dist/components/modal/index.d.ts +2 -0
  450. package/dist/components/modal/index.d.ts.map +1 -0
  451. package/dist/components/modal/index.js +12 -0
  452. package/dist/components/modal/index.js.map +1 -0
  453. package/dist/components/modal/modal.d.ts +100 -0
  454. package/dist/components/modal/modal.d.ts.map +1 -0
  455. package/dist/components/multi-combobox-list/index.d.ts +2 -0
  456. package/dist/components/multi-combobox-list/index.d.ts.map +1 -0
  457. package/dist/components/multi-combobox-list/index.js +16 -0
  458. package/dist/components/multi-combobox-list/index.js.map +1 -0
  459. package/dist/components/multi-combobox-list/multi-combobox-list.d.ts +83 -0
  460. package/dist/components/multi-combobox-list/multi-combobox-list.d.ts.map +1 -0
  461. package/dist/components/multi-select/index.d.ts +3 -0
  462. package/dist/components/multi-select/index.d.ts.map +1 -0
  463. package/dist/components/multi-select/index.js +203 -0
  464. package/dist/components/multi-select/index.js.map +1 -0
  465. package/dist/components/multi-select/multi-select.d.ts +83 -0
  466. package/dist/components/multi-select/multi-select.d.ts.map +1 -0
  467. package/dist/components/nav-link/index.d.ts +3 -0
  468. package/dist/components/nav-link/index.d.ts.map +1 -0
  469. package/dist/components/nav-link/index.js +11 -0
  470. package/dist/components/nav-link/index.js.map +1 -0
  471. package/dist/components/nav-link/nav-link.d.ts +40 -0
  472. package/dist/components/nav-link/nav-link.d.ts.map +1 -0
  473. package/dist/components/nav-link/navigation.d.ts +45 -0
  474. package/dist/components/nav-link/navigation.d.ts.map +1 -0
  475. package/dist/components/nav-link/tanstack.d.ts +38 -0
  476. package/dist/components/nav-link/tanstack.d.ts.map +1 -0
  477. package/dist/components/nav-link/tanstack.js +21 -0
  478. package/dist/components/nav-link/tanstack.js.map +1 -0
  479. package/dist/components/notification/create-notifier.d.ts +117 -0
  480. package/dist/components/notification/create-notifier.d.ts.map +1 -0
  481. package/dist/components/notification/index.d.ts +5 -0
  482. package/dist/components/notification/index.d.ts.map +1 -0
  483. package/dist/components/notification/index.js +388 -0
  484. package/dist/components/notification/index.js.map +1 -0
  485. package/dist/components/notification/notification.d.ts +124 -0
  486. package/dist/components/notification/notification.d.ts.map +1 -0
  487. package/dist/components/notification/store.d.ts +42 -0
  488. package/dist/components/notification/store.d.ts.map +1 -0
  489. package/dist/components/notification/types.d.ts +62 -0
  490. package/dist/components/notification/types.d.ts.map +1 -0
  491. package/dist/components/number-input/index.d.ts +2 -0
  492. package/dist/components/number-input/index.d.ts.map +1 -0
  493. package/dist/components/number-input/index.js +16 -0
  494. package/dist/components/number-input/index.js.map +1 -0
  495. package/dist/components/number-input/number-input.d.ts +105 -0
  496. package/dist/components/number-input/number-input.d.ts.map +1 -0
  497. package/dist/components/overlays/create-overlays.d.ts +77 -0
  498. package/dist/components/overlays/create-overlays.d.ts.map +1 -0
  499. package/dist/components/overlays/index.d.ts +4 -0
  500. package/dist/components/overlays/index.d.ts.map +1 -0
  501. package/dist/components/overlays/index.js +332 -0
  502. package/dist/components/overlays/index.js.map +1 -0
  503. package/dist/components/overlays/renderer.d.ts +30 -0
  504. package/dist/components/overlays/renderer.d.ts.map +1 -0
  505. package/dist/components/overlays/store.d.ts +33 -0
  506. package/dist/components/overlays/store.d.ts.map +1 -0
  507. package/dist/components/overlays/types.d.ts +119 -0
  508. package/dist/components/overlays/types.d.ts.map +1 -0
  509. package/dist/components/password-input/index.d.ts +2 -0
  510. package/dist/components/password-input/index.d.ts.map +1 -0
  511. package/dist/components/password-input/index.js +125 -0
  512. package/dist/components/password-input/index.js.map +1 -0
  513. package/dist/components/password-input/password-input.d.ts +65 -0
  514. package/dist/components/password-input/password-input.d.ts.map +1 -0
  515. package/dist/components/pill/index.d.ts +2 -0
  516. package/dist/components/pill/index.d.ts.map +1 -0
  517. package/dist/components/pill/index.js +8 -0
  518. package/dist/components/pill/index.js.map +1 -0
  519. package/dist/components/pill/pill.d.ts +69 -0
  520. package/dist/components/pill/pill.d.ts.map +1 -0
  521. package/dist/components/pills-input/index.d.ts +2 -0
  522. package/dist/components/pills-input/index.d.ts.map +1 -0
  523. package/dist/components/pills-input/index.js +10 -0
  524. package/dist/components/pills-input/index.js.map +1 -0
  525. package/dist/components/pills-input/pills-input.d.ts +146 -0
  526. package/dist/components/pills-input/pills-input.d.ts.map +1 -0
  527. package/dist/components/pin-input/index.d.ts +2 -0
  528. package/dist/components/pin-input/index.d.ts.map +1 -0
  529. package/dist/components/pin-input/index.js +107 -0
  530. package/dist/components/pin-input/index.js.map +1 -0
  531. package/dist/components/pin-input/pin-input.d.ts +80 -0
  532. package/dist/components/pin-input/pin-input.d.ts.map +1 -0
  533. package/dist/components/popover/icons.d.ts +24 -0
  534. package/dist/components/popover/icons.d.ts.map +1 -0
  535. package/dist/components/popover/index.d.ts +2 -0
  536. package/dist/components/popover/index.d.ts.map +1 -0
  537. package/dist/components/popover/index.js +10 -0
  538. package/dist/components/popover/index.js.map +1 -0
  539. package/dist/components/popover/popover.d.ts +190 -0
  540. package/dist/components/popover/popover.d.ts.map +1 -0
  541. package/dist/components/progress/index.d.ts +2 -0
  542. package/dist/components/progress/index.d.ts.map +1 -0
  543. package/dist/components/progress/index.js +111 -0
  544. package/dist/components/progress/index.js.map +1 -0
  545. package/dist/components/progress/progress.d.ts +47 -0
  546. package/dist/components/progress/progress.d.ts.map +1 -0
  547. package/dist/components/radio-group/index.d.ts +2 -0
  548. package/dist/components/radio-group/index.d.ts.map +1 -0
  549. package/dist/components/radio-group/index.js +104 -0
  550. package/dist/components/radio-group/index.js.map +1 -0
  551. package/dist/components/radio-group/radio-group.d.ts +86 -0
  552. package/dist/components/radio-group/radio-group.d.ts.map +1 -0
  553. package/dist/components/rating/icons.d.ts +19 -0
  554. package/dist/components/rating/icons.d.ts.map +1 -0
  555. package/dist/components/rating/index.d.ts +2 -0
  556. package/dist/components/rating/index.d.ts.map +1 -0
  557. package/dist/components/rating/index.js +194 -0
  558. package/dist/components/rating/index.js.map +1 -0
  559. package/dist/components/rating/rating.d.ts +119 -0
  560. package/dist/components/rating/rating.d.ts.map +1 -0
  561. package/dist/components/schedule/index.d.ts +98 -0
  562. package/dist/components/schedule/index.d.ts.map +1 -0
  563. package/dist/components/schedule/index.js +6656 -0
  564. package/dist/components/schedule/index.js.map +1 -0
  565. package/dist/components/schedule/now-cursor-line.d.ts +97 -0
  566. package/dist/components/schedule/now-cursor-line.d.ts.map +1 -0
  567. package/dist/components/schedule/schedule-agenda-list.d.ts +55 -0
  568. package/dist/components/schedule/schedule-agenda-list.d.ts.map +1 -0
  569. package/dist/components/schedule/schedule-agenda-view.d.ts +48 -0
  570. package/dist/components/schedule/schedule-agenda-view.d.ts.map +1 -0
  571. package/dist/components/schedule/schedule-all-day-row.d.ts +100 -0
  572. package/dist/components/schedule/schedule-all-day-row.d.ts.map +1 -0
  573. package/dist/components/schedule/schedule-create-draft.d.ts +30 -0
  574. package/dist/components/schedule/schedule-create-draft.d.ts.map +1 -0
  575. package/dist/components/schedule/schedule-dates.d.ts +359 -0
  576. package/dist/components/schedule/schedule-dates.d.ts.map +1 -0
  577. package/dist/components/schedule/schedule-day-view.d.ts +24 -0
  578. package/dist/components/schedule/schedule-day-view.d.ts.map +1 -0
  579. package/dist/components/schedule/schedule-days-view.d.ts +60 -0
  580. package/dist/components/schedule/schedule-days-view.d.ts.map +1 -0
  581. package/dist/components/schedule/schedule-disabled-overlay.d.ts +34 -0
  582. package/dist/components/schedule/schedule-disabled-overlay.d.ts.map +1 -0
  583. package/dist/components/schedule/schedule-drag-ghost.d.ts +31 -0
  584. package/dist/components/schedule/schedule-drag-ghost.d.ts.map +1 -0
  585. package/dist/components/schedule/schedule-event-chip.d.ts +101 -0
  586. package/dist/components/schedule/schedule-event-chip.d.ts.map +1 -0
  587. package/dist/components/schedule/schedule-event-details.d.ts +37 -0
  588. package/dist/components/schedule/schedule-event-details.d.ts.map +1 -0
  589. package/dist/components/schedule/schedule-event-list-popover-content.d.ts +41 -0
  590. package/dist/components/schedule/schedule-event-list-popover-content.d.ts.map +1 -0
  591. package/dist/components/schedule/schedule-event-styles.d.ts +58 -0
  592. package/dist/components/schedule/schedule-event-styles.d.ts.map +1 -0
  593. package/dist/components/schedule/schedule-geometry.d.ts +307 -0
  594. package/dist/components/schedule/schedule-geometry.d.ts.map +1 -0
  595. package/dist/components/schedule/schedule-grid-gesture.d.ts +311 -0
  596. package/dist/components/schedule/schedule-grid-gesture.d.ts.map +1 -0
  597. package/dist/components/schedule/schedule-layout.d.ts +83 -0
  598. package/dist/components/schedule/schedule-layout.d.ts.map +1 -0
  599. package/dist/components/schedule/schedule-month-view.d.ts +44 -0
  600. package/dist/components/schedule/schedule-month-view.d.ts.map +1 -0
  601. package/dist/components/schedule/schedule-next-up-grouping.d.ts +37 -0
  602. package/dist/components/schedule/schedule-next-up-grouping.d.ts.map +1 -0
  603. package/dist/components/schedule/schedule-next-up.d.ts +79 -0
  604. package/dist/components/schedule/schedule-next-up.d.ts.map +1 -0
  605. package/dist/components/schedule/schedule-overflow-chip.d.ts +45 -0
  606. package/dist/components/schedule/schedule-overflow-chip.d.ts.map +1 -0
  607. package/dist/components/schedule/schedule-overflow-popover.d.ts +57 -0
  608. package/dist/components/schedule/schedule-overflow-popover.d.ts.map +1 -0
  609. package/dist/components/schedule/schedule-segments.d.ts +89 -0
  610. package/dist/components/schedule/schedule-segments.d.ts.map +1 -0
  611. package/dist/components/schedule/schedule-snap.d.ts +204 -0
  612. package/dist/components/schedule/schedule-snap.d.ts.map +1 -0
  613. package/dist/components/schedule/schedule-timed-grid.d.ts +78 -0
  614. package/dist/components/schedule/schedule-timed-grid.d.ts.map +1 -0
  615. package/dist/components/schedule/schedule-toolbar.d.ts +107 -0
  616. package/dist/components/schedule/schedule-toolbar.d.ts.map +1 -0
  617. package/dist/components/schedule/schedule-types.d.ts +844 -0
  618. package/dist/components/schedule/schedule-types.d.ts.map +1 -0
  619. package/dist/components/schedule/schedule-views.d.ts +197 -0
  620. package/dist/components/schedule/schedule-views.d.ts.map +1 -0
  621. package/dist/components/schedule/schedule-week-view.d.ts +19 -0
  622. package/dist/components/schedule/schedule-week-view.d.ts.map +1 -0
  623. package/dist/components/schedule/schedule-year-view.d.ts +38 -0
  624. package/dist/components/schedule/schedule-year-view.d.ts.map +1 -0
  625. package/dist/components/schedule/schedule.d.ts +163 -0
  626. package/dist/components/schedule/schedule.d.ts.map +1 -0
  627. package/dist/components/schedule/use-event-create.d.ts +54 -0
  628. package/dist/components/schedule/use-event-create.d.ts.map +1 -0
  629. package/dist/components/schedule/use-event-drag.d.ts +95 -0
  630. package/dist/components/schedule/use-event-drag.d.ts.map +1 -0
  631. package/dist/components/schedule/use-event-resize.d.ts +63 -0
  632. package/dist/components/schedule/use-event-resize.d.ts.map +1 -0
  633. package/dist/components/schedule/use-schedule-selection.d.ts +74 -0
  634. package/dist/components/schedule/use-schedule-selection.d.ts.map +1 -0
  635. package/dist/components/schedule/use-schedule.d.ts +78 -0
  636. package/dist/components/schedule/use-schedule.d.ts.map +1 -0
  637. package/dist/components/segment-group/index.d.ts +2 -0
  638. package/dist/components/segment-group/index.d.ts.map +1 -0
  639. package/dist/components/segment-group/index.js +10 -0
  640. package/dist/components/segment-group/index.js.map +1 -0
  641. package/dist/components/segment-group/segment-group.d.ts +187 -0
  642. package/dist/components/segment-group/segment-group.d.ts.map +1 -0
  643. package/dist/components/select/index.d.ts +3 -0
  644. package/dist/components/select/index.d.ts.map +1 -0
  645. package/dist/components/select/index.js +17 -0
  646. package/dist/components/select/index.js.map +1 -0
  647. package/dist/components/select/select.d.ts +83 -0
  648. package/dist/components/select/select.d.ts.map +1 -0
  649. package/dist/components/skeleton/index.d.ts +2 -0
  650. package/dist/components/skeleton/index.d.ts.map +1 -0
  651. package/dist/components/skeleton/index.js +5 -0
  652. package/dist/components/skeleton/index.js.map +1 -0
  653. package/dist/components/skeleton/skeleton.d.ts +83 -0
  654. package/dist/components/skeleton/skeleton.d.ts.map +1 -0
  655. package/dist/components/slider/index.d.ts +2 -0
  656. package/dist/components/slider/index.d.ts.map +1 -0
  657. package/dist/components/slider/index.js +258 -0
  658. package/dist/components/slider/index.js.map +1 -0
  659. package/dist/components/slider/slider.d.ts +90 -0
  660. package/dist/components/slider/slider.d.ts.map +1 -0
  661. package/dist/components/slider/sliderThumb.d.ts +1 -0
  662. package/dist/components/slider/sliderThumb.d.ts.map +1 -0
  663. package/dist/components/spinner/index.d.ts +2 -0
  664. package/dist/components/spinner/index.d.ts.map +1 -0
  665. package/dist/components/spinner/index.js +5 -0
  666. package/dist/components/spinner/index.js.map +1 -0
  667. package/dist/components/spinner/spinner.d.ts +61 -0
  668. package/dist/components/spinner/spinner.d.ts.map +1 -0
  669. package/dist/components/switch/index.d.ts +2 -0
  670. package/dist/components/switch/index.d.ts.map +1 -0
  671. package/dist/components/switch/index.js +140 -0
  672. package/dist/components/switch/index.js.map +1 -0
  673. package/dist/components/switch/switch.d.ts +48 -0
  674. package/dist/components/switch/switch.d.ts.map +1 -0
  675. package/dist/components/table/index.d.ts +2 -0
  676. package/dist/components/table/index.d.ts.map +1 -0
  677. package/dist/components/table/index.js +5 -0
  678. package/dist/components/table/index.js.map +1 -0
  679. package/dist/components/table/table.d.ts +113 -0
  680. package/dist/components/table/table.d.ts.map +1 -0
  681. package/dist/components/tabs/index.d.ts +3 -0
  682. package/dist/components/tabs/index.d.ts.map +1 -0
  683. package/dist/components/tabs/index.js +8 -0
  684. package/dist/components/tabs/index.js.map +1 -0
  685. package/dist/components/tabs/tabs-data.d.ts +67 -0
  686. package/dist/components/tabs/tabs-data.d.ts.map +1 -0
  687. package/dist/components/tabs/tabs.d.ts +96 -0
  688. package/dist/components/tabs/tabs.d.ts.map +1 -0
  689. package/dist/components/tags-input/index.d.ts +2 -0
  690. package/dist/components/tags-input/index.d.ts.map +1 -0
  691. package/dist/components/tags-input/index.js +203 -0
  692. package/dist/components/tags-input/index.js.map +1 -0
  693. package/dist/components/tags-input/tags-input.d.ts +68 -0
  694. package/dist/components/tags-input/tags-input.d.ts.map +1 -0
  695. package/dist/components/text/index.d.ts +2 -0
  696. package/dist/components/text/index.d.ts.map +1 -0
  697. package/dist/components/text/index.js +6 -0
  698. package/dist/components/text/index.js.map +1 -0
  699. package/dist/components/text/text.d.ts +50 -0
  700. package/dist/components/text/text.d.ts.map +1 -0
  701. package/dist/components/text-input/index.d.ts +2 -0
  702. package/dist/components/text-input/index.d.ts.map +1 -0
  703. package/dist/components/text-input/index.js +34 -0
  704. package/dist/components/text-input/index.js.map +1 -0
  705. package/dist/components/text-input/text-input.d.ts +56 -0
  706. package/dist/components/text-input/text-input.d.ts.map +1 -0
  707. package/dist/components/textarea/index.d.ts +2 -0
  708. package/dist/components/textarea/index.d.ts.map +1 -0
  709. package/dist/components/textarea/index.js +116 -0
  710. package/dist/components/textarea/index.js.map +1 -0
  711. package/dist/components/textarea/textarea.d.ts +48 -0
  712. package/dist/components/textarea/textarea.d.ts.map +1 -0
  713. package/dist/components/theme-icon/index.d.ts +2 -0
  714. package/dist/components/theme-icon/index.d.ts.map +1 -0
  715. package/dist/components/theme-icon/index.js +6 -0
  716. package/dist/components/theme-icon/index.js.map +1 -0
  717. package/dist/components/theme-icon/theme-icon.d.ts +34 -0
  718. package/dist/components/theme-icon/theme-icon.d.ts.map +1 -0
  719. package/dist/components/theme-script/index.d.ts +2 -0
  720. package/dist/components/theme-script/index.d.ts.map +1 -0
  721. package/dist/components/theme-script/index.js +29 -0
  722. package/dist/components/theme-script/index.js.map +1 -0
  723. package/dist/components/theme-script/theme-script.d.ts +41 -0
  724. package/dist/components/theme-script/theme-script.d.ts.map +1 -0
  725. package/dist/components/time-input/hour-cycle.d.ts +32 -0
  726. package/dist/components/time-input/hour-cycle.d.ts.map +1 -0
  727. package/dist/components/time-input/index.d.ts +3 -0
  728. package/dist/components/time-input/index.d.ts.map +1 -0
  729. package/dist/components/time-input/index.js +125 -0
  730. package/dist/components/time-input/index.js.map +1 -0
  731. package/dist/components/time-input/time-input.d.ts +63 -0
  732. package/dist/components/time-input/time-input.d.ts.map +1 -0
  733. package/dist/components/time-input/time-row.d.ts +72 -0
  734. package/dist/components/time-input/time-row.d.ts.map +1 -0
  735. package/dist/components/timeline/index.d.ts +2 -0
  736. package/dist/components/timeline/index.d.ts.map +1 -0
  737. package/dist/components/timeline/index.js +372 -0
  738. package/dist/components/timeline/index.js.map +1 -0
  739. package/dist/components/timeline/timeline.d.ts +194 -0
  740. package/dist/components/timeline/timeline.d.ts.map +1 -0
  741. package/dist/components/title/index.d.ts +2 -0
  742. package/dist/components/title/index.d.ts.map +1 -0
  743. package/dist/components/title/index.js +6 -0
  744. package/dist/components/title/index.js.map +1 -0
  745. package/dist/components/title/title.d.ts +47 -0
  746. package/dist/components/title/title.d.ts.map +1 -0
  747. package/dist/components/tooltip/index.d.ts +2 -0
  748. package/dist/components/tooltip/index.d.ts.map +1 -0
  749. package/dist/components/tooltip/index.js +10 -0
  750. package/dist/components/tooltip/index.js.map +1 -0
  751. package/dist/components/tooltip/tooltip.d.ts +70 -0
  752. package/dist/components/tooltip/tooltip.d.ts.map +1 -0
  753. package/dist/components/tree-multi-select/index.d.ts +3 -0
  754. package/dist/components/tree-multi-select/index.d.ts.map +1 -0
  755. package/dist/components/tree-multi-select/index.js +424 -0
  756. package/dist/components/tree-multi-select/index.js.map +1 -0
  757. package/dist/components/tree-multi-select/tree-multi-select.d.ts +72 -0
  758. package/dist/components/tree-multi-select/tree-multi-select.d.ts.map +1 -0
  759. package/dist/components/tree-select/index.d.ts +3 -0
  760. package/dist/components/tree-select/index.d.ts.map +1 -0
  761. package/dist/components/tree-select/index.js +425 -0
  762. package/dist/components/tree-select/index.js.map +1 -0
  763. package/dist/components/tree-select/tree-select.d.ts +68 -0
  764. package/dist/components/tree-select/tree-select.d.ts.map +1 -0
  765. package/dist/index.d.ts +24 -0
  766. package/dist/index.d.ts.map +1 -0
  767. package/dist/index.js +269 -0
  768. package/dist/index.js.map +1 -0
  769. package/dist/lib/align.d.ts +7 -0
  770. package/dist/lib/align.d.ts.map +1 -0
  771. package/dist/lib/available-if.d.ts +114 -0
  772. package/dist/lib/available-if.d.ts.map +1 -0
  773. package/dist/lib/brand.d.ts +22 -0
  774. package/dist/lib/brand.d.ts.map +1 -0
  775. package/dist/lib/cn.d.ts +14 -0
  776. package/dist/lib/cn.d.ts.map +1 -0
  777. package/dist/lib/cn.js +3 -0
  778. package/dist/lib/cn.js.map +1 -0
  779. package/dist/lib/colors.d.ts +14 -0
  780. package/dist/lib/colors.d.ts.map +1 -0
  781. package/dist/lib/control-open.d.ts +28 -0
  782. package/dist/lib/control-open.d.ts.map +1 -0
  783. package/dist/lib/date-predicates.d.ts +28 -0
  784. package/dist/lib/date-predicates.d.ts.map +1 -0
  785. package/dist/lib/date-value.d.ts +45 -0
  786. package/dist/lib/date-value.d.ts.map +1 -0
  787. package/dist/lib/dev-warn.d.ts +2 -0
  788. package/dist/lib/dev-warn.d.ts.map +1 -0
  789. package/dist/lib/focus-styles.d.ts +102 -0
  790. package/dist/lib/focus-styles.d.ts.map +1 -0
  791. package/dist/lib/form-control.d.ts +72 -0
  792. package/dist/lib/form-control.d.ts.map +1 -0
  793. package/dist/lib/gradient.d.ts +31 -0
  794. package/dist/lib/gradient.d.ts.map +1 -0
  795. package/dist/lib/intl.d.ts +77 -0
  796. package/dist/lib/intl.d.ts.map +1 -0
  797. package/dist/lib/link-component.d.ts +13 -0
  798. package/dist/lib/link-component.d.ts.map +1 -0
  799. package/dist/lib/merge-refs.d.ts +12 -0
  800. package/dist/lib/merge-refs.d.ts.map +1 -0
  801. package/dist/lib/overlay-container.d.ts +14 -0
  802. package/dist/lib/overlay-container.d.ts.map +1 -0
  803. package/dist/lib/overlay-layer.d.ts +51 -0
  804. package/dist/lib/overlay-layer.d.ts.map +1 -0
  805. package/dist/lib/placement.d.ts +16 -0
  806. package/dist/lib/placement.d.ts.map +1 -0
  807. package/dist/lib/props.d.ts +40 -0
  808. package/dist/lib/props.d.ts.map +1 -0
  809. package/dist/lib/required-if.d.ts +46 -0
  810. package/dist/lib/required-if.d.ts.map +1 -0
  811. package/dist/lib/schedule-predicates.d.ts +72 -0
  812. package/dist/lib/schedule-predicates.d.ts.map +1 -0
  813. package/dist/lib/select-data.d.ts +135 -0
  814. package/dist/lib/select-data.d.ts.map +1 -0
  815. package/dist/lib/sizes.d.ts +20 -0
  816. package/dist/lib/sizes.d.ts.map +1 -0
  817. package/dist/lib/test-id.d.ts +30 -0
  818. package/dist/lib/test-id.d.ts.map +1 -0
  819. package/dist/lib/theme-init-runtime.d.ts +26 -0
  820. package/dist/lib/theme-init-runtime.d.ts.map +1 -0
  821. package/dist/lib/theme.d.ts +93 -0
  822. package/dist/lib/theme.d.ts.map +1 -0
  823. package/dist/lib/tree-data.d.ts +99 -0
  824. package/dist/lib/tree-data.d.ts.map +1 -0
  825. package/dist/lib/typography-size.d.ts +49 -0
  826. package/dist/lib/typography-size.d.ts.map +1 -0
  827. package/dist/lib/use-container-query.d.ts +19 -0
  828. package/dist/lib/use-container-query.d.ts.map +1 -0
  829. package/dist/lib/use-disclosure.d.ts +35 -0
  830. package/dist/lib/use-disclosure.d.ts.map +1 -0
  831. package/dist/lib/use-isomorphic-layout-effect.d.ts +12 -0
  832. package/dist/lib/use-isomorphic-layout-effect.d.ts.map +1 -0
  833. package/dist/lib/use-local-storage.d.ts +45 -0
  834. package/dist/lib/use-local-storage.d.ts.map +1 -0
  835. package/dist/lib/use-logger.d.ts +2 -0
  836. package/dist/lib/use-logger.d.ts.map +1 -0
  837. package/dist/lib/use-media-query.d.ts +11 -0
  838. package/dist/lib/use-media-query.d.ts.map +1 -0
  839. package/dist/lib/use-now.d.ts +7 -0
  840. package/dist/lib/use-now.d.ts.map +1 -0
  841. package/dist/lib/use-theme.d.ts +101 -0
  842. package/dist/lib/use-theme.d.ts.map +1 -0
  843. package/dist/lib/use-uncontrolled.d.ts +45 -0
  844. package/dist/lib/use-uncontrolled.d.ts.map +1 -0
  845. package/dist/styles.css +17 -0
  846. package/dist/test-setup.d.ts +2 -0
  847. package/dist/test-setup.d.ts.map +1 -0
  848. package/dist/theme-init-script.d.ts +2 -0
  849. package/dist/theme-init-script.d.ts.map +1 -0
  850. package/dist/theme-init.js +2 -0
  851. package/dist/theme-init.js.map +1 -0
  852. package/dist/theme.css +1281 -0
  853. package/package.json +99 -3
  854. package/src/colors.css +296 -0
  855. package/src/components/accordion/accordion-data.tsx +86 -0
  856. package/src/components/accordion/accordion.test.tsx +234 -0
  857. package/src/components/accordion/accordion.tsx +336 -0
  858. package/src/components/accordion/index.ts +18 -0
  859. package/src/components/action-icon/action-icon.test.tsx +57 -0
  860. package/src/components/action-icon/action-icon.tsx +180 -0
  861. package/src/components/action-icon/index.ts +12 -0
  862. package/src/components/alert/alert.test.tsx +131 -0
  863. package/src/components/alert/alert.tsx +165 -0
  864. package/src/components/alert/index.ts +3 -0
  865. package/src/components/ambient-background/ambient-background.test.tsx +64 -0
  866. package/src/components/ambient-background/ambient-background.tsx +76 -0
  867. package/src/components/ambient-background/index.ts +1 -0
  868. package/src/components/app-shell/app-shell.test.tsx +271 -0
  869. package/src/components/app-shell/app-shell.tsx +492 -0
  870. package/src/components/app-shell/index.ts +17 -0
  871. package/src/components/autocomplete/autocomplete.test.tsx +120 -0
  872. package/src/components/autocomplete/autocomplete.tsx +249 -0
  873. package/src/components/autocomplete/index.ts +11 -0
  874. package/src/components/avatar/avatar.test.tsx +345 -0
  875. package/src/components/avatar/avatar.tsx +456 -0
  876. package/src/components/avatar/index.ts +12 -0
  877. package/src/components/badge/badge.test.tsx +51 -0
  878. package/src/components/badge/badge.tsx +148 -0
  879. package/src/components/badge/index.ts +6 -0
  880. package/src/components/breadcrumb/breadcrumb.test.tsx +238 -0
  881. package/src/components/breadcrumb/breadcrumb.tsx +348 -0
  882. package/src/components/breadcrumb/index.ts +9 -0
  883. package/src/components/button/button.test.tsx +87 -0
  884. package/src/components/button/button.tsx +253 -0
  885. package/src/components/button/index.ts +12 -0
  886. package/src/components/button-group/button-group.test.tsx +168 -0
  887. package/src/components/button-group/button-group.tsx +121 -0
  888. package/src/components/button-group/index.ts +1 -0
  889. package/src/components/button-multi-select/button-multi-select.test.tsx +146 -0
  890. package/src/components/button-multi-select/button-multi-select.tsx +76 -0
  891. package/src/components/button-multi-select/index.ts +17 -0
  892. package/src/components/button-select/button-select-control.tsx +153 -0
  893. package/src/components/button-select/button-select-data.tsx +96 -0
  894. package/src/components/button-select/button-select-items.ts +103 -0
  895. package/src/components/button-select/button-select.test.tsx +239 -0
  896. package/src/components/button-select/button-select.tsx +323 -0
  897. package/src/components/button-select/index.ts +14 -0
  898. package/src/components/calendar/calendar-body.tsx +410 -0
  899. package/src/components/calendar/calendar.test.tsx +278 -0
  900. package/src/components/calendar/calendar.tsx +220 -0
  901. package/src/components/calendar/index.ts +10 -0
  902. package/src/components/card/card.tsx +211 -0
  903. package/src/components/card/index.ts +12 -0
  904. package/src/components/chart/chart.test.tsx +98 -0
  905. package/src/components/chart/chart.tsx +192 -0
  906. package/src/components/chart/index.ts +8 -0
  907. package/src/components/chart/styles.css +50 -0
  908. package/src/components/checkbox/checkbox.test.tsx +113 -0
  909. package/src/components/checkbox/checkbox.tsx +182 -0
  910. package/src/components/checkbox/control.ts +76 -0
  911. package/src/components/checkbox/index.ts +3 -0
  912. package/src/components/choice-card-group/choice-card-group.test.tsx +250 -0
  913. package/src/components/choice-card-group/choice-card-group.tsx +549 -0
  914. package/src/components/choice-card-group/index.ts +9 -0
  915. package/src/components/circular-progress/circular-progress.test.tsx +120 -0
  916. package/src/components/circular-progress/circular-progress.tsx +214 -0
  917. package/src/components/circular-progress/index.ts +15 -0
  918. package/src/components/clipboard/clipboard.test.tsx +229 -0
  919. package/src/components/clipboard/clipboard.tsx +128 -0
  920. package/src/components/clipboard/copy.tsx +127 -0
  921. package/src/components/clipboard/index.ts +12 -0
  922. package/src/components/code/code.test.tsx +57 -0
  923. package/src/components/code/code.tsx +54 -0
  924. package/src/components/code/index.ts +1 -0
  925. package/src/components/code-block/chrome.tsx +347 -0
  926. package/src/components/code-block/code-block.test.tsx +252 -0
  927. package/src/components/code-block/code-block.tsx +254 -0
  928. package/src/components/code-block/diff.test.ts +177 -0
  929. package/src/components/code-block/diff.ts +114 -0
  930. package/src/components/code-block/gutters.test.ts +280 -0
  931. package/src/components/code-block/gutters.ts +260 -0
  932. package/src/components/code-block/highlighter.test.ts +261 -0
  933. package/src/components/code-block/highlighter.ts +290 -0
  934. package/src/components/code-block/index.ts +53 -0
  935. package/src/components/code-block/notation.test.ts +166 -0
  936. package/src/components/code-block/notation.ts +233 -0
  937. package/src/components/code-block/presets.test.ts +43 -0
  938. package/src/components/code-block/presets.ts +28 -0
  939. package/src/components/code-block/static.tsx +130 -0
  940. package/src/components/code-block/styles.css +198 -0
  941. package/src/components/collapse/collapse.test.tsx +96 -0
  942. package/src/components/collapse/collapse.tsx +81 -0
  943. package/src/components/collapse/index.ts +1 -0
  944. package/src/components/combobox/combobox.tsx +317 -0
  945. package/src/components/combobox/index.ts +15 -0
  946. package/src/components/combobox-list/combobox-list.test.tsx +148 -0
  947. package/src/components/combobox-list/combobox-list.tsx +276 -0
  948. package/src/components/combobox-list/index.ts +3 -0
  949. package/src/components/container/container.tsx +47 -0
  950. package/src/components/container/index.ts +1 -0
  951. package/src/components/data-table/data-table-features.ts +127 -0
  952. package/src/components/data-table/data-table-filter/data-table-date-filter.tsx +275 -0
  953. package/src/components/data-table/data-table-filter/data-table-filter-fns.ts +126 -0
  954. package/src/components/data-table/data-table-filter/data-table-number-filter.tsx +74 -0
  955. package/src/components/data-table/data-table-filter/data-table-select-filter.tsx +47 -0
  956. package/src/components/data-table/data-table-filter/data-table-text-filter.tsx +29 -0
  957. package/src/components/data-table/data-table-filter/index.tsx +62 -0
  958. package/src/components/data-table/data-table-filter/utils.ts +112 -0
  959. package/src/components/data-table/data-table-filter-fns.test.tsx +145 -0
  960. package/src/components/data-table/data-table-filter.test.tsx +365 -0
  961. package/src/components/data-table/data-table-header-cell.tsx +292 -0
  962. package/src/components/data-table/data-table-meta.ts +102 -0
  963. package/src/components/data-table/data-table-pagination.tsx +175 -0
  964. package/src/components/data-table/data-table-placeholder.tsx +61 -0
  965. package/src/components/data-table/data-table-schema.test.tsx +22 -0
  966. package/src/components/data-table/data-table-schema.ts +23 -0
  967. package/src/components/data-table/data-table-skeleton.ts +9 -0
  968. package/src/components/data-table/data-table-stack.tsx +376 -0
  969. package/src/components/data-table/data-table-state.ts +35 -0
  970. package/src/components/data-table/data-table-toolbar.tsx +81 -0
  971. package/src/components/data-table/data-table.test.tsx +1143 -0
  972. package/src/components/data-table/data-table.tsx +829 -0
  973. package/src/components/data-table/index.ts +46 -0
  974. package/src/components/date-picker/aliases.tsx +15 -0
  975. package/src/components/date-picker/date-picker.test.tsx +699 -0
  976. package/src/components/date-picker/date-picker.tsx +1000 -0
  977. package/src/components/date-picker/date-time-text.test.ts +68 -0
  978. package/src/components/date-picker/date-time-text.ts +103 -0
  979. package/src/components/date-picker/index.ts +32 -0
  980. package/src/components/divider/divider.test.tsx +106 -0
  981. package/src/components/divider/divider.tsx +162 -0
  982. package/src/components/divider/index.ts +8 -0
  983. package/src/components/drawer/drawer.tsx +405 -0
  984. package/src/components/drawer/index.ts +21 -0
  985. package/src/components/field/field.tsx +235 -0
  986. package/src/components/field/index.ts +3 -0
  987. package/src/components/file-upload/file-upload.test.tsx +47 -0
  988. package/src/components/file-upload/file-upload.tsx +280 -0
  989. package/src/components/file-upload/index.ts +3 -0
  990. package/src/components/flex/flex.tsx +81 -0
  991. package/src/components/flex/index.ts +1 -0
  992. package/src/components/grid/grid.tsx +52 -0
  993. package/src/components/grid/index.ts +1 -0
  994. package/src/components/hover-card/hover-card.test.tsx +192 -0
  995. package/src/components/hover-card/hover-card.tsx +376 -0
  996. package/src/components/hover-card/index.ts +9 -0
  997. package/src/components/indicator/index.ts +6 -0
  998. package/src/components/indicator/indicator.test.tsx +241 -0
  999. package/src/components/indicator/indicator.tsx +275 -0
  1000. package/src/components/input/index.ts +12 -0
  1001. package/src/components/input/input.test.tsx +111 -0
  1002. package/src/components/input/input.tsx +320 -0
  1003. package/src/components/kbd/index.ts +1 -0
  1004. package/src/components/kbd/kbd.test.tsx +20 -0
  1005. package/src/components/kbd/kbd.tsx +98 -0
  1006. package/src/components/mark/index.ts +1 -0
  1007. package/src/components/mark/mark.test.tsx +85 -0
  1008. package/src/components/mark/mark.tsx +79 -0
  1009. package/src/components/menu/index.ts +27 -0
  1010. package/src/components/menu/menu-data.tsx +230 -0
  1011. package/src/components/menu/menu.test.tsx +547 -0
  1012. package/src/components/menu/menu.tsx +514 -0
  1013. package/src/components/modal/index.ts +14 -0
  1014. package/src/components/modal/modal.tsx +420 -0
  1015. package/src/components/multi-combobox-list/index.ts +3 -0
  1016. package/src/components/multi-combobox-list/multi-combobox-list.test.tsx +190 -0
  1017. package/src/components/multi-combobox-list/multi-combobox-list.tsx +308 -0
  1018. package/src/components/multi-select/index.ts +12 -0
  1019. package/src/components/multi-select/multi-select.test.tsx +248 -0
  1020. package/src/components/multi-select/multi-select.tsx +355 -0
  1021. package/src/components/nav-link/index.ts +4 -0
  1022. package/src/components/nav-link/nav-link.test.tsx +107 -0
  1023. package/src/components/nav-link/nav-link.tsx +205 -0
  1024. package/src/components/nav-link/navigation.test.tsx +117 -0
  1025. package/src/components/nav-link/navigation.tsx +81 -0
  1026. package/src/components/nav-link/tanstack.tsx +67 -0
  1027. package/src/components/notification/create-notifier.tsx +518 -0
  1028. package/src/components/notification/index.ts +20 -0
  1029. package/src/components/notification/notification.test.tsx +321 -0
  1030. package/src/components/notification/notification.tsx +353 -0
  1031. package/src/components/notification/store.ts +159 -0
  1032. package/src/components/notification/types.ts +67 -0
  1033. package/src/components/number-input/index.ts +3 -0
  1034. package/src/components/number-input/number-input.test.tsx +291 -0
  1035. package/src/components/number-input/number-input.tsx +407 -0
  1036. package/src/components/overlays/create-overlays.tsx +267 -0
  1037. package/src/components/overlays/index.ts +25 -0
  1038. package/src/components/overlays/renderer.tsx +214 -0
  1039. package/src/components/overlays/store.ts +103 -0
  1040. package/src/components/overlays/types.ts +150 -0
  1041. package/src/components/password-input/index.ts +3 -0
  1042. package/src/components/password-input/password-input.test.tsx +94 -0
  1043. package/src/components/password-input/password-input.tsx +191 -0
  1044. package/src/components/pill/index.ts +9 -0
  1045. package/src/components/pill/pill.test.tsx +22 -0
  1046. package/src/components/pill/pill.tsx +221 -0
  1047. package/src/components/pills-input/index.ts +12 -0
  1048. package/src/components/pills-input/pills-input.test.ts +136 -0
  1049. package/src/components/pills-input/pills-input.tsx +422 -0
  1050. package/src/components/pin-input/index.ts +3 -0
  1051. package/src/components/pin-input/pin-input.test.tsx +74 -0
  1052. package/src/components/pin-input/pin-input.tsx +186 -0
  1053. package/src/components/popover/icons.tsx +129 -0
  1054. package/src/components/popover/index.ts +8 -0
  1055. package/src/components/popover/popover.test.tsx +223 -0
  1056. package/src/components/popover/popover.tsx +635 -0
  1057. package/src/components/progress/index.ts +18 -0
  1058. package/src/components/progress/progress.test.tsx +112 -0
  1059. package/src/components/progress/progress.tsx +194 -0
  1060. package/src/components/radio-group/index.ts +9 -0
  1061. package/src/components/radio-group/radio-group.test.tsx +107 -0
  1062. package/src/components/radio-group/radio-group.tsx +207 -0
  1063. package/src/components/rating/icons.tsx +35 -0
  1064. package/src/components/rating/index.ts +9 -0
  1065. package/src/components/rating/rating.test.tsx +288 -0
  1066. package/src/components/rating/rating.tsx +389 -0
  1067. package/src/components/schedule/index.ts +170 -0
  1068. package/src/components/schedule/now-cursor-line.test.tsx +262 -0
  1069. package/src/components/schedule/now-cursor-line.tsx +343 -0
  1070. package/src/components/schedule/schedule-agenda-list.tsx +480 -0
  1071. package/src/components/schedule/schedule-agenda-view.test.tsx +333 -0
  1072. package/src/components/schedule/schedule-agenda-view.tsx +211 -0
  1073. package/src/components/schedule/schedule-all-day-row.test.ts +187 -0
  1074. package/src/components/schedule/schedule-all-day-row.tsx +616 -0
  1075. package/src/components/schedule/schedule-create-draft.tsx +190 -0
  1076. package/src/components/schedule/schedule-dates.test.ts +771 -0
  1077. package/src/components/schedule/schedule-dates.ts +722 -0
  1078. package/src/components/schedule/schedule-day-view.tsx +30 -0
  1079. package/src/components/schedule/schedule-days-view.tsx +279 -0
  1080. package/src/components/schedule/schedule-details-popover.test.tsx +765 -0
  1081. package/src/components/schedule/schedule-disabled-overlay.tsx +51 -0
  1082. package/src/components/schedule/schedule-drag-ghost.tsx +172 -0
  1083. package/src/components/schedule/schedule-event-chip.tsx +1183 -0
  1084. package/src/components/schedule/schedule-event-details.tsx +101 -0
  1085. package/src/components/schedule/schedule-event-list-popover-content.tsx +149 -0
  1086. package/src/components/schedule/schedule-event-styles.ts +60 -0
  1087. package/src/components/schedule/schedule-geometry.test.ts +426 -0
  1088. package/src/components/schedule/schedule-geometry.ts +482 -0
  1089. package/src/components/schedule/schedule-grid-gesture.test.ts +235 -0
  1090. package/src/components/schedule/schedule-grid-gesture.ts +606 -0
  1091. package/src/components/schedule/schedule-layout.test.ts +260 -0
  1092. package/src/components/schedule/schedule-layout.ts +270 -0
  1093. package/src/components/schedule/schedule-month-view.test.tsx +193 -0
  1094. package/src/components/schedule/schedule-month-view.tsx +690 -0
  1095. package/src/components/schedule/schedule-next-up-grouping.test.ts +95 -0
  1096. package/src/components/schedule/schedule-next-up-grouping.ts +69 -0
  1097. package/src/components/schedule/schedule-next-up.test.tsx +189 -0
  1098. package/src/components/schedule/schedule-next-up.tsx +138 -0
  1099. package/src/components/schedule/schedule-overflow-chip.tsx +156 -0
  1100. package/src/components/schedule/schedule-overflow-popover.tsx +173 -0
  1101. package/src/components/schedule/schedule-segments.test.ts +201 -0
  1102. package/src/components/schedule/schedule-segments.ts +120 -0
  1103. package/src/components/schedule/schedule-snap.test.ts +546 -0
  1104. package/src/components/schedule/schedule-snap.ts +380 -0
  1105. package/src/components/schedule/schedule-timed-grid.tsx +1647 -0
  1106. package/src/components/schedule/schedule-toolbar.tsx +270 -0
  1107. package/src/components/schedule/schedule-type-cost.test.ts +104 -0
  1108. package/src/components/schedule/schedule-types.test.ts +64 -0
  1109. package/src/components/schedule/schedule-types.ts +1152 -0
  1110. package/src/components/schedule/schedule-views.test.ts +263 -0
  1111. package/src/components/schedule/schedule-views.ts +293 -0
  1112. package/src/components/schedule/schedule-week-view.tsx +25 -0
  1113. package/src/components/schedule/schedule-year-view.test.tsx +105 -0
  1114. package/src/components/schedule/schedule-year-view.tsx +307 -0
  1115. package/src/components/schedule/schedule.test.tsx +4386 -0
  1116. package/src/components/schedule/schedule.tsx +1040 -0
  1117. package/src/components/schedule/use-event-create.ts +591 -0
  1118. package/src/components/schedule/use-event-drag.ts +510 -0
  1119. package/src/components/schedule/use-event-resize.ts +565 -0
  1120. package/src/components/schedule/use-schedule-selection.ts +119 -0
  1121. package/src/components/schedule/use-schedule.test.ts +91 -0
  1122. package/src/components/schedule/use-schedule.ts +135 -0
  1123. package/src/components/segment-group/index.ts +15 -0
  1124. package/src/components/segment-group/segment-group.test.tsx +172 -0
  1125. package/src/components/segment-group/segment-group.tsx +570 -0
  1126. package/src/components/select/index.ts +12 -0
  1127. package/src/components/select/select.test.tsx +173 -0
  1128. package/src/components/select/select.tsx +405 -0
  1129. package/src/components/skeleton/index.ts +7 -0
  1130. package/src/components/skeleton/skeleton.test.tsx +96 -0
  1131. package/src/components/skeleton/skeleton.tsx +178 -0
  1132. package/src/components/slider/index.ts +3 -0
  1133. package/src/components/slider/slider.test.tsx +136 -0
  1134. package/src/components/slider/slider.tsx +390 -0
  1135. package/src/components/slider/sliderThumb.tsx +0 -0
  1136. package/src/components/spinner/index.ts +6 -0
  1137. package/src/components/spinner/spinner.tsx +136 -0
  1138. package/src/components/switch/index.ts +3 -0
  1139. package/src/components/switch/switch.test.tsx +98 -0
  1140. package/src/components/switch/switch.tsx +234 -0
  1141. package/src/components/table/index.ts +14 -0
  1142. package/src/components/table/table.test.tsx +262 -0
  1143. package/src/components/table/table.tsx +309 -0
  1144. package/src/components/tabs/index.ts +17 -0
  1145. package/src/components/tabs/tabs-data.tsx +125 -0
  1146. package/src/components/tabs/tabs.test.tsx +172 -0
  1147. package/src/components/tabs/tabs.tsx +292 -0
  1148. package/src/components/tags-input/index.ts +3 -0
  1149. package/src/components/tags-input/tags-input.test.tsx +85 -0
  1150. package/src/components/tags-input/tags-input.tsx +294 -0
  1151. package/src/components/text/index.ts +1 -0
  1152. package/src/components/text/text.test.tsx +73 -0
  1153. package/src/components/text/text.tsx +107 -0
  1154. package/src/components/text-input/index.ts +3 -0
  1155. package/src/components/text-input/text-input.test.tsx +129 -0
  1156. package/src/components/text-input/text-input.tsx +88 -0
  1157. package/src/components/textarea/index.ts +3 -0
  1158. package/src/components/textarea/textarea.test.tsx +88 -0
  1159. package/src/components/textarea/textarea.tsx +205 -0
  1160. package/src/components/theme-icon/index.ts +7 -0
  1161. package/src/components/theme-icon/theme-icon.test.tsx +20 -0
  1162. package/src/components/theme-icon/theme-icon.tsx +114 -0
  1163. package/src/components/theme-script/index.ts +1 -0
  1164. package/src/components/theme-script/theme-script.tsx +68 -0
  1165. package/src/components/time-input/hour-cycle.ts +61 -0
  1166. package/src/components/time-input/index.ts +4 -0
  1167. package/src/components/time-input/time-input.test.tsx +292 -0
  1168. package/src/components/time-input/time-input.tsx +196 -0
  1169. package/src/components/time-input/time-row.tsx +305 -0
  1170. package/src/components/timeline/index.ts +11 -0
  1171. package/src/components/timeline/timeline.test.tsx +701 -0
  1172. package/src/components/timeline/timeline.tsx +720 -0
  1173. package/src/components/title/index.ts +1 -0
  1174. package/src/components/title/title.test.tsx +68 -0
  1175. package/src/components/title/title.tsx +95 -0
  1176. package/src/components/tooltip/index.ts +9 -0
  1177. package/src/components/tooltip/tooltip.test.tsx +96 -0
  1178. package/src/components/tooltip/tooltip.tsx +255 -0
  1179. package/src/components/tree-multi-select/index.ts +11 -0
  1180. package/src/components/tree-multi-select/tree-multi-select.test.tsx +327 -0
  1181. package/src/components/tree-multi-select/tree-multi-select.tsx +626 -0
  1182. package/src/components/tree-select/index.ts +11 -0
  1183. package/src/components/tree-select/tree-select.test.tsx +376 -0
  1184. package/src/components/tree-select/tree-select.tsx +634 -0
  1185. package/src/index.ts +64 -0
  1186. package/src/lib/align.ts +6 -0
  1187. package/src/lib/available-if.test.ts +76 -0
  1188. package/src/lib/available-if.ts +114 -0
  1189. package/src/lib/brand.ts +19 -0
  1190. package/src/lib/cn.test.ts +13 -0
  1191. package/src/lib/cn.ts +28 -0
  1192. package/src/lib/colors.ts +31 -0
  1193. package/src/lib/control-open.ts +38 -0
  1194. package/src/lib/date-predicates.test.ts +149 -0
  1195. package/src/lib/date-predicates.ts +83 -0
  1196. package/src/lib/date-value.test.ts +107 -0
  1197. package/src/lib/date-value.ts +76 -0
  1198. package/src/lib/dev-warn.ts +18 -0
  1199. package/src/lib/focus-styles.test.ts +138 -0
  1200. package/src/lib/focus-styles.ts +145 -0
  1201. package/src/lib/form-control.ts +72 -0
  1202. package/src/lib/gradient.ts +81 -0
  1203. package/src/lib/intl-direction.test.tsx +96 -0
  1204. package/src/lib/intl.test.tsx +162 -0
  1205. package/src/lib/intl.tsx +210 -0
  1206. package/src/lib/link-component.test.tsx +46 -0
  1207. package/src/lib/link-component.tsx +32 -0
  1208. package/src/lib/merge-refs.ts +20 -0
  1209. package/src/lib/overlay-container.test.tsx +69 -0
  1210. package/src/lib/overlay-container.tsx +64 -0
  1211. package/src/lib/overlay-layer.test.tsx +139 -0
  1212. package/src/lib/overlay-layer.tsx +81 -0
  1213. package/src/lib/placement.ts +23 -0
  1214. package/src/lib/props.ts +48 -0
  1215. package/src/lib/required-if.ts +57 -0
  1216. package/src/lib/schedule-predicates.test.ts +230 -0
  1217. package/src/lib/schedule-predicates.ts +193 -0
  1218. package/src/lib/select-data.ts +227 -0
  1219. package/src/lib/sizes.ts +20 -0
  1220. package/src/lib/test-id.ts +27 -0
  1221. package/src/lib/theme-init-runtime.test.ts +152 -0
  1222. package/src/lib/theme-init-runtime.ts +79 -0
  1223. package/src/lib/theme.test.ts +223 -0
  1224. package/src/lib/theme.ts +153 -0
  1225. package/src/lib/tree-data.ts +159 -0
  1226. package/src/lib/typography-size.ts +59 -0
  1227. package/src/lib/use-container-query.test.ts +83 -0
  1228. package/src/lib/use-container-query.ts +44 -0
  1229. package/src/lib/use-disclosure.test.ts +85 -0
  1230. package/src/lib/use-disclosure.ts +77 -0
  1231. package/src/lib/use-isomorphic-layout-effect.ts +12 -0
  1232. package/src/lib/use-local-storage.test.ts +165 -0
  1233. package/src/lib/use-local-storage.ts +178 -0
  1234. package/src/lib/use-logger.ts +39 -0
  1235. package/src/lib/use-media-query.test.ts +77 -0
  1236. package/src/lib/use-media-query.ts +35 -0
  1237. package/src/lib/use-now.ts +59 -0
  1238. package/src/lib/use-theme.test.ts +305 -0
  1239. package/src/lib/use-theme.ts +279 -0
  1240. package/src/lib/use-uncontrolled.test.ts +207 -0
  1241. package/src/lib/use-uncontrolled.ts +85 -0
  1242. package/src/styles.css +17 -0
  1243. package/src/test-setup.ts +130 -0
  1244. package/src/theme-init-script.ts +10 -0
  1245. package/src/theme.css +1281 -0
  1246. package/src/theme.forced-colors.test.tsx +215 -0
  1247. package/src/theme.test.ts +221 -0
  1248. package/src/visually-hidden-containment.test.tsx +98 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["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,qBACE,GAAA;AAAA,EAAC,UAAA;AAAA,EAAA;AAAA,IACC,KAAA;AAAA,IACA,WAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,QAAA;AAAA,IACA,IAAA;AAAA,IACA,WAAW,UAAA,EAAY,KAAA;AAAA,IAEvB,8BAAC,eAAA,EAAA,EAAgB,QAAA,EAAoB,IAAA,EAAY,UAAA,EAAyB,GAAG,OAAA,EAAS;AAAA;AACxF","file":"index.js","sourcesContent":["\"use client\"\n\nimport { ark, type HTMLArkProps } from \"@ark-ui/react\"\nimport { useFieldContext } from \"@ark-ui/react/field\"\nimport type { CSSProperties, Ref } from \"react\"\nimport { cn } from \"../../lib/cn\"\nimport { props } from \"../../lib/props\"\nimport type { WithTestId } from \"../../lib/test-id\"\nimport { type FieldProps, FieldShell, fieldA11yProps } from \"../field/field\"\nimport { InputBase, type InputSize, type InputVariant, inputControlClasses } from \"../input/input\"\n\n/**\n * Textarea — the multi-line sibling of {@link Input}, on the shared `InputBase`\n * shell. Like every kit control it carries its own `label` / `description` /\n * `error` / `required` (via [`Field`](/docs/field)), so a `Textarea` is complete\n * on its own; passing `error` flips it to the invalid (red) state.\n *\n * The underlying `<textarea>` is field-aware: nested in the built-in `Field` (or\n * a `Field` you compose yourself when you omit the field props) it inherits the\n * `id`, `aria-describedby`, and disabled / invalid / read-only state through\n * `getTextareaProps()`, exactly how `Input` consumes `getInputProps()`.\n *\n * Unlike every other control in the family, the shell's border/radius/padding\n * don't live on the shared `InputBase` shell here — they're zeroed on the shell\n * and re-applied directly on the `<textarea>` itself (top-aligned via\n * `items-start`), so the native resize grip renders flush against the shell's\n * actual border instead of inset by its padding. `field-sizing: content` makes\n * the control grow to fit its content automatically; `minRows` and `maxRows`\n * both default to `3`, so an untouched `Textarea` reads as a comfortable\n * multi-line box rather than growing from a single skinny line. Because\n * `min-height` wins whenever it conflicts with `max-height`, raising `minRows`\n * past the default `maxRows` without also raising `maxRows` yields a fixed\n * (non-growing) box — pass both together for a taller control that still grows.\n * `resizable` (default `false`) additionally opts into the native manual drag\n * handle on top of the auto-grow behavior — restyled via `::-webkit-resizer`\n * in Chrome/Edge/Safari (Firefox has no hook to restyle it and keeps its plain\n * native grip, still fully functional).\n */\n\n/** Textarea's own inset padding, per `size` — lives on the `<textarea>` itself\n * (not the shell) so the native resize handle sits flush against the shell's\n * real border. Horizontal steps mirror `inputShell`'s own scale exactly;\n * `blockRem` (total top+bottom padding) feeds the min-/max-height `calc()`\n * below, since the textarea is `box-sizing: border-box`. */\nconst TEXTAREA_PADDING: Record<InputSize, { className: string; blockRem: number }> = {\n xs: { className: \"ps-1.5 pe-1.5 py-1\", blockRem: 0.5 },\n sm: { className: \"ps-2 pe-2 py-1.5\", blockRem: 0.75 },\n md: { className: \"ps-2 pe-2 py-2\", blockRem: 1 },\n lg: { className: \"ps-3 pe-3 py-2.5\", blockRem: 1.25 },\n xl: { className: \"ps-3.5 pe-3.5 py-3\", blockRem: 1.5 },\n}\n\ntype TextareaClassNames = {\n /** The field wrapper (label / description / error). */\n field?: string\n /** The shell `<div>` (also targeted by `className`). */\n root?: string\n /** The inner `<textarea>` element. */\n input?: string\n}\n\nexport type TextareaProps = Omit<HTMLArkProps<\"textarea\">, \"size\" | \"color\" | \"rows\"> &\n Pick<FieldProps, \"label\" | \"description\" | \"error\" | \"required\"> &\n WithTestId & {\n /** Shell treatment: bordered (`default`), soft-filled, or chrome-less. */\n variant?: InputVariant\n /** Height step / control font / slot icon size. */\n size?: InputSize\n /** Shows the native drag handle for manual resizing, flush with the shell\n * border. Off by default — the control already grows to fit its content. */\n resizable?: boolean\n /** Red border + ring; also wires `aria-invalid`. OR'd with `error`. */\n invalid?: boolean\n /** Dims the shell and disables the textarea. */\n disabled?: boolean\n /** Keeps full contrast but blocks edits. */\n readOnly?: boolean\n /** Minimum visible text rows; the control grows past it as content wraps.\n * Defaults to `3`. Also forwarded as the native `rows` attribute for\n * graceful degradation in browsers without `field-sizing` support. */\n minRows?: number\n /** Caps auto-grow at this many visible rows; once content exceeds it the\n * control stops growing and scrolls internally instead of clipping.\n * Defaults to `3` (matching `minRows`), so an untouched control reads as\n * a fixed multi-line box. `min-height` wins over `max-height` when they\n * conflict, so raising `minRows` alone (without also raising `maxRows`)\n * produces a fixed box at that height rather than a growing one. */\n maxRows?: number\n /** Lands on the underlying `<textarea>` for focus-on-error. */\n ref?: Ref<HTMLTextAreaElement>\n /** Styles the shell root. */\n className?: string\n /** Per-part class overrides. */\n classNames?: TextareaClassNames\n }\n\n/**\n * The shell + control, split out so it reads the `Field` context from *inside*\n * the wrapping `FieldShell` (when the field props are set) — or an external\n * `Field` (when they're not), exactly how `Input` behaves.\n */\nconst TextareaControl = ({\n variant,\n size,\n invalid,\n disabled,\n readOnly,\n minRows,\n maxRows,\n ref,\n resizable,\n className,\n classNames,\n style,\n testId,\n ...rest\n}: Omit<TextareaProps, \"label\" | \"description\" | \"error\" | \"required\">) => {\n const field = useFieldContext()\n const fieldTextareaProps = field?.getTextareaProps()\n const padding = TEXTAREA_PADDING[size ?? \"md\"]\n const minRowsValue = minRows ?? 3\n const maxRowsValue = maxRows ?? 3\n\n return (\n <InputBase\n variant={variant}\n size={size}\n // Zero the shell's own padding/min-height (forced with `!` — `inputShell`'s\n // per-size classes are applied *after* `className` in `InputBase`, so a\n // plain override loses the merge) and top-align it: the textarea now\n // carries its own padding (`TEXTAREA_PADDING`) and sizes itself, so the\n // shell just hugs it exactly, and the native resize grip renders flush\n // against the shell's real border. `overflow-clip` trims the textarea's\n // square corner to the shell's rounded one.\n className={cn(\"min-h-0! items-start! ps-0! pe-0! overflow-clip\", className)}\n classNames={{ root: classNames?.root }}\n {...props({\n disabled: disabled || field?.disabled,\n invalid: invalid || field?.invalid,\n readOnly: readOnly || field?.readOnly,\n })}\n >\n <ark.textarea\n ref={ref}\n {...fieldTextareaProps}\n {...fieldA11yProps(field)}\n {...props({\n disabled: disabled || field?.disabled,\n \"aria-invalid\": invalid || field?.invalid,\n readOnly: readOnly || field?.readOnly,\n \"data-testid\": testId,\n })}\n rows={minRowsValue}\n style={\n {\n \"--textarea-min-rows\": minRowsValue,\n \"--textarea-max-rows\": maxRowsValue,\n \"--textarea-py\": `${padding.blockRem}rem`,\n ...style,\n } as CSSProperties\n }\n className={cn(\n inputControlClasses,\n padding.className,\n \"field-sizing-content\",\n \"min-h-[calc(var(--textarea-min-rows)*1lh+var(--textarea-py))]\",\n \"max-h-[calc(var(--textarea-max-rows)*1lh+var(--textarea-py))]\",\n // Restyle the native grip flush against the border (Chrome/Edge/Safari\n // only — `::-webkit-resizer` has no equivalent in Firefox, which keeps\n // its plain native grip, still fully functional). Only ever paints\n // when `resizable` is on: the browser doesn't render a resizer pseudo\n // for `resize: none`. See `textarea-resizer` in theme.css — its color\n // is baked in to exactly match the shell's own border.\n \"textarea-resizer\",\n resizable ? \"resize-y\" : \"resize-none\",\n classNames?.input,\n )}\n {...rest}\n />\n </InputBase>\n )\n}\n\nexport const Textarea = ({\n label,\n description,\n error,\n required,\n disabled,\n size,\n classNames,\n ...control\n}: TextareaProps) => (\n <FieldShell\n label={label}\n description={description}\n error={error}\n required={required}\n disabled={disabled}\n size={size}\n className={classNames?.field}\n >\n <TextareaControl disabled={disabled} size={size} classNames={classNames} {...control} />\n </FieldShell>\n)\n"]}
@@ -0,0 +1,48 @@
1
+ import { type HTMLArkProps } from "@ark-ui/react";
2
+ import type { Ref } from "react";
3
+ import type { WithTestId } from "../../lib/test-id";
4
+ import { type FieldProps } from "../field/field";
5
+ import { type InputSize, type InputVariant } from "../input/input";
6
+ type TextareaClassNames = {
7
+ /** The field wrapper (label / description / error). */
8
+ field?: string;
9
+ /** The shell `<div>` (also targeted by `className`). */
10
+ root?: string;
11
+ /** The inner `<textarea>` element. */
12
+ input?: string;
13
+ };
14
+ export type TextareaProps = Omit<HTMLArkProps<"textarea">, "size" | "color" | "rows"> & Pick<FieldProps, "label" | "description" | "error" | "required"> & WithTestId & {
15
+ /** Shell treatment: bordered (`default`), soft-filled, or chrome-less. */
16
+ variant?: InputVariant;
17
+ /** Height step / control font / slot icon size. */
18
+ size?: InputSize;
19
+ /** Shows the native drag handle for manual resizing, flush with the shell
20
+ * border. Off by default — the control already grows to fit its content. */
21
+ resizable?: boolean;
22
+ /** Red border + ring; also wires `aria-invalid`. OR'd with `error`. */
23
+ invalid?: boolean;
24
+ /** Dims the shell and disables the textarea. */
25
+ disabled?: boolean;
26
+ /** Keeps full contrast but blocks edits. */
27
+ readOnly?: boolean;
28
+ /** Minimum visible text rows; the control grows past it as content wraps.
29
+ * Defaults to `3`. Also forwarded as the native `rows` attribute for
30
+ * graceful degradation in browsers without `field-sizing` support. */
31
+ minRows?: number;
32
+ /** Caps auto-grow at this many visible rows; once content exceeds it the
33
+ * control stops growing and scrolls internally instead of clipping.
34
+ * Defaults to `3` (matching `minRows`), so an untouched control reads as
35
+ * a fixed multi-line box. `min-height` wins over `max-height` when they
36
+ * conflict, so raising `minRows` alone (without also raising `maxRows`)
37
+ * produces a fixed box at that height rather than a growing one. */
38
+ maxRows?: number;
39
+ /** Lands on the underlying `<textarea>` for focus-on-error. */
40
+ ref?: Ref<HTMLTextAreaElement>;
41
+ /** Styles the shell root. */
42
+ className?: string;
43
+ /** Per-part class overrides. */
44
+ classNames?: TextareaClassNames;
45
+ };
46
+ export declare const Textarea: ({ label, description, error, required, disabled, size, classNames, ...control }: TextareaProps) => import("react").JSX.Element;
47
+ export {};
48
+ //# sourceMappingURL=textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/textarea/textarea.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAA;AAEtD,OAAO,KAAK,EAAiB,GAAG,EAAE,MAAM,OAAO,CAAA;AAG/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,KAAK,UAAU,EAA8B,MAAM,gBAAgB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icon";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/theme-icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gBAAgB,GACtB,MAAM,cAAc,CAAA"}
@@ -0,0 +1,6 @@
1
+ export { ThemeIcon } from '../../chunk-6I4R3HR6.js';
2
+ import '../../chunk-WYCMIIRR.js';
3
+ import '../../chunk-B2LCHXUB.js';
4
+ import '../../chunk-QP4I37PA.js';
5
+ //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,34 @@
1
+ import { type HTMLArkProps } from "@ark-ui/react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import type { Color } from "../../lib/colors";
4
+ import type { WithTestId } from "../../lib/test-id";
5
+ /**
6
+ * ThemeIcon — square, non-interactive icon-display box. Visually related to
7
+ * `ActionIcon` (same size/radius scales) but deliberately **not** its
8
+ * (variant × color) look: every variant here is a muted, low-saturation
9
+ * surface — just enough contrast to read as "raised above the page," never
10
+ * a vivid CTA-style fill. There's no hover state and no cursor affordance,
11
+ * because this is a display, not a control.
12
+ *
13
+ * `asChild` renders the single child as the root, so it composes on top of
14
+ * an interactive element (e.g. wrap a `Link`) when the icon itself needs to
15
+ * be clickable. The kit's focus ring (`focusStyles`) rides along for that
16
+ * case and stays inert on the default `<div>` — but reach for `ActionIcon`
17
+ * when an interactive icon is the common case, since it also supplies the
18
+ * `aria-label`, disabled and loading handling a real trigger needs.
19
+ */
20
+ declare const themeIconVariants: (props?: ({
21
+ variant?: "default" | "filled" | "light" | "outline" | "subtle" | null | undefined;
22
+ size?: "lg" | "md" | "sm" | "xl" | "xs" | null | undefined;
23
+ radius?: "full" | "lg" | "md" | "sm" | "xl" | "xs" | null | undefined;
24
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
25
+ export type ThemeIconVariant = NonNullable<VariantProps<typeof themeIconVariants>["variant"]>;
26
+ export type ThemeIconSize = NonNullable<VariantProps<typeof themeIconVariants>["size"]>;
27
+ export type ThemeIconRadius = NonNullable<VariantProps<typeof themeIconVariants>["radius"]>;
28
+ export type ThemeIconProps = HTMLArkProps<"div"> & VariantProps<typeof themeIconVariants> & WithTestId & {
29
+ /** Accent palette. Re-exported as `Color` from `@42/ui-react`. */
30
+ color?: Color;
31
+ };
32
+ export declare const ThemeIcon: ({ className, variant, size, radius, color, asChild, testId, ...rest }: ThemeIconProps) => import("react").JSX.Element;
33
+ export {};
34
+ //# sourceMappingURL=theme-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-icon.d.ts","sourceRoot":"","sources":["../../../src/components/theme-icon/theme-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAG7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,iBAAiB;;;;8EA2DtB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAA;AAC7F,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AACvF,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAA;AAE3F,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,KAAK,CAAC,GAC9C,YAAY,CAAC,OAAO,iBAAiB,CAAC,GACtC,UAAU,GAAG;IACX,kEAAkE;IAClE,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AAEH,eAAO,MAAM,SAAS,0EASnB,cAAc,gCAShB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { ThemeScript, type ThemeScriptProps } from "./theme-script";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/theme-script/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { buildThemeInitScript } from '../../chunk-EEMRRRYS.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ function ThemeScript({
5
+ storageKey,
6
+ defaultColorScheme,
7
+ forceColorScheme,
8
+ attribute,
9
+ nonce
10
+ } = {}) {
11
+ return /* @__PURE__ */ jsx(
12
+ "script",
13
+ {
14
+ nonce,
15
+ dangerouslySetInnerHTML: {
16
+ __html: buildThemeInitScript({
17
+ storageKey,
18
+ defaultColorScheme,
19
+ forceColorScheme,
20
+ attribute
21
+ })
22
+ }
23
+ }
24
+ );
25
+ }
26
+
27
+ export { ThemeScript };
28
+ //# sourceMappingURL=index.js.map
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/theme-script/theme-script.tsx"],"names":[],"mappings":";;;AA8CO,SAAS,WAAA,CAAY;AAAA,EAC1B,UAAA;AAAA,EACA,kBAAA;AAAA,EACA,gBAAA;AAAA,EACA,SAAA;AAAA,EACA;AACF,CAAA,GAAsB,EAAC,EAAG;AACxB,EAAA,uBACE,GAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACC,KAAA;AAAA,MAEA,uBAAA,EAAyB;AAAA,QACvB,QAAQ,oBAAA,CAAqB;AAAA,UAC3B,UAAA;AAAA,UACA,kBAAA;AAAA,UACA,gBAAA;AAAA,UACA;AAAA,SACD;AAAA;AACH;AAAA,GACF;AAEJ","file":"index.js","sourcesContent":["import {\n buildThemeInitScript,\n type ResolvedTheme,\n type ThemeAttribute,\n type ThemeMode,\n} from \"../../lib/theme\"\n\nexport interface ThemeScriptProps {\n /** @default DEFAULT_THEME_STORAGE_KEY — must match `useTheme`'s `storageKey`. */\n storageKey?: string\n /** Fallback used when nothing is stored yet. Must match `useTheme`'s\n * `defaultColorScheme`, or the two can disagree on a visitor's first load.\n * @default \"system\" */\n defaultColorScheme?: ThemeMode\n /** Pins the applied theme, skipping the localStorage/OS-preference read\n * entirely. Must also be passed to `useTheme`'s `forceColorScheme`, or\n * this script and the hook will disagree on first load. */\n forceColorScheme?: ResolvedTheme\n /** Which DOM mechanism(s) to write — add `\"class\"` alongside `\"data-theme\"`\n * for consumers whose *other* CSS reads a literal `.dark` class (mirrors\n * next-themes' `attribute` option). Must match `useTheme`'s `attribute`,\n * or this script and the hook will disagree on first load.\n * @default \"data-theme\" */\n attribute?: ThemeAttribute | ThemeAttribute[]\n /** CSP nonce, forwarded to the rendered `<script nonce>` — required if your\n * app enforces a script-src CSP without `'unsafe-inline'`. */\n nonce?: string\n}\n\n/**\n * Renders the blocking pre-hydration script that prevents a flash of the\n * wrong theme. Render it as early as possible — e.g. as the first child of\n * `<body>` — from a Server Component (the root `app/layout.tsx`), so\n * Next.js serializes it into the actual initial HTML response and the\n * browser executes it before paint, before hydration.\n *\n * No \"use client\": plain server-renderable markup, no hooks. This component\n * cannot help a Vite CSR app at all (by the time React could insert a\n * `<script>` after boot, the \"before paint\" window has passed) — see the\n * package README for the equivalent manual `<script>` paste into\n * `index.html`.\n *\n * Also requires `<html suppressHydrationWarning>` on the consumer's root\n * layout — the script mutates `data-theme` on `<html>` before React\n * hydrates it, an attribute the server-rendered markup never included.\n */\nexport function ThemeScript({\n storageKey,\n defaultColorScheme,\n forceColorScheme,\n attribute,\n nonce,\n}: ThemeScriptProps = {}) {\n return (\n <script\n nonce={nonce}\n // biome-ignore lint/security/noDangerouslySetInnerHtml: trusted, package-authored script content, not user input\n dangerouslySetInnerHTML={{\n __html: buildThemeInitScript({\n storageKey,\n defaultColorScheme,\n forceColorScheme,\n attribute,\n }),\n }}\n />\n )\n}\n"]}
@@ -0,0 +1,41 @@
1
+ import { type ResolvedTheme, type ThemeAttribute, type ThemeMode } from "../../lib/theme";
2
+ export interface ThemeScriptProps {
3
+ /** @default DEFAULT_THEME_STORAGE_KEY — must match `useTheme`'s `storageKey`. */
4
+ storageKey?: string;
5
+ /** Fallback used when nothing is stored yet. Must match `useTheme`'s
6
+ * `defaultColorScheme`, or the two can disagree on a visitor's first load.
7
+ * @default "system" */
8
+ defaultColorScheme?: ThemeMode;
9
+ /** Pins the applied theme, skipping the localStorage/OS-preference read
10
+ * entirely. Must also be passed to `useTheme`'s `forceColorScheme`, or
11
+ * this script and the hook will disagree on first load. */
12
+ forceColorScheme?: ResolvedTheme;
13
+ /** Which DOM mechanism(s) to write — add `"class"` alongside `"data-theme"`
14
+ * for consumers whose *other* CSS reads a literal `.dark` class (mirrors
15
+ * next-themes' `attribute` option). Must match `useTheme`'s `attribute`,
16
+ * or this script and the hook will disagree on first load.
17
+ * @default "data-theme" */
18
+ attribute?: ThemeAttribute | ThemeAttribute[];
19
+ /** CSP nonce, forwarded to the rendered `<script nonce>` — required if your
20
+ * app enforces a script-src CSP without `'unsafe-inline'`. */
21
+ nonce?: string;
22
+ }
23
+ /**
24
+ * Renders the blocking pre-hydration script that prevents a flash of the
25
+ * wrong theme. Render it as early as possible — e.g. as the first child of
26
+ * `<body>` — from a Server Component (the root `app/layout.tsx`), so
27
+ * Next.js serializes it into the actual initial HTML response and the
28
+ * browser executes it before paint, before hydration.
29
+ *
30
+ * No "use client": plain server-renderable markup, no hooks. This component
31
+ * cannot help a Vite CSR app at all (by the time React could insert a
32
+ * `<script>` after boot, the "before paint" window has passed) — see the
33
+ * package README for the equivalent manual `<script>` paste into
34
+ * `index.html`.
35
+ *
36
+ * Also requires `<html suppressHydrationWarning>` on the consumer's root
37
+ * layout — the script mutates `data-theme` on `<html>` before React
38
+ * hydrates it, an attribute the server-rendered markup never included.
39
+ */
40
+ export declare function ThemeScript({ storageKey, defaultColorScheme, forceColorScheme, attribute, nonce, }?: ThemeScriptProps): import("react").JSX.Element;
41
+ //# sourceMappingURL=theme-script.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-script.d.ts","sourceRoot":"","sources":["../../../src/components/theme-script/theme-script.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,iBAAiB,CAAA;AAExB,MAAM,WAAW,gBAAgB;IAC/B,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;4BAEwB;IACxB,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAC9B;;gEAE4D;IAC5D,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAChC;;;;gCAI4B;IAC5B,SAAS,CAAC,EAAE,cAAc,GAAG,cAAc,EAAE,CAAA;IAC7C;mEAC+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,KAAK,GACN,GAAE,gBAAqB,+BAevB"}
@@ -0,0 +1,32 @@
1
+ export type HourCycle = "h11" | "h12" | "h23" | "h24";
2
+ /**
3
+ * Resolve 12h vs 24h display (Req #6): an explicit `hourCycle` wins, then
4
+ * `format`, else the locale's own convention via `Intl.DateTimeFormat`. Shared
5
+ * by `TimeInput` and `DatePicker`'s embedded time panel so both pick the same
6
+ * cycle for the same locale.
7
+ */
8
+ export declare const resolveHourCycle: ({ locale, format, hourCycle, }: {
9
+ locale: string;
10
+ format?: 12 | 24;
11
+ hourCycle?: HourCycle;
12
+ }) => HourCycle;
13
+ /** Whether a resolved cycle displays 1–12 + AM/PM (`h11`/`h12`) rather than 0–23. */
14
+ export declare const is12Hour: (cycle: HourCycle) => boolean;
15
+ /** Convert a stored 24h hour (`0`–`23`) to a displayed 12h hour (`1`–`12`) + period. */
16
+ export declare const to12Hour: (hour24: number) => {
17
+ hour: number;
18
+ period: "AM" | "PM";
19
+ };
20
+ /** Convert a displayed 12h hour (`1`–`12`) + period back to a stored 24h hour. */
21
+ export declare const to24Hour: (hour12: number, period: "AM" | "PM") => number;
22
+ /** Locale-correct AM/PM display strings (e.g. "AM"/"PM" en-US, "午前"/"午後" ja-JP), read via
23
+ * `Intl.DateTimeFormat`'s own `dayPeriod` part rather than a hardcoded English literal. Keyed by
24
+ * the same `"AM" | "PM"` domain value `to12Hour`/`to24Hour` use throughout, so this only ever
25
+ * changes what's *displayed*, never what's stored/serialized. */
26
+ export declare const dayPeriodLabels: (locale: string) => Record<"AM" | "PM", string>;
27
+ export declare const timeUnitLabels: (locale: string) => {
28
+ hour: string;
29
+ minute: string;
30
+ second: string;
31
+ };
32
+ //# sourceMappingURL=hour-cycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hour-cycle.d.ts","sourceRoot":"","sources":["../../../src/components/time-input/hour-cycle.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAA;AAErD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,mCAI1B;IACD,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,EAAE,GAAG,EAAE,CAAA;IAChB,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,KAAG,SAIH,CAAA;AAED,qFAAqF;AACrF,eAAO,MAAM,QAAQ,UAAW,SAAS,KAAG,OAA6C,CAAA;AAEzF,wFAAwF;AACxF,eAAO,MAAM,QAAQ,WAAY,MAAM,KAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAA;CAG3E,CAAA;AAEF,kFAAkF;AAClF,eAAO,MAAM,QAAQ,WAAY,MAAM,UAAU,IAAI,GAAG,IAAI,KAAG,MACX,CAAA;AAEpD;;;kEAGkE;AAClE,eAAO,MAAM,eAAe,WAAY,MAAM,KAAG,MAAM,CAAC,IAAI,GAAG,IAAI,EAAE,MAAM,CAM1E,CAAA;AAOD,eAAO,MAAM,cAAc,WACjB,MAAM,KACb;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAMhD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { TimeInput, type TimeInputProps, type TimeValue } from "./time-input";
2
+ export type { TimeRowTranslations } from "./time-row";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/time-input/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAC7E,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA"}
@@ -0,0 +1,125 @@
1
+ "use client";
2
+ import { resolveHourCycle, is12Hour, TimeRow, to12Hour, to24Hour } from '../../chunk-FUWSTUDM.js';
3
+ import '../../chunk-44OV3PNH.js';
4
+ import '../../chunk-3GYOIQW7.js';
5
+ import '../../chunk-UVYTJQTJ.js';
6
+ import '../../chunk-QMW7D5GU.js';
7
+ import { FieldShell } from '../../chunk-UNSAA7YG.js';
8
+ import '../../chunk-7NZSTCJO.js';
9
+ import '../../chunk-VZ2TPU4B.js';
10
+ import '../../chunk-AIQG7IIT.js';
11
+ import '../../chunk-7P32XCEU.js';
12
+ import '../../chunk-BUIHQJGE.js';
13
+ import { useUncontrolled } from '../../chunk-BEL75C7N.js';
14
+ import '../../chunk-IG7FBZVM.js';
15
+ import { props } from '../../chunk-WYCMIIRR.js';
16
+ import '../../chunk-QP4I37PA.js';
17
+ import { useLocaleContext } from '@ark-ui/react/locale';
18
+ import { jsx, jsxs } from 'react/jsx-runtime';
19
+
20
+ var emptyDisplay = { hour: null, minute: null, second: null, period: null };
21
+ var toDisplay = (value, twelveHour) => {
22
+ if (value == null) return emptyDisplay;
23
+ const { hour, period } = twelveHour ? to12Hour(value.hour) : { hour: value.hour, period: null };
24
+ return { hour, minute: value.minute, second: value.second ?? null, period };
25
+ };
26
+ var fromDisplay = (display, twelveHour) => {
27
+ const hour = twelveHour ? to24Hour(display.hour ?? 12, display.period ?? "AM") : display.hour ?? 0;
28
+ const minute = display.minute ?? 0;
29
+ return display.second != null ? { hour, minute, second: display.second } : { hour, minute };
30
+ };
31
+ var TimeInput = ({
32
+ value,
33
+ defaultValue,
34
+ onChange,
35
+ format,
36
+ hourCycle,
37
+ minuteStep,
38
+ withSeconds,
39
+ placeholder,
40
+ locale,
41
+ translations,
42
+ size = "md",
43
+ variant = "default",
44
+ disabled,
45
+ readOnly,
46
+ invalid,
47
+ required,
48
+ name,
49
+ onBlur,
50
+ ref,
51
+ label,
52
+ description,
53
+ error,
54
+ className,
55
+ classNames,
56
+ testId
57
+ }) => {
58
+ const { locale: contextLocale } = useLocaleContext();
59
+ const resolvedLocale = locale ?? contextLocale;
60
+ const resolvedCycle = resolveHourCycle({ locale: resolvedLocale, format, hourCycle });
61
+ const twelveHour = is12Hour(resolvedCycle);
62
+ const isInvalid = invalid || error != null;
63
+ const [committed, setCommitted] = useUncontrolled({
64
+ value,
65
+ defaultValue,
66
+ finalValue: null,
67
+ onChange
68
+ });
69
+ const patch = (partial) => {
70
+ const current = toDisplay(committed, twelveHour);
71
+ setCommitted(fromDisplay({ ...current, ...partial }, twelveHour));
72
+ };
73
+ const display = toDisplay(committed, twelveHour);
74
+ const serialize = (time) => {
75
+ if (time == null) return "";
76
+ const pad = (n) => String(n).padStart(2, "0");
77
+ return time.second != null ? `${pad(time.hour)}:${pad(time.minute)}:${pad(time.second)}` : `${pad(time.hour)}:${pad(time.minute)}`;
78
+ };
79
+ return /* @__PURE__ */ jsx(
80
+ FieldShell,
81
+ {
82
+ label,
83
+ description,
84
+ error,
85
+ required,
86
+ disabled,
87
+ size,
88
+ className: classNames?.field,
89
+ children: /* @__PURE__ */ jsxs("div", { className, ...props({ "data-testid": testId }), children: [
90
+ /* @__PURE__ */ jsx(
91
+ TimeRow,
92
+ {
93
+ hour: display.hour,
94
+ minute: display.minute,
95
+ second: display.second,
96
+ onHourChange: (hour) => patch({ hour }),
97
+ onMinuteChange: (minute) => patch({ minute }),
98
+ onSecondChange: withSeconds ? (second) => patch({ second }) : void 0,
99
+ period: display.period,
100
+ onPeriodChange: (period) => patch({ period }),
101
+ hourCycle: resolvedCycle,
102
+ minuteStep,
103
+ withSeconds,
104
+ placeholder,
105
+ locale: resolvedLocale,
106
+ translations,
107
+ size,
108
+ variant,
109
+ disabled,
110
+ readOnly,
111
+ invalid: isInvalid,
112
+ ref,
113
+ onBlur,
114
+ classNames
115
+ }
116
+ ),
117
+ name && /* @__PURE__ */ jsx("input", { type: "hidden", name, value: serialize(committed) })
118
+ ] })
119
+ }
120
+ );
121
+ };
122
+
123
+ export { TimeInput };
124
+ //# sourceMappingURL=index.js.map
125
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/time-input/time-input.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AA2EA,IAAM,YAAA,GAA4B,EAAE,IAAA,EAAM,IAAA,EAAM,QAAQ,IAAA,EAAM,MAAA,EAAQ,IAAA,EAAM,MAAA,EAAQ,IAAA,EAAK;AAGzF,IAAM,SAAA,GAAY,CAAC,KAAA,EAAkB,UAAA,KAAqC;AACxE,EAAA,IAAI,KAAA,IAAS,MAAM,OAAO,YAAA;AAC1B,EAAA,MAAM,E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OAAA,EAAA,EAAM,IAAA,EAAK,UAAS,IAAA,EAAY,KAAA,EAAO,SAAA,CAAU,SAAS,CAAA,EAAG;AAAA,OAAA,EACzE;AAAA;AAAA,GACF;AAEJ","file":"index.js","sourcesContent":["\"use client\"\n\nimport { useLocaleContext } from \"@ark-ui/react/locale\"\nimport type { FormControlProps } from \"../../lib/form-control\"\nimport { props } from \"../../lib/props\"\nimport type { Size } from \"../../lib/sizes\"\nimport type { WithTestId } from \"../../lib/test-id\"\nimport { useUncontrolled } from \"../../lib/use-uncontrolled\"\nimport { type FieldProps, FieldShell } from \"../field/field\"\nimport type { InputVariant } from \"../input/input\"\nimport { type HourCycle, is12Hour, resolveHourCycle, to12Hour, to24Hour } from \"./hour-cycle\"\nimport { TimeRow, type TimeRowTranslations } from \"./time-row\"\n\n/**\n * TimeInput — a standalone HOUR/MINUTE (+ SECOND) + AM/PM time entry, composed\n * from the kit's `NumberInput` + `SegmentGroup` (Ark ships no time-picker\n * machine, only a countdown timer). It's the same time row `DatePicker`\n * embeds in its popover for `withTime`.\n *\n * - Value is `{ hour, minute, second? } | null` — `hour` is always stored in\n * 24h, regardless of display. There's no built-in range: a \"start\" /\n * \"end\" pair reads better as two labelled `TimeInput`s (e.g. \"Start\n * time\" / \"End time\") than as one control with no visual differentiation\n * between its two halves — compose that at the call site.\n * - 12h vs 24h is locale-driven by default (`Intl.DateTimeFormat`'s\n * `hourCycle`); override with `format` or `hourCycle`.\n * - Label / description / error come from the built-in `Field` wrapper.\n * - `name` wires a hidden `HH:mm[:ss]` input into native form submission —\n * the machine-backed controls in this kit have a real hidden part for\n * this; a composed field like this one has none, so it's hand-rolled.\n *\n * Palette / shape forward straight through to the underlying `NumberInput` /\n * `SegmentGroup` instances, so it matches the rest of the family for free.\n */\n\ntype TimeInputClassNames = {\n field?: string\n hour?: string\n minute?: string\n second?: string\n period?: string\n}\n\nexport type TimeValue = { hour: number; minute: number; second?: number } | null\n\nexport type TimeInputProps = Omit<FormControlProps<TimeValue, HTMLInputElement>, \"id\"> &\n Pick<FieldProps, \"label\" | \"description\" | \"error\" | \"required\"> &\n WithTestId & {\n /** Force 12-hour or 24-hour display, overriding the locale default. */\n format?: 12 | 24\n /** Force a specific hour cycle, overriding the locale default and `format`. */\n hourCycle?: HourCycle\n /** Minute stepper increment. Default `1`. */\n minuteStep?: number\n /** Add a SECOND field alongside HOUR/MINUTE. */\n withSeconds?: boolean\n /** Placeholder shown in each empty Hour/Minute/Second field. Default `\"--\"`. */\n placeholder?: string\n /** Locale used to resolve 12h vs 24h. Defaults to the active locale context. */\n locale?: string\n /** Overrides the sr-only Hour/Minute/Second/Period accessible names. English by default. */\n translations?: TimeRowTranslations\n size?: Size\n variant?: InputVariant\n className?: string\n classNames?: TimeInputClassNames\n }\n\ntype DisplayTime = {\n hour: number | null\n minute: number | null\n second: number | null\n period: \"AM\" | \"PM\" | null\n}\n\nconst emptyDisplay: DisplayTime = { hour: null, minute: null, second: null, period: null }\n\n/** Derive display-space fields (1–12 or 0–23, + period) from a stored 24h value. */\nconst toDisplay = (value: TimeValue, twelveHour: boolean): DisplayTime => {\n if (value == null) return emptyDisplay\n const { hour, period } = twelveHour ? to12Hour(value.hour) : { hour: value.hour, period: null }\n return { hour, minute: value.minute, second: value.second ?? null, period }\n}\n\n/** Merge a display-space edit back into a stored 24h value. Missing fields\n * default to midnight (`0` / `12` + \"AM\") rather than nulling the whole\n * value out from under a field the user hasn't touched yet — `TimeInput`\n * has no `clearable` affordance in v1, so a value only ever moves from\n * `null` to a complete `{ hour, minute }`, never partway back. */\nconst fromDisplay = (display: DisplayTime, twelveHour: boolean): Exclude<TimeValue, null> => {\n const hour = twelveHour\n ? to24Hour(display.hour ?? 12, display.period ?? \"AM\")\n : (display.hour ?? 0)\n const minute = display.minute ?? 0\n return display.second != null ? { hour, minute, second: display.second } : { hour, minute }\n}\n\nexport const TimeInput = ({\n value,\n defaultValue,\n onChange,\n format,\n hourCycle,\n minuteStep,\n withSeconds,\n placeholder,\n locale,\n translations,\n size = \"md\",\n variant = \"default\",\n disabled,\n readOnly,\n invalid,\n required,\n name,\n onBlur,\n ref,\n label,\n description,\n error,\n className,\n classNames,\n testId,\n}: TimeInputProps) => {\n const { locale: contextLocale } = useLocaleContext()\n const resolvedLocale = locale ?? contextLocale\n const resolvedCycle = resolveHourCycle({ locale: resolvedLocale, format, hourCycle })\n const twelveHour = is12Hour(resolvedCycle)\n const isInvalid = invalid || error != null\n\n const [committed, setCommitted] = useUncontrolled<TimeValue>({\n value,\n defaultValue,\n finalValue: null,\n onChange,\n })\n\n const patch = (partial: Partial<DisplayTime>) => {\n const current = toDisplay(committed, twelveHour)\n setCommitted(fromDisplay({ ...current, ...partial }, twelveHour))\n }\n\n const display = toDisplay(committed, twelveHour)\n\n /** `HH:mm` / `HH:mm:ss`, zero-padded — the format a `<input type=\"time\">` /\n * server would expect from a hidden field. */\n const serialize = (time: TimeValue): string => {\n if (time == null) return \"\"\n const pad = (n: number) => String(n).padStart(2, \"0\")\n return time.second != null\n ? `${pad(time.hour)}:${pad(time.minute)}:${pad(time.second)}`\n : `${pad(time.hour)}:${pad(time.minute)}`\n }\n\n return (\n <FieldShell\n label={label}\n description={description}\n error={error}\n required={required}\n disabled={disabled}\n size={size}\n className={classNames?.field}\n >\n {/* No single focusable control to route `testId` to — Hour/Minute/[Second] +\n AM/PM are each their own field — so it lands on the wrapping shell. */}\n <div className={className} {...props({ \"data-testid\": testId })}>\n <TimeRow\n hour={display.hour}\n minute={display.minute}\n second={display.second}\n onHourChange={(hour) => patch({ hour })}\n onMinuteChange={(minute) => patch({ minute })}\n onSecondChange={withSeconds ? (second) => patch({ second }) : undefined}\n period={display.period}\n onPeriodChange={(period) => patch({ period })}\n hourCycle={resolvedCycle}\n minuteStep={minuteStep}\n withSeconds={withSeconds}\n placeholder={placeholder}\n locale={resolvedLocale}\n translations={translations}\n size={size}\n variant={variant}\n disabled={disabled}\n readOnly={readOnly}\n invalid={isInvalid}\n ref={ref}\n onBlur={onBlur}\n classNames={classNames}\n />\n {name && <input type=\"hidden\" name={name} value={serialize(committed)} />}\n </div>\n </FieldShell>\n )\n}\n"]}
@@ -0,0 +1,63 @@
1
+ import type { FormControlProps } from "../../lib/form-control";
2
+ import type { Size } from "../../lib/sizes";
3
+ import type { WithTestId } from "../../lib/test-id";
4
+ import { type FieldProps } from "../field/field";
5
+ import type { InputVariant } from "../input/input";
6
+ import { type HourCycle } from "./hour-cycle";
7
+ import { type TimeRowTranslations } from "./time-row";
8
+ /**
9
+ * TimeInput — a standalone HOUR/MINUTE (+ SECOND) + AM/PM time entry, composed
10
+ * from the kit's `NumberInput` + `SegmentGroup` (Ark ships no time-picker
11
+ * machine, only a countdown timer). It's the same time row `DatePicker`
12
+ * embeds in its popover for `withTime`.
13
+ *
14
+ * - Value is `{ hour, minute, second? } | null` — `hour` is always stored in
15
+ * 24h, regardless of display. There's no built-in range: a "start" /
16
+ * "end" pair reads better as two labelled `TimeInput`s (e.g. "Start
17
+ * time" / "End time") than as one control with no visual differentiation
18
+ * between its two halves — compose that at the call site.
19
+ * - 12h vs 24h is locale-driven by default (`Intl.DateTimeFormat`'s
20
+ * `hourCycle`); override with `format` or `hourCycle`.
21
+ * - Label / description / error come from the built-in `Field` wrapper.
22
+ * - `name` wires a hidden `HH:mm[:ss]` input into native form submission —
23
+ * the machine-backed controls in this kit have a real hidden part for
24
+ * this; a composed field like this one has none, so it's hand-rolled.
25
+ *
26
+ * Palette / shape forward straight through to the underlying `NumberInput` /
27
+ * `SegmentGroup` instances, so it matches the rest of the family for free.
28
+ */
29
+ type TimeInputClassNames = {
30
+ field?: string;
31
+ hour?: string;
32
+ minute?: string;
33
+ second?: string;
34
+ period?: string;
35
+ };
36
+ export type TimeValue = {
37
+ hour: number;
38
+ minute: number;
39
+ second?: number;
40
+ } | null;
41
+ export type TimeInputProps = Omit<FormControlProps<TimeValue, HTMLInputElement>, "id"> & Pick<FieldProps, "label" | "description" | "error" | "required"> & WithTestId & {
42
+ /** Force 12-hour or 24-hour display, overriding the locale default. */
43
+ format?: 12 | 24;
44
+ /** Force a specific hour cycle, overriding the locale default and `format`. */
45
+ hourCycle?: HourCycle;
46
+ /** Minute stepper increment. Default `1`. */
47
+ minuteStep?: number;
48
+ /** Add a SECOND field alongside HOUR/MINUTE. */
49
+ withSeconds?: boolean;
50
+ /** Placeholder shown in each empty Hour/Minute/Second field. Default `"--"`. */
51
+ placeholder?: string;
52
+ /** Locale used to resolve 12h vs 24h. Defaults to the active locale context. */
53
+ locale?: string;
54
+ /** Overrides the sr-only Hour/Minute/Second/Period accessible names. English by default. */
55
+ translations?: TimeRowTranslations;
56
+ size?: Size;
57
+ variant?: InputVariant;
58
+ className?: string;
59
+ classNames?: TimeInputClassNames;
60
+ };
61
+ export declare const TimeInput: ({ value, defaultValue, onChange, format, hourCycle, minuteStep, withSeconds, placeholder, locale, translations, size, variant, disabled, readOnly, invalid, required, name, onBlur, ref, label, description, error, className, classNames, testId, }: TimeInputProps) => import("react").JSX.Element;
62
+ export {};
63
+ //# sourceMappingURL=time-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-input.d.ts","sourceRoot":"","sources":["../../../src/components/time-input/time-input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,KAAK,UAAU,EAAc,MAAM,gBAAgB,CAAA;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,KAAK,SAAS,EAAkD,MAAM,cAAc,CAAA;AAC7F,OAAO,EAAW,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAE9D;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAAA;AAEhF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,gBAAgB,CAAC,EAAE,IAAI,CAAC,GACpF,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,aAAa,GAAG,OAAO,GAAG,UAAU,CAAC,GAChE,UAAU,GAAG;IACX,uEAAuE;IACvE,MAAM,CAAC,EAAE,EAAE,GAAG,EAAE,CAAA;IAChB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gDAAgD;IAChD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gFAAgF;IAChF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gFAAgF;IAChF,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,4FAA4F;IAC5F,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,mBAAmB,CAAA;CACjC,CAAA;AA+BH,eAAO,MAAM,SAAS,yPA0BnB,cAAc,gCAwEhB,CAAA"}
@@ -0,0 +1,72 @@
1
+ import type { FocusEvent, Ref } from "react";
2
+ import type { Size } from "../../lib/sizes";
3
+ import type { InputVariant } from "../input/input";
4
+ import { type HourCycle } from "./hour-cycle";
5
+ /**
6
+ * The HOUR/MINUTE (+ SECOND) + AM/PM row — the piece `TimeInput` wraps with
7
+ * state, and `DatePicker`'s embedded time panel wraps with `api.setTime()`
8
+ * (one implementation, two call sites). Operates entirely in *display* units
9
+ * (1–12 in 12h mode, 0–23 in 24h) — the always-24h stored `hour` conversion
10
+ * happens at the caller's boundary, not here.
11
+ */
12
+ type TimeRowClassNames = {
13
+ hour?: string;
14
+ minute?: string;
15
+ second?: string;
16
+ period?: string;
17
+ };
18
+ /** Overrides the sr-only accessible names for Hour/Minute/Second/Period — English by default.
19
+ * Arbitrary microcopy with no locale-derivation path (unlike AM/PM and the unit suffixes,
20
+ * which read from `Intl` instead). */
21
+ export type TimeRowTranslations = {
22
+ hour?: string;
23
+ minute?: string;
24
+ second?: string;
25
+ period?: string;
26
+ };
27
+ /** The row's own minimum rendered width for a given configuration. `DatePicker` uses this (see
28
+ * its own `calendarColumnWidth` comment) to keep its popover column at least as wide as the
29
+ * embedded time row needs, instead of only ever sizing off the calendar grid — otherwise the
30
+ * row's `flex-1` + `min-w-0` fields silently shrink below their content size to fit.
31
+ *
32
+ * This is deliberately just Hour/Minute/[Second] at their basis plus the gaps *between* them —
33
+ * not the AM/PM toggle's width added on top. The toggle wraps onto its own line (the row's
34
+ * `flex-wrap` below) rather than forcing the row wider, so at a single narrow month it drops
35
+ * below Hour/Minute instead of pushing the popover past the calendar's own width — the row only
36
+ * needs to be as wide as the toggle itself in the (currently never hit — Hour+Minute together
37
+ * are wider than the toggle at every size) case where that's the larger requirement. */
38
+ export declare const timeRowMinWidth: (size: Size, hourCycle: HourCycle, withSeconds: boolean | undefined) => number;
39
+ export type TimeRowProps = {
40
+ hour: number | null;
41
+ minute: number | null;
42
+ second?: number | null;
43
+ onHourChange: (hour: number | null) => void;
44
+ onMinuteChange: (minute: number | null) => void;
45
+ onSecondChange?: (second: number | null) => void;
46
+ period: "AM" | "PM" | null;
47
+ onPeriodChange: (period: "AM" | "PM") => void;
48
+ hourCycle: HourCycle;
49
+ minuteStep?: number;
50
+ withSeconds?: boolean;
51
+ /** Placeholder shown in each empty Hour/Minute/Second field. Default `"--"`. */
52
+ placeholder?: string;
53
+ /** Resolves the locale-correct AM/PM labels + Hour/Minute/Second unit suffixes via `Intl`.
54
+ * Falls back to `useLocaleContext()` when omitted. */
55
+ locale?: string;
56
+ /** Overrides the sr-only Hour/Minute/Second/Period accessible names. English by default. */
57
+ translations?: TimeRowTranslations;
58
+ size?: Size;
59
+ variant?: InputVariant;
60
+ disabled?: boolean;
61
+ readOnly?: boolean;
62
+ invalid?: boolean;
63
+ /** Lands on the hour field's `<input>` for focus-on-error. */
64
+ ref?: Ref<HTMLInputElement>;
65
+ /** Forwarded to the hour field's `<input>`; drives touched/blurred validation. */
66
+ onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
67
+ className?: string;
68
+ classNames?: TimeRowClassNames;
69
+ };
70
+ export declare const TimeRow: ({ hour, minute, second, onHourChange, onMinuteChange, onSecondChange, period, onPeriodChange, hourCycle, minuteStep, withSeconds, placeholder, locale, translations, size, variant, disabled, readOnly, invalid, ref, onBlur, className, classNames, }: TimeRowProps) => import("react").JSX.Element;
71
+ export {};
72
+ //# sourceMappingURL=time-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-row.d.ts","sourceRoot":"","sources":["../../../src/components/time-input/time-row.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAiB,GAAG,EAAE,MAAM,OAAO,CAAA;AAE3D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAGlD,OAAO,EAAmB,KAAK,SAAS,EAA4B,MAAM,cAAc,CAAA;AAExF;;;;;;GAMG;AAEH,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CA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,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8DAA8D;IAC9D,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAA;IAC3B,kFAAkF;IAClF,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IACtD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,iBAAiB,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,OAAO,2PAwBjB,YAAY,gCA4Hd,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { Timeline, type TimelineBulletVariant, type TimelineContentProps, type TimelineItemProps, type TimelineLabelProps, type TimelineLineVariant, type TimelineProps, type TimelineSize, type TimelineTitleProps, } from "./timeline";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,kBAAkB,GACxB,MAAM,YAAY,CAAA"}