burne-ui 1.8.4 → 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 (415) 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/dropdownItemParts.d.ts +1 -0
  140. package/dist/components/core/Dropdown/dropdownParts.d.ts +1 -0
  141. package/dist/components/core/Dropdown/dropdownSubParts.d.ts +1 -0
  142. package/dist/components/core/Dropdown/dropdownTypes.d.ts +32 -0
  143. package/dist/components/core/Dropdown/index.d.ts +8 -2
  144. package/dist/components/core/Dropdown/useDropdownItemState.d.ts +2 -1
  145. package/dist/components/core/Expandable/Expandable.d.ts +2 -1
  146. package/dist/components/core/Expandable/expandableAnimations.d.ts +9 -5
  147. package/dist/components/core/Expandable/expandableContext.d.ts +7 -0
  148. package/dist/components/core/Expandable/expandableParts.d.ts +7 -3
  149. package/dist/components/core/Expandable/expandableTypes.d.ts +33 -2
  150. package/dist/components/core/Expandable/index.d.ts +6 -2
  151. package/dist/components/core/Field/Field.d.ts +2 -1
  152. package/dist/components/core/Field/fieldAnimations.d.ts +38 -0
  153. package/dist/components/core/Field/fieldContext.d.ts +13 -0
  154. package/dist/components/core/Field/fieldParts.d.ts +9 -5
  155. package/dist/components/core/Field/fieldTypes.d.ts +37 -0
  156. package/dist/components/core/Field/index.d.ts +9 -1
  157. package/dist/components/core/Input/Input.d.ts +2 -2
  158. package/dist/components/core/Input/index.d.ts +2 -1
  159. package/dist/components/core/Input/inputAffixParts.d.ts +4 -0
  160. package/dist/components/core/Input/inputAnimations.d.ts +23 -12
  161. package/dist/components/core/Input/inputContext.d.ts +7 -0
  162. package/dist/components/core/Input/inputControlParts.d.ts +2 -0
  163. package/dist/components/core/Input/inputTypes.d.ts +37 -3
  164. package/dist/components/core/Kbd/Kbd.d.ts +5 -2
  165. package/dist/components/core/Kbd/index.d.ts +2 -1
  166. package/dist/components/core/Kbd/kbdAnimations.d.ts +8 -5
  167. package/dist/components/core/Kbd/kbdContext.d.ts +7 -0
  168. package/dist/components/core/Kbd/kbdTextPart.d.ts +2 -7
  169. package/dist/components/core/Kbd/kbdTypes.d.ts +19 -0
  170. package/dist/components/core/Label/Label.d.ts +3 -3
  171. package/dist/components/core/Label/index.d.ts +1 -1
  172. package/dist/components/core/Label/labelAnimations.d.ts +20 -0
  173. package/dist/components/core/Label/labelContext.d.ts +7 -0
  174. package/dist/components/core/Label/labelTypes.d.ts +18 -0
  175. package/dist/components/core/Link/Link.d.ts +2 -2
  176. package/dist/components/core/Link/index.d.ts +1 -1
  177. package/dist/components/core/Link/linkAnchorBodyPart.d.ts +1 -1
  178. package/dist/components/core/Link/linkAnimations.d.ts +13 -6
  179. package/dist/components/core/Link/linkContext.d.ts +7 -0
  180. package/dist/components/core/Link/linkTypes.d.ts +23 -1
  181. package/dist/components/core/ListBox/ListBox.d.ts +2 -2
  182. package/dist/components/core/ListBox/index.d.ts +7 -2
  183. package/dist/components/core/ListBox/listBoxAPI.d.ts +2 -3
  184. package/dist/components/core/ListBox/listBoxAnimations.d.ts +4 -7
  185. package/dist/components/core/ListBox/listBoxContext.d.ts +7 -0
  186. package/dist/components/core/ListBox/listBoxParts.d.ts +4 -2
  187. package/dist/components/core/ListBox/listBoxTypes.d.ts +23 -11
  188. package/dist/components/core/ListBox/useListBoxItemState.d.ts +2 -1
  189. package/dist/components/core/ListBox/useListBoxRootState.d.ts +1 -1
  190. package/dist/components/core/Loading/Loading.d.ts +2 -1
  191. package/dist/components/core/Loading/index.d.ts +1 -1
  192. package/dist/components/core/Loading/loadingAnimations.d.ts +2 -1
  193. package/dist/components/core/Loading/loadingContext.d.ts +7 -0
  194. package/dist/components/core/Loading/loadingTypes.d.ts +19 -0
  195. package/dist/components/core/Meter/Meter.d.ts +2 -2
  196. package/dist/components/core/Meter/index.d.ts +2 -0
  197. package/dist/components/core/Meter/meterAnimations.d.ts +4 -1
  198. package/dist/components/core/Meter/meterContext.d.ts +7 -0
  199. package/dist/components/core/Meter/meterParts.d.ts +3 -2
  200. package/dist/components/core/Meter/meterTypes.d.ts +28 -2
  201. package/dist/components/core/Pagination/Pagination.d.ts +2 -1
  202. package/dist/components/core/Pagination/index.d.ts +9 -3
  203. package/dist/components/core/Pagination/paginationAnimations.d.ts +2 -0
  204. package/dist/components/core/Pagination/paginationContext.d.ts +7 -0
  205. package/dist/components/core/Pagination/paginationParts.d.ts +8 -3
  206. package/dist/components/core/Pagination/paginationTypes.d.ts +16 -1
  207. package/dist/components/core/Popover/Popover.d.ts +2 -2
  208. package/dist/components/core/Popover/index.d.ts +11 -4
  209. package/dist/components/core/Popover/popoverAnimations.d.ts +7 -2
  210. package/dist/components/core/Popover/popoverContext.d.ts +7 -0
  211. package/dist/components/core/Popover/popoverParts.d.ts +11 -4
  212. package/dist/components/core/Popover/popoverStyles.d.ts +1 -1
  213. package/dist/components/core/Popover/popoverTypes.d.ts +31 -4
  214. package/dist/components/core/ProgressBar/ProgressBar.d.ts +2 -2
  215. package/dist/components/core/ProgressBar/index.d.ts +2 -0
  216. package/dist/components/core/ProgressBar/progressBarAnimations.d.ts +4 -1
  217. package/dist/components/core/ProgressBar/progressBarContext.d.ts +7 -0
  218. package/dist/components/core/ProgressBar/progressBarParts.d.ts +3 -2
  219. package/dist/components/core/ProgressBar/progressBarTypes.d.ts +27 -2
  220. package/dist/components/core/Radio/Radio.d.ts +3 -2
  221. package/dist/components/core/Radio/index.d.ts +7 -3
  222. package/dist/components/core/Radio/radioAnimations.d.ts +12 -1
  223. package/dist/components/core/Radio/radioContext.d.ts +3 -1
  224. package/dist/components/core/Radio/radioParts.d.ts +1 -1
  225. package/dist/components/core/Radio/radioTypes.d.ts +18 -1
  226. package/dist/components/core/SearchInput/SearchInput.d.ts +5 -2
  227. package/dist/components/core/SearchInput/index.d.ts +1 -1
  228. package/dist/components/core/SearchInput/searchInputAnimations.d.ts +40 -5
  229. package/dist/components/core/SearchInput/searchInputContext.d.ts +7 -0
  230. package/dist/components/core/SearchInput/searchInputParts.d.ts +8 -0
  231. package/dist/components/core/SearchInput/searchInputStyles.d.ts +2 -2
  232. package/dist/components/core/SearchInput/searchInputTypes.d.ts +28 -2
  233. package/dist/components/core/SearchInput/useSearchInputRootState.d.ts +7 -11
  234. package/dist/components/core/Select/Select.d.ts +2 -2
  235. package/dist/components/core/Select/index.d.ts +6 -2
  236. package/dist/components/core/Select/selectAnimations.d.ts +48 -0
  237. package/dist/components/core/Select/selectContext.d.ts +7 -0
  238. package/dist/components/core/Select/selectTriggerParts.d.ts +5 -2
  239. package/dist/components/core/Select/selectTypes.d.ts +35 -2
  240. package/dist/components/core/SelectionIndicator/SelectionIndicator.d.ts +1 -1
  241. package/dist/components/core/SelectionIndicator/index.d.ts +6 -3
  242. package/dist/components/core/SelectionIndicator/selectionIndicatorAnimations.d.ts +9 -0
  243. package/dist/components/core/SelectionIndicator/selectionIndicatorContext.d.ts +7 -0
  244. package/dist/components/core/SelectionIndicator/selectionIndicatorParts.d.ts +4 -2
  245. package/dist/components/core/SelectionIndicator/selectionIndicatorTypes.d.ts +15 -1
  246. package/dist/components/core/SelectionThumb/SelectionThumb.d.ts +3 -3
  247. package/dist/components/core/SelectionThumb/index.d.ts +2 -2
  248. package/dist/components/core/SelectionThumb/selectionThumbAnimations.d.ts +2 -0
  249. package/dist/components/core/SelectionThumb/selectionThumbContext.d.ts +7 -0
  250. package/dist/components/core/SelectionThumb/selectionThumbTypes.d.ts +21 -2
  251. package/dist/components/core/Separator/Separator.d.ts +2 -1
  252. package/dist/components/core/Separator/index.d.ts +1 -1
  253. package/dist/components/core/Separator/separatorAnimations.d.ts +20 -0
  254. package/dist/components/core/Separator/separatorContext.d.ts +7 -0
  255. package/dist/components/core/Separator/separatorTypes.d.ts +17 -0
  256. package/dist/components/core/Skeleton/Skeleton.d.ts +2 -1
  257. package/dist/components/core/Skeleton/index.d.ts +6 -1
  258. package/dist/components/core/Skeleton/skeletonAnimations.d.ts +19 -0
  259. package/dist/components/core/Skeleton/skeletonContext.d.ts +7 -0
  260. package/dist/components/core/Skeleton/skeletonParts.d.ts +5 -1
  261. package/dist/components/core/Skeleton/skeletonTypes.d.ts +22 -0
  262. package/dist/components/core/Slider/Slider.d.ts +2 -2
  263. package/dist/components/core/Slider/index.d.ts +2 -1
  264. package/dist/components/core/Slider/sliderAnimations.d.ts +7 -7
  265. package/dist/components/core/Slider/sliderContext.d.ts +7 -0
  266. package/dist/components/core/Slider/sliderScaleField.d.ts +8 -2
  267. package/dist/components/core/Slider/sliderThumbParts.d.ts +2 -1
  268. package/dist/components/core/Slider/sliderTrackParts.d.ts +1 -0
  269. package/dist/components/core/Slider/sliderTypes.d.ts +32 -2
  270. package/dist/components/core/Slider/useSliderTrackState.d.ts +18 -16
  271. package/dist/components/core/Surface/Surface.d.ts +2 -1
  272. package/dist/components/core/Surface/index.d.ts +1 -1
  273. package/dist/components/core/Surface/surfaceAnimations.d.ts +20 -0
  274. package/dist/components/core/Surface/surfaceContext.d.ts +7 -0
  275. package/dist/components/core/Surface/surfaceTypes.d.ts +17 -0
  276. package/dist/components/core/Switch/Switch.d.ts +3 -2
  277. package/dist/components/core/Switch/index.d.ts +4 -3
  278. package/dist/components/core/Switch/switchAnimations.d.ts +3 -2
  279. package/dist/components/core/Switch/switchContext.d.ts +7 -0
  280. package/dist/components/core/Switch/switchControlParts.d.ts +1 -1
  281. package/dist/components/core/Switch/switchTrackParts.d.ts +4 -4
  282. package/dist/components/core/Switch/switchTypes.d.ts +20 -2
  283. package/dist/components/core/Switch/useSwitchRootState.d.ts +12 -12
  284. package/dist/components/core/Table/Table.d.ts +2 -1
  285. package/dist/components/core/Table/index.d.ts +15 -4
  286. package/dist/components/core/Table/tableAnimations.d.ts +22 -2
  287. package/dist/components/core/Table/tableContext.d.ts +7 -0
  288. package/dist/components/core/Table/tableParts.d.ts +14 -4
  289. package/dist/components/core/Table/tableTypes.d.ts +40 -3
  290. package/dist/components/core/Tabs/Tabs.d.ts +2 -1
  291. package/dist/components/core/Tabs/index.d.ts +7 -2
  292. package/dist/components/core/Tabs/tabsAnimations.d.ts +18 -4
  293. package/dist/components/core/Tabs/tabsContext.d.ts +7 -0
  294. package/dist/components/core/Tabs/tabsPanelPart.d.ts +1 -0
  295. package/dist/components/core/Tabs/tabsParts.d.ts +3 -2
  296. package/dist/components/core/Tabs/tabsTabPart.d.ts +1 -0
  297. package/dist/components/core/Tabs/tabsTypes.d.ts +32 -1
  298. package/dist/components/core/Text/Text.d.ts +4 -2
  299. package/dist/components/core/Text/index.d.ts +1 -1
  300. package/dist/components/core/Text/textAnimations.d.ts +21 -0
  301. package/dist/components/core/Text/textContext.d.ts +7 -0
  302. package/dist/components/core/Text/textTypes.d.ts +18 -0
  303. package/dist/components/core/TextArea/TextArea.d.ts +2 -2
  304. package/dist/components/core/TextArea/index.d.ts +2 -1
  305. package/dist/components/core/TextArea/textAreaAnimations.d.ts +20 -10
  306. package/dist/components/core/TextArea/textAreaContext.d.ts +7 -0
  307. package/dist/components/core/TextArea/textAreaParts.d.ts +2 -1
  308. package/dist/components/core/TextArea/textAreaStyles.d.ts +8 -5
  309. package/dist/components/core/TextArea/textAreaTypes.d.ts +30 -2
  310. package/dist/components/core/TimeField/TimeField.d.ts +2 -2
  311. package/dist/components/core/TimeField/index.d.ts +2 -1
  312. package/dist/components/core/TimeField/timeFieldAnimations.d.ts +22 -9
  313. package/dist/components/core/TimeField/timeFieldContext.d.ts +7 -0
  314. package/dist/components/core/TimeField/timeFieldParts.d.ts +4 -3
  315. package/dist/components/core/TimeField/timeFieldTypes.d.ts +31 -1
  316. package/dist/components/core/TimeField/useTimeFieldControlState.d.ts +2 -14
  317. package/dist/components/core/Toast/Toast.d.ts +2 -1
  318. package/dist/components/core/Toast/index.d.ts +15 -5
  319. package/dist/components/core/Toast/toastAnimations.d.ts +16 -3
  320. package/dist/components/core/Toast/toastContext.d.ts +7 -0
  321. package/dist/components/core/Toast/toastParts.d.ts +14 -5
  322. package/dist/components/core/Toast/toastProvider.d.ts +1 -1
  323. package/dist/components/core/Toast/toastTypes.d.ts +37 -4
  324. package/dist/components/core/ToggleButton/ToggleButton.d.ts +4 -2
  325. package/dist/components/core/ToggleButton/index.d.ts +12 -5
  326. package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +10 -6
  327. package/dist/components/core/ToggleButton/toggleButtonContext.d.ts +7 -0
  328. package/dist/components/core/ToggleButton/toggleButtonParts.d.ts +13 -7
  329. package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +47 -4
  330. package/dist/components/core/ToggleButton/useToggleButtonFillAnimation.d.ts +4 -1
  331. package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +2 -1
  332. package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
  333. package/dist/components/core/Tooltip/index.d.ts +2 -1
  334. package/dist/components/core/Tooltip/tooltipAnimations.d.ts +5 -1
  335. package/dist/components/core/Tooltip/tooltipContext.d.ts +7 -0
  336. package/dist/components/core/Tooltip/tooltipParts.d.ts +1 -0
  337. package/dist/components/core/Tooltip/tooltipStyles.d.ts +1 -1
  338. package/dist/components/core/Tooltip/tooltipTypes.d.ts +14 -0
  339. package/dist/components/core/utils/bindAbortSignal.d.ts +2 -0
  340. package/dist/components/core/utils/drawerSlide.d.ts +7 -0
  341. package/dist/components/core/utils/focusElement.d.ts +26 -12
  342. package/dist/components/core/utils/focusElement.test.d.ts +1 -0
  343. package/dist/components/core/utils/glossInteractiveMotion.d.ts +6 -2
  344. package/dist/components/core/utils/gsapMotion.d.ts +42 -11
  345. package/dist/components/core/utils/gsapMotion.geometry.test.d.ts +1 -0
  346. package/dist/components/core/utils/hoverInteractiveLift.abort.test.d.ts +1 -0
  347. package/dist/components/core/utils/hoverInteractiveLift.d.ts +8 -4
  348. package/dist/components/core/utils/modalSurfaceMotion.d.ts +17 -3
  349. package/dist/components/core/utils/motionConfig.d.ts +85 -6
  350. package/dist/components/core/utils/motionConfig.test.d.ts +1 -0
  351. package/dist/components/core/utils/motionConfigContext.d.ts +23 -0
  352. package/dist/components/core/utils/motionConfigValidation.d.ts +33 -0
  353. package/dist/components/core/utils/optionListItemParts.d.ts +7 -4
  354. package/dist/components/core/utils/optionListItemStyles.d.ts +4 -1
  355. package/dist/components/core/utils/runOpenAfterSqueeze.d.ts +4 -1
  356. package/dist/components/core/utils/searchInputExpandMotion.d.ts +22 -0
  357. package/dist/components/core/utils/searchInputExpandMotion.test.d.ts +1 -0
  358. package/dist/components/core/utils/slotMotion/createMotionRegistry.d.ts +27 -0
  359. package/dist/components/core/utils/slotMotion/createMotionScope.d.ts +63 -0
  360. package/dist/components/core/utils/slotMotion/createMotionScope.test.d.ts +1 -0
  361. package/dist/components/core/utils/slotMotion/enterHidesFirstPaint.d.ts +14 -0
  362. package/dist/components/core/utils/slotMotion/enterHidesFirstPaint.test.d.ts +1 -0
  363. package/dist/components/core/utils/slotMotion/index.d.ts +19 -0
  364. package/dist/components/core/utils/slotMotion/modalSlotMotionHost.d.ts +15 -0
  365. package/dist/components/core/utils/slotMotion/motionRecipeRegistry.d.ts +27 -0
  366. package/dist/components/core/utils/slotMotion/motionRecipeRegistry.test.d.ts +1 -0
  367. package/dist/components/core/utils/slotMotion/motionValueApi.test.d.ts +1 -0
  368. package/dist/components/core/utils/slotMotion/motionVarsApi.test.d.ts +1 -0
  369. package/dist/components/core/utils/slotMotion/recipes/chevronRotate.d.ts +2 -0
  370. package/dist/components/core/utils/slotMotion/recipes/collapsibleHeight.d.ts +3 -0
  371. package/dist/components/core/utils/slotMotion/recipes/contentFade.d.ts +4 -0
  372. package/dist/components/core/utils/slotMotion/recipes/drawerSlide.d.ts +5 -0
  373. package/dist/components/core/utils/slotMotion/recipes/fileRowExit.d.ts +4 -0
  374. package/dist/components/core/utils/slotMotion/recipes/hoverLiftFirstLevel.d.ts +2 -0
  375. package/dist/components/core/utils/slotMotion/recipes/hoverLiftGloss.d.ts +2 -0
  376. package/dist/components/core/utils/slotMotion/recipes/hoverLiftSecondLevel.d.ts +2 -0
  377. package/dist/components/core/utils/slotMotion/recipes/index.d.ts +2 -0
  378. package/dist/components/core/utils/slotMotion/recipes/modalSurface.d.ts +7 -0
  379. package/dist/components/core/utils/slotMotion/recipes/portalSurface.d.ts +3 -0
  380. package/dist/components/core/utils/slotMotion/recipes/pressSqueeze.d.ts +4 -0
  381. package/dist/components/core/utils/slotMotion/recipes/searchExpand.d.ts +5 -0
  382. package/dist/components/core/utils/slotMotion/recipes/selectionFill.d.ts +2 -0
  383. package/dist/components/core/utils/slotMotion/recipes/selectionMark.d.ts +2 -0
  384. package/dist/components/core/utils/slotMotion/recipes/switchThumb.d.ts +8 -0
  385. package/dist/components/core/utils/slotMotion/recipes/toastSurface.d.ts +4 -0
  386. package/dist/components/core/utils/slotMotion/resolveMotionValue.d.ts +8 -0
  387. package/dist/components/core/utils/slotMotion/resolveMotionValue.test.d.ts +1 -0
  388. package/dist/components/core/utils/slotMotion/runMotionPhase.d.ts +22 -0
  389. package/dist/components/core/utils/slotMotion/runMotionPhase.test.d.ts +1 -0
  390. package/dist/components/core/utils/slotMotion/scheduleNestedEnterBroadcast.d.ts +16 -0
  391. package/dist/components/core/utils/slotMotion/scheduleNestedEnterBroadcast.test.d.ts +1 -0
  392. package/dist/components/core/utils/slotMotion/slotMotionTypes.d.ts +165 -0
  393. package/dist/components/core/utils/slotMotion/useMotionPart.d.ts +39 -0
  394. package/dist/components/core/utils/slotMotion/useMotionPointerPhases.d.ts +12 -0
  395. package/dist/components/core/utils/slotMotion/useSlotLifecycle.d.ts +25 -0
  396. package/dist/components/core/utils/slotMotion/useSlotLifecycle.test.d.ts +1 -0
  397. package/dist/components/core/utils/slotMotion/waitForLeaveGeneration.d.ts +14 -0
  398. package/dist/components/core/utils/useChevronRotation.d.ts +9 -0
  399. package/dist/components/core/utils/useCollapsibleHeight.d.ts +10 -1
  400. package/dist/components/core/utils/useCollapsibleHeight.test.d.ts +1 -0
  401. package/dist/components/core/utils/useModalMotion.d.ts +12 -1
  402. package/dist/index.cjs +1 -1
  403. package/dist/index.d.ts +39 -36
  404. package/dist/index.js +23253 -16825
  405. package/dist/internal.cjs +1 -1
  406. package/dist/internal.d.ts +4 -3
  407. package/dist/internal.js +83 -78
  408. package/dist/theme/index.d.ts +1 -1
  409. package/dist/theme/themeDefaults.d.ts +7 -0
  410. package/dist/{themeRuntimeContext-CFUwV5z2.js → themeRuntimeContext-DELPwtpL.js} +1764 -1508
  411. package/dist/themeRuntimeContext-DknZO7q3.cjs +14 -0
  412. package/dist/ui.css +49 -51
  413. package/package.json +3 -2
  414. package/dist/components/core/SelectionIndicator/useSelectionIndicatorAnimation.d.ts +0 -2
  415. package/dist/themeRuntimeContext-POhnqI3h.cjs +0 -14
@@ -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
  }
@@ -12,12 +12,19 @@ export declare const Popover: typeof PopoverRoot & {
12
12
  unstyled?: boolean;
13
13
  contentRole?: "dialog" | undefined;
14
14
  portalContainer?: HTMLElement | null;
15
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverMotion>;
15
16
  } & import('react').RefAttributes<HTMLDivElement>>;
16
17
  Header: import('react').ForwardRefExoticComponent<import('./popoverTypes').PopoverHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
17
- Title: import('react').ForwardRefExoticComponent<import('./popoverTypes').PopoverTitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
18
- Description: import('react').ForwardRefExoticComponent<import('./popoverTypes').PopoverDescriptionProps & import('react').RefAttributes<HTMLElement>>;
19
- Body: import('react').ForwardRefExoticComponent<import('./popoverTypes').PopoverBodyProps & import('react').RefAttributes<HTMLDivElement>>;
18
+ Title: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLHeadingElement> & {
19
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
20
+ } & import('react').RefAttributes<HTMLHeadingElement>>;
21
+ Description: import('react').ForwardRefExoticComponent<Omit<import('../Field').FieldHintProps, "id" | "as"> & {
22
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
23
+ } & import('react').RefAttributes<HTMLElement>>;
24
+ Body: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
25
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverLifecycleMotion>;
26
+ } & import('react').RefAttributes<HTMLDivElement>>;
20
27
  Arrow: import('react').ForwardRefExoticComponent<import('./popoverTypes').PopoverArrowProps & import('react').RefAttributes<HTMLSpanElement>>;
21
28
  };
22
- export type { PopoverProps, PopoverTriggerProps, PopoverContentProps, PopoverHeaderProps, PopoverTitleProps, PopoverDescriptionProps, PopoverBodyProps, PopoverArrowProps, PopoverSide, PopoverSize, PopoverVariant, PopoverContentGap, PopoverClassNames, } from './Popover';
29
+ export type { PopoverProps, PopoverTriggerProps, PopoverContentProps, PopoverHeaderProps, PopoverTitleProps, PopoverDescriptionProps, PopoverBodyProps, PopoverArrowProps, PopoverSide, PopoverSize, PopoverVariant, PopoverContentGap, PopoverClassNames, PopoverMotion, PopoverLifecycleMotion, PopoverPartMotion, } from './Popover';
23
30
  export type { FloatingAlign, FloatingAlign as PopoverAlign } from '../Tooltip/tooltipPosition';
@@ -1,6 +1,11 @@
1
1
  import { FloatingAlign } from '../Tooltip/tooltipPosition';
2
- import { UsePopoverContentLifecycleProps } from './popoverTypes';
3
- export declare function usePopoverContentLifecycle({ open, side, offset, align, matchAnchorWidth, showArrow, isGloss, forwardedRef, contentRef, triggerRef, anchorRef, portalContainer, }: UsePopoverContentLifecycleProps): {
2
+ import { MotionScopeValue } from '../utils/slotMotion';
3
+ import { PopoverMotion, UsePopoverContentLifecycleProps } from './popoverTypes';
4
+ export declare const POPOVER_MOTION_HOST_SLOTS: readonly ["content"];
5
+ export declare const POPOVER_MOTION_DEFAULTS: PopoverMotion;
6
+ export declare function usePopoverContentLifecycle({ open, side, offset, align, matchAnchorWidth, showArrow, isGloss, forwardedRef, contentRef, triggerRef, anchorRef, portalContainer, motionScope, }: UsePopoverContentLifecycleProps & {
7
+ motionScope: MotionScopeValue;
8
+ }): {
4
9
  panelRef: import('react').RefObject<HTMLDivElement | null>;
5
10
  setPanelRef: (node: HTMLDivElement | null) => void;
6
11
  bindGlossPanelRef: (node: HTMLElement | null) => void;
@@ -19,3 +19,10 @@ export declare function PopoverContentChromeProvider({ unstyled, children, }: {
19
19
  export declare function usePopoverContentChrome(): {
20
20
  unstyled: boolean;
21
21
  };
22
+ /** Scope only. Defaults and host play live in `popoverAnimations.ts`. */
23
+ export declare const PopoverMotionProvider: ({ motion, defaults, params, children, }: {
24
+ motion?: import('../utils/slotMotion').MotionSlotMap;
25
+ defaults?: import('../utils/slotMotion').MotionSlotMap;
26
+ params?: import('../utils/slotMotion').MotionRecipeParams;
27
+ children: ReactNode;
28
+ }) => import("react/jsx-runtime").JSX.Element, usePopoverMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalPopoverMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,12 +1,18 @@
1
- import { PopoverArrowProps, PopoverBodyProps, PopoverHeaderProps, PopoverDescriptionProps, PopoverTitleProps } from './popoverTypes';
1
+ import { PopoverArrowProps, PopoverHeaderProps } from './popoverTypes';
2
2
  export declare const PopoverTrigger: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLButtonElement> & {
3
3
  asChild?: boolean;
4
4
  } & import('react').RefAttributes<HTMLButtonElement>>;
5
5
  export declare const PopoverArrow: import('react').ForwardRefExoticComponent<PopoverArrowProps & import('react').RefAttributes<HTMLSpanElement>>;
6
6
  export declare const PopoverHeader: import('react').ForwardRefExoticComponent<PopoverHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
7
- export declare const PopoverTitle: import('react').ForwardRefExoticComponent<PopoverTitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
8
- export declare const PopoverDescription: import('react').ForwardRefExoticComponent<PopoverDescriptionProps & import('react').RefAttributes<HTMLElement>>;
9
- export declare const PopoverBody: import('react').ForwardRefExoticComponent<PopoverBodyProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ export declare const PopoverTitle: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLHeadingElement> & {
8
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
9
+ } & import('react').RefAttributes<HTMLHeadingElement>>;
10
+ export declare const PopoverDescription: import('react').ForwardRefExoticComponent<Omit<import('../Field').FieldHintProps, "id" | "as"> & {
11
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverPartMotion>;
12
+ } & import('react').RefAttributes<HTMLElement>>;
13
+ export declare const PopoverBody: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
14
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverLifecycleMotion>;
15
+ } & import('react').RefAttributes<HTMLDivElement>>;
10
16
  export declare const PopoverContent: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
11
17
  showArrow?: boolean;
12
18
  offset?: number;
@@ -16,4 +22,5 @@ export declare const PopoverContent: import('react').ForwardRefExoticComponent<i
16
22
  unstyled?: boolean;
17
23
  contentRole?: "dialog" | undefined;
18
24
  portalContainer?: HTMLElement | null;
25
+ motion?: import('../../..').Prettify<import('./popoverTypes').PopoverMotion>;
19
26
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -11,7 +11,7 @@ export declare const POPOVER_CONTENT_CLASS = "pointer-events-auto z-popover w-ma
11
11
  export declare const POPOVER_PANEL_RELATIVE_CLASS = "relative overflow-visible";
12
12
  export declare const POPOVER_GLOSS_PANEL_CLASS = "gloss-panel gloss-deep relative z-[1] flex min-w-0 origin-center flex-col overflow-hidden text-foreground";
13
13
  export declare const POPOVER_GLOSS_CONTENT_CLASS = "gloss-content flex min-w-0 flex-col";
14
- export declare const POPOVER_DEFAULT_PANEL_CLASS = "relative z-[1] flex min-w-0 flex-col overflow-hidden border-token bg-surface text-foreground animate-shadow";
14
+ export declare const POPOVER_DEFAULT_PANEL_CLASS = "relative z-[1] flex min-w-0 flex-col overflow-hidden border-token bg-surface text-foreground shadow-token-large";
15
15
  export declare const POPOVER_ARROW_BASE_CLASS = "pointer-events-none absolute z-0 size-2 rotate-45";
16
16
  export declare const POPOVER_ARROW_GLOSS_CLASS = "border-0 bg-[var(--color-surface)]";
17
17
  export declare const POPOVER_ARROW_DEFAULT_CLASS = "border-token bg-surface";
@@ -1,6 +1,7 @@
1
1
  import { FieldHintProps } from '../Field';
2
2
  import { FloatingAlign, TooltipSide } from '../Tooltip/tooltipPosition';
3
3
  import { PanelSize } from '../utils/sizeLayout';
4
+ import { MotionValue } from '../utils/slotMotion';
4
5
  import { HTMLAttributes, ReactNode, RefObject } from 'react';
5
6
  import { Prettify } from '../../../utils/prettify';
6
7
  export type PopoverSide = TooltipSide;
@@ -22,6 +23,20 @@ export type PopoverClassNames = {
22
23
  hint?: string;
23
24
  body?: string;
24
25
  };
26
+ export type PopoverLifecycleMotion = {
27
+ enter?: MotionValue;
28
+ leave?: MotionValue;
29
+ };
30
+ export type PopoverPartMotion = PopoverLifecycleMotion & {
31
+ hoverIn?: MotionValue;
32
+ hoverOut?: MotionValue;
33
+ };
34
+ export type PopoverMotion = {
35
+ content?: PopoverLifecycleMotion;
36
+ title?: PopoverPartMotion;
37
+ description?: PopoverPartMotion;
38
+ body?: PopoverLifecycleMotion;
39
+ };
25
40
  export type PopoverContextValue = {
26
41
  open: boolean;
27
42
  setOpen: (open: boolean) => void;
@@ -52,21 +67,32 @@ export type PopoverProps = {
52
67
  /** DOM node for the portal. Default: `document.body`. */
53
68
  portalContainer?: HTMLElement | null;
54
69
  classNames?: Prettify<PopoverClassNames>;
70
+ /**
71
+ * Per-slot motion. Root has no portal DOM — the host is `Popover.Content`.
72
+ * Default: `content.enter/leave` → `portalSurfaceEnter` / `portalSurfaceLeave`.
73
+ */
74
+ motion?: Prettify<PopoverMotion>;
55
75
  };
56
76
  export type PopoverClassNamesProviderProps = {
57
77
  classNames?: Prettify<PopoverClassNames>;
58
78
  children: ReactNode;
59
79
  };
60
- export type UsePopoverRootStateProps = Omit<PopoverProps, "classNames">;
80
+ export type UsePopoverRootStateProps = Omit<PopoverProps, "classNames" | "motion">;
61
81
  export type PopoverTriggerProps = HTMLAttributes<HTMLButtonElement> & {
62
82
  /** Merge props onto the single child (Button, etc.) instead of rendering a `<button>` wrapper. */
63
83
  asChild?: boolean;
64
84
  };
65
85
  export type PopoverArrowProps = HTMLAttributes<HTMLSpanElement>;
66
86
  export type PopoverHeaderProps = HTMLAttributes<HTMLDivElement>;
67
- export type PopoverTitleProps = HTMLAttributes<HTMLHeadingElement>;
68
- export type PopoverDescriptionProps = Omit<FieldHintProps, "id" | "as">;
69
- export type PopoverBodyProps = HTMLAttributes<HTMLDivElement>;
87
+ export type PopoverTitleProps = HTMLAttributes<HTMLHeadingElement> & {
88
+ motion?: Prettify<PopoverPartMotion>;
89
+ };
90
+ export type PopoverDescriptionProps = Omit<FieldHintProps, "id" | "as"> & {
91
+ motion?: Prettify<PopoverPartMotion>;
92
+ };
93
+ export type PopoverBodyProps = HTMLAttributes<HTMLDivElement> & {
94
+ motion?: Prettify<PopoverLifecycleMotion>;
95
+ };
70
96
  export type PopoverContentProps = HTMLAttributes<HTMLDivElement> & {
71
97
  showArrow?: boolean;
72
98
  offset?: number;
@@ -77,6 +103,7 @@ export type PopoverContentProps = HTMLAttributes<HTMLDivElement> & {
77
103
  contentRole?: "dialog" | undefined;
78
104
  /** Overrides Root `portalContainer`. Default: `document.body`. */
79
105
  portalContainer?: HTMLElement | null;
106
+ motion?: Prettify<PopoverMotion>;
80
107
  };
81
108
  export type UsePopoverContentLifecycleProps = {
82
109
  open: boolean;
@@ -1,8 +1,8 @@
1
1
  import { ProgressBarProps } from './progressBarTypes';
2
- export type { ProgressBarClassNames, ProgressBarErrorProps, ProgressBarHeaderProps, ProgressBarHintProps, ProgressBarOrientation, ProgressBarProps, ProgressBarSize, ProgressBarTrackProps, ProgressBarValueProps, } from './progressBarTypes';
2
+ export type { ProgressBarClassNames, ProgressBarErrorProps, ProgressBarHeaderProps, ProgressBarHintProps, ProgressBarOrientation, ProgressBarProps, ProgressBarSize, ProgressBarTrackProps, ProgressBarValueProps, ProgressBarMotion, ProgressBarPartMotion, } from './progressBarTypes';
3
3
  export { ProgressBarError, ProgressBarHeader, ProgressBarHint, ProgressBarLabel, ProgressBarSimpleBody, ProgressBarTrack, ProgressBarValue, } from './progressBarParts';
4
4
  export { useProgressBarFieldContext, useOptionalProgressBarFieldContext, } from './progressBarContext';
5
- export declare function ProgressBarRoot({ children, className, classNames, id, orientation, label, showValue, valueText, hint, error, value, indeterminate, min, max, size, thickness, color, formatValue, ...divRest }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ProgressBarRoot({ children, className, classNames, id, orientation, label, showValue, valueText, hint, error, value, indeterminate, min, max, size, thickness, color, formatValue, motion, ...divRest }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
6
6
  export declare namespace ProgressBarRoot {
7
7
  var displayName: string;
8
8
  }
@@ -16,9 +16,11 @@ export declare const ProgressBar: typeof ProgressBarRoot & {
16
16
  formatValue?: (value: number) => string;
17
17
  orientation?: import('./progressBarTypes').ProgressBarOrientation;
18
18
  className?: string;
19
+ motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
19
20
  } & import('react').RefAttributes<HTMLDivElement>>;
20
21
  };
21
22
  export type { ProgressBarTrackProps, ProgressBarSize, ProgressBarOrientation, ProgressBarClassNames, } from './ProgressBar';
23
+ export type { ProgressBarMotion, ProgressBarPartMotion, } from './progressBarTypes';
22
24
  export type { ProgressBarProps, ProgressBarHeaderProps, ProgressBarValueProps, ProgressBarHintProps, ProgressBarErrorProps, } from './ProgressBar';
23
25
  export { useProgressBarFieldContext, useOptionalProgressBarFieldContext, } from './ProgressBar';
24
26
  export type { ProgressBarDisplayState, ProgressBarFieldContextValue, } from './progressBarTypes';
@@ -1,4 +1,7 @@
1
- import { UseProgressBarFillAnimationProps } from './progressBarTypes';
1
+ import { MotionScopeValue } from '../utils/slotMotion';
2
+ import { ProgressBarMotion, UseProgressBarFillAnimationProps } from './progressBarTypes';
3
+ export declare function resolveProgressBarMotionDefaults(): ProgressBarMotion;
4
+ export declare function useProgressBarTrackSlotMotion(scope: MotionScopeValue | null, identity: string): void;
2
5
  export declare function useProgressBarFillAnimation({ indeterminate, percent, isHorizontal, }: UseProgressBarFillAnimationProps): {
3
6
  fillRef: import('react').RefObject<HTMLSpanElement | null>;
4
7
  reduceMotion: boolean;
@@ -8,4 +8,11 @@ export declare function ProgressBarClassNamesProvider({ classNames, children, }:
8
8
  export declare function useProgressBarFieldContext(): ProgressBarFieldContextValue;
9
9
  export declare function useOptionalProgressBarFieldContext(): ProgressBarFieldContextValue | null;
10
10
  export declare function useProgressBarClassNames(): ProgressBarClassNames;
11
+ /** Scope only. Defaults and host play live in `progressBarAnimations.ts`. */
12
+ export declare const ProgressBarMotionProvider: ({ motion, defaults, params, children, }: {
13
+ motion?: import('../utils/slotMotion').MotionSlotMap;
14
+ defaults?: import('../utils/slotMotion').MotionSlotMap;
15
+ params?: import('../utils/slotMotion').MotionRecipeParams;
16
+ children: import('react').ReactNode;
17
+ }) => import("react/jsx-runtime").JSX.Element, useProgressBarMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalProgressBarMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
11
18
  export { ProgressBarFieldContext };
@@ -5,11 +5,11 @@ export declare function ProgressBarLabel({ className, classNames, ...rest }: Lab
5
5
  export declare namespace ProgressBarLabel {
6
6
  var displayName: string;
7
7
  }
8
- export declare function ProgressBarHeader({ children, className, ...rest }: ProgressBarHeaderProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ProgressBarHeader({ children, className, motion, ...rest }: ProgressBarHeaderProps): import("react/jsx-runtime").JSX.Element;
9
9
  export declare namespace ProgressBarHeader {
10
10
  var displayName: string;
11
11
  }
12
- export declare function ProgressBarValue({ children, className, ...rest }: ProgressBarValueProps): import("react/jsx-runtime").JSX.Element | null;
12
+ export declare function ProgressBarValue({ children, className, motion, ...rest }: ProgressBarValueProps): import("react/jsx-runtime").JSX.Element | null;
13
13
  export declare namespace ProgressBarValue {
14
14
  var displayName: string;
15
15
  }
@@ -32,4 +32,5 @@ export declare const ProgressBarTrack: import('react').ForwardRefExoticComponent
32
32
  formatValue?: (value: number) => string;
33
33
  orientation?: import('./progressBarTypes').ProgressBarOrientation;
34
34
  className?: string;
35
+ motion?: import('../../..').Prettify<import('./progressBarTypes').ProgressBarPartMotion>;
35
36
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,6 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
+ import { MotionValue } from '../utils/slotMotion';
3
4
  export type ProgressBarSize = "small" | "base" | "mid" | "large";
4
5
  export type ProgressBarOrientation = "horizontal" | "vertical";
5
6
  export type ProgressBarClassNames = {
@@ -13,6 +14,22 @@ export type ProgressBarClassNames = {
13
14
  hint?: string;
14
15
  error?: string;
15
16
  };
17
+ export type ProgressBarPartMotion = {
18
+ hoverIn?: MotionValue;
19
+ hoverOut?: MotionValue;
20
+ pressIn?: MotionValue;
21
+ pressOut?: MotionValue;
22
+ enter?: MotionValue;
23
+ leave?: MotionValue;
24
+ /** Plays when `value` / indeterminate identity changes. Fill scale stays kit-internal. */
25
+ change?: MotionValue;
26
+ };
27
+ export type ProgressBarMotion = {
28
+ track?: ProgressBarPartMotion;
29
+ fill?: ProgressBarPartMotion;
30
+ header?: ProgressBarPartMotion;
31
+ value?: ProgressBarPartMotion;
32
+ };
16
33
  export type ProgressBarDisplayState = {
17
34
  clampedValue: number;
18
35
  statusText: string;
@@ -41,8 +58,9 @@ export type ProgressBarTrackProps = Omit<HTMLAttributes<HTMLDivElement>, "childr
41
58
  formatValue?: (value: number) => string;
42
59
  orientation?: ProgressBarOrientation;
43
60
  className?: string;
61
+ motion?: Prettify<ProgressBarPartMotion>;
44
62
  };
45
- export type ProgressBarProps = HTMLAttributes<HTMLDivElement> & Partial<ProgressBarTrackProps> & {
63
+ export type ProgressBarProps = HTMLAttributes<HTMLDivElement> & Partial<Omit<ProgressBarTrackProps, "motion">> & {
46
64
  children?: ReactNode;
47
65
  id?: string;
48
66
  orientation?: ProgressBarOrientation;
@@ -52,6 +70,11 @@ export type ProgressBarProps = HTMLAttributes<HTMLDivElement> & Partial<Progress
52
70
  hint?: ReactNode;
53
71
  error?: ReactNode;
54
72
  classNames?: Prettify<ProgressBarClassNames>;
73
+ /**
74
+ * Per-slot motion (`track`, `fill`, `header`, `value`).
75
+ * Fill scale / indeterminate travel is kit-internal. Phase `change` plays on `track`.
76
+ */
77
+ motion?: Prettify<ProgressBarMotion>;
55
78
  };
56
79
  export type ProgressBarClassNamesProviderProps = {
57
80
  classNames?: Prettify<ProgressBarClassNames>;
@@ -59,9 +82,11 @@ export type ProgressBarClassNamesProviderProps = {
59
82
  };
60
83
  export type ProgressBarHeaderProps = HTMLAttributes<HTMLDivElement> & {
61
84
  children?: ReactNode;
85
+ motion?: Prettify<ProgressBarPartMotion>;
62
86
  };
63
87
  export type ProgressBarValueProps = HTMLAttributes<HTMLSpanElement> & {
64
88
  children?: ReactNode;
89
+ motion?: Prettify<ProgressBarPartMotion>;
65
90
  };
66
91
  export type ProgressBarHintProps = HTMLAttributes<HTMLParagraphElement> & {
67
92
  children?: ReactNode;
@@ -69,7 +94,7 @@ export type ProgressBarHintProps = HTMLAttributes<HTMLParagraphElement> & {
69
94
  export type ProgressBarErrorProps = HTMLAttributes<HTMLParagraphElement> & {
70
95
  children?: ReactNode;
71
96
  };
72
- export type UseProgressBarRootStateProps = Omit<ProgressBarProps, "className" | "classNames">;
97
+ export type UseProgressBarRootStateProps = Omit<ProgressBarProps, "className" | "classNames" | "motion">;
73
98
  export type UseProgressBarTrackStateProps = Pick<ProgressBarTrackProps, "value" | "indeterminate" | "min" | "max" | "size" | "thickness" | "color" | "formatValue" | "orientation"> & {
74
99
  "aria-describedby"?: string;
75
100
  };
@@ -1,5 +1,5 @@
1
- export type { RadioProps, RadioControlProps, RadioIndicatorProps, RadioContentProps, RadioLabelProps, RadioHintProps, RadioErrorProps, RadioSize, RadioVariant, RadioClassNames, } from './radioTypes';
2
- export declare const RadioRoot: import('react').ForwardRefExoticComponent<Omit<import('react').LabelHTMLAttributes<HTMLLabelElement>, "children" | "onChange" | "onPointerDown" | "htmlFor"> & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "className" | "children"> & {
1
+ export type { RadioProps, RadioControlProps, RadioIndicatorProps, RadioContentProps, RadioLabelProps, RadioHintProps, RadioErrorProps, RadioSize, RadioVariant, RadioClassNames, RadioMotion, RadioCheckMotion, } from './radioTypes';
2
+ export declare const RadioRoot: import('react').ForwardRefExoticComponent<Omit<import('react').LabelHTMLAttributes<HTMLLabelElement>, "children" | "onPointerDown" | "onChange" | "htmlFor"> & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "children" | "className"> & {
3
3
  children?: import('react').ReactNode;
4
4
  label?: import('react').ReactNode;
5
5
  hint?: import('react').ReactNode;
@@ -9,6 +9,7 @@ export declare const RadioRoot: import('react').ForwardRefExoticComponent<Omit<i
9
9
  danger?: boolean;
10
10
  className?: string;
11
11
  classNames?: import('../../..').Prettify<import('./radioTypes').RadioClassNames>;
12
+ motion?: import('../../..').Prettify<import('./radioTypes').RadioMotion>;
12
13
  onPointerDown?: (e: import('react').PointerEvent<HTMLLabelElement>) => void;
13
14
  } & import('react').RefAttributes<HTMLLabelElement>>;
14
15
  export { RadioControl, RadioIndicator, RadioContent, RadioLabel, RadioHint, RadioError, } from './radioParts';
@@ -1,5 +1,5 @@
1
1
  import { RadioError, RadioHint, RadioIndicator, RadioLabel } from './Radio';
2
- export declare const Radio: import('react').ForwardRefExoticComponent<Omit<import('react').LabelHTMLAttributes<HTMLLabelElement>, "children" | "onChange" | "onPointerDown" | "htmlFor"> & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "className" | "children"> & {
2
+ export declare const Radio: import('react').ForwardRefExoticComponent<Omit<import('react').LabelHTMLAttributes<HTMLLabelElement>, "children" | "onPointerDown" | "onChange" | "htmlFor"> & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "children" | "className"> & {
3
3
  children?: import('react').ReactNode;
4
4
  label?: import('react').ReactNode;
5
5
  hint?: import('react').ReactNode;
@@ -9,13 +9,17 @@ export declare const Radio: import('react').ForwardRefExoticComponent<Omit<impor
9
9
  danger?: boolean;
10
10
  className?: string;
11
11
  classNames?: import('../../..').Prettify<import('./radioTypes').RadioClassNames>;
12
+ motion?: import('../../..').Prettify<import('./radioTypes').RadioMotion>;
12
13
  onPointerDown?: (e: import('react').PointerEvent<HTMLLabelElement>) => void;
13
14
  } & import('react').RefAttributes<HTMLLabelElement>> & {
14
15
  Control: import('react').ForwardRefExoticComponent<import('./radioTypes').RadioControlProps & import('react').RefAttributes<HTMLSpanElement>>;
15
16
  Indicator: typeof RadioIndicator & {
16
- Fill: import('react').ForwardRefExoticComponent<import('../SelectionIndicator').SelectionIndicatorFillProps & import('react').RefAttributes<HTMLSpanElement>>;
17
+ Fill: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
18
+ motion?: import('../../..').Prettify<import('../SelectionIndicator').SelectionIndicatorCheckMotion>;
19
+ } & import('react').RefAttributes<HTMLSpanElement>>;
17
20
  Mark: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
18
21
  children?: import('react').ReactNode;
22
+ motion?: import('../../..').Prettify<import('../SelectionIndicator').SelectionIndicatorCheckMotion>;
19
23
  } & import('react').RefAttributes<HTMLSpanElement>>;
20
24
  };
21
25
  Content: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
@@ -25,4 +29,4 @@ export declare const Radio: import('react').ForwardRefExoticComponent<Omit<impor
25
29
  Hint: typeof RadioHint;
26
30
  Error: typeof RadioError;
27
31
  };
28
- export type { RadioProps, RadioControlProps, RadioIndicatorProps, RadioContentProps, RadioLabelProps, RadioHintProps, RadioErrorProps, RadioSize, RadioVariant, RadioClassNames, } from './radioTypes';
32
+ export type { RadioProps, RadioControlProps, RadioIndicatorProps, RadioContentProps, RadioLabelProps, RadioHintProps, RadioErrorProps, RadioSize, RadioVariant, RadioClassNames, RadioMotion, RadioCheckMotion, } from './radioTypes';
@@ -1,4 +1,15 @@
1
- import { UseRadioAnimationsProps } from './radioTypes';
1
+ import { SelectionIndicatorMotion } from '../SelectionIndicator';
2
+ import { RadioMotion, UseRadioAnimationsProps } from './radioTypes';
3
+ /** Root Radio `motion` keys → SelectionIndicator slots. */
4
+ export declare const RADIO_MOTION_SLOT_MAP: {
5
+ readonly indicator: "root";
6
+ readonly indicatorFill: "fill";
7
+ readonly indicatorMark: "mark";
8
+ };
9
+ export declare function resolveRadioIndicatorMotion({ rootMotion, indicatorMotion, }: {
10
+ rootMotion?: RadioMotion;
11
+ indicatorMotion?: SelectionIndicatorMotion;
12
+ }): SelectionIndicatorMotion | undefined;
2
13
  export declare function useRadioControlTrackAnimation(): import('react').RefObject<HTMLSpanElement | null>;
3
14
  export declare function useRadioTextMotion({ isDisabled, enableTextMotion, textMotionRef, onPointerDown, onKeyDown, }: UseRadioAnimationsProps): {
4
15
  handlePointerEnter: (e: import('react').PointerEvent<HTMLLabelElement>) => void;
@@ -1,4 +1,4 @@
1
- import { RadioClassNames, RadioClassNamesProviderProps, RadioFieldContextValue } from './radioTypes';
1
+ import { RadioClassNames, RadioClassNamesProviderProps, RadioFieldContextValue, RadioMotion, RadioMotionProviderProps } from './radioTypes';
2
2
  declare const RadioFieldContext: import('react').Context<RadioFieldContextValue | null>;
3
3
  export declare function RadioFieldProvider({ value, children, }: {
4
4
  value: RadioFieldContextValue;
@@ -8,4 +8,6 @@ export declare function RadioClassNamesProvider({ classNames, children, }: Radio
8
8
  export declare function useRadioFieldContext(): RadioFieldContextValue;
9
9
  export declare function useOptionalRadioFieldContext(): RadioFieldContextValue | null;
10
10
  export declare function useRadioClassNames(): RadioClassNames;
11
+ export declare function RadioMotionProvider({ motion, children, }: RadioMotionProviderProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function useRadioMotion(): RadioMotion | undefined;
11
13
  export { RadioFieldContext };
@@ -1,6 +1,6 @@
1
1
  import { RadioControlProps, RadioErrorProps, RadioHintProps, RadioIndicatorProps, RadioLabelProps, RadioSize } from './radioTypes';
2
2
  export declare const RadioControl: import('react').ForwardRefExoticComponent<RadioControlProps & import('react').RefAttributes<HTMLSpanElement>>;
3
- export declare function RadioIndicator({ children, className, classNames: classNamesProp, size: sizeProp, ...rest }: RadioIndicatorProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function RadioIndicator({ children, className, classNames: classNamesProp, size: sizeProp, motion: motionProp, ...rest }: RadioIndicatorProps): import("react/jsx-runtime").JSX.Element;
4
4
  export declare namespace RadioIndicator {
5
5
  var displayName: string;
6
6
  }
@@ -2,7 +2,8 @@ import { ChangeEvent, HTMLAttributes, InputHTMLAttributes, KeyboardEvent, LabelH
2
2
  import { Prettify } from '../../../utils/prettify';
3
3
  import { FieldErrorProps, FieldHintProps } from '../Field';
4
4
  import { LabelProps } from '../Label';
5
- import { SelectionIndicatorClassNames } from '../SelectionIndicator';
5
+ import { MotionValue } from '../utils/slotMotion';
6
+ import { SelectionIndicatorClassNames, SelectionIndicatorMotion } from '../SelectionIndicator';
6
7
  export type RadioVariant = "default" | "secondary" | "outline" | "gloss";
7
8
  export type RadioSize = "small" | "base" | "mid" | "large";
8
9
  export type RadioClassNames = {
@@ -22,6 +23,16 @@ export type RadioClassNames = {
22
23
  simpleLabelText?: string;
23
24
  input?: string;
24
25
  };
26
+ export type RadioCheckMotion = {
27
+ check?: MotionValue;
28
+ uncheck?: MotionValue;
29
+ };
30
+ /** Root map. Keys → SelectionIndicator slots in `radioAnimations.ts`. */
31
+ export type RadioMotion = {
32
+ indicator?: RadioCheckMotion;
33
+ indicatorFill?: RadioCheckMotion;
34
+ indicatorMark?: RadioCheckMotion;
35
+ };
25
36
  export type RadioProps = Omit<LabelHTMLAttributes<HTMLLabelElement>, "children" | "htmlFor" | "onChange" | "onPointerDown"> & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size" | "children" | "className"> & {
26
37
  children?: ReactNode;
27
38
  label?: ReactNode;
@@ -32,6 +43,7 @@ export type RadioProps = Omit<LabelHTMLAttributes<HTMLLabelElement>, "children"
32
43
  danger?: boolean;
33
44
  className?: string;
34
45
  classNames?: Prettify<RadioClassNames>;
46
+ motion?: Prettify<RadioMotion>;
35
47
  onPointerDown?: (e: PointerEvent<HTMLLabelElement>) => void;
36
48
  };
37
49
  export type RadioControlProps = HTMLAttributes<HTMLSpanElement>;
@@ -40,6 +52,7 @@ export type RadioIndicatorProps = HTMLAttributes<HTMLSpanElement> & {
40
52
  children?: ReactNode;
41
53
  size?: RadioSize;
42
54
  classNames?: Prettify<RadioIndicatorClassNames>;
55
+ motion?: Prettify<SelectionIndicatorMotion>;
43
56
  };
44
57
  export type RadioContentProps = HTMLAttributes<HTMLDivElement> & {
45
58
  children?: ReactNode;
@@ -85,6 +98,10 @@ export type RadioClassNamesProviderProps = {
85
98
  classNames?: Prettify<RadioClassNames>;
86
99
  children: ReactNode;
87
100
  };
101
+ export type RadioMotionProviderProps = {
102
+ motion?: Prettify<RadioMotion>;
103
+ children: ReactNode;
104
+ };
88
105
  export type UseRadioRootStateProps = Omit<RadioProps, "children" | "className" | "classNames" | "onPointerDown" | "onClick">;
89
106
  export type UseRadioAnimationsProps = {
90
107
  isDisabled: boolean;
@@ -1,5 +1,7 @@
1
- export type { SearchInputProps, SearchInputSize, SearchInputVariant, SearchInputClassNames, } from './searchInputTypes';
2
- export declare const SearchInput: import('react').ForwardRefExoticComponent<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { SearchInputMotion } from './searchInputTypes';
3
+ export type { SearchInputProps, SearchInputSize, SearchInputVariant, SearchInputClassNames, SearchInputMotion, SearchInputPartMotion, } from './searchInputTypes';
4
+ export declare const SearchInput: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & {
3
5
  size?: import('./searchInputTypes').SearchInputSize;
4
6
  variant?: import('./searchInputTypes').SearchInputVariant;
5
7
  expandedWidth?: number;
@@ -11,4 +13,5 @@ export declare const SearchInput: import('react').ForwardRefExoticComponent<Omit
11
13
  groupSegment?: import('../Button/buttonContext').ButtonGroupSegment;
12
14
  "aria-label"?: string;
13
15
  classNames?: import('../../..').Prettify<import('./searchInputTypes').SearchInputClassNames>;
16
+ motion?: import('../../..').Prettify<SearchInputMotion>;
14
17
  } & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,2 +1,2 @@
1
1
  export { SearchInput } from './SearchInput';
2
- export type { SearchInputProps, SearchInputSize, SearchInputVariant, SearchInputClassNames, } from './searchInputTypes';
2
+ export type { SearchInputProps, SearchInputSize, SearchInputVariant, SearchInputClassNames, SearchInputMotion, SearchInputPartMotion, } from './searchInputTypes';