@42-central/ui-react 0.0.0-stage → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1248) hide show
  1. package/README.md +454 -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-ACE7FBWE.js +216 -0
  27. package/dist/chunk-ACE7FBWE.js.map +1 -0
  28. package/dist/chunk-AIQG7IIT.js +39 -0
  29. package/dist/chunk-AIQG7IIT.js.map +1 -0
  30. package/dist/chunk-B2LCHXUB.js +26 -0
  31. package/dist/chunk-B2LCHXUB.js.map +1 -0
  32. package/dist/chunk-BEL75C7N.js +35 -0
  33. package/dist/chunk-BEL75C7N.js.map +1 -0
  34. package/dist/chunk-BJZLQTAZ.js +3 -0
  35. package/dist/chunk-BJZLQTAZ.js.map +1 -0
  36. package/dist/chunk-BUIHQJGE.js +8 -0
  37. package/dist/chunk-BUIHQJGE.js.map +1 -0
  38. package/dist/chunk-CHTN5AHI.js +106 -0
  39. package/dist/chunk-CHTN5AHI.js.map +1 -0
  40. package/dist/chunk-CSCVTESP.js +58 -0
  41. package/dist/chunk-CSCVTESP.js.map +1 -0
  42. package/dist/chunk-EEMRRRYS.js +60 -0
  43. package/dist/chunk-EEMRRRYS.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-ORTCK34Y.js +3 -0
  79. package/dist/chunk-ORTCK34Y.js.map +1 -0
  80. package/dist/chunk-P3XMBETI.js +26 -0
  81. package/dist/chunk-P3XMBETI.js.map +1 -0
  82. package/dist/chunk-P7A3BCAC.js +93 -0
  83. package/dist/chunk-P7A3BCAC.js.map +1 -0
  84. package/dist/chunk-PJL4ZL5V.js +639 -0
  85. package/dist/chunk-PJL4ZL5V.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-TMMEJKLI.js +363 -0
  103. package/dist/chunk-TMMEJKLI.js.map +1 -0
  104. package/dist/chunk-TNNH3FVQ.js +155 -0
  105. package/dist/chunk-TNNH3FVQ.js.map +1 -0
  106. package/dist/chunk-TWGCWKRV.js +44 -0
  107. package/dist/chunk-TWGCWKRV.js.map +1 -0
  108. package/dist/chunk-U5GW5EBR.js +150 -0
  109. package/dist/chunk-U5GW5EBR.js.map +1 -0
  110. package/dist/chunk-UNSAA7YG.js +148 -0
  111. package/dist/chunk-UNSAA7YG.js.map +1 -0
  112. package/dist/chunk-UVYTJQTJ.js +14 -0
  113. package/dist/chunk-UVYTJQTJ.js.map +1 -0
  114. package/dist/chunk-VLUKI3HL.js +120 -0
  115. package/dist/chunk-VLUKI3HL.js.map +1 -0
  116. package/dist/chunk-VZ2TPU4B.js +348 -0
  117. package/dist/chunk-VZ2TPU4B.js.map +1 -0
  118. package/dist/chunk-VZH6TS7M.js +153 -0
  119. package/dist/chunk-VZH6TS7M.js.map +1 -0
  120. package/dist/chunk-WYCMIIRR.js +12 -0
  121. package/dist/chunk-WYCMIIRR.js.map +1 -0
  122. package/dist/chunk-WZB6LPQI.js +47 -0
  123. package/dist/chunk-WZB6LPQI.js.map +1 -0
  124. package/dist/chunk-YBJB7FGE.js +187 -0
  125. package/dist/chunk-YBJB7FGE.js.map +1 -0
  126. package/dist/chunk-YIQI2CF3.js +92 -0
  127. package/dist/chunk-YIQI2CF3.js.map +1 -0
  128. package/dist/chunk-YKUCSV34.js +72 -0
  129. package/dist/chunk-YKUCSV34.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 +82 -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 +6582 -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 +29 -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 +24 -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 +291 -0
  594. package/dist/components/schedule/schedule-geometry.d.ts.map +1 -0
  595. package/dist/components/schedule/schedule-grid-gesture.d.ts +288 -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 +841 -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 +1275 -0
  853. package/package.json +100 -4
  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 +125 -0
  863. package/src/components/alert/alert.tsx +158 -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 +403 -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 +517 -0
  1028. package/src/components/notification/index.ts +20 -0
  1029. package/src/components/notification/notification.test.tsx +306 -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 +209 -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 +181 -0
  1076. package/src/components/schedule/schedule-dates.test.ts +771 -0
  1077. package/src/components/schedule/schedule-dates.ts +721 -0
  1078. package/src/components/schedule/schedule-day-view.tsx +30 -0
  1079. package/src/components/schedule/schedule-days-view.tsx +277 -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 +157 -0
  1083. package/src/components/schedule/schedule-event-chip.tsx +1176 -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 +461 -0
  1089. package/src/components/schedule/schedule-grid-gesture.test.ts +153 -0
  1090. package/src/components/schedule/schedule-grid-gesture.ts +567 -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 +688 -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 +136 -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 +1609 -0
  1106. package/src/components/schedule/schedule-toolbar.tsx +264 -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 +1149 -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 +305 -0
  1115. package/src/components/schedule/schedule.test.tsx +4268 -0
  1116. package/src/components/schedule/schedule.tsx +1038 -0
  1117. package/src/components/schedule/use-event-create.ts +590 -0
  1118. package/src/components/schedule/use-event-drag.ts +504 -0
  1119. package/src/components/schedule/use-event-resize.ts +563 -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 +1275 -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,"file":"schedule-types.d.ts","sourceRoot":"","sources":["../../../src/components/schedule/schedule-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAE1E;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,YAChC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,MAAM,EACN,MAAM,EACN,MAAM,EACN,QAAQ,EACR,MAAM,CACE,CAAA;AACV,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEvE;;;;;;;;;;;;GAYG;AACH,KAAK,iBAAiB,CAAC,CAAC,GAAG,OAAO,IAAI;IACpC,wDAAwD;IACxD,EAAE,EAAE,MAAM,CAAA;IACV,4EAA4E;IAC5E,KAAK,EAAE,IAAI,CAAA;IACX,mFAAmF;IACnF,GAAG,EAAE,IAAI,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb;;;;+EAI2E;IAC3E,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;2EACuE;IACvE,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAC1B,6EAA6E;IAC7E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;sDACkD;IAClD,OAAO,CAAC,EAAE,CAAC,CAAA;IACX;;sDAEkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,OAAO,IA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,CAAA"}
@@ -0,0 +1,197 @@
1
+ import type { ReactNode } from "react";
2
+ import type { ScheduleTranslations, ScheduleView } from "./schedule-types";
3
+ /**
4
+ * The view-switcher's configurable entry list (`ScheduleProps.views`), and the
5
+ * pure resolvers that turn it into something `Root` and `Schedule.Toolbar`'s
6
+ * `ViewSwitcher` can render.
7
+ *
8
+ * Kept out of `schedule-types.ts` deliberately — that file is already past 600
9
+ * lines, and this directory is split strictly one-concern-per-file with a
10
+ * paired test each (`schedule-dates`, `schedule-layout`, `schedule-segments`,
11
+ * `schedule-snap`, `schedule-geometry`). The import graph stays acyclic: this
12
+ * module imports from `schedule-types.ts`, never the other way round.
13
+ *
14
+ * The distinction the whole file turns on: an entry's **`id`** is its
15
+ * *identity* (which tab is active, and what `view`/`defaultView`/
16
+ * `onViewChange` carry), while its **`view`** is its *renderer* (which of the
17
+ * three view components draws it). They coincide for the plain
18
+ * `"days"`/`"month"`/`"year"` entries, which is why a single `ScheduleView`
19
+ * sufficed before this existed — but they must not be conflated once one
20
+ * schedule can offer two differently-sized days-windows.
21
+ */
22
+ /** The bare-string entries `views` accepts.
23
+ *
24
+ * `"day"`/`"week"` are **not** `ScheduleView`s — there is no "day" renderer,
25
+ * they are preconfigured `"days"` windows — which is exactly why this is a
26
+ * wider union than `ScheduleView` rather than an alias for it. `"agenda"`,
27
+ * by contrast, *is* a renderer and rides in on `ScheduleView`. */
28
+ export type ScheduleViewShorthand = "day" | "week" | ScheduleView;
29
+ export type ScheduleViewOptionObject = {
30
+ /** The entry's identity: the value `view`/`defaultView`/`onViewChange` carry,
31
+ * and the switcher tab's key. Arbitrary — only the six
32
+ * `ScheduleViewShorthand` ids come with defaults. */
33
+ id: string;
34
+ /** Which renderer draws it. Defaults from `id` when `id` is a known
35
+ * shorthand, otherwise `"days"`. */
36
+ view?: ScheduleView;
37
+ /** Overrides `ScheduleProps.visibleDays` while this entry is active.
38
+ * Meaningful only for the `"days"` renderer; Month, Year and Agenda take no
39
+ * window size. */
40
+ visibleDays?: number;
41
+ /** Overrides the `translations`-derived tab label. `ReactNode`, not `string`,
42
+ * so a custom entry can carry an icon or a `<Trans>`-style element. */
43
+ label?: ReactNode;
44
+ };
45
+ export type ScheduleViewOption = ScheduleViewShorthand | ScheduleViewOptionObject;
46
+ /** The `views` array `Schedule` is generic over. `ReadonlyArray`, not `Array`,
47
+ * so an `as const` tuple at the call site is assignable. */
48
+ export type ScheduleViews = ReadonlyArray<ScheduleViewOption>;
49
+ /** Reproduces the pre-`views` behaviour exactly, and is `V`'s default type
50
+ * argument — see `ScheduleViewId`'s note on why that matters.
51
+ *
52
+ * Deliberately excludes `"agenda"`: adding a fourth tab to every schedule
53
+ * that never asked for one is precisely the silent change this list exists
54
+ * to prevent. Opt in with `views`. */
55
+ export declare const DEFAULT_SCHEDULE_VIEWS: readonly ["days", "month", "year"];
56
+ export type DefaultScheduleViews = typeof DEFAULT_SCHEDULE_VIEWS;
57
+ /**
58
+ * One entry's id — the analogue of `TabsValue<Data>` (`tabs-data.tsx`) and
59
+ * `SelectValue<Data>` (`lib/select-data.ts`), which this whole mechanism is
60
+ * modelled on.
61
+ *
62
+ * **Deliberately distributive — do not add the `[T] extends [U]` tuple wrap.**
63
+ * `lib/required-if.ts` documents that idiom as mandatory for *its* shape and
64
+ * that is still true there; this is the opposite shape and the opposite
65
+ * conclusion, so the two rules only look contradictory. There, the type maps a
66
+ * flag onto a *requirement*, and distributing over a `boolean` yields
67
+ * `Required | Partial` — a union whose `Partial` half silently accepts a value
68
+ * missing the callback, i.e. it fails **unsafe**. Here the type is a plain
69
+ * projection (union in, union out), and distribution is the only thing that
70
+ * makes a non-literal `ScheduleViewOption[]` collapse to `string`. Tuple-wrap
71
+ * it and both branch checks fail against the union check type, yielding
72
+ * `never` — and a `view?: never` prop rejects every value a caller could pass.
73
+ * Verified in both directions against the repo's own tsc.
74
+ */
75
+ type ScheduleViewIdOf<Option> = Option extends string ? Option : Option extends {
76
+ id: infer Id extends string;
77
+ } ? Id : never;
78
+ export type ScheduleViewId<V extends ScheduleViews> = ScheduleViewIdOf<V[number]>;
79
+ /**
80
+ * Which **renderer** each shorthand expands to — the type-level mirror of
81
+ * `SHORTHANDS`' `view` column below. Restated rather than derived from that
82
+ * table because the table is annotated `Record<ScheduleViewShorthand,
83
+ * ResolvedScheduleView>`, which widens every `view` to the full
84
+ * `ScheduleView` union and leaves nothing to read back. `SHORTHANDS` is
85
+ * checked against this map, so adding a seventh shorthand to one without the
86
+ * other is a compile error rather than a silent gap.
87
+ */
88
+ type ShorthandRenderer = {
89
+ day: "days";
90
+ week: "days";
91
+ days: "days";
92
+ month: "month";
93
+ year: "year";
94
+ agenda: "agenda";
95
+ };
96
+ /** Mirrors `resolveScheduleViewOption`'s `base?.view ?? "days"` tail.
97
+ *
98
+ * The `[string] extends [Id]` wrap is load-bearing and is *not* the same
99
+ * check as `Id extends ScheduleViewShorthand` below: it asks "is this id
100
+ * still a widened `string`", i.e. an id computed at runtime. Such an id
101
+ * could name any shorthand, so it has to answer with every renderer — fail
102
+ * **open**. Drop the wrap and it resolves to `"days"` instead, which would
103
+ * forbid every Month/Year/Agenda prop on any schedule whose `views` are
104
+ * built dynamically. */
105
+ type RendererFromId<Id> = [string] extends [Id] ? ScheduleView : Id extends ScheduleViewShorthand ? ShorthandRenderer[Id] : "days";
106
+ /**
107
+ * Normalises an entry to two *always-required* fields before anything is
108
+ * inferred out of it.
109
+ *
110
+ * Necessary because `O extends { view?: infer Vw }` infers `"month"`, not
111
+ * `"month" | undefined`, from `{ id: "x"; view?: "month" }` — TS drops
112
+ * `undefined` when inferring through an optional target property. That loses
113
+ * the "the key may be absent, so fall back to the id" branch entirely, and
114
+ * the type then fails **closed** on exactly the entries that need the
115
+ * fallback most.
116
+ */
117
+ type NormalizedOption<O> = {
118
+ [K in "id" | "view"]: K extends keyof O ? O[K] : undefined;
119
+ };
120
+ /**
121
+ * One entry's renderer — the renderer-side twin of `ScheduleViewIdOf` above,
122
+ * and a type-level mirror of `resolveScheduleViewOption`'s
123
+ * `option.view ?? base?.view ?? "days"` chain, evaluated in that same order.
124
+ *
125
+ * **Deliberately distributive — do not add the `[T] extends [U]` tuple
126
+ * wrap.** Same side of that argument as `ScheduleViewIdOf`, and the opposite
127
+ * side from `lib/required-if.ts`; see `ScheduleViewIdOf`'s own note for why
128
+ * the two rules only look contradictory. This is a plain projection (union of
129
+ * entries in, union of renderers out), and distribution is the only thing
130
+ * that resolves a mixed list like `["month", { id: "fortnight" }]` at all.
131
+ * Tuple-wrapped, every branch check fails against the union check type and
132
+ * the result is `never` — which `ScheduleProps` would read as "no renderer
133
+ * configured" and use to strip every renderer-scoped prop off the component.
134
+ * It still answers correctly for a uniform all-shorthand tuple, so a test
135
+ * suite that only covers `["days","month","year"]` would not catch it.
136
+ */
137
+ type RendererOfOption<O> = O extends ScheduleViewShorthand ? ShorthandRenderer[O] : NormalizedOption<O> extends {
138
+ id: infer Id;
139
+ view: infer Vw;
140
+ } ? Extract<Vw, ScheduleView> | (undefined extends Vw ? RendererFromId<Id> : never) : never;
141
+ /**
142
+ * Every renderer a `views` array can put on screen — what `ScheduleProps`
143
+ * gates each of its slices on.
144
+ *
145
+ * `views={[]}` answers `"days"` rather than `never`, mirroring the runtime's
146
+ * own `FALLBACK_VIEW` (`schedule.tsx`). Without that guard an empty tuple's
147
+ * `V[number]` is `never`, every gate closes, and a caller who already has a
148
+ * `devWarn` telling them the list is empty would additionally be told that
149
+ * every prop they passed does not exist.
150
+ */
151
+ export type ScheduleRenderers<V extends ScheduleViews> = [V[number]] extends [never] ? "days" : RendererOfOption<V[number]>;
152
+ /** A fully-defaulted entry. `label` stays optional — `scheduleViewLabel`
153
+ * resolves it against `translations`, which this module has no business
154
+ * reaching into. */
155
+ export type ResolvedScheduleView = {
156
+ id: string;
157
+ view: ScheduleView;
158
+ /** `undefined` means "inherit `ScheduleProps.visibleDays`". */
159
+ visibleDays?: number;
160
+ label?: ReactNode;
161
+ };
162
+ /**
163
+ * Expands one entry to its full shape.
164
+ *
165
+ * `{ id: "day" }` is exactly equivalent to `"day"` — the object form inherits
166
+ * `view` *and* `visibleDays` from the shorthand table, so there is one mental
167
+ * model (`{ ...shorthand, ...explicit }`) rather than two. `{ id: "day",
168
+ * visibleDays: 2 }` is still an ordinary override of that inherited default.
169
+ *
170
+ * Idempotent: re-resolving a `ResolvedScheduleView` returns an equivalent
171
+ * value, which is what lets `Root` hand its already-resolved array straight to
172
+ * `ViewSwitcher` instead of threading the raw one alongside it.
173
+ */
174
+ export declare function resolveScheduleViewOption(option: ScheduleViewOption): ResolvedScheduleView;
175
+ /** Not memoized, deliberately: this is a `map` over 3-5 entries, the same cost
176
+ * class as `resolveScheduleTranslations(translations)` which `Root` already
177
+ * calls unmemoized on every render. */
178
+ export declare function resolveScheduleViews(views?: ScheduleViews): ResolvedScheduleView[];
179
+ export declare function findScheduleView(views: ResolvedScheduleView[], id: string | undefined): ResolvedScheduleView | undefined;
180
+ /**
181
+ * The first entry drawn by a given renderer — the drill-down's target lookup.
182
+ *
183
+ * Drill-down is specified in terms of renderers ("a day click lands in the
184
+ * days grid"), but it has to *set* an id, and with a configurable `views` the
185
+ * two are no longer the same string. Returns `undefined` when the configured
186
+ * entries offer no such renderer at all, which is a real configuration (e.g.
187
+ * `views={["month", "year"]}`) and is why callers must handle the miss rather
188
+ * than assume a target exists.
189
+ */
190
+ export declare function findScheduleViewByRenderer(views: ResolvedScheduleView[], view: ScheduleView): ResolvedScheduleView | undefined;
191
+ /** Label precedence: an explicit `label`, then the translation for a shorthand
192
+ * id, then the raw `id`. The last is a deliberate fallback rather than a
193
+ * warning — a custom entry's id is the only thing the kit knows about it, and
194
+ * rendering it is more useful than rendering nothing. */
195
+ export declare function scheduleViewLabel(view: ResolvedScheduleView, t: Required<ScheduleTranslations>): ReactNode;
196
+ export {};
197
+ //# sourceMappingURL=schedule-views.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule-views.d.ts","sourceRoot":"","sources":["../../../src/components/schedule/sched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AClB,CAAA;AAiCD;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,kBAAkB,GAAG,oBAAoB,CAS1F;AAED;;wCAEwC;AACxC,wBAAgB,oBAAoB,CAClC,KAAK,GAAE,aAAsC,GAC5C,oBAAoB,EAAE,CAExB;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,oBAAoB,EAAE,EAC7B,EAAE,EAAE,MAAM,GAAG,SAAS,GACrB,oBAAoB,GAAG,SAAS,CAElC;AAED;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,oBAAoB,EAAE,EAC7B,IAAI,EAAE,YAAY,GACjB,oBAAoB,GAAG,SAAS,CAElC;AAcD;;;0DAG0D;AAC1D,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,oBAAoB,EAC1B,CAAC,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GAChC,SAAS,CAGX"}
@@ -0,0 +1,19 @@
1
+ import { type DaysViewBaseProps } from "./schedule-days-view";
2
+ import type { ScheduleSlotProps } from "./schedule-types";
3
+ /**
4
+ * RFC §17a (`docs/rfcs/schedule.md`) — a thin, preconfigured `DaysView` with
5
+ * `visibleDays` fixed to `7`, reinstated as a convenience wrapper (not a
6
+ * reimplementation — the whole point of the `DaysView` merge was one
7
+ * underlying engine) for the common full-week case.
8
+ *
9
+ * Unlike `DayView`, `align` stays on the public surface — matching the
10
+ * old, pre-merge `WeekView`'s `firstDayOfWeek` prop, a week genuinely has a
11
+ * start-of-week concept to configure (unlike a single day, see `DayView`).
12
+ *
13
+ * Renders `data-schedule-part="days-view"`, same as `DaysView` itself —
14
+ * this genuinely mounts one, so there's exactly one source of truth for
15
+ * that attribute rather than a second value to keep in sync.
16
+ */
17
+ export type WeekViewProps<P = unknown> = Omit<DaysViewBaseProps<P>, "visibleDays"> & ScheduleSlotProps;
18
+ export declare function WeekView<P = unknown>(props: WeekViewProps<P>): import("react").JSX.Element;
19
+ //# sourceMappingURL=schedule-week-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule-week-view.d.ts","sourceRoot":"","sources":["../../../src/components/schedule/schedule-week-view.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,OAAO,IAAI,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,GAChF,iBAAiB,CAAA;AAEnB,wBAAgB,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,+BAE5D"}
@@ -0,0 +1,38 @@
1
+ import { type HTMLArkProps } from "@ark-ui/react";
2
+ import type { WithTestId } from "../../lib/test-id";
3
+ import type { AnchorDateProps, PaginationChromeProps, ScheduleDayClickProps, ScheduleDayDisabledProps, ScheduleSharedProps } from "./schedule-types";
4
+ /**
5
+ * RFC §10 (`docs/rfcs/schedule.md`) — the year overview: 12 mini-months, no
6
+ * per-event rendering, ever. A day shows a neutral dot for exactly one
7
+ * event, a capped numeral ("9+") for more, and nothing for zero — mixing up
8
+ * to 9 event colors into ~2px dots at this cell size would read as
9
+ * noise, not signal. Disabled days get a muted day-number only (Month's
10
+ * diagonal-stripe overlay is illegible at mini-month scale).
11
+ *
12
+ * Each mini-month renders only its own real days — adjacent-month padding
13
+ * is blank cells (no number, no dot), not `MonthView`'s dimmed-but-real
14
+ * adjacent days, since duplicating a day's dot across two neighboring
15
+ * mini-months (the seam) would be genuinely confusing at a glance.
16
+ *
17
+ * `repeat(4, 1fr)` is the RFC's specified desktop shape; a fixed 4-column
18
+ * grid of 12 mini-calendars is illegible on a narrow viewport, and nothing
19
+ * in the RFC forbids stepping that down responsively, so this falls back to
20
+ * fewer columns below `sm`/`lg`.
21
+ */
22
+ export type YearViewProps<P = unknown> = ScheduleSharedProps<P> & ScheduleDayClickProps & ScheduleDayDisabledProps & AnchorDateProps & PaginationChromeProps & HTMLArkProps<"div"> & WithTestId & ScheduleYearOnlyProps;
23
+ /** Year only. Named so `ScheduleProps` can gate it by name rather than
24
+ * `Pick`ing the key out of `YearViewProps` — the hand-maintained shape that
25
+ * left `maxEventsPerDay` unreachable from `Root` for two releases. */
26
+ export type ScheduleYearOnlyProps = {
27
+ /**
28
+ * Mini-month header click, with that month's own start instant — the
29
+ * month-granularity twin of `onDayClick`, and gated by presence the same
30
+ * way: absent, the header is inert text and isn't focusable; present, it
31
+ * becomes a real button. RFC §10 calls this out as the sanctioned
32
+ * drill-down, and `Schedule`/`Schedule.Root` defaults it to switching to
33
+ * Month view for that month.
34
+ */
35
+ onMonthClick?: (date: Date) => void;
36
+ };
37
+ export declare function YearView<P = unknown>({ data, staticEvents, onDayClick, onMonthClick, locale, timeZone, translations, classNames, className, date, defaultDate, onDateChange, withPagination, withNowButton, now, dayDisabled, testId, ...rest }: YearViewProps<P>): import("react").JSX.Element;
38
+ //# sourceMappingURL=schedule-year-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule-year-view.d.ts","sourceRoot":"","sources":["../../../src/components/schedule/schedule-year-view.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAA;AAKtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAWnD,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,kBAAkB,CAAA;AAGzB;;;;;;;;;;;;;;;;;GAiBG;AAOH,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,OAAO,IAAI,mBAAmB,CAAC,CAAC,CAAC,GAC7D,qBAAqB,GACrB,wBAAwB,GACxB,eAAe,GACf,qBAAqB,GACrB,YAAY,CAAC,KAAK,CAAC,GACnB,UAAU,GACV,qBAAqB,CAAA;AAEvB;;uEAEuE;AACvE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;CACpC,CAAA;AAKD,wBAAgB,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,EACpC,IAAI,EACJ,YAAiB,EACjB,UAAU,EACV,YAAY,EACZ,MAAM,EACN,QAA6B,EAC7B,YAAY,EACZ,UAAU,EACV,SAAS,EACT,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,cAAqB,EACrB,aAAqB,EACrB,GAAG,EACH,WAAW,EACX,MAAM,EACN,GAAG,IAAI,EACR,EAAE,aAAa,CAAC,CAAC,CAAC,+BA+MlB"}
@@ -0,0 +1,163 @@
1
+ import { type HTMLArkProps } from "@ark-ui/react";
2
+ import { type ReactNode } from "react";
3
+ import type { AvailableIf, UnavailableProps } from "../../lib/available-if";
4
+ import type { WithTestId } from "../../lib/test-id";
5
+ import { type ScheduleAgendaOnlyProps } from "./schedule-agenda-view";
6
+ import { type ScheduleMonthOnlyProps } from "./schedule-month-view";
7
+ import type { AnchorDateProps, EditableCallbacks, FirstDayOfWeek, ScheduleAlign, ScheduleDayClickProps, ScheduleDayDisabledProps, ScheduleEditGesture, ScheduleEmptyProps, ScheduleEventProps, ScheduleOverflowProps, ScheduleSharedProps, ScheduleSlotProps, ScheduleTimedProps, ScheduleView } from "./schedule-types";
8
+ import type { DefaultScheduleViews, ScheduleRenderers, ScheduleViewId, ScheduleViews } from "./schedule-views";
9
+ import { type ScheduleYearOnlyProps } from "./schedule-year-view";
10
+ /**
11
+ * RFC §1/§3 (`docs/rfcs/schedule.md`) — `Schedule` (`Root`): orchestrates
12
+ * view-switching and the shared anchor date via `Schedule.Toolbar`,
13
+ * delegating all rendering to whichever view is active
14
+ * (`ts-pattern match(view).exhaustive()`). Composed by intersection from the
15
+ * views' own prop slices, never a context provider — the same "share
16
+ * via a superset type, not context" mechanism the RFC establishes
17
+ * throughout. Passes `withPagination={false} withNowButton={false}` to
18
+ * whichever view it renders, since `Root`'s own toolbar already covers both
19
+ * — a standalone view keeps its own built-in chrome exactly as before.
20
+ *
21
+ * `Editable` (inferred from a literal `editable` at the call site — see
22
+ * `EditableCallbacks`) makes a granted gesture's matching callback a compile
23
+ * error to omit, on top of the existing dev-mode runtime warning
24
+ * (`ScheduleTimedProps.editable`'s own doc comment). `Root`-only: the
25
+ * standalone `DaysView`/`DayView`/`WeekView` don't get this generic, for the
26
+ * reason `EditableCallbacks` explains.
27
+ */
28
+ /**
29
+ * Is any renderer in `R` among the ones `V` actually puts on screen?
30
+ *
31
+ * Three distribution decisions, each load-bearing and each proved against the
32
+ * repo's own tsc before this shipped:
33
+ *
34
+ * - `Extract<R, …>` **distributes over `R`**, which is what makes this "any
35
+ * of" rather than "all of". `[R] extends [ScheduleRenderers<V>]` reads as
36
+ * ALL of `R` and would forbid `dayDisabled` under `views={["days","month"]}`
37
+ * — Month is rendering, so it is plainly legal there.
38
+ * - `[…] extends [never]` **must** be tuple-wrapped. A naked
39
+ * `Active extends never` distributes, `never` in gives `never` out, and
40
+ * `X & never` is `never` — collapsing the whole props type so that every
41
+ * attribute errors, including the ones the caller got right.
42
+ * - `ScheduleRenderers<V>` must itself stay distributive; see its own note.
43
+ */
44
+ type HasRenderer<V extends ScheduleViews, R extends ScheduleView> = [
45
+ Extract<R, ScheduleRenderers<V>>
46
+ ] extends [never] ? false : true;
47
+ /** `align`'s type narrows with `V` as well as its availability: `"relative"`
48
+ * is a rolling *days* window, and `MonthView` has no use for one —
49
+ * `resolveWeekStartDay` drops it on the floor. With `views={["month"]}`,
50
+ * `align="relative"` is therefore a compile error rather than a silent
51
+ * no-op, which is the one silent drop that lives inside a prop's value
52
+ * rather than in the prop itself. */
53
+ type ScheduleAlignFor<V extends ScheduleViews> = HasRenderer<V, "days"> extends true ? ScheduleAlign : FirstDayOfWeek;
54
+ /**
55
+ * RFC §1/§3 (`docs/rfcs/schedule.md`) — `Schedule` (`Root`): orchestrates
56
+ * view-switching and the shared anchor date via `Schedule.Toolbar`,
57
+ * delegating all rendering to whichever view is active
58
+ * (`ts-pattern match(view).exhaustive()`). Composed by intersection from the
59
+ * views' own prop slices, never a context provider — the same "share via a
60
+ * superset type, not context" mechanism the RFC establishes throughout.
61
+ * Passes `withPagination={false} withNowButton={false}` to whichever view it
62
+ * renders, since `Root`'s own toolbar already covers both — a standalone view
63
+ * keeps its own built-in chrome exactly as before.
64
+ *
65
+ * **Each slice is gated on `views` actually configuring a renderer that reads
66
+ * it** (`lib/available-if.ts`). `<Schedule views={["month","year"]}
67
+ * slotDuration={30} />` used to typecheck and do nothing; it is now a compile
68
+ * error that says which renderer it wanted. The RFC already claimed this
69
+ * invariant — "structurally absent elsewhere, enforcing the view restriction
70
+ * at the type level" — and it held for every view *except* `Root`, which
71
+ * intersected the days slice unconditionally.
72
+ *
73
+ * Omitting `views` leaves `V` at `DefaultScheduleViews`, which configures
74
+ * days, month and year, so the default call site keeps every prop it had.
75
+ * Anything `views` cannot be resolved to — a `ScheduleViewOption[]` variable,
76
+ * a ternary between two tuples — widens to every renderer and likewise
77
+ * changes nothing; see `ScheduleRenderers`.
78
+ *
79
+ * `Editable` (inferred from a literal `editable` at the call site — see
80
+ * `EditableCallbacks`) makes a granted gesture's matching callback a compile
81
+ * error to omit, on top of the existing dev-mode runtime warning
82
+ * (`ScheduleTimedProps.editable`'s own doc comment). `Root`-only: the
83
+ * standalone `DaysView`/`DayView`/`WeekView` don't get this generic, for the
84
+ * reason `EditableCallbacks` explains.
85
+ */
86
+ export type ScheduleProps<P = unknown, Editable extends boolean | readonly ScheduleEditGesture[] = false, V extends ScheduleViews = DefaultScheduleViews> = ScheduleSharedProps<P> & AnchorDateProps & Omit<HTMLArkProps<"div">, "onSelect"> & WithTestId & AvailableIf<HasRenderer<V, "days" | "month" | "year">, ScheduleDayClickProps, "requires a days, month or year renderer in `views` — an agenda has no day to click"> & AvailableIf<HasRenderer<V, "days" | "month" | "agenda">, ScheduleEventProps<P>, "requires a days, month or agenda renderer in `views` — year draws density dots, never an event to select"> & AvailableIf<HasRenderer<V, "days" | "agenda">, ScheduleEmptyProps, "requires a days or agenda renderer in `views` — month and year always draw a calendar, so they have no empty state"> & AvailableIf<HasRenderer<V, "days" | "month">, ScheduleOverflowProps<P>, 'requires a days or month renderer in `views` — year and agenda cap nothing, so they have no "+N" to disclose'> & AvailableIf<HasRenderer<V, "days" | "month">, {
87
+ /**
88
+ * Locale default when omitted; `"relative"` starts the days-window at
89
+ * the anchor date itself instead of snapping to a calendar-week
90
+ * boundary. Named `align`, not `startOfWeek` — this same value also
91
+ * governs Month's window, and Root's own days-window isn't necessarily
92
+ * a week (`visibleDays` can be anything), so a literal "start of week"
93
+ * name would mislead here. Declared on `Root` rather than reused from
94
+ * `MonthViewProps.startOfWeek`, which is both narrower and differently
95
+ * named; it is narrowed via `resolveWeekStartDay` when forwarded to
96
+ * `MonthView` below.
97
+ *
98
+ * Its **type** follows `views` as well as its availability:
99
+ * `"relative"` is a rolling days window, so with no days renderer
100
+ * configured this is `FirstDayOfWeek` and `align="relative"` is a
101
+ * compile error rather than a silent no-op — see `ScheduleAlignFor`.
102
+ */
103
+ align?: ScheduleAlignFor<V>;
104
+ }, "requires a days or month renderer in `views`"> & AvailableIf<HasRenderer<V, "days">, Omit<ScheduleTimedProps<P>, "editable" | "onEventChange" | "onEventRemove" | "onEventCreate"> & {
105
+ /** Fallback window size, in days, for the `"days"` renderer. Default `7`.
106
+ * An active entry that pins its own `visibleDays` (`"day"` and `"week"`
107
+ * do) overrides this; `"days"` deliberately does not, so this prop keeps
108
+ * working exactly as before under the default entries. */
109
+ visibleDays?: number;
110
+ /**
111
+ * How a **reveal** scrolls the days grid — the day brought into view by
112
+ * navigating to it, and the chip brought into view by selecting it.
113
+ * Default `"auto"`, i.e. no animation.
114
+ *
115
+ * Replaces the former `scrollBehavior`, which borrowed the name of a CSS
116
+ * property whose job it does not do — it never governed the Now button
117
+ * (which always animates) nor a page turn (CSS keyframes), only reveals.
118
+ *
119
+ * A reveal is a side effect of going somewhere, not a gesture of its own,
120
+ * and an animated one reads as the grid drifting rather than as feedback
121
+ * — so it is opt-in, unlike the Now button, whose scroll answers a press
122
+ * and keeps animating. `"auto"` defers to the platform (and to any CSS
123
+ * `scroll-behavior` you have set, which is the right way to turn this on
124
+ * globally); `"instant"` refuses to animate whatever the CSS says.
125
+ *
126
+ * `"smooth"` still yields to `prefers-reduced-motion` — this can ask for
127
+ * motion, it cannot override someone asking for none.
128
+ */
129
+ revealBehavior?: ScrollBehavior;
130
+ }, "requires a days renderer in `views` — only a timed grid has hours, slots and gestures"> & AvailableIf<HasRenderer<V, "days">, ScheduleSlotProps, "requires a days renderer in `views` — only a timed grid has slots"> & (HasRenderer<V, "days"> extends true ? {
131
+ editable?: Editable;
132
+ } & EditableCallbacks<P, Editable> : UnavailableProps<Record<"editable" | "onEventChange" | "onEventRemove" | "onEventCreate", unknown>, "requires a days renderer in `views` — only a timed grid has gestures to permit">) & AvailableIf<HasRenderer<V, "month">, ScheduleMonthOnlyProps, "requires a month renderer in `views`"> & AvailableIf<HasRenderer<V, "month" | "year">, ScheduleDayDisabledProps, "requires a month or year renderer in `views` — the days grid restricts by time range, via `slotDisabled`"> & AvailableIf<HasRenderer<V, "year">, ScheduleYearOnlyProps, "requires a year renderer in `views`"> & AvailableIf<HasRenderer<V, "agenda">, ScheduleAgendaOnlyProps<P>, "requires an agenda renderer in `views` — note the default `views` does not include one"> & {
133
+ /**
134
+ * Which entries the view switcher offers, in order. Default
135
+ * `["days", "month", "year"]` — exactly the pre-`views` behaviour.
136
+ *
137
+ * Entries are `"day"`/`"week"`/`"days"`/`"month"`/`"year"` shorthands or
138
+ * `{ id, view, visibleDays, label }` objects; see `schedule-views.ts` for
139
+ * the id-vs-renderer distinction. `Schedule` is generic over this array,
140
+ * so `view`/`defaultView`/`onViewChange` below carry the exact union of
141
+ * ids you pass — hoist it with `as const` to keep that narrowing.
142
+ */
143
+ views?: V;
144
+ /** The active entry's **id**. Note an entry's own `view` field names its
145
+ * *renderer*; these three props carry the *identity*. They coincide under
146
+ * the default entries. */
147
+ view?: ScheduleViewId<V>;
148
+ defaultView?: ScheduleViewId<V>;
149
+ onViewChange?: (view: ScheduleViewId<V>) => void;
150
+ /** Default `true` — the standalone-view default is `false`, since a bare
151
+ * `DaysView`/... has no toolbar row of its own to put it in unless
152
+ * `withPagination` is also on; `Root` always has one. */
153
+ withNowButton?: boolean;
154
+ };
155
+ /**
156
+ * The public, view-gated signature. `const Editable`/`const V` are what let a
157
+ * call site's own literals narrow — an inline `views={["month","year"]}` in
158
+ * JSX narrows `V` with no `as const` needed (a *hoisted* variable still does;
159
+ * see the docs page).
160
+ */
161
+ export declare function ScheduleRoot<P = unknown, const Editable extends boolean | readonly ScheduleEditGesture[] = false, const V extends ScheduleViews = DefaultScheduleViews>(props: ScheduleProps<P, Editable, V>): ReactNode;
162
+ export {};
163
+ //# sourceMappingURL=schedule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../src/components/schedule/schedule.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAA;AAEtD,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAA;AAEzD,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAI3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAc,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAKjF,OAAO,EAAa,KAAK,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAE9E,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,wBAAw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AM,CAAC,EAChC,wBAAwB,EACxB,0GAA0G,CAC3G,GAED,WAAW,CACT,WAAW,CAAC,CAAC,EAAE,MAAM,CAAC,EACtB,qBAAqB,EACrB,qCAAqC,CACtC,GAED,WAAW,CACT,WAAW,CAAC,CAAC,EAAE,QAAQ,CAAC,EACxB,uBAAuB,CAAC,CAAC,CAAC,EAC1B,wFAAwF,CACzF,GAAG;IACF;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,CAAC,CAAA;IACT;;+BAE2B;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IACxB,WAAW,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IAC/B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IAChD;;8DAE0D;IAC1D,aAAa,CAAC,EAAE,OAAO,CAAA;CAKxB,CAAA;AAmCH;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,CAAC,GAAG,OAAO,EACX,KAAK,CAAC,QAAQ,SAAS,OAAO,GAAG,SAAS,mBAAmB,EAAE,GAAG,KAAK,EACvE,KAAK,CAAC,CAAC,SAAS,aAAa,GAAG,oBAAoB,EACpD,KAAK,EAAE,aAAa,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,GAAG,SAAS,CAAA"}
@@ -0,0 +1,54 @@
1
+ import type { CSSProperties, PointerEvent as ReactPointerEvent } from "react";
2
+ import type { ScheduleSlotPredicate } from "../../lib/schedule-predicates";
3
+ import type { ScheduleEventCreateHandler } from "./schedule-types";
4
+ export type UseEventCreateOptions = {
5
+ /** The column the gesture anchors in. Every other day it reaches is derived
6
+ * from this one by a calendar-day offset, never by indexing a `days` array
7
+ * — that array belongs to a render this gesture can outlive, since paging
8
+ * mid-gesture unmounts the component that supplied it. */
9
+ day: Date;
10
+ /** 0-based index of this column in the range rendered at pointerdown. */
11
+ dayIndex: number;
12
+ timeZone: string;
13
+ startHour: number;
14
+ endHour: number;
15
+ /** Minutes — both the grid's slot spacing and the create snap increment. */
16
+ slotDuration: number;
17
+ /** Minutes. Defaults to `slotDuration` — a draft can never be shorter than
18
+ * one snap unit, mirroring `use-event-resize.ts`'s own floor. */
19
+ minDurationMinutes?: number;
20
+ /** Minutes. The ceiling on each drafted event — see `durationBounds`. */
21
+ maxDurationMinutes?: number;
22
+ slotDisabled?: ScheduleSlotPredicate;
23
+ /** Whether `"create"` is granted — gates the draft-preview visuals and the
24
+ * actual `onEventCreate` commit, but *not* pointer tracking itself (needed
25
+ * regardless, to resolve click-vs-drag for `onGridClick`). */
26
+ editableCreate: boolean;
27
+ /** RFC §12a, axis A already resolved for this gesture by the caller. */
28
+ preventOverlap?: boolean;
29
+ /** RFC §12a, axis B already resolved by the caller, window-wide and
30
+ * unclipped — so a draft crossing midnight validates against whatever sits
31
+ * on the far side of the boundary. */
32
+ overlapCandidates?: {
33
+ id: string;
34
+ start: Date;
35
+ end: Date;
36
+ }[];
37
+ onEventCreate?: ScheduleEventCreateHandler;
38
+ onGridClick?: (date: Date) => void;
39
+ /** Page the view by one range, after the pointer has been held against an
40
+ * edge the grid can no longer scroll. Omitting it leaves auto-scroll
41
+ * working and simply never pages. */
42
+ onPaginate?: (direction: -1 | 1) => void;
43
+ locale?: string;
44
+ };
45
+ export declare function useEventCreate({ day, dayIndex, timeZone, startHour, endHour, slotDuration, minDurationMinutes, maxDurationMinutes, slotDisabled, editableCreate, preventOverlap, overlapCandidates, onEventCreate, onGridClick, onPaginate, locale, }: UseEventCreateOptions): {
46
+ getColumnProps: () => {
47
+ onPointerDown: (e: ReactPointerEvent<HTMLElement>) => void;
48
+ onPointerMove: (e: ReactPointerEvent<HTMLElement>) => void;
49
+ onPointerUp: (e: ReactPointerEvent<HTMLElement>) => void;
50
+ onPointerCancel: (e: ReactPointerEvent<HTMLElement>) => void;
51
+ style: CSSProperties;
52
+ };
53
+ };
54
+ //# sourceMappingURL=use-event-create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-event-create.d.ts","sourceRoot":"","sources":["../../../src/components/schedule/use-event-create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAE7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAoB1E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAgElE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;+DAG2D;IAC3D,GAAG,EAAE,IAAI,CAAA;IACT,yEAAyE;IACzE,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,4EAA4E;IAC5E,YAAY,EAAE,MAAM,CAAA;IACpB;sEACkE;IAClE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,YAAY,CAAC,EAAE,qBAAqB,CAAA;IACpC;;mEAE+D;IAC/D,cAAc,EAAE,OAAO,CAAA;IACvB,wEAAwE;IACxE,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;2CAEuC;IACvC,iBAAiB,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,IAAI,CAAC;QAAC,GAAG,EAAE,IAAI,CAAA;KAAE,EAAE,CAAA;IAC5D,aAAa,CAAC,EAAE,0BAA0B,CAAA;IAC1C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;IAClC;;0CAEsC;IACtC,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,CAAA;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAgED,wBAAgB,cAAc,CAAC,EAC7B,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,OAAO,EACP,YAAY,EACZ,kBAAiC,EACjC,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,UAAU,EACV,MAAM,GACP,EAAE,qBAAqB;;2BAuPhB,iBAAiB,CAAC,WAAW,CAAC;2BAiG9B,iBAAiB,CAAC,WAAW,CAAC;yBAW9B,iBAAiB,CAAC,WAAW,CAAC;;eA0BE,aAAa;;EAGpD"}
@@ -0,0 +1,95 @@
1
+ import type { PointerEvent as ReactPointerEvent } from "react";
2
+ import type { ScheduleSlotPredicate } from "../../lib/schedule-predicates";
3
+ import type { ScheduleEvent } from "./schedule-types";
4
+ /**
5
+ * RFC §6 (`docs/rfcs/schedule.md`) move-drag, extended to two axes — vertical
6
+ * moves the time, horizontal moves the day. Still modeled on the toast
7
+ * notifier's swipe-to-dismiss (`notification/create-notifier.tsx`): a plain ref
8
+ * (not state) tracks the in-flight gesture, and a movement under `CLICK_SLOP`
9
+ * is a click rather than a drag.
10
+ *
11
+ * Three things differ from the single-axis version, all forced by the second
12
+ * axis:
13
+ *
14
+ * **Listeners live on the grid, not the chip.** `setPointerCapture` targets the
15
+ * grid element and `pointermove`/`pointerup` are attached to it imperatively
16
+ * for the gesture's duration. A chip-owned gesture dies the moment its chip
17
+ * unmounts — which now genuinely happens mid-drag, because holding at the
18
+ * grid's edge pages the view and the dragged event's own day can leave the
19
+ * window. The listeners are removed on every terminating path, including
20
+ * `lostpointercapture`, so nothing leaks if the element goes away underneath.
21
+ *
22
+ * **The preview is a grid-level ghost, not a transform on the chip** — see
23
+ * `schedule-drag-ghost.tsx` for why. The chip itself only dims.
24
+ *
25
+ * **The target day comes from measured column rects, not `elementFromPoint`.**
26
+ * The obvious approach is wrong here: the preview and the chip both sit under
27
+ * the pointer for the whole gesture, so hit-testing would keep resolving to
28
+ * the source column. Rects are also deterministic, and mockable in jsdom,
29
+ * which is what makes a cross-day commit unit-testable at all.
30
+ */
31
+ export type UseEventDragOptions = {
32
+ event: ScheduleEvent;
33
+ /** 0-based index of the column this chip is painted in. A drag's day delta
34
+ * is measured from the **grabbed piece**, not from the event's start: grab
35
+ * the Tuesday half of a Mon→Tue event, drop it on Wednesday, and that means
36
+ * "+1 day", not "move the start to Wednesday". */
37
+ dayIndex: number;
38
+ /** That column's date. The preview needs a real day to measure the
39
+ * candidate's band against — a vertical drag can move the event to another
40
+ * day without the pointer ever leaving its column. */
41
+ day: Date;
42
+ timeZone: string;
43
+ /** Minutes from midnight at which the rendered window starts — the ghost's
44
+ * own percentage math is relative to it, exactly like a chip's `top`. */
45
+ startHour: number;
46
+ /** `(endHour - startHour) * 60`, the percent denominator. */
47
+ totalWindowMinutes: number;
48
+ /** The band's own end hour, for clipping the preview to a partial window. */
49
+ endHour: number;
50
+ /**
51
+ * Whether this event can actually be dragged (the caller's already-
52
+ * resolved `editable` grant for `"drag"`). When `false`, pointer down/up
53
+ * are still tracked so click-to-open-details keeps working, but nothing
54
+ * previews and a drag past `CLICK_SLOP` is silently ignored — not a
55
+ * rejected commit, just not draggable at all.
56
+ */
57
+ enabled?: boolean;
58
+ /** Minutes — both the grid's slot spacing and the drag snap increment. */
59
+ slotDuration: number;
60
+ slotDisabled?: ScheduleSlotPredicate;
61
+ /** RFC §12a, axis A already resolved for this gesture by the caller. */
62
+ preventOverlap?: boolean;
63
+ /** RFC §12a, axis B already resolved by the caller — resolved over the whole
64
+ * visible window, so a cross-day drop validates against its *target* day.
65
+ * The event's own pre-drag range is excluded via `event.id`. */
66
+ overlapCandidates?: {
67
+ id: string;
68
+ start: Date;
69
+ end: Date;
70
+ }[];
71
+ onEventChange?: (event: ScheduleEvent, next: {
72
+ start: Date;
73
+ end: Date;
74
+ }, reason: "drag" | "resize") => void;
75
+ onEventClick?: (event: ScheduleEvent) => void;
76
+ /**
77
+ * Page the view by one range. Called only when the pointer is held against
78
+ * an edge the grid can no longer scroll past, for `PAGINATE_DWELL_MS`.
79
+ *
80
+ * Auto-**scroll** and auto-**navigate** are deliberately separate concerns
81
+ * (Syncfusion splits them as `allowScroll`/`allowNavigation` for the same
82
+ * reason): scrolling only reveals what is already in the range, while paging
83
+ * changes the range itself. Omitting this leaves auto-scroll working and
84
+ * simply never pages — a consumer holding `date` controlled decides for
85
+ * itself, degrading to "no pagination" rather than to a broken gesture.
86
+ */
87
+ onPaginate?: (direction: -1 | 1) => void;
88
+ locale?: string;
89
+ };
90
+ export declare function useEventDrag({ event, dayIndex, day, timeZone, startHour, totalWindowMinutes, endHour, enabled, slotDuration, slotDisabled, preventOverlap, overlapCandidates, onEventChange, onEventClick, onPaginate, locale, }: UseEventDragOptions): {
91
+ getBodyProps: () => {
92
+ onPointerDown: (e: ReactPointerEvent<HTMLElement>) => void;
93
+ };
94
+ };
95
+ //# sourceMappingURL=use-event-drag.d.ts.map