@spark-ui/components 17.2.1-beta.1 → 17.2.2

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 (530) hide show
  1. package/dist/radio-group/index.js +1 -1
  2. package/dist/radio-group/index.js.map +1 -1
  3. package/dist/radio-group/index.mjs +129 -123
  4. package/dist/radio-group/index.mjs.map +1 -1
  5. package/dist/segmented-control/index.js +1 -1
  6. package/dist/segmented-control/index.js.map +1 -1
  7. package/dist/segmented-control/index.mjs +128 -116
  8. package/dist/segmented-control/index.mjs.map +1 -1
  9. package/package.json +4 -5
  10. package/dist/accordion/Accordion.d.ts +0 -27
  11. package/dist/accordion/AccordionItem.d.ts +0 -12
  12. package/dist/accordion/AccordionItemContent.d.ts +0 -12
  13. package/dist/accordion/AccordionItemHeader.d.ts +0 -9
  14. package/dist/accordion/AccordionItemTrigger.d.ts +0 -12
  15. package/dist/accordion/index.d.mts +0 -15
  16. package/dist/accordion/index.d.ts +0 -15
  17. package/dist/accordion/useRenderSlot.d.ts +0 -3
  18. package/dist/alert-dialog/AlertDialog.d.ts +0 -29
  19. package/dist/alert-dialog/AlertDialogAction.d.ts +0 -13
  20. package/dist/alert-dialog/AlertDialogBody.d.ts +0 -12
  21. package/dist/alert-dialog/AlertDialogCancel.d.ts +0 -13
  22. package/dist/alert-dialog/AlertDialogContent.d.ts +0 -9
  23. package/dist/alert-dialog/AlertDialogContext.d.ts +0 -12
  24. package/dist/alert-dialog/AlertDialogDescription.d.ts +0 -9
  25. package/dist/alert-dialog/AlertDialogFooter.d.ts +0 -10
  26. package/dist/alert-dialog/AlertDialogHeader.d.ts +0 -10
  27. package/dist/alert-dialog/AlertDialogOverlay.d.ts +0 -9
  28. package/dist/alert-dialog/AlertDialogPortal.d.ts +0 -7
  29. package/dist/alert-dialog/AlertDialogTitle.d.ts +0 -9
  30. package/dist/alert-dialog/AlertDialogTrigger.d.ts +0 -13
  31. package/dist/alert-dialog/index.d.mts +0 -38
  32. package/dist/alert-dialog/index.d.ts +0 -38
  33. package/dist/alert-dialog/useRenderSlot.d.ts +0 -3
  34. package/dist/avatar/Avatar.d.ts +0 -3
  35. package/dist/avatar/AvatarAction.d.ts +0 -9
  36. package/dist/avatar/AvatarImage.d.ts +0 -7
  37. package/dist/avatar/AvatarOnlineBadge.d.ts +0 -9
  38. package/dist/avatar/AvatarPlaceholder.d.ts +0 -8
  39. package/dist/avatar/AvatarUser.d.ts +0 -7
  40. package/dist/avatar/context.d.ts +0 -5
  41. package/dist/avatar/index.d.mts +0 -15
  42. package/dist/avatar/index.d.ts +0 -15
  43. package/dist/avatar/types.d.ts +0 -24
  44. package/dist/badge/Badge.d.ts +0 -9
  45. package/dist/badge/BadgeItem.d.ts +0 -31
  46. package/dist/badge/BadgeItem.styles.d.ts +0 -7
  47. package/dist/badge/index.d.mts +0 -1
  48. package/dist/badge/index.d.ts +0 -1
  49. package/dist/breadcrumb/Breadcrumb.d.ts +0 -10
  50. package/dist/breadcrumb/Breadcrumb.styles.d.ts +0 -0
  51. package/dist/breadcrumb/BreadcrumbCurrentPage.d.ts +0 -11
  52. package/dist/breadcrumb/BreadcrumbItem.d.ts +0 -9
  53. package/dist/breadcrumb/BreadcrumbLink.d.ts +0 -12
  54. package/dist/breadcrumb/BreadcrumbSeparator.d.ts +0 -10
  55. package/dist/breadcrumb/index.d.mts +0 -12
  56. package/dist/breadcrumb/index.d.ts +0 -12
  57. package/dist/button/Button.d.ts +0 -26
  58. package/dist/button/Button.styles.d.ts +0 -10
  59. package/dist/button/index.d.mts +0 -1
  60. package/dist/button/index.d.ts +0 -1
  61. package/dist/button/variants/contrast.d.ts +0 -41
  62. package/dist/button/variants/filled.d.ts +0 -41
  63. package/dist/button/variants/ghost.d.ts +0 -41
  64. package/dist/button/variants/index.d.mts +0 -5
  65. package/dist/button/variants/index.d.ts +0 -5
  66. package/dist/button/variants/outlined.d.ts +0 -41
  67. package/dist/button/variants/tinted.d.ts +0 -41
  68. package/dist/card/Backdrop.d.ts +0 -14
  69. package/dist/card/Card.d.ts +0 -16
  70. package/dist/card/Card.styles.d.ts +0 -7
  71. package/dist/card/Content.d.ts +0 -15
  72. package/dist/card/Content.styles.d.ts +0 -8
  73. package/dist/card/context.d.ts +0 -11
  74. package/dist/card/index.d.mts +0 -8
  75. package/dist/card/index.d.ts +0 -8
  76. package/dist/card/utils.d.ts +0 -3
  77. package/dist/carousel/Carousel.d.ts +0 -12
  78. package/dist/carousel/CarouselControls.d.ts +0 -9
  79. package/dist/carousel/CarouselNextButton.d.ts +0 -5
  80. package/dist/carousel/CarouselPageIndicator.d.ts +0 -14
  81. package/dist/carousel/CarouselPagePicker.d.ts +0 -14
  82. package/dist/carousel/CarouselPrevButton.d.ts +0 -5
  83. package/dist/carousel/CarouselSlide.d.ts +0 -12
  84. package/dist/carousel/CarouselSlides.d.ts +0 -10
  85. package/dist/carousel/CarouselViewport.d.ts +0 -9
  86. package/dist/carousel/index.d.mts +0 -19
  87. package/dist/carousel/index.d.ts +0 -19
  88. package/dist/carousel/types.d.ts +0 -165
  89. package/dist/carousel/useCarousel.d.ts +0 -2
  90. package/dist/carousel/useCarouselVisibility.d.ts +0 -13
  91. package/dist/carousel/useEvent.d.ts +0 -7
  92. package/dist/carousel/useIsMounted.d.ts +0 -1
  93. package/dist/carousel/useIsVisible.d.ts +0 -6
  94. package/dist/carousel/useResizeObserver.d.ts +0 -2
  95. package/dist/carousel/useScrollEnd.d.ts +0 -3
  96. package/dist/carousel/useSnapPoints.d.ts +0 -10
  97. package/dist/carousel/utils.d.ts +0 -24
  98. package/dist/checkbox/Checkbox.d.ts +0 -10
  99. package/dist/checkbox/CheckboxGroup.d.ts +0 -18
  100. package/dist/checkbox/CheckboxGroup.styles.d.ts +0 -5
  101. package/dist/checkbox/CheckboxGroupContext.d.ts +0 -41
  102. package/dist/checkbox/CheckboxIndicator.d.ts +0 -9
  103. package/dist/checkbox/CheckboxInput.d.ts +0 -47
  104. package/dist/checkbox/CheckboxInput.styles.d.ts +0 -5
  105. package/dist/checkbox/CheckboxLabel.d.ts +0 -12
  106. package/dist/checkbox/CheckboxLabel.styles.d.ts +0 -5
  107. package/dist/checkbox/index.d.mts +0 -2
  108. package/dist/checkbox/index.d.ts +0 -2
  109. package/dist/chip/Chip.d.ts +0 -34
  110. package/dist/chip/Chip.styles.d.ts +0 -8
  111. package/dist/chip/ChipClearButton.d.ts +0 -10
  112. package/dist/chip/ChipClearButton.styles.d.ts +0 -10
  113. package/dist/chip/ChipContent.d.ts +0 -8
  114. package/dist/chip/ChipIcon.d.ts +0 -8
  115. package/dist/chip/ChipLeadingIcon.d.ts +0 -9
  116. package/dist/chip/ChipTrailingIcon.d.ts +0 -9
  117. package/dist/chip/index.d.mts +0 -15
  118. package/dist/chip/index.d.ts +0 -15
  119. package/dist/chip/useChipContext.d.ts +0 -4
  120. package/dist/chip/useChipElement.d.ts +0 -41
  121. package/dist/chip/variants/dashed.d.ts +0 -45
  122. package/dist/chip/variants/index.d.mts +0 -3
  123. package/dist/chip/variants/index.d.ts +0 -3
  124. package/dist/chip/variants/outlined.d.ts +0 -45
  125. package/dist/chip/variants/tinted.d.ts +0 -45
  126. package/dist/circular-meter/CircularMeter.d.ts +0 -34
  127. package/dist/circular-meter/CircularMeter.styles.d.ts +0 -5
  128. package/dist/circular-meter/CircularMeterContent.d.ts +0 -6
  129. package/dist/circular-meter/CircularMeterContext.d.ts +0 -36
  130. package/dist/circular-meter/CircularMeterLabel.d.ts +0 -7
  131. package/dist/circular-meter/CircularMeterTrack.d.ts +0 -8
  132. package/dist/circular-meter/CircularMeterValue.d.ts +0 -7
  133. package/dist/circular-meter/index.d.mts +0 -16
  134. package/dist/circular-meter/index.d.ts +0 -16
  135. package/dist/circular-meter/useIntersectionAnimation.d.ts +0 -26
  136. package/dist/collapsible/Content.d.ts +0 -12
  137. package/dist/collapsible/Root.d.ts +0 -12
  138. package/dist/collapsible/Trigger.d.ts +0 -11
  139. package/dist/collapsible/index.d.mts +0 -7
  140. package/dist/collapsible/index.d.ts +0 -7
  141. package/dist/collapsible/useRenderSlot.d.ts +0 -3
  142. package/dist/combobox/Combobox.d.ts +0 -6
  143. package/dist/combobox/ComboboxClearButton.d.ts +0 -9
  144. package/dist/combobox/ComboboxContext.d.ts +0 -108
  145. package/dist/combobox/ComboboxDisclosure.d.ts +0 -13
  146. package/dist/combobox/ComboboxEmpty.d.ts +0 -11
  147. package/dist/combobox/ComboboxGroup.d.ts +0 -11
  148. package/dist/combobox/ComboboxInput.d.ts +0 -15
  149. package/dist/combobox/ComboboxItem.d.ts +0 -12
  150. package/dist/combobox/ComboboxItemContext.d.ts +0 -17
  151. package/dist/combobox/ComboboxItemIndicator.d.ts +0 -11
  152. package/dist/combobox/ComboboxItemText.d.ts +0 -10
  153. package/dist/combobox/ComboboxItems.d.ts +0 -11
  154. package/dist/combobox/ComboboxItemsGroupContext.d.ts +0 -8
  155. package/dist/combobox/ComboboxLabel.d.ts +0 -11
  156. package/dist/combobox/ComboboxLeadingIcon.d.ts +0 -7
  157. package/dist/combobox/ComboboxPopover.d.ts +0 -10
  158. package/dist/combobox/ComboboxPortal.d.ts +0 -2
  159. package/dist/combobox/ComboboxSelectedItems.d.ts +0 -4
  160. package/dist/combobox/ComboboxTrigger.d.ts +0 -11
  161. package/dist/combobox/ComboboxTrigger.styles.d.ts +0 -6
  162. package/dist/combobox/index.d.mts +0 -35
  163. package/dist/combobox/index.d.ts +0 -35
  164. package/dist/combobox/tests/test-utils.d.ts +0 -8
  165. package/dist/combobox/types.d.ts +0 -8
  166. package/dist/combobox/useCombobox/multipleSelectionReducer.d.ts +0 -13
  167. package/dist/combobox/useCombobox/singleSelectionReducer.d.ts +0 -8
  168. package/dist/combobox/utils/index.d.mts +0 -14
  169. package/dist/combobox/utils/index.d.ts +0 -14
  170. package/dist/combobox/utils/useWidthIncreaseCallback.d.ts +0 -2
  171. package/dist/dialog/Dialog.d.ts +0 -33
  172. package/dist/dialog/DialogBody.d.ts +0 -12
  173. package/dist/dialog/DialogClose.d.ts +0 -10
  174. package/dist/dialog/DialogCloseButton.d.ts +0 -9
  175. package/dist/dialog/DialogContent.d.ts +0 -14
  176. package/dist/dialog/DialogContent.styles.d.ts +0 -6
  177. package/dist/dialog/DialogContext.d.ts +0 -11
  178. package/dist/dialog/DialogDescription.d.ts +0 -9
  179. package/dist/dialog/DialogFooter.d.ts +0 -10
  180. package/dist/dialog/DialogHeader.d.ts +0 -10
  181. package/dist/dialog/DialogOverlay.d.ts +0 -9
  182. package/dist/dialog/DialogPortal.d.ts +0 -7
  183. package/dist/dialog/DialogTitle.d.ts +0 -9
  184. package/dist/dialog/DialogTrigger.d.ts +0 -13
  185. package/dist/dialog/index.d.mts +0 -37
  186. package/dist/dialog/index.d.ts +0 -37
  187. package/dist/divider/Divider.d.ts +0 -30
  188. package/dist/divider/Divider.styles.d.ts +0 -9
  189. package/dist/divider/DividerContent.d.ts +0 -13
  190. package/dist/divider/index.d.mts +0 -6
  191. package/dist/divider/index.d.ts +0 -6
  192. package/dist/divider/variants/intents.d.ts +0 -17
  193. package/dist/drawer/Drawer.d.ts +0 -32
  194. package/dist/drawer/DrawerBody.d.ts +0 -11
  195. package/dist/drawer/DrawerBody.styles.d.ts +0 -5
  196. package/dist/drawer/DrawerClose.d.ts +0 -13
  197. package/dist/drawer/DrawerCloseButton.d.ts +0 -7
  198. package/dist/drawer/DrawerContent.d.ts +0 -10
  199. package/dist/drawer/DrawerContent.styles.d.ts +0 -6
  200. package/dist/drawer/DrawerContext.d.ts +0 -9
  201. package/dist/drawer/DrawerDescription.d.ts +0 -9
  202. package/dist/drawer/DrawerFooter.d.ts +0 -8
  203. package/dist/drawer/DrawerHeader.d.ts +0 -10
  204. package/dist/drawer/DrawerOverlay.d.ts +0 -9
  205. package/dist/drawer/DrawerPortal.d.ts +0 -7
  206. package/dist/drawer/DrawerTitle.d.ts +0 -9
  207. package/dist/drawer/DrawerTrigger.d.ts +0 -13
  208. package/dist/drawer/index.d.mts +0 -37
  209. package/dist/drawer/index.d.ts +0 -37
  210. package/dist/drawer/useRenderSlot.d.ts +0 -3
  211. package/dist/dropdown/Dropdown.d.ts +0 -6
  212. package/dist/dropdown/DropdownContext.d.ts +0 -81
  213. package/dist/dropdown/DropdownDivider.d.ts +0 -10
  214. package/dist/dropdown/DropdownGroup.d.ts +0 -11
  215. package/dist/dropdown/DropdownItem.d.ts +0 -12
  216. package/dist/dropdown/DropdownItemContext.d.ts +0 -17
  217. package/dist/dropdown/DropdownItemIndicator.d.ts +0 -11
  218. package/dist/dropdown/DropdownItemText.d.ts +0 -9
  219. package/dist/dropdown/DropdownItems.d.ts +0 -21
  220. package/dist/dropdown/DropdownItemsGroupContext.d.ts +0 -8
  221. package/dist/dropdown/DropdownLabel.d.ts +0 -11
  222. package/dist/dropdown/DropdownLeadingIcon.d.ts +0 -7
  223. package/dist/dropdown/DropdownPopover.d.ts +0 -6
  224. package/dist/dropdown/DropdownPortal.d.ts +0 -2
  225. package/dist/dropdown/DropdownTrigger.d.ts +0 -12
  226. package/dist/dropdown/DropdownTrigger.styles.d.ts +0 -5
  227. package/dist/dropdown/DropdownValue.d.ts +0 -11
  228. package/dist/dropdown/index.d.mts +0 -29
  229. package/dist/dropdown/index.d.ts +0 -29
  230. package/dist/dropdown/types.d.ts +0 -8
  231. package/dist/dropdown/useDropdown.d.ts +0 -41
  232. package/dist/dropdown/utils.d.ts +0 -13
  233. package/dist/file-upload/FileUpload.d.ts +0 -130
  234. package/dist/file-upload/FileUploadAcceptedFile.d.ts +0 -25
  235. package/dist/file-upload/FileUploadContext.d.ts +0 -17
  236. package/dist/file-upload/FileUploadDropzone.d.ts +0 -10
  237. package/dist/file-upload/FileUploadItemDeleteTrigger.d.ts +0 -11
  238. package/dist/file-upload/FileUploadPreviewImage.d.ts +0 -17
  239. package/dist/file-upload/FileUploadRejectedFile.d.ts +0 -24
  240. package/dist/file-upload/FileUploadRejectedFileDeleteTrigger.d.ts +0 -12
  241. package/dist/file-upload/FileUploadTrigger.d.ts +0 -12
  242. package/dist/file-upload/constants.d.ts +0 -29
  243. package/dist/file-upload/index.d.mts +0 -22
  244. package/dist/file-upload/index.d.ts +0 -22
  245. package/dist/file-upload/test-utils.d.ts +0 -9
  246. package/dist/file-upload/useFileUploadState.d.ts +0 -88
  247. package/dist/file-upload/utils.d.ts +0 -40
  248. package/dist/form-field/FormField.d.ts +0 -21
  249. package/dist/form-field/FormFieldAlertMessage.d.ts +0 -9
  250. package/dist/form-field/FormFieldCharactersCount.d.ts +0 -26
  251. package/dist/form-field/FormFieldContext.d.ts +0 -49
  252. package/dist/form-field/FormFieldControl.d.ts +0 -12
  253. package/dist/form-field/FormFieldErrorMessage.d.ts +0 -9
  254. package/dist/form-field/FormFieldHelperMessage.d.ts +0 -9
  255. package/dist/form-field/FormFieldLabel.d.ts +0 -13
  256. package/dist/form-field/FormFieldMessage.d.ts +0 -8
  257. package/dist/form-field/FormFieldProvider.d.ts +0 -9
  258. package/dist/form-field/FormFieldRequiredIndicator.d.ts +0 -9
  259. package/dist/form-field/FormFieldStateMessage.d.ts +0 -10
  260. package/dist/form-field/FormFieldSuccessMessage.d.ts +0 -9
  261. package/dist/form-field/index.d.mts +0 -31
  262. package/dist/form-field/index.d.ts +0 -31
  263. package/dist/icon/Icon.d.ts +0 -17
  264. package/dist/icon/Icon.styles.d.ts +0 -6
  265. package/dist/icon/index.d.mts +0 -1
  266. package/dist/icon/index.d.ts +0 -1
  267. package/dist/icon-button/IconButton.d.ts +0 -10
  268. package/dist/icon-button/IconButton.styles.d.ts +0 -5
  269. package/dist/icon-button/index.d.mts +0 -1
  270. package/dist/icon-button/index.d.ts +0 -1
  271. package/dist/input/Input.d.ts +0 -14
  272. package/dist/input/Input.styles.d.ts +0 -11
  273. package/dist/input/InputAddon.d.ts +0 -9
  274. package/dist/input/InputAddon.styles.d.ts +0 -9
  275. package/dist/input/InputClearButton.d.ts +0 -12
  276. package/dist/input/InputGroup.d.ts +0 -17
  277. package/dist/input/InputGroup.styles.d.ts +0 -6
  278. package/dist/input/InputGroupContext.d.ts +0 -14
  279. package/dist/input/InputIcon.d.ts +0 -6
  280. package/dist/input/InputLeadingAddon.d.ts +0 -11
  281. package/dist/input/InputLeadingIcon.d.ts +0 -7
  282. package/dist/input/InputTrailingAddon.d.ts +0 -11
  283. package/dist/input/InputTrailingIcon.d.ts +0 -7
  284. package/dist/input/index.d.mts +0 -21
  285. package/dist/input/index.d.ts +0 -21
  286. package/dist/input-otp/InputOTP.d.ts +0 -90
  287. package/dist/input-otp/InputOTP.styles.d.ts +0 -10
  288. package/dist/input-otp/InputOTPContext.d.ts +0 -17
  289. package/dist/input-otp/InputOTPGroup.d.ts +0 -7
  290. package/dist/input-otp/InputOTPSeparator.d.ts +0 -7
  291. package/dist/input-otp/InputOTPSlot.d.ts +0 -12
  292. package/dist/input-otp/index.d.mts +0 -14
  293. package/dist/input-otp/index.d.ts +0 -14
  294. package/dist/input-otp/useInputOTP.d.ts +0 -48
  295. package/dist/kbd/Kbd.d.ts +0 -5
  296. package/dist/kbd/index.d.mts +0 -1
  297. package/dist/kbd/index.d.ts +0 -1
  298. package/dist/label/Label.d.ts +0 -9
  299. package/dist/label/LabelRequiredIndicator.d.ts +0 -6
  300. package/dist/label/index.d.mts +0 -7
  301. package/dist/label/index.d.ts +0 -7
  302. package/dist/link-box/LinkBox.d.ts +0 -8
  303. package/dist/link-box/LinkBoxLink.d.ts +0 -8
  304. package/dist/link-box/LinkBoxRaised.d.ts +0 -9
  305. package/dist/link-box/index.d.mts +0 -9
  306. package/dist/link-box/index.d.ts +0 -9
  307. package/dist/meter/Meter.d.ts +0 -18
  308. package/dist/meter/MeterContext.d.ts +0 -12
  309. package/dist/meter/MeterLabel.d.ts +0 -7
  310. package/dist/meter/MeterTrack.d.ts +0 -7
  311. package/dist/meter/MeterTrack.styles.d.ts +0 -8
  312. package/dist/meter/MeterValue.d.ts +0 -9
  313. package/dist/meter/index.d.mts +0 -13
  314. package/dist/meter/index.d.ts +0 -13
  315. package/dist/meter/useIntersectionAnimation.d.ts +0 -26
  316. package/dist/pagination/Pagination.d.ts +0 -8
  317. package/dist/pagination/PaginationContext.d.ts +0 -43
  318. package/dist/pagination/PaginationEllipsis.d.ts +0 -9
  319. package/dist/pagination/PaginationFirstPageTrigger.d.ts +0 -22
  320. package/dist/pagination/PaginationItem.d.ts +0 -31
  321. package/dist/pagination/PaginationLastPageTrigger.d.ts +0 -22
  322. package/dist/pagination/PaginationNextTrigger.d.ts +0 -22
  323. package/dist/pagination/PaginationPages.d.ts +0 -16
  324. package/dist/pagination/PaginationPrevTrigger.d.ts +0 -22
  325. package/dist/pagination/index.d.mts +0 -18
  326. package/dist/pagination/index.d.ts +0 -18
  327. package/dist/pagination/utils.d.ts +0 -1
  328. package/dist/popover/Popover.d.ts +0 -9
  329. package/dist/popover/PopoverAnchor.d.ts +0 -9
  330. package/dist/popover/PopoverArrow.d.ts +0 -9
  331. package/dist/popover/PopoverCloseButton.d.ts +0 -10
  332. package/dist/popover/PopoverContent.d.ts +0 -10
  333. package/dist/popover/PopoverContent.styles.d.ts +0 -9
  334. package/dist/popover/PopoverContext.d.ts +0 -15
  335. package/dist/popover/PopoverHeader.d.ts +0 -10
  336. package/dist/popover/PopoverPortal.d.ts +0 -7
  337. package/dist/popover/PopoverTrigger.d.ts +0 -9
  338. package/dist/popover/index.d.mts +0 -17
  339. package/dist/popover/index.d.ts +0 -17
  340. package/dist/portal/Portal.d.ts +0 -10
  341. package/dist/portal/index.d.mts +0 -1
  342. package/dist/portal/index.d.ts +0 -1
  343. package/dist/progress/Progress.d.ts +0 -24
  344. package/dist/progress/ProgressContext.d.ts +0 -13
  345. package/dist/progress/ProgressIndicator.d.ts +0 -13
  346. package/dist/progress/ProgressLabel.d.ts +0 -7
  347. package/dist/progress/ProgressTrack.d.ts +0 -7
  348. package/dist/progress/ProgressValue.d.ts +0 -7
  349. package/dist/progress/index.d.mts +0 -13
  350. package/dist/progress/index.d.ts +0 -13
  351. package/dist/progress-tracker/ProgressTracker.d.ts +0 -27
  352. package/dist/progress-tracker/ProgressTracker.styles.d.ts +0 -1
  353. package/dist/progress-tracker/ProgressTrackerContext.d.ts +0 -15
  354. package/dist/progress-tracker/ProgressTrackerStep.d.ts +0 -12
  355. package/dist/progress-tracker/ProgressTrackerStep.styles.d.ts +0 -10
  356. package/dist/progress-tracker/ProgressTrackerStepIndicator.d.ts +0 -15
  357. package/dist/progress-tracker/ProgressTrackerStepIndicator.styles.d.ts +0 -7
  358. package/dist/progress-tracker/ProgressTrackerStepLabel.d.ts +0 -9
  359. package/dist/progress-tracker/index.d.mts +0 -10
  360. package/dist/progress-tracker/index.d.ts +0 -10
  361. package/dist/radio-group/Radio.d.ts +0 -9
  362. package/dist/radio-group/RadioGroup.d.ts +0 -50
  363. package/dist/radio-group/RadioGroup.styles.d.ts +0 -5
  364. package/dist/radio-group/RadioGroupContext.d.ts +0 -5
  365. package/dist/radio-group/RadioGroupProvider.d.ts +0 -7
  366. package/dist/radio-group/RadioIndicator.d.ts +0 -15
  367. package/dist/radio-group/RadioIndicator.styles.d.ts +0 -5
  368. package/dist/radio-group/RadioInput.d.ts +0 -37
  369. package/dist/radio-group/RadioInput.styles.d.ts +0 -5
  370. package/dist/radio-group/index.d.mts +0 -7
  371. package/dist/radio-group/index.d.ts +0 -7
  372. package/dist/rating/Rating.d.ts +0 -57
  373. package/dist/rating/RatingStar.d.ts +0 -19
  374. package/dist/rating/RatingStar.styles.d.ts +0 -14
  375. package/dist/rating/index.d.mts +0 -1
  376. package/dist/rating/index.d.ts +0 -1
  377. package/dist/rating/types.d.ts +0 -2
  378. package/dist/rating/utils.d.ts +0 -7
  379. package/dist/rating-display/RatingDisplay.d.ts +0 -31
  380. package/dist/rating-display/RatingDisplayContext.d.ts +0 -12
  381. package/dist/rating-display/RatingDisplayCount.d.ts +0 -12
  382. package/dist/rating-display/RatingDisplayStar.d.ts +0 -16
  383. package/dist/rating-display/RatingDisplayStars.d.ts +0 -22
  384. package/dist/rating-display/RatingDisplayValue.d.ts +0 -13
  385. package/dist/rating-display/index.d.mts +0 -14
  386. package/dist/rating-display/index.d.ts +0 -14
  387. package/dist/rating-display/types.d.ts +0 -1
  388. package/dist/rating-display/utils.d.ts +0 -10
  389. package/dist/scrolling-list/ScrollingList.d.ts +0 -57
  390. package/dist/scrolling-list/ScrollingListControls.d.ts +0 -18
  391. package/dist/scrolling-list/ScrollingListItem.d.ts +0 -17
  392. package/dist/scrolling-list/ScrollingListItems.d.ts +0 -11
  393. package/dist/scrolling-list/ScrollingListNextButton.d.ts +0 -5
  394. package/dist/scrolling-list/ScrollingListPrevButton.d.ts +0 -5
  395. package/dist/scrolling-list/ScrollingListSkipButton.d.ts +0 -9
  396. package/dist/scrolling-list/index.d.mts +0 -15
  397. package/dist/scrolling-list/index.d.ts +0 -15
  398. package/dist/scrolling-list/useFocusWithinScroll.d.ts +0 -3
  399. package/dist/segmented-control/SegmentedControl.d.ts +0 -22
  400. package/dist/segmented-control/SegmentedControl.styles.d.ts +0 -5
  401. package/dist/segmented-control/SegmentedControlContext.d.ts +0 -7
  402. package/dist/segmented-control/SegmentedControlIndicator.d.ts +0 -8
  403. package/dist/segmented-control/SegmentedControlItem.d.ts +0 -18
  404. package/dist/segmented-control/index.d.mts +0 -10
  405. package/dist/segmented-control/index.d.ts +0 -10
  406. package/dist/segmented-gauge/SegmentedGauge.d.ts +0 -66
  407. package/dist/segmented-gauge/SegmentedGaugeContext.d.ts +0 -14
  408. package/dist/segmented-gauge/SegmentedGaugeLabel.d.ts +0 -9
  409. package/dist/segmented-gauge/SegmentedGaugeSegment.d.ts +0 -12
  410. package/dist/segmented-gauge/SegmentedGaugeTrack.d.ts +0 -8
  411. package/dist/segmented-gauge/index.d.mts +0 -13
  412. package/dist/segmented-gauge/index.d.ts +0 -13
  413. package/dist/select/Select.d.ts +0 -6
  414. package/dist/select/SelectContext.d.ts +0 -59
  415. package/dist/select/SelectGroup.d.ts +0 -11
  416. package/dist/select/SelectItem.d.ts +0 -11
  417. package/dist/select/SelectItems.d.ts +0 -10
  418. package/dist/select/SelectItemsGroupContext.d.ts +0 -9
  419. package/dist/select/SelectLabel.d.ts +0 -8
  420. package/dist/select/SelectLeadingIcon.d.ts +0 -7
  421. package/dist/select/SelectPlaceholder.d.ts +0 -10
  422. package/dist/select/SelectTrigger.d.ts +0 -16
  423. package/dist/select/SelectTrigger.styles.d.ts +0 -5
  424. package/dist/select/SelectValue.d.ts +0 -15
  425. package/dist/select/index.d.mts +0 -21
  426. package/dist/select/index.d.ts +0 -21
  427. package/dist/select/types.d.ts +0 -6
  428. package/dist/select/utils.d.ts +0 -4
  429. package/dist/skeleton/Skeleton.d.ts +0 -17
  430. package/dist/skeleton/Skeleton.styles.d.ts +0 -5
  431. package/dist/skeleton/SkeletonItem.d.ts +0 -31
  432. package/dist/skeleton/SkeletonItem.styles.d.ts +0 -8
  433. package/dist/skeleton/index.d.mts +0 -8
  434. package/dist/skeleton/index.d.ts +0 -8
  435. package/dist/slider/Slider.d.ts +0 -55
  436. package/dist/slider/Slider.styles.d.ts +0 -1
  437. package/dist/slider/SliderContext.d.ts +0 -13
  438. package/dist/slider/SliderControl.d.ts +0 -7
  439. package/dist/slider/SliderIndicator.d.ts +0 -7
  440. package/dist/slider/SliderLabel.d.ts +0 -13
  441. package/dist/slider/SliderMaxValue.d.ts +0 -6
  442. package/dist/slider/SliderMinValue.d.ts +0 -6
  443. package/dist/slider/SliderThumb.d.ts +0 -7
  444. package/dist/slider/SliderThumb.styles.d.ts +0 -5
  445. package/dist/slider/SliderThumbContext.d.ts +0 -5
  446. package/dist/slider/SliderTrack.d.ts +0 -7
  447. package/dist/slider/SliderTrack.styles.d.ts +0 -6
  448. package/dist/slider/SliderValue.d.ts +0 -12
  449. package/dist/slider/index.d.mts +0 -20
  450. package/dist/slider/index.d.ts +0 -20
  451. package/dist/slider/useSliderValueBoundaries.d.ts +0 -12
  452. package/dist/slot/Slot.d.ts +0 -12
  453. package/dist/slot/index.d.mts +0 -1
  454. package/dist/slot/index.d.ts +0 -1
  455. package/dist/snackbar/Snackbar.d.ts +0 -29
  456. package/dist/snackbar/SnackbarItem.d.ts +0 -49
  457. package/dist/snackbar/SnackbarItem.styles.d.ts +0 -10
  458. package/dist/snackbar/SnackbarItemAction.d.ts +0 -10
  459. package/dist/snackbar/SnackbarItemClose.d.ts +0 -9
  460. package/dist/snackbar/SnackbarItemContext.d.ts +0 -8
  461. package/dist/snackbar/SnackbarItemIcon.d.ts +0 -7
  462. package/dist/snackbar/SnackbarRegion.d.ts +0 -30
  463. package/dist/snackbar/SnackbarRegion.styles.d.ts +0 -5
  464. package/dist/snackbar/index.d.mts +0 -13
  465. package/dist/snackbar/index.d.ts +0 -13
  466. package/dist/snackbar/snackbarVariants.d.ts +0 -74
  467. package/dist/snackbar/useSnackbarGlobalStore.d.ts +0 -18
  468. package/dist/snackbar/useSwipe.d.ts +0 -15
  469. package/dist/spinner/Spinner.d.ts +0 -9
  470. package/dist/spinner/Spinner.styles.d.ts +0 -7
  471. package/dist/spinner/index.d.mts +0 -1
  472. package/dist/spinner/index.d.ts +0 -1
  473. package/dist/stepper/Stepper.d.ts +0 -9
  474. package/dist/stepper/StepperButton.d.ts +0 -14
  475. package/dist/stepper/StepperInput.d.ts +0 -7
  476. package/dist/stepper/index.d.mts +0 -9
  477. package/dist/stepper/index.d.ts +0 -9
  478. package/dist/stepper/types.d.ts +0 -46
  479. package/dist/stepper/useStepper.d.ts +0 -2
  480. package/dist/switch/Switch.d.ts +0 -6
  481. package/dist/switch/SwitchInput.d.ts +0 -53
  482. package/dist/switch/SwitchInput.styles.d.ts +0 -16
  483. package/dist/switch/SwitchLabel.d.ts +0 -17
  484. package/dist/switch/SwitchLabel.styles.d.ts +0 -5
  485. package/dist/switch/index.d.mts +0 -1
  486. package/dist/switch/index.d.ts +0 -1
  487. package/dist/tabs/Tabs.d.ts +0 -24
  488. package/dist/tabs/TabsContent.d.ts +0 -22
  489. package/dist/tabs/TabsContent.styles.d.ts +0 -3
  490. package/dist/tabs/TabsContext.d.ts +0 -7
  491. package/dist/tabs/TabsList.d.ts +0 -20
  492. package/dist/tabs/TabsList.styles.d.ts +0 -3
  493. package/dist/tabs/TabsPopover.d.ts +0 -29
  494. package/dist/tabs/TabsPopoverAbstraction.d.ts +0 -27
  495. package/dist/tabs/TabsRoot.styles.d.ts +0 -1
  496. package/dist/tabs/TabsTrigger.d.ts +0 -41
  497. package/dist/tabs/TabsTrigger.styles.d.ts +0 -8
  498. package/dist/tabs/index.d.mts +0 -13
  499. package/dist/tabs/index.d.ts +0 -13
  500. package/dist/tabs/useRenderSlot.d.ts +0 -1
  501. package/dist/tabs/useResizeObserver.d.ts +0 -8
  502. package/dist/tag/Tag.d.ts +0 -17
  503. package/dist/tag/Tag.styles.d.ts +0 -8
  504. package/dist/tag/index.d.mts +0 -1
  505. package/dist/tag/index.d.ts +0 -1
  506. package/dist/tag/variants/filled.d.ts +0 -37
  507. package/dist/tag/variants/index.d.mts +0 -3
  508. package/dist/tag/variants/index.d.ts +0 -3
  509. package/dist/tag/variants/outlined.d.ts +0 -33
  510. package/dist/tag/variants/tinted.d.ts +0 -33
  511. package/dist/text-link/TextLink.d.ts +0 -16
  512. package/dist/text-link/index.d.mts +0 -1
  513. package/dist/text-link/index.d.ts +0 -1
  514. package/dist/textarea/Textarea.d.ts +0 -14
  515. package/dist/textarea/TextareaClearButton.d.ts +0 -10
  516. package/dist/textarea/TextareaGroup.d.ts +0 -6
  517. package/dist/textarea/TextareaLeadingIcon.d.ts +0 -7
  518. package/dist/textarea/TextareaTrailingIcon.d.ts +0 -7
  519. package/dist/textarea/index.d.mts +0 -14
  520. package/dist/textarea/index.d.ts +0 -14
  521. package/dist/toast/Toast.d.ts +0 -4
  522. package/dist/toast/Toast.styles.d.ts +0 -10
  523. package/dist/toast/index.d.mts +0 -20
  524. package/dist/toast/index.d.ts +0 -20
  525. package/dist/toast/types.d.ts +0 -44
  526. package/dist/toast/useRenderSlot.d.ts +0 -3
  527. package/dist/toast/useToastManager.d.ts +0 -2
  528. package/dist/visually-hidden/VisuallyHidden.d.ts +0 -12
  529. package/dist/visually-hidden/index.d.mts +0 -1
  530. package/dist/visually-hidden/index.d.ts +0 -1
@@ -1,22 +0,0 @@
1
- import { ComponentPropsWithoutRef, Ref } from 'react';
2
- type AnchorProps = ComponentPropsWithoutRef<'a'> & {
3
- href: string;
4
- asChild?: never;
5
- };
6
- type ButtonProps = ComponentPropsWithoutRef<'button'> & {
7
- /**
8
- * Change the component to the HTML tag or custom component of the only child.
9
- * Unavailable for anchor items (with `href` prop) since the component will already be rendered as an anchor element.
10
- */
11
- asChild?: boolean;
12
- href?: never;
13
- };
14
- export type LastPageTriggerProps = (AnchorProps | ButtonProps) & {
15
- 'aria-label': string;
16
- ref?: Ref<HTMLButtonElement>;
17
- };
18
- export declare const LastPageTrigger: {
19
- ({ children, className, href, ref, ...props }: LastPageTriggerProps): import("react/jsx-runtime").JSX.Element;
20
- displayName: string;
21
- };
22
- export {};
@@ -1,22 +0,0 @@
1
- import { ComponentPropsWithoutRef, Ref } from 'react';
2
- type AnchorProps = ComponentPropsWithoutRef<'a'> & {
3
- href: string;
4
- asChild?: never;
5
- };
6
- type ButtonProps = ComponentPropsWithoutRef<'button'> & {
7
- /**
8
- * Change the component to the HTML tag or custom component of the only child.
9
- * Unavailable for anchor items (with `href` prop) since the component will already be rendered as an anchor element.
10
- */
11
- asChild?: boolean;
12
- href?: never;
13
- };
14
- export type NextTriggerProps = (AnchorProps | ButtonProps) & {
15
- 'aria-label': string;
16
- ref?: Ref<HTMLButtonElement>;
17
- };
18
- export declare const NextTrigger: {
19
- ({ children, className, href, ref, ...props }: NextTriggerProps): import("react/jsx-runtime").JSX.Element;
20
- displayName: string;
21
- };
22
- export {};
@@ -1,16 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import * as pagination from '@zag-js/pagination';
3
- type PageItem = Extract<pagination.Api['pages'][number], {
4
- type: 'page';
5
- }>;
6
- type TweakedPaginationApi<T extends 'noEllipsis' | ''> = Omit<pagination.Api, 'pages'> & {
7
- pages: T extends 'noEllipsis' ? PageItem[] : pagination.Api['pages'];
8
- };
9
- interface PagesProps<T extends 'noEllipsis' | ''> {
10
- children: (pagination: TweakedPaginationApi<T>) => ReactNode;
11
- }
12
- export declare const Pages: {
13
- <T extends "noEllipsis" | "" = "">({ children }: PagesProps<T>): ReactNode;
14
- displayName: string;
15
- };
16
- export {};
@@ -1,22 +0,0 @@
1
- import { ComponentPropsWithoutRef, Ref } from 'react';
2
- type AnchorProps = ComponentPropsWithoutRef<'a'> & {
3
- href: string;
4
- asChild?: never;
5
- };
6
- type ButtonProps = ComponentPropsWithoutRef<'button'> & {
7
- /**
8
- * Change the component to the HTML tag or custom component of the only child.
9
- * Unavailable for anchor items (with `href` prop) since the component will already be rendered as an anchor element.
10
- */
11
- asChild?: boolean;
12
- href?: never;
13
- };
14
- export type PrevTriggerProps = (AnchorProps | ButtonProps) & {
15
- 'aria-label': string;
16
- ref?: Ref<HTMLButtonElement>;
17
- };
18
- export declare const PrevTrigger: {
19
- ({ children, className, href, ref, ...props }: PrevTriggerProps): import("react/jsx-runtime").JSX.Element;
20
- displayName: string;
21
- };
22
- export {};
@@ -1,18 +0,0 @@
1
- import { FC } from 'react';
2
- import { PaginationProps } from './Pagination';
3
- import { Ellipsis } from './PaginationEllipsis';
4
- import { FirstPageTrigger } from './PaginationFirstPageTrigger';
5
- import { Item } from './PaginationItem';
6
- import { LastPageTrigger } from './PaginationLastPageTrigger';
7
- import { NextTrigger } from './PaginationNextTrigger';
8
- import { Pages } from './PaginationPages';
9
- import { PrevTrigger } from './PaginationPrevTrigger';
10
- export declare const Pagination: FC<PaginationProps> & {
11
- PrevTrigger: typeof PrevTrigger;
12
- NextTrigger: typeof NextTrigger;
13
- Pages: typeof Pages;
14
- Item: typeof Item;
15
- Ellipsis: typeof Ellipsis;
16
- FirstPageTrigger: typeof FirstPageTrigger;
17
- LastPageTrigger: typeof LastPageTrigger;
18
- };
@@ -1,18 +0,0 @@
1
- import { FC } from 'react';
2
- import { PaginationProps } from './Pagination';
3
- import { Ellipsis } from './PaginationEllipsis';
4
- import { FirstPageTrigger } from './PaginationFirstPageTrigger';
5
- import { Item } from './PaginationItem';
6
- import { LastPageTrigger } from './PaginationLastPageTrigger';
7
- import { NextTrigger } from './PaginationNextTrigger';
8
- import { Pages } from './PaginationPages';
9
- import { PrevTrigger } from './PaginationPrevTrigger';
10
- export declare const Pagination: FC<PaginationProps> & {
11
- PrevTrigger: typeof PrevTrigger;
12
- NextTrigger: typeof NextTrigger;
13
- Pages: typeof Pages;
14
- Item: typeof Item;
15
- Ellipsis: typeof Ellipsis;
16
- FirstPageTrigger: typeof FirstPageTrigger;
17
- LastPageTrigger: typeof LastPageTrigger;
18
- };
@@ -1 +0,0 @@
1
- export declare function sliceArrayWithIndex(arr: any[], index: number, length: number): any[];
@@ -1,9 +0,0 @@
1
- import { Popover as RadixPopover } from 'radix-ui';
2
- import { PopoverIntent } from './PopoverContext';
3
- export type PopoverProps = RadixPopover.PopoverProps & {
4
- intent?: PopoverIntent;
5
- };
6
- export declare const Popover: {
7
- ({ children, intent, modal, ...rest }: PopoverProps): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
@@ -1,9 +0,0 @@
1
- import { Popover as RadixPopover } from 'radix-ui';
2
- import { Ref } from 'react';
3
- export type AnchorProps = RadixPopover.PopoverAnchorProps & {
4
- ref?: Ref<HTMLDivElement>;
5
- };
6
- export declare const Anchor: {
7
- ({ asChild, children, ref, ...rest }: AnchorProps): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
@@ -1,9 +0,0 @@
1
- import { Popover as RadixPopover } from 'radix-ui';
2
- import { Ref } from 'react';
3
- export type ArrowProps = RadixPopover.PopoverArrowProps & {
4
- ref?: Ref<SVGSVGElement>;
5
- };
6
- export declare const Arrow: {
7
- ({ asChild, width, height, className, ref, ...rest }: ArrowProps): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
@@ -1,10 +0,0 @@
1
- import { Popover as RadixPopover } from 'radix-ui';
2
- import { Ref } from 'react';
3
- export type CloseButtonProps = RadixPopover.PopoverCloseProps & {
4
- 'aria-label': string;
5
- ref?: Ref<HTMLButtonElement>;
6
- };
7
- export declare const CloseButton: {
8
- ({ "aria-label": ariaLabel, className, ref, ...rest }: CloseButtonProps): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
@@ -1,10 +0,0 @@
1
- import { Popover as RadixPopover } from 'radix-ui';
2
- import { Ref } from 'react';
3
- import { StylesProps } from './PopoverContent.styles';
4
- export type ContentProps = RadixPopover.PopoverContentProps & StylesProps & {
5
- ref?: Ref<HTMLDivElement>;
6
- };
7
- export declare const Content: {
8
- ({ className, children, matchTriggerWidth, align, arrowPadding, asChild, avoidCollisions, "aria-labelledby": ariaLabelledBy, collisionBoundary, collisionPadding, hideWhenDetached, side, sideOffset, sticky, inset, elevation, ref, ...rest }: ContentProps): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
@@ -1,9 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- export declare const styles: (props?: ({
3
- intent?: "main" | "alert" | "support" | "accent" | "success" | "info" | "neutral" | "danger" | "surface" | null | undefined;
4
- matchTriggerWidth?: boolean | null | undefined;
5
- enforceBoundaries?: boolean | null | undefined;
6
- inset?: boolean | null | undefined;
7
- elevation?: "popover" | "dropdown" | null | undefined;
8
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
- export type StylesProps = VariantProps<typeof styles>;
@@ -1,15 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type HeaderId = string | null;
3
- export type PopoverIntent = 'surface' | 'main' | 'support' | 'accent' | 'success' | 'alert' | 'danger' | 'info' | 'neutral';
4
- export interface PopoverContextState {
5
- headerId: HeaderId;
6
- setHeaderId: (id: HeaderId) => void;
7
- intent: PopoverIntent;
8
- }
9
- export declare const ID_PREFIX = ":popover";
10
- export declare const PopoverProvider: ({ children, intent, }: {
11
- children: ReactNode;
12
- intent: PopoverIntent;
13
- }) => import("react/jsx-runtime").JSX.Element;
14
- export declare const usePopover: () => PopoverContextState;
15
- export {};
@@ -1,10 +0,0 @@
1
- import { ReactNode, Ref } from 'react';
2
- export interface HeaderProps {
3
- children: ReactNode;
4
- className?: string;
5
- ref?: Ref<HTMLDivElement>;
6
- }
7
- export declare const Header: {
8
- ({ children, className, ref, ...rest }: HeaderProps): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
@@ -1,7 +0,0 @@
1
- import { Popover as RadixPopover } from 'radix-ui';
2
- import { ReactElement } from 'react';
3
- export type PortalProps = RadixPopover.PopoverPortalProps;
4
- export declare const Portal: {
5
- ({ children, ...rest }: PortalProps): ReactElement;
6
- displayName: string;
7
- };
@@ -1,9 +0,0 @@
1
- import { Popover as RadixPopover } from 'radix-ui';
2
- import { Ref } from 'react';
3
- export type TriggerProps = RadixPopover.PopoverTriggerProps & {
4
- ref?: Ref<HTMLButtonElement>;
5
- };
6
- export declare const Trigger: {
7
- ({ asChild, children, ref, ...rest }: TriggerProps): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
@@ -1,17 +0,0 @@
1
- import { Popover as Root } from './Popover';
2
- import { Anchor } from './PopoverAnchor';
3
- import { Arrow } from './PopoverArrow';
4
- import { CloseButton } from './PopoverCloseButton';
5
- import { Content } from './PopoverContent';
6
- import { Header } from './PopoverHeader';
7
- import { Portal } from './PopoverPortal';
8
- import { Trigger } from './PopoverTrigger';
9
- export declare const Popover: typeof Root & {
10
- Anchor: typeof Anchor;
11
- Arrow: typeof Arrow;
12
- CloseButton: typeof CloseButton;
13
- Content: typeof Content;
14
- Header: typeof Header;
15
- Portal: typeof Portal;
16
- Trigger: typeof Trigger;
17
- };
@@ -1,17 +0,0 @@
1
- import { Popover as Root } from './Popover';
2
- import { Anchor } from './PopoverAnchor';
3
- import { Arrow } from './PopoverArrow';
4
- import { CloseButton } from './PopoverCloseButton';
5
- import { Content } from './PopoverContent';
6
- import { Header } from './PopoverHeader';
7
- import { Portal } from './PopoverPortal';
8
- import { Trigger } from './PopoverTrigger';
9
- export declare const Popover: typeof Root & {
10
- Anchor: typeof Anchor;
11
- Arrow: typeof Arrow;
12
- CloseButton: typeof CloseButton;
13
- Content: typeof Content;
14
- Header: typeof Header;
15
- Portal: typeof Portal;
16
- Trigger: typeof Trigger;
17
- };
@@ -1,10 +0,0 @@
1
- import { PropsWithChildren, Ref } from 'react';
2
- interface PortalProps {
3
- /**
4
- * An optional different container where the portaled content should be appended.
5
- */
6
- container?: HTMLElement | null;
7
- ref?: Ref<HTMLDivElement>;
8
- }
9
- export declare const Portal: (props: PropsWithChildren<PortalProps>) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1 +0,0 @@
1
- export { Portal } from './Portal';
@@ -1 +0,0 @@
1
- export { Portal } from './Portal';
@@ -1,24 +0,0 @@
1
- import { Progress as BaseProgress } from '@base-ui/react/progress';
2
- import { ComponentProps, PropsWithChildren, Ref } from 'react';
3
- import { ProgressIndicatorStylesProps } from './ProgressIndicator';
4
- export interface ProgressProps extends Omit<ComponentProps<typeof BaseProgress.Root>, 'render'>, Pick<ProgressIndicatorStylesProps, 'intent'> {
5
- shape?: 'square' | 'rounded';
6
- /**
7
- * Callback called when the progress reaches its maximum value and the transition animation completes.
8
- */
9
- onComplete?: () => void;
10
- /**
11
- * Function that returns a string value that provides a human-readable text alternative for the current value of the progress bar.
12
- * @deprecated Use `getAriaValueText` instead. This prop is kept for backward compatibility.
13
- */
14
- getValueLabel?: (value: number, max: number) => string;
15
- /**
16
- * Change the default rendered element for the one passed as a child, merging their props and behavior.
17
- */
18
- asChild?: boolean;
19
- ref?: Ref<HTMLDivElement>;
20
- }
21
- export declare const Progress: {
22
- ({ className, value: valueProp, max, min, shape, intent, onComplete, getValueLabel, getAriaValueText: getAriaValueTextProp, children, ref, ...others }: PropsWithChildren<ProgressProps>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
@@ -1,13 +0,0 @@
1
- import { ProgressIndicatorStylesProps } from './ProgressIndicator';
2
- export interface ProgressContextValue {
3
- value: number | null;
4
- max: number;
5
- min: number;
6
- shape: 'square' | 'rounded';
7
- intent: ProgressIndicatorStylesProps['intent'];
8
- onLabelId: (id?: string) => void;
9
- onComplete?: () => void;
10
- }
11
- export declare const ProgressContext: import('react').Context<ProgressContextValue | null>;
12
- export declare const ID_PREFIX = ":progress";
13
- export declare const useProgress: () => ProgressContextValue;
@@ -1,13 +0,0 @@
1
- import { Progress as BaseProgress } from '@base-ui/react/progress';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { ComponentProps, PropsWithChildren } from 'react';
4
- export declare const progressIndicatorStyles: (props?: ({
5
- intent?: "main" | "alert" | "support" | "accent" | "success" | "info" | "neutral" | "danger" | null | undefined;
6
- shape?: "square" | "rounded" | null | undefined;
7
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
- export type ProgressIndicatorStylesProps = VariantProps<typeof progressIndicatorStyles>;
9
- export type ProgressIndicatorProps = Omit<ComponentProps<typeof BaseProgress.Indicator>, 'render'>;
10
- export declare const ProgressIndicator: {
11
- ({ className, style, ref, onTransitionEnd, ...others }: PropsWithChildren<ProgressIndicatorProps>): import("react/jsx-runtime").JSX.Element;
12
- displayName: string;
13
- };
@@ -1,7 +0,0 @@
1
- import { Progress as BaseProgress } from '@base-ui/react/progress';
2
- import { ComponentProps } from 'react';
3
- export type ProgressLabelProps = Omit<ComponentProps<typeof BaseProgress.Label>, 'render'>;
4
- export declare const ProgressLabel: {
5
- ({ id: idProp, children, ref: forwardedRef, ...others }: ProgressLabelProps): import("react/jsx-runtime").JSX.Element;
6
- displayName: string;
7
- };
@@ -1,7 +0,0 @@
1
- import { Progress as BaseProgress } from '@base-ui/react/progress';
2
- import { ComponentProps } from 'react';
3
- export type ProgressTrackProps = Omit<ComponentProps<typeof BaseProgress.Track>, 'render'>;
4
- export declare const ProgressTrack: {
5
- ({ className, ...others }: ProgressTrackProps): import("react/jsx-runtime").JSX.Element;
6
- displayName: string;
7
- };
@@ -1,7 +0,0 @@
1
- import { Progress as BaseProgress } from '@base-ui/react/progress';
2
- import { ComponentProps, PropsWithChildren } from 'react';
3
- export type ProgressValueProps = Omit<ComponentProps<typeof BaseProgress.Value>, 'render'>;
4
- export declare const ProgressValue: {
5
- ({ className, children, ...others }: PropsWithChildren<ProgressValueProps>): import("react/jsx-runtime").JSX.Element;
6
- displayName: string;
7
- };
@@ -1,13 +0,0 @@
1
- import { Progress as Root } from './Progress';
2
- import { ProgressLabel } from './ProgressLabel';
3
- import { ProgressTrack } from './ProgressTrack';
4
- import { ProgressValue } from './ProgressValue';
5
- export declare const Progress: typeof Root & {
6
- Label: typeof ProgressLabel;
7
- Track: typeof ProgressTrack;
8
- Value: typeof ProgressValue;
9
- };
10
- export { type ProgressProps } from './Progress';
11
- export { type ProgressLabelProps } from './ProgressLabel';
12
- export { type ProgressTrackProps } from './ProgressTrack';
13
- export { type ProgressValueProps } from './ProgressValue';
@@ -1,13 +0,0 @@
1
- import { Progress as Root } from './Progress';
2
- import { ProgressLabel } from './ProgressLabel';
3
- import { ProgressTrack } from './ProgressTrack';
4
- import { ProgressValue } from './ProgressValue';
5
- export declare const Progress: typeof Root & {
6
- Label: typeof ProgressLabel;
7
- Track: typeof ProgressTrack;
8
- Value: typeof ProgressValue;
9
- };
10
- export { type ProgressProps } from './Progress';
11
- export { type ProgressLabelProps } from './ProgressLabel';
12
- export { type ProgressTrackProps } from './ProgressTrack';
13
- export { type ProgressValueProps } from './ProgressValue';
@@ -1,27 +0,0 @@
1
- import { ComponentPropsWithRef, PropsWithChildren } from 'react';
2
- import { StepIndicatorVariantProps } from './ProgressTrackerStepIndicator.styles';
3
- export interface ProgressTrackerProps extends ComponentPropsWithRef<'div'>, Pick<StepIndicatorVariantProps, 'size' | 'intent'> {
4
- /**
5
- * The orientation of the progress tracker
6
- * @default 'horizontal"
7
- */
8
- orientation?: 'horizontal' | 'vertical';
9
- /**
10
- * The index of the current step.
11
- * @default 0
12
- */
13
- stepIndex?: number;
14
- /**
15
- * Event handler called when clicking on a step.
16
- */
17
- onStepClick?: (stepIndex: number) => void;
18
- /**
19
- * Sets the component as interactive or not.
20
- * @default false
21
- */
22
- readOnly?: boolean;
23
- }
24
- export declare const ProgressTracker: {
25
- ({ stepIndex, onStepClick, readOnly, intent, size, orientation, children, className, ref, ...rest }: PropsWithChildren<ProgressTrackerProps>): import("react/jsx-runtime").JSX.Element;
26
- displayName: string;
27
- };
@@ -1 +0,0 @@
1
- export declare const progressList: string;
@@ -1,15 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import { ProgressTrackerProps } from './ProgressTracker';
3
- export type ProgressTrackerContextInterface = Required<Pick<ProgressTrackerProps, 'stepIndex' | 'size' | 'intent' | 'readOnly'>> & Pick<ProgressTrackerProps, 'onStepClick'> & {
4
- steps: Map<string, string[]>;
5
- setSteps: Dispatch<SetStateAction<Map<string, string[]>>>;
6
- };
7
- export interface ProgressTrackerStepContextInterface {
8
- index: number;
9
- state: 'active' | 'complete' | 'incomplete';
10
- }
11
- export declare const ProgressTrackerContext: import('react').Context<ProgressTrackerContextInterface>;
12
- export declare const ProgressTrackerStepContext: import('react').Context<ProgressTrackerStepContextInterface>;
13
- export declare const useProgressTrackerContext: () => ProgressTrackerContextInterface;
14
- export declare const useProgressTrackerStepContext: () => ProgressTrackerStepContextInterface;
15
- export declare const ID_PREFIX = ":progress-tracker";
@@ -1,12 +0,0 @@
1
- import { ComponentPropsWithRef, ReactNode } from 'react';
2
- export type ProgressTrackerStepProps = ComponentPropsWithRef<'li'> & ({
3
- disabled?: boolean;
4
- children: ReactNode;
5
- } | {
6
- disabled?: boolean;
7
- 'aria-label': string;
8
- });
9
- export declare const ProgressTrackerStep: {
10
- ({ disabled, children, "aria-label": ariaLabel, className, ref, ...rest }: ProgressTrackerStepProps): import("react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
@@ -1,10 +0,0 @@
1
- export declare const stepItemVariant: (props?: ({
2
- size?: "sm" | "md" | "lg" | null | undefined;
3
- intent?: "support" | "success" | "neutral" | null | undefined;
4
- disabled?: boolean | null | undefined;
5
- disabledAfter?: boolean | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- export declare const stepButtonVariant: (props?: ({
8
- size?: "sm" | "md" | "lg" | null | undefined;
9
- readOnly?: boolean | null | undefined;
10
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,15 +0,0 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- export type ProgressTrackerStepIndicatorProps = ComponentPropsWithoutRef<'span'> & {
3
- /**
4
- * The content to be rendered when step status is complete (checkmark icon by default)
5
- */
6
- complete?: ReactNode;
7
- /**
8
- * The content to be rendered when step status is incomplete (step index by default)
9
- */
10
- incomplete?: ReactNode;
11
- };
12
- export declare const ProgressTrackerStepIndicator: {
13
- ({ complete, incomplete, className, }: ProgressTrackerStepIndicatorProps): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
@@ -1,7 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- export declare const stepIndicatorVariant: (props?: ({
3
- size?: "sm" | "md" | "lg" | null | undefined;
4
- intent?: "support" | "success" | "neutral" | null | undefined;
5
- state?: "active" | "complete" | "incomplete" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- export type StepIndicatorVariantProps = VariantProps<typeof stepIndicatorVariant>;
@@ -1,9 +0,0 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- type ProgressTrackerStepLabelProps = ComponentPropsWithoutRef<'span'> & {
3
- children: ReactNode;
4
- };
5
- export declare const ProgressTrackerStepLabel: {
6
- ({ className, children, }: ProgressTrackerStepLabelProps): import("react/jsx-runtime").JSX.Element;
7
- displayName: string;
8
- };
9
- export {};
@@ -1,10 +0,0 @@
1
- import { ProgressTracker as Root, ProgressTrackerProps } from './ProgressTracker';
2
- import { ProgressTrackerStep as Step, ProgressTrackerStepProps } from './ProgressTrackerStep';
3
- import { ProgressTrackerStepIndicator as StepIndicator, ProgressTrackerStepIndicatorProps } from './ProgressTrackerStepIndicator';
4
- import { ProgressTrackerStepLabel as StepLabel } from './ProgressTrackerStepLabel';
5
- export declare const ProgressTracker: typeof Root & {
6
- Step: typeof Step;
7
- StepLabel: typeof StepLabel;
8
- StepIndicator: typeof StepIndicator;
9
- };
10
- export type { ProgressTrackerProps, ProgressTrackerStepProps, ProgressTrackerStepIndicatorProps };
@@ -1,10 +0,0 @@
1
- import { ProgressTracker as Root, ProgressTrackerProps } from './ProgressTracker';
2
- import { ProgressTrackerStep as Step, ProgressTrackerStepProps } from './ProgressTrackerStep';
3
- import { ProgressTrackerStepIndicator as StepIndicator, ProgressTrackerStepIndicatorProps } from './ProgressTrackerStepIndicator';
4
- import { ProgressTrackerStepLabel as StepLabel } from './ProgressTrackerStepLabel';
5
- export declare const ProgressTracker: typeof Root & {
6
- Step: typeof Step;
7
- StepLabel: typeof StepLabel;
8
- StepIndicator: typeof StepIndicator;
9
- };
10
- export type { ProgressTrackerProps, ProgressTrackerStepProps, ProgressTrackerStepIndicatorProps };
@@ -1,9 +0,0 @@
1
- import { Ref } from 'react';
2
- import { RadioInputProps } from './RadioInput';
3
- export type RadioProps = RadioInputProps & {
4
- ref?: Ref<HTMLElement>;
5
- };
6
- export declare const Radio: {
7
- ({ className, children, disabled: disabledProp, ref, ...others }: RadioProps): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
@@ -1,50 +0,0 @@
1
- import { HTMLAttributes, Ref } from 'react';
2
- import { RadioGroupVariantsProps } from './RadioGroup.styles';
3
- import { RadioInputVariantsProps } from './RadioInput.styles';
4
- export interface RadioGroupProps extends RadioGroupVariantsProps, Pick<RadioInputVariantsProps, 'intent'>, Omit<HTMLAttributes<HTMLDivElement>, 'value' | 'defaultValue' | 'dir' | 'onChange'> {
5
- /**
6
- * Change the component to the HTML tag or custom component of the only child.
7
- */
8
- asChild?: boolean;
9
- /**
10
- * The value of the radio item that should be checked when initially rendered. Use when you do not need to control the state of the radio items.
11
- */
12
- defaultValue?: string;
13
- /**
14
- * The controlled value of the radio item to check. Should be used in conjunction with onValueChange.
15
- */
16
- value?: string;
17
- /**
18
- * Event handler called when the value changes.
19
- */
20
- onValueChange?: (value: string) => void;
21
- /**
22
- * When true, prevents the user from interacting with radio items.
23
- */
24
- disabled?: boolean;
25
- /**
26
- * The name of the group. Submitted with its owning form as part of a name/value pair.
27
- */
28
- name?: string;
29
- /**
30
- * When true, indicates that the user must check a radio item before the owning form can be submitted.
31
- */
32
- required?: boolean;
33
- /**
34
- * The orientation of the component.
35
- */
36
- orientation?: 'horizontal' | 'vertical';
37
- /**
38
- * The reading direction of the radio group.
39
- */
40
- dir?: 'ltr' | 'rtl';
41
- /**
42
- * When true, the label will be placed on the left side of the Radio
43
- */
44
- reverse?: boolean;
45
- ref?: Ref<HTMLDivElement>;
46
- }
47
- export declare const RadioGroup: {
48
- ({ orientation, intent, disabled, className, required: requiredProp, reverse, onValueChange: onValueChangeProp, ref, ...others }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
49
- displayName: string;
50
- };
@@ -1,5 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- export declare const radioGroupStyles: (props?: ({
3
- orientation?: "horizontal" | "vertical" | null | undefined;
4
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
- export type RadioGroupVariantsProps = VariantProps<typeof radioGroupStyles>;
@@ -1,5 +0,0 @@
1
- import { RadioGroupProps } from './RadioGroup';
2
- import { RadioInputProps } from './RadioInput';
3
- export type RadioGroupContextState = Pick<RadioInputProps, 'intent' | 'disabled'> & Pick<RadioGroupProps, 'reverse'>;
4
- export declare const RadioGroupContext: import('react').Context<RadioGroupContextState | null>;
5
- export declare const useRadioGroup: () => RadioGroupContextState;
@@ -1,7 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { RadioGroupProps } from './RadioGroup';
3
- import { RadioInputProps } from './RadioInput';
4
- export interface RadioGroupProviderProps extends Pick<RadioInputProps, 'intent' | 'disabled'>, Pick<RadioGroupProps, 'reverse'> {
5
- children: ReactNode;
6
- }
7
- export declare const RadioGroupProvider: ({ intent, disabled, reverse, children, }: RadioGroupProviderProps) => import("react/jsx-runtime").JSX.Element;