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,5 +1,6 @@
1
1
  import { ButtonHTMLAttributes, HTMLAttributes, ReactNode, RefObject } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
+ import { MotionValue } from '../utils/slotMotion';
3
4
  import { ComponentSize } from '../utils/sizeLayout';
4
5
  export type TabsOrientation = "horizontal" | "vertical";
5
6
  export type TabsVariant = "default" | "outline" | "secondary" | "gloss";
@@ -12,6 +13,25 @@ export type TabsClassNames = {
12
13
  tabText?: string;
13
14
  panel?: string;
14
15
  };
16
+ export type TabsPartMotion = {
17
+ hoverIn?: MotionValue;
18
+ hoverOut?: MotionValue;
19
+ pressIn?: MotionValue;
20
+ pressOut?: MotionValue;
21
+ enter?: MotionValue;
22
+ leave?: MotionValue;
23
+ check?: MotionValue;
24
+ uncheck?: MotionValue;
25
+ /** Plays on `root` when the selected tab value updates. */
26
+ change?: MotionValue;
27
+ };
28
+ export type TabsMotion = {
29
+ root?: TabsPartMotion;
30
+ list?: TabsPartMotion;
31
+ tab?: TabsPartMotion;
32
+ tabText?: TabsPartMotion;
33
+ panel?: TabsPartMotion;
34
+ };
15
35
  export type TabsProps = Omit<HTMLAttributes<HTMLDivElement>, "defaultValue"> & {
16
36
  children?: ReactNode;
17
37
  value?: string;
@@ -22,17 +42,28 @@ export type TabsProps = Omit<HTMLAttributes<HTMLDivElement>, "defaultValue"> & {
22
42
  variant?: TabsVariant;
23
43
  disabled?: boolean;
24
44
  classNames?: Prettify<TabsClassNames>;
45
+ /**
46
+ * Per-slot motion (`root`, `list`, `tab`, `tabText`, `panel`).
47
+ * Indicator FLIP is kit-internal — not a public slot. Do not tween `width`/`left` of the indicator.
48
+ * Inactive tabs default to `hoverLiftFirstLevel` + `pressSqueeze` on `tabText`.
49
+ * Phase `change` plays on `root` when the selected value updates.
50
+ */
51
+ motion?: Prettify<TabsMotion>;
25
52
  };
26
53
  export type UseTabsRootStateProps = Pick<TabsProps, "value" | "defaultValue" | "onValueChange" | "orientation" | "size" | "variant" | "disabled">;
27
- export type TabsListProps = HTMLAttributes<HTMLDivElement>;
54
+ export type TabsListProps = HTMLAttributes<HTMLDivElement> & {
55
+ motion?: Prettify<TabsPartMotion>;
56
+ };
28
57
  export type TabsTabProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value"> & {
29
58
  value: string;
30
59
  children?: ReactNode;
31
60
  asChild?: boolean;
61
+ motion?: Prettify<TabsPartMotion>;
32
62
  };
33
63
  export type TabsPanelProps = HTMLAttributes<HTMLDivElement> & {
34
64
  value: string;
35
65
  children?: ReactNode;
66
+ motion?: Prettify<TabsPartMotion>;
36
67
  };
37
68
  export type TabsContextValue = {
38
69
  value: string;
@@ -1,7 +1,9 @@
1
- export type { TextProps, TextVariant } from './textTypes';
2
- export declare const Text: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLElement>, "className"> & {
1
+ import { HTMLAttributes } from 'react';
2
+ export type { TextProps, TextVariant, TextMotion, TextPartMotion } from './textTypes';
3
+ export declare const Text: import('react').ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLElement>, "className"> & {
3
4
  variant: import('./textTypes').TextVariant;
4
5
  as?: import('react').ElementType;
5
6
  inheritColor?: boolean;
6
7
  className?: string;
8
+ motion?: import('../../..').Prettify<import('./textTypes').TextMotion>;
7
9
  } & import('react').RefAttributes<HTMLElement>>;
@@ -1 +1 @@
1
- export { Text, type TextProps, type TextVariant } from './Text';
1
+ export { Text, type TextProps, type TextVariant, type TextMotion, type TextPartMotion, } from './Text';
@@ -0,0 +1,21 @@
1
+ import { ForwardedRef, PointerEvent as ReactPointerEvent } from 'react';
2
+ import { TextMotion, TextPartMotion } from './textTypes';
3
+ export declare function resolveTextMotionDefaults(): TextMotion;
4
+ export declare function useTextRootMotion({ forwardedRef, motion, onPointerOver, onPointerOut, onPointerDown, onPointerUp, }: {
5
+ forwardedRef?: ForwardedRef<HTMLElement>;
6
+ motion?: TextPartMotion;
7
+ onPointerOver?: (e: ReactPointerEvent<HTMLElement>) => void;
8
+ onPointerOut?: (e: ReactPointerEvent<HTMLElement>) => void;
9
+ onPointerDown?: (e: ReactPointerEvent<HTMLElement>) => void;
10
+ onPointerUp?: (e: ReactPointerEvent<HTMLElement>) => void;
11
+ }): {
12
+ setRef: (node: HTMLElement | null) => void;
13
+ targetRef: import('react').RefObject<HTMLElement | null>;
14
+ pointerHandlers: {
15
+ onPointerOver: (e: ReactPointerEvent<HTMLElement>) => void;
16
+ onPointerOut: (e: ReactPointerEvent<HTMLElement>) => void;
17
+ onPointerDown: (e: ReactPointerEvent<HTMLElement>) => void;
18
+ onPointerUp: (e: ReactPointerEvent<HTMLElement>) => void;
19
+ };
20
+ };
21
+ export declare function useOptionalTextRootMotion(): import('../utils/slotMotion').MotionScopeValue | null;
@@ -0,0 +1,7 @@
1
+ /** Scope only. Defaults and host play live in `textAnimations.ts`. */
2
+ export declare const TextMotionProvider: ({ 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, useTextMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalTextMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
@@ -1,8 +1,26 @@
1
1
  import { ElementType, HTMLAttributes } from 'react';
2
+ import { Prettify } from '../../../utils/prettify';
3
+ import { MotionValue } from '../utils/slotMotion';
2
4
  export type TextVariant = "accent-header" | "header-1" | "header-2" | "large" | "mid" | "base" | "small" | "xsmall";
5
+ export type TextPartMotion = {
6
+ hoverIn?: MotionValue;
7
+ hoverOut?: MotionValue;
8
+ pressIn?: MotionValue;
9
+ pressOut?: MotionValue;
10
+ enter?: MotionValue;
11
+ leave?: MotionValue;
12
+ };
13
+ export type TextMotion = {
14
+ root?: TextPartMotion;
15
+ };
3
16
  export type TextProps = Omit<HTMLAttributes<HTMLElement>, "className"> & {
4
17
  variant: TextVariant;
5
18
  as?: ElementType;
6
19
  inheritColor?: boolean;
7
20
  className?: string;
21
+ /**
22
+ * Per-slot motion (`root`). Defaults are empty — custom factories are opt-in.
23
+ * `enter` runs on mount only when set.
24
+ */
25
+ motion?: Prettify<TextMotion>;
8
26
  };
@@ -1,7 +1,7 @@
1
1
  import { TextAreaSimpleProps } from './textAreaTypes';
2
- export type { TextAreaClassNames, TextAreaErrorProps, TextAreaHintProps, TextAreaControlProps, TextAreaProps, TextAreaSimpleProps, TextAreaSize, TextAreaStatus, TextAreaVariant, } from './textAreaTypes';
2
+ export type { TextAreaClassNames, TextAreaErrorProps, TextAreaHintProps, TextAreaControlProps, TextAreaProps, TextAreaSimpleProps, TextAreaSize, TextAreaStatus, TextAreaVariant, TextAreaMotion, TextAreaPartMotion, } from './textAreaTypes';
3
3
  export { TextAreaControl, TextAreaError, TextAreaHint, TextAreaLabel } from './textAreaParts';
4
- export declare function TextAreaRoot({ children, label, hint, error, className, classNames, id: idProp, required, status, size, ...rest }: TextAreaSimpleProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function TextAreaRoot({ children, label, hint, error, className, classNames, id: idProp, required, status, size, motion, ...rest }: TextAreaSimpleProps): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace TextAreaRoot {
6
6
  var displayName: string;
7
7
  }
@@ -8,9 +8,10 @@ export declare const TextArea: typeof TextAreaRoot & {
8
8
  rows?: number;
9
9
  resizable?: boolean;
10
10
  onPointerDown?: import('react').PointerEventHandler<HTMLDivElement>;
11
+ motion?: import('../../..').Prettify<import('./textAreaTypes').TextAreaPartMotion>;
11
12
  } & import('react').RefAttributes<HTMLTextAreaElement>>;
12
13
  Hint: typeof TextAreaHint;
13
14
  Error: typeof TextAreaError;
14
15
  };
15
- export type { TextAreaClassNames, TextAreaControlProps, TextAreaSize, TextAreaStatus, TextAreaVariant, TextAreaProps, TextAreaHintProps, TextAreaErrorProps, TextAreaSimpleProps, } from './textAreaTypes';
16
+ export type { TextAreaClassNames, TextAreaControlProps, TextAreaSize, TextAreaStatus, TextAreaVariant, TextAreaProps, TextAreaHintProps, TextAreaErrorProps, TextAreaSimpleProps, TextAreaMotion, TextAreaPartMotion, } from './textAreaTypes';
16
17
  export { useTextAreaFieldContext, useOptionalTextAreaFieldContext, useTextAreaClassNames, } from './textAreaContext';
@@ -1,19 +1,29 @@
1
- import { PointerEvent, RefObject } from 'react';
2
- import { TextAreaVariant } from './textAreaTypes';
3
- export declare function useTextAreaShellMotion({ shellRef, blocked, variant, resizable, onPointerDown, }: {
4
- shellRef: RefObject<HTMLDivElement | null>;
1
+ import { MutableRefObject, PointerEvent } from 'react';
2
+ import { TextAreaMotion, TextAreaPartMotion, UseTextAreaShellAnimationsProps } from './textAreaTypes';
3
+ export declare function resolveTextAreaMotionDefaults({ isGloss, blocked, }: {
4
+ isGloss: boolean;
5
+ blocked: boolean;
6
+ }): TextAreaMotion;
7
+ export declare function resolveTextAreaMotionParams({ blocked, isGloss, pointerInside, }: {
5
8
  blocked: boolean;
6
- variant: TextAreaVariant;
7
- resizable: boolean;
8
- onPointerDown?: (e: PointerEvent<HTMLDivElement>) => void;
9
+ isGloss: boolean;
10
+ pointerInside: MutableRefObject<boolean>;
9
11
  }): {
12
+ shadowSize: "base";
13
+ hasHoverShadow: boolean;
14
+ isGloss: boolean;
15
+ pointerInside: MutableRefObject<boolean>;
16
+ };
17
+ export declare function useTextAreaShellAnimations({ shellRef, blocked, variant, resizable, motion, pointerInsideRef, onPointerDown, }: UseTextAreaShellAnimationsProps): {
10
18
  isGloss: boolean;
11
- setShellRef: (node: HTMLDivElement | null) => void;
19
+ bindShellRef: (node: HTMLDivElement | null) => void;
12
20
  shellPointerDown: (e: PointerEvent<HTMLDivElement>) => void;
13
- shellPointerEnter: (e: PointerEvent<HTMLElement>) => void;
14
- shellPointerLeave: (e: PointerEvent<HTMLElement>) => void;
21
+ shellPointerUp: () => void;
22
+ shellPointerEnter: (e: PointerEvent<HTMLDivElement>) => void;
23
+ shellPointerLeave: (e: PointerEvent<HTMLDivElement>) => void;
15
24
  shellFocusCapture: (() => void) | undefined;
16
25
  shellBlurCapture: ((e: React.FocusEvent<HTMLElement>) => void) | undefined;
17
26
  glossShellHoverMotionClass: string;
18
27
  standardShellHoverMotionClass: string;
19
28
  };
29
+ export type { TextAreaPartMotion };
@@ -8,4 +8,11 @@ export declare function TextAreaClassNamesProvider({ classNames, children, }: Te
8
8
  export declare function useTextAreaFieldContext(): TextAreaFieldContextValue;
9
9
  export declare function useOptionalTextAreaFieldContext(): TextAreaFieldContextValue | null;
10
10
  export declare function useTextAreaClassNames(): TextAreaClassNames;
11
+ /** Scope only. Defaults and host play live in `textAreaAnimations.ts`. */
12
+ export declare const TextAreaMotionProvider: ({ 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, useTextAreaMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalTextAreaMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
11
18
  export { TextAreaFieldContext };
@@ -1,6 +1,6 @@
1
1
  import { PointerEventHandler } from 'react';
2
2
  import { LabelProps } from '../Label';
3
- import { TextAreaErrorProps, TextAreaHintProps, TextAreaSimpleBodyProps } from './textAreaTypes';
3
+ import { TextAreaErrorProps, TextAreaHintProps, TextAreaPartMotion, TextAreaSimpleBodyProps } from './textAreaTypes';
4
4
  export declare const TextAreaControl: import('react').ForwardRefExoticComponent<Omit<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
5
5
  variant?: import('./textAreaTypes').TextAreaVariant;
6
6
  size?: import('./textAreaTypes').TextAreaSize;
@@ -8,6 +8,7 @@ export declare const TextAreaControl: import('react').ForwardRefExoticComponent<
8
8
  rows?: number;
9
9
  resizable?: boolean;
10
10
  onPointerDown?: PointerEventHandler<HTMLDivElement>;
11
+ motion?: import('../../..').Prettify<TextAreaPartMotion>;
11
12
  } & import('react').RefAttributes<HTMLTextAreaElement>>;
12
13
  export declare function TextAreaLabel({ className, classNames, ...rest }: LabelProps): import("react/jsx-runtime").JSX.Element;
13
14
  export declare namespace TextAreaLabel {
@@ -2,11 +2,14 @@ import { TextAreaSize, TextAreaStatus, TextAreaVariant } from './textAreaTypes';
2
2
  export declare const TEXTAREA_MIN_H: Record<TextAreaSize, string>;
3
3
  export declare const TEXTAREA_SHELL_LAYOUT_CLASS = "flex flex-col items-stretch";
4
4
  export declare const TEXTAREA_CONTROL_BASE_CLASS = "box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted appearance-none [field-sizing:content] field-control-mobile-no-zoom";
5
- /** Resize grip strokes — micro-geometry for the affordance (not spacing scale). */
6
- export declare const TEXTAREA_RESIZE_GRIP_LINE_PRIMARY_CLASS = "absolute bottom-[length:calc(var(--border-width)*2)] right-0 block h-[length:var(--border-width)] w-[length:calc(var(--border-width)*9)] origin-bottom-right rotate-[135deg] bg-muted-foreground";
7
- export declare const TEXTAREA_RESIZE_GRIP_LINE_SECONDARY_CLASS = "absolute bottom-[length:calc(var(--border-width)*6)] right-0 block h-[length:var(--border-width)] w-[length:calc(var(--border-width)*6)] origin-bottom-right rotate-[135deg] bg-muted-foreground";
8
- export declare const TEXTAREA_RESIZE_GRIP_WRAP_CLASS = "relative block size-[length:var(--size-scale-small)] shrink-0";
9
- export declare const TEXTAREA_RESIZE_HANDLE_BASE_CLASS = "absolute bottom-0 right-0 z-[2] m-0 flex touch-none select-none appearance-none border-0 bg-transparent items-end justify-end p-xsmall outline-none focus-ring-inset";
5
+ /**
6
+ * Resize grip — hardcoded SVG geometry (not theme border/size tokens).
7
+ * Two 1px diagonals from the right edge to the bottom edge, fully inside the corner.
8
+ */
9
+ export declare const TEXTAREA_RESIZE_GRIP_STROKE = "#9a9aa3";
10
+ export declare const TEXTAREA_RESIZE_GRIP_WRAP_CLASS = "pointer-events-none block size-[10px] shrink-0 overflow-hidden";
11
+ /** Hit area extends up/left; grip sits flush in the bottom-right corner. */
12
+ export declare const TEXTAREA_RESIZE_HANDLE_BASE_CLASS = "absolute bottom-0 right-0 z-[2] m-0 flex touch-none select-none appearance-none border-0 bg-transparent items-end justify-end pr-0 pb-0 outline-none focus-ring-inset";
10
13
  export declare const TEXTAREA_RESIZE_HANDLE_DISABLED_CLASS = "cursor-not-allowed opacity-45";
11
14
  export declare const TEXTAREA_RESIZE_HANDLE_ENABLED_CLASS = "cursor-ns-resize";
12
15
  export declare function textareaControlClass(size: TextAreaSize): string;
@@ -1,7 +1,8 @@
1
- import { HTMLAttributes, PointerEventHandler, ReactNode, TextareaHTMLAttributes } from 'react';
1
+ import { HTMLAttributes, MutableRefObject, PointerEvent, PointerEventHandler, ReactNode, RefObject, TextareaHTMLAttributes } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
3
  import { ComponentSize } from '../utils/sizeLayout';
4
4
  import { SemanticStatus } from '../utils/semanticStatusIcons';
5
+ import { MotionValue } from '../utils/slotMotion';
5
6
  export type TextAreaVariant = "default" | "outline" | "secondary" | "gloss";
6
7
  export type TextAreaStatus = SemanticStatus;
7
8
  export type TextAreaSize = ComponentSize;
@@ -14,6 +15,17 @@ export type TextAreaClassNames = {
14
15
  hint?: string;
15
16
  error?: string;
16
17
  };
18
+ export type TextAreaPartMotion = {
19
+ hoverIn?: MotionValue;
20
+ hoverOut?: MotionValue;
21
+ pressIn?: MotionValue;
22
+ pressOut?: MotionValue;
23
+ };
24
+ export type TextAreaMotion = {
25
+ shell?: TextAreaPartMotion;
26
+ control?: TextAreaPartMotion;
27
+ resizeHandle?: TextAreaPartMotion;
28
+ };
17
29
  export type TextAreaControlProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
18
30
  variant?: TextAreaVariant;
19
31
  size?: TextAreaSize;
@@ -21,6 +33,8 @@ export type TextAreaControlProps = Omit<TextareaHTMLAttributes<HTMLTextAreaEleme
21
33
  rows?: number;
22
34
  resizable?: boolean;
23
35
  onPointerDown?: PointerEventHandler<HTMLDivElement>;
36
+ /** Shell part motion. Root `motion.shell` still applies; this wins on the Control host. */
37
+ motion?: Prettify<TextAreaPartMotion>;
24
38
  };
25
39
  export type TextAreaFieldContextValue = {
26
40
  textareaId: string;
@@ -47,8 +61,22 @@ export type TextAreaProps = HTMLAttributes<HTMLDivElement> & {
47
61
  status?: TextAreaStatus;
48
62
  size?: TextAreaSize;
49
63
  classNames?: Prettify<TextAreaClassNames>;
64
+ /**
65
+ * Per-slot motion (`shell`, `control`, `resizeHandle`).
66
+ * Resize drag height is kit-internal, not a public MotionVars layout tween.
67
+ */
68
+ motion?: Prettify<TextAreaMotion>;
69
+ };
70
+ export type TextAreaSimpleProps = TextAreaProps & Omit<TextAreaControlProps, "motion">;
71
+ export type UseTextAreaShellAnimationsProps = {
72
+ shellRef: RefObject<HTMLDivElement | null>;
73
+ blocked: boolean;
74
+ variant: TextAreaVariant;
75
+ resizable: boolean;
76
+ motion?: TextAreaPartMotion;
77
+ pointerInsideRef: MutableRefObject<boolean>;
78
+ onPointerDown?: (e: PointerEvent<HTMLDivElement>) => void;
50
79
  };
51
- export type TextAreaSimpleProps = TextAreaProps & TextAreaControlProps;
52
80
  export type TextAreaHintProps = HTMLAttributes<HTMLParagraphElement> & {
53
81
  children?: ReactNode;
54
82
  status?: Exclude<TextAreaStatus, "danger"> | "default";
@@ -1,7 +1,7 @@
1
1
  import { TimeFieldProps } from './timeFieldTypes';
2
- export type { TimeFieldClassNames, TimeFieldControlProps, TimeFieldErrorProps, TimeFieldFormat, TimeFieldHintProps, TimeFieldProps, TimeFieldSize, TimeFieldStatus, TimeFieldVariant, } from './timeFieldTypes';
2
+ export type { TimeFieldClassNames, TimeFieldControlProps, TimeFieldErrorProps, TimeFieldFormat, TimeFieldHintProps, TimeFieldProps, TimeFieldSize, TimeFieldStatus, TimeFieldVariant, TimeFieldMotion, TimeFieldPartMotion, } from './timeFieldTypes';
3
3
  export { TimeFieldControl, TimeFieldError, TimeFieldHint, TimeFieldLabel } from './timeFieldParts';
4
- export declare function TimeFieldRoot({ children, label, hint, error, className, classNames, id: idProp, required, status, size, variant, value, defaultValue, onValueChange, format, disabled, compact, prefix, suffix, segmentSeparator, ...rest }: TimeFieldProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function TimeFieldRoot({ children, label, hint, error, className, classNames, id: idProp, required, status, size, variant, value, defaultValue, onValueChange, format, disabled, compact, prefix, suffix, segmentSeparator, motion, ...rest }: TimeFieldProps): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace TimeFieldRoot {
6
6
  var displayName: string;
7
7
  }
@@ -15,9 +15,10 @@ export declare const TimeField: typeof TimeFieldRoot & {
15
15
  suffix?: import('react').ReactNode;
16
16
  segmentSeparator?: import('react').ReactNode;
17
17
  onPointerDown?: import('react').PointerEventHandler<HTMLFieldSetElement>;
18
+ motion?: import('../../..').Prettify<import('./timeFieldTypes').TimeFieldPartMotion>;
18
19
  } & import('react').RefAttributes<HTMLFieldSetElement>>;
19
20
  Hint: typeof TimeFieldHint;
20
21
  Error: typeof TimeFieldError;
21
22
  };
22
- export type { TimeFieldClassNames, TimeFieldProps, TimeFieldControlProps, TimeFieldHintProps, TimeFieldErrorProps, TimeFieldSize, TimeFieldStatus, TimeFieldVariant, TimeFieldFormat, } from './timeFieldTypes';
23
+ export type { TimeFieldClassNames, TimeFieldProps, TimeFieldControlProps, TimeFieldHintProps, TimeFieldErrorProps, TimeFieldSize, TimeFieldStatus, TimeFieldVariant, TimeFieldFormat, TimeFieldMotion, TimeFieldPartMotion, } from './timeFieldTypes';
23
24
  export { useTimeFieldContext, useOptionalTimeFieldContext, useTimeFieldClassNames, } from './timeFieldContext';
@@ -1,20 +1,33 @@
1
- import { PointerEvent, RefObject } from 'react';
2
- import { TimeFieldVariant } from './timeFieldTypes';
3
- export declare function useTimeFieldShellMotion({ shellRef, disabled, variant, onPointerDown, onPointerEnter, onPointerLeave, }: {
4
- shellRef: RefObject<HTMLFieldSetElement | null>;
1
+ import { MutableRefObject, PointerEvent } from 'react';
2
+ import { TimeFieldMotion, UseTimeFieldShellAnimationsProps } from './timeFieldTypes';
3
+ export declare function resolveTimeFieldMotionDefaults({ isGloss, disabled, }: {
4
+ isGloss: boolean;
5
+ disabled: boolean;
6
+ }): TimeFieldMotion;
7
+ export declare function resolveTimeFieldMotionParams({ disabled, isGloss, pointerInside, }: {
5
8
  disabled: boolean;
6
- variant: TimeFieldVariant;
7
- onPointerDown?: (e: PointerEvent<HTMLFieldSetElement>) => void;
8
- onPointerEnter?: (e: PointerEvent<HTMLFieldSetElement>) => void;
9
- onPointerLeave?: (e: PointerEvent<HTMLFieldSetElement>) => void;
9
+ isGloss: boolean;
10
+ pointerInside: MutableRefObject<boolean>;
10
11
  }): {
12
+ shadowSize: "base";
13
+ hasHoverShadow: boolean;
14
+ isGloss: boolean;
15
+ pointerInside: MutableRefObject<boolean>;
16
+ };
17
+ export declare function useTimeFieldShellAnimations({ shellRef, disabled, variant, motion, pointerInsideRef, onPointerDown, }: UseTimeFieldShellAnimationsProps): {
11
18
  isGloss: boolean;
12
- bindShellRef: (node: HTMLFieldSetElement | null, setShellRef: (node: HTMLFieldSetElement | null) => void) => void;
19
+ bindShellRef: (node: HTMLFieldSetElement | null) => void;
13
20
  shellPointerDown: (e: PointerEvent<HTMLFieldSetElement>) => void;
21
+ shellPointerUp: () => void;
14
22
  shellPointerEnter: (e: PointerEvent<HTMLFieldSetElement>) => void;
15
23
  shellPointerLeave: (e: PointerEvent<HTMLFieldSetElement>) => void;
16
24
  shellFocusCapture: (() => void) | undefined;
17
25
  shellBlurCapture: ((e: React.FocusEvent<HTMLElement>) => void) | undefined;
18
26
  glossShellHoverMotionClass: string;
19
27
  standardShellHoverMotionClass: string;
28
+ glossDisabledAttr: {
29
+ "data-gloss-disabled": string;
30
+ } | {
31
+ "data-gloss-disabled"?: undefined;
32
+ };
20
33
  };
@@ -8,4 +8,11 @@ export declare function TimeFieldClassNamesProvider({ classNames, children, }: T
8
8
  export declare function useTimeFieldContext(): TimeFieldFieldContextValue;
9
9
  export declare function useOptionalTimeFieldContext(): TimeFieldFieldContextValue | null;
10
10
  export declare function useTimeFieldClassNames(): TimeFieldClassNames;
11
+ /** Scope only. Defaults and host play live in `timeFieldAnimations.ts`. */
12
+ export declare const TimeFieldMotionProvider: ({ 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, useTimeFieldMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalTimeFieldMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
11
18
  export { TimeFieldContext };
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
1
+ import { PointerEventHandler, ReactNode } from 'react';
2
2
  import { LabelProps } from '../Label';
3
- import { TimeFieldErrorProps, TimeFieldHintProps, TimeFieldSimpleBodyProps } from './timeFieldTypes';
3
+ import { TimeFieldErrorProps, TimeFieldHintProps, TimeFieldPartMotion, TimeFieldSimpleBodyProps } from './timeFieldTypes';
4
4
  export declare const TimeFieldControl: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLFieldSetElement>, "prefix" | "onChange" | "suffix"> & {
5
5
  value?: string;
6
6
  defaultValue?: string;
@@ -14,7 +14,8 @@ export declare const TimeFieldControl: import('react').ForwardRefExoticComponent
14
14
  prefix?: ReactNode;
15
15
  suffix?: ReactNode;
16
16
  segmentSeparator?: ReactNode;
17
- onPointerDown?: import('react').PointerEventHandler<HTMLFieldSetElement>;
17
+ onPointerDown?: PointerEventHandler<HTMLFieldSetElement>;
18
+ motion?: import('../../..').Prettify<TimeFieldPartMotion>;
18
19
  } & import('react').RefAttributes<HTMLFieldSetElement>>;
19
20
  export declare function TimeFieldLabel({ className, classNames, ...rest }: LabelProps): import("react/jsx-runtime").JSX.Element;
20
21
  export declare namespace TimeFieldLabel {
@@ -1,7 +1,8 @@
1
- import { HTMLAttributes, PointerEventHandler, ReactNode } from 'react';
1
+ import { HTMLAttributes, MutableRefObject, PointerEvent, PointerEventHandler, ReactNode, RefObject } from 'react';
2
2
  import { Prettify } from '../../../utils/prettify';
3
3
  import { ComponentSize } from '../utils/sizeLayout';
4
4
  import { SemanticStatus } from '../utils/semanticStatusIcons';
5
+ import { MotionValue } from '../utils/slotMotion';
5
6
  export type TimeFieldSize = ComponentSize;
6
7
  export type TimeFieldStatus = SemanticStatus;
7
8
  export type TimeFieldVariant = "default" | "outline" | "secondary" | "segmented" | "gloss";
@@ -27,6 +28,20 @@ export type TimeFieldClassNames = {
27
28
  hint?: string;
28
29
  error?: string;
29
30
  };
31
+ export type TimeFieldPartMotion = {
32
+ hoverIn?: MotionValue;
33
+ hoverOut?: MotionValue;
34
+ pressIn?: MotionValue;
35
+ pressOut?: MotionValue;
36
+ enter?: MotionValue;
37
+ leave?: MotionValue;
38
+ };
39
+ export type TimeFieldMotion = {
40
+ shell?: TimeFieldPartMotion;
41
+ prefix?: TimeFieldPartMotion;
42
+ suffix?: TimeFieldPartMotion;
43
+ segments?: TimeFieldPartMotion;
44
+ };
30
45
  export type TimeFieldFieldContextValue = {
31
46
  fieldId: string;
32
47
  labelId: string;
@@ -60,6 +75,8 @@ export type TimeFieldControlProps = Omit<HTMLAttributes<HTMLFieldSetElement>, "o
60
75
  /** Separator between hour/minute/second segments. Default: `":"`. */
61
76
  segmentSeparator?: ReactNode;
62
77
  onPointerDown?: PointerEventHandler<HTMLFieldSetElement>;
78
+ /** Shell part motion. Root `motion.shell` still applies; this wins on the Control host. */
79
+ motion?: Prettify<TimeFieldPartMotion>;
63
80
  };
64
81
  export type TimeFieldProps = Omit<HTMLAttributes<HTMLDivElement>, "prefix" | "suffix"> & {
65
82
  children?: ReactNode;
@@ -82,6 +99,19 @@ export type TimeFieldProps = Omit<HTMLAttributes<HTMLDivElement>, "prefix" | "su
82
99
  /** Separator between hour/minute/second segments. Default: `":"`. */
83
100
  segmentSeparator?: ReactNode;
84
101
  classNames?: Prettify<TimeFieldClassNames>;
102
+ /**
103
+ * Per-slot motion (`shell`, `prefix`, `suffix`, `segments`).
104
+ * Segment spinbuttons are not individual slots.
105
+ */
106
+ motion?: Prettify<TimeFieldMotion>;
107
+ };
108
+ export type UseTimeFieldShellAnimationsProps = {
109
+ shellRef: RefObject<HTMLFieldSetElement | null>;
110
+ disabled: boolean;
111
+ variant: TimeFieldVariant;
112
+ motion?: TimeFieldPartMotion;
113
+ pointerInsideRef: MutableRefObject<boolean>;
114
+ onPointerDown?: (e: PointerEvent<HTMLFieldSetElement>) => void;
85
115
  };
86
116
  export type TimeFieldHintProps = HTMLAttributes<HTMLParagraphElement> & {
87
117
  children?: ReactNode;
@@ -1,8 +1,6 @@
1
1
  import { FocusEvent, FormEvent, KeyboardEvent, MouseEvent, RefObject } from 'react';
2
2
  import { TimeFieldControlProps, TimeFieldSegId } from './timeFieldTypes';
3
- export declare function useTimeFieldControlState({ value: valueProp, defaultValue, onValueChange, format, disabled, size: sizeProp, status: statusProp, variant: variantProp, compact: compactProp, id, onPointerDown, onPointerEnter: onPointerEnterProp, onPointerLeave: onPointerLeaveProp, ref, }: TimeFieldControlProps & {
4
- ref: React.Ref<HTMLFieldSetElement>;
5
- }): {
3
+ export declare function useTimeFieldControlState({ value: valueProp, defaultValue, onValueChange, format, disabled, size: sizeProp, status: statusProp, variant: variantProp, compact: compactProp, id, }: TimeFieldControlProps): {
6
4
  size: import('../utils/sizeLayout').ComponentSize;
7
5
  status: import('../utils/semanticStatusIcons').SemanticStatus;
8
6
  variant: import('./timeFieldTypes').TimeFieldVariant;
@@ -26,18 +24,8 @@ export declare function useTimeFieldControlState({ value: valueProp, defaultValu
26
24
  s: RefObject<HTMLSpanElement | null>;
27
25
  };
28
26
  keyboardInputRef: RefObject<HTMLInputElement | null>;
27
+ shellRef: RefObject<HTMLFieldSetElement | null>;
29
28
  bindShellRef: (node: HTMLFieldSetElement | null) => void;
30
- shellMotion: {
31
- isGloss: boolean;
32
- bindShellRef: (node: HTMLFieldSetElement | null, setShellRef: (node: HTMLFieldSetElement | null) => void) => void;
33
- shellPointerDown: (e: import('react').PointerEvent<HTMLFieldSetElement>) => void;
34
- shellPointerEnter: (e: import('react').PointerEvent<HTMLFieldSetElement>) => void;
35
- shellPointerLeave: (e: import('react').PointerEvent<HTMLFieldSetElement>) => void;
36
- shellFocusCapture: (() => void) | undefined;
37
- shellBlurCapture: ((e: React.FocusEvent<HTMLElement>) => void) | undefined;
38
- glossShellHoverMotionClass: string;
39
- standardShellHoverMotionClass: string;
40
- };
41
29
  shellSurface: string;
42
30
  focusedSeg: TimeFieldSegId | null;
43
31
  handleSegKeyDown: (e: KeyboardEvent<HTMLSpanElement | HTMLInputElement>, seg: TimeFieldSegId) => void;
@@ -1,5 +1,5 @@
1
1
  import { ToastAction, ToastClose, ToastContent, ToastDescription, ToastIndicator, ToastMessage, ToastTitle } from './toastParts';
2
- export type { ToastClassNames, ToastStatus, ToastVariant, ToastPlacement, ToastProviderProps, ToastProps, ToastIndicatorProps, ToastMessageProps, ToastContentProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, AddToastOpts, PromiseToastOpts, ToastContextValue, } from './toastTypes';
2
+ export type { ToastClassNames, ToastStatus, ToastVariant, ToastPlacement, ToastProviderProps, ToastProps, ToastIndicatorProps, ToastMessageProps, ToastContentProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, AddToastOpts, PromiseToastOpts, ToastContextValue, ToastMotion, ToastLifecycleMotion, ToastPartMotion, } from './toastTypes';
3
3
  export { ToastProviderRoot } from './toastProvider';
4
4
  export declare const ToastRoot: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "title"> & {
5
5
  status?: import('./toastTypes').ToastStatus;
@@ -11,5 +11,6 @@ export declare const ToastRoot: import('react').ForwardRefExoticComponent<Omit<i
11
11
  loading?: boolean;
12
12
  onClose?: () => void;
13
13
  classNames?: import('../../..').Prettify<import('./toastTypes').ToastClassNames>;
14
+ motion?: import('../../..').Prettify<import('./toastTypes').ToastMotion>;
14
15
  } & import('react').RefAttributes<HTMLDivElement>>;
15
16
  export { ToastIndicator, ToastMessage, ToastContent, ToastTitle, ToastDescription, ToastAction, ToastClose, };
@@ -9,18 +9,28 @@ export declare const Toast: import('react').ForwardRefExoticComponent<Omit<impor
9
9
  loading?: boolean;
10
10
  onClose?: () => void;
11
11
  classNames?: import('../../..').Prettify<import('./toastTypes').ToastClassNames>;
12
+ motion?: import('../../..').Prettify<import('./toastTypes').ToastMotion>;
12
13
  } & import('react').RefAttributes<HTMLDivElement>> & {
13
14
  Provider: typeof ToastProviderRoot;
14
15
  Message: import('react').ForwardRefExoticComponent<import('./toastTypes').ToastMessageProps & import('react').RefAttributes<HTMLDivElement>>;
15
- Indicator: import('react').ForwardRefExoticComponent<import('./toastTypes').ToastIndicatorProps & import('react').RefAttributes<HTMLSpanElement>>;
16
+ Indicator: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSpanElement> & {
17
+ motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
18
+ } & import('react').RefAttributes<HTMLSpanElement>>;
16
19
  Content: import('react').ForwardRefExoticComponent<import('./toastTypes').ToastContentProps & import('react').RefAttributes<HTMLDivElement>>;
17
- Title: import('react').ForwardRefExoticComponent<import('./toastTypes').ToastTitleProps & import('react').RefAttributes<HTMLDivElement>>;
18
- Description: import('react').ForwardRefExoticComponent<import('./toastTypes').ToastDescriptionProps & import('react').RefAttributes<HTMLDivElement>>;
19
- Action: import('react').ForwardRefExoticComponent<import('./toastTypes').ToastActionProps & import('react').RefAttributes<HTMLDivElement>>;
20
+ Title: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
21
+ motion?: import('../../..').Prettify<import('./toastTypes').ToastPartMotion>;
22
+ } & import('react').RefAttributes<HTMLDivElement>>;
23
+ Description: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
24
+ motion?: import('../../..').Prettify<import('./toastTypes').ToastPartMotion>;
25
+ } & import('react').RefAttributes<HTMLDivElement>>;
26
+ Action: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
27
+ motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
28
+ } & import('react').RefAttributes<HTMLDivElement>>;
20
29
  Close: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
21
30
  "aria-label"?: string;
31
+ motion?: import('../../..').Prettify<import('./toastTypes').ToastLifecycleMotion>;
22
32
  } & import('react').RefAttributes<HTMLButtonElement>>;
23
33
  };
24
34
  export { ToastContext, useToastContext, useToastClassNames } from './toastContext';
25
35
  export { useToast } from './useToast';
26
- export type { ToastClassNames, ToastStatus, ToastPlacement, ToastProviderProps, ToastProps, ToastIndicatorProps, ToastMessageProps, ToastContentProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, AddToastOpts, PromiseToastOpts, ToastVariant, ToastSize, ToastContextValue, } from './toastTypes';
36
+ export type { ToastClassNames, ToastStatus, ToastPlacement, ToastProviderProps, ToastProps, ToastIndicatorProps, ToastMessageProps, ToastContentProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, AddToastOpts, PromiseToastOpts, ToastVariant, ToastSize, ToastContextValue, ToastMotion, ToastLifecycleMotion, ToastPartMotion, } from './toastTypes';
@@ -1,3 +1,16 @@
1
- import { ToastItemWrapperProps, ToastViewportProps } from './toastTypes';
2
- export declare function ToastItemWrapper({ entry, reverseIdx, total, isTop, isDismissing, onDismiss, onRemoveFinal, onHeightChange, providerClassNames, }: ToastItemWrapperProps): import("react/jsx-runtime").JSX.Element;
3
- export declare function ToastViewport({ placement, sorted, dismissingIds, onDismiss, onRemoveFinal, classNames, defaultSize, }: ToastViewportProps): import("react/jsx-runtime").JSX.Element;
1
+ import { ToastItemWrapperProps, ToastMotion, ToastViewportProps } from './toastTypes';
2
+ /**
3
+ * Slot motion for Toast — look here first.
4
+ *
5
+ * DOM slots: `root` (enter/leave surface), `indicator`, `title`, `description`,
6
+ * `action`, `close`. `message` / `content` are `display: contents`. Stack peek,
7
+ * viewport height and scrim stay kit-internal.
8
+ *
9
+ * Host: `ToastItemWrapper` plays `enter` / `leave` on `root` and broadcasts
10
+ * nested slots. Defaults wrap the item host (`TOAST_MOTION_DEFAULTS`).
11
+ * `Toast.Provider` / `add().motion` pass the map (like Dialog root).
12
+ */
13
+ export declare const TOAST_MOTION_HOST_SLOTS: readonly ["root"];
14
+ export declare const TOAST_MOTION_DEFAULTS: ToastMotion;
15
+ export declare function ToastItemWrapper({ entry, reverseIdx, total, isTop, isDismissing, onDismiss, onRemoveFinal, onHeightChange, providerClassNames, providerMotion, }: ToastItemWrapperProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function ToastViewport({ placement, sorted, dismissingIds, onDismiss, onRemoveFinal, classNames, motion, defaultSize, }: ToastViewportProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,13 @@
1
1
  import { ToastClassNames, ToastClassNamesProviderProps, ToastContextValue, ToastItemContextValue } from './toastTypes';
2
2
  declare const ToastContext: import('react').Context<ToastContextValue | null>;
3
3
  declare const ToastItemContext: import('react').Context<ToastItemContextValue | null>;
4
+ /** Scope only. Defaults and host play live in `toastAnimations.tsx`. */
5
+ export declare const ToastMotionProvider: ({ motion, defaults, params, children, }: {
6
+ motion?: import('../utils/slotMotion').MotionSlotMap;
7
+ defaults?: import('../utils/slotMotion').MotionSlotMap;
8
+ params?: import('../utils/slotMotion').MotionRecipeParams;
9
+ children: import('react').ReactNode;
10
+ }) => import("react/jsx-runtime").JSX.Element, useToastMotionScope: () => import('../utils/slotMotion').MotionScopeValue, useOptionalToastMotionScope: () => import('../utils/slotMotion').MotionScopeValue | null;
4
11
  export declare function ToastClassNamesProvider({ classNames, children, }: ToastClassNamesProviderProps): import("react/jsx-runtime").JSX.Element;
5
12
  export declare function ToastItemProvider({ value, children, }: {
6
13
  value: ToastItemContextValue;