@wordpress/block-editor 15.21.0 → 15.22.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.
- package/CHANGELOG.md +23 -1
- package/README.md +2 -2
- package/build/components/block-card/index.cjs +4 -5
- package/build/components/block-card/index.cjs.map +2 -2
- package/build/components/block-compare/index.cjs +2 -2
- package/build/components/block-compare/index.cjs.map +2 -2
- package/build/components/block-editing-mode/index.cjs +13 -7
- package/build/components/block-editing-mode/index.cjs.map +2 -2
- package/build/components/block-inspector/index.cjs +35 -20
- package/build/components/block-inspector/index.cjs.map +2 -2
- package/build/components/block-mover/mover-description.cjs +6 -6
- package/build/components/block-mover/mover-description.cjs.map +1 -1
- package/build/components/block-patterns-list/index.cjs +1 -1
- package/build/components/block-patterns-list/index.cjs.map +2 -2
- package/build/components/block-patterns-paging/index.cjs +4 -4
- package/build/components/block-patterns-paging/index.cjs.map +2 -2
- package/build/components/block-popover/use-popover-scroll.cjs.map +1 -1
- package/build/components/block-quick-navigation/index.cjs +7 -5
- package/build/components/block-quick-navigation/index.cjs.map +2 -2
- package/build/components/block-rename/modal.cjs +0 -1
- package/build/components/block-rename/modal.cjs.map +2 -2
- package/build/components/block-switcher/block-transformations-menu.cjs +16 -15
- package/build/components/block-switcher/block-transformations-menu.cjs.map +2 -2
- package/build/components/block-switcher/index.cjs +4 -4
- package/build/components/block-switcher/index.cjs.map +2 -2
- package/build/components/block-toolbar/block-toolbar-icon.cjs +14 -6
- package/build/components/block-toolbar/block-toolbar-icon.cjs.map +2 -2
- package/build/components/block-toolbar/edit-section-button.cjs.map +1 -1
- package/build/components/block-tools/use-block-toolbar-popover-props.cjs +10 -4
- package/build/components/block-tools/use-block-toolbar-popover-props.cjs.map +2 -2
- package/build/components/child-layout-control/index.cjs +51 -19
- package/build/components/child-layout-control/index.cjs.map +2 -2
- package/build/components/colors-gradients/control.cjs +25 -14
- package/build/components/colors-gradients/control.cjs.map +2 -2
- package/build/components/colors-gradients/dropdown.cjs +4 -1
- package/build/components/colors-gradients/dropdown.cjs.map +3 -3
- package/build/components/contrast-checker/index.cjs +22 -4
- package/build/components/contrast-checker/index.cjs.map +2 -2
- package/build/components/date-format-picker/index.cjs +0 -1
- package/build/components/date-format-picker/index.cjs.map +2 -2
- package/build/components/dimensions-tool/index.cjs +4 -5
- package/build/components/dimensions-tool/index.cjs.map +2 -2
- package/build/components/dimensions-tool/scale-tool.cjs +1 -1
- package/build/components/dimensions-tool/scale-tool.cjs.map +2 -2
- package/build/components/global-styles/advanced-panel.cjs +23 -15
- package/build/components/global-styles/advanced-panel.cjs.map +2 -2
- package/build/components/global-styles/background-panel.cjs +154 -26
- package/build/components/global-styles/background-panel.cjs.map +3 -3
- package/build/components/global-styles/border-panel.cjs +2 -0
- package/build/components/global-styles/border-panel.cjs.map +2 -2
- package/build/components/global-styles/color-gradient-dropdown-item.cjs +227 -0
- package/build/components/global-styles/color-gradient-dropdown-item.cjs.map +7 -0
- package/build/components/global-styles/color-panel.cjs +98 -375
- package/build/components/global-styles/color-panel.cjs.map +3 -3
- package/build/components/global-styles/dimensions-panel.cjs +2 -5
- package/build/components/global-styles/dimensions-panel.cjs.map +2 -2
- package/build/components/global-styles/hooks.cjs +34 -0
- package/build/components/global-styles/hooks.cjs.map +2 -2
- package/build/components/global-styles/shadow-panel-components.cjs.map +2 -2
- package/build/components/global-styles/typography-panel.cjs +82 -10
- package/build/components/global-styles/typography-panel.cjs.map +3 -3
- package/build/components/grid/grid-item-resizer.cjs.map +1 -1
- package/build/components/grid/grid-visualizer.cjs.map +1 -1
- package/build/components/iframe/index.cjs +6 -3
- package/build/components/iframe/index.cjs.map +3 -3
- package/build/components/image-editor/use-transform-image.cjs.map +1 -1
- package/build/components/inner-blocks/use-inner-block-template-sync.cjs +3 -1
- package/build/components/inner-blocks/use-inner-block-template-sync.cjs.map +2 -2
- package/build/components/inserter/get-appender-label.cjs.map +1 -1
- package/build/components/inserter/hooks/use-patterns-state.cjs +1 -1
- package/build/components/inserter/hooks/use-patterns-state.cjs.map +2 -2
- package/build/components/inserter/index.cjs +179 -220
- package/build/components/inserter/index.cjs.map +3 -3
- package/build/components/inserter/media-tab/media-preview.cjs.map +2 -2
- package/build/components/inserter/search-items.cjs.map +1 -1
- package/build/components/inserter/search-results.cjs +1 -1
- package/build/components/inserter/search-results.cjs.map +2 -2
- package/build/components/inspector-controls/fill.cjs +1 -3
- package/build/components/inspector-controls/fill.cjs.map +2 -2
- package/build/components/inspector-controls/groups.cjs +2 -0
- package/build/components/inspector-controls/groups.cjs.map +2 -2
- package/build/components/inspector-controls-tabs/index.cjs.map +2 -2
- package/build/components/inspector-controls-tabs/styles-tab.cjs +76 -32
- package/build/components/inspector-controls-tabs/styles-tab.cjs.map +2 -2
- package/build/components/keyboard-shortcuts/index.cjs.map +1 -1
- package/build/components/line-height-control/index.cjs.map +1 -1
- package/build/components/link-control/index.cjs +2 -3
- package/build/components/link-control/index.cjs.map +2 -2
- package/build/components/link-control/normalize-url.cjs.map +1 -1
- package/build/components/list-view/block-select-button.cjs +9 -20
- package/build/components/list-view/block-select-button.cjs.map +3 -3
- package/build/components/list-view/block.cjs +2 -1
- package/build/components/list-view/block.cjs.map +2 -2
- package/build/components/list-view/utils.cjs.map +1 -1
- package/build/components/preset-input-control/custom-value-controls.cjs.map +2 -2
- package/build/components/provider/index.cjs.map +1 -1
- package/build/components/provider/use-block-sync.cjs +14 -3
- package/build/components/provider/use-block-sync.cjs.map +2 -2
- package/build/components/rich-text/event-listeners/before-input-rules.cjs +5 -5
- package/build/components/rich-text/event-listeners/before-input-rules.cjs.map +3 -3
- package/build/components/rich-text/event-listeners/delete.cjs +4 -4
- package/build/components/rich-text/event-listeners/delete.cjs.map +3 -3
- package/build/components/rich-text/event-listeners/enter.cjs +7 -2
- package/build/components/rich-text/event-listeners/enter.cjs.map +2 -2
- package/build/components/rich-text/event-listeners/input-events.cjs +4 -4
- package/build/components/rich-text/event-listeners/input-events.cjs.map +3 -3
- package/build/components/rich-text/event-listeners/input-rules.cjs +17 -4
- package/build/components/rich-text/event-listeners/input-rules.cjs.map +3 -3
- package/build/components/rich-text/event-listeners/insert-replacement-text.cjs +4 -4
- package/build/components/rich-text/event-listeners/insert-replacement-text.cjs.map +3 -3
- package/build/components/rich-text/event-listeners/paste-handler.cjs.map +1 -1
- package/build/components/rich-text/event-listeners/remove-browser-shortcuts.cjs +4 -4
- package/build/components/rich-text/event-listeners/remove-browser-shortcuts.cjs.map +3 -3
- package/build/components/rich-text/event-listeners/shortcuts.cjs +4 -4
- package/build/components/rich-text/event-listeners/shortcuts.cjs.map +3 -3
- package/build/components/rich-text/event-listeners/undo-automatic-change.cjs +4 -4
- package/build/components/rich-text/event-listeners/undo-automatic-change.cjs.map +3 -3
- package/build/components/rich-text/index.cjs +1 -23
- package/build/components/rich-text/index.cjs.map +2 -2
- package/build/components/rich-text/prevent-event-discovery.cjs +1 -1
- package/build/components/rich-text/prevent-event-discovery.cjs.map +1 -1
- package/build/components/url-popover/image-url-input-ui.cjs +0 -2
- package/build/components/url-popover/image-url-input-ui.cjs.map +2 -2
- package/build/components/use-block-commands/index.cjs +5 -5
- package/build/components/use-block-commands/index.cjs.map +2 -2
- package/build/components/use-block-display-information/index.cjs +10 -3
- package/build/components/use-block-display-information/index.cjs.map +2 -2
- package/build/components/writing-flow/use-tab-nav.cjs.map +1 -1
- package/build/hooks/anchor.cjs +12 -17
- package/build/hooks/anchor.cjs.map +2 -2
- package/build/hooks/background.cjs +124 -75
- package/build/hooks/background.cjs.map +3 -3
- package/build/hooks/block-fields/index.cjs +13 -2
- package/build/hooks/block-fields/index.cjs.map +2 -2
- package/build/hooks/border.cjs +0 -3
- package/build/hooks/border.cjs.map +2 -2
- package/build/hooks/color.cjs +0 -165
- package/build/hooks/color.cjs.map +3 -3
- package/build/hooks/contrast-checker.cjs +31 -28
- package/build/hooks/contrast-checker.cjs.map +3 -3
- package/build/hooks/custom-class-name.cjs +0 -1
- package/build/hooks/custom-class-name.cjs.map +2 -2
- package/build/hooks/dimensions.cjs +13 -5
- package/build/hooks/dimensions.cjs.map +2 -2
- package/build/hooks/elements.cjs +142 -0
- package/build/hooks/elements.cjs.map +7 -0
- package/build/hooks/fit-text.cjs +11 -0
- package/build/hooks/fit-text.cjs.map +2 -2
- package/build/hooks/grid-visualizer.cjs +21 -11
- package/build/hooks/grid-visualizer.cjs.map +2 -2
- package/build/hooks/layout-child.cjs +65 -10
- package/build/hooks/layout-child.cjs.map +2 -2
- package/build/hooks/layout.cjs +6 -3
- package/build/hooks/layout.cjs.map +2 -2
- package/build/hooks/list-view.cjs +10 -7
- package/build/hooks/list-view.cjs.map +2 -2
- package/build/hooks/position.cjs +19 -22
- package/build/hooks/position.cjs.map +2 -2
- package/build/hooks/spacing-visualizer.cjs.map +1 -1
- package/build/hooks/state-utils.cjs.map +1 -1
- package/build/hooks/states.cjs +2 -2
- package/build/hooks/states.cjs.map +2 -2
- package/build/hooks/style.cjs +50 -6
- package/build/hooks/style.cjs.map +2 -2
- package/build/hooks/supports.cjs +0 -7
- package/build/hooks/supports.cjs.map +2 -2
- package/build/hooks/typography.cjs +62 -10
- package/build/hooks/typography.cjs.map +3 -3
- package/build/layouts/flex.cjs +99 -6
- package/build/layouts/flex.cjs.map +2 -2
- package/build/private-apis.cjs +4 -0
- package/build/private-apis.cjs.map +2 -2
- package/build/store/actions.cjs +7 -3
- package/build/store/actions.cjs.map +2 -2
- package/build/store/private-actions.cjs +1 -2
- package/build/store/private-actions.cjs.map +2 -2
- package/build/store/private-selectors.cjs +42 -2
- package/build/store/private-selectors.cjs.map +2 -2
- package/build/store/reducer.cjs +14 -6
- package/build/store/reducer.cjs.map +2 -2
- package/build/store/selectors.cjs +60 -41
- package/build/store/selectors.cjs.map +2 -2
- package/build/utils/block-bindings.cjs +9 -9
- package/build/utils/block-bindings.cjs.map +3 -3
- package/build/utils/color-values.cjs +10 -1
- package/build/utils/color-values.cjs.map +3 -3
- package/build/utils/dom.cjs +2 -5
- package/build/utils/dom.cjs.map +3 -3
- package/build/utils/fit-text-frontend.cjs +6 -2
- package/build/utils/fit-text-frontend.cjs.map +3 -3
- package/build/utils/fit-text-utils.cjs +1 -1
- package/build/utils/fit-text-utils.cjs.map +3 -3
- package/build/utils/format-font-style.cjs +1 -1
- package/build/utils/format-font-style.cjs.map +3 -3
- package/build/utils/format-font-weight.cjs +1 -1
- package/build/utils/format-font-weight.cjs.map +3 -3
- package/build/utils/get-editor-region.cjs +4 -2
- package/build/utils/get-editor-region.cjs.map +3 -3
- package/build/utils/get-font-styles-and-weights.cjs +8 -12
- package/build/utils/get-font-styles-and-weights.cjs.map +3 -3
- package/build/utils/get-px-from-css-unit.cjs +1 -1
- package/build/utils/get-px-from-css-unit.cjs.map +1 -1
- package/build/utils/index.cjs +1 -1
- package/build/utils/index.cjs.map +1 -1
- package/build/utils/math.cjs +1 -1
- package/build/utils/math.cjs.map +3 -3
- package/build/utils/object.cjs +8 -8
- package/build/utils/object.cjs.map +3 -3
- package/build/utils/order-inserter-block-items.cjs +1 -1
- package/build/utils/order-inserter-block-items.cjs.map +3 -3
- package/build/utils/pasting.cjs +4 -2
- package/build/utils/pasting.cjs.map +3 -3
- package/build/utils/selection.cjs +3 -2
- package/build/utils/selection.cjs.map +3 -3
- package/build/utils/sorting.cjs +9 -3
- package/build/utils/sorting.cjs.map +3 -3
- package/build/utils/transform-styles/index.cjs +3 -2
- package/build/utils/transform-styles/index.cjs.map +3 -3
- package/build/utils/transform-styles/postcss-urlrebase.d.cjs +2 -0
- package/build/utils/transform-styles/postcss-urlrebase.d.cjs.map +7 -0
- package/build/{components/rich-text/native/index.cjs → utils/transform-styles/types.cjs} +4 -13
- package/build/utils/transform-styles/types.cjs.map +7 -0
- package/build/utils/types.cjs +19 -0
- package/build/utils/types.cjs.map +7 -0
- package/build-module/components/block-card/index.mjs +5 -6
- package/build-module/components/block-card/index.mjs.map +2 -2
- package/build-module/components/block-compare/index.mjs +1 -1
- package/build-module/components/block-compare/index.mjs.map +2 -2
- package/build-module/components/block-editing-mode/index.mjs +14 -8
- package/build-module/components/block-editing-mode/index.mjs.map +2 -2
- package/build-module/components/block-inspector/index.mjs +35 -21
- package/build-module/components/block-inspector/index.mjs.map +2 -2
- package/build-module/components/block-mover/mover-description.mjs +6 -6
- package/build-module/components/block-mover/mover-description.mjs.map +1 -1
- package/build-module/components/block-patterns-list/index.mjs +1 -1
- package/build-module/components/block-patterns-list/index.mjs.map +2 -2
- package/build-module/components/block-patterns-paging/index.mjs +4 -4
- package/build-module/components/block-patterns-paging/index.mjs.map +2 -2
- package/build-module/components/block-popover/use-popover-scroll.mjs.map +1 -1
- package/build-module/components/block-quick-navigation/index.mjs +8 -6
- package/build-module/components/block-quick-navigation/index.mjs.map +2 -2
- package/build-module/components/block-rename/modal.mjs +0 -1
- package/build-module/components/block-rename/modal.mjs.map +2 -2
- package/build-module/components/block-switcher/block-transformations-menu.mjs +16 -15
- package/build-module/components/block-switcher/block-transformations-menu.mjs.map +2 -2
- package/build-module/components/block-switcher/index.mjs +4 -4
- package/build-module/components/block-switcher/index.mjs.map +2 -2
- package/build-module/components/block-toolbar/block-toolbar-icon.mjs +14 -6
- package/build-module/components/block-toolbar/block-toolbar-icon.mjs.map +2 -2
- package/build-module/components/block-toolbar/edit-section-button.mjs.map +1 -1
- package/build-module/components/block-tools/use-block-toolbar-popover-props.mjs +10 -4
- package/build-module/components/block-tools/use-block-toolbar-popover-props.mjs.map +2 -2
- package/build-module/components/child-layout-control/index.mjs +51 -19
- package/build-module/components/child-layout-control/index.mjs.map +2 -2
- package/build-module/components/colors-gradients/control.mjs +27 -15
- package/build-module/components/colors-gradients/control.mjs.map +2 -2
- package/build-module/components/colors-gradients/dropdown.mjs +4 -1
- package/build-module/components/colors-gradients/dropdown.mjs.map +2 -2
- package/build-module/components/contrast-checker/index.mjs +18 -4
- package/build-module/components/contrast-checker/index.mjs.map +2 -2
- package/build-module/components/date-format-picker/index.mjs +0 -1
- package/build-module/components/date-format-picker/index.mjs.map +2 -2
- package/build-module/components/dimensions-tool/index.mjs +4 -5
- package/build-module/components/dimensions-tool/index.mjs.map +2 -2
- package/build-module/components/dimensions-tool/scale-tool.mjs +1 -1
- package/build-module/components/dimensions-tool/scale-tool.mjs.map +2 -2
- package/build-module/components/global-styles/advanced-panel.mjs +23 -15
- package/build-module/components/global-styles/advanced-panel.mjs.map +2 -2
- package/build-module/components/global-styles/background-panel.mjs +157 -29
- package/build-module/components/global-styles/background-panel.mjs.map +2 -2
- package/build-module/components/global-styles/border-panel.mjs +2 -0
- package/build-module/components/global-styles/border-panel.mjs.map +2 -2
- package/build-module/components/global-styles/color-gradient-dropdown-item.mjs +207 -0
- package/build-module/components/global-styles/color-gradient-dropdown-item.mjs.map +7 -0
- package/build-module/components/global-styles/color-panel.mjs +106 -387
- package/build-module/components/global-styles/color-panel.mjs.map +3 -3
- package/build-module/components/global-styles/dimensions-panel.mjs +3 -7
- package/build-module/components/global-styles/dimensions-panel.mjs.map +2 -2
- package/build-module/components/global-styles/hooks.mjs +33 -0
- package/build-module/components/global-styles/hooks.mjs.map +2 -2
- package/build-module/components/global-styles/shadow-panel-components.mjs.map +2 -2
- package/build-module/components/global-styles/typography-panel.mjs +84 -10
- package/build-module/components/global-styles/typography-panel.mjs.map +2 -2
- package/build-module/components/grid/grid-item-resizer.mjs.map +1 -1
- package/build-module/components/grid/grid-visualizer.mjs.map +1 -1
- package/build-module/components/iframe/index.mjs +6 -3
- package/build-module/components/iframe/index.mjs.map +2 -2
- package/build-module/components/image-editor/use-transform-image.mjs.map +1 -1
- package/build-module/components/inner-blocks/use-inner-block-template-sync.mjs +3 -1
- package/build-module/components/inner-blocks/use-inner-block-template-sync.mjs.map +2 -2
- package/build-module/components/inserter/get-appender-label.mjs.map +1 -1
- package/build-module/components/inserter/hooks/use-patterns-state.mjs +1 -1
- package/build-module/components/inserter/hooks/use-patterns-state.mjs.map +2 -2
- package/build-module/components/inserter/index.mjs +185 -222
- package/build-module/components/inserter/index.mjs.map +3 -3
- package/build-module/components/inserter/media-tab/media-preview.mjs.map +2 -2
- package/build-module/components/inserter/search-items.mjs.map +1 -1
- package/build-module/components/inserter/search-results.mjs +1 -1
- package/build-module/components/inserter/search-results.mjs.map +2 -2
- package/build-module/components/inspector-controls/fill.mjs +1 -3
- package/build-module/components/inspector-controls/fill.mjs.map +2 -2
- package/build-module/components/inspector-controls/groups.mjs +2 -0
- package/build-module/components/inspector-controls/groups.mjs.map +2 -2
- package/build-module/components/inspector-controls-tabs/index.mjs.map +2 -2
- package/build-module/components/inspector-controls-tabs/styles-tab.mjs +76 -32
- package/build-module/components/inspector-controls-tabs/styles-tab.mjs.map +2 -2
- package/build-module/components/keyboard-shortcuts/index.mjs.map +1 -1
- package/build-module/components/line-height-control/index.mjs.map +1 -1
- package/build-module/components/link-control/index.mjs +2 -3
- package/build-module/components/link-control/index.mjs.map +2 -2
- package/build-module/components/link-control/normalize-url.mjs.map +1 -1
- package/build-module/components/list-view/block-select-button.mjs +10 -27
- package/build-module/components/list-view/block-select-button.mjs.map +2 -2
- package/build-module/components/list-view/block.mjs +2 -1
- package/build-module/components/list-view/block.mjs.map +2 -2
- package/build-module/components/list-view/utils.mjs.map +1 -1
- package/build-module/components/preset-input-control/custom-value-controls.mjs.map +2 -2
- package/build-module/components/provider/index.mjs.map +1 -1
- package/build-module/components/provider/use-block-sync.mjs +14 -3
- package/build-module/components/provider/use-block-sync.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/before-input-rules.mjs +5 -5
- package/build-module/components/rich-text/event-listeners/before-input-rules.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/delete.mjs +4 -4
- package/build-module/components/rich-text/event-listeners/delete.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/enter.mjs +7 -2
- package/build-module/components/rich-text/event-listeners/enter.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/input-events.mjs +4 -4
- package/build-module/components/rich-text/event-listeners/input-events.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/input-rules.mjs +17 -4
- package/build-module/components/rich-text/event-listeners/input-rules.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/insert-replacement-text.mjs +4 -4
- package/build-module/components/rich-text/event-listeners/insert-replacement-text.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/paste-handler.mjs.map +1 -1
- package/build-module/components/rich-text/event-listeners/remove-browser-shortcuts.mjs +4 -4
- package/build-module/components/rich-text/event-listeners/remove-browser-shortcuts.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/shortcuts.mjs +4 -4
- package/build-module/components/rich-text/event-listeners/shortcuts.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/undo-automatic-change.mjs +4 -4
- package/build-module/components/rich-text/event-listeners/undo-automatic-change.mjs.map +2 -2
- package/build-module/components/rich-text/index.mjs +1 -23
- package/build-module/components/rich-text/index.mjs.map +2 -2
- package/build-module/components/rich-text/prevent-event-discovery.mjs +1 -1
- package/build-module/components/rich-text/prevent-event-discovery.mjs.map +1 -1
- package/build-module/components/url-popover/image-url-input-ui.mjs +0 -2
- package/build-module/components/url-popover/image-url-input-ui.mjs.map +2 -2
- package/build-module/components/use-block-commands/index.mjs +5 -5
- package/build-module/components/use-block-commands/index.mjs.map +2 -2
- package/build-module/components/use-block-display-information/index.mjs +10 -3
- package/build-module/components/use-block-display-information/index.mjs.map +2 -2
- package/build-module/components/writing-flow/use-tab-nav.mjs.map +1 -1
- package/build-module/hooks/anchor.mjs +12 -17
- package/build-module/hooks/anchor.mjs.map +2 -2
- package/build-module/hooks/background.mjs +123 -75
- package/build-module/hooks/background.mjs.map +2 -2
- package/build-module/hooks/block-fields/index.mjs +13 -2
- package/build-module/hooks/block-fields/index.mjs.map +2 -2
- package/build-module/hooks/border.mjs +1 -4
- package/build-module/hooks/border.mjs.map +2 -2
- package/build-module/hooks/color.mjs +2 -178
- package/build-module/hooks/color.mjs.map +2 -2
- package/build-module/hooks/contrast-checker.mjs +32 -19
- package/build-module/hooks/contrast-checker.mjs.map +2 -2
- package/build-module/hooks/custom-class-name.mjs +0 -1
- package/build-module/hooks/custom-class-name.mjs.map +2 -2
- package/build-module/hooks/dimensions.mjs +13 -6
- package/build-module/hooks/dimensions.mjs.map +2 -2
- package/build-module/hooks/elements.mjs +115 -0
- package/build-module/hooks/elements.mjs.map +7 -0
- package/build-module/hooks/fit-text.mjs +11 -0
- package/build-module/hooks/fit-text.mjs.map +2 -2
- package/build-module/hooks/grid-visualizer.mjs +21 -11
- package/build-module/hooks/grid-visualizer.mjs.map +2 -2
- package/build-module/hooks/layout-child.mjs +68 -10
- package/build-module/hooks/layout-child.mjs.map +2 -2
- package/build-module/hooks/layout.mjs +6 -3
- package/build-module/hooks/layout.mjs.map +2 -2
- package/build-module/hooks/list-view.mjs +10 -7
- package/build-module/hooks/list-view.mjs.map +2 -2
- package/build-module/hooks/position.mjs +20 -23
- package/build-module/hooks/position.mjs.map +2 -2
- package/build-module/hooks/spacing-visualizer.mjs.map +1 -1
- package/build-module/hooks/state-utils.mjs.map +1 -1
- package/build-module/hooks/states.mjs +2 -2
- package/build-module/hooks/states.mjs.map +2 -2
- package/build-module/hooks/style.mjs +53 -8
- package/build-module/hooks/style.mjs.map +2 -2
- package/build-module/hooks/supports.mjs +0 -7
- package/build-module/hooks/supports.mjs.map +2 -2
- package/build-module/hooks/typography.mjs +62 -10
- package/build-module/hooks/typography.mjs.map +2 -2
- package/build-module/layouts/flex.mjs +105 -7
- package/build-module/layouts/flex.mjs.map +2 -2
- package/build-module/private-apis.mjs +8 -0
- package/build-module/private-apis.mjs.map +2 -2
- package/build-module/store/actions.mjs +7 -3
- package/build-module/store/actions.mjs.map +2 -2
- package/build-module/store/private-actions.mjs +1 -2
- package/build-module/store/private-actions.mjs.map +2 -2
- package/build-module/store/private-selectors.mjs +39 -1
- package/build-module/store/private-selectors.mjs.map +2 -2
- package/build-module/store/reducer.mjs +14 -6
- package/build-module/store/reducer.mjs.map +2 -2
- package/build-module/store/selectors.mjs +62 -42
- package/build-module/store/selectors.mjs.map +2 -2
- package/build-module/utils/block-bindings.mjs +9 -9
- package/build-module/utils/block-bindings.mjs.map +3 -3
- package/build-module/utils/color-values.mjs +9 -1
- package/build-module/utils/color-values.mjs.map +3 -3
- package/build-module/utils/dom.mjs +2 -5
- package/build-module/utils/dom.mjs.map +3 -3
- package/build-module/utils/fit-text-frontend.mjs +6 -2
- package/build-module/utils/fit-text-frontend.mjs.map +3 -3
- package/build-module/utils/fit-text-utils.mjs +1 -1
- package/build-module/utils/fit-text-utils.mjs.map +3 -3
- package/build-module/utils/format-font-style.mjs +1 -1
- package/build-module/utils/format-font-style.mjs.map +3 -3
- package/build-module/utils/format-font-weight.mjs +1 -1
- package/build-module/utils/format-font-weight.mjs.map +3 -3
- package/build-module/utils/get-editor-region.mjs +4 -2
- package/build-module/utils/get-editor-region.mjs.map +3 -3
- package/build-module/utils/get-font-styles-and-weights.mjs +8 -12
- package/build-module/utils/get-font-styles-and-weights.mjs.map +3 -3
- package/build-module/utils/get-px-from-css-unit.mjs +1 -1
- package/build-module/utils/get-px-from-css-unit.mjs.map +1 -1
- package/build-module/utils/index.mjs +1 -1
- package/build-module/utils/index.mjs.map +1 -1
- package/build-module/utils/math.mjs +1 -1
- package/build-module/utils/math.mjs.map +3 -3
- package/build-module/utils/object.mjs +8 -8
- package/build-module/utils/object.mjs.map +3 -3
- package/build-module/utils/order-inserter-block-items.mjs +1 -1
- package/build-module/utils/order-inserter-block-items.mjs.map +3 -3
- package/build-module/utils/pasting.mjs +4 -2
- package/build-module/utils/pasting.mjs.map +3 -3
- package/build-module/utils/selection.mjs +3 -2
- package/build-module/utils/selection.mjs.map +3 -3
- package/build-module/utils/sorting.mjs +9 -3
- package/build-module/utils/sorting.mjs.map +3 -3
- package/build-module/utils/transform-styles/index.mjs +3 -2
- package/build-module/utils/transform-styles/index.mjs.map +3 -3
- package/build-module/utils/transform-styles/postcss-urlrebase.d.mjs +1 -0
- package/build-module/utils/transform-styles/postcss-urlrebase.d.mjs.map +7 -0
- package/build-module/utils/transform-styles/types.mjs +1 -0
- package/build-module/utils/transform-styles/types.mjs.map +7 -0
- package/build-module/utils/types.mjs +1 -0
- package/build-module/utils/types.mjs.map +7 -0
- package/build-style/content-rtl.css +14 -0
- package/build-style/content.css +14 -0
- package/build-style/style-rtl.css +60 -49
- package/build-style/style.css +60 -49
- package/build-types/utils/block-bindings.d.ts +27 -0
- package/build-types/utils/block-bindings.d.ts.map +1 -0
- package/build-types/utils/color-values.d.ts +40 -0
- package/build-types/utils/color-values.d.ts.map +1 -0
- package/build-types/utils/dom.d.ts +19 -19
- package/build-types/utils/dom.d.ts.map +1 -1
- package/build-types/utils/fit-text-frontend.d.ts +7 -0
- package/build-types/utils/fit-text-frontend.d.ts.map +1 -0
- package/build-types/utils/fit-text-utils.d.ts +15 -0
- package/build-types/utils/fit-text-utils.d.ts.map +1 -0
- package/build-types/utils/format-font-style.d.ts +12 -0
- package/build-types/utils/format-font-style.d.ts.map +1 -0
- package/build-types/utils/format-font-weight.d.ts +12 -0
- package/build-types/utils/format-font-weight.d.ts.map +1 -0
- package/build-types/utils/get-editor-region.d.ts +9 -0
- package/build-types/utils/get-editor-region.d.ts.map +1 -0
- package/build-types/utils/get-font-styles-and-weights.d.ts +16 -0
- package/build-types/utils/get-font-styles-and-weights.d.ts.map +1 -0
- package/build-types/utils/get-px-from-css-unit.d.ts +10 -0
- package/build-types/utils/get-px-from-css-unit.d.ts.map +1 -0
- package/build-types/utils/index.d.ts +3 -0
- package/build-types/utils/index.d.ts.map +1 -0
- package/build-types/utils/math.d.ts +61 -0
- package/build-types/utils/math.d.ts.map +1 -0
- package/build-types/utils/object.d.ts +39 -0
- package/build-types/utils/object.d.ts.map +1 -0
- package/build-types/utils/order-inserter-block-items.d.ts +13 -0
- package/build-types/utils/order-inserter-block-items.d.ts.map +1 -0
- package/build-types/utils/pasting.d.ts +28 -0
- package/build-types/utils/pasting.d.ts.map +1 -0
- package/build-types/utils/selection.d.ts +21 -0
- package/build-types/utils/selection.d.ts.map +1 -0
- package/build-types/utils/sorting.d.ts +17 -0
- package/build-types/utils/sorting.d.ts.map +1 -0
- package/build-types/utils/transform-styles/index.d.ts +15 -0
- package/build-types/utils/transform-styles/index.d.ts.map +1 -0
- package/build-types/utils/transform-styles/types.d.ts +13 -0
- package/build-types/utils/transform-styles/types.d.ts.map +1 -0
- package/build-types/utils/types.d.ts +28 -0
- package/build-types/utils/types.d.ts.map +1 -0
- package/package.json +55 -46
- package/src/components/alignment-control/test/__snapshots__/index.js.snap +6 -0
- package/src/components/block-alignment-control/test/__snapshots__/index.js.snap +5 -0
- package/src/components/block-breadcrumb/README.md +2 -2
- package/src/components/block-card/index.js +7 -13
- package/src/components/block-compare/README.md +6 -6
- package/src/components/block-compare/index.js +1 -3
- package/src/components/block-editing-mode/index.js +17 -9
- package/src/components/block-icon/test/__snapshots__/index.js.snap +1 -0
- package/src/components/block-inspector/index.js +22 -20
- package/src/components/block-patterns-list/index.js +1 -2
- package/src/components/block-preview/README.md +1 -1
- package/src/components/block-quick-navigation/index.js +7 -7
- package/src/components/block-rename/modal.js +0 -1
- package/src/components/block-switcher/block-transformations-menu.js +16 -18
- package/src/components/block-switcher/index.js +4 -4
- package/src/components/block-toolbar/block-toolbar-icon.js +22 -6
- package/src/components/block-toolbar/test/block-toolbar-icon.js +99 -0
- package/src/components/block-tools/use-block-toolbar-popover-props.js +10 -4
- package/src/components/block-types-list/README.md +0 -19
- package/src/components/block-vertical-alignment-control/test/__snapshots__/index.js.snap +4 -0
- package/src/components/child-layout-control/index.js +65 -20
- package/src/components/child-layout-control/test/index.js +64 -0
- package/src/components/colors-gradients/control.js +29 -12
- package/src/components/colors-gradients/dropdown.js +4 -1
- package/src/components/colors-gradients/style.scss +39 -2
- package/src/components/contrast-checker/README.md +9 -0
- package/src/components/contrast-checker/index.js +42 -3
- package/src/components/date-format-picker/index.js +0 -1
- package/src/components/default-block-appender/content.scss +3 -0
- package/src/components/dimensions-tool/index.js +4 -9
- package/src/components/dimensions-tool/scale-tool.js +1 -2
- package/src/components/dimensions-tool/test/index.js +89 -11
- package/src/components/global-styles/advanced-panel.js +5 -1
- package/src/components/global-styles/background-panel.js +203 -36
- package/src/components/global-styles/border-panel.js +2 -0
- package/src/components/global-styles/color-gradient-dropdown-item.js +258 -0
- package/src/components/global-styles/color-panel.js +125 -487
- package/src/components/global-styles/dimensions-panel.js +13 -18
- package/src/components/global-styles/hooks.js +45 -0
- package/src/components/global-styles/shadow-panel-components.js +0 -1
- package/src/components/global-styles/test/background-panel.js +56 -0
- package/src/components/global-styles/test/color-panel.js +172 -118
- package/src/components/global-styles/test/typography-panel.js +167 -0
- package/src/components/global-styles/typography-panel.js +100 -11
- package/src/components/iframe/index.js +8 -3
- package/src/components/inner-blocks/use-inner-block-template-sync.js +3 -1
- package/src/components/inserter/hooks/use-patterns-state.js +1 -1
- package/src/components/inserter/index.js +257 -288
- package/src/components/inserter/media-tab/media-preview.js +0 -1
- package/src/components/inserter/search-results.js +1 -3
- package/src/components/inspector-controls/README.md +0 -2
- package/src/components/inspector-controls/fill.js +6 -8
- package/src/components/inspector-controls/groups.js +2 -0
- package/src/components/inspector-controls-tabs/index.js +0 -1
- package/src/components/inspector-controls-tabs/styles-tab.js +78 -28
- package/src/components/justify-content-control/README.md +1 -1
- package/src/components/link-control/index.js +0 -1
- package/src/components/link-control/test/index.js +2 -3
- package/src/components/list-view/block-select-button.js +9 -29
- package/src/components/list-view/block.js +1 -0
- package/src/components/media-placeholder/README.md +1 -29
- package/src/components/media-upload/README.md +0 -19
- package/src/components/preset-input-control/custom-value-controls.js +0 -1
- package/src/components/provider/test/use-block-sync.js +40 -0
- package/src/components/provider/use-block-sync.js +15 -3
- package/src/components/rich-text/content.scss +2 -0
- package/src/components/rich-text/event-listeners/before-input-rules.js +5 -4
- package/src/components/rich-text/event-listeners/delete.js +9 -4
- package/src/components/rich-text/event-listeners/enter.js +9 -2
- package/src/components/rich-text/event-listeners/input-events.js +13 -4
- package/src/components/rich-text/event-listeners/input-rules.js +20 -4
- package/src/components/rich-text/event-listeners/insert-replacement-text.js +9 -4
- package/src/components/rich-text/event-listeners/remove-browser-shortcuts.js +9 -4
- package/src/components/rich-text/event-listeners/shortcuts.js +13 -4
- package/src/components/rich-text/event-listeners/undo-automatic-change.js +5 -4
- package/src/components/rich-text/index.js +1 -33
- package/src/components/unit-control/README.md +1 -1
- package/src/components/url-popover/README.md +1 -1
- package/src/components/url-popover/image-url-input-ui.js +0 -2
- package/src/components/use-block-commands/index.js +5 -5
- package/src/components/use-block-display-information/index.js +15 -2
- package/src/components/use-block-display-information/test/index.js +140 -0
- package/src/hooks/anchor.js +9 -18
- package/src/hooks/background.js +210 -133
- package/src/hooks/background.scss +0 -35
- package/src/hooks/block-fields/index.js +27 -2
- package/src/hooks/border.js +1 -5
- package/src/hooks/color.js +2 -210
- package/src/hooks/color.scss +3 -9
- package/src/hooks/contrast-checker.js +60 -17
- package/src/hooks/custom-class-name.js +0 -1
- package/src/hooks/dimensions.js +15 -8
- package/src/hooks/elements.js +140 -0
- package/src/hooks/elements.scss +8 -0
- package/src/hooks/fit-text.js +16 -0
- package/src/hooks/grid-visualizer.js +59 -45
- package/src/hooks/layout-child.js +92 -14
- package/src/hooks/layout.js +6 -3
- package/src/hooks/list-view.js +10 -11
- package/src/hooks/position.js +23 -27
- package/src/hooks/states.js +2 -2
- package/src/hooks/style.js +91 -9
- package/src/hooks/supports.js +0 -9
- package/src/hooks/test/background.js +59 -0
- package/src/hooks/test/block-style-state.js +14 -14
- package/src/hooks/test/dimensions.js +71 -0
- package/src/hooks/test/layout-child.js +165 -0
- package/src/hooks/test/layout.js +6 -6
- package/src/hooks/test/style.js +133 -11
- package/src/hooks/typography.js +70 -6
- package/src/layouts/flex.js +118 -15
- package/src/private-apis.js +8 -0
- package/src/store/actions.js +13 -3
- package/src/store/private-actions.js +1 -4
- package/src/store/private-selectors.js +89 -0
- package/src/store/reducer.js +19 -7
- package/src/store/selectors.js +91 -53
- package/src/store/test/actions.js +21 -0
- package/src/store/test/private-selectors.js +166 -7
- package/src/store/test/reducer.js +107 -10
- package/src/store/test/selectors.js +77 -0
- package/src/style.scss +1 -0
- package/src/utils/block-bindings.ts +51 -0
- package/src/utils/color-values.ts +63 -0
- package/src/utils/{dom.js → dom.ts} +27 -27
- package/src/utils/{fit-text-frontend.js → fit-text-frontend.ts} +12 -4
- package/src/utils/{fit-text-utils.js → fit-text-utils.ts} +15 -7
- package/src/utils/{format-font-style.js → format-font-style.ts} +10 -3
- package/src/utils/{format-font-weight.js → format-font-weight.ts} +10 -3
- package/src/utils/{get-editor-region.js → get-editor-region.ts} +10 -6
- package/src/utils/{get-font-styles-and-weights.js → get-font-styles-and-weights.ts} +21 -17
- package/src/utils/{math.js → math.ts} +37 -30
- package/src/utils/object.ts +89 -0
- package/src/utils/{order-inserter-block-items.js → order-inserter-block-items.ts} +8 -5
- package/src/utils/{pasting.js → pasting.ts} +18 -11
- package/src/utils/{selection.js → selection.ts} +11 -4
- package/src/utils/sorting.ts +81 -0
- package/src/utils/test/color-values.js +44 -1
- package/src/utils/transform-styles/{index.js → index.ts} +25 -25
- package/src/utils/transform-styles/postcss-urlrebase.d.ts +15 -0
- package/src/utils/transform-styles/types.ts +13 -0
- package/src/utils/types.ts +29 -0
- package/build/components/media-upload-progress/constants.cjs +0 -46
- package/build/components/media-upload-progress/constants.cjs.map +0 -7
- package/build/components/rich-text/native/format-edit.cjs +0 -60
- package/build/components/rich-text/native/format-edit.cjs.map +0 -7
- package/build/components/rich-text/native/index.cjs.map +0 -7
- package/build/components/rich-text/native/use-format-types.cjs +0 -139
- package/build/components/rich-text/native/use-format-types.cjs.map +0 -7
- package/build-module/components/media-upload-progress/constants.mjs +0 -16
- package/build-module/components/media-upload-progress/constants.mjs.map +0 -7
- package/build-module/components/rich-text/native/format-edit.mjs +0 -39
- package/build-module/components/rich-text/native/format-edit.mjs.map +0 -7
- package/build-module/components/rich-text/native/index.mjs +0 -7
- package/build-module/components/rich-text/native/index.mjs.map +0 -7
- package/build-module/components/rich-text/native/use-format-types.mjs +0 -114
- package/build-module/components/rich-text/native/use-format-types.mjs.map +0 -7
- package/src/components/audio-player/audio-url-parser.native.js +0 -20
- package/src/components/audio-player/index.native.js +0 -225
- package/src/components/audio-player/styles.native.scss +0 -114
- package/src/components/audio-player/test/audio-url-parser.native.js +0 -53
- package/src/components/block-alignment-control/test/index.native.js +0 -37
- package/src/components/block-alignment-control/ui.native.js +0 -86
- package/src/components/block-caption/README.md +0 -104
- package/src/components/block-caption/index.native.js +0 -89
- package/src/components/block-caption/styles.native.scss +0 -7
- package/src/components/block-controls/slot.native.js +0 -33
- package/src/components/block-draggable/draggable-chip.native.js +0 -49
- package/src/components/block-draggable/dropping-insertion-point.native.js +0 -181
- package/src/components/block-draggable/dropping-insertion-point.native.scss +0 -8
- package/src/components/block-draggable/index.native.js +0 -467
- package/src/components/block-draggable/style.native.scss +0 -19
- package/src/components/block-draggable/test/__snapshots__/index.native.js.snap +0 -73
- package/src/components/block-draggable/test/helpers.native.js +0 -182
- package/src/components/block-draggable/test/index.native.js +0 -419
- package/src/components/block-draggable/use-scroll-when-dragging.native.js +0 -135
- package/src/components/block-edit/edit.native.js +0 -49
- package/src/components/block-edit/test/edit.native.js +0 -65
- package/src/components/block-heading-level-dropdown/index.native.js +0 -68
- package/src/components/block-icon/index.native.js +0 -47
- package/src/components/block-icon/style.native.scss +0 -7
- package/src/components/block-list/block-crash-boundary.native.js +0 -43
- package/src/components/block-list/block-crash-warning.native.js +0 -21
- package/src/components/block-list/block-invalid-warning.native.js +0 -70
- package/src/components/block-list/block-list-context.native.js +0 -172
- package/src/components/block-list/block-list-item-cell.native.js +0 -62
- package/src/components/block-list/block-list-item.native.js +0 -209
- package/src/components/block-list/block-list-item.native.scss +0 -16
- package/src/components/block-list/block-outline.native.js +0 -77
- package/src/components/block-list/block-selection-button.native.js +0 -100
- package/src/components/block-list/block-selection-button.native.scss +0 -34
- package/src/components/block-list/block.native.js +0 -716
- package/src/components/block-list/block.native.scss +0 -62
- package/src/components/block-list/grid-item.native.js +0 -58
- package/src/components/block-list/index.native.js +0 -437
- package/src/components/block-list/insertion-point.native.js +0 -36
- package/src/components/block-list/style.native.scss +0 -117
- package/src/components/block-list/test/block-invalid-warning.native.js +0 -62
- package/src/components/block-list/test/block-list-context.native.js +0 -243
- package/src/components/block-list/test/block-outline.native.js +0 -255
- package/src/components/block-list/test/fixtures/block-list-context.native.js +0 -79
- package/src/components/block-list/test/index.native.js +0 -205
- package/src/components/block-list/use-block-props/index.native.js +0 -10
- package/src/components/block-list/use-scroll-upon-insertion.native.js +0 -52
- package/src/components/block-list-appender/index.native.js +0 -70
- package/src/components/block-list-appender/style.native.scss +0 -8
- package/src/components/block-media-update-progress/README.md +0 -100
- package/src/components/block-media-update-progress/index.native.js +0 -299
- package/src/components/block-media-update-progress/styles.native.scss +0 -9
- package/src/components/block-media-update-progress/test/index.native.js +0 -543
- package/src/components/block-mover/index.native.js +0 -193
- package/src/components/block-mover/mover-description.native.js +0 -155
- package/src/components/block-mover/test/__snapshots__/index.native.js.snap +0 -218
- package/src/components/block-mover/test/index.native.js +0 -186
- package/src/components/block-settings/button.native.js +0 -41
- package/src/components/block-settings/container.native.js +0 -91
- package/src/components/block-settings/container.native.scss +0 -4
- package/src/components/block-settings/index.native.js +0 -5
- package/src/components/block-styles/index.native.js +0 -94
- package/src/components/block-styles/preview.native.js +0 -109
- package/src/components/block-styles/style.native.scss +0 -64
- package/src/components/block-switcher/block-transformations-menu.native.js +0 -91
- package/src/components/block-toolbar/block-toolbar-menu.native.js +0 -477
- package/src/components/block-toolbar/index.native.js +0 -126
- package/src/components/block-toolbar/test/__snapshots__/block-toolbar-menu.native.js.snap +0 -125
- package/src/components/block-toolbar/test/block-toolbar-menu.native.js +0 -405
- package/src/components/block-toolbar/test/index.native.js +0 -36
- package/src/components/block-types-list/index.native.js +0 -175
- package/src/components/block-types-list/style.native.scss +0 -25
- package/src/components/block-variation-picker/index.native.js +0 -107
- package/src/components/block-variation-picker/style.native.scss +0 -32
- package/src/components/button-block-appender/index.native.js +0 -92
- package/src/components/button-block-appender/styles.native.scss +0 -43
- package/src/components/caption/README.md +0 -44
- package/src/components/caption/index.native.js +0 -61
- package/src/components/colors-gradients/panel-color-gradient-settings.native.js +0 -59
- package/src/components/contrast-checker/index.native.js +0 -113
- package/src/components/contrast-checker/style.native.scss +0 -26
- package/src/components/convert-to-group-buttons/index.native.js +0 -79
- package/src/components/default-block-appender/index.native.js +0 -113
- package/src/components/default-block-appender/style.native.scss +0 -18
- package/src/components/floating-toolbar/floatingToolbar.android.scss +0 -4
- package/src/components/floating-toolbar/floatingToolbar.ios.scss +0 -3
- package/src/components/floating-toolbar/index.native.js +0 -141
- package/src/components/floating-toolbar/styles.native.scss +0 -43
- package/src/components/font-sizes/index.native.js +0 -7
- package/src/components/global-styles/color-panel.native.js +0 -207
- package/src/components/global-styles/test/use-global-styles-context.native.js +0 -435
- package/src/components/global-styles/use-global-styles-context.native.js +0 -592
- package/src/components/gradients/index.native.js +0 -2
- package/src/components/image-link-destinations/index.native.js +0 -152
- package/src/components/image-link-destinations/style.native.scss +0 -16
- package/src/components/index.native.js +0 -108
- package/src/components/inner-blocks/constants.native.js +0 -5
- package/src/components/inner-blocks/index.native.js +0 -221
- package/src/components/inner-blocks/warning-max-depth-exceeded.native.js +0 -124
- package/src/components/inserter/block-types-tab.native.js +0 -76
- package/src/components/inserter/hooks/use-block-type-impressions.native.js +0 -47
- package/src/components/inserter/hooks/use-clipboard-block.native.js +0 -40
- package/src/components/inserter/index.native.js +0 -424
- package/src/components/inserter/menu.native.js +0 -237
- package/src/components/inserter/no-results.native.js +0 -49
- package/src/components/inserter/reusable-blocks-tab.native.js +0 -45
- package/src/components/inserter/search-results.native.js +0 -67
- package/src/components/inserter/style.native.scss +0 -83
- package/src/components/inserter/tabs.native.js +0 -152
- package/src/components/inserter/test/__snapshots__/index.native.js.snap +0 -117
- package/src/components/inserter/test/fixtures/index.native.js +0 -12
- package/src/components/inserter/test/index.native.js +0 -273
- package/src/components/inserter/test/reusable-blocks-tab.native.js +0 -62
- package/src/components/inserter/test/utils.native.js +0 -37
- package/src/components/inserter/utils.native.js +0 -46
- package/src/components/inserter-button/index.native.js +0 -108
- package/src/components/inserter-button/style.native.scss +0 -72
- package/src/components/inspector-controls/fill.native.js +0 -62
- package/src/components/inspector-controls/slot.native.js +0 -35
- package/src/components/inspector-controls-tabs/advanced-controls-panel.native.js +0 -31
- package/src/components/line-height-control/index.native.js +0 -28
- package/src/components/media-placeholder/index.native.js +0 -258
- package/src/components/media-placeholder/styles.native.scss +0 -108
- package/src/components/media-replace-flow/index.native.js +0 -12
- package/src/components/media-upload/constants.native.js +0 -14
- package/src/components/media-upload/index.native.js +0 -356
- package/src/components/media-upload/style.native.scss +0 -4
- package/src/components/media-upload/test/index.native.js +0 -172
- package/src/components/media-upload-progress/README.md +0 -100
- package/src/components/media-upload-progress/constants.js +0 -6
- package/src/components/media-upload-progress/index.native.js +0 -233
- package/src/components/media-upload-progress/styles.native.scss +0 -15
- package/src/components/media-upload-progress/test/index.native.js +0 -220
- package/src/components/plain-text/index.native.js +0 -164
- package/src/components/plain-text/style.native.scss +0 -10
- package/src/components/provider/index.native.js +0 -32
- package/src/components/rich-text/embed-handler-picker.native.js +0 -65
- package/src/components/rich-text/file-paste-handler.native.js +0 -3
- package/src/components/rich-text/format-toolbar/index.native.js +0 -21
- package/src/components/rich-text/format-toolbar-container.native.js +0 -16
- package/src/components/rich-text/index.native.js +0 -701
- package/src/components/rich-text/input-event.native.js +0 -10
- package/src/components/rich-text/native/format-edit.js +0 -44
- package/src/components/rich-text/native/get-format-colors.native.js +0 -47
- package/src/components/rich-text/native/index.js +0 -1
- package/src/components/rich-text/native/index.native.js +0 -1389
- package/src/components/rich-text/native/style.native.scss +0 -28
- package/src/components/rich-text/native/test/__snapshots__/index.native.js.snap +0 -79
- package/src/components/rich-text/native/test/index.native.js +0 -345
- package/src/components/rich-text/native/test/performance/rich-text.native.js +0 -44
- package/src/components/rich-text/native/toolbar-button-with-options.native.js +0 -61
- package/src/components/rich-text/native/use-format-types.js +0 -146
- package/src/components/rich-text/remove-browser-shortcuts.native.js +0 -1
- package/src/components/rich-text/shortcut.native.js +0 -10
- package/src/components/ungroup-button/README.md +0 -23
- package/src/components/ungroup-button/index.native.js +0 -77
- package/src/components/unsupported-block-details/index.native.js +0 -187
- package/src/components/unsupported-block-details/style.native.scss +0 -56
- package/src/components/url-input/index.native.js +0 -33
- package/src/components/use-block-drop-zone/index.native.js +0 -207
- package/src/components/use-on-block-drop/index.native.js +0 -115
- package/src/components/use-unsupported-block-editor/index.native.js +0 -59
- package/src/components/video-player/gridicon-play.native.js +0 -13
- package/src/components/video-player/index.native.js +0 -133
- package/src/components/video-player/styles.native.scss +0 -29
- package/src/components/warning/index.native.js +0 -64
- package/src/components/warning/style.native.scss +0 -47
- package/src/hooks/align.native.js +0 -49
- package/src/hooks/custom-class-name.native.js +0 -70
- package/src/hooks/index.native.js +0 -36
- package/src/hooks/layout.native.js +0 -23
- package/src/hooks/test/__snapshots__/align.native.js.snap +0 -73
- package/src/hooks/test/__snapshots__/anchor.native.js.snap +0 -7
- package/src/hooks/test/align.native.js +0 -134
- package/src/hooks/test/anchor.native.js +0 -32
- package/src/hooks/test/use-editor-wrapper-styles.native.js +0 -282
- package/src/hooks/typography.native.js +0 -60
- package/src/hooks/use-editor-wrapper-styles.native.js +0 -250
- package/src/hooks/use-editor-wrapper-styles.native.scss +0 -12
- package/src/index.native.js +0 -6
- package/src/private-apis.native.js +0 -21
- package/src/store/defaults.native.js +0 -23
- package/src/utils/block-bindings.js +0 -46
- package/src/utils/color-values.js +0 -28
- package/src/utils/object.js +0 -67
- package/src/utils/sorting.js +0 -54
- /package/src/utils/{get-px-from-css-unit.js → get-px-from-css-unit.ts} +0 -0
- /package/src/utils/{index.js → index.ts} +0 -0
package/build-style/style.css
CHANGED
|
@@ -777,7 +777,9 @@ iframe[name=editor-canvas] {
|
|
|
777
777
|
padding: 0 13px;
|
|
778
778
|
position: relative;
|
|
779
779
|
-webkit-user-select: none;
|
|
780
|
+
-moz-user-select: none;
|
|
780
781
|
user-select: none;
|
|
782
|
+
width: -moz-max-content;
|
|
781
783
|
width: max-content;
|
|
782
784
|
}
|
|
783
785
|
.block-editor-block-draggable-chip svg {
|
|
@@ -1079,6 +1081,7 @@ iframe[name=editor-canvas] {
|
|
|
1079
1081
|
.components-popover.block-editor-block-popover .components-popover__content {
|
|
1080
1082
|
margin: 0 !important;
|
|
1081
1083
|
min-width: auto;
|
|
1084
|
+
width: -moz-max-content;
|
|
1082
1085
|
width: max-content;
|
|
1083
1086
|
overflow-y: visible;
|
|
1084
1087
|
}
|
|
@@ -1195,7 +1198,8 @@ iframe[name=editor-canvas] {
|
|
|
1195
1198
|
word-break: break-all;
|
|
1196
1199
|
white-space: normal;
|
|
1197
1200
|
text-align: start;
|
|
1198
|
-
text-align-last: center;
|
|
1201
|
+
-moz-text-align-last: center;
|
|
1202
|
+
text-align-last: center;
|
|
1199
1203
|
}
|
|
1200
1204
|
|
|
1201
1205
|
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
|
@@ -1301,17 +1305,20 @@ iframe[name=editor-canvas] {
|
|
|
1301
1305
|
justify-content: center;
|
|
1302
1306
|
}
|
|
1303
1307
|
.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
|
|
1304
|
-
column-gap: 24px;
|
|
1308
|
+
-moz-column-gap: 24px;
|
|
1309
|
+
column-gap: 24px;
|
|
1305
1310
|
display: block;
|
|
1306
1311
|
width: 100%;
|
|
1307
1312
|
padding: 32px;
|
|
1308
1313
|
padding-bottom: 0;
|
|
1309
1314
|
padding-top: 0;
|
|
1310
|
-
column-count: 2;
|
|
1315
|
+
-moz-column-count: 2;
|
|
1316
|
+
column-count: 2;
|
|
1311
1317
|
}
|
|
1312
1318
|
@media (min-width: 1440px) {
|
|
1313
1319
|
.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container {
|
|
1314
|
-
column-count: 3;
|
|
1320
|
+
-moz-column-count: 3;
|
|
1321
|
+
column-count: 3;
|
|
1315
1322
|
}
|
|
1316
1323
|
}
|
|
1317
1324
|
.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,
|
|
@@ -1333,7 +1340,8 @@ iframe[name=editor-canvas] {
|
|
|
1333
1340
|
color: var(--wp-admin-theme-color);
|
|
1334
1341
|
}
|
|
1335
1342
|
.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item {
|
|
1336
|
-
break-inside: avoid
|
|
1343
|
+
-moz-column-break-inside: avoid;
|
|
1344
|
+
break-inside: avoid-column;
|
|
1337
1345
|
margin-bottom: 24px;
|
|
1338
1346
|
}
|
|
1339
1347
|
.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__list-item .block-editor-block-pattern-setup-list__item-title {
|
|
@@ -1511,14 +1519,22 @@ iframe[name=editor-canvas] {
|
|
|
1511
1519
|
background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
|
|
1512
1520
|
}
|
|
1513
1521
|
|
|
1522
|
+
.block-editor-panel-color-gradient-settings__contrast-notice {
|
|
1523
|
+
margin-bottom: 16px;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1514
1526
|
/**
|
|
1515
1527
|
* The following styles replicate the separated border of the
|
|
1516
1528
|
* `ItemGroup` component but allows for hidden items. This is because
|
|
1517
1529
|
* to maintain the order of `ToolsPanel` controls, each `ToolsPanelItem`
|
|
1518
1530
|
* must at least render a placeholder which would otherwise interfere
|
|
1519
1531
|
* with the `:last-child` styles.
|
|
1532
|
+
*
|
|
1533
|
+
* Applied via the shared `block-editor-color-gradient-item` class on
|
|
1534
|
+
* color/gradient dropdown items across the Color, Background, and
|
|
1535
|
+
* Typography panels.
|
|
1520
1536
|
*/
|
|
1521
|
-
.block-editor-
|
|
1537
|
+
.block-editor-color-gradient-item {
|
|
1522
1538
|
padding: 0;
|
|
1523
1539
|
max-width: 100%;
|
|
1524
1540
|
position: relative;
|
|
@@ -1526,18 +1542,17 @@ iframe[name=editor-canvas] {
|
|
|
1526
1542
|
border-right: 1px solid #ddd;
|
|
1527
1543
|
border-bottom: 1px solid #ddd;
|
|
1528
1544
|
}
|
|
1529
|
-
.block-editor-
|
|
1530
|
-
margin-top: 24px;
|
|
1545
|
+
.block-editor-color-gradient-item:nth-child(1 of .block-editor-color-gradient-item) {
|
|
1531
1546
|
border-top-left-radius: 2px;
|
|
1532
1547
|
border-top-right-radius: 2px;
|
|
1533
1548
|
border-top: 1px solid #ddd;
|
|
1534
1549
|
}
|
|
1535
|
-
.block-editor-
|
|
1550
|
+
.block-editor-color-gradient-item:nth-last-child(1 of .block-editor-color-gradient-item) {
|
|
1536
1551
|
border-bottom-left-radius: 2px;
|
|
1537
1552
|
border-bottom-right-radius: 2px;
|
|
1538
1553
|
}
|
|
1539
|
-
.block-editor-
|
|
1540
|
-
.block-editor-
|
|
1554
|
+
.block-editor-color-gradient-item > div,
|
|
1555
|
+
.block-editor-color-gradient-item > div > button {
|
|
1541
1556
|
border-radius: inherit;
|
|
1542
1557
|
}
|
|
1543
1558
|
|
|
@@ -1561,6 +1576,9 @@ iframe[name=editor-canvas] {
|
|
|
1561
1576
|
text-overflow: ellipsis;
|
|
1562
1577
|
max-width: calc(100% - 44px);
|
|
1563
1578
|
}
|
|
1579
|
+
.block-editor-tools-panel-color-gradient-settings__dropdown > button.has-contrast-warning .block-editor-panel-color-gradient-settings__color-name {
|
|
1580
|
+
max-width: calc(100% - 72px);
|
|
1581
|
+
}
|
|
1564
1582
|
|
|
1565
1583
|
.block-editor-panel-color-gradient-settings__dropdown {
|
|
1566
1584
|
width: 100%;
|
|
@@ -1592,6 +1610,19 @@ iframe[name=editor-canvas] {
|
|
|
1592
1610
|
opacity: 1;
|
|
1593
1611
|
}
|
|
1594
1612
|
}
|
|
1613
|
+
.block-editor-panel-color-gradient-settings__dropdown.has-contrast-warning + .block-editor-panel-color-gradient-settings__reset {
|
|
1614
|
+
right: 28px;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
.block-editor-panel-color-gradient-settings__contrast-warning {
|
|
1618
|
+
position: absolute;
|
|
1619
|
+
right: 0;
|
|
1620
|
+
top: 8px;
|
|
1621
|
+
margin: auto 8px auto;
|
|
1622
|
+
}
|
|
1623
|
+
.block-editor-panel-color-gradient-settings__contrast-warning.block-editor-panel-color-gradient-settings__contrast-warning {
|
|
1624
|
+
border-radius: 2px;
|
|
1625
|
+
}
|
|
1595
1626
|
|
|
1596
1627
|
.block-editor-date-format-picker {
|
|
1597
1628
|
margin: 0 0 16px;
|
|
@@ -1698,7 +1729,9 @@ iframe[name=editor-canvas] {
|
|
|
1698
1729
|
}
|
|
1699
1730
|
|
|
1700
1731
|
.block-editor-global-styles__shadow-indicator {
|
|
1701
|
-
appearance: none;
|
|
1732
|
+
-webkit-appearance: none;
|
|
1733
|
+
-moz-appearance: none;
|
|
1734
|
+
appearance: none;
|
|
1702
1735
|
background: none;
|
|
1703
1736
|
color: #2f2f2f;
|
|
1704
1737
|
border: #e0e0e0 1px solid;
|
|
@@ -2468,7 +2501,8 @@ iframe[name=editor-canvas] {
|
|
|
2468
2501
|
.link-preview-button__image {
|
|
2469
2502
|
width: 100%;
|
|
2470
2503
|
height: 100%;
|
|
2471
|
-
object-fit: cover;
|
|
2504
|
+
-o-object-fit: cover;
|
|
2505
|
+
object-fit: cover;
|
|
2472
2506
|
border-radius: 2px;
|
|
2473
2507
|
}
|
|
2474
2508
|
|
|
@@ -3401,33 +3435,6 @@ iframe[name=editor-canvas] {
|
|
|
3401
3435
|
font-size: 12px;
|
|
3402
3436
|
}
|
|
3403
3437
|
|
|
3404
|
-
/**
|
|
3405
|
-
* ItemGroup-like border styles for the background panel's ToolsPanelItems.
|
|
3406
|
-
* Replicates the separated border of the `ItemGroup` component while
|
|
3407
|
-
* allowing for hidden placeholder items (same approach as the color panel).
|
|
3408
|
-
*/
|
|
3409
|
-
.block-editor-background-panel__item {
|
|
3410
|
-
padding: 0;
|
|
3411
|
-
max-width: 100%;
|
|
3412
|
-
position: relative;
|
|
3413
|
-
border-left: 1px solid #ddd;
|
|
3414
|
-
border-right: 1px solid #ddd;
|
|
3415
|
-
border-bottom: 1px solid #ddd;
|
|
3416
|
-
}
|
|
3417
|
-
.block-editor-background-panel__item:nth-child(1 of .block-editor-background-panel__item) {
|
|
3418
|
-
border-top-left-radius: 2px;
|
|
3419
|
-
border-top-right-radius: 2px;
|
|
3420
|
-
border-top: 1px solid #ddd;
|
|
3421
|
-
}
|
|
3422
|
-
.block-editor-background-panel__item:nth-last-child(1 of .block-editor-background-panel__item) {
|
|
3423
|
-
border-bottom-left-radius: 2px;
|
|
3424
|
-
border-bottom-right-radius: 2px;
|
|
3425
|
-
}
|
|
3426
|
-
.block-editor-background-panel__item > div,
|
|
3427
|
-
.block-editor-background-panel__item > div > button {
|
|
3428
|
-
border-radius: inherit;
|
|
3429
|
-
}
|
|
3430
|
-
|
|
3431
3438
|
.background-block-support-panel {
|
|
3432
3439
|
/* Increased specificity required to remove the slot wrapper's row gap */
|
|
3433
3440
|
}
|
|
@@ -3498,7 +3505,8 @@ iframe[name=editor-canvas] {
|
|
|
3498
3505
|
.block-editor-content-only-controls__media-thumbnail img {
|
|
3499
3506
|
width: 100% !important;
|
|
3500
3507
|
height: 100% !important;
|
|
3501
|
-
object-fit: cover;
|
|
3508
|
+
-o-object-fit: cover;
|
|
3509
|
+
object-fit: cover;
|
|
3502
3510
|
}
|
|
3503
3511
|
|
|
3504
3512
|
.block-editor-content-only-controls {
|
|
@@ -3559,12 +3567,18 @@ iframe[name=editor-canvas] {
|
|
|
3559
3567
|
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color, #3858e9);
|
|
3560
3568
|
outline: 2px solid transparent;
|
|
3561
3569
|
}
|
|
3570
|
+
.block-editor-content-only-controls__rich-text::-moz-placeholder {
|
|
3571
|
+
color: rgba(30, 30, 30, 0.62);
|
|
3572
|
+
}
|
|
3562
3573
|
.block-editor-content-only-controls__rich-text::placeholder {
|
|
3563
3574
|
color: rgba(30, 30, 30, 0.62);
|
|
3564
3575
|
}
|
|
3565
3576
|
.block-editor-content-only-controls__rich-text {
|
|
3566
3577
|
border-color: #949494;
|
|
3567
3578
|
}
|
|
3579
|
+
.block-editor-content-only-controls__rich-text::-moz-placeholder {
|
|
3580
|
+
color: color-mix(in srgb, #1e1e1e, transparent 38%);
|
|
3581
|
+
}
|
|
3568
3582
|
.block-editor-content-only-controls__rich-text::placeholder {
|
|
3569
3583
|
color: color-mix(in srgb, #1e1e1e, transparent 38%);
|
|
3570
3584
|
}
|
|
@@ -3635,15 +3649,12 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3635
3649
|
.color-block-support-panel.color-block-support-panel .color-block-support-panel__inner-wrapper {
|
|
3636
3650
|
row-gap: 0;
|
|
3637
3651
|
}
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
* we need to remove the top margin when wrapping inner content due to
|
|
3642
|
-
* rendering via SlotFills.
|
|
3643
|
-
*/
|
|
3652
|
+
|
|
3653
|
+
.elements-block-support-panel {
|
|
3654
|
+
/* Increased specificity required to remove the slot wrapper's row gap */
|
|
3644
3655
|
}
|
|
3645
|
-
.
|
|
3646
|
-
|
|
3656
|
+
.elements-block-support-panel.elements-block-support-panel .elements-block-support-panel__inner-wrapper {
|
|
3657
|
+
row-gap: 0;
|
|
3647
3658
|
}
|
|
3648
3659
|
|
|
3649
3660
|
.dimensions-block-support-panel .single-column {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type Binding = {
|
|
2
|
+
source?: string;
|
|
3
|
+
};
|
|
4
|
+
type Bindings = Record<string, Binding>;
|
|
5
|
+
/**
|
|
6
|
+
* Checks if the block has the `__default` binding for pattern overrides.
|
|
7
|
+
*
|
|
8
|
+
* @param bindings A block's bindings from the metadata attribute.
|
|
9
|
+
*
|
|
10
|
+
* @return Whether the block has the `__default` binding for pattern overrides.
|
|
11
|
+
*/
|
|
12
|
+
export declare function hasPatternOverridesDefaultBinding(bindings: Bindings | undefined | null): bindings is Bindings;
|
|
13
|
+
/**
|
|
14
|
+
* Returns the bindings with the `__default` binding for pattern overrides
|
|
15
|
+
* replaced with the full-set of supported attributes. e.g.:
|
|
16
|
+
*
|
|
17
|
+
* - bindings passed in: `{ __default: { source: 'core/pattern-overrides' } }`
|
|
18
|
+
* - bindings returned: `{ content: { source: 'core/pattern-overrides' } }`
|
|
19
|
+
*
|
|
20
|
+
* @param bindings A block's bindings from the metadata attribute.
|
|
21
|
+
* @param supportedAttributes The block's attributes which are supported by block bindings.
|
|
22
|
+
*
|
|
23
|
+
* @return The bindings with default replaced for pattern overrides.
|
|
24
|
+
*/
|
|
25
|
+
export declare function replacePatternOverridesDefaultBinding(bindings: Bindings | undefined | null, supportedAttributes: string[]): Bindings | null | undefined;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=block-bindings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block-bindings.d.ts","sourceRoot":"","sources":["../../src/utils/block-bindings.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACnC,KAAK,QAAQ,GAAG,MAAM,CAAE,MAAM,EAAE,OAAO,CAAE,CAAC;AAK1C;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAChD,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAAG,IAAI,GACnC,QAAQ,IAAI,QAAQ,CAEtB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qCAAqC,CACpD,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAAG,IAAI,EACrC,mBAAmB,EAAE,MAAM,EAAE,+BAiB7B"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extracts the palette slug from a style value for any preset type, supporting
|
|
3
|
+
* both the user preset format and the theme CSS-variable format:
|
|
4
|
+
*
|
|
5
|
+
* - User format: `var:preset|<type>|slug`
|
|
6
|
+
* - Theme format: `var(--wp--preset--<type>--slug)`
|
|
7
|
+
*
|
|
8
|
+
* Returns `undefined` for plain values, non-strings, or any other
|
|
9
|
+
* unrecognised format.
|
|
10
|
+
*
|
|
11
|
+
* @param rawValue Raw style value stored in the style object.
|
|
12
|
+
* @param type Preset type, e.g. `'color'` or `'gradient'`.
|
|
13
|
+
* @return The palette slug, or undefined.
|
|
14
|
+
*/
|
|
15
|
+
export declare function extractPresetSlug(rawValue: unknown, type: 'color' | 'gradient'): string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Encodes a color value for storage in the style object.
|
|
18
|
+
*
|
|
19
|
+
* When a `slug` is provided it is used directly (the slug-based selection
|
|
20
|
+
* path). This is important because two palette entries can share the same
|
|
21
|
+
* hex value (e.g. two custom colors both set to `#e10000`); relying on a
|
|
22
|
+
* hex lookup alone would collapse them onto whichever entry appears first
|
|
23
|
+
* in the palette and silently discard the user's actual choice. Only when
|
|
24
|
+
* no slug is supplied does the function fall back to matching the hex value
|
|
25
|
+
* against the palette; if a match is found the slug is encoded, otherwise
|
|
26
|
+
* the raw value is stored as-is.
|
|
27
|
+
*
|
|
28
|
+
* Callers pass the flattened palette (`allColors`), typically computed once
|
|
29
|
+
* per render from the per-origin `colors` array.
|
|
30
|
+
*
|
|
31
|
+
* @param allColors Flat array of `{ color, slug }` objects.
|
|
32
|
+
* @param colorValue Hex or CSS color string.
|
|
33
|
+
* @param slug Optional palette slug from slug-aware selection.
|
|
34
|
+
* @return Encoded value suitable for the style object.
|
|
35
|
+
*/
|
|
36
|
+
export declare function encodeColorValueWithPalette(allColors: {
|
|
37
|
+
color: string;
|
|
38
|
+
slug: string;
|
|
39
|
+
}[], colorValue?: string, slug?: string): string | undefined;
|
|
40
|
+
//# sourceMappingURL=color-values.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color-values.d.ts","sourceRoot":"","sources":["../../src/utils/color-values.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAChC,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,OAAO,GAAG,UAAU,sBAc1B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,2BAA2B,CAC1C,SAAS,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EAC5C,UAAU,CAAC,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE,MAAM,sBAOb"}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Returns true if two elements are contained within the same block.
|
|
3
3
|
*
|
|
4
|
-
* @param
|
|
5
|
-
* @param
|
|
4
|
+
* @param a First element.
|
|
5
|
+
* @param b Second element.
|
|
6
6
|
*
|
|
7
|
-
* @return
|
|
7
|
+
* @return Whether elements are in the same block.
|
|
8
8
|
*/
|
|
9
9
|
export declare function isInSameBlock(a: Element, b: Element): boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Returns true if an element is considered part of the block and not its inner
|
|
12
12
|
* blocks or appender.
|
|
13
13
|
*
|
|
14
|
-
* @param
|
|
15
|
-
* @param
|
|
14
|
+
* @param blockElement Block container element.
|
|
15
|
+
* @param element Element.
|
|
16
16
|
*
|
|
17
|
-
* @return
|
|
18
|
-
*
|
|
17
|
+
* @return Whether an element is considered part of the block and not
|
|
18
|
+
* its inner blocks or appender.
|
|
19
19
|
*/
|
|
20
20
|
export declare function isInsideRootBlock(blockElement: Element, element: Element): boolean;
|
|
21
21
|
/**
|
|
22
22
|
* Finds the block client ID given any DOM node inside the block.
|
|
23
23
|
*
|
|
24
|
-
* @param
|
|
24
|
+
* @param node DOM node.
|
|
25
25
|
*
|
|
26
|
-
* @return
|
|
27
|
-
*
|
|
26
|
+
* @return Client ID or undefined if the node is not part of
|
|
27
|
+
* a block.
|
|
28
28
|
*/
|
|
29
29
|
export declare function getBlockClientId(node: Node | null): string | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* Calculates the union of two rectangles.
|
|
32
32
|
*
|
|
33
|
-
* @param
|
|
34
|
-
* @param
|
|
35
|
-
* @return
|
|
33
|
+
* @param rect1 First rectangle.
|
|
34
|
+
* @param rect2 Second rectangle.
|
|
35
|
+
* @return Union of the two rectangles.
|
|
36
36
|
*/
|
|
37
|
-
export declare function rectUnion(rect1: DOMRect, rect2: DOMRect):
|
|
37
|
+
export declare function rectUnion(rect1: DOMRect, rect2: DOMRect): DOMRectReadOnly;
|
|
38
38
|
/**
|
|
39
39
|
* Returns whether an element is visible.
|
|
40
40
|
*
|
|
41
|
-
* @param
|
|
42
|
-
* @return
|
|
41
|
+
* @param element Element.
|
|
42
|
+
* @return Whether the element is visible.
|
|
43
43
|
*/
|
|
44
44
|
export declare function isElementVisible(element: Element): boolean;
|
|
45
45
|
export declare const WITH_OVERFLOW_ELEMENT_BLOCKS: string[];
|
|
@@ -53,8 +53,8 @@ export declare const WITH_OVERFLOW_ELEMENT_BLOCKS: string[];
|
|
|
53
53
|
* The returned rect represents the full extent of the element and its visible
|
|
54
54
|
* children, which may extend beyond the viewport.
|
|
55
55
|
*
|
|
56
|
-
* @param
|
|
57
|
-
* @return
|
|
56
|
+
* @param element Element.
|
|
57
|
+
* @return Bounding client rect of the element and its visible children.
|
|
58
58
|
*/
|
|
59
|
-
export declare function getElementBounds(element: Element):
|
|
59
|
+
export declare function getElementBounds(element: Element): DOMRectReadOnly;
|
|
60
60
|
//# sourceMappingURL=dom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/utils/dom.
|
|
1
|
+
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/utils/dom.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,WAEpD;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAE,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,WAKzE;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAE,IAAI,EAAE,IAAI,GAAG,IAAI,sBAiBlD;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,mBAOxD;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAE,OAAO,EAAE,OAAO,WAoCjD;AAkBD,eAAO,MAAM,4BAA4B,UAAwB,CAAC;AAClE;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAE,OAAO,EAAE,OAAO,mBAkDjD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Frontend fit text functionality.
|
|
3
|
+
* Automatically detects and initializes fit text on blocks with the has-fit-text class.
|
|
4
|
+
* Supports both initial page load and Interactivity API client-side navigation.
|
|
5
|
+
*/
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=fit-text-frontend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fit-text-frontend.d.ts","sourceRoot":"","sources":["../../src/utils/fit-text-frontend.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared utility functions for fit text functionality.
|
|
3
|
+
* Uses callback-based approach for maximum code reuse between editor and frontend.
|
|
4
|
+
*/
|
|
5
|
+
type ApplyFontSize = (size: number) => void;
|
|
6
|
+
/**
|
|
7
|
+
* Complete fit text optimization for a single text element.
|
|
8
|
+
* Handles the full flow using callbacks for font size application.
|
|
9
|
+
*
|
|
10
|
+
* @param textElement The text element (paragraph, heading, etc.)
|
|
11
|
+
* @param applyFontSize Function that receives font size in pixels (0 to clear, >0 to apply)
|
|
12
|
+
*/
|
|
13
|
+
export declare function optimizeFitText(textElement: HTMLElement | null, applyFontSize: ApplyFontSize): number | undefined;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=fit-text-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fit-text-utils.d.ts","sourceRoot":"","sources":["../../src/utils/fit-text-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,KAAK,aAAa,GAAG,CAAE,IAAI,EAAE,MAAM,KAAM,IAAI,CAAC;AAmF9C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC9B,WAAW,EAAE,WAAW,GAAG,IAAI,EAC/B,aAAa,EAAE,aAAa,sBAY5B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { FormattedFont } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* Formats font styles to human readable names.
|
|
7
|
+
*
|
|
8
|
+
* @param fontStyle font style string
|
|
9
|
+
* @return new object with formatted font style
|
|
10
|
+
*/
|
|
11
|
+
export declare function formatFontStyle(fontStyle: FormattedFont | string | undefined): FormattedFont;
|
|
12
|
+
//# sourceMappingURL=format-font-style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-font-style.d.ts","sourceRoot":"","sources":["../../src/utils/format-font-style.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;GAKG;AACH,wBAAgB,eAAe,CAC9B,SAAS,EAAE,aAAa,GAAG,MAAM,GAAG,SAAS,GAC3C,aAAa,CA4Bf"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { FormattedFont } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* Formats font weights to human readable names.
|
|
7
|
+
*
|
|
8
|
+
* @param fontWeight font weight string
|
|
9
|
+
* @return new object with formatted font weight
|
|
10
|
+
*/
|
|
11
|
+
export declare function formatFontWeight(fontWeight: FormattedFont | string | undefined): FormattedFont;
|
|
12
|
+
//# sourceMappingURL=format-font-weight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-font-weight.d.ts","sourceRoot":"","sources":["../../src/utils/format-font-weight.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC/B,UAAU,EAAE,aAAa,GAAG,MAAM,GAAG,SAAS,GAC5C,aAAa,CAmDf"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gets the editor region for a given editor canvas element or
|
|
3
|
+
* returns the passed element if no region is found
|
|
4
|
+
*
|
|
5
|
+
* @param editor The editor canvas element.
|
|
6
|
+
* @return The editor region or given editor element
|
|
7
|
+
*/
|
|
8
|
+
export default function getEditorRegion(editor: Element | null | undefined): Element | null;
|
|
9
|
+
//# sourceMappingURL=get-editor-region.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-editor-region.d.ts","sourceRoot":"","sources":["../../src/utils/get-editor-region.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAE,MAAM,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,kBA2B1E"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { FontFamilyFace, FormattedFont, CombinedStyleAndWeightOption } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Builds a list of font style and weight options based on font family faces.
|
|
4
|
+
* Defaults to the standard font styles and weights if no font family faces are provided.
|
|
5
|
+
*
|
|
6
|
+
* @param fontFamilyFaces font family faces array
|
|
7
|
+
* @return new object with combined and separated font style and weight properties
|
|
8
|
+
*/
|
|
9
|
+
export declare function getFontStylesAndWeights(fontFamilyFaces: FontFamilyFace[] | undefined): {
|
|
10
|
+
fontStyles: FormattedFont[];
|
|
11
|
+
fontWeights: FormattedFont[];
|
|
12
|
+
combinedStyleAndWeightOptions: CombinedStyleAndWeightOption[];
|
|
13
|
+
isSystemFont: boolean;
|
|
14
|
+
isVariableFont: boolean;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=get-font-styles-and-weights.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-font-styles-and-weights.d.ts","sourceRoot":"","sources":["../../src/utils/get-font-styles-and-weights.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,4BAA4B,EAC5B,MAAM,SAAS,CAAC;AAwDjB;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACtC,eAAe,EAAE,cAAc,EAAE,GAAG,SAAS;;;;;;EA4H7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-px-from-css-unit.d.ts","sourceRoot":"","sources":["../../src/utils/get-px-from-css-unit.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A string representing the name of an edge.
|
|
3
|
+
*/
|
|
4
|
+
type EdgeName = 'top' | 'right' | 'bottom' | 'left';
|
|
5
|
+
interface Point {
|
|
6
|
+
/** The horizontal position. */
|
|
7
|
+
x: number;
|
|
8
|
+
/** The vertical position. */
|
|
9
|
+
y: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Given a point, a DOMRect and the name of an edge, returns the distance to
|
|
13
|
+
* that edge of the rect.
|
|
14
|
+
*
|
|
15
|
+
* This function works for edges that are horizontal or vertical (e.g. not
|
|
16
|
+
* rotated), the following terms are used so that the function works in both
|
|
17
|
+
* orientations:
|
|
18
|
+
*
|
|
19
|
+
* - Forward, meaning the axis running horizontally when an edge is vertical
|
|
20
|
+
* and vertically when an edge is horizontal.
|
|
21
|
+
* - Lateral, meaning the axis running vertically when an edge is vertical
|
|
22
|
+
* and horizontally when an edge is horizontal.
|
|
23
|
+
*
|
|
24
|
+
* @param point The point to measure distance from.
|
|
25
|
+
* @param rect A DOM Rect containing edge positions.
|
|
26
|
+
* @param edge The edge to measure to.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getDistanceFromPointToEdge(point: Point, rect: DOMRect, edge: EdgeName): number;
|
|
29
|
+
/**
|
|
30
|
+
* Given a point, a DOMRect and a list of allowed edges returns the name of and
|
|
31
|
+
* distance to the nearest edge.
|
|
32
|
+
*
|
|
33
|
+
* @param point The point to measure distance from.
|
|
34
|
+
* @param rect A DOM Rect containing edge positions.
|
|
35
|
+
* @param allowedEdges A list of the edges included in the
|
|
36
|
+
* calculation. Defaults to all edges.
|
|
37
|
+
*
|
|
38
|
+
* @return An array where the first value is the distance
|
|
39
|
+
* and a second is the edge name.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getDistanceToNearestEdge(point: Point, rect: DOMRect, allowedEdges?: EdgeName[]): (number | EdgeName | undefined)[];
|
|
42
|
+
/**
|
|
43
|
+
* Is the point contained by the rectangle.
|
|
44
|
+
*
|
|
45
|
+
* @param point The point.
|
|
46
|
+
* @param rect The rectangle.
|
|
47
|
+
*
|
|
48
|
+
* @return True if the point is contained by the rectangle, false otherwise.
|
|
49
|
+
*/
|
|
50
|
+
export declare function isPointContainedByRect(point: Point, rect: DOMRect): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Is the point within the top and bottom boundaries of the rectangle.
|
|
53
|
+
*
|
|
54
|
+
* @param point The point.
|
|
55
|
+
* @param rect The rectangle.
|
|
56
|
+
*
|
|
57
|
+
* @return True if the point is within top and bottom of rectangle, false otherwise.
|
|
58
|
+
*/
|
|
59
|
+
export declare function isPointWithinTopAndBottomBoundariesOfRect(point: Point, rect: DOMRect): boolean;
|
|
60
|
+
export {};
|
|
61
|
+
//# sourceMappingURL=math.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../src/utils/math.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,KAAK,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEpD,UAAU,KAAK;IACd,+BAA+B;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,6BAA6B;IAC7B,CAAC,EAAE,MAAM,CAAC;CACV;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,0BAA0B,CACzC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,OAAO,EACb,IAAI,EAAE,QAAQ,UA8Bd;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CACvC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,OAAO,EACb,YAAY,GAAE,QAAQ,EAAyC,qCAe/D;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,WAOlE;AAED;;;;;;;GAOG;AACH,wBAAgB,yCAAyC,CACxD,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,OAAO,WAGb"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type AnyObject = Record<string, unknown>;
|
|
2
|
+
type ObjectOrArray = AnyObject | unknown[];
|
|
3
|
+
type ObjectPathKey = number | string;
|
|
4
|
+
type ObjectPath = ObjectPathKey | ObjectPathKey[];
|
|
5
|
+
/**
|
|
6
|
+
* Immutably sets a value inside an object. Like `lodash#set`, but returning a
|
|
7
|
+
* new object. Treats nullish initial values as empty objects. Clones any
|
|
8
|
+
* nested objects. Supports arrays, too.
|
|
9
|
+
*
|
|
10
|
+
* @param object Object to set a value in.
|
|
11
|
+
* @param path Path in the object to modify.
|
|
12
|
+
* @param value New value to set.
|
|
13
|
+
* @return Cloned object with the new value set.
|
|
14
|
+
*/
|
|
15
|
+
export declare function setImmutably(object: ObjectOrArray | null | undefined, path: ObjectPath, value: unknown): ObjectOrArray;
|
|
16
|
+
/**
|
|
17
|
+
* Helper util to return a value from a certain path of the object.
|
|
18
|
+
* Path is specified as either:
|
|
19
|
+
* - a string of properties, separated by dots, for example: "x.y".
|
|
20
|
+
* - an array of properties, for example `[ 'x', 'y' ]`.
|
|
21
|
+
* You can also specify a default value in case the result is nullish.
|
|
22
|
+
*
|
|
23
|
+
* @param object Input object.
|
|
24
|
+
* @param path Path to the object property.
|
|
25
|
+
* @param defaultValue Default value if the value at the specified path is nullish.
|
|
26
|
+
* @return Value of the object property at the specified path.
|
|
27
|
+
*/
|
|
28
|
+
export declare const getValueFromObjectPath: (object: AnyObject | undefined | null, path: string | string[], defaultValue?: unknown) => unknown;
|
|
29
|
+
/**
|
|
30
|
+
* Helper util to filter out objects with duplicate values for a given property.
|
|
31
|
+
*
|
|
32
|
+
* @param array Array of objects to filter.
|
|
33
|
+
* @param property Property to filter unique values by.
|
|
34
|
+
*
|
|
35
|
+
* @return Array of objects with unique values for the specified property.
|
|
36
|
+
*/
|
|
37
|
+
export declare function uniqByProperty<T extends AnyObject>(array: T[], property: string): T[];
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../src/utils/object.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG,MAAM,CAAE,MAAM,EAAE,OAAO,CAAE,CAAC;AAC3C,KAAK,aAAa,GAAG,SAAS,GAAG,OAAO,EAAE,CAAC;AAC3C,KAAK,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;AACrC,KAAK,UAAU,GAAG,aAAa,GAAG,aAAa,EAAE,CAAC;AAElD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC3B,MAAM,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EACxC,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,OAAO,GACZ,aAAa,CAyBf;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,WAC1B,SAAS,GAAG,SAAS,GAAG,IAAI,QAC9B,MAAM,GAAG,MAAM,EAAE,iBACR,OAAO,YAQtB,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAE,CAAC,SAAS,SAAS,EAClD,KAAK,EAAE,CAAC,EAAE,EACV,QAAQ,EAAE,MAAM,OAOhB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type EditorInserterItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Helper function to order inserter block items according to a provided array of prioritized blocks.
|
|
6
|
+
*
|
|
7
|
+
* @param items The array of editor inserter block items to be sorted.
|
|
8
|
+
* @param priority The array of block names to be prioritized.
|
|
9
|
+
* @return The sorted array of editor inserter block items.
|
|
10
|
+
*/
|
|
11
|
+
export declare const orderInserterBlockItems: (items: EditorInserterItem[], priority: string[] | undefined) => EditorInserterItem[];
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=order-inserter-block-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-inserter-block-items.d.ts","sourceRoot":"","sources":["../../src/utils/order-inserter-block-items.ts"],"names":[],"mappings":"AAAA,KAAK,kBAAkB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzC;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,UAC5B,kBAAkB,EAAE,YACjB,MAAM,EAAE,GAAG,SAAS,yBAqB9B,CAAC"}
|