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, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
- import { MotionValue } from '../utils/slotMotion';
4
- import { ColorSwatchSize } from './ColorSwatch';
3
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
4
+ import { ColorSwatchShape, ColorSwatchSize } from './ColorSwatch';
5
5
  import { HSVA } from './colorUtils';
6
6
  export type ColorPickerSize = "small" | "base" | "mid" | "large";
7
7
  export type ColorPickerVariant = "default" | "gloss";
@@ -33,7 +33,6 @@ export type ColorPickerPartMotion = {
33
33
  pressIn?: MotionValue;
34
34
  pressOut?: MotionValue;
35
35
  enter?: MotionValue;
36
- leave?: MotionValue;
37
36
  change?: MotionValue;
38
37
  };
39
38
  export type ColorPickerMotion = {
@@ -41,9 +40,13 @@ export type ColorPickerMotion = {
41
40
  area?: ColorPickerPartMotion;
42
41
  areaThumb?: ColorPickerPartMotion;
43
42
  hexInput?: ColorPickerPartMotion;
43
+ alphaInput?: ColorPickerPartMotion;
44
44
  presets?: ColorPickerPartMotion;
45
45
  hueSlider?: ColorPickerPartMotion;
46
46
  alphaSlider?: ColorPickerPartMotion;
47
+ previewSwatch?: ColorPickerPartMotion;
48
+ /** Pass-through to `Popover.Trigger` (nested Popover scope). */
49
+ trigger?: ColorPickerPartMotion;
47
50
  };
48
51
  export type ColorPickerProps = {
49
52
  children?: ReactNode;
@@ -59,24 +62,39 @@ export type ColorPickerProps = {
59
62
  disabled?: boolean;
60
63
  classNames?: Prettify<ColorPickerClassNames>;
61
64
  /**
62
- * Per-slot motion (`contentPanel`, `area`, `areaThumb`, `hexInput`, `presets`, `hueSlider`, `alphaSlider`).
63
- * Root is a portal-host map (like Dropdown). Thumb drag `left`/`top` is kit-internal.
64
- * Defaults are empty. Pass `hueSlider` / `alphaSlider` through to ColorSlider (nested scope does not inherit).
65
+ * Per-slot motion (`contentPanel`, `area`, `areaThumb`, `hexInput`, `alphaInput`, `presets`, `hueSlider`, `alphaSlider`, `previewSwatch`).
66
+ * Root is a portal-host map (like Dropdown). `contentPanel` / `hexInput` / `alphaInput` / `presets` / `previewSwatch` play opt-in `enter`.
67
+ * `area` plays `change` on hex (not mount `enter` — drag surface). Thumb `left`/`top` is kit-internal.
68
+ * `trigger` is pass-through to Popover. Defaults are empty. Pass `hueSlider` / `alphaSlider` through to ColorSlider (nested scope does not inherit).
69
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
65
70
  */
66
- motion?: Prettify<ColorPickerMotion>;
71
+ motion?: Prettify<MotionMapWithEvents<ColorPickerMotion>>;
72
+ /**
73
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
74
+ * Provider lives on Root; slots register when `Content` is open. No `root` slot — use `playSlot("contentPanel")`.
75
+ * Not placed on the DOM. Nested ColorSlider / ColorSwatch keep their own scopes.
76
+ */
77
+ motionController?: MotionController;
67
78
  };
68
79
  export type ColorPickerTriggerProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {
69
80
  swatchSize?: ColorSwatchSize;
70
81
  /** Pass-through to `Popover.Trigger` (default `true` there). */
71
82
  asChild?: boolean;
72
83
  children?: ReactNode;
84
+ motion?: Prettify<ColorPickerPartMotion>;
85
+ };
86
+ export type ColorPickerPreviewProps = Omit<HTMLAttributes<HTMLSpanElement>, "color"> & {
87
+ color?: string;
88
+ size?: ColorSwatchSize;
89
+ shape?: ColorSwatchShape;
90
+ motion?: Prettify<ColorPickerPartMotion>;
73
91
  };
74
92
  export type ColorPickerContentProps = Omit<HTMLAttributes<HTMLDivElement>, "color"> & {
75
93
  showAlpha?: boolean;
76
94
  presets?: string[];
77
95
  /**
78
96
  * Custom panel body. Default layout: Area, sliders, hex/alpha inputs, presets.
79
- * Compose with `ColorPicker.Area` / `HexInput` / `AlphaInput` / `Presets`.
97
+ * Compose with `ColorPicker.Area` / `Preview` / `HexInput` / `AlphaInput` / `Presets`.
80
98
  */
81
99
  children?: ReactNode;
82
100
  motion?: Prettify<ColorPickerPartMotion>;
@@ -87,7 +105,9 @@ export type ColorPickerAreaProps = HTMLAttributes<HTMLDivElement> & {
87
105
  export type ColorPickerHexInputProps = HTMLAttributes<HTMLDivElement> & {
88
106
  motion?: Prettify<ColorPickerPartMotion>;
89
107
  };
90
- export type ColorPickerAlphaInputProps = HTMLAttributes<HTMLDivElement>;
108
+ export type ColorPickerAlphaInputProps = HTMLAttributes<HTMLDivElement> & {
109
+ motion?: Prettify<ColorPickerPartMotion>;
110
+ };
91
111
  export type ColorPickerPresetsProps = HTMLAttributes<HTMLDivElement> & {
92
112
  presets: string[];
93
113
  motion?: Prettify<ColorPickerPartMotion>;
@@ -1,7 +1,11 @@
1
1
  /** Scope only. Defaults and host play live in `colorSliderAnimations.ts`. */
2
- export declare const ColorSliderMotionProvider: ({ motion, defaults, params, children, }: {
3
- motion?: import('../utils/slotMotion').MotionSlotMap;
2
+ export declare const ColorSliderMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
3
+ motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
4
4
  defaults?: import('../utils/slotMotion').MotionSlotMap;
5
5
  params?: import('../utils/slotMotion').MotionRecipeParams;
6
+ controller?: import('../utils/slotMotion').MotionController;
7
+ motionState?: string;
8
+ motionPayload?: unknown;
9
+ playInitialState?: boolean;
6
10
  children: import('react').ReactNode;
7
11
  }) => import("react/jsx-runtime").JSX.Element, useColorSliderMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalColorSliderMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
- import { MotionValue } from '../utils/slotMotion';
3
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
4
4
  import { SliderOrientation, SliderSize } from '../Slider/sliderTypes';
5
5
  import { HSVA } from './colorUtils';
6
6
  export type ColorChannel = "hue" | "saturation" | "value" | "alpha" | "red" | "green" | "blue";
@@ -33,6 +33,11 @@ export type ColorSliderTrackProps = Omit<HTMLAttributes<HTMLDivElement>, "color"
33
33
  * Defaults are empty.
34
34
  */
35
35
  motion?: Prettify<ColorSliderPartMotion>;
36
+ /**
37
+ * Handle for this Track nested host (`track`). Simple API: pass `motionController`
38
+ * on `ColorSlider` — it is forwarded here.
39
+ */
40
+ motionController?: MotionController;
36
41
  };
37
42
  export type ColorSliderProps = Omit<HTMLAttributes<HTMLDivElement>, "color"> & {
38
43
  channel: ColorChannel;
@@ -47,6 +52,15 @@ export type ColorSliderProps = Omit<HTMLAttributes<HTMLDivElement>, "color"> & {
47
52
  /**
48
53
  * Per-slot motion (`root`, `track`). Nested ColorSlider.Track does not inherit defaults.
49
54
  * Pass `motion.track` through to Track. Defaults are empty.
55
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
56
+ * Simple API: `motionController` is forwarded to `ColorSlider.Track`.
57
+ * Compound: this handle attaches to the Root `root` slot; pass another handle on `Track`.
58
+ */
59
+ motion?: Prettify<MotionMapWithEvents<ColorSliderMotion>>;
60
+ /**
61
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
62
+ * Simple API: forwarded to the Track nested Provider. Compound: Root scope (`root`).
63
+ * Not placed on the DOM.
50
64
  */
51
- motion?: Prettify<ColorSliderMotion>;
65
+ motionController?: MotionController;
52
66
  };
@@ -1,7 +1,11 @@
1
1
  /** Scope only. Defaults and host play live in `colorSwatchAnimations.ts`. */
2
- export declare const ColorSwatchMotionProvider: ({ motion, defaults, params, children, }: {
3
- motion?: import('../utils/slotMotion').MotionSlotMap;
2
+ export declare const ColorSwatchMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
3
+ motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
4
4
  defaults?: import('../utils/slotMotion').MotionSlotMap;
5
5
  params?: import('../utils/slotMotion').MotionRecipeParams;
6
+ controller?: import('../utils/slotMotion').MotionController;
7
+ motionState?: string;
8
+ motionPayload?: unknown;
9
+ playInitialState?: boolean;
6
10
  children: import('react').ReactNode;
7
11
  }) => import("react/jsx-runtime").JSX.Element, useColorSwatchMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalColorSwatchMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,6 +1,6 @@
1
1
  import { ButtonHTMLAttributes, KeyboardEvent, MutableRefObject, PointerEvent } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
- import { MotionValue } from '../utils/slotMotion';
3
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
4
4
  export type ColorSwatchSize = "small" | "base" | "mid" | "large";
5
5
  export type ColorSwatchShape = "square" | "circle" | "rounded";
6
6
  export type ColorSwatchPartMotion = {
@@ -17,7 +17,16 @@ export type ColorSwatchProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "co
17
17
  size?: ColorSwatchSize;
18
18
  shape?: ColorSwatchShape;
19
19
  selected?: boolean;
20
- motion?: Prettify<ColorSwatchMotion>;
20
+ /**
21
+ * Per-slot motion (`root`). Only the interactive button (`onClick`) mounts a scope.
22
+ * Decorative `<span>` has no Provider. `events` — namespaced app commands.
23
+ */
24
+ motion?: Prettify<MotionMapWithEvents<ColorSwatchMotion>>;
25
+ /**
26
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
27
+ * Interactive swatch only. Not placed on the DOM.
28
+ */
29
+ motionController?: MotionController;
21
30
  };
22
31
  export type UseColorSwatchAnimationsProps = {
23
32
  disabled: boolean;
@@ -4,6 +4,7 @@ export declare const ColorPicker: typeof ColorPickerRoot & {
4
4
  swatchSize?: import('./colorSwatchTypes').ColorSwatchSize;
5
5
  asChild?: boolean;
6
6
  children?: import('react').ReactNode;
7
+ motion?: import('../../..').Prettify<import('./colorPickerTypes').ColorPickerPartMotion>;
7
8
  } & import('react').RefAttributes<HTMLButtonElement>>;
8
9
  Content: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "color"> & {
9
10
  showAlpha?: boolean;
@@ -14,10 +15,18 @@ export declare const ColorPicker: typeof ColorPickerRoot & {
14
15
  Area: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
15
16
  motion?: import('../../..').Prettify<import('./colorPickerTypes').ColorPickerPartMotion>;
16
17
  } & import('react').RefAttributes<HTMLDivElement>>;
18
+ Preview: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLSpanElement>, "color"> & {
19
+ color?: string;
20
+ size?: import('./colorSwatchTypes').ColorSwatchSize;
21
+ shape?: import('./colorSwatchTypes').ColorSwatchShape;
22
+ motion?: import('../../..').Prettify<import('./colorPickerTypes').ColorPickerPartMotion>;
23
+ } & import('react').RefAttributes<HTMLSpanElement>>;
17
24
  HexInput: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
18
25
  motion?: import('../../..').Prettify<import('./colorPickerTypes').ColorPickerPartMotion>;
19
26
  } & import('react').RefAttributes<HTMLDivElement>>;
20
- AlphaInput: import('react').ForwardRefExoticComponent<import('./colorPickerTypes').ColorPickerAlphaInputProps & import('react').RefAttributes<HTMLDivElement>>;
27
+ AlphaInput: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
28
+ motion?: import('../../..').Prettify<import('./colorPickerTypes').ColorPickerPartMotion>;
29
+ } & import('react').RefAttributes<HTMLDivElement>>;
21
30
  Presets: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
22
31
  presets: string[];
23
32
  motion?: import('../../..').Prettify<import('./colorPickerTypes').ColorPickerPartMotion>;
@@ -33,7 +42,8 @@ export declare const ColorSlider: import('react').ForwardRefExoticComponent<Omit
33
42
  size?: import('./colorSliderTypes').ColorSliderSize;
34
43
  orientation?: import('./colorSliderTypes').ColorSliderOrientation;
35
44
  disabled?: boolean;
36
- motion?: import('../../..').Prettify<import('./colorSliderTypes').ColorSliderMotion>;
45
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./colorSliderTypes').ColorSliderMotion>>;
46
+ motionController?: import('../utils/slotMotion').MotionController;
37
47
  } & import('react').RefAttributes<HTMLDivElement>> & {
38
48
  Track: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "color"> & {
39
49
  channel: import('./colorSliderTypes').ColorChannel;
@@ -45,10 +55,11 @@ export declare const ColorSlider: import('react').ForwardRefExoticComponent<Omit
45
55
  orientation?: import('./colorSliderTypes').ColorSliderOrientation;
46
56
  disabled?: boolean;
47
57
  motion?: import('../../..').Prettify<import('./colorSliderTypes').ColorSliderPartMotion>;
58
+ motionController?: import('../utils/slotMotion').MotionController;
48
59
  } & import('react').RefAttributes<HTMLDivElement>>;
49
60
  };
50
61
  export { useColorPicker } from './colorPickerContext';
51
- export type { ColorPickerProps, ColorPickerTriggerProps, ColorPickerContentProps, ColorPickerAreaProps, ColorPickerHexInputProps, ColorPickerAlphaInputProps, ColorPickerPresetsProps, ColorPickerSize, ColorPickerVariant, ColorPickerClassNames, ColorPickerMotion, ColorPickerPartMotion, } from './colorPickerTypes';
62
+ export type { ColorPickerProps, ColorPickerTriggerProps, ColorPickerContentProps, ColorPickerAreaProps, ColorPickerHexInputProps, ColorPickerAlphaInputProps, ColorPickerPresetsProps, ColorPickerPreviewProps, ColorPickerSize, ColorPickerVariant, ColorPickerClassNames, ColorPickerMotion, ColorPickerPartMotion, } from './colorPickerTypes';
52
63
  export type { ColorSliderTrackProps, ColorSliderProps, ColorChannel, ColorSliderSize, ColorSliderOrientation, ColorSliderMotion, ColorSliderPartMotion, } from './ColorSlider';
53
64
  export { ColorSwatch, type ColorSwatchProps, type ColorSwatchSize, type ColorSwatchShape, type ColorSwatchMotion, type ColorSwatchPartMotion, } from './ColorSwatch';
54
65
  export { hsvaToHex, hexToHsva, hsvaToRgba, rgbaToHsva, rgbaToHex, hexToRgba, hsvaToColorString, hueToRgbString, type HSVA, type RGBA, } from './colorUtils';
@@ -1,7 +1,7 @@
1
1
  import { ComboBoxError, ComboBoxHint, ComboBoxLabel, ComboBoxInput, ComboBoxInputGroup, ComboBoxPopover, ComboBoxTrigger } from './comboBoxParts';
2
2
  import { ComboBoxProps } from './comboBoxTypes';
3
- export type { ComboBoxProps, ComboBoxSimpleProps, ComboBoxHintProps, ComboBoxErrorProps, ComboBoxInputGroupProps, ComboBoxInputProps, ComboBoxTriggerProps, ComboBoxPopoverProps, ComboBoxOption, ComboBoxClassNames, ComboBoxMotion, ComboBoxPartMotion, } from './comboBoxTypes';
4
- export declare function ComboBoxRoot({ children, label, hint, error, className, classNames, id, required, status, size, options, value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, variant, disabled, placeholder, menuMaxHeight, name, motion, ...rest }: ComboBoxProps): import("react/jsx-runtime").JSX.Element;
3
+ export type { ComboBoxProps, ComboBoxSimpleProps, ComboBoxHintProps, ComboBoxLabelProps, ComboBoxErrorProps, ComboBoxInputGroupProps, ComboBoxInputProps, ComboBoxTriggerProps, ComboBoxPopoverProps, ComboBoxOption, ComboBoxClassNames, ComboBoxMotion, ComboBoxPartMotion, } from './comboBoxTypes';
4
+ export declare function ComboBoxRoot({ children, label, hint, error, className, classNames, id, required, status, size, options, value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, variant, disabled, placeholder, menuMaxHeight, name, motion, motionController, ...rest }: ComboBoxProps): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace ComboBoxRoot {
6
6
  var displayName: string;
7
7
  }
@@ -1,4 +1,4 @@
1
- import { MutableRefObject, RefObject } from 'react';
1
+ import { ForwardedRef, MutableRefObject, PointerEventHandler, RefObject } from 'react';
2
2
  import { ComboBoxMotion, ComboBoxPartMotion, UseComboBoxShellAnimationsProps } from './comboBoxTypes';
3
3
  export declare function resolveComboBoxMotionDefaults({ isGloss, disabled, groupSegment, }: {
4
4
  isGloss: boolean;
@@ -46,3 +46,21 @@ export declare function useComboBoxShellAnimations({ shellRef, disabled, variant
46
46
  "data-gloss-disabled"?: undefined;
47
47
  };
48
48
  };
49
+ export type ComboBoxChromeSlot = "label" | "hint" | "error";
50
+ export declare function useComboBoxChromeSlot(slot: ComboBoxChromeSlot, { motion, forwardedRef, onPointerOver, onPointerOut, onPointerDown, onPointerUp, }?: {
51
+ motion?: ComboBoxPartMotion;
52
+ forwardedRef?: ForwardedRef<HTMLElement>;
53
+ onPointerOver?: PointerEventHandler<HTMLElement>;
54
+ onPointerOut?: PointerEventHandler<HTMLElement>;
55
+ onPointerDown?: PointerEventHandler<HTMLElement>;
56
+ onPointerUp?: PointerEventHandler<HTMLElement>;
57
+ }): {
58
+ setRef: (node: HTMLElement | null) => void;
59
+ targetRef: RefObject<HTMLElement | null>;
60
+ pointerHandlers: {
61
+ onPointerOver: (e: import('react').PointerEvent<HTMLElement>) => void;
62
+ onPointerOut: (e: import('react').PointerEvent<HTMLElement>) => void;
63
+ onPointerDown: (e: import('react').PointerEvent<HTMLElement>) => void;
64
+ onPointerUp: (e: import('react').PointerEvent<HTMLElement>) => void;
65
+ };
66
+ };
@@ -13,9 +13,13 @@ export declare function useComboBoxFieldContext(): ComboBoxFieldContextValue;
13
13
  export declare function ComboBoxClassNamesProvider({ classNames, children, }: ComboBoxClassNamesProviderProps): import("react/jsx-runtime").JSX.Element;
14
14
  export declare function useComboBoxClassNames(): ComboBoxClassNames;
15
15
  /** Scope only. Defaults and host play live in `comboBoxAnimations.ts`. */
16
- export declare const ComboBoxMotionProvider: ({ motion, defaults, params, children, }: {
17
- motion?: import('../utils/slotMotion').MotionSlotMap;
16
+ export declare const ComboBoxMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
17
+ motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
18
18
  defaults?: import('../utils/slotMotion').MotionSlotMap;
19
19
  params?: import('../utils/slotMotion').MotionRecipeParams;
20
+ controller?: import('../utils/slotMotion').MotionController;
21
+ motionState?: string;
22
+ motionPayload?: unknown;
23
+ playInitialState?: boolean;
20
24
  children: ReactNode;
21
25
  }) => import("react/jsx-runtime").JSX.Element, useComboBoxMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalComboBoxMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,14 +1,12 @@
1
- import { LabelProps } from '../Label';
2
- import { ComboBoxErrorProps, ComboBoxHintProps } from './comboBoxTypes';
3
- export declare function ComboBoxLabel({ className, classNames, ...rest }: LabelProps): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace ComboBoxLabel {
5
- var displayName: string;
6
- }
7
- export declare function ComboBoxHint({ children, status, className, id: idProp, ...rest }: ComboBoxHintProps): import("react/jsx-runtime").JSX.Element;
8
- export declare namespace ComboBoxHint {
9
- var displayName: string;
10
- }
11
- export declare function ComboBoxError({ children, className, id: idProp, ...rest }: ComboBoxErrorProps): import("react/jsx-runtime").JSX.Element;
12
- export declare namespace ComboBoxError {
13
- var displayName: string;
14
- }
1
+ export declare const ComboBoxLabel: import('react').ForwardRefExoticComponent<Omit<import('../Label').LabelProps, "motion" | "motionController"> & {
2
+ motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
3
+ } & import('react').RefAttributes<HTMLElement>>;
4
+ export declare const ComboBoxHint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
5
+ children?: import('react').ReactNode;
6
+ status?: Exclude<import('../Input').InputStatus, "danger"> | "default";
7
+ motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
8
+ } & import('react').RefAttributes<HTMLElement>>;
9
+ export declare const ComboBoxError: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
10
+ children?: import('react').ReactNode;
11
+ motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
12
+ } & import('react').RefAttributes<HTMLElement>>;
@@ -1,6 +1,8 @@
1
+ import { MotionController } from '../utils/slotMotion';
1
2
  export declare const ComboBoxInputGroup: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
2
3
  groupSegment?: import('../Button/buttonContext').ButtonGroupSegment;
3
4
  motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
5
+ motionController?: MotionController;
4
6
  } & import('react').RefAttributes<HTMLDivElement>>;
5
7
  export declare const ComboBoxInput: import('react').ForwardRefExoticComponent<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "defaultValue"> & {
6
8
  motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
@@ -15,10 +17,11 @@ export declare const ComboBoxPopover: import('react').ForwardRefExoticComponent<
15
17
  offset?: number;
16
18
  listBoxProps?: Omit<import('../ListBox').ListBoxProps, "children" | "value" | "defaultValue" | "onValueChange" | "activeValue" | "onActiveValueChange" | "listId">;
17
19
  } & import('react').RefAttributes<HTMLDivElement>>;
18
- export declare function ComboBoxSimpleBody({ label, hint, error, labelId, }: {
20
+ export declare function ComboBoxSimpleBody({ label, hint, error, labelId, motionController, }: {
19
21
  label: React.ReactNode;
20
22
  hint: React.ReactNode;
21
23
  error: React.ReactNode;
22
24
  labelId: string;
25
+ motionController?: MotionController;
23
26
  }): import("react/jsx-runtime").JSX.Element;
24
27
  export { ComboBoxError, ComboBoxHint, ComboBoxLabel } from './comboBoxFieldParts';
@@ -2,9 +2,10 @@ import { HTMLAttributes, InputHTMLAttributes, MutableRefObject, ReactNode, RefOb
2
2
  import { Prettify } from '../../../utils/prettify';
3
3
  import { ButtonGroupSegment } from '../../composite/ButtonGroup/buttonGroupTypes';
4
4
  import { InputSize, InputStatus, InputVariant } from '../Input';
5
+ import { LabelProps } from '../Label';
5
6
  import { ListBoxProps } from '../ListBox';
6
7
  import { PopoverSide } from '../Popover';
7
- import { MotionValue } from '../utils/slotMotion';
8
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
8
9
  import { FloatingAlign } from '../Tooltip/tooltipPosition';
9
10
  export type ComboBoxOption = {
10
11
  value: string;
@@ -47,6 +48,9 @@ export type ComboBoxMotion = {
47
48
  input?: ComboBoxPartMotion;
48
49
  trigger?: ComboBoxPartMotion;
49
50
  triggerIcon?: ComboBoxPartMotion;
51
+ label?: ComboBoxPartMotion;
52
+ hint?: ComboBoxPartMotion;
53
+ error?: ComboBoxPartMotion;
50
54
  };
51
55
  export type ComboBoxProps = HTMLAttributes<HTMLDivElement> & {
52
56
  children?: ReactNode;
@@ -71,10 +75,20 @@ export type ComboBoxProps = HTMLAttributes<HTMLDivElement> & {
71
75
  menuMaxHeight?: string;
72
76
  classNames?: Prettify<ComboBoxClassNames>;
73
77
  /**
74
- * Per-slot motion (`inputGroup`, `input`, `trigger`, `triggerIcon`).
78
+ * Per-slot motion (`inputGroup`, `input`, `trigger`, `triggerIcon`, `label`, `hint`, `error`).
75
79
  * Menu enter lives on Popover — not duplicated here.
80
+ * Chrome registers on the Root scope (siblings of InputGroup). InputGroup is the nested shell host.
81
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
82
+ * Simple API: `motionController` is forwarded to `ComboBox.InputGroup` (shell host).
83
+ * Compound: this handle attaches to the Root chrome scope; pass another handle on `InputGroup`.
76
84
  */
77
- motion?: Prettify<ComboBoxMotion>;
85
+ motion?: Prettify<MotionMapWithEvents<ComboBoxMotion>>;
86
+ /**
87
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
88
+ * Simple API: forwarded to the InputGroup nested Provider. Compound: Root chrome scope.
89
+ * Not placed on the DOM.
90
+ */
91
+ motionController?: MotionController;
78
92
  };
79
93
  export type ComboBoxSimpleProps = ComboBoxProps & {
80
94
  options: ComboBoxOption[];
@@ -121,6 +135,11 @@ export type ComboBoxInputGroupProps = HTMLAttributes<HTMLDivElement> & {
121
135
  groupSegment?: ButtonGroupSegment;
122
136
  /** Part motion for the `inputGroup` host slot. Root `motion.inputGroup` still applies. */
123
137
  motion?: Prettify<ComboBoxPartMotion>;
138
+ /**
139
+ * Deferred handle for the InputGroup host (`inputGroup`, `input`, `trigger`, `triggerIcon`).
140
+ * One handle → this nested scope. Simple API: pass `motionController` on `ComboBox` — it is forwarded here.
141
+ */
142
+ motionController?: MotionController;
124
143
  };
125
144
  export type ComboBoxInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "size"> & {
126
145
  motion?: Prettify<ComboBoxPartMotion>;
@@ -146,11 +165,16 @@ export type ComboBoxPopoverProps = HTMLAttributes<HTMLDivElement> & {
146
165
  /** Props forwarded to the inner `ListBox` (controlled selection props are owned by ComboBox). */
147
166
  listBoxProps?: Omit<ListBoxProps, "children" | "value" | "defaultValue" | "onValueChange" | "activeValue" | "onActiveValueChange" | "listId">;
148
167
  };
168
+ export type ComboBoxLabelProps = Omit<LabelProps, "motion" | "motionController"> & {
169
+ motion?: Prettify<ComboBoxPartMotion>;
170
+ };
149
171
  export type ComboBoxHintProps = HTMLAttributes<HTMLParagraphElement> & {
150
172
  children?: ReactNode;
151
173
  status?: Exclude<InputStatus, "danger"> | "default";
174
+ motion?: Prettify<ComboBoxPartMotion>;
152
175
  };
153
176
  export type ComboBoxErrorProps = HTMLAttributes<HTMLParagraphElement> & {
154
177
  children?: ReactNode;
178
+ motion?: Prettify<ComboBoxPartMotion>;
155
179
  };
156
180
  export type UseComboBoxRootStateProps = ComboBoxProps;
@@ -1,9 +1,12 @@
1
- import { ComboBoxError, ComboBoxHint, ComboBoxLabel, ComboBoxRoot } from './ComboBox';
1
+ import { ComboBoxRoot } from './ComboBox';
2
2
  export declare const ComboBox: typeof ComboBoxRoot & {
3
- Label: typeof ComboBoxLabel;
3
+ Label: import('react').ForwardRefExoticComponent<Omit<import('../Label').LabelProps, "motion" | "motionController"> & {
4
+ motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
5
+ } & import('react').RefAttributes<HTMLElement>>;
4
6
  InputGroup: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
5
7
  groupSegment?: import('../Button/buttonContext').ButtonGroupSegment;
6
8
  motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
9
+ motionController?: import('../utils/slotMotion').MotionController;
7
10
  } & import('react').RefAttributes<HTMLDivElement>>;
8
11
  Input: import('react').ForwardRefExoticComponent<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "defaultValue"> & {
9
12
  motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
@@ -18,9 +21,16 @@ export declare const ComboBox: typeof ComboBoxRoot & {
18
21
  offset?: number;
19
22
  listBoxProps?: Omit<import('../ListBox').ListBoxProps, "children" | "value" | "defaultValue" | "onValueChange" | "activeValue" | "onActiveValueChange" | "listId">;
20
23
  } & import('react').RefAttributes<HTMLDivElement>>;
21
- Hint: typeof ComboBoxHint;
22
- Error: typeof ComboBoxError;
24
+ Hint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
25
+ children?: import('react').ReactNode;
26
+ status?: Exclude<import('../Input').InputStatus, "danger"> | "default";
27
+ motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
28
+ } & import('react').RefAttributes<HTMLElement>>;
29
+ Error: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
30
+ children?: import('react').ReactNode;
31
+ motion?: import('../../..').Prettify<import('./comboBoxTypes').ComboBoxPartMotion>;
32
+ } & import('react').RefAttributes<HTMLElement>>;
23
33
  };
24
34
  export type { ComboBoxOption } from './comboBoxTypes';
25
- export type { ComboBoxProps, ComboBoxSimpleProps, ComboBoxHintProps, ComboBoxErrorProps, ComboBoxInputGroupProps, ComboBoxInputProps, ComboBoxTriggerProps, ComboBoxPopoverProps, ComboBoxClassNames, ComboBoxMotion, ComboBoxPartMotion, } from './comboBoxTypes';
35
+ export type { ComboBoxProps, ComboBoxSimpleProps, ComboBoxHintProps, ComboBoxLabelProps, ComboBoxErrorProps, ComboBoxInputGroupProps, ComboBoxInputProps, ComboBoxTriggerProps, ComboBoxPopoverProps, ComboBoxClassNames, ComboBoxMotion, ComboBoxPartMotion, } from './comboBoxTypes';
26
36
  export { comboBoxFilteredValues } from './comboBoxAPI';
@@ -1,7 +1,7 @@
1
1
  import { DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHeadingBlock, DialogPanel, DialogTitle, DialogTrigger } from './dialogParts';
2
2
  import { DialogProps } from './dialogTypes';
3
3
  export type { DialogProps, DialogPanelProps, DialogTriggerProps, DialogVariant, DialogSize, DialogHeaderProps, DialogTitleProps, DialogDescriptionProps, DialogBodyProps, DialogFooterProps, DialogCloseProps, DialogContentProps, DialogHeadingBlockProps, DialogClassNames, DialogMotion, DialogLifecycleMotion, DialogPartMotion, } from './dialogTypes';
4
- export declare function DialogRoot({ open, defaultOpen, onOpenChange, size, children, classNames, motion, portalContainer, }: DialogProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function DialogRoot({ open, defaultOpen, onOpenChange, size, children, classNames, motion, motionController, portalContainer, }: DialogProps): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace DialogRoot {
6
6
  var displayName: string;
7
7
  }
@@ -7,9 +7,13 @@ export declare function DialogClassNamesProvider({ classNames, children, }: Dial
7
7
  export declare function useDialog(): DialogContextValue;
8
8
  export declare function useDialogClassNames(): DialogClassNames;
9
9
  /** Scope only. Defaults and host play live in `dialogAnimations.ts`. */
10
- export declare const DialogMotionProvider: ({ motion, defaults, params, children, }: {
11
- motion?: import('../utils/slotMotion').MotionSlotMap;
10
+ export declare const DialogMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
11
+ motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
12
12
  defaults?: import('../utils/slotMotion').MotionSlotMap;
13
13
  params?: import('../utils/slotMotion').MotionRecipeParams;
14
+ controller?: import('../utils/slotMotion').MotionController;
15
+ motionState?: string;
16
+ motionPayload?: unknown;
17
+ playInitialState?: boolean;
14
18
  children: import('react').ReactNode;
15
19
  }) => import("react/jsx-runtime").JSX.Element, useDialogMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalDialogMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,4 +1,4 @@
1
- import { DialogBodyProps, DialogHeadingBlockProps, DialogPortalShellProps } from './dialogTypes';
1
+ import { DialogHeadingBlockProps, DialogPortalShellProps } from './dialogTypes';
2
2
  export declare const DialogContent: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
3
3
  motion?: import('../../..').Prettify<import('./dialogTypes').DialogLifecycleMotion>;
4
4
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -11,7 +11,7 @@ export declare const DialogTitle: import('react').ForwardRefExoticComponent<impo
11
11
  export declare const DialogDescription: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
12
12
  motion?: import('../../..').Prettify<import('./dialogTypes').DialogPartMotion>;
13
13
  } & import('react').RefAttributes<HTMLParagraphElement>>;
14
- export declare function DialogHeadingBlock({ className, ...rest }: DialogHeadingBlockProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function DialogHeadingBlock({ className, motion, onPointerOver, onPointerOut, ...rest }: DialogHeadingBlockProps): import("react/jsx-runtime").JSX.Element;
15
15
  export declare namespace DialogHeadingBlock {
16
16
  var displayName: string;
17
17
  }
@@ -20,23 +20,28 @@ export declare const DialogClose: import('react').ForwardRefExoticComponent<Omit
20
20
  size?: import('../CloseButton').CloseButtonSize;
21
21
  ripple?: boolean;
22
22
  classNames?: import('../../..').Prettify<import('../CloseButton').CloseButtonClassNames>;
23
- motion?: import('../../..').Prettify<import('../CloseButton').CloseButtonMotion>;
23
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('../CloseButton').CloseButtonMotion>>;
24
+ motionController?: import('../utils/slotMotion').MotionController;
24
25
  } & {
25
26
  motion?: import('../../..').Prettify<import('./dialogTypes').DialogLifecycleMotion>;
26
27
  } & import('react').RefAttributes<HTMLButtonElement>>;
27
- export declare const DialogBody: import('react').ForwardRefExoticComponent<DialogBodyProps & import('react').RefAttributes<HTMLDivElement>>;
28
+ export declare const DialogBody: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
29
+ motion?: import('../../..').Prettify<import('./dialogTypes').DialogLifecycleMotion>;
30
+ } & import('react').RefAttributes<HTMLDivElement>>;
28
31
  export declare const DialogFooter: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
29
32
  motion?: import('../../..').Prettify<import('./dialogTypes').DialogLifecycleMotion>;
30
33
  } & import('react').RefAttributes<HTMLDivElement>>;
31
34
  export declare const DialogTrigger: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
32
35
  asChild?: boolean;
33
36
  children?: import('react').ReactNode;
37
+ motion?: import('../../..').Prettify<import('./dialogTypes').DialogPartMotion>;
34
38
  } & import('react').RefAttributes<HTMLButtonElement>>;
35
39
  export declare const DialogPanel: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
36
40
  variant?: import('./dialogTypes').DialogVariant;
37
41
  dismissOnBackdrop?: boolean;
38
42
  themeAnchor?: HTMLElement | null;
39
43
  portalContainer?: HTMLElement | null;
40
- motion?: import('../../..').Prettify<import('./dialogTypes').DialogMotion>;
44
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./dialogTypes').DialogMotion>>;
45
+ motionController?: import('../utils/slotMotion').MotionController;
41
46
  } & import('react').RefAttributes<HTMLDivElement>>;
42
47
  export declare function DialogPortalShell({ children, className, style, variant, sizePreset, portalTheme, lightUi, titleId, descriptionId, hasTitle, hasDescription, dialogRef, overlayRef, panelRef, panelForwardedRef, panelRest, bindGlossPanelRef, onBackdropMouseDown, onDialogClose, onDialogCancel, contained, }: DialogPortalShellProps): import("react/jsx-runtime").JSX.Element;