@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/higher-order/with-filters/test/index.tsx"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- declare var _default: (Inner: import("react").ComponentType<any>) => (props: any) => JSX.Element;
1
+ declare const _default: (Inner: import("react").ComponentType<any>) => (props: any) => JSX.Element;
2
2
  export default _default;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Higher Order Component used to be used to wrap disposable elements like
4
+ * sidebars, modals, dropdowns. When mounting the wrapped component, we track a
5
+ * reference to the current active element so we know where to restore focus
6
+ * when the component is unmounted.
7
+ *
8
+ * @param options The component to be enhanced with
9
+ * focus return behavior, or an object
10
+ * describing the component and the
11
+ * focus return characteristics.
12
+ *
13
+ * @return Higher Order Component with the focus restauration behaviour.
14
+ */
15
+ declare const _default: (Inner: any) => import("react").ComponentType<any>;
16
+ export default _default;
17
+ export declare const Provider: ({ children }: {
18
+ children: React.ReactNode;
19
+ }) => import("react").ReactNode;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-focus-return/index.tsx"],"names":[],"mappings":";AAuBA;;;;;;;;;;;;GAYG;;AACH,wBA4BE;AAEF,eAAO,MAAM,QAAQ;cAA+B,MAAM,SAAS;+BAOlE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/higher-order/with-focus-return/test/index.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Override the default edit UI to include notices if supported.
4
+ *
5
+ * Wrapping the original component with `withNotices` encapsulates the component
6
+ * with the additional props `noticeOperations` and `noticeUI`.
7
+ *
8
+ * ```jsx
9
+ * import { withNotices, Button } from '@wordpress/components';
10
+ *
11
+ * const MyComponentWithNotices = withNotices(
12
+ * ( { noticeOperations, noticeUI } ) => {
13
+ * const addError = () =>
14
+ * noticeOperations.createErrorNotice( 'Error message' );
15
+ * return (
16
+ * <div>
17
+ * { noticeUI }
18
+ * <Button variant="secondary" onClick={ addError }>
19
+ * Add error
20
+ * </Button>
21
+ * </div>
22
+ * );
23
+ * }
24
+ * );
25
+ * ```
26
+ *
27
+ * @param OriginalComponent Original component.
28
+ *
29
+ * @return Wrapped component.
30
+ */
31
+ declare const _default: (Inner: import("react").ComponentType<any>) => ((props: {
32
+ [key: string]: any;
33
+ }, ref: React.ForwardedRef<any>) => JSX.Element) | import("react").ForwardRefExoticComponent<Pick<{
34
+ [key: string]: any;
35
+ }, string | number> & import("react").RefAttributes<any>>;
36
+ export default _default;
37
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-notices/index.tsx"],"names":[],"mappings":";AAiBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;;;QAII,MAAM,YAAY,CAAE,GAAG,CAAE;;;AAHhC,wBAqEmB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/higher-order/with-notices/test/index.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Internal dependencies
4
+ */
5
+ import type { NoticeListProps } from '../../notice/types';
6
+ export type WithNoticeProps = {
7
+ noticeList: NoticeListProps['notices'];
8
+ noticeOperations: {
9
+ /**
10
+ * Function passed down as a prop that adds a new notice.
11
+ *
12
+ * @param notice Notice to add.
13
+ */
14
+ createNotice: (notice: NoticeListProps['notices'][number]) => void;
15
+ /**
16
+ * Function passed as a prop that adds a new error notice.
17
+ *
18
+ * @param msg Error message of the notice.
19
+ */
20
+ createErrorNotice: (msg: string) => void;
21
+ /**
22
+ * Removes a notice by id.
23
+ *
24
+ * @param id Id of the notice to remove.
25
+ */
26
+ removeNotice: (id: string) => void;
27
+ /**
28
+ * Removes all notices
29
+ */
30
+ removeAllNotices: () => void;
31
+ };
32
+ noticeUI: false | JSX.Element;
33
+ };
34
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-notices/types.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG;IAC7B,UAAU,EAAE,eAAe,CAAE,SAAS,CAAE,CAAC;IACzC,gBAAgB,EAAE;QACjB;;;;WAIG;QACH,YAAY,EAAE,CACb,MAAM,EAAE,eAAe,CAAE,SAAS,CAAE,CAAE,MAAM,CAAE,KAC1C,IAAI,CAAC;QACV;;;;WAIG;QACH,iBAAiB,EAAE,CAAE,GAAG,EAAE,MAAM,KAAM,IAAI,CAAC;QAC3C;;;;WAIG;QACH,YAAY,EAAE,CAAE,EAAE,EAAE,MAAM,KAAM,IAAI,CAAC;QACrC;;WAEG;QACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;KAC7B,CAAC;IACF,QAAQ,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC;CAC9B,CAAC"}
@@ -1,4 +1,15 @@
1
- declare var _default: (Inner: import("react").ComponentType<any>) => (props: any) => JSX.Element;
1
+ /// <reference types="react" />
2
+ /** @typedef {import('@wordpress/element').WPComponent} WPComponent */
3
+ /**
4
+ * A Higher Order Component used to be provide speak and debounced speak
5
+ * functions.
6
+ *
7
+ * @see https://developer.wordpress.org/block-editor/packages/packages-a11y/#speak
8
+ *
9
+ * @param {WPComponent} Component The component to be wrapped.
10
+ *
11
+ * @return {WPComponent} The wrapped component.
12
+ */
13
+ declare const _default: (Inner: import("react").ComponentType<any>) => (props: any) => JSX.Element;
2
14
  export default _default;
3
- export type WPComponent = import('@wordpress/element').WPComponent;
4
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-spoken-messages/index.js"],"names":[],"mappings":";;0BAMc,OAAO,oBAAoB,EAAE,WAAW"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-spoken-messages/index.tsx"],"names":[],"mappings":";AAMA,sEAAsE;AAEtE;;;;;;;;;GASG;;AACH,wBAUE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/higher-order/with-spoken-messages/test/index.tsx"],"names":[],"mappings":""}
@@ -3,15 +3,19 @@
3
3
  */
4
4
  import type { ComponentType, SVGProps } from 'react';
5
5
  import type { IconKey as DashiconIconKey } from '../dashicon/types';
6
- export declare type IconType<P> = DashiconIconKey | ComponentType<P> | JSX.Element;
7
- interface BaseProps<P> {
6
+ export type IconType = DashiconIconKey | ComponentType<{
7
+ size?: number;
8
+ }> | ((props: {
9
+ size?: number;
10
+ }) => JSX.Element) | JSX.Element;
11
+ interface BaseProps {
8
12
  /**
9
13
  * The icon to render. Supported values are: Dashicons (specified as
10
14
  * strings), functions, Component instances and `null`.
11
15
  *
12
16
  * @default null
13
17
  */
14
- icon?: IconType<P> | null;
18
+ icon?: IconType | null;
15
19
  /**
16
20
  * The size (width and height) of the icon.
17
21
  *
@@ -19,8 +23,8 @@ interface BaseProps<P> {
19
23
  */
20
24
  size?: number;
21
25
  }
22
- declare type AdditionalProps<T> = T extends ComponentType<infer U> ? U : T extends DashiconIconKey ? SVGProps<SVGSVGElement> : {};
23
- export declare type Props<P> = BaseProps<P> & AdditionalProps<IconType<P>>;
24
- declare function Icon<P>({ icon, size, ...additionalProps }: Props<P>): JSX.Element | null;
26
+ type AdditionalProps<T> = T extends ComponentType<infer U> ? U : T extends DashiconIconKey ? SVGProps<SVGSVGElement> : {};
27
+ export type Props = BaseProps & AdditionalProps<IconType>;
28
+ declare function Icon({ icon, size, ...additionalProps }: Props): JSX.Element | null;
25
29
  export default Icon;
26
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icon/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAiBhE,OAAO,KAAK,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpE,oBAAY,QAAQ,CAAE,CAAC,IAAK,eAAe,GAAG,aAAa,CAAE,CAAC,CAAE,GAAG,GAAG,CAAC,OAAO,CAAC;AAE/E,UAAU,SAAS,CAAE,CAAC;IACrB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAE,CAAC,CAAE,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,aAAK,eAAe,CAAE,CAAC,IAAK,CAAC,SAAS,aAAa,CAAE,MAAM,CAAC,CAAE,GAC3D,CAAC,GACD,CAAC,SAAS,eAAe,GACzB,QAAQ,CAAE,aAAa,CAAE,GACzB,EAAE,CAAC;AAEN,oBAAY,KAAK,CAAE,CAAC,IAAK,SAAS,CAAE,CAAC,CAAE,GA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
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icon/test/index.tsx"],"names":[],"mappings":""}
@@ -27,22 +27,22 @@ export interface Action<Type = string, ExtraPayload = {}> {
27
27
  interface ValuePayload {
28
28
  value: string;
29
29
  }
30
- export declare type ChangeAction = Action<typeof CHANGE, ValuePayload>;
31
- export declare type CommitAction = Action<typeof COMMIT, ValuePayload>;
32
- export declare type ControlAction = Action<typeof CONTROL, ValuePayload>;
33
- export declare type PressUpAction = Action<typeof PRESS_UP>;
34
- export declare type PressDownAction = Action<typeof PRESS_DOWN>;
35
- export declare type PressEnterAction = Action<typeof PRESS_ENTER>;
36
- export declare type DragStartAction = Action<typeof DRAG_START, DragProps>;
37
- export declare type DragEndAction = Action<typeof DRAG_END, DragProps>;
38
- export declare type DragAction = Action<typeof DRAG, DragProps>;
39
- export declare type ResetAction = Action<typeof RESET, Partial<ValuePayload>>;
40
- export declare type InvalidateAction = Action<typeof INVALIDATE, {
30
+ export type ChangeAction = Action<typeof CHANGE, ValuePayload>;
31
+ export type CommitAction = Action<typeof COMMIT, ValuePayload>;
32
+ export type ControlAction = Action<typeof CONTROL, ValuePayload>;
33
+ export type PressUpAction = Action<typeof PRESS_UP>;
34
+ export type PressDownAction = Action<typeof PRESS_DOWN>;
35
+ export type PressEnterAction = Action<typeof PRESS_ENTER>;
36
+ export type DragStartAction = Action<typeof DRAG_START, DragProps>;
37
+ export type DragEndAction = Action<typeof DRAG_END, DragProps>;
38
+ export type DragAction = Action<typeof DRAG, DragProps>;
39
+ export type ResetAction = Action<typeof RESET, Partial<ValuePayload>>;
40
+ export type InvalidateAction = Action<typeof INVALIDATE, {
41
41
  error: unknown;
42
42
  }>;
43
- export declare type ChangeEventAction = ChangeAction | ResetAction | CommitAction;
44
- export declare type DragEventAction = DragStartAction | DragEndAction | DragAction;
45
- export declare type KeyEventAction = PressDownAction | PressUpAction | PressEnterAction;
46
- export declare type InputAction = ChangeEventAction | KeyEventAction | DragEventAction | InvalidateAction;
43
+ export type ChangeEventAction = ChangeAction | ResetAction | CommitAction;
44
+ export type DragEventAction = DragStartAction | DragEndAction | DragAction;
45
+ export type KeyEventAction = PressDownAction | PressUpAction | PressEnterAction;
46
+ export type InputAction = ChangeEventAction | KeyEventAction | DragEventAction | InvalidateAction;
47
47
  export {};
48
48
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/input-control/reducer/actions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,KAAK,UAAU,CAAC;AAE7B,UAAU,YAAY;IACrB,KAAK,CAAC,EAAE,cAAc,CAAC;CACvB;AAED,MAAM,WAAW,MAAM,CAAE,IAAI,GAAG,MAAM,EAAE,YAAY,GAAG,EAAE;IACxD,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,YAAY,GAAG,YAAY,CAAC;CACrC;AAED,UAAU,YAAY;IACrB,KAAK,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,YAAY,GAAG,MAAM,CAAE,OAAO,MAAM,EAAE,YAAY,CAAE,CAAC;AACjE,oBAAY,YAAY,GAAG,MAAM,CAAE,OAAO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AACjE,MAAM,MAAM,UAAU,GAAG,MAAM,CAAE,OAAO,IAAI,EAAE,SAAS,CAAE,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAE,OAAO,KAAK,EAAE,OAAO,CAAE,YAAY,CAAE,CAAE,CAAC;AAC1E,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAE,OAAO,UAAU,EAAE;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,CAAE,CAAC;AAE/E,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,CAAC;AAE1E,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG,aAAa,GAAG,UAAU,CAAC;AAE3E,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAEhF,MAAM,MAAM,WAAW,GACpB,iBAAiB,GACjB,cAAc,GACd,eAAe,GACf,gBAAgB,CAAC"}
@@ -16,7 +16,7 @@ export interface InputState {
16
16
  isPressEnterToChange: boolean;
17
17
  value?: string;
18
18
  }
19
- export declare type StateReducer<SpecializedAction = {}> = Reducer<InputState, SpecializedAction extends Action ? InputAction | SpecializedAction : InputAction>;
19
+ export type StateReducer<SpecializedAction = {}> = Reducer<InputState, SpecializedAction extends Action ? InputAction | SpecializedAction : InputAction>;
20
20
  export declare const initialStateReducer: StateReducer;
21
21
  export declare const initialInputControlState: InputState;
22
22
  //# sourceMappingURL=state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/input-control/reducer/state.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAErD;;GAEG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAErD,MAAM,WAAW,UAAU;IAC1B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,KAAK,EAAE,OAAO,C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 @@ import type { CSSProperties, ReactNode } from 'react';
4
4
  */
5
5
  import type { WordPressComponentProps } from '../../ui/context';
6
6
  import type { LabelPosition, Size } from '../types';
7
- declare type ContainerProps = {
7
+ type ContainerProps = {
8
8
  disabled?: boolean;
9
9
  hideLabel?: boolean;
10
10
  __unstableInputWidth?: CSSProperties['width'];
11
11
  labelPosition?: LabelPosition;
12
12
  };
13
- declare type RootProps = {
13
+ type RootProps = {
14
14
  isFocused?: boolean;
15
15
  labelPosition?: LabelPosition;
16
16
  };
@@ -23,7 +23,7 @@ export declare const Container: import("@emotion/styled").StyledComponent<{
23
23
  theme?: import("@emotion/react").Theme | undefined;
24
24
  as?: import("react").ElementType<any> | undefined;
25
25
  } & ContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
26
- declare type InputProps = {
26
+ type InputProps = {
27
27
  __next36pxDefaultSize?: boolean;
28
28
  disabled?: boolean;
29
29
  inputSize?: Size;
@@ -64,7 +64,7 @@ export declare const LabelWrapper: import("@emotion/styled").StyledComponent<imp
64
64
  } & {
65
65
  theme?: import("@emotion/react").Theme | undefined;
66
66
  }, {}, {}>;
67
- declare type BackdropProps = {
67
+ type BackdropProps = {
68
68
  disabled?: boolean;
69
69
  isFocused?: boolean;
70
70
  };
@@ -1 +1 @@
1
- {"version":3,"file":"input-control-styles.d.ts","sourceRoot":"","sources":["../../../src/input-control/styles/input-control-styles.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAIhE,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGpD,aAAK,cAAc,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oBAAoB,C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AE,EACtD,OAAO,EACP,KAAK,CACL,gBACwC,CAAC;AAE3C,eAAO,MAAM,YAAY;;;;UAExB,CAAC;AAEF,KAAK,aAAa,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA0BF,eAAO,MAAM,UAAU;;;yHAgBtB,CAAC;AAEF,eAAO,MAAM,MAAM;;;2GAGlB,CAAC;AAEF,eAAO,MAAM,MAAM;;;2GAKlB,CAAC"}
@@ -10,10 +10,10 @@ import type { StateReducer } from './reducer/state';
10
10
  import type { WordPressComponentProps } from '../ui/context';
11
11
  import type { FlexProps } from '../flex/types';
12
12
  import type { BaseControlProps } from '../base-control/types';
13
- export declare type LabelPosition = 'top' | 'bottom' | 'side' | 'edge';
14
- export declare type DragDirection = 'n' | 's' | 'e' | 'w';
15
- export declare type DragProps = Parameters<Parameters<typeof useDrag>[0]>[0];
16
- export declare type Size = 'default' | 'small' | '__unstable-large';
13
+ export type LabelPosition = 'top' | 'bottom' | 'side' | 'edge';
14
+ export type DragDirection = 'n' | 's' | 'e' | 'w';
15
+ export type DragProps = Parameters<Parameters<typeof useDrag>[0]>[0];
16
+ export type Size = 'default' | 'small' | '__unstable-large';
17
17
  interface BaseProps {
18
18
  /**
19
19
  * Start opting into the larger default height that will become the default size in a future version.
@@ -49,7 +49,7 @@ interface BaseProps {
49
49
  */
50
50
  size?: Size;
51
51
  }
52
- export declare type InputChangeCallback<P = {}> = (nextValue: string | undefined, extra: {
52
+ export type InputChangeCallback<P = {}> = (nextValue: string | undefined, extra: {
53
53
  event: SyntheticEvent;
54
54
  } & P) => void;
55
55
  export interface InputFieldProps extends BaseProps {
@@ -171,13 +171,13 @@ export interface InputControlLabelProps {
171
171
  labelPosition?: BaseProps['labelPosition'];
172
172
  size?: BaseProps['size'];
173
173
  }
174
- export declare type InputControlPrefixWrapperProps = {
174
+ export type InputControlPrefixWrapperProps = {
175
175
  /**
176
176
  * The prefix to be inserted.
177
177
  */
178
178
  children: ReactNode;
179
179
  };
180
- export declare type InputControlSuffixWrapperProps = {
180
+ export type InputControlSuffixWrapperProps = {
181
181
  /**
182
182
  * The suffix to be inserted.
183
183
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/input-control/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,aAAa,EACb,SAAS,EACT,cAAc,EACd,sBAAsB,EACtB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,oBAAY,aAAa,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAE/D,oBAAY,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAElD,oBAAY,SAAS,GAAG,UAAU,CAAE,UAAU,CAAE,OAAO,OAAO,CAAE,CAAE,CAAC,CAAE,CAAE,CAAE,CAAC,CAAE,CAAC;AAE7E,oBAAY,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,kBAAkB,CAAC;AAE5D,UAAU,SAAS;IAClB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,oBAAoB,CAAC,EAAE,aAAa,CAAE,OAAO,CAAE,CAAC;IAChD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;;OAMG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC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W,GAAG,MAAM,SAAS,CAAE,EACzE,IAAI,CAAE,gBAAgB,EAAE,MAAM,CAAE;AAChC;;;;;;;;;GASG;AACH,IAAI,CACH,uBAAuB,CAAE,eAAe,EAAE,OAAO,EAAE,KAAK,CAAE,EACxD,cAAc,GACd,QAAQ,GACR,WAAW,GACX,cAAc,GACd,oBAAoB,GACpB,kBAAkB,CACpB;IACF,sBAAsB,CAAC,EAAE,eAAe,CAAE,cAAc,CAAE,CAAC;CAC3D;AAED,MAAM,WAAW,sBAAsB;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,mBAAmB,CAAC,EAAE,SAAS,CAAE,qBAAqB,CAAE,CAAC;IACzD,aAAa,CAAC,EAAE,SAAS,CAAE,eAAe,CAAE,CAAC;IAC7C,IAAI,CAAC,EAAE,SAAS,CAAE,MAAM,CAAE,CAAC;CAC3B;AAED,MAAM,MAAM,8BAA8B,GAAG;IAC5C;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC5C;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC"}
@@ -259,7 +259,7 @@ export declare function useItem(props: WordPressComponentProps<ItemProps, 'div'>
259
259
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
260
260
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
261
261
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
262
- as: "symbol" | "object" | "g" | "clipPath" | "filter" | "mask" | "marker" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "big" | "link" | "sup" | "map" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view";
262
+ as: "symbol" | "object" | "g" | "clipPath" | "filter" | "mask" | "marker" | "button" | "meter" | "textarea" | "style" | "progress" | "text" | "ruby" | "table" | "small" | "sub" | "circle" | "embed" | "pre" | "caption" | "menu" | "menuitem" | "map" | "big" | "link" | "sup" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "main" | "mark" | "meta" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "q" | "rp" | "rt" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "template" | "tbody" | "td" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view";
263
263
  className: string;
264
264
  onClick: import("react").MouseEventHandler<HTMLDivElement> | undefined;
265
265
  wrapperClassName: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type ItemSize = 'small' | 'medium' | 'large';
2
+ type ItemSize = 'small' | 'medium' | 'large';
3
3
  export interface ItemGroupProps {
4
4
  /**
5
5
  * Renders a border around the itemgroup.
@@ -42,7 +42,7 @@ export interface ItemProps {
42
42
  */
43
43
  children: React.ReactNode;
44
44
  }
45
- export declare type ItemGroupContext = {
45
+ export type ItemGroupContext = {
46
46
  /**
47
47
  * When true, each `Item` will be styled as an individual item (e.g. with rounded
48
48
  * borders), instead of being part of the same UI block with the rest of the items.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/item-group/types.ts"],"names":[],"mappings":";AAAA,aAAK,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,MAAM,WAAW,SAAS;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,oBAAY,gBAAgB,GAAG;IAC9B;;;;;OAKG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,IAAI,EAAE,QAAQ,CAAC;CACf,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/item-group/types.ts"],"names":[],"mappings":";AAAA,KAAK,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,MAAM,WAAW,SAAS;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;;;;OAKG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,IAAI,EAAE,QAAQ,CAAC;CACf,CAAC"}
@@ -3,15 +3,15 @@
3
3
  * WordPress dependencies
4
4
  */
5
5
  import type { useKeyboardShortcut } from '@wordpress/compose';
6
- declare type WPKeyboardShortcutConfig = NonNullable<Parameters<typeof useKeyboardShortcut>[2]>;
7
- export declare type KeyboardShortcutProps = {
6
+ type WPKeyboardShortcutConfig = NonNullable<Parameters<typeof useKeyboardShortcut>[2]>;
7
+ export type KeyboardShortcutProps = {
8
8
  shortcut: string | string[];
9
9
  /**
10
10
  * @see {@link https://craig.is/killing/mice Mousetrap documentation}
11
11
  */
12
12
  callback: (event: Mousetrap.ExtendedKeyboardEvent, combo: string) => void;
13
13
  } & Pick<WPKeyboardShortcutConfig, 'bindGlobal' | 'eventName' | 'target'>;
14
- export declare type KeyboardShortcutsProps = {
14
+ export type KeyboardShortcutsProps = {
15
15
  /**
16
16
  * Elements to render, upon whom key events are to be monitored.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/keyboard-shortcuts/types.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAG9D,aAAK,wBAAwB,GAAG,WAAW,CAC1C,UAAU,CAAE,OAAO,mBAAmB,CAAE,CAAE,CAAC,CAAE,CAC7C,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IACnC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B;;OAEG;IACH,QAAQ,EAAE,CAAE,KAAK,EAAE,SAAS,CAAC,qBAAqB,EAAE,KAAK,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AC,EAAE,qBAAqB,CAAE,YAAY,CAAE,CAAC;IACnD;;;OAGG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAE,WAAW,CAAE,CAAC;CACjD,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * External dependencies
3
3
  */
4
4
  import type { ReactNode } from 'react';
5
- export declare type MenuGroupProps = {
5
+ export type MenuGroupProps = {
6
6
  /**
7
7
  * A CSS `class` to give to the container element.
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/menu-group/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,oBAAY,cAAc,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/menu-group/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export function MenuItem(props: any, ref: any): JSX.Element;
2
- declare var _default: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
2
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,7 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { ShortcutProps } from '../shortcut/types';
5
- export declare type MenuItemsChoiceProps = {
5
+ export type MenuItemsChoiceProps = {
6
6
  /**
7
7
  * Array of choices.
8
8
  *
@@ -27,7 +27,7 @@ export declare type MenuItemsChoiceProps = {
27
27
  */
28
28
  onHover: (value: string | null) => void;
29
29
  };
30
- export declare type MenuItemChoice = {
30
+ export type MenuItemChoice = {
31
31
  /**
32
32
  * Human-readable label for choice.
33
33
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/menu-items-choice/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,oBAAY,oBAAoB,GAAG;IAClC;;;;OAIG;IACH,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IACnC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAE,KAAK,EAAE,MAAM,GAAI,IAAI,CAAC;IAChC;;;;;OAKG;IACH,OAAO,EAAE,CAAE,KAAK,EAAE,MAAM,GAAG,IAAI,KAAM,IAAI,CAAC;CAC1C,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAE,UAAU,CAAE,CAAC;IACvC;;OAEG;IACH,CAAE,YAAY,CAAE,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/menu-items-choice/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG;IAClC;;;;OAIG;IACH,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IACnC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAE,KAAK,EAAE,MAAM,GAAI,IAAI,CAAC;IAChC;;;;;OAKG;IACH,OAAO,EAAE,CAAE,KAAK,EAAE,MAAM,GAAG,IAAI,KAAM,IAAI,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAE,UAAU,CAAE,CAAC;IACvC;;OAEG;IACH,CAAE,YAAY,CAAE,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -6,7 +6,7 @@ import type { AriaRole, CSSProperties, ReactNode, KeyboardEventHandler, Keyboard
6
6
  * WordPress dependencies
7
7
  */
8
8
  import type { useFocusOnMount } from '@wordpress/compose';
9
- export declare type ModalProps = {
9
+ export type ModalProps = {
10
10
  aria?: {
11
11
  /**
12
12
  * If this property is added, it will be added to the modal content
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/modal/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,QAAQ,EACR,aAAa,EACb,SAAS,EACT,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,MAAM,OAAO,CAAC;AAEf;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,oBAAY,UAAU,GAAG;IACxB,IAAI,CAAC,EAAE;QACN;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;Q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;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;OAQG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC"}
@@ -1,3 +1,3 @@
1
- declare var _default: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
1
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=container.d.ts.map
@@ -3,7 +3,7 @@ export function NavigableMenu({ role, orientation, ...rest }: {
3
3
  role?: string | undefined;
4
4
  orientation?: string | undefined;
5
5
  }, ref: any): JSX.Element;
6
- declare var _default: import("react").ForwardRefExoticComponent<Pick<{
6
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<{
7
7
  [x: string]: any;
8
8
  role?: string | undefined;
9
9
  orientation?: string | undefined;
@@ -2,7 +2,7 @@ export function TabbableContainer({ eventToOffset, ...props }: {
2
2
  [x: string]: any;
3
3
  eventToOffset: any;
4
4
  }, ref: any): JSX.Element;
5
- declare var _default: import("react").ForwardRefExoticComponent<Pick<{
5
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<{
6
6
  [x: string]: any;
7
7
  eventToOffset: any;
8
8
  }, string | number> & import("react").RefAttributes<any>>;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { NavigationBackButtonProps } from '../types';
3
+ export declare const NavigationBackButton: import("react").ForwardRefExoticComponent<NavigationBackButtonProps & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
4
+ export default NavigationBackButton;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/navigation/back-button/index.tsx"],"names":[],"mappings":";AAiBA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAiD1D,eAAO,MAAM,oBAAoB,6IAEhC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const ROOT_MENU = "root";
2
+ export declare const SEARCH_FOCUS_DELAY = 100;
3
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/navigation/constants.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,SAAS,CAAC;AAChC,eAAO,MAAM,kBAAkB,MAAM,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { NavigationContext as NavigationContextType } from './types';
3
+ export declare const NavigationContext: import("react").Context<NavigationContextType>;
4
+ export declare const useNavigationContext: () => NavigationContextType;
5
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/navigation/context.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAM1E,eAAO,MAAM,iBAAiB,gDAmB3B,CAAC;AACJ,eAAO,MAAM,oBAAoB,6BAAwC,CAAC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Internal dependencies
4
+ */
5
+ import type { NavigationGroupContext as NavigationGroupContextType } from '../types';
6
+ export declare const NavigationGroupContext: import("react").Context<NavigationGroupContextType>;
7
+ export declare const useNavigationGroupContext: () => NavigationGroupContextType;
8
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/navigation/group/context.tsx"],"names":[],"mappings":";AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,sBAAsB,IAAI,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAErF,eAAO,MAAM,sBAAsB,qDACiC,CAAC;AAErE,eAAO,MAAM,yBAAyB,kCACD,CAAC"}