burne-ui 1.8.6 → 1.8.8

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 (318) hide show
  1. package/dist/components/composite/Accordion/Accordion.d.ts +1 -1
  2. package/dist/components/composite/Accordion/accordionAnimations.d.ts +4 -4
  3. package/dist/components/composite/Accordion/accordionParts.d.ts +3 -5
  4. package/dist/components/composite/Accordion/accordionStyles.d.ts +4 -1
  5. package/dist/components/composite/Accordion/accordionTypes.d.ts +14 -5
  6. package/dist/components/composite/Accordion/index.d.ts +5 -4
  7. package/dist/components/composite/AlertDialog/AlertDialog.d.ts +1 -1
  8. package/dist/components/composite/AlertDialog/alertDialogContext.d.ts +6 -2
  9. package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +9 -8
  10. package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +33 -7
  11. package/dist/components/composite/AlertDialog/index.d.ts +7 -3
  12. package/dist/components/composite/ButtonGroup/ButtonGroup.d.ts +2 -1
  13. package/dist/components/composite/ButtonGroup/buttonGroupContext.d.ts +6 -2
  14. package/dist/components/composite/ButtonGroup/buttonGroupTypes.d.ts +8 -2
  15. package/dist/components/composite/ButtonGroup/index.d.ts +2 -1
  16. package/dist/components/composite/CheckboxGroup/CheckboxGroup.d.ts +5 -4
  17. package/dist/components/composite/CheckboxGroup/checkboxGroupAnimations.d.ts +13 -12
  18. package/dist/components/composite/CheckboxGroup/checkboxGroupContext.d.ts +6 -2
  19. package/dist/components/composite/CheckboxGroup/checkboxGroupParts.d.ts +16 -13
  20. package/dist/components/composite/CheckboxGroup/checkboxGroupTypes.d.ts +29 -8
  21. package/dist/components/composite/CheckboxGroup/index.d.ts +18 -18
  22. package/dist/components/composite/Form/Form.d.ts +2 -1
  23. package/dist/components/composite/Form/formContext.d.ts +6 -2
  24. package/dist/components/composite/Form/formParts.d.ts +2 -0
  25. package/dist/components/composite/Form/formTypes.d.ts +19 -2
  26. package/dist/components/composite/Form/index.d.ts +4 -1
  27. package/dist/components/composite/RadioGroup/RadioGroup.d.ts +4 -3
  28. package/dist/components/composite/RadioGroup/index.d.ts +19 -17
  29. package/dist/components/composite/RadioGroup/radioGroupAnimations.d.ts +39 -0
  30. package/dist/components/composite/RadioGroup/radioGroupContext.d.ts +11 -0
  31. package/dist/components/composite/RadioGroup/radioGroupParts.d.ts +18 -13
  32. package/dist/components/composite/RadioGroup/radioGroupTypes.d.ts +40 -5
  33. package/dist/components/composite/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -1
  34. package/dist/components/composite/ToggleButtonGroup/index.d.ts +2 -1
  35. package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupContext.d.ts +6 -2
  36. package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupTypes.d.ts +8 -2
  37. package/dist/components/core/Alert/Alert.d.ts +5 -1
  38. package/dist/components/core/Alert/alertContext.d.ts +6 -2
  39. package/dist/components/core/Alert/alertTypes.d.ts +24 -2
  40. package/dist/components/core/Alert/index.d.ts +5 -1
  41. package/dist/components/core/Avatar/Avatar.d.ts +2 -1
  42. package/dist/components/core/Avatar/avatarContext.d.ts +6 -2
  43. package/dist/components/core/Avatar/avatarTypes.d.ts +8 -2
  44. package/dist/components/core/Avatar/index.d.ts +2 -1
  45. package/dist/components/core/Badge/Badge.d.ts +5 -1
  46. package/dist/components/core/Badge/badgeContext.d.ts +6 -2
  47. package/dist/components/core/Badge/badgeParts.d.ts +5 -1
  48. package/dist/components/core/Badge/badgeTypes.d.ts +43 -3
  49. package/dist/components/core/Badge/index.d.ts +10 -2
  50. package/dist/components/core/Breadcrumbs/Breadcrumbs.d.ts +2 -1
  51. package/dist/components/core/Breadcrumbs/breadcrumbsAnimations.d.ts +19 -1
  52. package/dist/components/core/Breadcrumbs/breadcrumbsContext.d.ts +6 -2
  53. package/dist/components/core/Breadcrumbs/breadcrumbsParts.d.ts +3 -1
  54. package/dist/components/core/Breadcrumbs/breadcrumbsTypes.d.ts +31 -2
  55. package/dist/components/core/Breadcrumbs/index.d.ts +3 -1
  56. package/dist/components/core/Button/Button.d.ts +5 -1
  57. package/dist/components/core/Button/buttonContext.d.ts +6 -2
  58. package/dist/components/core/Button/buttonParts.d.ts +15 -7
  59. package/dist/components/core/Button/buttonTypes.d.ts +46 -7
  60. package/dist/components/core/Button/index.d.ts +17 -5
  61. package/dist/components/core/Calendar/calendarAnimations.d.ts +19 -1
  62. package/dist/components/core/Calendar/calendarContext.d.ts +6 -2
  63. package/dist/components/core/Calendar/calendarParts.d.ts +13 -5
  64. package/dist/components/core/Calendar/calendarStyles.d.ts +1 -0
  65. package/dist/components/core/Calendar/calendarTypes.d.ts +43 -6
  66. package/dist/components/core/Calendar/index.d.ts +12 -4
  67. package/dist/components/core/Card/Card.d.ts +5 -1
  68. package/dist/components/core/Card/cardContext.d.ts +6 -2
  69. package/dist/components/core/Card/cardTypes.d.ts +23 -2
  70. package/dist/components/core/Card/index.d.ts +5 -1
  71. package/dist/components/core/Checkbox/Checkbox.d.ts +2 -1
  72. package/dist/components/core/Checkbox/checkboxAnimations.d.ts +26 -4
  73. package/dist/components/core/Checkbox/checkboxContext.d.ts +12 -2
  74. package/dist/components/core/Checkbox/checkboxParts.d.ts +11 -7
  75. package/dist/components/core/Checkbox/checkboxTypes.d.ts +45 -10
  76. package/dist/components/core/Checkbox/index.d.ts +5 -2
  77. package/dist/components/core/CloseButton/CloseButton.d.ts +2 -1
  78. package/dist/components/core/CloseButton/closeButtonContext.d.ts +6 -2
  79. package/dist/components/core/CloseButton/closeButtonStyles.d.ts +1 -1
  80. package/dist/components/core/CloseButton/closeButtonTypes.d.ts +12 -3
  81. package/dist/components/core/ColorPicker/ColorPicker.d.ts +4 -4
  82. package/dist/components/core/ColorPicker/ColorSlider.d.ts +3 -1
  83. package/dist/components/core/ColorPicker/ColorSwatch.d.ts +2 -1
  84. package/dist/components/core/ColorPicker/colorPickerContext.d.ts +6 -2
  85. package/dist/components/core/ColorPicker/colorPickerParts.d.ts +10 -2
  86. package/dist/components/core/ColorPicker/colorPickerTypes.d.ts +29 -9
  87. package/dist/components/core/ColorPicker/colorSliderContext.d.ts +6 -2
  88. package/dist/components/core/ColorPicker/colorSliderTypes.d.ts +16 -2
  89. package/dist/components/core/ColorPicker/colorSwatchContext.d.ts +6 -2
  90. package/dist/components/core/ColorPicker/colorSwatchTypes.d.ts +11 -2
  91. package/dist/components/core/ColorPicker/index.d.ts +14 -3
  92. package/dist/components/core/ComboBox/ComboBox.d.ts +2 -2
  93. package/dist/components/core/ComboBox/comboBoxAnimations.d.ts +19 -1
  94. package/dist/components/core/ComboBox/comboBoxContext.d.ts +6 -2
  95. package/dist/components/core/ComboBox/comboBoxFieldParts.d.ts +12 -14
  96. package/dist/components/core/ComboBox/comboBoxParts.d.ts +4 -1
  97. package/dist/components/core/ComboBox/comboBoxTypes.d.ts +27 -3
  98. package/dist/components/core/ComboBox/index.d.ts +15 -5
  99. package/dist/components/core/Dialog/Dialog.d.ts +1 -1
  100. package/dist/components/core/Dialog/dialogContext.d.ts +6 -2
  101. package/dist/components/core/Dialog/dialogParts.d.ts +10 -5
  102. package/dist/components/core/Dialog/dialogTypes.d.ts +33 -7
  103. package/dist/components/core/Dialog/index.d.ts +8 -3
  104. package/dist/components/core/Disclosure/Disclosure.d.ts +2 -1
  105. package/dist/components/core/Disclosure/disclosureContext.d.ts +6 -2
  106. package/dist/components/core/Disclosure/disclosureParts.d.ts +1 -1
  107. package/dist/components/core/Disclosure/disclosureTypes.d.ts +25 -7
  108. package/dist/components/core/Disclosure/index.d.ts +2 -1
  109. package/dist/components/core/Drawer/Drawer.d.ts +1 -1
  110. package/dist/components/core/Drawer/drawerContext.d.ts +6 -2
  111. package/dist/components/core/Drawer/drawerParts.d.ts +10 -5
  112. package/dist/components/core/Drawer/drawerTypes.d.ts +33 -7
  113. package/dist/components/core/Drawer/index.d.ts +8 -3
  114. package/dist/components/core/Dropdown/Dropdown.d.ts +1 -1
  115. package/dist/components/core/Dropdown/dropdownAnimations.d.ts +30 -8
  116. package/dist/components/core/Dropdown/dropdownContext.d.ts +6 -2
  117. package/dist/components/core/Dropdown/dropdownItemParts.d.ts +4 -3
  118. package/dist/components/core/Dropdown/dropdownParts.d.ts +8 -4
  119. package/dist/components/core/Dropdown/dropdownSubParts.d.ts +2 -0
  120. package/dist/components/core/Dropdown/dropdownTypes.d.ts +56 -12
  121. package/dist/components/core/Dropdown/index.d.ts +9 -2
  122. package/dist/components/core/Expandable/Expandable.d.ts +2 -1
  123. package/dist/components/core/Expandable/expandableContext.d.ts +6 -2
  124. package/dist/components/core/Expandable/expandableParts.d.ts +3 -3
  125. package/dist/components/core/Expandable/expandableTypes.d.ts +24 -6
  126. package/dist/components/core/Expandable/index.d.ts +2 -1
  127. package/dist/components/core/Field/Field.d.ts +2 -1
  128. package/dist/components/core/Field/fieldAnimations.d.ts +17 -17
  129. package/dist/components/core/Field/fieldContext.d.ts +12 -4
  130. package/dist/components/core/Field/fieldParts.d.ts +8 -9
  131. package/dist/components/core/Field/fieldTypes.d.ts +22 -6
  132. package/dist/components/core/Field/index.d.ts +7 -4
  133. package/dist/components/core/Input/Input.d.ts +2 -2
  134. package/dist/components/core/Input/index.d.ts +15 -5
  135. package/dist/components/core/Input/inputAnimations.d.ts +20 -2
  136. package/dist/components/core/Input/inputContext.d.ts +6 -2
  137. package/dist/components/core/Input/inputControlParts.d.ts +1 -0
  138. package/dist/components/core/Input/inputFieldParts.d.ts +12 -14
  139. package/dist/components/core/Input/inputTypes.d.ts +28 -3
  140. package/dist/components/core/Kbd/Kbd.d.ts +2 -1
  141. package/dist/components/core/Kbd/index.d.ts +10 -3
  142. package/dist/components/core/Kbd/kbdAnimations.d.ts +19 -3
  143. package/dist/components/core/Kbd/kbdContext.d.ts +6 -2
  144. package/dist/components/core/Kbd/kbdParts.d.ts +8 -5
  145. package/dist/components/core/Kbd/kbdTypes.d.ts +21 -3
  146. package/dist/components/core/Label/Label.d.ts +12 -2
  147. package/dist/components/core/Label/index.d.ts +1 -2
  148. package/dist/components/core/Label/labelContext.d.ts +6 -2
  149. package/dist/components/core/Label/labelTypes.d.ts +8 -2
  150. package/dist/components/core/Link/Link.d.ts +1 -1
  151. package/dist/components/core/Link/linkContext.d.ts +6 -2
  152. package/dist/components/core/Link/linkTypes.d.ts +26 -3
  153. package/dist/components/core/ListBox/ListBox.d.ts +1 -1
  154. package/dist/components/core/ListBox/index.d.ts +1 -0
  155. package/dist/components/core/ListBox/listBoxAnimations.d.ts +20 -2
  156. package/dist/components/core/ListBox/listBoxContext.d.ts +6 -2
  157. package/dist/components/core/ListBox/listBoxParts.d.ts +8 -7
  158. package/dist/components/core/ListBox/listBoxTypes.d.ts +38 -6
  159. package/dist/components/core/Loading/Loading.d.ts +2 -1
  160. package/dist/components/core/Loading/loadingContext.d.ts +6 -2
  161. package/dist/components/core/Loading/loadingTypes.d.ts +8 -2
  162. package/dist/components/core/Meter/Meter.d.ts +2 -2
  163. package/dist/components/core/Meter/index.d.ts +14 -5
  164. package/dist/components/core/Meter/meterAnimations.d.ts +30 -4
  165. package/dist/components/core/Meter/meterContext.d.ts +7 -3
  166. package/dist/components/core/Meter/meterParts.d.ts +13 -14
  167. package/dist/components/core/Meter/meterStyles.d.ts +1 -6
  168. package/dist/components/core/Meter/meterTypes.d.ts +36 -12
  169. package/dist/components/core/Meter/useMeterTrackState.d.ts +0 -2
  170. package/dist/components/core/Pagination/Pagination.d.ts +3 -2
  171. package/dist/components/core/Pagination/index.d.ts +18 -6
  172. package/dist/components/core/Pagination/paginationAnimations.d.ts +29 -2
  173. package/dist/components/core/Pagination/paginationContext.d.ts +6 -2
  174. package/dist/components/core/Pagination/paginationParts.d.ts +17 -6
  175. package/dist/components/core/Pagination/paginationTypes.d.ts +43 -5
  176. package/dist/components/core/Popover/Popover.d.ts +1 -1
  177. package/dist/components/core/Popover/index.d.ts +9 -3
  178. package/dist/components/core/Popover/popoverContext.d.ts +6 -2
  179. package/dist/components/core/Popover/popoverParts.d.ts +9 -4
  180. package/dist/components/core/Popover/popoverTypes.d.ts +41 -9
  181. package/dist/components/core/ProgressBar/ProgressBar.d.ts +2 -2
  182. package/dist/components/core/ProgressBar/index.d.ts +14 -5
  183. package/dist/components/core/ProgressBar/progressBarAnimations.d.ts +32 -4
  184. package/dist/components/core/ProgressBar/progressBarContext.d.ts +7 -3
  185. package/dist/components/core/ProgressBar/progressBarParts.d.ts +13 -14
  186. package/dist/components/core/ProgressBar/progressBarTypes.d.ts +35 -12
  187. package/dist/components/core/Radio/Radio.d.ts +2 -1
  188. package/dist/components/core/Radio/index.d.ts +5 -2
  189. package/dist/components/core/Radio/radioAnimations.d.ts +26 -4
  190. package/dist/components/core/Radio/radioContext.d.ts +12 -2
  191. package/dist/components/core/Radio/radioParts.d.ts +11 -7
  192. package/dist/components/core/Radio/radioTypes.d.ts +45 -10
  193. package/dist/components/core/SearchInput/searchInputContext.d.ts +6 -2
  194. package/dist/components/core/Select/Select.d.ts +2 -2
  195. package/dist/components/core/Select/index.d.ts +15 -5
  196. package/dist/components/core/Select/selectAnimations.d.ts +19 -1
  197. package/dist/components/core/Select/selectContext.d.ts +6 -2
  198. package/dist/components/core/Select/selectFieldParts.d.ts +12 -14
  199. package/dist/components/core/Select/selectParts.d.ts +3 -1
  200. package/dist/components/core/Select/selectTriggerParts.d.ts +1 -0
  201. package/dist/components/core/Select/selectTypes.d.ts +27 -3
  202. package/dist/components/core/SelectionIndicator/SelectionIndicator.d.ts +1 -1
  203. package/dist/components/core/SelectionIndicator/selectionIndicatorContext.d.ts +6 -2
  204. package/dist/components/core/SelectionIndicator/selectionIndicatorTypes.d.ts +12 -2
  205. package/dist/components/core/SelectionThumb/SelectionThumb.d.ts +1 -1
  206. package/dist/components/core/SelectionThumb/selectionThumbContext.d.ts +6 -2
  207. package/dist/components/core/SelectionThumb/selectionThumbTypes.d.ts +9 -2
  208. package/dist/components/core/Separator/Separator.d.ts +2 -1
  209. package/dist/components/core/Separator/separatorContext.d.ts +6 -2
  210. package/dist/components/core/Separator/separatorTypes.d.ts +8 -2
  211. package/dist/components/core/Skeleton/Skeleton.d.ts +2 -1
  212. package/dist/components/core/Skeleton/index.d.ts +10 -5
  213. package/dist/components/core/Skeleton/skeletonContext.d.ts +6 -2
  214. package/dist/components/core/Skeleton/skeletonParts.d.ts +9 -4
  215. package/dist/components/core/Skeleton/skeletonTypes.d.ts +33 -6
  216. package/dist/components/core/Slider/Slider.d.ts +2 -2
  217. package/dist/components/core/Slider/index.d.ts +13 -5
  218. package/dist/components/core/Slider/sliderAnimations.d.ts +20 -1
  219. package/dist/components/core/Slider/sliderContext.d.ts +6 -2
  220. package/dist/components/core/Slider/sliderParts.d.ts +13 -15
  221. package/dist/components/core/Slider/sliderScaleField.d.ts +4 -6
  222. package/dist/components/core/Slider/sliderThumbParts.d.ts +1 -1
  223. package/dist/components/core/Slider/sliderTypes.d.ts +27 -5
  224. package/dist/components/core/Slider/useSliderTrackState.d.ts +28 -28
  225. package/dist/components/core/Surface/Surface.d.ts +2 -1
  226. package/dist/components/core/Surface/surfaceContext.d.ts +6 -2
  227. package/dist/components/core/Surface/surfaceTypes.d.ts +8 -2
  228. package/dist/components/core/Switch/Switch.d.ts +2 -1
  229. package/dist/components/core/Switch/index.d.ts +3 -1
  230. package/dist/components/core/Switch/switchAnimations.d.ts +12 -1
  231. package/dist/components/core/Switch/switchContext.d.ts +6 -2
  232. package/dist/components/core/Switch/switchControlParts.d.ts +1 -0
  233. package/dist/components/core/Switch/switchFieldParts.d.ts +3 -3
  234. package/dist/components/core/Switch/switchTrackParts.d.ts +1 -1
  235. package/dist/components/core/Switch/switchTypes.d.ts +50 -7
  236. package/dist/components/core/Switch/useSwitchRootState.d.ts +17 -17
  237. package/dist/components/core/Table/Table.d.ts +5 -4
  238. package/dist/components/core/Table/index.d.ts +14 -4
  239. package/dist/components/core/Table/tableAPI.d.ts +3 -1
  240. package/dist/components/core/Table/tableAnimations.d.ts +3 -3
  241. package/dist/components/core/Table/tableContext.d.ts +6 -2
  242. package/dist/components/core/Table/tableParts.d.ts +12 -3
  243. package/dist/components/core/Table/tableTypes.d.ts +30 -8
  244. package/dist/components/core/Tabs/Tabs.d.ts +2 -1
  245. package/dist/components/core/Tabs/index.d.ts +4 -1
  246. package/dist/components/core/Tabs/tabsAnimations.d.ts +3 -2
  247. package/dist/components/core/Tabs/tabsContext.d.ts +6 -2
  248. package/dist/components/core/Tabs/tabsPanelPart.d.ts +1 -0
  249. package/dist/components/core/Tabs/tabsTabPart.d.ts +1 -0
  250. package/dist/components/core/Tabs/tabsTypes.d.ts +19 -2
  251. package/dist/components/core/Text/Text.d.ts +2 -1
  252. package/dist/components/core/Text/textContext.d.ts +6 -2
  253. package/dist/components/core/Text/textTypes.d.ts +8 -2
  254. package/dist/components/core/TextArea/TextArea.d.ts +2 -2
  255. package/dist/components/core/TextArea/index.d.ts +15 -5
  256. package/dist/components/core/TextArea/textAreaAnimations.d.ts +19 -1
  257. package/dist/components/core/TextArea/textAreaContext.d.ts +6 -2
  258. package/dist/components/core/TextArea/textAreaParts.d.ts +14 -14
  259. package/dist/components/core/TextArea/textAreaTypes.d.ts +29 -3
  260. package/dist/components/core/TimeField/TimeField.d.ts +2 -2
  261. package/dist/components/core/TimeField/index.d.ts +14 -5
  262. package/dist/components/core/TimeField/timeFieldAnimations.d.ts +20 -2
  263. package/dist/components/core/TimeField/timeFieldContext.d.ts +6 -2
  264. package/dist/components/core/TimeField/timeFieldParts.d.ts +13 -14
  265. package/dist/components/core/TimeField/timeFieldTypes.d.ts +28 -4
  266. package/dist/components/core/Toast/Toast.d.ts +2 -1
  267. package/dist/components/core/Toast/index.d.ts +2 -1
  268. package/dist/components/core/Toast/toastAnimations.d.ts +2 -1
  269. package/dist/components/core/Toast/toastContext.d.ts +6 -2
  270. package/dist/components/core/Toast/toastTypes.d.ts +26 -9
  271. package/dist/components/core/ToggleButton/ToggleButton.d.ts +2 -1
  272. package/dist/components/core/ToggleButton/index.d.ts +2 -1
  273. package/dist/components/core/ToggleButton/toggleButtonContext.d.ts +6 -2
  274. package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +8 -2
  275. package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
  276. package/dist/components/core/Tooltip/index.d.ts +3 -2
  277. package/dist/components/core/Tooltip/tooltipAnimations.d.ts +1 -0
  278. package/dist/components/core/Tooltip/tooltipContext.d.ts +6 -2
  279. package/dist/components/core/Tooltip/tooltipParts.d.ts +7 -6
  280. package/dist/components/core/Tooltip/tooltipTypes.d.ts +34 -7
  281. package/dist/components/core/Tooltip/useTooltipRootState.d.ts +2 -2
  282. package/dist/components/core/utils/motionConfig.d.ts +4 -4
  283. package/dist/components/core/utils/optionListItemParts.d.ts +4 -2
  284. package/dist/components/core/utils/overlayTriggerSqueeze.d.ts +39 -0
  285. package/dist/components/core/utils/slotMotion/createMotionScope.d.ts +18 -4
  286. package/dist/components/core/utils/slotMotion/enterHidesFirstPaint.d.ts +3 -7
  287. package/dist/components/core/utils/slotMotion/index.d.ts +7 -2
  288. package/dist/components/core/utils/slotMotion/kitMotionRecipeMeta.d.ts +8 -0
  289. package/dist/components/core/utils/slotMotion/motionController.d.ts +20 -0
  290. package/dist/components/core/utils/slotMotion/motionController.test.d.ts +1 -0
  291. package/dist/components/core/utils/slotMotion/motionControllerApi.test.d.ts +1 -0
  292. package/dist/components/core/utils/slotMotion/motionControllerTypes.d.ts +49 -0
  293. package/dist/components/core/utils/slotMotion/motionEvents.d.ts +67 -0
  294. package/dist/components/core/utils/slotMotion/motionEvents.test.d.ts +1 -0
  295. package/dist/components/core/utils/slotMotion/motionRecipeRegistry.d.ts +6 -2
  296. package/dist/components/core/utils/slotMotion/motionTween.d.ts +49 -0
  297. package/dist/components/core/utils/slotMotion/motionTween.test.d.ts +1 -0
  298. package/dist/components/core/utils/slotMotion/playMotionState.d.ts +29 -0
  299. package/dist/components/core/utils/slotMotion/playMotionState.test.d.ts +1 -0
  300. package/dist/components/core/utils/slotMotion/recipes/collapsibleHeight.d.ts +1 -1
  301. package/dist/components/core/utils/slotMotion/recipes/progressFill.d.ts +9 -0
  302. package/dist/components/core/utils/slotMotion/recipes/progressFill.test.d.ts +1 -0
  303. package/dist/components/core/utils/slotMotion/runMotionPhase.d.ts +5 -2
  304. package/dist/components/core/utils/slotMotion/slotMotionTypes.d.ts +115 -9
  305. package/dist/components/core/utils/slotMotion/useBarFillMotion.d.ts +21 -0
  306. package/dist/components/core/utils/slotMotion/useMotionPart.d.ts +5 -5
  307. package/dist/components/core/utils/useCollapsibleHeight.d.ts +9 -1
  308. package/dist/components/core/utils/useContainerPointerHoverHandlers.d.ts +5 -1
  309. package/dist/index.cjs +1 -1
  310. package/dist/index.d.ts +31 -31
  311. package/dist/index.js +20305 -16413
  312. package/dist/internal.cjs +1 -1
  313. package/dist/internal.js +1 -1
  314. package/dist/themeRuntimeContext-BveSYUe9.cjs +14 -0
  315. package/dist/{themeRuntimeContext-DELPwtpL.js → themeRuntimeContext-DCicI7AC.js} +640 -614
  316. package/dist/ui.css +43 -0
  317. package/package.json +4 -3
  318. package/dist/themeRuntimeContext-DknZO7q3.cjs +0 -14
@@ -1,7 +1,7 @@
1
1
  import { ButtonHTMLAttributes, HTMLAttributes, LiHTMLAttributes, OlHTMLAttributes, ReactNode } from 'react';
2
2
  import { IconBaseProps } from 'react-icons';
3
3
  import { Prettify } from '../../../utils/prettify';
4
- import { MotionValue } from '../utils/slotMotion';
4
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
5
5
  export type PaginationClassNames = {
6
6
  /** Root `<nav>`. */
7
7
  root?: string;
@@ -39,9 +39,17 @@ export type PaginationPartMotion = {
39
39
  hoverOut?: MotionValue;
40
40
  pressIn?: MotionValue;
41
41
  pressOut?: MotionValue;
42
+ enter?: MotionValue;
43
+ };
44
+ export type PaginationSummaryPartMotion = PaginationPartMotion & {
45
+ change?: MotionValue;
42
46
  };
43
47
  export type PaginationMotion = {
44
48
  control?: PaginationPartMotion;
49
+ previousIcon?: PaginationPartMotion;
50
+ nextIcon?: PaginationPartMotion;
51
+ summary?: PaginationSummaryPartMotion;
52
+ ellipsis?: PaginationPartMotion;
45
53
  };
46
54
  export type PaginationContextValue = {
47
55
  page?: number;
@@ -57,29 +65,59 @@ export type PaginationProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
57
65
  onPageChange?: (page: number) => void;
58
66
  siblingCount?: number;
59
67
  classNames?: Prettify<PaginationClassNames>;
60
- motion?: Prettify<PaginationMotion>;
68
+ /**
69
+ * Per-slot motion (`control`, `previousIcon`, `nextIcon`, `summary`, `ellipsis`).
70
+ * `Pagination.Content` / `Item` / `Page` are not separate slots (`control` covers buttons).
71
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
72
+ * There is no `root` slot — `play()` skips; use `playSlot("summary")` / `playAll`.
73
+ */
74
+ motion?: Prettify<MotionMapWithEvents<PaginationMotion>>;
75
+ /**
76
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
77
+ * One handle → this pagination chrome scope (`summary` / `ellipsis`).
78
+ * Nested Previous / Next / Page are separate scopes — pass a handle there.
79
+ * FLIP on `<ol>` is kit-internal. Not placed on the DOM.
80
+ */
81
+ motionController?: MotionController;
61
82
  };
62
83
  export type PaginationClassNamesProviderProps = {
63
84
  classNames?: Prettify<PaginationClassNames>;
64
85
  children: ReactNode;
65
86
  };
66
87
  export type UsePaginationRootStateProps = Omit<PaginationProps, "className" | "classNames" | "children">;
67
- export type PaginationSummaryProps = HTMLAttributes<HTMLDivElement>;
88
+ export type PaginationSummaryProps = HTMLAttributes<HTMLDivElement> & {
89
+ motion?: Prettify<PaginationSummaryPartMotion>;
90
+ };
68
91
  export type PaginationContentProps = OlHTMLAttributes<HTMLOListElement>;
69
92
  export type PaginationItemProps = LiHTMLAttributes<HTMLLIElement>;
70
93
  export type PaginationNavButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
71
94
  motion?: Prettify<PaginationPartMotion>;
95
+ /**
96
+ * Handle for this control's nested scope. `play()` looks for `root` (skip) —
97
+ * use `playSlot("control")`. Icons live here.
98
+ */
99
+ motionController?: MotionController;
72
100
  };
73
101
  export type PaginationPageProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
74
102
  page: number;
75
103
  active?: boolean;
76
104
  children?: ReactNode;
77
105
  motion?: Prettify<PaginationPartMotion>;
106
+ /**
107
+ * Handle for this page button's nested scope. `play()` looks for `root` (skip) —
108
+ * use `playSlot("control")`. Active page is a `<span>` (no control scope).
109
+ */
110
+ motionController?: MotionController;
111
+ };
112
+ export type PaginationEllipsisProps = HTMLAttributes<HTMLSpanElement> & {
113
+ motion?: Prettify<PaginationPartMotion>;
78
114
  };
79
- export type PaginationEllipsisProps = HTMLAttributes<HTMLSpanElement>;
80
115
  export type PaginationPagesProps = Record<string, never>;
81
116
  export type PaginationInteractiveProps = ButtonHTMLAttributes<HTMLButtonElement> & {
82
117
  children: ReactNode;
83
118
  motion?: Prettify<PaginationPartMotion>;
119
+ motionController?: MotionController;
120
+ };
121
+ export type PaginationIconProps = IconBaseProps & {
122
+ motion?: Prettify<PaginationPartMotion>;
84
123
  };
85
- export type PaginationIconProps = IconBaseProps;
@@ -1,7 +1,7 @@
1
1
  import { PopoverProps } from './popoverTypes';
2
2
  export type { PopoverArrowProps, PopoverBodyProps, PopoverClassNames, PopoverContentGap, PopoverContentProps, PopoverHeaderProps, PopoverDescriptionProps, PopoverTitleProps, PopoverProps, PopoverSide, PopoverSize, PopoverTriggerProps, PopoverVariant, PopoverMotion, PopoverLifecycleMotion, PopoverPartMotion, } from './popoverTypes';
3
3
  export { PopoverArrow, PopoverBody, PopoverContent, PopoverHeader, PopoverDescription, PopoverTitle, PopoverTrigger, } from './popoverParts';
4
- export declare function PopoverRoot({ children, classNames, size, variant, side, open, defaultOpen, onOpenChange, anchorRef, shouldDismiss, portalContainer, motion, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function PopoverRoot({ children, classNames, size, variant, side, open, defaultOpen, onOpenChange, anchorRef, shouldDismiss, portalContainer, motion, motionController, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace PopoverRoot {
6
6
  var displayName: string;
7
7
  }
@@ -2,6 +2,7 @@ import { PopoverRoot } from './Popover';
2
2
  export declare const Popover: typeof PopoverRoot & {
3
3
  Trigger: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLButtonElement> & {
4
4
  asChild?: boolean;
5
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
5
6
  } & import('react').RefAttributes<HTMLButtonElement>>;
6
7
  Content: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
7
8
  showArrow?: boolean;
@@ -12,9 +13,12 @@ export declare const Popover: typeof PopoverRoot & {
12
13
  unstyled?: boolean;
13
14
  contentRole?: "dialog" | undefined;
14
15
  portalContainer?: HTMLElement | null;
15
- motion?: import('../../..').Prettify<import('./popoverTypes').PopoverMotion>;
16
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./popoverTypes').PopoverMotion>>;
17
+ motionController?: import('../utils/slotMotion').MotionController;
18
+ } & import('react').RefAttributes<HTMLDivElement>>;
19
+ Header: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
20
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverLifecycleMotion>;
16
21
  } & import('react').RefAttributes<HTMLDivElement>>;
17
- Header: import('react').ForwardRefExoticComponent<import('./popoverTypes').PopoverHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
18
22
  Title: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLHeadingElement> & {
19
23
  motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
20
24
  } & import('react').RefAttributes<HTMLHeadingElement>>;
@@ -24,7 +28,9 @@ export declare const Popover: typeof PopoverRoot & {
24
28
  Body: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
25
29
  motion?: import('../../..').Prettify<import('./popoverTypes').PopoverLifecycleMotion>;
26
30
  } & import('react').RefAttributes<HTMLDivElement>>;
27
- Arrow: import('react').ForwardRefExoticComponent<import('./popoverTypes').PopoverArrowProps & import('react').RefAttributes<HTMLSpanElement>>;
31
+ Arrow: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
32
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
33
+ } & import('react').RefAttributes<HTMLSpanElement>>;
28
34
  };
29
35
  export type { PopoverProps, PopoverTriggerProps, PopoverContentProps, PopoverHeaderProps, PopoverTitleProps, PopoverDescriptionProps, PopoverBodyProps, PopoverArrowProps, PopoverSide, PopoverSize, PopoverVariant, PopoverContentGap, PopoverClassNames, PopoverMotion, PopoverLifecycleMotion, PopoverPartMotion, } from './Popover';
30
36
  export type { FloatingAlign, FloatingAlign as PopoverAlign } from '../Tooltip/tooltipPosition';
@@ -20,9 +20,13 @@ export declare function usePopoverContentChrome(): {
20
20
  unstyled: boolean;
21
21
  };
22
22
  /** Scope only. Defaults and host play live in `popoverAnimations.ts`. */
23
- export declare const PopoverMotionProvider: ({ motion, defaults, params, children, }: {
24
- motion?: import('../utils/slotMotion').MotionSlotMap;
23
+ export declare const PopoverMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
24
+ motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
25
25
  defaults?: import('../utils/slotMotion').MotionSlotMap;
26
26
  params?: import('../utils/slotMotion').MotionRecipeParams;
27
+ controller?: import('../utils/slotMotion').MotionController;
28
+ motionState?: string;
29
+ motionPayload?: unknown;
30
+ playInitialState?: boolean;
27
31
  children: ReactNode;
28
32
  }) => import("react/jsx-runtime").JSX.Element, usePopoverMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalPopoverMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,9 +1,13 @@
1
- import { PopoverArrowProps, PopoverHeaderProps } from './popoverTypes';
2
1
  export declare const PopoverTrigger: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLButtonElement> & {
3
2
  asChild?: boolean;
3
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
4
4
  } & import('react').RefAttributes<HTMLButtonElement>>;
5
- export declare const PopoverArrow: import('react').ForwardRefExoticComponent<PopoverArrowProps & import('react').RefAttributes<HTMLSpanElement>>;
6
- export declare const PopoverHeader: import('react').ForwardRefExoticComponent<PopoverHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ export declare const PopoverArrow: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
6
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
7
+ } & import('react').RefAttributes<HTMLSpanElement>>;
8
+ export declare const PopoverHeader: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
9
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverLifecycleMotion>;
10
+ } & import('react').RefAttributes<HTMLDivElement>>;
7
11
  export declare const PopoverTitle: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLHeadingElement> & {
8
12
  motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
9
13
  } & import('react').RefAttributes<HTMLHeadingElement>>;
@@ -22,5 +26,6 @@ export declare const PopoverContent: import('react').ForwardRefExoticComponent<i
22
26
  unstyled?: boolean;
23
27
  contentRole?: "dialog" | undefined;
24
28
  portalContainer?: HTMLElement | null;
25
- motion?: import('../../..').Prettify<import('./popoverTypes').PopoverMotion>;
29
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./popoverTypes').PopoverMotion>>;
30
+ motionController?: import('../utils/slotMotion').MotionController;
26
31
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
1
  import { FieldHintProps } from '../Field';
2
2
  import { FloatingAlign, TooltipSide } from '../Tooltip/tooltipPosition';
3
3
  import { PanelSize } from '../utils/sizeLayout';
4
- import { MotionValue } from '../utils/slotMotion';
4
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
5
5
  import { HTMLAttributes, ReactNode, RefObject } from 'react';
6
6
  import { Prettify } from '../../../utils/prettify';
7
7
  export type PopoverSide = TooltipSide;
@@ -30,12 +30,27 @@ export type PopoverLifecycleMotion = {
30
30
  export type PopoverPartMotion = PopoverLifecycleMotion & {
31
31
  hoverIn?: MotionValue;
32
32
  hoverOut?: MotionValue;
33
+ pressIn?: MotionValue;
34
+ pressOut?: MotionValue;
33
35
  };
34
36
  export type PopoverMotion = {
35
- content?: PopoverLifecycleMotion;
37
+ content?: PopoverPartMotion;
38
+ header?: PopoverLifecycleMotion;
36
39
  title?: PopoverPartMotion;
37
40
  description?: PopoverPartMotion;
38
41
  body?: PopoverLifecycleMotion;
42
+ /** Repeated menu rows when Popover hosts Dropdown (or similar). */
43
+ item?: PopoverLifecycleMotion;
44
+ itemLabel?: PopoverPartMotion;
45
+ itemHint?: PopoverPartMotion;
46
+ itemIcon?: PopoverPartMotion;
47
+ /** Dropdown.Label / Dropdown.SubTrigger / Dropdown.Separator when Popover hosts the menu. */
48
+ label?: PopoverPartMotion;
49
+ subTrigger?: PopoverPartMotion;
50
+ separator?: PopoverPartMotion;
51
+ arrow?: PopoverPartMotion;
52
+ /** Open squeeze on `Popover.Trigger` (Root scope — outside Content). */
53
+ trigger?: PopoverPartMotion;
39
54
  };
40
55
  export type PopoverContextValue = {
41
56
  open: boolean;
@@ -68,22 +83,34 @@ export type PopoverProps = {
68
83
  portalContainer?: HTMLElement | null;
69
84
  classNames?: Prettify<PopoverClassNames>;
70
85
  /**
71
- * Per-slot motion. Root has no portal DOM — the host is `Popover.Content`.
72
- * Default: `content.enter/leave` → `portalSurfaceEnter` / `portalSurfaceLeave`.
86
+ * Per-slot motion (`content`, `header`, `title`, `description`, `body`, `arrow`, `trigger`, plus Dropdown pass-through).
87
+ * Root has no portal DOM — the host is `Popover.Content`. Trigger lives on Root.
88
+ * Default: `content.enter/leave` → `portalSurfaceEnter` / `portalSurfaceLeave`; `trigger.pressIn` → `pressSqueeze`.
89
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
73
90
  */
74
- motion?: Prettify<PopoverMotion>;
91
+ motion?: Prettify<MotionMapWithEvents<PopoverMotion>>;
92
+ /**
93
+ * Handle for the Root trigger scope (`trigger`). Portal slots need a separate handle on `Popover.Content`.
94
+ * Not placed on the DOM.
95
+ */
96
+ motionController?: MotionController;
75
97
  };
76
98
  export type PopoverClassNamesProviderProps = {
77
99
  classNames?: Prettify<PopoverClassNames>;
78
100
  children: ReactNode;
79
101
  };
80
- export type UsePopoverRootStateProps = Omit<PopoverProps, "classNames" | "motion">;
102
+ export type UsePopoverRootStateProps = Omit<PopoverProps, "classNames" | "motion" | "motionController">;
81
103
  export type PopoverTriggerProps = HTMLAttributes<HTMLButtonElement> & {
82
104
  /** Merge props onto the single child (Button, etc.) instead of rendering a `<button>` wrapper. */
83
105
  asChild?: boolean;
106
+ motion?: Prettify<PopoverPartMotion>;
107
+ };
108
+ export type PopoverArrowProps = HTMLAttributes<HTMLSpanElement> & {
109
+ motion?: Prettify<PopoverPartMotion>;
110
+ };
111
+ export type PopoverHeaderProps = HTMLAttributes<HTMLDivElement> & {
112
+ motion?: Prettify<PopoverLifecycleMotion>;
84
113
  };
85
- export type PopoverArrowProps = HTMLAttributes<HTMLSpanElement>;
86
- export type PopoverHeaderProps = HTMLAttributes<HTMLDivElement>;
87
114
  export type PopoverTitleProps = HTMLAttributes<HTMLHeadingElement> & {
88
115
  motion?: Prettify<PopoverPartMotion>;
89
116
  };
@@ -103,7 +130,12 @@ export type PopoverContentProps = HTMLAttributes<HTMLDivElement> & {
103
130
  contentRole?: "dialog" | undefined;
104
131
  /** Overrides Root `portalContainer`. Default: `document.body`. */
105
132
  portalContainer?: HTMLElement | null;
106
- motion?: Prettify<PopoverMotion>;
133
+ motion?: Prettify<MotionMapWithEvents<PopoverMotion>>;
134
+ /**
135
+ * Handle for the portal host (`content`, chrome). `play()` skips — there is no `root`.
136
+ * Use `playSlot("content")`. Not placed on the DOM.
137
+ */
138
+ motionController?: MotionController;
107
139
  };
108
140
  export type UsePopoverContentLifecycleProps = {
109
141
  open: boolean;
@@ -1,8 +1,8 @@
1
1
  import { ProgressBarProps } from './progressBarTypes';
2
- export type { ProgressBarClassNames, ProgressBarErrorProps, ProgressBarHeaderProps, ProgressBarHintProps, ProgressBarOrientation, ProgressBarProps, ProgressBarSize, ProgressBarTrackProps, ProgressBarValueProps, ProgressBarMotion, ProgressBarPartMotion, } from './progressBarTypes';
2
+ export type { ProgressBarClassNames, ProgressBarErrorProps, ProgressBarHeaderProps, ProgressBarHintProps, ProgressBarLabelProps, ProgressBarOrientation, ProgressBarProps, ProgressBarSize, ProgressBarTrackProps, ProgressBarValueProps, ProgressBarMotion, ProgressBarPartMotion, } from './progressBarTypes';
3
3
  export { ProgressBarError, ProgressBarHeader, ProgressBarHint, ProgressBarLabel, ProgressBarSimpleBody, ProgressBarTrack, ProgressBarValue, } from './progressBarParts';
4
4
  export { useProgressBarFieldContext, useOptionalProgressBarFieldContext, } from './progressBarContext';
5
- export declare function ProgressBarRoot({ children, className, classNames, id, orientation, label, showValue, valueText, hint, error, value, indeterminate, min, max, size, thickness, color, formatValue, motion, ...divRest }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ProgressBarRoot({ children, className, classNames, id, orientation, label, showValue, valueText, hint, error, value, indeterminate, min, max, size, thickness, color, formatValue, motion, motionController, ...divRest }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
6
6
  export declare namespace ProgressBarRoot {
7
7
  var displayName: string;
8
8
  }
@@ -1,10 +1,18 @@
1
- import { ProgressBarError, ProgressBarHeader, ProgressBarHint, ProgressBarLabel, ProgressBarRoot, ProgressBarValue } from './ProgressBar';
1
+ import { ProgressBarHeader, ProgressBarRoot, ProgressBarValue } from './ProgressBar';
2
2
  export declare const ProgressBar: typeof ProgressBarRoot & {
3
3
  Header: typeof ProgressBarHeader;
4
- Label: typeof ProgressBarLabel;
4
+ Label: import('react').ForwardRefExoticComponent<Omit<import('../Label').LabelProps, "motion"> & {
5
+ motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
6
+ } & import('react').RefAttributes<HTMLElement>>;
5
7
  Value: typeof ProgressBarValue;
6
- Hint: typeof ProgressBarHint;
7
- Error: typeof ProgressBarError;
8
+ Hint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
9
+ children?: import('react').ReactNode;
10
+ motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
11
+ } & import('react').RefAttributes<HTMLElement>>;
12
+ Error: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
13
+ children?: import('react').ReactNode;
14
+ motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
15
+ } & import('react').RefAttributes<HTMLElement>>;
8
16
  Track: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "children"> & {
9
17
  value?: number;
10
18
  indeterminate?: boolean;
@@ -17,10 +25,11 @@ export declare const ProgressBar: typeof ProgressBarRoot & {
17
25
  orientation?: import('./progressBarTypes').ProgressBarOrientation;
18
26
  className?: string;
19
27
  motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
28
+ motionController?: import('../utils/slotMotion').MotionController;
20
29
  } & import('react').RefAttributes<HTMLDivElement>>;
21
30
  };
22
31
  export type { ProgressBarTrackProps, ProgressBarSize, ProgressBarOrientation, ProgressBarClassNames, } from './ProgressBar';
23
32
  export type { ProgressBarMotion, ProgressBarPartMotion, } from './progressBarTypes';
24
- export type { ProgressBarProps, ProgressBarHeaderProps, ProgressBarValueProps, ProgressBarHintProps, ProgressBarErrorProps, } from './ProgressBar';
33
+ export type { ProgressBarProps, ProgressBarHeaderProps, ProgressBarValueProps, ProgressBarHintProps, ProgressBarErrorProps, ProgressBarLabelProps, } from './ProgressBar';
25
34
  export { useProgressBarFieldContext, useOptionalProgressBarFieldContext, } from './ProgressBar';
26
35
  export type { ProgressBarDisplayState, ProgressBarFieldContextValue, } from './progressBarTypes';
@@ -1,8 +1,36 @@
1
+ import { ForwardedRef, PointerEventHandler, RefObject } from 'react';
1
2
  import { MotionScopeValue } from '../utils/slotMotion';
2
- import { ProgressBarMotion, UseProgressBarFillAnimationProps } from './progressBarTypes';
3
- export declare function resolveProgressBarMotionDefaults(): ProgressBarMotion;
3
+ import { progressScaleFromPercent } from '../utils/slotMotion/recipes/progressFill';
4
+ import { ProgressBarMotion, ProgressBarPartMotion } from './progressBarTypes';
5
+ export { progressScaleFromPercent };
6
+ export declare function resolveProgressBarMotionDefaults({ indeterminate, }?: {
7
+ indeterminate?: boolean;
8
+ }): ProgressBarMotion;
4
9
  export declare function useProgressBarTrackSlotMotion(scope: MotionScopeValue | null, identity: string): void;
5
- export declare function useProgressBarFillAnimation({ indeterminate, percent, isHorizontal, }: UseProgressBarFillAnimationProps): {
6
- fillRef: import('react').RefObject<HTMLSpanElement | null>;
10
+ export declare function useProgressBarFillMotion({ scope, percent, isHorizontal, indeterminate, fillRef, }: {
11
+ scope: MotionScopeValue | null;
12
+ percent: number;
13
+ isHorizontal: boolean;
14
+ indeterminate: boolean;
15
+ fillRef: RefObject<HTMLSpanElement | null>;
16
+ }): {
7
17
  reduceMotion: boolean;
8
18
  };
19
+ export type ProgressBarChromeSlot = "label" | "hint" | "error";
20
+ export declare function useProgressBarChromeSlot(slot: ProgressBarChromeSlot, { motion, forwardedRef, onPointerOver, onPointerOut, onPointerDown, onPointerUp, }?: {
21
+ motion?: ProgressBarPartMotion;
22
+ forwardedRef?: ForwardedRef<HTMLElement>;
23
+ onPointerOver?: PointerEventHandler<HTMLElement>;
24
+ onPointerOut?: PointerEventHandler<HTMLElement>;
25
+ onPointerDown?: PointerEventHandler<HTMLElement>;
26
+ onPointerUp?: PointerEventHandler<HTMLElement>;
27
+ }): {
28
+ setRef: (node: HTMLElement | null) => void;
29
+ targetRef: RefObject<HTMLElement | null>;
30
+ pointerHandlers: {
31
+ onPointerOver: (e: import('react').PointerEvent<HTMLElement>) => void;
32
+ onPointerOut: (e: import('react').PointerEvent<HTMLElement>) => void;
33
+ onPointerDown: (e: import('react').PointerEvent<HTMLElement>) => void;
34
+ onPointerUp: (e: import('react').PointerEvent<HTMLElement>) => void;
35
+ };
36
+ };
@@ -8,11 +8,15 @@ export declare function ProgressBarClassNamesProvider({ classNames, children, }:
8
8
  export declare function useProgressBarFieldContext(): ProgressBarFieldContextValue;
9
9
  export declare function useOptionalProgressBarFieldContext(): ProgressBarFieldContextValue | null;
10
10
  export declare function useProgressBarClassNames(): ProgressBarClassNames;
11
- /** Scope only. Defaults and host play live in `progressBarAnimations.ts`. */
12
- export declare const ProgressBarMotionProvider: ({ motion, defaults, params, children, }: {
13
- motion?: import('../utils/slotMotion').MotionSlotMap;
11
+ /** Scope only. Defaults + params + fill play live on Track (nested provider). */
12
+ export declare const ProgressBarMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
13
+ motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
14
14
  defaults?: import('../utils/slotMotion').MotionSlotMap;
15
15
  params?: import('../utils/slotMotion').MotionRecipeParams;
16
+ controller?: import('../utils/slotMotion').MotionController;
17
+ motionState?: string;
18
+ motionPayload?: unknown;
19
+ playInitialState?: boolean;
16
20
  children: import('react').ReactNode;
17
21
  }) => import("react/jsx-runtime").JSX.Element, useProgressBarMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalProgressBarMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
18
22
  export { ProgressBarFieldContext };
@@ -1,10 +1,8 @@
1
- import { LabelProps } from '../Label';
2
- import { ProgressBarErrorProps, ProgressBarHeaderProps, ProgressBarHintProps, ProgressBarSimpleBodyProps, ProgressBarValueProps } from './progressBarTypes';
1
+ import { ProgressBarHeaderProps, ProgressBarSimpleBodyProps, ProgressBarValueProps } from './progressBarTypes';
3
2
  export declare function ProgressBarSimpleBody({ label, showValue, valueText, hint, error, trackProps, }: ProgressBarSimpleBodyProps): import("react/jsx-runtime").JSX.Element;
4
- export declare function ProgressBarLabel({ className, classNames, ...rest }: LabelProps): import("react/jsx-runtime").JSX.Element;
5
- export declare namespace ProgressBarLabel {
6
- var displayName: string;
7
- }
3
+ export declare const ProgressBarLabel: import('react').ForwardRefExoticComponent<Omit<import('../Label').LabelProps, "motion"> & {
4
+ motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
5
+ } & import('react').RefAttributes<HTMLElement>>;
8
6
  export declare function ProgressBarHeader({ children, className, motion, ...rest }: ProgressBarHeaderProps): import("react/jsx-runtime").JSX.Element;
9
7
  export declare namespace ProgressBarHeader {
10
8
  var displayName: string;
@@ -13,14 +11,14 @@ export declare function ProgressBarValue({ children, className, motion, ...rest
13
11
  export declare namespace ProgressBarValue {
14
12
  var displayName: string;
15
13
  }
16
- export declare function ProgressBarHint({ children, className, id: idProp, ...rest }: ProgressBarHintProps): import("react/jsx-runtime").JSX.Element;
17
- export declare namespace ProgressBarHint {
18
- var displayName: string;
19
- }
20
- export declare function ProgressBarError({ children, className, id: idProp, ...rest }: ProgressBarErrorProps): import("react/jsx-runtime").JSX.Element;
21
- export declare namespace ProgressBarError {
22
- var displayName: string;
23
- }
14
+ export declare const ProgressBarHint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
15
+ children?: import('react').ReactNode;
16
+ motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
17
+ } & import('react').RefAttributes<HTMLElement>>;
18
+ export declare const ProgressBarError: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
19
+ children?: import('react').ReactNode;
20
+ motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
21
+ } & import('react').RefAttributes<HTMLElement>>;
24
22
  export declare const ProgressBarTrack: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "children"> & {
25
23
  value?: number;
26
24
  indeterminate?: boolean;
@@ -33,4 +31,5 @@ export declare const ProgressBarTrack: import('react').ForwardRefExoticComponent
33
31
  orientation?: import('./progressBarTypes').ProgressBarOrientation;
34
32
  className?: string;
35
33
  motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
34
+ motionController?: import('../utils/slotMotion').MotionController;
36
35
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,7 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
- import { MotionValue } from '../utils/slotMotion';
3
+ import { LabelProps } from '../Label';
4
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
4
5
  export type ProgressBarSize = "small" | "base" | "mid" | "large";
5
6
  export type ProgressBarOrientation = "horizontal" | "vertical";
6
7
  export type ProgressBarClassNames = {
@@ -21,7 +22,11 @@ export type ProgressBarPartMotion = {
21
22
  pressOut?: MotionValue;
22
23
  enter?: MotionValue;
23
24
  leave?: MotionValue;
24
- /** Plays when `value` / indeterminate identity changes. Fill scale stays kit-internal. */
25
+ /**
26
+ * `track`: value / indeterminate identity.
27
+ * `fill`: determinate `progressFill` (scale) or `progressIndeterminate`.
28
+ * Opt-in `fill.enter` — first paint at 0, then fill to `getProgressScale()`.
29
+ */
25
30
  change?: MotionValue;
26
31
  };
27
32
  export type ProgressBarMotion = {
@@ -29,6 +34,9 @@ export type ProgressBarMotion = {
29
34
  fill?: ProgressBarPartMotion;
30
35
  header?: ProgressBarPartMotion;
31
36
  value?: ProgressBarPartMotion;
37
+ label?: ProgressBarPartMotion;
38
+ hint?: ProgressBarPartMotion;
39
+ error?: ProgressBarPartMotion;
32
40
  };
33
41
  export type ProgressBarDisplayState = {
34
42
  clampedValue: number;
@@ -59,6 +67,11 @@ export type ProgressBarTrackProps = Omit<HTMLAttributes<HTMLDivElement>, "childr
59
67
  orientation?: ProgressBarOrientation;
60
68
  className?: string;
61
69
  motion?: Prettify<ProgressBarPartMotion>;
70
+ /**
71
+ * Deferred handle for the Track fill host (`track`, `fill`). One handle → this nested scope.
72
+ * Simple API: pass `motionController` on `ProgressBar` — it is forwarded here.
73
+ */
74
+ motionController?: MotionController;
62
75
  };
63
76
  export type ProgressBarProps = HTMLAttributes<HTMLDivElement> & Partial<Omit<ProgressBarTrackProps, "motion">> & {
64
77
  children?: ReactNode;
@@ -71,10 +84,21 @@ export type ProgressBarProps = HTMLAttributes<HTMLDivElement> & Partial<Omit<Pro
71
84
  error?: ReactNode;
72
85
  classNames?: Prettify<ProgressBarClassNames>;
73
86
  /**
74
- * Per-slot motion (`track`, `fill`, `header`, `value`).
75
- * Fill scale / indeterminate travel is kit-internal. Phase `change` plays on `track`.
87
+ * Per-slot motion (`track`, `fill`, `header`, `value`, `label`, `hint`, `error`).
88
+ * Fill `change` defaults to `progressFill` / `progressIndeterminate`.
89
+ * `fill.enter` is opt-in (`"progressFill"` or a factory with `ctx.params.getProgressScale`).
90
+ * Chrome registers on the Root scope (siblings of Track). Track is the nested fill host.
91
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
92
+ * Simple API: `motionController` is forwarded to `ProgressBar.Track` (fill host).
93
+ * Compound: this handle attaches to the Root chrome scope; pass another handle on `Track`.
94
+ */
95
+ motion?: Prettify<MotionMapWithEvents<ProgressBarMotion>>;
96
+ /**
97
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
98
+ * Simple API: forwarded to the Track nested Provider. Compound: Root chrome scope.
99
+ * Not placed on the DOM.
76
100
  */
77
- motion?: Prettify<ProgressBarMotion>;
101
+ motionController?: MotionController;
78
102
  };
79
103
  export type ProgressBarClassNamesProviderProps = {
80
104
  classNames?: Prettify<ProgressBarClassNames>;
@@ -88,13 +112,18 @@ export type ProgressBarValueProps = HTMLAttributes<HTMLSpanElement> & {
88
112
  children?: ReactNode;
89
113
  motion?: Prettify<ProgressBarPartMotion>;
90
114
  };
115
+ export type ProgressBarLabelProps = Omit<LabelProps, "motion"> & {
116
+ motion?: Prettify<ProgressBarPartMotion>;
117
+ };
91
118
  export type ProgressBarHintProps = HTMLAttributes<HTMLParagraphElement> & {
92
119
  children?: ReactNode;
120
+ motion?: Prettify<ProgressBarPartMotion>;
93
121
  };
94
122
  export type ProgressBarErrorProps = HTMLAttributes<HTMLParagraphElement> & {
95
123
  children?: ReactNode;
124
+ motion?: Prettify<ProgressBarPartMotion>;
96
125
  };
97
- export type UseProgressBarRootStateProps = Omit<ProgressBarProps, "className" | "classNames" | "motion">;
126
+ export type UseProgressBarRootStateProps = Omit<ProgressBarProps, "className" | "classNames" | "motion" | "motionController">;
98
127
  export type UseProgressBarTrackStateProps = Pick<ProgressBarTrackProps, "value" | "indeterminate" | "min" | "max" | "size" | "thickness" | "color" | "formatValue" | "orientation"> & {
99
128
  "aria-describedby"?: string;
100
129
  };
@@ -107,12 +136,6 @@ export type ProgressBarTrackAriaProps = {
107
136
  labelId?: string;
108
137
  ariaDescribedBy?: string;
109
138
  };
110
- export type UseProgressBarFillAnimationProps = {
111
- indeterminate: boolean;
112
- /** 0–100 progress for determinate fill scale. */
113
- percent: number;
114
- isHorizontal: boolean;
115
- };
116
139
  export type ProgressBarSimpleBodyProps = {
117
140
  label?: ReactNode;
118
141
  showValue?: boolean;
@@ -9,7 +9,8 @@ export declare const RadioRoot: import('react').ForwardRefExoticComponent<Omit<i
9
9
  danger?: boolean;
10
10
  className?: string;
11
11
  classNames?: import('../../..').Prettify<import('./radioTypes').RadioClassNames>;
12
- motion?: import('../../..').Prettify<import('./radioTypes').RadioMotion>;
12
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./radioTypes').RadioMotion>>;
13
+ motionController?: import('../utils/slotMotion').MotionController;
13
14
  onPointerDown?: (e: import('react').PointerEvent<HTMLLabelElement>) => void;
14
15
  } & import('react').RefAttributes<HTMLLabelElement>>;
15
16
  export { RadioControl, RadioIndicator, RadioContent, RadioLabel, RadioHint, RadioError, } from './radioParts';
@@ -9,10 +9,13 @@ export declare const Radio: import('react').ForwardRefExoticComponent<Omit<impor
9
9
  danger?: boolean;
10
10
  className?: string;
11
11
  classNames?: import('../../..').Prettify<import('./radioTypes').RadioClassNames>;
12
- motion?: import('../../..').Prettify<import('./radioTypes').RadioMotion>;
12
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./radioTypes').RadioMotion>>;
13
+ motionController?: import('../utils/slotMotion').MotionController;
13
14
  onPointerDown?: (e: import('react').PointerEvent<HTMLLabelElement>) => void;
14
15
  } & import('react').RefAttributes<HTMLLabelElement>> & {
15
- Control: import('react').ForwardRefExoticComponent<import('./radioTypes').RadioControlProps & import('react').RefAttributes<HTMLSpanElement>>;
16
+ Control: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
17
+ motionController?: import('../utils/slotMotion').MotionController;
18
+ } & import('react').RefAttributes<HTMLSpanElement>>;
16
19
  Indicator: typeof RadioIndicator & {
17
20
  Fill: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
18
21
  motion?: import('../../..').Prettify<import('../SelectionIndicator').SelectionIndicatorCheckMotion>;
@@ -1,5 +1,6 @@
1
+ import { MotionMapWithEvents } from '../utils/slotMotion';
1
2
  import { SelectionIndicatorMotion } from '../SelectionIndicator';
2
- import { RadioMotion, UseRadioAnimationsProps } from './radioTypes';
3
+ import { RadioCheckMotion, RadioMotion, UseRadioAnimationsProps } from './radioTypes';
3
4
  /** Root Radio `motion` keys → SelectionIndicator slots. */
4
5
  export declare const RADIO_MOTION_SLOT_MAP: {
5
6
  readonly indicator: "root";
@@ -7,9 +8,9 @@ export declare const RADIO_MOTION_SLOT_MAP: {
7
8
  readonly indicatorMark: "mark";
8
9
  };
9
10
  export declare function resolveRadioIndicatorMotion({ rootMotion, indicatorMotion, }: {
10
- rootMotion?: RadioMotion;
11
- indicatorMotion?: SelectionIndicatorMotion;
12
- }): SelectionIndicatorMotion | undefined;
11
+ rootMotion?: MotionMapWithEvents<RadioMotion>;
12
+ indicatorMotion?: MotionMapWithEvents<SelectionIndicatorMotion>;
13
+ }): MotionMapWithEvents<SelectionIndicatorMotion> | undefined;
13
14
  export declare function useRadioControlTrackAnimation(): import('react').RefObject<HTMLSpanElement | null>;
14
15
  export declare function useRadioTextMotion({ isDisabled, enableTextMotion, textMotionRef, onPointerDown, onKeyDown, }: UseRadioAnimationsProps): {
15
16
  handlePointerEnter: (e: import('react').PointerEvent<HTMLLabelElement>) => void;
@@ -17,3 +18,24 @@ export declare function useRadioTextMotion({ isDisabled, enableTextMotion, textM
17
18
  handlePointerDown: (e: import('react').PointerEvent<HTMLLabelElement>) => void;
18
19
  handleKeyDown: (e: import('react').KeyboardEvent<HTMLLabelElement>) => void;
19
20
  };
21
+ export type RadioChromeSlot = "label" | "hint" | "error";
22
+ export declare function useRadioChromeSlot(slot: RadioChromeSlot, motion?: RadioCheckMotion): {
23
+ setRef: (node: HTMLElement | null) => void;
24
+ targetRef: import('react').RefObject<HTMLElement | null>;
25
+ pointerHandlers: {
26
+ onPointerOver: (e: import('react').PointerEvent<HTMLElement>) => void;
27
+ onPointerOut: (e: import('react').PointerEvent<HTMLElement>) => void;
28
+ onPointerDown: (e: import('react').PointerEvent<HTMLElement>) => void;
29
+ onPointerUp: (e: import('react').PointerEvent<HTMLElement>) => void;
30
+ };
31
+ };
32
+ export declare function useRadioLabelSlot(motion?: RadioCheckMotion): {
33
+ setRef: (node: HTMLElement | null) => void;
34
+ targetRef: import('react').RefObject<HTMLElement | null>;
35
+ pointerHandlers: {
36
+ onPointerOver: (e: import('react').PointerEvent<HTMLElement>) => void;
37
+ onPointerOut: (e: import('react').PointerEvent<HTMLElement>) => void;
38
+ onPointerDown: (e: import('react').PointerEvent<HTMLElement>) => void;
39
+ onPointerUp: (e: import('react').PointerEvent<HTMLElement>) => void;
40
+ };
41
+ };