@knitui/components 0.14.0 → 1.0.0

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 (956) hide show
  1. package/README.md +2 -2
  2. package/lib/commonjs/Accordion/Accordion.js +78 -96
  3. package/lib/commonjs/Accordion/Accordion.js.map +1 -1
  4. package/lib/commonjs/ActionIcon/ActionIcon.js +127 -61
  5. package/lib/commonjs/ActionIcon/ActionIcon.js.map +1 -1
  6. package/lib/commonjs/Affix/Affix.js +16 -20
  7. package/lib/commonjs/Affix/Affix.js.map +1 -1
  8. package/lib/commonjs/Alert/Alert.js +53 -53
  9. package/lib/commonjs/Alert/Alert.js.map +1 -1
  10. package/lib/commonjs/Anchor/Anchor.js +12 -15
  11. package/lib/commonjs/Anchor/Anchor.js.map +1 -1
  12. package/lib/commonjs/AngleSlider/AngleSlider.js +65 -37
  13. package/lib/commonjs/AngleSlider/AngleSlider.js.map +1 -1
  14. package/lib/commonjs/AspectRatio/AspectRatio.js +12 -15
  15. package/lib/commonjs/AspectRatio/AspectRatio.js.map +1 -1
  16. package/lib/commonjs/Autocomplete/Autocomplete.js +7 -3
  17. package/lib/commonjs/Autocomplete/Autocomplete.js.map +1 -1
  18. package/lib/commonjs/Avatar/Avatar.js +27 -24
  19. package/lib/commonjs/Avatar/Avatar.js.map +1 -1
  20. package/lib/commonjs/BackgroundImage/BackgroundImage.js +15 -6
  21. package/lib/commonjs/BackgroundImage/BackgroundImage.js.map +1 -1
  22. package/lib/commonjs/Badge/Badge.js +59 -48
  23. package/lib/commonjs/Badge/Badge.js.map +1 -1
  24. package/lib/commonjs/Blockquote/Blockquote.js +80 -79
  25. package/lib/commonjs/Blockquote/Blockquote.js.map +1 -1
  26. package/lib/commonjs/Box/Box.js +2 -2
  27. package/lib/commonjs/Box/Box.js.map +1 -1
  28. package/lib/commonjs/Breadcrumbs/Breadcrumbs.js +9 -9
  29. package/lib/commonjs/Breadcrumbs/Breadcrumbs.js.map +1 -1
  30. package/lib/commonjs/Burger/Burger.js +31 -20
  31. package/lib/commonjs/Burger/Burger.js.map +1 -1
  32. package/lib/commonjs/Button/Button.js +104 -62
  33. package/lib/commonjs/Button/Button.js.map +1 -1
  34. package/lib/commonjs/Card/Card.js +49 -37
  35. package/lib/commonjs/Card/Card.js.map +1 -1
  36. package/lib/commonjs/Center/Center.js +2 -2
  37. package/lib/commonjs/Center/Center.js.map +1 -1
  38. package/lib/commonjs/Checkbox/CheckIcon.js +5 -4
  39. package/lib/commonjs/Checkbox/CheckIcon.js.map +1 -1
  40. package/lib/commonjs/Checkbox/Checkbox.js +98 -68
  41. package/lib/commonjs/Checkbox/Checkbox.js.map +1 -1
  42. package/lib/commonjs/Chip/Chip.js +34 -67
  43. package/lib/commonjs/Chip/Chip.js.map +1 -1
  44. package/lib/commonjs/CloseButton/CloseButton.js +11 -4
  45. package/lib/commonjs/CloseButton/CloseButton.js.map +1 -1
  46. package/lib/commonjs/Code/Code.js +14 -10
  47. package/lib/commonjs/Code/Code.js.map +1 -1
  48. package/lib/commonjs/Collapse/Collapse.js +10 -4
  49. package/lib/commonjs/Collapse/Collapse.js.map +1 -1
  50. package/lib/commonjs/ColorInput/ColorInput.js +25 -20
  51. package/lib/commonjs/ColorInput/ColorInput.js.map +1 -1
  52. package/lib/commonjs/ColorPicker/ColorPicker.js +95 -83
  53. package/lib/commonjs/ColorPicker/ColorPicker.js.map +1 -1
  54. package/lib/commonjs/ColorSwatch/ColorSwatch.js +12 -14
  55. package/lib/commonjs/ColorSwatch/ColorSwatch.js.map +1 -1
  56. package/lib/commonjs/Combobox/Combobox.js +194 -187
  57. package/lib/commonjs/Combobox/Combobox.js.map +1 -1
  58. package/lib/commonjs/Combobox/OptionsDropdown.js +12 -6
  59. package/lib/commonjs/Combobox/OptionsDropdown.js.map +1 -1
  60. package/lib/commonjs/Combobox/index.js +6 -0
  61. package/lib/commonjs/Combobox/index.js.map +1 -1
  62. package/lib/commonjs/Container/Container.js +12 -19
  63. package/lib/commonjs/Container/Container.js.map +1 -1
  64. package/lib/commonjs/Dialog/Dialog.js +15 -14
  65. package/lib/commonjs/Dialog/Dialog.js.map +1 -1
  66. package/lib/commonjs/Drawer/Drawer.js +51 -32
  67. package/lib/commonjs/Drawer/Drawer.js.map +1 -1
  68. package/lib/commonjs/Fieldset/Fieldset.js +26 -18
  69. package/lib/commonjs/Fieldset/Fieldset.js.map +1 -1
  70. package/lib/commonjs/FileButton/FileButton.js +5 -3
  71. package/lib/commonjs/FileButton/FileButton.js.map +1 -1
  72. package/lib/commonjs/Flex/Flex.js +24 -27
  73. package/lib/commonjs/Flex/Flex.js.map +1 -1
  74. package/lib/commonjs/FocusTrap/FocusTrap.js +4 -3
  75. package/lib/commonjs/FocusTrap/FocusTrap.js.map +1 -1
  76. package/lib/commonjs/Grid/Grid.js +21 -18
  77. package/lib/commonjs/Grid/Grid.js.map +1 -1
  78. package/lib/commonjs/Group/Group.js +3 -3
  79. package/lib/commonjs/Group/Group.js.map +1 -1
  80. package/lib/commonjs/Highlight/Highlight.js +2 -1
  81. package/lib/commonjs/Highlight/Highlight.js.map +1 -1
  82. package/lib/commonjs/HoverCard/HoverCard.js +6 -23
  83. package/lib/commonjs/HoverCard/HoverCard.js.map +1 -1
  84. package/lib/commonjs/Image/Image.native.js +1 -1
  85. package/lib/commonjs/Image/createImage.js +88 -56
  86. package/lib/commonjs/Image/createImage.js.map +1 -1
  87. package/lib/commonjs/Indicator/Indicator.js +36 -29
  88. package/lib/commonjs/Indicator/Indicator.js.map +1 -1
  89. package/lib/commonjs/Input/Input.js +87 -119
  90. package/lib/commonjs/Input/Input.js.map +1 -1
  91. package/lib/commonjs/Input/Input.native.js +40 -30
  92. package/lib/commonjs/Input/Input.native.js.map +1 -1
  93. package/lib/commonjs/Input/shared.js +148 -225
  94. package/lib/commonjs/Input/shared.js.map +1 -1
  95. package/lib/commonjs/InputBase/InputBase.js +2 -1
  96. package/lib/commonjs/InputBase/InputBase.js.map +1 -1
  97. package/lib/commonjs/Kbd/Kbd.js +12 -18
  98. package/lib/commonjs/Kbd/Kbd.js.map +1 -1
  99. package/lib/commonjs/KeyboardAvoidingView/KeyboardAvoidingView.native.js +2 -2
  100. package/lib/commonjs/KeyboardAvoidingView/KeyboardAvoidingView.native.js.map +1 -1
  101. package/lib/commonjs/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js +1 -1
  102. package/lib/commonjs/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js.map +1 -1
  103. package/lib/commonjs/List/List.js +10 -10
  104. package/lib/commonjs/List/List.js.map +1 -1
  105. package/lib/commonjs/Loader/Loader.js +31 -37
  106. package/lib/commonjs/Loader/Loader.js.map +1 -1
  107. package/lib/commonjs/LoadingOverlay/LoadingOverlay.js +2 -1
  108. package/lib/commonjs/LoadingOverlay/LoadingOverlay.js.map +1 -1
  109. package/lib/commonjs/Mark/Mark.js +12 -15
  110. package/lib/commonjs/Mark/Mark.js.map +1 -1
  111. package/lib/commonjs/Marquee/Marquee.js +66 -48
  112. package/lib/commonjs/Marquee/Marquee.js.map +1 -1
  113. package/lib/commonjs/MaskInput/MaskInput.js +2 -1
  114. package/lib/commonjs/MaskInput/MaskInput.js.map +1 -1
  115. package/lib/commonjs/Menu/Menu.js +84 -48
  116. package/lib/commonjs/Menu/Menu.js.map +1 -1
  117. package/lib/commonjs/Modal/Modal.js +34 -30
  118. package/lib/commonjs/Modal/Modal.js.map +1 -1
  119. package/lib/commonjs/Modal/drag/DragDismissHost.web.js +10 -6
  120. package/lib/commonjs/Modal/drag/DragDismissHost.web.js.map +1 -1
  121. package/lib/commonjs/Modal/drag/DragDismissOverlay.web.js +6 -8
  122. package/lib/commonjs/Modal/drag/DragDismissOverlay.web.js.map +1 -1
  123. package/lib/commonjs/Modal/drag/index.js.map +1 -1
  124. package/lib/commonjs/Modal/modal-base-inner.js +1 -1
  125. package/lib/commonjs/Modal/modal-base-inner.js.map +1 -1
  126. package/lib/commonjs/Modal/modal-base-inner.native.js +3 -2
  127. package/lib/commonjs/Modal/modal-base-inner.native.js.map +1 -1
  128. package/lib/commonjs/Modal/modal-base.js +22 -9
  129. package/lib/commonjs/Modal/modal-base.js.map +1 -1
  130. package/lib/commonjs/MultiSelect/MultiSelect.js +6 -2
  131. package/lib/commonjs/MultiSelect/MultiSelect.js.map +1 -1
  132. package/lib/commonjs/NativeSelect/NativeSelect.js +25 -30
  133. package/lib/commonjs/NativeSelect/NativeSelect.js.map +1 -1
  134. package/lib/commonjs/NavLink/NavLink.js +63 -58
  135. package/lib/commonjs/NavLink/NavLink.js.map +1 -1
  136. package/lib/commonjs/Notification/Notification.js +28 -28
  137. package/lib/commonjs/Notification/Notification.js.map +1 -1
  138. package/lib/commonjs/NumberFormatter/NumberFormatter.js +2 -2
  139. package/lib/commonjs/NumberFormatter/NumberFormatter.js.map +1 -1
  140. package/lib/commonjs/NumberInput/NumberInput.js +46 -43
  141. package/lib/commonjs/NumberInput/NumberInput.js.map +1 -1
  142. package/lib/commonjs/Overlay/Overlay.js +18 -11
  143. package/lib/commonjs/Overlay/Overlay.js.map +1 -1
  144. package/lib/commonjs/Pagination/Pagination.js +125 -120
  145. package/lib/commonjs/Pagination/Pagination.js.map +1 -1
  146. package/lib/commonjs/Paper/Paper.js +7 -8
  147. package/lib/commonjs/Paper/Paper.js.map +1 -1
  148. package/lib/commonjs/Paragraph/Paragraph.js +7 -10
  149. package/lib/commonjs/Paragraph/Paragraph.js.map +1 -1
  150. package/lib/commonjs/PasswordInput/PasswordInput.js +3 -3
  151. package/lib/commonjs/PasswordInput/PasswordInput.js.map +1 -1
  152. package/lib/commonjs/Pill/Pill.js +39 -33
  153. package/lib/commonjs/Pill/Pill.js.map +1 -1
  154. package/lib/commonjs/PillsInput/PillsInput.js +58 -31
  155. package/lib/commonjs/PillsInput/PillsInput.js.map +1 -1
  156. package/lib/commonjs/PinInput/PinInput.js +26 -20
  157. package/lib/commonjs/PinInput/PinInput.js.map +1 -1
  158. package/lib/commonjs/Popover/Popover.native.js +6 -2
  159. package/lib/commonjs/Popover/Popover.native.js.map +1 -1
  160. package/lib/commonjs/Popover/Popover.shared.js +33 -22
  161. package/lib/commonjs/Popover/Popover.shared.js.map +1 -1
  162. package/lib/commonjs/Progress/Progress.js +37 -26
  163. package/lib/commonjs/Progress/Progress.js.map +1 -1
  164. package/lib/commonjs/Radio/Radio.js +81 -93
  165. package/lib/commonjs/Radio/Radio.js.map +1 -1
  166. package/lib/commonjs/Radio/RadioIcon.js +4 -6
  167. package/lib/commonjs/Radio/RadioIcon.js.map +1 -1
  168. package/lib/commonjs/Rating/Rating.js +48 -38
  169. package/lib/commonjs/Rating/Rating.js.map +1 -1
  170. package/lib/commonjs/RollingNumber/RollingNumber.js +48 -24
  171. package/lib/commonjs/RollingNumber/RollingNumber.js.map +1 -1
  172. package/lib/commonjs/ScrollArea/ScrollArea.js +40 -37
  173. package/lib/commonjs/ScrollArea/ScrollArea.js.map +1 -1
  174. package/lib/commonjs/ScrollArea/ScrollArea.native.js +21 -26
  175. package/lib/commonjs/ScrollArea/ScrollArea.native.js.map +1 -1
  176. package/lib/commonjs/SegmentedControl/SegmentedControl.js +106 -55
  177. package/lib/commonjs/SegmentedControl/SegmentedControl.js.map +1 -1
  178. package/lib/commonjs/Select/Select.js +7 -3
  179. package/lib/commonjs/Select/Select.js.map +1 -1
  180. package/lib/commonjs/Separator/Separator.js +47 -39
  181. package/lib/commonjs/Separator/Separator.js.map +1 -1
  182. package/lib/commonjs/SimpleGrid/SimpleGrid.js +12 -14
  183. package/lib/commonjs/SimpleGrid/SimpleGrid.js.map +1 -1
  184. package/lib/commonjs/Skeleton/Skeleton.js +39 -24
  185. package/lib/commonjs/Skeleton/Skeleton.js.map +1 -1
  186. package/lib/commonjs/Slider/Slider.js +308 -257
  187. package/lib/commonjs/Slider/Slider.js.map +1 -1
  188. package/lib/commonjs/Spacer/Spacer.js +15 -29
  189. package/lib/commonjs/Spacer/Spacer.js.map +1 -1
  190. package/lib/commonjs/Spoiler/Spoiler.js +16 -16
  191. package/lib/commonjs/Spoiler/Spoiler.js.map +1 -1
  192. package/lib/commonjs/Stack/Stack.js +3 -3
  193. package/lib/commonjs/Stack/Stack.js.map +1 -1
  194. package/lib/commonjs/Stepper/Stepper.js +96 -71
  195. package/lib/commonjs/Stepper/Stepper.js.map +1 -1
  196. package/lib/commonjs/Switch/Switch.js +71 -67
  197. package/lib/commonjs/Switch/Switch.js.map +1 -1
  198. package/lib/commonjs/Table/Table.js +96 -82
  199. package/lib/commonjs/Table/Table.js.map +1 -1
  200. package/lib/commonjs/TableOfContents/TableOfContents.js +94 -95
  201. package/lib/commonjs/TableOfContents/TableOfContents.js.map +1 -1
  202. package/lib/commonjs/Tabs/Tabs.js +71 -73
  203. package/lib/commonjs/Tabs/Tabs.js.map +1 -1
  204. package/lib/commonjs/TagsInput/TagsInput.js +19 -3
  205. package/lib/commonjs/TagsInput/TagsInput.js.map +1 -1
  206. package/lib/commonjs/Text/Text.js +29 -14
  207. package/lib/commonjs/Text/Text.js.map +1 -1
  208. package/lib/commonjs/TextInput/TextInput.js +2 -1
  209. package/lib/commonjs/TextInput/TextInput.js.map +1 -1
  210. package/lib/commonjs/Textarea/Textarea.js +1 -1
  211. package/lib/commonjs/Textarea/Textarea.js.map +1 -1
  212. package/lib/commonjs/ThemeIcon/ThemeIcon.js +9 -5
  213. package/lib/commonjs/ThemeIcon/ThemeIcon.js.map +1 -1
  214. package/lib/commonjs/Title/Title.js +49 -32
  215. package/lib/commonjs/Title/Title.js.map +1 -1
  216. package/lib/commonjs/Tooltip/Tooltip.js +43 -27
  217. package/lib/commonjs/Tooltip/Tooltip.js.map +1 -1
  218. package/lib/commonjs/Transition/Transition.native.js +11 -10
  219. package/lib/commonjs/Transition/Transition.native.js.map +1 -1
  220. package/lib/commonjs/Transition/use-overlay-transition.native.js +2 -5
  221. package/lib/commonjs/Transition/use-overlay-transition.native.js.map +1 -1
  222. package/lib/commonjs/Tree/Tree.js +30 -34
  223. package/lib/commonjs/Tree/Tree.js.map +1 -1
  224. package/lib/commonjs/TreeSelect/TreeSelect.js +50 -26
  225. package/lib/commonjs/TreeSelect/TreeSelect.js.map +1 -1
  226. package/lib/commonjs/Typography/Typography.js +5 -7
  227. package/lib/commonjs/Typography/Typography.js.map +1 -1
  228. package/lib/commonjs/UnstyledButton/UnstyledButton.js +4 -4
  229. package/lib/commonjs/UnstyledButton/UnstyledButton.js.map +1 -1
  230. package/lib/commonjs/VirtualList/VirtualList.js +23 -7
  231. package/lib/commonjs/VirtualList/VirtualList.js.map +1 -1
  232. package/lib/commonjs/VisuallyHidden/VisuallyHidden.js +7 -10
  233. package/lib/commonjs/VisuallyHidden/VisuallyHidden.js.map +1 -1
  234. package/lib/commonjs/control-system.js +7 -0
  235. package/lib/commonjs/control-system.js.map +1 -1
  236. package/lib/commonjs/index.js +6 -0
  237. package/lib/commonjs/index.js.map +1 -1
  238. package/lib/commonjs/internal/ControlIconProvider.js +1 -1
  239. package/lib/commonjs/internal/ControlIconProvider.js.map +1 -1
  240. package/lib/commonjs/internal/InlineControl.js +24 -29
  241. package/lib/commonjs/internal/InlineControl.js.map +1 -1
  242. package/lib/commonjs/internal/collapse-box.js +12 -10
  243. package/lib/commonjs/internal/collapse-box.js.map +1 -1
  244. package/lib/commonjs/internal/control-icon-size.js +5 -8
  245. package/lib/commonjs/internal/control-icon-size.js.map +1 -1
  246. package/lib/commonjs/internal/control-metrics.js +51 -51
  247. package/lib/commonjs/internal/control-metrics.js.map +1 -1
  248. package/lib/commonjs/internal/floating-arrow.js +43 -29
  249. package/lib/commonjs/internal/floating-arrow.js.map +1 -1
  250. package/lib/commonjs/internal/focus-ring.js +99 -0
  251. package/lib/commonjs/internal/focus-ring.js.map +1 -0
  252. package/lib/commonjs/internal/gradient-shared.js +7 -7
  253. package/lib/commonjs/internal/gradient-shared.js.map +1 -1
  254. package/lib/commonjs/internal/gradient.native.js +1 -1
  255. package/lib/commonjs/internal/motion.js +247 -359
  256. package/lib/commonjs/internal/motion.js.map +1 -1
  257. package/lib/commonjs/internal/resolve-theme-color.js +10 -10
  258. package/lib/commonjs/internal/resolve-theme-color.js.map +1 -1
  259. package/lib/commonjs/internal/style-props.js +510 -464
  260. package/lib/commonjs/internal/style-props.js.map +1 -1
  261. package/lib/commonjs/internal/theme-color-web.js +44 -26
  262. package/lib/commonjs/internal/theme-color-web.js.map +1 -1
  263. package/lib/commonjs/internal/use-icon-color.js +1 -1
  264. package/lib/commonjs/internal/use-icon-color.native.js +1 -1
  265. package/lib/commonjs/internal/use-slot-text-wrapper.js +1 -1
  266. package/lib/commonjs/internal/variant-colors.js +163 -229
  267. package/lib/commonjs/internal/variant-colors.js.map +1 -1
  268. package/lib/module/Accordion/Accordion.js +80 -98
  269. package/lib/module/Accordion/Accordion.js.map +1 -1
  270. package/lib/module/ActionIcon/ActionIcon.js +128 -62
  271. package/lib/module/ActionIcon/ActionIcon.js.map +1 -1
  272. package/lib/module/Affix/Affix.js +17 -21
  273. package/lib/module/Affix/Affix.js.map +1 -1
  274. package/lib/module/Alert/Alert.js +54 -54
  275. package/lib/module/Alert/Alert.js.map +1 -1
  276. package/lib/module/Anchor/Anchor.js +13 -16
  277. package/lib/module/Anchor/Anchor.js.map +1 -1
  278. package/lib/module/AngleSlider/AngleSlider.js +66 -38
  279. package/lib/module/AngleSlider/AngleSlider.js.map +1 -1
  280. package/lib/module/AspectRatio/AspectRatio.js +10 -14
  281. package/lib/module/AspectRatio/AspectRatio.js.map +1 -1
  282. package/lib/module/Autocomplete/Autocomplete.js +8 -4
  283. package/lib/module/Autocomplete/Autocomplete.js.map +1 -1
  284. package/lib/module/Avatar/Avatar.js +29 -26
  285. package/lib/module/Avatar/Avatar.js.map +1 -1
  286. package/lib/module/BackgroundImage/BackgroundImage.js +16 -7
  287. package/lib/module/BackgroundImage/BackgroundImage.js.map +1 -1
  288. package/lib/module/Badge/Badge.js +61 -50
  289. package/lib/module/Badge/Badge.js.map +1 -1
  290. package/lib/module/Blockquote/Blockquote.js +82 -81
  291. package/lib/module/Blockquote/Blockquote.js.map +1 -1
  292. package/lib/module/Box/Box.js +2 -2
  293. package/lib/module/Box/Box.js.map +1 -1
  294. package/lib/module/Breadcrumbs/Breadcrumbs.js +10 -10
  295. package/lib/module/Breadcrumbs/Breadcrumbs.js.map +1 -1
  296. package/lib/module/Burger/Burger.js +32 -21
  297. package/lib/module/Burger/Burger.js.map +1 -1
  298. package/lib/module/Button/Button.js +105 -63
  299. package/lib/module/Button/Button.js.map +1 -1
  300. package/lib/module/Card/Card.js +51 -39
  301. package/lib/module/Card/Card.js.map +1 -1
  302. package/lib/module/Center/Center.js +3 -3
  303. package/lib/module/Center/Center.js.map +1 -1
  304. package/lib/module/Checkbox/CheckIcon.js +5 -4
  305. package/lib/module/Checkbox/CheckIcon.js.map +1 -1
  306. package/lib/module/Checkbox/Checkbox.js +100 -70
  307. package/lib/module/Checkbox/Checkbox.js.map +1 -1
  308. package/lib/module/Chip/Chip.js +35 -68
  309. package/lib/module/Chip/Chip.js.map +1 -1
  310. package/lib/module/CloseButton/CloseButton.js +12 -5
  311. package/lib/module/CloseButton/CloseButton.js.map +1 -1
  312. package/lib/module/Code/Code.js +15 -11
  313. package/lib/module/Code/Code.js.map +1 -1
  314. package/lib/module/Collapse/Collapse.js +11 -5
  315. package/lib/module/Collapse/Collapse.js.map +1 -1
  316. package/lib/module/ColorInput/ColorInput.js +26 -21
  317. package/lib/module/ColorInput/ColorInput.js.map +1 -1
  318. package/lib/module/ColorPicker/ColorPicker.js +96 -84
  319. package/lib/module/ColorPicker/ColorPicker.js.map +1 -1
  320. package/lib/module/ColorSwatch/ColorSwatch.js +13 -15
  321. package/lib/module/ColorSwatch/ColorSwatch.js.map +1 -1
  322. package/lib/module/Combobox/Combobox.js +194 -188
  323. package/lib/module/Combobox/Combobox.js.map +1 -1
  324. package/lib/module/Combobox/OptionsDropdown.js +13 -7
  325. package/lib/module/Combobox/OptionsDropdown.js.map +1 -1
  326. package/lib/module/Combobox/index.js +1 -1
  327. package/lib/module/Combobox/index.js.map +1 -1
  328. package/lib/module/Container/Container.js +12 -19
  329. package/lib/module/Container/Container.js.map +1 -1
  330. package/lib/module/Dialog/Dialog.js +16 -15
  331. package/lib/module/Dialog/Dialog.js.map +1 -1
  332. package/lib/module/Drawer/Drawer.js +53 -34
  333. package/lib/module/Drawer/Drawer.js.map +1 -1
  334. package/lib/module/Fieldset/Fieldset.js +27 -19
  335. package/lib/module/Fieldset/Fieldset.js.map +1 -1
  336. package/lib/module/FileButton/FileButton.js +5 -3
  337. package/lib/module/FileButton/FileButton.js.map +1 -1
  338. package/lib/module/Flex/Flex.js +24 -28
  339. package/lib/module/Flex/Flex.js.map +1 -1
  340. package/lib/module/FocusTrap/FocusTrap.js +4 -3
  341. package/lib/module/FocusTrap/FocusTrap.js.map +1 -1
  342. package/lib/module/Grid/Grid.js +22 -19
  343. package/lib/module/Grid/Grid.js.map +1 -1
  344. package/lib/module/Group/Group.js +4 -4
  345. package/lib/module/Group/Group.js.map +1 -1
  346. package/lib/module/Highlight/Highlight.js +2 -1
  347. package/lib/module/Highlight/Highlight.js.map +1 -1
  348. package/lib/module/HoverCard/HoverCard.js +8 -25
  349. package/lib/module/HoverCard/HoverCard.js.map +1 -1
  350. package/lib/module/Image/Image.native.js +1 -1
  351. package/lib/module/Image/createImage.js +88 -56
  352. package/lib/module/Image/createImage.js.map +1 -1
  353. package/lib/module/Indicator/Indicator.js +37 -30
  354. package/lib/module/Indicator/Indicator.js.map +1 -1
  355. package/lib/module/Input/Input.js +89 -121
  356. package/lib/module/Input/Input.js.map +1 -1
  357. package/lib/module/Input/Input.native.js +42 -32
  358. package/lib/module/Input/Input.native.js.map +1 -1
  359. package/lib/module/Input/shared.js +148 -225
  360. package/lib/module/Input/shared.js.map +1 -1
  361. package/lib/module/InputBase/InputBase.js +2 -1
  362. package/lib/module/InputBase/InputBase.js.map +1 -1
  363. package/lib/module/Kbd/Kbd.js +12 -18
  364. package/lib/module/Kbd/Kbd.js.map +1 -1
  365. package/lib/module/KeyboardAvoidingView/KeyboardAvoidingView.native.js +2 -2
  366. package/lib/module/KeyboardAvoidingView/KeyboardAvoidingView.native.js.map +1 -1
  367. package/lib/module/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js +1 -1
  368. package/lib/module/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js.map +1 -1
  369. package/lib/module/List/List.js +11 -11
  370. package/lib/module/List/List.js.map +1 -1
  371. package/lib/module/Loader/Loader.js +33 -39
  372. package/lib/module/Loader/Loader.js.map +1 -1
  373. package/lib/module/LoadingOverlay/LoadingOverlay.js +2 -1
  374. package/lib/module/LoadingOverlay/LoadingOverlay.js.map +1 -1
  375. package/lib/module/Mark/Mark.js +11 -15
  376. package/lib/module/Mark/Mark.js.map +1 -1
  377. package/lib/module/Marquee/Marquee.js +66 -48
  378. package/lib/module/Marquee/Marquee.js.map +1 -1
  379. package/lib/module/MaskInput/MaskInput.js +2 -1
  380. package/lib/module/MaskInput/MaskInput.js.map +1 -1
  381. package/lib/module/Menu/Menu.js +86 -50
  382. package/lib/module/Menu/Menu.js.map +1 -1
  383. package/lib/module/Modal/Modal.js +35 -31
  384. package/lib/module/Modal/Modal.js.map +1 -1
  385. package/lib/module/Modal/drag/DragDismissHost.web.js +10 -6
  386. package/lib/module/Modal/drag/DragDismissHost.web.js.map +1 -1
  387. package/lib/module/Modal/drag/DragDismissOverlay.web.js +6 -8
  388. package/lib/module/Modal/drag/DragDismissOverlay.web.js.map +1 -1
  389. package/lib/module/Modal/drag/index.js +1 -1
  390. package/lib/module/Modal/drag/index.js.map +1 -1
  391. package/lib/module/Modal/modal-base-inner.js +1 -1
  392. package/lib/module/Modal/modal-base-inner.js.map +1 -1
  393. package/lib/module/Modal/modal-base-inner.native.js +3 -2
  394. package/lib/module/Modal/modal-base-inner.native.js.map +1 -1
  395. package/lib/module/Modal/modal-base.js +22 -9
  396. package/lib/module/Modal/modal-base.js.map +1 -1
  397. package/lib/module/MultiSelect/MultiSelect.js +7 -3
  398. package/lib/module/MultiSelect/MultiSelect.js.map +1 -1
  399. package/lib/module/NativeSelect/NativeSelect.js +26 -31
  400. package/lib/module/NativeSelect/NativeSelect.js.map +1 -1
  401. package/lib/module/NavLink/NavLink.js +64 -59
  402. package/lib/module/NavLink/NavLink.js.map +1 -1
  403. package/lib/module/Notification/Notification.js +29 -29
  404. package/lib/module/Notification/Notification.js.map +1 -1
  405. package/lib/module/NumberFormatter/NumberFormatter.js +3 -3
  406. package/lib/module/NumberFormatter/NumberFormatter.js.map +1 -1
  407. package/lib/module/NumberInput/NumberInput.js +49 -46
  408. package/lib/module/NumberInput/NumberInput.js.map +1 -1
  409. package/lib/module/Overlay/Overlay.js +19 -12
  410. package/lib/module/Overlay/Overlay.js.map +1 -1
  411. package/lib/module/Pagination/Pagination.js +127 -122
  412. package/lib/module/Pagination/Pagination.js.map +1 -1
  413. package/lib/module/Paper/Paper.js +8 -9
  414. package/lib/module/Paper/Paper.js.map +1 -1
  415. package/lib/module/Paragraph/Paragraph.js +6 -10
  416. package/lib/module/Paragraph/Paragraph.js.map +1 -1
  417. package/lib/module/PasswordInput/PasswordInput.js +4 -4
  418. package/lib/module/PasswordInput/PasswordInput.js.map +1 -1
  419. package/lib/module/Pill/Pill.js +40 -34
  420. package/lib/module/Pill/Pill.js.map +1 -1
  421. package/lib/module/PillsInput/PillsInput.js +59 -32
  422. package/lib/module/PillsInput/PillsInput.js.map +1 -1
  423. package/lib/module/PinInput/PinInput.js +27 -21
  424. package/lib/module/PinInput/PinInput.js.map +1 -1
  425. package/lib/module/Popover/Popover.native.js +6 -2
  426. package/lib/module/Popover/Popover.native.js.map +1 -1
  427. package/lib/module/Popover/Popover.shared.js +34 -23
  428. package/lib/module/Popover/Popover.shared.js.map +1 -1
  429. package/lib/module/Progress/Progress.js +39 -28
  430. package/lib/module/Progress/Progress.js.map +1 -1
  431. package/lib/module/Radio/Radio.js +83 -95
  432. package/lib/module/Radio/Radio.js.map +1 -1
  433. package/lib/module/Radio/RadioIcon.js +4 -6
  434. package/lib/module/Radio/RadioIcon.js.map +1 -1
  435. package/lib/module/Rating/Rating.js +50 -40
  436. package/lib/module/Rating/Rating.js.map +1 -1
  437. package/lib/module/RollingNumber/RollingNumber.js +49 -25
  438. package/lib/module/RollingNumber/RollingNumber.js.map +1 -1
  439. package/lib/module/ScrollArea/ScrollArea.js +41 -38
  440. package/lib/module/ScrollArea/ScrollArea.js.map +1 -1
  441. package/lib/module/ScrollArea/ScrollArea.native.js +22 -27
  442. package/lib/module/ScrollArea/ScrollArea.native.js.map +1 -1
  443. package/lib/module/SegmentedControl/SegmentedControl.js +108 -57
  444. package/lib/module/SegmentedControl/SegmentedControl.js.map +1 -1
  445. package/lib/module/Select/Select.js +8 -4
  446. package/lib/module/Select/Select.js.map +1 -1
  447. package/lib/module/Separator/Separator.js +49 -41
  448. package/lib/module/Separator/Separator.js.map +1 -1
  449. package/lib/module/SimpleGrid/SimpleGrid.js +14 -16
  450. package/lib/module/SimpleGrid/SimpleGrid.js.map +1 -1
  451. package/lib/module/Skeleton/Skeleton.js +40 -25
  452. package/lib/module/Skeleton/Skeleton.js.map +1 -1
  453. package/lib/module/Slider/Slider.js +309 -258
  454. package/lib/module/Slider/Slider.js.map +1 -1
  455. package/lib/module/Spacer/Spacer.js +16 -29
  456. package/lib/module/Spacer/Spacer.js.map +1 -1
  457. package/lib/module/Spoiler/Spoiler.js +17 -17
  458. package/lib/module/Spoiler/Spoiler.js.map +1 -1
  459. package/lib/module/Stack/Stack.js +3 -3
  460. package/lib/module/Stack/Stack.js.map +1 -1
  461. package/lib/module/Stepper/Stepper.js +97 -72
  462. package/lib/module/Stepper/Stepper.js.map +1 -1
  463. package/lib/module/Switch/Switch.js +73 -69
  464. package/lib/module/Switch/Switch.js.map +1 -1
  465. package/lib/module/Table/Table.js +99 -85
  466. package/lib/module/Table/Table.js.map +1 -1
  467. package/lib/module/TableOfContents/TableOfContents.js +96 -97
  468. package/lib/module/TableOfContents/TableOfContents.js.map +1 -1
  469. package/lib/module/Tabs/Tabs.js +72 -74
  470. package/lib/module/Tabs/Tabs.js.map +1 -1
  471. package/lib/module/TagsInput/TagsInput.js +21 -5
  472. package/lib/module/TagsInput/TagsInput.js.map +1 -1
  473. package/lib/module/Text/Text.js +29 -14
  474. package/lib/module/Text/Text.js.map +1 -1
  475. package/lib/module/TextInput/TextInput.js +2 -1
  476. package/lib/module/TextInput/TextInput.js.map +1 -1
  477. package/lib/module/Textarea/Textarea.js +2 -2
  478. package/lib/module/Textarea/Textarea.js.map +1 -1
  479. package/lib/module/ThemeIcon/ThemeIcon.js +10 -6
  480. package/lib/module/ThemeIcon/ThemeIcon.js.map +1 -1
  481. package/lib/module/Title/Title.js +51 -34
  482. package/lib/module/Title/Title.js.map +1 -1
  483. package/lib/module/Tooltip/Tooltip.js +44 -28
  484. package/lib/module/Tooltip/Tooltip.js.map +1 -1
  485. package/lib/module/Transition/Transition.native.js +12 -11
  486. package/lib/module/Transition/Transition.native.js.map +1 -1
  487. package/lib/module/Transition/use-overlay-transition.native.js +3 -6
  488. package/lib/module/Transition/use-overlay-transition.native.js.map +1 -1
  489. package/lib/module/Tree/Tree.js +31 -35
  490. package/lib/module/Tree/Tree.js.map +1 -1
  491. package/lib/module/TreeSelect/TreeSelect.js +52 -28
  492. package/lib/module/TreeSelect/TreeSelect.js.map +1 -1
  493. package/lib/module/Typography/Typography.js +5 -7
  494. package/lib/module/Typography/Typography.js.map +1 -1
  495. package/lib/module/UnstyledButton/UnstyledButton.js +5 -5
  496. package/lib/module/UnstyledButton/UnstyledButton.js.map +1 -1
  497. package/lib/module/VirtualList/VirtualList.js +23 -7
  498. package/lib/module/VirtualList/VirtualList.js.map +1 -1
  499. package/lib/module/VisuallyHidden/VisuallyHidden.js +6 -10
  500. package/lib/module/VisuallyHidden/VisuallyHidden.js.map +1 -1
  501. package/lib/module/control-system.js +5 -0
  502. package/lib/module/control-system.js.map +1 -1
  503. package/lib/module/index.js +8 -4
  504. package/lib/module/index.js.map +1 -1
  505. package/lib/module/internal/ControlIconProvider.js +1 -1
  506. package/lib/module/internal/ControlIconProvider.js.map +1 -1
  507. package/lib/module/internal/InlineControl.js +25 -30
  508. package/lib/module/internal/InlineControl.js.map +1 -1
  509. package/lib/module/internal/collapse-box.js +13 -11
  510. package/lib/module/internal/collapse-box.js.map +1 -1
  511. package/lib/module/internal/control-icon-size.js +5 -8
  512. package/lib/module/internal/control-icon-size.js.map +1 -1
  513. package/lib/module/internal/control-metrics.js +52 -52
  514. package/lib/module/internal/control-metrics.js.map +1 -1
  515. package/lib/module/internal/floating-arrow.js +44 -30
  516. package/lib/module/internal/floating-arrow.js.map +1 -1
  517. package/lib/module/internal/focus-ring.js +95 -0
  518. package/lib/module/internal/focus-ring.js.map +1 -0
  519. package/lib/module/internal/gradient-shared.js +7 -7
  520. package/lib/module/internal/gradient-shared.js.map +1 -1
  521. package/lib/module/internal/gradient.native.js +1 -1
  522. package/lib/module/internal/motion.js +245 -359
  523. package/lib/module/internal/motion.js.map +1 -1
  524. package/lib/module/internal/resolve-theme-color.js +10 -10
  525. package/lib/module/internal/resolve-theme-color.js.map +1 -1
  526. package/lib/module/internal/style-props.js +471 -459
  527. package/lib/module/internal/style-props.js.map +1 -1
  528. package/lib/module/internal/theme-color-web.js +45 -27
  529. package/lib/module/internal/theme-color-web.js.map +1 -1
  530. package/lib/module/internal/use-icon-color.js +1 -1
  531. package/lib/module/internal/use-icon-color.native.js +1 -1
  532. package/lib/module/internal/use-slot-text-wrapper.js +1 -1
  533. package/lib/module/internal/variant-colors.js +150 -228
  534. package/lib/module/internal/variant-colors.js.map +1 -1
  535. package/lib/typescript/Accordion/Accordion.d.ts +120 -74
  536. package/lib/typescript/Accordion/Accordion.d.ts.map +1 -1
  537. package/lib/typescript/ActionIcon/ActionIcon.d.ts +236 -94
  538. package/lib/typescript/ActionIcon/ActionIcon.d.ts.map +1 -1
  539. package/lib/typescript/Affix/Affix.d.ts +12 -7
  540. package/lib/typescript/Affix/Affix.d.ts.map +1 -1
  541. package/lib/typescript/Alert/Alert.d.ts +228 -68
  542. package/lib/typescript/Alert/Alert.d.ts.map +1 -1
  543. package/lib/typescript/Anchor/Anchor.d.ts +33 -24
  544. package/lib/typescript/Anchor/Anchor.d.ts.map +1 -1
  545. package/lib/typescript/AngleSlider/AngleSlider.d.ts +224 -66
  546. package/lib/typescript/AngleSlider/AngleSlider.d.ts.map +1 -1
  547. package/lib/typescript/AspectRatio/AspectRatio.d.ts +34 -14
  548. package/lib/typescript/AspectRatio/AspectRatio.d.ts.map +1 -1
  549. package/lib/typescript/Autocomplete/Autocomplete.d.ts +30 -42
  550. package/lib/typescript/Autocomplete/Autocomplete.d.ts.map +1 -1
  551. package/lib/typescript/Avatar/Avatar.d.ts +167 -191
  552. package/lib/typescript/Avatar/Avatar.d.ts.map +1 -1
  553. package/lib/typescript/BackgroundImage/BackgroundImage.d.ts +15 -10
  554. package/lib/typescript/BackgroundImage/BackgroundImage.d.ts.map +1 -1
  555. package/lib/typescript/Badge/Badge.d.ts +138 -62
  556. package/lib/typescript/Badge/Badge.d.ts.map +1 -1
  557. package/lib/typescript/Blockquote/Blockquote.d.ts +148 -50
  558. package/lib/typescript/Blockquote/Blockquote.d.ts.map +1 -1
  559. package/lib/typescript/Box/Box.d.ts +11 -3
  560. package/lib/typescript/Box/Box.d.ts.map +1 -1
  561. package/lib/typescript/Breadcrumbs/Breadcrumbs.d.ts +115 -35
  562. package/lib/typescript/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  563. package/lib/typescript/Burger/Burger.d.ts +124 -41
  564. package/lib/typescript/Burger/Burger.d.ts.map +1 -1
  565. package/lib/typescript/Button/Button.d.ts +236 -107
  566. package/lib/typescript/Button/Button.d.ts.map +1 -1
  567. package/lib/typescript/Card/Card.d.ts +79 -47
  568. package/lib/typescript/Card/Card.d.ts.map +1 -1
  569. package/lib/typescript/Center/Center.d.ts +13 -9
  570. package/lib/typescript/Center/Center.d.ts.map +1 -1
  571. package/lib/typescript/Checkbox/CheckIcon.d.ts +7 -3
  572. package/lib/typescript/Checkbox/CheckIcon.d.ts.map +1 -1
  573. package/lib/typescript/Checkbox/Checkbox.d.ts +79 -60
  574. package/lib/typescript/Checkbox/Checkbox.d.ts.map +1 -1
  575. package/lib/typescript/Chip/Chip.d.ts +140 -57
  576. package/lib/typescript/Chip/Chip.d.ts.map +1 -1
  577. package/lib/typescript/CloseButton/CloseButton.d.ts +85 -50
  578. package/lib/typescript/CloseButton/CloseButton.d.ts.map +1 -1
  579. package/lib/typescript/Code/Code.d.ts +31 -23
  580. package/lib/typescript/Code/Code.d.ts.map +1 -1
  581. package/lib/typescript/Collapse/Collapse.d.ts +44 -20
  582. package/lib/typescript/Collapse/Collapse.d.ts.map +1 -1
  583. package/lib/typescript/ColorInput/ColorInput.d.ts +15 -5
  584. package/lib/typescript/ColorInput/ColorInput.d.ts.map +1 -1
  585. package/lib/typescript/ColorPicker/ColorPicker.d.ts +72 -16
  586. package/lib/typescript/ColorPicker/ColorPicker.d.ts.map +1 -1
  587. package/lib/typescript/ColorSwatch/ColorSwatch.d.ts +59 -38
  588. package/lib/typescript/ColorSwatch/ColorSwatch.d.ts.map +1 -1
  589. package/lib/typescript/Combobox/Combobox.d.ts +183 -100
  590. package/lib/typescript/Combobox/Combobox.d.ts.map +1 -1
  591. package/lib/typescript/Combobox/OptionsDropdown.d.ts +6 -0
  592. package/lib/typescript/Combobox/OptionsDropdown.d.ts.map +1 -1
  593. package/lib/typescript/Combobox/index.d.ts +66 -86
  594. package/lib/typescript/Combobox/index.d.ts.map +1 -1
  595. package/lib/typescript/Container/Container.d.ts +3 -41
  596. package/lib/typescript/Container/Container.d.ts.map +1 -1
  597. package/lib/typescript/Dialog/Dialog.d.ts +79 -76
  598. package/lib/typescript/Dialog/Dialog.d.ts.map +1 -1
  599. package/lib/typescript/Drawer/Drawer.d.ts +115 -40
  600. package/lib/typescript/Drawer/Drawer.d.ts.map +1 -1
  601. package/lib/typescript/Fieldset/Fieldset.d.ts +91 -46
  602. package/lib/typescript/Fieldset/Fieldset.d.ts.map +1 -1
  603. package/lib/typescript/FileButton/FileButton.d.ts.map +1 -1
  604. package/lib/typescript/FileInput/FileInput.d.ts +1 -1
  605. package/lib/typescript/FileInput/FileInput.d.ts.map +1 -1
  606. package/lib/typescript/Flex/Flex.d.ts +28 -26
  607. package/lib/typescript/Flex/Flex.d.ts.map +1 -1
  608. package/lib/typescript/FocusTrap/FocusTrap.d.ts.map +1 -1
  609. package/lib/typescript/Grid/Grid.d.ts +56 -48
  610. package/lib/typescript/Grid/Grid.d.ts.map +1 -1
  611. package/lib/typescript/Group/Group.d.ts +21 -16
  612. package/lib/typescript/Group/Group.d.ts.map +1 -1
  613. package/lib/typescript/Highlight/Highlight.d.ts +1 -15
  614. package/lib/typescript/Highlight/Highlight.d.ts.map +1 -1
  615. package/lib/typescript/HoverCard/HoverCard.d.ts +9 -9
  616. package/lib/typescript/HoverCard/HoverCard.d.ts.map +1 -1
  617. package/lib/typescript/Image/Image.d.ts +46 -114
  618. package/lib/typescript/Image/Image.d.ts.map +1 -1
  619. package/lib/typescript/Image/Image.native.d.ts +47 -115
  620. package/lib/typescript/Image/Image.native.d.ts.map +1 -1
  621. package/lib/typescript/Image/createImage.d.ts +49 -357
  622. package/lib/typescript/Image/createImage.d.ts.map +1 -1
  623. package/lib/typescript/Image/types.d.ts +4 -1
  624. package/lib/typescript/Image/types.d.ts.map +1 -1
  625. package/lib/typescript/Indicator/Indicator.d.ts +122 -43
  626. package/lib/typescript/Indicator/Indicator.d.ts.map +1 -1
  627. package/lib/typescript/Input/Input.d.ts +131 -328
  628. package/lib/typescript/Input/Input.d.ts.map +1 -1
  629. package/lib/typescript/Input/Input.native.d.ts +150 -472
  630. package/lib/typescript/Input/Input.native.d.ts.map +1 -1
  631. package/lib/typescript/Input/shared.d.ts +290 -490
  632. package/lib/typescript/Input/shared.d.ts.map +1 -1
  633. package/lib/typescript/Input/types.d.ts +14 -1
  634. package/lib/typescript/Input/types.d.ts.map +1 -1
  635. package/lib/typescript/InputBase/InputBase.d.ts +1 -52
  636. package/lib/typescript/InputBase/InputBase.d.ts.map +1 -1
  637. package/lib/typescript/Kbd/Kbd.d.ts +21 -65
  638. package/lib/typescript/Kbd/Kbd.d.ts.map +1 -1
  639. package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.d.ts +2 -6
  640. package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.d.ts.map +1 -1
  641. package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.native.d.ts +7 -3
  642. package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.native.d.ts.map +1 -1
  643. package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +2 -6
  644. package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts.map +1 -1
  645. package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.native.d.ts +6 -2
  646. package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.native.d.ts.map +1 -1
  647. package/lib/typescript/List/List.d.ts +165 -63
  648. package/lib/typescript/List/List.d.ts.map +1 -1
  649. package/lib/typescript/Loader/Loader.d.ts +58 -28
  650. package/lib/typescript/Loader/Loader.d.ts.map +1 -1
  651. package/lib/typescript/LoadingOverlay/LoadingOverlay.d.ts +1 -9
  652. package/lib/typescript/LoadingOverlay/LoadingOverlay.d.ts.map +1 -1
  653. package/lib/typescript/Mark/Mark.d.ts +21 -65
  654. package/lib/typescript/Mark/Mark.d.ts.map +1 -1
  655. package/lib/typescript/Marquee/Marquee.d.ts +127 -44
  656. package/lib/typescript/Marquee/Marquee.d.ts.map +1 -1
  657. package/lib/typescript/MaskInput/MaskInput.d.ts +1 -51
  658. package/lib/typescript/MaskInput/MaskInput.d.ts.map +1 -1
  659. package/lib/typescript/Menu/Menu.d.ts +93 -105
  660. package/lib/typescript/Menu/Menu.d.ts.map +1 -1
  661. package/lib/typescript/Modal/Modal.d.ts +166 -91
  662. package/lib/typescript/Modal/Modal.d.ts.map +1 -1
  663. package/lib/typescript/Modal/drag/DragDismissHost.web.d.ts.map +1 -1
  664. package/lib/typescript/Modal/drag/DragDismissOverlay.web.d.ts.map +1 -1
  665. package/lib/typescript/Modal/drag/index.d.ts +2 -2
  666. package/lib/typescript/Modal/drag/index.d.ts.map +1 -1
  667. package/lib/typescript/Modal/drag/types.d.ts +14 -2
  668. package/lib/typescript/Modal/drag/types.d.ts.map +1 -1
  669. package/lib/typescript/Modal/modal-base-inner.d.ts +6 -2
  670. package/lib/typescript/Modal/modal-base-inner.d.ts.map +1 -1
  671. package/lib/typescript/Modal/modal-base-inner.native.d.ts +7 -3
  672. package/lib/typescript/Modal/modal-base-inner.native.d.ts.map +1 -1
  673. package/lib/typescript/Modal/modal-base.d.ts +2 -2
  674. package/lib/typescript/Modal/modal-base.d.ts.map +1 -1
  675. package/lib/typescript/MultiSelect/MultiSelect.d.ts +30 -50
  676. package/lib/typescript/MultiSelect/MultiSelect.d.ts.map +1 -1
  677. package/lib/typescript/NativeSelect/NativeSelect.d.ts.map +1 -1
  678. package/lib/typescript/NativeSelect/NativeSelect.native.d.ts +1 -1
  679. package/lib/typescript/NativeSelect/NativeSelect.native.d.ts.map +1 -1
  680. package/lib/typescript/NavLink/NavLink.d.ts +245 -72
  681. package/lib/typescript/NavLink/NavLink.d.ts.map +1 -1
  682. package/lib/typescript/Notification/Notification.d.ts +230 -69
  683. package/lib/typescript/Notification/Notification.d.ts.map +1 -1
  684. package/lib/typescript/NumberFormatter/NumberFormatter.d.ts +24 -19
  685. package/lib/typescript/NumberFormatter/NumberFormatter.d.ts.map +1 -1
  686. package/lib/typescript/NumberInput/NumberInput.d.ts +91 -150
  687. package/lib/typescript/NumberInput/NumberInput.d.ts.map +1 -1
  688. package/lib/typescript/Overlay/Overlay.d.ts +17 -12
  689. package/lib/typescript/Overlay/Overlay.d.ts.map +1 -1
  690. package/lib/typescript/Pagination/Pagination.d.ts +43 -65
  691. package/lib/typescript/Pagination/Pagination.d.ts.map +1 -1
  692. package/lib/typescript/Paper/Paper.d.ts +19 -7
  693. package/lib/typescript/Paper/Paper.d.ts.map +1 -1
  694. package/lib/typescript/Paragraph/Paragraph.d.ts +23 -19
  695. package/lib/typescript/Paragraph/Paragraph.d.ts.map +1 -1
  696. package/lib/typescript/PasswordInput/PasswordInput.d.ts +110 -207
  697. package/lib/typescript/PasswordInput/PasswordInput.d.ts.map +1 -1
  698. package/lib/typescript/Pill/Pill.d.ts +133 -95
  699. package/lib/typescript/Pill/Pill.d.ts.map +1 -1
  700. package/lib/typescript/PillsInput/PillsInput.d.ts +2 -2
  701. package/lib/typescript/PillsInput/PillsInput.d.ts.map +1 -1
  702. package/lib/typescript/PinInput/PinInput.d.ts +148 -297
  703. package/lib/typescript/PinInput/PinInput.d.ts.map +1 -1
  704. package/lib/typescript/Popover/Popover.native.d.ts.map +1 -1
  705. package/lib/typescript/Popover/Popover.shared.d.ts +15 -11
  706. package/lib/typescript/Popover/Popover.shared.d.ts.map +1 -1
  707. package/lib/typescript/Progress/Progress.d.ts +114 -65
  708. package/lib/typescript/Progress/Progress.d.ts.map +1 -1
  709. package/lib/typescript/Radio/Radio.d.ts +69 -80
  710. package/lib/typescript/Radio/Radio.d.ts.map +1 -1
  711. package/lib/typescript/Radio/RadioIcon.d.ts +5 -0
  712. package/lib/typescript/Radio/RadioIcon.d.ts.map +1 -1
  713. package/lib/typescript/Rating/Rating.d.ts +94 -44
  714. package/lib/typescript/Rating/Rating.d.ts.map +1 -1
  715. package/lib/typescript/RollingNumber/RollingNumber.d.ts +112 -32
  716. package/lib/typescript/RollingNumber/RollingNumber.d.ts.map +1 -1
  717. package/lib/typescript/ScrollArea/ScrollArea.d.ts +50 -10
  718. package/lib/typescript/ScrollArea/ScrollArea.d.ts.map +1 -1
  719. package/lib/typescript/ScrollArea/ScrollArea.native.d.ts +40 -8
  720. package/lib/typescript/ScrollArea/ScrollArea.native.d.ts.map +1 -1
  721. package/lib/typescript/ScrollArea/ScrollArea.shared.d.ts +2 -2
  722. package/lib/typescript/SegmentedControl/SegmentedControl.d.ts +148 -56
  723. package/lib/typescript/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  724. package/lib/typescript/Select/Select.d.ts +31 -51
  725. package/lib/typescript/Select/Select.d.ts.map +1 -1
  726. package/lib/typescript/Separator/Separator.d.ts +124 -61
  727. package/lib/typescript/Separator/Separator.d.ts.map +1 -1
  728. package/lib/typescript/SimpleGrid/SimpleGrid.d.ts +15 -13
  729. package/lib/typescript/SimpleGrid/SimpleGrid.d.ts.map +1 -1
  730. package/lib/typescript/Skeleton/Skeleton.d.ts +18 -14
  731. package/lib/typescript/Skeleton/Skeleton.d.ts.map +1 -1
  732. package/lib/typescript/Slider/Slider.d.ts +425 -129
  733. package/lib/typescript/Slider/Slider.d.ts.map +1 -1
  734. package/lib/typescript/Spacer/Spacer.d.ts +10 -17
  735. package/lib/typescript/Spacer/Spacer.d.ts.map +1 -1
  736. package/lib/typescript/Spoiler/Spoiler.d.ts +88 -28
  737. package/lib/typescript/Spoiler/Spoiler.d.ts.map +1 -1
  738. package/lib/typescript/Stack/Stack.d.ts +17 -5
  739. package/lib/typescript/Stack/Stack.d.ts.map +1 -1
  740. package/lib/typescript/Stepper/Stepper.d.ts +433 -101
  741. package/lib/typescript/Stepper/Stepper.d.ts.map +1 -1
  742. package/lib/typescript/Switch/Switch.d.ts +157 -69
  743. package/lib/typescript/Switch/Switch.d.ts.map +1 -1
  744. package/lib/typescript/Table/Table.d.ts +151 -201
  745. package/lib/typescript/Table/Table.d.ts.map +1 -1
  746. package/lib/typescript/TableOfContents/TableOfContents.d.ts +116 -46
  747. package/lib/typescript/TableOfContents/TableOfContents.d.ts.map +1 -1
  748. package/lib/typescript/Tabs/Tabs.d.ts +138 -88
  749. package/lib/typescript/Tabs/Tabs.d.ts.map +1 -1
  750. package/lib/typescript/TagsInput/TagsInput.d.ts +30 -42
  751. package/lib/typescript/TagsInput/TagsInput.d.ts.map +1 -1
  752. package/lib/typescript/Text/Text.d.ts +22 -4
  753. package/lib/typescript/Text/Text.d.ts.map +1 -1
  754. package/lib/typescript/TextInput/TextInput.d.ts +1 -51
  755. package/lib/typescript/TextInput/TextInput.d.ts.map +1 -1
  756. package/lib/typescript/Textarea/Textarea.d.ts +1 -51
  757. package/lib/typescript/Textarea/Textarea.d.ts.map +1 -1
  758. package/lib/typescript/ThemeIcon/ThemeIcon.d.ts +52 -39
  759. package/lib/typescript/ThemeIcon/ThemeIcon.d.ts.map +1 -1
  760. package/lib/typescript/Title/Title.d.ts +40 -25
  761. package/lib/typescript/Title/Title.d.ts.map +1 -1
  762. package/lib/typescript/Tooltip/Tooltip.d.ts +97 -41
  763. package/lib/typescript/Tooltip/Tooltip.d.ts.map +1 -1
  764. package/lib/typescript/Transition/Transition.native.d.ts.map +1 -1
  765. package/lib/typescript/Transition/use-overlay-transition.d.ts +1 -2
  766. package/lib/typescript/Transition/use-overlay-transition.d.ts.map +1 -1
  767. package/lib/typescript/Transition/use-overlay-transition.native.d.ts +3 -4
  768. package/lib/typescript/Transition/use-overlay-transition.native.d.ts.map +1 -1
  769. package/lib/typescript/Tree/Tree.d.ts +180 -50
  770. package/lib/typescript/Tree/Tree.d.ts.map +1 -1
  771. package/lib/typescript/TreeSelect/TreeSelect.d.ts +141 -182
  772. package/lib/typescript/TreeSelect/TreeSelect.d.ts.map +1 -1
  773. package/lib/typescript/Typography/Typography.d.ts +13 -7
  774. package/lib/typescript/Typography/Typography.d.ts.map +1 -1
  775. package/lib/typescript/UnstyledButton/UnstyledButton.d.ts +27 -20
  776. package/lib/typescript/UnstyledButton/UnstyledButton.d.ts.map +1 -1
  777. package/lib/typescript/VirtualList/VirtualList.d.ts.map +1 -1
  778. package/lib/typescript/VirtualList/VirtualList.shared.d.ts +1 -1
  779. package/lib/typescript/VirtualList/VirtualList.shared.d.ts.map +1 -1
  780. package/lib/typescript/VisuallyHidden/VisuallyHidden.d.ts +23 -19
  781. package/lib/typescript/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
  782. package/lib/typescript/control-system.d.ts +3 -0
  783. package/lib/typescript/control-system.d.ts.map +1 -1
  784. package/lib/typescript/index.d.ts +2 -1
  785. package/lib/typescript/index.d.ts.map +1 -1
  786. package/lib/typescript/internal/InlineControl.d.ts +80 -22
  787. package/lib/typescript/internal/InlineControl.d.ts.map +1 -1
  788. package/lib/typescript/internal/collapse-box.d.ts +3 -3
  789. package/lib/typescript/internal/collapse-box.d.ts.map +1 -1
  790. package/lib/typescript/internal/collapse-box.shared.d.ts +1 -1
  791. package/lib/typescript/internal/control-icon-size.d.ts +4 -3
  792. package/lib/typescript/internal/control-icon-size.d.ts.map +1 -1
  793. package/lib/typescript/internal/control-metrics.d.ts +50 -50
  794. package/lib/typescript/internal/floating-arrow.d.ts +6 -7
  795. package/lib/typescript/internal/floating-arrow.d.ts.map +1 -1
  796. package/lib/typescript/internal/focus-ring.d.ts +94 -0
  797. package/lib/typescript/internal/focus-ring.d.ts.map +1 -0
  798. package/lib/typescript/internal/gradient-shared.d.ts +8 -8
  799. package/lib/typescript/internal/gradient-shared.d.ts.map +1 -1
  800. package/lib/typescript/internal/motion.d.ts +77 -67
  801. package/lib/typescript/internal/motion.d.ts.map +1 -1
  802. package/lib/typescript/internal/resolve-theme-color.d.ts +9 -8
  803. package/lib/typescript/internal/resolve-theme-color.d.ts.map +1 -1
  804. package/lib/typescript/internal/style-props.d.ts +490 -664
  805. package/lib/typescript/internal/style-props.d.ts.map +1 -1
  806. package/lib/typescript/internal/theme-color-web.d.ts.map +1 -1
  807. package/lib/typescript/internal/use-icon-color.d.ts +1 -1
  808. package/lib/typescript/internal/use-icon-color.native.d.ts +1 -1
  809. package/lib/typescript/internal/use-looping-animation.d.ts +10 -2
  810. package/lib/typescript/internal/use-looping-animation.d.ts.map +1 -1
  811. package/lib/typescript/internal/variant-colors.d.ts +191 -199
  812. package/lib/typescript/internal/variant-colors.d.ts.map +1 -1
  813. package/package.json +7 -6
  814. package/src/Accordion/Accordion.tsx +55 -47
  815. package/src/ActionIcon/ActionIcon.tsx +114 -57
  816. package/src/Affix/Affix.tsx +14 -25
  817. package/src/Alert/Alert.tsx +55 -42
  818. package/src/Anchor/Anchor.tsx +13 -12
  819. package/src/AngleSlider/AngleSlider.tsx +87 -63
  820. package/src/AspectRatio/AspectRatio.tsx +9 -12
  821. package/src/Autocomplete/Autocomplete.tsx +7 -2
  822. package/src/Avatar/Avatar.tsx +42 -34
  823. package/src/BackgroundImage/BackgroundImage.tsx +9 -6
  824. package/src/Badge/Badge.tsx +53 -28
  825. package/src/Blockquote/Blockquote.tsx +55 -45
  826. package/src/Box/Box.tsx +2 -2
  827. package/src/Breadcrumbs/Breadcrumbs.tsx +13 -11
  828. package/src/Burger/Burger.tsx +33 -24
  829. package/src/Button/Button.tsx +104 -78
  830. package/src/Card/Card.tsx +52 -44
  831. package/src/Center/Center.tsx +3 -3
  832. package/src/Checkbox/CheckIcon.tsx +8 -5
  833. package/src/Checkbox/Checkbox.tsx +97 -62
  834. package/src/Chip/Chip.tsx +50 -45
  835. package/src/CloseButton/CloseButton.tsx +30 -11
  836. package/src/Code/Code.tsx +15 -11
  837. package/src/Collapse/Collapse.tsx +11 -6
  838. package/src/ColorInput/ColorInput.tsx +30 -24
  839. package/src/ColorPicker/ColorPicker.tsx +78 -79
  840. package/src/ColorSwatch/ColorSwatch.tsx +11 -14
  841. package/src/Combobox/Combobox.tsx +174 -153
  842. package/src/Combobox/OptionsDropdown.tsx +15 -2
  843. package/src/Combobox/index.ts +1 -0
  844. package/src/Container/Container.tsx +11 -15
  845. package/src/Dialog/Dialog.tsx +26 -16
  846. package/src/Drawer/Drawer.tsx +51 -33
  847. package/src/Fieldset/Fieldset.tsx +25 -17
  848. package/src/FileButton/FileButton.tsx +4 -1
  849. package/src/Flex/Flex.tsx +24 -21
  850. package/src/FocusTrap/FocusTrap.tsx +4 -3
  851. package/src/Grid/Grid.tsx +24 -27
  852. package/src/Group/Group.tsx +4 -4
  853. package/src/Highlight/Highlight.tsx +2 -2
  854. package/src/HoverCard/HoverCard.tsx +17 -32
  855. package/src/Image/Image.native.tsx +1 -1
  856. package/src/Image/createImage.tsx +96 -63
  857. package/src/Image/types.ts +5 -1
  858. package/src/Indicator/Indicator.tsx +41 -32
  859. package/src/Input/Input.native.tsx +521 -501
  860. package/src/Input/Input.tsx +110 -156
  861. package/src/Input/shared.tsx +198 -291
  862. package/src/Input/types.ts +15 -0
  863. package/src/InputBase/InputBase.tsx +3 -1
  864. package/src/Kbd/Kbd.tsx +13 -15
  865. package/src/KeyboardAvoidingView/KeyboardAvoidingView.native.tsx +2 -2
  866. package/src/KeyboardAwareScrollView/KeyboardAwareScrollView.native.tsx +1 -1
  867. package/src/List/List.tsx +17 -11
  868. package/src/Loader/Loader.tsx +33 -37
  869. package/src/LoadingOverlay/LoadingOverlay.tsx +3 -2
  870. package/src/Mark/Mark.tsx +12 -12
  871. package/src/Marquee/Marquee.tsx +58 -46
  872. package/src/MaskInput/MaskInput.tsx +2 -1
  873. package/src/Menu/Menu.tsx +110 -45
  874. package/src/Modal/Modal.tsx +38 -31
  875. package/src/Modal/drag/DragDismissHost.web.tsx +2 -1
  876. package/src/Modal/drag/DragDismissOverlay.web.tsx +6 -1
  877. package/src/Modal/drag/index.ts +7 -2
  878. package/src/Modal/drag/types.ts +15 -3
  879. package/src/Modal/modal-base-inner.native.tsx +3 -2
  880. package/src/Modal/modal-base-inner.tsx +1 -1
  881. package/src/Modal/modal-base.tsx +10 -8
  882. package/src/MultiSelect/MultiSelect.tsx +6 -1
  883. package/src/NativeSelect/NativeSelect.tsx +21 -32
  884. package/src/NavLink/NavLink.tsx +54 -47
  885. package/src/Notification/Notification.tsx +31 -30
  886. package/src/NumberFormatter/NumberFormatter.tsx +4 -3
  887. package/src/NumberInput/NumberInput.tsx +52 -42
  888. package/src/Overlay/Overlay.tsx +18 -14
  889. package/src/Pagination/Pagination.tsx +142 -123
  890. package/src/Paper/Paper.tsx +8 -9
  891. package/src/Paragraph/Paragraph.tsx +7 -7
  892. package/src/PasswordInput/PasswordInput.tsx +67 -67
  893. package/src/Pill/Pill.tsx +42 -30
  894. package/src/PillsInput/PillsInput.tsx +60 -31
  895. package/src/PinInput/PinInput.tsx +31 -23
  896. package/src/Popover/Popover.native.tsx +3 -4
  897. package/src/Popover/Popover.shared.tsx +29 -24
  898. package/src/Progress/Progress.tsx +77 -64
  899. package/src/Radio/Radio.tsx +128 -122
  900. package/src/Radio/RadioIcon.tsx +4 -10
  901. package/src/Rating/Rating.tsx +63 -42
  902. package/src/RollingNumber/RollingNumber.tsx +60 -28
  903. package/src/ScrollArea/ScrollArea.native.tsx +28 -27
  904. package/src/ScrollArea/ScrollArea.shared.ts +2 -2
  905. package/src/ScrollArea/ScrollArea.tsx +35 -33
  906. package/src/SegmentedControl/SegmentedControl.tsx +98 -53
  907. package/src/Select/Select.tsx +7 -2
  908. package/src/Separator/Separator.tsx +43 -36
  909. package/src/SimpleGrid/SimpleGrid.tsx +23 -24
  910. package/src/Skeleton/Skeleton.tsx +35 -16
  911. package/src/Slider/Slider.tsx +303 -227
  912. package/src/Spacer/Spacer.tsx +17 -41
  913. package/src/Spoiler/Spoiler.tsx +19 -13
  914. package/src/Stack/Stack.tsx +3 -3
  915. package/src/Stepper/Stepper.tsx +89 -73
  916. package/src/Switch/Switch.tsx +87 -73
  917. package/src/Table/Table.tsx +100 -77
  918. package/src/TableOfContents/TableOfContents.tsx +80 -74
  919. package/src/Tabs/Tabs.tsx +78 -66
  920. package/src/TagsInput/TagsInput.tsx +35 -4
  921. package/src/Text/Text.tsx +25 -10
  922. package/src/TextInput/TextInput.tsx +3 -1
  923. package/src/Textarea/Textarea.tsx +2 -2
  924. package/src/ThemeIcon/ThemeIcon.tsx +37 -22
  925. package/src/Title/Title.tsx +48 -23
  926. package/src/Tooltip/Tooltip.tsx +50 -29
  927. package/src/Transition/Transition.native.tsx +16 -19
  928. package/src/Transition/use-overlay-transition.native.ts +6 -12
  929. package/src/Transition/use-overlay-transition.ts +2 -2
  930. package/src/Tree/Tree.tsx +39 -44
  931. package/src/TreeSelect/TreeSelect.tsx +49 -24
  932. package/src/Typography/Typography.tsx +5 -7
  933. package/src/UnstyledButton/UnstyledButton.tsx +6 -5
  934. package/src/VirtualList/VirtualList.shared.ts +1 -1
  935. package/src/VirtualList/VirtualList.tsx +18 -6
  936. package/src/VisuallyHidden/VisuallyHidden.tsx +7 -9
  937. package/src/control-system.ts +5 -0
  938. package/src/index.ts +30 -12
  939. package/src/internal/ControlIconProvider.tsx +1 -1
  940. package/src/internal/InlineControl.tsx +23 -27
  941. package/src/internal/collapse-box.shared.ts +1 -1
  942. package/src/internal/collapse-box.tsx +15 -11
  943. package/src/internal/control-icon-size.ts +5 -8
  944. package/src/internal/control-metrics.ts +52 -52
  945. package/src/internal/floating-arrow.tsx +48 -40
  946. package/src/internal/focus-ring.ts +92 -0
  947. package/src/internal/gradient-shared.ts +10 -10
  948. package/src/internal/gradient.native.tsx +1 -1
  949. package/src/internal/motion.ts +204 -244
  950. package/src/internal/resolve-theme-color.ts +10 -10
  951. package/src/internal/style-props.ts +545 -390
  952. package/src/internal/theme-color-web.ts +47 -27
  953. package/src/internal/use-icon-color.native.ts +1 -1
  954. package/src/internal/use-icon-color.ts +1 -1
  955. package/src/internal/use-slot-text-wrapper.tsx +1 -1
  956. package/src/internal/variant-colors.ts +187 -151
@@ -1,7 +1,7 @@
1
1
  import { DURATIONS } from "@knitui/core";
2
2
 
3
3
  import { type MotionPresetName, useMotionConfig } from "../internal/motion";
4
- import { resolveTransition, type TransitionValue } from "../internal/style-props";
4
+ import { timedTransition, type TransitionValue } from "../internal/style-props";
5
5
  import {
6
6
  getTransitionStyles,
7
7
  type MantineTransition,
@@ -57,11 +57,11 @@ export interface OverlayTransitionResult {
57
57
  /** Animated style to spread onto the frame's `style`. */
58
58
  style: TransitionStyle;
59
59
  /**
60
- * Tamagui animation-driver props for the frame: `transition` picks the easing
61
- * curve + exact duration and `animateOnly` scopes the driver to the opacity/
60
+ * Tamagui animation-driver props for the frame: a v3 `transition={{ duration,
61
+ * easing, properties }}` — the exact curve + duration, scoped to the opacity/
62
62
  * transform that actually change, so the floating-ui `top`/`left` stay instant.
63
63
  */
64
- animation: { transition?: TransitionValue; animateOnly?: string[] };
64
+ animation: { transition?: TransitionValue };
65
65
  }
66
66
 
67
67
  const DEFAULT_TRANSITION: MantineTransition = "fade";
@@ -79,7 +79,7 @@ const animatedKeys = (style: TransitionStyle): string[] => {
79
79
  * Native counterpart to {@link useOverlayTransition} (web). Same lifecycle +
80
80
  * presets + easing, but applies the animation through Tamagui's native driver:
81
81
  * the returned `style` carries the opacity/transform target and `animation`
82
- * carries `{ transition, animateOnly }` to spread onto the same frame. Reduced
82
+ * carries `{ transition }` (scoped via `properties`) to spread onto the same frame. Reduced
83
83
  * motion collapses the duration to `0` (handled by {@link useTransition}),
84
84
  * yielding an instant, animation-free show/hide.
85
85
  */
@@ -129,13 +129,7 @@ export function useOverlayTransition({
129
129
  hidden: false,
130
130
  style,
131
131
  animation: keys.length
132
- ? {
133
- transition: [
134
- resolveTransition(transitionTimingFunction),
135
- { duration: transitionDuration },
136
- ],
137
- animateOnly: keys,
138
- }
132
+ ? { transition: timedTransition(transitionDuration, transitionTimingFunction, keys) }
139
133
  : {},
140
134
  };
141
135
  }
@@ -58,10 +58,10 @@ export interface OverlayTransitionResult {
58
58
  /**
59
59
  * Tamagui animation-driver props for the frame. Empty on web (the CSS
60
60
  * transition lives in {@link OverlayTransitionResult.style}); on native it
61
- * carries `{ transition, animateOnly }` so the RN driver animates the returned
61
+ * carries a scoped `{ transition }` so the RN driver animates the returned
62
62
  * opacity/transform. See the `.native` sibling.
63
63
  */
64
- animation: { transition?: TransitionValue; animateOnly?: string[] };
64
+ animation: { transition?: TransitionValue };
65
65
  }
66
66
 
67
67
  const DEFAULT_TRANSITION: MantineTransition = "fade";
package/src/Tree/Tree.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
 
3
- import { type GetProps, styled, withStaticProperties } from "@knitui/core";
3
+ import { type GetProps, styleable, styled, withStaticProperties } from "@knitui/core";
4
4
  import { type KeyboardActionProps, useKeyboardActions } from "@knitui/hooks";
5
5
 
6
6
  import { Box } from "../Box";
@@ -45,6 +45,8 @@ export interface RenderTreeNodePayload {
45
45
  role: "treeitem";
46
46
  "aria-selected": boolean;
47
47
  "aria-expanded": boolean | undefined;
48
+ /** 1-based nesting depth (WAI-ARIA tree pattern). */
49
+ "aria-level": number;
48
50
  "data-value": string;
49
51
  "data-selected": boolean | undefined;
50
52
  } & KeyboardActionProps;
@@ -57,7 +59,9 @@ export type RenderNode = (payload: RenderTreeNodePayload) => React.ReactNode;
57
59
  /* -------------------------------------------------------------------------- */
58
60
 
59
61
  const TreeRoot = styled(Box, {
60
- name: "Tree",
62
+ displayName: "Tree",
63
+ role: "tree",
64
+ render: "ul",
61
65
  flexDirection: "column",
62
66
  // Reset the browser's native <ul> chrome (block margin + 40px inline-start
63
67
  // indent). Markers are gone already because the flex display isn't list-item;
@@ -67,27 +71,28 @@ const TreeRoot = styled(Box, {
67
71
  });
68
72
 
69
73
  const TreeNodeItem = styled(Box, {
70
- name: "TreeNodeItem",
74
+ displayName: "TreeNodeItem",
75
+ render: "li",
71
76
  flexDirection: "column",
72
77
  });
73
78
 
74
79
  const TreeNodeRow = styled(Box, {
75
- name: "TreeNode",
80
+ displayName: "TreeNode",
76
81
  flexDirection: "row",
77
82
  alignItems: "center",
78
- gap: "$xs",
79
- paddingVertical: "$xs",
80
- paddingHorizontal: "$xs",
81
- borderRadius: "$xs",
83
+ gap: "xs",
84
+ paddingVertical: "xs",
85
+ paddingHorizontal: "xs",
86
+ borderRadius: "xs",
82
87
  ...webCursor("pointer"),
83
88
  userSelect: "none",
84
- hoverStyle: { backgroundColor: "$color3" },
85
- pressStyle: { backgroundColor: "$color4" },
89
+ backgroundColor: "hover:color3 press:color4",
90
+
86
91
  ...focusRingStyle,
87
92
 
88
93
  variants: {
89
94
  selected: {
90
- true: { backgroundColor: "$color4" },
95
+ true: { backgroundColor: "color4" },
91
96
  },
92
97
  disabled: {
93
98
  true: { opacity: 0.4, pointerEvents: "none" },
@@ -97,11 +102,11 @@ const TreeNodeRow = styled(Box, {
97
102
 
98
103
  /** Fixed-width slot so labels line up whether or not a node has a chevron. */
99
104
  const TreeChevron = styled(Text, {
100
- name: "TreeChevron",
101
- width: "$xxs",
102
- fontSize: "$xxs",
105
+ displayName: "TreeChevron",
106
+ width: "xxs",
107
+ fontSize: "xxs",
103
108
  textAlign: "center",
104
- color: "$color",
109
+ color: "color",
105
110
  userSelect: "none",
106
111
  rotate: "0deg",
107
112
 
@@ -114,21 +119,23 @@ const TreeChevron = styled(Text, {
114
119
  });
115
120
 
116
121
  const TreeLabel = styled(Text, {
117
- name: "TreeLabel",
118
- fontSize: "$sm",
119
- color: "$color",
122
+ displayName: "TreeLabel",
123
+ fontSize: "sm",
124
+ color: "color",
120
125
  userSelect: "none",
121
126
  flexShrink: 1,
122
127
 
123
128
  variants: {
124
129
  selected: {
125
- true: { color: "$color11", fontWeight: "600" },
130
+ true: { color: "color11", fontWeight: "600" },
126
131
  },
127
132
  } as const,
128
133
  });
129
134
 
130
135
  const TreeSubtree = styled(Box, {
131
- name: "TreeSubtree",
136
+ displayName: "TreeSubtree",
137
+ role: "group",
138
+ render: "ul",
132
139
  flexDirection: "column",
133
140
  // Reset native <ul> chrome; `paddingLeft={levelOffset}` at render re-applies
134
141
  // only our own inline-start indent.
@@ -137,7 +144,7 @@ const TreeSubtree = styled(Box, {
137
144
 
138
145
  variants: {
139
146
  withLines: {
140
- true: { borderLeftWidth: 1, borderLeftColor: "$color5" },
147
+ true: { borderLeftWidth: 1, borderLeftColor: "color5" },
141
148
  },
142
149
  } as const,
143
150
  });
@@ -157,7 +164,7 @@ export type TreeSubtreeProps = GetProps<typeof TreeSubtree>;
157
164
  /**
158
165
  * Named style slots (Pillar B / `internal/styles.ts`), keyed 1:1 with the Tree
159
166
  * part surface. Each key maps to the props of the part it targets, so
160
- * `styles={{ row: { bg: "$color3" } }}` is sugar for `<Tree.Row bg="$color3" />`.
167
+ * `styles={{ row: { bg: "color3" } }}` is sugar for `<Tree.Row bg="color3" />`.
161
168
  */
162
169
  export interface TreeStyles {
163
170
  /** Props for the tree root (`Tree.Root` → `<ul role="tree">`). */
@@ -261,6 +268,7 @@ const TreeNode = React.memo(function TreeNode(props: TreeNodePartProps) {
261
268
  role: "treeitem",
262
269
  "aria-selected": selected,
263
270
  "aria-expanded": hasChildren ? expanded : undefined,
271
+ "aria-level": level,
264
272
  "data-value": node.value,
265
273
  "data-selected": selected || undefined,
266
274
  ...focusProps,
@@ -289,17 +297,11 @@ const TreeNode = React.memo(function TreeNode(props: TreeNodePartProps) {
289
297
  );
290
298
 
291
299
  return (
292
- <TreeNodeItem render="li" {...s.get("node")} {...rest}>
300
+ <TreeNodeItem {...s.get("node")} {...rest}>
293
301
  {row}
294
302
  {hasChildren ? (
295
303
  <Collapse in={expanded}>
296
- <TreeSubtree
297
- {...s.get("subtree")}
298
- withLines={withLines}
299
- paddingLeft={levelOffset}
300
- role="group"
301
- render="ul"
302
- >
304
+ <TreeSubtree {...s.get("subtree")} withLines={withLines} paddingLeft={levelOffset}>
303
305
  {node.children!.map((child) => (
304
306
  <TreeNode key={child.value} node={child} level={level + 1} />
305
307
  ))}
@@ -317,7 +319,7 @@ const TreeNode = React.memo(function TreeNode(props: TreeNodePartProps) {
317
319
  export interface TreeRootProps extends Omit<GetProps<typeof TreeRoot>, "children"> {
318
320
  /** `Tree.Node`s (or any custom composition). */
319
321
  children?: React.ReactNode;
320
- /** Horizontal indent added per nesting level. @default "$lg" */
322
+ /** Horizontal indent added per nesting level. @default "lg" */
321
323
  levelOffset?: TreeLevelOffset;
322
324
  /** Expand/collapse a node with children when its row is pressed. @default true */
323
325
  expandOnClick?: boolean;
@@ -333,10 +335,10 @@ export interface TreeRootProps extends Omit<GetProps<typeof TreeRoot>, "children
333
335
  styles?: SlotStyles<TreeStyles>;
334
336
  }
335
337
 
336
- const TreeRootComponent = TreeRoot.styleable<TreeRootProps>(function TreeRootInner(props, ref) {
338
+ const TreeRootComponent = styleable<TreeRootProps>(TreeRoot, function TreeRootInner(props, ref) {
337
339
  const {
338
340
  children,
339
- levelOffset = "$lg",
341
+ levelOffset = "lg",
340
342
  expandOnClick = true,
341
343
  selectOnClick = false,
342
344
  tree,
@@ -369,14 +371,7 @@ const TreeRootComponent = TreeRoot.styleable<TreeRootProps>(function TreeRootInn
369
371
 
370
372
  return (
371
373
  <TreeContext.Provider value={ctx}>
372
- <TreeRoot
373
- ref={ref}
374
- {...s.get("root")}
375
- {...rest}
376
- role="tree"
377
- aria-multiselectable={controller.multiple}
378
- render="ul"
379
- >
374
+ <TreeRoot ref={ref} {...s.get("root")} {...rest} aria-multiselectable={controller.multiple}>
380
375
  {children}
381
376
  </TreeRoot>
382
377
  </TreeContext.Provider>
@@ -390,7 +385,7 @@ const TreeRootComponent = TreeRoot.styleable<TreeRootProps>(function TreeRootInn
390
385
  export interface TreeProps extends Omit<GetProps<typeof TreeRoot>, "children"> {
391
386
  /** Hierarchical data used to render the tree. */
392
387
  data: TreeNodeData[];
393
- /** Horizontal indent added per nesting level. @default "$lg" */
388
+ /** Horizontal indent added per nesting level. @default "lg" */
394
389
  levelOffset?: TreeLevelOffset;
395
390
  /** Expand/collapse a node with children when its row is pressed. @default true */
396
391
  expandOnClick?: boolean;
@@ -444,10 +439,10 @@ export interface TreeProps extends Omit<GetProps<typeof TreeRoot>, "children"> {
444
439
  * DOM arrow-key / range keyboard navigation, async `onLoadChildren` loading,
445
440
  * React-19 `Activity` `keepMounted`.
446
441
  */
447
- const TreeComponent = TreeRoot.styleable<TreeProps>(function Tree(props, ref) {
442
+ const TreeComponent = styleable<TreeProps>(TreeRoot, function Tree(props, ref) {
448
443
  const {
449
444
  data,
450
- levelOffset = "$lg",
445
+ levelOffset = "lg",
451
446
  expandOnClick = true,
452
447
  selectOnClick = false,
453
448
  tree,
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
 
3
- import { type GetProps, styled, withStaticProperties } from "@knitui/core";
4
- import { useCallbackRef, useUncontrolled } from "@knitui/hooks";
3
+ import { type GetProps, styleable, styled, withStaticProperties } from "@knitui/core";
4
+ import { useCallbackRef, useId, useUncontrolled } from "@knitui/hooks";
5
5
 
6
6
  import { Box } from "../Box";
7
7
  import {
@@ -36,32 +36,32 @@ import {
36
36
  /* -------------------------------------------------------------------------- */
37
37
 
38
38
  const NodeRow = styled(Box, {
39
- name: "TreeSelectNode",
39
+ displayName: "TreeSelectNode",
40
40
  flexDirection: "row",
41
41
  alignItems: "center",
42
- gap: "$xs",
43
- paddingVertical: "$xs",
44
- paddingHorizontal: "$xs",
45
- borderRadius: "$xs",
42
+ gap: "xs",
43
+ paddingVertical: "xs",
44
+ paddingHorizontal: "xs",
45
+ borderRadius: "xs",
46
46
  ...webCursor("pointer"),
47
47
  userSelect: "none",
48
- hoverStyle: { backgroundColor: "$color3" },
49
- pressStyle: { backgroundColor: "$color4" },
48
+ backgroundColor: "hover:color3 press:color4",
49
+
50
50
  ...focusRingStyle,
51
51
 
52
52
  variants: {
53
53
  selected: {
54
- true: { backgroundColor: "$color4" },
54
+ true: { backgroundColor: "color4" },
55
55
  },
56
56
  } as const,
57
57
  });
58
58
 
59
59
  const NodeChevron = styled(Text, {
60
- name: "TreeSelectChevron",
61
- width: "$xxs",
62
- fontSize: "$xxs",
60
+ displayName: "TreeSelectChevron",
61
+ width: "xxs",
62
+ fontSize: "xxs",
63
63
  textAlign: "center",
64
- color: "$color",
64
+ color: "color",
65
65
  userSelect: "none",
66
66
 
67
67
  variants: {
@@ -73,15 +73,15 @@ const NodeChevron = styled(Text, {
73
73
  });
74
74
 
75
75
  const NodeLabel = styled(Text, {
76
- name: "TreeSelectLabel",
77
- fontSize: "$sm",
78
- color: "$color",
76
+ displayName: "TreeSelectLabel",
77
+ fontSize: "sm",
78
+ color: "color",
79
79
  userSelect: "none",
80
80
  flexShrink: 1,
81
81
 
82
82
  variants: {
83
83
  selected: {
84
- true: { color: "$color11", fontWeight: "600" },
84
+ true: { color: "color11", fontWeight: "600" },
85
85
  },
86
86
  } as const,
87
87
  });
@@ -116,7 +116,7 @@ type TreeSelectInputProps = Omit<
116
116
  /**
117
117
  * Named style slots (Pillar B / `internal/styles.ts`), keyed 1:1 with the
118
118
  * TreeSelect part surface. Each key maps to the props of the part it targets, so
119
- * `styles={{ node: { bg: "$color3" } }}` is sugar for `<TreeSelect.Node bg="$color3" />`.
119
+ * `styles={{ node: { bg: "color3" } }}` is sugar for `<TreeSelect.Node bg="color3" />`.
120
120
  */
121
121
  export interface TreeSelectStyles {
122
122
  /** Props for the state-machine root (`TreeSelect.Root` → `<Combobox>`). */
@@ -175,6 +175,7 @@ interface TreeSelectContextValue {
175
175
  /** Already-filtered hierarchical data for the dropdown. */
176
176
  filteredData: TreeNodeData[];
177
177
  /** id wiring `aria-controls` (trigger) ↔ the dropdown surface. */
178
+ dropdownId: string;
178
179
  nothingFoundMessage?: React.ReactNode;
179
180
  withScrollArea: boolean;
180
181
  maxDropdownHeight: number;
@@ -432,6 +433,7 @@ function TreeSelectRoot(props: TreeSelectRootProps) {
432
433
  __triggerProps?.onClick?.(event);
433
434
  });
434
435
 
436
+ const dropdownId = useId(__triggerProps?.id ? `${__triggerProps.id}-dropdown` : undefined);
435
437
  const canClear = clearable && _value != null && !disabled && !readOnly;
436
438
  const inputValue = searchable && combobox.opened ? search : nodeLabelText(selectedNode);
437
439
 
@@ -447,6 +449,7 @@ function TreeSelectRoot(props: TreeSelectRootProps) {
447
449
  value: _value,
448
450
  inputValue,
449
451
  filteredData,
452
+ dropdownId,
450
453
  nothingFoundMessage,
451
454
  withScrollArea,
452
455
  maxDropdownHeight,
@@ -472,6 +475,7 @@ function TreeSelectRoot(props: TreeSelectRootProps) {
472
475
  _value,
473
476
  inputValue,
474
477
  filteredData,
478
+ dropdownId,
475
479
  nothingFoundMessage,
476
480
  withScrollArea,
477
481
  maxDropdownHeight,
@@ -574,6 +578,12 @@ const TreeSelectTrigger = React.forwardRef<TreeSelectRef, TreeSelectTriggerProps
574
578
  {...funneledChrome}
575
579
  ref={mergedRef}
576
580
  id={id}
581
+ // A combobox whose popup is the `role="tree"` dropdown body.
582
+ role="combobox"
583
+ aria-haspopup="tree"
584
+ aria-autocomplete={ctx.searchable ? "list" : "none"}
585
+ aria-controls={ctx.dropdownId}
586
+ aria-expanded={ctx.combobox.opened}
577
587
  size={ctx.size}
578
588
  disabled={ctx.disabled}
579
589
  placeholder={placeholder}
@@ -613,11 +623,17 @@ function TreeSelectNode(props: TreeSelectNodePartProps) {
613
623
  const { payload, ...rest } = props;
614
624
  const { node, expanded, hasChildren, elementProps } = payload;
615
625
  const selected = node.value === ctx.value;
626
+ // `useKeyboardActions` types its native a11y handler with RN's own
627
+ // `AccessibilityActionEvent`; Tamagui v3 types it structurally. Same runtime
628
+ // event, so re-type it at the boundary.
629
+ const { onAccessibilityAction, ...rowProps } = elementProps;
630
+ const a11yAction = onAccessibilityAction as TreeSelectNodeProps["onAccessibilityAction"];
616
631
 
617
632
  return (
618
633
  <NodeRow
619
634
  {...s.get("node")}
620
- {...elementProps}
635
+ {...rowProps}
636
+ {...(a11yAction ? { onAccessibilityAction: a11yAction } : null)}
621
637
  {...rest}
622
638
  selected={selected}
623
639
  aria-selected={selected}
@@ -675,7 +691,16 @@ function TreeSelectTree(props: TreeSelectTreeProps) {
675
691
  );
676
692
 
677
693
  return ctx.withScrollArea ? (
678
- <ScrollArea.Autosize maxHeight={ctx.maxDropdownHeight}>{treeNode}</ScrollArea.Autosize>
694
+ // `scrollbars="y"` keeps node rows full width on native; `"handled"` lets a tap
695
+ // on a node land while a searchable field's soft keyboard is up (see
696
+ // `Combobox.OptionsDropdown`).
697
+ <ScrollArea.Autosize
698
+ maxHeight={ctx.maxDropdownHeight}
699
+ scrollbars="y"
700
+ keyboardShouldPersistTaps="handled"
701
+ >
702
+ {treeNode}
703
+ </ScrollArea.Autosize>
679
704
  ) : (
680
705
  <Box maxHeight={ctx.maxDropdownHeight} overflow="hidden">
681
706
  {treeNode}
@@ -695,9 +720,9 @@ const TreeSelectDropdown = React.forwardRef<
695
720
  >(function TreeSelectDropdown(props, ref) {
696
721
  const ctx = useTreeSelectContext();
697
722
  const s = slotStyles<TreeSelectStyles>(ctx.styles, TREE_SELECT_SLOT_KEYS, "TreeSelect");
698
- const { children, ...rest } = props;
723
+ const { id = ctx.dropdownId, children, ...rest } = props;
699
724
  return (
700
- <Combobox.Dropdown ref={ref} {...s.get("dropdown")} {...rest}>
725
+ <Combobox.Dropdown ref={ref} id={id} {...s.get("dropdown")} {...rest}>
701
726
  {children ?? <TreeSelectTree />}
702
727
  </Combobox.Dropdown>
703
728
  );
@@ -776,7 +801,7 @@ export type TreeSelectRef = React.ComponentRef<typeof InputBase>;
776
801
  * first pass, mirroring how `Select` preceded `MultiSelect`); web-only keyboard
777
802
  * navigation.
778
803
  */
779
- const TreeSelectComponent = InputBase.styleable<TreeSelectProps>(function TreeSelect(props, ref) {
804
+ const TreeSelectComponent = styleable<TreeSelectProps>(InputBase, function TreeSelect(props, ref) {
780
805
  const {
781
806
  // Field-chrome / trigger props (everything that is NOT a Root behavior prop).
782
807
  clearSectionMode,
@@ -20,16 +20,14 @@ import { Box } from "../Box";
20
20
  * Documented divergence: Mantine's per-element descendant resets (heading/list/
21
21
  * table/code spacing applied to raw HTML) are NOT reproduced here.
22
22
  *
23
- * A plain `styled()` export, NOT a `.styleable()` wrapper: the wrapper existed
24
- * only to pin `render="div"`, which `styled()` takes as a config value
25
- * (`render?: string | React.ReactElement` is part of its options type), so the
26
- * extra component layer — plus its own render pass and the `<Theme>` layer
27
- * `themeable` wraps a named styleable in — bought nothing.
23
+ * A plain `styled()` export (flattenable), NOT a `styleable()` wrapper: the
24
+ * wrapper existed only to pin `render="div"`, which `styled()` takes as a config
25
+ * value, so the extra component layer bought nothing.
28
26
  */
29
27
  export const Typography = styled(Box, {
30
- name: "Typography",
28
+ displayName: "Typography",
31
29
  flexDirection: "column",
32
- gap: "$md",
30
+ gap: "md",
33
31
  render: "div",
34
32
  });
35
33
 
@@ -1,4 +1,4 @@
1
- import { type GetProps, styled, withStaticProperties } from "@knitui/core";
1
+ import { type GetProps, styleable, styled, withStaticProperties } from "@knitui/core";
2
2
 
3
3
  import { Box } from "../Box";
4
4
  import { usePressScale } from "../internal/motion";
@@ -19,7 +19,7 @@ import { Text } from "../Text";
19
19
  * its own controls on `UnstyledButton`.
20
20
  */
21
21
  export const UnstyledButtonFrame = styled(Box, {
22
- name: "UnstyledButton",
22
+ displayName: "UnstyledButton",
23
23
  role: "button",
24
24
  ...webCursor("pointer"),
25
25
  backgroundColor: "transparent",
@@ -31,8 +31,8 @@ export const UnstyledButtonFrame = styled(Box, {
31
31
  // (reduced-motion aware). Without it an `UnstyledButton` is the only pressable
32
32
  // in the kit that gives NO feedback on press, so custom controls built on it
33
33
  // read as dead next to their built-in siblings. Descendants that add their own
34
- // `pressStyle` (e.g. a background shift) merge with this rather than replace
35
- // it, exactly as `Chip`'s per-state colours do.
34
+ // `press:` clauses (e.g. `bg="… press:color4"`) merge with this per
35
+ // (property, condition) slot rather than replace it.
36
36
  ...pressScaleStyle,
37
37
 
38
38
  variants: {
@@ -55,7 +55,8 @@ export interface UnstyledButtonProps extends UnstyledButtonFrameProps {
55
55
  * variant). Mirrors Mantine's `UnstyledButton`: the building block for custom
56
56
  * controls. Renders a semantic `<button type="button">` on web. Forwards a ref.
57
57
  */
58
- const UnstyledButtonComponent = UnstyledButtonFrame.styleable<UnstyledButtonProps>(
58
+ const UnstyledButtonComponent = styleable<UnstyledButtonProps>(
59
+ UnstyledButtonFrame,
59
60
  function UnstyledButton(props, ref) {
60
61
  const { children, disabled, style, ...rest } = props;
61
62
  // Reduced-motion-aware press easing (neutralises the base dip when reduced).
@@ -222,7 +222,7 @@ export interface VirtualListOwnProps<T> {
222
222
  onRefresh?: () => void;
223
223
  /** Whether the refresh spinner is showing (controlled). @default false */
224
224
  refreshing?: boolean;
225
- /** Spinner colour — a theme token or concrete colour. @default "$color10" */
225
+ /** Spinner colour — a theme token or concrete colour. @default "color10" */
226
226
  refreshColor?: string;
227
227
 
228
228
  /* ---- chrome slots ------------------------------------------------------ */
@@ -117,21 +117,21 @@ export type {
117
117
  * one shows real content immediately instead of a blank frame.
118
118
  */
119
119
  const VirtualListFrame = styled(Box, {
120
- name: "VirtualList",
120
+ displayName: "VirtualList",
121
121
  position: "relative",
122
122
  overflow: "hidden",
123
123
  });
124
124
 
125
125
  /** The total-size spacer that holds the absolutely-positioned rows. */
126
126
  const VirtualListContent = styled(Box, {
127
- name: "VirtualListContent",
127
+ displayName: "VirtualListContent",
128
128
  position: "relative",
129
129
  width: "100%",
130
130
  });
131
131
 
132
132
  /** One absolutely-positioned row wrapper (measured via `onLayout`). */
133
133
  const VirtualListItem = styled(Box, {
134
- name: "VirtualListItem",
134
+ displayName: "VirtualListItem",
135
135
  position: "absolute",
136
136
  left: 0,
137
137
  right: 0,
@@ -235,8 +235,16 @@ const RowInner = <T,>({
235
235
  },
236
236
  [item, index, getItemType, onMeasure],
237
237
  );
238
+ // Per-row geometry rides INLINE `style`, not the `top` style prop: on v3 web a
239
+ // style prop compiles to an atomic CSS rule per distinct value, so every row
240
+ // offset (and every re-measure that shifts it) would inject a new rule.
241
+ const slotStyle = itemProps.style;
242
+ const style = React.useMemo(
243
+ () => (slotStyle ? [slotStyle, { top }] : { top }),
244
+ [slotStyle, top],
245
+ ) as BoxProps["style"];
238
246
  return (
239
- <VirtualListItem top={top} onLayout={handleLayout} {...itemProps}>
247
+ <VirtualListItem onLayout={handleLayout} {...itemProps} style={style}>
240
248
  <RowContent<T> item={item} index={index} renderItem={renderItem} extraData={extraData} />
241
249
  {isLast ? null : separator}
242
250
  </VirtualListItem>
@@ -804,7 +812,11 @@ function VirtualListInner<T>(
804
812
  {isEmpty ? (
805
813
  ListEmptyComponent
806
814
  ) : (
807
- <VirtualListContent height={spacerHeight} {...contentSlot}>
815
+ // The spacer's height follows the measured total — inline, like the rows.
816
+ <VirtualListContent
817
+ {...contentSlot}
818
+ style={[contentSlot?.style, { height: spacerHeight }]}
819
+ >
808
820
  {ListHeaderComponent != null && (
809
821
  <Box position="absolute" top={0} left={0} right={0} onLayout={handleHeaderLayout}>
810
822
  {ListHeaderComponent}
@@ -814,9 +826,9 @@ function VirtualListInner<T>(
814
826
  {ListFooterComponent != null && (
815
827
  <Box
816
828
  position="absolute"
817
- top={headerH + contentTotal}
818
829
  left={0}
819
830
  right={0}
831
+ style={{ top: headerH + contentTotal }}
820
832
  onLayout={handleFooterLayout}
821
833
  >
822
834
  {ListFooterComponent}
@@ -11,9 +11,13 @@ import { Text } from "../Text";
11
11
  * on native (no layout impact) while keeping it readable by VoiceOver/TalkBack.
12
12
  * Renders a semantic `<span>` on web. Accent/styling is irrelevant here — this
13
13
  * component is purely structural.
14
+ *
15
+ * A plain `styled()` component (flattenable): pure static styles plus a static
16
+ * `<span>` host.
14
17
  */
15
- const VisuallyHiddenFrame = styled(Text, {
16
- name: "VisuallyHidden",
18
+ export const VisuallyHidden = styled(Text, {
19
+ displayName: "VisuallyHidden",
20
+ render: "span",
17
21
  position: "absolute",
18
22
  width: 1,
19
23
  height: 1,
@@ -23,10 +27,4 @@ const VisuallyHiddenFrame = styled(Text, {
23
27
  overflow: "hidden",
24
28
  });
25
29
 
26
- export interface VisuallyHiddenProps extends GetProps<typeof VisuallyHiddenFrame> {}
27
-
28
- export const VisuallyHidden = VisuallyHiddenFrame.styleable<VisuallyHiddenProps>(
29
- function VisuallyHidden(props, ref) {
30
- return <VisuallyHiddenFrame ref={ref} {...props} render="span" />;
31
- },
32
- );
30
+ export type VisuallyHiddenProps = GetProps<typeof VisuallyHidden>;
@@ -16,6 +16,8 @@
16
16
  * - Embed: `toEmbeddedControlSize` (+ its key types) — step a nested control down one key
17
17
  * - Icon: `CONTROL_ICON_SIZE` / `controlIconSize` / `ControlIconProvider`
18
18
  * - Color: read-only variant ladders + `VARIANT_KEYS` / `VariantKey`
19
+ * - Hover: `hoverProps` — pointer-hover handlers per platform (mouse events on
20
+ * web, `onHoverIn`/`onHoverOut` on native)
19
21
  */
20
22
 
21
23
  // Icon sizing ladder + the provider that auto-sizes/colors icons in a control.
@@ -38,6 +40,9 @@ export {
38
40
  toEmbeddedControlSize,
39
41
  } from "./internal/embedded-control-size";
40
42
 
43
+ // Pointer hover per platform (v3 web wires only `onMouseEnter`/`onMouseLeave`).
44
+ export { type HoverHandlerProps, hoverProps } from "./internal/style-props";
45
+
41
46
  // Color ladders — read-only; spread onto a frame's styled base. See
42
47
  // `internal/variant-colors.ts` for the full table and design rationale.
43
48
  export {