@skdx/react 0.26.0 → 0.28.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 (2001) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -4
  3. package/dist/accordion/Accordion.cjs +1 -1
  4. package/dist/accordion/Accordion.d.cts +15 -25
  5. package/dist/accordion/Accordion.d.ts +15 -25
  6. package/dist/accordion/Accordion.js +1 -1
  7. package/dist/accordion/AccordionAnatomy.d.cts +14 -0
  8. package/dist/accordion/AccordionAnatomy.d.ts +14 -0
  9. package/dist/accordion/AccordionContent.d.cts +5 -6
  10. package/dist/accordion/AccordionContent.d.ts +5 -6
  11. package/dist/accordion/AccordionHeader.d.cts +4 -4
  12. package/dist/accordion/AccordionHeader.d.ts +4 -4
  13. package/dist/accordion/AccordionIndicator.d.cts +16 -0
  14. package/dist/accordion/AccordionIndicator.d.ts +16 -0
  15. package/dist/accordion/index.d.cts +3 -6
  16. package/dist/accordion/index.d.ts +3 -6
  17. package/dist/accordion/primitives.d.cts +27 -0
  18. package/dist/accordion/primitives.d.ts +27 -0
  19. package/dist/accordion/types.d.cts +83 -65
  20. package/dist/accordion/types.d.ts +83 -65
  21. package/dist/affix/Affix.cjs +1 -1
  22. package/dist/affix/Affix.d.cts +4 -23
  23. package/dist/affix/Affix.d.ts +4 -23
  24. package/dist/affix/Affix.js +1 -1
  25. package/dist/affix/types.d.cts +14 -9
  26. package/dist/affix/types.d.ts +14 -9
  27. package/dist/alert/Alert.cjs +1 -1
  28. package/dist/alert/Alert.d.cts +53 -11
  29. package/dist/alert/Alert.d.ts +53 -11
  30. package/dist/alert/Alert.js +1 -1
  31. package/dist/alert/AlertAction.d.cts +2 -4
  32. package/dist/alert/AlertAction.d.ts +2 -4
  33. package/dist/alert/AlertAnatomy.d.cts +17 -0
  34. package/dist/alert/AlertAnatomy.d.ts +17 -0
  35. package/dist/alert/AlertClose.d.cts +2 -6
  36. package/dist/alert/AlertClose.d.ts +2 -6
  37. package/dist/alert/AlertDescription.d.cts +1 -3
  38. package/dist/alert/AlertDescription.d.ts +1 -3
  39. package/dist/alert/AlertTitle.d.cts +1 -3
  40. package/dist/alert/AlertTitle.d.ts +1 -3
  41. package/dist/alert/index.d.cts +2 -7
  42. package/dist/alert/index.d.ts +2 -7
  43. package/dist/alert/primitives.d.cts +25 -0
  44. package/dist/alert/primitives.d.ts +25 -0
  45. package/dist/alert/types.d.cts +57 -7
  46. package/dist/alert/types.d.ts +57 -7
  47. package/dist/alert-dialog/AlertDialog.cjs +1 -1
  48. package/dist/alert-dialog/AlertDialog.d.cts +20 -12
  49. package/dist/alert-dialog/AlertDialog.d.ts +20 -12
  50. package/dist/alert-dialog/AlertDialog.js +1 -1
  51. package/dist/alert-dialog/AlertDialogAction.d.cts +26 -3
  52. package/dist/alert-dialog/AlertDialogAction.d.ts +26 -3
  53. package/dist/alert-dialog/AlertDialogAnatomy.d.cts +22 -0
  54. package/dist/alert-dialog/AlertDialogAnatomy.d.ts +22 -0
  55. package/dist/alert-dialog/AlertDialogCancel.d.cts +1 -3
  56. package/dist/alert-dialog/AlertDialogCancel.d.ts +1 -3
  57. package/dist/alert-dialog/AlertDialogContent.d.cts +8 -14
  58. package/dist/alert-dialog/AlertDialogContent.d.ts +8 -14
  59. package/dist/alert-dialog/AlertDialogOverlay.d.cts +1 -3
  60. package/dist/alert-dialog/AlertDialogOverlay.d.ts +1 -3
  61. package/dist/alert-dialog/AlertDialogPortal.d.cts +2 -4
  62. package/dist/alert-dialog/AlertDialogPortal.d.ts +2 -4
  63. package/dist/alert-dialog/AlertDialogTitle.d.cts +1 -3
  64. package/dist/alert-dialog/AlertDialogTitle.d.ts +1 -3
  65. package/dist/alert-dialog/focusTargets.d.cts +16 -0
  66. package/dist/alert-dialog/focusTargets.d.ts +16 -0
  67. package/dist/alert-dialog/index.d.cts +1 -9
  68. package/dist/alert-dialog/index.d.ts +1 -9
  69. package/dist/alert-dialog/primitives.d.cts +31 -0
  70. package/dist/alert-dialog/primitives.d.ts +31 -0
  71. package/dist/alert-dialog/types.d.cts +124 -9
  72. package/dist/alert-dialog/types.d.ts +124 -9
  73. package/dist/angle-slider/AngleSlider.cjs +1 -1
  74. package/dist/angle-slider/AngleSlider.d.cts +17 -14
  75. package/dist/angle-slider/AngleSlider.d.ts +17 -14
  76. package/dist/angle-slider/AngleSlider.js +1 -1
  77. package/dist/angle-slider/AngleSliderAnatomy.d.cts +11 -0
  78. package/dist/angle-slider/AngleSliderAnatomy.d.ts +11 -0
  79. package/dist/angle-slider/AngleSliderMark.d.cts +2 -11
  80. package/dist/angle-slider/AngleSliderMark.d.ts +2 -11
  81. package/dist/angle-slider/AngleSliderMarks.d.cts +6 -9
  82. package/dist/angle-slider/AngleSliderMarks.d.ts +6 -9
  83. package/dist/angle-slider/AngleSliderThumb.d.cts +2 -16
  84. package/dist/angle-slider/AngleSliderThumb.d.ts +2 -16
  85. package/dist/angle-slider/index.d.cts +1 -4
  86. package/dist/angle-slider/index.d.ts +1 -4
  87. package/dist/angle-slider/primitives.d.cts +23 -0
  88. package/dist/angle-slider/primitives.d.ts +23 -0
  89. package/dist/angle-slider/types.d.cts +74 -27
  90. package/dist/angle-slider/types.d.ts +74 -27
  91. package/dist/aspect-ratio/AspectRatio.cjs +1 -1
  92. package/dist/aspect-ratio/AspectRatio.d.cts +9 -6
  93. package/dist/aspect-ratio/AspectRatio.d.ts +9 -6
  94. package/dist/aspect-ratio/AspectRatio.js +1 -1
  95. package/dist/aspect-ratio/types.d.cts +1 -10
  96. package/dist/aspect-ratio/types.d.ts +1 -10
  97. package/dist/autocomplete/Autocomplete.cjs +1 -1
  98. package/dist/autocomplete/Autocomplete.d.cts +17 -26
  99. package/dist/autocomplete/Autocomplete.d.ts +17 -26
  100. package/dist/autocomplete/Autocomplete.js +1 -1
  101. package/dist/autocomplete/AutocompleteAnatomy.d.cts +17 -0
  102. package/dist/autocomplete/AutocompleteAnatomy.d.ts +17 -0
  103. package/dist/autocomplete/AutocompleteClear.d.cts +23 -0
  104. package/dist/autocomplete/AutocompleteClear.d.ts +23 -0
  105. package/dist/autocomplete/AutocompleteContent.d.cts +8 -7
  106. package/dist/autocomplete/AutocompleteContent.d.ts +8 -7
  107. package/dist/autocomplete/AutocompleteEmpty.d.cts +2 -12
  108. package/dist/autocomplete/AutocompleteEmpty.d.ts +2 -12
  109. package/dist/autocomplete/AutocompleteGroup.d.cts +28 -0
  110. package/dist/autocomplete/AutocompleteGroup.d.ts +28 -0
  111. package/dist/autocomplete/AutocompleteGroupLabel.d.cts +15 -0
  112. package/dist/autocomplete/AutocompleteGroupLabel.d.ts +15 -0
  113. package/dist/autocomplete/AutocompleteInput.d.cts +9 -12
  114. package/dist/autocomplete/AutocompleteInput.d.ts +9 -12
  115. package/dist/autocomplete/AutocompleteItem.d.cts +1 -19
  116. package/dist/autocomplete/AutocompleteItem.d.ts +1 -19
  117. package/dist/autocomplete/AutocompleteList.d.cts +2 -11
  118. package/dist/autocomplete/AutocompleteList.d.ts +2 -11
  119. package/dist/autocomplete/AutocompletePortal.d.cts +2 -4
  120. package/dist/autocomplete/AutocompletePortal.d.ts +2 -4
  121. package/dist/autocomplete/AutocompleteTrigger.d.cts +2 -10
  122. package/dist/autocomplete/AutocompleteTrigger.d.ts +2 -10
  123. package/dist/autocomplete/index.d.cts +2 -8
  124. package/dist/autocomplete/index.d.ts +2 -8
  125. package/dist/autocomplete/primitives.d.cts +32 -0
  126. package/dist/autocomplete/primitives.d.ts +32 -0
  127. package/dist/autocomplete/types.d.cts +167 -82
  128. package/dist/autocomplete/types.d.ts +167 -82
  129. package/dist/avatar/Avatar.cjs +1 -1
  130. package/dist/avatar/Avatar.d.cts +5 -6
  131. package/dist/avatar/Avatar.d.ts +5 -6
  132. package/dist/avatar/Avatar.js +1 -1
  133. package/dist/avatar/AvatarAnatomy.d.cts +11 -0
  134. package/dist/avatar/AvatarAnatomy.d.ts +11 -0
  135. package/dist/avatar/AvatarFallback.d.cts +2 -4
  136. package/dist/avatar/AvatarFallback.d.ts +2 -4
  137. package/dist/avatar/AvatarImage.d.cts +7 -2
  138. package/dist/avatar/AvatarImage.d.ts +7 -2
  139. package/dist/avatar/index.d.cts +2 -4
  140. package/dist/avatar/index.d.ts +2 -4
  141. package/dist/avatar/primitives.d.cts +17 -0
  142. package/dist/avatar/primitives.d.ts +17 -0
  143. package/dist/avatar/types.d.cts +29 -0
  144. package/dist/avatar/types.d.ts +29 -0
  145. package/dist/badge/Badge.cjs +1 -1
  146. package/dist/badge/Badge.d.cts +9 -4
  147. package/dist/badge/Badge.d.ts +9 -4
  148. package/dist/badge/Badge.js +1 -1
  149. package/dist/badge/BadgeLeading.d.cts +20 -0
  150. package/dist/badge/BadgeLeading.d.ts +20 -0
  151. package/dist/badge/BadgeTrailing.d.cts +14 -0
  152. package/dist/badge/BadgeTrailing.d.ts +14 -0
  153. package/dist/badge/index.d.cts +1 -1
  154. package/dist/badge/index.d.ts +1 -1
  155. package/dist/badge/primitives.d.cts +17 -0
  156. package/dist/badge/primitives.d.ts +17 -0
  157. package/dist/badge/types.d.cts +17 -0
  158. package/dist/badge/types.d.ts +17 -0
  159. package/dist/box/Box.cjs +1 -0
  160. package/dist/box/Box.d.cts +3 -0
  161. package/dist/box/Box.d.ts +3 -0
  162. package/dist/box/Box.js +1 -0
  163. package/dist/box/index.d.cts +2 -0
  164. package/dist/box/index.d.ts +2 -0
  165. package/dist/box/types.d.cts +111 -0
  166. package/dist/box/types.d.ts +111 -0
  167. package/dist/breadcrumb/Breadcrumb.cjs +1 -1
  168. package/dist/breadcrumb/Breadcrumb.d.cts +19 -19
  169. package/dist/breadcrumb/Breadcrumb.d.ts +19 -19
  170. package/dist/breadcrumb/Breadcrumb.js +1 -1
  171. package/dist/breadcrumb/BreadcrumbAnatomy.d.cts +14 -0
  172. package/dist/breadcrumb/BreadcrumbAnatomy.d.ts +14 -0
  173. package/dist/breadcrumb/BreadcrumbEllipsis.d.cts +7 -9
  174. package/dist/breadcrumb/BreadcrumbEllipsis.d.ts +7 -9
  175. package/dist/breadcrumb/BreadcrumbLink.d.cts +9 -2
  176. package/dist/breadcrumb/BreadcrumbLink.d.ts +9 -2
  177. package/dist/breadcrumb/BreadcrumbList.d.cts +3 -2
  178. package/dist/breadcrumb/BreadcrumbList.d.ts +3 -2
  179. package/dist/breadcrumb/BreadcrumbSeparator.d.cts +2 -3
  180. package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -3
  181. package/dist/breadcrumb/index.d.cts +2 -8
  182. package/dist/breadcrumb/index.d.ts +2 -8
  183. package/dist/breadcrumb/primitives.d.cts +32 -0
  184. package/dist/breadcrumb/primitives.d.ts +32 -0
  185. package/dist/breadcrumb/types.d.cts +57 -0
  186. package/dist/breadcrumb/types.d.ts +57 -0
  187. package/dist/button/Button.cjs +1 -1
  188. package/dist/button/Button.d.cts +9 -3
  189. package/dist/button/Button.d.ts +9 -3
  190. package/dist/button/Button.js +1 -1
  191. package/dist/button/types.d.cts +49 -4
  192. package/dist/button/types.d.ts +49 -4
  193. package/dist/calendar/Calendar.cjs +1 -1
  194. package/dist/calendar/Calendar.d.cts +80 -43
  195. package/dist/calendar/Calendar.d.ts +80 -43
  196. package/dist/calendar/Calendar.js +1 -1
  197. package/dist/calendar/CalendarAnatomy.d.cts +14 -0
  198. package/dist/calendar/CalendarAnatomy.d.ts +14 -0
  199. package/dist/calendar/CalendarCell.d.cts +5 -18
  200. package/dist/calendar/CalendarCell.d.ts +5 -18
  201. package/dist/calendar/CalendarGrid.d.cts +3 -8
  202. package/dist/calendar/CalendarGrid.d.ts +3 -8
  203. package/dist/calendar/CalendarGridBody.d.cts +4 -24
  204. package/dist/calendar/CalendarGridBody.d.ts +4 -24
  205. package/dist/calendar/CalendarGridHead.d.cts +3 -11
  206. package/dist/calendar/CalendarGridHead.d.ts +3 -11
  207. package/dist/calendar/CalendarHeader.d.cts +1 -3
  208. package/dist/calendar/CalendarHeader.d.ts +1 -3
  209. package/dist/calendar/CalendarHeading.d.cts +4 -7
  210. package/dist/calendar/CalendarHeading.d.ts +4 -7
  211. package/dist/calendar/CalendarNextButton.d.cts +2 -1
  212. package/dist/calendar/CalendarNextButton.d.ts +2 -1
  213. package/dist/calendar/CalendarViewGrid.d.cts +37 -0
  214. package/dist/calendar/CalendarViewGrid.d.ts +37 -0
  215. package/dist/calendar/CalendarWeekNumber.d.cts +17 -0
  216. package/dist/calendar/CalendarWeekNumber.d.ts +17 -0
  217. package/dist/calendar/CalendarWeekNumberHeader.d.cts +21 -0
  218. package/dist/calendar/CalendarWeekNumberHeader.d.ts +21 -0
  219. package/dist/calendar/index.d.cts +2 -12
  220. package/dist/calendar/index.d.ts +2 -12
  221. package/dist/calendar/locale.d.cts +12 -8
  222. package/dist/calendar/locale.d.ts +12 -8
  223. package/dist/calendar/primitives.d.cts +35 -0
  224. package/dist/calendar/primitives.d.ts +35 -0
  225. package/dist/calendar/types.d.cts +191 -57
  226. package/dist/calendar/types.d.ts +191 -57
  227. package/dist/card/Card.cjs +1 -1
  228. package/dist/card/Card.d.cts +19 -13
  229. package/dist/card/Card.d.ts +19 -13
  230. package/dist/card/Card.js +1 -1
  231. package/dist/card/CardAnatomy.d.cts +18 -0
  232. package/dist/card/CardAnatomy.d.ts +18 -0
  233. package/dist/card/CardContent.d.cts +1 -2
  234. package/dist/card/CardContent.d.ts +1 -2
  235. package/dist/card/CardFooter.d.cts +1 -2
  236. package/dist/card/CardFooter.d.ts +1 -2
  237. package/dist/card/CardHeader.d.cts +1 -2
  238. package/dist/card/CardHeader.d.ts +1 -2
  239. package/dist/card/CardMedia.d.cts +19 -0
  240. package/dist/card/CardMedia.d.ts +19 -0
  241. package/dist/card/CardTitle.d.cts +4 -2
  242. package/dist/card/CardTitle.d.ts +4 -2
  243. package/dist/card/index.d.cts +2 -4
  244. package/dist/card/index.d.ts +2 -4
  245. package/dist/card/primitives.d.cts +30 -0
  246. package/dist/card/primitives.d.ts +30 -0
  247. package/dist/card/types.d.cts +61 -3
  248. package/dist/card/types.d.ts +61 -3
  249. package/dist/carousel/Carousel.cjs +1 -1
  250. package/dist/carousel/Carousel.d.cts +8 -32
  251. package/dist/carousel/Carousel.d.ts +8 -32
  252. package/dist/carousel/Carousel.js +1 -1
  253. package/dist/carousel/CarouselAnatomy.d.cts +17 -0
  254. package/dist/carousel/CarouselAnatomy.d.ts +17 -0
  255. package/dist/carousel/CarouselContent.d.cts +2 -3
  256. package/dist/carousel/CarouselContent.d.ts +2 -3
  257. package/dist/carousel/CarouselIndicator.d.cts +16 -0
  258. package/dist/carousel/CarouselIndicator.d.ts +16 -0
  259. package/dist/carousel/CarouselIndicators.d.cts +20 -0
  260. package/dist/carousel/CarouselIndicators.d.ts +20 -0
  261. package/dist/carousel/CarouselItem.d.cts +2 -6
  262. package/dist/carousel/CarouselItem.d.ts +2 -6
  263. package/dist/carousel/CarouselNext.d.cts +1 -4
  264. package/dist/carousel/CarouselNext.d.ts +1 -4
  265. package/dist/carousel/CarouselPlayPause.d.cts +8 -7
  266. package/dist/carousel/CarouselPlayPause.d.ts +8 -7
  267. package/dist/carousel/CarouselPrevious.d.cts +1 -4
  268. package/dist/carousel/CarouselPrevious.d.ts +1 -4
  269. package/dist/carousel/CarouselProgress.d.cts +13 -0
  270. package/dist/carousel/CarouselProgress.d.ts +13 -0
  271. package/dist/carousel/arrowKeys.d.cts +8 -0
  272. package/dist/carousel/arrowKeys.d.ts +8 -0
  273. package/dist/carousel/index.d.cts +2 -7
  274. package/dist/carousel/index.d.ts +2 -7
  275. package/dist/carousel/primitives.d.cts +28 -0
  276. package/dist/carousel/primitives.d.ts +28 -0
  277. package/dist/carousel/types.d.cts +91 -12
  278. package/dist/carousel/types.d.ts +91 -12
  279. package/dist/checkbox/Checkbox.cjs +1 -1
  280. package/dist/checkbox/Checkbox.d.cts +5 -8
  281. package/dist/checkbox/Checkbox.d.ts +5 -8
  282. package/dist/checkbox/Checkbox.js +1 -1
  283. package/dist/checkbox/CheckboxAnatomy.d.cts +10 -0
  284. package/dist/checkbox/CheckboxAnatomy.d.ts +10 -0
  285. package/dist/checkbox/CheckboxIndicator.d.cts +1 -3
  286. package/dist/checkbox/CheckboxIndicator.d.ts +1 -3
  287. package/dist/checkbox/index.d.cts +2 -3
  288. package/dist/checkbox/index.d.ts +2 -3
  289. package/dist/checkbox/primitives.d.cts +15 -0
  290. package/dist/checkbox/primitives.d.ts +15 -0
  291. package/dist/checkbox/types.d.cts +40 -1
  292. package/dist/checkbox/types.d.ts +40 -1
  293. package/dist/checkbox-card/CheckboxCard.cjs +1 -1
  294. package/dist/checkbox-card/CheckboxCard.d.cts +49 -4
  295. package/dist/checkbox-card/CheckboxCard.d.ts +49 -4
  296. package/dist/checkbox-card/CheckboxCard.js +1 -1
  297. package/dist/checkbox-card/CheckboxCardAnatomy.d.cts +12 -0
  298. package/dist/checkbox-card/CheckboxCardAnatomy.d.ts +12 -0
  299. package/dist/checkbox-card/CheckboxCardControl.d.cts +9 -15
  300. package/dist/checkbox-card/CheckboxCardControl.d.ts +9 -15
  301. package/dist/checkbox-card/CheckboxCardDescription.d.cts +7 -7
  302. package/dist/checkbox-card/CheckboxCardDescription.d.ts +7 -7
  303. package/dist/checkbox-card/CheckboxCardIndicator.d.cts +5 -10
  304. package/dist/checkbox-card/CheckboxCardIndicator.d.ts +5 -10
  305. package/dist/checkbox-card/CheckboxCardLabel.d.cts +8 -9
  306. package/dist/checkbox-card/CheckboxCardLabel.d.ts +8 -9
  307. package/dist/checkbox-card/index.d.cts +2 -6
  308. package/dist/checkbox-card/index.d.ts +2 -6
  309. package/dist/checkbox-card/primitives.d.cts +22 -0
  310. package/dist/checkbox-card/primitives.d.ts +22 -0
  311. package/dist/checkbox-card/types.d.cts +46 -13
  312. package/dist/checkbox-card/types.d.ts +46 -13
  313. package/dist/checkbox-group/CheckboxGroup.cjs +1 -1
  314. package/dist/checkbox-group/CheckboxGroup.d.cts +23 -19
  315. package/dist/checkbox-group/CheckboxGroup.d.ts +23 -19
  316. package/dist/checkbox-group/CheckboxGroup.js +1 -1
  317. package/dist/checkbox-group/CheckboxGroupAnatomy.d.cts +12 -0
  318. package/dist/checkbox-group/CheckboxGroupAnatomy.d.ts +12 -0
  319. package/dist/checkbox-group/CheckboxGroupItem.d.cts +7 -0
  320. package/dist/checkbox-group/CheckboxGroupItem.d.ts +7 -0
  321. package/dist/checkbox-group/CheckboxGroupSelectAll.d.cts +3 -9
  322. package/dist/checkbox-group/CheckboxGroupSelectAll.d.ts +3 -9
  323. package/dist/checkbox-group/index.d.cts +2 -4
  324. package/dist/checkbox-group/index.d.ts +2 -4
  325. package/dist/checkbox-group/primitives.d.cts +18 -0
  326. package/dist/checkbox-group/primitives.d.ts +18 -0
  327. package/dist/checkbox-group/types.d.cts +70 -5
  328. package/dist/checkbox-group/types.d.ts +70 -5
  329. package/dist/clipboard/Clipboard.cjs +1 -1
  330. package/dist/clipboard/Clipboard.d.cts +33 -15
  331. package/dist/clipboard/Clipboard.d.ts +33 -15
  332. package/dist/clipboard/Clipboard.js +1 -1
  333. package/dist/clipboard/ClipboardAnatomy.d.cts +12 -0
  334. package/dist/clipboard/ClipboardAnatomy.d.ts +12 -0
  335. package/dist/clipboard/ClipboardIndicator.d.cts +8 -13
  336. package/dist/clipboard/ClipboardIndicator.d.ts +8 -13
  337. package/dist/clipboard/ClipboardInput.d.cts +2 -11
  338. package/dist/clipboard/ClipboardInput.d.ts +2 -11
  339. package/dist/clipboard/ClipboardTrigger.d.cts +1 -10
  340. package/dist/clipboard/ClipboardTrigger.d.ts +1 -10
  341. package/dist/clipboard/index.d.cts +2 -5
  342. package/dist/clipboard/index.d.ts +2 -5
  343. package/dist/clipboard/primitives.d.cts +21 -0
  344. package/dist/clipboard/primitives.d.ts +21 -0
  345. package/dist/clipboard/types.d.cts +65 -15
  346. package/dist/clipboard/types.d.ts +65 -15
  347. package/dist/collapsible/Collapsible.cjs +1 -1
  348. package/dist/collapsible/Collapsible.d.cts +31 -7
  349. package/dist/collapsible/Collapsible.d.ts +31 -7
  350. package/dist/collapsible/Collapsible.js +1 -1
  351. package/dist/collapsible/CollapsibleAnatomy.d.cts +11 -0
  352. package/dist/collapsible/CollapsibleAnatomy.d.ts +11 -0
  353. package/dist/collapsible/CollapsibleContent.d.cts +10 -6
  354. package/dist/collapsible/CollapsibleContent.d.ts +10 -6
  355. package/dist/collapsible/CollapsibleIndicator.d.cts +18 -0
  356. package/dist/collapsible/CollapsibleIndicator.d.ts +18 -0
  357. package/dist/collapsible/CollapsibleTrigger.d.cts +6 -5
  358. package/dist/collapsible/CollapsibleTrigger.d.ts +6 -5
  359. package/dist/collapsible/index.d.cts +2 -4
  360. package/dist/collapsible/index.d.ts +2 -4
  361. package/dist/collapsible/primitives.d.cts +21 -0
  362. package/dist/collapsible/primitives.d.ts +21 -0
  363. package/dist/collapsible/types.d.cts +46 -5
  364. package/dist/collapsible/types.d.ts +46 -5
  365. package/dist/color-picker/ColorPicker.cjs +1 -1
  366. package/dist/color-picker/ColorPicker.d.cts +14 -0
  367. package/dist/color-picker/ColorPicker.d.ts +14 -0
  368. package/dist/color-picker/ColorPicker.js +1 -1
  369. package/dist/color-picker/ColorPickerAlphaSlider.d.cts +3 -16
  370. package/dist/color-picker/ColorPickerAlphaSlider.d.ts +3 -16
  371. package/dist/color-picker/ColorPickerAlphaSliderThumb.d.cts +2 -5
  372. package/dist/color-picker/ColorPickerAlphaSliderThumb.d.ts +2 -5
  373. package/dist/color-picker/ColorPickerAnatomy.d.cts +11 -0
  374. package/dist/color-picker/ColorPickerAnatomy.d.ts +11 -0
  375. package/dist/color-picker/ColorPickerArea.d.cts +5 -29
  376. package/dist/color-picker/ColorPickerArea.d.ts +5 -29
  377. package/dist/color-picker/ColorPickerAreaThumb.d.cts +6 -24
  378. package/dist/color-picker/ColorPickerAreaThumb.d.ts +6 -24
  379. package/dist/color-picker/ColorPickerEyeDropper.d.cts +3 -18
  380. package/dist/color-picker/ColorPickerEyeDropper.d.ts +3 -18
  381. package/dist/color-picker/ColorPickerFormatSelect.d.cts +3 -14
  382. package/dist/color-picker/ColorPickerFormatSelect.d.ts +3 -14
  383. package/dist/color-picker/ColorPickerHueSlider.d.cts +4 -17
  384. package/dist/color-picker/ColorPickerHueSlider.d.ts +4 -17
  385. package/dist/color-picker/ColorPickerHueSliderThumb.d.cts +2 -18
  386. package/dist/color-picker/ColorPickerHueSliderThumb.d.ts +2 -18
  387. package/dist/color-picker/ColorPickerInput.d.cts +6 -14
  388. package/dist/color-picker/ColorPickerInput.d.ts +6 -14
  389. package/dist/color-picker/ColorPickerSwatchGroup.d.cts +3 -13
  390. package/dist/color-picker/ColorPickerSwatchGroup.d.ts +3 -13
  391. package/dist/color-picker/index.d.cts +1 -12
  392. package/dist/color-picker/index.d.ts +1 -12
  393. package/dist/color-picker/primitives.d.cts +35 -0
  394. package/dist/color-picker/primitives.d.ts +35 -0
  395. package/dist/color-picker/types.d.cts +64 -49
  396. package/dist/color-picker/types.d.ts +64 -49
  397. package/dist/color-picker/useChannelSlider.d.cts +3 -18
  398. package/dist/color-picker/useChannelSlider.d.ts +3 -18
  399. package/dist/color-picker/usePointerRatio.d.cts +3 -15
  400. package/dist/color-picker/usePointerRatio.d.ts +3 -15
  401. package/dist/combobox/Combobox.cjs +1 -1
  402. package/dist/combobox/Combobox.d.cts +15 -21
  403. package/dist/combobox/Combobox.d.ts +15 -21
  404. package/dist/combobox/Combobox.js +1 -1
  405. package/dist/combobox/ComboboxAnatomy.d.cts +18 -0
  406. package/dist/combobox/ComboboxAnatomy.d.ts +18 -0
  407. package/dist/combobox/ComboboxClear.d.cts +13 -0
  408. package/dist/combobox/ComboboxClear.d.ts +13 -0
  409. package/dist/combobox/ComboboxEmpty.d.cts +1 -5
  410. package/dist/combobox/ComboboxEmpty.d.ts +1 -5
  411. package/dist/combobox/ComboboxGroup.d.cts +22 -0
  412. package/dist/combobox/ComboboxGroup.d.ts +22 -0
  413. package/dist/combobox/ComboboxGroupLabel.d.cts +15 -0
  414. package/dist/combobox/ComboboxGroupLabel.d.ts +15 -0
  415. package/dist/combobox/ComboboxInput.d.cts +4 -18
  416. package/dist/combobox/ComboboxInput.d.ts +4 -18
  417. package/dist/combobox/ComboboxItem.d.cts +2 -1
  418. package/dist/combobox/ComboboxItem.d.ts +2 -1
  419. package/dist/combobox/ComboboxPortal.d.cts +2 -4
  420. package/dist/combobox/ComboboxPortal.d.ts +2 -4
  421. package/dist/combobox/ComboboxTrigger.d.cts +13 -0
  422. package/dist/combobox/ComboboxTrigger.d.ts +13 -0
  423. package/dist/combobox/index.d.cts +2 -6
  424. package/dist/combobox/index.d.ts +2 -6
  425. package/dist/combobox/primitives.d.cts +29 -0
  426. package/dist/combobox/primitives.d.ts +29 -0
  427. package/dist/combobox/types.d.cts +203 -116
  428. package/dist/combobox/types.d.ts +203 -116
  429. package/dist/command/Command.cjs +1 -1
  430. package/dist/command/Command.d.cts +15 -15
  431. package/dist/command/Command.d.ts +15 -15
  432. package/dist/command/Command.js +1 -1
  433. package/dist/command/CommandAnatomy.d.cts +17 -0
  434. package/dist/command/CommandAnatomy.d.ts +17 -0
  435. package/dist/command/CommandEmpty.d.cts +3 -5
  436. package/dist/command/CommandEmpty.d.ts +3 -5
  437. package/dist/command/CommandGroup.d.cts +3 -2
  438. package/dist/command/CommandGroup.d.ts +3 -2
  439. package/dist/command/CommandInput.d.cts +5 -16
  440. package/dist/command/CommandInput.d.ts +5 -16
  441. package/dist/command/CommandItem.d.cts +6 -9
  442. package/dist/command/CommandItem.d.ts +6 -9
  443. package/dist/command/CommandList.d.cts +2 -5
  444. package/dist/command/CommandList.d.ts +2 -5
  445. package/dist/command/CommandLoading.d.cts +2 -5
  446. package/dist/command/CommandLoading.d.ts +2 -5
  447. package/dist/command/index.d.cts +2 -9
  448. package/dist/command/index.d.ts +2 -9
  449. package/dist/command/primitives.d.cts +28 -0
  450. package/dist/command/primitives.d.ts +28 -0
  451. package/dist/command/types.d.cts +135 -9
  452. package/dist/command/types.d.ts +135 -9
  453. package/dist/context-menu/ContextMenu.cjs +1 -1
  454. package/dist/context-menu/ContextMenu.d.cts +63 -17
  455. package/dist/context-menu/ContextMenu.d.ts +63 -17
  456. package/dist/context-menu/ContextMenu.js +1 -1
  457. package/dist/context-menu/ContextMenuAnatomy.d.cts +15 -0
  458. package/dist/context-menu/ContextMenuAnatomy.d.ts +15 -0
  459. package/dist/context-menu/ContextMenuCheckboxItem.d.cts +1 -6
  460. package/dist/context-menu/ContextMenuCheckboxItem.d.ts +1 -6
  461. package/dist/context-menu/ContextMenuContent.d.cts +4 -14
  462. package/dist/context-menu/ContextMenuContent.d.ts +4 -14
  463. package/dist/context-menu/ContextMenuGroup.d.cts +3 -1
  464. package/dist/context-menu/ContextMenuGroup.d.ts +3 -1
  465. package/dist/context-menu/ContextMenuItem.d.cts +9 -9
  466. package/dist/context-menu/ContextMenuItem.d.ts +9 -9
  467. package/dist/context-menu/ContextMenuItemIndicator.d.cts +2 -4
  468. package/dist/context-menu/ContextMenuItemIndicator.d.ts +2 -4
  469. package/dist/context-menu/ContextMenuLabel.d.cts +4 -2
  470. package/dist/context-menu/ContextMenuLabel.d.ts +4 -2
  471. package/dist/context-menu/ContextMenuPortal.d.cts +1 -2
  472. package/dist/context-menu/ContextMenuPortal.d.ts +1 -2
  473. package/dist/context-menu/ContextMenuRadioGroup.d.cts +1 -3
  474. package/dist/context-menu/ContextMenuRadioGroup.d.ts +1 -3
  475. package/dist/context-menu/ContextMenuRadioItem.d.cts +1 -6
  476. package/dist/context-menu/ContextMenuRadioItem.d.ts +1 -6
  477. package/dist/context-menu/ContextMenuShortcut.d.cts +14 -0
  478. package/dist/context-menu/ContextMenuShortcut.d.ts +14 -0
  479. package/dist/context-menu/ContextMenuSub.d.cts +4 -10
  480. package/dist/context-menu/ContextMenuSub.d.ts +4 -10
  481. package/dist/context-menu/ContextMenuTrigger.d.cts +3 -10
  482. package/dist/context-menu/ContextMenuTrigger.d.ts +3 -10
  483. package/dist/context-menu/index.d.cts +2 -14
  484. package/dist/context-menu/index.d.ts +2 -14
  485. package/dist/context-menu/primitives.d.cts +35 -0
  486. package/dist/context-menu/primitives.d.ts +35 -0
  487. package/dist/context-menu/types.d.cts +195 -30
  488. package/dist/context-menu/types.d.ts +195 -30
  489. package/dist/data-list/DataList.cjs +1 -1
  490. package/dist/data-list/DataList.d.cts +13 -16
  491. package/dist/data-list/DataList.d.ts +13 -16
  492. package/dist/data-list/DataList.js +1 -1
  493. package/dist/data-list/DataListAnatomy.d.cts +13 -0
  494. package/dist/data-list/DataListAnatomy.d.ts +13 -0
  495. package/dist/data-list/DataListItem.d.cts +2 -12
  496. package/dist/data-list/DataListItem.d.ts +2 -12
  497. package/dist/data-list/DataListLabel.d.cts +2 -6
  498. package/dist/data-list/DataListLabel.d.ts +2 -6
  499. package/dist/data-list/DataListValue.d.cts +2 -5
  500. package/dist/data-list/DataListValue.d.ts +2 -5
  501. package/dist/data-list/index.d.cts +2 -5
  502. package/dist/data-list/index.d.ts +2 -5
  503. package/dist/data-list/primitives.d.cts +23 -0
  504. package/dist/data-list/primitives.d.ts +23 -0
  505. package/dist/data-list/types.d.cts +16 -1
  506. package/dist/data-list/types.d.ts +16 -1
  507. package/dist/date-field/DateField.cjs +1 -1
  508. package/dist/date-field/DateField.d.cts +5 -14
  509. package/dist/date-field/DateField.d.ts +5 -14
  510. package/dist/date-field/DateField.js +1 -1
  511. package/dist/date-field/types.d.cts +38 -5
  512. package/dist/date-field/types.d.ts +38 -5
  513. package/dist/date-picker/DatePicker.cjs +1 -1
  514. package/dist/date-picker/DatePicker.d.cts +14 -43
  515. package/dist/date-picker/DatePicker.d.ts +14 -43
  516. package/dist/date-picker/DatePicker.js +1 -1
  517. package/dist/date-picker/DatePickerAnatomy.d.cts +22 -0
  518. package/dist/date-picker/DatePickerAnatomy.d.ts +22 -0
  519. package/dist/date-picker/DatePickerCalendar.d.cts +3 -9
  520. package/dist/date-picker/DatePickerCalendar.d.ts +3 -9
  521. package/dist/date-picker/DatePickerContent.d.cts +4 -9
  522. package/dist/date-picker/DatePickerContent.d.ts +4 -9
  523. package/dist/date-picker/DatePickerInput.d.cts +2 -8
  524. package/dist/date-picker/DatePickerInput.d.ts +2 -8
  525. package/dist/date-picker/DatePickerPortal.d.cts +2 -4
  526. package/dist/date-picker/DatePickerPortal.d.ts +2 -4
  527. package/dist/date-picker/DatePickerTimeField.d.cts +1 -8
  528. package/dist/date-picker/DatePickerTimeField.d.ts +1 -8
  529. package/dist/date-picker/DatePickerTrigger.d.cts +3 -5
  530. package/dist/date-picker/DatePickerTrigger.d.ts +3 -5
  531. package/dist/date-picker/autoFocus.d.cts +9 -0
  532. package/dist/date-picker/autoFocus.d.ts +9 -0
  533. package/dist/date-picker/index.d.cts +1 -8
  534. package/dist/date-picker/index.d.ts +1 -8
  535. package/dist/date-picker/primitives.d.cts +27 -0
  536. package/dist/date-picker/primitives.d.ts +27 -0
  537. package/dist/date-picker/types.d.cts +98 -92
  538. package/dist/date-picker/types.d.ts +98 -92
  539. package/dist/dialog/Dialog.cjs +1 -1
  540. package/dist/dialog/Dialog.d.cts +36 -10
  541. package/dist/dialog/Dialog.d.ts +36 -10
  542. package/dist/dialog/Dialog.js +1 -1
  543. package/dist/dialog/DialogAnatomy.d.cts +17 -0
  544. package/dist/dialog/DialogAnatomy.d.ts +17 -0
  545. package/dist/dialog/DialogContent.d.cts +14 -12
  546. package/dist/dialog/DialogContent.d.ts +14 -12
  547. package/dist/dialog/DialogDescription.d.cts +1 -2
  548. package/dist/dialog/DialogDescription.d.ts +1 -2
  549. package/dist/dialog/DialogOverlay.d.cts +1 -3
  550. package/dist/dialog/DialogOverlay.d.ts +1 -3
  551. package/dist/dialog/DialogPortal.d.cts +2 -3
  552. package/dist/dialog/DialogPortal.d.ts +2 -3
  553. package/dist/dialog/DialogTrigger.d.cts +1 -2
  554. package/dist/dialog/DialogTrigger.d.ts +1 -2
  555. package/dist/dialog/focusTargets.d.cts +9 -0
  556. package/dist/dialog/focusTargets.d.ts +9 -0
  557. package/dist/dialog/index.d.cts +1 -8
  558. package/dist/dialog/index.d.ts +1 -8
  559. package/dist/dialog/primitives.d.cts +30 -0
  560. package/dist/dialog/primitives.d.ts +30 -0
  561. package/dist/dialog/types.d.cts +76 -7
  562. package/dist/dialog/types.d.ts +76 -7
  563. package/dist/drawer/Drawer.cjs +1 -1
  564. package/dist/drawer/Drawer.d.cts +37 -4
  565. package/dist/drawer/Drawer.d.ts +37 -4
  566. package/dist/drawer/Drawer.js +1 -1
  567. package/dist/drawer/DrawerAnatomy.d.cts +18 -0
  568. package/dist/drawer/DrawerAnatomy.d.ts +18 -0
  569. package/dist/drawer/DrawerContent.d.cts +3 -16
  570. package/dist/drawer/DrawerContent.d.ts +3 -16
  571. package/dist/drawer/DrawerDescription.d.cts +1 -2
  572. package/dist/drawer/DrawerDescription.d.ts +1 -2
  573. package/dist/drawer/DrawerOverlay.d.cts +4 -8
  574. package/dist/drawer/DrawerOverlay.d.ts +4 -8
  575. package/dist/drawer/DrawerPortal.d.cts +3 -5
  576. package/dist/drawer/DrawerPortal.d.ts +3 -5
  577. package/dist/drawer/DrawerTrigger.d.cts +1 -2
  578. package/dist/drawer/DrawerTrigger.d.ts +1 -2
  579. package/dist/drawer/focusTargets.d.cts +8 -0
  580. package/dist/drawer/focusTargets.d.ts +8 -0
  581. package/dist/drawer/index.d.cts +1 -8
  582. package/dist/drawer/index.d.ts +1 -8
  583. package/dist/drawer/primitives.d.cts +30 -0
  584. package/dist/drawer/primitives.d.ts +30 -0
  585. package/dist/drawer/types.d.cts +93 -43
  586. package/dist/drawer/types.d.ts +93 -43
  587. package/dist/dropdown-menu/DropdownMenu.cjs +1 -1
  588. package/dist/dropdown-menu/DropdownMenu.d.cts +55 -13
  589. package/dist/dropdown-menu/DropdownMenu.d.ts +55 -13
  590. package/dist/dropdown-menu/DropdownMenu.js +1 -1
  591. package/dist/dropdown-menu/DropdownMenuAnatomy.d.cts +21 -0
  592. package/dist/dropdown-menu/DropdownMenuAnatomy.d.ts +21 -0
  593. package/dist/dropdown-menu/DropdownMenuCheckboxItem.d.cts +1 -7
  594. package/dist/dropdown-menu/DropdownMenuCheckboxItem.d.ts +1 -7
  595. package/dist/dropdown-menu/DropdownMenuContent.d.cts +5 -11
  596. package/dist/dropdown-menu/DropdownMenuContent.d.ts +5 -11
  597. package/dist/dropdown-menu/DropdownMenuGroup.d.cts +1 -2
  598. package/dist/dropdown-menu/DropdownMenuGroup.d.ts +1 -2
  599. package/dist/dropdown-menu/DropdownMenuItem.d.cts +11 -8
  600. package/dist/dropdown-menu/DropdownMenuItem.d.ts +11 -8
  601. package/dist/dropdown-menu/DropdownMenuItemIndicator.d.cts +2 -4
  602. package/dist/dropdown-menu/DropdownMenuItemIndicator.d.ts +2 -4
  603. package/dist/dropdown-menu/DropdownMenuLabel.d.cts +4 -2
  604. package/dist/dropdown-menu/DropdownMenuLabel.d.ts +4 -2
  605. package/dist/dropdown-menu/DropdownMenuPortal.d.cts +1 -2
  606. package/dist/dropdown-menu/DropdownMenuPortal.d.ts +1 -2
  607. package/dist/dropdown-menu/DropdownMenuRadioItem.d.cts +4 -6
  608. package/dist/dropdown-menu/DropdownMenuRadioItem.d.ts +4 -6
  609. package/dist/dropdown-menu/DropdownMenuShortcut.d.cts +14 -0
  610. package/dist/dropdown-menu/DropdownMenuShortcut.d.ts +14 -0
  611. package/dist/dropdown-menu/DropdownMenuSub.d.cts +2 -5
  612. package/dist/dropdown-menu/DropdownMenuSub.d.ts +2 -5
  613. package/dist/dropdown-menu/DropdownMenuTrigger.d.cts +3 -4
  614. package/dist/dropdown-menu/DropdownMenuTrigger.d.ts +3 -4
  615. package/dist/dropdown-menu/index.d.cts +2 -14
  616. package/dist/dropdown-menu/index.d.ts +2 -14
  617. package/dist/dropdown-menu/primitives.d.cts +43 -0
  618. package/dist/dropdown-menu/primitives.d.ts +43 -0
  619. package/dist/dropdown-menu/types.d.cts +223 -42
  620. package/dist/dropdown-menu/types.d.ts +223 -42
  621. package/dist/editable/Editable.cjs +1 -1
  622. package/dist/editable/Editable.d.cts +13 -0
  623. package/dist/editable/Editable.d.ts +13 -0
  624. package/dist/editable/Editable.js +1 -1
  625. package/dist/editable/EditableAnatomy.d.cts +11 -0
  626. package/dist/editable/EditableAnatomy.d.ts +11 -0
  627. package/dist/editable/EditableCancelTrigger.d.cts +4 -8
  628. package/dist/editable/EditableCancelTrigger.d.ts +4 -8
  629. package/dist/editable/EditableEditTrigger.d.cts +2 -9
  630. package/dist/editable/EditableEditTrigger.d.ts +2 -9
  631. package/dist/editable/EditableInput.d.cts +8 -0
  632. package/dist/editable/EditableInput.d.ts +8 -0
  633. package/dist/editable/EditableLabel.d.cts +17 -0
  634. package/dist/editable/EditableLabel.d.ts +17 -0
  635. package/dist/editable/EditablePreview.d.cts +8 -12
  636. package/dist/editable/EditablePreview.d.ts +8 -12
  637. package/dist/editable/EditableSubmitTrigger.d.cts +5 -6
  638. package/dist/editable/EditableSubmitTrigger.d.ts +5 -6
  639. package/dist/editable/EditableTextarea.d.cts +5 -10
  640. package/dist/editable/EditableTextarea.d.ts +5 -10
  641. package/dist/editable/index.d.cts +2 -8
  642. package/dist/editable/index.d.ts +2 -8
  643. package/dist/editable/primitives.d.cts +23 -0
  644. package/dist/editable/primitives.d.ts +23 -0
  645. package/dist/editable/types.d.cts +128 -40
  646. package/dist/editable/types.d.ts +128 -40
  647. package/dist/field/Field.cjs +1 -1
  648. package/dist/field/Field.d.cts +66 -14
  649. package/dist/field/Field.d.ts +66 -14
  650. package/dist/field/Field.js +1 -1
  651. package/dist/field/FieldAnatomy.d.cts +11 -0
  652. package/dist/field/FieldAnatomy.d.ts +11 -0
  653. package/dist/field/FieldCharacterCount.d.cts +2 -14
  654. package/dist/field/FieldCharacterCount.d.ts +2 -14
  655. package/dist/field/FieldDescription.d.cts +2 -3
  656. package/dist/field/FieldDescription.d.ts +2 -3
  657. package/dist/field/FieldError.d.cts +1 -7
  658. package/dist/field/FieldError.d.ts +1 -7
  659. package/dist/field/FieldRequiredIndicator.d.cts +18 -0
  660. package/dist/field/FieldRequiredIndicator.d.ts +18 -0
  661. package/dist/field/fieldControlId.d.cts +21 -0
  662. package/dist/field/fieldControlId.d.ts +21 -0
  663. package/dist/field/fieldCore.d.cts +95 -123
  664. package/dist/field/fieldCore.d.ts +95 -123
  665. package/dist/field/index.d.cts +2 -6
  666. package/dist/field/index.d.ts +2 -6
  667. package/dist/field/primitives.d.cts +26 -0
  668. package/dist/field/primitives.d.ts +26 -0
  669. package/dist/field/types.d.cts +114 -12
  670. package/dist/field/types.d.ts +114 -12
  671. package/dist/file-upload/FileUpload.cjs +1 -1
  672. package/dist/file-upload/FileUpload.d.cts +35 -37
  673. package/dist/file-upload/FileUpload.d.ts +35 -37
  674. package/dist/file-upload/FileUpload.js +1 -1
  675. package/dist/file-upload/FileUploadAnatomy.d.cts +9 -0
  676. package/dist/file-upload/FileUploadAnatomy.d.ts +9 -0
  677. package/dist/file-upload/FileUploadClear.d.cts +15 -0
  678. package/dist/file-upload/FileUploadClear.d.ts +15 -0
  679. package/dist/file-upload/FileUploadDropzone.d.cts +11 -9
  680. package/dist/file-upload/FileUploadDropzone.d.ts +11 -9
  681. package/dist/file-upload/FileUploadInput.d.cts +2 -4
  682. package/dist/file-upload/FileUploadInput.d.ts +2 -4
  683. package/dist/file-upload/FileUploadItem.d.cts +25 -12
  684. package/dist/file-upload/FileUploadItem.d.ts +25 -12
  685. package/dist/file-upload/FileUploadItemDelete.d.cts +6 -6
  686. package/dist/file-upload/FileUploadItemDelete.d.ts +6 -6
  687. package/dist/file-upload/FileUploadItemGroup.d.cts +17 -0
  688. package/dist/file-upload/FileUploadItemGroup.d.ts +17 -0
  689. package/dist/file-upload/FileUploadItemName.d.cts +13 -0
  690. package/dist/file-upload/FileUploadItemName.d.ts +13 -0
  691. package/dist/file-upload/FileUploadItemPreview.d.cts +13 -0
  692. package/dist/file-upload/FileUploadItemPreview.d.ts +13 -0
  693. package/dist/file-upload/FileUploadItemSizeText.d.cts +19 -0
  694. package/dist/file-upload/FileUploadItemSizeText.d.ts +19 -0
  695. package/dist/file-upload/FileUploadLabel.d.cts +16 -0
  696. package/dist/file-upload/FileUploadLabel.d.ts +16 -0
  697. package/dist/file-upload/FileUploadTrigger.d.cts +3 -1
  698. package/dist/file-upload/FileUploadTrigger.d.ts +3 -1
  699. package/dist/file-upload/focus.d.cts +14 -0
  700. package/dist/file-upload/focus.d.ts +14 -0
  701. package/dist/file-upload/index.d.cts +1 -6
  702. package/dist/file-upload/index.d.ts +1 -6
  703. package/dist/file-upload/primitives.d.cts +40 -0
  704. package/dist/file-upload/primitives.d.ts +40 -0
  705. package/dist/file-upload/types.d.cts +112 -98
  706. package/dist/file-upload/types.d.ts +112 -98
  707. package/dist/floating-panel/FloatingPanel.cjs +1 -1
  708. package/dist/floating-panel/FloatingPanel.d.cts +73 -11
  709. package/dist/floating-panel/FloatingPanel.d.ts +73 -11
  710. package/dist/floating-panel/FloatingPanel.js +1 -1
  711. package/dist/floating-panel/FloatingPanelAnatomy.d.cts +15 -0
  712. package/dist/floating-panel/FloatingPanelAnatomy.d.ts +15 -0
  713. package/dist/floating-panel/FloatingPanelCloseTrigger.d.cts +1 -4
  714. package/dist/floating-panel/FloatingPanelCloseTrigger.d.ts +1 -4
  715. package/dist/floating-panel/FloatingPanelContent.d.cts +9 -20
  716. package/dist/floating-panel/FloatingPanelContent.d.ts +9 -20
  717. package/dist/floating-panel/FloatingPanelHeader.d.cts +3 -13
  718. package/dist/floating-panel/FloatingPanelHeader.d.ts +3 -13
  719. package/dist/floating-panel/FloatingPanelPortal.d.cts +2 -7
  720. package/dist/floating-panel/FloatingPanelPortal.d.ts +2 -7
  721. package/dist/floating-panel/FloatingPanelResizeTrigger.d.cts +1 -19
  722. package/dist/floating-panel/FloatingPanelResizeTrigger.d.ts +1 -19
  723. package/dist/floating-panel/FloatingPanelStageTrigger.d.cts +3 -9
  724. package/dist/floating-panel/FloatingPanelStageTrigger.d.ts +3 -9
  725. package/dist/floating-panel/FloatingPanelTrigger.d.cts +2 -4
  726. package/dist/floating-panel/FloatingPanelTrigger.d.ts +2 -4
  727. package/dist/floating-panel/index.d.cts +2 -10
  728. package/dist/floating-panel/index.d.ts +2 -10
  729. package/dist/floating-panel/primitives.d.cts +37 -0
  730. package/dist/floating-panel/primitives.d.ts +37 -0
  731. package/dist/floating-panel/types.d.cts +67 -28
  732. package/dist/floating-panel/types.d.ts +67 -28
  733. package/dist/form/Form.cjs +1 -1
  734. package/dist/form/Form.d.cts +37 -15
  735. package/dist/form/Form.d.ts +37 -15
  736. package/dist/form/Form.js +1 -1
  737. package/dist/form/FormAnatomy.d.cts +29 -0
  738. package/dist/form/FormAnatomy.d.ts +29 -0
  739. package/dist/form/FormErrorSummary.d.cts +4 -14
  740. package/dist/form/FormErrorSummary.d.ts +4 -14
  741. package/dist/form/FormField.d.cts +18 -5
  742. package/dist/form/FormField.d.ts +18 -5
  743. package/dist/form/FormLabel.d.cts +1 -3
  744. package/dist/form/FormLabel.d.ts +1 -3
  745. package/dist/form/FormMessage.d.cts +5 -5
  746. package/dist/form/FormMessage.d.ts +5 -5
  747. package/dist/form/describedBy.d.cts +7 -0
  748. package/dist/form/describedBy.d.ts +7 -0
  749. package/dist/form/index.d.cts +3 -7
  750. package/dist/form/index.d.ts +3 -7
  751. package/dist/form/primitives.d.cts +29 -0
  752. package/dist/form/primitives.d.ts +29 -0
  753. package/dist/form/serverErrors.d.cts +8 -0
  754. package/dist/form/serverErrors.d.ts +8 -0
  755. package/dist/form/types.d.cts +147 -8
  756. package/dist/form/types.d.ts +147 -8
  757. package/dist/heading/Heading.cjs +1 -0
  758. package/dist/heading/Heading.d.cts +14 -0
  759. package/dist/heading/Heading.d.ts +14 -0
  760. package/dist/heading/Heading.js +1 -0
  761. package/dist/heading/index.d.cts +2 -0
  762. package/dist/heading/index.d.ts +2 -0
  763. package/dist/heading/types.d.cts +15 -0
  764. package/dist/heading/types.d.ts +15 -0
  765. package/dist/hover-card/HoverCard.cjs +1 -1
  766. package/dist/hover-card/HoverCard.d.cts +43 -3
  767. package/dist/hover-card/HoverCard.d.ts +43 -3
  768. package/dist/hover-card/HoverCard.js +1 -1
  769. package/dist/hover-card/HoverCardAnatomy.d.cts +17 -0
  770. package/dist/hover-card/HoverCardAnatomy.d.ts +17 -0
  771. package/dist/hover-card/HoverCardContent.d.cts +3 -12
  772. package/dist/hover-card/HoverCardContent.d.ts +3 -12
  773. package/dist/hover-card/HoverCardPortal.d.cts +2 -3
  774. package/dist/hover-card/HoverCardPortal.d.ts +2 -3
  775. package/dist/hover-card/HoverCardTrigger.d.cts +3 -5
  776. package/dist/hover-card/HoverCardTrigger.d.ts +3 -5
  777. package/dist/hover-card/index.d.cts +1 -4
  778. package/dist/hover-card/index.d.ts +1 -4
  779. package/dist/hover-card/primitives.d.cts +24 -0
  780. package/dist/hover-card/primitives.d.ts +24 -0
  781. package/dist/hover-card/types.d.cts +42 -12
  782. package/dist/hover-card/types.d.ts +42 -12
  783. package/dist/image/Image.cjs +1 -0
  784. package/dist/image/Image.d.cts +13 -0
  785. package/dist/image/Image.d.ts +13 -0
  786. package/dist/image/Image.js +1 -0
  787. package/dist/image/index.d.cts +2 -0
  788. package/dist/image/index.d.ts +2 -0
  789. package/dist/image/types.d.cts +29 -0
  790. package/dist/image/types.d.ts +29 -0
  791. package/dist/index.cjs +1 -1
  792. package/dist/index.d.cts +86 -71
  793. package/dist/index.d.ts +86 -71
  794. package/dist/index.js +1 -1
  795. package/dist/kbd/Kbd.d.cts +16 -4
  796. package/dist/kbd/Kbd.d.ts +16 -4
  797. package/dist/label/Label.d.cts +1 -3
  798. package/dist/label/Label.d.ts +1 -3
  799. package/dist/link/Link.cjs +1 -0
  800. package/dist/link/Link.d.cts +16 -0
  801. package/dist/link/Link.d.ts +16 -0
  802. package/dist/link/Link.js +1 -0
  803. package/dist/link/index.d.cts +2 -0
  804. package/dist/link/index.d.ts +2 -0
  805. package/dist/link/types.d.cts +24 -0
  806. package/dist/link/types.d.ts +24 -0
  807. package/dist/list/List.cjs +1 -0
  808. package/dist/list/List.d.cts +23 -0
  809. package/dist/list/List.d.ts +23 -0
  810. package/dist/list/List.js +1 -0
  811. package/dist/list/ListItem.d.cts +12 -0
  812. package/dist/list/ListItem.d.ts +12 -0
  813. package/dist/list/index.d.cts +3 -0
  814. package/dist/list/index.d.ts +3 -0
  815. package/dist/list/types.d.cts +56 -0
  816. package/dist/list/types.d.ts +56 -0
  817. package/dist/listbox/Listbox.cjs +1 -1
  818. package/dist/listbox/Listbox.d.cts +8 -20
  819. package/dist/listbox/Listbox.d.ts +8 -20
  820. package/dist/listbox/Listbox.js +1 -1
  821. package/dist/listbox/ListboxAnatomy.d.cts +15 -0
  822. package/dist/listbox/ListboxAnatomy.d.ts +15 -0
  823. package/dist/listbox/ListboxGroup.d.cts +2 -7
  824. package/dist/listbox/ListboxGroup.d.ts +2 -7
  825. package/dist/listbox/ListboxItem.d.cts +5 -0
  826. package/dist/listbox/ListboxItem.d.ts +5 -0
  827. package/dist/listbox/ListboxItemIndicator.d.cts +4 -8
  828. package/dist/listbox/ListboxItemIndicator.d.ts +4 -8
  829. package/dist/listbox/ListboxLabel.d.cts +2 -6
  830. package/dist/listbox/ListboxLabel.d.ts +2 -6
  831. package/dist/listbox/index.d.cts +1 -5
  832. package/dist/listbox/index.d.ts +1 -5
  833. package/dist/listbox/primitives.d.cts +22 -0
  834. package/dist/listbox/primitives.d.ts +22 -0
  835. package/dist/listbox/types.d.cts +122 -21
  836. package/dist/listbox/types.d.ts +122 -21
  837. package/dist/loading-overlay/LoadingOverlay.cjs +1 -1
  838. package/dist/loading-overlay/LoadingOverlay.d.cts +51 -13
  839. package/dist/loading-overlay/LoadingOverlay.d.ts +51 -13
  840. package/dist/loading-overlay/LoadingOverlay.js +1 -1
  841. package/dist/loading-overlay/LoadingOverlayAnatomy.d.cts +7 -0
  842. package/dist/loading-overlay/LoadingOverlayAnatomy.d.ts +7 -0
  843. package/dist/loading-overlay/LoadingOverlayBackdrop.d.cts +5 -13
  844. package/dist/loading-overlay/LoadingOverlayBackdrop.d.ts +5 -13
  845. package/dist/loading-overlay/LoadingOverlayContent.d.cts +5 -17
  846. package/dist/loading-overlay/LoadingOverlayContent.d.ts +5 -17
  847. package/dist/loading-overlay/index.d.cts +2 -4
  848. package/dist/loading-overlay/index.d.ts +2 -4
  849. package/dist/loading-overlay/primitives.d.cts +20 -0
  850. package/dist/loading-overlay/primitives.d.ts +20 -0
  851. package/dist/loading-overlay/types.d.cts +38 -38
  852. package/dist/loading-overlay/types.d.ts +38 -38
  853. package/dist/menubar/Menubar.cjs +1 -1
  854. package/dist/menubar/Menubar.d.cts +38 -24
  855. package/dist/menubar/Menubar.d.ts +38 -24
  856. package/dist/menubar/Menubar.js +1 -1
  857. package/dist/menubar/MenubarAnatomy.d.cts +14 -0
  858. package/dist/menubar/MenubarAnatomy.d.ts +14 -0
  859. package/dist/menubar/MenubarCheckboxItem.d.cts +2 -5
  860. package/dist/menubar/MenubarCheckboxItem.d.ts +2 -5
  861. package/dist/menubar/MenubarContent.d.cts +9 -14
  862. package/dist/menubar/MenubarContent.d.ts +9 -14
  863. package/dist/menubar/MenubarGroup.d.cts +5 -2
  864. package/dist/menubar/MenubarGroup.d.ts +5 -2
  865. package/dist/menubar/MenubarItem.d.cts +5 -3
  866. package/dist/menubar/MenubarItem.d.ts +5 -3
  867. package/dist/menubar/MenubarItemIndicator.d.cts +2 -5
  868. package/dist/menubar/MenubarItemIndicator.d.ts +2 -5
  869. package/dist/menubar/MenubarLabel.d.cts +5 -2
  870. package/dist/menubar/MenubarLabel.d.ts +5 -2
  871. package/dist/menubar/MenubarMenu.d.cts +2 -3
  872. package/dist/menubar/MenubarMenu.d.ts +2 -3
  873. package/dist/menubar/MenubarPortal.d.cts +1 -3
  874. package/dist/menubar/MenubarPortal.d.ts +1 -3
  875. package/dist/menubar/MenubarRadioGroup.d.cts +1 -3
  876. package/dist/menubar/MenubarRadioGroup.d.ts +1 -3
  877. package/dist/menubar/MenubarRadioItem.d.cts +3 -5
  878. package/dist/menubar/MenubarRadioItem.d.ts +3 -5
  879. package/dist/menubar/MenubarShortcut.d.cts +15 -0
  880. package/dist/menubar/MenubarShortcut.d.ts +15 -0
  881. package/dist/menubar/MenubarSub.d.cts +3 -5
  882. package/dist/menubar/MenubarSub.d.ts +3 -5
  883. package/dist/menubar/MenubarTrigger.d.cts +5 -7
  884. package/dist/menubar/MenubarTrigger.d.ts +5 -7
  885. package/dist/menubar/index.d.cts +2 -15
  886. package/dist/menubar/index.d.ts +2 -15
  887. package/dist/menubar/primitives.d.cts +39 -0
  888. package/dist/menubar/primitives.d.ts +39 -0
  889. package/dist/menubar/types.d.cts +260 -42
  890. package/dist/menubar/types.d.ts +260 -42
  891. package/dist/meter/Meter.cjs +1 -1
  892. package/dist/meter/Meter.d.cts +11 -14
  893. package/dist/meter/Meter.d.ts +11 -14
  894. package/dist/meter/Meter.js +1 -1
  895. package/dist/meter/MeterAnatomy.d.cts +10 -0
  896. package/dist/meter/MeterAnatomy.d.ts +10 -0
  897. package/dist/meter/MeterIndicator.d.cts +1 -4
  898. package/dist/meter/MeterIndicator.d.ts +1 -4
  899. package/dist/meter/MeterLabel.d.cts +14 -0
  900. package/dist/meter/MeterLabel.d.ts +14 -0
  901. package/dist/meter/MeterValue.d.cts +16 -0
  902. package/dist/meter/MeterValue.d.ts +16 -0
  903. package/dist/meter/index.d.cts +2 -3
  904. package/dist/meter/index.d.ts +2 -3
  905. package/dist/meter/primitives.d.cts +19 -0
  906. package/dist/meter/primitives.d.ts +19 -0
  907. package/dist/meter/types.d.cts +37 -10
  908. package/dist/meter/types.d.ts +37 -10
  909. package/dist/multi-select/MultiSelect.cjs +1 -1
  910. package/dist/multi-select/MultiSelect.d.cts +24 -20
  911. package/dist/multi-select/MultiSelect.d.ts +24 -20
  912. package/dist/multi-select/MultiSelect.js +1 -1
  913. package/dist/multi-select/MultiSelectAnatomy.d.cts +22 -0
  914. package/dist/multi-select/MultiSelectAnatomy.d.ts +22 -0
  915. package/dist/multi-select/MultiSelectClear.d.cts +27 -0
  916. package/dist/multi-select/MultiSelectClear.d.ts +27 -0
  917. package/dist/multi-select/MultiSelectContent.d.cts +4 -21
  918. package/dist/multi-select/MultiSelectContent.d.ts +4 -21
  919. package/dist/multi-select/MultiSelectEmpty.d.cts +19 -0
  920. package/dist/multi-select/MultiSelectEmpty.d.ts +19 -0
  921. package/dist/multi-select/MultiSelectGroup.d.cts +22 -0
  922. package/dist/multi-select/MultiSelectGroup.d.ts +22 -0
  923. package/dist/multi-select/MultiSelectGroupLabel.d.cts +14 -0
  924. package/dist/multi-select/MultiSelectGroupLabel.d.ts +14 -0
  925. package/dist/multi-select/MultiSelectInput.d.cts +15 -0
  926. package/dist/multi-select/MultiSelectInput.d.ts +15 -0
  927. package/dist/multi-select/MultiSelectItem.d.cts +9 -13
  928. package/dist/multi-select/MultiSelectItem.d.ts +9 -13
  929. package/dist/multi-select/MultiSelectList.d.cts +7 -9
  930. package/dist/multi-select/MultiSelectList.d.ts +7 -9
  931. package/dist/multi-select/MultiSelectPortal.d.cts +3 -6
  932. package/dist/multi-select/MultiSelectPortal.d.ts +3 -6
  933. package/dist/multi-select/MultiSelectTag.d.cts +2 -11
  934. package/dist/multi-select/MultiSelectTag.d.ts +2 -11
  935. package/dist/multi-select/MultiSelectTagList.d.cts +4 -13
  936. package/dist/multi-select/MultiSelectTagList.d.ts +4 -13
  937. package/dist/multi-select/MultiSelectTagRemove.d.cts +4 -9
  938. package/dist/multi-select/MultiSelectTagRemove.d.ts +4 -9
  939. package/dist/multi-select/index.d.cts +1 -9
  940. package/dist/multi-select/index.d.ts +1 -9
  941. package/dist/multi-select/primitives.d.cts +42 -0
  942. package/dist/multi-select/primitives.d.ts +42 -0
  943. package/dist/multi-select/types.d.cts +195 -100
  944. package/dist/multi-select/types.d.ts +195 -100
  945. package/dist/navigation-menu/NavigationMenu.cjs +1 -1
  946. package/dist/navigation-menu/NavigationMenu.d.cts +17 -9
  947. package/dist/navigation-menu/NavigationMenu.d.ts +17 -9
  948. package/dist/navigation-menu/NavigationMenu.js +1 -1
  949. package/dist/navigation-menu/NavigationMenuAnatomy.d.cts +13 -0
  950. package/dist/navigation-menu/NavigationMenuAnatomy.d.ts +13 -0
  951. package/dist/navigation-menu/NavigationMenuContent.d.cts +5 -6
  952. package/dist/navigation-menu/NavigationMenuContent.d.ts +5 -6
  953. package/dist/navigation-menu/NavigationMenuIndicator.d.cts +3 -4
  954. package/dist/navigation-menu/NavigationMenuIndicator.d.ts +3 -4
  955. package/dist/navigation-menu/NavigationMenuItem.d.cts +2 -3
  956. package/dist/navigation-menu/NavigationMenuItem.d.ts +2 -3
  957. package/dist/navigation-menu/NavigationMenuLink.d.cts +3 -4
  958. package/dist/navigation-menu/NavigationMenuLink.d.ts +3 -4
  959. package/dist/navigation-menu/NavigationMenuList.d.cts +8 -4
  960. package/dist/navigation-menu/NavigationMenuList.d.ts +8 -4
  961. package/dist/navigation-menu/NavigationMenuTrigger.d.cts +8 -9
  962. package/dist/navigation-menu/NavigationMenuTrigger.d.ts +8 -9
  963. package/dist/navigation-menu/index.d.cts +2 -8
  964. package/dist/navigation-menu/index.d.ts +2 -8
  965. package/dist/navigation-menu/primitives.d.cts +28 -0
  966. package/dist/navigation-menu/primitives.d.ts +28 -0
  967. package/dist/navigation-menu/types.d.cts +91 -10
  968. package/dist/navigation-menu/types.d.ts +91 -10
  969. package/dist/number-field/NumberField.cjs +1 -1
  970. package/dist/number-field/NumberField.d.cts +6 -17
  971. package/dist/number-field/NumberField.d.ts +6 -17
  972. package/dist/number-field/NumberField.js +1 -1
  973. package/dist/number-field/NumberFieldAnatomy.d.cts +12 -0
  974. package/dist/number-field/NumberFieldAnatomy.d.ts +12 -0
  975. package/dist/number-field/NumberFieldDecrement.d.cts +4 -0
  976. package/dist/number-field/NumberFieldDecrement.d.ts +4 -0
  977. package/dist/number-field/NumberFieldIncrement.d.cts +9 -8
  978. package/dist/number-field/NumberFieldIncrement.d.ts +9 -8
  979. package/dist/number-field/NumberFieldInput.d.cts +3 -13
  980. package/dist/number-field/NumberFieldInput.d.ts +3 -13
  981. package/dist/number-field/index.d.cts +2 -5
  982. package/dist/number-field/index.d.ts +2 -5
  983. package/dist/number-field/primitives.d.cts +20 -0
  984. package/dist/number-field/primitives.d.ts +20 -0
  985. package/dist/number-field/types.d.cts +97 -42
  986. package/dist/number-field/types.d.ts +97 -42
  987. package/dist/pagination/Pagination.cjs +1 -1
  988. package/dist/pagination/Pagination.d.cts +26 -11
  989. package/dist/pagination/Pagination.d.ts +26 -11
  990. package/dist/pagination/Pagination.js +1 -1
  991. package/dist/pagination/PaginationAnatomy.d.cts +9 -0
  992. package/dist/pagination/PaginationAnatomy.d.ts +9 -0
  993. package/dist/pagination/PaginationFirst.d.cts +1 -1
  994. package/dist/pagination/PaginationFirst.d.ts +1 -1
  995. package/dist/pagination/PaginationItem.d.cts +2 -2
  996. package/dist/pagination/PaginationItem.d.ts +2 -2
  997. package/dist/pagination/PaginationLast.d.cts +1 -1
  998. package/dist/pagination/PaginationLast.d.ts +1 -1
  999. package/dist/pagination/PaginationList.d.cts +2 -3
  1000. package/dist/pagination/PaginationList.d.ts +2 -3
  1001. package/dist/pagination/PaginationNext.d.cts +1 -1
  1002. package/dist/pagination/PaginationNext.d.ts +1 -1
  1003. package/dist/pagination/PaginationPage.d.cts +14 -0
  1004. package/dist/pagination/PaginationPage.d.ts +14 -0
  1005. package/dist/pagination/PaginationPrevious.d.cts +1 -1
  1006. package/dist/pagination/PaginationPrevious.d.ts +1 -1
  1007. package/dist/pagination/PaginationStatus.d.cts +19 -0
  1008. package/dist/pagination/PaginationStatus.d.ts +19 -0
  1009. package/dist/pagination/index.d.cts +3 -11
  1010. package/dist/pagination/index.d.ts +3 -11
  1011. package/dist/pagination/labels.d.cts +27 -0
  1012. package/dist/pagination/labels.d.ts +27 -0
  1013. package/dist/pagination/pages.d.cts +4 -6
  1014. package/dist/pagination/pages.d.ts +4 -6
  1015. package/dist/pagination/primitives.d.cts +35 -0
  1016. package/dist/pagination/primitives.d.ts +35 -0
  1017. package/dist/pagination/types.d.cts +54 -8
  1018. package/dist/pagination/types.d.ts +54 -8
  1019. package/dist/password-input/PasswordInput.cjs +1 -1
  1020. package/dist/password-input/PasswordInput.d.cts +14 -18
  1021. package/dist/password-input/PasswordInput.d.ts +14 -18
  1022. package/dist/password-input/PasswordInput.js +1 -1
  1023. package/dist/password-input/PasswordInputAnatomy.d.cts +14 -0
  1024. package/dist/password-input/PasswordInputAnatomy.d.ts +14 -0
  1025. package/dist/password-input/PasswordInputField.d.cts +4 -15
  1026. package/dist/password-input/PasswordInputField.d.ts +4 -15
  1027. package/dist/password-input/PasswordInputToggle.d.cts +3 -18
  1028. package/dist/password-input/PasswordInputToggle.d.ts +3 -18
  1029. package/dist/password-input/index.d.cts +2 -4
  1030. package/dist/password-input/index.d.ts +2 -4
  1031. package/dist/password-input/primitives.d.cts +17 -0
  1032. package/dist/password-input/primitives.d.ts +17 -0
  1033. package/dist/password-input/types.d.cts +24 -11
  1034. package/dist/password-input/types.d.ts +24 -11
  1035. package/dist/pin-input/PinInput.cjs +1 -1
  1036. package/dist/pin-input/PinInput.d.cts +18 -21
  1037. package/dist/pin-input/PinInput.d.ts +18 -21
  1038. package/dist/pin-input/PinInput.js +1 -1
  1039. package/dist/pin-input/PinInputAnatomy.d.cts +9 -0
  1040. package/dist/pin-input/PinInputAnatomy.d.ts +9 -0
  1041. package/dist/pin-input/PinInputField.d.cts +8 -10
  1042. package/dist/pin-input/PinInputField.d.ts +8 -10
  1043. package/dist/pin-input/charFilter.d.cts +19 -0
  1044. package/dist/pin-input/charFilter.d.ts +19 -0
  1045. package/dist/pin-input/digitLabel.d.cts +7 -0
  1046. package/dist/pin-input/digitLabel.d.ts +7 -0
  1047. package/dist/pin-input/index.d.cts +4 -3
  1048. package/dist/pin-input/index.d.ts +4 -3
  1049. package/dist/pin-input/primitives.d.cts +18 -0
  1050. package/dist/pin-input/primitives.d.ts +18 -0
  1051. package/dist/pin-input/slots.d.cts +11 -0
  1052. package/dist/pin-input/slots.d.ts +11 -0
  1053. package/dist/pin-input/types.d.cts +101 -21
  1054. package/dist/pin-input/types.d.ts +101 -21
  1055. package/dist/popover/Popover.cjs +1 -1
  1056. package/dist/popover/Popover.d.cts +47 -11
  1057. package/dist/popover/Popover.d.ts +47 -11
  1058. package/dist/popover/Popover.js +1 -1
  1059. package/dist/popover/PopoverAnatomy.d.cts +21 -0
  1060. package/dist/popover/PopoverAnatomy.d.ts +21 -0
  1061. package/dist/popover/PopoverContent.d.cts +15 -3
  1062. package/dist/popover/PopoverContent.d.ts +15 -3
  1063. package/dist/popover/PopoverDescription.d.cts +18 -0
  1064. package/dist/popover/PopoverDescription.d.ts +18 -0
  1065. package/dist/popover/PopoverPortal.d.cts +5 -9
  1066. package/dist/popover/PopoverPortal.d.ts +5 -9
  1067. package/dist/popover/PopoverTitle.d.cts +17 -0
  1068. package/dist/popover/PopoverTitle.d.ts +17 -0
  1069. package/dist/popover/PopoverTrigger.d.cts +2 -3
  1070. package/dist/popover/PopoverTrigger.d.ts +2 -3
  1071. package/dist/popover/focusTargets.d.cts +9 -0
  1072. package/dist/popover/focusTargets.d.ts +9 -0
  1073. package/dist/popover/index.d.cts +1 -5
  1074. package/dist/popover/index.d.ts +1 -5
  1075. package/dist/popover/primitives.d.cts +29 -0
  1076. package/dist/popover/primitives.d.ts +29 -0
  1077. package/dist/popover/types.d.cts +160 -8
  1078. package/dist/popover/types.d.ts +160 -8
  1079. package/dist/primitives/accordion.cjs +1 -0
  1080. package/dist/primitives/accordion.js +1 -0
  1081. package/dist/primitives/alert-dialog.cjs +1 -0
  1082. package/dist/primitives/alert-dialog.js +1 -0
  1083. package/dist/primitives/alert.cjs +1 -0
  1084. package/dist/primitives/alert.js +1 -0
  1085. package/dist/primitives/angle-slider.cjs +1 -0
  1086. package/dist/primitives/angle-slider.js +1 -0
  1087. package/dist/primitives/autocomplete.cjs +1 -0
  1088. package/dist/primitives/autocomplete.js +1 -0
  1089. package/dist/primitives/avatar.cjs +1 -0
  1090. package/dist/primitives/avatar.js +1 -0
  1091. package/dist/primitives/badge.cjs +1 -0
  1092. package/dist/primitives/badge.js +1 -0
  1093. package/dist/primitives/breadcrumb.cjs +1 -0
  1094. package/dist/primitives/breadcrumb.js +1 -0
  1095. package/dist/primitives/calendar.cjs +1 -0
  1096. package/dist/primitives/calendar.js +1 -0
  1097. package/dist/primitives/card.cjs +1 -0
  1098. package/dist/primitives/card.js +1 -0
  1099. package/dist/primitives/carousel.cjs +1 -0
  1100. package/dist/primitives/carousel.js +1 -0
  1101. package/dist/primitives/checkbox-card.cjs +1 -0
  1102. package/dist/primitives/checkbox-card.js +1 -0
  1103. package/dist/primitives/checkbox-group.cjs +1 -0
  1104. package/dist/primitives/checkbox-group.js +1 -0
  1105. package/dist/primitives/checkbox.cjs +1 -0
  1106. package/dist/primitives/checkbox.js +1 -0
  1107. package/dist/primitives/clipboard.cjs +1 -0
  1108. package/dist/primitives/clipboard.js +1 -0
  1109. package/dist/primitives/collapsible.cjs +1 -0
  1110. package/dist/primitives/collapsible.js +1 -0
  1111. package/dist/primitives/color-picker.cjs +1 -0
  1112. package/dist/primitives/color-picker.js +1 -0
  1113. package/dist/primitives/combobox.cjs +1 -0
  1114. package/dist/primitives/combobox.js +1 -0
  1115. package/dist/primitives/command.cjs +1 -0
  1116. package/dist/primitives/command.js +1 -0
  1117. package/dist/primitives/context-menu.cjs +1 -0
  1118. package/dist/primitives/context-menu.js +1 -0
  1119. package/dist/primitives/data-list.cjs +1 -0
  1120. package/dist/primitives/data-list.js +1 -0
  1121. package/dist/primitives/date-picker.cjs +1 -0
  1122. package/dist/primitives/date-picker.js +1 -0
  1123. package/dist/primitives/dialog.cjs +1 -0
  1124. package/dist/primitives/dialog.js +1 -0
  1125. package/dist/primitives/drawer.cjs +1 -0
  1126. package/dist/primitives/drawer.js +1 -0
  1127. package/dist/primitives/dropdown-menu.cjs +1 -0
  1128. package/dist/primitives/dropdown-menu.js +1 -0
  1129. package/dist/primitives/editable.cjs +1 -0
  1130. package/dist/primitives/editable.js +1 -0
  1131. package/dist/primitives/field.cjs +1 -0
  1132. package/dist/primitives/field.js +1 -0
  1133. package/dist/primitives/file-upload.cjs +1 -0
  1134. package/dist/primitives/file-upload.js +1 -0
  1135. package/dist/primitives/floating-panel.cjs +1 -0
  1136. package/dist/primitives/floating-panel.js +1 -0
  1137. package/dist/primitives/form.cjs +1 -0
  1138. package/dist/primitives/form.js +1 -0
  1139. package/dist/primitives/hover-card.cjs +1 -0
  1140. package/dist/primitives/hover-card.js +1 -0
  1141. package/dist/primitives/listbox.cjs +1 -0
  1142. package/dist/primitives/listbox.js +1 -0
  1143. package/dist/primitives/loading-overlay.cjs +1 -0
  1144. package/dist/primitives/loading-overlay.js +1 -0
  1145. package/dist/primitives/menubar.cjs +1 -0
  1146. package/dist/primitives/menubar.js +1 -0
  1147. package/dist/primitives/meter.cjs +1 -0
  1148. package/dist/primitives/meter.js +1 -0
  1149. package/dist/primitives/multi-select.cjs +1 -0
  1150. package/dist/primitives/multi-select.js +1 -0
  1151. package/dist/primitives/navigation-menu.cjs +1 -0
  1152. package/dist/primitives/navigation-menu.js +1 -0
  1153. package/dist/primitives/number-field.cjs +1 -0
  1154. package/dist/primitives/number-field.js +1 -0
  1155. package/dist/primitives/pagination.cjs +1 -0
  1156. package/dist/primitives/pagination.js +1 -0
  1157. package/dist/primitives/password-input.cjs +1 -0
  1158. package/dist/primitives/password-input.js +1 -0
  1159. package/dist/primitives/pin-input.cjs +1 -0
  1160. package/dist/primitives/pin-input.js +1 -0
  1161. package/dist/primitives/popover.cjs +1 -0
  1162. package/dist/primitives/popover.js +1 -0
  1163. package/dist/primitives/progress.cjs +1 -0
  1164. package/dist/primitives/progress.js +1 -0
  1165. package/dist/primitives/qr-code.cjs +1 -0
  1166. package/dist/primitives/qr-code.js +1 -0
  1167. package/dist/primitives/radio-card.cjs +1 -0
  1168. package/dist/primitives/radio-card.js +1 -0
  1169. package/dist/primitives/radio-group.cjs +1 -0
  1170. package/dist/primitives/radio-group.js +1 -0
  1171. package/dist/primitives/rating.cjs +1 -0
  1172. package/dist/primitives/rating.js +1 -0
  1173. package/dist/primitives/resizable.cjs +1 -0
  1174. package/dist/primitives/resizable.js +1 -0
  1175. package/dist/primitives/scroll-area.cjs +1 -0
  1176. package/dist/primitives/scroll-area.js +1 -0
  1177. package/dist/primitives/segmented-control.cjs +1 -0
  1178. package/dist/primitives/segmented-control.js +1 -0
  1179. package/dist/primitives/select.cjs +1 -0
  1180. package/dist/primitives/select.js +1 -0
  1181. package/dist/primitives/slider.cjs +1 -0
  1182. package/dist/primitives/slider.js +1 -0
  1183. package/dist/primitives/speed-dial.cjs +1 -0
  1184. package/dist/primitives/speed-dial.js +1 -0
  1185. package/dist/primitives/split-button.cjs +1 -0
  1186. package/dist/primitives/split-button.js +1 -0
  1187. package/dist/primitives/steps.cjs +1 -0
  1188. package/dist/primitives/steps.js +1 -0
  1189. package/dist/primitives/switch.cjs +1 -0
  1190. package/dist/primitives/switch.js +1 -0
  1191. package/dist/primitives/table.cjs +1 -0
  1192. package/dist/primitives/table.js +1 -0
  1193. package/dist/primitives/tabs.cjs +1 -0
  1194. package/dist/primitives/tabs.js +1 -0
  1195. package/dist/primitives/tag-group.cjs +1 -0
  1196. package/dist/primitives/tag-group.js +1 -0
  1197. package/dist/primitives/tag.cjs +1 -0
  1198. package/dist/primitives/tag.js +1 -0
  1199. package/dist/primitives/tags-input.cjs +1 -0
  1200. package/dist/primitives/tags-input.js +1 -0
  1201. package/dist/primitives/text-field.cjs +1 -0
  1202. package/dist/primitives/text-field.js +1 -0
  1203. package/dist/primitives/timeline.cjs +1 -0
  1204. package/dist/primitives/timeline.js +1 -0
  1205. package/dist/primitives/toast.cjs +1 -0
  1206. package/dist/primitives/toast.js +1 -0
  1207. package/dist/primitives/toggle-group.cjs +1 -0
  1208. package/dist/primitives/toggle-group.js +1 -0
  1209. package/dist/primitives/toolbar.cjs +1 -0
  1210. package/dist/primitives/toolbar.js +1 -0
  1211. package/dist/primitives/tooltip.cjs +1 -0
  1212. package/dist/primitives/tooltip.js +1 -0
  1213. package/dist/primitives/tour.cjs +1 -0
  1214. package/dist/primitives/tour.js +1 -0
  1215. package/dist/primitives/transfer.cjs +1 -0
  1216. package/dist/primitives/transfer.js +1 -0
  1217. package/dist/primitives/tree-select.cjs +1 -0
  1218. package/dist/primitives/tree-select.js +1 -0
  1219. package/dist/primitives/tree.cjs +1 -0
  1220. package/dist/primitives/tree.js +1 -0
  1221. package/dist/progress/Progress.cjs +1 -1
  1222. package/dist/progress/Progress.d.cts +22 -6
  1223. package/dist/progress/Progress.d.ts +22 -6
  1224. package/dist/progress/Progress.js +1 -1
  1225. package/dist/progress/ProgressAnatomy.d.cts +11 -0
  1226. package/dist/progress/ProgressAnatomy.d.ts +11 -0
  1227. package/dist/progress/ProgressCircle.d.cts +9 -24
  1228. package/dist/progress/ProgressCircle.d.ts +9 -24
  1229. package/dist/progress/ProgressCircleIndicator.d.cts +4 -11
  1230. package/dist/progress/ProgressCircleIndicator.d.ts +4 -11
  1231. package/dist/progress/ProgressIndicator.d.cts +3 -4
  1232. package/dist/progress/ProgressIndicator.d.ts +3 -4
  1233. package/dist/progress/ProgressLabel.d.cts +17 -0
  1234. package/dist/progress/ProgressLabel.d.ts +17 -0
  1235. package/dist/progress/ProgressValue.d.cts +16 -0
  1236. package/dist/progress/ProgressValue.d.ts +16 -0
  1237. package/dist/progress/index.d.cts +2 -5
  1238. package/dist/progress/index.d.ts +2 -5
  1239. package/dist/progress/primitives.d.cts +21 -0
  1240. package/dist/progress/primitives.d.ts +21 -0
  1241. package/dist/progress/types.d.cts +101 -16
  1242. package/dist/progress/types.d.ts +101 -16
  1243. package/dist/qr-code/QrCode.cjs +1 -1
  1244. package/dist/qr-code/QrCode.d.cts +8 -24
  1245. package/dist/qr-code/QrCode.d.ts +8 -24
  1246. package/dist/qr-code/QrCode.js +1 -1
  1247. package/dist/qr-code/QrCodeAnatomy.d.cts +10 -0
  1248. package/dist/qr-code/QrCodeAnatomy.d.ts +10 -0
  1249. package/dist/qr-code/QrCodeFrame.d.cts +7 -10
  1250. package/dist/qr-code/QrCodeFrame.d.ts +7 -10
  1251. package/dist/qr-code/QrCodeOverlay.d.cts +9 -16
  1252. package/dist/qr-code/QrCodeOverlay.d.ts +9 -16
  1253. package/dist/qr-code/QrCodePattern.d.cts +3 -12
  1254. package/dist/qr-code/QrCodePattern.d.ts +3 -12
  1255. package/dist/qr-code/encoder.d.cts +9 -31
  1256. package/dist/qr-code/encoder.d.ts +9 -31
  1257. package/dist/qr-code/index.d.cts +1 -4
  1258. package/dist/qr-code/index.d.ts +1 -4
  1259. package/dist/qr-code/primitives.d.cts +23 -0
  1260. package/dist/qr-code/primitives.d.ts +23 -0
  1261. package/dist/qr-code/types.d.cts +25 -30
  1262. package/dist/qr-code/types.d.ts +25 -30
  1263. package/dist/radio-card/RadioCard.cjs +1 -1
  1264. package/dist/radio-card/RadioCard.d.cts +32 -22
  1265. package/dist/radio-card/RadioCard.d.ts +32 -22
  1266. package/dist/radio-card/RadioCard.js +1 -1
  1267. package/dist/radio-card/RadioCardAnatomy.d.cts +12 -0
  1268. package/dist/radio-card/RadioCardAnatomy.d.ts +12 -0
  1269. package/dist/radio-card/RadioCardControl.d.cts +10 -10
  1270. package/dist/radio-card/RadioCardControl.d.ts +10 -10
  1271. package/dist/radio-card/RadioCardDescription.d.cts +5 -8
  1272. package/dist/radio-card/RadioCardDescription.d.ts +5 -8
  1273. package/dist/radio-card/RadioCardIndicator.d.cts +9 -9
  1274. package/dist/radio-card/RadioCardIndicator.d.ts +9 -9
  1275. package/dist/radio-card/RadioCardLabel.d.cts +8 -9
  1276. package/dist/radio-card/RadioCardLabel.d.ts +8 -9
  1277. package/dist/radio-card/index.d.cts +2 -6
  1278. package/dist/radio-card/index.d.ts +2 -6
  1279. package/dist/radio-card/primitives.d.cts +24 -0
  1280. package/dist/radio-card/primitives.d.ts +24 -0
  1281. package/dist/radio-card/types.d.cts +34 -3
  1282. package/dist/radio-card/types.d.ts +34 -3
  1283. package/dist/radio-group/RadioGroup.cjs +1 -1
  1284. package/dist/radio-group/RadioGroup.d.cts +34 -11
  1285. package/dist/radio-group/RadioGroup.d.ts +34 -11
  1286. package/dist/radio-group/RadioGroup.js +1 -1
  1287. package/dist/radio-group/RadioGroupAnatomy.d.cts +11 -0
  1288. package/dist/radio-group/RadioGroupAnatomy.d.ts +11 -0
  1289. package/dist/radio-group/RadioGroupIndicator.d.cts +1 -3
  1290. package/dist/radio-group/RadioGroupIndicator.d.ts +1 -3
  1291. package/dist/radio-group/RadioGroupItem.d.cts +5 -8
  1292. package/dist/radio-group/RadioGroupItem.d.ts +5 -8
  1293. package/dist/radio-group/index.d.cts +2 -4
  1294. package/dist/radio-group/index.d.ts +2 -4
  1295. package/dist/radio-group/primitives.d.cts +23 -0
  1296. package/dist/radio-group/primitives.d.ts +23 -0
  1297. package/dist/radio-group/types.d.cts +92 -9
  1298. package/dist/radio-group/types.d.ts +92 -9
  1299. package/dist/rating/Rating.cjs +1 -1
  1300. package/dist/rating/Rating.d.cts +13 -24
  1301. package/dist/rating/Rating.d.ts +13 -24
  1302. package/dist/rating/Rating.js +1 -1
  1303. package/dist/rating/RatingAnatomy.d.cts +11 -0
  1304. package/dist/rating/RatingAnatomy.d.ts +11 -0
  1305. package/dist/rating/RatingItem.d.cts +6 -11
  1306. package/dist/rating/RatingItem.d.ts +6 -11
  1307. package/dist/rating/index.d.cts +2 -3
  1308. package/dist/rating/index.d.ts +2 -3
  1309. package/dist/rating/primitives.d.cts +17 -0
  1310. package/dist/rating/primitives.d.ts +17 -0
  1311. package/dist/rating/types.d.cts +70 -24
  1312. package/dist/rating/types.d.ts +70 -24
  1313. package/dist/resizable/Resizable.cjs +1 -1
  1314. package/dist/resizable/Resizable.d.cts +45 -10
  1315. package/dist/resizable/Resizable.d.ts +45 -10
  1316. package/dist/resizable/Resizable.js +1 -1
  1317. package/dist/resizable/ResizableAnatomy.d.cts +11 -0
  1318. package/dist/resizable/ResizableAnatomy.d.ts +11 -0
  1319. package/dist/resizable/ResizableHandle.d.cts +18 -7
  1320. package/dist/resizable/ResizableHandle.d.ts +18 -7
  1321. package/dist/resizable/ResizablePanel.d.cts +3 -6
  1322. package/dist/resizable/ResizablePanel.d.ts +3 -6
  1323. package/dist/resizable/index.d.cts +2 -3
  1324. package/dist/resizable/index.d.ts +2 -3
  1325. package/dist/resizable/layout.d.cts +29 -0
  1326. package/dist/resizable/layout.d.ts +29 -0
  1327. package/dist/resizable/panelDefaults.d.cts +6 -0
  1328. package/dist/resizable/panelDefaults.d.ts +6 -0
  1329. package/dist/resizable/primitives.d.cts +18 -0
  1330. package/dist/resizable/primitives.d.ts +18 -0
  1331. package/dist/resizable/types.d.cts +97 -5
  1332. package/dist/resizable/types.d.ts +97 -5
  1333. package/dist/scroll-area/ScrollArea.cjs +1 -1
  1334. package/dist/scroll-area/ScrollArea.d.cts +19 -17
  1335. package/dist/scroll-area/ScrollArea.d.ts +19 -17
  1336. package/dist/scroll-area/ScrollArea.js +1 -1
  1337. package/dist/scroll-area/ScrollAreaAnatomy.d.cts +15 -0
  1338. package/dist/scroll-area/ScrollAreaAnatomy.d.ts +15 -0
  1339. package/dist/scroll-area/ScrollAreaCorner.d.cts +3 -6
  1340. package/dist/scroll-area/ScrollAreaCorner.d.ts +3 -6
  1341. package/dist/scroll-area/ScrollAreaScrollbar.d.cts +3 -6
  1342. package/dist/scroll-area/ScrollAreaScrollbar.d.ts +3 -6
  1343. package/dist/scroll-area/ScrollAreaThumb.d.cts +3 -5
  1344. package/dist/scroll-area/ScrollAreaThumb.d.ts +3 -5
  1345. package/dist/scroll-area/ScrollAreaViewport.d.cts +6 -8
  1346. package/dist/scroll-area/ScrollAreaViewport.d.ts +6 -8
  1347. package/dist/scroll-area/index.d.cts +2 -6
  1348. package/dist/scroll-area/index.d.ts +2 -6
  1349. package/dist/scroll-area/primitives.d.cts +22 -0
  1350. package/dist/scroll-area/primitives.d.ts +22 -0
  1351. package/dist/scroll-area/types.d.cts +61 -8
  1352. package/dist/scroll-area/types.d.ts +61 -8
  1353. package/dist/segmented-control/SegmentedControl.cjs +1 -1
  1354. package/dist/segmented-control/SegmentedControl.d.cts +26 -25
  1355. package/dist/segmented-control/SegmentedControl.d.ts +26 -25
  1356. package/dist/segmented-control/SegmentedControl.js +1 -1
  1357. package/dist/segmented-control/SegmentedControlAnatomy.d.cts +10 -0
  1358. package/dist/segmented-control/SegmentedControlAnatomy.d.ts +10 -0
  1359. package/dist/segmented-control/SegmentedControlIndicator.d.cts +5 -33
  1360. package/dist/segmented-control/SegmentedControlIndicator.d.ts +5 -33
  1361. package/dist/segmented-control/SegmentedControlItem.d.cts +6 -7
  1362. package/dist/segmented-control/SegmentedControlItem.d.ts +6 -7
  1363. package/dist/segmented-control/index.d.cts +1 -3
  1364. package/dist/segmented-control/index.d.ts +1 -3
  1365. package/dist/segmented-control/primitives.d.cts +21 -0
  1366. package/dist/segmented-control/primitives.d.ts +21 -0
  1367. package/dist/segmented-control/types.d.cts +112 -13
  1368. package/dist/segmented-control/types.d.ts +112 -13
  1369. package/dist/select/Select.cjs +1 -1
  1370. package/dist/select/Select.d.cts +22 -6
  1371. package/dist/select/Select.d.ts +22 -6
  1372. package/dist/select/Select.js +1 -1
  1373. package/dist/select/SelectAnatomy.d.cts +20 -0
  1374. package/dist/select/SelectAnatomy.d.ts +20 -0
  1375. package/dist/select/SelectContent.d.cts +4 -14
  1376. package/dist/select/SelectContent.d.ts +4 -14
  1377. package/dist/select/SelectGroup.d.cts +11 -3
  1378. package/dist/select/SelectGroup.d.ts +11 -3
  1379. package/dist/select/SelectItem.d.cts +10 -8
  1380. package/dist/select/SelectItem.d.ts +10 -8
  1381. package/dist/select/SelectItemIndicator.d.cts +2 -3
  1382. package/dist/select/SelectItemIndicator.d.ts +2 -3
  1383. package/dist/select/SelectLabel.d.cts +1 -2
  1384. package/dist/select/SelectLabel.d.ts +1 -2
  1385. package/dist/select/SelectPortal.d.cts +1 -4
  1386. package/dist/select/SelectPortal.d.ts +1 -4
  1387. package/dist/select/SelectSeparator.d.cts +1 -1
  1388. package/dist/select/SelectSeparator.d.ts +1 -1
  1389. package/dist/select/SelectTrigger.d.cts +15 -13
  1390. package/dist/select/SelectTrigger.d.ts +15 -13
  1391. package/dist/select/SelectValue.d.cts +12 -4
  1392. package/dist/select/SelectValue.d.ts +12 -4
  1393. package/dist/select/index.d.cts +2 -13
  1394. package/dist/select/index.d.ts +2 -13
  1395. package/dist/select/primitives.d.cts +39 -0
  1396. package/dist/select/primitives.d.ts +39 -0
  1397. package/dist/select/types.d.cts +118 -166
  1398. package/dist/select/types.d.ts +118 -166
  1399. package/dist/separator/Separator.cjs +1 -1
  1400. package/dist/separator/Separator.d.cts +4 -5
  1401. package/dist/separator/Separator.d.ts +4 -5
  1402. package/dist/separator/Separator.js +1 -1
  1403. package/dist/separator/types.d.cts +2 -4
  1404. package/dist/separator/types.d.ts +2 -4
  1405. package/dist/skeleton/Skeleton.cjs +1 -1
  1406. package/dist/skeleton/Skeleton.d.cts +9 -5
  1407. package/dist/skeleton/Skeleton.d.ts +9 -5
  1408. package/dist/skeleton/Skeleton.js +1 -1
  1409. package/dist/skip-link/SkipLink.cjs +1 -1
  1410. package/dist/skip-link/SkipLink.d.cts +4 -6
  1411. package/dist/skip-link/SkipLink.d.ts +4 -6
  1412. package/dist/skip-link/SkipLink.js +1 -1
  1413. package/dist/slider/Slider.cjs +1 -1
  1414. package/dist/slider/Slider.d.cts +4 -13
  1415. package/dist/slider/Slider.d.ts +4 -13
  1416. package/dist/slider/Slider.js +1 -1
  1417. package/dist/slider/SliderAnatomy.d.cts +15 -0
  1418. package/dist/slider/SliderAnatomy.d.ts +15 -0
  1419. package/dist/slider/SliderMark.d.cts +20 -0
  1420. package/dist/slider/SliderMark.d.ts +20 -0
  1421. package/dist/slider/SliderRange.d.cts +4 -5
  1422. package/dist/slider/SliderRange.d.ts +4 -5
  1423. package/dist/slider/SliderThumb.d.cts +7 -9
  1424. package/dist/slider/SliderThumb.d.ts +7 -9
  1425. package/dist/slider/SliderTrack.d.cts +1 -3
  1426. package/dist/slider/SliderTrack.d.ts +1 -3
  1427. package/dist/slider/index.d.cts +2 -5
  1428. package/dist/slider/index.d.ts +2 -5
  1429. package/dist/slider/primitives.d.cts +23 -0
  1430. package/dist/slider/primitives.d.ts +23 -0
  1431. package/dist/slider/types.d.cts +100 -4
  1432. package/dist/slider/types.d.ts +100 -4
  1433. package/dist/speed-dial/SpeedDial.cjs +1 -1
  1434. package/dist/speed-dial/SpeedDial.d.cts +53 -15
  1435. package/dist/speed-dial/SpeedDial.d.ts +53 -15
  1436. package/dist/speed-dial/SpeedDial.js +1 -1
  1437. package/dist/speed-dial/SpeedDialAnatomy.d.cts +21 -0
  1438. package/dist/speed-dial/SpeedDialAnatomy.d.ts +21 -0
  1439. package/dist/speed-dial/SpeedDialItem.d.cts +3 -13
  1440. package/dist/speed-dial/SpeedDialItem.d.ts +3 -13
  1441. package/dist/speed-dial/SpeedDialItemLabel.d.cts +2 -6
  1442. package/dist/speed-dial/SpeedDialItemLabel.d.ts +2 -6
  1443. package/dist/speed-dial/SpeedDialOverlay.d.cts +15 -0
  1444. package/dist/speed-dial/SpeedDialOverlay.d.ts +15 -0
  1445. package/dist/speed-dial/SpeedDialPortal.d.cts +2 -7
  1446. package/dist/speed-dial/SpeedDialPortal.d.ts +2 -7
  1447. package/dist/speed-dial/SpeedDialTrigger.d.cts +3 -12
  1448. package/dist/speed-dial/SpeedDialTrigger.d.ts +3 -12
  1449. package/dist/speed-dial/index.d.cts +1 -6
  1450. package/dist/speed-dial/index.d.ts +1 -6
  1451. package/dist/speed-dial/primitives.d.cts +29 -0
  1452. package/dist/speed-dial/primitives.d.ts +29 -0
  1453. package/dist/speed-dial/types.d.cts +95 -75
  1454. package/dist/speed-dial/types.d.ts +95 -75
  1455. package/dist/spinner/Spinner.cjs +1 -1
  1456. package/dist/spinner/Spinner.d.cts +3 -5
  1457. package/dist/spinner/Spinner.d.ts +3 -5
  1458. package/dist/spinner/Spinner.js +1 -1
  1459. package/dist/split-button/SplitButton.cjs +1 -1
  1460. package/dist/split-button/SplitButton.d.cts +11 -18
  1461. package/dist/split-button/SplitButton.d.ts +11 -18
  1462. package/dist/split-button/SplitButton.js +1 -1
  1463. package/dist/split-button/SplitButtonAnatomy.d.cts +15 -0
  1464. package/dist/split-button/SplitButtonAnatomy.d.ts +15 -0
  1465. package/dist/split-button/index.d.cts +2 -4
  1466. package/dist/split-button/index.d.ts +2 -4
  1467. package/dist/split-button/primitives.d.cts +20 -0
  1468. package/dist/split-button/primitives.d.ts +20 -0
  1469. package/dist/split-button/types.d.cts +70 -3
  1470. package/dist/split-button/types.d.ts +70 -3
  1471. package/dist/steps/Steps.cjs +1 -1
  1472. package/dist/steps/Steps.d.cts +22 -25
  1473. package/dist/steps/Steps.d.ts +22 -25
  1474. package/dist/steps/Steps.js +1 -1
  1475. package/dist/steps/StepsAnatomy.d.cts +13 -0
  1476. package/dist/steps/StepsAnatomy.d.ts +13 -0
  1477. package/dist/steps/StepsItem.d.cts +3 -5
  1478. package/dist/steps/StepsItem.d.ts +3 -5
  1479. package/dist/steps/StepsTrigger.d.cts +1 -7
  1480. package/dist/steps/StepsTrigger.d.ts +1 -7
  1481. package/dist/steps/index.d.cts +2 -4
  1482. package/dist/steps/index.d.ts +2 -4
  1483. package/dist/steps/primitives.d.cts +22 -0
  1484. package/dist/steps/primitives.d.ts +22 -0
  1485. package/dist/steps/types.d.cts +57 -24
  1486. package/dist/steps/types.d.ts +57 -24
  1487. package/dist/switch/Switch.cjs +1 -1
  1488. package/dist/switch/Switch.d.cts +26 -5
  1489. package/dist/switch/Switch.d.ts +26 -5
  1490. package/dist/switch/Switch.js +1 -1
  1491. package/dist/switch/SwitchAnatomy.d.cts +10 -0
  1492. package/dist/switch/SwitchAnatomy.d.ts +10 -0
  1493. package/dist/switch/SwitchLabel.d.cts +28 -0
  1494. package/dist/switch/SwitchLabel.d.ts +28 -0
  1495. package/dist/switch/SwitchThumb.d.cts +3 -3
  1496. package/dist/switch/SwitchThumb.d.ts +3 -3
  1497. package/dist/switch/index.d.cts +2 -3
  1498. package/dist/switch/index.d.ts +2 -3
  1499. package/dist/switch/primitives.d.cts +17 -0
  1500. package/dist/switch/primitives.d.ts +17 -0
  1501. package/dist/switch/types.d.cts +38 -1
  1502. package/dist/switch/types.d.ts +38 -1
  1503. package/dist/table/Table.cjs +1 -1
  1504. package/dist/table/Table.d.cts +39 -10
  1505. package/dist/table/Table.d.ts +39 -10
  1506. package/dist/table/Table.js +1 -1
  1507. package/dist/table/TableAnatomy.d.cts +20 -0
  1508. package/dist/table/TableAnatomy.d.ts +20 -0
  1509. package/dist/table/TableColumnHeaderSortTrigger.d.cts +4 -15
  1510. package/dist/table/TableColumnHeaderSortTrigger.d.ts +4 -15
  1511. package/dist/table/TableColumnResizeTrigger.d.cts +1 -15
  1512. package/dist/table/TableColumnResizeTrigger.d.ts +1 -15
  1513. package/dist/table/TableEmpty.d.cts +1 -4
  1514. package/dist/table/TableEmpty.d.ts +1 -4
  1515. package/dist/table/TableExpandTrigger.d.cts +1 -9
  1516. package/dist/table/TableExpandTrigger.d.ts +1 -9
  1517. package/dist/table/TableExpandedRow.d.cts +1 -8
  1518. package/dist/table/TableExpandedRow.d.ts +1 -8
  1519. package/dist/table/TableHeader.d.cts +1 -1
  1520. package/dist/table/TableHeader.d.ts +1 -1
  1521. package/dist/table/TableHeaderCell.d.cts +7 -19
  1522. package/dist/table/TableHeaderCell.d.ts +7 -19
  1523. package/dist/table/TableRow.d.cts +6 -6
  1524. package/dist/table/TableRow.d.ts +6 -6
  1525. package/dist/table/TableRowSelectCheckbox.d.cts +6 -14
  1526. package/dist/table/TableRowSelectCheckbox.d.ts +6 -14
  1527. package/dist/table/TableSelectAllCheckbox.d.cts +5 -15
  1528. package/dist/table/TableSelectAllCheckbox.d.ts +5 -15
  1529. package/dist/table/TableSortIndicator.d.cts +3 -11
  1530. package/dist/table/TableSortIndicator.d.ts +3 -11
  1531. package/dist/table/index.d.cts +2 -15
  1532. package/dist/table/index.d.ts +2 -15
  1533. package/dist/table/primitives.d.cts +40 -0
  1534. package/dist/table/primitives.d.ts +40 -0
  1535. package/dist/table/types.d.cts +204 -165
  1536. package/dist/table/types.d.ts +204 -165
  1537. package/dist/tabs/Tabs.cjs +1 -1
  1538. package/dist/tabs/Tabs.d.cts +16 -8
  1539. package/dist/tabs/Tabs.d.ts +16 -8
  1540. package/dist/tabs/Tabs.js +1 -1
  1541. package/dist/tabs/TabsAnatomy.d.cts +15 -0
  1542. package/dist/tabs/TabsAnatomy.d.ts +15 -0
  1543. package/dist/tabs/TabsContent.d.cts +2 -1
  1544. package/dist/tabs/TabsContent.d.ts +2 -1
  1545. package/dist/tabs/TabsTrigger.d.cts +2 -2
  1546. package/dist/tabs/TabsTrigger.d.ts +2 -2
  1547. package/dist/tabs/index.d.cts +2 -5
  1548. package/dist/tabs/index.d.ts +2 -5
  1549. package/dist/tabs/primitives.d.cts +22 -0
  1550. package/dist/tabs/primitives.d.ts +22 -0
  1551. package/dist/tabs/types.d.cts +132 -3
  1552. package/dist/tabs/types.d.ts +132 -3
  1553. package/dist/tag/Tag.cjs +1 -1
  1554. package/dist/tag/Tag.d.cts +17 -18
  1555. package/dist/tag/Tag.d.ts +17 -18
  1556. package/dist/tag/Tag.js +1 -1
  1557. package/dist/tag/TagAnatomy.d.cts +17 -0
  1558. package/dist/tag/TagAnatomy.d.ts +17 -0
  1559. package/dist/tag/TagDelete.d.cts +4 -10
  1560. package/dist/tag/TagDelete.d.ts +4 -10
  1561. package/dist/tag/TagLabel.d.cts +17 -0
  1562. package/dist/tag/TagLabel.d.ts +17 -0
  1563. package/dist/tag/TagLeading.d.cts +17 -0
  1564. package/dist/tag/TagLeading.d.ts +17 -0
  1565. package/dist/tag/index.d.cts +1 -2
  1566. package/dist/tag/index.d.ts +1 -2
  1567. package/dist/tag/primitives.d.cts +19 -0
  1568. package/dist/tag/primitives.d.ts +19 -0
  1569. package/dist/tag/types.d.cts +89 -18
  1570. package/dist/tag/types.d.ts +89 -18
  1571. package/dist/tag-group/TagGroup.cjs +1 -1
  1572. package/dist/tag-group/TagGroup.d.cts +36 -47
  1573. package/dist/tag-group/TagGroup.d.ts +36 -47
  1574. package/dist/tag-group/TagGroup.js +1 -1
  1575. package/dist/tag-group/TagGroupAnatomy.d.cts +12 -0
  1576. package/dist/tag-group/TagGroupAnatomy.d.ts +12 -0
  1577. package/dist/tag-group/TagGroupEmpty.d.cts +16 -0
  1578. package/dist/tag-group/TagGroupEmpty.d.ts +16 -0
  1579. package/dist/tag-group/TagGroupLabel.d.cts +16 -0
  1580. package/dist/tag-group/TagGroupLabel.d.ts +16 -0
  1581. package/dist/tag-group/TagGroupList.d.cts +23 -0
  1582. package/dist/tag-group/TagGroupList.d.ts +23 -0
  1583. package/dist/tag-group/index.d.cts +2 -2
  1584. package/dist/tag-group/index.d.ts +2 -2
  1585. package/dist/tag-group/primitives.d.cts +27 -0
  1586. package/dist/tag-group/primitives.d.ts +27 -0
  1587. package/dist/tag-group/types.d.cts +68 -18
  1588. package/dist/tag-group/types.d.ts +68 -18
  1589. package/dist/tags-input/TagsInput.cjs +2 -1
  1590. package/dist/tags-input/TagsInput.d.cts +40 -50
  1591. package/dist/tags-input/TagsInput.d.ts +40 -50
  1592. package/dist/tags-input/TagsInput.js +2 -1
  1593. package/dist/tags-input/TagsInputAnatomy.d.cts +9 -0
  1594. package/dist/tags-input/TagsInputAnatomy.d.ts +9 -0
  1595. package/dist/tags-input/TagsInputClear.d.cts +18 -0
  1596. package/dist/tags-input/TagsInputClear.d.ts +18 -0
  1597. package/dist/tags-input/TagsInputInput.d.cts +3 -9
  1598. package/dist/tags-input/TagsInputInput.d.ts +3 -9
  1599. package/dist/tags-input/TagsInputItem.d.cts +8 -3
  1600. package/dist/tags-input/TagsInputItem.d.ts +8 -3
  1601. package/dist/tags-input/TagsInputItemDelete.d.cts +8 -3
  1602. package/dist/tags-input/TagsInputItemDelete.d.ts +8 -3
  1603. package/dist/tags-input/TagsInputItemInput.d.cts +28 -0
  1604. package/dist/tags-input/TagsInputItemInput.d.ts +28 -0
  1605. package/dist/tags-input/index.d.cts +2 -5
  1606. package/dist/tags-input/index.d.ts +2 -5
  1607. package/dist/tags-input/primitives.d.cts +27 -0
  1608. package/dist/tags-input/primitives.d.ts +27 -0
  1609. package/dist/tags-input/types.d.cts +149 -6
  1610. package/dist/tags-input/types.d.ts +149 -6
  1611. package/dist/text/Text.cjs +1 -0
  1612. package/dist/text/Text.d.cts +17 -0
  1613. package/dist/text/Text.d.ts +17 -0
  1614. package/dist/text/Text.js +1 -0
  1615. package/dist/text/index.d.cts +2 -0
  1616. package/dist/text/index.d.ts +2 -0
  1617. package/dist/text/types.d.cts +11 -0
  1618. package/dist/text/types.d.ts +11 -0
  1619. package/dist/text-field/TextField.cjs +1 -1
  1620. package/dist/text-field/TextField.d.cts +9 -12
  1621. package/dist/text-field/TextField.d.ts +9 -12
  1622. package/dist/text-field/TextField.js +1 -1
  1623. package/dist/text-field/TextFieldAnatomy.d.cts +16 -0
  1624. package/dist/text-field/TextFieldAnatomy.d.ts +16 -0
  1625. package/dist/text-field/TextFieldClearButton.d.cts +1 -4
  1626. package/dist/text-field/TextFieldClearButton.d.ts +1 -4
  1627. package/dist/text-field/TextFieldInput.d.cts +2 -8
  1628. package/dist/text-field/TextFieldInput.d.ts +2 -8
  1629. package/dist/text-field/TextFieldSlot.d.cts +1 -2
  1630. package/dist/text-field/TextFieldSlot.d.ts +1 -2
  1631. package/dist/text-field/index.d.cts +2 -5
  1632. package/dist/text-field/index.d.ts +2 -5
  1633. package/dist/text-field/primitives.d.cts +21 -0
  1634. package/dist/text-field/primitives.d.ts +21 -0
  1635. package/dist/text-field/types.d.cts +67 -6
  1636. package/dist/text-field/types.d.ts +67 -6
  1637. package/dist/textarea/Textarea.cjs +1 -1
  1638. package/dist/textarea/Textarea.d.cts +4 -6
  1639. package/dist/textarea/Textarea.d.ts +4 -6
  1640. package/dist/textarea/Textarea.js +1 -1
  1641. package/dist/textarea/types.d.cts +31 -3
  1642. package/dist/textarea/types.d.ts +31 -3
  1643. package/dist/time/Time.cjs +1 -0
  1644. package/dist/time/Time.d.cts +14 -0
  1645. package/dist/time/Time.d.ts +14 -0
  1646. package/dist/time/Time.js +1 -0
  1647. package/dist/time/format.d.cts +4 -0
  1648. package/dist/time/format.d.ts +4 -0
  1649. package/dist/time/index.d.cts +3 -0
  1650. package/dist/time/index.d.ts +3 -0
  1651. package/dist/time/types.d.cts +29 -0
  1652. package/dist/time/types.d.ts +29 -0
  1653. package/dist/time-field/TimeField.cjs +1 -1
  1654. package/dist/time-field/TimeField.js +1 -1
  1655. package/dist/time-field/types.d.cts +34 -6
  1656. package/dist/time-field/types.d.ts +34 -6
  1657. package/dist/timeline/Timeline.cjs +1 -1
  1658. package/dist/timeline/Timeline.d.cts +7 -14
  1659. package/dist/timeline/Timeline.d.ts +7 -14
  1660. package/dist/timeline/Timeline.js +1 -1
  1661. package/dist/timeline/TimelineAnatomy.d.cts +13 -0
  1662. package/dist/timeline/TimelineAnatomy.d.ts +13 -0
  1663. package/dist/timeline/TimelineIndicator.d.cts +7 -0
  1664. package/dist/timeline/TimelineIndicator.d.ts +7 -0
  1665. package/dist/timeline/TimelineItem.d.cts +1 -3
  1666. package/dist/timeline/TimelineItem.d.ts +1 -3
  1667. package/dist/timeline/TimelineOpposite.d.cts +18 -0
  1668. package/dist/timeline/TimelineOpposite.d.ts +18 -0
  1669. package/dist/timeline/TimelineSeparator.d.cts +1 -3
  1670. package/dist/timeline/TimelineSeparator.d.ts +1 -3
  1671. package/dist/timeline/index.d.cts +2 -6
  1672. package/dist/timeline/index.d.ts +2 -6
  1673. package/dist/timeline/primitives.d.cts +25 -0
  1674. package/dist/timeline/primitives.d.ts +25 -0
  1675. package/dist/timeline/types.d.cts +46 -2
  1676. package/dist/timeline/types.d.ts +46 -2
  1677. package/dist/toast/Toast.cjs +1 -1
  1678. package/dist/toast/Toast.d.cts +8 -17
  1679. package/dist/toast/Toast.d.ts +8 -17
  1680. package/dist/toast/Toast.js +1 -1
  1681. package/dist/toast/ToastAction.d.cts +1 -4
  1682. package/dist/toast/ToastAction.d.ts +1 -4
  1683. package/dist/toast/ToastClose.d.cts +13 -3
  1684. package/dist/toast/ToastClose.d.ts +13 -3
  1685. package/dist/toast/ToastDescription.d.cts +1 -1
  1686. package/dist/toast/ToastDescription.d.ts +1 -1
  1687. package/dist/toast/ToastProvider.d.cts +5 -6
  1688. package/dist/toast/ToastProvider.d.ts +5 -6
  1689. package/dist/toast/ToastTitle.d.cts +1 -1
  1690. package/dist/toast/ToastTitle.d.ts +1 -1
  1691. package/dist/toast/Toaster.d.cts +8 -20
  1692. package/dist/toast/Toaster.d.ts +8 -20
  1693. package/dist/toast/index.d.cts +1 -9
  1694. package/dist/toast/index.d.ts +1 -9
  1695. package/dist/toast/primitives.d.cts +27 -0
  1696. package/dist/toast/primitives.d.ts +27 -0
  1697. package/dist/toast/region-focus.d.cts +14 -8
  1698. package/dist/toast/region-focus.d.ts +14 -8
  1699. package/dist/toast/types.d.cts +77 -28
  1700. package/dist/toast/types.d.ts +77 -28
  1701. package/dist/toggle/Toggle.cjs +1 -1
  1702. package/dist/toggle/Toggle.d.cts +9 -4
  1703. package/dist/toggle/Toggle.d.ts +9 -4
  1704. package/dist/toggle/Toggle.js +1 -1
  1705. package/dist/toggle/types.d.cts +9 -4
  1706. package/dist/toggle/types.d.ts +9 -4
  1707. package/dist/toggle-group/ToggleGroup.cjs +1 -1
  1708. package/dist/toggle-group/ToggleGroup.d.cts +33 -14
  1709. package/dist/toggle-group/ToggleGroup.d.ts +33 -14
  1710. package/dist/toggle-group/ToggleGroup.js +1 -1
  1711. package/dist/toggle-group/ToggleGroupAnatomy.d.cts +9 -0
  1712. package/dist/toggle-group/ToggleGroupAnatomy.d.ts +9 -0
  1713. package/dist/toggle-group/ToggleGroupItem.d.cts +4 -4
  1714. package/dist/toggle-group/ToggleGroupItem.d.ts +4 -4
  1715. package/dist/toggle-group/index.d.cts +3 -3
  1716. package/dist/toggle-group/index.d.ts +3 -3
  1717. package/dist/toggle-group/primitives.d.cts +20 -0
  1718. package/dist/toggle-group/primitives.d.ts +20 -0
  1719. package/dist/toggle-group/types.d.cts +107 -26
  1720. package/dist/toggle-group/types.d.ts +107 -26
  1721. package/dist/toolbar/Toolbar.cjs +1 -1
  1722. package/dist/toolbar/Toolbar.d.cts +5 -6
  1723. package/dist/toolbar/Toolbar.d.ts +5 -6
  1724. package/dist/toolbar/Toolbar.js +1 -1
  1725. package/dist/toolbar/ToolbarAnatomy.d.cts +11 -0
  1726. package/dist/toolbar/ToolbarAnatomy.d.ts +11 -0
  1727. package/dist/toolbar/ToolbarButton.d.cts +1 -4
  1728. package/dist/toolbar/ToolbarButton.d.ts +1 -4
  1729. package/dist/toolbar/ToolbarLink.d.cts +1 -4
  1730. package/dist/toolbar/ToolbarLink.d.ts +1 -4
  1731. package/dist/toolbar/ToolbarSeparator.d.cts +3 -4
  1732. package/dist/toolbar/ToolbarSeparator.d.ts +3 -4
  1733. package/dist/toolbar/ToolbarToggleGroup.d.cts +4 -8
  1734. package/dist/toolbar/ToolbarToggleGroup.d.ts +4 -8
  1735. package/dist/toolbar/ToolbarToggleItem.d.cts +1 -7
  1736. package/dist/toolbar/ToolbarToggleItem.d.ts +1 -7
  1737. package/dist/toolbar/index.d.cts +3 -7
  1738. package/dist/toolbar/index.d.ts +3 -7
  1739. package/dist/toolbar/primitives.d.cts +23 -0
  1740. package/dist/toolbar/primitives.d.ts +23 -0
  1741. package/dist/toolbar/types.d.cts +134 -28
  1742. package/dist/toolbar/types.d.ts +134 -28
  1743. package/dist/tooltip/Tooltip.cjs +1 -1
  1744. package/dist/tooltip/Tooltip.d.cts +44 -16
  1745. package/dist/tooltip/Tooltip.d.ts +44 -16
  1746. package/dist/tooltip/Tooltip.js +1 -1
  1747. package/dist/tooltip/TooltipAnatomy.d.cts +15 -0
  1748. package/dist/tooltip/TooltipAnatomy.d.ts +15 -0
  1749. package/dist/tooltip/TooltipContent.d.cts +10 -12
  1750. package/dist/tooltip/TooltipContent.d.ts +10 -12
  1751. package/dist/tooltip/TooltipPortal.d.cts +2 -3
  1752. package/dist/tooltip/TooltipPortal.d.ts +2 -3
  1753. package/dist/tooltip/TooltipProvider.d.cts +4 -8
  1754. package/dist/tooltip/TooltipProvider.d.ts +4 -8
  1755. package/dist/tooltip/TooltipTrigger.d.cts +3 -6
  1756. package/dist/tooltip/TooltipTrigger.d.ts +3 -6
  1757. package/dist/tooltip/index.d.cts +1 -5
  1758. package/dist/tooltip/index.d.ts +1 -5
  1759. package/dist/tooltip/primitives.d.cts +27 -0
  1760. package/dist/tooltip/primitives.d.ts +27 -0
  1761. package/dist/tooltip/types.d.cts +78 -28
  1762. package/dist/tooltip/types.d.ts +78 -28
  1763. package/dist/tour/Tour.cjs +1 -1
  1764. package/dist/tour/Tour.d.cts +7 -45
  1765. package/dist/tour/Tour.d.ts +7 -45
  1766. package/dist/tour/Tour.js +1 -1
  1767. package/dist/tour/TourActions.d.cts +20 -0
  1768. package/dist/tour/TourActions.d.ts +20 -0
  1769. package/dist/tour/TourAnatomy.d.cts +15 -0
  1770. package/dist/tour/TourAnatomy.d.ts +15 -0
  1771. package/dist/tour/TourArrow.d.cts +2 -7
  1772. package/dist/tour/TourArrow.d.ts +2 -7
  1773. package/dist/tour/TourBackdrop.d.cts +3 -0
  1774. package/dist/tour/TourBackdrop.d.ts +3 -0
  1775. package/dist/tour/TourCloseTrigger.d.cts +2 -6
  1776. package/dist/tour/TourCloseTrigger.d.ts +2 -6
  1777. package/dist/tour/TourContent.d.cts +8 -24
  1778. package/dist/tour/TourContent.d.ts +8 -24
  1779. package/dist/tour/TourNextTrigger.d.cts +1 -4
  1780. package/dist/tour/TourNextTrigger.d.ts +1 -4
  1781. package/dist/tour/TourPortal.d.cts +2 -5
  1782. package/dist/tour/TourPortal.d.ts +2 -5
  1783. package/dist/tour/TourPrevTrigger.d.cts +1 -4
  1784. package/dist/tour/TourPrevTrigger.d.ts +1 -4
  1785. package/dist/tour/TourProgressText.d.cts +2 -7
  1786. package/dist/tour/TourProgressText.d.ts +2 -7
  1787. package/dist/tour/TourSkipTrigger.d.cts +1 -4
  1788. package/dist/tour/TourSkipTrigger.d.ts +1 -4
  1789. package/dist/tour/TourSpotlight.d.cts +3 -7
  1790. package/dist/tour/TourSpotlight.d.ts +3 -7
  1791. package/dist/tour/TourTrigger.d.cts +1 -7
  1792. package/dist/tour/TourTrigger.d.ts +1 -7
  1793. package/dist/tour/index.d.cts +1 -14
  1794. package/dist/tour/index.d.ts +1 -14
  1795. package/dist/tour/primitives.d.cts +41 -0
  1796. package/dist/tour/primitives.d.ts +41 -0
  1797. package/dist/tour/types.d.cts +126 -71
  1798. package/dist/tour/types.d.ts +126 -71
  1799. package/dist/transfer/Transfer.cjs +1 -1
  1800. package/dist/transfer/Transfer.d.cts +15 -51
  1801. package/dist/transfer/Transfer.d.ts +15 -51
  1802. package/dist/transfer/Transfer.js +1 -1
  1803. package/dist/transfer/TransferAnatomy.d.cts +14 -0
  1804. package/dist/transfer/TransferAnatomy.d.ts +14 -0
  1805. package/dist/transfer/TransferControls.d.cts +1 -6
  1806. package/dist/transfer/TransferControls.d.ts +1 -6
  1807. package/dist/transfer/TransferEmpty.d.cts +7 -13
  1808. package/dist/transfer/TransferEmpty.d.ts +7 -13
  1809. package/dist/transfer/TransferItem.d.cts +3 -15
  1810. package/dist/transfer/TransferItem.d.ts +3 -15
  1811. package/dist/transfer/TransferList.d.cts +6 -20
  1812. package/dist/transfer/TransferList.d.ts +6 -20
  1813. package/dist/transfer/TransferListHeader.d.cts +6 -11
  1814. package/dist/transfer/TransferListHeader.d.ts +6 -11
  1815. package/dist/transfer/TransferListSearch.d.cts +2 -10
  1816. package/dist/transfer/TransferListSearch.d.ts +2 -10
  1817. package/dist/transfer/TransferMoveAllTrigger.d.cts +3 -9
  1818. package/dist/transfer/TransferMoveAllTrigger.d.ts +3 -9
  1819. package/dist/transfer/index.d.cts +2 -10
  1820. package/dist/transfer/index.d.ts +2 -10
  1821. package/dist/transfer/primitives.d.cts +29 -0
  1822. package/dist/transfer/primitives.d.ts +29 -0
  1823. package/dist/transfer/types.d.cts +154 -84
  1824. package/dist/transfer/types.d.ts +154 -84
  1825. package/dist/tree/Tree.cjs +1 -1
  1826. package/dist/tree/Tree.d.cts +46 -21
  1827. package/dist/tree/Tree.d.ts +46 -21
  1828. package/dist/tree/Tree.js +1 -1
  1829. package/dist/tree/TreeAnatomy.d.cts +11 -0
  1830. package/dist/tree/TreeAnatomy.d.ts +11 -0
  1831. package/dist/tree/TreeGroup.d.cts +3 -4
  1832. package/dist/tree/TreeGroup.d.ts +3 -4
  1833. package/dist/tree/TreeItem.d.cts +7 -13
  1834. package/dist/tree/TreeItem.d.ts +7 -13
  1835. package/dist/tree/TreeItemIndicator.d.cts +3 -5
  1836. package/dist/tree/TreeItemIndicator.d.ts +3 -5
  1837. package/dist/tree/index.d.cts +2 -5
  1838. package/dist/tree/index.d.ts +2 -5
  1839. package/dist/tree/primitives.d.cts +24 -0
  1840. package/dist/tree/primitives.d.ts +24 -0
  1841. package/dist/tree/types.d.cts +134 -61
  1842. package/dist/tree/types.d.ts +134 -61
  1843. package/dist/tree-select/TreeSelect.cjs +1 -1
  1844. package/dist/tree-select/TreeSelect.d.cts +9 -3
  1845. package/dist/tree-select/TreeSelect.d.ts +9 -3
  1846. package/dist/tree-select/TreeSelect.js +1 -1
  1847. package/dist/tree-select/TreeSelectAnatomy.d.cts +19 -0
  1848. package/dist/tree-select/TreeSelectAnatomy.d.ts +19 -0
  1849. package/dist/tree-select/TreeSelectContent.d.cts +4 -20
  1850. package/dist/tree-select/TreeSelectContent.d.ts +4 -20
  1851. package/dist/tree-select/TreeSelectEmpty.d.cts +2 -4
  1852. package/dist/tree-select/TreeSelectEmpty.d.ts +2 -4
  1853. package/dist/tree-select/TreeSelectInput.d.cts +5 -16
  1854. package/dist/tree-select/TreeSelectInput.d.ts +5 -16
  1855. package/dist/tree-select/TreeSelectItem.d.cts +6 -18
  1856. package/dist/tree-select/TreeSelectItem.d.ts +6 -18
  1857. package/dist/tree-select/TreeSelectItemIndicator.d.cts +6 -9
  1858. package/dist/tree-select/TreeSelectItemIndicator.d.ts +6 -9
  1859. package/dist/tree-select/TreeSelectPortal.d.cts +2 -4
  1860. package/dist/tree-select/TreeSelectPortal.d.ts +2 -4
  1861. package/dist/tree-select/TreeSelectTree.d.cts +7 -13
  1862. package/dist/tree-select/TreeSelectTree.d.ts +7 -13
  1863. package/dist/tree-select/TreeSelectTrigger.d.cts +4 -14
  1864. package/dist/tree-select/TreeSelectTrigger.d.ts +4 -14
  1865. package/dist/tree-select/collection.d.cts +24 -15
  1866. package/dist/tree-select/collection.d.ts +24 -15
  1867. package/dist/tree-select/index.d.cts +1 -10
  1868. package/dist/tree-select/index.d.ts +1 -10
  1869. package/dist/tree-select/primitives.d.cts +31 -0
  1870. package/dist/tree-select/primitives.d.ts +31 -0
  1871. package/dist/tree-select/types.d.cts +150 -137
  1872. package/dist/tree-select/types.d.ts +150 -137
  1873. package/dist/utils/cardNesting.cjs +1 -0
  1874. package/dist/utils/cardNesting.d.cts +25 -0
  1875. package/dist/utils/cardNesting.d.ts +25 -0
  1876. package/dist/utils/cardNesting.js +1 -0
  1877. package/dist/utils/createContext.cjs +1 -1
  1878. package/dist/utils/createContext.d.cts +2 -2
  1879. package/dist/utils/createContext.d.ts +2 -2
  1880. package/dist/utils/createContext.js +1 -1
  1881. package/dist/utils/dateSegments.cjs +1 -1
  1882. package/dist/utils/dateSegments.d.cts +111 -30
  1883. package/dist/utils/dateSegments.d.ts +111 -30
  1884. package/dist/utils/dateSegments.js +1 -1
  1885. package/dist/utils/dateValue.cjs +1 -0
  1886. package/dist/utils/dateValue.d.cts +76 -0
  1887. package/dist/utils/dateValue.d.ts +76 -0
  1888. package/dist/utils/dateValue.js +1 -0
  1889. package/dist/utils/declaredChildren.cjs +1 -0
  1890. package/dist/utils/declaredChildren.d.cts +14 -0
  1891. package/dist/utils/declaredChildren.d.ts +14 -0
  1892. package/dist/utils/declaredChildren.js +1 -0
  1893. package/dist/utils/direction.cjs +1 -1
  1894. package/dist/utils/direction.d.cts +23 -0
  1895. package/dist/utils/direction.d.ts +23 -0
  1896. package/dist/utils/direction.js +1 -1
  1897. package/dist/utils/formControl.cjs +1 -1
  1898. package/dist/utils/formControl.d.cts +74 -2
  1899. package/dist/utils/formControl.d.ts +74 -2
  1900. package/dist/utils/formControl.js +1 -1
  1901. package/dist/utils/hiddenInput.cjs +1 -1
  1902. package/dist/utils/hiddenInput.d.cts +29 -11
  1903. package/dist/utils/hiddenInput.d.ts +29 -11
  1904. package/dist/utils/hiddenInput.js +1 -1
  1905. package/dist/utils/is-dev-mode.cjs +1 -0
  1906. package/dist/utils/is-dev-mode.d.cts +6 -0
  1907. package/dist/utils/is-dev-mode.d.ts +6 -0
  1908. package/dist/utils/is-dev-mode.js +1 -0
  1909. package/dist/utils/liveAnnouncer.d.cts +10 -33
  1910. package/dist/utils/liveAnnouncer.d.ts +10 -33
  1911. package/dist/utils/menuGlyph.cjs +1 -0
  1912. package/dist/utils/menuGlyph.d.cts +4 -0
  1913. package/dist/utils/menuGlyph.d.ts +4 -0
  1914. package/dist/utils/menuGlyph.js +1 -0
  1915. package/dist/utils/menuGroup.cjs +1 -0
  1916. package/dist/utils/menuGroup.d.cts +34 -0
  1917. package/dist/utils/menuGroup.d.ts +34 -0
  1918. package/dist/utils/menuGroup.js +1 -0
  1919. package/dist/utils/menuSub.cjs +1 -1
  1920. package/dist/utils/menuSub.d.cts +23 -25
  1921. package/dist/utils/menuSub.d.ts +23 -25
  1922. package/dist/utils/menuSub.js +1 -1
  1923. package/dist/utils/numberFormat.d.cts +3 -9
  1924. package/dist/utils/numberFormat.d.ts +3 -9
  1925. package/dist/utils/part.d.cts +0 -54
  1926. package/dist/utils/part.d.ts +0 -54
  1927. package/dist/utils/passThrough.cjs +1 -0
  1928. package/dist/utils/passThrough.d.cts +28 -0
  1929. package/dist/utils/passThrough.d.ts +28 -0
  1930. package/dist/utils/passThrough.js +0 -0
  1931. package/dist/utils/popper.cjs +1 -1
  1932. package/dist/utils/popper.d.cts +47 -2
  1933. package/dist/utils/popper.d.ts +47 -2
  1934. package/dist/utils/popper.js +1 -1
  1935. package/dist/utils/portal.d.cts +3 -4
  1936. package/dist/utils/portal.d.ts +3 -4
  1937. package/dist/utils/presence.cjs +1 -1
  1938. package/dist/utils/presence.js +1 -1
  1939. package/dist/utils/primitive.cjs +1 -1
  1940. package/dist/utils/primitive.d.cts +7 -1
  1941. package/dist/utils/primitive.d.ts +7 -1
  1942. package/dist/utils/primitive.js +1 -1
  1943. package/dist/utils/resolveSpace.cjs +1 -0
  1944. package/dist/utils/resolveSpace.d.cts +4 -0
  1945. package/dist/utils/resolveSpace.d.ts +4 -0
  1946. package/dist/utils/resolveSpace.js +1 -0
  1947. package/dist/utils/scoredFilter.cjs +1 -0
  1948. package/dist/utils/scoredFilter.d.cts +31 -0
  1949. package/dist/utils/scoredFilter.d.ts +31 -0
  1950. package/dist/utils/scoredFilter.js +1 -0
  1951. package/dist/utils/segmentedField.cjs +1 -1
  1952. package/dist/utils/segmentedField.d.cts +59 -9
  1953. package/dist/utils/segmentedField.d.ts +59 -9
  1954. package/dist/utils/segmentedField.js +1 -1
  1955. package/dist/utils/slot.cjs +1 -1
  1956. package/dist/utils/slot.d.cts +5 -3
  1957. package/dist/utils/slot.d.ts +5 -3
  1958. package/dist/utils/slot.js +1 -1
  1959. package/dist/utils/tabbable.cjs +1 -0
  1960. package/dist/utils/tabbable.d.cts +12 -0
  1961. package/dist/utils/tabbable.d.ts +12 -0
  1962. package/dist/utils/tabbable.js +1 -0
  1963. package/dist/utils/useCallbackRef.d.cts +1 -3
  1964. package/dist/utils/useCallbackRef.d.ts +1 -3
  1965. package/dist/utils/useControllableState.d.cts +3 -8
  1966. package/dist/utils/useControllableState.d.ts +3 -8
  1967. package/dist/utils/useDismiss.cjs +1 -1
  1968. package/dist/utils/useDismiss.d.cts +11 -20
  1969. package/dist/utils/useDismiss.d.ts +11 -20
  1970. package/dist/utils/useDismiss.js +1 -1
  1971. package/dist/utils/useFocusTrap.cjs +1 -1
  1972. package/dist/utils/useFocusTrap.d.cts +5 -6
  1973. package/dist/utils/useFocusTrap.d.ts +5 -6
  1974. package/dist/utils/useFocusTrap.js +1 -1
  1975. package/dist/utils/useMenuItem.cjs +1 -1
  1976. package/dist/utils/useMenuItem.d.cts +17 -6
  1977. package/dist/utils/useMenuItem.d.ts +17 -6
  1978. package/dist/utils/useMenuItem.js +1 -1
  1979. package/dist/utils/useOpenChangeComplete.d.cts +5 -13
  1980. package/dist/utils/useOpenChangeComplete.d.ts +5 -13
  1981. package/dist/utils/useOptionCollection.cjs +1 -1
  1982. package/dist/utils/useOptionCollection.d.cts +53 -3
  1983. package/dist/utils/useOptionCollection.d.ts +53 -3
  1984. package/dist/utils/useOptionCollection.js +1 -1
  1985. package/dist/utils/useOutsideInert.cjs +1 -0
  1986. package/dist/utils/useOutsideInert.d.cts +20 -0
  1987. package/dist/utils/useOutsideInert.d.ts +20 -0
  1988. package/dist/utils/useOutsideInert.js +1 -0
  1989. package/dist/utils/useRovingFocus.cjs +1 -1
  1990. package/dist/utils/useRovingFocus.d.cts +33 -1
  1991. package/dist/utils/useRovingFocus.d.ts +33 -1
  1992. package/dist/utils/useRovingFocus.js +1 -1
  1993. package/dist/utils/useSelection.cjs +1 -1
  1994. package/dist/utils/useSelection.d.cts +74 -29
  1995. package/dist/utils/useSelection.d.ts +74 -29
  1996. package/dist/utils/useSelection.js +1 -1
  1997. package/dist/utils/useTypeahead.d.cts +4 -12
  1998. package/dist/utils/useTypeahead.d.ts +4 -12
  1999. package/package.json +782 -2
  2000. package/dist/pagination/PaginationLink.d.cts +0 -16
  2001. package/dist/pagination/PaginationLink.d.ts +0 -16
@@ -1 +1 @@
1
- import*as u from"react";import{createSafeContext as Oe}from"../utils/createContext.js";import{announce as Be}from"../utils/liveAnnouncer.js";import{skdxPart as Ae}from"../utils/part.js";import{Primitive as Ee}from"../utils/primitive.js";import{useControllableState as te}from"../utils/useControllableState.js";var E=new Date(2024,0,7),V=new Map;function ee(e,t){let r=V.get(e);if(r)return r;let a=t();return V.set(e,a),a}function y(e){return e??new Intl.DateTimeFormat().resolvedOptions().locale}function We(e,t="long"){let r=y(e);return ee(`m|${r}|${t}`,()=>{let a=new Intl.DateTimeFormat(r,{month:t,timeZone:"UTC"});return Array.from({length:12},(n,o)=>a.format(Date.UTC(2024,o,15)))})}function H(e,t=0,r="short"){let a=y(e),n=ee(`w|${a}|${r}`,()=>{let s=new Intl.DateTimeFormat(a,{weekday:r});return Array.from({length:7},(d,l)=>s.format(new Date(E.getFullYear(),E.getMonth(),E.getDate()+l)))}),o=(t%7+7)%7;return n.slice(o).concat(n.slice(0,o))}function Y(e){try{let t=new Intl.Locale(y(e)),r=(t.getWeekInfo?.()??t.weekInfo)?.firstDay;if(typeof r=="number")return r%7}catch{}return 0}function $(e,t){return e.toLocaleDateString(y(t),{month:"long",year:"numeric"})}function M(e,t){return e.toLocaleDateString(y(t),{weekday:"long",year:"numeric",month:"long",day:"numeric"})}function Ie(){V.clear()}import{jsx as ne}from"react/jsx-runtime";function oe(e,t){return new Date(e,t+1,0).getDate()}function R(e){return new Date(e.getFullYear(),e.getMonth(),1)}function f(e,t){let r=e.getDate(),a=new Date(e.getFullYear(),e.getMonth(),1);a.setMonth(a.getMonth()+t);let n=oe(a.getFullYear(),a.getMonth());return a.setDate(Math.min(r,n)),a}function K(e,t){return f(e,t*12)}function D(e,t){let r=new Date(e);return r.setDate(r.getDate()+t),r}function h(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function x(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}function T(e,t){let r=new Date(e.getFullYear(),e.getMonth(),e.getDate()),a=(r.getDay()-t+7)%7;return r.setDate(r.getDate()-a),r}function ie(e,t){return D(T(e,t),6)}function C(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function se(e,t,r,a){let n=C(e).getTime();return!!(t&&n<C(t).getTime()||r&&n>C(r).getTime()||a?.(e))}function L(e){let t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return`${t}-${r}-${a}`}function G(e,t){if(x(e,t))return e;let r=oe(t.getFullYear(),t.getMonth());return new Date(t.getFullYear(),t.getMonth(),Math.min(e.getDate(),r))}function de(e,t=0){let r=T(R(e),t),a=[],n=r;for(let o=0;o<6;o++){let s=[];for(let d=0;d<7;d++)s.push({date:n,outsideMonth:!x(n,e)}),n=D(n,1);a.push(s)}return a}function P(e){return e!==null&&!Array.isArray(e)&&!(e instanceof Date)}function ae(e){return e==="multiple"?[]:null}function le(e,t){return e===null?!1:Array.isArray(e)?e.some(r=>h(r,t)):P(e)?U(e,t)!==void 0:h(e,t)}function U(e,t){let r=C(t).getTime(),a=C(e.start).getTime();if(e.end===null)return r===a?"start":void 0;let n=C(e.end).getTime();if(!(r<a||r>n))return r===a?"start":r===n?"end":"middle"}function Ve(e,t,r){if(e==="single")return r;if(e==="multiple"){let n=Array.isArray(t)?t:[],o=n.filter(s=>!h(s,r));return o.length!==n.length?o:[...n,r].sort((s,d)=>s.getTime()-d.getTime())}let a=P(t)&&t.end===null?t:void 0;return a?C(r).getTime()<C(a.start).getTime()?{start:r,end:a.start}:{start:a.start,end:r}:{start:r,end:null}}function Ye(e,t){return P(e)?e.end===null?`${M(e.start,t)} selected as the range start. Select an end date.`:`Range selected, ${M(e.start,t)} to ${M(e.end,t)}.`:Array.isArray(e)?`${e.length} ${e.length===1?"date":"dates"} selected.`:""}var[$e,c]=Oe("Calendar");function Tt(){return c("useCalendarContext")}var _=u.createContext(null);function F(e){return u.useContext(_)?.gridMonth??e}function re(e){return e===null?null:Array.isArray(e)?e[0]??null:P(e)?e.start:e}var Ke=u.forwardRef(({selectionMode:e="single",value:t,defaultValue:r,onValueChange:a,month:n,defaultMonth:o,onMonthChange:s,numberOfMonths:d=1,locale:l,minDate:m,maxDate:i,weekStartsOn:b,disabled:A,isDateUnavailable:be,getSelectionAnnouncement:z,...J},ve)=>{let[w=null,Q]=te({prop:t,defaultProp:r??ae(e),onChange:p=>a?.(p??ae(e))}),X=R(o??re(w)??new Date),[v=X,j]=te({prop:n,defaultProp:X,onChange:s}),[Ne,Se]=u.useState(()=>re(w)??v),N=b??Y(l),He=u.useMemo(()=>{let p=H(l,N,"short"),g=H(l,N,"long");return p.map((S,Fe)=>({short:S,long:g[Fe]}))},[l,N]),Te=u.useMemo(()=>Array.from({length:Math.max(1,d)},(p,g)=>f(v,g)),[v,d]),Le=u.useCallback(p=>{let g=Ve(e,w,p);Q(g);let S=(z??Ye)(g,l);S&&Be(S)},[e,w,Q,l,z]),Ge=u.useCallback(p=>j(R(p)),[j]);return ne($e,{value:w,selectionMode:e,month:v,months:Te,focusedDate:Ne,weekStartsOn:N,locale:l,weekDayNames:He,minDate:m,maxDate:i,disabled:A,isDateUnavailable:be,onValueChange:Le,onMonthChange:Ge,setFocusedDate:Se,children:ne(Ee.div,{...J,...Ae("calendar","root",J.className),ref:ve})})});Ke.displayName="Calendar";import*as me from"react";import{skdxPart as Ue}from"../utils/part.js";import{Primitive as _e}from"../utils/primitive.js";import{jsx as qe}from"react/jsx-runtime";var ce=me.forwardRef((e,t)=>qe(_e.div,{...e,...Ue("calendar","header",e.className),ref:t}));ce.displayName="CalendarHeader";import*as ue from"react";import{skdxPart as Ze}from"../utils/part.js";import{Primitive as ze}from"../utils/primitive.js";import{jsx as Je}from"react/jsx-runtime";var fe=ue.forwardRef(({monthOffset:e=0,children:t,...r},a)=>{let n=c("CalendarHeading"),o=n.months[e]??n.month;return Je(ze.div,{...r,...Ze("calendar","heading",r.className),ref:a,children:t??$(o,n.locale)})});fe.displayName="CalendarHeading";import*as pe from"react";import{skdxPart as Qe}from"../utils/part.js";import{composeEventHandlers as Xe,Primitive as je}from"../utils/primitive.js";import{jsx as et}from"react/jsx-runtime";var Ce=pe.forwardRef((e,t)=>{let r=c("CalendarPreviousButton");return et(je.button,{type:"button","aria-label":"Previous month",...e,...Qe("calendar","previous-button",e.className),ref:t,onClick:Xe(e.onClick,()=>{let a=f(r.month,-1);r.onMonthChange(a),r.setFocusedDate(G(r.focusedDate,a))})})});Ce.displayName="CalendarPreviousButton";import*as De from"react";import{skdxPart as tt}from"../utils/part.js";import{composeEventHandlers as at,Primitive as rt}from"../utils/primitive.js";import{jsx as nt}from"react/jsx-runtime";var ge=De.forwardRef((e,t)=>{let r=c("CalendarNextButton");return nt(rt.button,{type:"button","aria-label":"Next month",...e,...tt("calendar","next-button",e.className),ref:t,onClick:at(e.onClick,()=>{let a=f(r.month,1);r.onMonthChange(a),r.setFocusedDate(G(r.focusedDate,a))})})});ge.displayName="CalendarNextButton";import*as W from"react";import{directionalKey as ot,useDirection as it}from"../utils/direction.js";import{skdxPart as st}from"../utils/part.js";import{composeEventHandlers as dt,Primitive as lt}from"../utils/primitive.js";import{jsx as ye}from"react/jsx-runtime";var he=W.forwardRef(({monthOffset:e=0,...t},r)=>{let a=c("CalendarGrid"),n=it(),o=a.months[e]??a.month,s=W.useMemo(()=>({gridMonth:o}),[o]),d=m=>{a.months.some(i=>x(m,i))||a.onMonthChange(R(m)),a.setFocusedDate(m),requestAnimationFrame(()=>{let i=L(m);document.querySelector(`[data-skdx-calendar-cell="${i}"]`)?.focus()})},l=m=>{let i;switch(ot(m.key,m.currentTarget,n)){case"ArrowLeft":i=D(a.focusedDate,-1);break;case"ArrowRight":i=D(a.focusedDate,1);break;case"ArrowUp":i=D(a.focusedDate,-7);break;case"ArrowDown":i=D(a.focusedDate,7);break;case"Home":i=T(a.focusedDate,a.weekStartsOn);break;case"End":i=ie(a.focusedDate,a.weekStartsOn);break;case"PageUp":i=m.shiftKey?K(a.focusedDate,-1):f(a.focusedDate,-1);break;case"PageDown":i=m.shiftKey?K(a.focusedDate,1):f(a.focusedDate,1);break;default:return}m.preventDefault(),d(i)};return ye(_.Provider,{value:s,children:ye(lt.div,{role:"grid","aria-multiselectable":a.selectionMode!=="single",...t,...st("calendar","grid",t.className),ref:r,onKeyDown:dt(t.onKeyDown,l)})})});he.displayName="CalendarGrid";import*as ke from"react";import{skdxPart as Dt}from"../utils/part.js";import{Primitive as gt}from"../utils/primitive.js";import*as xe from"react";import{skdxPart as mt}from"../utils/part.js";import{Primitive as ct}from"../utils/primitive.js";import{jsx as ut}from"react/jsx-runtime";var k=xe.forwardRef((e,t)=>ut(ct.div,{role:"row",...e,...mt("calendar","row",e.className),ref:t}));k.displayName="CalendarRow";import*as Pe from"react";import{skdxPart as ft}from"../utils/part.js";import{Primitive as pt}from"../utils/primitive.js";import{jsx as Ct}from"react/jsx-runtime";var I=Pe.forwardRef((e,t)=>Ct(pt.div,{role:"columnheader",...e,...ft("calendar","week-day",e.className),ref:t}));I.displayName="CalendarWeekDay";import{jsx as q}from"react/jsx-runtime";var we=ke.forwardRef(({children:e,...t},r)=>{let a=c("CalendarGridHead");return q(gt.div,{role:"rowgroup",...t,...Dt("calendar","grid-head",t.className),ref:r,children:e??q(k,{children:a.weekDayNames.map(n=>q(I,{"aria-label":n.long,children:n.short},n.long))})})});we.displayName="CalendarGridHead";import*as B from"react";import{skdxPart as kt}from"../utils/part.js";import{Primitive as wt}from"../utils/primitive.js";import*as Me from"react";import{skdxPart as yt}from"../utils/part.js";import{composeEventHandlers as ht,Primitive as xt}from"../utils/primitive.js";import{jsx as Pt}from"react/jsx-runtime";var O=Me.forwardRef(({date:e,...t},r)=>{let a=c("CalendarCell"),n=F(a.month),o=L(e),s=!x(e,n),d=s||se(e,a.minDate,a.maxDate,a.disabled),l=!d&&(a.isDateUnavailable?.(o)??!1),m=le(a.value,e),i=P(a.value)?U(a.value,e):void 0,b=h(e,new Date),A=h(e,a.focusedDate);return Pt(xt.button,{type:"button",role:"gridcell","aria-selected":m,"aria-disabled":l||void 0,"data-skdx-calendar-cell":o,"data-state":m?"selected":void 0,"data-today":b?"":void 0,"data-outside-month":s?"":void 0,"data-disabled":d?"":void 0,"data-unavailable":l?"":void 0,"data-range-start":i==="start"?"":void 0,"data-range-middle":i==="middle"?"":void 0,"data-range-end":i==="end"?"":void 0,tabIndex:A?0:-1,disabled:d,...t,...yt("calendar","cell",t.className),ref:r,onClick:ht(t.onClick,()=>{if(!d){if(l){a.setFocusedDate(e);return}a.onValueChange(e),a.setFocusedDate(e)}}),children:t.children??e.getDate()})});O.displayName="CalendarCell";import{jsx as Z}from"react/jsx-runtime";var Re=B.forwardRef(({children:e,...t},r)=>{let a=c("CalendarGridBody"),n=F(a.month),o=B.useMemo(()=>de(n,a.weekStartsOn),[n,a.weekStartsOn]);return Z(wt.div,{role:"rowgroup",...t,...kt("calendar","grid-body",t.className),ref:r,children:e??o.map(s=>Z(k,{children:s.map(({date:d})=>Z(O,{date:d},d.toISOString()))},s[0].date.toISOString()))})});Re.displayName="CalendarGridBody";export{Ke as Calendar,O as CalendarCell,he as CalendarGrid,Re as CalendarGridBody,_ as CalendarGridContext,we as CalendarGridHead,ce as CalendarHeader,fe as CalendarHeading,ge as CalendarNextButton,Ce as CalendarPreviousButton,$e as CalendarProvider,k as CalendarRow,I as CalendarWeekDay,D as addDays,f as addMonths,K as addYears,re as anchorOf,G as clampToMonth,Ie as clearLocaleNameCache,ae as emptySelection,ie as endOfWeek,M as formatDateLabel,$ as formatMonthLabel,oe as getDaysInMonth,Y as getLocaleWeekStartsOn,We as getMonthNames,de as getVisibleWeeks,H as getWeekDayNames,se as isDateDisabled,P as isDateRange,le as isDateSelected,h as isSameDay,x as isSameMonth,Ve as nextSelection,U as rangePositionOf,y as resolveLocale,Ye as selectionAnnouncement,R as startOfMonth,T as startOfWeek,C as stripTime,L as toISODateString,Tt as useCalendarContext,c as useCalendarContextInternal,F as useCalendarGridMonth};
1
+ import*as d from"react";import{useComposedRefs as tn}from"../utils/composeRefs.js";import{createSafeContext as an}from"../utils/createContext.js";import{toCalendarValue as Ot,toDate as K}from"../utils/dateValue.js";import{isDevMode as nn}from"../utils/is-dev-mode.js";import{announce as at}from"../utils/liveAnnouncer.js";import{skdxPart as rn}from"../utils/part.js";import{Primitive as on}from"../utils/primitive.js";import{useControllableState as we}from"../utils/useControllableState.js";import*as Wt from"react";import*as X from"react";import{directionalKey as da,useDirection as la}from"../utils/direction.js";import{skdxPart as ma}from"../utils/part.js";import{composeEventHandlers as ca,Primitive as ua}from"../utils/primitive.js";var Te=new Date(2024,0,7),Se=new Map;function ht(e,t){let n=Se.get(e);if(n)return n;let a=t();return Se.set(e,a),a}function F(e){return e??new Intl.DateTimeFormat().resolvedOptions().locale}function Le(e,t="long"){let n=F(e);return ht(`m|${n}|${t}`,()=>{let a=new Intl.DateTimeFormat(n,{month:t,timeZone:"UTC"});return Array.from({length:12},(r,o)=>a.format(Date.UTC(2024,o,15)))})}function ce(e,t=0,n="short"){let a=F(e),r=ht(`w|${a}|${n}`,()=>{let s=new Intl.DateTimeFormat(a,{weekday:n});return Array.from({length:7},(i,l)=>s.format(new Date(Te.getFullYear(),Te.getMonth(),Te.getDate()+l)))}),o=(t%7+7)%7;return r.slice(o).concat(r.slice(0,o))}function He(e){try{let t=new Intl.Locale(F(e)),n=(t.getWeekInfo?.()??t.weekInfo)?.firstDay;if(typeof n=="number")return n%7}catch{}return 0}function V(e,t){return e.toLocaleDateString(F(t),{month:"long",year:"numeric"})}function E(e,t){return new Intl.NumberFormat(F(t),{useGrouping:!1}).format(e)}function Ee(e,t,n){return`${E(e,n)} \u2013 ${E(t,n)}`}function O(e,t){return e.toLocaleDateString(F(t),{weekday:"long",year:"numeric",month:"long",day:"numeric"})}function sa(){Se.clear()}import{jsx as pt}from"react/jsx-runtime";var Ae=X.forwardRef(({monthOffset:e=0,...t},n)=>{let a=f("CalendarGrid"),r=la(),o=a.months[e]??a.month,s=X.useMemo(()=>({gridMonth:o}),[o]),i=X.useContext(re),l=h=>{let c=Ye(h,a.minDate,a.maxDate);a.months.some(y=>T(c,y))||a.onMonthChange(Y(c)),a.setFocusedDate(c),requestAnimationFrame(()=>{let y=fe(c);(i?.current??document).querySelector(`[data-skdx-calendar-cell="${y}"]:not([disabled])`)?.focus()})},D=h=>{let c;switch(da(h.key,h.currentTarget,r)){case"ArrowLeft":c=A(a.focusedDate,-1);break;case"ArrowRight":c=A(a.focusedDate,1);break;case"ArrowUp":c=A(a.focusedDate,-7);break;case"ArrowDown":c=A(a.focusedDate,7);break;case"Home":c=ue(a.focusedDate,a.weekStartsOn);break;case"End":c=Dt(a.focusedDate,a.weekStartsOn);break;case"PageUp":c=h.shiftKey?Ve(a.focusedDate,-1):k(a.focusedDate,-1);break;case"PageDown":c=h.shiftKey?Ve(a.focusedDate,1):k(a.focusedDate,1);break;default:return}h.preventDefault(),l(c)};return a.view!=="day"?null:pt(Ge.Provider,{value:s,children:pt(ua.div,{role:"grid","aria-label":t["aria-label"]||t["aria-labelledby"]?void 0:V(o,a.locale),"aria-multiselectable":a.selectionMode!=="single","aria-readonly":a.readOnly||void 0,"aria-disabled":a.disabled||void 0,...t,...ma("calendar","grid",t.className),ref:n,onKeyDown:ca(t.onKeyDown,D)})})});Ae.displayName="CalendarGrid";import*as De from"react";import{skdxPart as ka}from"../utils/part.js";import{Primitive as Ma}from"../utils/primitive.js";import*as ge from"react";import{toDate as fa}from"../utils/dateValue.js";import{skdxPart as ga}from"../utils/part.js";import{composeEventHandlers as ha,Primitive as pa}from"../utils/primitive.js";import{jsx as Da}from"react/jsx-runtime";var We=ge.forwardRef(({date:e,...t},n)=>{let a=f("CalendarCell"),r=he(a.month),o=ge.useMemo(()=>fa(e,"date")??r,[e,r]),s=fe(o),i=!T(o,r),l=a.disabled||i&&!a.outsideDaySelectable||Ct(o,a.minDate,a.maxDate,a.isDateDisabled),D=!l&&(a.isDateUnavailable?.(o)??!1),h=yt(a.value,o),c=j(a.value)?Fe(a.value,o):void 0,y=I(o,a.today),M=I(o,a.focusedDate);return Da(pa.button,{type:"button",role:"gridcell","aria-selected":h,"aria-disabled":D||void 0,"aria-current":y?"date":void 0,"aria-label":O(o,a.locale),"data-skdx-calendar-cell":s,"data-state":h?"selected":void 0,"data-today":y?"":void 0,"data-outside-month":i?"":void 0,"data-disabled":l?"":void 0,"data-unavailable":D?"":void 0,"data-range-start":c==="start"?"":void 0,"data-range-middle":c==="middle"?"":void 0,"data-range-end":c==="end"?"":void 0,tabIndex:M?0:-1,disabled:l,...t,...ga("calendar","cell",t.className),ref:n,onClick:ha(t.onClick,()=>{if(!l){if(D){a.setFocusedDate(o);return}a.onValueChange(o),a.setFocusedDate(o),i&&!a.months.some(_=>T(o,_))&&a.onMonthChange(o)}}),children:t.children??o.getDate()})});We.displayName="CalendarCell";import*as bt from"react";import{skdxPart as Ca}from"../utils/part.js";import{Primitive as ya}from"../utils/primitive.js";import{jsx as ba}from"react/jsx-runtime";var oe=bt.forwardRef((e,t)=>ba(ya.div,{role:"row",...e,...Ca("calendar","row",e.className),ref:t}));oe.displayName="CalendarRow";import*as pe from"react";import{toDate as wa}from"../utils/dateValue.js";import{skdxPart as xa}from"../utils/part.js";import{Primitive as va}from"../utils/primitive.js";import{jsx as Ra}from"react/jsx-runtime";var Oe=pe.forwardRef(({date:e,children:t,...n},a)=>{let r=f("CalendarWeekNumber"),o=pe.useMemo(()=>wa(e,"date")??r.month,[e,r.month]),s=wt(o);return Ra(va.div,{role:"rowheader","aria-label":`Week ${s}`,...n,...xa("calendar","week-number",n.className),ref:a,children:t??s})});Oe.displayName="CalendarWeekNumber";import{jsx as Ie,jsxs as Pa}from"react/jsx-runtime";var Be=De.forwardRef(({children:e,...t},n)=>{let a=f("CalendarGridBody"),r=he(a.month),o=De.useMemo(()=>xt(r,a.weekStartsOn),[r,a.weekStartsOn]);return Ie(Ma.div,{role:"rowgroup",...t,...ka("calendar","grid-body",t.className),ref:n,children:e??o.map(s=>Pa(oe,{children:[a.weekNumbers?Ie(Oe,{date:s[0].date}):null,s.map(({date:i})=>Ie(We,{date:i},i.toISOString()))]},s[0].date.toISOString()))})});Be.displayName="CalendarGridBody";import*as kt from"react";import{skdxPart as Va}from"../utils/part.js";import{Primitive as Aa}from"../utils/primitive.js";import*as vt from"react";import{skdxPart as Na}from"../utils/part.js";import{Primitive as Ta}from"../utils/primitive.js";import{jsx as Sa}from"react/jsx-runtime";var Ue=vt.forwardRef((e,t)=>Sa(Ta.div,{role:"columnheader",...e,...Na("calendar","week-day",e.className),ref:t}));Ue.displayName="CalendarWeekDay";import*as Rt from"react";import{skdxPart as La}from"../utils/part.js";import{Primitive as Ha}from"../utils/primitive.js";import{jsx as Ea}from"react/jsx-runtime";var $e=Rt.forwardRef((e,t)=>Ea(Ha.div,{role:"columnheader","aria-label":"Week number",...e,...La("calendar","week-number-header",e.className),ref:t}));$e.displayName="CalendarWeekNumberHeader";import{jsx as Ke,jsxs as Ya}from"react/jsx-runtime";var _e=kt.forwardRef(({children:e,...t},n)=>{let a=f("CalendarGridHead");return Ke(Aa.div,{role:"rowgroup",...t,...Va("calendar","grid-head",t.className),ref:n,children:e??Ya(oe,{children:[a.weekNumbers?Ke($e,{}):null,a.weekDayNames.map(r=>Ke(Ue,{"aria-label":r.long,children:r.short},r.long))]})})});_e.displayName="CalendarGridHead";import*as Mt from"react";import{skdxPart as Ga}from"../utils/part.js";import{Primitive as Wa}from"../utils/primitive.js";import{jsx as Fa}from"react/jsx-runtime";var qe=Mt.forwardRef((e,t)=>Fa(Wa.div,{...e,...Ga("calendar","header",e.className),ref:t}));qe.displayName="CalendarHeader";import*as St from"react";import{skdxPart as Pt}from"../utils/part.js";import{composeEventHandlers as Oa,Primitive as Nt}from"../utils/primitive.js";import{jsx as Tt}from"react/jsx-runtime";var Ce=St.forwardRef(({monthOffset:e=0,children:t,...n},a)=>{let r=f("CalendarHeading"),o=r.months[e]??r.month,s=r.view==="day"?o:r.focusedDate,i=G(s,r.view,r.locale),l=R[R.indexOf(r.view)+1];return l!==void 0&&R.indexOf(r.view)<R.indexOf(r.maxView)?Tt(Nt.button,{type:"button",...n,...Pt("calendar","heading",n.className),ref:a,onClick:Oa(n.onClick,()=>r.setView(l)),children:t??i}):Tt(Nt.div,{...n,...Pt("calendar","heading",n.className),ref:a,children:t??i})});Ce.displayName="CalendarHeading";import*as Lt from"react";import{skdxPart as Ia}from"../utils/part.js";import{composeEventHandlers as Ba,Primitive as Ua}from"../utils/primitive.js";import{jsx as Ka}from"react/jsx-runtime";var $a={day:"Next month",month:"Next year",year:"Next 20 years"},ze=Lt.forwardRef((e,t)=>{let n=f("CalendarNextButton");return Ka(Ua.button,{type:"button","aria-label":$a[n.view],...e,...Ia("calendar","next-button",e.className),ref:t,onClick:Ba(e.onClick,()=>n.pageMonths(1))})});ze.displayName="CalendarNextButton";import*as Ht from"react";import{skdxPart as _a}from"../utils/part.js";import{composeEventHandlers as qa,Primitive as za}from"../utils/primitive.js";import{jsx as Ja}from"react/jsx-runtime";var Za={day:"Previous month",month:"Previous year",year:"Previous 20 years"},Ze=Ht.forwardRef((e,t)=>{let n=f("CalendarPreviousButton");return Ja(za.button,{type:"button","aria-label":Za[n.view],...e,..._a("calendar","previous-button",e.className),ref:t,onClick:qa(e.onClick,()=>n.pageMonths(-1))})});Ze.displayName="CalendarPreviousButton";import*as U from"react";import{directionalKey as Qa,useDirection as Xa}from"../utils/direction.js";import{announce as ja}from"../utils/liveAnnouncer.js";import{skdxPart as Qe}from"../utils/part.js";import{composeEventHandlers as Et,Primitive as ie}from"../utils/primitive.js";import{jsx as B}from"react/jsx-runtime";function Je(){return 4}function Vt(e,t){let n=f(t),a=U.useContext(re),r=Xa(),o=e,s=e==="month"?1:12,i=e==="month"?12:ee,l=n.focusedDate,D=e==="month"?l.getMonth():l.getFullYear()-tt(l.getFullYear()),{locale:h,minDate:c,maxDate:y,isDateDisabled:M,today:_,value:q}=n,b=$(q),se=U.useMemo(()=>{let x=Le(h,"short"),u=l.getFullYear();return Array.from({length:i},(te,C)=>{let z=e==="month"?et(l,new Date(u,C,1)):k(l,(C-D)*s),w=e==="month"?u:z.getFullYear(),ve=e==="month"?new Date(w,C,1):new Date(w,0,1),Re=e==="month"?new Date(w,C,ye(w,C)):new Date(w,11,31),ae=Z=>Z!==null&&Z.getFullYear()===w&&(e==="year"||Z.getMonth()===C);return{date:z,key:e==="month"?`${w}-${C}`:String(w),text:e==="month"?x[C]:E(w,h),label:e==="month"?V(new Date(w,C,1),h):E(w,h),refused:!Yt(ve,Re,c,y,M),selected:ae(b),today:ae(_)}})},[e,i,s,l,D,h,c,y,M,b,_]),de=x=>{let u=k(l,x*s),te=G(l,o,h),C=G(u,o,h);n.setFocusedDate(u),C!==te&&ja(C),requestAnimationFrame(()=>{let z=e==="month"?`${u.getFullYear()}-${u.getMonth()}`:String(u.getFullYear());(a?.current??document).querySelector(`[data-skdx-calendar-view-cell="${z}"]`)?.focus({preventScroll:!0})})};return{context:n,cells:se,focusedIndex:D,handleKeyDown:x=>{let u;switch(Qa(x.key,x.currentTarget,r)){case"ArrowLeft":u=-1;break;case"ArrowRight":u=1;break;case"ArrowUp":u=-Je();break;case"ArrowDown":u=Je();break;case"Home":u=-D;break;case"End":u=i-1-D;break;case"PageUp":u=-i*(x.shiftKey?10:1);break;case"PageDown":u=i*(x.shiftKey?10:1);break;default:return}x.preventDefault(),u!==0&&de(u)}}}function At({cells:e,focusedIndex:t,navigate:n}){let a=[],r=Je();for(let o=0;o<e.length;o+=r)a.push(e.slice(o,o+r));return B(ie.div,{role:"rowgroup",children:a.map((o,s)=>B(ie.div,{role:"row",children:o.map((i,l)=>{let D=s*r+l;return B(ie.button,{type:"button",role:"gridcell","aria-disabled":i.refused||void 0,"aria-selected":i.selected,"aria-current":i.today?"date":void 0,"aria-label":i.label,"data-skdx-calendar-view-cell":i.key,"data-state":i.selected?"selected":void 0,"data-today":i.today?"":void 0,"data-disabled":i.refused?"":void 0,tabIndex:D===t?0:-1,...Qe("calendar","view-cell"),onClick:()=>{i.refused||n(i.date)},children:i.text},i.key)})},o[0].key))})}var Xe=U.forwardRef(({children:e,...t},n)=>{let{context:a,cells:r,focusedIndex:o,handleKeyDown:s}=Vt("month","CalendarMonthGrid");return a.view!=="month"?null:B(ie.div,{role:"grid","aria-label":t["aria-label"]||t["aria-labelledby"]?void 0:G(a.focusedDate,"month",a.locale),"aria-readonly":a.readOnly||void 0,"aria-disabled":a.disabled||void 0,...t,...Qe("calendar","month-grid",t.className),ref:n,onKeyDown:Et(t.onKeyDown,s),children:e??B(At,{cells:r,focusedIndex:o,navigate:a.navigateToUnit})})});Xe.displayName="CalendarMonthGrid";var je=U.forwardRef(({children:e,...t},n)=>{let{context:a,cells:r,focusedIndex:o,handleKeyDown:s}=Vt("year","CalendarYearGrid");return a.view!=="year"?null:B(ie.div,{role:"grid","aria-label":t["aria-label"]||t["aria-labelledby"]?void 0:G(a.focusedDate,"year",a.locale),"aria-readonly":a.readOnly||void 0,"aria-disabled":a.disabled||void 0,...t,...Qe("calendar","year-grid",t.className),ref:n,onKeyDown:Et(t.onKeyDown,s),children:e??B(At,{cells:r,focusedIndex:o,navigate:a.navigateToUnit})})});je.displayName="CalendarYearGrid";import{Fragment as en,jsx as v,jsxs as be}from"react/jsx-runtime";var Gt=({dir:e})=>v("svg",{viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none","aria-hidden":"true",focusable:"false",children:v("path",{d:e==="left"?"M10 3 5 8l5 5":"M6 3l5 5-5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Ft=()=>{let{months:e}=f("CalendarAnatomy"),t=e.length>1;return be(en,{children:[be(qe,{children:[v(Ze,{children:v(Gt,{dir:"left"})}),t?null:v(Ce,{}),v(ze,{children:v(Gt,{dir:"right"})})]}),e.map((n,a)=>be(Wt.Fragment,{children:[t?v(Ce,{monthOffset:a}):null,be(Ae,{monthOffset:a,children:[v(_e,{}),v(Be,{})]})]},n.toISOString())),v(Xe,{}),v(je,{})]})};import{jsx as xe}from"react/jsx-runtime";function ye(e,t){return new Date(e,t+1,0).getDate()}function Y(e){return new Date(e.getFullYear(),e.getMonth(),1)}function k(e,t){let n=e.getDate(),a=new Date(e.getFullYear(),e.getMonth(),1);a.setMonth(a.getMonth()+t);let r=ye(a.getFullYear(),a.getMonth());return a.setDate(Math.min(n,r)),a}function Ve(e,t){return k(e,t*12)}function A(e,t){let n=new Date(e);return n.setDate(n.getDate()+t),n}function I(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function T(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}function ue(e,t){let n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),a=(n.getDay()-t+7)%7;return n.setDate(n.getDate()-a),n}function Dt(e,t){return A(ue(e,t),6)}function g(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Ct(e,t,n,a){let r=g(e).getTime();return!!(t&&r<g(t).getTime()||n&&r>g(n).getTime()||a?.(e))}function Ye(e,t,n){return t&&g(e).getTime()<g(t).getTime()?t:n&&g(e).getTime()>g(n).getTime()?n:e}function sn(e,t){return{disabled:e??!1,isDateDisabled:t}}var nt=!1;function ao(){nt=!1}function dn(e,t){!e||nt||!(e.getUTCHours()===0&&e.getUTCMinutes()===0&&e.getUTCSeconds()===0&&e.getUTCMilliseconds()===0)||e.getDate()===e.getUTCDate()&&e.getMonth()===e.getUTCMonth()||(nt=!0,nn()&&console.warn(`[skdx] Calendar: \`${t}\` was given ${e.toISOString()}, which is midnight UTC and therefore ${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")} in this time zone \u2014 a different day from the one the string says. A selection here is a local wall-clock date, never an instant: build it as \`new Date(year, monthIndex, day)\` rather than \`new Date('YYYY-MM-DD')\`, which the platform reads as UTC.`))}function wt(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let n=new Date(t.getFullYear(),0,4);return n.setDate(n.getDate()-(n.getDay()+6)%7+3),1+Math.round((t.getTime()-n.getTime())/(10080*60*1e3))}function fe(e){let t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return`${t}-${n}-${a}`}function et(e,t){if(T(e,t))return e;let n=ye(t.getFullYear(),t.getMonth());return new Date(t.getFullYear(),t.getMonth(),Math.min(e.getDate(),n))}var R=["day","month","year"],ee=20;function It(e,t,n){let a=R.indexOf(t),r=Math.max(a,R.indexOf(n));return R[Math.min(Math.max(R.indexOf(e),a),r)]}function tt(e){return Math.floor(e/ee)*ee}function Yt(e,t,n,a,r){let o=n&&g(n)>g(e)?g(n):g(e),s=a&&g(a)<g(t)?g(a):g(t);if(o.getTime()>s.getTime())return!1;if(!r)return!0;for(let i=o;i.getTime()<=s.getTime();i=A(i,1))if(!r(i))return!0;return!1}function G(e,t,n){if(t==="day")return V(e,n);if(t==="month")return E(e.getFullYear(),n);let a=tt(e.getFullYear());return Ee(a,a+ee-1,n)}function xt(e,t=0){let n=ue(Y(e),t),a=[],r=n;for(let o=0;o<6;o++){let s=[];for(let i=0;i<7;i++)s.push({date:r,outsideMonth:!T(r,e)}),r=A(r,1);a.push(s)}return a}function j(e){return e!==null&&!Array.isArray(e)&&!(e instanceof Date)}function Bt(e){return e==="multiple"?[]:null}function yt(e,t){return e===null?!1:Array.isArray(e)?e.some(n=>I(n,t)):j(e)?Fe(e,t)!==void 0:I(e,t)}function Fe(e,t){let n=g(t).getTime(),a=g(e.start).getTime();if(e.end===null)return n===a?"start":void 0;let r=g(e.end).getTime();if(!(n<a||n>r))return n===a?"start":n===r?"end":"middle"}function ln(e,t,n){if(e==="single")return n;if(e==="multiple"){let r=Array.isArray(t)?t:[],o=r.filter(s=>!I(s,n));return o.length!==r.length?o:[...r,n].sort((s,i)=>s.getTime()-i.getTime())}let a=j(t)&&t.end===null?t:void 0;return a?g(n).getTime()<g(a.start).getTime()?{start:n,end:a.start}:{start:a.start,end:n}:{start:n,end:null}}function mn(e,t){return j(e)?e.end===null?`${O(e.start,t)} selected as the range start. Select an end date.`:`Range selected, ${O(e.start,t)} to ${O(e.end,t)}.`:Array.isArray(e)?`${e.length} ${e.length===1?"date":"dates"} selected.`:""}var[cn,f]=an("Calendar");function no(){return f("useCalendarContext")}var Ge=d.createContext(null);function he(e){return d.useContext(Ge)?.gridMonth??e}var re=d.createContext(null);function $(e){return e===null?null:Array.isArray(e)?e[0]??null:j(e)?e.start:e}var un=d.forwardRef(({selectionMode:e="single",value:t,defaultValue:n,onValueChange:a,month:r,defaultMonth:o,onMonthChange:s,focusedDate:i,defaultFocusedDate:l,onFocusChange:D,view:h,defaultView:c="day",minView:y="day",maxView:M="year",onViewChange:_,numberOfMonths:q=1,locale:b,minDate:se,maxDate:de,weekStartsOn:rt,pageBehavior:x="visible",weekNumbers:u=!1,today:te,readOnly:C=!1,disabled:z,outsideDaySelectable:w=!1,isDateDisabled:ve,isDateUnavailable:Re,getSelectionAnnouncement:ae,getMonthAnnouncement:Z,children:Ut,...ot},$t)=>{let{disabled:ke,isDateDisabled:Kt}=sn(z,ve),it=d.useRef(null),_t=tn($t,it),qt=d.useMemo(()=>Ot(t,e,"value"),[t,e]),zt=d.useMemo(()=>Ot(n,e,"defaultValue"),[n,e]),Zt=d.useMemo(()=>K(r,"month")??void 0,[r]),Jt=d.useMemo(()=>K(o,"defaultMonth")??void 0,[o]),Me=d.useMemo(()=>K(se,"minDate")??void 0,[se]),Pe=d.useMemo(()=>K(de,"maxDate")??void 0,[de]),Qt=d.useMemo(()=>K(te,"today")??void 0,[te]),[P=null,st]=we({prop:qt,defaultProp:zt??Bt(e),onChange:m=>a?.(m??Bt(e))}),[Xt]=d.useState(()=>new Date),dt=Qt??Xt;dn($(P),"value");let lt=Y(Jt??$(P)??dt),[W=lt,S]=we({prop:Zt,defaultProp:lt,onChange:s}),jt=d.useMemo(()=>K(i,"focusedDate")??void 0,[i]),mt=d.useMemo(()=>K(l,"defaultFocusedDate")??void 0,[l]),[J=mt??$(P)??W,ct]=we({prop:jt,defaultProp:mt??$(P)??W,onChange:D}),L=d.useCallback(m=>{let p=Ye(m,Me,Pe);I(p,J)||ct(p)},[J,ct,Me,Pe]),[ea=c,ut]=we({prop:h,defaultProp:c,onChange:_}),N=It(ea,y,M),Ne=d.useCallback(m=>{let p=It(m,y,M);p!==N&&ut(p)},[N,y,M,ut]),le=rt??He(b),ta=d.useMemo(()=>{let m=ce(b,le,"short"),p=ce(b,le,"long");return m.map((H,me)=>({short:H,long:p[me]}))},[b,le]),ne=d.useMemo(()=>Array.from({length:Math.max(1,q)},(m,p)=>k(W,p)),[W,q]),aa=d.useCallback(m=>{if(C||ke)return;let p=ln(e,P,m);st(p);let H=(ae??mn)(p,b);H&&at(H)},[C,ke,e,P,st,b,ae]),na=d.useCallback(m=>S(Y(m)),[S]),ra=d.useCallback(m=>{if(N!=="day"){let ia=N==="month"?12:12*ee,gt=k(J,m*ia);L(gt),at(G(gt,N,b));return}let p=x==="single"?1:Math.max(1,q),H=k(W,m*p);S(Y(H)),L(et(J,H));let me=(Z??V)(H,b);me&&at(me)},[N,x,q,W,S,J,L,Z,b]),oa=d.useCallback(m=>{L(m),ne.some(p=>T(m,p))||S(Y(m)),Ne(R[R.indexOf(N)-1]??"day")},[L,ne,S,Ne,N]),Q=d.useMemo(()=>{let m=$(P);return m?g(m).getTime():null},[P]),ft=d.useRef(Q);return d.useEffect(()=>{if(Q===null||Q===ft.current)return;ft.current=Q;let m=new Date(Q);ne.some(p=>T(m,p))||(L(m),S(Y(m)))},[Q,ne,S,L]),xe(cn,{value:P,selectionMode:e,month:W,months:ne,focusedDate:J,today:dt,weekStartsOn:le,weekNumbers:u,locale:b,weekDayNames:ta,minDate:Me,maxDate:Pe,readOnly:C,disabled:ke,outsideDaySelectable:w,isDateDisabled:Kt,isDateUnavailable:Re,onValueChange:aa,onMonthChange:na,pageMonths:ra,setFocusedDate:L,view:N,minView:y,maxView:M,setView:Ne,navigateToUnit:oa,children:xe(on.div,{...ot,...rn("calendar","root",ot.className),ref:_t,children:xe(re.Provider,{value:it,children:Ut??xe(Ft,{})})})})});un.displayName="Calendar";export{R as CALENDAR_VIEWS,ee as CALENDAR_YEAR_PAGE,un as Calendar,We as CalendarCell,Ae as CalendarGrid,Be as CalendarGridBody,Ge as CalendarGridContext,_e as CalendarGridHead,qe as CalendarHeader,Ce as CalendarHeading,Xe as CalendarMonthGrid,ze as CalendarNextButton,Ze as CalendarPreviousButton,cn as CalendarProvider,re as CalendarRootContext,oe as CalendarRow,Ue as CalendarWeekDay,Oe as CalendarWeekNumber,$e as CalendarWeekNumberHeader,je as CalendarYearGrid,A as addDays,k as addMonths,Ve as addYears,$ as anchorOf,Ye as clampToDateRange,et as clampToMonth,It as clampView,sa as clearLocaleNameCache,Bt as emptySelection,Dt as endOfWeek,O as formatDateLabel,V as formatMonthLabel,G as formatViewPageLabel,E as formatYear,Ee as formatYearRange,ye as getDaysInMonth,wt as getISOWeek,He as getLocaleWeekStartsOn,Le as getMonthNames,xt as getVisibleWeeks,ce as getWeekDayNames,Yt as hasAvailableDate,Ct as isDateDisabled,j as isDateRange,yt as isDateSelected,I as isSameDay,T as isSameMonth,ln as nextSelection,Fe as rangePositionOf,ao as resetInstantDateWarning,sn as resolveCalendarDisabled,F as resolveLocale,mn as selectionAnnouncement,Y as startOfMonth,ue as startOfWeek,g as stripTime,fe as toISODateString,no as useCalendarContext,f as useCalendarContextInternal,he as useCalendarGridMonth,dn as warnInstantDate,tt as yearPageStart};
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * The anatomy a {@link Calendar} draws when it is given no children: the
4
+ * paging header, one day grid per displayed month, and the month/year view
5
+ * grids. The three grids each return `null` unless `view` matches, so all
6
+ * three can be rendered unconditionally.
7
+ *
8
+ * Not exported from the package. A consumer who wants this structure gets it
9
+ * by writing `<Calendar />`; one who wants a different structure writes the
10
+ * parts, which is exactly what this component does.
11
+ *
12
+ * @internal
13
+ */
14
+ export declare const CalendarAnatomy: () => React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * The anatomy a {@link Calendar} draws when it is given no children: the
4
+ * paging header, one day grid per displayed month, and the month/year view
5
+ * grids. The three grids each return `null` unless `view` matches, so all
6
+ * three can be rendered unconditionally.
7
+ *
8
+ * Not exported from the package. A consumer who wants this structure gets it
9
+ * by writing `<Calendar />`; one who wants a different structure writes the
10
+ * parts, which is exactly what this component does.
11
+ *
12
+ * @internal
13
+ */
14
+ export declare const CalendarAnatomy: () => React.JSX.Element;
@@ -1,24 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarCellProps } from './types.cjs';
3
3
  /**
4
- * Single selectable `role="gridcell"` date within a {@link Calendar}. Renders
5
- * a `<button type="button">` with `aria-selected`, `data-state="selected"`
6
- * when chosen, `data-today`, `data-outside-month`, `data-disabled`, and a
7
- * roving `tabIndex` (`0` only for the currently focused date, `-1` otherwise,
8
- * per the WAI-ARIA grid pattern). Clicking selects the date. Defaults to the
9
- * day-of-month number as its content.
10
- *
11
- * In `range` selection mode, every cell from the range's start to its end is
12
- * `aria-selected`, and carries exactly one of `data-range-start`,
13
- * `data-range-middle` or `data-range-end` for styling the band.
14
- *
15
- * Two distinct ways to refuse a date:
16
- * - **disabled** — outside `minDate`/`maxDate`, outside the displayed month,
17
- * or matching the `disabled` predicate. Natively `disabled`, so it is not
18
- * focusable and does not fire clicks.
19
- * - **unavailable** — matching `isDateUnavailable`. Focusable and announced as
20
- * `aria-disabled="true"` with a `data-unavailable` hook, so a screen-reader
21
- * user can land on it and hear that it is taken; clicks are ignored.
4
+ * Selectable `role="gridcell"` date within a {@link Calendar}.
5
+ * Renders `<button>` with `aria-selected`, roving `tabIndex`, day-of-month content.
6
+ * **Disabled**: natively disabled (not focusable).
7
+ * **Unavailable**: focusable, `aria-disabled="true"`, clicks ignored.
8
+ * In range mode, cells carry `data-range-start` / `data-range-middle` / `data-range-end`.
22
9
  *
23
10
  * @example
24
11
  * ```tsx
@@ -1,24 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarCellProps } from './types.js';
3
3
  /**
4
- * Single selectable `role="gridcell"` date within a {@link Calendar}. Renders
5
- * a `<button type="button">` with `aria-selected`, `data-state="selected"`
6
- * when chosen, `data-today`, `data-outside-month`, `data-disabled`, and a
7
- * roving `tabIndex` (`0` only for the currently focused date, `-1` otherwise,
8
- * per the WAI-ARIA grid pattern). Clicking selects the date. Defaults to the
9
- * day-of-month number as its content.
10
- *
11
- * In `range` selection mode, every cell from the range's start to its end is
12
- * `aria-selected`, and carries exactly one of `data-range-start`,
13
- * `data-range-middle` or `data-range-end` for styling the band.
14
- *
15
- * Two distinct ways to refuse a date:
16
- * - **disabled** — outside `minDate`/`maxDate`, outside the displayed month,
17
- * or matching the `disabled` predicate. Natively `disabled`, so it is not
18
- * focusable and does not fire clicks.
19
- * - **unavailable** — matching `isDateUnavailable`. Focusable and announced as
20
- * `aria-disabled="true"` with a `data-unavailable` hook, so a screen-reader
21
- * user can land on it and hear that it is taken; clicks are ignored.
4
+ * Selectable `role="gridcell"` date within a {@link Calendar}.
5
+ * Renders `<button>` with `aria-selected`, roving `tabIndex`, day-of-month content.
6
+ * **Disabled**: natively disabled (not focusable).
7
+ * **Unavailable**: focusable, `aria-disabled="true"`, clicks ignored.
8
+ * In range mode, cells carry `data-range-start` / `data-range-middle` / `data-range-end`.
22
9
  *
23
10
  * @example
24
11
  * ```tsx
@@ -2,14 +2,9 @@ import * as React from 'react';
2
2
  import type { CalendarGridProps } from './types.cjs';
3
3
  /**
4
4
  * `role="grid"` container for a {@link Calendar}'s date cells, owning
5
- * arrow-key navigation of the roving-focus date: Arrow Left/Right/Up/Down
6
- * move by day/week, Home/End jump to the start/end of the focused week,
7
- * PageUp/PageDown move by month (Shift+PageUp/PageDown move by year).
8
- * Navigating into a different month calls `onMonthChange` automatically.
9
- *
10
- * With a multi-month `Calendar` (`numberOfMonths`), render one grid per month
11
- * and give each its `monthOffset` — that is what tells the grid's cells which
12
- * month counts as "outside".
5
+ * arrow-key navigation of the roving-focus date and calling `onMonthChange`
6
+ * when it crosses into a different month. With `numberOfMonths` > 1, render
7
+ * one grid per month and give each its `monthOffset`.
13
8
  *
14
9
  * @example
15
10
  * ```tsx
@@ -2,14 +2,9 @@ import * as React from 'react';
2
2
  import type { CalendarGridProps } from './types.js';
3
3
  /**
4
4
  * `role="grid"` container for a {@link Calendar}'s date cells, owning
5
- * arrow-key navigation of the roving-focus date: Arrow Left/Right/Up/Down
6
- * move by day/week, Home/End jump to the start/end of the focused week,
7
- * PageUp/PageDown move by month (Shift+PageUp/PageDown move by year).
8
- * Navigating into a different month calls `onMonthChange` automatically.
9
- *
10
- * With a multi-month `Calendar` (`numberOfMonths`), render one grid per month
11
- * and give each its `monthOffset` — that is what tells the grid's cells which
12
- * month counts as "outside".
5
+ * arrow-key navigation of the roving-focus date and calling `onMonthChange`
6
+ * when it crosses into a different month. With `numberOfMonths` > 1, render
7
+ * one grid per month and give each its `monthOffset`.
13
8
  *
14
9
  * @example
15
10
  * ```tsx
@@ -1,28 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarGridBodyProps } from './types.cjs';
3
3
  /**
4
- * `role="rowgroup"` wrapper for a {@link Calendar}'s week rows.
5
- *
6
- * **Given no children it renders the displayed month itself** one
7
- * `CalendarRow` per visible week, one `CalendarCell` per day, taken from the
8
- * live `month` in context. That is the composition a consumer writes first, and
9
- * it is now the correct one.
10
- *
11
- * It did not used to be. An empty body rendered an empty rowgroup, so the
12
- * calendar showed a heading and weekday names above no days at all; and the
13
- * example that worked around it mapped `getVisibleWeeks(new Date())` — a month
14
- * captured once at render — so the days it did draw never moved when the month
15
- * changed. Both roads ended at "the days do not change", with the heading
16
- * updating over a static grid, because `Previous`/`Next` change `month` and
17
- * nothing was reading it.
18
- *
19
- * Pass children to take over completely — to decorate a day, group by week
20
- * number, or render anything other than a plain cell. Children always win; this
21
- * only fills an empty body.
22
- *
23
- * `rowgroup` rather than a bare `<div>` so `role="grid"` sees only
24
- * `row`/`rowgroup` children — a plain `div` between the grid and its rows is
25
- * what axe reports as `aria-required-children`.
4
+ * `role="rowgroup"` wrapper for {@link Calendar} week rows. When empty, renders
5
+ * the displayed month as `CalendarRow`/`CalendarCell` from context.
6
+ * Pass children to customize (decorate days, group by week, etc.); children always win.
26
7
  *
27
8
  * @example
28
9
  * ```tsx
@@ -35,8 +16,7 @@ import type { CalendarGridBodyProps } from './types.cjs';
35
16
  *
36
17
  * @example
37
18
  * ```tsx
38
- * // Taking over the rows. Read `month` from context — never `new Date()`, or
39
- * // the grid stops following the Previous/Next buttons.
19
+ * // Taking over the rows. Read `month` from context — never `new Date()`.
40
20
  * const { month, weekStartsOn } = useCalendarContext();
41
21
  * <CalendarGridBody>
42
22
  * {getVisibleWeeks(month, weekStartsOn).map((week) => (
@@ -1,28 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarGridBodyProps } from './types.js';
3
3
  /**
4
- * `role="rowgroup"` wrapper for a {@link Calendar}'s week rows.
5
- *
6
- * **Given no children it renders the displayed month itself** one
7
- * `CalendarRow` per visible week, one `CalendarCell` per day, taken from the
8
- * live `month` in context. That is the composition a consumer writes first, and
9
- * it is now the correct one.
10
- *
11
- * It did not used to be. An empty body rendered an empty rowgroup, so the
12
- * calendar showed a heading and weekday names above no days at all; and the
13
- * example that worked around it mapped `getVisibleWeeks(new Date())` — a month
14
- * captured once at render — so the days it did draw never moved when the month
15
- * changed. Both roads ended at "the days do not change", with the heading
16
- * updating over a static grid, because `Previous`/`Next` change `month` and
17
- * nothing was reading it.
18
- *
19
- * Pass children to take over completely — to decorate a day, group by week
20
- * number, or render anything other than a plain cell. Children always win; this
21
- * only fills an empty body.
22
- *
23
- * `rowgroup` rather than a bare `<div>` so `role="grid"` sees only
24
- * `row`/`rowgroup` children — a plain `div` between the grid and its rows is
25
- * what axe reports as `aria-required-children`.
4
+ * `role="rowgroup"` wrapper for {@link Calendar} week rows. When empty, renders
5
+ * the displayed month as `CalendarRow`/`CalendarCell` from context.
6
+ * Pass children to customize (decorate days, group by week, etc.); children always win.
26
7
  *
27
8
  * @example
28
9
  * ```tsx
@@ -35,8 +16,7 @@ import type { CalendarGridBodyProps } from './types.js';
35
16
  *
36
17
  * @example
37
18
  * ```tsx
38
- * // Taking over the rows. Read `month` from context — never `new Date()`, or
39
- * // the grid stops following the Previous/Next buttons.
19
+ * // Taking over the rows. Read `month` from context — never `new Date()`.
40
20
  * const { month, weekStartsOn } = useCalendarContext();
41
21
  * <CalendarGridBody>
42
22
  * {getVisibleWeeks(month, weekStartsOn).map((week) => (
@@ -1,17 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarGridHeadProps } from './types.cjs';
3
3
  /**
4
- * `role="rowgroup"` wrapper for a {@link Calendar}'s weekday header.
5
- *
6
- * Left childless it renders the weekday row itself, from the `Calendar`'s
7
- * `locale` and `weekStartsOn` — the visible label is the short name, with the
8
- * full name as `aria-label` so screen readers say "Monday", not "Mon". That is
9
- * why no framework ships a hardcoded `['Su', 'Mo', …]` table any more.
10
- *
11
- * `rowgroup`, not `row`: `role="grid"` requires `row`/`rowgroup` children and
12
- * `role="columnheader"` requires a `row` parent, so the old `row`-inside-`row`
13
- * nesting is exactly what axe flagged as
14
- * `aria-required-children`/`aria-required-parent`.
4
+ * `role="rowgroup"` wrapper for a {@link Calendar}'s weekday header. Left
5
+ * childless, renders the weekday row from the `Calendar`'s `locale` and
6
+ * `weekStartsOn`. Short name visible, full name in `aria-label`.
15
7
  *
16
8
  * @example
17
9
  * ```tsx
@@ -1,17 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarGridHeadProps } from './types.js';
3
3
  /**
4
- * `role="rowgroup"` wrapper for a {@link Calendar}'s weekday header.
5
- *
6
- * Left childless it renders the weekday row itself, from the `Calendar`'s
7
- * `locale` and `weekStartsOn` — the visible label is the short name, with the
8
- * full name as `aria-label` so screen readers say "Monday", not "Mon". That is
9
- * why no framework ships a hardcoded `['Su', 'Mo', …]` table any more.
10
- *
11
- * `rowgroup`, not `row`: `role="grid"` requires `row`/`rowgroup` children and
12
- * `role="columnheader"` requires a `row` parent, so the old `row`-inside-`row`
13
- * nesting is exactly what axe flagged as
14
- * `aria-required-children`/`aria-required-parent`.
4
+ * `role="rowgroup"` wrapper for a {@link Calendar}'s weekday header. Left
5
+ * childless, renders the weekday row from the `Calendar`'s `locale` and
6
+ * `weekStartsOn`. Short name visible, full name in `aria-label`.
15
7
  *
16
8
  * @example
17
9
  * ```tsx
@@ -1,9 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarHeaderProps } from './types.cjs';
3
3
  /**
4
- * Purely presentational wrapper for a {@link Calendar}'s month navigation
5
- * row. Renders a plain `<div>`; typically holds `CalendarPreviousButton`,
6
- * `CalendarHeading` and `CalendarNextButton`.
4
+ * Wrapper for a {@link Calendar}'s month navigation row. Renders a plain `<div>`.
7
5
  *
8
6
  * @example
9
7
  * ```tsx
@@ -1,9 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarHeaderProps } from './types.js';
3
3
  /**
4
- * Purely presentational wrapper for a {@link Calendar}'s month navigation
5
- * row. Renders a plain `<div>`; typically holds `CalendarPreviousButton`,
6
- * `CalendarHeading` and `CalendarNextButton`.
4
+ * Wrapper for a {@link Calendar}'s month navigation row. Renders a plain `<div>`.
7
5
  *
8
6
  * @example
9
7
  * ```tsx
@@ -1,12 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarHeadingProps } from './types.cjs';
3
3
  /**
4
- * Label for a {@link Calendar}'s displayed month. Left childless it renders
5
- * the month and year formatted for the `Calendar`'s `locale` via `Intl`, so
6
- * no consumer hardcodes an English month name; pass children to override.
7
- *
8
- * With a multi-month `Calendar` (`numberOfMonths`), `monthOffset` selects
9
- * which of the displayed months to label.
4
+ * Labels the calendar view (month/year/year-page) and offers view-up trigger.
5
+ * Renders `<button>` below `maxView`, plain `<div>` at `maxView`. Locale-aware
6
+ * via `Intl`; `monthOffset` selects which month to label (day view only).
10
7
  *
11
8
  * @example
12
9
  * ```tsx
@@ -14,4 +11,4 @@ import type { CalendarHeadingProps } from './types.cjs';
14
11
  * <CalendarHeading monthOffset={1} />
15
12
  * ```
16
13
  */
17
- export declare const CalendarHeading: React.ForwardRefExoticComponent<Omit<CalendarHeadingProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const CalendarHeading: React.ForwardRefExoticComponent<Omit<CalendarHeadingProps, "ref"> & React.RefAttributes<HTMLElement>>;
@@ -1,12 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import type { CalendarHeadingProps } from './types.js';
3
3
  /**
4
- * Label for a {@link Calendar}'s displayed month. Left childless it renders
5
- * the month and year formatted for the `Calendar`'s `locale` via `Intl`, so
6
- * no consumer hardcodes an English month name; pass children to override.
7
- *
8
- * With a multi-month `Calendar` (`numberOfMonths`), `monthOffset` selects
9
- * which of the displayed months to label.
4
+ * Labels the calendar view (month/year/year-page) and offers view-up trigger.
5
+ * Renders `<button>` below `maxView`, plain `<div>` at `maxView`. Locale-aware
6
+ * via `Intl`; `monthOffset` selects which month to label (day view only).
10
7
  *
11
8
  * @example
12
9
  * ```tsx
@@ -14,4 +11,4 @@ import type { CalendarHeadingProps } from './types.js';
14
11
  * <CalendarHeading monthOffset={1} />
15
12
  * ```
16
13
  */
17
- export declare const CalendarHeading: React.ForwardRefExoticComponent<Omit<CalendarHeadingProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const CalendarHeading: React.ForwardRefExoticComponent<Omit<CalendarHeadingProps, "ref"> & React.RefAttributes<HTMLElement>>;
@@ -2,7 +2,8 @@ import * as React from 'react';
2
2
  import type { CalendarNextButtonProps } from './types.cjs';
3
3
  /**
4
4
  * Navigates the {@link Calendar} to the next month on click. Renders a
5
- * `<button type="button">` with a default `aria-label="Next month"`, and
5
+ * `<button type="button">` labelled for the view on screen ("Next month",
6
+ * "Next year", "Next 20 years"), and
6
7
  * moves the roving-focus date to the same day (clamped) in the new month.
7
8
  *
8
9
  * @example
@@ -2,7 +2,8 @@ import * as React from 'react';
2
2
  import type { CalendarNextButtonProps } from './types.js';
3
3
  /**
4
4
  * Navigates the {@link Calendar} to the next month on click. Renders a
5
- * `<button type="button">` with a default `aria-label="Next month"`, and
5
+ * `<button type="button">` labelled for the view on screen ("Next month",
6
+ * "Next year", "Next 20 years"), and
6
7
  * moves the roving-focus date to the same day (clamped) in the new month.
7
8
  *
8
9
  * @example
@@ -0,0 +1,37 @@
1
+ import * as React from 'react';
2
+ import type { CalendarMonthGridProps, CalendarYearGridProps } from './types.cjs';
3
+ /**
4
+ * Month view grid: 12 gridcell months in rows of 4, with ARIA grid semantics.
5
+ * Roving tab stop, arrow navigation at month granularity (row=4, page=year, Shift pages 10).
6
+ * Activation projects focusedDate to month, pages to it, steps view to 'day' (or minView).
7
+ * Does not select; only day grid affects value.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <Calendar>
12
+ * <CalendarHeader>
13
+ * <CalendarPreviousButton>‹</CalendarPreviousButton>
14
+ * <CalendarHeading />
15
+ * <CalendarNextButton>›</CalendarNextButton>
16
+ * </CalendarHeader>
17
+ * <CalendarGrid>
18
+ * <CalendarGridHead />
19
+ * <CalendarGridBody />
20
+ * </CalendarGrid>
21
+ * <CalendarMonthGrid />
22
+ * <CalendarYearGrid />
23
+ * </Calendar>
24
+ * ```
25
+ */
26
+ export declare const CalendarMonthGrid: React.ForwardRefExoticComponent<Omit<CalendarMonthGridProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
27
+ /**
28
+ * Year view grid: 20 gridcell years in rows of 4, pages aligned on multiple of 20 (2026 shows 2020–2039).
29
+ * Same ARIA grid model and aria-disabled rule as CalendarMonthGrid, one unit coarser.
30
+ * Activation projects focusedDate to year, steps view to 'month'. Does not select.
31
+ *
32
+ * @example
33
+ * ```tsx
34
+ * <CalendarYearGrid />
35
+ * ```
36
+ */
37
+ export declare const CalendarYearGrid: React.ForwardRefExoticComponent<Omit<CalendarYearGridProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,37 @@
1
+ import * as React from 'react';
2
+ import type { CalendarMonthGridProps, CalendarYearGridProps } from './types.js';
3
+ /**
4
+ * Month view grid: 12 gridcell months in rows of 4, with ARIA grid semantics.
5
+ * Roving tab stop, arrow navigation at month granularity (row=4, page=year, Shift pages 10).
6
+ * Activation projects focusedDate to month, pages to it, steps view to 'day' (or minView).
7
+ * Does not select; only day grid affects value.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <Calendar>
12
+ * <CalendarHeader>
13
+ * <CalendarPreviousButton>‹</CalendarPreviousButton>
14
+ * <CalendarHeading />
15
+ * <CalendarNextButton>›</CalendarNextButton>
16
+ * </CalendarHeader>
17
+ * <CalendarGrid>
18
+ * <CalendarGridHead />
19
+ * <CalendarGridBody />
20
+ * </CalendarGrid>
21
+ * <CalendarMonthGrid />
22
+ * <CalendarYearGrid />
23
+ * </Calendar>
24
+ * ```
25
+ */
26
+ export declare const CalendarMonthGrid: React.ForwardRefExoticComponent<Omit<CalendarMonthGridProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
27
+ /**
28
+ * Year view grid: 20 gridcell years in rows of 4, pages aligned on multiple of 20 (2026 shows 2020–2039).
29
+ * Same ARIA grid model and aria-disabled rule as CalendarMonthGrid, one unit coarser.
30
+ * Activation projects focusedDate to year, steps view to 'month'. Does not select.
31
+ *
32
+ * @example
33
+ * ```tsx
34
+ * <CalendarYearGrid />
35
+ * ```
36
+ */
37
+ export declare const CalendarYearGrid: React.ForwardRefExoticComponent<Omit<CalendarYearGridProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import type { CalendarWeekNumberProps } from './types.cjs';
3
+ /**
4
+ * ISO-8601 week number, `role="rowheader"`. Independent of `weekStartsOn`;
5
+ * January 1st may be week 52 or 53.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <CalendarRow>
10
+ * <CalendarWeekNumber date={week[0].date} />
11
+ * {week.map(({ date }) => (
12
+ * <CalendarCell date={date} key={date.toISOString()} />
13
+ * ))}
14
+ * </CalendarRow>
15
+ * ```
16
+ */
17
+ export declare const CalendarWeekNumber: React.ForwardRefExoticComponent<Omit<CalendarWeekNumberProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import type { CalendarWeekNumberProps } from './types.js';
3
+ /**
4
+ * ISO-8601 week number, `role="rowheader"`. Independent of `weekStartsOn`;
5
+ * January 1st may be week 52 or 53.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <CalendarRow>
10
+ * <CalendarWeekNumber date={week[0].date} />
11
+ * {week.map(({ date }) => (
12
+ * <CalendarCell date={date} key={date.toISOString()} />
13
+ * ))}
14
+ * </CalendarRow>
15
+ * ```
16
+ */
17
+ export declare const CalendarWeekNumber: React.ForwardRefExoticComponent<Omit<CalendarWeekNumberProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ import type { CalendarWeekNumberHeaderProps } from './types.cjs';
3
+ /**
4
+ * The `role="columnheader"` above a {@link Calendar}'s week-number column.
5
+ *
6
+ * Visually blank by default (named via `aria-label`) because no abbreviation
7
+ * of "week number" reads well next to day abbreviations. Pass children for
8
+ * a visible label like "Wk".
9
+ *
10
+ * It exists to prevent grid alignment errors: without this header, the
11
+ * week-number column causes off-by-one column-index misalignment.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * <CalendarRow>
16
+ * <CalendarWeekNumberHeader>Wk</CalendarWeekNumberHeader>
17
+ * <CalendarWeekDay aria-label="Monday">Mo</CalendarWeekDay>
18
+ * </CalendarRow>
19
+ * ```
20
+ */
21
+ export declare const CalendarWeekNumberHeader: React.ForwardRefExoticComponent<Omit<CalendarWeekNumberHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ import type { CalendarWeekNumberHeaderProps } from './types.js';
3
+ /**
4
+ * The `role="columnheader"` above a {@link Calendar}'s week-number column.
5
+ *
6
+ * Visually blank by default (named via `aria-label`) because no abbreviation
7
+ * of "week number" reads well next to day abbreviations. Pass children for
8
+ * a visible label like "Wk".
9
+ *
10
+ * It exists to prevent grid alignment errors: without this header, the
11
+ * week-number column causes off-by-one column-index misalignment.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * <CalendarRow>
16
+ * <CalendarWeekNumberHeader>Wk</CalendarWeekNumberHeader>
17
+ * <CalendarWeekDay aria-label="Monday">Mo</CalendarWeekDay>
18
+ * </CalendarRow>
19
+ * ```
20
+ */
21
+ export declare const CalendarWeekNumberHeader: React.ForwardRefExoticComponent<Omit<CalendarWeekNumberHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,13 +1,3 @@
1
1
  export * from './Calendar.cjs';
2
- export { clearLocaleNameCache, formatDateLabel, formatMonthLabel, getLocaleWeekStartsOn, getMonthNames, getWeekDayNames, resolveLocale, type NameWidth, } from './locale.cjs';
3
- export { CalendarHeader } from './CalendarHeader.cjs';
4
- export { CalendarHeading } from './CalendarHeading.cjs';
5
- export { CalendarPreviousButton } from './CalendarPreviousButton.cjs';
6
- export { CalendarNextButton } from './CalendarNextButton.cjs';
7
- export { CalendarGrid } from './CalendarGrid.cjs';
8
- export { CalendarGridHead } from './CalendarGridHead.cjs';
9
- export { CalendarWeekDay } from './CalendarWeekDay.cjs';
10
- export { CalendarGridBody } from './CalendarGridBody.cjs';
11
- export { CalendarRow } from './CalendarRow.cjs';
12
- export { CalendarCell } from './CalendarCell.cjs';
13
- export type { CalendarProps, CalendarHeaderProps, CalendarHeadingProps, CalendarPreviousButtonProps, CalendarNextButtonProps, CalendarGridProps, CalendarGridHeadProps, CalendarWeekDayProps, CalendarGridBodyProps, CalendarRowProps, CalendarCellProps, CalendarDay, CalendarSelectionMode, CalendarValue, DateRange, RangePosition, } from './types.cjs';
2
+ export { clearLocaleNameCache, formatDateLabel, formatMonthLabel, formatYear, formatYearRange, getLocaleWeekStartsOn, getMonthNames, getWeekDayNames, resolveLocale, type NameWidth, } from './locale.cjs';
3
+ export type { CalendarProps, CalendarDay, CalendarPageBehavior, CalendarSelectionMode, CalendarView, CalendarValue, CalendarValueInput, DateRange, RangePosition, } from './types.cjs';