@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
package/src/Pill/Pill.tsx CHANGED
@@ -1,6 +1,12 @@
1
1
  import * as React from "react";
2
2
 
3
- import { createStyledContext, type GetProps, styled, withStaticProperties } from "@knitui/core";
3
+ import {
4
+ createStyledContext,
5
+ type GetProps,
6
+ styleable,
7
+ styled,
8
+ withStaticProperties,
9
+ } from "@knitui/core";
4
10
 
5
11
  import { Box } from "../Box";
6
12
  import { CloseButton, type CloseButtonProps } from "../CloseButton";
@@ -39,35 +45,35 @@ const REMOVE_BUTTON_SIZE: Record<PillSize, CloseButtonSize> = {
39
45
  };
40
46
 
41
47
  const REMOVE_ICON_SIZE: Record<PillSize, CloseButtonIconSize> = {
42
- xxs: "$xxs",
43
- xs: "$xs",
44
- sm: "$sm",
45
- md: "$md",
46
- lg: "$lg",
47
- xl: "$xl",
48
- xxl: "$xxl",
48
+ xxs: "xxs",
49
+ xs: "xs",
50
+ sm: "sm",
51
+ md: "md",
52
+ lg: "lg",
53
+ xl: "xl",
54
+ xxl: "xxl",
49
55
  };
50
56
 
51
57
  /**
52
58
  * Mirrors Mantine's `Pill` — a small rounded label, optionally with a remove
53
59
  * button. Inside a `Pill.Group` it inherits `size`/`disabled`. The `contrast`
54
- * variant uses the active theme's solid accent (`$color9`); colour comes from the
60
+ * variant uses the active theme's solid accent (`color9`); colour comes from the
55
61
  * `theme` prop + palette ramp, never a Mantine `color` prop.
56
62
  */
57
63
  const PillFrame = styled(Box, {
58
- name: "Pill",
64
+ displayName: "Pill",
59
65
  context: PillContext,
60
66
  flexDirection: "row",
61
67
  alignItems: "center",
62
68
  alignSelf: "flex-start",
63
- gap: "$xs",
69
+ gap: "xs",
64
70
  borderRadius: 9999,
65
71
  overflow: "hidden",
66
72
 
67
73
  variants: {
68
74
  variant: {
69
- default: { backgroundColor: "$color4" },
70
- contrast: { backgroundColor: "$color9" },
75
+ default: { backgroundColor: "color4" },
76
+ contrast: { backgroundColor: "color9" },
71
77
  // Base stays transparent; the gradient is painted at render by `useGradient`.
72
78
  gradient: { backgroundColor: "transparent" },
73
79
  },
@@ -82,16 +88,16 @@ const PillFrame = styled(Box, {
82
88
  });
83
89
 
84
90
  const PillLabel = styled(Text, {
85
- name: "PillLabel",
91
+ displayName: "PillLabel",
86
92
  context: PillContext,
87
93
  numberOfLines: 1,
88
94
  userSelect: "none",
89
95
 
90
96
  variants: {
91
97
  variant: {
92
- default: { color: "$color12" },
93
- contrast: { color: "$color1" },
94
- gradient: { color: "$white" },
98
+ default: { color: "color12" },
99
+ contrast: { color: "color1" },
100
+ gradient: { color: "white" },
95
101
  },
96
102
  size: {
97
103
  ...controlFontVariant,
@@ -99,6 +105,13 @@ const PillLabel = styled(Text, {
99
105
  } as const,
100
106
  });
101
107
 
108
+ /**
109
+ * On a gradient pill the label is white, so the remove glyph defaults to white
110
+ * too (a transparent CloseButton would otherwise show a dark `✕`). A module
111
+ * constant: spread on every gradient render, never re-allocated.
112
+ */
113
+ const GRADIENT_REMOVE_PROPS = { styles: { icon: { color: "white" } } } as const;
114
+
102
115
  // --- Pill.Group ------------------------------------------------------------
103
116
 
104
117
  interface PillGroupContextValue {
@@ -115,7 +128,7 @@ export interface PillGroupProps extends Omit<GetProps<typeof Box>, "gap"> {
115
128
  * @default "sm"
116
129
  */
117
130
  size?: PillSize;
118
- /** Gap between pills — token string or px number. @default "$xs" */
131
+ /** Gap between pills — token string or px number. @default "xs" */
119
132
  gap?: GetProps<typeof Box>["gap"];
120
133
  /** Disable all child pills. */
121
134
  disabled?: boolean;
@@ -124,15 +137,15 @@ export interface PillGroupProps extends Omit<GetProps<typeof Box>, "gap"> {
124
137
  }
125
138
 
126
139
  const PillGroupFrame = styled(Box, {
127
- name: "PillGroup",
140
+ displayName: "PillGroup",
128
141
  flexDirection: "row",
129
142
  flexWrap: "wrap",
130
143
  alignItems: "center",
131
- gap: "$xs",
144
+ gap: "xs",
132
145
  });
133
146
 
134
- const PillGroup = PillGroupFrame.styleable<PillGroupProps>(function PillGroup(props, ref) {
135
- const { size, gap = "$xs", disabled, children, ...rest } = props;
147
+ const PillGroup = styleable<PillGroupProps>(PillGroupFrame, function PillGroup(props, ref) {
148
+ const { size, gap = "xs", disabled, children, ...rest } = props;
136
149
  // Inherit size/disabled from an enclosing provider (e.g. a `PillsInput`, which
137
150
  // provides a field-relative pill size) when this group doesn't set its own.
138
151
  const parentGroup = React.useContext(PillGroupContext);
@@ -156,8 +169,8 @@ const PillGroup = PillGroupFrame.styleable<PillGroupProps>(function PillGroup(pr
156
169
  /**
157
170
  * Named style slots (Pillar B / `internal/styles.ts`) for `Pill`. Each key maps
158
171
  * to the props of the styled part it targets, so
159
- * `styles={{ removeButton: { backgroundColor: "$color5" } }}` is sugar for
160
- * `<Pill.RemoveButton backgroundColor="$color5" />`.
172
+ * `styles={{ removeButton: { backgroundColor: "color5" } }}` is sugar for
173
+ * `<Pill.RemoveButton backgroundColor="color5" />`.
161
174
  */
162
175
  export interface PillStyles {
163
176
  /** Props for the label text (`Pill.Label`). */
@@ -194,12 +207,12 @@ export interface PillProps extends Omit<
194
207
  /**
195
208
  * Gradient fill for `variant="gradient"` (ignored otherwise). Two-color
196
209
  * shorthand `{ from, to, deg }` or multi-step `{ stops, deg }`; colors accept
197
- * `$colorN` ramp tokens or any CSS color. Defaults to the active theme ramp.
210
+ * `colorN` ramp names or any CSS color. Defaults to the active theme ramp.
198
211
  */
199
212
  gradient?: GradientValue;
200
213
  }
201
214
 
202
- const PillComponent = PillFrame.styleable<PillProps>(function Pill(props, ref) {
215
+ const PillComponent = styleable<PillProps>(PillFrame, function Pill(props, ref) {
203
216
  const {
204
217
  variant = "default",
205
218
  size,
@@ -256,10 +269,9 @@ const PillComponent = PillFrame.styleable<PillProps>(function Pill(props, ref) {
256
269
  variant="transparent"
257
270
  size={REMOVE_BUTTON_SIZE[resolvedSize]}
258
271
  iconSize={REMOVE_ICON_SIZE[resolvedSize]}
259
- // On a gradient pill the label is white, so default the remove glyph to
260
- // white too (a transparent CloseButton would otherwise show a dark `✕`).
261
- // Spread first so an explicit `removeButton` slot / props still win.
262
- {...(variant === "gradient" ? { styles: { icon: { color: "$white" } } } : null)}
272
+ // Gradient pills default the glyph to white; spread first so an explicit
273
+ // `removeButton` slot / props still win.
274
+ {...(variant === "gradient" ? GRADIENT_REMOVE_PROPS : null)}
263
275
  // Precedence (low → high): the `removeButton` slot sugar, then the
264
276
  // deprecated `removeButtonProps` alias, then the forced per-part props
265
277
  // (resolved aria-label / press handler that fold in the alias).
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
 
3
3
  import { type TamaguiElement, withStaticProperties } from "@knitui/core";
4
- import { useMergedRef } from "@knitui/hooks";
4
+ import { useCallbackRef, useMergedRef } from "@knitui/hooks";
5
5
 
6
6
  import { type __BaseInputProps, Input, type InputProps } from "../Input";
7
7
  import {
@@ -28,7 +28,7 @@ interface PillsInputContextValue {
28
28
  variant?: InputVariant;
29
29
  /**
30
30
  * Field focus/blur reported up from `PillsInput.Field` so the shell can show
31
- * the same `$borderColorFocus` border every other text field gets — the field
31
+ * the same `focusRingColor` border every other text field gets — the field
32
32
  * is a SEPARATE child, so the shell can't read its focus state directly.
33
33
  */
34
34
  setFocused: (focused: boolean) => void;
@@ -38,6 +38,14 @@ type InputFieldElement = React.ComponentRef<typeof Input>;
38
38
 
39
39
  const PillsInputContext = React.createContext<PillsInputContextValue | null>(null);
40
40
 
41
+ /** The shell lays the pills + field out as a wrapping row. */
42
+ const SHELL_ROOT = {
43
+ flexWrap: "wrap",
44
+ alignItems: "flex-start",
45
+ padding: "xs",
46
+ gap: "xs",
47
+ } as const;
48
+
41
49
  /* -------------------------------------------------------------------------- */
42
50
  /* PillsInput shell */
43
51
  /* -------------------------------------------------------------------------- */
@@ -120,6 +128,12 @@ const PillsInputComponent = React.forwardRef<InputRootRef, PillsInputProps>(
120
128
  [size, disabled],
121
129
  );
122
130
 
131
+ const shellWrapperProps = React.useMemo(
132
+ () => (wrapperProps ? { ...SHELL_ROOT, ...wrapperProps } : SHELL_ROOT),
133
+ [wrapperProps],
134
+ );
135
+ const focusField = React.useCallback(() => fieldRef.current?.focus?.(), []);
136
+
123
137
  return (
124
138
  <PillsInputContext.Provider value={ctx}>
125
139
  <InputWrapper
@@ -158,14 +172,8 @@ const PillsInputComponent = React.forwardRef<InputRootRef, PillsInputProps>(
158
172
  rightSectionPointerEvents={rightSectionPointerEvents}
159
173
  loading={loading}
160
174
  loadingPosition={loadingPosition}
161
- wrapperProps={{
162
- flexWrap: "wrap",
163
- alignItems: "flex-start",
164
- padding: "$xs",
165
- gap: "$xs",
166
- ...wrapperProps,
167
- }}
168
- onRootPress={() => fieldRef.current?.focus?.()}
175
+ wrapperProps={shellWrapperProps}
176
+ onRootPress={focusField}
169
177
  >
170
178
  <PillGroupContext.Provider value={pillGroupValue}>{children}</PillGroupContext.Provider>
171
179
  </InputChrome>
@@ -209,6 +217,31 @@ const PillsInputField = React.forwardRef<InputFieldElement, PillsInputFieldProps
209
217
  const isDisabled = disabled ?? ctx?.disabled;
210
218
  const hidden = type === "hidden";
211
219
 
220
+ // Report focus up to the shell so its border lights up like any text field.
221
+ // Stable identities (latest-closure) so the memoized `Input` below isn't
222
+ // handed fresh handlers on every keystroke in the field.
223
+ const handleFocus = useCallbackRef((event: FieldFocusEvent) => {
224
+ ctx?.setFocused(true);
225
+ onFocus?.(event);
226
+ });
227
+ const handleBlur = useCallbackRef((event: FieldFocusEvent) => {
228
+ ctx?.setFocused(false);
229
+ onBlur?.(event);
230
+ });
231
+
232
+ // The field sits bare inside the shell: no own height/inset, it flexes into
233
+ // the free space after the pills. Static per `hidden` unless the caller adds
234
+ // `wrapperProps`, so it never allocates on a keystroke.
235
+ const fieldWrapperProps = React.useMemo(
236
+ () =>
237
+ wrapperProps
238
+ ? { ...wrapperProps, ...(hidden ? HIDDEN_FIELD_ROOT : VISIBLE_FIELD_ROOT) }
239
+ : hidden
240
+ ? HIDDEN_FIELD_ROOT
241
+ : VISIBLE_FIELD_ROOT,
242
+ [wrapperProps, hidden],
243
+ );
244
+
212
245
  return (
213
246
  <Input
214
247
  {...rest}
@@ -218,33 +251,29 @@ const PillsInputField = React.forwardRef<InputFieldElement, PillsInputFieldProps
218
251
  size={ctx?.size}
219
252
  disabled={isDisabled}
220
253
  pointer={pointer}
221
- // Report focus up to the shell so its border lights up like any text field.
222
- onFocus={(event) => {
223
- ctx?.setFocused(true);
224
- onFocus?.(event);
225
- }}
226
- onBlur={(event) => {
227
- ctx?.setFocused(false);
228
- onBlur?.(event);
229
- }}
254
+ onFocus={handleFocus}
255
+ onBlur={handleBlur}
230
256
  opacity={hidden ? 0 : 1}
231
- wrapperProps={{
232
- ...wrapperProps,
233
- flex: 1,
234
- minWidth: hidden ? 1 : "$xxl",
235
- width: hidden ? 1 : "auto",
236
- height: "auto",
237
- minHeight: "$0",
238
- paddingHorizontal: "$0",
239
- paddingVertical: "$0",
240
- backgroundColor: "transparent",
241
- alignSelf: "center",
242
- }}
257
+ wrapperProps={fieldWrapperProps}
243
258
  />
244
259
  );
245
260
  },
246
261
  );
247
262
 
263
+ type FieldFocusEvent = Parameters<NonNullable<InputProps["onFocus"]>>[0];
264
+
265
+ const FIELD_ROOT = {
266
+ flex: 1,
267
+ height: "auto",
268
+ minHeight: 0,
269
+ paddingHorizontal: 0,
270
+ paddingVertical: 0,
271
+ backgroundColor: "transparent",
272
+ alignSelf: "center",
273
+ } as const;
274
+ const VISIBLE_FIELD_ROOT = { ...FIELD_ROOT, minWidth: "xxl", width: "auto" } as const;
275
+ const HIDDEN_FIELD_ROOT = { ...FIELD_ROOT, minWidth: 1, width: 1 } as const;
276
+
248
277
  export const PillsInput = withStaticProperties(PillsInputComponent, {
249
278
  Field: PillsInputField,
250
279
  });
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
 
3
- import { type GetProps, isAndroid, styled, withStaticProperties } from "@knitui/core";
3
+ import { type GetProps, isAndroid, styleable, styled, withStaticProperties } from "@knitui/core";
4
4
  import { useCallbackRef, useId, useMergedRef, useUncontrolled } from "@knitui/hooks";
5
5
 
6
6
  import { Box } from "../Box";
@@ -67,7 +67,7 @@ function createPinArray(length: number, value: string): string[] {
67
67
  }
68
68
 
69
69
  const PinInputRow = styled(Box, {
70
- name: "PinInput",
70
+ displayName: "PinInput",
71
71
  role: "group",
72
72
  flexDirection: "row",
73
73
  alignItems: "center",
@@ -75,7 +75,7 @@ const PinInputRow = styled(Box, {
75
75
  gap: gapVariant,
76
76
  } as const,
77
77
  defaultVariants: {
78
- gap: "$xs",
78
+ gap: "xs",
79
79
  },
80
80
  });
81
81
 
@@ -84,7 +84,7 @@ type PinInputRowProps = GetProps<typeof PinInputRow>;
84
84
  /**
85
85
  * Named style slots (Pillar B / `internal/styles.ts`) for `PinInput`. The
86
86
  * `field` slot is spread onto every per-character `Input`, so
87
- * `styles={{ field: { borderColor: "$color8" } }}` styles all fields at once —
87
+ * `styles={{ field: { borderColor: "color8" } }}` styles all fields at once —
88
88
  * sugar over the functional `getInputProps(index)` escape hatch (which still
89
89
  * works and, being per-index and more explicit, wins where they overlap).
90
90
  */
@@ -149,7 +149,7 @@ export interface PinInputProps extends Omit<
149
149
  /** Border radius of each input. */
150
150
  radius?: InputProps["radius"];
151
151
 
152
- /** Gap between inputs. Token, CSS value or number. @default "$xs" */
152
+ /** Gap between inputs. Token, CSS value or number. @default "xs" */
153
153
  gap?: PinInputRowProps["gap"];
154
154
 
155
155
  /** Disables every input. */
@@ -204,7 +204,7 @@ export interface PinInputProps extends Omit<
204
204
  * Multi-field paste distribution is deferred; single-field paste of a full code is
205
205
  * handled.
206
206
  */
207
- const PinInputComponent = PinInputRow.styleable<PinInputProps>(function PinInput(props, ref) {
207
+ const PinInputComponent = styleable<PinInputProps>(PinInputRow, function PinInput(props, ref) {
208
208
  const {
209
209
  value,
210
210
  defaultValue,
@@ -218,7 +218,7 @@ const PinInputComponent = PinInputRow.styleable<PinInputProps>(function PinInput
218
218
  placeholder = "○",
219
219
  size = "md",
220
220
  radius,
221
- gap = "$xs",
221
+ gap = "xs",
222
222
  disabled,
223
223
  error,
224
224
  readOnly,
@@ -345,6 +345,14 @@ const PinInputComponent = PinInputRow.styleable<PinInputProps>(function PinInput
345
345
  }
346
346
  });
347
347
 
348
+ // Reads the LATEST `getInputProps` at call time, so the memoized per-field
349
+ // handlers below never go stale and never need rebuilding.
350
+ const callFieldHandler = useCallbackRef(
351
+ (index: number, key: "onFocus" | "onBlur", event: unknown) => {
352
+ (getInputProps?.(index)?.[key] as ((e: unknown) => void) | undefined)?.(event);
353
+ },
354
+ );
355
+
348
356
  // Per-field props (ref + handlers) are memoized so React only attaches/detaches
349
357
  // refs and rebinds listeners when `length` changes — not on every keystroke.
350
358
  const fields = React.useMemo(
@@ -357,10 +365,20 @@ const PinInputComponent = PinInputRow.styleable<PinInputProps>(function PinInput
357
365
  },
358
366
  onChangeText: (text: string) => handleChange(text, index),
359
367
  onKeyDown: (event: { key: string }) => handleKeyDown(event.key, index),
360
- onFocus: () => setFocusedIndex(index),
361
- onBlur: () => setFocusedIndex(-1),
368
+ // A consumer's `onFocus`/`onBlur` (via `getInputProps`) is CALLED, never a
369
+ // replacement: the row needs its own to know which field has the caret.
370
+ focusHandlers: {
371
+ onFocus: (event: unknown) => {
372
+ setFocusedIndex(index);
373
+ callFieldHandler(index, "onFocus", event);
374
+ },
375
+ onBlur: (event: unknown) => {
376
+ setFocusedIndex(-1);
377
+ callFieldHandler(index, "onBlur", event);
378
+ },
379
+ },
362
380
  })),
363
- [length, uuid, setFirstRef, handleChange, handleKeyDown],
381
+ [length, uuid, setFirstRef, handleChange, handleKeyDown, callFieldHandler],
364
382
  );
365
383
 
366
384
  const fieldSize = React.useMemo(() => toFieldSize(size), [size]);
@@ -377,8 +395,6 @@ const PinInputComponent = PinInputRow.styleable<PinInputProps>(function PinInput
377
395
  [inputMode, type],
378
396
  );
379
397
 
380
- const perField = (index: number) => getInputProps?.(index);
381
-
382
398
  return (
383
399
  <PinInputRow gap={gap} {...others}>
384
400
  {fields.map((field, index) => (
@@ -409,17 +425,9 @@ const PinInputComponent = PinInputRow.styleable<PinInputProps>(function PinInput
409
425
  // The `field` style slot is sugar under the per-index `getInputProps`,
410
426
  // which is more explicit and wins where the two overlap.
411
427
  {...s.get("field")}
412
- {...perField(index)}
413
- // After the spreads: a consumer's `onFocus`/`onBlur` is CALLED, never a
414
- // replacement. The row needs its own to know which field has the caret.
415
- onFocus={(event: unknown) => {
416
- field.onFocus();
417
- (perField(index)?.onFocus as ((e: unknown) => void) | undefined)?.(event);
418
- }}
419
- onBlur={(event: unknown) => {
420
- field.onBlur();
421
- (perField(index)?.onBlur as ((e: unknown) => void) | undefined)?.(event);
422
- }}
428
+ {...getInputProps?.(index)}
429
+ // After the spreads (see `fields`): wraps the consumer's handlers.
430
+ {...(field.focusHandlers as object)}
423
431
  />
424
432
  ))}
425
433
  <HiddenInput
@@ -1,7 +1,6 @@
1
1
  import * as React from "react";
2
- import type { LayoutChangeEvent } from "react-native";
3
2
 
4
- import { type TamaguiElement, withStaticProperties } from "@knitui/core";
3
+ import { type LayoutChangeEvent, type TamaguiElement, withStaticProperties } from "@knitui/core";
5
4
  import { useDismissOnScroll } from "@knitui/hooks";
6
5
 
7
6
  import { dismissKeyboard } from "../internal/dismiss-keyboard";
@@ -89,8 +88,8 @@ const PopoverDropdown = React.forwardRef<TamaguiElement, PopoverDropdownProps>(
89
88
  // absolute scrim inside the portal host.
90
89
  fixed={false}
91
90
  zIndex={ctx.zIndex - 1}
92
- backgroundOpacity={ctx.withOverlay ? undefined : 0}
93
- onPress={closeOnClickOutside ? dismissFromScrim : undefined}
91
+ {...(ctx.withOverlay ? null : { backgroundOpacity: 0 })}
92
+ {...(closeOnClickOutside ? { onPress: dismissFromScrim } : null)}
94
93
  {...ctx.overlayProps}
95
94
  />
96
95
  ) : null;
@@ -2,10 +2,11 @@ import * as React from "react";
2
2
 
3
3
  import {
4
4
  type GetProps,
5
- getTokenValue,
6
5
  isWeb,
7
6
  type RadiusTokens,
7
+ resolveToken,
8
8
  type SpaceTokens,
9
+ styleable,
9
10
  styled,
10
11
  type TamaguiElement,
11
12
  Theme,
@@ -66,13 +67,12 @@ export type PopoverOffset = PopoverAxisOffset | PopoverAxesOffsets;
66
67
 
67
68
  /** The vendored `useFloating` return — carries the typed reference/floating refs. */
68
69
  export type FloatingReturn = ReturnType<typeof useFloating>;
69
- type TokenValueInput = Parameters<typeof getTokenValue>[0];
70
70
 
71
- const DEFAULT_OFFSET: SpaceTokens = "$xs";
71
+ const DEFAULT_OFFSET: SpaceTokens = "xs";
72
72
  /** Stable empty transition config so an unset `transitionProps` keeps context identity. */
73
73
  const EMPTY_TRANSITION: OverlayTransitionConfig = {};
74
- const DEFAULT_SHIFT_PADDING: SpaceTokens = "$xxs";
75
- const DEFAULT_ARROW_OFFSET: SpaceTokens = "$xxs";
74
+ const DEFAULT_SHIFT_PADDING: SpaceTokens = "xxs";
75
+ const DEFAULT_ARROW_OFFSET: SpaceTokens = "xxs";
76
76
 
77
77
  /* -------------------------------------------------------------------------- */
78
78
  /* Context */
@@ -145,15 +145,15 @@ export const useDropdownDismiss = (ctx: PopoverContextValue): (() => void) => {
145
145
  /* -------------------------------------------------------------------------- */
146
146
 
147
147
  export const PopoverDropdownFrame = styled(Box, {
148
- name: "PopoverDropdown",
148
+ displayName: "PopoverDropdown",
149
149
  // `fixed` is viewport-relative positioning that only exists on web; React
150
150
  // Native supports `absolute`/`relative`/`static` only. The instance overrides
151
151
  // this with the platform-correct value (`fixed` on web, `absolute` on native).
152
152
  position: isWeb ? ("fixed" as const) : ("absolute" as const),
153
- backgroundColor: "$background",
153
+ backgroundColor: "background",
154
154
  borderWidth: 1,
155
- borderColor: "$borderColor",
156
- borderRadius: "$sm",
155
+ borderColor: "borderColor",
156
+ borderRadius: "sm",
157
157
 
158
158
  variants: {
159
159
  hidden: { true: { display: "none" } },
@@ -220,7 +220,7 @@ export interface PopoverProps {
220
220
  /**
221
221
  * Gap between target and dropdown. A space token or `number` sets the main-axis
222
222
  * gutter; object form skids per axis (`{ mainAxis; crossAxis; alignmentAxis }`).
223
- * @default '$xs'
223
+ * @default 'xs'
224
224
  */
225
225
  offset?: PopoverOffset;
226
226
  /** Dropdown width; `'target'` matches the target width. @default 'max-content' */
@@ -292,7 +292,7 @@ export interface PopoverProps {
292
292
  withArrow?: boolean;
293
293
  /** Arrow square edge length in px. @default 7 */
294
294
  arrowSize?: number;
295
- /** Arrow distance from the start/end edge when `arrowPosition="side"`. @default '$xxs' */
295
+ /** Arrow distance from the start/end edge when `arrowPosition="side"`. @default 'xxs' */
296
296
  arrowOffset?: PopoverArrowOffset;
297
297
  /** Corner radius of the arrow's outward corner in px. @default 0 */
298
298
  arrowRadius?: number;
@@ -309,7 +309,7 @@ const referenceWidthMiddleware: Middleware = {
309
309
  };
310
310
 
311
311
  const resolveSpaceOffset = (value: SpaceTokens): number => {
312
- const resolved = getTokenValue(value as TokenValueInput, "space");
312
+ const resolved = resolveToken(value, "space");
313
313
  return typeof resolved === "number" ? resolved : 0;
314
314
  };
315
315
 
@@ -413,7 +413,7 @@ export function PopoverRoot(props: PopoverProps) {
413
413
  position: arrowPosition,
414
414
  offset: resolvedArrowOffset,
415
415
  padding: resolvedArrowOffset,
416
- // The dropdown frame's default radius is `$sm` (see PopoverDropdownFrame).
416
+ // The dropdown frame's default radius is `sm` (see PopoverDropdownFrame).
417
417
  cornerRadius: resolveRadiusPx(radius),
418
418
  }),
419
419
  ]
@@ -576,7 +576,8 @@ export function PopoverTarget({
576
576
  }: PopoverTargetProps) {
577
577
  const ctx = usePopoverContext();
578
578
  const { setReference } = ctx.floating.refs;
579
- const childRef = (children as { ref?: React.Ref<TamaguiElement> }).ref;
579
+ // React 19 carries `ref` as a regular prop; the removed `element.ref` getter warns.
580
+ const childRef = (children.props as { ref?: React.Ref<TamaguiElement> }).ref;
580
581
  // floating-ui's web `setReference` is typed for DOM nodes (`ReferenceType`),
581
582
  // while Tamagui refs carry `TamaguiElement` (`HTMLElement | View`). On web the
582
583
  // mounted node is always the DOM element, so narrow to the setter's own param
@@ -681,7 +682,8 @@ export interface PopoverDropdownViewProps extends PopoverDropdownProps {
681
682
  * (`Popover.tsx` / `Popover.native.tsx`) own only the close/dismiss wiring and
682
683
  * feed it a `scrim` + `frameProps`, so the presentation stays in one place.
683
684
  */
684
- export const PopoverDropdownView = PopoverDropdownFrame.styleable<PopoverDropdownViewProps>(
685
+ export const PopoverDropdownView = styleable<PopoverDropdownViewProps>(
686
+ PopoverDropdownFrame,
685
687
  function PopoverDropdownView({ hidden, children, scrim, frameProps, ...rest }, ref) {
686
688
  const ctx = usePopoverContext();
687
689
  const open = ctx.opened;
@@ -709,7 +711,7 @@ export const PopoverDropdownView = PopoverDropdownFrame.styleable<PopoverDropdow
709
711
 
710
712
  // Re-apply the active theme inside the portal: portaling to `document.body`
711
713
  // moves the dropdown out of the theme's DOM ancestor on web, so its CSS theme
712
- // variables ($background/$color/…) would otherwise resolve to the root theme.
714
+ // variables (`background`/`color`/…) would otherwise resolve to the root theme.
713
715
  // (Mirrors `@tamagui/portal` wrapping its portal in `<TamaguiRoot theme={…}>`.)
714
716
  const themeName = useThemeName();
715
717
  // The nearest scoped `OverlayHost` (a native modal screen), else "root".
@@ -735,8 +737,8 @@ export const PopoverDropdownView = PopoverDropdownFrame.styleable<PopoverDropdow
735
737
 
736
738
  // The transition style wins on opacity/transform; consumer/slot styles apply
737
739
  // underneath. `top`/`left` come from floating-ui as props and stay instant —
738
- // the transition only animates the keys in `animateOnly` (native) / the inline
739
- // `transitionProperty` (web), never position.
740
+ // the transition only animates the scoped `transition.properties` (native) /
741
+ // the inline `transitionProperty` (web), never position.
740
742
  const { style: restStyle, ...frameRest } = rest;
741
743
  const transitionStyle = waitingForPosition ? { ...t.style, opacity: 0 } : t.style;
742
744
 
@@ -754,9 +756,9 @@ export const PopoverDropdownView = PopoverDropdownFrame.styleable<PopoverDropdow
754
756
  <PopoverDropdownFrame
755
757
  ref={dropdownRef}
756
758
  hidden={hidden || t.hidden}
757
- top={y}
758
- left={x}
759
- width={ctx.resolvedWidth}
759
+ // Conditional spreads, never `prop={undefined}`: an explicit undefined
760
+ // style prop CLEARS the base value in v3 (the frame's `borderRadius: "sm"`).
761
+ {...(ctx.resolvedWidth !== undefined ? { width: ctx.resolvedWidth } : null)}
760
762
  // The teleport host is `pointer-events: none` so its full-screen box
761
763
  // never swallows page clicks — re-enable events on the dropdown itself
762
764
  // so it stays interactive (disabled while pre-measuring and while it
@@ -764,7 +766,7 @@ export const PopoverDropdownView = PopoverDropdownFrame.styleable<PopoverDropdow
764
766
  pointerEvents={open && !waitingForPosition ? "auto" : "none"}
765
767
  zIndex={ctx.zIndex}
766
768
  shadow={ctx.shadow}
767
- borderRadius={ctx.radius}
769
+ {...(ctx.radius !== undefined ? { borderRadius: ctx.radius } : null)}
768
770
  {...roleProps}
769
771
  // `dropdown` slot sugar layers UNDER the explicit `frameProps`/`rest`.
770
772
  {...ctx.slots.dropdown}
@@ -774,7 +776,10 @@ export const PopoverDropdownView = PopoverDropdownFrame.styleable<PopoverDropdow
774
776
  // last so positioning stays instant and consumer styles can't clobber
775
777
  // the transition. Styles merge left→right: slot < consumer < transition.
776
778
  {...t.animation}
777
- style={[ctx.slots.dropdown?.style, restStyle, transitionStyle]}
779
+ // `top`/`left` track the floating engine continuously (scroll, resize):
780
+ // inline style, because a style PROP injects one CSS rule per value on
781
+ // v3 web. Positioning beats consumer styles; the transition wins last.
782
+ style={[ctx.slots.dropdown?.style, restStyle, { top: y, left: x }, transitionStyle]}
778
783
  >
779
784
  {children}
780
785
  {ctx.withArrow ? (
@@ -784,7 +789,7 @@ export const PopoverDropdownView = PopoverDropdownFrame.styleable<PopoverDropdow
784
789
  offset={ctx.arrowOffset}
785
790
  position={ctx.arrowPosition}
786
791
  radius={ctx.arrowRadius}
787
- background="$background"
792
+ background="background"
788
793
  arrowX={middlewareData.arrow?.x}
789
794
  arrowY={middlewareData.arrow?.y}
790
795
  // Appearance sugar overrides the defaults above; the slot type