@wordpress/components 28.14.1-next.cd6172eb0.0 → 29.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 (747) hide show
  1. package/CHANGELOG.md +16 -9
  2. package/build/alignment-matrix-control/icon.js +1 -0
  3. package/build/alignment-matrix-control/icon.js.map +1 -1
  4. package/build/alignment-matrix-control/index.js +1 -0
  5. package/build/alignment-matrix-control/index.js.map +1 -1
  6. package/build/animation/index.js +0 -6
  7. package/build/animation/index.js.map +1 -1
  8. package/build/autocomplete/autocompleter-ui.js +1 -0
  9. package/build/autocomplete/autocompleter-ui.js.map +1 -1
  10. package/build/autocomplete/autocompleter-ui.native.js +1 -0
  11. package/build/autocomplete/autocompleter-ui.native.js.map +1 -1
  12. package/build/autocomplete/get-default-use-items.js +1 -0
  13. package/build/autocomplete/get-default-use-items.js.map +1 -1
  14. package/build/autocomplete/index.js +1 -0
  15. package/build/autocomplete/index.js.map +1 -1
  16. package/build/border-box-control/utils.js +1 -0
  17. package/build/border-box-control/utils.js.map +1 -1
  18. package/build/border-control/border-control-dropdown/component.js +1 -0
  19. package/build/border-control/border-control-dropdown/component.js.map +1 -1
  20. package/build/border-control/border-control-style-picker/component.js +1 -0
  21. package/build/border-control/border-control-style-picker/component.js.map +1 -1
  22. package/build/box-control/index.js +13 -13
  23. package/build/box-control/index.js.map +1 -1
  24. package/build/box-control/input-control.js +161 -0
  25. package/build/box-control/input-control.js.map +1 -0
  26. package/build/box-control/types.js.map +1 -1
  27. package/build/box-control/utils.js +51 -48
  28. package/build/box-control/utils.js.map +1 -1
  29. package/build/button/index.native.js +1 -0
  30. package/build/button/index.native.js.map +1 -1
  31. package/build/button/types.js.map +1 -1
  32. package/build/color-indicator/index.native.js +1 -0
  33. package/build/color-indicator/index.native.js.map +1 -1
  34. package/build/color-palette/index.js +1 -0
  35. package/build/color-palette/index.js.map +1 -1
  36. package/build/color-palette/index.native.js +1 -0
  37. package/build/color-palette/index.native.js.map +1 -1
  38. package/build/color-palette/utils.js +1 -0
  39. package/build/color-palette/utils.js.map +1 -1
  40. package/build/combobox-control/index.js +1 -0
  41. package/build/combobox-control/index.js.map +1 -1
  42. package/build/composite/legacy/index.js +1 -0
  43. package/build/composite/legacy/index.js.map +1 -1
  44. package/build/context/context-connect.js +1 -0
  45. package/build/context/context-connect.js.map +1 -1
  46. package/build/custom-gradient-picker/gradient-bar/control-points.js +1 -0
  47. package/build/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  48. package/build/custom-gradient-picker/gradient-bar/index.js +1 -0
  49. package/build/custom-gradient-picker/gradient-bar/index.js.map +1 -1
  50. package/build/custom-gradient-picker/gradient-bar/utils.js +1 -0
  51. package/build/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
  52. package/build/custom-gradient-picker/index.js +1 -0
  53. package/build/custom-gradient-picker/index.js.map +1 -1
  54. package/build/custom-gradient-picker/serializer.js +1 -0
  55. package/build/custom-gradient-picker/serializer.js.map +1 -1
  56. package/build/custom-gradient-picker/utils.js +1 -0
  57. package/build/custom-gradient-picker/utils.js.map +1 -1
  58. package/build/custom-select-control/index.js +3 -2
  59. package/build/custom-select-control/index.js.map +1 -1
  60. package/build/dashicon/index.js +1 -0
  61. package/build/dashicon/index.js.map +1 -1
  62. package/build/date-time/date/index.js +1 -0
  63. package/build/date-time/date/index.js.map +1 -1
  64. package/build/date-time/date/use-lilius/index.js +1 -0
  65. package/build/date-time/date/use-lilius/index.js.map +1 -1
  66. package/build/date-time/time/index.js +1 -0
  67. package/build/date-time/time/index.js.map +1 -1
  68. package/build/dimension-control/index.js +1 -0
  69. package/build/dimension-control/index.js.map +1 -1
  70. package/build/dimension-control/sizes.js +1 -0
  71. package/build/dimension-control/sizes.js.map +1 -1
  72. package/build/draggable/index.js +1 -0
  73. package/build/draggable/index.js.map +1 -1
  74. package/build/draggable/index.native.js +1 -0
  75. package/build/draggable/index.native.js.map +1 -1
  76. package/build/dropdown-menu/index.js +1 -0
  77. package/build/dropdown-menu/index.js.map +1 -1
  78. package/build/dropdown-menu/index.native.js +1 -0
  79. package/build/dropdown-menu/index.native.js.map +1 -1
  80. package/build/duotone-picker/color-list-picker/index.js +1 -0
  81. package/build/duotone-picker/color-list-picker/index.js.map +1 -1
  82. package/build/duotone-picker/duotone-picker.js +1 -0
  83. package/build/duotone-picker/duotone-picker.js.map +1 -1
  84. package/build/duotone-picker/utils.js +1 -0
  85. package/build/duotone-picker/utils.js.map +1 -1
  86. package/build/external-link/index.js +1 -0
  87. package/build/external-link/index.js.map +1 -1
  88. package/build/font-size-picker/font-size-picker-select.js +1 -0
  89. package/build/font-size-picker/font-size-picker-select.js.map +1 -1
  90. package/build/font-size-picker/font-size-picker-toggle-group.js +1 -0
  91. package/build/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
  92. package/build/font-size-picker/index.js +1 -0
  93. package/build/font-size-picker/index.js.map +1 -1
  94. package/build/font-size-picker/index.native.js +1 -0
  95. package/build/font-size-picker/index.native.js.map +1 -1
  96. package/build/font-size-picker/utils.js +1 -0
  97. package/build/font-size-picker/utils.js.map +1 -1
  98. package/build/form-token-field/index.js +1 -0
  99. package/build/form-token-field/index.js.map +1 -1
  100. package/build/form-token-field/suggestions-list.js +1 -0
  101. package/build/form-token-field/suggestions-list.js.map +1 -1
  102. package/build/gradient-picker/index.js +1 -0
  103. package/build/gradient-picker/index.js.map +1 -1
  104. package/build/guide/index.js +1 -0
  105. package/build/guide/index.js.map +1 -1
  106. package/build/guide/page-control.js +1 -0
  107. package/build/guide/page-control.js.map +1 -1
  108. package/build/h-stack/hook.js +1 -0
  109. package/build/h-stack/hook.js.map +1 -1
  110. package/build/higher-order/navigate-regions/index.js +1 -0
  111. package/build/higher-order/navigate-regions/index.js.map +1 -1
  112. package/build/higher-order/with-fallback-styles/index.js +1 -0
  113. package/build/higher-order/with-fallback-styles/index.js.map +1 -1
  114. package/build/higher-order/with-filters/index.js +1 -0
  115. package/build/higher-order/with-filters/index.js.map +1 -1
  116. package/build/higher-order/with-notices/index.js +1 -0
  117. package/build/higher-order/with-notices/index.js.map +1 -1
  118. package/build/index.js +0 -6
  119. package/build/index.js.map +1 -1
  120. package/build/keyboard-shortcuts/index.js +1 -0
  121. package/build/keyboard-shortcuts/index.js.map +1 -1
  122. package/build/menu/styles.js +16 -16
  123. package/build/menu/styles.js.map +1 -1
  124. package/build/menu-items-choice/index.js +1 -0
  125. package/build/menu-items-choice/index.js.map +1 -1
  126. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +1 -0
  127. package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
  128. package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js +1 -0
  129. package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
  130. package/build/mobile/bottom-sheet/picker-cell.native.js +1 -0
  131. package/build/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
  132. package/build/mobile/bottom-sheet-select-control/index.native.js +1 -0
  133. package/build/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
  134. package/build/mobile/color-settings/palette.screen.native.js +1 -0
  135. package/build/mobile/color-settings/palette.screen.native.js.map +1 -1
  136. package/build/mobile/gradient/index.native.js +1 -0
  137. package/build/mobile/gradient/index.native.js.map +1 -1
  138. package/build/mobile/media-edit/index.native.js +1 -0
  139. package/build/mobile/media-edit/index.native.js.map +1 -1
  140. package/build/mobile/picker/index.android.js +1 -0
  141. package/build/mobile/picker/index.android.js.map +1 -1
  142. package/build/mobile/picker/index.ios.js +1 -0
  143. package/build/mobile/picker/index.ios.js.map +1 -1
  144. package/build/mobile/segmented-control/index.native.js +1 -0
  145. package/build/mobile/segmented-control/index.native.js.map +1 -1
  146. package/build/mobile/utils/get-px-from-css-unit.native.js +1 -0
  147. package/build/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
  148. package/build/navigable-container/container.js +1 -0
  149. package/build/navigable-container/container.js.map +1 -1
  150. package/build/navigation/group/index.js +1 -0
  151. package/build/navigation/group/index.js.map +1 -1
  152. package/build/navigation/menu/menu-title-search.js +1 -0
  153. package/build/navigation/menu/menu-title-search.js.map +1 -1
  154. package/build/navigation/menu/search-no-results-found.js +1 -0
  155. package/build/navigation/menu/search-no-results-found.js.map +1 -1
  156. package/build/navigation/styles/navigation-styles.js +12 -12
  157. package/build/navigation/styles/navigation-styles.js.map +1 -1
  158. package/build/navigator/navigator/component.js +1 -0
  159. package/build/navigator/navigator/component.js.map +1 -1
  160. package/build/navigator/navigator-screen/component.js +1 -0
  161. package/build/navigator/navigator-screen/component.js.map +1 -1
  162. package/build/navigator/utils/router.js +1 -0
  163. package/build/navigator/utils/router.js.map +1 -1
  164. package/build/notice/index.js +1 -0
  165. package/build/notice/index.js.map +1 -1
  166. package/build/notice/list.js +1 -0
  167. package/build/notice/list.js.map +1 -1
  168. package/build/notice/list.native.js +1 -0
  169. package/build/notice/list.native.js.map +1 -1
  170. package/build/palette-edit/index.js +1 -0
  171. package/build/palette-edit/index.js.map +1 -1
  172. package/build/panel/actions.native.js +1 -0
  173. package/build/panel/actions.native.js.map +1 -1
  174. package/build/query-controls/index.js +1 -0
  175. package/build/query-controls/index.js.map +1 -1
  176. package/build/query-controls/terms.js +1 -0
  177. package/build/query-controls/terms.js.map +1 -1
  178. package/build/radio-control/index.js +1 -0
  179. package/build/radio-control/index.js.map +1 -1
  180. package/build/radio-control/index.native.js +1 -0
  181. package/build/radio-control/index.native.js.map +1 -1
  182. package/build/range-control/mark.js +0 -1
  183. package/build/range-control/mark.js.map +1 -1
  184. package/build/range-control/rail.js +1 -0
  185. package/build/range-control/rail.js.map +1 -1
  186. package/build/range-control/styles/range-control-styles.js +33 -45
  187. package/build/range-control/styles/range-control-styles.js.map +1 -1
  188. package/build/resizable-box/index.js +1 -0
  189. package/build/resizable-box/index.js.map +1 -1
  190. package/build/sandbox/index.js +1 -0
  191. package/build/sandbox/index.js.map +1 -1
  192. package/build/sandbox/index.native.js +1 -0
  193. package/build/sandbox/index.native.js.map +1 -1
  194. package/build/search-control/index.native.js +1 -0
  195. package/build/search-control/index.native.js.map +1 -1
  196. package/build/select-control/index.js +1 -0
  197. package/build/select-control/index.js.map +1 -1
  198. package/build/slot-fill/bubbles-virtually/slot-fill-provider.js +1 -0
  199. package/build/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
  200. package/build/slot-fill/provider.js +1 -0
  201. package/build/slot-fill/provider.js.map +1 -1
  202. package/build/slot-fill/slot.js +1 -0
  203. package/build/slot-fill/slot.js.map +1 -1
  204. package/build/snackbar/index.js +1 -0
  205. package/build/snackbar/index.js.map +1 -1
  206. package/build/snackbar/list.js +1 -0
  207. package/build/snackbar/list.js.map +1 -1
  208. package/build/tab-panel/index.js +1 -0
  209. package/build/tab-panel/index.js.map +1 -1
  210. package/build/tabs/index.js +1 -0
  211. package/build/tabs/index.js.map +1 -1
  212. package/build/text/utils.js +1 -0
  213. package/build/text/utils.js.map +1 -1
  214. package/build/theme/color-algorithms.js +1 -0
  215. package/build/theme/color-algorithms.js.map +1 -1
  216. package/build/toggle-group-control/toggle-group-control/styles.js +7 -7
  217. package/build/toggle-group-control/toggle-group-control/styles.js.map +1 -1
  218. package/build/toggle-group-control/toggle-group-control-option-base/styles.js +8 -8
  219. package/build/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
  220. package/build/toolbar/toolbar-group/index.js +1 -0
  221. package/build/toolbar/toolbar-group/index.js.map +1 -1
  222. package/build/tools-panel/tools-panel/hook.js +1 -0
  223. package/build/tools-panel/tools-panel/hook.js.map +1 -1
  224. package/build/tools-panel/tools-panel-header/component.js +1 -0
  225. package/build/tools-panel/tools-panel-header/component.js.map +1 -1
  226. package/build/tree-grid/cell.js +4 -1
  227. package/build/tree-grid/cell.js.map +1 -1
  228. package/build/tree-grid/index.js +1 -0
  229. package/build/tree-grid/index.js.map +1 -1
  230. package/build/tree-grid/types.js.map +1 -1
  231. package/build/tree-select/index.js +1 -0
  232. package/build/tree-select/index.js.map +1 -1
  233. package/build/unit-control/index.js +1 -0
  234. package/build/unit-control/index.js.map +1 -1
  235. package/build/unit-control/index.native.js +1 -0
  236. package/build/unit-control/index.native.js.map +1 -1
  237. package/build/unit-control/unit-select-control.js +1 -0
  238. package/build/unit-control/unit-select-control.js.map +1 -1
  239. package/build/unit-control/utils.js +1 -0
  240. package/build/unit-control/utils.js.map +1 -1
  241. package/build/utils/colors-values.js +3 -0
  242. package/build/utils/colors-values.js.map +1 -1
  243. package/build/utils/config-values.js +0 -1
  244. package/build/utils/config-values.js.map +1 -1
  245. package/build/utils/get-valid-children.js +1 -0
  246. package/build/utils/get-valid-children.js.map +1 -1
  247. package/build/utils/hooks/use-animated-offset-rect.js +1 -0
  248. package/build/utils/hooks/use-animated-offset-rect.js.map +1 -1
  249. package/build/utils/hooks/use-cx.js +1 -0
  250. package/build/utils/hooks/use-cx.js.map +1 -1
  251. package/build/utils/math.js +1 -0
  252. package/build/utils/math.js.map +1 -1
  253. package/build/utils/rtl.js +1 -0
  254. package/build/utils/rtl.js.map +1 -1
  255. package/build/utils/values.js +1 -0
  256. package/build/utils/values.js.map +1 -1
  257. package/build/z-stack/component.js +1 -0
  258. package/build/z-stack/component.js.map +1 -1
  259. package/build-module/alignment-matrix-control/icon.js +1 -0
  260. package/build-module/alignment-matrix-control/icon.js.map +1 -1
  261. package/build-module/alignment-matrix-control/index.js +1 -0
  262. package/build-module/alignment-matrix-control/index.js.map +1 -1
  263. package/build-module/animation/index.js +1 -1
  264. package/build-module/animation/index.js.map +1 -1
  265. package/build-module/autocomplete/autocompleter-ui.js +1 -0
  266. package/build-module/autocomplete/autocompleter-ui.js.map +1 -1
  267. package/build-module/autocomplete/autocompleter-ui.native.js +1 -0
  268. package/build-module/autocomplete/autocompleter-ui.native.js.map +1 -1
  269. package/build-module/autocomplete/get-default-use-items.js +1 -0
  270. package/build-module/autocomplete/get-default-use-items.js.map +1 -1
  271. package/build-module/autocomplete/index.js +1 -0
  272. package/build-module/autocomplete/index.js.map +1 -1
  273. package/build-module/border-box-control/utils.js +1 -0
  274. package/build-module/border-box-control/utils.js.map +1 -1
  275. package/build-module/border-control/border-control-dropdown/component.js +1 -0
  276. package/build-module/border-control/border-control-dropdown/component.js.map +1 -1
  277. package/build-module/border-control/border-control-style-picker/component.js +1 -0
  278. package/build-module/border-control/border-control-style-picker/component.js.map +1 -1
  279. package/build-module/box-control/index.js +15 -15
  280. package/build-module/box-control/index.js.map +1 -1
  281. package/build-module/box-control/input-control.js +153 -0
  282. package/build-module/box-control/input-control.js.map +1 -0
  283. package/build-module/box-control/types.js.map +1 -1
  284. package/build-module/box-control/utils.js +48 -46
  285. package/build-module/box-control/utils.js.map +1 -1
  286. package/build-module/button/index.native.js +1 -0
  287. package/build-module/button/index.native.js.map +1 -1
  288. package/build-module/button/types.js.map +1 -1
  289. package/build-module/color-indicator/index.native.js +1 -0
  290. package/build-module/color-indicator/index.native.js.map +1 -1
  291. package/build-module/color-palette/index.js +1 -0
  292. package/build-module/color-palette/index.js.map +1 -1
  293. package/build-module/color-palette/index.native.js +1 -0
  294. package/build-module/color-palette/index.native.js.map +1 -1
  295. package/build-module/color-palette/utils.js +1 -0
  296. package/build-module/color-palette/utils.js.map +1 -1
  297. package/build-module/combobox-control/index.js +1 -0
  298. package/build-module/combobox-control/index.js.map +1 -1
  299. package/build-module/composite/legacy/index.js +1 -0
  300. package/build-module/composite/legacy/index.js.map +1 -1
  301. package/build-module/context/context-connect.js +1 -0
  302. package/build-module/context/context-connect.js.map +1 -1
  303. package/build-module/custom-gradient-picker/gradient-bar/control-points.js +1 -0
  304. package/build-module/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  305. package/build-module/custom-gradient-picker/gradient-bar/index.js +1 -0
  306. package/build-module/custom-gradient-picker/gradient-bar/index.js.map +1 -1
  307. package/build-module/custom-gradient-picker/gradient-bar/utils.js +1 -0
  308. package/build-module/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
  309. package/build-module/custom-gradient-picker/index.js +1 -0
  310. package/build-module/custom-gradient-picker/index.js.map +1 -1
  311. package/build-module/custom-gradient-picker/serializer.js +1 -0
  312. package/build-module/custom-gradient-picker/serializer.js.map +1 -1
  313. package/build-module/custom-gradient-picker/utils.js +1 -0
  314. package/build-module/custom-gradient-picker/utils.js.map +1 -1
  315. package/build-module/custom-select-control/index.js +3 -2
  316. package/build-module/custom-select-control/index.js.map +1 -1
  317. package/build-module/dashicon/index.js +1 -0
  318. package/build-module/dashicon/index.js.map +1 -1
  319. package/build-module/date-time/date/index.js +1 -0
  320. package/build-module/date-time/date/index.js.map +1 -1
  321. package/build-module/date-time/date/use-lilius/index.js +1 -0
  322. package/build-module/date-time/date/use-lilius/index.js.map +1 -1
  323. package/build-module/date-time/time/index.js +1 -0
  324. package/build-module/date-time/time/index.js.map +1 -1
  325. package/build-module/dimension-control/index.js +1 -0
  326. package/build-module/dimension-control/index.js.map +1 -1
  327. package/build-module/dimension-control/sizes.js +1 -0
  328. package/build-module/dimension-control/sizes.js.map +1 -1
  329. package/build-module/draggable/index.js +1 -0
  330. package/build-module/draggable/index.js.map +1 -1
  331. package/build-module/draggable/index.native.js +1 -0
  332. package/build-module/draggable/index.native.js.map +1 -1
  333. package/build-module/dropdown-menu/index.js +1 -0
  334. package/build-module/dropdown-menu/index.js.map +1 -1
  335. package/build-module/dropdown-menu/index.native.js +1 -0
  336. package/build-module/dropdown-menu/index.native.js.map +1 -1
  337. package/build-module/duotone-picker/color-list-picker/index.js +1 -0
  338. package/build-module/duotone-picker/color-list-picker/index.js.map +1 -1
  339. package/build-module/duotone-picker/duotone-picker.js +1 -0
  340. package/build-module/duotone-picker/duotone-picker.js.map +1 -1
  341. package/build-module/duotone-picker/utils.js +1 -0
  342. package/build-module/duotone-picker/utils.js.map +1 -1
  343. package/build-module/external-link/index.js +1 -0
  344. package/build-module/external-link/index.js.map +1 -1
  345. package/build-module/font-size-picker/font-size-picker-select.js +1 -0
  346. package/build-module/font-size-picker/font-size-picker-select.js.map +1 -1
  347. package/build-module/font-size-picker/font-size-picker-toggle-group.js +1 -0
  348. package/build-module/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
  349. package/build-module/font-size-picker/index.js +1 -0
  350. package/build-module/font-size-picker/index.js.map +1 -1
  351. package/build-module/font-size-picker/index.native.js +1 -0
  352. package/build-module/font-size-picker/index.native.js.map +1 -1
  353. package/build-module/font-size-picker/utils.js +1 -0
  354. package/build-module/font-size-picker/utils.js.map +1 -1
  355. package/build-module/form-token-field/index.js +1 -0
  356. package/build-module/form-token-field/index.js.map +1 -1
  357. package/build-module/form-token-field/suggestions-list.js +1 -0
  358. package/build-module/form-token-field/suggestions-list.js.map +1 -1
  359. package/build-module/gradient-picker/index.js +1 -0
  360. package/build-module/gradient-picker/index.js.map +1 -1
  361. package/build-module/guide/index.js +1 -0
  362. package/build-module/guide/index.js.map +1 -1
  363. package/build-module/guide/page-control.js +1 -0
  364. package/build-module/guide/page-control.js.map +1 -1
  365. package/build-module/h-stack/hook.js +1 -0
  366. package/build-module/h-stack/hook.js.map +1 -1
  367. package/build-module/higher-order/navigate-regions/index.js +1 -0
  368. package/build-module/higher-order/navigate-regions/index.js.map +1 -1
  369. package/build-module/higher-order/with-fallback-styles/index.js +1 -0
  370. package/build-module/higher-order/with-fallback-styles/index.js.map +1 -1
  371. package/build-module/higher-order/with-filters/index.js +1 -0
  372. package/build-module/higher-order/with-filters/index.js.map +1 -1
  373. package/build-module/higher-order/with-notices/index.js +1 -0
  374. package/build-module/higher-order/with-notices/index.js.map +1 -1
  375. package/build-module/index.js +1 -1
  376. package/build-module/index.js.map +1 -1
  377. package/build-module/keyboard-shortcuts/index.js +1 -0
  378. package/build-module/keyboard-shortcuts/index.js.map +1 -1
  379. package/build-module/menu/styles.js +16 -16
  380. package/build-module/menu/styles.js.map +1 -1
  381. package/build-module/menu-items-choice/index.js +1 -0
  382. package/build-module/menu-items-choice/index.js.map +1 -1
  383. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +1 -0
  384. package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
  385. package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js +1 -0
  386. package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
  387. package/build-module/mobile/bottom-sheet/picker-cell.native.js +1 -0
  388. package/build-module/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
  389. package/build-module/mobile/bottom-sheet-select-control/index.native.js +1 -0
  390. package/build-module/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
  391. package/build-module/mobile/color-settings/palette.screen.native.js +1 -0
  392. package/build-module/mobile/color-settings/palette.screen.native.js.map +1 -1
  393. package/build-module/mobile/gradient/index.native.js +1 -0
  394. package/build-module/mobile/gradient/index.native.js.map +1 -1
  395. package/build-module/mobile/media-edit/index.native.js +1 -0
  396. package/build-module/mobile/media-edit/index.native.js.map +1 -1
  397. package/build-module/mobile/picker/index.android.js +1 -0
  398. package/build-module/mobile/picker/index.android.js.map +1 -1
  399. package/build-module/mobile/picker/index.ios.js +1 -0
  400. package/build-module/mobile/picker/index.ios.js.map +1 -1
  401. package/build-module/mobile/segmented-control/index.native.js +1 -0
  402. package/build-module/mobile/segmented-control/index.native.js.map +1 -1
  403. package/build-module/mobile/utils/get-px-from-css-unit.native.js +1 -0
  404. package/build-module/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
  405. package/build-module/navigable-container/container.js +1 -0
  406. package/build-module/navigable-container/container.js.map +1 -1
  407. package/build-module/navigation/group/index.js +1 -0
  408. package/build-module/navigation/group/index.js.map +1 -1
  409. package/build-module/navigation/menu/menu-title-search.js +1 -0
  410. package/build-module/navigation/menu/menu-title-search.js.map +1 -1
  411. package/build-module/navigation/menu/search-no-results-found.js +1 -0
  412. package/build-module/navigation/menu/search-no-results-found.js.map +1 -1
  413. package/build-module/navigation/styles/navigation-styles.js +12 -12
  414. package/build-module/navigation/styles/navigation-styles.js.map +1 -1
  415. package/build-module/navigator/navigator/component.js +1 -0
  416. package/build-module/navigator/navigator/component.js.map +1 -1
  417. package/build-module/navigator/navigator-screen/component.js +1 -0
  418. package/build-module/navigator/navigator-screen/component.js.map +1 -1
  419. package/build-module/navigator/utils/router.js +1 -0
  420. package/build-module/navigator/utils/router.js.map +1 -1
  421. package/build-module/notice/index.js +1 -0
  422. package/build-module/notice/index.js.map +1 -1
  423. package/build-module/notice/list.js +1 -0
  424. package/build-module/notice/list.js.map +1 -1
  425. package/build-module/notice/list.native.js +1 -0
  426. package/build-module/notice/list.native.js.map +1 -1
  427. package/build-module/palette-edit/index.js +1 -0
  428. package/build-module/palette-edit/index.js.map +1 -1
  429. package/build-module/panel/actions.native.js +1 -0
  430. package/build-module/panel/actions.native.js.map +1 -1
  431. package/build-module/query-controls/index.js +1 -0
  432. package/build-module/query-controls/index.js.map +1 -1
  433. package/build-module/query-controls/terms.js +1 -0
  434. package/build-module/query-controls/terms.js.map +1 -1
  435. package/build-module/radio-control/index.js +1 -0
  436. package/build-module/radio-control/index.js.map +1 -1
  437. package/build-module/radio-control/index.native.js +1 -0
  438. package/build-module/radio-control/index.native.js.map +1 -1
  439. package/build-module/range-control/mark.js +0 -1
  440. package/build-module/range-control/mark.js.map +1 -1
  441. package/build-module/range-control/rail.js +1 -0
  442. package/build-module/range-control/rail.js.map +1 -1
  443. package/build-module/range-control/styles/range-control-styles.js +33 -45
  444. package/build-module/range-control/styles/range-control-styles.js.map +1 -1
  445. package/build-module/resizable-box/index.js +1 -0
  446. package/build-module/resizable-box/index.js.map +1 -1
  447. package/build-module/sandbox/index.js +1 -0
  448. package/build-module/sandbox/index.js.map +1 -1
  449. package/build-module/sandbox/index.native.js +1 -0
  450. package/build-module/sandbox/index.native.js.map +1 -1
  451. package/build-module/search-control/index.native.js +1 -0
  452. package/build-module/search-control/index.native.js.map +1 -1
  453. package/build-module/select-control/index.js +1 -0
  454. package/build-module/select-control/index.js.map +1 -1
  455. package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js +1 -0
  456. package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
  457. package/build-module/slot-fill/provider.js +1 -0
  458. package/build-module/slot-fill/provider.js.map +1 -1
  459. package/build-module/slot-fill/slot.js +1 -0
  460. package/build-module/slot-fill/slot.js.map +1 -1
  461. package/build-module/snackbar/index.js +1 -0
  462. package/build-module/snackbar/index.js.map +1 -1
  463. package/build-module/snackbar/list.js +1 -0
  464. package/build-module/snackbar/list.js.map +1 -1
  465. package/build-module/tab-panel/index.js +1 -0
  466. package/build-module/tab-panel/index.js.map +1 -1
  467. package/build-module/tabs/index.js +1 -0
  468. package/build-module/tabs/index.js.map +1 -1
  469. package/build-module/text/utils.js +1 -0
  470. package/build-module/text/utils.js.map +1 -1
  471. package/build-module/theme/color-algorithms.js +1 -0
  472. package/build-module/theme/color-algorithms.js.map +1 -1
  473. package/build-module/toggle-group-control/toggle-group-control/styles.js +7 -7
  474. package/build-module/toggle-group-control/toggle-group-control/styles.js.map +1 -1
  475. package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js +8 -8
  476. package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
  477. package/build-module/toolbar/toolbar-group/index.js +1 -0
  478. package/build-module/toolbar/toolbar-group/index.js.map +1 -1
  479. package/build-module/tools-panel/tools-panel/hook.js +1 -0
  480. package/build-module/tools-panel/tools-panel/hook.js.map +1 -1
  481. package/build-module/tools-panel/tools-panel-header/component.js +1 -0
  482. package/build-module/tools-panel/tools-panel-header/component.js.map +1 -1
  483. package/build-module/tree-grid/cell.js +4 -1
  484. package/build-module/tree-grid/cell.js.map +1 -1
  485. package/build-module/tree-grid/index.js +1 -0
  486. package/build-module/tree-grid/index.js.map +1 -1
  487. package/build-module/tree-grid/types.js.map +1 -1
  488. package/build-module/tree-select/index.js +1 -0
  489. package/build-module/tree-select/index.js.map +1 -1
  490. package/build-module/unit-control/index.js +1 -0
  491. package/build-module/unit-control/index.js.map +1 -1
  492. package/build-module/unit-control/index.native.js +1 -0
  493. package/build-module/unit-control/index.native.js.map +1 -1
  494. package/build-module/unit-control/unit-select-control.js +1 -0
  495. package/build-module/unit-control/unit-select-control.js.map +1 -1
  496. package/build-module/unit-control/utils.js +1 -0
  497. package/build-module/unit-control/utils.js.map +1 -1
  498. package/build-module/utils/colors-values.js +3 -0
  499. package/build-module/utils/colors-values.js.map +1 -1
  500. package/build-module/utils/config-values.js +0 -1
  501. package/build-module/utils/config-values.js.map +1 -1
  502. package/build-module/utils/get-valid-children.js +1 -0
  503. package/build-module/utils/get-valid-children.js.map +1 -1
  504. package/build-module/utils/hooks/use-animated-offset-rect.js +1 -0
  505. package/build-module/utils/hooks/use-animated-offset-rect.js.map +1 -1
  506. package/build-module/utils/hooks/use-cx.js +1 -0
  507. package/build-module/utils/hooks/use-cx.js.map +1 -1
  508. package/build-module/utils/math.js +1 -0
  509. package/build-module/utils/math.js.map +1 -1
  510. package/build-module/utils/rtl.js +1 -0
  511. package/build-module/utils/rtl.js.map +1 -1
  512. package/build-module/utils/values.js +1 -0
  513. package/build-module/utils/values.js.map +1 -1
  514. package/build-module/z-stack/component.js +1 -0
  515. package/build-module/z-stack/component.js.map +1 -1
  516. package/build-style/style-rtl.css +3 -3
  517. package/build-style/style.css +3 -3
  518. package/build-types/alignment-matrix-control/styles.d.ts.map +1 -1
  519. package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts.map +1 -1
  520. package/build-types/animation/index.d.ts +1 -1
  521. package/build-types/animation/index.d.ts.map +1 -1
  522. package/build-types/base-control/hooks.d.ts +4 -4
  523. package/build-types/base-control/styles/base-control-styles.d.ts.map +1 -1
  524. package/build-types/border-box-control/border-box-control/hook.d.ts +83 -83
  525. package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +93 -93
  526. package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +83 -83
  527. package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +83 -83
  528. package/build-types/border-control/border-control/hook.d.ts +83 -83
  529. package/build-types/border-control/border-control-dropdown/hook.d.ts +83 -83
  530. package/build-types/border-control/stories/index.story.d.ts.map +1 -1
  531. package/build-types/box-control/index.d.ts.map +1 -1
  532. package/build-types/box-control/input-control.d.ts +3 -0
  533. package/build-types/box-control/input-control.d.ts.map +1 -0
  534. package/build-types/box-control/stories/index.story.d.ts +816 -816
  535. package/build-types/box-control/stories/index.story.d.ts.map +1 -1
  536. package/build-types/box-control/styles/box-control-icon-styles.d.ts.map +1 -1
  537. package/build-types/box-control/types.d.ts +9 -1
  538. package/build-types/box-control/types.d.ts.map +1 -1
  539. package/build-types/box-control/utils.d.ts +23 -15
  540. package/build-types/box-control/utils.d.ts.map +1 -1
  541. package/build-types/button/stories/index.story.d.ts +18 -0
  542. package/build-types/button/stories/index.story.d.ts.map +1 -1
  543. package/build-types/button/types.d.ts +6 -4
  544. package/build-types/button/types.d.ts.map +1 -1
  545. package/build-types/card/card/hook.d.ts +83 -83
  546. package/build-types/card/card-body/hook.d.ts +83 -83
  547. package/build-types/card/card-divider/hook.d.ts +84 -84
  548. package/build-types/card/card-footer/hook.d.ts +83 -83
  549. package/build-types/card/card-header/hook.d.ts +83 -83
  550. package/build-types/card/card-media/hook.d.ts +83 -83
  551. package/build-types/color-picker/styles.d.ts.map +1 -1
  552. package/build-types/combobox-control/stories/index.story.d.ts.map +1 -1
  553. package/build-types/composite/index.d.ts.map +1 -1
  554. package/build-types/context/constants.d.ts.map +1 -1
  555. package/build-types/context/get-styled-class-name-from-key.d.ts +1 -9
  556. package/build-types/context/get-styled-class-name-from-key.d.ts.map +1 -1
  557. package/build-types/custom-select-control-v2/stories/index.story.d.ts.map +1 -1
  558. package/build-types/custom-select-control-v2/styles.d.ts.map +1 -1
  559. package/build-types/date-time/date/styles.d.ts.map +1 -1
  560. package/build-types/date-time/stories/date-time.story.d.ts.map +1 -1
  561. package/build-types/date-time/stories/date.story.d.ts.map +1 -1
  562. package/build-types/date-time/stories/time.story.d.ts.map +1 -1
  563. package/build-types/date-time/time/styles.d.ts.map +1 -1
  564. package/build-types/dimension-control/stories/index.story.d.ts.map +1 -1
  565. package/build-types/dropdown-menu/index.d.ts.map +1 -1
  566. package/build-types/elevation/hook.d.ts +83 -83
  567. package/build-types/flex/flex/hook.d.ts +83 -83
  568. package/build-types/flex/flex-block/hook.d.ts +83 -83
  569. package/build-types/flex/flex-item/hook.d.ts +83 -83
  570. package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -1
  571. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts.map +1 -1
  572. package/build-types/font-size-picker/styles.d.ts.map +1 -1
  573. package/build-types/grid/hook.d.ts +83 -83
  574. package/build-types/h-stack/hook.d.ts +83 -83
  575. package/build-types/heading/hook.d.ts +82 -82
  576. package/build-types/higher-order/with-fallback-styles/index.d.ts +2 -2
  577. package/build-types/higher-order/with-filters/index.d.ts +4 -4
  578. package/build-types/index.d.ts +1 -1
  579. package/build-types/index.d.ts.map +1 -1
  580. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  581. package/build-types/item-group/item/hook.d.ts +83 -83
  582. package/build-types/item-group/item-group/hook.d.ts +83 -83
  583. package/build-types/menu/styles.d.ts.map +1 -1
  584. package/build-types/menu-item/stories/index.story.d.ts.map +1 -1
  585. package/build-types/navigation/styles/navigation-styles.d.ts.map +1 -1
  586. package/build-types/navigator/navigator-back-button/hook.d.ts +92 -92
  587. package/build-types/navigator/navigator-button/hook.d.ts +92 -92
  588. package/build-types/popover/stories/index.story.d.ts.map +1 -1
  589. package/build-types/progress-bar/styles.d.ts.map +1 -1
  590. package/build-types/range-control/mark.d.ts.map +1 -1
  591. package/build-types/range-control/styles/range-control-styles.d.ts +2 -2
  592. package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
  593. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts.map +1 -1
  594. package/build-types/resizable-box/stories/index.story.d.ts.map +1 -1
  595. package/build-types/scrollable/hook.d.ts +83 -83
  596. package/build-types/scrollable/stories/index.story.d.ts.map +1 -1
  597. package/build-types/select-control/index.d.ts.map +1 -1
  598. package/build-types/select-control/stories/index.story.d.ts.map +1 -1
  599. package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
  600. package/build-types/spacer/hook.d.ts +83 -83
  601. package/build-types/spinner/styles.d.ts.map +1 -1
  602. package/build-types/surface/hook.d.ts +83 -83
  603. package/build-types/text/hook.d.ts +83 -83
  604. package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts.map +1 -1
  605. package/build-types/tools-panel/tools-panel/hook.d.ts +83 -83
  606. package/build-types/tools-panel/tools-panel-header/hook.d.ts +83 -83
  607. package/build-types/tools-panel/tools-panel-item/hook.d.ts +83 -83
  608. package/build-types/tree-grid/cell.d.ts.map +1 -1
  609. package/build-types/tree-grid/types.d.ts +1 -1
  610. package/build-types/tree-grid/types.d.ts.map +1 -1
  611. package/build-types/truncate/hook.d.ts +83 -83
  612. package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
  613. package/build-types/utils/colors-values.d.ts +3 -0
  614. package/build-types/utils/colors-values.d.ts.map +1 -1
  615. package/build-types/utils/config-values.d.ts +0 -1
  616. package/build-types/utils/hooks/use-controlled-state.d.ts +1 -1
  617. package/build-types/utils/hooks/use-controlled-state.d.ts.map +1 -1
  618. package/build-types/utils/rtl.d.ts +1 -1
  619. package/build-types/utils/rtl.d.ts.map +1 -1
  620. package/build-types/v-stack/hook.d.ts +83 -83
  621. package/build-types/z-stack/styles.d.ts.map +1 -1
  622. package/package.json +19 -19
  623. package/src/alignment-matrix-control/stories/index.story.tsx +2 -2
  624. package/src/angle-picker-control/stories/index.story.tsx +2 -2
  625. package/src/animation/index.tsx +0 -1
  626. package/src/base-control/stories/index.story.tsx +1 -1
  627. package/src/border-box-control/stories/index.story.tsx +1 -1
  628. package/src/border-control/stories/index.story.tsx +1 -1
  629. package/src/box-control/index.tsx +24 -14
  630. package/src/box-control/input-control.tsx +197 -0
  631. package/src/box-control/stories/index.story.tsx +1 -1
  632. package/src/box-control/types.ts +9 -1
  633. package/src/box-control/utils.ts +62 -60
  634. package/src/button/README.md +108 -219
  635. package/src/button/docs-manifest.json +5 -0
  636. package/src/button/stories/best-practices.mdx +31 -0
  637. package/src/button/stories/index.story.tsx +18 -0
  638. package/src/button/types.ts +6 -4
  639. package/src/button-group/stories/index.story.tsx +1 -1
  640. package/src/card/stories/index.story.tsx +2 -2
  641. package/src/checkbox-control/stories/index.story.tsx +1 -1
  642. package/src/circular-option-picker/stories/index.story.tsx +2 -2
  643. package/src/color-palette/stories/index.story.tsx +3 -3
  644. package/src/color-picker/stories/index.story.tsx +2 -2
  645. package/src/combobox-control/stories/index.story.tsx +1 -1
  646. package/src/composite/stories/index.story.tsx +3 -3
  647. package/src/confirm-dialog/stories/index.story.tsx +1 -1
  648. package/src/custom-select-control/index.tsx +2 -2
  649. package/src/custom-select-control/stories/index.story.tsx +2 -2
  650. package/src/custom-select-control-v2/stories/index.story.tsx +2 -2
  651. package/src/date-time/stories/date-time.story.tsx +4 -1
  652. package/src/date-time/stories/date.story.tsx +4 -1
  653. package/src/date-time/stories/time.story.tsx +4 -1
  654. package/src/dimension-control/stories/index.story.tsx +1 -1
  655. package/src/disabled/stories/index.story.tsx +3 -3
  656. package/src/divider/stories/index.story.tsx +1 -1
  657. package/src/draggable/stories/index.story.tsx +2 -2
  658. package/src/dropdown/stories/index.story.tsx +7 -7
  659. package/src/dropdown-menu/index.tsx +3 -1
  660. package/src/dropdown-menu/stories/index.story.tsx +3 -3
  661. package/src/duotone-picker/stories/duotone-picker.story.tsx +1 -1
  662. package/src/flex/stories/index.story.tsx +1 -1
  663. package/src/font-size-picker/stories/index.story.tsx +1 -1
  664. package/src/form-file-upload/stories/index.story.tsx +3 -3
  665. package/src/form-token-field/stories/index.story.tsx +2 -2
  666. package/src/gradient-picker/stories/index.story.tsx +1 -1
  667. package/src/grid/stories/index.story.tsx +1 -1
  668. package/src/h-stack/stories/index.story.tsx +2 -2
  669. package/src/index.ts +1 -5
  670. package/src/input-control/stories/index.story.tsx +4 -4
  671. package/src/item-group/stories/index.story.tsx +2 -2
  672. package/src/menu/stories/index.story.tsx +2 -2
  673. package/src/menu/styles.ts +1 -1
  674. package/src/menu-group/stories/index.story.tsx +1 -1
  675. package/src/menu-item/stories/index.story.tsx +1 -1
  676. package/src/menu-items-choice/stories/index.story.tsx +1 -1
  677. package/src/modal/stories/index.story.tsx +2 -2
  678. package/src/modal/test/index.tsx +2 -1
  679. package/src/navigable-container/stories/navigable-menu.story.tsx +1 -1
  680. package/src/navigable-container/stories/tabbable-container.story.tsx +1 -1
  681. package/src/navigation/stories/index.story.tsx +4 -4
  682. package/src/navigation/styles/navigation-styles.tsx +3 -2
  683. package/src/navigator/stories/index.story.tsx +3 -3
  684. package/src/number-control/stories/index.story.tsx +1 -1
  685. package/src/panel/stories/index.story.tsx +1 -1
  686. package/src/placeholder/stories/index.story.tsx +3 -3
  687. package/src/popover/stories/index.story.tsx +11 -9
  688. package/src/query-controls/stories/index.story.tsx +6 -6
  689. package/src/radio-control/stories/index.story.tsx +1 -1
  690. package/src/radio-group/stories/index.story.tsx +3 -3
  691. package/src/range-control/mark.tsx +0 -1
  692. package/src/range-control/stories/index.story.tsx +7 -7
  693. package/src/range-control/styles/range-control-styles.ts +18 -19
  694. package/src/resizable-box/stories/index.story.tsx +1 -1
  695. package/src/responsive-wrapper/stories/index.story.tsx +1 -1
  696. package/src/sandbox/stories/index.story.tsx +1 -1
  697. package/src/scrollable/stories/index.story.tsx +2 -1
  698. package/src/search-control/stories/index.story.tsx +1 -1
  699. package/src/select-control/stories/index.story.tsx +1 -1
  700. package/src/slot-fill/stories/index.story.tsx +2 -2
  701. package/src/snackbar/stories/index.story.tsx +4 -4
  702. package/src/snackbar/stories/list.story.tsx +2 -2
  703. package/src/surface/stories/index.story.tsx +1 -1
  704. package/src/text-control/stories/index.story.tsx +1 -1
  705. package/src/textarea-control/stories/index.story.tsx +1 -1
  706. package/src/theme/stories/index.story.tsx +1 -1
  707. package/src/toggle-control/stories/index.story.tsx +1 -1
  708. package/src/toggle-group-control/stories/index.story.tsx +1 -1
  709. package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +22 -22
  710. package/src/toggle-group-control/toggle-group-control/styles.ts +1 -1
  711. package/src/toggle-group-control/toggle-group-control-option-base/styles.ts +6 -6
  712. package/src/toolbar/stories/index.story.tsx +1 -1
  713. package/src/tools-panel/stories/index.story.tsx +3 -3
  714. package/src/tools-panel/test/index.tsx +0 -17
  715. package/src/tooltip/stories/index.story.tsx +1 -1
  716. package/src/tree-grid/cell.tsx +5 -1
  717. package/src/tree-grid/stories/index.story.tsx +1 -1
  718. package/src/tree-grid/types.ts +1 -1
  719. package/src/tree-select/stories/index.story.tsx +1 -1
  720. package/src/unit-control/stories/index.story.tsx +4 -4
  721. package/src/utils/colors-values.js +3 -0
  722. package/src/utils/config-values.js +0 -1
  723. package/src/view/stories/index.story.tsx +1 -1
  724. package/src/visually-hidden/stories/index.story.tsx +1 -1
  725. package/src/z-stack/stories/index.story.tsx +1 -1
  726. package/tsconfig.tsbuildinfo +1 -1
  727. package/build/box-control/all-input-control.js +0 -91
  728. package/build/box-control/all-input-control.js.map +0 -1
  729. package/build/box-control/axial-input-controls.js +0 -125
  730. package/build/box-control/axial-input-controls.js.map +0 -1
  731. package/build/box-control/input-controls.js +0 -133
  732. package/build/box-control/input-controls.js.map +0 -1
  733. package/build-module/box-control/all-input-control.js +0 -84
  734. package/build-module/box-control/all-input-control.js.map +0 -1
  735. package/build-module/box-control/axial-input-controls.js +0 -116
  736. package/build-module/box-control/axial-input-controls.js.map +0 -1
  737. package/build-module/box-control/input-controls.js +0 -124
  738. package/build-module/box-control/input-controls.js.map +0 -1
  739. package/build-types/box-control/all-input-control.d.ts +0 -3
  740. package/build-types/box-control/all-input-control.d.ts.map +0 -1
  741. package/build-types/box-control/axial-input-controls.d.ts +0 -3
  742. package/build-types/box-control/axial-input-controls.d.ts.map +0 -1
  743. package/build-types/box-control/input-controls.d.ts +0 -3
  744. package/build-types/box-control/input-controls.d.ts.map +0 -1
  745. package/src/box-control/all-input-control.tsx +0 -110
  746. package/src/box-control/axial-input-controls.tsx +0 -165
  747. package/src/box-control/input-controls.tsx +0 -167
@@ -130,6 +130,10 @@ export const Track = styled.span`
130
130
  margin-top: ${ ( rangeHeightValue - railHeight ) / 2 }px;
131
131
  top: 0;
132
132
 
133
+ @media not ( prefers-reduced-motion ) {
134
+ transition: width ease 0.1s;
135
+ }
136
+
133
137
  ${ trackBackgroundColor };
134
138
  `;
135
139
 
@@ -139,28 +143,18 @@ export const MarksWrapper = styled.span`
139
143
  position: relative;
140
144
  width: 100%;
141
145
  user-select: none;
146
+ margin-top: 17px;
142
147
  `;
143
148
 
144
- const markFill = ( { disabled, isFilled }: RangeMarkProps ) => {
145
- let backgroundColor = isFilled ? 'currentColor' : COLORS.gray[ 300 ];
146
-
147
- if ( disabled ) {
148
- backgroundColor = COLORS.gray[ 400 ];
149
- }
150
-
151
- return css( {
152
- backgroundColor,
153
- } );
154
- };
155
-
156
149
  export const Mark = styled.span`
157
- height: ${ thumbSize }px;
158
- left: 0;
159
150
  position: absolute;
160
- top: 9px;
161
- width: 1px;
162
-
163
- ${ markFill };
151
+ left: 0;
152
+ top: -4px;
153
+ height: 4px;
154
+ width: 2px;
155
+ transform: translateX( -50% );
156
+ background-color: ${ COLORS.ui.background };
157
+ z-index: 1;
164
158
  `;
165
159
 
166
160
  const markLabelFill = ( { isFilled }: RangeMarkProps ) => {
@@ -173,7 +167,7 @@ export const MarkLabel = styled.span`
173
167
  color: ${ COLORS.gray[ 300 ] };
174
168
  font-size: 11px;
175
169
  position: absolute;
176
- top: 22px;
170
+ top: 8px;
177
171
  white-space: nowrap;
178
172
 
179
173
  ${ rtl( { left: 0 } ) };
@@ -207,6 +201,11 @@ export const ThumbWrapper = styled.span`
207
201
  user-select: none;
208
202
  width: ${ thumbSize }px;
209
203
  border-radius: ${ CONFIG.radiusRound };
204
+ z-index: 3;
205
+
206
+ @media not ( prefers-reduced-motion ) {
207
+ transition: left ease 0.1s;
208
+ }
210
209
 
211
210
  ${ thumbColor };
212
211
  ${ rtl( { marginLeft: -10 } ) };
@@ -18,7 +18,7 @@ const meta: Meta< typeof ResizableBox > = {
18
18
  id: 'components-resizablebox',
19
19
  component: ResizableBox,
20
20
  argTypes: {
21
- children: { control: { type: null } },
21
+ children: { control: false },
22
22
  enable: { control: 'object' },
23
23
  onResizeStop: { action: 'onResizeStop' },
24
24
  },
@@ -13,7 +13,7 @@ const meta: Meta< typeof ResponsiveWrapper > = {
13
13
  title: 'Components/Layout/ResponsiveWrapper',
14
14
  id: 'components-responsivewrapper',
15
15
  argTypes: {
16
- children: { control: { type: null } },
16
+ children: { control: false },
17
17
  },
18
18
  parameters: {
19
19
  controls: { expanded: true },
@@ -13,7 +13,7 @@ const meta: Meta< typeof SandBox > = {
13
13
  title: 'Components/Utilities/SandBox',
14
14
  id: 'components-sandbox',
15
15
  argTypes: {
16
- onFocus: { control: { type: null } },
16
+ onFocus: { control: false },
17
17
  },
18
18
  parameters: {
19
19
  actions: { argTypesRegex: '^on.*' },
@@ -22,7 +22,7 @@ const meta: Meta< typeof Scrollable > = {
22
22
  control: { type: 'text' },
23
23
  },
24
24
  children: {
25
- control: { type: null },
25
+ control: false,
26
26
  },
27
27
  },
28
28
  parameters: {
@@ -70,6 +70,7 @@ const Template: StoryFn< typeof Scrollable > = ( { ...args } ) => {
70
70
  } }
71
71
  type="text"
72
72
  value="Focus me"
73
+ readOnly
73
74
  />
74
75
  </View>
75
76
  </Scrollable>
@@ -19,7 +19,7 @@ const meta: Meta< typeof SearchControl > = {
19
19
  component: SearchControl,
20
20
  argTypes: {
21
21
  onChange: { action: 'onChange' },
22
- value: { control: { type: null } },
22
+ value: { control: false },
23
23
  },
24
24
  parameters: {
25
25
  controls: { expanded: true },
@@ -23,7 +23,7 @@ const meta: Meta< typeof SelectControl > = {
23
23
  label: { control: { type: 'text' } },
24
24
  prefix: { control: { type: 'text' } },
25
25
  suffix: { control: { type: 'text' } },
26
- value: { control: { type: null } },
26
+ value: { control: false },
27
27
  },
28
28
  parameters: {
29
29
  actions: { argTypesRegex: '^on.*' },
@@ -20,9 +20,9 @@ const meta: Meta< typeof Slot > = {
20
20
  // @ts-expect-error - See https://github.com/storybookjs/storybook/issues/23170
21
21
  subcomponents: { Fill, SlotFillProvider },
22
22
  argTypes: {
23
- name: { control: { type: null } },
23
+ name: { control: false },
24
24
  as: { control: { type: 'text' } },
25
- fillProps: { control: { type: null } },
25
+ fillProps: { control: false },
26
26
  },
27
27
  parameters: {
28
28
  controls: { expanded: true },
@@ -19,17 +19,17 @@ const meta: Meta< typeof Snackbar > = {
19
19
  id: 'components-snackbar',
20
20
  component: Snackbar,
21
21
  argTypes: {
22
- as: { control: { type: null } },
22
+ as: { control: false },
23
23
  onRemove: {
24
24
  action: 'onRemove',
25
- control: { type: null },
25
+ control: false,
26
26
  },
27
27
  onDismiss: {
28
28
  action: 'onDismiss',
29
- control: { type: null },
29
+ control: false,
30
30
  },
31
31
  listRef: {
32
- control: { type: null },
32
+ control: false,
33
33
  },
34
34
  },
35
35
  parameters: {
@@ -18,10 +18,10 @@ const meta: Meta< typeof SnackbarList > = {
18
18
  id: 'components-snackbarlist',
19
19
  component: SnackbarList,
20
20
  argTypes: {
21
- as: { control: { type: null } },
21
+ as: { control: false },
22
22
  onRemove: {
23
23
  action: 'onRemove',
24
- control: { type: null },
24
+ control: false,
25
25
  },
26
26
  },
27
27
  parameters: {
@@ -13,7 +13,7 @@ const meta: Meta< typeof Surface > = {
13
13
  component: Surface,
14
14
  title: 'Components (Experimental)/Surface',
15
15
  argTypes: {
16
- children: { control: { type: null } },
16
+ children: { control: false },
17
17
  as: { control: { type: 'text' } },
18
18
  },
19
19
  parameters: {
@@ -21,7 +21,7 @@ const meta: Meta< typeof TextControl > = {
21
21
  help: { control: { type: 'text' } },
22
22
  label: { control: { type: 'text' } },
23
23
  onChange: { action: 'onChange' },
24
- value: { control: { type: null } },
24
+ value: { control: false },
25
25
  },
26
26
  parameters: {
27
27
  controls: {
@@ -21,7 +21,7 @@ const meta: Meta< typeof TextareaControl > = {
21
21
  onChange: { action: 'onChange' },
22
22
  label: { control: { type: 'text' } },
23
23
  help: { control: { type: 'text' } },
24
- value: { control: { type: null } },
24
+ value: { control: false },
25
25
  },
26
26
  parameters: {
27
27
  controls: {
@@ -37,7 +37,7 @@ export const Default = Template.bind( {} );
37
37
  Default.args = {};
38
38
 
39
39
  export const Nested: StoryFn< typeof Theme > = ( args ) => (
40
- <Theme accent="tomato">
40
+ <Theme accent="crimson">
41
41
  <Button variant="primary">Outer theme (hardcoded)</Button>
42
42
 
43
43
  <Theme { ...args }>
@@ -18,7 +18,7 @@ const meta: Meta< typeof ToggleControl > = {
18
18
  id: 'components-togglecontrol',
19
19
  component: ToggleControl,
20
20
  argTypes: {
21
- checked: { control: { type: null } },
21
+ checked: { control: false },
22
22
  help: { control: { type: 'text' } },
23
23
  label: { control: { type: 'text' } },
24
24
  onChange: { action: 'onChange' },
@@ -32,7 +32,7 @@ const meta: Meta< typeof ToggleGroupControl > = {
32
32
  argTypes: {
33
33
  help: { control: { type: 'text' } },
34
34
  onChange: { action: 'onChange' },
35
- value: { control: { type: null } },
35
+ value: { control: false },
36
36
  },
37
37
  parameters: {
38
38
  controls: { expanded: true },
@@ -72,7 +72,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
72
72
  content: '';
73
73
  position: absolute;
74
74
  pointer-events: none;
75
- background: #1e1e1e;
75
+ background: var(--wp-components-color-foreground, #1e1e1e);
76
76
  outline: 2px solid transparent;
77
77
  outline-offset: -3px;
78
78
  --antialiasing-factor: 100;
@@ -134,7 +134,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
134
134
  background: transparent;
135
135
  border: none;
136
136
  border-radius: 1px;
137
- color: #757575;
137
+ color: var(--wp-components-color-gray-700, #757575);
138
138
  fill: currentColor;
139
139
  cursor: pointer;
140
140
  display: -webkit-box;
@@ -158,12 +158,12 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
158
158
  user-select: none;
159
159
  width: 100%;
160
160
  z-index: 2;
161
- color: #1e1e1e;
161
+ color: var(--wp-components-color-foreground, #1e1e1e);
162
162
  height: 32px;
163
163
  aspect-ratio: 1;
164
164
  padding-left: 0;
165
165
  padding-right: 0;
166
- color: #fff;
166
+ color: var(--wp-components-color-foreground-inverted, #fff);
167
167
  }
168
168
 
169
169
  @media not ( prefers-reduced-motion ) {
@@ -183,7 +183,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
183
183
  }
184
184
 
185
185
  .emotion-12:active {
186
- background: #fff;
186
+ background: var(--wp-components-color-background, #fff);
187
187
  }
188
188
 
189
189
  .emotion-12:active {
@@ -211,7 +211,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
211
211
  background: transparent;
212
212
  border: none;
213
213
  border-radius: 1px;
214
- color: #757575;
214
+ color: var(--wp-components-color-gray-700, #757575);
215
215
  fill: currentColor;
216
216
  cursor: pointer;
217
217
  display: -webkit-box;
@@ -235,7 +235,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
235
235
  user-select: none;
236
236
  width: 100%;
237
237
  z-index: 2;
238
- color: #1e1e1e;
238
+ color: var(--wp-components-color-foreground, #1e1e1e);
239
239
  height: 32px;
240
240
  aspect-ratio: 1;
241
241
  padding-left: 0;
@@ -259,7 +259,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
259
259
  }
260
260
 
261
261
  .emotion-17:active {
262
- background: #fff;
262
+ background: var(--wp-components-color-background, #fff);
263
263
  }
264
264
 
265
265
  <div>
@@ -437,7 +437,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
437
437
  content: '';
438
438
  position: absolute;
439
439
  pointer-events: none;
440
- background: #1e1e1e;
440
+ background: var(--wp-components-color-foreground, #1e1e1e);
441
441
  outline: 2px solid transparent;
442
442
  outline-offset: -3px;
443
443
  --antialiasing-factor: 100;
@@ -499,7 +499,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
499
499
  background: transparent;
500
500
  border: none;
501
501
  border-radius: 1px;
502
- color: #757575;
502
+ color: var(--wp-components-color-gray-700, #757575);
503
503
  fill: currentColor;
504
504
  cursor: pointer;
505
505
  display: -webkit-box;
@@ -542,7 +542,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
542
542
  }
543
543
 
544
544
  .emotion-12:active {
545
- background: #fff;
545
+ background: var(--wp-components-color-background, #fff);
546
546
  }
547
547
 
548
548
  .emotion-13 {
@@ -706,7 +706,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
706
706
  content: '';
707
707
  position: absolute;
708
708
  pointer-events: none;
709
- background: #1e1e1e;
709
+ background: var(--wp-components-color-foreground, #1e1e1e);
710
710
  outline: 2px solid transparent;
711
711
  outline-offset: -3px;
712
712
  --antialiasing-factor: 100;
@@ -768,7 +768,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
768
768
  background: transparent;
769
769
  border: none;
770
770
  border-radius: 1px;
771
- color: #757575;
771
+ color: var(--wp-components-color-gray-700, #757575);
772
772
  fill: currentColor;
773
773
  cursor: pointer;
774
774
  display: -webkit-box;
@@ -792,12 +792,12 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
792
792
  user-select: none;
793
793
  width: 100%;
794
794
  z-index: 2;
795
- color: #1e1e1e;
795
+ color: var(--wp-components-color-foreground, #1e1e1e);
796
796
  height: 32px;
797
797
  aspect-ratio: 1;
798
798
  padding-left: 0;
799
799
  padding-right: 0;
800
- color: #fff;
800
+ color: var(--wp-components-color-foreground-inverted, #fff);
801
801
  }
802
802
 
803
803
  @media not ( prefers-reduced-motion ) {
@@ -817,7 +817,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
817
817
  }
818
818
 
819
819
  .emotion-12:active {
820
- background: #fff;
820
+ background: var(--wp-components-color-background, #fff);
821
821
  }
822
822
 
823
823
  .emotion-12:active {
@@ -845,7 +845,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
845
845
  background: transparent;
846
846
  border: none;
847
847
  border-radius: 1px;
848
- color: #757575;
848
+ color: var(--wp-components-color-gray-700, #757575);
849
849
  fill: currentColor;
850
850
  cursor: pointer;
851
851
  display: -webkit-box;
@@ -869,7 +869,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
869
869
  user-select: none;
870
870
  width: 100%;
871
871
  z-index: 2;
872
- color: #1e1e1e;
872
+ color: var(--wp-components-color-foreground, #1e1e1e);
873
873
  height: 32px;
874
874
  aspect-ratio: 1;
875
875
  padding-left: 0;
@@ -893,7 +893,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
893
893
  }
894
894
 
895
895
  .emotion-17:active {
896
- background: #fff;
896
+ background: var(--wp-components-color-background, #fff);
897
897
  }
898
898
 
899
899
  <div>
@@ -1065,7 +1065,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
1065
1065
  content: '';
1066
1066
  position: absolute;
1067
1067
  pointer-events: none;
1068
- background: #1e1e1e;
1068
+ background: var(--wp-components-color-foreground, #1e1e1e);
1069
1069
  outline: 2px solid transparent;
1070
1070
  outline-offset: -3px;
1071
1071
  --antialiasing-factor: 100;
@@ -1127,7 +1127,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
1127
1127
  background: transparent;
1128
1128
  border: none;
1129
1129
  border-radius: 1px;
1130
- color: #757575;
1130
+ color: var(--wp-components-color-gray-700, #757575);
1131
1131
  fill: currentColor;
1132
1132
  cursor: pointer;
1133
1133
  display: -webkit-box;
@@ -1170,7 +1170,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
1170
1170
  }
1171
1171
 
1172
1172
  .emotion-12:active {
1173
- background: #fff;
1173
+ background: var(--wp-components-color-background, #fff);
1174
1174
  }
1175
1175
 
1176
1176
  .emotion-13 {
@@ -39,7 +39,7 @@ export const toggleGroupControl = ( {
39
39
  content: '';
40
40
  position: absolute;
41
41
  pointer-events: none;
42
- background: ${ COLORS.gray[ 900 ] };
42
+ background: ${ COLORS.theme.foreground };
43
43
 
44
44
  // Windows High Contrast mode will show this outline, but not the box-shadow.
45
45
  outline: 2px solid transparent;
@@ -38,7 +38,7 @@ export const buttonView = ( {
38
38
  background: transparent;
39
39
  border: none;
40
40
  border-radius: ${ CONFIG.radiusXSmall };
41
- color: ${ COLORS.gray[ 700 ] };
41
+ color: ${ COLORS.theme.gray[ 700 ] };
42
42
  fill: currentColor;
43
43
  cursor: pointer;
44
44
  display: flex;
@@ -70,7 +70,7 @@ export const buttonView = ( {
70
70
  }
71
71
 
72
72
  &:active {
73
- background: ${ CONFIG.controlBackgroundColor };
73
+ background: ${ COLORS.ui.background };
74
74
  }
75
75
 
76
76
  ${ isDeselectable && deselectable }
@@ -79,7 +79,7 @@ export const buttonView = ( {
79
79
  `;
80
80
 
81
81
  const pressed = css`
82
- color: ${ COLORS.white };
82
+ color: ${ COLORS.theme.foregroundInverted };
83
83
 
84
84
  &:active {
85
85
  background: transparent;
@@ -87,11 +87,11 @@ const pressed = css`
87
87
  `;
88
88
 
89
89
  const deselectable = css`
90
- color: ${ COLORS.gray[ 900 ] };
90
+ color: ${ COLORS.theme.foreground };
91
91
 
92
92
  &:focus {
93
93
  box-shadow:
94
- inset 0 0 0 1px ${ COLORS.white },
94
+ inset 0 0 0 1px ${ COLORS.ui.background },
95
95
  0 0 0 ${ CONFIG.borderWidthFocus } ${ COLORS.theme.accent };
96
96
  outline: 2px solid transparent;
97
97
  }
@@ -112,7 +112,7 @@ const isIconStyles = ( {
112
112
  };
113
113
 
114
114
  return css`
115
- color: ${ COLORS.gray[ 900 ] };
115
+ color: ${ COLORS.theme.foreground };
116
116
  height: ${ iconButtonSizes[ size ] };
117
117
  aspect-ratio: 1;
118
118
  padding-left: 0;
@@ -51,7 +51,7 @@ const meta: Meta< typeof Toolbar > = {
51
51
  ToolbarDropdownMenu,
52
52
  },
53
53
  argTypes: {
54
- children: { control: { type: null } },
54
+ children: { control: false },
55
55
  variant: {
56
56
  options: [ undefined, 'unstyled' ],
57
57
  control: { type: 'radio' },
@@ -31,9 +31,9 @@ const meta: Meta< typeof ToolsPanel > = {
31
31
  // @ts-expect-error - See https://github.com/storybookjs/storybook/issues/23170
32
32
  subcomponents: { ToolsPanelItem },
33
33
  argTypes: {
34
- as: { control: { type: null } },
35
- children: { control: { type: null } },
36
- panelId: { control: { type: null } },
34
+ as: { control: false },
35
+ children: { control: false },
36
+ panelId: { control: false },
37
37
  resetAll: { action: 'resetAll' },
38
38
  },
39
39
  parameters: {
@@ -154,7 +154,6 @@ const renderWrappedItemInPanel = () => {
154
154
  const renderPanel = () => {
155
155
  return render(
156
156
  <ToolsPanel { ...defaultProps }>
157
- { false && <div>Hidden</div> }
158
157
  <ToolsPanelItem { ...controlProps }>
159
158
  <div>Example control</div>
160
159
  </ToolsPanelItem>
@@ -236,22 +235,6 @@ describe( 'ToolsPanel', () => {
236
235
  it( 'should not render panel menu when there are no panel items', () => {
237
236
  render(
238
237
  <ToolsPanel { ...defaultProps }>
239
- { false && (
240
- <ToolsPanelItem
241
- label="Not rendered 1"
242
- hasValue={ () => false }
243
- >
244
- Should not show
245
- </ToolsPanelItem>
246
- ) }
247
- { false && (
248
- <ToolsPanelItem
249
- label="Not rendered 2"
250
- hasValue={ () => false }
251
- >
252
- Not shown either
253
- </ToolsPanelItem>
254
- ) }
255
238
  <span>Visible but insignificant</span>
256
239
  </ToolsPanel>
257
240
  );
@@ -19,7 +19,7 @@ const meta: Meta< typeof Tooltip > = {
19
19
  id: 'components-tooltip',
20
20
  component: Tooltip,
21
21
  argTypes: {
22
- children: { control: { type: null } },
22
+ children: { control: false },
23
23
  position: {
24
24
  control: { type: 'select' },
25
25
  options: [
@@ -21,7 +21,11 @@ function UnforwardedTreeGridCell(
21
21
  return (
22
22
  <td { ...props } role="gridcell">
23
23
  { withoutGridItem ? (
24
- <>{ children }</>
24
+ <>
25
+ { typeof children === 'function'
26
+ ? children( { ...props, ref } )
27
+ : children }
28
+ </>
25
29
  ) : (
26
30
  <TreeGridItem ref={ ref }>{ children }</TreeGridItem>
27
31
  ) }
@@ -22,7 +22,7 @@ const meta: Meta< typeof TreeGrid > = {
22
22
  // @ts-expect-error - See https://github.com/storybookjs/storybook/issues/23170
23
23
  subcomponents: { TreeGridRow, TreeGridCell },
24
24
  argTypes: {
25
- children: { control: { type: null } },
25
+ children: { control: false },
26
26
  },
27
27
  parameters: {
28
28
  actions: { argTypesRegex: '^on.*' },
@@ -36,7 +36,7 @@ export type TreeGridRowProps = {
36
36
  type RovingTabIndexItemPassThruProps = {
37
37
  ref: React.ForwardedRef< any >;
38
38
  tabIndex?: number;
39
- onFocus: React.FocusEventHandler< any >;
39
+ onFocus?: React.FocusEventHandler< any >;
40
40
  [ key: string ]: any;
41
41
  };
42
42
 
@@ -22,7 +22,7 @@ const meta: Meta< typeof TreeSelect > = {
22
22
  label: { control: { type: 'text' } },
23
23
  prefix: { control: { type: 'text' } },
24
24
  suffix: { control: { type: 'text' } },
25
- selectedId: { control: { type: null } },
25
+ selectedId: { control: false },
26
26
  },
27
27
  parameters: {
28
28
  controls: {
@@ -20,11 +20,11 @@ const meta: Meta< typeof UnitControl > = {
20
20
  id: 'components-experimental-unitcontrol',
21
21
  argTypes: {
22
22
  __unstableInputWidth: { control: { type: 'text' } },
23
- __unstableStateReducer: { control: { type: null } },
24
- onChange: { control: { type: null } },
25
- onUnitChange: { control: { type: null } },
23
+ __unstableStateReducer: { control: false },
24
+ onChange: { control: false },
25
+ onUnitChange: { control: false },
26
26
  prefix: { control: { type: 'text' } },
27
- value: { control: { type: null } },
27
+ value: { control: false },
28
28
  },
29
29
  parameters: {
30
30
  actions: { argTypesRegex: '^on.*' },
@@ -75,6 +75,9 @@ export const COLORS = Object.freeze( {
75
75
  * @deprecated Use semantic aliases in `COLORS.ui` or theme-ready variables in `COLORS.theme.gray`.
76
76
  */
77
77
  gray: GRAY, // TODO: Stop exporting this when everything is migrated to `theme` or `ui`
78
+ /**
79
+ * @deprecated Prefer theme-ready variables in `COLORS.theme`.
80
+ */
78
81
  white,
79
82
  alert: ALERT,
80
83
  /**
@@ -12,7 +12,6 @@ const CONTROL_PROPS = {
12
12
  controlPaddingXSmall: 8,
13
13
  controlPaddingXLarge: 12 * 1.3334, // TODO: Deprecate
14
14
 
15
- controlBackgroundColor: COLORS.white,
16
15
  controlBoxShadowFocus: `0 0 0 0.5px ${ COLORS.theme.accent }`,
17
16
  controlHeight: CONTROL_HEIGHT,
18
17
  controlHeightXSmall: `calc( ${ CONTROL_HEIGHT } * 0.6 )`,
@@ -12,7 +12,7 @@ const meta: Meta< typeof View > = {
12
12
  component: View,
13
13
  title: 'Components (Experimental)/View',
14
14
  argTypes: {
15
- as: { control: { type: null } },
15
+ as: { control: false },
16
16
  children: { control: { type: 'text' } },
17
17
  },
18
18
  parameters: {
@@ -13,7 +13,7 @@ const meta: Meta< typeof VisuallyHidden > = {
13
13
  title: 'Components/Typography/VisuallyHidden',
14
14
  id: 'components-visuallyhidden',
15
15
  argTypes: {
16
- children: { control: { type: null } },
16
+ children: { control: false },
17
17
  as: { control: { type: 'text' } },
18
18
  },
19
19
  parameters: {