@wordpress/components 23.3.7 → 23.3.8

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 (450) hide show
  1. package/package.json +19 -19
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/build-types/angle-picker-control/angle-circle.d.ts +0 -6
  4. package/build-types/angle-picker-control/angle-circle.d.ts.map +0 -1
  5. package/build-types/angle-picker-control/index.d.ts +0 -29
  6. package/build-types/angle-picker-control/index.d.ts.map +0 -1
  7. package/build-types/angle-picker-control/stories/index.d.ts +0 -15
  8. package/build-types/angle-picker-control/stories/index.d.ts.map +0 -1
  9. package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts +0 -25
  10. package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts.map +0 -1
  11. package/build-types/angle-picker-control/types.d.ts +0 -26
  12. package/build-types/angle-picker-control/types.d.ts.map +0 -1
  13. package/build-types/animate/stories/index.d.ts +0 -18
  14. package/build-types/animate/stories/index.d.ts.map +0 -1
  15. package/build-types/animate/types.d.ts +0 -30
  16. package/build-types/animate/types.d.ts.map +0 -1
  17. package/build-types/autocomplete/autocompleter-ui.d.ts +0 -4
  18. package/build-types/autocomplete/autocompleter-ui.d.ts.map +0 -1
  19. package/build-types/autocomplete/get-default-use-items.d.ts +0 -3
  20. package/build-types/autocomplete/get-default-use-items.d.ts.map +0 -1
  21. package/build-types/autocomplete/index.d.ts +0 -23
  22. package/build-types/autocomplete/index.d.ts.map +0 -1
  23. package/build-types/autocomplete/test/index.d.ts +0 -2
  24. package/build-types/autocomplete/test/index.d.ts.map +0 -1
  25. package/build-types/autocomplete/types.d.ts +0 -185
  26. package/build-types/autocomplete/types.d.ts.map +0 -1
  27. package/build-types/border-box-control/test/index.d.ts +0 -2
  28. package/build-types/border-box-control/test/index.d.ts.map +0 -1
  29. package/build-types/border-box-control/test/utils.d.ts +0 -2
  30. package/build-types/border-box-control/test/utils.d.ts.map +0 -1
  31. package/build-types/box-control/all-input-control.d.ts +0 -4
  32. package/build-types/box-control/all-input-control.d.ts.map +0 -1
  33. package/build-types/box-control/axial-input-controls.d.ts +0 -4
  34. package/build-types/box-control/axial-input-controls.d.ts.map +0 -1
  35. package/build-types/box-control/icon.d.ts +0 -8
  36. package/build-types/box-control/icon.d.ts.map +0 -1
  37. package/build-types/box-control/index.d.ts +0 -31
  38. package/build-types/box-control/index.d.ts.map +0 -1
  39. package/build-types/box-control/input-controls.d.ts +0 -4
  40. package/build-types/box-control/input-controls.d.ts.map +0 -1
  41. package/build-types/box-control/linked-button.d.ts +0 -9
  42. package/build-types/box-control/linked-button.d.ts.map +0 -1
  43. package/build-types/box-control/styles/box-control-icon-styles.d.ts +0 -42
  44. package/build-types/box-control/styles/box-control-icon-styles.d.ts.map +0 -1
  45. package/build-types/box-control/styles/box-control-styles.d.ts +0 -42
  46. package/build-types/box-control/styles/box-control-styles.d.ts.map +0 -1
  47. package/build-types/box-control/styles/box-control-visualizer-styles.d.ts +0 -46
  48. package/build-types/box-control/styles/box-control-visualizer-styles.d.ts.map +0 -1
  49. package/build-types/box-control/test/index.d.ts +0 -2
  50. package/build-types/box-control/test/index.d.ts.map +0 -1
  51. package/build-types/box-control/types.d.ts +0 -99
  52. package/build-types/box-control/types.d.ts.map +0 -1
  53. package/build-types/box-control/unit-control.d.ts +0 -4
  54. package/build-types/box-control/unit-control.d.ts.map +0 -1
  55. package/build-types/box-control/utils.d.ts +0 -84
  56. package/build-types/box-control/utils.d.ts.map +0 -1
  57. package/build-types/circular-option-picker/stories/index.d.ts +0 -14
  58. package/build-types/circular-option-picker/stories/index.d.ts.map +0 -1
  59. package/build-types/circular-option-picker/types.d.ts +0 -49
  60. package/build-types/circular-option-picker/types.d.ts.map +0 -1
  61. package/build-types/color-picker/color-display.d.ts +0 -14
  62. package/build-types/color-picker/color-display.d.ts.map +0 -1
  63. package/build-types/color-picker/stories/index.d.ts +0 -19
  64. package/build-types/color-picker/stories/index.d.ts.map +0 -1
  65. package/build-types/color-picker/test/index.d.ts +0 -2
  66. package/build-types/color-picker/test/index.d.ts.map +0 -1
  67. package/build-types/combobox-control/index.d.ts +0 -51
  68. package/build-types/combobox-control/index.d.ts.map +0 -1
  69. package/build-types/combobox-control/stories/index.d.ts +0 -18
  70. package/build-types/combobox-control/stories/index.d.ts.map +0 -1
  71. package/build-types/combobox-control/styles.d.ts +0 -8
  72. package/build-types/combobox-control/styles.d.ts.map +0 -1
  73. package/build-types/combobox-control/test/index.d.ts +0 -2
  74. package/build-types/combobox-control/test/index.d.ts.map +0 -1
  75. package/build-types/combobox-control/types.d.ts +0 -69
  76. package/build-types/combobox-control/types.d.ts.map +0 -1
  77. package/build-types/custom-gradient-picker/constants.d.ts +0 -25
  78. package/build-types/custom-gradient-picker/constants.d.ts.map +0 -1
  79. package/build-types/custom-gradient-picker/gradient-bar/constants.d.ts +0 -8
  80. package/build-types/custom-gradient-picker/gradient-bar/constants.d.ts.map +0 -1
  81. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts +0 -8
  82. package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts.map +0 -1
  83. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts +0 -4
  84. package/build-types/custom-gradient-picker/gradient-bar/index.d.ts.map +0 -1
  85. package/build-types/custom-gradient-picker/gradient-bar/test/utils.d.ts +0 -2
  86. package/build-types/custom-gradient-picker/gradient-bar/test/utils.d.ts.map +0 -1
  87. package/build-types/custom-gradient-picker/gradient-bar/utils.d.ts +0 -90
  88. package/build-types/custom-gradient-picker/gradient-bar/utils.d.ts.map +0 -1
  89. package/build-types/custom-gradient-picker/index.d.ts +0 -28
  90. package/build-types/custom-gradient-picker/index.d.ts.map +0 -1
  91. package/build-types/custom-gradient-picker/serializer.d.ts +0 -10
  92. package/build-types/custom-gradient-picker/serializer.d.ts.map +0 -1
  93. package/build-types/custom-gradient-picker/stories/index.d.ts +0 -12
  94. package/build-types/custom-gradient-picker/stories/index.d.ts.map +0 -1
  95. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts +0 -12
  96. package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts.map +0 -1
  97. package/build-types/custom-gradient-picker/test/serializer.d.ts +0 -2
  98. package/build-types/custom-gradient-picker/test/serializer.d.ts.map +0 -1
  99. package/build-types/custom-gradient-picker/types.d.ts +0 -118
  100. package/build-types/custom-gradient-picker/types.d.ts.map +0 -1
  101. package/build-types/custom-gradient-picker/utils.d.ts +0 -13
  102. package/build-types/custom-gradient-picker/utils.d.ts.map +0 -1
  103. package/build-types/date-time/date/test/utils.d.ts +0 -2
  104. package/build-types/date-time/date/test/utils.d.ts.map +0 -1
  105. package/build-types/date-time/date/utils.d.ts +0 -15
  106. package/build-types/date-time/date/utils.d.ts.map +0 -1
  107. package/build-types/date-time/date.d.ts +0 -24
  108. package/build-types/date-time/date.d.ts.map +0 -1
  109. package/build-types/date-time/stories/index.d.ts +0 -14
  110. package/build-types/date-time/stories/index.d.ts.map +0 -1
  111. package/build-types/date-time/test/date.d.ts +0 -2
  112. package/build-types/date-time/test/date.d.ts.map +0 -1
  113. package/build-types/date-time/test/time.d.ts +0 -2
  114. package/build-types/date-time/test/time.d.ts.map +0 -1
  115. package/build-types/date-time/test/utils.d.ts +0 -2
  116. package/build-types/date-time/test/utils.d.ts.map +0 -1
  117. package/build-types/date-time/time.d.ts +0 -25
  118. package/build-types/date-time/time.d.ts.map +0 -1
  119. package/build-types/date-time/timezone.d.ts +0 -7
  120. package/build-types/date-time/timezone.d.ts.map +0 -1
  121. package/build-types/dimension-control/index.d.ts +0 -28
  122. package/build-types/dimension-control/index.d.ts.map +0 -1
  123. package/build-types/dimension-control/sizes.d.ts +0 -26
  124. package/build-types/dimension-control/sizes.d.ts.map +0 -1
  125. package/build-types/dimension-control/stories/index.d.ts +0 -12
  126. package/build-types/dimension-control/stories/index.d.ts.map +0 -1
  127. package/build-types/dimension-control/types.d.ts +0 -47
  128. package/build-types/dimension-control/types.d.ts.map +0 -1
  129. package/build-types/duotone-picker/color-list-picker/index.d.ts +0 -5
  130. package/build-types/duotone-picker/color-list-picker/index.d.ts.map +0 -1
  131. package/build-types/duotone-picker/color-list-picker/types.d.ts +0 -42
  132. package/build-types/duotone-picker/color-list-picker/types.d.ts.map +0 -1
  133. package/build-types/duotone-picker/custom-duotone-bar.d.ts +0 -6
  134. package/build-types/duotone-picker/custom-duotone-bar.d.ts.map +0 -1
  135. package/build-types/duotone-picker/duotone-picker.d.ts +0 -38
  136. package/build-types/duotone-picker/duotone-picker.d.ts.map +0 -1
  137. package/build-types/duotone-picker/duotone-swatch.d.ts +0 -5
  138. package/build-types/duotone-picker/duotone-swatch.d.ts.map +0 -1
  139. package/build-types/duotone-picker/index.d.ts +0 -3
  140. package/build-types/duotone-picker/index.d.ts.map +0 -1
  141. package/build-types/duotone-picker/stories/duotone-picker.d.ts +0 -12
  142. package/build-types/duotone-picker/stories/duotone-picker.d.ts.map +0 -1
  143. package/build-types/duotone-picker/stories/duotone-swatch.d.ts +0 -14
  144. package/build-types/duotone-picker/stories/duotone-swatch.d.ts.map +0 -1
  145. package/build-types/duotone-picker/types.d.ts +0 -60
  146. package/build-types/duotone-picker/types.d.ts.map +0 -1
  147. package/build-types/duotone-picker/utils.d.ts +0 -52
  148. package/build-types/duotone-picker/utils.d.ts.map +0 -1
  149. package/build-types/experiments.d.ts +0 -4
  150. package/build-types/experiments.d.ts.map +0 -1
  151. package/build-types/flyout/context.d.ts +0 -6
  152. package/build-types/flyout/context.d.ts.map +0 -1
  153. package/build-types/flyout/flyout/component.d.ts +0 -21
  154. package/build-types/flyout/flyout/component.d.ts.map +0 -1
  155. package/build-types/flyout/flyout/hook.d.ts +0 -270
  156. package/build-types/flyout/flyout/hook.d.ts.map +0 -1
  157. package/build-types/flyout/flyout/index.d.ts +0 -3
  158. package/build-types/flyout/flyout/index.d.ts.map +0 -1
  159. package/build-types/flyout/flyout-content/component.d.ts +0 -3
  160. package/build-types/flyout/flyout-content/component.d.ts.map +0 -1
  161. package/build-types/flyout/flyout-content/index.d.ts +0 -2
  162. package/build-types/flyout/flyout-content/index.d.ts.map +0 -1
  163. package/build-types/flyout/index.d.ts +0 -2
  164. package/build-types/flyout/index.d.ts.map +0 -1
  165. package/build-types/flyout/styles.d.ts +0 -22
  166. package/build-types/flyout/styles.d.ts.map +0 -1
  167. package/build-types/flyout/types.d.ts +0 -80
  168. package/build-types/flyout/types.d.ts.map +0 -1
  169. package/build-types/flyout/utils.d.ts +0 -8
  170. package/build-types/flyout/utils.d.ts.map +0 -1
  171. package/build-types/form-token-field/test/lib/fixtures.d.ts +0 -26
  172. package/build-types/form-token-field/test/lib/fixtures.d.ts.map +0 -1
  173. package/build-types/form-token-field/test/lib/token-field-wrapper.d.ts +0 -21
  174. package/build-types/form-token-field/test/lib/token-field-wrapper.d.ts.map +0 -1
  175. package/build-types/gradient-picker/index.d.ts +0 -50
  176. package/build-types/gradient-picker/index.d.ts.map +0 -1
  177. package/build-types/gradient-picker/stories/index.d.ts +0 -14
  178. package/build-types/gradient-picker/stories/index.d.ts.map +0 -1
  179. package/build-types/gradient-picker/types.d.ts +0 -87
  180. package/build-types/gradient-picker/types.d.ts.map +0 -1
  181. package/build-types/guide/icons.d.ts +0 -5
  182. package/build-types/guide/icons.d.ts.map +0 -1
  183. package/build-types/guide/index.d.ts +0 -37
  184. package/build-types/guide/index.d.ts.map +0 -1
  185. package/build-types/guide/page-control.d.ts +0 -4
  186. package/build-types/guide/page-control.d.ts.map +0 -1
  187. package/build-types/guide/page.d.ts +0 -7
  188. package/build-types/guide/page.d.ts.map +0 -1
  189. package/build-types/guide/stories/index.d.ts +0 -9
  190. package/build-types/guide/stories/index.d.ts.map +0 -1
  191. package/build-types/guide/test/index.d.ts +0 -2
  192. package/build-types/guide/test/index.d.ts.map +0 -1
  193. package/build-types/guide/types.d.ts +0 -65
  194. package/build-types/guide/types.d.ts.map +0 -1
  195. package/build-types/h-stack/stories/e2e/index.d.ts +0 -9
  196. package/build-types/h-stack/stories/e2e/index.d.ts.map +0 -1
  197. package/build-types/higher-order/navigate-regions/index.d.ts +0 -46
  198. package/build-types/higher-order/navigate-regions/index.d.ts.map +0 -1
  199. package/build-types/higher-order/with-fallback-styles/index.d.ts +0 -44
  200. package/build-types/higher-order/with-fallback-styles/index.d.ts.map +0 -1
  201. package/build-types/higher-order/with-filters/index.d.ts +0 -89
  202. package/build-types/higher-order/with-filters/index.d.ts.map +0 -1
  203. package/build-types/higher-order/with-filters/test/index.d.ts +0 -2
  204. package/build-types/higher-order/with-filters/test/index.d.ts.map +0 -1
  205. package/build-types/higher-order/with-focus-return/index.d.ts +0 -20
  206. package/build-types/higher-order/with-focus-return/index.d.ts.map +0 -1
  207. package/build-types/higher-order/with-focus-return/test/index.d.ts +0 -2
  208. package/build-types/higher-order/with-focus-return/test/index.d.ts.map +0 -1
  209. package/build-types/higher-order/with-notices/index.d.ts +0 -37
  210. package/build-types/higher-order/with-notices/index.d.ts.map +0 -1
  211. package/build-types/higher-order/with-notices/test/index.d.ts +0 -2
  212. package/build-types/higher-order/with-notices/test/index.d.ts.map +0 -1
  213. package/build-types/higher-order/with-notices/types.d.ts +0 -34
  214. package/build-types/higher-order/with-notices/types.d.ts.map +0 -1
  215. package/build-types/higher-order/with-spoken-messages/test/index.d.ts +0 -2
  216. package/build-types/higher-order/with-spoken-messages/test/index.d.ts.map +0 -1
  217. package/build-types/icon/test/index.d.ts +0 -2
  218. package/build-types/icon/test/index.d.ts.map +0 -1
  219. package/build-types/index.d.ts +0 -129
  220. package/build-types/index.d.ts.map +0 -1
  221. package/build-types/menu-items-choice/index.d.ts +0 -38
  222. package/build-types/menu-items-choice/index.d.ts.map +0 -1
  223. package/build-types/menu-items-choice/stories/index.d.ts +0 -12
  224. package/build-types/menu-items-choice/stories/index.d.ts.map +0 -1
  225. package/build-types/menu-items-choice/types.d.ts +0 -53
  226. package/build-types/menu-items-choice/types.d.ts.map +0 -1
  227. package/build-types/navigable-container/stories/navigable-menu.d.ts +0 -12
  228. package/build-types/navigable-container/stories/navigable-menu.d.ts.map +0 -1
  229. package/build-types/navigable-container/stories/tabbable-container.d.ts +0 -12
  230. package/build-types/navigable-container/stories/tabbable-container.d.ts.map +0 -1
  231. package/build-types/navigable-container/test/navigable-menu.d.ts +0 -2
  232. package/build-types/navigable-container/test/navigable-menu.d.ts.map +0 -1
  233. package/build-types/navigable-container/test/tababble-container.d.ts +0 -2
  234. package/build-types/navigable-container/test/tababble-container.d.ts.map +0 -1
  235. package/build-types/navigable-container/types.d.ts +0 -61
  236. package/build-types/navigable-container/types.d.ts.map +0 -1
  237. package/build-types/navigation/back-button/index.d.ts +0 -5
  238. package/build-types/navigation/back-button/index.d.ts.map +0 -1
  239. package/build-types/navigation/constants.d.ts +0 -3
  240. package/build-types/navigation/constants.d.ts.map +0 -1
  241. package/build-types/navigation/context.d.ts +0 -5
  242. package/build-types/navigation/context.d.ts.map +0 -1
  243. package/build-types/navigation/group/context.d.ts +0 -8
  244. package/build-types/navigation/group/context.d.ts.map +0 -1
  245. package/build-types/navigation/group/index.d.ts +0 -5
  246. package/build-types/navigation/group/index.d.ts.map +0 -1
  247. package/build-types/navigation/index.d.ts +0 -46
  248. package/build-types/navigation/index.d.ts.map +0 -1
  249. package/build-types/navigation/item/base-content.d.ts +0 -4
  250. package/build-types/navigation/item/base-content.d.ts.map +0 -1
  251. package/build-types/navigation/item/base.d.ts +0 -4
  252. package/build-types/navigation/item/base.d.ts.map +0 -1
  253. package/build-types/navigation/item/index.d.ts +0 -5
  254. package/build-types/navigation/item/index.d.ts.map +0 -1
  255. package/build-types/navigation/item/use-navigation-tree-item.d.ts +0 -3
  256. package/build-types/navigation/item/use-navigation-tree-item.d.ts.map +0 -1
  257. package/build-types/navigation/menu/context.d.ts +0 -8
  258. package/build-types/navigation/menu/context.d.ts.map +0 -1
  259. package/build-types/navigation/menu/index.d.ts +0 -5
  260. package/build-types/navigation/menu/index.d.ts.map +0 -1
  261. package/build-types/navigation/menu/menu-title-search.d.ts +0 -4
  262. package/build-types/navigation/menu/menu-title-search.d.ts.map +0 -1
  263. package/build-types/navigation/menu/menu-title.d.ts +0 -4
  264. package/build-types/navigation/menu/menu-title.d.ts.map +0 -1
  265. package/build-types/navigation/menu/search-no-results-found.d.ts +0 -4
  266. package/build-types/navigation/menu/search-no-results-found.d.ts.map +0 -1
  267. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts +0 -3
  268. package/build-types/navigation/menu/use-navigation-tree-menu.d.ts.map +0 -1
  269. package/build-types/navigation/stories/index.d.ts +0 -18
  270. package/build-types/navigation/stories/index.d.ts.map +0 -1
  271. package/build-types/navigation/stories/utils/controlled-state.d.ts +0 -7
  272. package/build-types/navigation/stories/utils/controlled-state.d.ts.map +0 -1
  273. package/build-types/navigation/stories/utils/default.d.ts +0 -10
  274. package/build-types/navigation/stories/utils/default.d.ts.map +0 -1
  275. package/build-types/navigation/stories/utils/group.d.ts +0 -10
  276. package/build-types/navigation/stories/utils/group.d.ts.map +0 -1
  277. package/build-types/navigation/stories/utils/hide-if-empty.d.ts +0 -10
  278. package/build-types/navigation/stories/utils/hide-if-empty.d.ts.map +0 -1
  279. package/build-types/navigation/stories/utils/more-examples.d.ts +0 -10
  280. package/build-types/navigation/stories/utils/more-examples.d.ts.map +0 -1
  281. package/build-types/navigation/stories/utils/search.d.ts +0 -10
  282. package/build-types/navigation/stories/utils/search.d.ts.map +0 -1
  283. package/build-types/navigation/styles/navigation-styles.d.ts +0 -58
  284. package/build-types/navigation/styles/navigation-styles.d.ts.map +0 -1
  285. package/build-types/navigation/test/index.d.ts +0 -2
  286. package/build-types/navigation/test/index.d.ts.map +0 -1
  287. package/build-types/navigation/types.d.ts +0 -267
  288. package/build-types/navigation/types.d.ts.map +0 -1
  289. package/build-types/navigation/use-create-navigation-tree.d.ts +0 -15
  290. package/build-types/navigation/use-create-navigation-tree.d.ts.map +0 -1
  291. package/build-types/navigation/use-navigation-tree-nodes.d.ts +0 -11
  292. package/build-types/navigation/use-navigation-tree-nodes.d.ts.map +0 -1
  293. package/build-types/navigation/utils.d.ts +0 -3
  294. package/build-types/navigation/utils.d.ts.map +0 -1
  295. package/build-types/palette-edit/index.d.ts +0 -37
  296. package/build-types/palette-edit/index.d.ts.map +0 -1
  297. package/build-types/palette-edit/stories/index.d.ts +0 -13
  298. package/build-types/palette-edit/stories/index.d.ts.map +0 -1
  299. package/build-types/palette-edit/styles.d.ts +0 -57
  300. package/build-types/palette-edit/styles.d.ts.map +0 -1
  301. package/build-types/palette-edit/test/index.d.ts +0 -2
  302. package/build-types/palette-edit/test/index.d.ts.map +0 -1
  303. package/build-types/palette-edit/types.d.ts +0 -122
  304. package/build-types/palette-edit/types.d.ts.map +0 -1
  305. package/build-types/panel/body.d.ts +0 -9
  306. package/build-types/panel/body.d.ts.map +0 -1
  307. package/build-types/panel/header.d.ts +0 -13
  308. package/build-types/panel/header.d.ts.map +0 -1
  309. package/build-types/panel/index.d.ts +0 -21
  310. package/build-types/panel/index.d.ts.map +0 -1
  311. package/build-types/panel/row.d.ts +0 -12
  312. package/build-types/panel/row.d.ts.map +0 -1
  313. package/build-types/panel/stories/index.d.ts +0 -19
  314. package/build-types/panel/stories/index.d.ts.map +0 -1
  315. package/build-types/panel/test/body.d.ts +0 -2
  316. package/build-types/panel/test/body.d.ts.map +0 -1
  317. package/build-types/panel/test/header.d.ts +0 -2
  318. package/build-types/panel/test/header.d.ts.map +0 -1
  319. package/build-types/panel/test/index.d.ts +0 -2
  320. package/build-types/panel/test/index.d.ts.map +0 -1
  321. package/build-types/panel/test/row.d.ts +0 -2
  322. package/build-types/panel/test/row.d.ts.map +0 -1
  323. package/build-types/panel/types.d.ts +0 -108
  324. package/build-types/panel/types.d.ts.map +0 -1
  325. package/build-types/popover/overlay-middlewares.d.ts +0 -9
  326. package/build-types/popover/overlay-middlewares.d.ts.map +0 -1
  327. package/build-types/radio-context/index.d.ts +0 -6
  328. package/build-types/radio-context/index.d.ts.map +0 -1
  329. package/build-types/spinner/styles/spinner-styles.d.ts +0 -5
  330. package/build-types/spinner/styles/spinner-styles.d.ts.map +0 -1
  331. package/build-types/swatch/index.d.ts +0 -5
  332. package/build-types/swatch/index.d.ts.map +0 -1
  333. package/build-types/swatch/types.d.ts +0 -11
  334. package/build-types/swatch/types.d.ts.map +0 -1
  335. package/build-types/toggle-group-control/component.d.ts +0 -4
  336. package/build-types/toggle-group-control/component.d.ts.map +0 -1
  337. package/build-types/toggle-group-control/styles.d.ts +0 -25
  338. package/build-types/toggle-group-control/styles.d.ts.map +0 -1
  339. package/build-types/toggle-group-control/toggle-group-control-backdrop.d.ts +0 -9
  340. package/build-types/toggle-group-control/toggle-group-control-backdrop.d.ts.map +0 -1
  341. package/build-types/toggle-group-control/toggle-group-control-button.d.ts +0 -6
  342. package/build-types/toggle-group-control/toggle-group-control-button.d.ts.map +0 -1
  343. package/build-types/toggle-group-control/toggle-group-control-context.d.ts +0 -9
  344. package/build-types/toggle-group-control/toggle-group-control-context.d.ts.map +0 -1
  345. package/build-types/toggle-group-control/toggle-group-control-option/styles.d.ts +0 -15
  346. package/build-types/toggle-group-control/toggle-group-control-option/styles.d.ts.map +0 -1
  347. package/build-types/toggle-group-control/toggle-group-control-option.d.ts +0 -4
  348. package/build-types/toggle-group-control/toggle-group-control-option.d.ts.map +0 -1
  349. package/build-types/toolbar/index.d.ts +0 -7
  350. package/build-types/toolbar/index.d.ts.map +0 -1
  351. package/build-types/toolbar/stories/index.d.ts +0 -14
  352. package/build-types/toolbar/stories/index.d.ts.map +0 -1
  353. package/build-types/toolbar/test/index.d.ts +0 -2
  354. package/build-types/toolbar/test/index.d.ts.map +0 -1
  355. package/build-types/toolbar/test/toolbar-group.d.ts +0 -2
  356. package/build-types/toolbar/test/toolbar-group.d.ts.map +0 -1
  357. package/build-types/toolbar/toolbar/index.d.ts +0 -25
  358. package/build-types/toolbar/toolbar/index.d.ts.map +0 -1
  359. package/build-types/toolbar/toolbar/toolbar-container.d.ts +0 -5
  360. package/build-types/toolbar/toolbar/toolbar-container.d.ts.map +0 -1
  361. package/build-types/toolbar/toolbar/types.d.ts +0 -15
  362. package/build-types/toolbar/toolbar/types.d.ts.map +0 -1
  363. package/build-types/toolbar/toolbar-button/index.d.ts +0 -166
  364. package/build-types/toolbar/toolbar-button/index.d.ts.map +0 -1
  365. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts +0 -8
  366. package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts.map +0 -1
  367. package/build-types/toolbar/toolbar-button/types.d.ts +0 -45
  368. package/build-types/toolbar/toolbar-button/types.d.ts.map +0 -1
  369. package/build-types/toolbar/toolbar-context/index.d.ts +0 -8
  370. package/build-types/toolbar/toolbar-context/index.d.ts.map +0 -1
  371. package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts +0 -3
  372. package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts.map +0 -1
  373. package/build-types/toolbar/toolbar-group/index.d.ts +0 -39
  374. package/build-types/toolbar/toolbar-group/index.d.ts.map +0 -1
  375. package/build-types/toolbar/toolbar-group/toolbar-group-collapsed.d.ts +0 -7
  376. package/build-types/toolbar/toolbar-group/toolbar-group-collapsed.d.ts.map +0 -1
  377. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts +0 -7
  378. package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts.map +0 -1
  379. package/build-types/toolbar/toolbar-item/index.d.ts +0 -9
  380. package/build-types/toolbar/toolbar-item/index.d.ts.map +0 -1
  381. package/build-types/tools-panel/stories/index.d.ts +0 -17
  382. package/build-types/tools-panel/stories/index.d.ts.map +0 -1
  383. package/build-types/tools-panel/test/index.d.ts +0 -2
  384. package/build-types/tools-panel/test/index.d.ts.map +0 -1
  385. package/build-types/tree-grid/cell.d.ts +0 -13
  386. package/build-types/tree-grid/cell.d.ts.map +0 -1
  387. package/build-types/tree-grid/index.d.ts +0 -70
  388. package/build-types/tree-grid/index.d.ts.map +0 -1
  389. package/build-types/tree-grid/item.d.ts +0 -12
  390. package/build-types/tree-grid/item.d.ts.map +0 -1
  391. package/build-types/tree-grid/roving-tab-index-context.d.ts +0 -10
  392. package/build-types/tree-grid/roving-tab-index-context.d.ts.map +0 -1
  393. package/build-types/tree-grid/roving-tab-index-item.d.ts +0 -5
  394. package/build-types/tree-grid/roving-tab-index-item.d.ts.map +0 -1
  395. package/build-types/tree-grid/roving-tab-index.d.ts +0 -10
  396. package/build-types/tree-grid/roving-tab-index.d.ts.map +0 -1
  397. package/build-types/tree-grid/row.d.ts +0 -12
  398. package/build-types/tree-grid/row.d.ts.map +0 -1
  399. package/build-types/tree-grid/stories/index.d.ts +0 -13
  400. package/build-types/tree-grid/stories/index.d.ts.map +0 -1
  401. package/build-types/tree-grid/test/cell.d.ts +0 -2
  402. package/build-types/tree-grid/test/cell.d.ts.map +0 -1
  403. package/build-types/tree-grid/test/index.d.ts +0 -2
  404. package/build-types/tree-grid/test/index.d.ts.map +0 -1
  405. package/build-types/tree-grid/test/roving-tab-index-item.d.ts +0 -2
  406. package/build-types/tree-grid/test/roving-tab-index-item.d.ts.map +0 -1
  407. package/build-types/tree-grid/test/roving-tab-index.d.ts +0 -2
  408. package/build-types/tree-grid/test/roving-tab-index.d.ts.map +0 -1
  409. package/build-types/tree-grid/test/row.d.ts +0 -2
  410. package/build-types/tree-grid/test/row.d.ts.map +0 -1
  411. package/build-types/tree-grid/types.d.ts +0 -116
  412. package/build-types/tree-grid/types.d.ts.map +0 -1
  413. package/build-types/ui/color-picker/color-display.d.ts +0 -13
  414. package/build-types/ui/color-picker/color-display.d.ts.map +0 -1
  415. package/build-types/ui/color-picker/color-input.d.ts +0 -13
  416. package/build-types/ui/color-picker/color-input.d.ts.map +0 -1
  417. package/build-types/ui/color-picker/component.d.ts +0 -12
  418. package/build-types/ui/color-picker/component.d.ts.map +0 -1
  419. package/build-types/ui/color-picker/hex-input.d.ts +0 -12
  420. package/build-types/ui/color-picker/hex-input.d.ts.map +0 -1
  421. package/build-types/ui/color-picker/hsl-input.d.ts +0 -12
  422. package/build-types/ui/color-picker/hsl-input.d.ts.map +0 -1
  423. package/build-types/ui/color-picker/index.d.ts +0 -2
  424. package/build-types/ui/color-picker/index.d.ts.map +0 -1
  425. package/build-types/ui/color-picker/input-with-slider.d.ts +0 -11
  426. package/build-types/ui/color-picker/input-with-slider.d.ts.map +0 -1
  427. package/build-types/ui/color-picker/legacy-adapter.d.ts +0 -5
  428. package/build-types/ui/color-picker/legacy-adapter.d.ts.map +0 -1
  429. package/build-types/ui/color-picker/picker.d.ts +0 -12
  430. package/build-types/ui/color-picker/picker.d.ts.map +0 -1
  431. package/build-types/ui/color-picker/rgb-input.d.ts +0 -12
  432. package/build-types/ui/color-picker/rgb-input.d.ts.map +0 -1
  433. package/build-types/ui/color-picker/styles.d.ts +0 -76
  434. package/build-types/ui/color-picker/styles.d.ts.map +0 -1
  435. package/build-types/ui/color-picker/types.d.ts +0 -2
  436. package/build-types/ui/color-picker/types.d.ts.map +0 -1
  437. package/build-types/ui/color-picker/use-deprecated-props.d.ts +0 -50
  438. package/build-types/ui/color-picker/use-deprecated-props.d.ts.map +0 -1
  439. package/build-types/ui/utils/create-component.d.ts +0 -21
  440. package/build-types/ui/utils/create-component.d.ts.map +0 -1
  441. package/build-types/utils/hooks/use-combined-ref.d.ts +0 -8
  442. package/build-types/utils/hooks/use-combined-ref.d.ts.map +0 -1
  443. package/build-types/utils/hooks/use-jump-step.d.ts +0 -25
  444. package/build-types/utils/hooks/use-jump-step.d.ts.map +0 -1
  445. package/build-types/utils/keyboard.d.ts +0 -12
  446. package/build-types/utils/keyboard.d.ts.map +0 -1
  447. package/build-types/utils/use-deprecated-props.d.ts +0 -9
  448. package/build-types/utils/use-deprecated-props.d.ts.map +0 -1
  449. package/build-types/v-stack/stories/e2e/index.d.ts +0 -9
  450. package/build-types/v-stack/stories/e2e/index.d.ts.map +0 -1
@@ -1,87 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Internal dependencies
4
- */
5
- import type { HeadingSize } from '../heading/types';
6
- export type GradientObject = {
7
- gradient: string;
8
- name: string;
9
- slug: string;
10
- };
11
- export type OriginObject = {
12
- name: string;
13
- gradients: GradientObject[];
14
- };
15
- export type GradientsProp = GradientObject[] | OriginObject[];
16
- type GradientPickerBaseProps = {
17
- /**
18
- * The class name added to the wrapper.
19
- */
20
- className?: string;
21
- /**
22
- * The function called when a new gradient has been defined. It is passed to
23
- * the `currentGradient` as an argument.
24
- */
25
- onChange: (currentGradient: string | undefined) => void;
26
- /**
27
- * The current value of the gradient. Pass a css gradient string (See default value for example).
28
- * Optionally pass in a `null` value to specify no gradient is currently selected.
29
- *
30
- * @default 'linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)'
31
- */
32
- value?: GradientObject['gradient'] | null;
33
- /**
34
- * Whether the palette should have a clearing button or not.
35
- *
36
- * @default true
37
- */
38
- clearable?: boolean;
39
- /**
40
- * The heading level. Only applies in cases where gradients are provided
41
- * from multiple origins (ie. when the array passed as the `gradients` prop
42
- * contains two or more items).
43
- *
44
- * @default 2
45
- */
46
- headingLevel?: HeadingSize;
47
- };
48
- export type GradientPickerComponentProps = GradientPickerBaseProps & {
49
- /**
50
- * An array of objects as predefined gradients displayed above the gradient
51
- * selector. Alternatively, if there are multiple sets (or 'origins') of
52
- * gradients, you can pass an array of objects each with a `name` and a
53
- * `gradients` array which will in turn contain the predefined gradient objects.
54
- *
55
- * @default []
56
- */
57
- gradients?: GradientsProp;
58
- /**
59
- * Start opting in to the new margin-free styles that will become the default
60
- * in a future version, currently scheduled to be WordPress 6.4. (The prop
61
- * can be safely removed once this happens.)
62
- *
63
- * @default false
64
- */
65
- __nextHasNoMargin?: boolean;
66
- /**
67
- * If true, the gradient picker will not be displayed and only defined
68
- * gradients from `gradients` will be shown.
69
- *
70
- * @default false
71
- */
72
- disableCustomGradients?: boolean;
73
- /**
74
- * Whether this is rendered in the sidebar.
75
- *
76
- * @default false
77
- */
78
- __experimentalIsRenderedInSidebar?: boolean;
79
- };
80
- export type PickerProps<TOriginType extends GradientObject | OriginObject> = GradientPickerBaseProps & {
81
- clearGradient: () => void;
82
- onChange: (currentGradient: string | undefined, index: number) => void;
83
- actions?: React.ReactNode;
84
- gradients: TOriginType[];
85
- };
86
- export {};
87
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/gradient-picker/types.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,cAAc,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AACF,MAAM,MAAM,YAAY,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,cAAc,EAAE,CAAA;CAAE,CAAC;AACzE,MAAM,MAAM,aAAa,GAAG,cAAc,EAAE,GAAG,YAAY,EAAE,CAAC;AAE9D,KAAK,uBAAuB,GAAG;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,EAAE,CAAE,eAAe,EAAE,MAAM,GAAG,SAAS,KAAM,IAAI,CAAC;IAC1D;;;;;OAKG;IACH,KAAK,CAAC,EAAE,cAAc,CAAE,UAAU,CAAE,GAAG,IAAI,CAAC;IAC5C;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,uBAAuB,GAAG;IACpE;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;OAIG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,WAAW,CAAE,WAAW,SAAS,cAAc,GAAG,YAAY,IACzE,uBAAuB,GAAG;IACzB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,QAAQ,EAAE,CACT,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,KAAK,EAAE,MAAM,KACT,IAAI,CAAC;IACV,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,WAAW,EAAE,CAAC;CACzB,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const PageControlIcon: ({ isSelected }: {
3
- isSelected: boolean;
4
- }) => JSX.Element;
5
- //# sourceMappingURL=icons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/guide/icons.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,eAAe;gBAAmC,OAAO;iBASrE,CAAC"}
@@ -1,37 +0,0 @@
1
- /// <reference types="react" />
2
- import type { GuideProps } from './types';
3
- /**
4
- * `Guide` is a React component that renders a _user guide_ in a modal. The guide consists of several pages which the user can step through one by one. The guide is finished when the modal is closed or when the user clicks _Finish_ on the last page of the guide.
5
- *
6
- * ```jsx
7
- * function MyTutorial() {
8
- * const [ isOpen, setIsOpen ] = useState( true );
9
- *
10
- * if ( ! isOpen ) {
11
- * return null;
12
- * }
13
- *
14
- * return (
15
- * <Guide
16
- * onFinish={ () => setIsOpen( false ) }
17
- * pages={ [
18
- * {
19
- * content: <p>Welcome to the ACME Store!</p>,
20
- * },
21
- * {
22
- * image: <img src="https://acmestore.com/add-to-cart.png" />,
23
- * content: (
24
- * <p>
25
- * Click <i>Add to Cart</i> to buy a product.
26
- * </p>
27
- * ),
28
- * },
29
- * ] }
30
- * />
31
- * );
32
- * }
33
- * ```
34
- */
35
- declare function Guide({ children, className, contentLabel, finishButtonText, onFinish, pages, }: GuideProps): JSX.Element | null;
36
- export default Guide;
37
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/guide/index.tsx"],"names":[],"mappings":";AAmBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,iBAAS,KAAK,CAAE,EACf,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,gBAAiC,EACjC,QAAQ,EACR,KAAU,GACV,EAAE,UAAU,sBA+GZ;AAED,eAAe,KAAK,CAAC"}
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PageControlProps } from './types';
3
- export default function PageControl({ currentPage, numberOfPages, setCurrentPage, }: PageControlProps): JSX.Element;
4
- //# sourceMappingURL=page-control.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"page-control.d.ts","sourceRoot":"","sources":["../../src/guide/page-control.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,EACpC,WAAW,EACX,aAAa,EACb,cAAc,GACd,EAAE,gBAAgB,eA+BlB"}
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Internal dependencies
4
- */
5
- import type { WordPressComponentProps } from '../ui/context';
6
- export default function GuidePage(props: WordPressComponentProps<{}, 'div', false>): JSX.Element;
7
- //# sourceMappingURL=page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/guide/page.tsx"],"names":[],"mappings":";AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAE7D,MAAM,CAAC,OAAO,UAAU,SAAS,CAChC,KAAK,EAAE,uBAAuB,CAAE,EAAE,EAAE,KAAK,EAAE,KAAK,CAAE,eAUlD"}
@@ -1,9 +0,0 @@
1
- /**
2
- * External dependencies
3
- */
4
- import type { ComponentMeta, ComponentStory } from '@storybook/react';
5
- import Guide from '..';
6
- declare const meta: ComponentMeta<typeof Guide>;
7
- export default meta;
8
- export declare const Default: ComponentStory<typeof Guide>;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/guide/stories/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAWtE,OAAO,KAAK,MAAM,IAAI,CAAC;AAEvB,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,KAAK,CAQtC,CAAC;AACF,eAAe,IAAI,CAAC;AA0BpB,eAAO,MAAM,OAAO,8BAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/guide/test/index.tsx"],"names":[],"mappings":""}
@@ -1,65 +0,0 @@
1
- /**
2
- * External dependencies
3
- */
4
- import type { ReactNode } from 'react';
5
- /**
6
- * Internal dependencies
7
- */
8
- import type { ModalProps } from '../modal/types';
9
- export type Page = {
10
- /**
11
- * Content of the page.
12
- */
13
- content: ReactNode;
14
- /**
15
- * Image displayed above the page content.
16
- */
17
- image?: ReactNode;
18
- };
19
- export type GuideProps = {
20
- /**
21
- * Deprecated. Use `pages` prop instead.
22
- *
23
- * @deprecated since 5.5
24
- */
25
- children?: ReactNode;
26
- /**
27
- * A custom class to add to the modal.
28
- */
29
- className?: string;
30
- /**
31
- * Used as the modal's accessibility label.
32
- */
33
- contentLabel: ModalProps['contentLabel'];
34
- /**
35
- * Use this to customize the label of the _Finish_ button shown at the end of the guide.
36
- *
37
- * @default 'Finish'
38
- */
39
- finishButtonText?: string;
40
- /**
41
- * A function which is called when the guide is finished.
42
- */
43
- onFinish: ModalProps['onRequestClose'];
44
- /**
45
- * A list of objects describing each page in the guide. Each object **must** contain a `'content'` property and may optionally contain a `'image'` property.
46
- *
47
- * @default []
48
- */
49
- pages?: Page[];
50
- };
51
- export type PageControlProps = {
52
- /**
53
- * Current page index.
54
- */
55
- currentPage: number;
56
- /**
57
- * Total number of pages.
58
- */
59
- numberOfPages: number;
60
- /**
61
- * Called when user clicks on a `PageControlIcon` button.
62
- */
63
- setCurrentPage: (page: number) => void;
64
- };
65
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/guide/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,MAAM,IAAI,GAAG;IAClB;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,EAAE,UAAU,CAAE,cAAc,CAAE,CAAC;IAC3C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAE,gBAAgB,CAAE,CAAC;IACzC;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,cAAc,EAAE,CAAE,IAAI,EAAE,MAAM,KAAM,IAAI,CAAC;CACzC,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * External dependencies
3
- */
4
- import type { ComponentStory, ComponentMeta } from '@storybook/react';
5
- import { HStack } from '../..';
6
- declare const meta: ComponentMeta<typeof HStack>;
7
- export default meta;
8
- export declare const Default: ComponentStory<typeof HStack>;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/h-stack/stories/e2e/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,MAAM,CAGvC,CAAC;AACF,eAAe,IAAI,CAAC;AAiBpB,eAAO,MAAM,OAAO,EAAE,cAAc,CAAE,OAAO,MAAM,CAAwB,CAAC"}
@@ -1,46 +0,0 @@
1
- /// <reference types="react" />
2
- import type { WPKeycodeModifier } from '@wordpress/keycodes';
3
- type Shortcuts = {
4
- previous: readonly {
5
- modifier: WPKeycodeModifier;
6
- character: string;
7
- }[];
8
- next: readonly {
9
- modifier: WPKeycodeModifier;
10
- character: string;
11
- }[];
12
- };
13
- export declare function useNavigateRegions(shortcuts?: Shortcuts): {
14
- ref: (instance: Node | HTMLDivElement | null) => void;
15
- className: string;
16
- onKeyDown(event: React.KeyboardEvent<HTMLDivElement>): void;
17
- };
18
- /**
19
- * `navigateRegions` is a React [higher-order component](https://facebook.github.io/react/docs/higher-order-components.html)
20
- * adding keyboard navigation to switch between the different DOM elements marked as "regions" (role="region").
21
- * These regions should be focusable (By adding a tabIndex attribute for example). For better accessibility,
22
- * these elements must be properly labelled to briefly describe the purpose of the content in the region.
23
- * For more details, see "Landmark Roles" in the [WAI-ARIA specification](https://www.w3.org/TR/wai-aria/)
24
- * and "Landmark Regions" in the [ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/).
25
- *
26
- * ```jsx
27
- * import { navigateRegions } from '@wordpress/components';
28
- *
29
- * const MyComponentWithNavigateRegions = navigateRegions( () => (
30
- * <div>
31
- * <div role="region" tabIndex="-1" aria-label="Header">
32
- * Header
33
- * </div>
34
- * <div role="region" tabIndex="-1" aria-label="Content">
35
- * Content
36
- * </div>
37
- * <div role="region" tabIndex="-1" aria-label="Sidebar">
38
- * Sidebar
39
- * </div>
40
- * </div>
41
- * ) );
42
- * ```
43
- */
44
- declare const _default: (Inner: import("react").ComponentType<any>) => ({ shortcuts, ...props }: any) => JSX.Element;
45
- export default _default;
46
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/navigate-regions/index.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AA6B7D,KAAK,SAAS,GAAG;IAChB,QAAQ,EAAE,SAAS;QAAE,QAAQ,EAAE,iBAAiB,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxE,IAAI,EAAE,SAAS;QAAE,QAAQ,EAAE,iBAAiB,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACpE,CAAC;AAEF,wBAAgB,kBAAkB,CAAE,SAAS,GAAE,SAA4B;;;qBAmDvD,mBAAmB,CAAE,cAAc,CAAE;EAgBxD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;;AACH,wBASE"}
@@ -1,44 +0,0 @@
1
- /// <reference types="react" />
2
- type Props = {
3
- node?: HTMLElement;
4
- [key: string]: any;
5
- };
6
- type State = {
7
- fallbackStyles?: {
8
- [key: string]: any;
9
- };
10
- grabStylesCompleted: boolean;
11
- };
12
- declare const _default: (mapNodeToProps: (node: HTMLElement, props: Props) => {
13
- [key: string]: any;
14
- }) => (Inner: import("react").ComponentType<any>) => {
15
- new (props: Props): {
16
- nodeRef?: HTMLElement | undefined;
17
- bindRef(node: HTMLDivElement): void;
18
- componentDidMount(): void;
19
- componentDidUpdate(): void;
20
- grabFallbackStyles(): void;
21
- render(): JSX.Element;
22
- context: unknown;
23
- setState<K extends keyof State>(state: State | ((prevState: Readonly<State>, props: Readonly<Props>) => State | Pick<State, K> | null) | Pick<State, K> | null, callback?: (() => void) | undefined): void;
24
- forceUpdate(callback?: (() => void) | undefined): void;
25
- readonly props: Readonly<Props>;
26
- state: Readonly<State>;
27
- refs: {
28
- [key: string]: import("react").ReactInstance;
29
- };
30
- shouldComponentUpdate?(nextProps: Readonly<Props>, nextState: Readonly<State>, nextContext: any): boolean;
31
- componentWillUnmount?(): void;
32
- componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
33
- getSnapshotBeforeUpdate?(prevProps: Readonly<Props>, prevState: Readonly<State>): any;
34
- componentWillMount?(): void;
35
- UNSAFE_componentWillMount?(): void;
36
- componentWillReceiveProps?(nextProps: Readonly<Props>, nextContext: any): void;
37
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props>, nextContext: any): void;
38
- componentWillUpdate?(nextProps: Readonly<Props>, nextState: Readonly<State>, nextContext: any): void;
39
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Props>, nextState: Readonly<State>, nextContext: any): void;
40
- };
41
- contextType?: import("react").Context<any> | undefined;
42
- };
43
- export default _default;
44
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-fallback-styles/index.tsx"],"names":[],"mappings":";AAWA,KAAK,KAAK,GAAG;IACZ,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,CAAE,GAAG,EAAE,MAAM,GAAI,GAAG,CAAC;CACrB,CAAC;AAEF,KAAK,KAAK,GAAG;IACZ,cAAc,CAAC,EAAE;QAAE,CAAE,GAAG,EAAE,MAAM,GAAI,GAAG,CAAA;KAAE,CAAC;IAC1C,mBAAmB,EAAE,OAAO,CAAC;CAC7B,CAAC;gDAIM,WAAW,SACV,KAAK;;;gBAOS,KAAK;;sBAWV,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;AArBhC,wBAwE2B"}
@@ -1,89 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Creates a higher-order component which adds filtering capability to the
4
- * wrapped component. Filters get applied when the original component is about
5
- * to be mounted. When a filter is added or removed that matches the hook name,
6
- * the wrapped component re-renders.
7
- *
8
- * @param hookName Hook name exposed to be used by filters.
9
- *
10
- * @return Higher-order component factory.
11
- *
12
- * ```jsx
13
- * import { withFilters } from '@wordpress/components';
14
- * import { addFilter } from '@wordpress/hooks';
15
- *
16
- * const MyComponent = ( { title } ) => <h1>{ title }</h1>;
17
- *
18
- * const ComponentToAppend = () => <div>Appended component</div>;
19
- *
20
- * function withComponentAppended( FilteredComponent ) {
21
- * return ( props ) => (
22
- * <>
23
- * <FilteredComponent { ...props } />
24
- * <ComponentToAppend />
25
- * </>
26
- * );
27
- * }
28
- *
29
- * addFilter(
30
- * 'MyHookName',
31
- * 'my-plugin/with-component-appended',
32
- * withComponentAppended
33
- * );
34
- *
35
- * const MyComponentWithFilters = withFilters( 'MyHookName' )( MyComponent );
36
- * ```
37
- */
38
- export default function withFilters(hookName: string): (Inner: import("react").ComponentType<any>) => {
39
- new (props: {
40
- [key: string]: any;
41
- }): {
42
- componentDidMount(): void;
43
- componentWillUnmount(): void;
44
- render(): JSX.Element;
45
- context: unknown;
46
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
47
- forceUpdate(callback?: (() => void) | undefined): void;
48
- readonly props: Readonly<{}>;
49
- state: Readonly<{}>;
50
- refs: {
51
- [key: string]: import("react").ReactInstance;
52
- };
53
- shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
54
- componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
55
- getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
56
- componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
57
- componentWillMount?(): void;
58
- UNSAFE_componentWillMount?(): void;
59
- componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
60
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
61
- componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
62
- UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
63
- };
64
- instances: {
65
- componentDidMount(): void;
66
- componentWillUnmount(): void;
67
- render(): JSX.Element;
68
- context: unknown;
69
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
70
- forceUpdate(callback?: (() => void) | undefined): void;
71
- readonly props: Readonly<{}>;
72
- state: Readonly<{}>;
73
- refs: {
74
- [key: string]: import("react").ReactInstance;
75
- };
76
- shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
77
- componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
78
- getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
79
- componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
80
- componentWillMount?(): void;
81
- UNSAFE_componentWillMount?(): void;
82
- componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
83
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
84
- componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
85
- UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
86
- }[];
87
- contextType?: import("react").Context<any> | undefined;
88
- };
89
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-filters/index.tsx"],"names":[],"mappings":";AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,QAAQ,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkGpD"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/higher-order/with-filters/test/index.tsx"],"names":[],"mappings":""}
@@ -1,20 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/higher-order/with-focus-return/test/index.tsx"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/higher-order/with-notices/test/index.tsx"],"names":[],"mappings":""}
@@ -1,34 +0,0 @@
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
@@ -1 +0,0 @@
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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/higher-order/with-spoken-messages/test/index.tsx"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icon/test/index.tsx"],"names":[],"mappings":""}