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
@@ -9,21 +9,22 @@ export declare const CheckboxGroup: import('react').ForwardRefExoticComponent<Om
9
9
  size?: import('../../..').ComponentSize;
10
10
  children?: import('react').ReactNode;
11
11
  classNames?: import('../../..').Prettify<import('./checkboxGroupTypes').CheckboxGroupClassNames>;
12
- motion?: import('../../..').Prettify<import('./checkboxGroupTypes').CheckboxGroupMotion>;
12
+ motion?: import('../../..').Prettify<import('../../..').MotionMapWithEvents<import('./checkboxGroupTypes').CheckboxGroupMotion>>;
13
+ motionController?: import('../../..').MotionController;
13
14
  } & import('react').RefAttributes<HTMLFieldSetElement>> & {
14
- Legend: {
15
- ({ children, ...rest }: import('../utils/optionGroupFieldset').OptionGroupLegendProps): import("react/jsx-runtime").JSX.Element;
16
- displayName: string;
17
- };
15
+ Legend: import('react').ForwardRefExoticComponent<import('../utils/optionGroupFieldset').OptionGroupLegendProps & {
16
+ motion?: import('../../..').Prettify<import('./checkboxGroupTypes').CheckboxGroupPartMotion>;
17
+ } & import('react').RefAttributes<HTMLLegendElement>>;
18
18
  Label: import('../../core/Label').LabelComponent;
19
- Hint: {
20
- ({ id, className, ...rest }: import('../utils/optionGroupFieldset').OptionGroupHintProps): import("react/jsx-runtime").JSX.Element;
21
- displayName: string;
22
- };
23
- Error: {
24
- ({ id, className, ...rest }: import('../../..').FieldErrorProps): import("react/jsx-runtime").JSX.Element;
25
- displayName: string;
26
- };
19
+ Hint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
20
+ children?: import('react').ReactNode;
21
+ id?: string;
22
+ } & {
23
+ motion?: import('../../..').Prettify<import('./checkboxGroupTypes').CheckboxGroupPartMotion>;
24
+ } & import('react').RefAttributes<HTMLElement>>;
25
+ Error: import('react').ForwardRefExoticComponent<Omit<import('../../..').FieldErrorProps, "motion"> & {
26
+ motion?: import('../../..').Prettify<import('./checkboxGroupTypes').CheckboxGroupPartMotion>;
27
+ } & import('react').RefAttributes<HTMLElement>>;
27
28
  List: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
28
29
  orientation?: import('../utils/optionGroupFieldset').OptionGroupOrientation;
29
30
  } & {
@@ -31,13 +32,12 @@ export declare const CheckboxGroup: import('react').ForwardRefExoticComponent<Om
31
32
  } & import('react').RefAttributes<HTMLDivElement>>;
32
33
  Group: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
33
34
  children?: import('react').ReactNode;
34
- motion?: import('../../..').Prettify<import('../../core/Field').FieldPartMotion>;
35
+ motion?: import('../../..').Prettify<import('../../..').FieldPartMotion>;
35
36
  } & import('react').RefAttributes<HTMLDivElement>>;
36
- Actions: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
37
- children?: import('react').ReactNode;
38
- motion?: import('../../..').Prettify<import('../../core/Field').FieldPartMotion>;
37
+ Actions: import('react').ForwardRefExoticComponent<Omit<import('../../..').FieldSetActionsProps, "motion"> & {
38
+ motion?: import('../../..').Prettify<import('./checkboxGroupTypes').CheckboxGroupPartMotion>;
39
39
  } & import('react').RefAttributes<HTMLDivElement>>;
40
40
  };
41
- export type { CheckboxGroupProps, CheckboxGroupSelection, CheckboxGroupOrientation, CheckboxGroupClassNames, CheckboxGroupHintProps, CheckboxGroupLabelProps, CheckboxGroupLegendProps, CheckboxGroupListProps, CheckboxGroupErrorProps, CheckboxGroupMotion, CheckboxGroupPartMotion, } from './checkboxGroupTypes';
41
+ export type { CheckboxGroupProps, CheckboxGroupSelection, CheckboxGroupOrientation, CheckboxGroupClassNames, CheckboxGroupHintProps, CheckboxGroupLabelProps, CheckboxGroupLegendProps, CheckboxGroupListProps, CheckboxGroupErrorProps, CheckboxGroupActionsProps, CheckboxGroupMotion, CheckboxGroupPartMotion, } from './checkboxGroupTypes';
42
42
  export type { CheckboxGroupContextValue } from './checkboxGroupTypes';
43
43
  export { useCheckboxGroupContext, useOptionalCheckboxGroupContext, } from './checkboxGroupContext';
@@ -17,6 +17,7 @@ export declare const FormRoot: import('react').ForwardRefExoticComponent<Omit<im
17
17
  onSubmit?: (values: import('./formTypes').FormValues) => void | Promise<void>;
18
18
  onSubmitError?: (errors: Record<string, string>) => void;
19
19
  errorSummary?: ReactNode | ((entries: Array<[string, string]>) => ReactNode);
20
- motion?: import('../../..').Prettify<import('./formTypes').FormMotion>;
20
+ motion?: import('../../..').Prettify<import('../../..').MotionMapWithEvents<import('./formTypes').FormMotion>>;
21
+ motionController?: import('../../..').MotionController;
21
22
  } & import('react').RefAttributes<HTMLFormElement>>;
22
23
  export { FormSection, FormHeader, FormTitle, FormDescription, FormActions, FormErrorSummary, FormAnnounce, FormField, };
@@ -18,10 +18,14 @@ export declare function useFormSize(): FormSize;
18
18
  export declare function useOptionalFormBindingContext(): FormBindingContextValue | null;
19
19
  export declare function useFormBindingContext(): FormBindingContextValue;
20
20
  /** Scope only. Defaults and host play live in `formAnimations.ts`. */
21
- export declare const FormMotionProvider: ({ motion, defaults, params, children, }: {
22
- motion?: import('../../core/utils/slotMotion').MotionSlotMap;
21
+ export declare const FormMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
22
+ motion?: import('../../core/utils/slotMotion/motionEvents').MotionRootInput;
23
23
  defaults?: import('../../core/utils/slotMotion').MotionSlotMap;
24
24
  params?: import('../../core/utils/slotMotion').MotionRecipeParams;
25
+ controller?: import('../../core/utils/slotMotion').MotionController;
26
+ motionState?: string;
27
+ motionPayload?: unknown;
28
+ playInitialState?: boolean;
25
29
  children: ReactNode;
26
30
  }) => import("react/jsx-runtime").JSX.Element, useFormMotionScope: () => import('../../core/utils/slotMotion').MotionScopeValue, useOptionalFormMotionScope: () => import('../../core/utils/slotMotion').MotionScopeValue | null;
27
31
  export { FormBindingContext };
@@ -1,6 +1,7 @@
1
1
  export declare const FormSection: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
2
2
  classNames?: import('../../..').Prettify<Pick<import('./formTypes').FormClassNames, "section">>;
3
3
  motion?: import('../../..').Prettify<import('./formTypes').FormPartMotion>;
4
+ motionController?: import('../../core/utils/slotMotion').MotionController;
4
5
  } & import('react').RefAttributes<HTMLDivElement>>;
5
6
  export declare const FormHeader: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
6
7
  classNames?: import('../../..').Prettify<Pick<import('./formTypes').FormClassNames, "header">>;
@@ -28,4 +29,5 @@ export declare const FormField: import('react').ForwardRefExoticComponent<import
28
29
  rules?: import('./formTypes').FormFieldRules;
29
30
  classNames?: import('../../..').Prettify<Pick<import('./formTypes').FormClassNames, "field">>;
30
31
  motion?: import('../../..').Prettify<import('./formTypes').FormPartMotion>;
32
+ motionController?: import('../../core/utils/slotMotion').MotionController;
31
33
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
1
  import { FormHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
2
2
  import { ComponentSize } from '../../core/utils/sizeLayout';
3
3
  import { Prettify } from '../../../utils/prettify';
4
- import { MotionValue } from '../../core/utils/slotMotion';
4
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../../core/utils/slotMotion';
5
5
  export type FormValues = Record<string, unknown>;
6
6
  export type FormValidateMode = "onSubmit" | "onBlur" | "onChange";
7
7
  /** Form chrome size — Header / Title / Description / Section / Actions. Not cascaded to fields. */
@@ -124,12 +124,24 @@ export type FormProps = Omit<FormHTMLAttributes<HTMLFormElement>, "onSubmit"> &
124
124
  /**
125
125
  * Per-slot motion (`root`, `header`, `title`, `description`, `actions`, `errorSummary`,
126
126
  * `announce`, `section`, `field`). Does not steal child Input motion. Defaults are empty.
127
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
127
128
  */
128
- motion?: Prettify<FormMotion>;
129
+ motion?: Prettify<MotionMapWithEvents<FormMotion>>;
130
+ /**
131
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
132
+ * One handle → this Form scope (not nested `Form.Field` / `Form.Section`, not Input).
133
+ * Not placed on the DOM.
134
+ */
135
+ motionController?: MotionController;
129
136
  };
130
137
  export type FormSectionProps = HTMLAttributes<HTMLDivElement> & {
131
138
  classNames?: Prettify<Pick<FormClassNames, "section">>;
132
139
  motion?: Prettify<FormPartMotion>;
140
+ /**
141
+ * Handle for the nested Section scope (no `root` — `playSlot("section")`).
142
+ * Separate from the Form root handle.
143
+ */
144
+ motionController?: MotionController;
133
145
  };
134
146
  export type FormHeaderProps = HTMLAttributes<HTMLDivElement> & {
135
147
  classNames?: Prettify<Pick<FormClassNames, "header">>;
@@ -161,6 +173,11 @@ export type FormFieldProps = HTMLAttributes<HTMLDivElement> & {
161
173
  rules?: FormFieldRules;
162
174
  classNames?: Prettify<Pick<FormClassNames, "field">>;
163
175
  motion?: Prettify<FormPartMotion>;
176
+ /**
177
+ * Handle for the nested Field scope (no `root` — `playSlot("field")`).
178
+ * Separate from the Form root handle. Does not steal child Input motion.
179
+ */
180
+ motionController?: MotionController;
164
181
  };
165
182
  export type UseFormRootStateProps = FormProps;
166
183
  export type FormShellIds = {
@@ -13,11 +13,13 @@ export declare const Form: import('react').ForwardRefExoticComponent<Omit<import
13
13
  onSubmit?: (values: import('./formTypes').FormValues) => void | Promise<void>;
14
14
  onSubmitError?: (errors: Record<string, string>) => void;
15
15
  errorSummary?: import('react').ReactNode | ((entries: Array<[string, string]>) => import('react').ReactNode);
16
- motion?: import('../../..').Prettify<import('./formTypes').FormMotion>;
16
+ motion?: import('../../..').Prettify<import('../../..').MotionMapWithEvents<import('./formTypes').FormMotion>>;
17
+ motionController?: import('../../..').MotionController;
17
18
  } & import('react').RefAttributes<HTMLFormElement>> & {
18
19
  Section: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
19
20
  classNames?: import('../../..').Prettify<Pick<import('./formTypes').FormClassNames, "section">>;
20
21
  motion?: import('../../..').Prettify<import('./formTypes').FormPartMotion>;
22
+ motionController?: import('../../..').MotionController;
21
23
  } & import('react').RefAttributes<HTMLDivElement>>;
22
24
  Header: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
23
25
  classNames?: import('../../..').Prettify<Pick<import('./formTypes').FormClassNames, "header">>;
@@ -45,6 +47,7 @@ export declare const Form: import('react').ForwardRefExoticComponent<Omit<import
45
47
  rules?: import('./formTypes').FormFieldRules;
46
48
  classNames?: import('../../..').Prettify<Pick<import('./formTypes').FormClassNames, "field">>;
47
49
  motion?: import('../../..').Prettify<import('./formTypes').FormPartMotion>;
50
+ motionController?: import('../../..').MotionController;
48
51
  } & import('react').RefAttributes<HTMLDivElement>>;
49
52
  };
50
53
  export type { FormProps, FormSectionProps, FormHeaderProps, FormTitleProps, FormDescriptionProps, FormActionsProps, FormErrorSummaryProps, FormAnnounceProps, FormFieldProps, FormClassNames, FormSize, FormMotion, FormPartMotion, } from './Form';
@@ -1,5 +1,5 @@
1
- import { RadioGroupError, RadioGroupHint, RadioGroupLegend, RadioGroupList } from './radioGroupParts';
2
- export type { RadioGroupProps, RadioGroupOrientation, RadioGroupClassNames, RadioGroupHintProps, RadioGroupLabelProps, RadioGroupLegendProps, RadioGroupListProps, RadioGroupErrorProps, } from './radioGroupTypes';
1
+ import { RadioGroupActions, RadioGroupError, RadioGroupHint, RadioGroupLegend, RadioGroupList } from './radioGroupParts';
2
+ export type { RadioGroupProps, RadioGroupOrientation, RadioGroupClassNames, RadioGroupHintProps, RadioGroupLabelProps, RadioGroupLegendProps, RadioGroupListProps, RadioGroupErrorProps, RadioGroupActionsProps, RadioGroupMotion, RadioGroupPartMotion, } from './radioGroupTypes';
3
3
  export declare const RadioGroupRoot: import('react').ForwardRefExoticComponent<Omit<import('react').FieldsetHTMLAttributes<HTMLFieldSetElement>, "children" | "onChange"> & {
4
4
  required?: boolean;
5
5
  value?: string | null;
@@ -10,5 +10,6 @@ export declare const RadioGroupRoot: import('react').ForwardRefExoticComponent<O
10
10
  size?: import('../../..').ComponentSize;
11
11
  children?: import('react').ReactNode;
12
12
  classNames?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupClassNames>;
13
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupMotion>;
13
14
  } & import('react').RefAttributes<HTMLFieldSetElement>>;
14
- export { RadioGroupLegend, RadioGroupHint, RadioGroupError, RadioGroupList };
15
+ export { RadioGroupLegend, RadioGroupHint, RadioGroupError, RadioGroupActions, RadioGroupList, };
@@ -8,32 +8,34 @@ export declare const RadioGroup: import('react').ForwardRefExoticComponent<Omit<
8
8
  size?: import('../../..').ComponentSize;
9
9
  children?: import('react').ReactNode;
10
10
  classNames?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupClassNames>;
11
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupMotion>;
11
12
  } & import('react').RefAttributes<HTMLFieldSetElement>> & {
12
- Legend: {
13
- ({ children, ...rest }: import('../utils/optionGroupFieldset').OptionGroupLegendProps): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
13
+ Legend: import('react').ForwardRefExoticComponent<import('../utils/optionGroupFieldset').OptionGroupLegendProps & {
14
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
15
+ } & import('react').RefAttributes<HTMLLegendElement>>;
16
16
  Label: import('../../core/Label').LabelComponent;
17
- Hint: {
18
- ({ id, className, ...rest }: import('../utils/optionGroupFieldset').OptionGroupHintProps): import("react/jsx-runtime").JSX.Element;
19
- displayName: string;
20
- };
21
- Error: {
22
- ({ id, className, ...rest }: import('../../..').FieldErrorProps): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
17
+ Hint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
18
+ children?: import('react').ReactNode;
19
+ id?: string;
20
+ } & {
21
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
22
+ } & import('react').RefAttributes<HTMLElement>>;
23
+ Error: import('react').ForwardRefExoticComponent<Omit<import('../../..').FieldErrorProps, "motion"> & {
24
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
25
+ } & import('react').RefAttributes<HTMLElement>>;
25
26
  List: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
26
27
  orientation?: import('../utils/optionGroupFieldset').OptionGroupOrientation;
28
+ } & {
29
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
27
30
  } & import('react').RefAttributes<HTMLDivElement>>;
28
31
  Group: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
29
32
  children?: import('react').ReactNode;
30
- motion?: import('../../..').Prettify<import('../../core/Field').FieldPartMotion>;
33
+ motion?: import('../../..').Prettify<import('../../..').FieldPartMotion>;
31
34
  } & import('react').RefAttributes<HTMLDivElement>>;
32
- Actions: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
33
- children?: import('react').ReactNode;
34
- motion?: import('../../..').Prettify<import('../../core/Field').FieldPartMotion>;
35
+ Actions: import('react').ForwardRefExoticComponent<Omit<import('../../..').FieldSetActionsProps, "motion"> & {
36
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
35
37
  } & import('react').RefAttributes<HTMLDivElement>>;
36
38
  };
37
- export type { RadioGroupProps, RadioGroupOrientation, RadioGroupClassNames, RadioGroupHintProps, RadioGroupErrorProps, RadioGroupLabelProps, RadioGroupLegendProps, RadioGroupListProps, } from './radioGroupTypes';
39
+ export type { RadioGroupProps, RadioGroupOrientation, RadioGroupClassNames, RadioGroupHintProps, RadioGroupErrorProps, RadioGroupActionsProps, RadioGroupLabelProps, RadioGroupLegendProps, RadioGroupListProps, RadioGroupMotion, RadioGroupPartMotion, } from './radioGroupTypes';
38
40
  export type { RadioGroupContextValue } from './radioGroupTypes';
39
41
  export { useRadioGroupContext, useOptionalRadioGroupContext, } from './radioGroupContext';
@@ -0,0 +1,39 @@
1
+ import { ForwardedRef, PointerEvent as ReactPointerEvent } from 'react';
2
+ import { RadioGroupMotion, RadioGroupPartMotion } from './radioGroupTypes';
3
+ export type RadioGroupMotionSlot = keyof RadioGroupMotion;
4
+ export declare function resolveRadioGroupMotionDefaults(): RadioGroupMotion;
5
+ export declare function useRadioGroupRootMotion({ motion, forwardedRef, selectionIdentity, onPointerOver, onPointerOut, onPointerDown, onPointerUp, }: {
6
+ motion?: RadioGroupPartMotion;
7
+ forwardedRef?: ForwardedRef<HTMLFieldSetElement>;
8
+ selectionIdentity: string;
9
+ onPointerOver?: (e: ReactPointerEvent<HTMLFieldSetElement>) => void;
10
+ onPointerOut?: (e: ReactPointerEvent<HTMLFieldSetElement>) => void;
11
+ onPointerDown?: (e: ReactPointerEvent<HTMLFieldSetElement>) => void;
12
+ onPointerUp?: (e: ReactPointerEvent<HTMLFieldSetElement>) => void;
13
+ }): {
14
+ setRef: (node: HTMLFieldSetElement | null) => void;
15
+ targetRef: import('react').RefObject<HTMLFieldSetElement | null>;
16
+ pointerHandlers: {
17
+ onPointerOver: (e: ReactPointerEvent<HTMLFieldSetElement>) => void;
18
+ onPointerOut: (e: ReactPointerEvent<HTMLFieldSetElement>) => void;
19
+ onPointerDown: (e: ReactPointerEvent<HTMLFieldSetElement>) => void;
20
+ onPointerUp: (e: ReactPointerEvent<HTMLFieldSetElement>) => void;
21
+ };
22
+ };
23
+ export declare function useRadioGroupSlotMotion<T extends HTMLElement>(slot: Exclude<RadioGroupMotionSlot, "root">, options?: {
24
+ motion?: RadioGroupPartMotion;
25
+ forwardedRef?: ForwardedRef<T>;
26
+ onPointerOver?: (e: ReactPointerEvent<T>) => void;
27
+ onPointerOut?: (e: ReactPointerEvent<T>) => void;
28
+ onPointerDown?: (e: ReactPointerEvent<T>) => void;
29
+ onPointerUp?: (e: ReactPointerEvent<T>) => void;
30
+ }): {
31
+ setRef: (node: T | null) => void;
32
+ targetRef: import('react').RefObject<T | null>;
33
+ pointerHandlers: {
34
+ onPointerOver: (e: ReactPointerEvent<T>) => void;
35
+ onPointerOut: (e: ReactPointerEvent<T>) => void;
36
+ onPointerDown: (e: ReactPointerEvent<T>) => void;
37
+ onPointerUp: (e: ReactPointerEvent<T>) => void;
38
+ };
39
+ };
@@ -9,4 +9,15 @@ export declare function RadioGroupProvider({ value, children, }: {
9
9
  }): import("react/jsx-runtime").JSX.Element;
10
10
  export declare function useRadioGroupContext(): RadioGroupContextValue;
11
11
  export declare function useOptionalRadioGroupContext(): RadioGroupContextValue | null;
12
+ /** Scope only. Defaults and host play live in `radioGroupAnimations.ts`. */
13
+ export declare const RadioGroupMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
14
+ motion?: import('../../core/utils/slotMotion/motionEvents').MotionRootInput;
15
+ defaults?: import('../../core/utils/slotMotion').MotionSlotMap;
16
+ params?: import('../../core/utils/slotMotion').MotionRecipeParams;
17
+ controller?: import('../../core/utils/slotMotion').MotionController;
18
+ motionState?: string;
19
+ motionPayload?: unknown;
20
+ playInitialState?: boolean;
21
+ children: ReactNode;
22
+ }) => import("react/jsx-runtime").JSX.Element, useRadioGroupMotionScope: () => import('../../core/utils/slotMotion').MotionScopeValue, useOptionalRadioGroupMotionScope: () => import('../../core/utils/slotMotion').MotionScopeValue | null;
12
23
  export { RadioGroupContext };
@@ -1,15 +1,20 @@
1
- export declare const RadioGroupLegend: {
2
- ({ children, ...rest }: import('../utils/optionGroupFieldset').OptionGroupLegendProps): import("react/jsx-runtime").JSX.Element;
3
- displayName: string;
4
- };
5
- export declare const RadioGroupHint: {
6
- ({ id, className, ...rest }: import('../utils/optionGroupFieldset').OptionGroupHintProps): import("react/jsx-runtime").JSX.Element;
7
- displayName: string;
8
- };
9
- export declare const RadioGroupError: {
10
- ({ id, className, ...rest }: import('../../..').FieldErrorProps): import("react/jsx-runtime").JSX.Element;
11
- displayName: string;
12
- };
1
+ export declare const RadioGroupLegend: import('react').ForwardRefExoticComponent<import('../utils/optionGroupFieldset').OptionGroupLegendProps & {
2
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
3
+ } & import('react').RefAttributes<HTMLLegendElement>>;
4
+ export declare const RadioGroupHint: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
5
+ children?: import('react').ReactNode;
6
+ id?: string;
7
+ } & {
8
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
9
+ } & import('react').RefAttributes<HTMLElement>>;
10
+ export declare const RadioGroupError: import('react').ForwardRefExoticComponent<Omit<import('../../core/Field').FieldErrorProps, "motion"> & {
11
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
12
+ } & import('react').RefAttributes<HTMLElement>>;
13
+ export declare const RadioGroupActions: import('react').ForwardRefExoticComponent<Omit<import('../../core/Field').FieldSetActionsProps, "motion"> & {
14
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
15
+ } & import('react').RefAttributes<HTMLDivElement>>;
13
16
  export declare const RadioGroupList: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
14
- orientation?: import('./radioGroupStyles').RadioGroupListOrientation;
17
+ orientation?: import('../utils/optionGroupFieldset').OptionGroupOrientation;
18
+ } & {
19
+ motion?: import('../../..').Prettify<import('./radioGroupTypes').RadioGroupPartMotion>;
15
20
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,7 @@
1
1
  import { FieldsetHTMLAttributes, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
- import { FieldErrorProps } from '../../core/Field';
3
+ import { MotionValue } from '../../core/utils/slotMotion';
4
+ import { FieldErrorProps, FieldSetActionsProps } from '../../core/Field';
4
5
  import { LabelProps } from '../../core/Label';
5
6
  import { ComponentSize } from '../../core/utils/sizeLayout';
6
7
  import { OptionGroupHintProps, OptionGroupLegendProps, OptionGroupListProps, OptionGroupOrientation } from '../utils/optionGroupFieldset';
@@ -18,6 +19,23 @@ export type RadioGroupContextValue = {
18
19
  /** First option in the group claims native `required` when `required`. */
19
20
  claimRequiredAnchor: () => boolean;
20
21
  };
22
+ export type RadioGroupPartMotion = {
23
+ hoverIn?: MotionValue;
24
+ hoverOut?: MotionValue;
25
+ pressIn?: MotionValue;
26
+ pressOut?: MotionValue;
27
+ enter?: MotionValue;
28
+ leave?: MotionValue;
29
+ change?: MotionValue;
30
+ };
31
+ export type RadioGroupMotion = {
32
+ root?: RadioGroupPartMotion;
33
+ list?: RadioGroupPartMotion;
34
+ legend?: RadioGroupPartMotion;
35
+ hint?: RadioGroupPartMotion;
36
+ error?: RadioGroupPartMotion;
37
+ actions?: RadioGroupPartMotion;
38
+ };
21
39
  export type RadioGroupProps = Omit<FieldsetHTMLAttributes<HTMLFieldSetElement>, "children" | "onChange"> & {
22
40
  required?: boolean;
23
41
  value?: string | null;
@@ -30,10 +48,27 @@ export type RadioGroupProps = Omit<FieldsetHTMLAttributes<HTMLFieldSetElement>,
30
48
  size?: ComponentSize;
31
49
  children?: ReactNode;
32
50
  classNames?: Prettify<RadioGroupClassNames>;
51
+ /**
52
+ * Per-slot motion (`root`, `list`, `legend`, `hint`, `error`, `actions`).
53
+ * Items keep Radio motion. `change` plays on `root` when value updates.
54
+ * `Group` is not a slot. Defaults are empty.
55
+ */
56
+ motion?: Prettify<RadioGroupMotion>;
33
57
  };
34
58
  export type UseRadioGroupRootStateProps = RadioGroupProps;
35
- export type RadioGroupHintProps = OptionGroupHintProps;
36
- export type RadioGroupLegendProps = OptionGroupLegendProps;
37
- export type RadioGroupListProps = OptionGroupListProps;
38
- export type RadioGroupErrorProps = FieldErrorProps;
59
+ export type RadioGroupHintProps = OptionGroupHintProps & {
60
+ motion?: Prettify<RadioGroupPartMotion>;
61
+ };
62
+ export type RadioGroupLegendProps = OptionGroupLegendProps & {
63
+ motion?: Prettify<RadioGroupPartMotion>;
64
+ };
65
+ export type RadioGroupListProps = OptionGroupListProps & {
66
+ motion?: Prettify<RadioGroupPartMotion>;
67
+ };
68
+ export type RadioGroupErrorProps = Omit<FieldErrorProps, "motion"> & {
69
+ motion?: Prettify<RadioGroupPartMotion>;
70
+ };
71
+ export type RadioGroupActionsProps = Omit<FieldSetActionsProps, "motion"> & {
72
+ motion?: Prettify<RadioGroupPartMotion>;
73
+ };
39
74
  export type RadioGroupLabelProps = LabelProps;
@@ -12,5 +12,6 @@ export declare const ToggleButtonGroupRoot: import('react').ForwardRefExoticComp
12
12
  defaultValue?: string | string[];
13
13
  onValueChange?: (value: string | string[]) => void;
14
14
  classNames?: import('../../..').Prettify<import('./toggleButtonGroupTypes').ToggleButtonGroupClassNames>;
15
- motion?: import('../../..').Prettify<import('./toggleButtonGroupTypes').ToggleButtonGroupMotion>;
15
+ motion?: import('../../..').Prettify<import('../../..').MotionMapWithEvents<import('./toggleButtonGroupTypes').ToggleButtonGroupMotion>>;
16
+ motionController?: import('../../..').MotionController;
16
17
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -10,7 +10,8 @@ export declare const ToggleButtonGroup: import('react').ForwardRefExoticComponen
10
10
  defaultValue?: string | string[];
11
11
  onValueChange?: (value: string | string[]) => void;
12
12
  classNames?: import('../../..').Prettify<import('./toggleButtonGroupTypes').ToggleButtonGroupClassNames>;
13
- motion?: import('../../..').Prettify<import('./toggleButtonGroupTypes').ToggleButtonGroupMotion>;
13
+ motion?: import('../../..').Prettify<import('../../..').MotionMapWithEvents<import('./toggleButtonGroupTypes').ToggleButtonGroupMotion>>;
14
+ motionController?: import('../../..').MotionController;
14
15
  } & import('react').RefAttributes<HTMLDivElement>>;
15
16
  export { ToggleButtonGroupRoot, type ToggleButtonGroupProps, type ToggleButtonGroupType, type ToggleButtonGroupOrientation, type ToggleButtonGroupContextValue, type ToggleButtonGroupClassNames, type ToggleButtonGroupMotion, type ToggleButtonGroupPartMotion, } from './ToggleButtonGroup';
16
17
  export { ToggleButtonGroupContext, useOptionalToggleButtonGroupContext, } from '../../core/ToggleButton/toggleButtonContext';
@@ -2,9 +2,13 @@ import { ToggleButtonGroupClassNames, ToggleButtonGroupClassNamesProviderProps }
2
2
  export declare function ToggleButtonGroupClassNamesProvider({ classNames, children, }: ToggleButtonGroupClassNamesProviderProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare function useToggleButtonGroupClassNames(): ToggleButtonGroupClassNames;
4
4
  /** Scope only. Defaults and host play live in `toggleButtonGroupAnimations.ts`. */
5
- export declare const ToggleButtonGroupMotionProvider: ({ motion, defaults, params, children, }: {
6
- motion?: import('../../core/utils/slotMotion').MotionSlotMap;
5
+ export declare const ToggleButtonGroupMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
6
+ motion?: import('../../core/utils/slotMotion/motionEvents').MotionRootInput;
7
7
  defaults?: import('../../core/utils/slotMotion').MotionSlotMap;
8
8
  params?: import('../../core/utils/slotMotion').MotionRecipeParams;
9
+ controller?: import('../../core/utils/slotMotion').MotionController;
10
+ motionState?: string;
11
+ motionPayload?: unknown;
12
+ playInitialState?: boolean;
9
13
  children: import('react').ReactNode;
10
14
  }) => import("react/jsx-runtime").JSX.Element, useToggleButtonGroupMotionScope: () => import('../../core/utils/slotMotion').MotionScopeValue, useOptionalToggleButtonGroupMotionScope: () => import('../../core/utils/slotMotion').MotionScopeValue | null;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
- import { MotionValue } from '../../core/utils/slotMotion';
3
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../../core/utils/slotMotion';
4
4
  import { ToggleButtonGroupOrientation, ToggleButtonGroupType, ToggleButtonSize, ToggleButtonVariant } from '../../core/ToggleButton/toggleButtonTypes';
5
5
  export type { ToggleButtonGroupType, ToggleButtonGroupOrientation, ToggleButtonGroupContextValue, } from '../../core/ToggleButton/toggleButtonTypes';
6
6
  export type ToggleButtonGroupClassNames = {
@@ -39,8 +39,14 @@ export type ToggleButtonGroupProps = Omit<HTMLAttributes<HTMLDivElement>, "defau
39
39
  /**
40
40
  * Per-slot motion (`root`). Items keep ToggleButton motion — group does not wrap item hosts.
41
41
  * `change` plays when selection identity updates. Defaults are empty.
42
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
42
43
  */
43
- motion?: Prettify<ToggleButtonGroupMotion>;
44
+ motion?: Prettify<MotionMapWithEvents<ToggleButtonGroupMotion>>;
45
+ /**
46
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
47
+ * Forwarded to the motion Provider (`controller`), not onto the DOM.
48
+ */
49
+ motionController?: MotionController;
44
50
  };
45
51
  export type ToggleButtonGroupClassNamesProviderProps = {
46
52
  classNames?: Prettify<ToggleButtonGroupClassNames>;
@@ -12,7 +12,11 @@ export declare const AlertRoot: import('react').ForwardRefExoticComponent<Omit<H
12
12
  icon?: ReactNode | null;
13
13
  action?: ReactNode;
14
14
  classNames?: import('../../..').Prettify<AlertClassNames>;
15
- motion?: import('../../..').Prettify<AlertMotion>;
15
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<AlertMotion>>;
16
+ motionController?: import('../utils/slotMotion').MotionController;
17
+ motionState?: string;
18
+ motionPayload?: unknown;
19
+ playInitialState?: boolean;
16
20
  hoverLift?: boolean;
17
21
  shadow?: ShadowLevel;
18
22
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -3,10 +3,14 @@ import { Prettify } from '../../../utils/prettify';
3
3
  import { AlertClassNames, AlertContextValue } from './alertTypes';
4
4
  declare const AlertContext: import('react').Context<AlertContextValue | null>;
5
5
  /** Scope only. Defaults and host play live in `alertAnimations.ts`. */
6
- export declare const AlertMotionProvider: ({ motion, defaults, params, children, }: {
7
- motion?: import('../utils/slotMotion').MotionSlotMap;
6
+ export declare const AlertMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
7
+ motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
8
8
  defaults?: import('../utils/slotMotion').MotionSlotMap;
9
9
  params?: import('../utils/slotMotion').MotionRecipeParams;
10
+ controller?: import('../utils/slotMotion').MotionController;
11
+ motionState?: string;
12
+ motionPayload?: unknown;
13
+ playInitialState?: boolean;
10
14
  children: ReactNode;
11
15
  }) => import("react/jsx-runtime").JSX.Element, useAlertMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalAlertMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
12
16
  export declare function AlertClassNamesProvider({ classNames, children, }: {
@@ -2,7 +2,7 @@ import { ForwardedRef, HTMLAttributes, PointerEvent, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
3
  import { MessageBannerGridSlots } from '../utils/messageBannerGridLayout';
4
4
  import { MessageBannerSize, MessageBannerSizePreset } from '../utils/sizeLayout';
5
- import { MotionValue } from '../utils/slotMotion';
5
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
6
6
  import { ShadowLevel } from '../../../tokens/shadows';
7
7
  export type AlertSize = MessageBannerSize;
8
8
  export type AlertVariant = "default" | "outline" | "secondary" | "gloss";
@@ -45,8 +45,30 @@ export type AlertProps = Omit<HTMLAttributes<HTMLDivElement>, "role"> & {
45
45
  /**
46
46
  * Per-slot motion (`root`, `indicator`, `title`, `description`, `action`).
47
47
  * `Alert.Message` / `Alert.Content` are `display: contents` and are not targets.
48
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
49
+ * `states` — app modes for `motionState` (not a DOM slot, not a phase).
48
50
  */
49
- motion?: Prettify<AlertMotion>;
51
+ motion?: Prettify<MotionMapWithEvents<AlertMotion>>;
52
+ /**
53
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
54
+ * Forwarded to the motion Provider (`controller`), not onto the DOM.
55
+ * Plays built-in phases and `motion.events` (`play` / `playSlot` / `playAll` / `set` / `cancel`).
56
+ */
57
+ motionController?: MotionController;
58
+ /**
59
+ * App mode (`idle` / `loading` / `success`). Same value again does not replay.
60
+ * Pair with `motion.states`. Not a `MotionPhaseName`. Not on the DOM.
61
+ */
62
+ motionState?: string;
63
+ /**
64
+ * Opaque snapshot for the transition factory (`ctx.payload`).
65
+ * Updating this without changing `motionState` does not replay.
66
+ */
67
+ motionPayload?: unknown;
68
+ /**
69
+ * Play `motion.states[motionState]` on mount. Default skip so first paint stays CSS rest.
70
+ */
71
+ playInitialState?: boolean;
50
72
  /**
51
73
  * Hover lift + stronger shadow in the same `shadow` family (`--shadow-{shadow}-hover`).
52
74
  * Rest elevation stays when `false`. Shorthand for `motion.root.hoverIn/Out: false`.
@@ -9,7 +9,11 @@ export declare const Alert: import('react').ForwardRefExoticComponent<Omit<impor
9
9
  icon?: import('react').ReactNode | null;
10
10
  action?: import('react').ReactNode;
11
11
  classNames?: import('../../..').Prettify<import('./alertTypes').AlertClassNames>;
12
- motion?: import('../../..').Prettify<import('./alertTypes').AlertMotion>;
12
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./alertTypes').AlertMotion>>;
13
+ motionController?: import('../utils/slotMotion').MotionController;
14
+ motionState?: string;
15
+ motionPayload?: unknown;
16
+ playInitialState?: boolean;
13
17
  hoverLift?: boolean;
14
18
  shadow?: import('../../..').ShadowLevel;
15
19
  } & import('react').RefAttributes<HTMLDivElement>> & {
@@ -12,5 +12,6 @@ export declare const AvatarRoot: import('react').ForwardRefExoticComponent<impor
12
12
  tooltipStatus?: import('../utils/semanticStatusIcons').SemanticStatus;
13
13
  tooltipSide?: import('../Tooltip').TooltipSide;
14
14
  classNames?: import('../../..').Prettify<import('./avatarTypes').AvatarClassNames>;
15
- motion?: import('../../..').Prettify<import('./avatarTypes').AvatarMotion>;
15
+ motion?: import('../../..').Prettify<import('../utils/slotMotion').MotionMapWithEvents<import('./avatarTypes').AvatarMotion>>;
16
+ motionController?: import('../utils/slotMotion').MotionController;
16
17
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,9 +1,13 @@
1
1
  import { AvatarClassNames, AvatarClassNamesProviderProps, AvatarContextValue, AvatarGroupMotionProviderProps, AvatarMotion } from './avatarTypes';
2
2
  /** Scope only. Defaults and host play live in `avatarAnimations.ts`. */
3
- export declare const AvatarMotionProvider: ({ motion, defaults, params, children, }: {
4
- motion?: import('../utils/slotMotion').MotionSlotMap;
3
+ export declare const AvatarMotionProvider: ({ motion, defaults, params, controller: appController, motionState, motionPayload, playInitialState, children, }: {
4
+ motion?: import('../utils/slotMotion/motionEvents').MotionRootInput;
5
5
  defaults?: import('../utils/slotMotion').MotionSlotMap;
6
6
  params?: import('../utils/slotMotion').MotionRecipeParams;
7
+ controller?: import('../utils/slotMotion').MotionController;
8
+ motionState?: string;
9
+ motionPayload?: unknown;
10
+ playInitialState?: boolean;
7
11
  children: import('react').ReactNode;
8
12
  }) => import("react/jsx-runtime").JSX.Element, useAvatarMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalAvatarMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
9
13
  declare const AvatarContext: import('react').Context<AvatarContextValue | null>;
@@ -2,7 +2,7 @@ import { HTMLAttributes, ImgHTMLAttributes, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
3
  import { TooltipSide, TooltipSize, TooltipVariant } from '../Tooltip';
4
4
  import { SemanticStatus } from '../utils/semanticStatusIcons';
5
- import { MotionValue } from '../utils/slotMotion';
5
+ import { MotionController, MotionMapWithEvents, MotionValue } from '../utils/slotMotion';
6
6
  export type AvatarSize = "small" | "base" | "mid" | "large";
7
7
  export type AvatarVariant = "default" | "gloss";
8
8
  export type ImageStatus = "idle" | "loaded" | "error";
@@ -50,8 +50,14 @@ export type AvatarProps = HTMLAttributes<HTMLDivElement> & {
50
50
  /**
51
51
  * Per-slot motion (`root`, `image`, `fallback`). Image fade: `enter` / `leave`.
52
52
  * Group item hover is `motion.groupItem` on `Avatar.Group`.
53
+ * `events` — namespaced app commands for `MotionController.play` (not a DOM slot).
53
54
  */
54
- motion?: Prettify<AvatarMotion>;
55
+ motion?: Prettify<MotionMapWithEvents<AvatarMotion>>;
56
+ /**
57
+ * Deferred handle from `createMotionController()` / `useMotionControllerHandle()`.
58
+ * Forwarded to the motion Provider (`controller`), not onto the DOM.
59
+ */
60
+ motionController?: MotionController;
55
61
  };
56
62
  export type UseAvatarRootStateProps = Pick<AvatarProps, "variant" | "size" | "label" | "nickname" | "tooltipSize" | "tooltipVariant" | "tooltipStatus" | "tooltipSide" | "children" | "role"> & {
57
63
  "aria-label"?: string;