burne-ui 1.8.5 → 1.8.7

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 +23940 -16959
  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-B1dAP9WW.js} +1833 -1551
  403. package/dist/themeRuntimeContext-BveSYUe9.cjs +14 -0
  404. package/dist/ui.css +49 -51
  405. package/package.json +6 -4
  406. package/dist/components/core/SelectionIndicator/useSelectionIndicatorAnimation.d.ts +0 -2
  407. package/dist/themeRuntimeContext-POhnqI3h.cjs +0 -14
@@ -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>>;
@@ -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';
@@ -1,14 +1,49 @@
1
- import { UseSearchInputAnimationsProps } from './searchInputTypes';
2
- export declare function useSearchInputAnimations({ size, expanded, blocked, isGloss, groupSegment, layout, targetW, }: UseSearchInputAnimationsProps): {
3
- rootRef: import('react').RefObject<HTMLDivElement | null>;
1
+ import { MutableRefObject } from 'react';
2
+ import { SearchInputMotion, SearchInputSize, SearchSizeLayout, UseSearchInputAnimationsProps } from './searchInputTypes';
3
+ export declare function resolveSearchInputMotionDefaults({ isGloss, blocked, groupSegment, expanded, }: {
4
+ isGloss: boolean;
5
+ blocked: boolean;
6
+ groupSegment?: unknown;
7
+ expanded: boolean;
8
+ }): SearchInputMotion;
9
+ export declare function resolveSearchInputMotionParams({ size, layout, targetW, expanded, blocked, isGloss, groupSegment, pointerInside, }: {
10
+ size: SearchInputSize;
11
+ layout: SearchSizeLayout;
12
+ targetW: number;
13
+ expanded: boolean;
14
+ blocked: boolean;
15
+ isGloss: boolean;
16
+ groupSegment?: unknown;
17
+ pointerInside: MutableRefObject<boolean>;
18
+ }): {
19
+ targetW: number;
20
+ collapsedDim: number;
21
+ expandedRadius: number;
22
+ padX: number;
23
+ iconBox: number;
24
+ iconLeftCollapsedCss: string;
25
+ shadowSize: "none" | "base";
26
+ hasHoverShadow: boolean;
27
+ isGloss: boolean;
28
+ pointerInside: MutableRefObject<boolean>;
29
+ };
30
+ export declare function useSearchInputAnimations({ size, expanded, blocked, isGloss, groupSegment, layout, targetW, motion, rootRef, iconRef, pointerInsideRef, }: UseSearchInputAnimationsProps): {
4
31
  bindRootRef: (node: HTMLDivElement | null) => void;
5
32
  bindIconRef: (node: HTMLSpanElement | null) => void;
6
33
  beginPressSqueeze: () => void;
7
34
  awaitPressSqueeze: () => Promise<void>;
8
- handlePointerEnter: (e: import('react').PointerEvent<HTMLElement>) => void;
9
- handlePointerLeave: (e: import('react').PointerEvent<HTMLElement>) => void;
35
+ handlePointerEnter: (e: import('react').PointerEvent<HTMLDivElement>) => void;
36
+ handlePointerLeave: (e: import('react').PointerEvent<HTMLDivElement>) => void;
10
37
  onShellFocusIn: (() => void) | undefined;
11
38
  onShellFocusOut: ((e: React.FocusEvent<HTMLElement>) => void) | undefined;
12
39
  shellHoverMotionClass: string;
13
40
  standardMotionClass: string;
41
+ expandMetrics: {
42
+ targetW: number;
43
+ collapsedDim: number;
44
+ expandedRadius: number;
45
+ padX: number;
46
+ iconBox: number;
47
+ iconLeftCollapsedCss: string;
48
+ };
14
49
  };
@@ -0,0 +1,7 @@
1
+ /** Scope only. Defaults and host play live in `searchInputAnimations.ts`. */
2
+ export declare const SearchInputMotionProvider: ({ 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, useSearchInputMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalSearchInputMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -3,6 +3,14 @@ import { SearchSizeLayout } from './searchInputTypes';
3
3
  export declare function SearchInputRipple({ disabled }: {
4
4
  disabled: boolean;
5
5
  }): import("react/jsx-runtime").JSX.Element;
6
+ export declare function SearchInputExpandTrigger({ blocked, inputId, collapseA11yLabel, className, onClick, onKeyDown, }: {
7
+ blocked: boolean;
8
+ inputId: string;
9
+ collapseA11yLabel: string;
10
+ className?: string;
11
+ onClick: (e: MouseEvent<HTMLButtonElement>) => void;
12
+ onKeyDown: (e: KeyboardEvent<HTMLButtonElement>) => void;
13
+ }): import("react/jsx-runtime").JSX.Element;
6
14
  export declare function SearchInputIcon({ bindIconRef, layout, className, }: {
7
15
  bindIconRef: (node: HTMLSpanElement | null) => void;
8
16
  layout: SearchSizeLayout;
@@ -5,8 +5,8 @@ export declare const SEARCH_INPUT_EXPAND_TRIGGER_CLASS = "absolute inset-0 z-[2]
5
5
  export declare const SEARCH_INPUT_ICON_WRAP_CLASS = "pointer-events-none absolute inset-y-0 z-[1] flex items-center justify-center text-muted";
6
6
  export declare const SEARCH_INPUT_ICON_CLASS = "shrink-0";
7
7
  export declare const SEARCH_INPUT_CONTROL_BASE_CLASS = "box-border min-h-0 w-full border-0 bg-transparent text-foreground outline-none placeholder:text-muted [&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none disabled:cursor-not-allowed disabled:opacity-100";
8
- export declare const SEARCH_INPUT_CONTROL_EXPANDED_CLASS = "relative z-[2] opacity-100";
9
- export declare const SEARCH_INPUT_CONTROL_COLLAPSED_CLASS = "pointer-events-none absolute inset-0 opacity-0";
8
+ export declare const SEARCH_INPUT_CONTROL_EXPANDED_CLASS = "pointer-events-auto absolute inset-0 z-[2] opacity-100";
9
+ export declare const SEARCH_INPUT_CONTROL_COLLAPSED_CLASS = "pointer-events-none absolute inset-0 z-[2] opacity-0";
10
10
  export declare const SEARCH_INPUT_CLEAR_BUTTON_CLASS = "absolute top-1/2 z-[3] flex -translate-y-1/2 items-center justify-center rounded-full border-0 bg-transparent p-0 text-foreground outline-none focus-ring-inset cursor-pointer";
11
11
  export declare const SEARCH_INPUT_CLEAR_ICON_CLASS = "shrink-0";
12
12
  export declare const SEARCH_INPUT_ROOT_BASE_CLASS = "relative box-border inline-block overflow-hidden text-left";