@wordpress/components 29.0.0 → 29.1.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 (469) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/LICENSE.md +1 -1
  3. package/build/badge/index.js +64 -0
  4. package/build/badge/index.js.map +1 -0
  5. package/build/badge/types.js +6 -0
  6. package/build/badge/types.js.map +1 -0
  7. package/build/box-control/index.js +5 -1
  8. package/build/box-control/index.js.map +1 -1
  9. package/build/box-control/input-control.js +90 -29
  10. package/build/box-control/input-control.js.map +1 -1
  11. package/build/box-control/types.js.map +1 -1
  12. package/build/box-control/utils.js +50 -0
  13. package/build/box-control/utils.js.map +1 -1
  14. package/build/button-group/index.js +10 -0
  15. package/build/button-group/index.js.map +1 -1
  16. package/build/button-group/types.js.map +1 -1
  17. package/build/custom-select-control/index.js +3 -5
  18. package/build/custom-select-control/index.js.map +1 -1
  19. package/build/custom-select-control-v2/custom-select.js +2 -3
  20. package/build/custom-select-control-v2/custom-select.js.map +1 -1
  21. package/build/date-time/date/index.js +1 -0
  22. package/build/date-time/date/index.js.map +1 -1
  23. package/build/dimension-control/index.js +1 -0
  24. package/build/dimension-control/index.js.map +1 -1
  25. package/build/font-size-picker/styles.js +9 -9
  26. package/build/font-size-picker/styles.js.map +1 -1
  27. package/build/heading/hook.js +1 -1
  28. package/build/heading/hook.js.map +1 -1
  29. package/build/input-control/index.js +9 -0
  30. package/build/input-control/index.js.map +1 -1
  31. package/build/input-control/types.js.map +1 -1
  32. package/build/menu/checkbox-item.js +2 -0
  33. package/build/menu/checkbox-item.js.map +1 -1
  34. package/build/menu/index.js +25 -94
  35. package/build/menu/index.js.map +1 -1
  36. package/build/menu/item.js +10 -1
  37. package/build/menu/item.js.map +1 -1
  38. package/build/menu/popover.js +89 -0
  39. package/build/menu/popover.js.map +1 -0
  40. package/build/menu/radio-item.js +2 -0
  41. package/build/menu/radio-item.js.map +1 -1
  42. package/build/menu/submenu-trigger-item.js +58 -0
  43. package/build/menu/submenu-trigger-item.js.map +1 -0
  44. package/build/menu/trigger-button.js +45 -0
  45. package/build/menu/trigger-button.js.map +1 -0
  46. package/build/menu/types.js.map +1 -1
  47. package/build/navigation/back-button/index.js +1 -0
  48. package/build/navigation/back-button/index.js.map +1 -1
  49. package/build/navigation/index.js +6 -0
  50. package/build/navigation/index.js.map +1 -1
  51. package/build/navigation/item/index.js +1 -0
  52. package/build/navigation/item/index.js.map +1 -1
  53. package/build/number-control/index.js +1 -0
  54. package/build/number-control/index.js.map +1 -1
  55. package/build/palette-edit/index.js +1 -0
  56. package/build/palette-edit/index.js.map +1 -1
  57. package/build/private-apis.js +3 -1
  58. package/build/private-apis.js.map +1 -1
  59. package/build/radio-group/index.js +6 -0
  60. package/build/radio-group/index.js.map +1 -1
  61. package/build/radio-group/radio.js +2 -3
  62. package/build/radio-group/radio.js.map +1 -1
  63. package/build/range-control/styles/range-control-styles.js +28 -28
  64. package/build/range-control/styles/range-control-styles.js.map +1 -1
  65. package/build/select-control/index.js +9 -0
  66. package/build/select-control/index.js.map +1 -1
  67. package/build/select-control/types.js.map +1 -1
  68. package/build/slot-fill/context.js +4 -3
  69. package/build/slot-fill/context.js.map +1 -1
  70. package/build/slot-fill/fill.js +10 -15
  71. package/build/slot-fill/fill.js.map +1 -1
  72. package/build/slot-fill/provider.js +41 -55
  73. package/build/slot-fill/provider.js.map +1 -1
  74. package/build/slot-fill/slot.js +31 -23
  75. package/build/slot-fill/slot.js.map +1 -1
  76. package/build/slot-fill/types.js.map +1 -1
  77. package/build/tab-panel/index.js +2 -3
  78. package/build/tab-panel/index.js.map +1 -1
  79. package/build/tabs/index.js +21 -4
  80. package/build/tabs/index.js.map +1 -1
  81. package/build/tabs/types.js.map +1 -1
  82. package/build/text/hook.js +6 -6
  83. package/build/text/hook.js.map +1 -1
  84. package/build/text/styles.js +7 -7
  85. package/build/text/styles.js.map +1 -1
  86. package/build/toggle-group-control/toggle-group-control/as-radio-group.js +2 -3
  87. package/build/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
  88. package/build/tooltip/index.js +2 -3
  89. package/build/tooltip/index.js.map +1 -1
  90. package/build/tree-select/index.js +10 -2
  91. package/build/tree-select/index.js.map +1 -1
  92. package/build/tree-select/types.js.map +1 -1
  93. package/build-module/badge/index.js +57 -0
  94. package/build-module/badge/index.js.map +1 -0
  95. package/build-module/badge/types.js +2 -0
  96. package/build-module/badge/types.js.map +1 -0
  97. package/build-module/box-control/index.js +5 -1
  98. package/build-module/box-control/index.js.map +1 -1
  99. package/build-module/box-control/input-control.js +92 -31
  100. package/build-module/box-control/input-control.js.map +1 -1
  101. package/build-module/box-control/types.js.map +1 -1
  102. package/build-module/box-control/utils.js +47 -0
  103. package/build-module/box-control/utils.js.map +1 -1
  104. package/build-module/button-group/index.js +10 -0
  105. package/build-module/button-group/index.js.map +1 -1
  106. package/build-module/button-group/types.js.map +1 -1
  107. package/build-module/custom-select-control/index.js +3 -5
  108. package/build-module/custom-select-control/index.js.map +1 -1
  109. package/build-module/custom-select-control-v2/custom-select.js +1 -2
  110. package/build-module/custom-select-control-v2/custom-select.js.map +1 -1
  111. package/build-module/date-time/date/index.js +1 -0
  112. package/build-module/date-time/date/index.js.map +1 -1
  113. package/build-module/dimension-control/index.js +1 -0
  114. package/build-module/dimension-control/index.js.map +1 -1
  115. package/build-module/font-size-picker/styles.js +9 -9
  116. package/build-module/font-size-picker/styles.js.map +1 -1
  117. package/build-module/heading/hook.js +1 -1
  118. package/build-module/heading/hook.js.map +1 -1
  119. package/build-module/input-control/index.js +9 -0
  120. package/build-module/input-control/index.js.map +1 -1
  121. package/build-module/input-control/types.js.map +1 -1
  122. package/build-module/menu/checkbox-item.js +2 -0
  123. package/build-module/menu/checkbox-item.js.map +1 -1
  124. package/build-module/menu/index.js +28 -97
  125. package/build-module/menu/index.js.map +1 -1
  126. package/build-module/menu/item.js +10 -1
  127. package/build-module/menu/item.js.map +1 -1
  128. package/build-module/menu/popover.js +81 -0
  129. package/build-module/menu/popover.js.map +1 -0
  130. package/build-module/menu/radio-item.js +2 -0
  131. package/build-module/menu/radio-item.js.map +1 -1
  132. package/build-module/menu/submenu-trigger-item.js +50 -0
  133. package/build-module/menu/submenu-trigger-item.js.map +1 -0
  134. package/build-module/menu/trigger-button.js +37 -0
  135. package/build-module/menu/trigger-button.js.map +1 -0
  136. package/build-module/menu/types.js.map +1 -1
  137. package/build-module/navigation/back-button/index.js +1 -0
  138. package/build-module/navigation/back-button/index.js.map +1 -1
  139. package/build-module/navigation/index.js +6 -0
  140. package/build-module/navigation/index.js.map +1 -1
  141. package/build-module/navigation/item/index.js +1 -0
  142. package/build-module/navigation/item/index.js.map +1 -1
  143. package/build-module/number-control/index.js +1 -0
  144. package/build-module/number-control/index.js.map +1 -1
  145. package/build-module/palette-edit/index.js +1 -0
  146. package/build-module/palette-edit/index.js.map +1 -1
  147. package/build-module/private-apis.js +3 -1
  148. package/build-module/private-apis.js.map +1 -1
  149. package/build-module/radio-group/index.js +6 -0
  150. package/build-module/radio-group/index.js.map +1 -1
  151. package/build-module/radio-group/radio.js +1 -2
  152. package/build-module/radio-group/radio.js.map +1 -1
  153. package/build-module/range-control/styles/range-control-styles.js +28 -28
  154. package/build-module/range-control/styles/range-control-styles.js.map +1 -1
  155. package/build-module/select-control/index.js +9 -0
  156. package/build-module/select-control/index.js.map +1 -1
  157. package/build-module/select-control/types.js.map +1 -1
  158. package/build-module/slot-fill/context.js +5 -3
  159. package/build-module/slot-fill/context.js.map +1 -1
  160. package/build-module/slot-fill/fill.js +10 -15
  161. package/build-module/slot-fill/fill.js.map +1 -1
  162. package/build-module/slot-fill/provider.js +41 -55
  163. package/build-module/slot-fill/provider.js.map +1 -1
  164. package/build-module/slot-fill/slot.js +32 -24
  165. package/build-module/slot-fill/slot.js.map +1 -1
  166. package/build-module/slot-fill/types.js.map +1 -1
  167. package/build-module/tab-panel/index.js +1 -2
  168. package/build-module/tab-panel/index.js.map +1 -1
  169. package/build-module/tabs/index.js +21 -4
  170. package/build-module/tabs/index.js.map +1 -1
  171. package/build-module/tabs/types.js.map +1 -1
  172. package/build-module/text/hook.js +6 -6
  173. package/build-module/text/hook.js.map +1 -1
  174. package/build-module/text/styles.js +7 -7
  175. package/build-module/text/styles.js.map +1 -1
  176. package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js +1 -2
  177. package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
  178. package/build-module/tooltip/index.js +1 -2
  179. package/build-module/tooltip/index.js.map +1 -1
  180. package/build-module/tree-select/index.js +10 -2
  181. package/build-module/tree-select/index.js.map +1 -1
  182. package/build-module/tree-select/types.js.map +1 -1
  183. package/build-style/style-rtl.css +60 -13
  184. package/build-style/style.css +60 -13
  185. package/build-types/alignment-matrix-control/stories/index.story.d.ts +1 -1
  186. package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -1
  187. package/build-types/angle-picker-control/stories/index.story.d.ts +1 -1
  188. package/build-types/animate/stories/index.story.d.ts +7 -7
  189. package/build-types/animate/stories/index.story.d.ts.map +1 -1
  190. package/build-types/badge/index.d.ts +8 -0
  191. package/build-types/badge/index.d.ts.map +1 -0
  192. package/build-types/badge/stories/index.story.d.ts +17 -0
  193. package/build-types/badge/stories/index.story.d.ts.map +1 -0
  194. package/build-types/badge/test/index.d.ts +2 -0
  195. package/build-types/badge/test/index.d.ts.map +1 -0
  196. package/build-types/badge/types.d.ts +13 -0
  197. package/build-types/badge/types.d.ts.map +1 -0
  198. package/build-types/base-control/stories/index.story.d.ts +1 -1
  199. package/build-types/border-box-control/stories/index.story.d.ts +1 -1
  200. package/build-types/border-control/stories/index.story.d.ts +5 -5
  201. package/build-types/box-control/index.d.ts +1 -1
  202. package/build-types/box-control/index.d.ts.map +1 -1
  203. package/build-types/box-control/input-control.d.ts +1 -1
  204. package/build-types/box-control/input-control.d.ts.map +1 -1
  205. package/build-types/box-control/stories/index.story.d.ts +356 -11
  206. package/build-types/box-control/stories/index.story.d.ts.map +1 -1
  207. package/build-types/box-control/styles/box-control-styles.d.ts +2 -2
  208. package/build-types/box-control/types.d.ts +17 -0
  209. package/build-types/box-control/types.d.ts.map +1 -1
  210. package/build-types/box-control/utils.d.ts +27 -1
  211. package/build-types/box-control/utils.d.ts.map +1 -1
  212. package/build-types/button/stories/e2e/index.story.d.ts +1 -1
  213. package/build-types/button/stories/e2e/index.story.d.ts.map +1 -1
  214. package/build-types/button/stories/index.story.d.ts +7 -7
  215. package/build-types/button/stories/index.story.d.ts.map +1 -1
  216. package/build-types/button-group/index.d.ts +3 -1
  217. package/build-types/button-group/index.d.ts.map +1 -1
  218. package/build-types/button-group/stories/index.story.d.ts +6 -0
  219. package/build-types/button-group/stories/index.story.d.ts.map +1 -1
  220. package/build-types/button-group/types.d.ts +7 -0
  221. package/build-types/button-group/types.d.ts.map +1 -1
  222. package/build-types/circular-option-picker/stories/index.story.d.ts +5 -5
  223. package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -1
  224. package/build-types/color-palette/stories/index.story.d.ts +3 -3
  225. package/build-types/color-palette/stories/index.story.d.ts.map +1 -1
  226. package/build-types/color-picker/styles.d.ts +2 -2
  227. package/build-types/color-picker/styles.d.ts.map +1 -1
  228. package/build-types/combobox-control/stories/index.story.d.ts +4 -4
  229. package/build-types/confirm-dialog/stories/index.story.d.ts +2 -2
  230. package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
  231. package/build-types/custom-gradient-picker/stories/index.story.d.ts +1 -1
  232. package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -1
  233. package/build-types/custom-select-control/stories/index.story.d.ts +3 -3
  234. package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
  235. package/build-types/custom-select-control-v2/custom-select.d.ts.map +1 -1
  236. package/build-types/custom-select-control-v2/stories/index.story.d.ts +3 -3
  237. package/build-types/custom-select-control-v2/stories/index.story.d.ts.map +1 -1
  238. package/build-types/date-time/date/index.d.ts.map +1 -1
  239. package/build-types/date-time/stories/time.story.d.ts +1 -1
  240. package/build-types/date-time/stories/time.story.d.ts.map +1 -1
  241. package/build-types/date-time/time/styles.d.ts +4 -4
  242. package/build-types/dimension-control/index.d.ts.map +1 -1
  243. package/build-types/dimension-control/stories/index.story.d.ts +1 -1
  244. package/build-types/disabled/stories/index.story.d.ts.map +1 -1
  245. package/build-types/drop-zone/stories/index.story.d.ts +1 -1
  246. package/build-types/drop-zone/stories/index.story.d.ts.map +1 -1
  247. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts +1 -1
  248. package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -1
  249. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts +3 -3
  250. package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -1
  251. package/build-types/focal-point-picker/stories/index.story.d.ts +4 -4
  252. package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +1 -1
  253. package/build-types/font-size-picker/styles.d.ts.map +1 -1
  254. package/build-types/form-file-upload/stories/index.story.d.ts +5 -5
  255. package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
  256. package/build-types/gradient-picker/stories/index.story.d.ts +3 -3
  257. package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -1
  258. package/build-types/guide/stories/index.story.d.ts +1 -1
  259. package/build-types/guide/stories/index.story.d.ts.map +1 -1
  260. package/build-types/icon/stories/index.story.d.ts +4 -4
  261. package/build-types/icon/stories/index.story.d.ts.map +1 -1
  262. package/build-types/input-control/index.d.ts +1 -0
  263. package/build-types/input-control/index.d.ts.map +1 -1
  264. package/build-types/input-control/stories/index.story.d.ts +7 -7
  265. package/build-types/input-control/stories/index.story.d.ts.map +1 -1
  266. package/build-types/input-control/types.d.ts +11 -2
  267. package/build-types/input-control/types.d.ts.map +1 -1
  268. package/build-types/keyboard-shortcuts/stories/index.story.d.ts +1 -1
  269. package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -1
  270. package/build-types/menu/checkbox-item.d.ts.map +1 -1
  271. package/build-types/menu/index.d.ts +10 -1
  272. package/build-types/menu/index.d.ts.map +1 -1
  273. package/build-types/menu/item.d.ts.map +1 -1
  274. package/build-types/menu/popover.d.ts +3 -0
  275. package/build-types/menu/popover.d.ts.map +1 -0
  276. package/build-types/menu/radio-item.d.ts.map +1 -1
  277. package/build-types/menu/stories/index.story.d.ts +9 -9
  278. package/build-types/menu/stories/index.story.d.ts.map +1 -1
  279. package/build-types/menu/submenu-trigger-item.d.ts +3 -0
  280. package/build-types/menu/submenu-trigger-item.d.ts.map +1 -0
  281. package/build-types/menu/trigger-button.d.ts +3 -0
  282. package/build-types/menu/trigger-button.d.ts.map +1 -0
  283. package/build-types/menu/types.d.ts +208 -57
  284. package/build-types/menu/types.d.ts.map +1 -1
  285. package/build-types/menu-group/stories/index.story.d.ts +1 -1
  286. package/build-types/menu-group/stories/index.story.d.ts.map +1 -1
  287. package/build-types/menu-item/stories/index.story.d.ts +4 -4
  288. package/build-types/modal/stories/index.story.d.ts.map +1 -1
  289. package/build-types/navigation/back-button/index.d.ts.map +1 -1
  290. package/build-types/navigation/index.d.ts.map +1 -1
  291. package/build-types/navigation/item/index.d.ts.map +1 -1
  292. package/build-types/navigation/stories/index.story.d.ts +6 -6
  293. package/build-types/navigation/stories/index.story.d.ts.map +1 -1
  294. package/build-types/notice/stories/index.story.d.ts +4 -4
  295. package/build-types/notice/stories/index.story.d.ts.map +1 -1
  296. package/build-types/number-control/index.d.ts +1 -1
  297. package/build-types/number-control/index.d.ts.map +1 -1
  298. package/build-types/number-control/stories/index.story.d.ts +2 -2
  299. package/build-types/palette-edit/index.d.ts.map +1 -1
  300. package/build-types/palette-edit/stories/index.story.d.ts +2 -2
  301. package/build-types/palette-edit/stories/index.story.d.ts.map +1 -1
  302. package/build-types/private-apis.d.ts.map +1 -1
  303. package/build-types/progress-bar/stories/index.story.d.ts +1 -1
  304. package/build-types/progress-bar/stories/index.story.d.ts.map +1 -1
  305. package/build-types/query-controls/stories/index.story.d.ts +1 -1
  306. package/build-types/query-controls/stories/index.story.d.ts.map +1 -1
  307. package/build-types/radio-group/index.d.ts.map +1 -1
  308. package/build-types/radio-group/radio.d.ts.map +1 -1
  309. package/build-types/range-control/index.d.ts +1 -1
  310. package/build-types/range-control/styles/range-control-styles.d.ts +1 -1
  311. package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
  312. package/build-types/resizable-box/stories/index.story.d.ts +2 -2
  313. package/build-types/responsive-wrapper/stories/index.story.d.ts +1 -1
  314. package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -1
  315. package/build-types/sandbox/stories/index.story.d.ts +1 -1
  316. package/build-types/sandbox/stories/index.story.d.ts.map +1 -1
  317. package/build-types/search-control/stories/index.story.d.ts +1 -1
  318. package/build-types/search-control/stories/index.story.d.ts.map +1 -1
  319. package/build-types/select-control/index.d.ts +1 -0
  320. package/build-types/select-control/index.d.ts.map +1 -1
  321. package/build-types/select-control/stories/index.story.d.ts +5 -5
  322. package/build-types/select-control/stories/index.story.d.ts.map +1 -1
  323. package/build-types/select-control/types.d.ts +1 -1
  324. package/build-types/select-control/types.d.ts.map +1 -1
  325. package/build-types/shortcut/stories/index.story.d.ts +1 -1
  326. package/build-types/shortcut/stories/index.story.d.ts.map +1 -1
  327. package/build-types/slot-fill/context.d.ts.map +1 -1
  328. package/build-types/slot-fill/fill.d.ts.map +1 -1
  329. package/build-types/slot-fill/provider.d.ts.map +1 -1
  330. package/build-types/slot-fill/slot.d.ts.map +1 -1
  331. package/build-types/slot-fill/types.d.ts +13 -11
  332. package/build-types/slot-fill/types.d.ts.map +1 -1
  333. package/build-types/tab-panel/index.d.ts.map +1 -1
  334. package/build-types/tab-panel/stories/index.story.d.ts +4 -4
  335. package/build-types/tab-panel/stories/index.story.d.ts.map +1 -1
  336. package/build-types/tabs/index.d.ts +21 -4
  337. package/build-types/tabs/index.d.ts.map +1 -1
  338. package/build-types/tabs/stories/index.story.d.ts +10 -10
  339. package/build-types/tabs/stories/index.story.d.ts.map +1 -1
  340. package/build-types/tabs/types.d.ts +13 -13
  341. package/build-types/tabs/types.d.ts.map +1 -1
  342. package/build-types/text/stories/index.story.d.ts +3 -3
  343. package/build-types/theme/stories/index.story.d.ts +1 -1
  344. package/build-types/toggle-control/stories/index.story.d.ts +2 -2
  345. package/build-types/toggle-group-control/toggle-group-control/as-radio-group.d.ts.map +1 -1
  346. package/build-types/toolbar/stories/index.story.d.ts +3 -3
  347. package/build-types/toolbar/stories/index.story.d.ts.map +1 -1
  348. package/build-types/tooltip/index.d.ts.map +1 -1
  349. package/build-types/tooltip/stories/index.story.d.ts +1 -1
  350. package/build-types/tooltip/stories/index.story.d.ts.map +1 -1
  351. package/build-types/tree-grid/stories/index.story.d.ts +1 -1
  352. package/build-types/tree-grid/stories/index.story.d.ts.map +1 -1
  353. package/build-types/tree-select/index.d.ts +3 -2
  354. package/build-types/tree-select/index.d.ts.map +1 -1
  355. package/build-types/tree-select/stories/index.story.d.ts +1 -1
  356. package/build-types/tree-select/stories/index.story.d.ts.map +1 -1
  357. package/build-types/tree-select/types.d.ts +5 -1
  358. package/build-types/tree-select/types.d.ts.map +1 -1
  359. package/build-types/unit-control/index.d.ts +1 -1
  360. package/build-types/unit-control/styles/unit-control-styles.d.ts +1 -1
  361. package/build-types/v-stack/stories/index.story.d.ts +1 -1
  362. package/package.json +19 -19
  363. package/src/alignment-matrix-control/README.md +16 -15
  364. package/src/angle-picker-control/README.md +10 -9
  365. package/src/badge/README.md +24 -0
  366. package/src/badge/docs-manifest.json +5 -0
  367. package/src/badge/index.tsx +67 -0
  368. package/src/badge/stories/index.story.tsx +54 -0
  369. package/src/badge/styles.scss +49 -0
  370. package/src/badge/test/index.tsx +45 -0
  371. package/src/badge/types.ts +12 -0
  372. package/src/base-control/README.md +22 -21
  373. package/src/box-control/README.md +41 -24
  374. package/src/box-control/index.tsx +4 -0
  375. package/src/box-control/input-control.tsx +142 -40
  376. package/src/box-control/stories/index.story.tsx +12 -0
  377. package/src/box-control/types.ts +18 -0
  378. package/src/box-control/utils.ts +60 -0
  379. package/src/button/README.md +51 -50
  380. package/src/button/style.scss +9 -10
  381. package/src/button/test/index.tsx +9 -2
  382. package/src/button-group/README.md +4 -0
  383. package/src/button-group/index.tsx +11 -1
  384. package/src/button-group/stories/index.story.tsx +8 -1
  385. package/src/button-group/types.ts +7 -0
  386. package/src/custom-select-control/index.tsx +3 -3
  387. package/src/custom-select-control-v2/custom-select.tsx +1 -2
  388. package/src/custom-select-control-v2/stories/index.story.tsx +4 -0
  389. package/src/date-time/date/index.tsx +1 -0
  390. package/src/dimension-control/index.tsx +1 -0
  391. package/src/dimension-control/test/__snapshots__/index.test.js.snap +4 -4
  392. package/src/disabled/stories/index.story.tsx +1 -0
  393. package/src/drop-zone/stories/index.story.tsx +7 -1
  394. package/src/font-size-picker/styles.ts +1 -0
  395. package/src/form-file-upload/README.md +22 -21
  396. package/src/gradient-picker/README.md +36 -35
  397. package/src/heading/hook.ts +1 -1
  398. package/src/heading/test/__snapshots__/index.tsx.snap +4 -4
  399. package/src/icon/README.md +9 -8
  400. package/src/input-control/README.md +1 -0
  401. package/src/input-control/index.tsx +10 -0
  402. package/src/input-control/stories/index.story.tsx +6 -1
  403. package/src/input-control/test/index.js +9 -3
  404. package/src/input-control/types.ts +11 -2
  405. package/src/menu/checkbox-item.tsx +2 -1
  406. package/src/menu/index.tsx +61 -165
  407. package/src/menu/item.tsx +17 -2
  408. package/src/menu/popover.tsx +103 -0
  409. package/src/menu/radio-item.tsx +2 -1
  410. package/src/menu/stories/index.story.tsx +533 -381
  411. package/src/menu/submenu-trigger-item.tsx +61 -0
  412. package/src/menu/test/index.tsx +266 -182
  413. package/src/menu/trigger-button.tsx +46 -0
  414. package/src/menu/types.ts +210 -63
  415. package/src/modal/stories/index.story.tsx +4 -1
  416. package/src/navigation/back-button/index.tsx +1 -0
  417. package/src/navigation/index.tsx +7 -0
  418. package/src/navigation/item/index.tsx +2 -0
  419. package/src/navigation/test/index.tsx +4 -0
  420. package/src/navigator/test/index.tsx +4 -0
  421. package/src/number-control/index.tsx +1 -0
  422. package/src/palette-edit/index.tsx +1 -0
  423. package/src/panel/stories/index.story.tsx +3 -3
  424. package/src/private-apis.ts +2 -0
  425. package/src/radio-group/index.tsx +12 -1
  426. package/src/radio-group/radio.tsx +1 -2
  427. package/src/range-control/styles/range-control-styles.ts +8 -4
  428. package/src/select-control/README.md +3 -0
  429. package/src/select-control/index.tsx +10 -0
  430. package/src/select-control/stories/index.story.tsx +2 -0
  431. package/src/select-control/test/select-control.tsx +7 -1
  432. package/src/select-control/types.ts +1 -0
  433. package/src/slot-fill/context.ts +5 -3
  434. package/src/slot-fill/fill.ts +10 -15
  435. package/src/slot-fill/provider.tsx +63 -64
  436. package/src/slot-fill/slot.tsx +40 -27
  437. package/src/slot-fill/types.ts +23 -11
  438. package/src/style.scss +1 -0
  439. package/src/tab-panel/index.tsx +1 -2
  440. package/src/tab-panel/stories/index.story.tsx +4 -0
  441. package/src/tabs/README.md +151 -187
  442. package/src/tabs/docs-manifest.json +22 -0
  443. package/src/tabs/index.tsx +21 -4
  444. package/src/tabs/stories/best-practices.mdx +99 -0
  445. package/src/tabs/stories/index.story.tsx +5 -0
  446. package/src/tabs/types.ts +13 -14
  447. package/src/text/hook.ts +2 -2
  448. package/src/text/styles.ts +1 -1
  449. package/src/text/test/__snapshots__/index.tsx.snap +3 -3
  450. package/src/text/test/index.tsx +1 -1
  451. package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +2 -2
  452. package/src/toggle-group-control/test/index.tsx +7 -1
  453. package/src/toggle-group-control/toggle-group-control/as-radio-group.tsx +1 -2
  454. package/src/tooltip/index.tsx +1 -2
  455. package/src/tree-grid/stories/index.story.tsx +2 -0
  456. package/src/tree-select/README.md +144 -28
  457. package/src/tree-select/docs-manifest.json +5 -0
  458. package/src/tree-select/index.tsx +11 -2
  459. package/src/tree-select/stories/index.story.tsx +1 -0
  460. package/src/tree-select/types.ts +8 -1
  461. package/tsconfig.json +0 -3
  462. package/tsconfig.tsbuildinfo +1 -1
  463. package/build/slot-fill/use-slot.js +0 -32
  464. package/build/slot-fill/use-slot.js.map +0 -1
  465. package/build-module/slot-fill/use-slot.js +0 -24
  466. package/build-module/slot-fill/use-slot.js.map +0 -1
  467. package/build-types/slot-fill/use-slot.d.ts +0 -10
  468. package/build-types/slot-fill/use-slot.d.ts.map +0 -1
  469. package/src/slot-fill/use-slot.ts +0 -27
@@ -8,7 +8,7 @@ import type { Meta } from '@storybook/react';
8
8
  import BoxControl from '../';
9
9
  declare const meta: Meta<typeof BoxControl>;
10
10
  export default meta;
11
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
11
+ export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
12
12
  onMouseOver?: import("../../unit-control/types").UnitControlProps["onMouseOver"];
13
13
  onMouseOut?: import("../../unit-control/types").UnitControlProps["onMouseOut"];
14
14
  } & {
@@ -312,6 +312,7 @@ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import
312
312
  onValidate?: ((nextValue: string, event?: import("react").SyntheticEvent<HTMLInputElement>) => void) | undefined;
313
313
  __next36pxDefaultSize?: boolean | undefined;
314
314
  __next40pxDefaultSize?: boolean | undefined;
315
+ __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
315
316
  __unstableInputWidth?: import("csstype").Property.Width<string | number> | undefined;
316
317
  hideLabelFromVision?: boolean | undefined;
317
318
  labelPosition?: import("../../input-control/types").LabelPosition | undefined;
@@ -321,7 +322,6 @@ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import
321
322
  isPressEnterToChange?: boolean | undefined;
322
323
  __unstableStateReducer?: import("../../input-control/reducer/state").StateReducer | undefined;
323
324
  hideHTMLArrows?: boolean | undefined;
324
- __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
325
325
  isShiftStepEnabled?: boolean | undefined;
326
326
  shiftStep?: number | undefined;
327
327
  spinFactor?: number | undefined;
@@ -338,8 +338,10 @@ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import
338
338
  splitOnAxis?: boolean;
339
339
  values?: import("../types").BoxControlValue;
340
340
  __next40pxDefaultSize?: boolean;
341
+ presets?: import("../types").Preset[];
342
+ presetKey?: string;
341
343
  }>;
342
- export declare const Controlled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
344
+ export declare const Controlled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
343
345
  onMouseOver?: import("../../unit-control/types").UnitControlProps["onMouseOver"];
344
346
  onMouseOut?: import("../../unit-control/types").UnitControlProps["onMouseOut"];
345
347
  } & {
@@ -643,6 +645,7 @@ export declare const Controlled: import("@storybook/types").AnnotatedStoryFn<imp
643
645
  onValidate?: ((nextValue: string, event?: import("react").SyntheticEvent<HTMLInputElement>) => void) | undefined;
644
646
  __next36pxDefaultSize?: boolean | undefined;
645
647
  __next40pxDefaultSize?: boolean | undefined;
648
+ __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
646
649
  __unstableInputWidth?: import("csstype").Property.Width<string | number> | undefined;
647
650
  hideLabelFromVision?: boolean | undefined;
648
651
  labelPosition?: import("../../input-control/types").LabelPosition | undefined;
@@ -652,7 +655,6 @@ export declare const Controlled: import("@storybook/types").AnnotatedStoryFn<imp
652
655
  isPressEnterToChange?: boolean | undefined;
653
656
  __unstableStateReducer?: import("../../input-control/reducer/state").StateReducer | undefined;
654
657
  hideHTMLArrows?: boolean | undefined;
655
- __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
656
658
  isShiftStepEnabled?: boolean | undefined;
657
659
  shiftStep?: number | undefined;
658
660
  spinFactor?: number | undefined;
@@ -669,8 +671,10 @@ export declare const Controlled: import("@storybook/types").AnnotatedStoryFn<imp
669
671
  splitOnAxis?: boolean;
670
672
  values?: import("../types").BoxControlValue;
671
673
  __next40pxDefaultSize?: boolean;
674
+ presets?: import("../types").Preset[];
675
+ presetKey?: string;
672
676
  }>;
673
- export declare const ArbitrarySides: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
677
+ export declare const ArbitrarySides: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
674
678
  onMouseOver?: import("../../unit-control/types").UnitControlProps["onMouseOver"];
675
679
  onMouseOut?: import("../../unit-control/types").UnitControlProps["onMouseOut"];
676
680
  } & {
@@ -974,6 +978,7 @@ export declare const ArbitrarySides: import("@storybook/types").AnnotatedStoryFn
974
978
  onValidate?: ((nextValue: string, event?: import("react").SyntheticEvent<HTMLInputElement>) => void) | undefined;
975
979
  __next36pxDefaultSize?: boolean | undefined;
976
980
  __next40pxDefaultSize?: boolean | undefined;
981
+ __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
977
982
  __unstableInputWidth?: import("csstype").Property.Width<string | number> | undefined;
978
983
  hideLabelFromVision?: boolean | undefined;
979
984
  labelPosition?: import("../../input-control/types").LabelPosition | undefined;
@@ -983,7 +988,6 @@ export declare const ArbitrarySides: import("@storybook/types").AnnotatedStoryFn
983
988
  isPressEnterToChange?: boolean | undefined;
984
989
  __unstableStateReducer?: import("../../input-control/reducer/state").StateReducer | undefined;
985
990
  hideHTMLArrows?: boolean | undefined;
986
- __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
987
991
  isShiftStepEnabled?: boolean | undefined;
988
992
  shiftStep?: number | undefined;
989
993
  spinFactor?: number | undefined;
@@ -1000,8 +1004,10 @@ export declare const ArbitrarySides: import("@storybook/types").AnnotatedStoryFn
1000
1004
  splitOnAxis?: boolean;
1001
1005
  values?: import("../types").BoxControlValue;
1002
1006
  __next40pxDefaultSize?: boolean;
1007
+ presets?: import("../types").Preset[];
1008
+ presetKey?: string;
1003
1009
  }>;
1004
- export declare const SingleSide: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
1010
+ export declare const SingleSide: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
1005
1011
  onMouseOver?: import("../../unit-control/types").UnitControlProps["onMouseOver"];
1006
1012
  onMouseOut?: import("../../unit-control/types").UnitControlProps["onMouseOut"];
1007
1013
  } & {
@@ -1305,6 +1311,7 @@ export declare const SingleSide: import("@storybook/types").AnnotatedStoryFn<imp
1305
1311
  onValidate?: ((nextValue: string, event?: import("react").SyntheticEvent<HTMLInputElement>) => void) | undefined;
1306
1312
  __next36pxDefaultSize?: boolean | undefined;
1307
1313
  __next40pxDefaultSize?: boolean | undefined;
1314
+ __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
1308
1315
  __unstableInputWidth?: import("csstype").Property.Width<string | number> | undefined;
1309
1316
  hideLabelFromVision?: boolean | undefined;
1310
1317
  labelPosition?: import("../../input-control/types").LabelPosition | undefined;
@@ -1314,7 +1321,6 @@ export declare const SingleSide: import("@storybook/types").AnnotatedStoryFn<imp
1314
1321
  isPressEnterToChange?: boolean | undefined;
1315
1322
  __unstableStateReducer?: import("../../input-control/reducer/state").StateReducer | undefined;
1316
1323
  hideHTMLArrows?: boolean | undefined;
1317
- __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
1318
1324
  isShiftStepEnabled?: boolean | undefined;
1319
1325
  shiftStep?: number | undefined;
1320
1326
  spinFactor?: number | undefined;
@@ -1331,8 +1337,10 @@ export declare const SingleSide: import("@storybook/types").AnnotatedStoryFn<imp
1331
1337
  splitOnAxis?: boolean;
1332
1338
  values?: import("../types").BoxControlValue;
1333
1339
  __next40pxDefaultSize?: boolean;
1340
+ presets?: import("../types").Preset[];
1341
+ presetKey?: string;
1334
1342
  }>;
1335
- export declare const AxialControls: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
1343
+ export declare const AxialControls: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
1336
1344
  onMouseOver?: import("../../unit-control/types").UnitControlProps["onMouseOver"];
1337
1345
  onMouseOut?: import("../../unit-control/types").UnitControlProps["onMouseOut"];
1338
1346
  } & {
@@ -1636,6 +1644,7 @@ export declare const AxialControls: import("@storybook/types").AnnotatedStoryFn<
1636
1644
  onValidate?: ((nextValue: string, event?: import("react").SyntheticEvent<HTMLInputElement>) => void) | undefined;
1637
1645
  __next36pxDefaultSize?: boolean | undefined;
1638
1646
  __next40pxDefaultSize?: boolean | undefined;
1647
+ __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
1639
1648
  __unstableInputWidth?: import("csstype").Property.Width<string | number> | undefined;
1640
1649
  hideLabelFromVision?: boolean | undefined;
1641
1650
  labelPosition?: import("../../input-control/types").LabelPosition | undefined;
@@ -1645,7 +1654,6 @@ export declare const AxialControls: import("@storybook/types").AnnotatedStoryFn<
1645
1654
  isPressEnterToChange?: boolean | undefined;
1646
1655
  __unstableStateReducer?: import("../../input-control/reducer/state").StateReducer | undefined;
1647
1656
  hideHTMLArrows?: boolean | undefined;
1648
- __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
1649
1657
  isShiftStepEnabled?: boolean | undefined;
1650
1658
  shiftStep?: number | undefined;
1651
1659
  spinFactor?: number | undefined;
@@ -1662,8 +1670,10 @@ export declare const AxialControls: import("@storybook/types").AnnotatedStoryFn<
1662
1670
  splitOnAxis?: boolean;
1663
1671
  values?: import("../types").BoxControlValue;
1664
1672
  __next40pxDefaultSize?: boolean;
1673
+ presets?: import("../types").Preset[];
1674
+ presetKey?: string;
1665
1675
  }>;
1666
- export declare const AxialControlsWithSingleSide: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
1676
+ export declare const AxialControlsWithSingleSide: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
1667
1677
  onMouseOver?: import("../../unit-control/types").UnitControlProps["onMouseOver"];
1668
1678
  onMouseOut?: import("../../unit-control/types").UnitControlProps["onMouseOut"];
1669
1679
  } & {
@@ -1967,6 +1977,7 @@ export declare const AxialControlsWithSingleSide: import("@storybook/types").Ann
1967
1977
  onValidate?: ((nextValue: string, event?: import("react").SyntheticEvent<HTMLInputElement>) => void) | undefined;
1968
1978
  __next36pxDefaultSize?: boolean | undefined;
1969
1979
  __next40pxDefaultSize?: boolean | undefined;
1980
+ __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
1970
1981
  __unstableInputWidth?: import("csstype").Property.Width<string | number> | undefined;
1971
1982
  hideLabelFromVision?: boolean | undefined;
1972
1983
  labelPosition?: import("../../input-control/types").LabelPosition | undefined;
@@ -1976,7 +1987,339 @@ export declare const AxialControlsWithSingleSide: import("@storybook/types").Ann
1976
1987
  isPressEnterToChange?: boolean | undefined;
1977
1988
  __unstableStateReducer?: import("../../input-control/reducer/state").StateReducer | undefined;
1978
1989
  hideHTMLArrows?: boolean | undefined;
1990
+ isShiftStepEnabled?: boolean | undefined;
1991
+ shiftStep?: number | undefined;
1992
+ spinFactor?: number | undefined;
1993
+ disableUnits?: boolean | undefined;
1994
+ unit?: string | undefined;
1995
+ isUnitSelectTabbable?: boolean | undefined;
1996
+ isResetValueOnUnitChange?: boolean | undefined;
1997
+ onUnitChange?: import("../../unit-control/types").UnitControlOnChangeCallback | undefined;
1998
+ };
1999
+ label?: string;
2000
+ onChange: (next: import("../types").BoxControlValue) => void;
2001
+ resetValues?: import("../types").BoxControlValue;
2002
+ sides?: readonly (keyof import("../types").BoxControlValue | "horizontal" | "vertical")[];
2003
+ splitOnAxis?: boolean;
2004
+ values?: import("../types").BoxControlValue;
2005
+ __next40pxDefaultSize?: boolean;
2006
+ presets?: import("../types").Preset[];
2007
+ presetKey?: string;
2008
+ }>;
2009
+ export declare const ControlWithPresets: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("../../unit-control/types").UnitControlProps, "units"> & {
2010
+ onMouseOver?: import("../../unit-control/types").UnitControlProps["onMouseOver"];
2011
+ onMouseOut?: import("../../unit-control/types").UnitControlProps["onMouseOut"];
2012
+ } & {
2013
+ allowReset?: boolean;
2014
+ id?: string;
2015
+ inputProps?: {
2016
+ hidden?: boolean | undefined | undefined;
2017
+ color?: string | undefined | undefined;
2018
+ content?: string | undefined | undefined;
2019
+ size?: import("../../input-control/types").Size | undefined;
2020
+ style?: import("react").CSSProperties | undefined;
2021
+ help?: import("react").ReactNode;
2022
+ height?: number | string | undefined | undefined;
2023
+ translate?: "yes" | "no" | undefined | undefined;
2024
+ width?: number | string | undefined | undefined;
2025
+ multiple?: boolean | undefined | undefined;
2026
+ disabled?: boolean | undefined;
2027
+ form?: string | undefined | undefined;
2028
+ slot?: string | undefined | undefined;
2029
+ title?: string | undefined | undefined;
2030
+ pattern?: string | undefined | undefined;
2031
+ suppressHydrationWarning?: boolean | undefined | undefined;
2032
+ className?: string | undefined | undefined;
2033
+ id?: string | undefined | undefined;
2034
+ lang?: string | undefined | undefined;
2035
+ max?: number | undefined;
2036
+ min?: number | undefined;
2037
+ name?: string | undefined | undefined;
2038
+ role?: import("react").AriaRole | undefined;
2039
+ tabIndex?: number | undefined | undefined;
2040
+ "aria-activedescendant"?: string | undefined | undefined;
2041
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
2042
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
2043
+ "aria-braillelabel"?: string | undefined | undefined;
2044
+ "aria-brailleroledescription"?: string | undefined | undefined;
2045
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
2046
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
2047
+ "aria-colcount"?: number | undefined | undefined;
2048
+ "aria-colindex"?: number | undefined | undefined;
2049
+ "aria-colindextext"?: string | undefined | undefined;
2050
+ "aria-colspan"?: number | undefined | undefined;
2051
+ "aria-controls"?: string | undefined | undefined;
2052
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
2053
+ "aria-describedby"?: string | undefined | undefined;
2054
+ "aria-description"?: string | undefined | undefined;
2055
+ "aria-details"?: string | undefined | undefined;
2056
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
2057
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
2058
+ "aria-errormessage"?: string | undefined | undefined;
2059
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
2060
+ "aria-flowto"?: string | undefined | undefined;
2061
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
2062
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
2063
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
2064
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
2065
+ "aria-keyshortcuts"?: string | undefined | undefined;
2066
+ "aria-label"?: string | undefined | undefined;
2067
+ "aria-labelledby"?: string | undefined | undefined;
2068
+ "aria-level"?: number | undefined | undefined;
2069
+ "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
2070
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
2071
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
2072
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
2073
+ "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
2074
+ "aria-owns"?: string | undefined | undefined;
2075
+ "aria-placeholder"?: string | undefined | undefined;
2076
+ "aria-posinset"?: number | undefined | undefined;
2077
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
2078
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
2079
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
2080
+ "aria-required"?: (boolean | "false" | "true") | undefined;
2081
+ "aria-roledescription"?: string | undefined | undefined;
2082
+ "aria-rowcount"?: number | undefined | undefined;
2083
+ "aria-rowindex"?: number | undefined | undefined;
2084
+ "aria-rowindextext"?: string | undefined | undefined;
2085
+ "aria-rowspan"?: number | undefined | undefined;
2086
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
2087
+ "aria-setsize"?: number | undefined | undefined;
2088
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
2089
+ "aria-valuemax"?: number | undefined | undefined;
2090
+ "aria-valuemin"?: number | undefined | undefined;
2091
+ "aria-valuenow"?: number | undefined | undefined;
2092
+ "aria-valuetext"?: string | undefined | undefined;
2093
+ dangerouslySetInnerHTML?: {
2094
+ __html: string | TrustedHTML;
2095
+ } | undefined | undefined;
2096
+ onCopy?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
2097
+ onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
2098
+ onCut?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
2099
+ onCutCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
2100
+ onPaste?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
2101
+ onPasteCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
2102
+ onCompositionEnd?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
2103
+ onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
2104
+ onCompositionStart?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
2105
+ onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
2106
+ onCompositionUpdate?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
2107
+ onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
2108
+ onFocusCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
2109
+ onBlur?: (import("react").FocusEventHandler<HTMLInputElement> & import("react").FocusEventHandler<HTMLInputElement | HTMLSelectElement>) | undefined;
2110
+ onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
2111
+ onChangeCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2112
+ onBeforeInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2113
+ onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2114
+ onInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2115
+ onInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2116
+ onReset?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2117
+ onResetCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2118
+ onSubmit?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2119
+ onSubmitCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2120
+ onInvalid?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2121
+ onInvalidCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
2122
+ onLoad?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2123
+ onLoadCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2124
+ onError?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2125
+ onErrorCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2126
+ onKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
2127
+ onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
2128
+ onKeyPress?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
2129
+ onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
2130
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
2131
+ onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
2132
+ onAbort?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2133
+ onAbortCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2134
+ onCanPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2135
+ onCanPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2136
+ onCanPlayThrough?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2137
+ onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2138
+ onDurationChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2139
+ onDurationChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2140
+ onEmptied?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2141
+ onEmptiedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2142
+ onEncrypted?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2143
+ onEncryptedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2144
+ onEnded?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2145
+ onEndedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2146
+ onLoadedData?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2147
+ onLoadedDataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2148
+ onLoadedMetadata?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2149
+ onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2150
+ onLoadStart?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2151
+ onLoadStartCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2152
+ onPause?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2153
+ onPauseCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2154
+ onPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2155
+ onPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2156
+ onPlaying?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2157
+ onPlayingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2158
+ onProgress?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2159
+ onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2160
+ onRateChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2161
+ onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2162
+ onResize?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2163
+ onResizeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2164
+ onSeeked?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2165
+ onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2166
+ onSeeking?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2167
+ onSeekingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2168
+ onStalled?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2169
+ onStalledCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2170
+ onSuspend?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2171
+ onSuspendCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2172
+ onTimeUpdate?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2173
+ onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2174
+ onVolumeChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2175
+ onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2176
+ onWaiting?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2177
+ onWaitingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2178
+ onAuxClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2179
+ onAuxClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2180
+ onClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2181
+ onClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2182
+ onContextMenu?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2183
+ onContextMenuCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2184
+ onDoubleClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2185
+ onDoubleClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2186
+ onDrag?: ((dragProps: import("../../input-control/types").DragProps) => void) | undefined;
2187
+ onDragCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2188
+ onDragEnd?: ((dragProps: import("../../input-control/types").DragProps) => void) | undefined;
2189
+ onDragEndCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2190
+ onDragEnter?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2191
+ onDragEnterCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2192
+ onDragExit?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2193
+ onDragExitCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2194
+ onDragLeave?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2195
+ onDragLeaveCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2196
+ onDragOver?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2197
+ onDragOverCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2198
+ onDragStart?: ((dragProps: import("../../input-control/types").DragProps) => void) | undefined;
2199
+ onDragStartCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2200
+ onDrop?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2201
+ onDropCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
2202
+ onMouseDown?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2203
+ onMouseDownCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2204
+ onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2205
+ onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2206
+ onMouseMove?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2207
+ onMouseMoveCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2208
+ onMouseOut?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2209
+ onMouseOutCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2210
+ onMouseOver?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2211
+ onMouseOverCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2212
+ onMouseUp?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2213
+ onMouseUpCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
2214
+ onSelect?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2215
+ onSelectCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
2216
+ onTouchCancel?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
2217
+ onTouchCancelCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
2218
+ onTouchEnd?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
2219
+ onTouchEndCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
2220
+ onTouchMove?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
2221
+ onTouchMoveCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
2222
+ onTouchStart?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
2223
+ onTouchStartCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
2224
+ onPointerDown?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2225
+ onPointerDownCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2226
+ onPointerMove?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2227
+ onPointerMoveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2228
+ onPointerUp?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2229
+ onPointerUpCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2230
+ onPointerCancel?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2231
+ onPointerCancelCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2232
+ onPointerEnter?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2233
+ onPointerLeave?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2234
+ onPointerOver?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2235
+ onPointerOverCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2236
+ onPointerOut?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2237
+ onPointerOutCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2238
+ onGotPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2239
+ onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2240
+ onLostPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2241
+ onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
2242
+ onScroll?: import("react").UIEventHandler<HTMLInputElement> | undefined;
2243
+ onScrollCapture?: import("react").UIEventHandler<HTMLInputElement> | undefined;
2244
+ onWheel?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
2245
+ onWheelCapture?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
2246
+ onAnimationStart?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
2247
+ onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
2248
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
2249
+ onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
2250
+ onAnimationIteration?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
2251
+ onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
2252
+ onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
2253
+ onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
2254
+ key?: import("react").Key | null | undefined;
2255
+ defaultChecked?: boolean | undefined | undefined;
2256
+ defaultValue?: string | number | readonly string[] | undefined;
2257
+ suppressContentEditableWarning?: boolean | undefined | undefined;
2258
+ accessKey?: string | undefined | undefined;
2259
+ autoFocus?: boolean | undefined | undefined;
2260
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
2261
+ contextMenu?: string | undefined | undefined;
2262
+ dir?: string | undefined | undefined;
2263
+ draggable?: (boolean | "false" | "true") | undefined;
2264
+ nonce?: string | undefined | undefined;
2265
+ spellCheck?: (boolean | "false" | "true") | undefined;
2266
+ radioGroup?: string | undefined | undefined;
2267
+ about?: string | undefined | undefined;
2268
+ datatype?: string | undefined | undefined;
2269
+ inlist?: any;
2270
+ prefix?: import("react").ReactNode;
2271
+ property?: string | undefined | undefined;
2272
+ rel?: string | undefined | undefined;
2273
+ resource?: string | undefined | undefined;
2274
+ rev?: string | undefined | undefined;
2275
+ typeof?: string | undefined | undefined;
2276
+ vocab?: string | undefined | undefined;
2277
+ autoCapitalize?: string | undefined | undefined;
2278
+ autoCorrect?: string | undefined | undefined;
2279
+ autoSave?: string | undefined | undefined;
2280
+ itemProp?: string | undefined | undefined;
2281
+ itemScope?: boolean | undefined | undefined;
2282
+ itemType?: string | undefined | undefined;
2283
+ itemID?: string | undefined | undefined;
2284
+ itemRef?: string | undefined | undefined;
2285
+ results?: number | undefined | undefined;
2286
+ security?: string | undefined | undefined;
2287
+ unselectable?: "on" | "off" | undefined | undefined;
2288
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
2289
+ is?: string | undefined | undefined;
2290
+ formAction?: string | undefined;
2291
+ formEncType?: string | undefined | undefined;
2292
+ formMethod?: string | undefined | undefined;
2293
+ formNoValidate?: boolean | undefined | undefined;
2294
+ formTarget?: string | undefined | undefined;
2295
+ value?: number | string | undefined;
2296
+ autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
2297
+ maxLength?: number | undefined | undefined;
2298
+ minLength?: number | undefined | undefined;
2299
+ placeholder?: string | undefined | undefined;
2300
+ readOnly?: boolean | undefined | undefined;
2301
+ required?: boolean | undefined;
2302
+ src?: string | undefined | undefined;
2303
+ alt?: string | undefined | undefined;
2304
+ accept?: string | undefined | undefined;
2305
+ capture?: boolean | "user" | "environment" | undefined | undefined;
2306
+ checked?: boolean | undefined | undefined;
2307
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
2308
+ list?: string | undefined | undefined;
2309
+ step?: string | number | undefined;
2310
+ onValidate?: ((nextValue: string, event?: import("react").SyntheticEvent<HTMLInputElement>) => void) | undefined;
2311
+ __next36pxDefaultSize?: boolean | undefined;
2312
+ __next40pxDefaultSize?: boolean | undefined;
1979
2313
  __shouldNotWarnDeprecated36pxSize?: boolean | undefined;
2314
+ __unstableInputWidth?: import("csstype").Property.Width<string | number> | undefined;
2315
+ hideLabelFromVision?: boolean | undefined;
2316
+ labelPosition?: import("../../input-control/types").LabelPosition | undefined;
2317
+ dragDirection?: import("../../input-control/types").DragDirection | undefined;
2318
+ dragThreshold?: number | undefined;
2319
+ isDragEnabled?: boolean | undefined;
2320
+ isPressEnterToChange?: boolean | undefined;
2321
+ __unstableStateReducer?: import("../../input-control/reducer/state").StateReducer | undefined;
2322
+ hideHTMLArrows?: boolean | undefined;
1980
2323
  isShiftStepEnabled?: boolean | undefined;
1981
2324
  shiftStep?: number | undefined;
1982
2325
  spinFactor?: number | undefined;
@@ -1993,5 +2336,7 @@ export declare const AxialControlsWithSingleSide: import("@storybook/types").Ann
1993
2336
  splitOnAxis?: boolean;
1994
2337
  values?: import("../types").BoxControlValue;
1995
2338
  __next40pxDefaultSize?: boolean;
2339
+ presets?: import("../types").Preset[];
2340
+ presetKey?: string;
1996
2341
  }>;
1997
2342
  //# sourceMappingURL=index.story.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/box-control/stories/index.story.tsx"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/box-control/stories/index.story.tsx"],"names":[],"mappings":"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"}
@@ -7,7 +7,7 @@ export declare const StyledUnitControl: import("@emotion/styled").StyledComponen
7
7
  onBlur?: import("react").FocusEventHandler<HTMLInputElement | HTMLSelectElement>;
8
8
  onFocus?: import("react").FocusEventHandler<HTMLInputElement | HTMLSelectElement>;
9
9
  __shouldNotWarnDeprecated36pxSize?: boolean;
10
- } & Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "hidden" | "color" | "content" | "size" | "style" | "help" | "height" | "translate" | "width" | "multiple" | "disabled" | "form" | "label" | "slot" | "title" | "pattern" | "suppressHydrationWarning" | "className" | "id" | "lang" | "max" | "min" | "name" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "maxLength" | "minLength" | "placeholder" | "readOnly" | "required" | "src" | "alt" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "step" | "as" | "onValidate" | "__next36pxDefaultSize" | "__next40pxDefaultSize" | "__unstableInputWidth" | "hideLabelFromVision" | "labelPosition" | "dragDirection" | "dragThreshold" | "isDragEnabled" | "isPressEnterToChange" | "__unstableStateReducer" | "hideHTMLArrows" | "__shouldNotWarnDeprecated36pxSize" | "isShiftStepEnabled" | "shiftStep" | "spinFactor" | "disableUnits" | "unit" | "isUnitSelectTabbable" | "units" | "isResetValueOnUnitChange" | "onUnitChange"> & import("react").RefAttributes<any> & {
10
+ } & Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "hidden" | "color" | "content" | "size" | "style" | "help" | "height" | "translate" | "width" | "multiple" | "disabled" | "form" | "label" | "slot" | "title" | "pattern" | "suppressHydrationWarning" | "className" | "id" | "lang" | "max" | "min" | "name" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "maxLength" | "minLength" | "placeholder" | "readOnly" | "required" | "src" | "alt" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "step" | "as" | "onValidate" | "__next36pxDefaultSize" | "__next40pxDefaultSize" | "__shouldNotWarnDeprecated36pxSize" | "__unstableInputWidth" | "hideLabelFromVision" | "labelPosition" | "dragDirection" | "dragThreshold" | "isDragEnabled" | "isPressEnterToChange" | "__unstableStateReducer" | "hideHTMLArrows" | "isShiftStepEnabled" | "shiftStep" | "spinFactor" | "disableUnits" | "unit" | "isUnitSelectTabbable" | "units" | "isResetValueOnUnitChange" | "onUnitChange"> & import("react").RefAttributes<any> & {
11
11
  theme?: import("@emotion/react").Theme;
12
12
  }, {}, {}>;
13
13
  export declare const InputWrapper: import("@emotion/styled").StyledComponent<Omit<import("../../flex/types").FlexProps, "gap" | "align"> & {
@@ -63,7 +63,7 @@ export declare const FlexedRangeControl: import("@emotion/styled").StyledCompone
63
63
  type?: "stepper";
64
64
  withInputField?: boolean;
65
65
  __shouldNotWarnDeprecated36pxSize?: boolean;
66
- } & Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "color" | "help" | "icon" | "disabled" | "label" | "type" | "children" | "onFocus" | "onBlur" | "onChange" | "onMouseLeave" | "onMouseMove" | "step" | "as" | "__next40pxDefaultSize" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "showTooltip" | "__shouldNotWarnDeprecated36pxSize" | "isShiftStepEnabled" | "shiftStep" | keyof import("../../range-control/types").NumericProps | "marks" | "afterIcon" | "allowReset" | "beforeIcon" | "currentInput" | "initialPosition" | "railColor" | "renderTooltipContent" | "resetFallbackValue" | "separatorType" | "trackColor" | "withInputField"> & import("react").RefAttributes<HTMLInputElement> & {
66
+ } & Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "color" | "help" | "icon" | "disabled" | "label" | "type" | "children" | "onFocus" | "onBlur" | "onChange" | "onMouseLeave" | "onMouseMove" | "step" | "as" | "__next40pxDefaultSize" | "__shouldNotWarnDeprecated36pxSize" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "showTooltip" | "isShiftStepEnabled" | "shiftStep" | keyof import("../../range-control/types").NumericProps | "marks" | "afterIcon" | "allowReset" | "beforeIcon" | "currentInput" | "initialPosition" | "railColor" | "renderTooltipContent" | "resetFallbackValue" | "separatorType" | "trackColor" | "withInputField"> & import("react").RefAttributes<HTMLInputElement> & {
67
67
  theme?: import("@emotion/react").Theme;
68
68
  }, {}, {}>;
69
69
  //# sourceMappingURL=box-control-styles.d.ts.map
@@ -15,6 +15,11 @@ export type CustomValueUnits = {
15
15
  step: number;
16
16
  };
17
17
  };
18
+ export interface Preset {
19
+ name: string;
20
+ slug: string;
21
+ value?: string;
22
+ }
18
23
  type UnitControlPassthroughProps = Omit<UnitControlProps, 'label' | 'onChange' | 'onFocus' | 'units'>;
19
24
  type DeprecatedBoxControlProps = {
20
25
  /**
@@ -84,6 +89,16 @@ export type BoxControlProps = Pick<UnitControlProps, 'units'> & DeprecatedBoxCon
84
89
  * @default false
85
90
  */
86
91
  __next40pxDefaultSize?: boolean;
92
+ /**
93
+ * Available presets to pick from.
94
+ */
95
+ presets?: Preset[];
96
+ /**
97
+ * The key of the preset to apply.
98
+ * If you provide a list of presets, you must provide a preset key to use.
99
+ * The format of preset selected values is going to be `var:preset|${ presetKey }|${ presetSlug }`
100
+ */
101
+ presetKey?: string;
87
102
  };
88
103
  export type BoxControlInputControlProps = UnitControlPassthroughProps & {
89
104
  onChange?: (nextValues: BoxControlValue) => void;
@@ -104,6 +119,8 @@ export type BoxControlInputControlProps = UnitControlPassthroughProps & {
104
119
  * It can be a concrete side like: left, right, top, bottom or a combined one like: horizontal, vertical.
105
120
  */
106
121
  side: keyof typeof LABELS;
122
+ presets?: Preset[];
123
+ presetKey?: string;
107
124
  };
108
125
  export type BoxControlIconProps = {
109
126
  /**