@wordpress/block-editor 14.7.1-next.082ed6819.0 → 14.8.1-next.a9f418477.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 +2 -0
- package/build/autocompleters/block.js +2 -4
- package/build/autocompleters/block.js.map +1 -1
- package/build/autocompleters/link.js +2 -4
- package/build/autocompleters/link.js.map +1 -1
- package/build/components/block-canvas/index.js +3 -6
- package/build/components/block-canvas/index.js.map +1 -1
- package/build/components/block-list/block.js +6 -5
- package/build/components/block-list/block.js.map +1 -1
- package/build/components/block-list/index.js +0 -1
- package/build/components/block-list/index.js.map +1 -1
- package/build/components/block-list/use-block-props/index.js +6 -2
- package/build/components/block-list/use-block-props/index.js.map +1 -1
- package/build/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +87 -0
- package/build/components/block-list/use-block-props/use-firefox-draggable-compatibility.js.map +1 -0
- package/build/components/block-list/use-block-props/use-selected-block-event-handlers.js +98 -5
- package/build/components/block-list/use-block-props/use-selected-block-event-handlers.js.map +1 -1
- package/build/components/block-lock/modal.js +4 -4
- package/build/components/block-lock/modal.js.map +1 -1
- package/build/components/block-parent-selector/index.js +2 -15
- package/build/components/block-parent-selector/index.js.map +1 -1
- package/build/components/block-patterns-list/index.js +13 -4
- package/build/components/block-patterns-list/index.js.map +1 -1
- package/build/components/block-popover/inbetween.js +4 -0
- package/build/components/block-popover/inbetween.js.map +1 -1
- package/build/components/block-settings-menu/block-settings-dropdown.js +7 -4
- package/build/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build/components/block-settings-menu-controls/index.js +1 -1
- package/build/components/block-settings-menu-controls/index.js.map +1 -1
- package/build/components/block-switcher/index.js +12 -22
- package/build/components/block-switcher/index.js.map +1 -1
- package/build/components/block-switcher/use-transformed-patterns.js +0 -1
- package/build/components/block-switcher/use-transformed-patterns.js.map +1 -1
- package/build/components/block-switcher/utils.js +0 -1
- package/build/components/block-switcher/utils.js.map +1 -1
- package/build/components/block-toolbar/index.js +17 -9
- package/build/components/block-toolbar/index.js.map +1 -1
- package/build/components/block-variation-transforms/index.js +0 -1
- package/build/components/block-variation-transforms/index.js.map +1 -1
- package/build/components/date-format-picker/index.js +0 -1
- package/build/components/date-format-picker/index.js.map +1 -1
- package/build/components/font-appearance-control/index.js +1 -0
- package/build/components/font-appearance-control/index.js.map +1 -1
- package/build/components/font-family/index.js +10 -0
- package/build/components/font-family/index.js.map +1 -1
- package/build/components/global-styles/dimensions-panel.js +17 -16
- package/build/components/global-styles/dimensions-panel.js.map +1 -1
- package/build/components/global-styles/get-global-styles-changes.js +0 -1
- package/build/components/global-styles/get-global-styles-changes.js.map +1 -1
- package/build/components/iframe/index.js +12 -216
- package/build/components/iframe/index.js.map +1 -1
- package/build/components/iframe/use-scale-canvas.js +398 -0
- package/build/components/iframe/use-scale-canvas.js.map +1 -0
- package/build/components/image-editor/use-save-image.js +22 -3
- package/build/components/image-editor/use-save-image.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/index.js +0 -10
- package/build/components/inserter/block-patterns-tab/index.js.map +1 -1
- package/build/components/inserter/menu.js +2 -1
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/inserter-draggable-blocks/index.js +19 -10
- package/build/components/inserter-draggable-blocks/index.js.map +1 -1
- package/build/components/inspector-controls/slot.js +2 -13
- package/build/components/inspector-controls/slot.js.map +1 -1
- package/build/components/letter-spacing-control/index.js +10 -0
- package/build/components/letter-spacing-control/index.js.map +1 -1
- package/build/components/line-height-control/index.js +1 -0
- package/build/components/line-height-control/index.js.map +1 -1
- package/build/components/media-placeholder/index.js +18 -18
- package/build/components/media-placeholder/index.js.map +1 -1
- package/build/components/multi-selection-inspector/index.js +9 -25
- package/build/components/multi-selection-inspector/index.js.map +1 -1
- package/build/components/observe-typing/index.js +0 -1
- package/build/components/observe-typing/index.js.map +1 -1
- package/build/components/recursion-provider/index.js +0 -1
- package/build/components/recursion-provider/index.js.map +1 -1
- package/build/components/rich-text/index.js +5 -1
- package/build/components/rich-text/index.js.map +1 -1
- package/build/components/rich-text/native/use-format-types.js +0 -1
- package/build/components/rich-text/native/use-format-types.js.map +1 -1
- package/build/components/rich-text/use-format-types.js +0 -1
- package/build/components/rich-text/use-format-types.js.map +1 -1
- package/build/components/spacing-sizes-control/utils.js +0 -1
- package/build/components/spacing-sizes-control/utils.js.map +1 -1
- package/build/components/typewriter/index.js +0 -1
- package/build/components/typewriter/index.js.map +1 -1
- package/build/components/use-block-drop-zone/index.js +11 -2
- package/build/components/use-block-drop-zone/index.js.map +1 -1
- package/build/components/use-moving-animation/index.js +15 -2
- package/build/components/use-moving-animation/index.js.map +1 -1
- package/build/components/use-resize-canvas/index.js +1 -1
- package/build/components/use-resize-canvas/index.js.map +1 -1
- package/build/components/warning/index.js +2 -3
- package/build/components/warning/index.js.map +1 -1
- package/build/components/writing-flow/use-drag-selection.js +11 -0
- package/build/components/writing-flow/use-drag-selection.js.map +1 -1
- package/build/components/writing-flow/use-tab-nav.js +6 -2
- package/build/components/writing-flow/use-tab-nav.js.map +1 -1
- package/build/hooks/block-bindings.js +4 -3
- package/build/hooks/block-bindings.js.map +1 -1
- package/build/hooks/gap.js +1 -1
- package/build/hooks/gap.js.map +1 -1
- package/build/hooks/generated-class-name.js +0 -1
- package/build/hooks/generated-class-name.js.map +1 -1
- package/build/hooks/use-zoom-out.js +47 -14
- package/build/hooks/use-zoom-out.js.map +1 -1
- package/build/store/private-selectors.js +1 -7
- package/build/store/private-selectors.js.map +1 -1
- package/build/store/reducer.js +478 -2
- package/build/store/reducer.js.map +1 -1
- package/build/store/selectors.js +12 -55
- package/build/store/selectors.js.map +1 -1
- package/build/utils/object.js +0 -1
- package/build/utils/object.js.map +1 -1
- package/build-module/autocompleters/block.js +2 -4
- package/build-module/autocompleters/block.js.map +1 -1
- package/build-module/autocompleters/link.js +2 -4
- package/build-module/autocompleters/link.js.map +1 -1
- package/build-module/components/block-canvas/index.js +3 -6
- package/build-module/components/block-canvas/index.js.map +1 -1
- package/build-module/components/block-list/block.js +8 -7
- package/build-module/components/block-list/block.js.map +1 -1
- package/build-module/components/block-list/index.js +0 -1
- package/build-module/components/block-list/index.js.map +1 -1
- package/build-module/components/block-list/use-block-props/index.js +6 -2
- package/build-module/components/block-list/use-block-props/index.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +80 -0
- package/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js.map +1 -0
- package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +97 -5
- package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js.map +1 -1
- package/build-module/components/block-lock/modal.js +4 -4
- package/build-module/components/block-lock/modal.js.map +1 -1
- package/build-module/components/block-parent-selector/index.js +2 -15
- package/build-module/components/block-parent-selector/index.js.map +1 -1
- package/build-module/components/block-patterns-list/index.js +13 -4
- package/build-module/components/block-patterns-list/index.js.map +1 -1
- package/build-module/components/block-popover/inbetween.js +4 -0
- package/build-module/components/block-popover/inbetween.js.map +1 -1
- package/build-module/components/block-settings-menu/block-settings-dropdown.js +7 -4
- package/build-module/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build-module/components/block-settings-menu-controls/index.js +1 -1
- package/build-module/components/block-settings-menu-controls/index.js.map +1 -1
- package/build-module/components/block-switcher/index.js +13 -23
- package/build-module/components/block-switcher/index.js.map +1 -1
- package/build-module/components/block-switcher/use-transformed-patterns.js +0 -1
- package/build-module/components/block-switcher/use-transformed-patterns.js.map +1 -1
- package/build-module/components/block-switcher/utils.js +0 -1
- package/build-module/components/block-switcher/utils.js.map +1 -1
- package/build-module/components/block-toolbar/index.js +17 -9
- package/build-module/components/block-toolbar/index.js.map +1 -1
- package/build-module/components/block-variation-transforms/index.js +0 -1
- package/build-module/components/block-variation-transforms/index.js.map +1 -1
- package/build-module/components/date-format-picker/index.js +0 -1
- package/build-module/components/date-format-picker/index.js.map +1 -1
- package/build-module/components/font-appearance-control/index.js +1 -0
- package/build-module/components/font-appearance-control/index.js.map +1 -1
- package/build-module/components/font-family/index.js +10 -0
- package/build-module/components/font-family/index.js.map +1 -1
- package/build-module/components/global-styles/dimensions-panel.js +17 -16
- package/build-module/components/global-styles/dimensions-panel.js.map +1 -1
- package/build-module/components/global-styles/get-global-styles-changes.js +0 -1
- package/build-module/components/global-styles/get-global-styles-changes.js.map +1 -1
- package/build-module/components/iframe/index.js +14 -218
- package/build-module/components/iframe/index.js.map +1 -1
- package/build-module/components/iframe/use-scale-canvas.js +392 -0
- package/build-module/components/iframe/use-scale-canvas.js.map +1 -0
- package/build-module/components/image-editor/use-save-image.js +22 -3
- package/build-module/components/image-editor/use-save-image.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/index.js +1 -11
- package/build-module/components/inserter/block-patterns-tab/index.js.map +1 -1
- package/build-module/components/inserter/menu.js +2 -1
- package/build-module/components/inserter/menu.js.map +1 -1
- package/build-module/components/inserter-draggable-blocks/index.js +20 -11
- package/build-module/components/inserter-draggable-blocks/index.js.map +1 -1
- package/build-module/components/inspector-controls/slot.js +3 -14
- package/build-module/components/inspector-controls/slot.js.map +1 -1
- package/build-module/components/letter-spacing-control/index.js +9 -0
- package/build-module/components/letter-spacing-control/index.js.map +1 -1
- package/build-module/components/line-height-control/index.js +1 -0
- package/build-module/components/line-height-control/index.js.map +1 -1
- package/build-module/components/media-placeholder/index.js +18 -18
- package/build-module/components/media-placeholder/index.js.map +1 -1
- package/build-module/components/multi-selection-inspector/index.js +9 -25
- package/build-module/components/multi-selection-inspector/index.js.map +1 -1
- package/build-module/components/observe-typing/index.js +0 -1
- package/build-module/components/observe-typing/index.js.map +1 -1
- package/build-module/components/recursion-provider/index.js +0 -1
- package/build-module/components/recursion-provider/index.js.map +1 -1
- package/build-module/components/rich-text/index.js +5 -1
- package/build-module/components/rich-text/index.js.map +1 -1
- package/build-module/components/rich-text/native/use-format-types.js +0 -1
- package/build-module/components/rich-text/native/use-format-types.js.map +1 -1
- package/build-module/components/rich-text/use-format-types.js +0 -1
- package/build-module/components/rich-text/use-format-types.js.map +1 -1
- package/build-module/components/spacing-sizes-control/utils.js +0 -1
- package/build-module/components/spacing-sizes-control/utils.js.map +1 -1
- package/build-module/components/typewriter/index.js +0 -1
- package/build-module/components/typewriter/index.js.map +1 -1
- package/build-module/components/use-block-drop-zone/index.js +11 -2
- package/build-module/components/use-block-drop-zone/index.js.map +1 -1
- package/build-module/components/use-moving-animation/index.js +15 -2
- package/build-module/components/use-moving-animation/index.js.map +1 -1
- package/build-module/components/use-resize-canvas/index.js +1 -1
- package/build-module/components/use-resize-canvas/index.js.map +1 -1
- package/build-module/components/warning/index.js +2 -3
- package/build-module/components/warning/index.js.map +1 -1
- package/build-module/components/writing-flow/use-drag-selection.js +11 -0
- package/build-module/components/writing-flow/use-drag-selection.js.map +1 -1
- package/build-module/components/writing-flow/use-tab-nav.js +6 -2
- package/build-module/components/writing-flow/use-tab-nav.js.map +1 -1
- package/build-module/hooks/block-bindings.js +4 -3
- package/build-module/hooks/block-bindings.js.map +1 -1
- package/build-module/hooks/gap.js +1 -1
- package/build-module/hooks/gap.js.map +1 -1
- package/build-module/hooks/generated-class-name.js +0 -1
- package/build-module/hooks/generated-class-name.js.map +1 -1
- package/build-module/hooks/use-zoom-out.js +48 -15
- package/build-module/hooks/use-zoom-out.js.map +1 -1
- package/build-module/store/private-selectors.js +1 -6
- package/build-module/store/private-selectors.js.map +1 -1
- package/build-module/store/reducer.js +479 -3
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/store/selectors.js +12 -55
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/object.js +0 -1
- package/build-module/utils/object.js.map +1 -1
- package/build-style/content-rtl.css +25 -27
- package/build-style/content.css +25 -27
- package/build-style/style-rtl.css +55 -64
- package/build-style/style.css +55 -64
- package/package.json +32 -32
- package/src/autocompleters/block.js +2 -4
- package/src/autocompleters/link.js +2 -4
- package/src/components/alignment-control/stories/aliginment-toolbar.story.js +47 -0
- package/src/components/alignment-control/stories/index.story.js +51 -0
- package/src/components/alignment-control/test/__snapshots__/index.js.snap +5 -5
- package/src/components/block-alignment-control/test/__snapshots__/index.js.snap +4 -4
- package/src/components/block-canvas/index.js +3 -5
- package/src/components/block-canvas/style.scss +2 -1
- package/src/components/block-draggable/content.scss +11 -5
- package/src/components/block-list/block.js +7 -13
- package/src/components/block-list/content.scss +6 -0
- package/src/components/block-list/use-block-props/index.js +5 -0
- package/src/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +83 -0
- package/src/components/block-list/use-block-props/use-selected-block-event-handlers.js +112 -8
- package/src/components/block-lock/modal.js +4 -6
- package/src/components/block-parent-selector/index.js +1 -19
- package/src/components/block-patterns-list/index.js +12 -1
- package/src/components/block-patterns-list/stories/fixtures.js +1 -0
- package/src/components/block-patterns-list/style.scss +16 -5
- package/src/components/block-popover/inbetween.js +4 -0
- package/src/components/block-settings-menu/block-settings-dropdown.js +6 -1
- package/src/components/block-settings-menu-controls/index.js +2 -1
- package/src/components/block-switcher/index.js +19 -21
- package/src/components/block-switcher/style.scss +0 -9
- package/src/components/block-title/test/index.js +2 -0
- package/src/components/block-toolbar/index.js +17 -6
- package/src/components/block-tools/style.scss +44 -0
- package/src/components/block-vertical-alignment-control/test/__snapshots__/index.js.snap +3 -3
- package/src/components/color-palette/test/__snapshots__/control.js.snap +2 -2
- package/src/components/dimensions-tool/stories/aspect-ratio-tool.story.js +1 -1
- package/src/components/dimensions-tool/stories/index.story.js +1 -1
- package/src/components/dimensions-tool/stories/scale-tool.story.js +1 -1
- package/src/components/dimensions-tool/stories/width-height-tool.story.js +1 -1
- package/src/components/font-appearance-control/index.js +1 -0
- package/src/components/font-family/index.js +10 -0
- package/src/components/font-family/style.scss +5 -0
- package/src/components/global-styles/dimensions-panel.js +16 -16
- package/src/components/iframe/content.scss +40 -42
- package/src/components/iframe/index.js +13 -313
- package/src/components/iframe/use-scale-canvas.js +490 -0
- package/src/components/image-editor/use-save-image.js +27 -2
- package/src/components/inserter/block-patterns-tab/index.js +1 -17
- package/src/components/inserter/menu.js +8 -1
- package/src/components/inserter-draggable-blocks/index.js +19 -29
- package/src/components/inspector-controls/slot.js +3 -22
- package/src/components/letter-spacing-control/README.md +2 -1
- package/src/components/letter-spacing-control/index.js +17 -0
- package/src/components/line-height-control/index.js +1 -0
- package/src/components/media-placeholder/index.js +25 -28
- package/src/components/multi-selection-inspector/index.js +17 -27
- package/src/components/multi-selection-inspector/style.scss +0 -12
- package/src/components/resolution-tool/stories/index.story.js +1 -1
- package/src/components/rich-text/index.js +5 -0
- package/src/components/spacing-sizes-control/style.scss +0 -29
- package/src/components/text-alignment-control/stories/index.story.js +1 -1
- package/src/components/use-block-drop-zone/index.js +18 -1
- package/src/components/use-moving-animation/index.js +15 -0
- package/src/components/use-resize-canvas/index.js +1 -1
- package/src/components/warning/index.js +3 -4
- package/src/components/warning/test/index.js +3 -1
- package/src/components/writing-flow/use-drag-selection.js +11 -0
- package/src/components/writing-flow/use-tab-nav.js +9 -6
- package/src/hooks/block-bindings.js +8 -4
- package/src/hooks/gap.js +1 -1
- package/src/hooks/use-zoom-out.js +48 -16
- package/src/store/private-selectors.js +2 -17
- package/src/store/reducer.js +639 -2
- package/src/store/selectors.js +19 -69
- package/src/store/test/private-selectors.js +1 -0
- package/src/store/test/reducer.js +849 -0
- package/src/store/test/selectors.js +4 -110
- package/src/style.scss +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["setImmutably","object","path","value","Array","isArray","leaf","pop","prev","key","lvl","getValueFromObjectPath","defaultValue","_value","arrayPath","split","forEach","fieldName","uniqByProperty","array","property","seen","Set","filter","item","has","add"],"sources":["@wordpress/block-editor/src/utils/object.js"],"sourcesContent":["/**\n * Immutably sets a value inside an object. Like `lodash#set`, but returning a\n * new object. Treats nullish initial values as empty objects. Clones any\n * nested objects. Supports arrays, too.\n *\n * @param {Object} object Object to set a value in.\n * @param {number|string|Array} path Path in the object to modify.\n * @param {*} value New value to set.\n * @return {Object} Cloned object with the new value set.\n */\nexport function setImmutably( object, path, value ) {\n\t// Normalize path\n\tpath = Array.isArray( path ) ? [ ...path ] : [ path ];\n\n\t// Shallowly clone the base of the object\n\tobject = Array.isArray( object ) ? [ ...object ] : { ...object };\n\n\tconst leaf = path.pop();\n\n\t// Traverse object from root to leaf, shallowly cloning at each level\n\tlet prev = object;\n\tfor ( const key of path ) {\n\t\tconst lvl = prev[ key ];\n\t\tprev = prev[ key ] = Array.isArray( lvl ) ? [ ...lvl ] : { ...lvl };\n\t}\n\n\tprev[ leaf ] = value;\n\n\treturn object;\n}\n\n/**\n * Helper util to return a value from a certain path of the object.\n * Path is specified as either:\n * - a string of properties, separated by dots, for example: \"x.y\".\n * - an array of properties, for example `[ 'x', 'y' ]`.\n * You can also specify a default value in case the result is nullish.\n *\n * @param {Object} object Input object.\n * @param {string|Array} path Path to the object property.\n * @param {*} defaultValue Default value if the value at the specified path is nullish.\n * @return {*} Value of the object property at the specified path.\n */\nexport const getValueFromObjectPath = ( object, path, defaultValue ) => {\n\tconst arrayPath = Array.isArray( path ) ? path : path.split( '.' );\n\tlet value = object;\n\tarrayPath.forEach( ( fieldName ) => {\n\t\tvalue = value?.[ fieldName ];\n\t} );\n\treturn value ?? defaultValue;\n};\n\n/**\n * Helper util to filter out objects with duplicate values for a given property.\n *\n * @param {Object[]} array Array of objects to filter.\n * @param {string} property Property to filter unique values by.\n *\n * @return {Object[]} Array of objects with unique values for the specified property.\n */\nexport function uniqByProperty( array, property ) {\n\tconst seen = new Set();\n\treturn array.filter( ( item ) => {\n\t\tconst value = item[ property ];\n\t\treturn seen.has( value ) ? false : seen.add( value );\n\t} );\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["setImmutably","object","path","value","Array","isArray","leaf","pop","prev","key","lvl","getValueFromObjectPath","defaultValue","_value","arrayPath","split","forEach","fieldName","uniqByProperty","array","property","seen","Set","filter","item","has","add"],"sources":["@wordpress/block-editor/src/utils/object.js"],"sourcesContent":["/**\n * Immutably sets a value inside an object. Like `lodash#set`, but returning a\n * new object. Treats nullish initial values as empty objects. Clones any\n * nested objects. Supports arrays, too.\n *\n * @param {Object} object Object to set a value in.\n * @param {number|string|Array} path Path in the object to modify.\n * @param {*} value New value to set.\n * @return {Object} Cloned object with the new value set.\n */\nexport function setImmutably( object, path, value ) {\n\t// Normalize path\n\tpath = Array.isArray( path ) ? [ ...path ] : [ path ];\n\n\t// Shallowly clone the base of the object\n\tobject = Array.isArray( object ) ? [ ...object ] : { ...object };\n\n\tconst leaf = path.pop();\n\n\t// Traverse object from root to leaf, shallowly cloning at each level\n\tlet prev = object;\n\tfor ( const key of path ) {\n\t\tconst lvl = prev[ key ];\n\t\tprev = prev[ key ] = Array.isArray( lvl ) ? [ ...lvl ] : { ...lvl };\n\t}\n\n\tprev[ leaf ] = value;\n\n\treturn object;\n}\n\n/**\n * Helper util to return a value from a certain path of the object.\n * Path is specified as either:\n * - a string of properties, separated by dots, for example: \"x.y\".\n * - an array of properties, for example `[ 'x', 'y' ]`.\n * You can also specify a default value in case the result is nullish.\n *\n * @param {Object} object Input object.\n * @param {string|Array} path Path to the object property.\n * @param {*} defaultValue Default value if the value at the specified path is nullish.\n * @return {*} Value of the object property at the specified path.\n */\nexport const getValueFromObjectPath = ( object, path, defaultValue ) => {\n\tconst arrayPath = Array.isArray( path ) ? path : path.split( '.' );\n\tlet value = object;\n\tarrayPath.forEach( ( fieldName ) => {\n\t\tvalue = value?.[ fieldName ];\n\t} );\n\treturn value ?? defaultValue;\n};\n\n/**\n * Helper util to filter out objects with duplicate values for a given property.\n *\n * @param {Object[]} array Array of objects to filter.\n * @param {string} property Property to filter unique values by.\n *\n * @return {Object[]} Array of objects with unique values for the specified property.\n */\nexport function uniqByProperty( array, property ) {\n\tconst seen = new Set();\n\treturn array.filter( ( item ) => {\n\t\tconst value = item[ property ];\n\t\treturn seen.has( value ) ? false : seen.add( value );\n\t} );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASA,YAAYA,CAAEC,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAG;EACnD;EACAD,IAAI,GAAGE,KAAK,CAACC,OAAO,CAAEH,IAAK,CAAC,GAAG,CAAE,GAAGA,IAAI,CAAE,GAAG,CAAEA,IAAI,CAAE;;EAErD;EACAD,MAAM,GAAGG,KAAK,CAACC,OAAO,CAAEJ,MAAO,CAAC,GAAG,CAAE,GAAGA,MAAM,CAAE,GAAG;IAAE,GAAGA;EAAO,CAAC;EAEhE,MAAMK,IAAI,GAAGJ,IAAI,CAACK,GAAG,CAAC,CAAC;;EAEvB;EACA,IAAIC,IAAI,GAAGP,MAAM;EACjB,KAAM,MAAMQ,GAAG,IAAIP,IAAI,EAAG;IACzB,MAAMQ,GAAG,GAAGF,IAAI,CAAEC,GAAG,CAAE;IACvBD,IAAI,GAAGA,IAAI,CAAEC,GAAG,CAAE,GAAGL,KAAK,CAACC,OAAO,CAAEK,GAAI,CAAC,GAAG,CAAE,GAAGA,GAAG,CAAE,GAAG;MAAE,GAAGA;IAAI,CAAC;EACpE;EAEAF,IAAI,CAAEF,IAAI,CAAE,GAAGH,KAAK;EAEpB,OAAOF,MAAM;AACd;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMU,sBAAsB,GAAGA,CAAEV,MAAM,EAAEC,IAAI,EAAEU,YAAY,KAAM;EAAA,IAAAC,MAAA;EACvE,MAAMC,SAAS,GAAGV,KAAK,CAACC,OAAO,CAAEH,IAAK,CAAC,GAAGA,IAAI,GAAGA,IAAI,CAACa,KAAK,CAAE,GAAI,CAAC;EAClE,IAAIZ,KAAK,GAAGF,MAAM;EAClBa,SAAS,CAACE,OAAO,CAAIC,SAAS,IAAM;IACnCd,KAAK,GAAGA,KAAK,GAAIc,SAAS,CAAE;EAC7B,CAAE,CAAC;EACH,QAAAJ,MAAA,GAAOV,KAAK,cAAAU,MAAA,cAAAA,MAAA,GAAID,YAAY;AAC7B,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASM,cAAcA,CAAEC,KAAK,EAAEC,QAAQ,EAAG;EACjD,MAAMC,IAAI,GAAG,IAAIC,GAAG,CAAC,CAAC;EACtB,OAAOH,KAAK,CAACI,MAAM,CAAIC,IAAI,IAAM;IAChC,MAAMrB,KAAK,GAAGqB,IAAI,CAAEJ,QAAQ,CAAE;IAC9B,OAAOC,IAAI,CAACI,GAAG,CAAEtB,KAAM,CAAC,GAAG,KAAK,GAAGkB,IAAI,CAACK,GAAG,CAAEvB,KAAM,CAAC;EACrD,CAAE,CAAC;AACJ","ignoreList":[]}
|
|
@@ -490,6 +490,10 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
490
490
|
margin: 0 calc(-1 * var(--wp--style--root--padding-left) - 1px) 0 calc(-1 * var(--wp--style--root--padding-right) - 1px) !important;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
+
.is-dragging {
|
|
494
|
+
cursor: grabbing;
|
|
495
|
+
}
|
|
496
|
+
|
|
493
497
|
.is-vertical .block-list-appender {
|
|
494
498
|
width: 24px;
|
|
495
499
|
margin-left: auto;
|
|
@@ -519,10 +523,11 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
519
523
|
}
|
|
520
524
|
|
|
521
525
|
.block-editor-block-list__layout .is-dragging {
|
|
522
|
-
|
|
523
|
-
opacity: 0.05 !important;
|
|
526
|
+
opacity: 0.1 !important;
|
|
524
527
|
border-radius: 2px !important;
|
|
525
|
-
|
|
528
|
+
}
|
|
529
|
+
.block-editor-block-list__layout .is-dragging iframe {
|
|
530
|
+
pointer-events: none;
|
|
526
531
|
}
|
|
527
532
|
.block-editor-block-list__layout .is-dragging::selection {
|
|
528
533
|
background: transparent !important;
|
|
@@ -531,6 +536,11 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
531
536
|
content: none !important;
|
|
532
537
|
}
|
|
533
538
|
|
|
539
|
+
.wp-block img:not([draggable]),
|
|
540
|
+
.wp-block svg:not([draggable]) {
|
|
541
|
+
pointer-events: none;
|
|
542
|
+
}
|
|
543
|
+
|
|
534
544
|
.block-editor-block-preview__content-iframe .block-list-appender {
|
|
535
545
|
display: none;
|
|
536
546
|
}
|
|
@@ -777,13 +787,7 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
777
787
|
|
|
778
788
|
.block-editor-iframe__html {
|
|
779
789
|
transform-origin: top center;
|
|
780
|
-
transition:
|
|
781
|
-
}
|
|
782
|
-
@media (prefers-reduced-motion: reduce) {
|
|
783
|
-
.block-editor-iframe__html {
|
|
784
|
-
transition-duration: 0s;
|
|
785
|
-
transition-delay: 0s;
|
|
786
|
-
}
|
|
790
|
+
transition: background-color 400ms;
|
|
787
791
|
}
|
|
788
792
|
.block-editor-iframe__html.zoom-out-animation {
|
|
789
793
|
position: fixed;
|
|
@@ -791,27 +795,18 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
791
795
|
left: 0;
|
|
792
796
|
top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0));
|
|
793
797
|
bottom: 0;
|
|
794
|
-
|
|
795
|
-
overflow-y: scroll;
|
|
796
|
-
transition: all 400ms cubic-bezier(0.46, 0.03, 0.52, 0.96), transform 0s, top 0s, bottom 0s, left 0s, right 0s;
|
|
797
|
-
}
|
|
798
|
-
@media (prefers-reduced-motion: reduce) {
|
|
799
|
-
.block-editor-iframe__html.zoom-out-animation {
|
|
800
|
-
transition-duration: 0s;
|
|
801
|
-
transition-delay: 0s;
|
|
802
|
-
}
|
|
798
|
+
overflow-y: var(--wp-block-editor-iframe-zoom-out-overflow-behavior, scroll);
|
|
803
799
|
}
|
|
804
|
-
|
|
805
800
|
.block-editor-iframe__html.is-zoomed-out {
|
|
806
|
-
transform: translateX(calc(-1*((var(--wp-block-editor-iframe-zoom-out-scale-container-width) - var(--wp-block-editor-iframe-zoom-out-container-width, 100vw)) / 2 / var(--wp-block-editor-iframe-zoom-out-scale))));
|
|
807
|
-
scale: var(--wp-block-editor-iframe-zoom-out-scale);
|
|
801
|
+
transform: translateX(calc(-1*((var(--wp-block-editor-iframe-zoom-out-scale-container-width) - var(--wp-block-editor-iframe-zoom-out-container-width, 100vw)) / 2 / var(--wp-block-editor-iframe-zoom-out-scale, 1))));
|
|
802
|
+
scale: var(--wp-block-editor-iframe-zoom-out-scale, 1);
|
|
808
803
|
background-color: #ddd;
|
|
809
|
-
margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale)) + 2px));
|
|
810
|
-
padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale));
|
|
811
|
-
padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale));
|
|
804
|
+
margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale, 1))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1)) + 2px));
|
|
805
|
+
padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
|
|
806
|
+
padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
|
|
812
807
|
}
|
|
813
808
|
.block-editor-iframe__html.is-zoomed-out body {
|
|
814
|
-
min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale))) / var(--wp-block-editor-iframe-zoom-out-scale));
|
|
809
|
+
min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1))) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
|
|
815
810
|
}
|
|
816
811
|
.block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) {
|
|
817
812
|
flex: 1;
|
|
@@ -822,6 +817,9 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
822
817
|
.block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) > main {
|
|
823
818
|
flex: 1;
|
|
824
819
|
}
|
|
820
|
+
.block-editor-iframe__html.is-zoomed-out .wp-block[draggable] {
|
|
821
|
+
cursor: grab;
|
|
822
|
+
}
|
|
825
823
|
|
|
826
824
|
.block-editor-media-placeholder__url-input-form {
|
|
827
825
|
min-width: 260px;
|
|
@@ -877,7 +875,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
877
875
|
}
|
|
878
876
|
[data-rich-text-script]::before {
|
|
879
877
|
content: "</>";
|
|
880
|
-
background:
|
|
878
|
+
background: rgb(255, 255, 0);
|
|
881
879
|
}
|
|
882
880
|
|
|
883
881
|
[data-rich-text-comment],
|
package/build-style/content.css
CHANGED
|
@@ -490,6 +490,10 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
490
490
|
margin: 0 calc(-1 * var(--wp--style--root--padding-right) - 1px) 0 calc(-1 * var(--wp--style--root--padding-left) - 1px) !important;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
+
.is-dragging {
|
|
494
|
+
cursor: grabbing;
|
|
495
|
+
}
|
|
496
|
+
|
|
493
497
|
.is-vertical .block-list-appender {
|
|
494
498
|
width: 24px;
|
|
495
499
|
margin-right: auto;
|
|
@@ -519,10 +523,11 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
519
523
|
}
|
|
520
524
|
|
|
521
525
|
.block-editor-block-list__layout .is-dragging {
|
|
522
|
-
|
|
523
|
-
opacity: 0.05 !important;
|
|
526
|
+
opacity: 0.1 !important;
|
|
524
527
|
border-radius: 2px !important;
|
|
525
|
-
|
|
528
|
+
}
|
|
529
|
+
.block-editor-block-list__layout .is-dragging iframe {
|
|
530
|
+
pointer-events: none;
|
|
526
531
|
}
|
|
527
532
|
.block-editor-block-list__layout .is-dragging::selection {
|
|
528
533
|
background: transparent !important;
|
|
@@ -531,6 +536,11 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
531
536
|
content: none !important;
|
|
532
537
|
}
|
|
533
538
|
|
|
539
|
+
.wp-block img:not([draggable]),
|
|
540
|
+
.wp-block svg:not([draggable]) {
|
|
541
|
+
pointer-events: none;
|
|
542
|
+
}
|
|
543
|
+
|
|
534
544
|
.block-editor-block-preview__content-iframe .block-list-appender {
|
|
535
545
|
display: none;
|
|
536
546
|
}
|
|
@@ -777,13 +787,7 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
777
787
|
|
|
778
788
|
.block-editor-iframe__html {
|
|
779
789
|
transform-origin: top center;
|
|
780
|
-
transition:
|
|
781
|
-
}
|
|
782
|
-
@media (prefers-reduced-motion: reduce) {
|
|
783
|
-
.block-editor-iframe__html {
|
|
784
|
-
transition-duration: 0s;
|
|
785
|
-
transition-delay: 0s;
|
|
786
|
-
}
|
|
790
|
+
transition: background-color 400ms;
|
|
787
791
|
}
|
|
788
792
|
.block-editor-iframe__html.zoom-out-animation {
|
|
789
793
|
position: fixed;
|
|
@@ -791,27 +795,18 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
791
795
|
right: 0;
|
|
792
796
|
top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0));
|
|
793
797
|
bottom: 0;
|
|
794
|
-
|
|
795
|
-
overflow-y: scroll;
|
|
796
|
-
transition: all 400ms cubic-bezier(0.46, 0.03, 0.52, 0.96), transform 0s, top 0s, bottom 0s, right 0s, left 0s;
|
|
797
|
-
}
|
|
798
|
-
@media (prefers-reduced-motion: reduce) {
|
|
799
|
-
.block-editor-iframe__html.zoom-out-animation {
|
|
800
|
-
transition-duration: 0s;
|
|
801
|
-
transition-delay: 0s;
|
|
802
|
-
}
|
|
798
|
+
overflow-y: var(--wp-block-editor-iframe-zoom-out-overflow-behavior, scroll);
|
|
803
799
|
}
|
|
804
|
-
|
|
805
800
|
.block-editor-iframe__html.is-zoomed-out {
|
|
806
|
-
transform: translateX(calc((var(--wp-block-editor-iframe-zoom-out-scale-container-width) - var(--wp-block-editor-iframe-zoom-out-container-width, 100vw)) / 2 / var(--wp-block-editor-iframe-zoom-out-scale)));
|
|
807
|
-
scale: var(--wp-block-editor-iframe-zoom-out-scale);
|
|
801
|
+
transform: translateX(calc((var(--wp-block-editor-iframe-zoom-out-scale-container-width) - var(--wp-block-editor-iframe-zoom-out-container-width, 100vw)) / 2 / var(--wp-block-editor-iframe-zoom-out-scale, 1)));
|
|
802
|
+
scale: var(--wp-block-editor-iframe-zoom-out-scale, 1);
|
|
808
803
|
background-color: #ddd;
|
|
809
|
-
margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale)) + 2px));
|
|
810
|
-
padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale));
|
|
811
|
-
padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale));
|
|
804
|
+
margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale, 1))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1)) + 2px));
|
|
805
|
+
padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
|
|
806
|
+
padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
|
|
812
807
|
}
|
|
813
808
|
.block-editor-iframe__html.is-zoomed-out body {
|
|
814
|
-
min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size) / var(--wp-block-editor-iframe-zoom-out-scale))) / var(--wp-block-editor-iframe-zoom-out-scale));
|
|
809
|
+
min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1))) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
|
|
815
810
|
}
|
|
816
811
|
.block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) {
|
|
817
812
|
flex: 1;
|
|
@@ -822,6 +817,9 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection=true] .blo
|
|
|
822
817
|
.block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) > main {
|
|
823
818
|
flex: 1;
|
|
824
819
|
}
|
|
820
|
+
.block-editor-iframe__html.is-zoomed-out .wp-block[draggable] {
|
|
821
|
+
cursor: grab;
|
|
822
|
+
}
|
|
825
823
|
|
|
826
824
|
.block-editor-media-placeholder__url-input-form {
|
|
827
825
|
min-width: 260px;
|
|
@@ -877,7 +875,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
877
875
|
}
|
|
878
876
|
[data-rich-text-script]::before {
|
|
879
877
|
content: "</>";
|
|
880
|
-
background:
|
|
878
|
+
background: rgb(255, 255, 0);
|
|
881
879
|
}
|
|
882
880
|
|
|
883
881
|
[data-rich-text-comment],
|
|
@@ -459,6 +459,39 @@ iframe[name=editor-canvas] {
|
|
|
459
459
|
.components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar {
|
|
460
460
|
border-left-color: #1e1e1e;
|
|
461
461
|
}
|
|
462
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar {
|
|
463
|
+
background-color: #1e1e1e;
|
|
464
|
+
color: #f0f0f0;
|
|
465
|
+
}
|
|
466
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar.block-editor-block-contextual-toolbar {
|
|
467
|
+
border-color: #2f2f2f;
|
|
468
|
+
}
|
|
469
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button {
|
|
470
|
+
color: #ddd;
|
|
471
|
+
}
|
|
472
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button:hover {
|
|
473
|
+
color: #fff;
|
|
474
|
+
}
|
|
475
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button:focus::before {
|
|
476
|
+
box-shadow: inset 0 0 0 1px #1e1e1e, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
477
|
+
}
|
|
478
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button:disabled, .components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button[aria-disabled=true] {
|
|
479
|
+
color: #757575;
|
|
480
|
+
}
|
|
481
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .block-editor-block-parent-selector .block-editor-block-parent-selector__button {
|
|
482
|
+
border-color: #2f2f2f;
|
|
483
|
+
background-color: #1e1e1e;
|
|
484
|
+
}
|
|
485
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .block-editor-block-switcher__toggle {
|
|
486
|
+
color: #f0f0f0;
|
|
487
|
+
}
|
|
488
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .components-toolbar-group,
|
|
489
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .components-toolbar {
|
|
490
|
+
border-left-color: #2f2f2f !important;
|
|
491
|
+
}
|
|
492
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .is-pressed {
|
|
493
|
+
color: var(--wp-admin-theme-color);
|
|
494
|
+
}
|
|
462
495
|
.components-popover.block-editor-block-list__block-popover.is-insertion-point-visible {
|
|
463
496
|
visibility: hidden;
|
|
464
497
|
}
|
|
@@ -977,22 +1010,27 @@ iframe[name=editor-canvas] {
|
|
|
977
1010
|
outline: 1px solid rgba(0, 0, 0, 0.1);
|
|
978
1011
|
outline-offset: -1px;
|
|
979
1012
|
border-radius: 4px;
|
|
980
|
-
}
|
|
981
|
-
.block-editor-block-patterns-list__item:hover:not(:focus) .block-editor-block-preview__container::after {
|
|
982
|
-
outline-color: rgba(0, 0, 0, 0.3);
|
|
983
|
-
}
|
|
984
|
-
.block-editor-block-patterns-list__item:focus .block-editor-block-preview__container::after {
|
|
985
|
-
outline-color: var(--wp-admin-theme-color);
|
|
986
|
-
outline-width: var(--wp-admin-border-width-focus);
|
|
987
|
-
outline-offset: calc((-1 * var(--wp-admin-border-width-focus)));
|
|
988
1013
|
transition: outline 0.1s linear;
|
|
989
1014
|
}
|
|
990
1015
|
@media (prefers-reduced-motion: reduce) {
|
|
991
|
-
.block-editor-block-patterns-list__item
|
|
1016
|
+
.block-editor-block-patterns-list__item .block-editor-block-preview__container::after {
|
|
992
1017
|
transition-duration: 0s;
|
|
993
1018
|
transition-delay: 0s;
|
|
994
1019
|
}
|
|
995
1020
|
}
|
|
1021
|
+
.block-editor-block-patterns-list__item.is-selected .block-editor-block-preview__container::after {
|
|
1022
|
+
outline-color: #1e1e1e;
|
|
1023
|
+
outline-width: var(--wp-admin-border-width-focus);
|
|
1024
|
+
outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
|
|
1025
|
+
}
|
|
1026
|
+
.block-editor-block-patterns-list__item:hover .block-editor-block-preview__container::after {
|
|
1027
|
+
outline-color: rgba(0, 0, 0, 0.3);
|
|
1028
|
+
}
|
|
1029
|
+
.block-editor-block-patterns-list__item[data-focus-visible] .block-editor-block-preview__container::after {
|
|
1030
|
+
outline-color: var(--wp-admin-theme-color);
|
|
1031
|
+
outline-width: var(--wp-admin-border-width-focus);
|
|
1032
|
+
outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
|
|
1033
|
+
}
|
|
996
1034
|
.block-editor-block-patterns-list__item .block-editor-patterns__pattern-details:not(:empty) {
|
|
997
1035
|
align-items: center;
|
|
998
1036
|
margin-top: 8px;
|
|
@@ -1170,13 +1208,6 @@ iframe[name=editor-canvas] {
|
|
|
1170
1208
|
margin: auto;
|
|
1171
1209
|
}
|
|
1172
1210
|
|
|
1173
|
-
.block-editor-block-switcher__toggle-text {
|
|
1174
|
-
margin-right: 8px;
|
|
1175
|
-
}
|
|
1176
|
-
.show-icon-labels .block-editor-block-switcher__toggle-text {
|
|
1177
|
-
display: none;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
1211
|
.components-button.block-editor-block-switcher__no-switcher-icon {
|
|
1181
1212
|
display: flex;
|
|
1182
1213
|
}
|
|
@@ -1634,6 +1665,10 @@ iframe[name=editor-canvas] {
|
|
|
1634
1665
|
text-transform: capitalize;
|
|
1635
1666
|
}
|
|
1636
1667
|
|
|
1668
|
+
.block-editor-font-family-control:not(.is-next-has-no-margin-bottom) {
|
|
1669
|
+
margin-bottom: 8px;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1637
1672
|
.block-editor-global-styles__toggle-icon {
|
|
1638
1673
|
fill: currentColor;
|
|
1639
1674
|
}
|
|
@@ -1732,7 +1767,7 @@ iframe[name=editor-canvas] {
|
|
|
1732
1767
|
overflow: hidden;
|
|
1733
1768
|
}
|
|
1734
1769
|
.block-editor-grid-visualizer__cell .block-editor-inserter .block-editor-grid-visualizer__appender {
|
|
1735
|
-
box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%,
|
|
1770
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0));
|
|
1736
1771
|
color: inherit;
|
|
1737
1772
|
overflow: hidden;
|
|
1738
1773
|
height: 100%;
|
|
@@ -1747,7 +1782,7 @@ iframe[name=editor-canvas] {
|
|
|
1747
1782
|
.block-editor-grid-visualizer__cell:hover .block-editor-grid-visualizer__appender,
|
|
1748
1783
|
.block-editor-grid-visualizer__cell .block-editor-grid-visualizer__appender:focus {
|
|
1749
1784
|
opacity: 1;
|
|
1750
|
-
background-color: color-mix(in srgb, currentColor 20%,
|
|
1785
|
+
background-color: color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0));
|
|
1751
1786
|
}
|
|
1752
1787
|
|
|
1753
1788
|
.block-editor-grid-visualizer__drop-zone {
|
|
@@ -2567,7 +2602,7 @@ iframe[name=editor-canvas] {
|
|
|
2567
2602
|
}
|
|
2568
2603
|
.block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down {
|
|
2569
2604
|
transition: transform 0.2s;
|
|
2570
|
-
transform: translateY(calc(32px + var(--wp-admin--list-view-dragged-items-height, 32px) *
|
|
2605
|
+
transform: translateY(calc(32px + var(--wp-admin--list-view-dragged-items-height, 32px) * -1));
|
|
2571
2606
|
}
|
|
2572
2607
|
@media (prefers-reduced-motion: reduce) {
|
|
2573
2608
|
.block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down {
|
|
@@ -2983,27 +3018,15 @@ iframe[name=editor-canvas] {
|
|
|
2983
3018
|
}
|
|
2984
3019
|
|
|
2985
3020
|
.block-editor-multi-selection-inspector__card {
|
|
2986
|
-
display: flex;
|
|
2987
|
-
align-items: flex-start;
|
|
2988
3021
|
padding: 16px;
|
|
2989
3022
|
}
|
|
2990
3023
|
|
|
2991
|
-
.block-editor-multi-selection-inspector__card-content {
|
|
2992
|
-
flex-grow: 1;
|
|
2993
|
-
}
|
|
2994
|
-
|
|
2995
3024
|
.block-editor-multi-selection-inspector__card-title {
|
|
2996
3025
|
font-weight: 500;
|
|
2997
|
-
margin-bottom: 5px;
|
|
2998
|
-
}
|
|
2999
|
-
|
|
3000
|
-
.block-editor-multi-selection-inspector__card-description {
|
|
3001
|
-
font-size: 13px;
|
|
3002
3026
|
}
|
|
3003
3027
|
|
|
3004
3028
|
.block-editor-multi-selection-inspector__card .block-editor-block-icon {
|
|
3005
3029
|
margin-right: -2px;
|
|
3006
|
-
margin-left: 10px;
|
|
3007
3030
|
padding: 0 3px;
|
|
3008
3031
|
width: 36px;
|
|
3009
3032
|
height: 24px;
|
|
@@ -4197,7 +4220,7 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4197
4220
|
.block-editor-inserter__media-list__item:focus .block-editor-inserter__media-list__item-preview > * {
|
|
4198
4221
|
outline-color: var(--wp-admin-theme-color);
|
|
4199
4222
|
outline-width: var(--wp-admin-border-width-focus);
|
|
4200
|
-
outline-offset: calc(
|
|
4223
|
+
outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
|
|
4201
4224
|
transition: outline 0.1s linear;
|
|
4202
4225
|
}
|
|
4203
4226
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -4277,43 +4300,11 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4277
4300
|
.spacing-sizes-control .spacing-sizes-control__label {
|
|
4278
4301
|
margin-bottom: 0;
|
|
4279
4302
|
}
|
|
4280
|
-
.spacing-sizes-control .is-marked .components-range-control__track {
|
|
4281
|
-
transition: width ease 0.1s;
|
|
4282
|
-
}
|
|
4283
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4284
|
-
.spacing-sizes-control .is-marked .components-range-control__track {
|
|
4285
|
-
transition-duration: 0s;
|
|
4286
|
-
transition-delay: 0s;
|
|
4287
|
-
}
|
|
4288
|
-
}
|
|
4289
|
-
.spacing-sizes-control .is-marked .components-range-control__thumb-wrapper {
|
|
4290
|
-
transition: right ease 0.1s;
|
|
4291
|
-
}
|
|
4292
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4293
|
-
.spacing-sizes-control .is-marked .components-range-control__thumb-wrapper {
|
|
4294
|
-
transition-duration: 0s;
|
|
4295
|
-
transition-delay: 0s;
|
|
4296
|
-
}
|
|
4297
|
-
}
|
|
4298
4303
|
.spacing-sizes-control .spacing-sizes-control__range-control,
|
|
4299
4304
|
.spacing-sizes-control .spacing-sizes-control__custom-value-range {
|
|
4300
4305
|
flex: 1;
|
|
4301
4306
|
margin-bottom: 0;
|
|
4302
4307
|
}
|
|
4303
|
-
.spacing-sizes-control .components-range-control__mark {
|
|
4304
|
-
transform: translateX(50%);
|
|
4305
|
-
height: 4px;
|
|
4306
|
-
width: 2px;
|
|
4307
|
-
background-color: #fff;
|
|
4308
|
-
z-index: 1;
|
|
4309
|
-
top: -4px;
|
|
4310
|
-
}
|
|
4311
|
-
.spacing-sizes-control .components-range-control__marks {
|
|
4312
|
-
margin-top: 17px;
|
|
4313
|
-
}
|
|
4314
|
-
.spacing-sizes-control .components-range-control__thumb-wrapper {
|
|
4315
|
-
z-index: 3;
|
|
4316
|
-
}
|
|
4317
4308
|
|
|
4318
4309
|
.spacing-sizes-control__header {
|
|
4319
4310
|
height: 16px;
|
package/build-style/style.css
CHANGED
|
@@ -459,6 +459,39 @@ iframe[name=editor-canvas] {
|
|
|
459
459
|
.components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar {
|
|
460
460
|
border-right-color: #1e1e1e;
|
|
461
461
|
}
|
|
462
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar {
|
|
463
|
+
background-color: #1e1e1e;
|
|
464
|
+
color: #f0f0f0;
|
|
465
|
+
}
|
|
466
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar.block-editor-block-contextual-toolbar {
|
|
467
|
+
border-color: #2f2f2f;
|
|
468
|
+
}
|
|
469
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button {
|
|
470
|
+
color: #ddd;
|
|
471
|
+
}
|
|
472
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button:hover {
|
|
473
|
+
color: #fff;
|
|
474
|
+
}
|
|
475
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button:focus::before {
|
|
476
|
+
box-shadow: inset 0 0 0 1px #1e1e1e, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
477
|
+
}
|
|
478
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button:disabled, .components-popover.block-editor-block-list__block-popover .is-inverted-toolbar button[aria-disabled=true] {
|
|
479
|
+
color: #757575;
|
|
480
|
+
}
|
|
481
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .block-editor-block-parent-selector .block-editor-block-parent-selector__button {
|
|
482
|
+
border-color: #2f2f2f;
|
|
483
|
+
background-color: #1e1e1e;
|
|
484
|
+
}
|
|
485
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .block-editor-block-switcher__toggle {
|
|
486
|
+
color: #f0f0f0;
|
|
487
|
+
}
|
|
488
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .components-toolbar-group,
|
|
489
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .components-toolbar {
|
|
490
|
+
border-right-color: #2f2f2f !important;
|
|
491
|
+
}
|
|
492
|
+
.components-popover.block-editor-block-list__block-popover .is-inverted-toolbar .is-pressed {
|
|
493
|
+
color: var(--wp-admin-theme-color);
|
|
494
|
+
}
|
|
462
495
|
.components-popover.block-editor-block-list__block-popover.is-insertion-point-visible {
|
|
463
496
|
visibility: hidden;
|
|
464
497
|
}
|
|
@@ -977,22 +1010,27 @@ iframe[name=editor-canvas] {
|
|
|
977
1010
|
outline: 1px solid rgba(0, 0, 0, 0.1);
|
|
978
1011
|
outline-offset: -1px;
|
|
979
1012
|
border-radius: 4px;
|
|
980
|
-
}
|
|
981
|
-
.block-editor-block-patterns-list__item:hover:not(:focus) .block-editor-block-preview__container::after {
|
|
982
|
-
outline-color: rgba(0, 0, 0, 0.3);
|
|
983
|
-
}
|
|
984
|
-
.block-editor-block-patterns-list__item:focus .block-editor-block-preview__container::after {
|
|
985
|
-
outline-color: var(--wp-admin-theme-color);
|
|
986
|
-
outline-width: var(--wp-admin-border-width-focus);
|
|
987
|
-
outline-offset: calc((-1 * var(--wp-admin-border-width-focus)));
|
|
988
1013
|
transition: outline 0.1s linear;
|
|
989
1014
|
}
|
|
990
1015
|
@media (prefers-reduced-motion: reduce) {
|
|
991
|
-
.block-editor-block-patterns-list__item
|
|
1016
|
+
.block-editor-block-patterns-list__item .block-editor-block-preview__container::after {
|
|
992
1017
|
transition-duration: 0s;
|
|
993
1018
|
transition-delay: 0s;
|
|
994
1019
|
}
|
|
995
1020
|
}
|
|
1021
|
+
.block-editor-block-patterns-list__item.is-selected .block-editor-block-preview__container::after {
|
|
1022
|
+
outline-color: #1e1e1e;
|
|
1023
|
+
outline-width: var(--wp-admin-border-width-focus);
|
|
1024
|
+
outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
|
|
1025
|
+
}
|
|
1026
|
+
.block-editor-block-patterns-list__item:hover .block-editor-block-preview__container::after {
|
|
1027
|
+
outline-color: rgba(0, 0, 0, 0.3);
|
|
1028
|
+
}
|
|
1029
|
+
.block-editor-block-patterns-list__item[data-focus-visible] .block-editor-block-preview__container::after {
|
|
1030
|
+
outline-color: var(--wp-admin-theme-color);
|
|
1031
|
+
outline-width: var(--wp-admin-border-width-focus);
|
|
1032
|
+
outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
|
|
1033
|
+
}
|
|
996
1034
|
.block-editor-block-patterns-list__item .block-editor-patterns__pattern-details:not(:empty) {
|
|
997
1035
|
align-items: center;
|
|
998
1036
|
margin-top: 8px;
|
|
@@ -1170,13 +1208,6 @@ iframe[name=editor-canvas] {
|
|
|
1170
1208
|
margin: auto;
|
|
1171
1209
|
}
|
|
1172
1210
|
|
|
1173
|
-
.block-editor-block-switcher__toggle-text {
|
|
1174
|
-
margin-left: 8px;
|
|
1175
|
-
}
|
|
1176
|
-
.show-icon-labels .block-editor-block-switcher__toggle-text {
|
|
1177
|
-
display: none;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
1211
|
.components-button.block-editor-block-switcher__no-switcher-icon {
|
|
1181
1212
|
display: flex;
|
|
1182
1213
|
}
|
|
@@ -1634,6 +1665,10 @@ iframe[name=editor-canvas] {
|
|
|
1634
1665
|
text-transform: capitalize;
|
|
1635
1666
|
}
|
|
1636
1667
|
|
|
1668
|
+
.block-editor-font-family-control:not(.is-next-has-no-margin-bottom) {
|
|
1669
|
+
margin-bottom: 8px;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1637
1672
|
.block-editor-global-styles__toggle-icon {
|
|
1638
1673
|
fill: currentColor;
|
|
1639
1674
|
}
|
|
@@ -1733,7 +1768,7 @@ iframe[name=editor-canvas] {
|
|
|
1733
1768
|
overflow: hidden;
|
|
1734
1769
|
}
|
|
1735
1770
|
.block-editor-grid-visualizer__cell .block-editor-inserter .block-editor-grid-visualizer__appender {
|
|
1736
|
-
box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%,
|
|
1771
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0));
|
|
1737
1772
|
color: inherit;
|
|
1738
1773
|
overflow: hidden;
|
|
1739
1774
|
height: 100%;
|
|
@@ -1748,7 +1783,7 @@ iframe[name=editor-canvas] {
|
|
|
1748
1783
|
.block-editor-grid-visualizer__cell:hover .block-editor-grid-visualizer__appender,
|
|
1749
1784
|
.block-editor-grid-visualizer__cell .block-editor-grid-visualizer__appender:focus {
|
|
1750
1785
|
opacity: 1;
|
|
1751
|
-
background-color: color-mix(in srgb, currentColor 20%,
|
|
1786
|
+
background-color: color-mix(in srgb, currentColor 20%, rgba(0, 0, 0, 0));
|
|
1752
1787
|
}
|
|
1753
1788
|
|
|
1754
1789
|
.block-editor-grid-visualizer__drop-zone {
|
|
@@ -2568,7 +2603,7 @@ iframe[name=editor-canvas] {
|
|
|
2568
2603
|
}
|
|
2569
2604
|
.block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down {
|
|
2570
2605
|
transition: transform 0.2s;
|
|
2571
|
-
transform: translateY(calc(32px + var(--wp-admin--list-view-dragged-items-height, 32px) *
|
|
2606
|
+
transform: translateY(calc(32px + var(--wp-admin--list-view-dragged-items-height, 32px) * -1));
|
|
2572
2607
|
}
|
|
2573
2608
|
@media (prefers-reduced-motion: reduce) {
|
|
2574
2609
|
.block-editor-list-view-leaf.is-after-dragged-blocks.is-displacement-down {
|
|
@@ -2984,27 +3019,15 @@ iframe[name=editor-canvas] {
|
|
|
2984
3019
|
}
|
|
2985
3020
|
|
|
2986
3021
|
.block-editor-multi-selection-inspector__card {
|
|
2987
|
-
display: flex;
|
|
2988
|
-
align-items: flex-start;
|
|
2989
3022
|
padding: 16px;
|
|
2990
3023
|
}
|
|
2991
3024
|
|
|
2992
|
-
.block-editor-multi-selection-inspector__card-content {
|
|
2993
|
-
flex-grow: 1;
|
|
2994
|
-
}
|
|
2995
|
-
|
|
2996
3025
|
.block-editor-multi-selection-inspector__card-title {
|
|
2997
3026
|
font-weight: 500;
|
|
2998
|
-
margin-bottom: 5px;
|
|
2999
|
-
}
|
|
3000
|
-
|
|
3001
|
-
.block-editor-multi-selection-inspector__card-description {
|
|
3002
|
-
font-size: 13px;
|
|
3003
3027
|
}
|
|
3004
3028
|
|
|
3005
3029
|
.block-editor-multi-selection-inspector__card .block-editor-block-icon {
|
|
3006
3030
|
margin-left: -2px;
|
|
3007
|
-
margin-right: 10px;
|
|
3008
3031
|
padding: 0 3px;
|
|
3009
3032
|
width: 36px;
|
|
3010
3033
|
height: 24px;
|
|
@@ -4198,7 +4221,7 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4198
4221
|
.block-editor-inserter__media-list__item:focus .block-editor-inserter__media-list__item-preview > * {
|
|
4199
4222
|
outline-color: var(--wp-admin-theme-color);
|
|
4200
4223
|
outline-width: var(--wp-admin-border-width-focus);
|
|
4201
|
-
outline-offset: calc(
|
|
4224
|
+
outline-offset: calc(-1 * var(--wp-admin-border-width-focus));
|
|
4202
4225
|
transition: outline 0.1s linear;
|
|
4203
4226
|
}
|
|
4204
4227
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -4278,43 +4301,11 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4278
4301
|
.spacing-sizes-control .spacing-sizes-control__label {
|
|
4279
4302
|
margin-bottom: 0;
|
|
4280
4303
|
}
|
|
4281
|
-
.spacing-sizes-control .is-marked .components-range-control__track {
|
|
4282
|
-
transition: width ease 0.1s;
|
|
4283
|
-
}
|
|
4284
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4285
|
-
.spacing-sizes-control .is-marked .components-range-control__track {
|
|
4286
|
-
transition-duration: 0s;
|
|
4287
|
-
transition-delay: 0s;
|
|
4288
|
-
}
|
|
4289
|
-
}
|
|
4290
|
-
.spacing-sizes-control .is-marked .components-range-control__thumb-wrapper {
|
|
4291
|
-
transition: left ease 0.1s;
|
|
4292
|
-
}
|
|
4293
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4294
|
-
.spacing-sizes-control .is-marked .components-range-control__thumb-wrapper {
|
|
4295
|
-
transition-duration: 0s;
|
|
4296
|
-
transition-delay: 0s;
|
|
4297
|
-
}
|
|
4298
|
-
}
|
|
4299
4304
|
.spacing-sizes-control .spacing-sizes-control__range-control,
|
|
4300
4305
|
.spacing-sizes-control .spacing-sizes-control__custom-value-range {
|
|
4301
4306
|
flex: 1;
|
|
4302
4307
|
margin-bottom: 0;
|
|
4303
4308
|
}
|
|
4304
|
-
.spacing-sizes-control .components-range-control__mark {
|
|
4305
|
-
transform: translateX(-50%);
|
|
4306
|
-
height: 4px;
|
|
4307
|
-
width: 2px;
|
|
4308
|
-
background-color: #fff;
|
|
4309
|
-
z-index: 1;
|
|
4310
|
-
top: -4px;
|
|
4311
|
-
}
|
|
4312
|
-
.spacing-sizes-control .components-range-control__marks {
|
|
4313
|
-
margin-top: 17px;
|
|
4314
|
-
}
|
|
4315
|
-
.spacing-sizes-control .components-range-control__thumb-wrapper {
|
|
4316
|
-
z-index: 3;
|
|
4317
|
-
}
|
|
4318
4309
|
|
|
4319
4310
|
.spacing-sizes-control__header {
|
|
4320
4311
|
height: 16px;
|