@wordpress/components 23.5.0 → 23.6.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 (898) hide show
  1. package/CHANGELOG.md +40 -7
  2. package/build/animate/index.js +3 -1
  3. package/build/animate/index.js.map +1 -1
  4. package/build/animation/index.js.map +1 -1
  5. package/build/autocomplete/autocompleter-ui.js +5 -5
  6. package/build/autocomplete/autocompleter-ui.js.map +1 -1
  7. package/build/autocomplete/get-default-use-items.js.map +1 -1
  8. package/build/autocomplete/index.js +25 -91
  9. package/build/autocomplete/index.js.map +1 -1
  10. package/build/autocomplete/types.js +6 -0
  11. package/build/autocomplete/types.js.map +1 -0
  12. package/build/custom-gradient-picker/gradient-bar/control-points.js +2 -0
  13. package/build/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  14. package/build/custom-gradient-picker/gradient-bar/index.js +2 -0
  15. package/build/custom-gradient-picker/gradient-bar/index.js.map +1 -1
  16. package/build/custom-gradient-picker/gradient-bar/utils.js +2 -0
  17. package/build/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
  18. package/build/custom-gradient-picker/index.js +2 -0
  19. package/build/custom-gradient-picker/index.js.map +1 -1
  20. package/build/custom-gradient-picker/serializer.js +1 -0
  21. package/build/custom-gradient-picker/serializer.js.map +1 -1
  22. package/build/custom-gradient-picker/utils.js +2 -0
  23. package/build/custom-gradient-picker/utils.js.map +1 -1
  24. package/build/dimension-control/index.js +31 -5
  25. package/build/dimension-control/index.js.map +1 -1
  26. package/build/dimension-control/sizes.js +2 -4
  27. package/build/dimension-control/sizes.js.map +1 -1
  28. package/build/dimension-control/types.js +6 -0
  29. package/build/dimension-control/types.js.map +1 -0
  30. package/build/flex/flex/hook.js +3 -3
  31. package/build/flex/flex/hook.js.map +1 -1
  32. package/build/font-size-picker/index.js +2 -1
  33. package/build/font-size-picker/index.js.map +1 -1
  34. package/build/form-token-field/index.js +1 -1
  35. package/build/form-token-field/index.js.map +1 -1
  36. package/build/gradient-picker/index.js +2 -0
  37. package/build/gradient-picker/index.js.map +1 -1
  38. package/build/guide/icons.js.map +1 -1
  39. package/build/guide/index.js +46 -8
  40. package/build/guide/index.js.map +1 -1
  41. package/build/guide/page-control.js.map +1 -1
  42. package/build/guide/page.js.map +1 -1
  43. package/build/guide/types.js +6 -0
  44. package/build/guide/types.js.map +1 -0
  45. package/build/h-stack/utils.js +5 -5
  46. package/build/h-stack/utils.js.map +1 -1
  47. package/build/higher-order/navigate-regions/index.js +33 -3
  48. package/build/higher-order/navigate-regions/index.js.map +1 -1
  49. package/build/higher-order/with-fallback-styles/index.js +2 -2
  50. package/build/higher-order/with-fallback-styles/index.js.map +1 -1
  51. package/build/higher-order/with-filters/index.js +31 -7
  52. package/build/higher-order/with-filters/index.js.map +1 -1
  53. package/build/higher-order/with-focus-return/index.js +10 -10
  54. package/build/higher-order/with-focus-return/index.js.map +1 -1
  55. package/build/higher-order/with-notices/index.js +28 -25
  56. package/build/higher-order/with-notices/index.js.map +1 -1
  57. package/build/higher-order/with-notices/types.js +6 -0
  58. package/build/higher-order/with-notices/types.js.map +1 -0
  59. package/build/higher-order/with-spoken-messages/index.js.map +1 -1
  60. package/build/icon/index.js +1 -8
  61. package/build/icon/index.js.map +1 -1
  62. package/build/index.native.js +18 -9
  63. package/build/index.native.js.map +1 -1
  64. package/build/mobile/bottom-sheet/cell.native.js +1 -1
  65. package/build/mobile/bottom-sheet/cell.native.js.map +1 -1
  66. package/build/mobile/bottom-sheet-text-control/index.native.js +4 -3
  67. package/build/mobile/bottom-sheet-text-control/index.native.js.map +1 -1
  68. package/build/navigation/back-button/index.js +6 -5
  69. package/build/navigation/back-button/index.js.map +1 -1
  70. package/build/navigation/constants.js.map +1 -1
  71. package/build/navigation/context.js +7 -4
  72. package/build/navigation/context.js.map +1 -1
  73. package/build/navigation/group/context.js.map +1 -1
  74. package/build/navigation/group/index.js +5 -1
  75. package/build/navigation/group/index.js.map +1 -1
  76. package/build/navigation/index.js +49 -3
  77. package/build/navigation/index.js.map +1 -1
  78. package/build/navigation/item/base-content.js +0 -1
  79. package/build/navigation/item/base-content.js.map +1 -1
  80. package/build/navigation/item/base.js.map +1 -1
  81. package/build/navigation/item/index.js +5 -1
  82. package/build/navigation/item/index.js.map +1 -1
  83. package/build/navigation/item/use-navigation-tree-item.js +1 -1
  84. package/build/navigation/item/use-navigation-tree-item.js.map +1 -1
  85. package/build/navigation/menu/context.js.map +1 -1
  86. package/build/navigation/menu/index.js +5 -1
  87. package/build/navigation/menu/index.js.map +1 -1
  88. package/build/navigation/menu/menu-title-search.js +8 -6
  89. package/build/navigation/menu/menu-title-search.js.map +1 -1
  90. package/build/navigation/menu/menu-title.js +4 -2
  91. package/build/navigation/menu/menu-title.js.map +1 -1
  92. package/build/navigation/menu/search-no-results-found.js.map +1 -1
  93. package/build/navigation/menu/use-navigation-tree-menu.js.map +1 -1
  94. package/build/navigation/styles/navigation-styles.js +36 -36
  95. package/build/navigation/styles/navigation-styles.js.map +1 -1
  96. package/build/navigation/types.js +6 -0
  97. package/build/navigation/types.js.map +1 -0
  98. package/build/navigation/use-create-navigation-tree.js +7 -0
  99. package/build/navigation/use-create-navigation-tree.js.map +1 -1
  100. package/build/navigation/use-navigation-tree-nodes.js +3 -5
  101. package/build/navigation/use-navigation-tree-nodes.js.map +1 -1
  102. package/build/navigation/utils.js.map +1 -1
  103. package/build/navigator/navigator-screen/component.js +5 -3
  104. package/build/navigator/navigator-screen/component.js.map +1 -1
  105. package/build/number-control/index.js +1 -3
  106. package/build/number-control/index.js.map +1 -1
  107. package/build/palette-edit/index.js +67 -27
  108. package/build/palette-edit/index.js.map +1 -1
  109. package/build/palette-edit/types.js +6 -0
  110. package/build/palette-edit/types.js.map +1 -0
  111. package/build/panel/body.js +15 -17
  112. package/build/panel/body.js.map +1 -1
  113. package/build/placeholder/index.js.map +1 -1
  114. package/build/query-controls/author-select.js +0 -4
  115. package/build/query-controls/author-select.js.map +1 -1
  116. package/build/query-controls/category-select.js +0 -4
  117. package/build/query-controls/category-select.js.map +1 -1
  118. package/build/query-controls/terms.js +30 -15
  119. package/build/query-controls/terms.js.map +1 -1
  120. package/build/range-control/index.js.map +1 -1
  121. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +4 -4
  122. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
  123. package/build/responsive-wrapper/index.js +12 -13
  124. package/build/responsive-wrapper/index.js.map +1 -1
  125. package/build/select-control/index.js +19 -16
  126. package/build/select-control/index.js.map +1 -1
  127. package/build/toolbar/toolbar-button/index.js +32 -10
  128. package/build/toolbar/toolbar-button/index.js.map +1 -1
  129. package/build/toolbar/toolbar-button/toolbar-button-container.js +12 -4
  130. package/build/toolbar/toolbar-button/toolbar-button-container.js.map +1 -1
  131. package/build/toolbar/toolbar-button/types.js +6 -0
  132. package/build/toolbar/toolbar-button/types.js.map +1 -0
  133. package/build/toolbar/toolbar-context/index.js +4 -2
  134. package/build/toolbar/toolbar-context/index.js.map +1 -1
  135. package/build/tooltip/index.js +18 -6
  136. package/build/tooltip/index.js.map +1 -1
  137. package/build/tree-select/index.js.map +1 -1
  138. package/build/ui/context/get-styled-class-name-from-key.js +2 -2
  139. package/build/ui/context/get-styled-class-name-from-key.js.map +1 -1
  140. package/build/utils/font.js +3 -7
  141. package/build/utils/font.js.map +1 -1
  142. package/build/v-stack/hook.js +2 -0
  143. package/build/v-stack/hook.js.map +1 -1
  144. package/build-module/animate/index.js +3 -1
  145. package/build-module/animate/index.js.map +1 -1
  146. package/build-module/animation/index.js.map +1 -1
  147. package/build-module/autocomplete/autocompleter-ui.js +6 -6
  148. package/build-module/autocomplete/autocompleter-ui.js.map +1 -1
  149. package/build-module/autocomplete/get-default-use-items.js.map +1 -1
  150. package/build-module/autocomplete/index.js +28 -94
  151. package/build-module/autocomplete/index.js.map +1 -1
  152. package/build-module/autocomplete/types.js +2 -0
  153. package/build-module/autocomplete/types.js.map +1 -0
  154. package/build-module/custom-gradient-picker/gradient-bar/control-points.js +1 -0
  155. package/build-module/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
  156. package/build-module/custom-gradient-picker/gradient-bar/index.js +1 -0
  157. package/build-module/custom-gradient-picker/gradient-bar/index.js.map +1 -1
  158. package/build-module/custom-gradient-picker/gradient-bar/utils.js +2 -0
  159. package/build-module/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
  160. package/build-module/custom-gradient-picker/index.js +1 -0
  161. package/build-module/custom-gradient-picker/index.js.map +1 -1
  162. package/build-module/custom-gradient-picker/serializer.js +1 -0
  163. package/build-module/custom-gradient-picker/serializer.js.map +1 -1
  164. package/build-module/custom-gradient-picker/utils.js +2 -0
  165. package/build-module/custom-gradient-picker/utils.js.map +1 -1
  166. package/build-module/dimension-control/index.js +28 -3
  167. package/build-module/dimension-control/index.js.map +1 -1
  168. package/build-module/dimension-control/sizes.js +6 -5
  169. package/build-module/dimension-control/sizes.js.map +1 -1
  170. package/build-module/dimension-control/types.js +2 -0
  171. package/build-module/dimension-control/types.js.map +1 -0
  172. package/build-module/flex/flex/hook.js +3 -3
  173. package/build-module/flex/flex/hook.js.map +1 -1
  174. package/build-module/font-size-picker/index.js +2 -1
  175. package/build-module/font-size-picker/index.js.map +1 -1
  176. package/build-module/form-token-field/index.js +1 -1
  177. package/build-module/form-token-field/index.js.map +1 -1
  178. package/build-module/gradient-picker/index.js +1 -0
  179. package/build-module/gradient-picker/index.js.map +1 -1
  180. package/build-module/guide/icons.js.map +1 -1
  181. package/build-module/guide/index.js +45 -8
  182. package/build-module/guide/index.js.map +1 -1
  183. package/build-module/guide/page-control.js.map +1 -1
  184. package/build-module/guide/page.js +4 -0
  185. package/build-module/guide/page.js.map +1 -1
  186. package/build-module/guide/types.js +2 -0
  187. package/build-module/guide/types.js.map +1 -0
  188. package/build-module/h-stack/utils.js +5 -5
  189. package/build-module/h-stack/utils.js.map +1 -1
  190. package/build-module/higher-order/navigate-regions/index.js +33 -3
  191. package/build-module/higher-order/navigate-regions/index.js.map +1 -1
  192. package/build-module/higher-order/with-fallback-styles/index.js +2 -2
  193. package/build-module/higher-order/with-fallback-styles/index.js.map +1 -1
  194. package/build-module/higher-order/with-filters/index.js +31 -7
  195. package/build-module/higher-order/with-filters/index.js.map +1 -1
  196. package/build-module/higher-order/with-focus-return/index.js +10 -10
  197. package/build-module/higher-order/with-focus-return/index.js.map +1 -1
  198. package/build-module/higher-order/with-notices/index.js +29 -26
  199. package/build-module/higher-order/with-notices/index.js.map +1 -1
  200. package/build-module/higher-order/with-notices/types.js +2 -0
  201. package/build-module/higher-order/with-notices/types.js.map +1 -0
  202. package/build-module/higher-order/with-spoken-messages/index.js.map +1 -1
  203. package/build-module/icon/index.js +2 -9
  204. package/build-module/icon/index.js.map +1 -1
  205. package/build-module/index.native.js +1 -0
  206. package/build-module/index.native.js.map +1 -1
  207. package/build-module/mobile/bottom-sheet/cell.native.js +1 -1
  208. package/build-module/mobile/bottom-sheet/cell.native.js.map +1 -1
  209. package/build-module/mobile/bottom-sheet-text-control/index.native.js +4 -3
  210. package/build-module/mobile/bottom-sheet-text-control/index.native.js.map +1 -1
  211. package/build-module/navigation/back-button/index.js +4 -3
  212. package/build-module/navigation/back-button/index.js.map +1 -1
  213. package/build-module/navigation/constants.js.map +1 -1
  214. package/build-module/navigation/context.js +7 -4
  215. package/build-module/navigation/context.js.map +1 -1
  216. package/build-module/navigation/group/context.js +4 -0
  217. package/build-module/navigation/group/context.js.map +1 -1
  218. package/build-module/navigation/group/index.js +2 -1
  219. package/build-module/navigation/group/index.js.map +1 -1
  220. package/build-module/navigation/index.js +46 -3
  221. package/build-module/navigation/index.js.map +1 -1
  222. package/build-module/navigation/item/base-content.js +0 -1
  223. package/build-module/navigation/item/base-content.js.map +1 -1
  224. package/build-module/navigation/item/base.js.map +1 -1
  225. package/build-module/navigation/item/index.js +2 -1
  226. package/build-module/navigation/item/index.js.map +1 -1
  227. package/build-module/navigation/item/use-navigation-tree-item.js +1 -1
  228. package/build-module/navigation/item/use-navigation-tree-item.js.map +1 -1
  229. package/build-module/navigation/menu/context.js +4 -0
  230. package/build-module/navigation/menu/context.js.map +1 -1
  231. package/build-module/navigation/menu/index.js +2 -1
  232. package/build-module/navigation/menu/index.js.map +1 -1
  233. package/build-module/navigation/menu/menu-title-search.js +8 -6
  234. package/build-module/navigation/menu/menu-title-search.js.map +1 -1
  235. package/build-module/navigation/menu/menu-title.js +4 -2
  236. package/build-module/navigation/menu/menu-title.js.map +1 -1
  237. package/build-module/navigation/menu/search-no-results-found.js.map +1 -1
  238. package/build-module/navigation/menu/use-navigation-tree-menu.js.map +1 -1
  239. package/build-module/navigation/styles/navigation-styles.js +36 -36
  240. package/build-module/navigation/styles/navigation-styles.js.map +1 -1
  241. package/build-module/navigation/types.js +2 -0
  242. package/build-module/navigation/types.js.map +1 -0
  243. package/build-module/navigation/use-create-navigation-tree.js +7 -0
  244. package/build-module/navigation/use-create-navigation-tree.js.map +1 -1
  245. package/build-module/navigation/use-navigation-tree-nodes.js +2 -2
  246. package/build-module/navigation/use-navigation-tree-nodes.js.map +1 -1
  247. package/build-module/navigation/utils.js.map +1 -1
  248. package/build-module/navigator/navigator-screen/component.js +5 -3
  249. package/build-module/navigator/navigator-screen/component.js.map +1 -1
  250. package/build-module/number-control/index.js +1 -3
  251. package/build-module/number-control/index.js.map +1 -1
  252. package/build-module/palette-edit/index.js +65 -27
  253. package/build-module/palette-edit/index.js.map +1 -1
  254. package/build-module/palette-edit/types.js +2 -0
  255. package/build-module/palette-edit/types.js.map +1 -0
  256. package/build-module/panel/body.js +12 -12
  257. package/build-module/panel/body.js.map +1 -1
  258. package/build-module/placeholder/index.js.map +1 -1
  259. package/build-module/query-controls/author-select.js +0 -4
  260. package/build-module/query-controls/author-select.js.map +1 -1
  261. package/build-module/query-controls/category-select.js +1 -5
  262. package/build-module/query-controls/category-select.js.map +1 -1
  263. package/build-module/query-controls/terms.js +29 -16
  264. package/build-module/query-controls/terms.js.map +1 -1
  265. package/build-module/range-control/index.js.map +1 -1
  266. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +5 -5
  267. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
  268. package/build-module/responsive-wrapper/index.js +12 -12
  269. package/build-module/responsive-wrapper/index.js.map +1 -1
  270. package/build-module/select-control/index.js +20 -17
  271. package/build-module/select-control/index.js.map +1 -1
  272. package/build-module/toolbar/toolbar-button/index.js +32 -9
  273. package/build-module/toolbar/toolbar-button/index.js.map +1 -1
  274. package/build-module/toolbar/toolbar-button/toolbar-button-container.js +12 -4
  275. package/build-module/toolbar/toolbar-button/toolbar-button-container.js.map +1 -1
  276. package/build-module/toolbar/toolbar-button/types.js +2 -0
  277. package/build-module/toolbar/toolbar-button/types.js.map +1 -0
  278. package/build-module/toolbar/toolbar-context/index.js +4 -2
  279. package/build-module/toolbar/toolbar-context/index.js.map +1 -1
  280. package/build-module/tooltip/index.js +16 -6
  281. package/build-module/tooltip/index.js.map +1 -1
  282. package/build-module/tree-select/index.js.map +1 -1
  283. package/build-module/ui/context/get-styled-class-name-from-key.js +1 -1
  284. package/build-module/ui/context/get-styled-class-name-from-key.js.map +1 -1
  285. package/build-module/utils/font.js +3 -6
  286. package/build-module/utils/font.js.map +1 -1
  287. package/build-module/v-stack/hook.js +2 -0
  288. package/build-module/v-stack/hook.js.map +1 -1
  289. package/build-style/style-rtl.css +14 -11
  290. package/build-style/style.css +14 -11
  291. package/build-types/alignment-matrix-control/types.d.ts +4 -4
  292. package/build-types/alignment-matrix-control/types.d.ts.map +1 -1
  293. package/build-types/angle-picker-control/types.d.ts +2 -2
  294. package/build-types/angle-picker-control/types.d.ts.map +1 -1
  295. package/build-types/animate/index.d.ts +2 -2
  296. package/build-types/animate/index.d.ts.map +1 -1
  297. package/build-types/animation/index.d.ts +8 -1
  298. package/build-types/animation/index.d.ts.map +1 -1
  299. package/build-types/autocomplete/autocompleter-ui.d.ts +4 -0
  300. package/build-types/autocomplete/autocompleter-ui.d.ts.map +1 -0
  301. package/build-types/autocomplete/get-default-use-items.d.ts +3 -0
  302. package/build-types/autocomplete/get-default-use-items.d.ts.map +1 -0
  303. package/build-types/autocomplete/index.d.ts +23 -0
  304. package/build-types/autocomplete/index.d.ts.map +1 -0
  305. package/build-types/autocomplete/test/index.d.ts +2 -0
  306. package/build-types/autocomplete/test/index.d.ts.map +1 -0
  307. package/build-types/autocomplete/types.d.ts +201 -0
  308. package/build-types/autocomplete/types.d.ts.map +1 -0
  309. package/build-types/base-control/types.d.ts +2 -2
  310. package/build-types/base-control/types.d.ts.map +1 -1
  311. package/build-types/border-box-control/border-box-control/hook.d.ts +1 -1
  312. package/build-types/border-box-control/border-box-control/hook.d.ts.map +1 -1
  313. package/build-types/border-box-control/styles.d.ts +3 -3
  314. package/build-types/border-box-control/styles.d.ts.map +1 -1
  315. package/build-types/border-box-control/types.d.ts +8 -8
  316. package/build-types/border-box-control/types.d.ts.map +1 -1
  317. package/build-types/border-box-control/utils.d.ts +5 -5
  318. package/build-types/border-box-control/utils.d.ts.map +1 -1
  319. package/build-types/border-control/border-control/hook.d.ts +3 -3
  320. package/build-types/border-control/border-control/hook.d.ts.map +1 -1
  321. package/build-types/border-control/border-control-dropdown/hook.d.ts +2 -2
  322. package/build-types/border-control/border-control-dropdown/hook.d.ts.map +1 -1
  323. package/build-types/border-control/styles.d.ts +4 -4
  324. package/build-types/border-control/styles.d.ts.map +1 -1
  325. package/build-types/border-control/types.d.ts +6 -6
  326. package/build-types/border-control/types.d.ts.map +1 -1
  327. package/build-types/box-control/types.d.ts +6 -6
  328. package/build-types/box-control/types.d.ts.map +1 -1
  329. package/build-types/button/deprecated.d.ts +6 -6
  330. package/build-types/button/types.d.ts +10 -10
  331. package/build-types/button/types.d.ts.map +1 -1
  332. package/build-types/button-group/types.d.ts +1 -1
  333. package/build-types/button-group/types.d.ts.map +1 -1
  334. package/build-types/card/card/hook.d.ts +1 -1
  335. package/build-types/card/card/hook.d.ts.map +1 -1
  336. package/build-types/card/types.d.ts +10 -10
  337. package/build-types/card/types.d.ts.map +1 -1
  338. package/build-types/checkbox-control/types.d.ts +1 -1
  339. package/build-types/checkbox-control/types.d.ts.map +1 -1
  340. package/build-types/circular-option-picker/types.d.ts +4 -4
  341. package/build-types/circular-option-picker/types.d.ts.map +1 -1
  342. package/build-types/color-indicator/types.d.ts +1 -1
  343. package/build-types/color-indicator/types.d.ts.map +1 -1
  344. package/build-types/color-list-picker/types.d.ts +2 -2
  345. package/build-types/color-list-picker/types.d.ts.map +1 -1
  346. package/build-types/color-palette/types.d.ts +7 -7
  347. package/build-types/color-palette/types.d.ts.map +1 -1
  348. package/build-types/color-palette/utils.d.ts +1 -1
  349. package/build-types/color-palette/utils.d.ts.map +1 -1
  350. package/build-types/color-picker/legacy-adapter.d.ts +1 -1
  351. package/build-types/color-picker/legacy-adapter.d.ts.map +1 -1
  352. package/build-types/color-picker/styles.d.ts +3 -3
  353. package/build-types/color-picker/types.d.ts +2 -2
  354. package/build-types/color-picker/types.d.ts.map +1 -1
  355. package/build-types/color-picker/use-deprecated-props.d.ts +2 -2
  356. package/build-types/color-picker/use-deprecated-props.d.ts.map +1 -1
  357. package/build-types/combobox-control/types.d.ts +2 -2
  358. package/build-types/combobox-control/types.d.ts.map +1 -1
  359. package/build-types/confirm-dialog/component.d.ts +4 -4
  360. package/build-types/confirm-dialog/types.d.ts +5 -5
  361. package/build-types/confirm-dialog/types.d.ts.map +1 -1
  362. package/build-types/custom-gradient-picker/constants.d.ts +25 -0
  363. package/build-types/custom-gradient-picker/constants.d.ts.map +1 -0
  364. package/build-types/custom-gradient-picker/gradient-bar/constants.d.ts +8 -0
  365. package/build-types/custom-gradient-picker/gradient-bar/constants.d.ts.map +1 -0
  366. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts +25 -0
  367. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts.map +1 -0
  368. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts +10 -0
  369. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts.map +1 -0
  370. package/build-types/custom-gradient-picker/gradient-bar/utils.d.ts +138 -0
  371. package/build-types/custom-gradient-picker/gradient-bar/utils.d.ts.map +1 -0
  372. package/build-types/custom-gradient-picker/index.d.ts +7 -0
  373. package/build-types/custom-gradient-picker/index.d.ts.map +1 -0
  374. package/build-types/custom-gradient-picker/serializer.d.ts +17 -0
  375. package/build-types/custom-gradient-picker/serializer.d.ts.map +1 -0
  376. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts +11 -0
  377. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts.map +1 -0
  378. package/build-types/custom-gradient-picker/utils.d.ts +5 -0
  379. package/build-types/custom-gradient-picker/utils.d.ts.map +1 -0
  380. package/build-types/custom-select-control/styles.d.ts +1 -1
  381. package/build-types/custom-select-control/styles.d.ts.map +1 -1
  382. package/build-types/dashicon/types.d.ts +2 -2
  383. package/build-types/dashicon/types.d.ts.map +1 -1
  384. package/build-types/date-time/date-time/styles.d.ts +1 -4
  385. package/build-types/date-time/date-time/styles.d.ts.map +1 -1
  386. package/build-types/date-time/time/styles.d.ts +1 -1
  387. package/build-types/date-time/types.d.ts +4 -4
  388. package/build-types/date-time/types.d.ts.map +1 -1
  389. package/build-types/dimension-control/index.d.ts +28 -0
  390. package/build-types/dimension-control/index.d.ts.map +1 -0
  391. package/build-types/dimension-control/sizes.d.ts +26 -0
  392. package/build-types/dimension-control/sizes.d.ts.map +1 -0
  393. package/build-types/dimension-control/stories/index.d.ts +12 -0
  394. package/build-types/dimension-control/stories/index.d.ts.map +1 -0
  395. package/build-types/dimension-control/types.d.ts +47 -0
  396. package/build-types/dimension-control/types.d.ts.map +1 -0
  397. package/build-types/divider/types.d.ts +1 -1
  398. package/build-types/divider/types.d.ts.map +1 -1
  399. package/build-types/draggable/types.d.ts +1 -1
  400. package/build-types/draggable/types.d.ts.map +1 -1
  401. package/build-types/drop-zone/types.d.ts +2 -2
  402. package/build-types/drop-zone/types.d.ts.map +1 -1
  403. package/build-types/dropdown/types.d.ts +3 -3
  404. package/build-types/dropdown/types.d.ts.map +1 -1
  405. package/build-types/elevation/types.d.ts +1 -1
  406. package/build-types/elevation/types.d.ts.map +1 -1
  407. package/build-types/external-link/styles/external-link-styles.d.ts +1 -1
  408. package/build-types/external-link/types.d.ts +1 -1
  409. package/build-types/external-link/types.d.ts.map +1 -1
  410. package/build-types/flex/types.d.ts +4 -4
  411. package/build-types/flex/types.d.ts.map +1 -1
  412. package/build-types/focal-point-picker/types.d.ts +7 -7
  413. package/build-types/focal-point-picker/types.d.ts.map +1 -1
  414. package/build-types/font-size-picker/index.d.ts.map +1 -1
  415. package/build-types/font-size-picker/stories/index.d.ts.map +1 -1
  416. package/build-types/font-size-picker/types.d.ts +9 -5
  417. package/build-types/font-size-picker/types.d.ts.map +1 -1
  418. package/build-types/form-file-upload/types.d.ts +1 -1
  419. package/build-types/form-file-upload/types.d.ts.map +1 -1
  420. package/build-types/form-toggle/types.d.ts +1 -1
  421. package/build-types/form-toggle/types.d.ts.map +1 -1
  422. package/build-types/form-token-field/index.d.ts.map +1 -1
  423. package/build-types/form-token-field/stories/index.d.ts +6 -0
  424. package/build-types/form-token-field/stories/index.d.ts.map +1 -1
  425. package/build-types/form-token-field/styles.d.ts +1 -1
  426. package/build-types/form-token-field/styles.d.ts.map +1 -1
  427. package/build-types/form-token-field/types.d.ts +1 -1
  428. package/build-types/form-token-field/types.d.ts.map +1 -1
  429. package/build-types/gradient-picker/index.d.ts +12 -0
  430. package/build-types/gradient-picker/index.d.ts.map +1 -0
  431. package/build-types/grid/types.d.ts +2 -2
  432. package/build-types/grid/types.d.ts.map +1 -1
  433. package/build-types/guide/icons.d.ts +5 -0
  434. package/build-types/guide/icons.d.ts.map +1 -0
  435. package/build-types/guide/index.d.ts +37 -0
  436. package/build-types/guide/index.d.ts.map +1 -0
  437. package/build-types/guide/page-control.d.ts +4 -0
  438. package/build-types/guide/page-control.d.ts.map +1 -0
  439. package/build-types/guide/page.d.ts +7 -0
  440. package/build-types/guide/page.d.ts.map +1 -0
  441. package/build-types/guide/stories/index.d.ts +9 -0
  442. package/build-types/guide/stories/index.d.ts.map +1 -0
  443. package/build-types/guide/test/index.d.ts +2 -0
  444. package/build-types/guide/test/index.d.ts.map +1 -0
  445. package/build-types/guide/types.d.ts +65 -0
  446. package/build-types/guide/types.d.ts.map +1 -0
  447. package/build-types/h-stack/types.d.ts +6 -6
  448. package/build-types/h-stack/types.d.ts.map +1 -1
  449. package/build-types/heading/hook.d.ts +1 -1
  450. package/build-types/heading/types.d.ts +2 -2
  451. package/build-types/heading/types.d.ts.map +1 -1
  452. package/build-types/higher-order/navigate-regions/index.d.ts +46 -0
  453. package/build-types/higher-order/navigate-regions/index.d.ts.map +1 -0
  454. package/build-types/higher-order/with-fallback-styles/index.d.ts +44 -0
  455. package/build-types/higher-order/with-fallback-styles/index.d.ts.map +1 -0
  456. package/build-types/higher-order/with-filters/index.d.ts +89 -0
  457. package/build-types/higher-order/with-filters/index.d.ts.map +1 -0
  458. package/build-types/higher-order/with-filters/test/index.d.ts +2 -0
  459. package/build-types/higher-order/with-filters/test/index.d.ts.map +1 -0
  460. package/build-types/higher-order/with-focus-outside/index.d.ts +1 -1
  461. package/build-types/higher-order/with-focus-return/index.d.ts +20 -0
  462. package/build-types/higher-order/with-focus-return/index.d.ts.map +1 -0
  463. package/build-types/higher-order/with-focus-return/test/index.d.ts +2 -0
  464. package/build-types/higher-order/with-focus-return/test/index.d.ts.map +1 -0
  465. package/build-types/higher-order/with-notices/index.d.ts +37 -0
  466. package/build-types/higher-order/with-notices/index.d.ts.map +1 -0
  467. package/build-types/higher-order/with-notices/test/index.d.ts +2 -0
  468. package/build-types/higher-order/with-notices/test/index.d.ts.map +1 -0
  469. package/build-types/higher-order/with-notices/types.d.ts +34 -0
  470. package/build-types/higher-order/with-notices/types.d.ts.map +1 -0
  471. package/build-types/higher-order/with-spoken-messages/index.d.ts +13 -2
  472. package/build-types/higher-order/with-spoken-messages/index.d.ts.map +1 -1
  473. package/build-types/higher-order/with-spoken-messages/test/index.d.ts +2 -0
  474. package/build-types/higher-order/with-spoken-messages/test/index.d.ts.map +1 -0
  475. package/build-types/icon/index.d.ts +10 -6
  476. package/build-types/icon/index.d.ts.map +1 -1
  477. package/build-types/icon/test/index.d.ts +2 -0
  478. package/build-types/icon/test/index.d.ts.map +1 -0
  479. package/build-types/input-control/reducer/actions.d.ts +15 -15
  480. package/build-types/input-control/reducer/actions.d.ts.map +1 -1
  481. package/build-types/input-control/reducer/state.d.ts +1 -1
  482. package/build-types/input-control/reducer/state.d.ts.map +1 -1
  483. package/build-types/input-control/styles/input-control-styles.d.ts +4 -4
  484. package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
  485. package/build-types/input-control/types.d.ts +7 -7
  486. package/build-types/input-control/types.d.ts.map +1 -1
  487. package/build-types/item-group/item/hook.d.ts +1 -1
  488. package/build-types/item-group/types.d.ts +2 -2
  489. package/build-types/item-group/types.d.ts.map +1 -1
  490. package/build-types/keyboard-shortcuts/types.d.ts +3 -3
  491. package/build-types/keyboard-shortcuts/types.d.ts.map +1 -1
  492. package/build-types/menu-group/types.d.ts +1 -1
  493. package/build-types/menu-group/types.d.ts.map +1 -1
  494. package/build-types/menu-item/index.d.ts +1 -1
  495. package/build-types/menu-items-choice/types.d.ts +2 -2
  496. package/build-types/menu-items-choice/types.d.ts.map +1 -1
  497. package/build-types/modal/types.d.ts +1 -1
  498. package/build-types/modal/types.d.ts.map +1 -1
  499. package/build-types/navigable-container/container.d.ts +1 -1
  500. package/build-types/navigable-container/menu.d.ts +1 -1
  501. package/build-types/navigable-container/tabbable.d.ts +1 -1
  502. package/build-types/navigation/back-button/index.d.ts +5 -0
  503. package/build-types/navigation/back-button/index.d.ts.map +1 -0
  504. package/build-types/navigation/constants.d.ts +3 -0
  505. package/build-types/navigation/constants.d.ts.map +1 -0
  506. package/build-types/navigation/context.d.ts +5 -0
  507. package/build-types/navigation/context.d.ts.map +1 -0
  508. package/build-types/navigation/group/context.d.ts +8 -0
  509. package/build-types/navigation/group/context.d.ts.map +1 -0
  510. package/build-types/navigation/group/index.d.ts +5 -0
  511. package/build-types/navigation/group/index.d.ts.map +1 -0
  512. package/build-types/navigation/index.d.ts +46 -0
  513. package/build-types/navigation/index.d.ts.map +1 -0
  514. package/build-types/navigation/item/base-content.d.ts +4 -0
  515. package/build-types/navigation/item/base-content.d.ts.map +1 -0
  516. package/build-types/navigation/item/base.d.ts +4 -0
  517. package/build-types/navigation/item/base.d.ts.map +1 -0
  518. package/build-types/navigation/item/index.d.ts +5 -0
  519. package/build-types/navigation/item/index.d.ts.map +1 -0
  520. package/build-types/navigation/item/use-navigation-tree-item.d.ts +3 -0
  521. package/build-types/navigation/item/use-navigation-tree-item.d.ts.map +1 -0
  522. package/build-types/navigation/menu/context.d.ts +8 -0
  523. package/build-types/navigation/menu/context.d.ts.map +1 -0
  524. package/build-types/navigation/menu/index.d.ts +5 -0
  525. package/build-types/navigation/menu/index.d.ts.map +1 -0
  526. package/build-types/navigation/menu/menu-title-search.d.ts +4 -0
  527. package/build-types/navigation/menu/menu-title-search.d.ts.map +1 -0
  528. package/build-types/navigation/menu/menu-title.d.ts +4 -0
  529. package/build-types/navigation/menu/menu-title.d.ts.map +1 -0
  530. package/build-types/navigation/menu/search-no-results-found.d.ts +4 -0
  531. package/build-types/navigation/menu/search-no-results-found.d.ts.map +1 -0
  532. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts +3 -0
  533. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts.map +1 -0
  534. package/build-types/navigation/stories/index.d.ts +18 -0
  535. package/build-types/navigation/stories/index.d.ts.map +1 -0
  536. package/build-types/navigation/stories/utils/controlled-state.d.ts +7 -0
  537. package/build-types/navigation/stories/utils/controlled-state.d.ts.map +1 -0
  538. package/build-types/navigation/stories/utils/default.d.ts +10 -0
  539. package/build-types/navigation/stories/utils/default.d.ts.map +1 -0
  540. package/build-types/navigation/stories/utils/group.d.ts +10 -0
  541. package/build-types/navigation/stories/utils/group.d.ts.map +1 -0
  542. package/build-types/navigation/stories/utils/hide-if-empty.d.ts +10 -0
  543. package/build-types/navigation/stories/utils/hide-if-empty.d.ts.map +1 -0
  544. package/build-types/navigation/stories/utils/more-examples.d.ts +10 -0
  545. package/build-types/navigation/stories/utils/more-examples.d.ts.map +1 -0
  546. package/build-types/navigation/stories/utils/search.d.ts +10 -0
  547. package/build-types/navigation/stories/utils/search.d.ts.map +1 -0
  548. package/build-types/navigation/styles/navigation-styles.d.ts +58 -0
  549. package/build-types/navigation/styles/navigation-styles.d.ts.map +1 -0
  550. package/build-types/navigation/test/index.d.ts +2 -0
  551. package/build-types/navigation/test/index.d.ts.map +1 -0
  552. package/build-types/navigation/types.d.ts +267 -0
  553. package/build-types/navigation/types.d.ts.map +1 -0
  554. package/build-types/navigation/use-create-navigation-tree.d.ts +15 -0
  555. package/build-types/navigation/use-create-navigation-tree.d.ts.map +1 -0
  556. package/build-types/navigation/use-navigation-tree-nodes.d.ts +11 -0
  557. package/build-types/navigation/use-navigation-tree-nodes.d.ts.map +1 -0
  558. package/build-types/navigation/utils.d.ts +3 -0
  559. package/build-types/navigation/utils.d.ts.map +1 -0
  560. package/build-types/navigator/navigator-back-button/component.d.ts +1 -1
  561. package/build-types/navigator/navigator-back-button/hook.d.ts +1 -1
  562. package/build-types/navigator/navigator-button/component.d.ts +1 -1
  563. package/build-types/navigator/navigator-button/hook.d.ts +1 -1
  564. package/build-types/navigator/navigator-screen/component.d.ts +1 -1
  565. package/build-types/navigator/navigator-screen/component.d.ts.map +1 -1
  566. package/build-types/navigator/navigator-to-parent-button/component.d.ts +1 -1
  567. package/build-types/navigator/types.d.ts +12 -12
  568. package/build-types/navigator/types.d.ts.map +1 -1
  569. package/build-types/notice/types.d.ts +7 -7
  570. package/build-types/notice/types.d.ts.map +1 -1
  571. package/build-types/number-control/index.d.ts.map +1 -1
  572. package/build-types/number-control/types.d.ts +1 -1
  573. package/build-types/number-control/types.d.ts.map +1 -1
  574. package/build-types/palette-edit/index.d.ts +37 -0
  575. package/build-types/palette-edit/index.d.ts.map +1 -0
  576. package/build-types/palette-edit/stories/index.d.ts +13 -0
  577. package/build-types/palette-edit/stories/index.d.ts.map +1 -0
  578. package/build-types/palette-edit/styles.d.ts +51 -0
  579. package/build-types/palette-edit/styles.d.ts.map +1 -0
  580. package/build-types/palette-edit/test/index.d.ts +2 -0
  581. package/build-types/palette-edit/test/index.d.ts.map +1 -0
  582. package/build-types/palette-edit/types.d.ts +114 -0
  583. package/build-types/palette-edit/types.d.ts.map +1 -0
  584. package/build-types/panel/body.d.ts +9 -0
  585. package/build-types/panel/body.d.ts.map +1 -0
  586. package/build-types/panel/stories/index.d.ts +19 -0
  587. package/build-types/panel/stories/index.d.ts.map +1 -0
  588. package/build-types/panel/test/body.d.ts +2 -0
  589. package/build-types/panel/test/body.d.ts.map +1 -0
  590. package/build-types/panel/types.d.ts +73 -3
  591. package/build-types/panel/types.d.ts.map +1 -1
  592. package/build-types/placeholder/index.d.ts +1 -1
  593. package/build-types/placeholder/index.d.ts.map +1 -1
  594. package/build-types/placeholder/types.d.ts +2 -2
  595. package/build-types/placeholder/types.d.ts.map +1 -1
  596. package/build-types/popover/limit-shift.d.ts +2 -2
  597. package/build-types/popover/limit-shift.d.ts.map +1 -1
  598. package/build-types/popover/types.d.ts +10 -10
  599. package/build-types/popover/types.d.ts.map +1 -1
  600. package/build-types/popover/utils.d.ts +2 -2
  601. package/build-types/popover/utils.d.ts.map +1 -1
  602. package/build-types/query-controls/author-select.d.ts.map +1 -1
  603. package/build-types/query-controls/category-select.d.ts.map +1 -1
  604. package/build-types/query-controls/terms.d.ts.map +1 -1
  605. package/build-types/query-controls/types.d.ts +12 -12
  606. package/build-types/query-controls/types.d.ts.map +1 -1
  607. package/build-types/radio-control/types.d.ts +1 -1
  608. package/build-types/radio-control/types.d.ts.map +1 -1
  609. package/build-types/radio-group/index.d.ts +1 -1
  610. package/build-types/radio-group/radio/index.d.ts +1 -1
  611. package/build-types/range-control/index.d.ts +2 -2
  612. package/build-types/range-control/index.d.ts.map +1 -1
  613. package/build-types/range-control/types.d.ts +17 -17
  614. package/build-types/range-control/types.d.ts.map +1 -1
  615. package/build-types/resizable-box/resize-tooltip/index.d.ts +1 -1
  616. package/build-types/resizable-box/resize-tooltip/index.d.ts.map +1 -1
  617. package/build-types/resizable-box/resize-tooltip/label.d.ts +1 -1
  618. package/build-types/resizable-box/resize-tooltip/label.d.ts.map +1 -1
  619. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts.map +1 -1
  620. package/build-types/resizable-box/resize-tooltip/utils.d.ts +2 -2
  621. package/build-types/resizable-box/resize-tooltip/utils.d.ts.map +1 -1
  622. package/build-types/responsive-wrapper/index.d.ts.map +1 -1
  623. package/build-types/responsive-wrapper/stories/index.d.ts +10 -0
  624. package/build-types/responsive-wrapper/stories/index.d.ts.map +1 -1
  625. package/build-types/responsive-wrapper/types.d.ts +3 -3
  626. package/build-types/responsive-wrapper/types.d.ts.map +1 -1
  627. package/build-types/sandbox/types.d.ts +1 -1
  628. package/build-types/sandbox/types.d.ts.map +1 -1
  629. package/build-types/scrollable/types.d.ts +2 -2
  630. package/build-types/scrollable/types.d.ts.map +1 -1
  631. package/build-types/search-control/types.d.ts +1 -1
  632. package/build-types/search-control/types.d.ts.map +1 -1
  633. package/build-types/select-control/index.d.ts +2 -1
  634. package/build-types/select-control/index.d.ts.map +1 -1
  635. package/build-types/select-control/stories/index.d.ts +3 -3
  636. package/build-types/select-control/stories/index.d.ts.map +1 -1
  637. package/build-types/select-control/types.d.ts +44 -20
  638. package/build-types/select-control/types.d.ts.map +1 -1
  639. package/build-types/shortcut/types.d.ts +1 -1
  640. package/build-types/shortcut/types.d.ts.map +1 -1
  641. package/build-types/slot-fill/bubbles-virtually/slot.d.ts +1 -1
  642. package/build-types/slot-fill/provider.d.ts +1 -0
  643. package/build-types/slot-fill/provider.d.ts.map +1 -1
  644. package/build-types/snackbar/types.d.ts +3 -3
  645. package/build-types/snackbar/types.d.ts.map +1 -1
  646. package/build-types/spacer/types.d.ts +1 -1
  647. package/build-types/spacer/types.d.ts.map +1 -1
  648. package/build-types/spinner/index.d.ts +1 -1
  649. package/build-types/style-provider/types.d.ts +1 -1
  650. package/build-types/style-provider/types.d.ts.map +1 -1
  651. package/build-types/surface/types.d.ts +2 -2
  652. package/build-types/surface/types.d.ts.map +1 -1
  653. package/build-types/tab-panel/types.d.ts +5 -5
  654. package/build-types/tab-panel/types.d.ts.map +1 -1
  655. package/build-types/text/types.d.ts +3 -3
  656. package/build-types/text/types.d.ts.map +1 -1
  657. package/build-types/text-control/types.d.ts +1 -1
  658. package/build-types/text-control/types.d.ts.map +1 -1
  659. package/build-types/text-highlight/types.d.ts +1 -1
  660. package/build-types/text-highlight/types.d.ts.map +1 -1
  661. package/build-types/textarea-control/types.d.ts +1 -1
  662. package/build-types/textarea-control/types.d.ts.map +1 -1
  663. package/build-types/theme/types.d.ts +3 -3
  664. package/build-types/theme/types.d.ts.map +1 -1
  665. package/build-types/tip/types.d.ts +1 -1
  666. package/build-types/tip/types.d.ts.map +1 -1
  667. package/build-types/toggle-control/types.d.ts +1 -1
  668. package/build-types/toggle-control/types.d.ts.map +1 -1
  669. package/build-types/toggle-group-control/types.d.ts +10 -10
  670. package/build-types/toggle-group-control/types.d.ts.map +1 -1
  671. package/build-types/toolbar/toolbar/types.d.ts +1 -1
  672. package/build-types/toolbar/toolbar/types.d.ts.map +1 -1
  673. package/build-types/toolbar/toolbar-button/index.d.ts +165 -11
  674. package/build-types/toolbar/toolbar-button/index.d.ts.map +1 -1
  675. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts +6 -1
  676. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts.map +1 -1
  677. package/build-types/toolbar/toolbar-button/types.d.ts +45 -0
  678. package/build-types/toolbar/toolbar-button/types.d.ts.map +1 -0
  679. package/build-types/toolbar/toolbar-context/index.d.ts +6 -1
  680. package/build-types/toolbar/toolbar-context/index.d.ts.map +1 -1
  681. package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts +1 -1
  682. package/build-types/toolbar/toolbar-item/index.d.ts +1 -1
  683. package/build-types/tools-panel/types.d.ts +11 -11
  684. package/build-types/tools-panel/types.d.ts.map +1 -1
  685. package/build-types/tooltip/index.d.ts.map +1 -1
  686. package/build-types/tree-grid/types.d.ts +5 -5
  687. package/build-types/tree-grid/types.d.ts.map +1 -1
  688. package/build-types/tree-select/index.d.ts.map +1 -1
  689. package/build-types/tree-select/types.d.ts +4 -10
  690. package/build-types/tree-select/types.d.ts.map +1 -1
  691. package/build-types/truncate/types.d.ts +2 -2
  692. package/build-types/truncate/types.d.ts.map +1 -1
  693. package/build-types/ui/context/context-connect.d.ts +1 -1
  694. package/build-types/ui/context/context-connect.d.ts.map +1 -1
  695. package/build-types/ui/context/wordpress-component.d.ts +3 -3
  696. package/build-types/ui/context/wordpress-component.d.ts.map +1 -1
  697. package/build-types/ui/control-group/types.d.ts +2 -2
  698. package/build-types/ui/control-group/types.d.ts.map +1 -1
  699. package/build-types/ui/control-label/types.d.ts +1 -1
  700. package/build-types/ui/control-label/types.d.ts.map +1 -1
  701. package/build-types/ui/form-group/form-group-content.d.ts +1 -1
  702. package/build-types/ui/form-group/form-group-help.d.ts +1 -1
  703. package/build-types/ui/form-group/form-group-label.d.ts +1 -1
  704. package/build-types/ui/form-group/types.d.ts +5 -5
  705. package/build-types/ui/form-group/types.d.ts.map +1 -1
  706. package/build-types/ui/form-group/use-form-group.d.ts +3 -3
  707. package/build-types/ui/spinner/component.d.ts +1 -1
  708. package/build-types/ui/tooltip/content.d.ts +1 -1
  709. package/build-types/ui/tooltip/types.d.ts +2 -2
  710. package/build-types/ui/tooltip/types.d.ts.map +1 -1
  711. package/build-types/ui/utils/font-size.d.ts +1 -1
  712. package/build-types/ui/utils/font-size.d.ts.map +1 -1
  713. package/build-types/ui/utils/space.d.ts +1 -1
  714. package/build-types/ui/utils/space.d.ts.map +1 -1
  715. package/build-types/ui/utils/types.d.ts +4 -4
  716. package/build-types/ui/utils/types.d.ts.map +1 -1
  717. package/build-types/unit-control/styles/unit-control-styles.d.ts +1 -1
  718. package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
  719. package/build-types/unit-control/types.d.ts +5 -5
  720. package/build-types/unit-control/types.d.ts.map +1 -1
  721. package/build-types/utils/breakpoint-values.d.ts +1 -1
  722. package/build-types/utils/colors-values.d.ts +1 -1
  723. package/build-types/utils/config-values.d.ts +9 -9
  724. package/build-types/utils/events.d.ts +1 -1
  725. package/build-types/utils/events.d.ts.map +1 -1
  726. package/build-types/utils/font-values.d.ts +1 -1
  727. package/build-types/utils/font.d.ts.map +1 -1
  728. package/build-types/utils/hooks/use-controlled-value.d.ts +1 -1
  729. package/build-types/utils/hooks/use-controlled-value.d.ts.map +1 -1
  730. package/build-types/utils/types.d.ts +4 -4
  731. package/build-types/utils/types.d.ts.map +1 -1
  732. package/build-types/v-stack/component.d.ts +1 -4
  733. package/build-types/v-stack/component.d.ts.map +1 -1
  734. package/build-types/v-stack/hook.d.ts.map +1 -1
  735. package/build-types/v-stack/stories/index.d.ts +1 -4
  736. package/build-types/v-stack/stories/index.d.ts.map +1 -1
  737. package/build-types/v-stack/types.d.ts +5 -3
  738. package/build-types/v-stack/types.d.ts.map +1 -1
  739. package/build-types/view/types.d.ts +1 -1
  740. package/build-types/view/types.d.ts.map +1 -1
  741. package/build-types/visually-hidden/types.d.ts +1 -1
  742. package/build-types/visually-hidden/types.d.ts.map +1 -1
  743. package/build-types/z-stack/types.d.ts +1 -1
  744. package/build-types/z-stack/types.d.ts.map +1 -1
  745. package/package.json +20 -20
  746. package/src/animate/index.js +3 -1
  747. package/src/autocomplete/README.md +51 -0
  748. package/src/autocomplete/{autocompleter-ui.js → autocompleter-ui.tsx} +21 -10
  749. package/src/autocomplete/{get-default-use-items.js → get-default-use-items.tsx} +11 -6
  750. package/src/autocomplete/{index.js → index.tsx} +77 -111
  751. package/src/autocomplete/test/{index.js → index.tsx} +31 -20
  752. package/src/autocomplete/types.ts +220 -0
  753. package/src/border-control/test/index.js +0 -2
  754. package/src/button/style.scss +12 -1
  755. package/src/button/types.ts +2 -2
  756. package/src/circular-option-picker/types.ts +1 -1
  757. package/src/color-palette/test/__snapshots__/index.tsx.snap +16 -14
  758. package/src/custom-gradient-picker/gradient-bar/control-points.js +2 -0
  759. package/src/custom-gradient-picker/gradient-bar/index.js +2 -0
  760. package/src/custom-gradient-picker/gradient-bar/utils.js +2 -0
  761. package/src/custom-gradient-picker/index.js +2 -0
  762. package/src/custom-gradient-picker/serializer.js +2 -0
  763. package/src/custom-gradient-picker/utils.js +2 -0
  764. package/src/dimension-control/README.md +22 -55
  765. package/src/dimension-control/index.tsx +101 -0
  766. package/src/dimension-control/{sizes.js → sizes.ts} +8 -5
  767. package/src/dimension-control/stories/index.tsx +48 -0
  768. package/src/dimension-control/types.ts +48 -0
  769. package/src/flex/flex/hook.ts +2 -2
  770. package/src/font-size-picker/README.md +26 -20
  771. package/src/font-size-picker/index.tsx +2 -1
  772. package/src/font-size-picker/stories/index.tsx +1 -0
  773. package/src/font-size-picker/test/index.tsx +23 -0
  774. package/src/font-size-picker/types.ts +4 -0
  775. package/src/form-token-field/index.tsx +4 -1
  776. package/src/form-token-field/stories/index.tsx +13 -0
  777. package/src/form-token-field/test/index.tsx +80 -0
  778. package/src/gradient-picker/index.js +2 -0
  779. package/src/guide/README.md +17 -15
  780. package/src/guide/{icons.js → icons.tsx} +1 -1
  781. package/src/guide/{index.js → index.tsx} +47 -7
  782. package/src/guide/{page-control.js → page-control.tsx} +2 -1
  783. package/src/guide/{page.js → page.tsx} +8 -1
  784. package/src/guide/stories/{index.js → index.tsx} +11 -5
  785. package/src/guide/test/{index.js → index.tsx} +22 -4
  786. package/src/guide/types.ts +68 -0
  787. package/src/h-stack/README.md +2 -2
  788. package/src/h-stack/types.ts +2 -2
  789. package/src/h-stack/utils.ts +3 -3
  790. package/src/higher-order/navigate-regions/{index.js → index.tsx} +47 -11
  791. package/src/higher-order/with-fallback-styles/{index.js → index.tsx} +22 -5
  792. package/src/higher-order/with-filters/{index.js → index.tsx} +44 -12
  793. package/src/higher-order/with-filters/test/{index.js → index.tsx} +5 -1
  794. package/src/higher-order/with-focus-return/index.tsx +74 -0
  795. package/src/higher-order/with-focus-return/test/{index.js → index.tsx} +2 -2
  796. package/src/higher-order/with-notices/README.md +4 -1
  797. package/src/higher-order/with-notices/index.tsx +116 -0
  798. package/src/higher-order/with-notices/test/{index.js → index.tsx} +11 -6
  799. package/src/higher-order/with-notices/types.ts +35 -0
  800. package/src/higher-order/with-spoken-messages/test/{index.js → index.tsx} +2 -1
  801. package/src/icon/index.tsx +11 -15
  802. package/src/icon/test/{index.js → index.tsx} +6 -2
  803. package/src/index.native.js +1 -0
  804. package/src/mobile/bottom-sheet/bottom-sheet-navigation/test/navigation-container.native.js +1 -1
  805. package/src/mobile/bottom-sheet/cell.native.js +1 -1
  806. package/src/mobile/bottom-sheet-text-control/README.md +8 -1
  807. package/src/mobile/bottom-sheet-text-control/index.native.js +2 -1
  808. package/src/mobile/link-settings/test/link-settings-navigation.native.js +1 -1
  809. package/src/navigation/README.md +16 -2
  810. package/src/navigation/back-button/{index.js → index.tsx} +22 -6
  811. package/src/navigation/{context.js → context.tsx} +8 -5
  812. package/src/navigation/group/context.tsx +15 -0
  813. package/src/navigation/group/{index.js → index.tsx} +9 -1
  814. package/src/navigation/{index.js → index.tsx} +63 -7
  815. package/src/navigation/item/{base-content.js → base-content.tsx} +5 -2
  816. package/src/navigation/item/{base.js → base.tsx} +3 -1
  817. package/src/navigation/item/{index.js → index.tsx} +8 -2
  818. package/src/navigation/item/{use-navigation-tree-item.js → use-navigation-tree-item.tsx} +9 -2
  819. package/src/navigation/menu/context.tsx +18 -0
  820. package/src/navigation/menu/{index.js → index.tsx} +5 -1
  821. package/src/navigation/menu/{menu-title-search.js → menu-title-search.tsx} +11 -7
  822. package/src/navigation/menu/{menu-title.js → menu-title.tsx} +5 -3
  823. package/src/navigation/menu/{search-no-results-found.js → search-no-results-found.tsx} +5 -1
  824. package/src/navigation/menu/{use-navigation-tree-menu.js → use-navigation-tree-menu.tsx} +3 -1
  825. package/src/navigation/stories/index.tsx +53 -0
  826. package/src/navigation/stories/utils/{controlled-state.js → controlled-state.tsx} +32 -13
  827. package/src/navigation/stories/utils/{default.js → default.tsx} +20 -6
  828. package/src/navigation/stories/utils/{group.js → group.tsx} +21 -7
  829. package/src/navigation/stories/utils/{hide-if-empty.js → hide-if-empty.tsx} +19 -6
  830. package/src/navigation/stories/utils/{more-examples.js → more-examples.tsx} +30 -12
  831. package/src/navigation/stories/utils/{search.js → search.tsx} +21 -7
  832. package/src/navigation/test/{index.js → index.tsx} +17 -4
  833. package/src/navigation/types.ts +325 -0
  834. package/src/navigation/{use-create-navigation-tree.js → use-create-navigation-tree.tsx} +37 -25
  835. package/src/navigation/{use-navigation-tree-nodes.js → use-navigation-tree-nodes.tsx} +10 -6
  836. package/src/navigation/{utils.js → utils.tsx} +2 -2
  837. package/src/navigator/navigator-screen/component.tsx +13 -7
  838. package/src/navigator/test/index.tsx +65 -22
  839. package/src/number-control/index.tsx +0 -2
  840. package/src/palette-edit/{index.js → index.tsx} +115 -48
  841. package/src/palette-edit/stories/index.tsx +82 -0
  842. package/src/palette-edit/test/{index.js → index.tsx} +15 -3
  843. package/src/palette-edit/types.ts +126 -0
  844. package/src/panel/README.md +53 -35
  845. package/src/panel/{body.js → body.tsx} +31 -17
  846. package/src/panel/stories/{index.js → index.tsx} +16 -6
  847. package/src/panel/test/{body.js → body.tsx} +12 -17
  848. package/src/panel/types.ts +78 -0
  849. package/src/placeholder/index.tsx +2 -6
  850. package/src/placeholder/test/index.tsx +1 -1
  851. package/src/placeholder/types.ts +2 -2
  852. package/src/popover/test/index.tsx +5 -2
  853. package/src/query-controls/author-select.tsx +1 -6
  854. package/src/query-controls/category-select.tsx +1 -6
  855. package/src/query-controls/terms.ts +29 -18
  856. package/src/range-control/index.tsx +2 -6
  857. package/src/range-control/types.ts +3 -3
  858. package/src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.ts +2 -1
  859. package/src/responsive-wrapper/README.md +8 -2
  860. package/src/responsive-wrapper/index.tsx +18 -17
  861. package/src/responsive-wrapper/stories/index.tsx +41 -0
  862. package/src/responsive-wrapper/style.scss +5 -11
  863. package/src/responsive-wrapper/types.ts +2 -2
  864. package/src/select-control/index.tsx +16 -16
  865. package/src/select-control/stories/index.tsx +24 -12
  866. package/src/select-control/types.ts +68 -40
  867. package/src/tab-panel/types.ts +4 -4
  868. package/src/toolbar/toolbar-button/README.md +13 -1
  869. package/src/toolbar/toolbar-button/{index.js → index.tsx} +55 -20
  870. package/src/toolbar/toolbar-button/toolbar-button-container.tsx +13 -0
  871. package/src/toolbar/toolbar-button/types.ts +46 -0
  872. package/src/toolbar/toolbar-context/index.ts +15 -0
  873. package/src/tooltip/index.js +11 -1
  874. package/src/tree-select/index.tsx +5 -2
  875. package/src/tree-select/types.ts +6 -13
  876. package/src/ui/context/get-styled-class-name-from-key.ts +1 -1
  877. package/src/utils/font.js +1 -6
  878. package/src/v-stack/README.md +2 -2
  879. package/src/v-stack/hook.ts +6 -4
  880. package/src/v-stack/stories/index.tsx +28 -7
  881. package/src/v-stack/test/__snapshots__/index.tsx.snap +20 -18
  882. package/src/v-stack/types.ts +5 -3
  883. package/tsconfig.json +1 -14
  884. package/tsconfig.tsbuildinfo +1 -1
  885. package/src/dimension-control/index.js +0 -73
  886. package/src/higher-order/with-focus-return/index.js +0 -64
  887. package/src/higher-order/with-notices/index.js +0 -104
  888. package/src/navigation/group/context.js +0 -9
  889. package/src/navigation/menu/context.js +0 -11
  890. package/src/navigation/stories/index.js +0 -33
  891. package/src/toolbar/toolbar-button/toolbar-button-container.js +0 -6
  892. package/src/toolbar/toolbar-context/index.js +0 -10
  893. /package/src/animation/{index.js → index.tsx} +0 -0
  894. /package/src/higher-order/with-filters/test/__snapshots__/{index.js.snap → index.tsx.snap} +0 -0
  895. /package/src/higher-order/with-spoken-messages/{index.js → index.tsx} +0 -0
  896. /package/src/navigation/{constants.js → constants.tsx} +0 -0
  897. /package/src/navigation/styles/{navigation-styles.js → navigation-styles.tsx} +0 -0
  898. /package/src/panel/test/__snapshots__/{body.js.snap → body.tsx.snap} +0 -0
@@ -1,5 +1,10 @@
1
1
  /// <reference types="react" />
2
- export declare type PanelProps = {
2
+ /**
3
+ * Internal dependencies
4
+ */
5
+ import type { ButtonAsButtonProps } from '../button/types';
6
+ import type { WordPressComponentProps } from '../ui/context';
7
+ export type PanelProps = {
3
8
  /**
4
9
  * The text that will be rendered as the title of the panel.
5
10
  * Text will be rendered inside an `<h2>` tag.
@@ -14,7 +19,7 @@ export declare type PanelProps = {
14
19
  */
15
20
  children: React.ReactNode;
16
21
  };
17
- export declare type PanelHeaderProps = {
22
+ export type PanelHeaderProps = {
18
23
  /**
19
24
  * The text that will be rendered as the title of the panel.
20
25
  * Will be rendered in an `<h2>` tag.
@@ -25,7 +30,7 @@ export declare type PanelHeaderProps = {
25
30
  */
26
31
  children?: React.ReactNode;
27
32
  };
28
- export declare type PanelRowProps = {
33
+ export type PanelRowProps = {
29
34
  /**
30
35
  * The CSS class to apply to the wrapper element.
31
36
  */
@@ -35,4 +40,69 @@ export declare type PanelRowProps = {
35
40
  */
36
41
  children: React.ReactNode;
37
42
  };
43
+ export type PanelBodyProps = {
44
+ /**
45
+ * Props that are passed to the `Button` component in title within the
46
+ * `PanelBody`.
47
+ *
48
+ * @default {}
49
+ */
50
+ buttonProps?: WordPressComponentProps<Omit<ButtonAsButtonProps, 'icon'>, 'button', false>;
51
+ /**
52
+ * The content to display in the `PanelBody`.If a function is provided for
53
+ * this prop, it will receive an object with the `opened` prop as an argument.
54
+ */
55
+ children?: React.ReactNode | ((props: {
56
+ opened: boolean;
57
+ }) => React.ReactNode);
58
+ /**
59
+ * The CSS class to apply to the wrapper element.
60
+ */
61
+ className?: string;
62
+ /**
63
+ * An icon to be shown next to the title.
64
+ */
65
+ icon?: JSX.Element;
66
+ /**
67
+ * Whether or not the panel will start open.
68
+ */
69
+ initialOpen?: boolean;
70
+ /**
71
+ * A function that is called any time the component is toggled from its closed
72
+ * state to its opened state, or vice versa.
73
+ *
74
+ * @default noop
75
+ */
76
+ onToggle?: (next: boolean) => void;
77
+ /**
78
+ * When set to `true`, the component will remain open regardless of the
79
+ * `initialOpen` prop and the panel will be prevented from being closed.
80
+ */
81
+ opened?: boolean;
82
+ /**
83
+ * Title text. It shows even when it is closed.
84
+ */
85
+ title?: string;
86
+ /**
87
+ * Scrolls the content into view when visible. This improves the UX when
88
+ * multiple `PanelBody` components are stacked in a scrollable container.
89
+ *
90
+ * @default true
91
+ */
92
+ scrollAfterOpen?: boolean;
93
+ };
94
+ export type PanelBodyTitleProps = Omit<ButtonAsButtonProps, 'icon'> & {
95
+ /**
96
+ * An icon to be shown next to the title.
97
+ */
98
+ icon?: JSX.Element;
99
+ /**
100
+ * Whether or not the `PanelBody` is currently opened or not.
101
+ */
102
+ isOpened?: boolean;
103
+ /**
104
+ * The title text.
105
+ */
106
+ title?: string;
107
+ };
38
108
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/panel/types.ts"],"names":[],"mappings":";AAAA,oBAAY,UAAU,GAAG;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAE,OAAO,CAAE,CAAC;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC9B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,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AEG;IACH,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAE,IAAI,EAAE,OAAO,KAAM,IAAI,CAAC;IACrC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAE,mBAAmB,EAAE,MAAM,CAAE,GAAG;IACvE;;OAEG;IACH,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -11,6 +11,6 @@ import type { WordPressComponentProps } from '../ui/context';
11
11
  * const MyPlaceholder = () => <Placeholder icon={ more } label="Placeholder" />;
12
12
  * ```
13
13
  */
14
- export declare function Placeholder<IconProps = unknown>(props: WordPressComponentProps<PlaceholderProps<IconProps>, 'div', false>): JSX.Element;
14
+ export declare function Placeholder(props: WordPressComponentProps<PlaceholderProps, 'div', false>): JSX.Element;
15
15
  export default Placeholder;
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/placeholder/index.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAc7D;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAE,SAAS,GAAG,OAAO,EAC/C,KAAK,EAAE,uBAAuB,CAC7B,gBAAgB,CAAE,SAAS,CAAE,EAC7B,KAAK,EACL,KAAK,CACL,eA4DD;AAED,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/placeholder/index.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAc7D;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAC1B,KAAK,EAAE,uBAAuB,CAAE,gBAAgB,EAAE,KAAK,EAAE,KAAK,CAAE,eA4DhE;AAED,eAAe,WAAW,CAAC"}
@@ -6,7 +6,7 @@ import type { ReactNode } from 'react';
6
6
  * Internal dependencies
7
7
  */
8
8
  import type { IconType } from '../icon';
9
- export declare type PlaceholderProps<IconProps = unknown> = {
9
+ export type PlaceholderProps = {
10
10
  /**
11
11
  * The children elements.
12
12
  */
@@ -18,7 +18,7 @@ export declare type PlaceholderProps<IconProps = unknown> = {
18
18
  /**
19
19
  * If provided, renders an icon next to the label.
20
20
  */
21
- icon?: IconType<IconProps>;
21
+ icon?: IconType;
22
22
  /**
23
23
  * Instructions of the placeholder.
24
24
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/placeholder/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,oBAAY,gBAAgB,CAAE,SAAS,GAAG,OAAO,IAAK;IACrD;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAE,SAAS,CAAE,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/placeholder/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC"}
@@ -38,7 +38,7 @@ import type { Coords, MiddlewareArguments } from '@floating-ui/react-dom';
38
38
  * All unexported types and functions are also from the `@floating-ui` library,
39
39
  * and have been copied to this file for convenience.
40
40
  */
41
- declare type LimitShiftOffset = ((args: MiddlewareArguments) => number | {
41
+ type LimitShiftOffset = ((args: MiddlewareArguments) => number | {
42
42
  /**
43
43
  * Offset the limiting of the axis that runs along the alignment of the
44
44
  * floating element.
@@ -61,7 +61,7 @@ declare type LimitShiftOffset = ((args: MiddlewareArguments) => number | {
61
61
  */
62
62
  crossAxis?: number;
63
63
  };
64
- declare type LimitShiftOptions = {
64
+ type LimitShiftOptions = {
65
65
  /**
66
66
  * Offset when limiting starts. `0` will limit when the opposite edges of the
67
67
  * reference and floating elements are aligned.
@@ -1 +1 @@
1
- {"version":3,"file":"limit-shift.d.ts","sourceRoot":"","sources":["../../src/popover/limit-shift.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAEX,MAAM,EAGN,mBAAmB,EACnB,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;;;;;;;;GASG;AAEH,aAAK,gBAAgB,GAClB,CAAE,CAAE,IAAI,EAAE,mBAAmB,KAC3B,MAAM,GACN;IACA;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CAClB,CAAE,GACL,MAAM,GACN;IACA;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEL,aAAK,iBAAiB,GAAG;IACxB;;;;;OAKG;IACH,MAAM,EAAE,gBAAgB,CAAC;IACzB;;;OAGG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACnB,CAAC;AAcF,eAAO,MAAM,UAAU,aACb,QAAS,iBAAiB,CAAE;aAE5B,QAAS,gBAAgB,CAAE;8BACT,mBAAmB,KAAM,MAAM;CA2FxD,CAAC"}
1
+ {"version":3,"file":"limit-shift.d.ts","sourceRoot":"","sources":["../../src/popover/limit-shift.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAEX,MAAM,EAGN,mBAAmB,EACnB,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;;;;;;;;GASG;AAEH,KAAK,gBAAgB,GAClB,CAAE,CAAE,IAAI,EAAE,mBAAmB,KAC3B,MAAM,GACN;IACA;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CAClB,CAAE,GACL,MAAM,GACN;IACA;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEL,KAAK,iBAAiB,GAAG;IACxB;;;;;OAKG;IACH,MAAM,EAAE,gBAAgB,CAAC;IACzB;;;OAGG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACnB,CAAC;AAcF,eAAO,MAAM,UAAU,aACb,QAAS,iBAAiB,CAAE;aAE5B,QAAS,gBAAgB,CAAE;8BACT,mBAAmB,KAAM,MAAM;CA2FxD,CAAC"}
@@ -3,26 +3,26 @@
3
3
  */
4
4
  import type { ReactNode, MutableRefObject, SyntheticEvent } from 'react';
5
5
  import type { Placement } from '@floating-ui/react-dom';
6
- declare type PositionYAxis = 'top' | 'middle' | 'bottom';
7
- declare type PositionXAxis = 'left' | 'center' | 'right';
8
- declare type PositionCorner = 'top' | 'right' | 'bottom' | 'left';
9
- declare type DomRectWithOwnerDocument = DOMRect & {
6
+ type PositionYAxis = 'top' | 'middle' | 'bottom';
7
+ type PositionXAxis = 'left' | 'center' | 'right';
8
+ type PositionCorner = 'top' | 'right' | 'bottom' | 'left';
9
+ type DomRectWithOwnerDocument = DOMRect & {
10
10
  ownerDocument?: Document;
11
11
  };
12
- declare type PopoverPlacement = Placement | 'overlay';
13
- export declare type AnimatedWrapperProps = {
12
+ type PopoverPlacement = Placement | 'overlay';
13
+ export type AnimatedWrapperProps = {
14
14
  placement: PopoverPlacement;
15
15
  shouldAnimate?: boolean;
16
16
  };
17
- export declare type PopoverAnchorRefReference = MutableRefObject<Element | null | undefined>;
18
- export declare type PopoverAnchorRefTopBottom = {
17
+ export type PopoverAnchorRefReference = MutableRefObject<Element | null | undefined>;
18
+ export type PopoverAnchorRefTopBottom = {
19
19
  top: Element;
20
20
  bottom: Element;
21
21
  };
22
- export declare type VirtualElement = Pick<Element, 'getBoundingClientRect'> & {
22
+ export type VirtualElement = Pick<Element, 'getBoundingClientRect'> & {
23
23
  ownerDocument?: Document;
24
24
  };
25
- export declare type PopoverProps = {
25
+ export type PopoverProps = {
26
26
  /**
27
27
  * The name of the Slot in which the popover should be rendered. It should
28
28
  * be also passed to the corresponding `PopoverSlot` component.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/popover/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,aAAK,aAAa,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACjD,aAAK,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AACjD,aAAK,cAAc,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE1D,aAAK,wBAAwB,GAAG,OAAO,GAAG;IACzC,aAAa,CAAC,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,aAAK,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9C,oBAAY,oBAAoB,GAAG;IAClC,SAAS,EAAE,gBAAgB,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,oBAAY,yBAAyB,GAAG,gBAAgB,CACvD,OAAO,GAAG,IAAI,GAAG,SAAS,CAC1B,CAAC;AACF,oBAAY,yBAAyB,GAAG;IAAE,GAAG,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,O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;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC;;;;;;OAMG;IACH,SAAS,CAAC,EACP,OAAO,GACP,yBAAyB,GACzB,yBAAyB,GACzB,KAAK,CAAC;IACT;;;;;OAKG;IACH,aAAa,CAAC,EAAE,CACf,wBAAwB,EAAE,OAAO,GAAG,IAAI,KACpC,wBAAwB,CAAC;IAC9B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC"}
@@ -31,11 +31,11 @@ export declare const placementToMotionAnimationProps: (placement: NonNullable<Po
31
31
  * @return The offset of the document's frame element, or undefined if the
32
32
  * document has no frame element.
33
33
  */
34
- export declare const getFrameOffset: (document?: Document | undefined) => {
34
+ export declare const getFrameOffset: (document?: Document) => {
35
35
  x: number;
36
36
  y: number;
37
37
  } | undefined;
38
- export declare const getFrameScale: (document?: Document | undefined) => {
38
+ export declare const getFrameScale: (document?: Document) => {
39
39
  x: number;
40
40
  y: number;
41
41
  };
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/popover/utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D;;GAEG;AACH,OAAO,KAAK,EACX,YAAY,EAGZ,MAAM,SAAS,CAAC;AA0DjB;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,aACrB,YAAa,YAAY,CAAE,UAAU,CAAE,CAAE,KACjD,YAAa,YAAY,CAAE,WAAW,CAAE,CACG,CAAC;AA4B/C;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,cAChC,YAAa,YAAY,CAAE,WAAW,CAAE,CAAE,KACnD,WAoBF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,uCAExB;IA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O,GAAG,IAAI;sBACtB,QAAQ;MACtB,QAmCJ,CAAC;AAEF,eAAO,MAAM,mBAAmB;8BAWL,OAAO,GAAG,IAAI;WACjC;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;MAC3B,aAAa,GAAG,IA+EpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"author-select.d.ts","sourceRoot":"","sources":["../../src/query-controls/author-select.tsx"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,EACrC,KAAK,EACL,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,QAAQ,EAAE,YAAY,GACtB,EAAE,iBAAiB,sBAsBnB"}
1
+ {"version":3,"file":"author-select.d.ts","sourceRoot":"","sources":["../../src/query-controls/author-select.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,EACrC,KAAK,EACL,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,QAAQ,EAAE,YAAY,GACtB,EAAE,iBAAiB,sBAkBnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"category-select.d.ts","sourceRoot":"","sources":["../../src/query-controls/category-select.tsx"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,EACvC,KAAK,EACL,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,QAAQ,EAAE,YAAY,EACtB,GAAG,KAAK,EACR,EAAE,mBAAmB,eAyBrB"}
1
+ {"version":3,"file":"category-select.d.ts","sourceRoot":"","sources":["../../src/query-controls/category-select.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,EACvC,KAAK,EACL,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,QAAQ,EAAE,YAAY,EACtB,GAAG,KAAK,EACR,EAAE,mBAAmB,eAqBrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"terms.d.ts","sourceRoot":"","sources":["../../src/query-controls/terms.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EACX,MAAM,EACN,QAAQ,EACR,yBAAyB,EAEzB,MAAM,SAAS,CAAC;AAEjB;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAE,SAAS,EAAE,SAAS,CAAE,MAAM,GAAG,QAAQ,CAAE,EAAE,+BAkC1E"}
1
+ {"version":3,"file":"terms.d.ts","sourceRoot":"","sources":["../../src/query-controls/terms.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,MAAM,EACN,QAAQ,EACR,yBAAyB,EAEzB,MAAM,SAAS,CAAC;AAOjB;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAE,SAAS,EAAE,SAAS,CAAE,MAAM,GAAG,QAAQ,CAAE,EAAE,+BA6C1E"}
@@ -3,35 +3,35 @@
3
3
  */
4
4
  import type { FormTokenFieldProps } from '../form-token-field/types';
5
5
  import type { TreeSelectProps } from '../tree-select/types';
6
- export declare type Author = {
6
+ export type Author = {
7
7
  id: number;
8
8
  name: string;
9
9
  };
10
- export declare type Category = {
10
+ export type Category = {
11
11
  id: number;
12
12
  name: string;
13
13
  parent: number;
14
14
  };
15
- export declare type TermWithParentAndChildren = {
15
+ export type TermWithParentAndChildren = {
16
16
  id: string;
17
17
  name: string;
18
18
  parent: number | null;
19
19
  children: TermWithParentAndChildren[];
20
20
  };
21
- export declare type TermsByParent = Record<string, TermWithParentAndChildren[]>;
22
- export declare type CategorySelectProps = Pick<TreeSelectProps, 'label' | 'noOptionLabel'> & {
21
+ export type TermsByParent = Record<string, TermWithParentAndChildren[]>;
22
+ export type CategorySelectProps = Pick<TreeSelectProps, 'label' | 'noOptionLabel'> & {
23
23
  categoriesList: Category[];
24
24
  onChange: (newCategory: string) => void;
25
25
  selectedCategoryId?: Category['id'];
26
26
  };
27
- export declare type AuthorSelectProps = Pick<TreeSelectProps, 'label' | 'noOptionLabel'> & {
27
+ export type AuthorSelectProps = Pick<TreeSelectProps, 'label' | 'noOptionLabel'> & {
28
28
  authorList?: Author[];
29
29
  onChange: (newAuthor: string) => void;
30
30
  selectedAuthorId?: Author['id'];
31
31
  };
32
- declare type Order = 'asc' | 'desc';
33
- declare type OrderBy = 'date' | 'title';
34
- declare type BaseQueryControlsProps = {
32
+ type Order = 'asc' | 'desc';
33
+ type OrderBy = 'date' | 'title';
34
+ type BaseQueryControlsProps = {
35
35
  /**
36
36
  * An array of the authors to select from.
37
37
  */
@@ -88,7 +88,7 @@ declare type BaseQueryControlsProps = {
88
88
  */
89
89
  selectedAuthorId?: AuthorSelectProps['selectedAuthorId'];
90
90
  };
91
- export declare type QueryControlsWithSingleCategorySelectionProps = BaseQueryControlsProps & {
91
+ export type QueryControlsWithSingleCategorySelectionProps = BaseQueryControlsProps & {
92
92
  /**
93
93
  * An array of categories. When passed in conjunction with the
94
94
  * `onCategoryChange` prop, it causes the component to render UI that allows
@@ -107,7 +107,7 @@ export declare type QueryControlsWithSingleCategorySelectionProps = BaseQueryCon
107
107
  */
108
108
  onCategoryChange?: CategorySelectProps['onChange'];
109
109
  };
110
- export declare type QueryControlsWithMultipleCategorySelectionProps = BaseQueryControlsProps & {
110
+ export type QueryControlsWithMultipleCategorySelectionProps = BaseQueryControlsProps & {
111
111
  /**
112
112
  * An object of categories with the category name as the key. When passed in
113
113
  * conjunction with the `onCategoryChange` prop, it causes the component to
@@ -126,6 +126,6 @@ export declare type QueryControlsWithMultipleCategorySelectionProps = BaseQueryC
126
126
  */
127
127
  onCategoryChange?: FormTokenFieldProps['onChange'];
128
128
  };
129
- export declare type QueryControlsProps = QueryControlsWithSingleCategorySelectionProps | QueryControlsWithMultipleCategorySelectionProps;
129
+ export type QueryControlsProps = QueryControlsWithSingleCategorySelectionProps | QueryControlsWithMultipleCategorySelectionProps;
130
130
  export {};
131
131
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/query-controls/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,oBAAY,MAAM,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,oBAAY,QAAQ,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,yBAAyB,EAAE,CAAC;CACtC,CAAC;AAEF,oBAAY,aAAa,GAAG,MAAM,CAAE,MAAM,EAAE,yBAAyB,EAAE,CAAE,CAAC;AAE1E,oBAAY,mBAAmB,GAAG,IAAI,CACrC,eAAe,EACf,OAAO,GAAG,eAAe,CACzB,GAAG;IACH,cAAc,EAAE,QAAQ,EAAE,CAAC;IAC3B,QAAQ,EAAE,CAAE,WAAW,EAAE,MAAM,KAAM,IAAI,CAAC;IAC1C,kBAAkB,CAAC,EAAE,QAAQ,CAAE,IAAI,CAAE,CAAC;CACtC,CAAC;AAEF,oBAAY,iBAAiB,GAAG,IAAI,CACnC,eAAe,EACf,OAAO,GAAG,eAAe,CACzB,GAAG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,CA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IACxB;;;;OAIG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAE,gBAAgB,CAAE,CAAC;IACzD;;OAEG;IACH,kBAAkB,CAAC,EAAE,mBAAmB,CAAE,oBAAoB,CAAE,CAAC;IACjE;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAE,UAAU,CAAE,CAAC;CACrD,CAAC;AAEH,MAAM,MAAM,+CAA+C,GAC1D,sBAAsB,GAAG;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAE,QAAQ,CAAE,MAAM,CAAE,EAAE,QAAQ,CAAE,CAAC;IAC7D;;OAEG;IACH,kBAAkB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAChC;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAE,UAAU,CAAE,CAAC;CACrD,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAC3B,6CAA6C,GAC7C,+CAA+C,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { BaseControlProps } from '../base-control/types';
5
- export declare type RadioControlProps = Pick<BaseControlProps, 'label' | 'help' | 'hideLabelFromVision'> & {
5
+ export type RadioControlProps = Pick<BaseControlProps, 'label' | 'help' | 'hideLabelFromVision'> & {
6
6
  /**
7
7
  * A function that receives the value of the new option that is being
8
8
  * selected as input.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/radio-control/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,oBAAY,iBAAiB,GAAG,IAAI,CACnC,gBAAgB,EAChB,OAAO,GAAG,MAAM,GAAG,qBAAqB,CACxC,GAAG;IACH;;;OAGG;IACH,QAAQ,EAAE,CAAE,KAAK,EAAE,MAAM,KAAM,IAAI,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE;QACT;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACd,EAAE,CAAC;IACJ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/radio-control/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG,IAAI,CACnC,gBAAgB,EAChB,OAAO,GAAG,MAAM,GAAG,qBAAqB,CACxC,GAAG;IACH;;;OAGG;IACH,QAAQ,EAAE,CAAE,KAAK,EAAE,MAAM,KAAM,IAAI,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE;QACT;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACd,EAAE,CAAC;IACJ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,4 +1,4 @@
1
- declare var _default: import("react").ForwardRefExoticComponent<Pick<{
1
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<{
2
2
  [x: string]: any;
3
3
  label: any;
4
4
  checked: any;
@@ -1,4 +1,4 @@
1
- declare var _default: import("react").ForwardRefExoticComponent<Pick<{
1
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<{
2
2
  [x: string]: any;
3
3
  children: any;
4
4
  value: any;
@@ -29,9 +29,9 @@ export declare const RangeControl: import("react").ForwardRefExoticComponent<Pic
29
29
  }[] | undefined;
30
30
  step?: number | "any" | undefined;
31
31
  } & {
32
- afterIcon?: import("../icon").IconType<unknown> | undefined;
32
+ afterIcon?: import("../icon").IconType | undefined;
33
33
  allowReset?: boolean | undefined;
34
- beforeIcon?: import("../icon").IconType<unknown> | undefined;
34
+ beforeIcon?: import("../icon").IconType | undefined;
35
35
  color?: import("csstype").Property.Color | undefined;
36
36
  currentInput?: number | undefined;
37
37
  icon?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/range-control/index.tsx"],"names":[],"mappings":";AA8UA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4uBAAwC,CAAC;AAElE,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/range-control/index.tsx"],"names":[],"mappings":";AA0UA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4uBAAwC,CAAC;AAElE,eAAe,YAAY,CAAC"}
@@ -7,7 +7,7 @@ import type { CSSProperties, FocusEventHandler, MouseEventHandler, MutableRefObj
7
7
  */
8
8
  import type { BaseControlProps } from '../base-control/types';
9
9
  import type { IconType } from '../icon';
10
- export declare type NumericProps = {
10
+ export type NumericProps = {
11
11
  /**
12
12
  * The minimum `value` allowed.
13
13
  *
@@ -25,12 +25,12 @@ export declare type NumericProps = {
25
25
  */
26
26
  value?: number;
27
27
  };
28
- export declare type RangeMark = {
28
+ export type RangeMark = {
29
29
  value: number;
30
30
  label?: string;
31
31
  };
32
- export declare type RangeMarks = boolean | RangeMark[];
33
- export declare type MarksProps = NumericProps & {
32
+ export type RangeMarks = boolean | RangeMark[];
33
+ export type MarksProps = NumericProps & {
34
34
  /**
35
35
  * Disables the `input`, preventing new values from being applied.
36
36
  *
@@ -58,15 +58,15 @@ export declare type MarksProps = NumericProps & {
58
58
  */
59
59
  step?: number | 'any';
60
60
  };
61
- export declare type RangeMarkProps = {
61
+ export type RangeMarkProps = {
62
62
  isFilled?: boolean;
63
63
  label?: string;
64
64
  disabled?: boolean;
65
65
  key?: string;
66
66
  style?: CSSProperties;
67
67
  };
68
- export declare type ControlledRangeValue = number | '' | null;
69
- export declare type RangeControlProps<IconProps = unknown> = Pick<BaseControlProps, 'hideLabelFromVision' | 'help' | '__nextHasNoMarginBottom'> & MarksProps & {
68
+ export type ControlledRangeValue = number | '' | null;
69
+ export type RangeControlProps = Pick<BaseControlProps, 'hideLabelFromVision' | 'help' | '__nextHasNoMarginBottom'> & MarksProps & {
70
70
  /**
71
71
  * If this property is added, an Icon component will be rendered
72
72
  * after the slider with the icon equal to afterIcon.
@@ -74,7 +74,7 @@ export declare type RangeControlProps<IconProps = unknown> = Pick<BaseControlPro
74
74
  * For more information on `IconType` see the Icon component:
75
75
  * /packages/components/src/icon/index.tsx
76
76
  */
77
- afterIcon?: IconType<IconProps>;
77
+ afterIcon?: IconType;
78
78
  /**
79
79
  * If this property is true, a button to reset the slider is
80
80
  * rendered.
@@ -89,7 +89,7 @@ export declare type RangeControlProps<IconProps = unknown> = Pick<BaseControlPro
89
89
  * For more information on `IconType` see the Icon component:
90
90
  * /packages/components/src/icon/index.tsx
91
91
  */
92
- beforeIcon?: IconType<IconProps>;
92
+ beforeIcon?: IconType;
93
93
  /**
94
94
  * CSS color string for the `RangeControl` wrapper.
95
95
  *
@@ -214,25 +214,25 @@ export declare type RangeControlProps<IconProps = unknown> = Pick<BaseControlPro
214
214
  */
215
215
  withInputField?: boolean;
216
216
  };
217
- export declare type RailProps = MarksProps & {
217
+ export type RailProps = MarksProps & {
218
218
  railColor?: CSSProperties['color'];
219
219
  };
220
- export declare type InputRangeProps = {
220
+ export type InputRangeProps = {
221
221
  describedBy?: string;
222
222
  label?: string;
223
223
  onMouseLeave?: MouseEventHandler<HTMLInputElement>;
224
224
  onMouseMove?: MouseEventHandler<HTMLInputElement>;
225
225
  value?: number | '';
226
226
  };
227
- export declare type WrapperProps = Pick<BaseControlProps, '__nextHasNoMarginBottom'> & {
227
+ export type WrapperProps = Pick<BaseControlProps, '__nextHasNoMarginBottom'> & {
228
228
  color?: CSSProperties['color'];
229
229
  marks?: RangeMarks;
230
230
  };
231
- export declare type ThumbProps = {
231
+ export type ThumbProps = {
232
232
  isFocused?: boolean;
233
233
  disabled?: boolean;
234
234
  };
235
- export declare type TooltipProps = {
235
+ export type TooltipProps = {
236
236
  show?: boolean;
237
237
  position?: string;
238
238
  inputRef?: MutableRefObject<HTMLElement | undefined>;
@@ -241,11 +241,11 @@ export declare type TooltipProps = {
241
241
  renderTooltipContent?: (value?: ControlledRangeValue) => string | number | null | undefined;
242
242
  zIndex?: number;
243
243
  };
244
- export declare type TrackProps = {
244
+ export type TrackProps = {
245
245
  disabled: boolean;
246
246
  trackColor: CSSProperties['color'];
247
247
  };
248
- export declare type UseControlledRangeValueArgs = {
248
+ export type UseControlledRangeValueArgs = {
249
249
  /**
250
250
  * The initial value.
251
251
  */
@@ -263,7 +263,7 @@ export declare type UseControlledRangeValueArgs = {
263
263
  */
264
264
  value: number | null;
265
265
  };
266
- export declare type UseMarksArgs = NumericProps & {
266
+ export type UseMarksArgs = NumericProps & {
267
267
  marks: RangeMarks;
268
268
  step: number;
269
269
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/range-control/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,MAAM,OAAO,CAAC;AAEf;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,oBAAY,YAAY,GAAG;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,SAAS,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAG1D,oBA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IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,gBAAgB,CAAE,WAAW,GAAG,SAAS,CAAE,CAAC;IACvD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,CACtB,KAAK,CAAC,EAAE,oBAAoB,KACxB,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,aAAa,CAAE,OAAO,CAAE,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG;IACzC,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { Ref } from 'react';
2
2
  import { useResizeLabel, Axis, Position } from './utils';
3
3
  import { Root } from './styles/resize-tooltip.styles';
4
- declare type ResizeTooltipProps = React.ComponentProps<typeof Root> & {
4
+ type ResizeTooltipProps = React.ComponentProps<typeof Root> & {
5
5
  'aria-hidden'?: boolean;
6
6
  axis?: Axis;
7
7
  className?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resizable-box/resize-tooltip/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAgB,MAAM,OAAO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AAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,GAAG,CAAE,cAAc,CAAE,CAAC;IACjC,QAAQ,CAAC,EAAE,UAAU,CAAE,OAAO,cAAc,CAAE,CAAE,CAAC,CAAE,CAAE,UAAU,CAAE,CAAC;IAClE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AA6CF,QAAA,MAAM,kBAAkB,wSAA8B,CAAC;AAEvD,eAAe,kBAAkB,CAAC"}
@@ -3,7 +3,7 @@
3
3
  * Internal dependencies
4
4
  */
5
5
  import { Position } from './utils';
6
- declare type LabelProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
6
+ type LabelProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
7
7
  label?: string;
8
8
  position: Position;
9
9
  zIndex: number;
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/resizable-box/resize-tooltip/label.tsx"],"names":[],"mappings":";AAWA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAa,MAAM,SAAS,CAAC;AAU9C,aAAK,UAAU,GAAG,KAAK,CAAC,iBAAiB,CACxC,KAAK,CAAC,cAAc,CAAE,cAAc,CAAE,EACtC,cAAc,CACd,GAAG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AA8DF,QAAA,MAAM,kBAAkB,6MAAsB,CAAC;AAE/C,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/resizable-box/resize-tooltip/label.tsx"],"names":[],"mappings":";AAWA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAa,MAAM,SAAS,CAAC;AAU9C,KAAK,UAAU,GAAG,KAAK,CAAC,iBAAiB,CACxC,KAAK,CAAC,cAAc,CAAE,cAAc,CAAE,EACtC,cAAc,CACd,GAAG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AA8DF,QAAA,MAAM,kBAAkB,6MAAsB,CAAC;AAE/C,eAAe,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"resize-tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.ts"],"names":[],"mappings":";AAWA,eAAO,MAAM,IAAI;;;yGAQhB,CAAC;AAEF,eAAO,MAAM,cAAc;;;yGAQ1B,CAAC;AAEF,eAAO,MAAM,OAAO;;;yGAQnB,CAAC;AAKF,eAAO,MAAM,SAAS;;;;UAQrB,CAAC"}
1
+ {"version":3,"file":"resize-tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.ts"],"names":[],"mappings":";AAWA,eAAO,MAAM,IAAI;;;yGAQhB,CAAC;AAEF,eAAO,MAAM,cAAc;;;yGAQ1B,CAAC;AAEF,eAAO,MAAM,OAAO;;;yGASnB,CAAC;AAKF,eAAO,MAAM,SAAS;;;;UAQrB,CAAC"}
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- export declare type Axis = 'x' | 'y';
2
+ export type Axis = 'x' | 'y';
3
3
  export declare const POSITIONS: {
4
4
  readonly bottom: "bottom";
5
5
  readonly corner: "corner";
6
6
  };
7
- export declare type Position = typeof POSITIONS[keyof typeof POSITIONS];
7
+ export type Position = typeof POSITIONS[keyof typeof POSITIONS];
8
8
  interface UseResizeLabelProps {
9
9
  /** The label value. */
10
10
  label?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/resizable-box/resize-tooltip/utils.ts"],"names":[],"mappings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,CAAC;IACpB,QAAQ,CAAE,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAI,IAAI,CAAC;IACxE,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAE,EAC/B,IAAI,EACJ,WAAiB,EACjB,QAAe,EACf,QAA2B,EAC3B,MAAc,GACd,EAAE,kBAAkB,GAAI,mBAAmB,CA8G3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/responsive-wrapper/index.tsx"],"names":[],"mappings":";AAWA;;GAEG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,iBAAiB,CAAE,EAC3B,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,QAAgB,GAChB,EAAE,sBAAsB,sBAyBxB;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/responsive-wrapper/index.tsx"],"names":[],"mappings":";AAUA;;GAEG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,iBAAiB,CAAE,EAC3B,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,QAAgB,GAChB,EAAE,sBAAsB,sBA2BxB;AAED,eAAe,iBAAiB,CAAC"}
@@ -9,4 +9,14 @@ import ResponsiveWrapper from '..';
9
9
  declare const meta: ComponentMeta<typeof ResponsiveWrapper>;
10
10
  export default meta;
11
11
  export declare const Default: ComponentStory<typeof ResponsiveWrapper>;
12
+ /**
13
+ * When passing an `SVG` element as the `<ResponsiveWrapper />`'s child, make
14
+ * sure that it has the `viewbox` and the `preserveAspectRatio` set.
15
+ *
16
+ * When dealing with SVGs, it may not be possible to derive its `naturalWidth`
17
+ * and `naturalHeight` and therefore passing them as propertied to
18
+ * `<ResponsiveWrapper />`. In this case, the SVG simply keeps scaling up to fill
19
+ * its container, unless the `height` and `width` attributes are specified.
20
+ */
21
+ export declare const WithSVG: ComponentStory<typeof ResponsiveWrapper>;
12
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/responsive-wrapper/stories/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEtE;;GAEG;AACH,OAAO,iBAAiB,MAAM,IAAI,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,iBAAiB,CAUlD,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,0CAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/responsive-wrapper/stories/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEtE;;GAEG;AACH,OAAO,iBAAiB,MAAM,IAAI,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,iBAAiB,CAUlD,CAAC;AACF,eAAe,IAAI,CAAC;AAMpB,eAAO,MAAM,OAAO,0CAAsB,CAAC;AAY3C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,EAAE,cAAc,CAAE,OAAO,iBAAiB,CAC1C,CAAC"}