burne-ui 1.8.5 → 1.8.6

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 (407) hide show
  1. package/README.md +1 -1
  2. package/dist/components/composite/Accordion/Accordion.d.ts +3 -2
  3. package/dist/components/composite/Accordion/accordionAnimations.d.ts +6 -1
  4. package/dist/components/composite/Accordion/accordionParts.d.ts +7 -3
  5. package/dist/components/composite/Accordion/accordionTypes.d.ts +16 -2
  6. package/dist/components/composite/Accordion/index.d.ts +8 -3
  7. package/dist/components/composite/Accordion/useAccordionRootState.d.ts +1 -1
  8. package/dist/components/composite/AlertDialog/AlertDialog.d.ts +2 -2
  9. package/dist/components/composite/AlertDialog/alertDialogAnimations.d.ts +7 -2
  10. package/dist/components/composite/AlertDialog/alertDialogContext.d.ts +7 -0
  11. package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +25 -23
  12. package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +47 -6
  13. package/dist/components/composite/AlertDialog/index.d.ts +25 -8
  14. package/dist/components/composite/ButtonGroup/ButtonGroup.d.ts +5 -3
  15. package/dist/components/composite/ButtonGroup/buttonGroupAnimations.d.ts +20 -0
  16. package/dist/components/composite/ButtonGroup/buttonGroupContext.d.ts +7 -0
  17. package/dist/components/composite/ButtonGroup/buttonGroupParts.d.ts +1 -0
  18. package/dist/components/composite/ButtonGroup/buttonGroupTypes.d.ts +19 -0
  19. package/dist/components/composite/ButtonGroup/index.d.ts +4 -2
  20. package/dist/components/composite/CheckboxGroup/CheckboxGroup.d.ts +2 -1
  21. package/dist/components/composite/CheckboxGroup/checkboxGroupAnimations.d.ts +38 -0
  22. package/dist/components/composite/CheckboxGroup/checkboxGroupContext.d.ts +7 -0
  23. package/dist/components/composite/CheckboxGroup/checkboxGroupParts.d.ts +2 -0
  24. package/dist/components/composite/CheckboxGroup/checkboxGroupTypes.d.ts +22 -1
  25. package/dist/components/composite/CheckboxGroup/index.d.ts +6 -1
  26. package/dist/components/composite/Form/Form.d.ts +7 -4
  27. package/dist/components/composite/Form/formAnimations.d.ts +23 -0
  28. package/dist/components/composite/Form/formContext.d.ts +7 -0
  29. package/dist/components/composite/Form/formParts.d.ts +14 -4
  30. package/dist/components/composite/Form/formTypes.d.ts +40 -3
  31. package/dist/components/composite/Form/index.d.ts +16 -4
  32. package/dist/components/composite/RadioGroup/index.d.ts +2 -0
  33. package/dist/components/composite/ToggleButtonGroup/ToggleButtonGroup.d.ts +5 -3
  34. package/dist/components/composite/ToggleButtonGroup/index.d.ts +2 -1
  35. package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupAnimations.d.ts +21 -0
  36. package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupContext.d.ts +7 -0
  37. package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupTypes.d.ts +18 -0
  38. package/dist/components/composite/ToggleButtonGroup/useToggleButtonGroupRootState.d.ts +1 -0
  39. package/dist/components/composite/utils/optionGroupFieldset.d.ts +2 -0
  40. package/dist/components/core/Alert/Alert.d.ts +16 -12
  41. package/dist/components/core/Alert/alertAnimations.d.ts +7 -13
  42. package/dist/components/core/Alert/alertContext.d.ts +7 -0
  43. package/dist/components/core/Alert/alertParts.d.ts +14 -17
  44. package/dist/components/core/Alert/alertTypes.d.ts +41 -5
  45. package/dist/components/core/Alert/index.d.ts +16 -6
  46. package/dist/components/core/Avatar/Avatar.d.ts +2 -1
  47. package/dist/components/core/Avatar/avatarAnimations.d.ts +5 -6
  48. package/dist/components/core/Avatar/avatarContext.d.ts +10 -1
  49. package/dist/components/core/Avatar/avatarParts.d.ts +8 -3
  50. package/dist/components/core/Avatar/avatarTypes.d.ts +32 -2
  51. package/dist/components/core/Avatar/index.d.ts +9 -3
  52. package/dist/components/core/Badge/Badge.d.ts +5 -3
  53. package/dist/components/core/Badge/badgeAnimations.d.ts +17 -5
  54. package/dist/components/core/Badge/badgeContext.d.ts +7 -0
  55. package/dist/components/core/Badge/badgeParts.d.ts +3 -1
  56. package/dist/components/core/Badge/badgeStyles.d.ts +8 -5
  57. package/dist/components/core/Badge/badgeTypes.d.ts +17 -0
  58. package/dist/components/core/Badge/index.d.ts +3 -1
  59. package/dist/components/core/Breadcrumbs/Breadcrumbs.d.ts +2 -1
  60. package/dist/components/core/Breadcrumbs/breadcrumbsAnimations.d.ts +3 -5
  61. package/dist/components/core/Breadcrumbs/breadcrumbsContext.d.ts +7 -0
  62. package/dist/components/core/Breadcrumbs/breadcrumbsTypes.d.ts +13 -0
  63. package/dist/components/core/Breadcrumbs/index.d.ts +2 -1
  64. package/dist/components/core/Button/Button.d.ts +3 -1
  65. package/dist/components/core/Button/buttonAnimations.d.ts +17 -7
  66. package/dist/components/core/Button/buttonContext.d.ts +7 -0
  67. package/dist/components/core/Button/buttonTypes.d.ts +20 -0
  68. package/dist/components/core/Button/index.d.ts +2 -1
  69. package/dist/components/core/Calendar/Calendar.d.ts +1 -1
  70. package/dist/components/core/Calendar/calendarAnimations.d.ts +3 -12
  71. package/dist/components/core/Calendar/calendarContext.d.ts +7 -0
  72. package/dist/components/core/Calendar/calendarParts.d.ts +2 -2
  73. package/dist/components/core/Calendar/calendarTypes.d.ts +14 -0
  74. package/dist/components/core/Calendar/index.d.ts +3 -3
  75. package/dist/components/core/Card/Card.d.ts +8 -6
  76. package/dist/components/core/Card/cardAnimations.d.ts +8 -2
  77. package/dist/components/core/Card/cardContext.d.ts +7 -0
  78. package/dist/components/core/Card/cardParts.d.ts +12 -8
  79. package/dist/components/core/Card/cardTypes.d.ts +46 -6
  80. package/dist/components/core/Card/index.d.ts +9 -4
  81. package/dist/components/core/Checkbox/Checkbox.d.ts +3 -2
  82. package/dist/components/core/Checkbox/checkboxAPI.d.ts +1 -1
  83. package/dist/components/core/Checkbox/checkboxAnimations.d.ts +12 -1
  84. package/dist/components/core/Checkbox/checkboxAnimations.test.d.ts +1 -0
  85. package/dist/components/core/Checkbox/checkboxContext.d.ts +3 -1
  86. package/dist/components/core/Checkbox/checkboxParts.d.ts +1 -1
  87. package/dist/components/core/Checkbox/checkboxTypes.d.ts +18 -1
  88. package/dist/components/core/Checkbox/index.d.ts +7 -3
  89. package/dist/components/core/CloseButton/CloseButton.d.ts +2 -1
  90. package/dist/components/core/CloseButton/closeButtonAnimations.d.ts +25 -6
  91. package/dist/components/core/CloseButton/closeButtonContext.d.ts +7 -0
  92. package/dist/components/core/CloseButton/closeButtonTypes.d.ts +19 -2
  93. package/dist/components/core/CloseButton/index.d.ts +1 -1
  94. package/dist/components/core/ColorPicker/ColorPicker.d.ts +2 -2
  95. package/dist/components/core/ColorPicker/ColorSlider.d.ts +3 -1
  96. package/dist/components/core/ColorPicker/ColorSwatch.d.ts +3 -8
  97. package/dist/components/core/ColorPicker/colorPickerAnimations.d.ts +22 -1
  98. package/dist/components/core/ColorPicker/colorPickerContext.d.ts +7 -0
  99. package/dist/components/core/ColorPicker/colorPickerParts.d.ts +10 -4
  100. package/dist/components/core/ColorPicker/colorPickerTypes.d.ts +33 -2
  101. package/dist/components/core/ColorPicker/colorSliderAnimations.d.ts +36 -0
  102. package/dist/components/core/ColorPicker/colorSliderContext.d.ts +7 -0
  103. package/dist/components/core/ColorPicker/colorSliderTypes.d.ts +25 -0
  104. package/dist/components/core/ColorPicker/colorSwatchAnimations.d.ts +25 -0
  105. package/dist/components/core/ColorPicker/colorSwatchContext.d.ts +7 -0
  106. package/dist/components/core/ColorPicker/colorSwatchTypes.d.ts +34 -0
  107. package/dist/components/core/ColorPicker/index.d.ts +14 -6
  108. package/dist/components/core/ComboBox/ComboBox.d.ts +2 -2
  109. package/dist/components/core/ComboBox/comboBoxAnimations.d.ts +48 -0
  110. package/dist/components/core/ComboBox/comboBoxContext.d.ts +7 -0
  111. package/dist/components/core/ComboBox/comboBoxParts.d.ts +7 -3
  112. package/dist/components/core/ComboBox/comboBoxTypes.d.ts +37 -3
  113. package/dist/components/core/ComboBox/index.d.ts +8 -3
  114. package/dist/components/core/Dialog/Dialog.d.ts +2 -2
  115. package/dist/components/core/Dialog/dialogAnimations.d.ts +7 -2
  116. package/dist/components/core/Dialog/dialogContext.d.ts +7 -0
  117. package/dist/components/core/Dialog/dialogParts.d.ts +20 -6
  118. package/dist/components/core/Dialog/dialogTypes.d.ts +41 -6
  119. package/dist/components/core/Dialog/index.d.ts +20 -6
  120. package/dist/components/core/Disclosure/Disclosure.d.ts +2 -1
  121. package/dist/components/core/Disclosure/disclosureAnimations.d.ts +9 -4
  122. package/dist/components/core/Disclosure/disclosureContentPart.d.ts +1 -0
  123. package/dist/components/core/Disclosure/disclosureContext.d.ts +7 -0
  124. package/dist/components/core/Disclosure/disclosureGroup.d.ts +1 -0
  125. package/dist/components/core/Disclosure/disclosureParts.d.ts +2 -1
  126. package/dist/components/core/Disclosure/disclosureTypes.d.ts +42 -1
  127. package/dist/components/core/Disclosure/index.d.ts +5 -1
  128. package/dist/components/core/Disclosure/useDisclosureGroupRootState.d.ts +1 -1
  129. package/dist/components/core/Drawer/Drawer.d.ts +2 -2
  130. package/dist/components/core/Drawer/drawerAPI.d.ts +2 -7
  131. package/dist/components/core/Drawer/drawerAnimations.d.ts +7 -2
  132. package/dist/components/core/Drawer/drawerContext.d.ts +7 -0
  133. package/dist/components/core/Drawer/drawerParts.d.ts +21 -10
  134. package/dist/components/core/Drawer/drawerTypes.d.ts +42 -6
  135. package/dist/components/core/Drawer/index.d.ts +21 -7
  136. package/dist/components/core/Dropdown/Dropdown.d.ts +2 -2
  137. package/dist/components/core/Dropdown/dropdownAnimations.d.ts +19 -3
  138. package/dist/components/core/Dropdown/dropdownContext.d.ts +7 -0
  139. package/dist/components/core/Dropdown/dropdownParts.d.ts +1 -0
  140. package/dist/components/core/Dropdown/dropdownSubParts.d.ts +1 -0
  141. package/dist/components/core/Dropdown/dropdownTypes.d.ts +30 -0
  142. package/dist/components/core/Dropdown/index.d.ts +7 -2
  143. package/dist/components/core/Expandable/Expandable.d.ts +2 -1
  144. package/dist/components/core/Expandable/expandableAnimations.d.ts +9 -5
  145. package/dist/components/core/Expandable/expandableContext.d.ts +7 -0
  146. package/dist/components/core/Expandable/expandableParts.d.ts +7 -3
  147. package/dist/components/core/Expandable/expandableTypes.d.ts +33 -2
  148. package/dist/components/core/Expandable/index.d.ts +6 -2
  149. package/dist/components/core/Field/Field.d.ts +2 -1
  150. package/dist/components/core/Field/fieldAnimations.d.ts +38 -0
  151. package/dist/components/core/Field/fieldContext.d.ts +13 -0
  152. package/dist/components/core/Field/fieldParts.d.ts +9 -5
  153. package/dist/components/core/Field/fieldTypes.d.ts +37 -0
  154. package/dist/components/core/Field/index.d.ts +9 -1
  155. package/dist/components/core/Input/Input.d.ts +2 -2
  156. package/dist/components/core/Input/index.d.ts +2 -1
  157. package/dist/components/core/Input/inputAffixParts.d.ts +4 -0
  158. package/dist/components/core/Input/inputAnimations.d.ts +23 -12
  159. package/dist/components/core/Input/inputContext.d.ts +7 -0
  160. package/dist/components/core/Input/inputControlParts.d.ts +2 -0
  161. package/dist/components/core/Input/inputTypes.d.ts +36 -2
  162. package/dist/components/core/Kbd/Kbd.d.ts +5 -2
  163. package/dist/components/core/Kbd/index.d.ts +2 -1
  164. package/dist/components/core/Kbd/kbdAnimations.d.ts +8 -5
  165. package/dist/components/core/Kbd/kbdContext.d.ts +7 -0
  166. package/dist/components/core/Kbd/kbdTextPart.d.ts +2 -7
  167. package/dist/components/core/Kbd/kbdTypes.d.ts +19 -0
  168. package/dist/components/core/Label/Label.d.ts +3 -3
  169. package/dist/components/core/Label/index.d.ts +1 -1
  170. package/dist/components/core/Label/labelAnimations.d.ts +20 -0
  171. package/dist/components/core/Label/labelContext.d.ts +7 -0
  172. package/dist/components/core/Label/labelTypes.d.ts +18 -0
  173. package/dist/components/core/Link/Link.d.ts +2 -2
  174. package/dist/components/core/Link/index.d.ts +1 -1
  175. package/dist/components/core/Link/linkAnchorBodyPart.d.ts +1 -1
  176. package/dist/components/core/Link/linkAnimations.d.ts +13 -6
  177. package/dist/components/core/Link/linkContext.d.ts +7 -0
  178. package/dist/components/core/Link/linkTypes.d.ts +23 -1
  179. package/dist/components/core/ListBox/ListBox.d.ts +2 -2
  180. package/dist/components/core/ListBox/index.d.ts +6 -2
  181. package/dist/components/core/ListBox/listBoxAnimations.d.ts +4 -7
  182. package/dist/components/core/ListBox/listBoxContext.d.ts +7 -0
  183. package/dist/components/core/ListBox/listBoxParts.d.ts +3 -2
  184. package/dist/components/core/ListBox/listBoxTypes.d.ts +20 -8
  185. package/dist/components/core/Loading/Loading.d.ts +2 -1
  186. package/dist/components/core/Loading/index.d.ts +1 -1
  187. package/dist/components/core/Loading/loadingAnimations.d.ts +2 -1
  188. package/dist/components/core/Loading/loadingContext.d.ts +7 -0
  189. package/dist/components/core/Loading/loadingTypes.d.ts +19 -0
  190. package/dist/components/core/Meter/Meter.d.ts +2 -2
  191. package/dist/components/core/Meter/index.d.ts +2 -0
  192. package/dist/components/core/Meter/meterAnimations.d.ts +4 -1
  193. package/dist/components/core/Meter/meterContext.d.ts +7 -0
  194. package/dist/components/core/Meter/meterParts.d.ts +3 -2
  195. package/dist/components/core/Meter/meterTypes.d.ts +28 -2
  196. package/dist/components/core/Pagination/Pagination.d.ts +2 -1
  197. package/dist/components/core/Pagination/index.d.ts +9 -3
  198. package/dist/components/core/Pagination/paginationAnimations.d.ts +2 -0
  199. package/dist/components/core/Pagination/paginationContext.d.ts +7 -0
  200. package/dist/components/core/Pagination/paginationParts.d.ts +8 -3
  201. package/dist/components/core/Pagination/paginationTypes.d.ts +16 -1
  202. package/dist/components/core/Popover/Popover.d.ts +2 -2
  203. package/dist/components/core/Popover/index.d.ts +11 -4
  204. package/dist/components/core/Popover/popoverAnimations.d.ts +7 -2
  205. package/dist/components/core/Popover/popoverContext.d.ts +7 -0
  206. package/dist/components/core/Popover/popoverParts.d.ts +11 -4
  207. package/dist/components/core/Popover/popoverTypes.d.ts +31 -4
  208. package/dist/components/core/ProgressBar/ProgressBar.d.ts +2 -2
  209. package/dist/components/core/ProgressBar/index.d.ts +2 -0
  210. package/dist/components/core/ProgressBar/progressBarAnimations.d.ts +4 -1
  211. package/dist/components/core/ProgressBar/progressBarContext.d.ts +7 -0
  212. package/dist/components/core/ProgressBar/progressBarParts.d.ts +3 -2
  213. package/dist/components/core/ProgressBar/progressBarTypes.d.ts +27 -2
  214. package/dist/components/core/Radio/Radio.d.ts +3 -2
  215. package/dist/components/core/Radio/index.d.ts +7 -3
  216. package/dist/components/core/Radio/radioAnimations.d.ts +12 -1
  217. package/dist/components/core/Radio/radioContext.d.ts +3 -1
  218. package/dist/components/core/Radio/radioParts.d.ts +1 -1
  219. package/dist/components/core/Radio/radioTypes.d.ts +18 -1
  220. package/dist/components/core/SearchInput/SearchInput.d.ts +5 -2
  221. package/dist/components/core/SearchInput/index.d.ts +1 -1
  222. package/dist/components/core/SearchInput/searchInputAnimations.d.ts +40 -5
  223. package/dist/components/core/SearchInput/searchInputContext.d.ts +7 -0
  224. package/dist/components/core/SearchInput/searchInputParts.d.ts +8 -0
  225. package/dist/components/core/SearchInput/searchInputStyles.d.ts +2 -2
  226. package/dist/components/core/SearchInput/searchInputTypes.d.ts +28 -2
  227. package/dist/components/core/SearchInput/useSearchInputRootState.d.ts +7 -11
  228. package/dist/components/core/Select/Select.d.ts +2 -2
  229. package/dist/components/core/Select/index.d.ts +6 -2
  230. package/dist/components/core/Select/selectAnimations.d.ts +48 -0
  231. package/dist/components/core/Select/selectContext.d.ts +7 -0
  232. package/dist/components/core/Select/selectTriggerParts.d.ts +5 -2
  233. package/dist/components/core/Select/selectTypes.d.ts +35 -2
  234. package/dist/components/core/SelectionIndicator/SelectionIndicator.d.ts +1 -1
  235. package/dist/components/core/SelectionIndicator/index.d.ts +6 -3
  236. package/dist/components/core/SelectionIndicator/selectionIndicatorAnimations.d.ts +9 -0
  237. package/dist/components/core/SelectionIndicator/selectionIndicatorContext.d.ts +7 -0
  238. package/dist/components/core/SelectionIndicator/selectionIndicatorParts.d.ts +4 -2
  239. package/dist/components/core/SelectionIndicator/selectionIndicatorTypes.d.ts +15 -1
  240. package/dist/components/core/SelectionThumb/SelectionThumb.d.ts +3 -3
  241. package/dist/components/core/SelectionThumb/index.d.ts +2 -2
  242. package/dist/components/core/SelectionThumb/selectionThumbAnimations.d.ts +2 -0
  243. package/dist/components/core/SelectionThumb/selectionThumbContext.d.ts +7 -0
  244. package/dist/components/core/SelectionThumb/selectionThumbTypes.d.ts +21 -2
  245. package/dist/components/core/Separator/Separator.d.ts +2 -1
  246. package/dist/components/core/Separator/index.d.ts +1 -1
  247. package/dist/components/core/Separator/separatorAnimations.d.ts +20 -0
  248. package/dist/components/core/Separator/separatorContext.d.ts +7 -0
  249. package/dist/components/core/Separator/separatorTypes.d.ts +17 -0
  250. package/dist/components/core/Skeleton/Skeleton.d.ts +2 -1
  251. package/dist/components/core/Skeleton/index.d.ts +6 -1
  252. package/dist/components/core/Skeleton/skeletonAnimations.d.ts +19 -0
  253. package/dist/components/core/Skeleton/skeletonContext.d.ts +7 -0
  254. package/dist/components/core/Skeleton/skeletonParts.d.ts +5 -1
  255. package/dist/components/core/Skeleton/skeletonTypes.d.ts +22 -0
  256. package/dist/components/core/Slider/Slider.d.ts +2 -2
  257. package/dist/components/core/Slider/index.d.ts +2 -1
  258. package/dist/components/core/Slider/sliderAnimations.d.ts +7 -7
  259. package/dist/components/core/Slider/sliderContext.d.ts +7 -0
  260. package/dist/components/core/Slider/sliderScaleField.d.ts +8 -2
  261. package/dist/components/core/Slider/sliderThumbParts.d.ts +2 -1
  262. package/dist/components/core/Slider/sliderTrackParts.d.ts +1 -0
  263. package/dist/components/core/Slider/sliderTypes.d.ts +32 -2
  264. package/dist/components/core/Slider/useSliderTrackState.d.ts +18 -16
  265. package/dist/components/core/Surface/Surface.d.ts +2 -1
  266. package/dist/components/core/Surface/index.d.ts +1 -1
  267. package/dist/components/core/Surface/surfaceAnimations.d.ts +20 -0
  268. package/dist/components/core/Surface/surfaceContext.d.ts +7 -0
  269. package/dist/components/core/Surface/surfaceTypes.d.ts +17 -0
  270. package/dist/components/core/Switch/Switch.d.ts +3 -2
  271. package/dist/components/core/Switch/index.d.ts +4 -3
  272. package/dist/components/core/Switch/switchAnimations.d.ts +3 -2
  273. package/dist/components/core/Switch/switchContext.d.ts +7 -0
  274. package/dist/components/core/Switch/switchControlParts.d.ts +1 -1
  275. package/dist/components/core/Switch/switchTrackParts.d.ts +4 -4
  276. package/dist/components/core/Switch/switchTypes.d.ts +20 -2
  277. package/dist/components/core/Switch/useSwitchRootState.d.ts +12 -12
  278. package/dist/components/core/Table/Table.d.ts +2 -1
  279. package/dist/components/core/Table/index.d.ts +15 -4
  280. package/dist/components/core/Table/tableAnimations.d.ts +22 -2
  281. package/dist/components/core/Table/tableContext.d.ts +7 -0
  282. package/dist/components/core/Table/tableParts.d.ts +14 -4
  283. package/dist/components/core/Table/tableTypes.d.ts +40 -3
  284. package/dist/components/core/Tabs/Tabs.d.ts +2 -1
  285. package/dist/components/core/Tabs/index.d.ts +7 -2
  286. package/dist/components/core/Tabs/tabsAnimations.d.ts +18 -4
  287. package/dist/components/core/Tabs/tabsContext.d.ts +7 -0
  288. package/dist/components/core/Tabs/tabsPanelPart.d.ts +1 -0
  289. package/dist/components/core/Tabs/tabsParts.d.ts +3 -2
  290. package/dist/components/core/Tabs/tabsTabPart.d.ts +1 -0
  291. package/dist/components/core/Tabs/tabsTypes.d.ts +32 -1
  292. package/dist/components/core/Text/Text.d.ts +4 -2
  293. package/dist/components/core/Text/index.d.ts +1 -1
  294. package/dist/components/core/Text/textAnimations.d.ts +21 -0
  295. package/dist/components/core/Text/textContext.d.ts +7 -0
  296. package/dist/components/core/Text/textTypes.d.ts +18 -0
  297. package/dist/components/core/TextArea/TextArea.d.ts +2 -2
  298. package/dist/components/core/TextArea/index.d.ts +2 -1
  299. package/dist/components/core/TextArea/textAreaAnimations.d.ts +20 -10
  300. package/dist/components/core/TextArea/textAreaContext.d.ts +7 -0
  301. package/dist/components/core/TextArea/textAreaParts.d.ts +2 -1
  302. package/dist/components/core/TextArea/textAreaStyles.d.ts +8 -5
  303. package/dist/components/core/TextArea/textAreaTypes.d.ts +30 -2
  304. package/dist/components/core/TimeField/TimeField.d.ts +2 -2
  305. package/dist/components/core/TimeField/index.d.ts +2 -1
  306. package/dist/components/core/TimeField/timeFieldAnimations.d.ts +22 -9
  307. package/dist/components/core/TimeField/timeFieldContext.d.ts +7 -0
  308. package/dist/components/core/TimeField/timeFieldParts.d.ts +4 -3
  309. package/dist/components/core/TimeField/timeFieldTypes.d.ts +31 -1
  310. package/dist/components/core/TimeField/useTimeFieldControlState.d.ts +2 -14
  311. package/dist/components/core/Toast/Toast.d.ts +2 -1
  312. package/dist/components/core/Toast/index.d.ts +15 -5
  313. package/dist/components/core/Toast/toastAnimations.d.ts +16 -3
  314. package/dist/components/core/Toast/toastContext.d.ts +7 -0
  315. package/dist/components/core/Toast/toastParts.d.ts +14 -5
  316. package/dist/components/core/Toast/toastProvider.d.ts +1 -1
  317. package/dist/components/core/Toast/toastTypes.d.ts +37 -4
  318. package/dist/components/core/ToggleButton/ToggleButton.d.ts +4 -2
  319. package/dist/components/core/ToggleButton/index.d.ts +12 -5
  320. package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +10 -6
  321. package/dist/components/core/ToggleButton/toggleButtonContext.d.ts +7 -0
  322. package/dist/components/core/ToggleButton/toggleButtonParts.d.ts +13 -7
  323. package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +47 -4
  324. package/dist/components/core/ToggleButton/useToggleButtonFillAnimation.d.ts +4 -1
  325. package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +2 -1
  326. package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
  327. package/dist/components/core/Tooltip/index.d.ts +2 -1
  328. package/dist/components/core/Tooltip/tooltipAnimations.d.ts +5 -1
  329. package/dist/components/core/Tooltip/tooltipContext.d.ts +7 -0
  330. package/dist/components/core/Tooltip/tooltipParts.d.ts +1 -0
  331. package/dist/components/core/Tooltip/tooltipTypes.d.ts +14 -0
  332. package/dist/components/core/utils/bindAbortSignal.d.ts +2 -0
  333. package/dist/components/core/utils/drawerSlide.d.ts +7 -0
  334. package/dist/components/core/utils/focusElement.d.ts +26 -12
  335. package/dist/components/core/utils/focusElement.test.d.ts +1 -0
  336. package/dist/components/core/utils/glossInteractiveMotion.d.ts +6 -2
  337. package/dist/components/core/utils/gsapMotion.d.ts +42 -11
  338. package/dist/components/core/utils/gsapMotion.geometry.test.d.ts +1 -0
  339. package/dist/components/core/utils/hoverInteractiveLift.abort.test.d.ts +1 -0
  340. package/dist/components/core/utils/hoverInteractiveLift.d.ts +8 -4
  341. package/dist/components/core/utils/modalSurfaceMotion.d.ts +17 -3
  342. package/dist/components/core/utils/motionConfig.d.ts +85 -6
  343. package/dist/components/core/utils/motionConfig.test.d.ts +1 -0
  344. package/dist/components/core/utils/motionConfigContext.d.ts +23 -0
  345. package/dist/components/core/utils/motionConfigValidation.d.ts +33 -0
  346. package/dist/components/core/utils/optionListItemParts.d.ts +7 -4
  347. package/dist/components/core/utils/runOpenAfterSqueeze.d.ts +4 -1
  348. package/dist/components/core/utils/searchInputExpandMotion.d.ts +22 -0
  349. package/dist/components/core/utils/searchInputExpandMotion.test.d.ts +1 -0
  350. package/dist/components/core/utils/slotMotion/createMotionRegistry.d.ts +27 -0
  351. package/dist/components/core/utils/slotMotion/createMotionScope.d.ts +63 -0
  352. package/dist/components/core/utils/slotMotion/createMotionScope.test.d.ts +1 -0
  353. package/dist/components/core/utils/slotMotion/enterHidesFirstPaint.d.ts +14 -0
  354. package/dist/components/core/utils/slotMotion/enterHidesFirstPaint.test.d.ts +1 -0
  355. package/dist/components/core/utils/slotMotion/index.d.ts +19 -0
  356. package/dist/components/core/utils/slotMotion/modalSlotMotionHost.d.ts +15 -0
  357. package/dist/components/core/utils/slotMotion/motionRecipeRegistry.d.ts +27 -0
  358. package/dist/components/core/utils/slotMotion/motionRecipeRegistry.test.d.ts +1 -0
  359. package/dist/components/core/utils/slotMotion/motionValueApi.test.d.ts +1 -0
  360. package/dist/components/core/utils/slotMotion/motionVarsApi.test.d.ts +1 -0
  361. package/dist/components/core/utils/slotMotion/recipes/chevronRotate.d.ts +2 -0
  362. package/dist/components/core/utils/slotMotion/recipes/collapsibleHeight.d.ts +3 -0
  363. package/dist/components/core/utils/slotMotion/recipes/contentFade.d.ts +4 -0
  364. package/dist/components/core/utils/slotMotion/recipes/drawerSlide.d.ts +5 -0
  365. package/dist/components/core/utils/slotMotion/recipes/fileRowExit.d.ts +4 -0
  366. package/dist/components/core/utils/slotMotion/recipes/hoverLiftFirstLevel.d.ts +2 -0
  367. package/dist/components/core/utils/slotMotion/recipes/hoverLiftGloss.d.ts +2 -0
  368. package/dist/components/core/utils/slotMotion/recipes/hoverLiftSecondLevel.d.ts +2 -0
  369. package/dist/components/core/utils/slotMotion/recipes/index.d.ts +2 -0
  370. package/dist/components/core/utils/slotMotion/recipes/modalSurface.d.ts +7 -0
  371. package/dist/components/core/utils/slotMotion/recipes/portalSurface.d.ts +3 -0
  372. package/dist/components/core/utils/slotMotion/recipes/pressSqueeze.d.ts +4 -0
  373. package/dist/components/core/utils/slotMotion/recipes/searchExpand.d.ts +5 -0
  374. package/dist/components/core/utils/slotMotion/recipes/selectionFill.d.ts +2 -0
  375. package/dist/components/core/utils/slotMotion/recipes/selectionMark.d.ts +2 -0
  376. package/dist/components/core/utils/slotMotion/recipes/switchThumb.d.ts +8 -0
  377. package/dist/components/core/utils/slotMotion/recipes/toastSurface.d.ts +4 -0
  378. package/dist/components/core/utils/slotMotion/resolveMotionValue.d.ts +8 -0
  379. package/dist/components/core/utils/slotMotion/resolveMotionValue.test.d.ts +1 -0
  380. package/dist/components/core/utils/slotMotion/runMotionPhase.d.ts +22 -0
  381. package/dist/components/core/utils/slotMotion/runMotionPhase.test.d.ts +1 -0
  382. package/dist/components/core/utils/slotMotion/scheduleNestedEnterBroadcast.d.ts +16 -0
  383. package/dist/components/core/utils/slotMotion/scheduleNestedEnterBroadcast.test.d.ts +1 -0
  384. package/dist/components/core/utils/slotMotion/slotMotionTypes.d.ts +165 -0
  385. package/dist/components/core/utils/slotMotion/useMotionPart.d.ts +39 -0
  386. package/dist/components/core/utils/slotMotion/useMotionPointerPhases.d.ts +12 -0
  387. package/dist/components/core/utils/slotMotion/useSlotLifecycle.d.ts +25 -0
  388. package/dist/components/core/utils/slotMotion/useSlotLifecycle.test.d.ts +1 -0
  389. package/dist/components/core/utils/slotMotion/waitForLeaveGeneration.d.ts +14 -0
  390. package/dist/components/core/utils/useChevronRotation.d.ts +9 -0
  391. package/dist/components/core/utils/useCollapsibleHeight.d.ts +10 -1
  392. package/dist/components/core/utils/useCollapsibleHeight.test.d.ts +1 -0
  393. package/dist/components/core/utils/useModalMotion.d.ts +12 -1
  394. package/dist/index.cjs +1 -1
  395. package/dist/index.d.ts +39 -36
  396. package/dist/index.js +23101 -16687
  397. package/dist/internal.cjs +1 -1
  398. package/dist/internal.d.ts +4 -3
  399. package/dist/internal.js +83 -78
  400. package/dist/theme/index.d.ts +1 -1
  401. package/dist/theme/themeDefaults.d.ts +7 -0
  402. package/dist/{themeRuntimeContext-CFUwV5z2.js → themeRuntimeContext-DELPwtpL.js} +1764 -1508
  403. package/dist/themeRuntimeContext-DknZO7q3.cjs +14 -0
  404. package/dist/ui.css +49 -51
  405. package/package.json +3 -2
  406. package/dist/components/core/SelectionIndicator/useSelectionIndicatorAnimation.d.ts +0 -2
  407. package/dist/themeRuntimeContext-POhnqI3h.cjs +0 -14
@@ -1,3 +1,10 @@
1
1
  import { LinkClassNames, LinkClassNamesProviderProps } from './linkTypes';
2
2
  export declare function LinkClassNamesProvider({ classNames, children, }: LinkClassNamesProviderProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare function useLinkClassNames(): LinkClassNames;
4
+ /** Scope only. Defaults and host play live in `linkAnimations.ts`. */
5
+ export declare const LinkMotionProvider: ({ motion, defaults, params, children, }: {
6
+ motion?: import('../utils/slotMotion').MotionSlotMap;
7
+ defaults?: import('../utils/slotMotion').MotionSlotMap;
8
+ params?: import('../utils/slotMotion').MotionRecipeParams;
9
+ children: import('react').ReactNode;
10
+ }) => import("react/jsx-runtime").JSX.Element, useLinkMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalLinkMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,5 +1,6 @@
1
1
  import { AnchorHTMLAttributes, ForwardedRef, KeyboardEvent, PointerEvent, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
+ import { MotionValue } from '../utils/slotMotion';
3
4
  import { ComponentSize } from '../utils/sizeLayout';
4
5
  import { IconPosition } from '../utils/iconPosition';
5
6
  export type LinkSize = ComponentSize;
@@ -12,6 +13,17 @@ export type LinkClassNames = {
12
13
  /** Icon wrapper (both start and end positions). */
13
14
  icon?: string;
14
15
  };
16
+ export type LinkPartMotion = {
17
+ hoverIn?: MotionValue;
18
+ hoverOut?: MotionValue;
19
+ pressIn?: MotionValue;
20
+ pressOut?: MotionValue;
21
+ };
22
+ export type LinkMotion = {
23
+ root?: LinkPartMotion;
24
+ text?: LinkPartMotion;
25
+ icon?: LinkPartMotion;
26
+ };
15
27
  type LinkSharedProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "href"> & {
16
28
  children?: ReactNode;
17
29
  size?: LinkSize;
@@ -22,6 +34,8 @@ type LinkSharedProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children"
22
34
  showDefaultIcon?: boolean;
23
35
  defaultIconPosition?: LinkIconPos;
24
36
  classNames?: Prettify<LinkClassNames>;
37
+ /** Per-slot motion (`root`, `text`, `icon`). No hover shadow. */
38
+ motion?: Prettify<LinkMotion>;
25
39
  };
26
40
  export type LinkProps = (LinkSharedProps & {
27
41
  /** Merge Link styles onto the single child (router `Link`, custom `<a>`). */
@@ -72,7 +86,12 @@ export type LinkAnchorBodyProps = LinkBodyContentProps & {
72
86
  setAnchorRef: (node: HTMLAnchorElement | null) => void;
73
87
  handlePointerEnter: (event: PointerEvent<HTMLAnchorElement>) => void;
74
88
  handlePointerLeave: (event: PointerEvent<HTMLAnchorElement>) => void;
75
- handlePointerDown: (event: PointerEvent<HTMLAnchorElement>) => void;
89
+ pointerHandlers: {
90
+ onPointerOver: (event: PointerEvent<HTMLAnchorElement>) => void;
91
+ onPointerOut: (event: PointerEvent<HTMLAnchorElement>) => void;
92
+ onPointerDown: (event: PointerEvent<HTMLAnchorElement>) => void;
93
+ onPointerUp: (event: PointerEvent<HTMLAnchorElement>) => void;
94
+ };
76
95
  handleKeyDown: (event: KeyboardEvent<HTMLAnchorElement>) => void;
77
96
  } & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "href" | "className">;
78
97
  export type LinkIconSlotProps = {
@@ -85,7 +104,10 @@ export type UseLinkAnimationsProps = {
85
104
  forwardedRef: ForwardedRef<HTMLAnchorElement>;
86
105
  onPointerEnter?: (event: PointerEvent<HTMLAnchorElement>) => void;
87
106
  onPointerLeave?: (event: PointerEvent<HTMLAnchorElement>) => void;
107
+ onPointerOver?: (event: PointerEvent<HTMLAnchorElement>) => void;
108
+ onPointerOut?: (event: PointerEvent<HTMLAnchorElement>) => void;
88
109
  onPointerDown?: (event: PointerEvent<HTMLAnchorElement>) => void;
110
+ onPointerUp?: (event: PointerEvent<HTMLAnchorElement>) => void;
89
111
  onKeyDown?: (event: KeyboardEvent<HTMLAnchorElement>) => void;
90
112
  };
91
113
  export {};
@@ -1,8 +1,8 @@
1
1
  import { ListBoxProps } from './listBoxTypes';
2
- export type { ListBoxProps, ListBoxSectionProps, ListBoxHeaderProps, ListBoxSeparatorProps, ListBoxEmptyProps, ListBoxItemProps, ListBoxLabelProps, ListBoxHintProps, ListBoxIconProps, ListBoxItemIndicatorProps, ListBoxSize, ListBoxVariant, ListBoxClassNames, } from './listBoxTypes';
2
+ export type { ListBoxProps, ListBoxSectionProps, ListBoxHeaderProps, ListBoxSeparatorProps, ListBoxEmptyProps, ListBoxItemProps, ListBoxLabelProps, ListBoxHintProps, ListBoxIconProps, ListBoxItemIndicatorProps, ListBoxSize, ListBoxVariant, ListBoxClassNames, ListBoxMotion, ListBoxPartMotion, } from './listBoxTypes';
3
3
  export { ListBoxRootShell, ListBoxSection, ListBoxHeader, ListBoxSeparator, ListBoxEmpty, ListBoxItem, ListBoxLabel, ListBoxHint, ListBoxIcon, ListBoxItemIndicator, } from './listBoxParts';
4
4
  export { useListBox, useListBoxActiveValue } from './listBoxContext';
5
- export declare function ListBoxRoot({ classNames, children, className, size, variant, multiple, value, defaultValue, onValueChange, disabled, activeValue, onActiveValueChange, listId: listIdProp, "aria-label": ariaLabelProp, "aria-labelledby": ariaLabelledByProp, ...rest }: ListBoxProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ListBoxRoot({ classNames, children, className, size, variant, multiple, value, defaultValue, onValueChange, disabled, activeValue, onActiveValueChange, listId: listIdProp, "aria-label": ariaLabelProp, "aria-labelledby": ariaLabelledByProp, motion, ...rest }: ListBoxProps): import("react/jsx-runtime").JSX.Element;
6
6
  export declare namespace ListBoxRoot {
7
7
  var displayName: string;
8
8
  }
@@ -11,16 +11,20 @@ export declare const ListBox: typeof ListBoxRoot & {
11
11
  hint?: import('react').ReactNode;
12
12
  icon?: import('react').ReactNode;
13
13
  indicator?: boolean;
14
+ motion?: import('../../..').Prettify<import('./listBoxTypes').ListBoxPartMotion>;
14
15
  } & import('react').RefAttributes<HTMLButtonElement>>;
15
16
  Label: typeof ListBoxLabel;
16
17
  Hint: typeof ListBoxHint;
17
18
  Icon: typeof ListBoxIcon;
18
19
  ItemIndicator: typeof ListBoxItemIndicator & {
19
- Fill: import('react').ForwardRefExoticComponent<import('../SelectionIndicator').SelectionIndicatorFillProps & import('react').RefAttributes<HTMLSpanElement>>;
20
+ Fill: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
21
+ motion?: import('../../..').Prettify<import('../SelectionIndicator').SelectionIndicatorCheckMotion>;
22
+ } & import('react').RefAttributes<HTMLSpanElement>>;
20
23
  Mark: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
21
24
  children?: import('react').ReactNode;
25
+ motion?: import('../../..').Prettify<import('../SelectionIndicator').SelectionIndicatorCheckMotion>;
22
26
  } & import('react').RefAttributes<HTMLSpanElement>>;
23
27
  };
24
28
  };
25
29
  export { useListBox, useListBoxActiveValue };
26
- export type { ListBoxProps, ListBoxSectionProps, ListBoxHeaderProps, ListBoxSeparatorProps, ListBoxEmptyProps, ListBoxItemProps, ListBoxLabelProps, ListBoxHintProps, ListBoxIconProps, ListBoxItemIndicatorProps, ListBoxSize, ListBoxVariant, ListBoxClassNames, } from './ListBox';
30
+ export type { ListBoxProps, ListBoxSectionProps, ListBoxHeaderProps, ListBoxSeparatorProps, ListBoxEmptyProps, ListBoxItemProps, ListBoxLabelProps, ListBoxHintProps, ListBoxIconProps, ListBoxItemIndicatorProps, ListBoxSize, ListBoxVariant, ListBoxClassNames, ListBoxMotion, ListBoxPartMotion, } from './ListBox';
@@ -1,6 +1,9 @@
1
+ import { MotionScopeValue } from '../utils/slotMotion';
2
+ import { ListBoxMotion } from './listBoxTypes';
1
3
  import { RefObject } from 'react';
2
- import { UseListBoxItemAnimationsProps } from './listBoxTypes';
3
4
  export declare function useListBoxRootGlossRef(isGloss: boolean): (node: HTMLElement | null) => void;
5
+ export declare function resolveListBoxMotionDefaults(): ListBoxMotion;
6
+ export declare function playListBoxItemPress(scope: MotionScopeValue, el: HTMLElement | null): void;
4
7
  /**
5
8
  * Sync `data-active` on the active option. Highlight CSS is the static
6
9
  * `data-active:bg-default-hover` class on every item — no React `isActive`.
@@ -10,9 +13,3 @@ export declare function useListBoxActiveOptionHighlight({ listId, activeValue, r
10
13
  activeValue: string | null;
11
14
  rootRef: RefObject<HTMLElement | null>;
12
15
  }): void;
13
- export declare function useListBoxItemAnimations({ disabled, hasLabel, onPointerDown, onKeyDown, }: UseListBoxItemAnimationsProps): {
14
- labelMotionRef: RefObject<HTMLElement | null>;
15
- enableLabelMotion: boolean;
16
- handlePointerDown: (e: import('react').PointerEvent<HTMLButtonElement>) => void;
17
- handleKeyDown: (e: import('react').KeyboardEvent<HTMLButtonElement>) => void;
18
- };
@@ -18,3 +18,10 @@ export declare function ListBoxSectionLabelProvider({ value, children, }: {
18
18
  children: ReactNode;
19
19
  }): import("react/jsx-runtime").JSX.Element;
20
20
  export declare function useListBoxSectionLabelRegister(): ((id: string | undefined) => void) | null;
21
+ /** Scope only. Defaults and host play live in `listBoxAnimations.ts`. */
22
+ export declare const ListBoxMotionProvider: ({ motion, defaults, params, children, }: {
23
+ motion?: import('../utils/slotMotion').MotionSlotMap;
24
+ defaults?: import('../utils/slotMotion').MotionSlotMap;
25
+ params?: import('../utils/slotMotion').MotionRecipeParams;
26
+ children: ReactNode;
27
+ }) => import("react/jsx-runtime").JSX.Element, useListBoxMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalListBoxMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -26,8 +26,9 @@ export declare const ListBoxItem: import('react').NamedExoticComponent<Omit<impo
26
26
  hint?: import('react').ReactNode;
27
27
  icon?: import('react').ReactNode;
28
28
  indicator?: boolean;
29
+ motion?: import('../../..').Prettify<import('./listBoxTypes').ListBoxPartMotion>;
29
30
  } & import('react').RefAttributes<HTMLButtonElement>>;
30
- export declare function ListBoxLabel({ className, ...props }: ListBoxLabelProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function ListBoxLabel({ className, motion, ...props }: ListBoxLabelProps): import("react/jsx-runtime").JSX.Element;
31
32
  export declare namespace ListBoxLabel {
32
33
  var displayName: string;
33
34
  }
@@ -35,7 +36,7 @@ export declare function ListBoxHint({ className, ...props }: ListBoxHintProps):
35
36
  export declare namespace ListBoxHint {
36
37
  var displayName: string;
37
38
  }
38
- export declare function ListBoxIcon({ className, ...props }: ListBoxIconProps): import("react/jsx-runtime").JSX.Element;
39
+ export declare function ListBoxIcon({ className, motion, ...props }: ListBoxIconProps): import("react/jsx-runtime").JSX.Element;
39
40
  export declare namespace ListBoxIcon {
40
41
  var displayName: string;
41
42
  }
@@ -1,6 +1,7 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
3
  import { SelectionIndicatorSize, SelectionIndicatorVariant, SelectionIndicatorClassNames } from '../SelectionIndicator';
4
+ import { MotionValue } from '../utils/slotMotion';
4
5
  export type ListBoxSize = "small" | "base" | "mid" | "large";
5
6
  export type ListBoxVariant = "default" | "gloss";
6
7
  export type ListBoxClassNames = {
@@ -31,6 +32,17 @@ export type ListBoxClassNames = {
31
32
  itemIndicatorFill?: string;
32
33
  itemIndicatorMark?: string;
33
34
  };
35
+ export type ListBoxPartMotion = {
36
+ hoverIn?: MotionValue;
37
+ hoverOut?: MotionValue;
38
+ pressIn?: MotionValue;
39
+ pressOut?: MotionValue;
40
+ };
41
+ export type ListBoxMotion = {
42
+ item?: ListBoxPartMotion;
43
+ label?: ListBoxPartMotion;
44
+ icon?: ListBoxPartMotion;
45
+ };
34
46
  export type ListBoxContextValue = {
35
47
  listId: string;
36
48
  size: ListBoxSize;
@@ -59,6 +71,7 @@ export type ListBoxProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "on
59
71
  onActiveValueChange?: (value: string | null) => void;
60
72
  listId?: string;
61
73
  classNames?: Prettify<ListBoxClassNames>;
74
+ motion?: Prettify<ListBoxMotion>;
62
75
  };
63
76
  export type ListBoxClassNamesProviderProps = {
64
77
  classNames?: Prettify<ListBoxClassNames>;
@@ -80,10 +93,15 @@ export type ListBoxItemProps = Omit<HTMLAttributes<HTMLButtonElement>, "value">
80
93
  icon?: ReactNode;
81
94
  /** Simple API: render selection indicator (same as `<ListBox.ItemIndicator />`). */
82
95
  indicator?: boolean;
96
+ motion?: Prettify<ListBoxPartMotion>;
97
+ };
98
+ export type ListBoxLabelProps = HTMLAttributes<HTMLSpanElement> & {
99
+ motion?: Prettify<ListBoxPartMotion>;
83
100
  };
84
- export type ListBoxLabelProps = HTMLAttributes<HTMLSpanElement>;
85
101
  export type ListBoxHintProps = HTMLAttributes<HTMLSpanElement>;
86
- export type ListBoxIconProps = HTMLAttributes<HTMLSpanElement>;
102
+ export type ListBoxIconProps = HTMLAttributes<HTMLSpanElement> & {
103
+ motion?: Prettify<ListBoxPartMotion>;
104
+ };
87
105
  export type ListBoxItemIndicatorClassNames = SelectionIndicatorClassNames & Partial<Pick<ListBoxClassNames, "itemIndicator" | "itemIndicatorShell" | "itemIndicatorFill" | "itemIndicatorMark">>;
88
106
  export type ListBoxItemIndicatorProps = Omit<HTMLAttributes<HTMLSpanElement>, "children"> & {
89
107
  variant?: SelectionIndicatorVariant;
@@ -100,9 +118,3 @@ export type ListBoxRootShellProps = Omit<HTMLAttributes<HTMLDivElement>, "childr
100
118
  children?: ReactNode;
101
119
  };
102
120
  export type UseListBoxItemStateProps = Pick<ListBoxItemProps, "children" | "label" | "hint" | "icon" | "indicator" | "value" | "disabled">;
103
- export type UseListBoxItemAnimationsProps = {
104
- disabled: boolean;
105
- hasLabel: boolean;
106
- onPointerDown?: HTMLAttributes<HTMLButtonElement>["onPointerDown"];
107
- onKeyDown?: HTMLAttributes<HTMLButtonElement>["onKeyDown"];
108
- };
@@ -1,8 +1,9 @@
1
- export type { LoadingClassNames, LoadingColor, LoadingProps, LoadingSize, LoadingType, } from './loadingTypes';
1
+ export type { LoadingClassNames, LoadingColor, LoadingMotion, LoadingPartMotion, LoadingProps, LoadingSize, LoadingType, } from './loadingTypes';
2
2
  export declare const Loading: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
3
3
  type?: import('./loadingTypes').LoadingType;
4
4
  size?: import('./loadingTypes').LoadingSize;
5
5
  color?: import('./loadingTypes').LoadingColor;
6
6
  label?: string;
7
7
  classNames?: import('../../..').Prettify<import('./loadingTypes').LoadingClassNames>;
8
+ motion?: import('../../..').Prettify<import('./loadingTypes').LoadingMotion>;
8
9
  } & import('react').RefAttributes<HTMLSpanElement>>;
@@ -1 +1 @@
1
- export { Loading, type LoadingProps, type LoadingSize, type LoadingColor, type LoadingType, type LoadingClassNames, } from './Loading';
1
+ export { Loading, type LoadingProps, type LoadingSize, type LoadingColor, type LoadingType, type LoadingClassNames, type LoadingMotion, type LoadingPartMotion, } from './Loading';
@@ -1,3 +1,4 @@
1
1
  import { RefObject } from 'react';
2
- import { LoadingSize } from './loadingTypes';
2
+ import { LoadingMotion, LoadingSize } from './loadingTypes';
3
3
  export declare function useLoadingDotsAnimation(trackRef: RefObject<HTMLElement | null>, size: LoadingSize): void;
4
+ export declare function resolveLoadingMotionDefaults(): LoadingMotion;
@@ -0,0 +1,7 @@
1
+ /** Scope only. Defaults and host play live in `loadingAnimations.ts`. */
2
+ export declare const LoadingMotionProvider: ({ motion, defaults, params, children, }: {
3
+ motion?: import('../utils/slotMotion').MotionSlotMap;
4
+ defaults?: import('../utils/slotMotion').MotionSlotMap;
5
+ params?: import('../utils/slotMotion').MotionRecipeParams;
6
+ children: import('react').ReactNode;
7
+ }) => import("react/jsx-runtime").JSX.Element, useLoadingMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalLoadingMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,5 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
+ import { MotionValue } from '../utils/slotMotion';
3
4
  import { ComponentSize } from '../utils/sizeLayout';
4
5
  export type LoadingSize = ComponentSize;
5
6
  export type LoadingType = "spinner" | "dots";
@@ -10,12 +11,30 @@ export type LoadingClassNames = {
10
11
  dots?: string;
11
12
  dot?: string;
12
13
  };
14
+ export type LoadingPartMotion = {
15
+ hoverIn?: MotionValue;
16
+ hoverOut?: MotionValue;
17
+ pressIn?: MotionValue;
18
+ pressOut?: MotionValue;
19
+ enter?: MotionValue;
20
+ leave?: MotionValue;
21
+ };
22
+ export type LoadingMotion = {
23
+ root?: LoadingPartMotion;
24
+ spinner?: LoadingPartMotion;
25
+ dots?: LoadingPartMotion;
26
+ };
13
27
  export type LoadingProps = HTMLAttributes<HTMLSpanElement> & {
14
28
  type?: LoadingType;
15
29
  size?: LoadingSize;
16
30
  color?: LoadingColor;
17
31
  label?: string;
18
32
  classNames?: Prettify<LoadingClassNames>;
33
+ /**
34
+ * Per-slot motion (`root`, `spinner`, `dots`). Dot wave stays kit-internal.
35
+ * Defaults are empty — `enter` runs on mount only when set.
36
+ */
37
+ motion?: Prettify<LoadingMotion>;
19
38
  };
20
39
  export type LoadingDotsLayout = {
21
40
  dotClass: string;
@@ -1,8 +1,8 @@
1
1
  import { MeterProps } from './meterTypes';
2
- export type { MeterClassNames, MeterErrorProps, MeterHeaderProps, MeterHintProps, MeterOrientation, MeterProps, MeterSize, MeterTrackProps, MeterValueProps, } from './meterTypes';
2
+ export type { MeterClassNames, MeterErrorProps, MeterHeaderProps, MeterHintProps, MeterOrientation, MeterProps, MeterSize, MeterTrackProps, MeterValueProps, MeterMotion, MeterPartMotion, } from './meterTypes';
3
3
  export { MeterError, MeterHeader, MeterHint, MeterLabel, MeterSimpleBody, MeterTrack, MeterValue, } from './meterParts';
4
4
  export { useMeterFieldContext, useOptionalMeterFieldContext, } from './meterContext';
5
- export declare function MeterRoot({ children, className, classNames, id, orientation, label, showValue, valueText, hint, error, value, min, max, size, thickness, color, formatValue, ...divRest }: MeterProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function MeterRoot({ children, className, classNames, id, orientation, label, showValue, valueText, hint, error, value, min, max, size, thickness, color, formatValue, motion, ...divRest }: MeterProps): import("react/jsx-runtime").JSX.Element;
6
6
  export declare namespace MeterRoot {
7
7
  var displayName: string;
8
8
  }
@@ -16,9 +16,11 @@ export declare const Meter: typeof MeterRoot & {
16
16
  formatValue?: (value: number) => string;
17
17
  orientation?: import('./meterTypes').MeterOrientation;
18
18
  className?: string;
19
+ motion?: import('../../..').Prettify<import('./meterTypes').MeterPartMotion>;
19
20
  } & import('react').RefAttributes<HTMLDivElement>>;
20
21
  };
21
22
  export type { MeterTrackProps, MeterSize, MeterOrientation, MeterClassNames, } from './Meter';
23
+ export type { MeterMotion, MeterPartMotion, } from './meterTypes';
22
24
  export type { MeterProps, MeterHeaderProps, MeterValueProps, MeterHintProps, MeterErrorProps, } from './Meter';
23
25
  export { useMeterFieldContext, useOptionalMeterFieldContext, } from './Meter';
24
26
  export type { MeterDisplayState, MeterFieldContextValue } from './meterTypes';
@@ -1,4 +1,7 @@
1
- import { UseMeterFillAnimationProps } from './meterTypes';
1
+ import { MotionScopeValue } from '../utils/slotMotion';
2
+ import { MeterMotion, UseMeterFillAnimationProps } from './meterTypes';
3
+ export declare function resolveMeterMotionDefaults(): MeterMotion;
4
+ export declare function useMeterTrackSlotMotion(scope: MotionScopeValue | null, value: number): void;
2
5
  export declare function useMeterFillAnimation({ fillTargetStyle, isHorizontal, }: UseMeterFillAnimationProps): {
3
6
  fillRef: import('react').RefObject<HTMLSpanElement | null>;
4
7
  };
@@ -8,4 +8,11 @@ export declare function MeterClassNamesProvider({ classNames, children, }: Meter
8
8
  export declare function useMeterFieldContext(): MeterFieldContextValue;
9
9
  export declare function useOptionalMeterFieldContext(): MeterFieldContextValue | null;
10
10
  export declare function useMeterClassNames(): MeterClassNames;
11
+ /** Scope only. Defaults and host play live in `meterAnimations.ts`. */
12
+ export declare const MeterMotionProvider: ({ motion, defaults, params, children, }: {
13
+ motion?: import('../utils/slotMotion').MotionSlotMap;
14
+ defaults?: import('../utils/slotMotion').MotionSlotMap;
15
+ params?: import('../utils/slotMotion').MotionRecipeParams;
16
+ children: import('react').ReactNode;
17
+ }) => import("react/jsx-runtime").JSX.Element, useMeterMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalMeterMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
11
18
  export { MeterFieldContext };
@@ -5,11 +5,11 @@ export declare function MeterLabel({ className, classNames, ...rest }: LabelProp
5
5
  export declare namespace MeterLabel {
6
6
  var displayName: string;
7
7
  }
8
- export declare function MeterHeader({ children, className, ...rest }: MeterHeaderProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function MeterHeader({ children, className, motion, ...rest }: MeterHeaderProps): import("react/jsx-runtime").JSX.Element;
9
9
  export declare namespace MeterHeader {
10
10
  var displayName: string;
11
11
  }
12
- export declare function MeterValue({ children, className, ...rest }: MeterValueProps): import("react/jsx-runtime").JSX.Element | null;
12
+ export declare function MeterValue({ children, className, motion, ...rest }: MeterValueProps): import("react/jsx-runtime").JSX.Element | null;
13
13
  export declare namespace MeterValue {
14
14
  var displayName: string;
15
15
  }
@@ -31,4 +31,5 @@ export declare const MeterTrack: import('react').ForwardRefExoticComponent<Omit<
31
31
  formatValue?: (value: number) => string;
32
32
  orientation?: import('./meterTypes').MeterOrientation;
33
33
  className?: string;
34
+ motion?: import('../../..').Prettify<import('./meterTypes').MeterPartMotion>;
34
35
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,6 @@
1
1
  import { CSSProperties, HTMLAttributes, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
+ import { MotionValue } from '../utils/slotMotion';
3
4
  export type MeterSize = "small" | "base" | "mid" | "large";
4
5
  export type MeterOrientation = "horizontal" | "vertical";
5
6
  export type MeterClassNames = {
@@ -20,6 +21,22 @@ export type MeterClassNames = {
20
21
  /** `Meter.Error`. */
21
22
  error?: string;
22
23
  };
24
+ export type MeterPartMotion = {
25
+ hoverIn?: MotionValue;
26
+ hoverOut?: MotionValue;
27
+ pressIn?: MotionValue;
28
+ pressOut?: MotionValue;
29
+ enter?: MotionValue;
30
+ leave?: MotionValue;
31
+ /** Plays when `value` changes. Fill width/height stays kit-internal. */
32
+ change?: MotionValue;
33
+ };
34
+ export type MeterMotion = {
35
+ track?: MeterPartMotion;
36
+ fill?: MeterPartMotion;
37
+ header?: MeterPartMotion;
38
+ value?: MeterPartMotion;
39
+ };
23
40
  export type MeterDisplayState = {
24
41
  clampedValue: number;
25
42
  statusText: string;
@@ -47,8 +64,9 @@ export type MeterTrackProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> &
47
64
  formatValue?: (value: number) => string;
48
65
  orientation?: MeterOrientation;
49
66
  className?: string;
67
+ motion?: Prettify<MeterPartMotion>;
50
68
  };
51
- export type MeterProps = HTMLAttributes<HTMLDivElement> & Partial<MeterTrackProps> & {
69
+ export type MeterProps = HTMLAttributes<HTMLDivElement> & Partial<Omit<MeterTrackProps, "motion">> & {
52
70
  children?: ReactNode;
53
71
  id?: string;
54
72
  orientation?: MeterOrientation;
@@ -58,6 +76,12 @@ export type MeterProps = HTMLAttributes<HTMLDivElement> & Partial<MeterTrackProp
58
76
  hint?: ReactNode;
59
77
  error?: ReactNode;
60
78
  classNames?: Prettify<MeterClassNames>;
79
+ /**
80
+ * Per-slot motion (`track`, `fill`, `header`, `value`).
81
+ * Fill geometry (`width`/`height`) is kit-internal. Phase `change` plays on `track`
82
+ * when value updates (not on `fill`, so the kit tween is not killed).
83
+ */
84
+ motion?: Prettify<MeterMotion>;
61
85
  };
62
86
  export type MeterClassNamesProviderProps = {
63
87
  classNames?: Prettify<MeterClassNames>;
@@ -65,9 +89,11 @@ export type MeterClassNamesProviderProps = {
65
89
  };
66
90
  export type MeterHeaderProps = HTMLAttributes<HTMLDivElement> & {
67
91
  children?: ReactNode;
92
+ motion?: Prettify<MeterPartMotion>;
68
93
  };
69
94
  export type MeterValueProps = HTMLAttributes<HTMLSpanElement> & {
70
95
  children?: ReactNode;
96
+ motion?: Prettify<MeterPartMotion>;
71
97
  };
72
98
  export type MeterHintProps = HTMLAttributes<HTMLParagraphElement> & {
73
99
  children?: ReactNode;
@@ -75,7 +101,7 @@ export type MeterHintProps = HTMLAttributes<HTMLParagraphElement> & {
75
101
  export type MeterErrorProps = HTMLAttributes<HTMLParagraphElement> & {
76
102
  children?: ReactNode;
77
103
  };
78
- export type UseMeterRootStateProps = Omit<MeterProps, "className" | "classNames">;
104
+ export type UseMeterRootStateProps = Omit<MeterProps, "className" | "classNames" | "motion">;
79
105
  export type UseMeterTrackStateProps = Pick<MeterTrackProps, "value" | "min" | "max" | "size" | "thickness" | "color" | "formatValue" | "orientation"> & {
80
106
  "aria-describedby"?: string;
81
107
  };
@@ -1,4 +1,4 @@
1
- export type { PaginationClassNames, PaginationContentProps, PaginationEllipsisProps, PaginationItemProps, PaginationNavButtonProps, PaginationPageProps, PaginationPagesProps, PaginationProps, PaginationSummaryProps, } from './paginationTypes';
1
+ export type { PaginationClassNames, PaginationContentProps, PaginationEllipsisProps, PaginationItemProps, PaginationNavButtonProps, PaginationPageProps, PaginationPagesProps, PaginationProps, PaginationSummaryProps, PaginationMotion, PaginationPartMotion, } from './paginationTypes';
2
2
  export { PaginationContent, PaginationEllipsis, PaginationItem, PaginationNext, PaginationNextIcon, PaginationPage, PaginationPages, PaginationPrevious, PaginationPreviousIcon, PaginationRootShell, PaginationSummary, } from './paginationParts';
3
3
  export declare const PaginationRoot: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLElement>, "children"> & {
4
4
  children?: import('react').ReactNode;
@@ -8,4 +8,5 @@ export declare const PaginationRoot: import('react').ForwardRefExoticComponent<O
8
8
  onPageChange?: (page: number) => void;
9
9
  siblingCount?: number;
10
10
  classNames?: import('../../..').Prettify<import('./paginationTypes').PaginationClassNames>;
11
+ motion?: import('../../..').Prettify<import('./paginationTypes').PaginationMotion>;
11
12
  } & import('react').RefAttributes<HTMLElement>>;
@@ -7,20 +7,26 @@ export declare const Pagination: import('react').ForwardRefExoticComponent<Omit<
7
7
  onPageChange?: (page: number) => void;
8
8
  siblingCount?: number;
9
9
  classNames?: import('../../..').Prettify<import('./paginationTypes').PaginationClassNames>;
10
+ motion?: import('../../..').Prettify<import('./paginationTypes').PaginationMotion>;
10
11
  } & import('react').RefAttributes<HTMLElement>> & {
11
12
  Summary: import('react').ForwardRefExoticComponent<import('./paginationTypes').PaginationSummaryProps & import('react').RefAttributes<HTMLDivElement>>;
12
13
  Content: import('react').ForwardRefExoticComponent<import('./paginationTypes').PaginationContentProps & import('react').RefAttributes<HTMLOListElement>>;
13
14
  Item: import('react').ForwardRefExoticComponent<import('./paginationTypes').PaginationItemProps & import('react').RefAttributes<HTMLLIElement>>;
14
- Previous: import('react').ForwardRefExoticComponent<import('./paginationTypes').PaginationNavButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
15
- Next: import('react').ForwardRefExoticComponent<import('./paginationTypes').PaginationNavButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
15
+ Previous: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
16
+ motion?: import('../../..').Prettify<import('./paginationTypes').PaginationPartMotion>;
17
+ } & import('react').RefAttributes<HTMLButtonElement>>;
18
+ Next: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
19
+ motion?: import('../../..').Prettify<import('./paginationTypes').PaginationPartMotion>;
20
+ } & import('react').RefAttributes<HTMLButtonElement>>;
16
21
  PreviousIcon: import('react').ForwardRefExoticComponent<import('react-icons').IconBaseProps & import('react').RefAttributes<SVGSVGElement>>;
17
22
  NextIcon: import('react').ForwardRefExoticComponent<import('react-icons').IconBaseProps & import('react').RefAttributes<SVGSVGElement>>;
18
23
  Page: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
19
24
  page: number;
20
25
  active?: boolean;
21
26
  children?: import('react').ReactNode;
27
+ motion?: import('../../..').Prettify<import('./paginationTypes').PaginationPartMotion>;
22
28
  } & import('react').RefAttributes<HTMLButtonElement>>;
23
29
  Pages: typeof PaginationPages;
24
30
  Ellipsis: import('react').ForwardRefExoticComponent<import('./paginationTypes').PaginationEllipsisProps & import('react').RefAttributes<HTMLSpanElement>>;
25
31
  };
26
- export type { PaginationProps, PaginationClassNames, PaginationSummaryProps, PaginationContentProps, PaginationItemProps, PaginationNavButtonProps, PaginationPageProps, PaginationEllipsisProps, PaginationPagesProps, } from './Pagination';
32
+ export type { PaginationProps, PaginationClassNames, PaginationSummaryProps, PaginationContentProps, PaginationItemProps, PaginationNavButtonProps, PaginationPageProps, PaginationEllipsisProps, PaginationPagesProps, PaginationMotion, PaginationPartMotion, } from './Pagination';
@@ -1,4 +1,5 @@
1
1
  import { ForwardedRef, ReactNode, RefObject } from 'react';
2
+ import { PaginationMotion } from './paginationTypes';
2
3
  export type PaginationFlipIdentity = {
3
4
  /** Current page — primary trigger for FLIP when using `Pagination.Pages`. */
4
5
  page?: number;
@@ -16,3 +17,4 @@ export declare function usePaginationContentRef(forwardedRef: ForwardedRef<HTMLO
16
17
  olRef: RefObject<HTMLOListElement | null>;
17
18
  setRefs: (node: HTMLOListElement | null) => void;
18
19
  };
20
+ export declare function resolvePaginationControlMotionDefaults(): PaginationMotion;
@@ -7,3 +7,10 @@ export declare function PaginationClassNamesProvider({ classNames, children, }:
7
7
  export declare function usePagination(): PaginationContextValue;
8
8
  export declare function useOptionalPagination(): PaginationContextValue | null;
9
9
  export declare function usePaginationClassNames(): PaginationClassNames;
10
+ /** Scope only. Defaults and host play live in `paginationAnimations.ts`. */
11
+ export declare const PaginationMotionProvider: ({ motion, defaults, params, children, }: {
12
+ motion?: import('../utils/slotMotion').MotionSlotMap;
13
+ defaults?: import('../utils/slotMotion').MotionSlotMap;
14
+ params?: import('../utils/slotMotion').MotionRecipeParams;
15
+ children: import('react').ReactNode;
16
+ }) => import("react/jsx-runtime").JSX.Element, usePaginationMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalPaginationMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,18 +1,23 @@
1
1
  import { IconBaseProps } from 'react-icons';
2
2
  import { ForwardRefExoticComponent, RefAttributes } from 'react';
3
- import { PaginationContentProps, PaginationEllipsisProps, PaginationItemProps, PaginationNavButtonProps, PaginationProps, PaginationSummaryProps } from './paginationTypes';
3
+ import { PaginationContentProps, PaginationEllipsisProps, PaginationItemProps, PaginationPartMotion, PaginationProps, PaginationSummaryProps } from './paginationTypes';
4
4
  export declare const PaginationRootShell: ForwardRefExoticComponent<Omit<PaginationProps, "classNames"> & RefAttributes<HTMLElement>>;
5
5
  export declare const PaginationSummary: ForwardRefExoticComponent<PaginationSummaryProps & RefAttributes<HTMLDivElement>>;
6
6
  export declare const PaginationContent: ForwardRefExoticComponent<PaginationContentProps & RefAttributes<HTMLOListElement>>;
7
7
  export declare const PaginationItem: ForwardRefExoticComponent<PaginationItemProps & RefAttributes<HTMLLIElement>>;
8
- export declare const PaginationPrevious: ForwardRefExoticComponent<PaginationNavButtonProps & RefAttributes<HTMLButtonElement>>;
9
- export declare const PaginationNext: ForwardRefExoticComponent<PaginationNavButtonProps & RefAttributes<HTMLButtonElement>>;
8
+ export declare const PaginationPrevious: ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
9
+ motion?: import('../../..').Prettify<PaginationPartMotion>;
10
+ } & RefAttributes<HTMLButtonElement>>;
11
+ export declare const PaginationNext: ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
12
+ motion?: import('../../..').Prettify<PaginationPartMotion>;
13
+ } & RefAttributes<HTMLButtonElement>>;
10
14
  export declare const PaginationPreviousIcon: ForwardRefExoticComponent<IconBaseProps & RefAttributes<SVGSVGElement>>;
11
15
  export declare const PaginationNextIcon: ForwardRefExoticComponent<IconBaseProps & RefAttributes<SVGSVGElement>>;
12
16
  export declare const PaginationPage: ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
13
17
  page: number;
14
18
  active?: boolean;
15
19
  children?: import('react').ReactNode;
20
+ motion?: import('../../..').Prettify<PaginationPartMotion>;
16
21
  } & RefAttributes<HTMLButtonElement>>;
17
22
  export declare const PaginationEllipsis: ForwardRefExoticComponent<PaginationEllipsisProps & RefAttributes<HTMLSpanElement>>;
18
23
  export declare function PaginationPages(): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import { ButtonHTMLAttributes, HTMLAttributes, LiHTMLAttributes, OlHTMLAttributes, ReactNode } from 'react';
2
2
  import { IconBaseProps } from 'react-icons';
3
3
  import { Prettify } from '../../../utils/prettify';
4
+ import { MotionValue } from '../utils/slotMotion';
4
5
  export type PaginationClassNames = {
5
6
  /** Root `<nav>`. */
6
7
  root?: string;
@@ -33,6 +34,15 @@ export type PaginationClassNames = {
33
34
  /** `Pagination.NextIcon`. */
34
35
  nextIcon?: string;
35
36
  };
37
+ export type PaginationPartMotion = {
38
+ hoverIn?: MotionValue;
39
+ hoverOut?: MotionValue;
40
+ pressIn?: MotionValue;
41
+ pressOut?: MotionValue;
42
+ };
43
+ export type PaginationMotion = {
44
+ control?: PaginationPartMotion;
45
+ };
36
46
  export type PaginationContextValue = {
37
47
  page?: number;
38
48
  totalPages?: number;
@@ -47,6 +57,7 @@ export type PaginationProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
47
57
  onPageChange?: (page: number) => void;
48
58
  siblingCount?: number;
49
59
  classNames?: Prettify<PaginationClassNames>;
60
+ motion?: Prettify<PaginationMotion>;
50
61
  };
51
62
  export type PaginationClassNamesProviderProps = {
52
63
  classNames?: Prettify<PaginationClassNames>;
@@ -56,15 +67,19 @@ export type UsePaginationRootStateProps = Omit<PaginationProps, "className" | "c
56
67
  export type PaginationSummaryProps = HTMLAttributes<HTMLDivElement>;
57
68
  export type PaginationContentProps = OlHTMLAttributes<HTMLOListElement>;
58
69
  export type PaginationItemProps = LiHTMLAttributes<HTMLLIElement>;
59
- export type PaginationNavButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;
70
+ export type PaginationNavButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
71
+ motion?: Prettify<PaginationPartMotion>;
72
+ };
60
73
  export type PaginationPageProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
61
74
  page: number;
62
75
  active?: boolean;
63
76
  children?: ReactNode;
77
+ motion?: Prettify<PaginationPartMotion>;
64
78
  };
65
79
  export type PaginationEllipsisProps = HTMLAttributes<HTMLSpanElement>;
66
80
  export type PaginationPagesProps = Record<string, never>;
67
81
  export type PaginationInteractiveProps = ButtonHTMLAttributes<HTMLButtonElement> & {
68
82
  children: ReactNode;
83
+ motion?: Prettify<PaginationPartMotion>;
69
84
  };
70
85
  export type PaginationIconProps = IconBaseProps;
@@ -1,7 +1,7 @@
1
1
  import { PopoverProps } from './popoverTypes';
2
- export type { PopoverArrowProps, PopoverBodyProps, PopoverClassNames, PopoverContentGap, PopoverContentProps, PopoverHeaderProps, PopoverDescriptionProps, PopoverTitleProps, PopoverProps, PopoverSide, PopoverSize, PopoverTriggerProps, PopoverVariant, } from './popoverTypes';
2
+ export type { PopoverArrowProps, PopoverBodyProps, PopoverClassNames, PopoverContentGap, PopoverContentProps, PopoverHeaderProps, PopoverDescriptionProps, PopoverTitleProps, PopoverProps, PopoverSide, PopoverSize, PopoverTriggerProps, PopoverVariant, PopoverMotion, PopoverLifecycleMotion, PopoverPartMotion, } from './popoverTypes';
3
3
  export { PopoverArrow, PopoverBody, PopoverContent, PopoverHeader, PopoverDescription, PopoverTitle, PopoverTrigger, } from './popoverParts';
4
- export declare function PopoverRoot({ children, classNames, size, variant, side, open, defaultOpen, onOpenChange, anchorRef, shouldDismiss, portalContainer, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function PopoverRoot({ children, classNames, size, variant, side, open, defaultOpen, onOpenChange, anchorRef, shouldDismiss, portalContainer, motion, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace PopoverRoot {
6
6
  var displayName: string;
7
7
  }