@wordpress/block-editor 15.9.1-next.8fd3f8831.0 → 15.10.1-next.79a2f3cdd.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 (2057) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/autocompleters/block.cjs +2 -2
  3. package/build/autocompleters/link.cjs +1 -1
  4. package/build/components/alignment-control/index.cjs +1 -1
  5. package/build/components/autocomplete/index.cjs +2 -2
  6. package/build/components/background-image-control/index.cjs +2 -2
  7. package/build/components/block-actions/index.cjs +1 -1
  8. package/build/components/block-alignment-control/index.cjs +1 -1
  9. package/build/components/block-alignment-control/ui.cjs +2 -2
  10. package/build/components/block-allowed-blocks/allowed-blocks-control.cjs +1 -1
  11. package/build/components/block-allowed-blocks/index.cjs +2 -2
  12. package/build/components/block-allowed-blocks/modal.cjs +1 -1
  13. package/build/components/block-bindings/attribute-control.cjs +4 -4
  14. package/build/components/block-bindings/index.cjs +3 -3
  15. package/build/components/block-bindings/source-fields-list.cjs +3 -3
  16. package/build/components/block-breadcrumb/index.cjs +2 -2
  17. package/build/components/block-canvas/index.cjs +5 -5
  18. package/build/components/block-card/index.cjs +3 -3
  19. package/build/components/block-compare/index.cjs +2 -2
  20. package/build/components/block-controls/fill.cjs +1 -1
  21. package/build/components/block-controls/hook.cjs +1 -1
  22. package/build/components/block-controls/index.cjs +2 -2
  23. package/build/components/block-controls/slot.cjs +2 -2
  24. package/build/components/block-draggable/draggable-chip.cjs +1 -1
  25. package/build/components/block-draggable/index.cjs +2 -2
  26. package/build/components/block-edit/edit.cjs +3 -3
  27. package/build/components/block-edit/index.cjs +1 -1
  28. package/build/components/block-edit/multiple-usage-warning.cjs +1 -1
  29. package/build/components/block-heading-level-dropdown/index.cjs +1 -1
  30. package/build/components/block-icon/index.cjs +1 -1
  31. package/build/components/block-inspector/edit-contents.cjs +1 -1
  32. package/build/components/block-inspector/index.cjs +19 -25
  33. package/build/components/block-inspector/index.cjs.map +3 -3
  34. package/build/components/block-list/block-crash-warning.cjs +1 -1
  35. package/build/components/block-list/block-html.cjs +1 -1
  36. package/build/components/block-list/block-invalid-warning.cjs +2 -2
  37. package/build/components/block-list/block.cjs +25 -19
  38. package/build/components/block-list/block.cjs.map +3 -3
  39. package/build/components/block-list/index.cjs +3 -3
  40. package/build/components/block-list/use-block-props/index.cjs +3 -3
  41. package/build/components/block-list/zoom-out-separator.cjs +1 -1
  42. package/build/components/block-list-appender/index.cjs +3 -3
  43. package/build/components/block-lock/index.cjs +4 -4
  44. package/build/components/block-lock/menu-item.cjs +2 -2
  45. package/build/components/block-lock/modal.cjs +2 -2
  46. package/build/components/block-lock/toolbar.cjs +2 -2
  47. package/build/components/block-manager/category.cjs +1 -1
  48. package/build/components/block-manager/checklist.cjs +1 -1
  49. package/build/components/block-manager/index.cjs +1 -1
  50. package/build/components/block-mover/button.cjs +1 -1
  51. package/build/components/block-mover/index.cjs +2 -2
  52. package/build/components/block-navigation/dropdown.cjs +2 -2
  53. package/build/components/block-parent-selector/index.cjs +2 -2
  54. package/build/components/block-pattern-setup/index.cjs +3 -3
  55. package/build/components/block-patterns-list/index.cjs +4 -4
  56. package/build/components/block-popover/drop-zone.cjs +1 -1
  57. package/build/components/block-popover/inbetween.cjs +2 -2
  58. package/build/components/block-popover/index.cjs +2 -2
  59. package/build/components/block-preview/auto.cjs +3 -3
  60. package/build/components/block-preview/index.cjs +4 -4
  61. package/build/components/block-quick-navigation/index.cjs +3 -3
  62. package/build/components/block-rename/index.cjs +3 -3
  63. package/build/components/block-rename/modal.cjs +1 -1
  64. package/build/components/block-rename/rename-control.cjs +1 -1
  65. package/build/components/block-settings-menu/block-parent-selector-menu-item.cjs +1 -1
  66. package/build/components/block-settings-menu/block-settings-dropdown.cjs +6 -6
  67. package/build/components/block-settings-menu/index.cjs +2 -2
  68. package/build/components/block-settings-menu-controls/edit-section-menu-item.cjs +1 -1
  69. package/build/components/block-settings-menu-controls/index.cjs +1 -1
  70. package/build/components/block-styles/index.cjs +88 -57
  71. package/build/components/block-styles/index.cjs.map +3 -3
  72. package/build/components/block-styles/menu-items.cjs +1 -1
  73. package/build/components/block-styles/preview-panel.cjs +1 -1
  74. package/build/components/block-styles/utils.cjs +1 -1
  75. package/build/components/block-switcher/block-styles-menu.cjs +1 -1
  76. package/build/components/block-switcher/block-transformations-menu.cjs +3 -3
  77. package/build/components/block-switcher/block-variation-transformations.cjs +2 -2
  78. package/build/components/block-switcher/index.cjs +3 -3
  79. package/build/components/block-switcher/pattern-transformations-menu.cjs +2 -2
  80. package/build/components/block-switcher/preview-block-popover.cjs +1 -1
  81. package/build/components/block-title/index.cjs +1 -1
  82. package/build/components/block-toolbar/block-toolbar-icon.cjs +4 -4
  83. package/build/components/block-toolbar/change-design.cjs +1 -1
  84. package/build/components/block-toolbar/index.cjs +11 -11
  85. package/build/components/block-toolbar/switch-section-style.cjs +1 -1
  86. package/build/components/block-tools/block-toolbar-popover.cjs +3 -3
  87. package/build/components/block-tools/empty-block-inserter.cjs +5 -5
  88. package/build/components/block-tools/index.cjs +7 -7
  89. package/build/components/block-tools/insertion-point.cjs +4 -4
  90. package/build/components/block-tools/zoom-out-mode-inserter-button.cjs +1 -1
  91. package/build/components/block-tools/zoom-out-mode-inserters.cjs +2 -2
  92. package/build/components/block-types-list/index.cjs +1 -1
  93. package/build/components/block-variation-picker/index.cjs +1 -1
  94. package/build/components/block-variation-transforms/index.cjs +2 -2
  95. package/build/components/block-variation-transforms/index.cjs.map +1 -1
  96. package/build/components/block-vertical-alignment-control/index.cjs +1 -1
  97. package/build/components/block-visibility/block-visibility-info.cjs +122 -0
  98. package/build/components/block-visibility/block-visibility-info.cjs.map +7 -0
  99. package/build/components/block-visibility/index.cjs +2 -2
  100. package/build/components/border-radius-control/index.cjs +2 -2
  101. package/build/components/button-block-appender/index.cjs +3 -3
  102. package/build/components/color-palette/control.cjs +1 -1
  103. package/build/components/color-palette/index.cjs +1 -1
  104. package/build/components/color-style-selector/index.cjs +1 -1
  105. package/build/components/colors/index.cjs +1 -1
  106. package/build/components/colors/utils.cjs +2 -2
  107. package/build/components/colors-gradients/control.cjs +1 -1
  108. package/build/components/colors-gradients/dropdown.cjs +2 -2
  109. package/build/components/colors-gradients/panel-color-gradient-settings.cjs +3 -3
  110. package/build/components/contrast-checker/index.cjs +2 -2
  111. package/build/components/convert-to-group-buttons/index.cjs +2 -2
  112. package/build/components/copy-handler/index.cjs +2 -2
  113. package/build/components/default-block-appender/index.cjs +2 -2
  114. package/build/components/dimension-control/index.cjs +1 -1
  115. package/build/components/dimensions-tool/index.cjs +3 -3
  116. package/build/components/editable-text/index.cjs +1 -1
  117. package/build/components/editor-styles/index.cjs +3 -3
  118. package/build/components/font-appearance-control/index.cjs +1 -1
  119. package/build/components/font-family/index.cjs +2 -2
  120. package/build/components/font-sizes/index.cjs +2 -2
  121. package/build/components/global-styles/advanced-panel.cjs +1 -1
  122. package/build/components/global-styles/background-panel.cjs +1 -1
  123. package/build/components/global-styles/border-panel.cjs +1 -1
  124. package/build/components/global-styles/color-panel.cjs +2 -2
  125. package/build/components/global-styles/dimensions-panel.cjs +5 -5
  126. package/build/components/global-styles/filters-panel.cjs +1 -1
  127. package/build/components/global-styles/hooks.cjs +0 -7
  128. package/build/components/global-styles/hooks.cjs.map +2 -2
  129. package/build/components/global-styles/index.cjs +8 -8
  130. package/build/components/global-styles/shadow-panel-components.cjs +1 -1
  131. package/build/components/global-styles/typography-panel.cjs +11 -53
  132. package/build/components/global-styles/typography-panel.cjs.map +3 -3
  133. package/build/components/grid/grid-item-movers.cjs +2 -2
  134. package/build/components/grid/grid-item-resizer.cjs +1 -1
  135. package/build/components/grid/grid-visualizer.cjs +3 -3
  136. package/build/components/height-control/index.cjs +1 -1
  137. package/build/components/iframe/index.cjs +1 -1
  138. package/build/components/image-editor/context.cjs +2 -2
  139. package/build/components/image-editor/cropper.cjs +1 -1
  140. package/build/components/image-editor/index.cjs +7 -7
  141. package/build/components/image-size-control/index.cjs +1 -1
  142. package/build/components/index.cjs +91 -94
  143. package/build/components/index.cjs.map +2 -2
  144. package/build/components/inner-blocks/button-block-appender.cjs +2 -2
  145. package/build/components/inner-blocks/default-block-appender.cjs +1 -1
  146. package/build/components/inner-blocks/index.cjs +8 -8
  147. package/build/components/inner-blocks/use-inner-block-template-sync.cjs +1 -1
  148. package/build/components/inner-blocks/use-nested-settings-update.cjs +1 -1
  149. package/build/components/inserter/block-patterns-explorer/index.cjs +2 -2
  150. package/build/components/inserter/block-patterns-explorer/pattern-list.cjs +6 -6
  151. package/build/components/inserter/block-patterns-tab/index.cjs +4 -4
  152. package/build/components/inserter/block-patterns-tab/pattern-category-previews.cjs +3 -3
  153. package/build/components/inserter/block-patterns-tab/use-pattern-categories.cjs +1 -1
  154. package/build/components/inserter/block-types-tab.cjs +5 -5
  155. package/build/components/inserter/index.cjs +3 -3
  156. package/build/components/inserter/media-tab/index.cjs +1 -1
  157. package/build/components/inserter/media-tab/media-panel.cjs +2 -2
  158. package/build/components/inserter/media-tab/media-preview.cjs +2 -2
  159. package/build/components/inserter/media-tab/media-tab.cjs +5 -5
  160. package/build/components/inserter/menu.cjs +8 -8
  161. package/build/components/inserter/preview-panel.cjs +2 -2
  162. package/build/components/inserter/quick-inserter.cjs +4 -4
  163. package/build/components/inserter/search-items.cjs +1 -1
  164. package/build/components/inserter/search-results.cjs +9 -9
  165. package/build/components/inserter-draggable-blocks/index.cjs +1 -1
  166. package/build/components/inserter-list-item/index.cjs +3 -3
  167. package/build/components/inserter-listbox/index.cjs +3 -3
  168. package/build/components/inspector-controls/fill.cjs +28 -6
  169. package/build/components/inspector-controls/fill.cjs.map +2 -2
  170. package/build/components/inspector-controls/groups.cjs +2 -0
  171. package/build/components/inspector-controls/groups.cjs.map +2 -2
  172. package/build/components/inspector-controls/index.cjs +2 -2
  173. package/build/components/inspector-controls/slot.cjs +5 -5
  174. package/build/components/inspector-controls-tabs/advanced-controls-panel.cjs +1 -1
  175. package/build/components/inspector-controls-tabs/content-tab.cjs +4 -8
  176. package/build/components/inspector-controls-tabs/content-tab.cjs.map +3 -3
  177. package/build/components/inspector-controls-tabs/index.cjs +8 -11
  178. package/build/components/inspector-controls-tabs/index.cjs.map +3 -3
  179. package/build/components/inspector-controls-tabs/position-controls-panel.cjs +2 -2
  180. package/build/components/inspector-controls-tabs/settings-tab.cjs +3 -3
  181. package/build/components/inspector-controls-tabs/styles-tab.cjs +3 -4
  182. package/build/components/inspector-controls-tabs/styles-tab.cjs.map +2 -2
  183. package/build/components/inspector-controls-tabs/use-inspector-controls-tabs.cjs +9 -4
  184. package/build/components/inspector-controls-tabs/use-inspector-controls-tabs.cjs.map +2 -2
  185. package/build/components/justify-content-control/index.cjs +1 -1
  186. package/build/components/keyboard-shortcuts/index.cjs +1 -0
  187. package/build/components/keyboard-shortcuts/index.cjs.map +2 -2
  188. package/build/components/letter-spacing-control/index.cjs +1 -1
  189. package/build/components/line-height-control/index.cjs +1 -1
  190. package/build/components/link-control/index.cjs +8 -8
  191. package/build/components/link-control/link-preview.cjs +2 -2
  192. package/build/components/link-control/search-input.cjs +3 -3
  193. package/build/components/link-control/search-item.cjs +1 -1
  194. package/build/components/link-control/search-results.cjs +4 -4
  195. package/build/components/link-control/use-internal-value.cjs +1 -1
  196. package/build/components/link-control/use-search-handler.cjs +1 -1
  197. package/build/components/link-picker/link-picker.cjs +1 -1
  198. package/build/components/list-view/appender.cjs +3 -3
  199. package/build/components/list-view/block-contents.cjs +2 -2
  200. package/build/components/list-view/block-select-button.cjs +6 -6
  201. package/build/components/list-view/block.cjs +7 -7
  202. package/build/components/list-view/branch.cjs +2 -2
  203. package/build/components/list-view/drop-indicator.cjs +5 -5
  204. package/build/components/list-view/index.cjs +11 -11
  205. package/build/components/list-view/leaf.cjs +2 -2
  206. package/build/components/list-view/use-list-view-drop-zone.cjs +1 -1
  207. package/build/components/media-placeholder/index.cjs +5 -5
  208. package/build/components/media-replace-flow/index.cjs +14 -5
  209. package/build/components/media-replace-flow/index.cjs.map +3 -3
  210. package/build/components/multi-selection-inspector/index.cjs +1 -1
  211. package/build/components/navigable-toolbar/index.cjs +1 -1
  212. package/build/components/panel-color-settings/index.cjs +1 -1
  213. package/build/components/plain-text/index.cjs +3 -3
  214. package/build/components/preset-input-control/index.cjs +1 -1
  215. package/build/components/preview-options/index.cjs +1 -1
  216. package/build/components/provider/index.cjs +4 -4
  217. package/build/components/publish-date-time-picker/index.cjs +1 -1
  218. package/build/components/recursion-provider/index.cjs +1 -1
  219. package/build/components/resizable-box-popover/index.cjs +1 -1
  220. package/build/components/responsive-block-control/index.cjs +2 -2
  221. package/build/components/rich-text/content.cjs +2 -2
  222. package/build/components/rich-text/event-listeners/index.cjs +11 -11
  223. package/build/components/rich-text/format-edit.cjs +1 -1
  224. package/build/components/rich-text/format-toolbar/index.cjs +1 -1
  225. package/build/components/rich-text/format-toolbar-container.cjs +3 -3
  226. package/build/components/rich-text/get-rich-text-values.cjs +1 -1
  227. package/build/components/rich-text/index.cjs +6 -6
  228. package/build/components/rich-text/multiline.cjs +1 -1
  229. package/build/components/rich-text/with-deprecations.cjs +2 -2
  230. package/build/components/selection-scroll-into-view/index.cjs +1 -1
  231. package/build/components/spacing-sizes-control/index.cjs +5 -5
  232. package/build/components/spacing-sizes-control/input-controls/axial.cjs +1 -1
  233. package/build/components/spacing-sizes-control/input-controls/separated.cjs +1 -1
  234. package/build/components/spacing-sizes-control/input-controls/single.cjs +1 -1
  235. package/build/components/spacing-sizes-control/input-controls/spacing-input-control.cjs +1 -1
  236. package/build/components/text-alignment-control/index.cjs +1 -1
  237. package/build/components/text-decoration-control/index.cjs +1 -1
  238. package/build/components/text-transform-control/index.cjs +1 -1
  239. package/build/components/tool-selector/index.cjs +1 -1
  240. package/build/components/url-input/button.cjs +1 -1
  241. package/build/components/url-input/index.cjs +1 -1
  242. package/build/components/url-popover/image-url-input-ui.cjs +1 -1
  243. package/build/components/url-popover/index.cjs +3 -3
  244. package/build/components/url-popover/link-editor.cjs +2 -2
  245. package/build/components/url-popover/link-viewer-url.cjs +1 -1
  246. package/build/components/url-popover/link-viewer.cjs +2 -2
  247. package/build/components/use-block-commands/index.cjs +1 -1
  248. package/build/components/use-block-drop-zone/index.cjs +1 -1
  249. package/build/components/use-resize-canvas/index.cjs +2 -2
  250. package/build/components/use-resize-canvas/index.cjs.map +2 -2
  251. package/build/components/use-settings/index.cjs +1 -1
  252. package/build/components/warning/index.cjs +1 -1
  253. package/build/components/writing-flow/index.cjs +10 -10
  254. package/build/components/writing-mode-control/index.cjs +1 -1
  255. package/build/hooks/align.cjs +2 -2
  256. package/build/hooks/allowed-blocks.cjs +1 -1
  257. package/build/hooks/auto-inspector-controls.cjs +92 -0
  258. package/build/hooks/auto-inspector-controls.cjs.map +7 -0
  259. package/build/hooks/background.cjs +2 -2
  260. package/build/hooks/block-bindings.cjs +2 -2
  261. package/build/hooks/block-fields/fields-dropdown-menu.cjs +67 -0
  262. package/build/hooks/block-fields/fields-dropdown-menu.cjs.map +7 -0
  263. package/build/hooks/block-fields/index.cjs +308 -0
  264. package/build/hooks/block-fields/index.cjs.map +7 -0
  265. package/build/hooks/block-fields/link/index.cjs +193 -0
  266. package/build/hooks/block-fields/link/index.cjs.map +7 -0
  267. package/build/hooks/block-fields/media/index.cjs +254 -0
  268. package/build/hooks/block-fields/media/index.cjs.map +7 -0
  269. package/build/hooks/block-fields/rich-text/index.cjs +189 -0
  270. package/build/hooks/block-fields/rich-text/index.cjs.map +7 -0
  271. package/build/hooks/block-fields/use-inspector-popover-placement.cjs +41 -0
  272. package/build/hooks/block-fields/use-inspector-popover-placement.cjs.map +7 -0
  273. package/build/hooks/border.cjs +3 -3
  274. package/build/hooks/color.cjs +4 -4
  275. package/build/hooks/contrast-checker.cjs +1 -1
  276. package/build/hooks/custom-class-name.cjs +1 -1
  277. package/build/hooks/dimensions.cjs +3 -3
  278. package/build/hooks/duotone.cjs +2 -2
  279. package/build/hooks/fit-text.cjs +22 -26
  280. package/build/hooks/fit-text.cjs.map +2 -2
  281. package/build/hooks/font-family.cjs +1 -1
  282. package/build/hooks/font-size.cjs +1 -1
  283. package/build/hooks/generate-fields-from-attributes.cjs +68 -0
  284. package/build/hooks/generate-fields-from-attributes.cjs.map +7 -0
  285. package/build/hooks/index.cjs +27 -24
  286. package/build/hooks/index.cjs.map +3 -3
  287. package/build/hooks/layout.cjs +1 -1
  288. package/build/hooks/line-height.cjs +1 -1
  289. package/build/hooks/list-view.cjs +3 -5
  290. package/build/hooks/list-view.cjs.map +2 -2
  291. package/build/hooks/position.cjs +3 -3
  292. package/build/hooks/spacing-visualizer.cjs +1 -1
  293. package/build/hooks/text-align.cjs +1 -1
  294. package/build/hooks/typography.cjs +2 -4
  295. package/build/hooks/typography.cjs.map +2 -2
  296. package/build/hooks/use-border-props.cjs +1 -1
  297. package/build/hooks/use-color-props.cjs +1 -1
  298. package/build/hooks/use-typography-props.cjs +1 -1
  299. package/build/hooks/utils.cjs +1 -5
  300. package/build/hooks/utils.cjs.map +2 -2
  301. package/build/layouts/index.cjs +4 -4
  302. package/build/private-apis.cjs +16 -15
  303. package/build/private-apis.cjs.map +2 -2
  304. package/build/store/actions.cjs +1 -1
  305. package/build/store/index.cjs +5 -5
  306. package/build/store/private-actions.cjs +1 -1
  307. package/build/store/private-keys.cjs +3 -0
  308. package/build/store/private-keys.cjs.map +2 -2
  309. package/build/store/private-selectors.cjs +14 -1
  310. package/build/store/private-selectors.cjs.map +2 -2
  311. package/build/store/reducer.cjs +2 -2
  312. package/build/store/selectors.cjs +1 -1
  313. package/build/utils/index.cjs +2 -2
  314. package/build/utils/transform-styles/index.cjs +5 -5
  315. package/build-module/autocompleters/block.mjs +123 -0
  316. package/build-module/autocompleters/link.mjs +50 -0
  317. package/build-module/components/alignment-control/index.mjs +14 -0
  318. package/build-module/components/alignment-control/ui.mjs +77 -0
  319. package/build-module/components/autocomplete/index.mjs +50 -0
  320. package/build-module/components/background-image-control/index.mjs +632 -0
  321. package/build-module/components/block-actions/index.mjs +112 -0
  322. package/build-module/components/block-alignment-control/constants.mjs +42 -0
  323. package/build-module/components/block-alignment-control/index.mjs +14 -0
  324. package/build-module/components/block-alignment-control/ui.mjs +86 -0
  325. package/build-module/components/block-alignment-control/use-available-alignments.mjs +66 -0
  326. package/build-module/components/block-alignment-matrix-control/index.mjs +53 -0
  327. package/build-module/components/block-allowed-blocks/allowed-blocks-control.mjs +69 -0
  328. package/build-module/components/block-allowed-blocks/index.mjs +8 -0
  329. package/build-module/components/block-allowed-blocks/modal.mjs +102 -0
  330. package/build-module/components/block-bindings/attribute-control.mjs +150 -0
  331. package/build-module/components/block-bindings/index.mjs +10 -0
  332. package/build-module/components/block-bindings/source-fields-list.mjs +104 -0
  333. package/build-module/components/block-bindings/use-block-bindings-utils.mjs +45 -0
  334. package/build-module/components/block-breadcrumb/index.mjs +110 -0
  335. package/build-module/components/block-canvas/index.mjs +107 -0
  336. package/build-module/components/block-card/index.mjs +140 -0
  337. package/build-module/components/block-compare/block-view.mjs +35 -0
  338. package/build-module/components/block-compare/index.mjs +63 -0
  339. package/build-module/components/block-content-overlay/index.mjs +16 -0
  340. package/build-module/components/block-context/index.mjs +19 -0
  341. package/build-module/components/block-controls/fill.mjs +36 -0
  342. package/build-module/components/block-controls/groups.mjs +19 -0
  343. package/build-module/components/block-controls/hook.mjs +21 -0
  344. package/build-module/components/block-controls/index.mjs +18 -0
  345. package/build-module/components/block-controls/slot.mjs +45 -0
  346. package/build-module/components/block-draggable/draggable-chip.mjs +41 -0
  347. package/build-module/components/block-draggable/index.mjs +190 -0
  348. package/build-module/components/block-draggable/use-scroll-when-dragging.mjs +80 -0
  349. package/build-module/components/block-edit/context.mjs +28 -0
  350. package/build-module/components/block-edit/edit.mjs +240 -0
  351. package/build-module/components/block-edit/index.mjs +87 -0
  352. package/build-module/components/block-edit/multiple-usage-warning.mjs +54 -0
  353. package/build-module/components/block-edit-visually-button/index.mjs +30 -0
  354. package/build-module/components/block-editing-mode/index.mjs +35 -0
  355. package/build-module/components/block-full-height-alignment-control/index.mjs +27 -0
  356. package/build-module/components/block-heading-level-dropdown/heading-level-icon.mjs +31 -0
  357. package/build-module/components/block-heading-level-dropdown/index.mjs +46 -0
  358. package/build-module/components/block-icon/index.mjs +33 -0
  359. package/build-module/components/block-inspector/edit-contents.mjs +116 -0
  360. package/build-module/components/block-inspector/index.mjs +325 -0
  361. package/build-module/components/block-inspector/index.mjs.map +7 -0
  362. package/build-module/components/block-inspector/useBlockInspectorAnimationSettings.mjs +30 -0
  363. package/build-module/components/block-list/block-crash-boundary.mjs +26 -0
  364. package/build-module/components/block-list/block-crash-warning.mjs +10 -0
  365. package/build-module/components/block-list/block-html.mjs +63 -0
  366. package/build-module/components/block-list/block-invalid-warning.mjs +129 -0
  367. package/build-module/components/block-list/block.mjs +619 -0
  368. package/build-module/components/block-list/block.mjs.map +7 -0
  369. package/build-module/components/block-list/index.mjs +251 -0
  370. package/build-module/components/block-list/layout.mjs +38 -0
  371. package/build-module/components/block-list/private-block-context.mjs +8 -0
  372. package/build-module/components/block-list/subdirectory-icon.mjs +26 -0
  373. package/build-module/components/block-list/use-block-props/index.mjs +134 -0
  374. package/build-module/components/block-list/use-block-props/use-block-refs.mjs +46 -0
  375. package/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.mjs +62 -0
  376. package/build-module/components/block-list/use-block-props/use-focus-first-element.mjs +53 -0
  377. package/build-module/components/block-list/use-block-props/use-focus-handler.mjs +37 -0
  378. package/build-module/components/block-list/use-block-props/use-intersection-observer.mjs +22 -0
  379. package/build-module/components/block-list/use-block-props/use-is-hovered.mjs +33 -0
  380. package/build-module/components/block-list/use-block-props/use-scroll-into-view.mjs +35 -0
  381. package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.mjs +219 -0
  382. package/build-module/components/block-list/use-in-between-inserter.mjs +122 -0
  383. package/build-module/components/block-list/zoom-out-separator.mjs +117 -0
  384. package/build-module/components/block-list-appender/index.mjs +61 -0
  385. package/build-module/components/block-lock/index.mjs +12 -0
  386. package/build-module/components/block-lock/menu-item.mjs +36 -0
  387. package/build-module/components/block-lock/modal.mjs +225 -0
  388. package/build-module/components/block-lock/toolbar.mjs +46 -0
  389. package/build-module/components/block-lock/use-block-lock.mjs +30 -0
  390. package/build-module/components/block-manager/category.mjs +95 -0
  391. package/build-module/components/block-manager/checklist.mjs +29 -0
  392. package/build-module/components/block-manager/index.mjs +113 -0
  393. package/build-module/components/block-mover/button.mjs +145 -0
  394. package/build-module/components/block-mover/index.mjs +101 -0
  395. package/build-module/components/block-mover/mover-description.mjs +267 -0
  396. package/build-module/components/block-navigation/dropdown.mjs +70 -0
  397. package/build-module/components/block-parent-selector/index.mjs +61 -0
  398. package/build-module/components/block-pattern-setup/constants.mjs +9 -0
  399. package/build-module/components/block-pattern-setup/index.mjs +179 -0
  400. package/build-module/components/block-pattern-setup/setup-toolbar.mjs +100 -0
  401. package/build-module/components/block-pattern-setup/use-patterns-setup.mjs +27 -0
  402. package/build-module/components/block-patterns-list/index.mjs +213 -0
  403. package/build-module/components/block-patterns-paging/index.mjs +116 -0
  404. package/build-module/components/block-popover/cover.mjs +64 -0
  405. package/build-module/components/block-popover/drop-zone.mjs +53 -0
  406. package/build-module/components/block-popover/inbetween.mjs +169 -0
  407. package/build-module/components/block-popover/index.mjs +116 -0
  408. package/build-module/components/block-popover/use-popover-scroll.mjs +35 -0
  409. package/build-module/components/block-preview/async.mjs +26 -0
  410. package/build-module/components/block-preview/auto.mjs +113 -0
  411. package/build-module/components/block-preview/index.mjs +131 -0
  412. package/build-module/components/block-quick-navigation/index.mjs +71 -0
  413. package/build-module/components/block-removal-warning-modal/index.mjs +75 -0
  414. package/build-module/components/block-rename/index.mjs +10 -0
  415. package/build-module/components/block-rename/is-empty-string.mjs +8 -0
  416. package/build-module/components/block-rename/modal.mjs +125 -0
  417. package/build-module/components/block-rename/rename-control.mjs +33 -0
  418. package/build-module/components/block-rename/use-block-rename.mjs +11 -0
  419. package/build-module/components/block-selection-clearer/index.mjs +39 -0
  420. package/build-module/components/block-settings-menu/block-html-convert-button.mjs +32 -0
  421. package/build-module/components/block-settings-menu/block-mode-toggle.mjs +42 -0
  422. package/build-module/components/block-settings-menu/block-parent-selector-menu-item.mjs +43 -0
  423. package/build-module/components/block-settings-menu/block-settings-dropdown.mjs +310 -0
  424. package/build-module/components/block-settings-menu/block-settings-menu-first-item.mjs +11 -0
  425. package/build-module/components/block-settings-menu/index.mjs +24 -0
  426. package/build-module/components/block-settings-menu-controls/edit-section-menu-item.mjs +59 -0
  427. package/build-module/components/block-settings-menu-controls/index.mjs +131 -0
  428. package/build-module/components/block-styles/index.mjs +142 -0
  429. package/build-module/components/block-styles/index.mjs.map +7 -0
  430. package/build-module/components/block-styles/menu-items.mjs +41 -0
  431. package/build-module/components/block-styles/preview-panel.mjs +30 -0
  432. package/build-module/components/block-styles/use-styles-for-block.mjs +72 -0
  433. package/build-module/components/block-styles/utils.mjs +49 -0
  434. package/build-module/components/block-switcher/block-styles-menu.mjs +20 -0
  435. package/build-module/components/block-switcher/block-transformations-menu.mjs +144 -0
  436. package/build-module/components/block-switcher/block-variation-transformations.mjs +102 -0
  437. package/build-module/components/block-switcher/index.mjs +194 -0
  438. package/build-module/components/block-switcher/pattern-transformations-menu.mjs +122 -0
  439. package/build-module/components/block-switcher/preview-block-popover.mjs +29 -0
  440. package/build-module/components/block-switcher/use-transformed-patterns.mjs +66 -0
  441. package/build-module/components/block-switcher/utils.mjs +38 -0
  442. package/build-module/components/block-title/index.mjs +9 -0
  443. package/build-module/components/block-title/use-block-display-title.mjs +47 -0
  444. package/build-module/components/block-toolbar/block-toolbar-icon.mjs +144 -0
  445. package/build-module/components/block-toolbar/block-toolbar-last-item.mjs +11 -0
  446. package/build-module/components/block-toolbar/change-design.mjs +107 -0
  447. package/build-module/components/block-toolbar/index.mjs +237 -0
  448. package/build-module/components/block-toolbar/pattern-overrides-dropdown.mjs +76 -0
  449. package/build-module/components/block-toolbar/switch-section-style.mjs +102 -0
  450. package/build-module/components/block-toolbar/use-has-block-toolbar.mjs +17 -0
  451. package/build-module/components/block-toolbar/utils.mjs +127 -0
  452. package/build-module/components/block-tools/block-toolbar-popover.mjs +64 -0
  453. package/build-module/components/block-tools/empty-block-inserter.mjs +50 -0
  454. package/build-module/components/block-tools/index.mjs +269 -0
  455. package/build-module/components/block-tools/insertion-point.mjs +243 -0
  456. package/build-module/components/block-tools/use-block-toolbar-popover-props.mjs +121 -0
  457. package/build-module/components/block-tools/use-selected-block-tool-props.mjs +44 -0
  458. package/build-module/components/block-tools/use-show-block-tools.mjs +32 -0
  459. package/build-module/components/block-tools/zoom-out-mode-inserter-button.mjs +30 -0
  460. package/build-module/components/block-tools/zoom-out-mode-inserters.mjs +89 -0
  461. package/build-module/components/block-types-list/index.mjs +48 -0
  462. package/build-module/components/block-variation-picker/index.mjs +66 -0
  463. package/build-module/components/block-variation-transforms/index.mjs +181 -0
  464. package/build-module/components/block-variation-transforms/index.mjs.map +7 -0
  465. package/build-module/components/block-vertical-alignment-control/index.mjs +14 -0
  466. package/build-module/components/block-vertical-alignment-control/ui.mjs +74 -0
  467. package/build-module/components/block-visibility/block-visibility-info.mjs +106 -0
  468. package/build-module/components/block-visibility/block-visibility-info.mjs.map +7 -0
  469. package/build-module/components/block-visibility/index.mjs +8 -0
  470. package/build-module/components/block-visibility/menu-item.mjs +88 -0
  471. package/build-module/components/block-visibility/toolbar.mjs +71 -0
  472. package/build-module/components/border-radius-control/constants.mjs +47 -0
  473. package/build-module/components/border-radius-control/index.mjs +184 -0
  474. package/build-module/components/border-radius-control/linked-button.mjs +23 -0
  475. package/build-module/components/border-radius-control/utils.mjs +147 -0
  476. package/build-module/components/button-block-appender/index.mjs +78 -0
  477. package/build-module/components/child-layout-control/index.mjs +364 -0
  478. package/build-module/components/collab/block-comment-icon-slot.mjs +8 -0
  479. package/build-module/components/collab/block-comment-icon-toolbar-slot.mjs +10 -0
  480. package/build-module/components/color-palette/control.mjs +23 -0
  481. package/build-module/components/color-palette/index.mjs +8 -0
  482. package/build-module/components/color-palette/with-color-context.mjs +43 -0
  483. package/build-module/components/color-style-selector/index.mjs +63 -0
  484. package/build-module/components/colors/index.mjs +15 -0
  485. package/build-module/components/colors/utils.mjs +43 -0
  486. package/build-module/components/colors/with-colors.mjs +154 -0
  487. package/build-module/components/colors-gradients/control.mjs +149 -0
  488. package/build-module/components/colors-gradients/dropdown.mjs +185 -0
  489. package/build-module/components/colors-gradients/panel-color-gradient-settings.mjs +112 -0
  490. package/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.mjs +117 -0
  491. package/build-module/components/content-lock/index.mjs +6 -0
  492. package/build-module/components/content-lock/modify-content-lock-menu-item.mjs +45 -0
  493. package/build-module/components/contrast-checker/index.mjs +107 -0
  494. package/build-module/components/convert-to-group-buttons/index.mjs +81 -0
  495. package/build-module/components/convert-to-group-buttons/toolbar.mjs +100 -0
  496. package/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.mjs +34 -0
  497. package/build-module/components/copy-handler/index.mjs +25 -0
  498. package/build-module/components/date-format-picker/index.mjs +140 -0
  499. package/build-module/components/default-block-appender/index.mjs +86 -0
  500. package/build-module/components/dimension-control/index.mjs +119 -0
  501. package/build-module/components/dimensions-tool/aspect-ratio-tool.mjs +74 -0
  502. package/build-module/components/dimensions-tool/index.mjs +128 -0
  503. package/build-module/components/dimensions-tool/scale-tool.mjs +88 -0
  504. package/build-module/components/dimensions-tool/width-height-tool.mjs +81 -0
  505. package/build-module/components/duotone/utils.mjs +59 -0
  506. package/build-module/components/duotone-control/index.mjs +87 -0
  507. package/build-module/components/editable-text/index.mjs +15 -0
  508. package/build-module/components/editor-styles/index.mjs +98 -0
  509. package/build-module/components/fit-text-size-warning/index.mjs +27 -0
  510. package/build-module/components/floating-toolbar/nav-up-icon.mjs +31 -0
  511. package/build-module/components/font-appearance-control/index.mjs +131 -0
  512. package/build-module/components/font-family/index.mjs +63 -0
  513. package/build-module/components/font-sizes/fluid-utils.mjs +145 -0
  514. package/build-module/components/font-sizes/font-size-picker.mjs +23 -0
  515. package/build-module/components/font-sizes/index.mjs +18 -0
  516. package/build-module/components/font-sizes/utils.mjs +38 -0
  517. package/build-module/components/font-sizes/with-font-sizes.mjs +133 -0
  518. package/build-module/components/global-styles/advanced-panel.mjs +64 -0
  519. package/build-module/components/global-styles/background-panel.mjs +106 -0
  520. package/build-module/components/global-styles/border-panel.mjs +287 -0
  521. package/build-module/components/global-styles/color-panel.mjs +657 -0
  522. package/build-module/components/global-styles/dimensions-panel.mjs +669 -0
  523. package/build-module/components/global-styles/filters-panel.mjs +211 -0
  524. package/build-module/components/global-styles/hooks.mjs +220 -0
  525. package/build-module/components/global-styles/hooks.mjs.map +7 -0
  526. package/build-module/components/global-styles/image-settings-panel.mjs +64 -0
  527. package/build-module/components/global-styles/index.mjs +46 -0
  528. package/build-module/components/global-styles/shadow-panel-components.mjs +200 -0
  529. package/build-module/components/global-styles/typography-panel.mjs +580 -0
  530. package/build-module/components/global-styles/typography-panel.mjs.map +7 -0
  531. package/build-module/components/global-styles/typography-utils.mjs +81 -0
  532. package/build-module/components/global-styles/utils.mjs +31 -0
  533. package/build-module/components/gradients/index.mjs +3 -0
  534. package/build-module/components/gradients/use-gradient.mjs +98 -0
  535. package/build-module/components/gradients/with-gradient.mjs +11 -0
  536. package/build-module/components/grid/grid-item-movers.mjs +176 -0
  537. package/build-module/components/grid/grid-item-resizer.mjs +163 -0
  538. package/build-module/components/grid/grid-visualizer.mjs +362 -0
  539. package/build-module/components/grid/index.mjs +12 -0
  540. package/build-module/components/grid/use-get-number-of-blocks-before-cell.mjs +23 -0
  541. package/build-module/components/grid/use-grid-layout-sync.mjs +200 -0
  542. package/build-module/components/grid/utils.mjs +149 -0
  543. package/build-module/components/height-control/index.mjs +148 -0
  544. package/build-module/components/html-element-control/index.mjs +76 -0
  545. package/build-module/components/html-element-control/messages.mjs +38 -0
  546. package/build-module/components/iframe/get-compatibility-styles.mjs +78 -0
  547. package/build-module/components/iframe/index.mjs +290 -0
  548. package/build-module/components/iframe/use-scale-canvas.mjs +267 -0
  549. package/build-module/components/image-editor/aspect-ratio-dropdown.mjs +126 -0
  550. package/build-module/components/image-editor/constants.mjs +12 -0
  551. package/build-module/components/image-editor/context.mjs +43 -0
  552. package/build-module/components/image-editor/cropper.mjs +51 -0
  553. package/build-module/components/image-editor/form-controls.mjs +16 -0
  554. package/build-module/components/image-editor/index.mjs +64 -0
  555. package/build-module/components/image-editor/rotation-button.mjs +22 -0
  556. package/build-module/components/image-editor/use-save-image.mjs +141 -0
  557. package/build-module/components/image-editor/use-transform-image.mjs +137 -0
  558. package/build-module/components/image-editor/zoom-dropdown.mjs +47 -0
  559. package/build-module/components/image-size-control/index.mjs +123 -0
  560. package/build-module/components/image-size-control/use-dimension-handler.mjs +52 -0
  561. package/build-module/components/index.mjs +305 -0
  562. package/build-module/components/index.mjs.map +7 -0
  563. package/build-module/components/inner-blocks/button-block-appender.mjs +29 -0
  564. package/build-module/components/inner-blocks/default-block-appender.mjs +12 -0
  565. package/build-module/components/inner-blocks/index.mjs +214 -0
  566. package/build-module/components/inner-blocks/use-block-context.mjs +34 -0
  567. package/build-module/components/inner-blocks/use-inner-block-template-sync.mjs +64 -0
  568. package/build-module/components/inner-blocks/use-nested-settings-update.mjs +102 -0
  569. package/build-module/components/inserter/block-patterns-explorer/index.mjs +53 -0
  570. package/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.mjs +70 -0
  571. package/build-module/components/inserter/block-patterns-explorer/pattern-list.mjs +154 -0
  572. package/build-module/components/inserter/block-patterns-tab/index.mjs +72 -0
  573. package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.mjs +181 -0
  574. package/build-module/components/inserter/block-patterns-tab/patterns-filter.mjs +160 -0
  575. package/build-module/components/inserter/block-patterns-tab/use-pattern-categories.mjs +82 -0
  576. package/build-module/components/inserter/block-patterns-tab/utils.mjs +52 -0
  577. package/build-module/components/inserter/block-types-tab.mjs +190 -0
  578. package/build-module/components/inserter/category-tabs/index.mjs +94 -0
  579. package/build-module/components/inserter/hooks/use-block-types-state.mjs +86 -0
  580. package/build-module/components/inserter/hooks/use-insertion-point.mjs +180 -0
  581. package/build-module/components/inserter/hooks/use-patterns-paging.mjs +49 -0
  582. package/build-module/components/inserter/hooks/use-patterns-state.mjs +104 -0
  583. package/build-module/components/inserter/index.mjs +319 -0
  584. package/build-module/components/inserter/library.mjs +70 -0
  585. package/build-module/components/inserter/media-tab/hooks.mjs +103 -0
  586. package/build-module/components/inserter/media-tab/index.mjs +10 -0
  587. package/build-module/components/inserter/media-tab/media-list.mjs +34 -0
  588. package/build-module/components/inserter/media-tab/media-panel.mjs +45 -0
  589. package/build-module/components/inserter/media-tab/media-preview.mjs +265 -0
  590. package/build-module/components/inserter/media-tab/media-tab.mjs +95 -0
  591. package/build-module/components/inserter/media-tab/utils.mjs +38 -0
  592. package/build-module/components/inserter/menu.mjs +344 -0
  593. package/build-module/components/inserter/mobile-tab-navigation.mjs +77 -0
  594. package/build-module/components/inserter/no-results.mjs +11 -0
  595. package/build-module/components/inserter/panel.mjs +17 -0
  596. package/build-module/components/inserter/preview-panel.mjs +71 -0
  597. package/build-module/components/inserter/quick-inserter.mjs +117 -0
  598. package/build-module/components/inserter/search-items.mjs +126 -0
  599. package/build-module/components/inserter/search-results.mjs +197 -0
  600. package/build-module/components/inserter/tips.mjs +38 -0
  601. package/build-module/components/inserter-button/sparkles.mjs +15 -0
  602. package/build-module/components/inserter-draggable-blocks/index.mjs +80 -0
  603. package/build-module/components/inserter-list-item/index.mjs +128 -0
  604. package/build-module/components/inserter-listbox/context.mjs +9 -0
  605. package/build-module/components/inserter-listbox/group.mjs +40 -0
  606. package/build-module/components/inserter-listbox/index.mjs +29 -0
  607. package/build-module/components/inserter-listbox/item.mjs +33 -0
  608. package/build-module/components/inserter-listbox/row.mjs +12 -0
  609. package/build-module/components/inserter-menu-extension/index.mjs +11 -0
  610. package/build-module/components/inspector-controls/block-support-slot-container.mjs +26 -0
  611. package/build-module/components/inspector-controls/block-support-tools-panel.mjs +68 -0
  612. package/build-module/components/inspector-controls/fill.mjs +93 -0
  613. package/build-module/components/inspector-controls/fill.mjs.map +7 -0
  614. package/build-module/components/inspector-controls/groups.mjs +49 -0
  615. package/build-module/components/inspector-controls/groups.mjs.map +7 -0
  616. package/build-module/components/inspector-controls/index.mjs +19 -0
  617. package/build-module/components/inspector-controls/slot.mjs +52 -0
  618. package/build-module/components/inspector-controls-tabs/advanced-controls-panel.mjs +40 -0
  619. package/build-module/components/inspector-controls-tabs/content-tab.mjs +17 -0
  620. package/build-module/components/inspector-controls-tabs/content-tab.mjs.map +7 -0
  621. package/build-module/components/inspector-controls-tabs/index.mjs +87 -0
  622. package/build-module/components/inspector-controls-tabs/index.mjs.map +7 -0
  623. package/build-module/components/inspector-controls-tabs/position-controls-panel.mjs +88 -0
  624. package/build-module/components/inspector-controls-tabs/settings-tab.mjs +16 -0
  625. package/build-module/components/inspector-controls-tabs/styles-tab.mjs +116 -0
  626. package/build-module/components/inspector-controls-tabs/styles-tab.mjs.map +7 -0
  627. package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.mjs +79 -0
  628. package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.mjs.map +7 -0
  629. package/build-module/components/inspector-controls-tabs/utils.mjs +34 -0
  630. package/build-module/components/inspector-popover-header/index.mjs +61 -0
  631. package/build-module/components/justify-content-control/index.mjs +14 -0
  632. package/build-module/components/justify-content-control/ui.mjs +91 -0
  633. package/build-module/components/keyboard-shortcuts/index.mjs +204 -0
  634. package/build-module/components/keyboard-shortcuts/index.mjs.map +7 -0
  635. package/build-module/components/letter-spacing-control/index.mjs +49 -0
  636. package/build-module/components/line-height-control/index.mjs +91 -0
  637. package/build-module/components/line-height-control/utils.mjs +16 -0
  638. package/build-module/components/link-control/constants.mjs +29 -0
  639. package/build-module/components/link-control/index.mjs +417 -0
  640. package/build-module/components/link-control/is-url-like.mjs +25 -0
  641. package/build-module/components/link-control/link-preview.mjs +163 -0
  642. package/build-module/components/link-control/search-create-button.mjs +46 -0
  643. package/build-module/components/link-control/search-input.mjs +130 -0
  644. package/build-module/components/link-control/search-item.mjs +152 -0
  645. package/build-module/components/link-control/search-results.mjs +101 -0
  646. package/build-module/components/link-control/settings-drawer.mjs +56 -0
  647. package/build-module/components/link-control/settings.mjs +57 -0
  648. package/build-module/components/link-control/use-create-page.mjs +63 -0
  649. package/build-module/components/link-control/use-internal-value.mjs +49 -0
  650. package/build-module/components/link-control/use-rich-url-data.mjs +71 -0
  651. package/build-module/components/link-control/use-search-handler.mjs +102 -0
  652. package/build-module/components/link-control/viewer-slot.mjs +12 -0
  653. package/build-module/components/link-picker/index.mjs +6 -0
  654. package/build-module/components/link-picker/link-picker.mjs +114 -0
  655. package/build-module/components/link-picker/link-preview.mjs +71 -0
  656. package/build-module/components/list-view/appender.mjs +90 -0
  657. package/build-module/components/list-view/aria-referenced-text.mjs +16 -0
  658. package/build-module/components/list-view/block-contents.mjs +66 -0
  659. package/build-module/components/list-view/block-select-button.mjs +155 -0
  660. package/build-module/components/list-view/block.mjs +546 -0
  661. package/build-module/components/list-view/branch.mjs +196 -0
  662. package/build-module/components/list-view/context.mjs +10 -0
  663. package/build-module/components/list-view/drop-indicator.mjs +230 -0
  664. package/build-module/components/list-view/expander.mjs +29 -0
  665. package/build-module/components/list-view/index.mjs +324 -0
  666. package/build-module/components/list-view/leaf.mjs +47 -0
  667. package/build-module/components/list-view/use-block-selection.mjs +115 -0
  668. package/build-module/components/list-view/use-clipboard-handler.mjs +134 -0
  669. package/build-module/components/list-view/use-list-view-block-indexes.mjs +24 -0
  670. package/build-module/components/list-view/use-list-view-client-ids.mjs +25 -0
  671. package/build-module/components/list-view/use-list-view-collapse-items.mjs +27 -0
  672. package/build-module/components/list-view/use-list-view-drop-zone.mjs +306 -0
  673. package/build-module/components/list-view/use-list-view-expand-selected-item.mjs +45 -0
  674. package/build-module/components/list-view/use-list-view-images.mjs +78 -0
  675. package/build-module/components/list-view/use-list-view-scroll-into-view.mjs +30 -0
  676. package/build-module/components/list-view/utils.mjs +111 -0
  677. package/build-module/components/media-placeholder/index.mjs +489 -0
  678. package/build-module/components/media-placeholder/utils.mjs +35 -0
  679. package/build-module/components/media-replace-flow/index.mjs +263 -0
  680. package/build-module/components/media-replace-flow/index.mjs.map +7 -0
  681. package/build-module/components/media-upload/check.mjs +16 -0
  682. package/build-module/components/media-upload/index.mjs +8 -0
  683. package/build-module/components/media-upload-progress/constants.mjs +16 -0
  684. package/build-module/components/multi-selection-inspector/index.mjs +34 -0
  685. package/build-module/components/navigable-toolbar/index.mjs +190 -0
  686. package/build-module/components/observe-typing/index.mjs +151 -0
  687. package/build-module/components/panel-color-settings/index.mjs +30 -0
  688. package/build-module/components/plain-text/index.mjs +26 -0
  689. package/build-module/components/preset-input-control/constants.mjs +39 -0
  690. package/build-module/components/preset-input-control/custom-value-controls.mjs +92 -0
  691. package/build-module/components/preset-input-control/index.mjs +244 -0
  692. package/build-module/components/preset-input-control/utils.mjs +57 -0
  693. package/build-module/components/preview-options/index.mjs +12 -0
  694. package/build-module/components/provider/block-refs-provider.mjs +15 -0
  695. package/build-module/components/provider/index.mjs +102 -0
  696. package/build-module/components/provider/use-block-sync.mjs +157 -0
  697. package/build-module/components/provider/use-media-upload-settings.mjs +18 -0
  698. package/build-module/components/provider/with-registry-provider.mjs +40 -0
  699. package/build-module/components/publish-date-time-picker/index.mjs +60 -0
  700. package/build-module/components/recursion-provider/index.mjs +52 -0
  701. package/build-module/components/resizable-box-popover/index.mjs +23 -0
  702. package/build-module/components/resolution-tool/index.mjs +62 -0
  703. package/build-module/components/responsive-block-control/index.mjs +104 -0
  704. package/build-module/components/responsive-block-control/label.mjs +29 -0
  705. package/build-module/components/rich-text/content.mjs +41 -0
  706. package/build-module/components/rich-text/event-listeners/before-input-rules.mjs +58 -0
  707. package/build-module/components/rich-text/event-listeners/delete.mjs +34 -0
  708. package/build-module/components/rich-text/event-listeners/enter.mjs +67 -0
  709. package/build-module/components/rich-text/event-listeners/firefox-compat.mjs +24 -0
  710. package/build-module/components/rich-text/event-listeners/index.mjs +53 -0
  711. package/build-module/components/rich-text/event-listeners/input-events.mjs +17 -0
  712. package/build-module/components/rich-text/event-listeners/input-rules.mjs +110 -0
  713. package/build-module/components/rich-text/event-listeners/insert-replacement-text.mjs +19 -0
  714. package/build-module/components/rich-text/event-listeners/paste-handler.mjs +94 -0
  715. package/build-module/components/rich-text/event-listeners/remove-browser-shortcuts.mjs +17 -0
  716. package/build-module/components/rich-text/event-listeners/shortcuts.mjs +17 -0
  717. package/build-module/components/rich-text/event-listeners/undo-automatic-change.mjs +33 -0
  718. package/build-module/components/rich-text/format-edit.mjs +61 -0
  719. package/build-module/components/rich-text/format-toolbar/index.mjs +57 -0
  720. package/build-module/components/rich-text/format-toolbar-container.mjs +38 -0
  721. package/build-module/components/rich-text/get-rich-text-values.mjs +83 -0
  722. package/build-module/components/rich-text/index.mjs +479 -0
  723. package/build-module/components/rich-text/input-event.mjs +25 -0
  724. package/build-module/components/rich-text/multiline.mjs +126 -0
  725. package/build-module/components/rich-text/native/format-edit.mjs +39 -0
  726. package/build-module/components/rich-text/native/index.mjs +7 -0
  727. package/build-module/components/rich-text/native/use-format-types.mjs +114 -0
  728. package/build-module/components/rich-text/prevent-event-discovery.mjs +19 -0
  729. package/build-module/components/rich-text/shortcut.mjs +26 -0
  730. package/build-module/components/rich-text/toolbar-button.mjs +24 -0
  731. package/build-module/components/rich-text/use-format-types.mjs +157 -0
  732. package/build-module/components/rich-text/use-mark-persistent.mjs +29 -0
  733. package/build-module/components/rich-text/utils.mjs +41 -0
  734. package/build-module/components/rich-text/with-deprecations.mjs +41 -0
  735. package/build-module/components/selection-scroll-into-view/index.mjs +13 -0
  736. package/build-module/components/skip-to-selected-block/index.mjs +33 -0
  737. package/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.mjs +46 -0
  738. package/build-module/components/spacing-sizes-control/index.mjs +106 -0
  739. package/build-module/components/spacing-sizes-control/input-controls/axial.mjs +69 -0
  740. package/build-module/components/spacing-sizes-control/input-controls/separated.mjs +57 -0
  741. package/build-module/components/spacing-sizes-control/input-controls/single.mjs +49 -0
  742. package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.mjs +105 -0
  743. package/build-module/components/spacing-sizes-control/linked-button.mjs +22 -0
  744. package/build-module/components/spacing-sizes-control/utils.mjs +166 -0
  745. package/build-module/components/tabbed-sidebar/index.mjs +67 -0
  746. package/build-module/components/text-alignment-control/index.mjs +85 -0
  747. package/build-module/components/text-decoration-control/index.mjs +63 -0
  748. package/build-module/components/text-transform-control/index.mjs +69 -0
  749. package/build-module/components/tool-selector/index.mjs +15 -0
  750. package/build-module/components/typewriter/index.mjs +166 -0
  751. package/build-module/components/unit-control/index.mjs +19 -0
  752. package/build-module/components/url-input/button.mjs +73 -0
  753. package/build-module/components/url-input/index.mjs +437 -0
  754. package/build-module/components/url-popover/image-url-input-ui.mjs +348 -0
  755. package/build-module/components/url-popover/index.mjs +91 -0
  756. package/build-module/components/url-popover/link-editor.mjs +48 -0
  757. package/build-module/components/url-popover/link-viewer-url.mjs +19 -0
  758. package/build-module/components/url-popover/link-viewer.mjs +49 -0
  759. package/build-module/components/use-block-commands/index.mjs +281 -0
  760. package/build-module/components/use-block-display-information/index.mjs +90 -0
  761. package/build-module/components/use-block-drop-zone/index.mjs +369 -0
  762. package/build-module/components/use-flash-editable-blocks/index.mjs +51 -0
  763. package/build-module/components/use-moving-animation/index.mjs +107 -0
  764. package/build-module/components/use-on-block-drop/index.mjs +269 -0
  765. package/build-module/components/use-on-block-drop/types.mjs +1 -0
  766. package/build-module/components/use-paste-styles/index.mjs +163 -0
  767. package/build-module/components/use-resize-canvas/index.mjs +59 -0
  768. package/build-module/components/use-resize-canvas/index.mjs.map +7 -0
  769. package/build-module/components/use-settings/index.mjs +30 -0
  770. package/build-module/components/warning/index.mjs +49 -0
  771. package/build-module/components/writing-flow/index.mjs +84 -0
  772. package/build-module/components/writing-flow/use-arrow-nav.mjs +200 -0
  773. package/build-module/components/writing-flow/use-click-selection.mjs +42 -0
  774. package/build-module/components/writing-flow/use-clipboard-handler.mjs +195 -0
  775. package/build-module/components/writing-flow/use-drag-selection.mjs +99 -0
  776. package/build-module/components/writing-flow/use-input.mjs +151 -0
  777. package/build-module/components/writing-flow/use-multi-selection.mjs +66 -0
  778. package/build-module/components/writing-flow/use-select-all.mjs +45 -0
  779. package/build-module/components/writing-flow/use-selection-observer.mjs +167 -0
  780. package/build-module/components/writing-flow/use-tab-nav.mjs +151 -0
  781. package/build-module/components/writing-flow/utils.mjs +73 -0
  782. package/build-module/components/writing-mode-control/index.mjs +51 -0
  783. package/build-module/elements/index.mjs +12 -0
  784. package/build-module/hooks/align.mjs +130 -0
  785. package/build-module/hooks/allowed-blocks.mjs +94 -0
  786. package/build-module/hooks/anchor.mjs +87 -0
  787. package/build-module/hooks/aria-label.mjs +41 -0
  788. package/build-module/hooks/auto-inspector-controls.mjs +61 -0
  789. package/build-module/hooks/auto-inspector-controls.mjs.map +7 -0
  790. package/build-module/hooks/background.mjs +148 -0
  791. package/build-module/hooks/block-bindings.mjs +101 -0
  792. package/build-module/hooks/block-fields/fields-dropdown-menu.mjs +46 -0
  793. package/build-module/hooks/block-fields/fields-dropdown-menu.mjs.map +7 -0
  794. package/build-module/hooks/block-fields/index.mjs +287 -0
  795. package/build-module/hooks/block-fields/index.mjs.map +7 -0
  796. package/build-module/hooks/block-fields/link/index.mjs +160 -0
  797. package/build-module/hooks/block-fields/link/index.mjs.map +7 -0
  798. package/build-module/hooks/block-fields/media/index.mjs +232 -0
  799. package/build-module/hooks/block-fields/media/index.mjs.map +7 -0
  800. package/build-module/hooks/block-fields/rich-text/index.mjs +164 -0
  801. package/build-module/hooks/block-fields/rich-text/index.mjs.map +7 -0
  802. package/build-module/hooks/block-fields/use-inspector-popover-placement.mjs +16 -0
  803. package/build-module/hooks/block-fields/use-inspector-popover-placement.mjs.map +7 -0
  804. package/build-module/hooks/block-hooks.mjs +180 -0
  805. package/build-module/hooks/block-renaming.mjs +32 -0
  806. package/build-module/hooks/block-style-variation.mjs +261 -0
  807. package/build-module/hooks/border.mjs +295 -0
  808. package/build-module/hooks/color.mjs +334 -0
  809. package/build-module/hooks/compat.mjs +16 -0
  810. package/build-module/hooks/content-lock-ui.mjs +47 -0
  811. package/build-module/hooks/contrast-checker.mjs +67 -0
  812. package/build-module/hooks/custom-class-name.mjs +99 -0
  813. package/build-module/hooks/dimensions.mjs +171 -0
  814. package/build-module/hooks/duotone.mjs +273 -0
  815. package/build-module/hooks/fit-text.mjs +295 -0
  816. package/build-module/hooks/fit-text.mjs.map +7 -0
  817. package/build-module/hooks/font-family.mjs +68 -0
  818. package/build-module/hooks/font-size.mjs +178 -0
  819. package/build-module/hooks/gap.mjs +26 -0
  820. package/build-module/hooks/generate-fields-from-attributes.mjs +43 -0
  821. package/build-module/hooks/generate-fields-from-attributes.mjs.map +7 -0
  822. package/build-module/hooks/generated-class-name.mjs +27 -0
  823. package/build-module/hooks/grid-visualizer.mjs +55 -0
  824. package/build-module/hooks/index.mjs +119 -0
  825. package/build-module/hooks/index.mjs.map +7 -0
  826. package/build-module/hooks/layout-child.mjs +231 -0
  827. package/build-module/hooks/layout.mjs +342 -0
  828. package/build-module/hooks/line-height.mjs +42 -0
  829. package/build-module/hooks/list-view.mjs +50 -0
  830. package/build-module/hooks/list-view.mjs.map +7 -0
  831. package/build-module/hooks/lock.mjs +19 -0
  832. package/build-module/hooks/metadata.mjs +69 -0
  833. package/build-module/hooks/position.mjs +223 -0
  834. package/build-module/hooks/settings.mjs +24 -0
  835. package/build-module/hooks/spacing-visualizer.mjs +113 -0
  836. package/build-module/hooks/style.mjs +271 -0
  837. package/build-module/hooks/supports.mjs +121 -0
  838. package/build-module/hooks/text-align.mjs +135 -0
  839. package/build-module/hooks/typography.mjs +158 -0
  840. package/build-module/hooks/typography.mjs.map +7 -0
  841. package/build-module/hooks/use-border-props.mjs +30 -0
  842. package/build-module/hooks/use-cached-truthy.mjs +15 -0
  843. package/build-module/hooks/use-color-props.mjs +97 -0
  844. package/build-module/hooks/use-content-only-section-edit.mjs +46 -0
  845. package/build-module/hooks/use-shadow-props.mjs +12 -0
  846. package/build-module/hooks/use-spacing-props.mjs +14 -0
  847. package/build-module/hooks/use-typography-props.mjs +34 -0
  848. package/build-module/hooks/use-zoom-out.mjs +44 -0
  849. package/build-module/hooks/utils.mjs +604 -0
  850. package/build-module/hooks/utils.mjs.map +7 -0
  851. package/build-module/index.mjs +39 -0
  852. package/build-module/layouts/constrained.mjs +291 -0
  853. package/build-module/layouts/definitions.mjs +176 -0
  854. package/build-module/layouts/flex.mjs +346 -0
  855. package/build-module/layouts/flow.mjs +81 -0
  856. package/build-module/layouts/grid.mjs +364 -0
  857. package/build-module/layouts/index.mjs +17 -0
  858. package/build-module/layouts/utils.mjs +42 -0
  859. package/build-module/lock-unlock.mjs +11 -0
  860. package/build-module/private-apis.mjs +121 -0
  861. package/build-module/private-apis.mjs.map +7 -0
  862. package/build-module/store/actions.mjs +1188 -0
  863. package/build-module/store/array.mjs +22 -0
  864. package/build-module/store/constants.mjs +6 -0
  865. package/build-module/store/defaults.mjs +218 -0
  866. package/build-module/store/get-block-settings.mjs +135 -0
  867. package/build-module/store/index.mjs +31 -0
  868. package/build-module/store/private-actions.mjs +246 -0
  869. package/build-module/store/private-keys.mjs +24 -0
  870. package/build-module/store/private-keys.mjs.map +7 -0
  871. package/build-module/store/private-selectors.mjs +453 -0
  872. package/build-module/store/private-selectors.mjs.map +7 -0
  873. package/build-module/store/reducer.mjs +1900 -0
  874. package/build-module/store/selectors.mjs +1694 -0
  875. package/build-module/store/utils.mjs +130 -0
  876. package/build-module/utils/block-bindings.mjs +22 -0
  877. package/build-module/utils/dom.mjs +108 -0
  878. package/build-module/utils/fit-text-frontend.mjs +32 -0
  879. package/build-module/utils/fit-text-utils.mjs +41 -0
  880. package/build-module/utils/format-font-style.mjs +30 -0
  881. package/build-module/utils/format-font-weight.mjs +53 -0
  882. package/build-module/utils/get-editor-region.mjs +17 -0
  883. package/build-module/utils/get-font-styles-and-weights.mjs +150 -0
  884. package/build-module/utils/get-px-from-css-unit.mjs +6 -0
  885. package/build-module/utils/index.mjs +8 -0
  886. package/build-module/utils/math.mjs +46 -0
  887. package/build-module/utils/object.mjs +34 -0
  888. package/build-module/utils/order-inserter-block-items.mjs +22 -0
  889. package/build-module/utils/pasting.mjs +59 -0
  890. package/build-module/utils/selection.mjs +27 -0
  891. package/build-module/utils/sorting.mjs +33 -0
  892. package/build-module/utils/transform-styles/index.mjs +109 -0
  893. package/build-module/utils/use-notify-copy.mjs +64 -0
  894. package/build-style/content-rtl.css +2 -0
  895. package/build-style/content.css +2 -0
  896. package/build-style/style-rtl.css +148 -146
  897. package/build-style/style.css +148 -146
  898. package/package.json +48 -45
  899. package/src/components/block-allowed-blocks/style.scss +3 -3
  900. package/src/components/block-inspector/index.js +6 -14
  901. package/src/components/block-list/block.js +16 -10
  902. package/src/components/block-list/content.scss +2 -0
  903. package/src/components/block-patterns-list/stories/index.story.jsx +2 -2
  904. package/src/components/block-styles/index.js +92 -52
  905. package/src/components/block-styles/style.scss +4 -0
  906. package/src/components/block-variation-transforms/index.js +2 -2
  907. package/src/components/block-variation-transforms/style.scss +1 -1
  908. package/src/components/block-visibility/block-visibility-info.js +63 -0
  909. package/src/components/block-visibility/styles.scss +10 -0
  910. package/src/components/global-styles/hooks.js +0 -9
  911. package/src/components/global-styles/typography-panel.js +1 -48
  912. package/src/components/index.js +0 -1
  913. package/src/components/inspector-controls/fill.js +20 -2
  914. package/src/components/inspector-controls/groups.js +2 -0
  915. package/src/components/inspector-controls-tabs/content-tab.js +3 -7
  916. package/src/components/inspector-controls-tabs/index.js +2 -4
  917. package/src/components/inspector-controls-tabs/styles-tab.js +1 -8
  918. package/src/components/inspector-controls-tabs/use-inspector-controls-tabs.js +17 -5
  919. package/src/components/keyboard-shortcuts/index.js +1 -0
  920. package/src/components/link-control/test/is-url-like.js +4 -4
  921. package/src/components/media-replace-flow/index.js +16 -2
  922. package/src/components/media-replace-flow/style.scss +8 -1
  923. package/src/components/use-resize-canvas/index.js +7 -2
  924. package/src/hooks/auto-inspector-controls.js +95 -0
  925. package/src/hooks/block-fields/fields-dropdown-menu.js +54 -0
  926. package/src/hooks/block-fields/index.js +392 -0
  927. package/src/hooks/block-fields/link/index.js +200 -0
  928. package/src/hooks/block-fields/media/index.js +303 -0
  929. package/src/hooks/block-fields/media/styles.scss +54 -0
  930. package/src/hooks/block-fields/rich-text/index.js +183 -0
  931. package/src/hooks/block-fields/styles.scss +33 -0
  932. package/src/hooks/fit-text.js +38 -37
  933. package/src/hooks/generate-fields-from-attributes.js +65 -0
  934. package/src/hooks/index.js +3 -0
  935. package/src/hooks/list-view.js +1 -4
  936. package/src/hooks/test/auto-inspector-controls.js +115 -0
  937. package/src/hooks/test/generate-fields-from-attributes.js +216 -0
  938. package/src/hooks/typography.js +0 -2
  939. package/src/hooks/utils.js +5 -8
  940. package/src/private-apis.js +2 -0
  941. package/src/store/private-keys.js +1 -0
  942. package/src/store/private-selectors.js +25 -1
  943. package/src/store/test/private-selectors.js +95 -0
  944. package/src/style.scss +1 -1
  945. package/build/components/content-only-controls/fields-dropdown-menu.cjs +0 -66
  946. package/build/components/content-only-controls/fields-dropdown-menu.cjs.map +0 -7
  947. package/build/components/content-only-controls/index.cjs +0 -421
  948. package/build/components/content-only-controls/index.cjs.map +0 -7
  949. package/build/components/content-only-controls/link/index.cjs +0 -193
  950. package/build/components/content-only-controls/link/index.cjs.map +0 -7
  951. package/build/components/content-only-controls/media/index.cjs +0 -264
  952. package/build/components/content-only-controls/media/index.cjs.map +0 -7
  953. package/build/components/content-only-controls/rich-text/index.cjs +0 -189
  954. package/build/components/content-only-controls/rich-text/index.cjs.map +0 -7
  955. package/build/components/content-only-controls/use-inspector-popover-placement.cjs +0 -41
  956. package/build/components/content-only-controls/use-inspector-popover-placement.cjs.map +0 -7
  957. package/build/components/text-indent-control/index.cjs +0 -121
  958. package/build/components/text-indent-control/index.cjs.map +0 -7
  959. package/build-module/autocompleters/block.js +0 -123
  960. package/build-module/autocompleters/link.js +0 -50
  961. package/build-module/components/alignment-control/index.js +0 -14
  962. package/build-module/components/alignment-control/ui.js +0 -77
  963. package/build-module/components/autocomplete/index.js +0 -50
  964. package/build-module/components/background-image-control/index.js +0 -632
  965. package/build-module/components/block-actions/index.js +0 -112
  966. package/build-module/components/block-alignment-control/constants.js +0 -42
  967. package/build-module/components/block-alignment-control/index.js +0 -14
  968. package/build-module/components/block-alignment-control/ui.js +0 -86
  969. package/build-module/components/block-alignment-control/use-available-alignments.js +0 -66
  970. package/build-module/components/block-alignment-matrix-control/index.js +0 -53
  971. package/build-module/components/block-allowed-blocks/allowed-blocks-control.js +0 -69
  972. package/build-module/components/block-allowed-blocks/index.js +0 -8
  973. package/build-module/components/block-allowed-blocks/modal.js +0 -102
  974. package/build-module/components/block-bindings/attribute-control.js +0 -150
  975. package/build-module/components/block-bindings/index.js +0 -10
  976. package/build-module/components/block-bindings/source-fields-list.js +0 -104
  977. package/build-module/components/block-bindings/use-block-bindings-utils.js +0 -45
  978. package/build-module/components/block-breadcrumb/index.js +0 -110
  979. package/build-module/components/block-canvas/index.js +0 -107
  980. package/build-module/components/block-card/index.js +0 -140
  981. package/build-module/components/block-compare/block-view.js +0 -35
  982. package/build-module/components/block-compare/index.js +0 -63
  983. package/build-module/components/block-content-overlay/index.js +0 -16
  984. package/build-module/components/block-context/index.js +0 -19
  985. package/build-module/components/block-controls/fill.js +0 -36
  986. package/build-module/components/block-controls/groups.js +0 -19
  987. package/build-module/components/block-controls/hook.js +0 -21
  988. package/build-module/components/block-controls/index.js +0 -18
  989. package/build-module/components/block-controls/slot.js +0 -45
  990. package/build-module/components/block-draggable/draggable-chip.js +0 -41
  991. package/build-module/components/block-draggable/index.js +0 -190
  992. package/build-module/components/block-draggable/use-scroll-when-dragging.js +0 -80
  993. package/build-module/components/block-edit/context.js +0 -28
  994. package/build-module/components/block-edit/edit.js +0 -240
  995. package/build-module/components/block-edit/index.js +0 -87
  996. package/build-module/components/block-edit/multiple-usage-warning.js +0 -54
  997. package/build-module/components/block-edit-visually-button/index.js +0 -30
  998. package/build-module/components/block-editing-mode/index.js +0 -35
  999. package/build-module/components/block-full-height-alignment-control/index.js +0 -27
  1000. package/build-module/components/block-heading-level-dropdown/heading-level-icon.js +0 -31
  1001. package/build-module/components/block-heading-level-dropdown/index.js +0 -46
  1002. package/build-module/components/block-icon/index.js +0 -33
  1003. package/build-module/components/block-inspector/edit-contents.js +0 -116
  1004. package/build-module/components/block-inspector/index.js +0 -331
  1005. package/build-module/components/block-inspector/index.js.map +0 -7
  1006. package/build-module/components/block-inspector/useBlockInspectorAnimationSettings.js +0 -30
  1007. package/build-module/components/block-list/block-crash-boundary.js +0 -26
  1008. package/build-module/components/block-list/block-crash-warning.js +0 -10
  1009. package/build-module/components/block-list/block-html.js +0 -63
  1010. package/build-module/components/block-list/block-invalid-warning.js +0 -129
  1011. package/build-module/components/block-list/block.js +0 -613
  1012. package/build-module/components/block-list/block.js.map +0 -7
  1013. package/build-module/components/block-list/index.js +0 -251
  1014. package/build-module/components/block-list/layout.js +0 -38
  1015. package/build-module/components/block-list/private-block-context.js +0 -8
  1016. package/build-module/components/block-list/subdirectory-icon.js +0 -26
  1017. package/build-module/components/block-list/use-block-props/index.js +0 -134
  1018. package/build-module/components/block-list/use-block-props/use-block-refs.js +0 -46
  1019. package/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +0 -62
  1020. package/build-module/components/block-list/use-block-props/use-focus-first-element.js +0 -53
  1021. package/build-module/components/block-list/use-block-props/use-focus-handler.js +0 -37
  1022. package/build-module/components/block-list/use-block-props/use-intersection-observer.js +0 -22
  1023. package/build-module/components/block-list/use-block-props/use-is-hovered.js +0 -33
  1024. package/build-module/components/block-list/use-block-props/use-scroll-into-view.js +0 -35
  1025. package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +0 -219
  1026. package/build-module/components/block-list/use-in-between-inserter.js +0 -122
  1027. package/build-module/components/block-list/zoom-out-separator.js +0 -117
  1028. package/build-module/components/block-list-appender/index.js +0 -61
  1029. package/build-module/components/block-lock/index.js +0 -12
  1030. package/build-module/components/block-lock/menu-item.js +0 -36
  1031. package/build-module/components/block-lock/modal.js +0 -225
  1032. package/build-module/components/block-lock/toolbar.js +0 -46
  1033. package/build-module/components/block-lock/use-block-lock.js +0 -30
  1034. package/build-module/components/block-manager/category.js +0 -95
  1035. package/build-module/components/block-manager/checklist.js +0 -29
  1036. package/build-module/components/block-manager/index.js +0 -113
  1037. package/build-module/components/block-mover/button.js +0 -145
  1038. package/build-module/components/block-mover/index.js +0 -101
  1039. package/build-module/components/block-mover/mover-description.js +0 -267
  1040. package/build-module/components/block-navigation/dropdown.js +0 -70
  1041. package/build-module/components/block-parent-selector/index.js +0 -61
  1042. package/build-module/components/block-pattern-setup/constants.js +0 -9
  1043. package/build-module/components/block-pattern-setup/index.js +0 -179
  1044. package/build-module/components/block-pattern-setup/setup-toolbar.js +0 -100
  1045. package/build-module/components/block-pattern-setup/use-patterns-setup.js +0 -27
  1046. package/build-module/components/block-patterns-list/index.js +0 -213
  1047. package/build-module/components/block-patterns-paging/index.js +0 -116
  1048. package/build-module/components/block-popover/cover.js +0 -64
  1049. package/build-module/components/block-popover/drop-zone.js +0 -53
  1050. package/build-module/components/block-popover/inbetween.js +0 -169
  1051. package/build-module/components/block-popover/index.js +0 -116
  1052. package/build-module/components/block-popover/use-popover-scroll.js +0 -35
  1053. package/build-module/components/block-preview/async.js +0 -26
  1054. package/build-module/components/block-preview/auto.js +0 -113
  1055. package/build-module/components/block-preview/index.js +0 -131
  1056. package/build-module/components/block-quick-navigation/index.js +0 -71
  1057. package/build-module/components/block-removal-warning-modal/index.js +0 -75
  1058. package/build-module/components/block-rename/index.js +0 -10
  1059. package/build-module/components/block-rename/is-empty-string.js +0 -8
  1060. package/build-module/components/block-rename/modal.js +0 -125
  1061. package/build-module/components/block-rename/rename-control.js +0 -33
  1062. package/build-module/components/block-rename/use-block-rename.js +0 -11
  1063. package/build-module/components/block-selection-clearer/index.js +0 -39
  1064. package/build-module/components/block-settings-menu/block-html-convert-button.js +0 -32
  1065. package/build-module/components/block-settings-menu/block-mode-toggle.js +0 -42
  1066. package/build-module/components/block-settings-menu/block-parent-selector-menu-item.js +0 -43
  1067. package/build-module/components/block-settings-menu/block-settings-dropdown.js +0 -310
  1068. package/build-module/components/block-settings-menu/block-settings-menu-first-item.js +0 -11
  1069. package/build-module/components/block-settings-menu/index.js +0 -24
  1070. package/build-module/components/block-settings-menu-controls/edit-section-menu-item.js +0 -59
  1071. package/build-module/components/block-settings-menu-controls/index.js +0 -131
  1072. package/build-module/components/block-styles/index.js +0 -109
  1073. package/build-module/components/block-styles/index.js.map +0 -7
  1074. package/build-module/components/block-styles/menu-items.js +0 -41
  1075. package/build-module/components/block-styles/preview-panel.js +0 -30
  1076. package/build-module/components/block-styles/use-styles-for-block.js +0 -72
  1077. package/build-module/components/block-styles/utils.js +0 -49
  1078. package/build-module/components/block-switcher/block-styles-menu.js +0 -20
  1079. package/build-module/components/block-switcher/block-transformations-menu.js +0 -144
  1080. package/build-module/components/block-switcher/block-variation-transformations.js +0 -102
  1081. package/build-module/components/block-switcher/index.js +0 -194
  1082. package/build-module/components/block-switcher/pattern-transformations-menu.js +0 -122
  1083. package/build-module/components/block-switcher/preview-block-popover.js +0 -29
  1084. package/build-module/components/block-switcher/use-transformed-patterns.js +0 -66
  1085. package/build-module/components/block-switcher/utils.js +0 -38
  1086. package/build-module/components/block-title/index.js +0 -9
  1087. package/build-module/components/block-title/use-block-display-title.js +0 -47
  1088. package/build-module/components/block-toolbar/block-toolbar-icon.js +0 -144
  1089. package/build-module/components/block-toolbar/block-toolbar-last-item.js +0 -11
  1090. package/build-module/components/block-toolbar/change-design.js +0 -107
  1091. package/build-module/components/block-toolbar/index.js +0 -237
  1092. package/build-module/components/block-toolbar/pattern-overrides-dropdown.js +0 -76
  1093. package/build-module/components/block-toolbar/switch-section-style.js +0 -102
  1094. package/build-module/components/block-toolbar/use-has-block-toolbar.js +0 -17
  1095. package/build-module/components/block-toolbar/utils.js +0 -127
  1096. package/build-module/components/block-tools/block-toolbar-popover.js +0 -64
  1097. package/build-module/components/block-tools/empty-block-inserter.js +0 -50
  1098. package/build-module/components/block-tools/index.js +0 -269
  1099. package/build-module/components/block-tools/insertion-point.js +0 -243
  1100. package/build-module/components/block-tools/use-block-toolbar-popover-props.js +0 -121
  1101. package/build-module/components/block-tools/use-selected-block-tool-props.js +0 -44
  1102. package/build-module/components/block-tools/use-show-block-tools.js +0 -32
  1103. package/build-module/components/block-tools/zoom-out-mode-inserter-button.js +0 -30
  1104. package/build-module/components/block-tools/zoom-out-mode-inserters.js +0 -89
  1105. package/build-module/components/block-types-list/index.js +0 -48
  1106. package/build-module/components/block-variation-picker/index.js +0 -66
  1107. package/build-module/components/block-variation-transforms/index.js +0 -181
  1108. package/build-module/components/block-variation-transforms/index.js.map +0 -7
  1109. package/build-module/components/block-vertical-alignment-control/index.js +0 -14
  1110. package/build-module/components/block-vertical-alignment-control/ui.js +0 -74
  1111. package/build-module/components/block-visibility/index.js +0 -8
  1112. package/build-module/components/block-visibility/menu-item.js +0 -88
  1113. package/build-module/components/block-visibility/toolbar.js +0 -71
  1114. package/build-module/components/border-radius-control/constants.js +0 -47
  1115. package/build-module/components/border-radius-control/index.js +0 -184
  1116. package/build-module/components/border-radius-control/linked-button.js +0 -23
  1117. package/build-module/components/border-radius-control/utils.js +0 -147
  1118. package/build-module/components/button-block-appender/index.js +0 -78
  1119. package/build-module/components/child-layout-control/index.js +0 -364
  1120. package/build-module/components/collab/block-comment-icon-slot.js +0 -8
  1121. package/build-module/components/collab/block-comment-icon-toolbar-slot.js +0 -10
  1122. package/build-module/components/color-palette/control.js +0 -23
  1123. package/build-module/components/color-palette/index.js +0 -8
  1124. package/build-module/components/color-palette/with-color-context.js +0 -43
  1125. package/build-module/components/color-style-selector/index.js +0 -63
  1126. package/build-module/components/colors/index.js +0 -15
  1127. package/build-module/components/colors/utils.js +0 -43
  1128. package/build-module/components/colors/with-colors.js +0 -154
  1129. package/build-module/components/colors-gradients/control.js +0 -149
  1130. package/build-module/components/colors-gradients/dropdown.js +0 -185
  1131. package/build-module/components/colors-gradients/panel-color-gradient-settings.js +0 -112
  1132. package/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +0 -117
  1133. package/build-module/components/content-lock/index.js +0 -6
  1134. package/build-module/components/content-lock/modify-content-lock-menu-item.js +0 -45
  1135. package/build-module/components/content-only-controls/fields-dropdown-menu.js +0 -45
  1136. package/build-module/components/content-only-controls/fields-dropdown-menu.js.map +0 -7
  1137. package/build-module/components/content-only-controls/index.js +0 -397
  1138. package/build-module/components/content-only-controls/index.js.map +0 -7
  1139. package/build-module/components/content-only-controls/link/index.js +0 -160
  1140. package/build-module/components/content-only-controls/link/index.js.map +0 -7
  1141. package/build-module/components/content-only-controls/media/index.js +0 -242
  1142. package/build-module/components/content-only-controls/media/index.js.map +0 -7
  1143. package/build-module/components/content-only-controls/rich-text/index.js +0 -161
  1144. package/build-module/components/content-only-controls/rich-text/index.js.map +0 -7
  1145. package/build-module/components/content-only-controls/use-inspector-popover-placement.js +0 -16
  1146. package/build-module/components/content-only-controls/use-inspector-popover-placement.js.map +0 -7
  1147. package/build-module/components/contrast-checker/index.js +0 -107
  1148. package/build-module/components/convert-to-group-buttons/index.js +0 -81
  1149. package/build-module/components/convert-to-group-buttons/toolbar.js +0 -100
  1150. package/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.js +0 -34
  1151. package/build-module/components/copy-handler/index.js +0 -25
  1152. package/build-module/components/date-format-picker/index.js +0 -140
  1153. package/build-module/components/default-block-appender/index.js +0 -86
  1154. package/build-module/components/dimension-control/index.js +0 -119
  1155. package/build-module/components/dimensions-tool/aspect-ratio-tool.js +0 -74
  1156. package/build-module/components/dimensions-tool/index.js +0 -128
  1157. package/build-module/components/dimensions-tool/scale-tool.js +0 -88
  1158. package/build-module/components/dimensions-tool/width-height-tool.js +0 -81
  1159. package/build-module/components/duotone/utils.js +0 -59
  1160. package/build-module/components/duotone-control/index.js +0 -87
  1161. package/build-module/components/editable-text/index.js +0 -15
  1162. package/build-module/components/editor-styles/index.js +0 -98
  1163. package/build-module/components/fit-text-size-warning/index.js +0 -27
  1164. package/build-module/components/floating-toolbar/nav-up-icon.js +0 -31
  1165. package/build-module/components/font-appearance-control/index.js +0 -131
  1166. package/build-module/components/font-family/index.js +0 -63
  1167. package/build-module/components/font-sizes/fluid-utils.js +0 -145
  1168. package/build-module/components/font-sizes/font-size-picker.js +0 -23
  1169. package/build-module/components/font-sizes/index.js +0 -18
  1170. package/build-module/components/font-sizes/utils.js +0 -38
  1171. package/build-module/components/font-sizes/with-font-sizes.js +0 -133
  1172. package/build-module/components/global-styles/advanced-panel.js +0 -64
  1173. package/build-module/components/global-styles/background-panel.js +0 -106
  1174. package/build-module/components/global-styles/border-panel.js +0 -287
  1175. package/build-module/components/global-styles/color-panel.js +0 -657
  1176. package/build-module/components/global-styles/dimensions-panel.js +0 -669
  1177. package/build-module/components/global-styles/filters-panel.js +0 -211
  1178. package/build-module/components/global-styles/hooks.js +0 -227
  1179. package/build-module/components/global-styles/hooks.js.map +0 -7
  1180. package/build-module/components/global-styles/image-settings-panel.js +0 -64
  1181. package/build-module/components/global-styles/index.js +0 -46
  1182. package/build-module/components/global-styles/shadow-panel-components.js +0 -200
  1183. package/build-module/components/global-styles/typography-panel.js +0 -622
  1184. package/build-module/components/global-styles/typography-panel.js.map +0 -7
  1185. package/build-module/components/global-styles/typography-utils.js +0 -81
  1186. package/build-module/components/global-styles/utils.js +0 -31
  1187. package/build-module/components/gradients/index.js +0 -3
  1188. package/build-module/components/gradients/use-gradient.js +0 -98
  1189. package/build-module/components/gradients/with-gradient.js +0 -11
  1190. package/build-module/components/grid/grid-item-movers.js +0 -176
  1191. package/build-module/components/grid/grid-item-resizer.js +0 -163
  1192. package/build-module/components/grid/grid-visualizer.js +0 -362
  1193. package/build-module/components/grid/index.js +0 -12
  1194. package/build-module/components/grid/use-get-number-of-blocks-before-cell.js +0 -23
  1195. package/build-module/components/grid/use-grid-layout-sync.js +0 -200
  1196. package/build-module/components/grid/utils.js +0 -149
  1197. package/build-module/components/height-control/index.js +0 -148
  1198. package/build-module/components/html-element-control/index.js +0 -76
  1199. package/build-module/components/html-element-control/messages.js +0 -38
  1200. package/build-module/components/iframe/get-compatibility-styles.js +0 -78
  1201. package/build-module/components/iframe/index.js +0 -290
  1202. package/build-module/components/iframe/use-scale-canvas.js +0 -267
  1203. package/build-module/components/image-editor/aspect-ratio-dropdown.js +0 -126
  1204. package/build-module/components/image-editor/constants.js +0 -12
  1205. package/build-module/components/image-editor/context.js +0 -43
  1206. package/build-module/components/image-editor/cropper.js +0 -51
  1207. package/build-module/components/image-editor/form-controls.js +0 -16
  1208. package/build-module/components/image-editor/index.js +0 -64
  1209. package/build-module/components/image-editor/rotation-button.js +0 -22
  1210. package/build-module/components/image-editor/use-save-image.js +0 -141
  1211. package/build-module/components/image-editor/use-transform-image.js +0 -137
  1212. package/build-module/components/image-editor/zoom-dropdown.js +0 -47
  1213. package/build-module/components/image-size-control/index.js +0 -123
  1214. package/build-module/components/image-size-control/use-dimension-handler.js +0 -52
  1215. package/build-module/components/index.js +0 -307
  1216. package/build-module/components/index.js.map +0 -7
  1217. package/build-module/components/inner-blocks/button-block-appender.js +0 -29
  1218. package/build-module/components/inner-blocks/default-block-appender.js +0 -12
  1219. package/build-module/components/inner-blocks/index.js +0 -214
  1220. package/build-module/components/inner-blocks/use-block-context.js +0 -34
  1221. package/build-module/components/inner-blocks/use-inner-block-template-sync.js +0 -64
  1222. package/build-module/components/inner-blocks/use-nested-settings-update.js +0 -102
  1223. package/build-module/components/inserter/block-patterns-explorer/index.js +0 -53
  1224. package/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +0 -70
  1225. package/build-module/components/inserter/block-patterns-explorer/pattern-list.js +0 -154
  1226. package/build-module/components/inserter/block-patterns-tab/index.js +0 -72
  1227. package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +0 -181
  1228. package/build-module/components/inserter/block-patterns-tab/patterns-filter.js +0 -160
  1229. package/build-module/components/inserter/block-patterns-tab/use-pattern-categories.js +0 -82
  1230. package/build-module/components/inserter/block-patterns-tab/utils.js +0 -52
  1231. package/build-module/components/inserter/block-types-tab.js +0 -190
  1232. package/build-module/components/inserter/category-tabs/index.js +0 -94
  1233. package/build-module/components/inserter/hooks/use-block-types-state.js +0 -86
  1234. package/build-module/components/inserter/hooks/use-insertion-point.js +0 -180
  1235. package/build-module/components/inserter/hooks/use-patterns-paging.js +0 -49
  1236. package/build-module/components/inserter/hooks/use-patterns-state.js +0 -104
  1237. package/build-module/components/inserter/index.js +0 -319
  1238. package/build-module/components/inserter/library.js +0 -70
  1239. package/build-module/components/inserter/media-tab/hooks.js +0 -103
  1240. package/build-module/components/inserter/media-tab/index.js +0 -10
  1241. package/build-module/components/inserter/media-tab/media-list.js +0 -34
  1242. package/build-module/components/inserter/media-tab/media-panel.js +0 -45
  1243. package/build-module/components/inserter/media-tab/media-preview.js +0 -265
  1244. package/build-module/components/inserter/media-tab/media-tab.js +0 -95
  1245. package/build-module/components/inserter/media-tab/utils.js +0 -38
  1246. package/build-module/components/inserter/menu.js +0 -344
  1247. package/build-module/components/inserter/mobile-tab-navigation.js +0 -77
  1248. package/build-module/components/inserter/no-results.js +0 -11
  1249. package/build-module/components/inserter/panel.js +0 -17
  1250. package/build-module/components/inserter/preview-panel.js +0 -71
  1251. package/build-module/components/inserter/quick-inserter.js +0 -117
  1252. package/build-module/components/inserter/search-items.js +0 -126
  1253. package/build-module/components/inserter/search-results.js +0 -197
  1254. package/build-module/components/inserter/tips.js +0 -38
  1255. package/build-module/components/inserter-button/sparkles.js +0 -15
  1256. package/build-module/components/inserter-draggable-blocks/index.js +0 -80
  1257. package/build-module/components/inserter-list-item/index.js +0 -128
  1258. package/build-module/components/inserter-listbox/context.js +0 -9
  1259. package/build-module/components/inserter-listbox/group.js +0 -40
  1260. package/build-module/components/inserter-listbox/index.js +0 -29
  1261. package/build-module/components/inserter-listbox/item.js +0 -33
  1262. package/build-module/components/inserter-listbox/row.js +0 -12
  1263. package/build-module/components/inserter-menu-extension/index.js +0 -11
  1264. package/build-module/components/inspector-controls/block-support-slot-container.js +0 -26
  1265. package/build-module/components/inspector-controls/block-support-tools-panel.js +0 -68
  1266. package/build-module/components/inspector-controls/fill.js +0 -75
  1267. package/build-module/components/inspector-controls/fill.js.map +0 -7
  1268. package/build-module/components/inspector-controls/groups.js +0 -47
  1269. package/build-module/components/inspector-controls/groups.js.map +0 -7
  1270. package/build-module/components/inspector-controls/index.js +0 -19
  1271. package/build-module/components/inspector-controls/slot.js +0 -52
  1272. package/build-module/components/inspector-controls-tabs/advanced-controls-panel.js +0 -40
  1273. package/build-module/components/inspector-controls-tabs/content-tab.js +0 -21
  1274. package/build-module/components/inspector-controls-tabs/content-tab.js.map +0 -7
  1275. package/build-module/components/inspector-controls-tabs/index.js +0 -90
  1276. package/build-module/components/inspector-controls-tabs/index.js.map +0 -7
  1277. package/build-module/components/inspector-controls-tabs/position-controls-panel.js +0 -88
  1278. package/build-module/components/inspector-controls-tabs/settings-tab.js +0 -16
  1279. package/build-module/components/inspector-controls-tabs/styles-tab.js +0 -117
  1280. package/build-module/components/inspector-controls-tabs/styles-tab.js.map +0 -7
  1281. package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.js +0 -74
  1282. package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.js.map +0 -7
  1283. package/build-module/components/inspector-controls-tabs/utils.js +0 -34
  1284. package/build-module/components/inspector-popover-header/index.js +0 -61
  1285. package/build-module/components/justify-content-control/index.js +0 -14
  1286. package/build-module/components/justify-content-control/ui.js +0 -91
  1287. package/build-module/components/keyboard-shortcuts/index.js +0 -203
  1288. package/build-module/components/keyboard-shortcuts/index.js.map +0 -7
  1289. package/build-module/components/letter-spacing-control/index.js +0 -49
  1290. package/build-module/components/line-height-control/index.js +0 -91
  1291. package/build-module/components/line-height-control/utils.js +0 -16
  1292. package/build-module/components/link-control/constants.js +0 -29
  1293. package/build-module/components/link-control/index.js +0 -417
  1294. package/build-module/components/link-control/is-url-like.js +0 -25
  1295. package/build-module/components/link-control/link-preview.js +0 -163
  1296. package/build-module/components/link-control/search-create-button.js +0 -46
  1297. package/build-module/components/link-control/search-input.js +0 -130
  1298. package/build-module/components/link-control/search-item.js +0 -152
  1299. package/build-module/components/link-control/search-results.js +0 -101
  1300. package/build-module/components/link-control/settings-drawer.js +0 -56
  1301. package/build-module/components/link-control/settings.js +0 -57
  1302. package/build-module/components/link-control/use-create-page.js +0 -63
  1303. package/build-module/components/link-control/use-internal-value.js +0 -49
  1304. package/build-module/components/link-control/use-rich-url-data.js +0 -71
  1305. package/build-module/components/link-control/use-search-handler.js +0 -102
  1306. package/build-module/components/link-control/viewer-slot.js +0 -12
  1307. package/build-module/components/link-picker/index.js +0 -6
  1308. package/build-module/components/link-picker/link-picker.js +0 -114
  1309. package/build-module/components/link-picker/link-preview.js +0 -71
  1310. package/build-module/components/list-view/appender.js +0 -90
  1311. package/build-module/components/list-view/aria-referenced-text.js +0 -16
  1312. package/build-module/components/list-view/block-contents.js +0 -66
  1313. package/build-module/components/list-view/block-select-button.js +0 -155
  1314. package/build-module/components/list-view/block.js +0 -546
  1315. package/build-module/components/list-view/branch.js +0 -196
  1316. package/build-module/components/list-view/context.js +0 -10
  1317. package/build-module/components/list-view/drop-indicator.js +0 -230
  1318. package/build-module/components/list-view/expander.js +0 -29
  1319. package/build-module/components/list-view/index.js +0 -324
  1320. package/build-module/components/list-view/leaf.js +0 -47
  1321. package/build-module/components/list-view/use-block-selection.js +0 -115
  1322. package/build-module/components/list-view/use-clipboard-handler.js +0 -134
  1323. package/build-module/components/list-view/use-list-view-block-indexes.js +0 -24
  1324. package/build-module/components/list-view/use-list-view-client-ids.js +0 -25
  1325. package/build-module/components/list-view/use-list-view-collapse-items.js +0 -27
  1326. package/build-module/components/list-view/use-list-view-drop-zone.js +0 -306
  1327. package/build-module/components/list-view/use-list-view-expand-selected-item.js +0 -45
  1328. package/build-module/components/list-view/use-list-view-images.js +0 -78
  1329. package/build-module/components/list-view/use-list-view-scroll-into-view.js +0 -30
  1330. package/build-module/components/list-view/utils.js +0 -111
  1331. package/build-module/components/media-placeholder/index.js +0 -489
  1332. package/build-module/components/media-placeholder/utils.js +0 -35
  1333. package/build-module/components/media-replace-flow/index.js +0 -254
  1334. package/build-module/components/media-replace-flow/index.js.map +0 -7
  1335. package/build-module/components/media-upload/check.js +0 -16
  1336. package/build-module/components/media-upload/index.js +0 -8
  1337. package/build-module/components/media-upload-progress/constants.js +0 -16
  1338. package/build-module/components/multi-selection-inspector/index.js +0 -34
  1339. package/build-module/components/navigable-toolbar/index.js +0 -190
  1340. package/build-module/components/observe-typing/index.js +0 -151
  1341. package/build-module/components/panel-color-settings/index.js +0 -30
  1342. package/build-module/components/plain-text/index.js +0 -26
  1343. package/build-module/components/preset-input-control/constants.js +0 -39
  1344. package/build-module/components/preset-input-control/custom-value-controls.js +0 -92
  1345. package/build-module/components/preset-input-control/index.js +0 -244
  1346. package/build-module/components/preset-input-control/utils.js +0 -57
  1347. package/build-module/components/preview-options/index.js +0 -12
  1348. package/build-module/components/provider/block-refs-provider.js +0 -15
  1349. package/build-module/components/provider/index.js +0 -102
  1350. package/build-module/components/provider/use-block-sync.js +0 -157
  1351. package/build-module/components/provider/use-media-upload-settings.js +0 -18
  1352. package/build-module/components/provider/with-registry-provider.js +0 -40
  1353. package/build-module/components/publish-date-time-picker/index.js +0 -60
  1354. package/build-module/components/recursion-provider/index.js +0 -52
  1355. package/build-module/components/resizable-box-popover/index.js +0 -23
  1356. package/build-module/components/resolution-tool/index.js +0 -62
  1357. package/build-module/components/responsive-block-control/index.js +0 -104
  1358. package/build-module/components/responsive-block-control/label.js +0 -29
  1359. package/build-module/components/rich-text/content.js +0 -41
  1360. package/build-module/components/rich-text/event-listeners/before-input-rules.js +0 -58
  1361. package/build-module/components/rich-text/event-listeners/delete.js +0 -34
  1362. package/build-module/components/rich-text/event-listeners/enter.js +0 -67
  1363. package/build-module/components/rich-text/event-listeners/firefox-compat.js +0 -24
  1364. package/build-module/components/rich-text/event-listeners/index.js +0 -53
  1365. package/build-module/components/rich-text/event-listeners/input-events.js +0 -17
  1366. package/build-module/components/rich-text/event-listeners/input-rules.js +0 -110
  1367. package/build-module/components/rich-text/event-listeners/insert-replacement-text.js +0 -19
  1368. package/build-module/components/rich-text/event-listeners/paste-handler.js +0 -94
  1369. package/build-module/components/rich-text/event-listeners/remove-browser-shortcuts.js +0 -17
  1370. package/build-module/components/rich-text/event-listeners/shortcuts.js +0 -17
  1371. package/build-module/components/rich-text/event-listeners/undo-automatic-change.js +0 -33
  1372. package/build-module/components/rich-text/format-edit.js +0 -61
  1373. package/build-module/components/rich-text/format-toolbar/index.js +0 -57
  1374. package/build-module/components/rich-text/format-toolbar-container.js +0 -38
  1375. package/build-module/components/rich-text/get-rich-text-values.js +0 -83
  1376. package/build-module/components/rich-text/index.js +0 -479
  1377. package/build-module/components/rich-text/input-event.js +0 -25
  1378. package/build-module/components/rich-text/multiline.js +0 -126
  1379. package/build-module/components/rich-text/native/format-edit.js +0 -39
  1380. package/build-module/components/rich-text/native/index.js +0 -7
  1381. package/build-module/components/rich-text/native/use-format-types.js +0 -114
  1382. package/build-module/components/rich-text/prevent-event-discovery.js +0 -19
  1383. package/build-module/components/rich-text/shortcut.js +0 -26
  1384. package/build-module/components/rich-text/toolbar-button.js +0 -24
  1385. package/build-module/components/rich-text/use-format-types.js +0 -157
  1386. package/build-module/components/rich-text/use-mark-persistent.js +0 -29
  1387. package/build-module/components/rich-text/utils.js +0 -41
  1388. package/build-module/components/rich-text/with-deprecations.js +0 -41
  1389. package/build-module/components/selection-scroll-into-view/index.js +0 -13
  1390. package/build-module/components/skip-to-selected-block/index.js +0 -33
  1391. package/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.js +0 -46
  1392. package/build-module/components/spacing-sizes-control/index.js +0 -106
  1393. package/build-module/components/spacing-sizes-control/input-controls/axial.js +0 -69
  1394. package/build-module/components/spacing-sizes-control/input-controls/separated.js +0 -57
  1395. package/build-module/components/spacing-sizes-control/input-controls/single.js +0 -49
  1396. package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +0 -105
  1397. package/build-module/components/spacing-sizes-control/linked-button.js +0 -22
  1398. package/build-module/components/spacing-sizes-control/utils.js +0 -166
  1399. package/build-module/components/tabbed-sidebar/index.js +0 -67
  1400. package/build-module/components/text-alignment-control/index.js +0 -85
  1401. package/build-module/components/text-decoration-control/index.js +0 -63
  1402. package/build-module/components/text-indent-control/index.js +0 -109
  1403. package/build-module/components/text-indent-control/index.js.map +0 -7
  1404. package/build-module/components/text-transform-control/index.js +0 -69
  1405. package/build-module/components/tool-selector/index.js +0 -15
  1406. package/build-module/components/typewriter/index.js +0 -166
  1407. package/build-module/components/unit-control/index.js +0 -19
  1408. package/build-module/components/url-input/button.js +0 -73
  1409. package/build-module/components/url-input/index.js +0 -437
  1410. package/build-module/components/url-popover/image-url-input-ui.js +0 -348
  1411. package/build-module/components/url-popover/index.js +0 -91
  1412. package/build-module/components/url-popover/link-editor.js +0 -48
  1413. package/build-module/components/url-popover/link-viewer-url.js +0 -19
  1414. package/build-module/components/url-popover/link-viewer.js +0 -49
  1415. package/build-module/components/use-block-commands/index.js +0 -281
  1416. package/build-module/components/use-block-display-information/index.js +0 -90
  1417. package/build-module/components/use-block-drop-zone/index.js +0 -369
  1418. package/build-module/components/use-flash-editable-blocks/index.js +0 -51
  1419. package/build-module/components/use-moving-animation/index.js +0 -107
  1420. package/build-module/components/use-on-block-drop/index.js +0 -269
  1421. package/build-module/components/use-on-block-drop/types.js +0 -1
  1422. package/build-module/components/use-paste-styles/index.js +0 -163
  1423. package/build-module/components/use-resize-canvas/index.js +0 -59
  1424. package/build-module/components/use-resize-canvas/index.js.map +0 -7
  1425. package/build-module/components/use-settings/index.js +0 -30
  1426. package/build-module/components/warning/index.js +0 -49
  1427. package/build-module/components/writing-flow/index.js +0 -84
  1428. package/build-module/components/writing-flow/use-arrow-nav.js +0 -200
  1429. package/build-module/components/writing-flow/use-click-selection.js +0 -42
  1430. package/build-module/components/writing-flow/use-clipboard-handler.js +0 -195
  1431. package/build-module/components/writing-flow/use-drag-selection.js +0 -99
  1432. package/build-module/components/writing-flow/use-input.js +0 -151
  1433. package/build-module/components/writing-flow/use-multi-selection.js +0 -66
  1434. package/build-module/components/writing-flow/use-select-all.js +0 -45
  1435. package/build-module/components/writing-flow/use-selection-observer.js +0 -167
  1436. package/build-module/components/writing-flow/use-tab-nav.js +0 -151
  1437. package/build-module/components/writing-flow/utils.js +0 -73
  1438. package/build-module/components/writing-mode-control/index.js +0 -51
  1439. package/build-module/elements/index.js +0 -12
  1440. package/build-module/hooks/align.js +0 -130
  1441. package/build-module/hooks/allowed-blocks.js +0 -94
  1442. package/build-module/hooks/anchor.js +0 -87
  1443. package/build-module/hooks/aria-label.js +0 -41
  1444. package/build-module/hooks/background.js +0 -148
  1445. package/build-module/hooks/block-bindings.js +0 -101
  1446. package/build-module/hooks/block-hooks.js +0 -180
  1447. package/build-module/hooks/block-renaming.js +0 -32
  1448. package/build-module/hooks/block-style-variation.js +0 -261
  1449. package/build-module/hooks/border.js +0 -295
  1450. package/build-module/hooks/color.js +0 -334
  1451. package/build-module/hooks/compat.js +0 -16
  1452. package/build-module/hooks/content-lock-ui.js +0 -47
  1453. package/build-module/hooks/contrast-checker.js +0 -67
  1454. package/build-module/hooks/custom-class-name.js +0 -99
  1455. package/build-module/hooks/dimensions.js +0 -171
  1456. package/build-module/hooks/duotone.js +0 -273
  1457. package/build-module/hooks/fit-text.js +0 -299
  1458. package/build-module/hooks/fit-text.js.map +0 -7
  1459. package/build-module/hooks/font-family.js +0 -68
  1460. package/build-module/hooks/font-size.js +0 -178
  1461. package/build-module/hooks/gap.js +0 -26
  1462. package/build-module/hooks/generated-class-name.js +0 -27
  1463. package/build-module/hooks/grid-visualizer.js +0 -55
  1464. package/build-module/hooks/index.js +0 -116
  1465. package/build-module/hooks/index.js.map +0 -7
  1466. package/build-module/hooks/layout-child.js +0 -231
  1467. package/build-module/hooks/layout.js +0 -342
  1468. package/build-module/hooks/line-height.js +0 -42
  1469. package/build-module/hooks/list-view.js +0 -52
  1470. package/build-module/hooks/list-view.js.map +0 -7
  1471. package/build-module/hooks/lock.js +0 -19
  1472. package/build-module/hooks/metadata.js +0 -69
  1473. package/build-module/hooks/position.js +0 -223
  1474. package/build-module/hooks/settings.js +0 -24
  1475. package/build-module/hooks/spacing-visualizer.js +0 -113
  1476. package/build-module/hooks/style.js +0 -271
  1477. package/build-module/hooks/supports.js +0 -121
  1478. package/build-module/hooks/text-align.js +0 -135
  1479. package/build-module/hooks/typography.js +0 -160
  1480. package/build-module/hooks/typography.js.map +0 -7
  1481. package/build-module/hooks/use-border-props.js +0 -30
  1482. package/build-module/hooks/use-cached-truthy.js +0 -15
  1483. package/build-module/hooks/use-color-props.js +0 -97
  1484. package/build-module/hooks/use-content-only-section-edit.js +0 -46
  1485. package/build-module/hooks/use-shadow-props.js +0 -12
  1486. package/build-module/hooks/use-spacing-props.js +0 -14
  1487. package/build-module/hooks/use-typography-props.js +0 -34
  1488. package/build-module/hooks/use-zoom-out.js +0 -44
  1489. package/build-module/hooks/utils.js +0 -608
  1490. package/build-module/hooks/utils.js.map +0 -7
  1491. package/build-module/index.js +0 -39
  1492. package/build-module/layouts/constrained.js +0 -291
  1493. package/build-module/layouts/definitions.js +0 -176
  1494. package/build-module/layouts/flex.js +0 -346
  1495. package/build-module/layouts/flow.js +0 -81
  1496. package/build-module/layouts/grid.js +0 -364
  1497. package/build-module/layouts/index.js +0 -17
  1498. package/build-module/layouts/utils.js +0 -42
  1499. package/build-module/lock-unlock.js +0 -11
  1500. package/build-module/private-apis.js +0 -119
  1501. package/build-module/private-apis.js.map +0 -7
  1502. package/build-module/store/actions.js +0 -1188
  1503. package/build-module/store/array.js +0 -22
  1504. package/build-module/store/constants.js +0 -6
  1505. package/build-module/store/defaults.js +0 -218
  1506. package/build-module/store/get-block-settings.js +0 -135
  1507. package/build-module/store/index.js +0 -31
  1508. package/build-module/store/private-actions.js +0 -246
  1509. package/build-module/store/private-keys.js +0 -22
  1510. package/build-module/store/private-keys.js.map +0 -7
  1511. package/build-module/store/private-selectors.js +0 -439
  1512. package/build-module/store/private-selectors.js.map +0 -7
  1513. package/build-module/store/reducer.js +0 -1900
  1514. package/build-module/store/selectors.js +0 -1694
  1515. package/build-module/store/utils.js +0 -130
  1516. package/build-module/utils/block-bindings.js +0 -22
  1517. package/build-module/utils/dom.js +0 -108
  1518. package/build-module/utils/fit-text-frontend.js +0 -32
  1519. package/build-module/utils/fit-text-utils.js +0 -41
  1520. package/build-module/utils/format-font-style.js +0 -30
  1521. package/build-module/utils/format-font-weight.js +0 -53
  1522. package/build-module/utils/get-editor-region.js +0 -17
  1523. package/build-module/utils/get-font-styles-and-weights.js +0 -150
  1524. package/build-module/utils/get-px-from-css-unit.js +0 -6
  1525. package/build-module/utils/index.js +0 -8
  1526. package/build-module/utils/math.js +0 -46
  1527. package/build-module/utils/object.js +0 -34
  1528. package/build-module/utils/order-inserter-block-items.js +0 -22
  1529. package/build-module/utils/pasting.js +0 -59
  1530. package/build-module/utils/selection.js +0 -27
  1531. package/build-module/utils/sorting.js +0 -33
  1532. package/build-module/utils/transform-styles/index.js +0 -109
  1533. package/build-module/utils/use-notify-copy.js +0 -64
  1534. package/src/components/content-only-controls/fields-dropdown-menu.js +0 -53
  1535. package/src/components/content-only-controls/index.js +0 -535
  1536. package/src/components/content-only-controls/link/index.js +0 -200
  1537. package/src/components/content-only-controls/media/index.js +0 -306
  1538. package/src/components/content-only-controls/media/styles.scss +0 -47
  1539. package/src/components/content-only-controls/rich-text/index.js +0 -180
  1540. package/src/components/content-only-controls/styles.scss +0 -44
  1541. package/src/components/text-indent-control/index.js +0 -135
  1542. /package/build-module/autocompleters/{block.js.map → block.mjs.map} +0 -0
  1543. /package/build-module/autocompleters/{link.js.map → link.mjs.map} +0 -0
  1544. /package/build-module/components/alignment-control/{index.js.map → index.mjs.map} +0 -0
  1545. /package/build-module/components/alignment-control/{ui.js.map → ui.mjs.map} +0 -0
  1546. /package/build-module/components/autocomplete/{index.js.map → index.mjs.map} +0 -0
  1547. /package/build-module/components/background-image-control/{index.js.map → index.mjs.map} +0 -0
  1548. /package/build-module/components/block-actions/{index.js.map → index.mjs.map} +0 -0
  1549. /package/build-module/components/block-alignment-control/{constants.js.map → constants.mjs.map} +0 -0
  1550. /package/build-module/components/block-alignment-control/{index.js.map → index.mjs.map} +0 -0
  1551. /package/build-module/components/block-alignment-control/{ui.js.map → ui.mjs.map} +0 -0
  1552. /package/build-module/components/block-alignment-control/{use-available-alignments.js.map → use-available-alignments.mjs.map} +0 -0
  1553. /package/build-module/components/block-alignment-matrix-control/{index.js.map → index.mjs.map} +0 -0
  1554. /package/build-module/components/block-allowed-blocks/{allowed-blocks-control.js.map → allowed-blocks-control.mjs.map} +0 -0
  1555. /package/build-module/components/block-allowed-blocks/{index.js.map → index.mjs.map} +0 -0
  1556. /package/build-module/components/block-allowed-blocks/{modal.js.map → modal.mjs.map} +0 -0
  1557. /package/build-module/components/block-bindings/{attribute-control.js.map → attribute-control.mjs.map} +0 -0
  1558. /package/build-module/components/block-bindings/{index.js.map → index.mjs.map} +0 -0
  1559. /package/build-module/components/block-bindings/{source-fields-list.js.map → source-fields-list.mjs.map} +0 -0
  1560. /package/build-module/components/block-bindings/{use-block-bindings-utils.js.map → use-block-bindings-utils.mjs.map} +0 -0
  1561. /package/build-module/components/block-breadcrumb/{index.js.map → index.mjs.map} +0 -0
  1562. /package/build-module/components/block-canvas/{index.js.map → index.mjs.map} +0 -0
  1563. /package/build-module/components/block-card/{index.js.map → index.mjs.map} +0 -0
  1564. /package/build-module/components/block-compare/{block-view.js.map → block-view.mjs.map} +0 -0
  1565. /package/build-module/components/block-compare/{index.js.map → index.mjs.map} +0 -0
  1566. /package/build-module/components/block-content-overlay/{index.js.map → index.mjs.map} +0 -0
  1567. /package/build-module/components/block-context/{index.js.map → index.mjs.map} +0 -0
  1568. /package/build-module/components/block-controls/{fill.js.map → fill.mjs.map} +0 -0
  1569. /package/build-module/components/block-controls/{groups.js.map → groups.mjs.map} +0 -0
  1570. /package/build-module/components/block-controls/{hook.js.map → hook.mjs.map} +0 -0
  1571. /package/build-module/components/block-controls/{index.js.map → index.mjs.map} +0 -0
  1572. /package/build-module/components/block-controls/{slot.js.map → slot.mjs.map} +0 -0
  1573. /package/build-module/components/block-draggable/{draggable-chip.js.map → draggable-chip.mjs.map} +0 -0
  1574. /package/build-module/components/block-draggable/{index.js.map → index.mjs.map} +0 -0
  1575. /package/build-module/components/block-draggable/{use-scroll-when-dragging.js.map → use-scroll-when-dragging.mjs.map} +0 -0
  1576. /package/build-module/components/block-edit/{context.js.map → context.mjs.map} +0 -0
  1577. /package/build-module/components/block-edit/{edit.js.map → edit.mjs.map} +0 -0
  1578. /package/build-module/components/block-edit/{index.js.map → index.mjs.map} +0 -0
  1579. /package/build-module/components/block-edit/{multiple-usage-warning.js.map → multiple-usage-warning.mjs.map} +0 -0
  1580. /package/build-module/components/block-edit-visually-button/{index.js.map → index.mjs.map} +0 -0
  1581. /package/build-module/components/block-editing-mode/{index.js.map → index.mjs.map} +0 -0
  1582. /package/build-module/components/block-full-height-alignment-control/{index.js.map → index.mjs.map} +0 -0
  1583. /package/build-module/components/block-heading-level-dropdown/{heading-level-icon.js.map → heading-level-icon.mjs.map} +0 -0
  1584. /package/build-module/components/block-heading-level-dropdown/{index.js.map → index.mjs.map} +0 -0
  1585. /package/build-module/components/block-icon/{index.js.map → index.mjs.map} +0 -0
  1586. /package/build-module/components/block-inspector/{edit-contents.js.map → edit-contents.mjs.map} +0 -0
  1587. /package/build-module/components/block-inspector/{useBlockInspectorAnimationSettings.js.map → useBlockInspectorAnimationSettings.mjs.map} +0 -0
  1588. /package/build-module/components/block-list/{block-crash-boundary.js.map → block-crash-boundary.mjs.map} +0 -0
  1589. /package/build-module/components/block-list/{block-crash-warning.js.map → block-crash-warning.mjs.map} +0 -0
  1590. /package/build-module/components/block-list/{block-html.js.map → block-html.mjs.map} +0 -0
  1591. /package/build-module/components/block-list/{block-invalid-warning.js.map → block-invalid-warning.mjs.map} +0 -0
  1592. /package/build-module/components/block-list/{index.js.map → index.mjs.map} +0 -0
  1593. /package/build-module/components/block-list/{layout.js.map → layout.mjs.map} +0 -0
  1594. /package/build-module/components/block-list/{private-block-context.js.map → private-block-context.mjs.map} +0 -0
  1595. /package/build-module/components/block-list/{subdirectory-icon.js.map → subdirectory-icon.mjs.map} +0 -0
  1596. /package/build-module/components/block-list/use-block-props/{index.js.map → index.mjs.map} +0 -0
  1597. /package/build-module/components/block-list/use-block-props/{use-block-refs.js.map → use-block-refs.mjs.map} +0 -0
  1598. /package/build-module/components/block-list/use-block-props/{use-firefox-draggable-compatibility.js.map → use-firefox-draggable-compatibility.mjs.map} +0 -0
  1599. /package/build-module/components/block-list/use-block-props/{use-focus-first-element.js.map → use-focus-first-element.mjs.map} +0 -0
  1600. /package/build-module/components/block-list/use-block-props/{use-focus-handler.js.map → use-focus-handler.mjs.map} +0 -0
  1601. /package/build-module/components/block-list/use-block-props/{use-intersection-observer.js.map → use-intersection-observer.mjs.map} +0 -0
  1602. /package/build-module/components/block-list/use-block-props/{use-is-hovered.js.map → use-is-hovered.mjs.map} +0 -0
  1603. /package/build-module/components/block-list/use-block-props/{use-scroll-into-view.js.map → use-scroll-into-view.mjs.map} +0 -0
  1604. /package/build-module/components/block-list/use-block-props/{use-selected-block-event-handlers.js.map → use-selected-block-event-handlers.mjs.map} +0 -0
  1605. /package/build-module/components/block-list/{use-in-between-inserter.js.map → use-in-between-inserter.mjs.map} +0 -0
  1606. /package/build-module/components/block-list/{zoom-out-separator.js.map → zoom-out-separator.mjs.map} +0 -0
  1607. /package/build-module/components/block-list-appender/{index.js.map → index.mjs.map} +0 -0
  1608. /package/build-module/components/block-lock/{index.js.map → index.mjs.map} +0 -0
  1609. /package/build-module/components/block-lock/{menu-item.js.map → menu-item.mjs.map} +0 -0
  1610. /package/build-module/components/block-lock/{modal.js.map → modal.mjs.map} +0 -0
  1611. /package/build-module/components/block-lock/{toolbar.js.map → toolbar.mjs.map} +0 -0
  1612. /package/build-module/components/block-lock/{use-block-lock.js.map → use-block-lock.mjs.map} +0 -0
  1613. /package/build-module/components/block-manager/{category.js.map → category.mjs.map} +0 -0
  1614. /package/build-module/components/block-manager/{checklist.js.map → checklist.mjs.map} +0 -0
  1615. /package/build-module/components/block-manager/{index.js.map → index.mjs.map} +0 -0
  1616. /package/build-module/components/block-mover/{button.js.map → button.mjs.map} +0 -0
  1617. /package/build-module/components/block-mover/{index.js.map → index.mjs.map} +0 -0
  1618. /package/build-module/components/block-mover/{mover-description.js.map → mover-description.mjs.map} +0 -0
  1619. /package/build-module/components/block-navigation/{dropdown.js.map → dropdown.mjs.map} +0 -0
  1620. /package/build-module/components/block-parent-selector/{index.js.map → index.mjs.map} +0 -0
  1621. /package/build-module/components/block-pattern-setup/{constants.js.map → constants.mjs.map} +0 -0
  1622. /package/build-module/components/block-pattern-setup/{index.js.map → index.mjs.map} +0 -0
  1623. /package/build-module/components/block-pattern-setup/{setup-toolbar.js.map → setup-toolbar.mjs.map} +0 -0
  1624. /package/build-module/components/block-pattern-setup/{use-patterns-setup.js.map → use-patterns-setup.mjs.map} +0 -0
  1625. /package/build-module/components/block-patterns-list/{index.js.map → index.mjs.map} +0 -0
  1626. /package/build-module/components/block-patterns-paging/{index.js.map → index.mjs.map} +0 -0
  1627. /package/build-module/components/block-popover/{cover.js.map → cover.mjs.map} +0 -0
  1628. /package/build-module/components/block-popover/{drop-zone.js.map → drop-zone.mjs.map} +0 -0
  1629. /package/build-module/components/block-popover/{inbetween.js.map → inbetween.mjs.map} +0 -0
  1630. /package/build-module/components/block-popover/{index.js.map → index.mjs.map} +0 -0
  1631. /package/build-module/components/block-popover/{use-popover-scroll.js.map → use-popover-scroll.mjs.map} +0 -0
  1632. /package/build-module/components/block-preview/{async.js.map → async.mjs.map} +0 -0
  1633. /package/build-module/components/block-preview/{auto.js.map → auto.mjs.map} +0 -0
  1634. /package/build-module/components/block-preview/{index.js.map → index.mjs.map} +0 -0
  1635. /package/build-module/components/block-quick-navigation/{index.js.map → index.mjs.map} +0 -0
  1636. /package/build-module/components/block-removal-warning-modal/{index.js.map → index.mjs.map} +0 -0
  1637. /package/build-module/components/block-rename/{index.js.map → index.mjs.map} +0 -0
  1638. /package/build-module/components/block-rename/{is-empty-string.js.map → is-empty-string.mjs.map} +0 -0
  1639. /package/build-module/components/block-rename/{modal.js.map → modal.mjs.map} +0 -0
  1640. /package/build-module/components/block-rename/{rename-control.js.map → rename-control.mjs.map} +0 -0
  1641. /package/build-module/components/block-rename/{use-block-rename.js.map → use-block-rename.mjs.map} +0 -0
  1642. /package/build-module/components/block-selection-clearer/{index.js.map → index.mjs.map} +0 -0
  1643. /package/build-module/components/block-settings-menu/{block-html-convert-button.js.map → block-html-convert-button.mjs.map} +0 -0
  1644. /package/build-module/components/block-settings-menu/{block-mode-toggle.js.map → block-mode-toggle.mjs.map} +0 -0
  1645. /package/build-module/components/block-settings-menu/{block-parent-selector-menu-item.js.map → block-parent-selector-menu-item.mjs.map} +0 -0
  1646. /package/build-module/components/block-settings-menu/{block-settings-dropdown.js.map → block-settings-dropdown.mjs.map} +0 -0
  1647. /package/build-module/components/block-settings-menu/{block-settings-menu-first-item.js.map → block-settings-menu-first-item.mjs.map} +0 -0
  1648. /package/build-module/components/block-settings-menu/{index.js.map → index.mjs.map} +0 -0
  1649. /package/build-module/components/block-settings-menu-controls/{edit-section-menu-item.js.map → edit-section-menu-item.mjs.map} +0 -0
  1650. /package/build-module/components/block-settings-menu-controls/{index.js.map → index.mjs.map} +0 -0
  1651. /package/build-module/components/block-styles/{menu-items.js.map → menu-items.mjs.map} +0 -0
  1652. /package/build-module/components/block-styles/{preview-panel.js.map → preview-panel.mjs.map} +0 -0
  1653. /package/build-module/components/block-styles/{use-styles-for-block.js.map → use-styles-for-block.mjs.map} +0 -0
  1654. /package/build-module/components/block-styles/{utils.js.map → utils.mjs.map} +0 -0
  1655. /package/build-module/components/block-switcher/{block-styles-menu.js.map → block-styles-menu.mjs.map} +0 -0
  1656. /package/build-module/components/block-switcher/{block-transformations-menu.js.map → block-transformations-menu.mjs.map} +0 -0
  1657. /package/build-module/components/block-switcher/{block-variation-transformations.js.map → block-variation-transformations.mjs.map} +0 -0
  1658. /package/build-module/components/block-switcher/{index.js.map → index.mjs.map} +0 -0
  1659. /package/build-module/components/block-switcher/{pattern-transformations-menu.js.map → pattern-transformations-menu.mjs.map} +0 -0
  1660. /package/build-module/components/block-switcher/{preview-block-popover.js.map → preview-block-popover.mjs.map} +0 -0
  1661. /package/build-module/components/block-switcher/{use-transformed-patterns.js.map → use-transformed-patterns.mjs.map} +0 -0
  1662. /package/build-module/components/block-switcher/{utils.js.map → utils.mjs.map} +0 -0
  1663. /package/build-module/components/block-title/{index.js.map → index.mjs.map} +0 -0
  1664. /package/build-module/components/block-title/{use-block-display-title.js.map → use-block-display-title.mjs.map} +0 -0
  1665. /package/build-module/components/block-toolbar/{block-toolbar-icon.js.map → block-toolbar-icon.mjs.map} +0 -0
  1666. /package/build-module/components/block-toolbar/{block-toolbar-last-item.js.map → block-toolbar-last-item.mjs.map} +0 -0
  1667. /package/build-module/components/block-toolbar/{change-design.js.map → change-design.mjs.map} +0 -0
  1668. /package/build-module/components/block-toolbar/{index.js.map → index.mjs.map} +0 -0
  1669. /package/build-module/components/block-toolbar/{pattern-overrides-dropdown.js.map → pattern-overrides-dropdown.mjs.map} +0 -0
  1670. /package/build-module/components/block-toolbar/{switch-section-style.js.map → switch-section-style.mjs.map} +0 -0
  1671. /package/build-module/components/block-toolbar/{use-has-block-toolbar.js.map → use-has-block-toolbar.mjs.map} +0 -0
  1672. /package/build-module/components/block-toolbar/{utils.js.map → utils.mjs.map} +0 -0
  1673. /package/build-module/components/block-tools/{block-toolbar-popover.js.map → block-toolbar-popover.mjs.map} +0 -0
  1674. /package/build-module/components/block-tools/{empty-block-inserter.js.map → empty-block-inserter.mjs.map} +0 -0
  1675. /package/build-module/components/block-tools/{index.js.map → index.mjs.map} +0 -0
  1676. /package/build-module/components/block-tools/{insertion-point.js.map → insertion-point.mjs.map} +0 -0
  1677. /package/build-module/components/block-tools/{use-block-toolbar-popover-props.js.map → use-block-toolbar-popover-props.mjs.map} +0 -0
  1678. /package/build-module/components/block-tools/{use-selected-block-tool-props.js.map → use-selected-block-tool-props.mjs.map} +0 -0
  1679. /package/build-module/components/block-tools/{use-show-block-tools.js.map → use-show-block-tools.mjs.map} +0 -0
  1680. /package/build-module/components/block-tools/{zoom-out-mode-inserter-button.js.map → zoom-out-mode-inserter-button.mjs.map} +0 -0
  1681. /package/build-module/components/block-tools/{zoom-out-mode-inserters.js.map → zoom-out-mode-inserters.mjs.map} +0 -0
  1682. /package/build-module/components/block-types-list/{index.js.map → index.mjs.map} +0 -0
  1683. /package/build-module/components/block-variation-picker/{index.js.map → index.mjs.map} +0 -0
  1684. /package/build-module/components/block-vertical-alignment-control/{index.js.map → index.mjs.map} +0 -0
  1685. /package/build-module/components/block-vertical-alignment-control/{ui.js.map → ui.mjs.map} +0 -0
  1686. /package/build-module/components/block-visibility/{index.js.map → index.mjs.map} +0 -0
  1687. /package/build-module/components/block-visibility/{menu-item.js.map → menu-item.mjs.map} +0 -0
  1688. /package/build-module/components/block-visibility/{toolbar.js.map → toolbar.mjs.map} +0 -0
  1689. /package/build-module/components/border-radius-control/{constants.js.map → constants.mjs.map} +0 -0
  1690. /package/build-module/components/border-radius-control/{index.js.map → index.mjs.map} +0 -0
  1691. /package/build-module/components/border-radius-control/{linked-button.js.map → linked-button.mjs.map} +0 -0
  1692. /package/build-module/components/border-radius-control/{utils.js.map → utils.mjs.map} +0 -0
  1693. /package/build-module/components/button-block-appender/{index.js.map → index.mjs.map} +0 -0
  1694. /package/build-module/components/child-layout-control/{index.js.map → index.mjs.map} +0 -0
  1695. /package/build-module/components/collab/{block-comment-icon-slot.js.map → block-comment-icon-slot.mjs.map} +0 -0
  1696. /package/build-module/components/collab/{block-comment-icon-toolbar-slot.js.map → block-comment-icon-toolbar-slot.mjs.map} +0 -0
  1697. /package/build-module/components/color-palette/{control.js.map → control.mjs.map} +0 -0
  1698. /package/build-module/components/color-palette/{index.js.map → index.mjs.map} +0 -0
  1699. /package/build-module/components/color-palette/{with-color-context.js.map → with-color-context.mjs.map} +0 -0
  1700. /package/build-module/components/color-style-selector/{index.js.map → index.mjs.map} +0 -0
  1701. /package/build-module/components/colors/{index.js.map → index.mjs.map} +0 -0
  1702. /package/build-module/components/colors/{utils.js.map → utils.mjs.map} +0 -0
  1703. /package/build-module/components/colors/{with-colors.js.map → with-colors.mjs.map} +0 -0
  1704. /package/build-module/components/colors-gradients/{control.js.map → control.mjs.map} +0 -0
  1705. /package/build-module/components/colors-gradients/{dropdown.js.map → dropdown.mjs.map} +0 -0
  1706. /package/build-module/components/colors-gradients/{panel-color-gradient-settings.js.map → panel-color-gradient-settings.mjs.map} +0 -0
  1707. /package/build-module/components/colors-gradients/{use-multiple-origin-colors-and-gradients.js.map → use-multiple-origin-colors-and-gradients.mjs.map} +0 -0
  1708. /package/build-module/components/content-lock/{index.js.map → index.mjs.map} +0 -0
  1709. /package/build-module/components/content-lock/{modify-content-lock-menu-item.js.map → modify-content-lock-menu-item.mjs.map} +0 -0
  1710. /package/build-module/components/contrast-checker/{index.js.map → index.mjs.map} +0 -0
  1711. /package/build-module/components/convert-to-group-buttons/{index.js.map → index.mjs.map} +0 -0
  1712. /package/build-module/components/convert-to-group-buttons/{toolbar.js.map → toolbar.mjs.map} +0 -0
  1713. /package/build-module/components/convert-to-group-buttons/{use-convert-to-group-button-props.js.map → use-convert-to-group-button-props.mjs.map} +0 -0
  1714. /package/build-module/components/copy-handler/{index.js.map → index.mjs.map} +0 -0
  1715. /package/build-module/components/date-format-picker/{index.js.map → index.mjs.map} +0 -0
  1716. /package/build-module/components/default-block-appender/{index.js.map → index.mjs.map} +0 -0
  1717. /package/build-module/components/dimension-control/{index.js.map → index.mjs.map} +0 -0
  1718. /package/build-module/components/dimensions-tool/{aspect-ratio-tool.js.map → aspect-ratio-tool.mjs.map} +0 -0
  1719. /package/build-module/components/dimensions-tool/{index.js.map → index.mjs.map} +0 -0
  1720. /package/build-module/components/dimensions-tool/{scale-tool.js.map → scale-tool.mjs.map} +0 -0
  1721. /package/build-module/components/dimensions-tool/{width-height-tool.js.map → width-height-tool.mjs.map} +0 -0
  1722. /package/build-module/components/duotone/{utils.js.map → utils.mjs.map} +0 -0
  1723. /package/build-module/components/duotone-control/{index.js.map → index.mjs.map} +0 -0
  1724. /package/build-module/components/editable-text/{index.js.map → index.mjs.map} +0 -0
  1725. /package/build-module/components/editor-styles/{index.js.map → index.mjs.map} +0 -0
  1726. /package/build-module/components/fit-text-size-warning/{index.js.map → index.mjs.map} +0 -0
  1727. /package/build-module/components/floating-toolbar/{nav-up-icon.js.map → nav-up-icon.mjs.map} +0 -0
  1728. /package/build-module/components/font-appearance-control/{index.js.map → index.mjs.map} +0 -0
  1729. /package/build-module/components/font-family/{index.js.map → index.mjs.map} +0 -0
  1730. /package/build-module/components/font-sizes/{fluid-utils.js.map → fluid-utils.mjs.map} +0 -0
  1731. /package/build-module/components/font-sizes/{font-size-picker.js.map → font-size-picker.mjs.map} +0 -0
  1732. /package/build-module/components/font-sizes/{index.js.map → index.mjs.map} +0 -0
  1733. /package/build-module/components/font-sizes/{utils.js.map → utils.mjs.map} +0 -0
  1734. /package/build-module/components/font-sizes/{with-font-sizes.js.map → with-font-sizes.mjs.map} +0 -0
  1735. /package/build-module/components/global-styles/{advanced-panel.js.map → advanced-panel.mjs.map} +0 -0
  1736. /package/build-module/components/global-styles/{background-panel.js.map → background-panel.mjs.map} +0 -0
  1737. /package/build-module/components/global-styles/{border-panel.js.map → border-panel.mjs.map} +0 -0
  1738. /package/build-module/components/global-styles/{color-panel.js.map → color-panel.mjs.map} +0 -0
  1739. /package/build-module/components/global-styles/{dimensions-panel.js.map → dimensions-panel.mjs.map} +0 -0
  1740. /package/build-module/components/global-styles/{filters-panel.js.map → filters-panel.mjs.map} +0 -0
  1741. /package/build-module/components/global-styles/{image-settings-panel.js.map → image-settings-panel.mjs.map} +0 -0
  1742. /package/build-module/components/global-styles/{index.js.map → index.mjs.map} +0 -0
  1743. /package/build-module/components/global-styles/{shadow-panel-components.js.map → shadow-panel-components.mjs.map} +0 -0
  1744. /package/build-module/components/global-styles/{typography-utils.js.map → typography-utils.mjs.map} +0 -0
  1745. /package/build-module/components/global-styles/{utils.js.map → utils.mjs.map} +0 -0
  1746. /package/build-module/components/gradients/{index.js.map → index.mjs.map} +0 -0
  1747. /package/build-module/components/gradients/{use-gradient.js.map → use-gradient.mjs.map} +0 -0
  1748. /package/build-module/components/gradients/{with-gradient.js.map → with-gradient.mjs.map} +0 -0
  1749. /package/build-module/components/grid/{grid-item-movers.js.map → grid-item-movers.mjs.map} +0 -0
  1750. /package/build-module/components/grid/{grid-item-resizer.js.map → grid-item-resizer.mjs.map} +0 -0
  1751. /package/build-module/components/grid/{grid-visualizer.js.map → grid-visualizer.mjs.map} +0 -0
  1752. /package/build-module/components/grid/{index.js.map → index.mjs.map} +0 -0
  1753. /package/build-module/components/grid/{use-get-number-of-blocks-before-cell.js.map → use-get-number-of-blocks-before-cell.mjs.map} +0 -0
  1754. /package/build-module/components/grid/{use-grid-layout-sync.js.map → use-grid-layout-sync.mjs.map} +0 -0
  1755. /package/build-module/components/grid/{utils.js.map → utils.mjs.map} +0 -0
  1756. /package/build-module/components/height-control/{index.js.map → index.mjs.map} +0 -0
  1757. /package/build-module/components/html-element-control/{index.js.map → index.mjs.map} +0 -0
  1758. /package/build-module/components/html-element-control/{messages.js.map → messages.mjs.map} +0 -0
  1759. /package/build-module/components/iframe/{get-compatibility-styles.js.map → get-compatibility-styles.mjs.map} +0 -0
  1760. /package/build-module/components/iframe/{index.js.map → index.mjs.map} +0 -0
  1761. /package/build-module/components/iframe/{use-scale-canvas.js.map → use-scale-canvas.mjs.map} +0 -0
  1762. /package/build-module/components/image-editor/{aspect-ratio-dropdown.js.map → aspect-ratio-dropdown.mjs.map} +0 -0
  1763. /package/build-module/components/image-editor/{constants.js.map → constants.mjs.map} +0 -0
  1764. /package/build-module/components/image-editor/{context.js.map → context.mjs.map} +0 -0
  1765. /package/build-module/components/image-editor/{cropper.js.map → cropper.mjs.map} +0 -0
  1766. /package/build-module/components/image-editor/{form-controls.js.map → form-controls.mjs.map} +0 -0
  1767. /package/build-module/components/image-editor/{index.js.map → index.mjs.map} +0 -0
  1768. /package/build-module/components/image-editor/{rotation-button.js.map → rotation-button.mjs.map} +0 -0
  1769. /package/build-module/components/image-editor/{use-save-image.js.map → use-save-image.mjs.map} +0 -0
  1770. /package/build-module/components/image-editor/{use-transform-image.js.map → use-transform-image.mjs.map} +0 -0
  1771. /package/build-module/components/image-editor/{zoom-dropdown.js.map → zoom-dropdown.mjs.map} +0 -0
  1772. /package/build-module/components/image-size-control/{index.js.map → index.mjs.map} +0 -0
  1773. /package/build-module/components/image-size-control/{use-dimension-handler.js.map → use-dimension-handler.mjs.map} +0 -0
  1774. /package/build-module/components/inner-blocks/{button-block-appender.js.map → button-block-appender.mjs.map} +0 -0
  1775. /package/build-module/components/inner-blocks/{default-block-appender.js.map → default-block-appender.mjs.map} +0 -0
  1776. /package/build-module/components/inner-blocks/{index.js.map → index.mjs.map} +0 -0
  1777. /package/build-module/components/inner-blocks/{use-block-context.js.map → use-block-context.mjs.map} +0 -0
  1778. /package/build-module/components/inner-blocks/{use-inner-block-template-sync.js.map → use-inner-block-template-sync.mjs.map} +0 -0
  1779. /package/build-module/components/inner-blocks/{use-nested-settings-update.js.map → use-nested-settings-update.mjs.map} +0 -0
  1780. /package/build-module/components/inserter/block-patterns-explorer/{index.js.map → index.mjs.map} +0 -0
  1781. /package/build-module/components/inserter/block-patterns-explorer/{pattern-explorer-sidebar.js.map → pattern-explorer-sidebar.mjs.map} +0 -0
  1782. /package/build-module/components/inserter/block-patterns-explorer/{pattern-list.js.map → pattern-list.mjs.map} +0 -0
  1783. /package/build-module/components/inserter/block-patterns-tab/{index.js.map → index.mjs.map} +0 -0
  1784. /package/build-module/components/inserter/block-patterns-tab/{pattern-category-previews.js.map → pattern-category-previews.mjs.map} +0 -0
  1785. /package/build-module/components/inserter/block-patterns-tab/{patterns-filter.js.map → patterns-filter.mjs.map} +0 -0
  1786. /package/build-module/components/inserter/block-patterns-tab/{use-pattern-categories.js.map → use-pattern-categories.mjs.map} +0 -0
  1787. /package/build-module/components/inserter/block-patterns-tab/{utils.js.map → utils.mjs.map} +0 -0
  1788. /package/build-module/components/inserter/{block-types-tab.js.map → block-types-tab.mjs.map} +0 -0
  1789. /package/build-module/components/inserter/category-tabs/{index.js.map → index.mjs.map} +0 -0
  1790. /package/build-module/components/inserter/hooks/{use-block-types-state.js.map → use-block-types-state.mjs.map} +0 -0
  1791. /package/build-module/components/inserter/hooks/{use-insertion-point.js.map → use-insertion-point.mjs.map} +0 -0
  1792. /package/build-module/components/inserter/hooks/{use-patterns-paging.js.map → use-patterns-paging.mjs.map} +0 -0
  1793. /package/build-module/components/inserter/hooks/{use-patterns-state.js.map → use-patterns-state.mjs.map} +0 -0
  1794. /package/build-module/components/inserter/{index.js.map → index.mjs.map} +0 -0
  1795. /package/build-module/components/inserter/{library.js.map → library.mjs.map} +0 -0
  1796. /package/build-module/components/inserter/media-tab/{hooks.js.map → hooks.mjs.map} +0 -0
  1797. /package/build-module/components/inserter/media-tab/{index.js.map → index.mjs.map} +0 -0
  1798. /package/build-module/components/inserter/media-tab/{media-list.js.map → media-list.mjs.map} +0 -0
  1799. /package/build-module/components/inserter/media-tab/{media-panel.js.map → media-panel.mjs.map} +0 -0
  1800. /package/build-module/components/inserter/media-tab/{media-preview.js.map → media-preview.mjs.map} +0 -0
  1801. /package/build-module/components/inserter/media-tab/{media-tab.js.map → media-tab.mjs.map} +0 -0
  1802. /package/build-module/components/inserter/media-tab/{utils.js.map → utils.mjs.map} +0 -0
  1803. /package/build-module/components/inserter/{menu.js.map → menu.mjs.map} +0 -0
  1804. /package/build-module/components/inserter/{mobile-tab-navigation.js.map → mobile-tab-navigation.mjs.map} +0 -0
  1805. /package/build-module/components/inserter/{no-results.js.map → no-results.mjs.map} +0 -0
  1806. /package/build-module/components/inserter/{panel.js.map → panel.mjs.map} +0 -0
  1807. /package/build-module/components/inserter/{preview-panel.js.map → preview-panel.mjs.map} +0 -0
  1808. /package/build-module/components/inserter/{quick-inserter.js.map → quick-inserter.mjs.map} +0 -0
  1809. /package/build-module/components/inserter/{search-items.js.map → search-items.mjs.map} +0 -0
  1810. /package/build-module/components/inserter/{search-results.js.map → search-results.mjs.map} +0 -0
  1811. /package/build-module/components/inserter/{tips.js.map → tips.mjs.map} +0 -0
  1812. /package/build-module/components/inserter-button/{sparkles.js.map → sparkles.mjs.map} +0 -0
  1813. /package/build-module/components/inserter-draggable-blocks/{index.js.map → index.mjs.map} +0 -0
  1814. /package/build-module/components/inserter-list-item/{index.js.map → index.mjs.map} +0 -0
  1815. /package/build-module/components/inserter-listbox/{context.js.map → context.mjs.map} +0 -0
  1816. /package/build-module/components/inserter-listbox/{group.js.map → group.mjs.map} +0 -0
  1817. /package/build-module/components/inserter-listbox/{index.js.map → index.mjs.map} +0 -0
  1818. /package/build-module/components/inserter-listbox/{item.js.map → item.mjs.map} +0 -0
  1819. /package/build-module/components/inserter-listbox/{row.js.map → row.mjs.map} +0 -0
  1820. /package/build-module/components/inserter-menu-extension/{index.js.map → index.mjs.map} +0 -0
  1821. /package/build-module/components/inspector-controls/{block-support-slot-container.js.map → block-support-slot-container.mjs.map} +0 -0
  1822. /package/build-module/components/inspector-controls/{block-support-tools-panel.js.map → block-support-tools-panel.mjs.map} +0 -0
  1823. /package/build-module/components/inspector-controls/{index.js.map → index.mjs.map} +0 -0
  1824. /package/build-module/components/inspector-controls/{slot.js.map → slot.mjs.map} +0 -0
  1825. /package/build-module/components/inspector-controls-tabs/{advanced-controls-panel.js.map → advanced-controls-panel.mjs.map} +0 -0
  1826. /package/build-module/components/inspector-controls-tabs/{position-controls-panel.js.map → position-controls-panel.mjs.map} +0 -0
  1827. /package/build-module/components/inspector-controls-tabs/{settings-tab.js.map → settings-tab.mjs.map} +0 -0
  1828. /package/build-module/components/inspector-controls-tabs/{utils.js.map → utils.mjs.map} +0 -0
  1829. /package/build-module/components/inspector-popover-header/{index.js.map → index.mjs.map} +0 -0
  1830. /package/build-module/components/justify-content-control/{index.js.map → index.mjs.map} +0 -0
  1831. /package/build-module/components/justify-content-control/{ui.js.map → ui.mjs.map} +0 -0
  1832. /package/build-module/components/letter-spacing-control/{index.js.map → index.mjs.map} +0 -0
  1833. /package/build-module/components/line-height-control/{index.js.map → index.mjs.map} +0 -0
  1834. /package/build-module/components/line-height-control/{utils.js.map → utils.mjs.map} +0 -0
  1835. /package/build-module/components/link-control/{constants.js.map → constants.mjs.map} +0 -0
  1836. /package/build-module/components/link-control/{index.js.map → index.mjs.map} +0 -0
  1837. /package/build-module/components/link-control/{is-url-like.js.map → is-url-like.mjs.map} +0 -0
  1838. /package/build-module/components/link-control/{link-preview.js.map → link-preview.mjs.map} +0 -0
  1839. /package/build-module/components/link-control/{search-create-button.js.map → search-create-button.mjs.map} +0 -0
  1840. /package/build-module/components/link-control/{search-input.js.map → search-input.mjs.map} +0 -0
  1841. /package/build-module/components/link-control/{search-item.js.map → search-item.mjs.map} +0 -0
  1842. /package/build-module/components/link-control/{search-results.js.map → search-results.mjs.map} +0 -0
  1843. /package/build-module/components/link-control/{settings-drawer.js.map → settings-drawer.mjs.map} +0 -0
  1844. /package/build-module/components/link-control/{settings.js.map → settings.mjs.map} +0 -0
  1845. /package/build-module/components/link-control/{use-create-page.js.map → use-create-page.mjs.map} +0 -0
  1846. /package/build-module/components/link-control/{use-internal-value.js.map → use-internal-value.mjs.map} +0 -0
  1847. /package/build-module/components/link-control/{use-rich-url-data.js.map → use-rich-url-data.mjs.map} +0 -0
  1848. /package/build-module/components/link-control/{use-search-handler.js.map → use-search-handler.mjs.map} +0 -0
  1849. /package/build-module/components/link-control/{viewer-slot.js.map → viewer-slot.mjs.map} +0 -0
  1850. /package/build-module/components/link-picker/{index.js.map → index.mjs.map} +0 -0
  1851. /package/build-module/components/link-picker/{link-picker.js.map → link-picker.mjs.map} +0 -0
  1852. /package/build-module/components/link-picker/{link-preview.js.map → link-preview.mjs.map} +0 -0
  1853. /package/build-module/components/list-view/{appender.js.map → appender.mjs.map} +0 -0
  1854. /package/build-module/components/list-view/{aria-referenced-text.js.map → aria-referenced-text.mjs.map} +0 -0
  1855. /package/build-module/components/list-view/{block-contents.js.map → block-contents.mjs.map} +0 -0
  1856. /package/build-module/components/list-view/{block-select-button.js.map → block-select-button.mjs.map} +0 -0
  1857. /package/build-module/components/list-view/{block.js.map → block.mjs.map} +0 -0
  1858. /package/build-module/components/list-view/{branch.js.map → branch.mjs.map} +0 -0
  1859. /package/build-module/components/list-view/{context.js.map → context.mjs.map} +0 -0
  1860. /package/build-module/components/list-view/{drop-indicator.js.map → drop-indicator.mjs.map} +0 -0
  1861. /package/build-module/components/list-view/{expander.js.map → expander.mjs.map} +0 -0
  1862. /package/build-module/components/list-view/{index.js.map → index.mjs.map} +0 -0
  1863. /package/build-module/components/list-view/{leaf.js.map → leaf.mjs.map} +0 -0
  1864. /package/build-module/components/list-view/{use-block-selection.js.map → use-block-selection.mjs.map} +0 -0
  1865. /package/build-module/components/list-view/{use-clipboard-handler.js.map → use-clipboard-handler.mjs.map} +0 -0
  1866. /package/build-module/components/list-view/{use-list-view-block-indexes.js.map → use-list-view-block-indexes.mjs.map} +0 -0
  1867. /package/build-module/components/list-view/{use-list-view-client-ids.js.map → use-list-view-client-ids.mjs.map} +0 -0
  1868. /package/build-module/components/list-view/{use-list-view-collapse-items.js.map → use-list-view-collapse-items.mjs.map} +0 -0
  1869. /package/build-module/components/list-view/{use-list-view-drop-zone.js.map → use-list-view-drop-zone.mjs.map} +0 -0
  1870. /package/build-module/components/list-view/{use-list-view-expand-selected-item.js.map → use-list-view-expand-selected-item.mjs.map} +0 -0
  1871. /package/build-module/components/list-view/{use-list-view-images.js.map → use-list-view-images.mjs.map} +0 -0
  1872. /package/build-module/components/list-view/{use-list-view-scroll-into-view.js.map → use-list-view-scroll-into-view.mjs.map} +0 -0
  1873. /package/build-module/components/list-view/{utils.js.map → utils.mjs.map} +0 -0
  1874. /package/build-module/components/media-placeholder/{index.js.map → index.mjs.map} +0 -0
  1875. /package/build-module/components/media-placeholder/{utils.js.map → utils.mjs.map} +0 -0
  1876. /package/build-module/components/media-upload/{check.js.map → check.mjs.map} +0 -0
  1877. /package/build-module/components/media-upload/{index.js.map → index.mjs.map} +0 -0
  1878. /package/build-module/components/media-upload-progress/{constants.js.map → constants.mjs.map} +0 -0
  1879. /package/build-module/components/multi-selection-inspector/{index.js.map → index.mjs.map} +0 -0
  1880. /package/build-module/components/navigable-toolbar/{index.js.map → index.mjs.map} +0 -0
  1881. /package/build-module/components/observe-typing/{index.js.map → index.mjs.map} +0 -0
  1882. /package/build-module/components/panel-color-settings/{index.js.map → index.mjs.map} +0 -0
  1883. /package/build-module/components/plain-text/{index.js.map → index.mjs.map} +0 -0
  1884. /package/build-module/components/preset-input-control/{constants.js.map → constants.mjs.map} +0 -0
  1885. /package/build-module/components/preset-input-control/{custom-value-controls.js.map → custom-value-controls.mjs.map} +0 -0
  1886. /package/build-module/components/preset-input-control/{index.js.map → index.mjs.map} +0 -0
  1887. /package/build-module/components/preset-input-control/{utils.js.map → utils.mjs.map} +0 -0
  1888. /package/build-module/components/preview-options/{index.js.map → index.mjs.map} +0 -0
  1889. /package/build-module/components/provider/{block-refs-provider.js.map → block-refs-provider.mjs.map} +0 -0
  1890. /package/build-module/components/provider/{index.js.map → index.mjs.map} +0 -0
  1891. /package/build-module/components/provider/{use-block-sync.js.map → use-block-sync.mjs.map} +0 -0
  1892. /package/build-module/components/provider/{use-media-upload-settings.js.map → use-media-upload-settings.mjs.map} +0 -0
  1893. /package/build-module/components/provider/{with-registry-provider.js.map → with-registry-provider.mjs.map} +0 -0
  1894. /package/build-module/components/publish-date-time-picker/{index.js.map → index.mjs.map} +0 -0
  1895. /package/build-module/components/recursion-provider/{index.js.map → index.mjs.map} +0 -0
  1896. /package/build-module/components/resizable-box-popover/{index.js.map → index.mjs.map} +0 -0
  1897. /package/build-module/components/resolution-tool/{index.js.map → index.mjs.map} +0 -0
  1898. /package/build-module/components/responsive-block-control/{index.js.map → index.mjs.map} +0 -0
  1899. /package/build-module/components/responsive-block-control/{label.js.map → label.mjs.map} +0 -0
  1900. /package/build-module/components/rich-text/{content.js.map → content.mjs.map} +0 -0
  1901. /package/build-module/components/rich-text/event-listeners/{before-input-rules.js.map → before-input-rules.mjs.map} +0 -0
  1902. /package/build-module/components/rich-text/event-listeners/{delete.js.map → delete.mjs.map} +0 -0
  1903. /package/build-module/components/rich-text/event-listeners/{enter.js.map → enter.mjs.map} +0 -0
  1904. /package/build-module/components/rich-text/event-listeners/{firefox-compat.js.map → firefox-compat.mjs.map} +0 -0
  1905. /package/build-module/components/rich-text/event-listeners/{index.js.map → index.mjs.map} +0 -0
  1906. /package/build-module/components/rich-text/event-listeners/{input-events.js.map → input-events.mjs.map} +0 -0
  1907. /package/build-module/components/rich-text/event-listeners/{input-rules.js.map → input-rules.mjs.map} +0 -0
  1908. /package/build-module/components/rich-text/event-listeners/{insert-replacement-text.js.map → insert-replacement-text.mjs.map} +0 -0
  1909. /package/build-module/components/rich-text/event-listeners/{paste-handler.js.map → paste-handler.mjs.map} +0 -0
  1910. /package/build-module/components/rich-text/event-listeners/{remove-browser-shortcuts.js.map → remove-browser-shortcuts.mjs.map} +0 -0
  1911. /package/build-module/components/rich-text/event-listeners/{shortcuts.js.map → shortcuts.mjs.map} +0 -0
  1912. /package/build-module/components/rich-text/event-listeners/{undo-automatic-change.js.map → undo-automatic-change.mjs.map} +0 -0
  1913. /package/build-module/components/rich-text/{format-edit.js.map → format-edit.mjs.map} +0 -0
  1914. /package/build-module/components/rich-text/format-toolbar/{index.js.map → index.mjs.map} +0 -0
  1915. /package/build-module/components/rich-text/{format-toolbar-container.js.map → format-toolbar-container.mjs.map} +0 -0
  1916. /package/build-module/components/rich-text/{get-rich-text-values.js.map → get-rich-text-values.mjs.map} +0 -0
  1917. /package/build-module/components/rich-text/{index.js.map → index.mjs.map} +0 -0
  1918. /package/build-module/components/rich-text/{input-event.js.map → input-event.mjs.map} +0 -0
  1919. /package/build-module/components/rich-text/{multiline.js.map → multiline.mjs.map} +0 -0
  1920. /package/build-module/components/rich-text/native/{format-edit.js.map → format-edit.mjs.map} +0 -0
  1921. /package/build-module/components/rich-text/native/{index.js.map → index.mjs.map} +0 -0
  1922. /package/build-module/components/rich-text/native/{use-format-types.js.map → use-format-types.mjs.map} +0 -0
  1923. /package/build-module/components/rich-text/{prevent-event-discovery.js.map → prevent-event-discovery.mjs.map} +0 -0
  1924. /package/build-module/components/rich-text/{shortcut.js.map → shortcut.mjs.map} +0 -0
  1925. /package/build-module/components/rich-text/{toolbar-button.js.map → toolbar-button.mjs.map} +0 -0
  1926. /package/build-module/components/rich-text/{use-format-types.js.map → use-format-types.mjs.map} +0 -0
  1927. /package/build-module/components/rich-text/{use-mark-persistent.js.map → use-mark-persistent.mjs.map} +0 -0
  1928. /package/build-module/components/rich-text/{utils.js.map → utils.mjs.map} +0 -0
  1929. /package/build-module/components/rich-text/{with-deprecations.js.map → with-deprecations.mjs.map} +0 -0
  1930. /package/build-module/components/selection-scroll-into-view/{index.js.map → index.mjs.map} +0 -0
  1931. /package/build-module/components/skip-to-selected-block/{index.js.map → index.mjs.map} +0 -0
  1932. /package/build-module/components/spacing-sizes-control/hooks/{use-spacing-sizes.js.map → use-spacing-sizes.mjs.map} +0 -0
  1933. /package/build-module/components/spacing-sizes-control/{index.js.map → index.mjs.map} +0 -0
  1934. /package/build-module/components/spacing-sizes-control/input-controls/{axial.js.map → axial.mjs.map} +0 -0
  1935. /package/build-module/components/spacing-sizes-control/input-controls/{separated.js.map → separated.mjs.map} +0 -0
  1936. /package/build-module/components/spacing-sizes-control/input-controls/{single.js.map → single.mjs.map} +0 -0
  1937. /package/build-module/components/spacing-sizes-control/input-controls/{spacing-input-control.js.map → spacing-input-control.mjs.map} +0 -0
  1938. /package/build-module/components/spacing-sizes-control/{linked-button.js.map → linked-button.mjs.map} +0 -0
  1939. /package/build-module/components/spacing-sizes-control/{utils.js.map → utils.mjs.map} +0 -0
  1940. /package/build-module/components/tabbed-sidebar/{index.js.map → index.mjs.map} +0 -0
  1941. /package/build-module/components/text-alignment-control/{index.js.map → index.mjs.map} +0 -0
  1942. /package/build-module/components/text-decoration-control/{index.js.map → index.mjs.map} +0 -0
  1943. /package/build-module/components/text-transform-control/{index.js.map → index.mjs.map} +0 -0
  1944. /package/build-module/components/tool-selector/{index.js.map → index.mjs.map} +0 -0
  1945. /package/build-module/components/typewriter/{index.js.map → index.mjs.map} +0 -0
  1946. /package/build-module/components/unit-control/{index.js.map → index.mjs.map} +0 -0
  1947. /package/build-module/components/url-input/{button.js.map → button.mjs.map} +0 -0
  1948. /package/build-module/components/url-input/{index.js.map → index.mjs.map} +0 -0
  1949. /package/build-module/components/url-popover/{image-url-input-ui.js.map → image-url-input-ui.mjs.map} +0 -0
  1950. /package/build-module/components/url-popover/{index.js.map → index.mjs.map} +0 -0
  1951. /package/build-module/components/url-popover/{link-editor.js.map → link-editor.mjs.map} +0 -0
  1952. /package/build-module/components/url-popover/{link-viewer-url.js.map → link-viewer-url.mjs.map} +0 -0
  1953. /package/build-module/components/url-popover/{link-viewer.js.map → link-viewer.mjs.map} +0 -0
  1954. /package/build-module/components/use-block-commands/{index.js.map → index.mjs.map} +0 -0
  1955. /package/build-module/components/use-block-display-information/{index.js.map → index.mjs.map} +0 -0
  1956. /package/build-module/components/use-block-drop-zone/{index.js.map → index.mjs.map} +0 -0
  1957. /package/build-module/components/use-flash-editable-blocks/{index.js.map → index.mjs.map} +0 -0
  1958. /package/build-module/components/use-moving-animation/{index.js.map → index.mjs.map} +0 -0
  1959. /package/build-module/components/use-on-block-drop/{index.js.map → index.mjs.map} +0 -0
  1960. /package/build-module/components/use-on-block-drop/{types.js.map → types.mjs.map} +0 -0
  1961. /package/build-module/components/use-paste-styles/{index.js.map → index.mjs.map} +0 -0
  1962. /package/build-module/components/use-settings/{index.js.map → index.mjs.map} +0 -0
  1963. /package/build-module/components/warning/{index.js.map → index.mjs.map} +0 -0
  1964. /package/build-module/components/writing-flow/{index.js.map → index.mjs.map} +0 -0
  1965. /package/build-module/components/writing-flow/{use-arrow-nav.js.map → use-arrow-nav.mjs.map} +0 -0
  1966. /package/build-module/components/writing-flow/{use-click-selection.js.map → use-click-selection.mjs.map} +0 -0
  1967. /package/build-module/components/writing-flow/{use-clipboard-handler.js.map → use-clipboard-handler.mjs.map} +0 -0
  1968. /package/build-module/components/writing-flow/{use-drag-selection.js.map → use-drag-selection.mjs.map} +0 -0
  1969. /package/build-module/components/writing-flow/{use-input.js.map → use-input.mjs.map} +0 -0
  1970. /package/build-module/components/writing-flow/{use-multi-selection.js.map → use-multi-selection.mjs.map} +0 -0
  1971. /package/build-module/components/writing-flow/{use-select-all.js.map → use-select-all.mjs.map} +0 -0
  1972. /package/build-module/components/writing-flow/{use-selection-observer.js.map → use-selection-observer.mjs.map} +0 -0
  1973. /package/build-module/components/writing-flow/{use-tab-nav.js.map → use-tab-nav.mjs.map} +0 -0
  1974. /package/build-module/components/writing-flow/{utils.js.map → utils.mjs.map} +0 -0
  1975. /package/build-module/components/writing-mode-control/{index.js.map → index.mjs.map} +0 -0
  1976. /package/build-module/elements/{index.js.map → index.mjs.map} +0 -0
  1977. /package/build-module/hooks/{align.js.map → align.mjs.map} +0 -0
  1978. /package/build-module/hooks/{allowed-blocks.js.map → allowed-blocks.mjs.map} +0 -0
  1979. /package/build-module/hooks/{anchor.js.map → anchor.mjs.map} +0 -0
  1980. /package/build-module/hooks/{aria-label.js.map → aria-label.mjs.map} +0 -0
  1981. /package/build-module/hooks/{background.js.map → background.mjs.map} +0 -0
  1982. /package/build-module/hooks/{block-bindings.js.map → block-bindings.mjs.map} +0 -0
  1983. /package/build-module/hooks/{block-hooks.js.map → block-hooks.mjs.map} +0 -0
  1984. /package/build-module/hooks/{block-renaming.js.map → block-renaming.mjs.map} +0 -0
  1985. /package/build-module/hooks/{block-style-variation.js.map → block-style-variation.mjs.map} +0 -0
  1986. /package/build-module/hooks/{border.js.map → border.mjs.map} +0 -0
  1987. /package/build-module/hooks/{color.js.map → color.mjs.map} +0 -0
  1988. /package/build-module/hooks/{compat.js.map → compat.mjs.map} +0 -0
  1989. /package/build-module/hooks/{content-lock-ui.js.map → content-lock-ui.mjs.map} +0 -0
  1990. /package/build-module/hooks/{contrast-checker.js.map → contrast-checker.mjs.map} +0 -0
  1991. /package/build-module/hooks/{custom-class-name.js.map → custom-class-name.mjs.map} +0 -0
  1992. /package/build-module/hooks/{dimensions.js.map → dimensions.mjs.map} +0 -0
  1993. /package/build-module/hooks/{duotone.js.map → duotone.mjs.map} +0 -0
  1994. /package/build-module/hooks/{font-family.js.map → font-family.mjs.map} +0 -0
  1995. /package/build-module/hooks/{font-size.js.map → font-size.mjs.map} +0 -0
  1996. /package/build-module/hooks/{gap.js.map → gap.mjs.map} +0 -0
  1997. /package/build-module/hooks/{generated-class-name.js.map → generated-class-name.mjs.map} +0 -0
  1998. /package/build-module/hooks/{grid-visualizer.js.map → grid-visualizer.mjs.map} +0 -0
  1999. /package/build-module/hooks/{layout-child.js.map → layout-child.mjs.map} +0 -0
  2000. /package/build-module/hooks/{layout.js.map → layout.mjs.map} +0 -0
  2001. /package/build-module/hooks/{line-height.js.map → line-height.mjs.map} +0 -0
  2002. /package/build-module/hooks/{lock.js.map → lock.mjs.map} +0 -0
  2003. /package/build-module/hooks/{metadata.js.map → metadata.mjs.map} +0 -0
  2004. /package/build-module/hooks/{position.js.map → position.mjs.map} +0 -0
  2005. /package/build-module/hooks/{settings.js.map → settings.mjs.map} +0 -0
  2006. /package/build-module/hooks/{spacing-visualizer.js.map → spacing-visualizer.mjs.map} +0 -0
  2007. /package/build-module/hooks/{style.js.map → style.mjs.map} +0 -0
  2008. /package/build-module/hooks/{supports.js.map → supports.mjs.map} +0 -0
  2009. /package/build-module/hooks/{text-align.js.map → text-align.mjs.map} +0 -0
  2010. /package/build-module/hooks/{use-border-props.js.map → use-border-props.mjs.map} +0 -0
  2011. /package/build-module/hooks/{use-cached-truthy.js.map → use-cached-truthy.mjs.map} +0 -0
  2012. /package/build-module/hooks/{use-color-props.js.map → use-color-props.mjs.map} +0 -0
  2013. /package/build-module/hooks/{use-content-only-section-edit.js.map → use-content-only-section-edit.mjs.map} +0 -0
  2014. /package/build-module/hooks/{use-shadow-props.js.map → use-shadow-props.mjs.map} +0 -0
  2015. /package/build-module/hooks/{use-spacing-props.js.map → use-spacing-props.mjs.map} +0 -0
  2016. /package/build-module/hooks/{use-typography-props.js.map → use-typography-props.mjs.map} +0 -0
  2017. /package/build-module/hooks/{use-zoom-out.js.map → use-zoom-out.mjs.map} +0 -0
  2018. /package/build-module/{index.js.map → index.mjs.map} +0 -0
  2019. /package/build-module/layouts/{constrained.js.map → constrained.mjs.map} +0 -0
  2020. /package/build-module/layouts/{definitions.js.map → definitions.mjs.map} +0 -0
  2021. /package/build-module/layouts/{flex.js.map → flex.mjs.map} +0 -0
  2022. /package/build-module/layouts/{flow.js.map → flow.mjs.map} +0 -0
  2023. /package/build-module/layouts/{grid.js.map → grid.mjs.map} +0 -0
  2024. /package/build-module/layouts/{index.js.map → index.mjs.map} +0 -0
  2025. /package/build-module/layouts/{utils.js.map → utils.mjs.map} +0 -0
  2026. /package/build-module/{lock-unlock.js.map → lock-unlock.mjs.map} +0 -0
  2027. /package/build-module/store/{actions.js.map → actions.mjs.map} +0 -0
  2028. /package/build-module/store/{array.js.map → array.mjs.map} +0 -0
  2029. /package/build-module/store/{constants.js.map → constants.mjs.map} +0 -0
  2030. /package/build-module/store/{defaults.js.map → defaults.mjs.map} +0 -0
  2031. /package/build-module/store/{get-block-settings.js.map → get-block-settings.mjs.map} +0 -0
  2032. /package/build-module/store/{index.js.map → index.mjs.map} +0 -0
  2033. /package/build-module/store/{private-actions.js.map → private-actions.mjs.map} +0 -0
  2034. /package/build-module/store/{reducer.js.map → reducer.mjs.map} +0 -0
  2035. /package/build-module/store/{selectors.js.map → selectors.mjs.map} +0 -0
  2036. /package/build-module/store/{utils.js.map → utils.mjs.map} +0 -0
  2037. /package/build-module/utils/{block-bindings.js.map → block-bindings.mjs.map} +0 -0
  2038. /package/build-module/utils/{dom.js.map → dom.mjs.map} +0 -0
  2039. /package/build-module/utils/{fit-text-frontend.js.map → fit-text-frontend.mjs.map} +0 -0
  2040. /package/build-module/utils/{fit-text-utils.js.map → fit-text-utils.mjs.map} +0 -0
  2041. /package/build-module/utils/{format-font-style.js.map → format-font-style.mjs.map} +0 -0
  2042. /package/build-module/utils/{format-font-weight.js.map → format-font-weight.mjs.map} +0 -0
  2043. /package/build-module/utils/{get-editor-region.js.map → get-editor-region.mjs.map} +0 -0
  2044. /package/build-module/utils/{get-font-styles-and-weights.js.map → get-font-styles-and-weights.mjs.map} +0 -0
  2045. /package/build-module/utils/{get-px-from-css-unit.js.map → get-px-from-css-unit.mjs.map} +0 -0
  2046. /package/build-module/utils/{index.js.map → index.mjs.map} +0 -0
  2047. /package/build-module/utils/{math.js.map → math.mjs.map} +0 -0
  2048. /package/build-module/utils/{object.js.map → object.mjs.map} +0 -0
  2049. /package/build-module/utils/{order-inserter-block-items.js.map → order-inserter-block-items.mjs.map} +0 -0
  2050. /package/build-module/utils/{pasting.js.map → pasting.mjs.map} +0 -0
  2051. /package/build-module/utils/{selection.js.map → selection.mjs.map} +0 -0
  2052. /package/build-module/utils/{sorting.js.map → sorting.mjs.map} +0 -0
  2053. /package/build-module/utils/transform-styles/{index.js.map → index.mjs.map} +0 -0
  2054. /package/build-module/utils/{use-notify-copy.js.map → use-notify-copy.mjs.map} +0 -0
  2055. /package/src/{components/content-only-controls → hooks/block-fields}/link/styles.scss +0 -0
  2056. /package/src/{components/content-only-controls → hooks/block-fields}/rich-text/styles.scss +0 -0
  2057. /package/src/{components/content-only-controls → hooks/block-fields}/use-inspector-popover-placement.js +0 -0
@@ -0,0 +1,1694 @@
1
+ // packages/block-editor/src/store/selectors.js
2
+ import {
3
+ getBlockType,
4
+ getBlockTypes,
5
+ getBlockVariations,
6
+ hasBlockSupport,
7
+ getPossibleBlockTransformations,
8
+ switchToBlockType,
9
+ store as blocksStore,
10
+ privateApis as blocksPrivateApis
11
+ } from "@wordpress/blocks";
12
+ import { Platform } from "@wordpress/element";
13
+ import { applyFilters } from "@wordpress/hooks";
14
+ import { symbol } from "@wordpress/icons";
15
+ import { create, remove, toHTMLString } from "@wordpress/rich-text";
16
+ import deprecated from "@wordpress/deprecated";
17
+ import { createSelector, createRegistrySelector } from "@wordpress/data";
18
+ import {
19
+ isFiltered,
20
+ checkAllowListRecursive,
21
+ checkAllowList,
22
+ getAllPatternsDependants,
23
+ getInsertBlockTypeDependants,
24
+ getParsedPattern,
25
+ getGrammar,
26
+ mapUserPattern
27
+ } from "./utils.mjs";
28
+ import { orderBy } from "../utils/sorting.mjs";
29
+ import { STORE_NAME } from "./constants.mjs";
30
+ import { unlock } from "../lock-unlock.mjs";
31
+ import {
32
+ getContentLockingParent,
33
+ getEditedContentOnlySection,
34
+ getSectionRootClientId,
35
+ isSectionBlock,
36
+ getParentSectionBlock,
37
+ isZoomOut,
38
+ isContainerInsertableToInContentOnlyMode
39
+ } from "./private-selectors.mjs";
40
+ var { isContentBlock } = unlock(blocksPrivateApis);
41
+ var MILLISECONDS_PER_HOUR = 3600 * 1e3;
42
+ var MILLISECONDS_PER_DAY = 24 * 3600 * 1e3;
43
+ var MILLISECONDS_PER_WEEK = 7 * 24 * 3600 * 1e3;
44
+ var EMPTY_ARRAY = [];
45
+ var EMPTY_SET = /* @__PURE__ */ new Set();
46
+ var DEFAULT_INSERTER_OPTIONS = {
47
+ [isFiltered]: true
48
+ };
49
+ function getBlockName(state, clientId) {
50
+ const block = state.blocks.byClientId.get(clientId);
51
+ const socialLinkName = "core/social-link";
52
+ if (Platform.OS !== "web" && block?.name === socialLinkName) {
53
+ const attributes = state.blocks.attributes.get(clientId);
54
+ const { service } = attributes ?? {};
55
+ return service ? `${socialLinkName}-${service}` : socialLinkName;
56
+ }
57
+ return block ? block.name : null;
58
+ }
59
+ function isBlockValid(state, clientId) {
60
+ const block = state.blocks.byClientId.get(clientId);
61
+ return !!block && block.isValid;
62
+ }
63
+ function getBlockAttributes(state, clientId) {
64
+ const block = state.blocks.byClientId.get(clientId);
65
+ if (!block) {
66
+ return null;
67
+ }
68
+ return state.blocks.attributes.get(clientId);
69
+ }
70
+ function getBlock(state, clientId) {
71
+ if (!state.blocks.byClientId.has(clientId)) {
72
+ return null;
73
+ }
74
+ return state.blocks.tree.get(clientId);
75
+ }
76
+ var __unstableGetBlockWithoutInnerBlocks = createSelector(
77
+ (state, clientId) => {
78
+ const block = state.blocks.byClientId.get(clientId);
79
+ if (!block) {
80
+ return null;
81
+ }
82
+ return {
83
+ ...block,
84
+ attributes: getBlockAttributes(state, clientId)
85
+ };
86
+ },
87
+ (state, clientId) => [
88
+ state.blocks.byClientId.get(clientId),
89
+ state.blocks.attributes.get(clientId)
90
+ ]
91
+ );
92
+ function getBlocks(state, rootClientId) {
93
+ const treeKey = !rootClientId || !areInnerBlocksControlled(state, rootClientId) ? rootClientId || "" : "controlled||" + rootClientId;
94
+ return state.blocks.tree.get(treeKey)?.innerBlocks || EMPTY_ARRAY;
95
+ }
96
+ var __unstableGetClientIdWithClientIdsTree = createSelector(
97
+ (state, clientId) => {
98
+ deprecated(
99
+ "wp.data.select( 'core/block-editor' ).__unstableGetClientIdWithClientIdsTree",
100
+ {
101
+ since: "6.3",
102
+ version: "6.5"
103
+ }
104
+ );
105
+ return {
106
+ clientId,
107
+ innerBlocks: __unstableGetClientIdsTree(state, clientId)
108
+ };
109
+ },
110
+ (state) => [state.blocks.order]
111
+ );
112
+ var __unstableGetClientIdsTree = createSelector(
113
+ (state, rootClientId = "") => {
114
+ deprecated(
115
+ "wp.data.select( 'core/block-editor' ).__unstableGetClientIdsTree",
116
+ {
117
+ since: "6.3",
118
+ version: "6.5"
119
+ }
120
+ );
121
+ return getBlockOrder(state, rootClientId).map(
122
+ (clientId) => __unstableGetClientIdWithClientIdsTree(state, clientId)
123
+ );
124
+ },
125
+ (state) => [state.blocks.order]
126
+ );
127
+ var getClientIdsOfDescendants = createSelector(
128
+ (state, rootIds) => {
129
+ rootIds = Array.isArray(rootIds) ? [...rootIds] : [rootIds];
130
+ const ids = [];
131
+ for (const rootId of rootIds) {
132
+ const order = state.blocks.order.get(rootId);
133
+ if (order) {
134
+ ids.push(...order);
135
+ }
136
+ }
137
+ let index = 0;
138
+ while (index < ids.length) {
139
+ const id = ids[index];
140
+ const order = state.blocks.order.get(id);
141
+ if (order) {
142
+ ids.splice(index + 1, 0, ...order);
143
+ }
144
+ index++;
145
+ }
146
+ return ids;
147
+ },
148
+ (state) => [state.blocks.order]
149
+ );
150
+ var getClientIdsWithDescendants = (state) => getClientIdsOfDescendants(state, "");
151
+ var getGlobalBlockCount = createSelector(
152
+ (state, blockName) => {
153
+ const clientIds = getClientIdsWithDescendants(state);
154
+ if (!blockName) {
155
+ return clientIds.length;
156
+ }
157
+ let count = 0;
158
+ for (const clientId of clientIds) {
159
+ const block = state.blocks.byClientId.get(clientId);
160
+ if (block.name === blockName) {
161
+ count++;
162
+ }
163
+ }
164
+ return count;
165
+ },
166
+ (state) => [state.blocks.order, state.blocks.byClientId]
167
+ );
168
+ var getBlocksByName = createSelector(
169
+ (state, blockName) => {
170
+ if (!blockName) {
171
+ return EMPTY_ARRAY;
172
+ }
173
+ const blockNames = Array.isArray(blockName) ? blockName : [blockName];
174
+ const clientIds = getClientIdsWithDescendants(state);
175
+ const foundBlocks = clientIds.filter((clientId) => {
176
+ const block = state.blocks.byClientId.get(clientId);
177
+ return blockNames.includes(block.name);
178
+ });
179
+ return foundBlocks.length > 0 ? foundBlocks : EMPTY_ARRAY;
180
+ },
181
+ (state) => [state.blocks.order, state.blocks.byClientId]
182
+ );
183
+ function __experimentalGetGlobalBlocksByName(state, blockName) {
184
+ deprecated(
185
+ "wp.data.select( 'core/block-editor' ).__experimentalGetGlobalBlocksByName",
186
+ {
187
+ since: "6.5",
188
+ alternative: `wp.data.select( 'core/block-editor' ).getBlocksByName`
189
+ }
190
+ );
191
+ return getBlocksByName(state, blockName);
192
+ }
193
+ var getBlocksByClientId = createSelector(
194
+ (state, clientIds) => (Array.isArray(clientIds) ? clientIds : [clientIds]).map(
195
+ (clientId) => getBlock(state, clientId)
196
+ ),
197
+ (state, clientIds) => (Array.isArray(clientIds) ? clientIds : [clientIds]).map(
198
+ (clientId) => state.blocks.tree.get(clientId)
199
+ )
200
+ );
201
+ var getBlockNamesByClientId = createSelector(
202
+ (state, clientIds) => getBlocksByClientId(state, clientIds).filter(Boolean).map((block) => block.name),
203
+ (state, clientIds) => getBlocksByClientId(state, clientIds)
204
+ );
205
+ function getBlockCount(state, rootClientId) {
206
+ return getBlockOrder(state, rootClientId).length;
207
+ }
208
+ function getSelectionStart(state) {
209
+ return state.selection.selectionStart;
210
+ }
211
+ function getSelectionEnd(state) {
212
+ return state.selection.selectionEnd;
213
+ }
214
+ function getBlockSelectionStart(state) {
215
+ return state.selection.selectionStart.clientId;
216
+ }
217
+ function getBlockSelectionEnd(state) {
218
+ return state.selection.selectionEnd.clientId;
219
+ }
220
+ function getSelectedBlockCount(state) {
221
+ const multiSelectedBlockCount = getMultiSelectedBlockClientIds(state).length;
222
+ if (multiSelectedBlockCount) {
223
+ return multiSelectedBlockCount;
224
+ }
225
+ return state.selection.selectionStart.clientId ? 1 : 0;
226
+ }
227
+ function hasSelectedBlock(state) {
228
+ const { selectionStart, selectionEnd } = state.selection;
229
+ return !!selectionStart.clientId && selectionStart.clientId === selectionEnd.clientId;
230
+ }
231
+ function getSelectedBlockClientId(state) {
232
+ const { selectionStart, selectionEnd } = state.selection;
233
+ const { clientId } = selectionStart;
234
+ if (!clientId || clientId !== selectionEnd.clientId) {
235
+ return null;
236
+ }
237
+ return clientId;
238
+ }
239
+ function getSelectedBlock(state) {
240
+ const clientId = getSelectedBlockClientId(state);
241
+ return clientId ? getBlock(state, clientId) : null;
242
+ }
243
+ function getBlockRootClientId(state, clientId) {
244
+ return state.blocks.parents.get(clientId) ?? null;
245
+ }
246
+ var getBlockParents = createSelector(
247
+ (state, clientId, ascending = false) => {
248
+ const parents = [];
249
+ let current = clientId;
250
+ while (current = state.blocks.parents.get(current)) {
251
+ parents.push(current);
252
+ }
253
+ if (!parents.length) {
254
+ return EMPTY_ARRAY;
255
+ }
256
+ return ascending ? parents : parents.reverse();
257
+ },
258
+ (state) => [state.blocks.parents]
259
+ );
260
+ var getBlockParentsByBlockName = createSelector(
261
+ (state, clientId, blockName, ascending = false) => {
262
+ const parents = getBlockParents(state, clientId, ascending);
263
+ const hasName = Array.isArray(blockName) ? (name) => blockName.includes(name) : (name) => blockName === name;
264
+ return parents.filter((id) => hasName(getBlockName(state, id)));
265
+ },
266
+ (state) => [state.blocks.parents]
267
+ );
268
+ function getBlockHierarchyRootClientId(state, clientId) {
269
+ let current = clientId;
270
+ let parent;
271
+ do {
272
+ parent = current;
273
+ current = state.blocks.parents.get(current);
274
+ } while (current);
275
+ return parent;
276
+ }
277
+ function getLowestCommonAncestorWithSelectedBlock(state, clientId) {
278
+ const selectedId = getSelectedBlockClientId(state);
279
+ const clientParents = [...getBlockParents(state, clientId), clientId];
280
+ const selectedParents = [
281
+ ...getBlockParents(state, selectedId),
282
+ selectedId
283
+ ];
284
+ let lowestCommonAncestor;
285
+ const maxDepth = Math.min(clientParents.length, selectedParents.length);
286
+ for (let index = 0; index < maxDepth; index++) {
287
+ if (clientParents[index] === selectedParents[index]) {
288
+ lowestCommonAncestor = clientParents[index];
289
+ } else {
290
+ break;
291
+ }
292
+ }
293
+ return lowestCommonAncestor;
294
+ }
295
+ function getAdjacentBlockClientId(state, startClientId, modifier = 1) {
296
+ if (startClientId === void 0) {
297
+ startClientId = getSelectedBlockClientId(state);
298
+ }
299
+ if (startClientId === void 0) {
300
+ if (modifier < 0) {
301
+ startClientId = getFirstMultiSelectedBlockClientId(state);
302
+ } else {
303
+ startClientId = getLastMultiSelectedBlockClientId(state);
304
+ }
305
+ }
306
+ if (!startClientId) {
307
+ return null;
308
+ }
309
+ const rootClientId = getBlockRootClientId(state, startClientId);
310
+ if (rootClientId === null) {
311
+ return null;
312
+ }
313
+ const { order } = state.blocks;
314
+ const orderSet = order.get(rootClientId);
315
+ const index = orderSet.indexOf(startClientId);
316
+ const nextIndex = index + 1 * modifier;
317
+ if (nextIndex < 0) {
318
+ return null;
319
+ }
320
+ if (nextIndex === orderSet.length) {
321
+ return null;
322
+ }
323
+ return orderSet[nextIndex];
324
+ }
325
+ function getPreviousBlockClientId(state, startClientId) {
326
+ return getAdjacentBlockClientId(state, startClientId, -1);
327
+ }
328
+ function getNextBlockClientId(state, startClientId) {
329
+ return getAdjacentBlockClientId(state, startClientId, 1);
330
+ }
331
+ function getSelectedBlocksInitialCaretPosition(state) {
332
+ return state.initialPosition;
333
+ }
334
+ var getSelectedBlockClientIds = createSelector(
335
+ (state) => {
336
+ const { selectionStart, selectionEnd } = state.selection;
337
+ if (!selectionStart.clientId || !selectionEnd.clientId) {
338
+ return EMPTY_ARRAY;
339
+ }
340
+ if (selectionStart.clientId === selectionEnd.clientId) {
341
+ return [selectionStart.clientId];
342
+ }
343
+ const rootClientId = getBlockRootClientId(
344
+ state,
345
+ selectionStart.clientId
346
+ );
347
+ if (rootClientId === null) {
348
+ return EMPTY_ARRAY;
349
+ }
350
+ const blockOrder = getBlockOrder(state, rootClientId);
351
+ const startIndex = blockOrder.indexOf(selectionStart.clientId);
352
+ const endIndex = blockOrder.indexOf(selectionEnd.clientId);
353
+ if (startIndex > endIndex) {
354
+ return blockOrder.slice(endIndex, startIndex + 1);
355
+ }
356
+ return blockOrder.slice(startIndex, endIndex + 1);
357
+ },
358
+ (state) => [
359
+ state.blocks.order,
360
+ state.selection.selectionStart.clientId,
361
+ state.selection.selectionEnd.clientId
362
+ ]
363
+ );
364
+ function getMultiSelectedBlockClientIds(state) {
365
+ const { selectionStart, selectionEnd } = state.selection;
366
+ if (selectionStart.clientId === selectionEnd.clientId) {
367
+ return EMPTY_ARRAY;
368
+ }
369
+ return getSelectedBlockClientIds(state);
370
+ }
371
+ var getMultiSelectedBlocks = createSelector(
372
+ (state) => {
373
+ const multiSelectedBlockClientIds = getMultiSelectedBlockClientIds(state);
374
+ if (!multiSelectedBlockClientIds.length) {
375
+ return EMPTY_ARRAY;
376
+ }
377
+ return multiSelectedBlockClientIds.map(
378
+ (clientId) => getBlock(state, clientId)
379
+ );
380
+ },
381
+ (state) => [
382
+ ...getSelectedBlockClientIds.getDependants(state),
383
+ state.blocks.byClientId,
384
+ state.blocks.order,
385
+ state.blocks.attributes
386
+ ]
387
+ );
388
+ function getFirstMultiSelectedBlockClientId(state) {
389
+ return getMultiSelectedBlockClientIds(state)[0] || null;
390
+ }
391
+ function getLastMultiSelectedBlockClientId(state) {
392
+ const selectedClientIds = getMultiSelectedBlockClientIds(state);
393
+ return selectedClientIds[selectedClientIds.length - 1] || null;
394
+ }
395
+ function isFirstMultiSelectedBlock(state, clientId) {
396
+ return getFirstMultiSelectedBlockClientId(state) === clientId;
397
+ }
398
+ function isBlockMultiSelected(state, clientId) {
399
+ return getMultiSelectedBlockClientIds(state).indexOf(clientId) !== -1;
400
+ }
401
+ var isAncestorMultiSelected = createSelector(
402
+ (state, clientId) => {
403
+ let ancestorClientId = clientId;
404
+ let isMultiSelected = false;
405
+ while (ancestorClientId && !isMultiSelected) {
406
+ ancestorClientId = getBlockRootClientId(state, ancestorClientId);
407
+ isMultiSelected = isBlockMultiSelected(state, ancestorClientId);
408
+ }
409
+ return isMultiSelected;
410
+ },
411
+ (state) => [
412
+ state.blocks.order,
413
+ state.selection.selectionStart.clientId,
414
+ state.selection.selectionEnd.clientId
415
+ ]
416
+ );
417
+ function getMultiSelectedBlocksStartClientId(state) {
418
+ const { selectionStart, selectionEnd } = state.selection;
419
+ if (selectionStart.clientId === selectionEnd.clientId) {
420
+ return null;
421
+ }
422
+ return selectionStart.clientId || null;
423
+ }
424
+ function getMultiSelectedBlocksEndClientId(state) {
425
+ const { selectionStart, selectionEnd } = state.selection;
426
+ if (selectionStart.clientId === selectionEnd.clientId) {
427
+ return null;
428
+ }
429
+ return selectionEnd.clientId || null;
430
+ }
431
+ function __unstableIsFullySelected(state) {
432
+ const selectionAnchor = getSelectionStart(state);
433
+ const selectionFocus = getSelectionEnd(state);
434
+ return !selectionAnchor.attributeKey && !selectionFocus.attributeKey && typeof selectionAnchor.offset === "undefined" && typeof selectionFocus.offset === "undefined";
435
+ }
436
+ function __unstableIsSelectionCollapsed(state) {
437
+ const selectionAnchor = getSelectionStart(state);
438
+ const selectionFocus = getSelectionEnd(state);
439
+ return !!selectionAnchor && !!selectionFocus && selectionAnchor.clientId === selectionFocus.clientId && selectionAnchor.attributeKey === selectionFocus.attributeKey && selectionAnchor.offset === selectionFocus.offset;
440
+ }
441
+ function __unstableSelectionHasUnmergeableBlock(state) {
442
+ return getSelectedBlockClientIds(state).some((clientId) => {
443
+ const blockName = getBlockName(state, clientId);
444
+ const blockType = getBlockType(blockName);
445
+ return !blockType.merge;
446
+ });
447
+ }
448
+ function __unstableIsSelectionMergeable(state, isForward) {
449
+ const selectionAnchor = getSelectionStart(state);
450
+ const selectionFocus = getSelectionEnd(state);
451
+ if (selectionAnchor.clientId === selectionFocus.clientId) {
452
+ return false;
453
+ }
454
+ if (!selectionAnchor.attributeKey || !selectionFocus.attributeKey || typeof selectionAnchor.offset === "undefined" || typeof selectionFocus.offset === "undefined") {
455
+ return false;
456
+ }
457
+ const anchorRootClientId = getBlockRootClientId(
458
+ state,
459
+ selectionAnchor.clientId
460
+ );
461
+ const focusRootClientId = getBlockRootClientId(
462
+ state,
463
+ selectionFocus.clientId
464
+ );
465
+ if (anchorRootClientId !== focusRootClientId) {
466
+ return false;
467
+ }
468
+ const blockOrder = getBlockOrder(state, anchorRootClientId);
469
+ const anchorIndex = blockOrder.indexOf(selectionAnchor.clientId);
470
+ const focusIndex = blockOrder.indexOf(selectionFocus.clientId);
471
+ let selectionStart, selectionEnd;
472
+ if (anchorIndex > focusIndex) {
473
+ selectionStart = selectionFocus;
474
+ selectionEnd = selectionAnchor;
475
+ } else {
476
+ selectionStart = selectionAnchor;
477
+ selectionEnd = selectionFocus;
478
+ }
479
+ const targetBlockClientId = isForward ? selectionEnd.clientId : selectionStart.clientId;
480
+ const blockToMergeClientId = isForward ? selectionStart.clientId : selectionEnd.clientId;
481
+ const targetBlockName = getBlockName(state, targetBlockClientId);
482
+ const targetBlockType = getBlockType(targetBlockName);
483
+ if (!targetBlockType.merge) {
484
+ return false;
485
+ }
486
+ const blockToMerge = getBlock(state, blockToMergeClientId);
487
+ if (blockToMerge.name === targetBlockName) {
488
+ return true;
489
+ }
490
+ const blocksToMerge = switchToBlockType(blockToMerge, targetBlockName);
491
+ return blocksToMerge && blocksToMerge.length;
492
+ }
493
+ var __unstableGetSelectedBlocksWithPartialSelection = (state) => {
494
+ const selectionAnchor = getSelectionStart(state);
495
+ const selectionFocus = getSelectionEnd(state);
496
+ if (selectionAnchor.clientId === selectionFocus.clientId) {
497
+ return EMPTY_ARRAY;
498
+ }
499
+ if (!selectionAnchor.attributeKey || !selectionFocus.attributeKey || typeof selectionAnchor.offset === "undefined" || typeof selectionFocus.offset === "undefined") {
500
+ return EMPTY_ARRAY;
501
+ }
502
+ const anchorRootClientId = getBlockRootClientId(
503
+ state,
504
+ selectionAnchor.clientId
505
+ );
506
+ const focusRootClientId = getBlockRootClientId(
507
+ state,
508
+ selectionFocus.clientId
509
+ );
510
+ if (anchorRootClientId !== focusRootClientId) {
511
+ return EMPTY_ARRAY;
512
+ }
513
+ const blockOrder = getBlockOrder(state, anchorRootClientId);
514
+ const anchorIndex = blockOrder.indexOf(selectionAnchor.clientId);
515
+ const focusIndex = blockOrder.indexOf(selectionFocus.clientId);
516
+ const [selectionStart, selectionEnd] = anchorIndex > focusIndex ? [selectionFocus, selectionAnchor] : [selectionAnchor, selectionFocus];
517
+ const blockA = getBlock(state, selectionStart.clientId);
518
+ const blockB = getBlock(state, selectionEnd.clientId);
519
+ const htmlA = blockA.attributes[selectionStart.attributeKey];
520
+ const htmlB = blockB.attributes[selectionEnd.attributeKey];
521
+ let valueA = create({ html: htmlA });
522
+ let valueB = create({ html: htmlB });
523
+ valueA = remove(valueA, 0, selectionStart.offset);
524
+ valueB = remove(valueB, selectionEnd.offset, valueB.text.length);
525
+ return [
526
+ {
527
+ ...blockA,
528
+ attributes: {
529
+ ...blockA.attributes,
530
+ [selectionStart.attributeKey]: toHTMLString({
531
+ value: valueA
532
+ })
533
+ }
534
+ },
535
+ {
536
+ ...blockB,
537
+ attributes: {
538
+ ...blockB.attributes,
539
+ [selectionEnd.attributeKey]: toHTMLString({
540
+ value: valueB
541
+ })
542
+ }
543
+ }
544
+ ];
545
+ };
546
+ function getBlockOrder(state, rootClientId) {
547
+ return state.blocks.order.get(rootClientId || "") || EMPTY_ARRAY;
548
+ }
549
+ function getBlockIndex(state, clientId) {
550
+ const rootClientId = getBlockRootClientId(state, clientId);
551
+ return getBlockOrder(state, rootClientId).indexOf(clientId);
552
+ }
553
+ function isBlockSelected(state, clientId) {
554
+ const { selectionStart, selectionEnd } = state.selection;
555
+ if (selectionStart.clientId !== selectionEnd.clientId) {
556
+ return false;
557
+ }
558
+ return selectionStart.clientId === clientId;
559
+ }
560
+ function hasSelectedInnerBlock(state, clientId, deep = false) {
561
+ const selectedBlockClientIds = getSelectedBlockClientIds(state);
562
+ if (!selectedBlockClientIds.length) {
563
+ return false;
564
+ }
565
+ if (deep) {
566
+ return selectedBlockClientIds.some(
567
+ (id) => (
568
+ // Pass true because we don't care about order and it's more
569
+ // performant.
570
+ getBlockParents(state, id, true).includes(clientId)
571
+ )
572
+ );
573
+ }
574
+ return selectedBlockClientIds.some(
575
+ (id) => getBlockRootClientId(state, id) === clientId
576
+ );
577
+ }
578
+ function hasDraggedInnerBlock(state, clientId, deep = false) {
579
+ return getBlockOrder(state, clientId).some(
580
+ (innerClientId) => isBlockBeingDragged(state, innerClientId) || deep && hasDraggedInnerBlock(state, innerClientId, deep)
581
+ );
582
+ }
583
+ function isBlockWithinSelection(state, clientId) {
584
+ if (!clientId) {
585
+ return false;
586
+ }
587
+ const clientIds = getMultiSelectedBlockClientIds(state);
588
+ const index = clientIds.indexOf(clientId);
589
+ return index > -1 && index < clientIds.length - 1;
590
+ }
591
+ function hasMultiSelection(state) {
592
+ const { selectionStart, selectionEnd } = state.selection;
593
+ return selectionStart.clientId !== selectionEnd.clientId;
594
+ }
595
+ function isMultiSelecting(state) {
596
+ return state.isMultiSelecting;
597
+ }
598
+ function isSelectionEnabled(state) {
599
+ return state.isSelectionEnabled;
600
+ }
601
+ function getBlockMode(state, clientId) {
602
+ return state.blocksMode[clientId] || "visual";
603
+ }
604
+ function isTyping(state) {
605
+ return state.isTyping;
606
+ }
607
+ function isDraggingBlocks(state) {
608
+ return !!state.draggedBlocks.length;
609
+ }
610
+ function getDraggedBlockClientIds(state) {
611
+ return state.draggedBlocks;
612
+ }
613
+ function isBlockBeingDragged(state, clientId) {
614
+ return state.draggedBlocks.includes(clientId);
615
+ }
616
+ function isAncestorBeingDragged(state, clientId) {
617
+ if (!isDraggingBlocks(state)) {
618
+ return false;
619
+ }
620
+ const parents = getBlockParents(state, clientId);
621
+ return parents.some(
622
+ (parentClientId) => isBlockBeingDragged(state, parentClientId)
623
+ );
624
+ }
625
+ function isCaretWithinFormattedText() {
626
+ deprecated(
627
+ 'wp.data.select( "core/block-editor" ).isCaretWithinFormattedText',
628
+ {
629
+ since: "6.1",
630
+ version: "6.3"
631
+ }
632
+ );
633
+ return false;
634
+ }
635
+ var getBlockInsertionPoint = createSelector(
636
+ (state) => {
637
+ let rootClientId, index;
638
+ const {
639
+ insertionCue,
640
+ selection: { selectionEnd }
641
+ } = state;
642
+ if (insertionCue !== null) {
643
+ return insertionCue;
644
+ }
645
+ const { clientId } = selectionEnd;
646
+ if (clientId) {
647
+ rootClientId = getBlockRootClientId(state, clientId) || void 0;
648
+ index = getBlockIndex(state, selectionEnd.clientId) + 1;
649
+ } else {
650
+ index = getBlockOrder(state).length;
651
+ }
652
+ return { rootClientId, index };
653
+ },
654
+ (state) => [
655
+ state.insertionCue,
656
+ state.selection.selectionEnd.clientId,
657
+ state.blocks.parents,
658
+ state.blocks.order
659
+ ]
660
+ );
661
+ function isBlockInsertionPointVisible(state) {
662
+ return state.insertionCue !== null;
663
+ }
664
+ function isValidTemplate(state) {
665
+ return state.template.isValid;
666
+ }
667
+ function getTemplate(state) {
668
+ return state.settings.template;
669
+ }
670
+ function getTemplateLock(state, rootClientId) {
671
+ if (!rootClientId) {
672
+ return state.settings.templateLock ?? false;
673
+ }
674
+ const blockListTemplateLock = getBlockListSettings(
675
+ state,
676
+ rootClientId
677
+ )?.templateLock;
678
+ if (blockListTemplateLock === "contentOnly" && state.editedContentOnlySection === rootClientId) {
679
+ return false;
680
+ }
681
+ return blockListTemplateLock ?? false;
682
+ }
683
+ var isBlockVisibleInTheInserter = (state, blockNameOrType, rootClientId = null) => {
684
+ let blockType;
685
+ let blockName;
686
+ if (blockNameOrType && "object" === typeof blockNameOrType) {
687
+ blockType = blockNameOrType;
688
+ blockName = blockNameOrType.name;
689
+ } else {
690
+ blockType = getBlockType(blockNameOrType);
691
+ blockName = blockNameOrType;
692
+ }
693
+ if (!blockType) {
694
+ return false;
695
+ }
696
+ const { allowedBlockTypes } = getSettings(state);
697
+ const isBlockAllowedInEditor = checkAllowList(
698
+ allowedBlockTypes,
699
+ blockName,
700
+ true
701
+ );
702
+ if (!isBlockAllowedInEditor) {
703
+ return false;
704
+ }
705
+ const parents = (Array.isArray(blockType.parent) ? blockType.parent : []).concat(Array.isArray(blockType.ancestor) ? blockType.ancestor : []);
706
+ if (parents.length > 0) {
707
+ if (parents.includes("core/post-content")) {
708
+ return true;
709
+ }
710
+ let current = rootClientId;
711
+ let hasParent = false;
712
+ do {
713
+ if (parents.includes(getBlockName(state, current))) {
714
+ hasParent = true;
715
+ break;
716
+ }
717
+ current = state.blocks.parents.get(current);
718
+ } while (current);
719
+ return hasParent;
720
+ }
721
+ return true;
722
+ };
723
+ var canInsertBlockTypeUnmemoized = (state, blockName, rootClientId = null) => {
724
+ if (!isBlockVisibleInTheInserter(state, blockName, rootClientId)) {
725
+ return false;
726
+ }
727
+ let blockType;
728
+ if (blockName && "object" === typeof blockName) {
729
+ blockType = blockName;
730
+ blockName = blockType.name;
731
+ } else {
732
+ blockType = getBlockType(blockName);
733
+ }
734
+ const rootTemplateLock = getTemplateLock(state, rootClientId);
735
+ if (rootTemplateLock && rootTemplateLock !== "contentOnly") {
736
+ return false;
737
+ }
738
+ const blockEditingMode = getBlockEditingMode(state, rootClientId ?? "");
739
+ if (blockEditingMode === "disabled") {
740
+ return false;
741
+ }
742
+ const parentBlockListSettings = getBlockListSettings(state, rootClientId);
743
+ if (rootClientId && parentBlockListSettings === void 0) {
744
+ return false;
745
+ }
746
+ const isContentRoleBlock = isContentBlock(blockName);
747
+ const isParentSectionBlock = !!isSectionBlock(state, rootClientId);
748
+ const isBlockWithinSection = !!getParentSectionBlock(
749
+ state,
750
+ rootClientId
751
+ );
752
+ if ((isParentSectionBlock || isBlockWithinSection) && !isContentRoleBlock) {
753
+ return false;
754
+ }
755
+ if ((isParentSectionBlock || blockEditingMode === "contentOnly") && !isContainerInsertableToInContentOnlyMode(
756
+ state,
757
+ blockName,
758
+ rootClientId
759
+ )) {
760
+ return false;
761
+ }
762
+ const parentName = getBlockName(state, rootClientId);
763
+ const parentBlockType = getBlockType(parentName);
764
+ const parentAllowedChildBlocks = parentBlockType?.allowedBlocks;
765
+ let hasParentAllowedBlock = checkAllowList(
766
+ parentAllowedChildBlocks,
767
+ blockName
768
+ );
769
+ if (hasParentAllowedBlock !== false) {
770
+ const parentAllowedBlocks = parentBlockListSettings?.allowedBlocks;
771
+ const hasParentListAllowedBlock = checkAllowList(
772
+ parentAllowedBlocks,
773
+ blockName
774
+ );
775
+ if (hasParentListAllowedBlock !== null) {
776
+ hasParentAllowedBlock = hasParentListAllowedBlock;
777
+ }
778
+ }
779
+ const blockAllowedParentBlocks = blockType.parent;
780
+ const hasBlockAllowedParent = checkAllowList(
781
+ blockAllowedParentBlocks,
782
+ parentName
783
+ );
784
+ let hasBlockAllowedAncestor = true;
785
+ const blockAllowedAncestorBlocks = blockType.ancestor;
786
+ if (blockAllowedAncestorBlocks) {
787
+ const ancestors = [
788
+ rootClientId,
789
+ ...getBlockParents(state, rootClientId)
790
+ ];
791
+ hasBlockAllowedAncestor = ancestors.some(
792
+ (ancestorClientId) => checkAllowList(
793
+ blockAllowedAncestorBlocks,
794
+ getBlockName(state, ancestorClientId)
795
+ )
796
+ );
797
+ }
798
+ const canInsert = hasBlockAllowedAncestor && (hasParentAllowedBlock === null && hasBlockAllowedParent === null || hasParentAllowedBlock === true || hasBlockAllowedParent === true);
799
+ if (!canInsert) {
800
+ return canInsert;
801
+ }
802
+ return applyFilters(
803
+ "blockEditor.__unstableCanInsertBlockType",
804
+ canInsert,
805
+ blockType,
806
+ rootClientId,
807
+ {
808
+ // Pass bound selectors of the current registry. If we're in a nested
809
+ // context, the data will differ from the one selected from the root
810
+ // registry.
811
+ getBlock: getBlock.bind(null, state),
812
+ getBlockParentsByBlockName: getBlockParentsByBlockName.bind(
813
+ null,
814
+ state
815
+ )
816
+ }
817
+ );
818
+ };
819
+ var canInsertBlockType = createRegistrySelector(
820
+ (select) => createSelector(
821
+ canInsertBlockTypeUnmemoized,
822
+ (state, blockName, rootClientId) => getInsertBlockTypeDependants(select)(state, rootClientId)
823
+ )
824
+ );
825
+ function canInsertBlocks(state, clientIds, rootClientId = null) {
826
+ return clientIds.every(
827
+ (id) => canInsertBlockType(state, getBlockName(state, id), rootClientId)
828
+ );
829
+ }
830
+ function canRemoveBlock(state, clientId) {
831
+ const attributes = getBlockAttributes(state, clientId);
832
+ if (attributes === null) {
833
+ return true;
834
+ }
835
+ if (attributes.lock?.remove !== void 0) {
836
+ return !attributes.lock.remove;
837
+ }
838
+ const rootClientId = getBlockRootClientId(state, clientId);
839
+ const rootTemplateLock = getTemplateLock(state, rootClientId);
840
+ if (rootTemplateLock && rootTemplateLock !== "contentOnly") {
841
+ return false;
842
+ }
843
+ const isBlockWithinSection = !!getParentSectionBlock(state, clientId);
844
+ const isContentRoleBlock = isContentBlock(
845
+ getBlockName(state, clientId)
846
+ );
847
+ if (isBlockWithinSection && !isContentRoleBlock) {
848
+ return false;
849
+ }
850
+ const isParentSectionBlock = !!isSectionBlock(state, rootClientId);
851
+ const rootBlockEditingMode = getBlockEditingMode(state, rootClientId);
852
+ if ((isParentSectionBlock || rootBlockEditingMode === "contentOnly") && !isContainerInsertableToInContentOnlyMode(
853
+ state,
854
+ getBlockName(state, clientId),
855
+ rootClientId
856
+ )) {
857
+ return false;
858
+ }
859
+ return rootBlockEditingMode !== "disabled";
860
+ }
861
+ function canRemoveBlocks(state, clientIds) {
862
+ return clientIds.every((clientId) => canRemoveBlock(state, clientId));
863
+ }
864
+ function canMoveBlock(state, clientId) {
865
+ const attributes = getBlockAttributes(state, clientId);
866
+ if (attributes === null) {
867
+ return true;
868
+ }
869
+ if (attributes.lock?.move !== void 0) {
870
+ return !attributes.lock.move;
871
+ }
872
+ const rootClientId = getBlockRootClientId(state, clientId);
873
+ const rootTemplateLock = getTemplateLock(state, rootClientId);
874
+ if (rootTemplateLock === "all") {
875
+ return false;
876
+ }
877
+ const isBlockWithinSection = !!getParentSectionBlock(state, clientId);
878
+ const isContentRoleBlock = isContentBlock(
879
+ getBlockName(state, clientId)
880
+ );
881
+ if (isBlockWithinSection && !isContentRoleBlock) {
882
+ return false;
883
+ }
884
+ const isParentSectionBlock = !!isSectionBlock(state, rootClientId);
885
+ const rootBlockEditingMode = getBlockEditingMode(state, rootClientId);
886
+ if ((isParentSectionBlock || rootBlockEditingMode === "contentOnly") && !isContainerInsertableToInContentOnlyMode(
887
+ state,
888
+ getBlockName(state, clientId),
889
+ rootClientId
890
+ )) {
891
+ return false;
892
+ }
893
+ return getBlockEditingMode(state, rootClientId) !== "disabled";
894
+ }
895
+ function canMoveBlocks(state, clientIds) {
896
+ return clientIds.every((clientId) => canMoveBlock(state, clientId));
897
+ }
898
+ function canEditBlock(state, clientId) {
899
+ const attributes = getBlockAttributes(state, clientId);
900
+ if (attributes === null) {
901
+ return true;
902
+ }
903
+ const { lock } = attributes;
904
+ return !lock?.edit;
905
+ }
906
+ function canLockBlockType(state, nameOrType) {
907
+ if (!hasBlockSupport(nameOrType, "lock", true)) {
908
+ return false;
909
+ }
910
+ return !!state.settings?.canLockBlocks;
911
+ }
912
+ function getInsertUsage(state, id) {
913
+ return state.preferences.insertUsage?.[id] ?? null;
914
+ }
915
+ var canIncludeBlockTypeInInserter = (state, blockType, rootClientId) => {
916
+ if (!hasBlockSupport(blockType, "inserter", true)) {
917
+ return false;
918
+ }
919
+ return canInsertBlockTypeUnmemoized(state, blockType.name, rootClientId);
920
+ };
921
+ var getItemFromVariation = (state, item) => (variation) => {
922
+ const variationId = `${item.id}/${variation.name}`;
923
+ const { time, count = 0 } = getInsertUsage(state, variationId) || {};
924
+ return {
925
+ ...item,
926
+ id: variationId,
927
+ icon: variation.icon || item.icon,
928
+ title: variation.title || item.title,
929
+ description: variation.description || item.description,
930
+ category: variation.category || item.category,
931
+ // If `example` is explicitly undefined for the variation, the preview will not be shown.
932
+ example: variation.hasOwnProperty("example") ? variation.example : item.example,
933
+ initialAttributes: {
934
+ ...item.initialAttributes,
935
+ ...variation.attributes
936
+ },
937
+ innerBlocks: variation.innerBlocks,
938
+ keywords: variation.keywords || item.keywords,
939
+ frecency: calculateFrecency(time, count),
940
+ // Pass through search-only flag for block-scope variations.
941
+ isSearchOnly: variation.isSearchOnly
942
+ };
943
+ };
944
+ var calculateFrecency = (time, count) => {
945
+ if (!time) {
946
+ return count;
947
+ }
948
+ const duration = Date.now() - time;
949
+ switch (true) {
950
+ case duration < MILLISECONDS_PER_HOUR:
951
+ return count * 4;
952
+ case duration < MILLISECONDS_PER_DAY:
953
+ return count * 2;
954
+ case duration < MILLISECONDS_PER_WEEK:
955
+ return count / 2;
956
+ default:
957
+ return count / 4;
958
+ }
959
+ };
960
+ var buildBlockTypeItem = (state, { buildScope = "inserter" }) => (blockType) => {
961
+ const id = blockType.name;
962
+ let isDisabled = false;
963
+ if (!hasBlockSupport(blockType.name, "multiple", true)) {
964
+ isDisabled = getBlocksByClientId(
965
+ state,
966
+ getClientIdsWithDescendants(state)
967
+ ).some(({ name }) => name === blockType.name);
968
+ }
969
+ const { time, count = 0 } = getInsertUsage(state, id) || {};
970
+ const blockItemBase = {
971
+ id,
972
+ name: blockType.name,
973
+ title: blockType.title,
974
+ icon: blockType.icon,
975
+ isDisabled,
976
+ frecency: calculateFrecency(time, count)
977
+ };
978
+ if (buildScope === "transform") {
979
+ return blockItemBase;
980
+ }
981
+ const inserterVariations = getBlockVariations(
982
+ blockType.name,
983
+ "inserter"
984
+ );
985
+ const blockVariations = getBlockVariations(blockType.name, "block");
986
+ const inserterVariationNames = new Set(
987
+ inserterVariations.map((variation) => variation.name)
988
+ );
989
+ const allVariations = [
990
+ ...inserterVariations,
991
+ ...blockVariations.filter(
992
+ (variation) => !inserterVariationNames.has(variation.name)
993
+ ).map((variation) => ({
994
+ ...variation,
995
+ isSearchOnly: true,
996
+ // Block-scope `isDefault` is for the placeholder picker,
997
+ // not for the inserter, so don't carry it over.
998
+ isDefault: false
999
+ }))
1000
+ ];
1001
+ return {
1002
+ ...blockItemBase,
1003
+ initialAttributes: {},
1004
+ description: blockType.description,
1005
+ category: blockType.category,
1006
+ keywords: blockType.keywords,
1007
+ parent: blockType.parent,
1008
+ ancestor: blockType.ancestor,
1009
+ variations: allVariations,
1010
+ example: blockType.example,
1011
+ utility: 1
1012
+ // Deprecated.
1013
+ };
1014
+ };
1015
+ var getInserterItems = createRegistrySelector(
1016
+ (select) => createSelector(
1017
+ (state, rootClientId = null, options = DEFAULT_INSERTER_OPTIONS) => {
1018
+ const buildReusableBlockInserterItem = (reusableBlock) => {
1019
+ const icon = !reusableBlock.wp_pattern_sync_status ? {
1020
+ src: symbol,
1021
+ foreground: "var(--wp-block-synced-color)"
1022
+ } : symbol;
1023
+ const userPattern = mapUserPattern(reusableBlock);
1024
+ const { time, count = 0 } = getInsertUsage(state, userPattern.name) || {};
1025
+ const frecency = calculateFrecency(time, count);
1026
+ return {
1027
+ id: userPattern.name,
1028
+ name: "core/block",
1029
+ initialAttributes: { ref: reusableBlock.id },
1030
+ title: userPattern.title,
1031
+ icon,
1032
+ category: "reusable",
1033
+ keywords: ["reusable"],
1034
+ isDisabled: false,
1035
+ utility: 1,
1036
+ // Deprecated.
1037
+ frecency,
1038
+ content: userPattern.content,
1039
+ get blocks() {
1040
+ return getParsedPattern(userPattern).blocks;
1041
+ },
1042
+ syncStatus: userPattern.syncStatus
1043
+ };
1044
+ };
1045
+ const patternInserterItems = canInsertBlockTypeUnmemoized(
1046
+ state,
1047
+ "core/block",
1048
+ rootClientId
1049
+ ) ? unlock(select(STORE_NAME)).getReusableBlocks().map(buildReusableBlockInserterItem) : [];
1050
+ const buildBlockTypeInserterItem = buildBlockTypeItem(state, {
1051
+ buildScope: "inserter"
1052
+ });
1053
+ let blockTypeInserterItems = getBlockTypes().filter(
1054
+ (blockType) => hasBlockSupport(blockType, "inserter", true)
1055
+ ).map(buildBlockTypeInserterItem);
1056
+ if (options[isFiltered] !== false) {
1057
+ blockTypeInserterItems = blockTypeInserterItems.filter(
1058
+ (blockType) => canIncludeBlockTypeInInserter(
1059
+ state,
1060
+ blockType,
1061
+ rootClientId
1062
+ )
1063
+ );
1064
+ } else {
1065
+ blockTypeInserterItems = blockTypeInserterItems.filter(
1066
+ (blockType) => isBlockVisibleInTheInserter(
1067
+ state,
1068
+ blockType,
1069
+ rootClientId
1070
+ )
1071
+ ).map((blockType) => ({
1072
+ ...blockType,
1073
+ isAllowedInCurrentRoot: canIncludeBlockTypeInInserter(
1074
+ state,
1075
+ blockType,
1076
+ rootClientId
1077
+ )
1078
+ }));
1079
+ }
1080
+ const items = blockTypeInserterItems.reduce(
1081
+ (accumulator, item) => {
1082
+ const { variations = [] } = item;
1083
+ if (!variations.some(({ isDefault }) => isDefault)) {
1084
+ accumulator.push(item);
1085
+ }
1086
+ if (variations.length) {
1087
+ const variationMapper = getItemFromVariation(
1088
+ state,
1089
+ item
1090
+ );
1091
+ accumulator.push(
1092
+ ...variations.map(variationMapper)
1093
+ );
1094
+ }
1095
+ return accumulator;
1096
+ },
1097
+ []
1098
+ );
1099
+ const groupByType = (blocks, block) => {
1100
+ const { core, noncore } = blocks;
1101
+ const type = block.name.startsWith("core/") ? core : noncore;
1102
+ type.push(block);
1103
+ return blocks;
1104
+ };
1105
+ const { core: coreItems, noncore: nonCoreItems } = items.reduce(
1106
+ groupByType,
1107
+ { core: [], noncore: [] }
1108
+ );
1109
+ const sortedBlockTypes = [...coreItems, ...nonCoreItems];
1110
+ return [...sortedBlockTypes, ...patternInserterItems];
1111
+ },
1112
+ (state, rootClientId) => [
1113
+ getBlockTypes(),
1114
+ unlock(select(STORE_NAME)).getReusableBlocks(),
1115
+ state.blocks.order,
1116
+ state.preferences.insertUsage,
1117
+ ...getInsertBlockTypeDependants(select)(state, rootClientId)
1118
+ ]
1119
+ )
1120
+ );
1121
+ var getBlockTransformItems = createRegistrySelector(
1122
+ (select) => createSelector(
1123
+ (state, blocks, rootClientId = null) => {
1124
+ const normalizedBlocks = Array.isArray(blocks) ? blocks : [blocks];
1125
+ const buildBlockTypeTransformItem = buildBlockTypeItem(state, {
1126
+ buildScope: "transform"
1127
+ });
1128
+ const blockTypeTransformItems = getBlockTypes().filter(
1129
+ (blockType) => canIncludeBlockTypeInInserter(
1130
+ state,
1131
+ blockType,
1132
+ rootClientId
1133
+ )
1134
+ ).map(buildBlockTypeTransformItem);
1135
+ const itemsByName = Object.fromEntries(
1136
+ Object.entries(blockTypeTransformItems).map(
1137
+ ([, value]) => [value.name, value]
1138
+ )
1139
+ );
1140
+ const possibleTransforms = getPossibleBlockTransformations(
1141
+ normalizedBlocks
1142
+ ).reduce((accumulator, block) => {
1143
+ if (itemsByName[block?.name]) {
1144
+ accumulator.push(itemsByName[block.name]);
1145
+ }
1146
+ return accumulator;
1147
+ }, []);
1148
+ return orderBy(
1149
+ possibleTransforms,
1150
+ (block) => itemsByName[block.name].frecency,
1151
+ "desc"
1152
+ );
1153
+ },
1154
+ (state, blocks, rootClientId) => [
1155
+ getBlockTypes(),
1156
+ state.preferences.insertUsage,
1157
+ ...getInsertBlockTypeDependants(select)(state, rootClientId)
1158
+ ]
1159
+ )
1160
+ );
1161
+ var hasInserterItems = (state, rootClientId = null) => {
1162
+ const hasBlockType = getBlockTypes().some(
1163
+ (blockType) => canIncludeBlockTypeInInserter(state, blockType, rootClientId)
1164
+ );
1165
+ if (hasBlockType) {
1166
+ return true;
1167
+ }
1168
+ const hasReusableBlock = canInsertBlockTypeUnmemoized(
1169
+ state,
1170
+ "core/block",
1171
+ rootClientId
1172
+ );
1173
+ return hasReusableBlock;
1174
+ };
1175
+ var getAllowedBlocks = createRegistrySelector(
1176
+ (select) => createSelector(
1177
+ (state, rootClientId = null) => {
1178
+ if (!rootClientId) {
1179
+ return;
1180
+ }
1181
+ const blockTypes = getBlockTypes().filter(
1182
+ (blockType) => canIncludeBlockTypeInInserter(state, blockType, rootClientId)
1183
+ );
1184
+ const hasReusableBlock = canInsertBlockTypeUnmemoized(
1185
+ state,
1186
+ "core/block",
1187
+ rootClientId
1188
+ );
1189
+ if (hasReusableBlock) {
1190
+ blockTypes.push("core/block");
1191
+ }
1192
+ return blockTypes;
1193
+ },
1194
+ (state, rootClientId) => [
1195
+ getBlockTypes(),
1196
+ ...getInsertBlockTypeDependants(select)(state, rootClientId)
1197
+ ]
1198
+ )
1199
+ );
1200
+ var __experimentalGetAllowedBlocks = createSelector(
1201
+ (state, rootClientId = null) => {
1202
+ deprecated(
1203
+ 'wp.data.select( "core/block-editor" ).__experimentalGetAllowedBlocks',
1204
+ {
1205
+ alternative: 'wp.data.select( "core/block-editor" ).getAllowedBlocks',
1206
+ since: "6.2",
1207
+ version: "6.4"
1208
+ }
1209
+ );
1210
+ return getAllowedBlocks(state, rootClientId);
1211
+ },
1212
+ (state, rootClientId) => getAllowedBlocks.getDependants(state, rootClientId)
1213
+ );
1214
+ function getDirectInsertBlock(state, rootClientId = null) {
1215
+ if (!rootClientId) {
1216
+ return;
1217
+ }
1218
+ const { defaultBlock, directInsert } = state.blockListSettings[rootClientId] ?? {};
1219
+ if (!defaultBlock || !directInsert) {
1220
+ return;
1221
+ }
1222
+ return defaultBlock;
1223
+ }
1224
+ function __experimentalGetDirectInsertBlock(state, rootClientId = null) {
1225
+ deprecated(
1226
+ 'wp.data.select( "core/block-editor" ).__experimentalGetDirectInsertBlock',
1227
+ {
1228
+ alternative: 'wp.data.select( "core/block-editor" ).getDirectInsertBlock',
1229
+ since: "6.3",
1230
+ version: "6.4"
1231
+ }
1232
+ );
1233
+ return getDirectInsertBlock(state, rootClientId);
1234
+ }
1235
+ var __experimentalGetParsedPattern = createRegistrySelector(
1236
+ (select) => (state, patternName) => {
1237
+ const pattern = unlock(select(STORE_NAME)).getPatternBySlug(
1238
+ patternName
1239
+ );
1240
+ return pattern ? getParsedPattern(pattern) : null;
1241
+ }
1242
+ );
1243
+ var getAllowedPatternsDependants = (select) => (state, rootClientId) => [
1244
+ ...getAllPatternsDependants(select)(state),
1245
+ ...getInsertBlockTypeDependants(select)(state, rootClientId)
1246
+ ];
1247
+ var patternsWithParsedBlocks = /* @__PURE__ */ new WeakMap();
1248
+ function enhancePatternWithParsedBlocks(pattern) {
1249
+ let enhancedPattern = patternsWithParsedBlocks.get(pattern);
1250
+ if (!enhancedPattern) {
1251
+ enhancedPattern = {
1252
+ ...pattern,
1253
+ get blocks() {
1254
+ return getParsedPattern(pattern).blocks;
1255
+ }
1256
+ };
1257
+ patternsWithParsedBlocks.set(pattern, enhancedPattern);
1258
+ }
1259
+ return enhancedPattern;
1260
+ }
1261
+ var __experimentalGetAllowedPatterns = createRegistrySelector(
1262
+ (select) => {
1263
+ return createSelector(
1264
+ (state, rootClientId = null, options = DEFAULT_INSERTER_OPTIONS) => {
1265
+ const { getAllPatterns } = unlock(select(STORE_NAME));
1266
+ const patterns = getAllPatterns();
1267
+ const { allowedBlockTypes } = getSettings(state);
1268
+ const parsedPatterns = patterns.filter(({ inserter = true }) => !!inserter).map(enhancePatternWithParsedBlocks);
1269
+ const availableParsedPatterns = parsedPatterns.filter(
1270
+ (pattern) => checkAllowListRecursive(
1271
+ getGrammar(pattern),
1272
+ allowedBlockTypes
1273
+ )
1274
+ );
1275
+ const patternsAllowed = availableParsedPatterns.filter(
1276
+ (pattern) => getGrammar(pattern).every(
1277
+ ({ blockName: name }) => options[isFiltered] !== false ? canInsertBlockType(
1278
+ state,
1279
+ name,
1280
+ rootClientId
1281
+ ) : isBlockVisibleInTheInserter(
1282
+ state,
1283
+ name,
1284
+ rootClientId
1285
+ )
1286
+ )
1287
+ );
1288
+ return patternsAllowed;
1289
+ },
1290
+ getAllowedPatternsDependants(select)
1291
+ );
1292
+ }
1293
+ );
1294
+ var getPatternsByBlockTypes = createRegistrySelector(
1295
+ (select) => createSelector(
1296
+ (state, blockNames, rootClientId = null) => {
1297
+ if (!blockNames) {
1298
+ return EMPTY_ARRAY;
1299
+ }
1300
+ const patterns = select(STORE_NAME).__experimentalGetAllowedPatterns(
1301
+ rootClientId
1302
+ );
1303
+ const normalizedBlockNames = Array.isArray(blockNames) ? blockNames : [blockNames];
1304
+ const filteredPatterns = patterns.filter(
1305
+ (pattern) => pattern?.blockTypes?.some?.(
1306
+ (blockName) => normalizedBlockNames.includes(blockName)
1307
+ )
1308
+ );
1309
+ if (filteredPatterns.length === 0) {
1310
+ return EMPTY_ARRAY;
1311
+ }
1312
+ return filteredPatterns;
1313
+ },
1314
+ (state, blockNames, rootClientId) => getAllowedPatternsDependants(select)(state, rootClientId)
1315
+ )
1316
+ );
1317
+ var __experimentalGetPatternsByBlockTypes = createRegistrySelector(
1318
+ (select) => {
1319
+ deprecated(
1320
+ 'wp.data.select( "core/block-editor" ).__experimentalGetPatternsByBlockTypes',
1321
+ {
1322
+ alternative: 'wp.data.select( "core/block-editor" ).getPatternsByBlockTypes',
1323
+ since: "6.2",
1324
+ version: "6.4"
1325
+ }
1326
+ );
1327
+ return select(STORE_NAME).getPatternsByBlockTypes;
1328
+ }
1329
+ );
1330
+ var __experimentalGetPatternTransformItems = createRegistrySelector(
1331
+ (select) => createSelector(
1332
+ (state, blocks, rootClientId = null) => {
1333
+ if (!blocks) {
1334
+ return EMPTY_ARRAY;
1335
+ }
1336
+ if (blocks.some(
1337
+ ({ clientId, innerBlocks }) => innerBlocks.length || areInnerBlocksControlled(state, clientId)
1338
+ )) {
1339
+ return EMPTY_ARRAY;
1340
+ }
1341
+ const selectedBlockNames = Array.from(
1342
+ new Set(blocks.map(({ name }) => name))
1343
+ );
1344
+ return select(STORE_NAME).getPatternsByBlockTypes(
1345
+ selectedBlockNames,
1346
+ rootClientId
1347
+ );
1348
+ },
1349
+ (state, blocks, rootClientId) => getAllowedPatternsDependants(select)(state, rootClientId)
1350
+ )
1351
+ );
1352
+ function getBlockListSettings(state, clientId) {
1353
+ return state.blockListSettings[clientId];
1354
+ }
1355
+ function getSettings(state) {
1356
+ return state.settings;
1357
+ }
1358
+ function isLastBlockChangePersistent(state) {
1359
+ return state.blocks.isPersistentChange;
1360
+ }
1361
+ var __experimentalGetBlockListSettingsForBlocks = createSelector(
1362
+ (state, clientIds = []) => {
1363
+ return clientIds.reduce((blockListSettingsForBlocks, clientId) => {
1364
+ if (!state.blockListSettings[clientId]) {
1365
+ return blockListSettingsForBlocks;
1366
+ }
1367
+ return {
1368
+ ...blockListSettingsForBlocks,
1369
+ [clientId]: state.blockListSettings[clientId]
1370
+ };
1371
+ }, {});
1372
+ },
1373
+ (state) => [state.blockListSettings]
1374
+ );
1375
+ var __experimentalGetReusableBlockTitle = createRegistrySelector(
1376
+ (select) => createSelector(
1377
+ (state, ref) => {
1378
+ deprecated(
1379
+ "wp.data.select( 'core/block-editor' ).__experimentalGetReusableBlockTitle",
1380
+ {
1381
+ since: "6.6",
1382
+ version: "6.8"
1383
+ }
1384
+ );
1385
+ const reusableBlock = unlock(select(STORE_NAME)).getReusableBlocks().find((block) => block.id === ref);
1386
+ if (!reusableBlock) {
1387
+ return null;
1388
+ }
1389
+ return reusableBlock.title?.raw;
1390
+ },
1391
+ () => [unlock(select(STORE_NAME)).getReusableBlocks()]
1392
+ )
1393
+ );
1394
+ function __unstableIsLastBlockChangeIgnored(state) {
1395
+ return state.blocks.isIgnoredChange;
1396
+ }
1397
+ function __experimentalGetLastBlockAttributeChanges(state) {
1398
+ return state.lastBlockAttributesChange;
1399
+ }
1400
+ function hasBlockMovingClientId() {
1401
+ deprecated(
1402
+ 'wp.data.select( "core/block-editor" ).hasBlockMovingClientId',
1403
+ {
1404
+ since: "6.7",
1405
+ hint: "Block moving mode feature has been removed"
1406
+ }
1407
+ );
1408
+ return false;
1409
+ }
1410
+ function didAutomaticChange(state) {
1411
+ return !!state.automaticChangeStatus;
1412
+ }
1413
+ function isBlockHighlighted(state, clientId) {
1414
+ return state.highlightedBlock === clientId;
1415
+ }
1416
+ function areInnerBlocksControlled(state, clientId) {
1417
+ return !!state.blocks.controlledInnerBlocks[clientId];
1418
+ }
1419
+ var __experimentalGetActiveBlockIdByBlockNames = createSelector(
1420
+ (state, validBlockNames) => {
1421
+ if (!validBlockNames.length) {
1422
+ return null;
1423
+ }
1424
+ const selectedBlockClientId = getSelectedBlockClientId(state);
1425
+ if (validBlockNames.includes(
1426
+ getBlockName(state, selectedBlockClientId)
1427
+ )) {
1428
+ return selectedBlockClientId;
1429
+ }
1430
+ const multiSelectedBlockClientIds = getMultiSelectedBlockClientIds(state);
1431
+ const entityAreaParents = getBlockParentsByBlockName(
1432
+ state,
1433
+ selectedBlockClientId || multiSelectedBlockClientIds[0],
1434
+ validBlockNames
1435
+ );
1436
+ if (entityAreaParents) {
1437
+ return entityAreaParents[entityAreaParents.length - 1];
1438
+ }
1439
+ return null;
1440
+ },
1441
+ (state, validBlockNames) => [
1442
+ state.selection.selectionStart.clientId,
1443
+ state.selection.selectionEnd.clientId,
1444
+ validBlockNames
1445
+ ]
1446
+ );
1447
+ function wasBlockJustInserted(state, clientId, source) {
1448
+ const { lastBlockInserted } = state;
1449
+ return lastBlockInserted.clientIds?.includes(clientId) && lastBlockInserted.source === source;
1450
+ }
1451
+ function isBlockVisible(state, clientId) {
1452
+ return state.blockVisibility?.[clientId] ?? true;
1453
+ }
1454
+ function getHoveredBlockClientId() {
1455
+ deprecated(
1456
+ "wp.data.select( 'core/block-editor' ).getHoveredBlockClientId",
1457
+ {
1458
+ since: "6.9",
1459
+ version: "7.1"
1460
+ }
1461
+ );
1462
+ return void 0;
1463
+ }
1464
+ var __unstableGetVisibleBlocks = createSelector(
1465
+ (state) => {
1466
+ const visibleBlocks = new Set(
1467
+ Object.keys(state.blockVisibility).filter(
1468
+ (key) => state.blockVisibility[key]
1469
+ )
1470
+ );
1471
+ if (visibleBlocks.size === 0) {
1472
+ return EMPTY_SET;
1473
+ }
1474
+ return visibleBlocks;
1475
+ },
1476
+ (state) => [state.blockVisibility]
1477
+ );
1478
+ function __unstableHasActiveBlockOverlayActive(state, clientId) {
1479
+ if (getBlockEditingMode(state, clientId) !== "default") {
1480
+ return false;
1481
+ }
1482
+ if (!canEditBlock(state, clientId)) {
1483
+ return true;
1484
+ }
1485
+ if (isZoomOut(state)) {
1486
+ const sectionRootClientId = getSectionRootClientId(state);
1487
+ if (sectionRootClientId) {
1488
+ const sectionClientIds = getBlockOrder(
1489
+ state,
1490
+ sectionRootClientId
1491
+ );
1492
+ if (sectionClientIds?.includes(clientId)) {
1493
+ return true;
1494
+ }
1495
+ } else if (clientId && !getBlockRootClientId(state, clientId)) {
1496
+ return true;
1497
+ }
1498
+ }
1499
+ const blockSupportDisable = hasBlockSupport(
1500
+ getBlockName(state, clientId),
1501
+ "__experimentalDisableBlockOverlay",
1502
+ false
1503
+ );
1504
+ const shouldEnableIfUnselected = blockSupportDisable ? false : areInnerBlocksControlled(state, clientId);
1505
+ return shouldEnableIfUnselected && !isBlockSelected(state, clientId) && !hasSelectedInnerBlock(state, clientId, true);
1506
+ }
1507
+ function __unstableIsWithinBlockOverlay(state, clientId) {
1508
+ let parent = state.blocks.parents.get(clientId);
1509
+ while (!!parent) {
1510
+ if (__unstableHasActiveBlockOverlayActive(state, parent)) {
1511
+ return true;
1512
+ }
1513
+ parent = state.blocks.parents.get(parent);
1514
+ }
1515
+ return false;
1516
+ }
1517
+ function getBlockEditingMode(state, clientId = "") {
1518
+ if (clientId === null) {
1519
+ clientId = "";
1520
+ }
1521
+ if (state.derivedBlockEditingModes?.has(clientId)) {
1522
+ return state.derivedBlockEditingModes.get(clientId);
1523
+ }
1524
+ if (state.blockEditingModes.has(clientId)) {
1525
+ return state.blockEditingModes.get(clientId);
1526
+ }
1527
+ return "default";
1528
+ }
1529
+ var isUngroupable = createRegistrySelector(
1530
+ (select) => (state, clientId = "") => {
1531
+ const _clientId = clientId || getSelectedBlockClientId(state);
1532
+ if (!_clientId) {
1533
+ return false;
1534
+ }
1535
+ if (isSectionBlock(state, _clientId)) {
1536
+ return false;
1537
+ }
1538
+ const { getGroupingBlockName } = select(blocksStore);
1539
+ const block = getBlock(state, _clientId);
1540
+ const groupingBlockName = getGroupingBlockName();
1541
+ const _isUngroupable = block && (block.name === groupingBlockName || getBlockType(block.name)?.transforms?.ungroup) && !!block.innerBlocks.length;
1542
+ return _isUngroupable && canRemoveBlock(state, _clientId);
1543
+ }
1544
+ );
1545
+ var isGroupable = createRegistrySelector(
1546
+ (select) => (state, clientIds = EMPTY_ARRAY) => {
1547
+ const { getGroupingBlockName } = select(blocksStore);
1548
+ const groupingBlockName = getGroupingBlockName();
1549
+ const _clientIds = clientIds?.length ? clientIds : getSelectedBlockClientIds(state);
1550
+ const rootClientId = _clientIds?.length ? getBlockRootClientId(state, _clientIds[0]) : void 0;
1551
+ const groupingBlockAvailable = canInsertBlockType(
1552
+ state,
1553
+ groupingBlockName,
1554
+ rootClientId
1555
+ );
1556
+ const _isGroupable = groupingBlockAvailable && _clientIds.length;
1557
+ return _isGroupable && canRemoveBlocks(state, _clientIds);
1558
+ }
1559
+ );
1560
+ var __unstableGetContentLockingParent = (state, clientId) => {
1561
+ deprecated(
1562
+ "wp.data.select( 'core/block-editor' ).__unstableGetContentLockingParent",
1563
+ {
1564
+ since: "6.1",
1565
+ version: "6.7"
1566
+ }
1567
+ );
1568
+ return getContentLockingParent(state, clientId);
1569
+ };
1570
+ function __unstableGetTemporarilyEditingAsBlocks(state) {
1571
+ deprecated(
1572
+ "wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingAsBlocks",
1573
+ {
1574
+ since: "6.1",
1575
+ version: "6.7"
1576
+ }
1577
+ );
1578
+ return getEditedContentOnlySection(state);
1579
+ }
1580
+ export {
1581
+ __experimentalGetActiveBlockIdByBlockNames,
1582
+ __experimentalGetAllowedBlocks,
1583
+ __experimentalGetAllowedPatterns,
1584
+ __experimentalGetBlockListSettingsForBlocks,
1585
+ __experimentalGetDirectInsertBlock,
1586
+ __experimentalGetGlobalBlocksByName,
1587
+ __experimentalGetLastBlockAttributeChanges,
1588
+ __experimentalGetParsedPattern,
1589
+ __experimentalGetPatternTransformItems,
1590
+ __experimentalGetPatternsByBlockTypes,
1591
+ __experimentalGetReusableBlockTitle,
1592
+ __unstableGetBlockWithoutInnerBlocks,
1593
+ __unstableGetClientIdWithClientIdsTree,
1594
+ __unstableGetClientIdsTree,
1595
+ __unstableGetContentLockingParent,
1596
+ __unstableGetSelectedBlocksWithPartialSelection,
1597
+ __unstableGetTemporarilyEditingAsBlocks,
1598
+ __unstableGetVisibleBlocks,
1599
+ __unstableHasActiveBlockOverlayActive,
1600
+ __unstableIsFullySelected,
1601
+ __unstableIsLastBlockChangeIgnored,
1602
+ __unstableIsSelectionCollapsed,
1603
+ __unstableIsSelectionMergeable,
1604
+ __unstableIsWithinBlockOverlay,
1605
+ __unstableSelectionHasUnmergeableBlock,
1606
+ areInnerBlocksControlled,
1607
+ canEditBlock,
1608
+ canInsertBlockType,
1609
+ canInsertBlocks,
1610
+ canLockBlockType,
1611
+ canMoveBlock,
1612
+ canMoveBlocks,
1613
+ canRemoveBlock,
1614
+ canRemoveBlocks,
1615
+ didAutomaticChange,
1616
+ getAdjacentBlockClientId,
1617
+ getAllowedBlocks,
1618
+ getBlock,
1619
+ getBlockAttributes,
1620
+ getBlockCount,
1621
+ getBlockEditingMode,
1622
+ getBlockHierarchyRootClientId,
1623
+ getBlockIndex,
1624
+ getBlockInsertionPoint,
1625
+ getBlockListSettings,
1626
+ getBlockMode,
1627
+ getBlockName,
1628
+ getBlockNamesByClientId,
1629
+ getBlockOrder,
1630
+ getBlockParents,
1631
+ getBlockParentsByBlockName,
1632
+ getBlockRootClientId,
1633
+ getBlockSelectionEnd,
1634
+ getBlockSelectionStart,
1635
+ getBlockTransformItems,
1636
+ getBlocks,
1637
+ getBlocksByClientId,
1638
+ getBlocksByName,
1639
+ getClientIdsOfDescendants,
1640
+ getClientIdsWithDescendants,
1641
+ getDirectInsertBlock,
1642
+ getDraggedBlockClientIds,
1643
+ getFirstMultiSelectedBlockClientId,
1644
+ getGlobalBlockCount,
1645
+ getHoveredBlockClientId,
1646
+ getInserterItems,
1647
+ getLastMultiSelectedBlockClientId,
1648
+ getLowestCommonAncestorWithSelectedBlock,
1649
+ getMultiSelectedBlockClientIds,
1650
+ getMultiSelectedBlocks,
1651
+ getMultiSelectedBlocksEndClientId,
1652
+ getMultiSelectedBlocksStartClientId,
1653
+ getNextBlockClientId,
1654
+ getPatternsByBlockTypes,
1655
+ getPreviousBlockClientId,
1656
+ getSelectedBlock,
1657
+ getSelectedBlockClientId,
1658
+ getSelectedBlockClientIds,
1659
+ getSelectedBlockCount,
1660
+ getSelectedBlocksInitialCaretPosition,
1661
+ getSelectionEnd,
1662
+ getSelectionStart,
1663
+ getSettings,
1664
+ getTemplate,
1665
+ getTemplateLock,
1666
+ hasBlockMovingClientId,
1667
+ hasDraggedInnerBlock,
1668
+ hasInserterItems,
1669
+ hasMultiSelection,
1670
+ hasSelectedBlock,
1671
+ hasSelectedInnerBlock,
1672
+ isAncestorBeingDragged,
1673
+ isAncestorMultiSelected,
1674
+ isBlockBeingDragged,
1675
+ isBlockHighlighted,
1676
+ isBlockInsertionPointVisible,
1677
+ isBlockMultiSelected,
1678
+ isBlockSelected,
1679
+ isBlockValid,
1680
+ isBlockVisible,
1681
+ isBlockWithinSelection,
1682
+ isCaretWithinFormattedText,
1683
+ isDraggingBlocks,
1684
+ isFirstMultiSelectedBlock,
1685
+ isGroupable,
1686
+ isLastBlockChangePersistent,
1687
+ isMultiSelecting,
1688
+ isSelectionEnabled,
1689
+ isTyping,
1690
+ isUngroupable,
1691
+ isValidTemplate,
1692
+ wasBlockJustInserted
1693
+ };
1694
+ //# sourceMappingURL=selectors.mjs.map