@wordpress/block-editor 15.18.0 → 15.19.1-next.v.202605131006.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 +6 -0
- package/build/components/block-controls/fill.cjs.map +2 -2
- package/build/components/block-inspector/edit-contents.cjs +7 -1
- package/build/components/block-inspector/edit-contents.cjs.map +2 -2
- package/build/components/block-toolbar/edit-section-button.cjs +7 -1
- package/build/components/block-toolbar/edit-section-button.cjs.map +2 -2
- package/build/components/block-variation-transforms/index.cjs +2 -2
- package/build/components/block-variation-transforms/index.cjs.map +2 -2
- package/build/components/block-visibility/modal.cjs +0 -10
- package/build/components/block-visibility/modal.cjs.map +3 -3
- package/build/components/dimensions-tool/scale-tool.cjs +2 -2
- package/build/components/dimensions-tool/scale-tool.cjs.map +2 -2
- package/build/components/global-styles/state-control.cjs +111 -37
- package/build/components/global-styles/state-control.cjs.map +3 -3
- package/build/components/gradients/use-gradient.cjs +2 -2
- package/build/components/gradients/use-gradient.cjs.map +2 -2
- package/build/components/iframe/use-scale-canvas.cjs.map +2 -2
- package/build/components/inserter/index.cjs +41 -43
- package/build/components/inserter/index.cjs.map +2 -2
- package/build/components/inserter/menu.cjs +30 -2
- package/build/components/inserter/menu.cjs.map +3 -3
- package/build/components/inserter/tips.cjs +1 -1
- package/build/components/inserter/tips.cjs.map +2 -2
- package/build/components/rich-text/event-listeners/index.cjs.map +2 -2
- package/build/store/actions.cjs +2 -2
- package/build/store/actions.cjs.map +2 -2
- package/build/store/reducer.cjs +8 -30
- package/build/store/reducer.cjs.map +2 -2
- package/build/store/selectors.cjs.map +2 -2
- package/build-module/components/block-controls/fill.mjs.map +2 -2
- package/build-module/components/block-inspector/edit-contents.mjs +7 -1
- package/build-module/components/block-inspector/edit-contents.mjs.map +2 -2
- package/build-module/components/block-toolbar/edit-section-button.mjs +7 -1
- package/build-module/components/block-toolbar/edit-section-button.mjs.map +2 -2
- package/build-module/components/block-variation-transforms/index.mjs +2 -2
- package/build-module/components/block-variation-transforms/index.mjs.map +2 -2
- package/build-module/components/block-visibility/modal.mjs +0 -10
- package/build-module/components/block-visibility/modal.mjs.map +3 -3
- package/build-module/components/dimensions-tool/scale-tool.mjs +2 -2
- package/build-module/components/dimensions-tool/scale-tool.mjs.map +2 -2
- package/build-module/components/global-styles/state-control.mjs +119 -40
- package/build-module/components/global-styles/state-control.mjs.map +2 -2
- package/build-module/components/gradients/use-gradient.mjs +2 -2
- package/build-module/components/gradients/use-gradient.mjs.map +2 -2
- package/build-module/components/iframe/use-scale-canvas.mjs.map +2 -2
- package/build-module/components/inserter/index.mjs +41 -43
- package/build-module/components/inserter/index.mjs.map +2 -2
- package/build-module/components/inserter/menu.mjs +31 -2
- package/build-module/components/inserter/menu.mjs.map +2 -2
- package/build-module/components/inserter/tips.mjs +1 -1
- package/build-module/components/inserter/tips.mjs.map +2 -2
- package/build-module/components/rich-text/event-listeners/index.mjs.map +2 -2
- package/build-module/store/actions.mjs +2 -2
- package/build-module/store/actions.mjs.map +2 -2
- package/build-module/store/reducer.mjs +8 -30
- package/build-module/store/reducer.mjs.map +2 -2
- package/build-module/store/selectors.mjs.map +2 -2
- package/build-style/style-rtl.css +29 -3
- package/build-style/style.css +29 -3
- package/build-types/components/block-context/index.d.ts +9 -16
- package/build-types/components/block-context/index.d.ts.map +1 -1
- package/build-types/utils/dom.d.ts +7 -7
- package/build-types/utils/dom.d.ts.map +1 -1
- package/package.json +39 -39
- package/src/components/block-controls/fill.js +1 -0
- package/src/components/block-inspector/edit-contents.js +4 -2
- package/src/components/block-manager/style.scss +3 -2
- package/src/components/block-toolbar/edit-section-button.js +5 -1
- package/src/components/block-variation-transforms/index.js +2 -2
- package/src/components/block-visibility/modal.js +0 -1
- package/src/components/dimensions-tool/scale-tool.js +2 -2
- package/src/components/global-styles/state-control.js +152 -49
- package/src/components/global-styles/style.scss +9 -0
- package/src/components/gradients/use-gradient.js +3 -1
- package/src/components/iframe/use-scale-canvas.js +0 -4
- package/src/components/inner-blocks/README.md +5 -1
- package/src/components/inner-blocks/index.native.js +1 -1
- package/src/components/inserter/index.js +58 -69
- package/src/components/inserter/menu.js +32 -1
- package/src/components/inserter/style.scss +18 -3
- package/src/components/inserter/tips.js +1 -1
- package/src/components/rich-text/event-listeners/index.js +0 -1
- package/src/store/actions.js +12 -6
- package/src/store/reducer.js +11 -39
- package/src/store/selectors.js +6 -0
- package/src/store/test/reducer.js +39 -0
|
@@ -832,6 +832,7 @@ iframe[name=editor-canvas] {
|
|
|
832
832
|
}
|
|
833
833
|
|
|
834
834
|
.block-editor-block-manager__category {
|
|
835
|
+
isolation: isolate;
|
|
835
836
|
margin: 0 0 24px 0;
|
|
836
837
|
}
|
|
837
838
|
|
|
@@ -1639,6 +1640,14 @@ iframe[name=editor-canvas] {
|
|
|
1639
1640
|
text-align: left;
|
|
1640
1641
|
}
|
|
1641
1642
|
|
|
1643
|
+
.block-editor-global-styles-state-control {
|
|
1644
|
+
margin-top: -4px;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
.block-editor-global-styles-state-control__badges {
|
|
1648
|
+
min-height: 24px;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1642
1651
|
.block-editor-global-styles-filters-panel__dropdown,
|
|
1643
1652
|
.block-editor-global-styles__shadow-dropdown {
|
|
1644
1653
|
display: block;
|
|
@@ -4041,7 +4050,20 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4041
4050
|
}
|
|
4042
4051
|
|
|
4043
4052
|
.block-editor-inserter__search {
|
|
4044
|
-
padding: 16px
|
|
4053
|
+
padding: 16px;
|
|
4054
|
+
position: sticky;
|
|
4055
|
+
top: 0;
|
|
4056
|
+
z-index: 2;
|
|
4057
|
+
background-color: #fff;
|
|
4058
|
+
border-bottom: 1px solid transparent;
|
|
4059
|
+
}
|
|
4060
|
+
@media not (prefers-reduced-motion) {
|
|
4061
|
+
.block-editor-inserter__search {
|
|
4062
|
+
transition: border-bottom-color 0.1s linear;
|
|
4063
|
+
}
|
|
4064
|
+
}
|
|
4065
|
+
.block-editor-inserter__search.is-scrolled {
|
|
4066
|
+
border-bottom-color: #e0e0e0;
|
|
4045
4067
|
}
|
|
4046
4068
|
|
|
4047
4069
|
.block-editor-inserter__no-tab-container {
|
|
@@ -4054,7 +4076,7 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4054
4076
|
position: relative;
|
|
4055
4077
|
display: inline-flex;
|
|
4056
4078
|
align-items: center;
|
|
4057
|
-
padding:
|
|
4079
|
+
padding: 0 16px;
|
|
4058
4080
|
}
|
|
4059
4081
|
|
|
4060
4082
|
.block-editor-inserter__panel-content {
|
|
@@ -4137,12 +4159,16 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4137
4159
|
.block-editor-inserter__media-tabs-container,
|
|
4138
4160
|
.block-editor-inserter__block-patterns-tabs-container {
|
|
4139
4161
|
flex-grow: 1;
|
|
4140
|
-
padding: 16px;
|
|
4162
|
+
padding: 0 16px 16px;
|
|
4141
4163
|
display: flex;
|
|
4142
4164
|
flex-direction: column;
|
|
4143
4165
|
justify-content: space-between;
|
|
4144
4166
|
}
|
|
4145
4167
|
|
|
4168
|
+
.block-editor-inserter__media-tabs-container {
|
|
4169
|
+
padding-top: 16px;
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4146
4172
|
.block-editor-inserter__category-tablist {
|
|
4147
4173
|
margin-bottom: 8px;
|
|
4148
4174
|
}
|
package/build-style/style.css
CHANGED
|
@@ -832,6 +832,7 @@ iframe[name=editor-canvas] {
|
|
|
832
832
|
}
|
|
833
833
|
|
|
834
834
|
.block-editor-block-manager__category {
|
|
835
|
+
isolation: isolate;
|
|
835
836
|
margin: 0 0 24px 0;
|
|
836
837
|
}
|
|
837
838
|
|
|
@@ -1639,6 +1640,14 @@ iframe[name=editor-canvas] {
|
|
|
1639
1640
|
text-align: right;
|
|
1640
1641
|
}
|
|
1641
1642
|
|
|
1643
|
+
.block-editor-global-styles-state-control {
|
|
1644
|
+
margin-top: -4px;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
.block-editor-global-styles-state-control__badges {
|
|
1648
|
+
min-height: 24px;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1642
1651
|
.block-editor-global-styles-filters-panel__dropdown,
|
|
1643
1652
|
.block-editor-global-styles__shadow-dropdown {
|
|
1644
1653
|
display: block;
|
|
@@ -4043,7 +4052,20 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4043
4052
|
}
|
|
4044
4053
|
|
|
4045
4054
|
.block-editor-inserter__search {
|
|
4046
|
-
padding: 16px
|
|
4055
|
+
padding: 16px;
|
|
4056
|
+
position: sticky;
|
|
4057
|
+
top: 0;
|
|
4058
|
+
z-index: 2;
|
|
4059
|
+
background-color: #fff;
|
|
4060
|
+
border-bottom: 1px solid transparent;
|
|
4061
|
+
}
|
|
4062
|
+
@media not (prefers-reduced-motion) {
|
|
4063
|
+
.block-editor-inserter__search {
|
|
4064
|
+
transition: border-bottom-color 0.1s linear;
|
|
4065
|
+
}
|
|
4066
|
+
}
|
|
4067
|
+
.block-editor-inserter__search.is-scrolled {
|
|
4068
|
+
border-bottom-color: #e0e0e0;
|
|
4047
4069
|
}
|
|
4048
4070
|
|
|
4049
4071
|
.block-editor-inserter__no-tab-container {
|
|
@@ -4056,7 +4078,7 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4056
4078
|
position: relative;
|
|
4057
4079
|
display: inline-flex;
|
|
4058
4080
|
align-items: center;
|
|
4059
|
-
padding:
|
|
4081
|
+
padding: 0 16px;
|
|
4060
4082
|
}
|
|
4061
4083
|
|
|
4062
4084
|
.block-editor-inserter__panel-content {
|
|
@@ -4139,12 +4161,16 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4139
4161
|
.block-editor-inserter__media-tabs-container,
|
|
4140
4162
|
.block-editor-inserter__block-patterns-tabs-container {
|
|
4141
4163
|
flex-grow: 1;
|
|
4142
|
-
padding: 16px;
|
|
4164
|
+
padding: 0 16px 16px;
|
|
4143
4165
|
display: flex;
|
|
4144
4166
|
flex-direction: column;
|
|
4145
4167
|
justify-content: space-between;
|
|
4146
4168
|
}
|
|
4147
4169
|
|
|
4170
|
+
.block-editor-inserter__media-tabs-container {
|
|
4171
|
+
padding-top: 16px;
|
|
4172
|
+
}
|
|
4173
|
+
|
|
4148
4174
|
.block-editor-inserter__category-tablist {
|
|
4149
4175
|
margin-bottom: 8px;
|
|
4150
4176
|
}
|
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Component which merges passed value with current consumed block context.
|
|
3
|
-
*
|
|
4
|
-
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/block-context/README.md
|
|
5
|
-
*
|
|
6
|
-
* @param {BlockContextProviderProps} props
|
|
7
|
-
*/
|
|
8
|
-
export function BlockContextProvider({ value, children }: BlockContextProviderProps): import("react").JSX.Element;
|
|
9
|
-
export default Context;
|
|
10
1
|
export type ReactNode = React.ReactNode;
|
|
11
2
|
export type BlockContextProviderProps = {
|
|
12
|
-
/**
|
|
13
|
-
* Context value to merge with current
|
|
14
|
-
* value.
|
|
15
|
-
*/
|
|
16
3
|
value: Record<string, any>;
|
|
17
|
-
/**
|
|
18
|
-
* Component children.
|
|
19
|
-
*/
|
|
20
4
|
children: ReactNode;
|
|
21
5
|
};
|
|
22
6
|
/** @typedef {React.ReactNode} ReactNode */
|
|
@@ -29,4 +13,13 @@ export type BlockContextProviderProps = {
|
|
|
29
13
|
*/
|
|
30
14
|
/** @type {React.Context<Record<string,*>>} */
|
|
31
15
|
declare const Context: React.Context<Record<string, any>>;
|
|
16
|
+
/**
|
|
17
|
+
* Component which merges passed value with current consumed block context.
|
|
18
|
+
*
|
|
19
|
+
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/block-context/README.md
|
|
20
|
+
*
|
|
21
|
+
* @param {BlockContextProviderProps} props
|
|
22
|
+
*/
|
|
23
|
+
export declare function BlockContextProvider({ value, children }: BlockContextProviderProps): import("react").JSX.Element;
|
|
24
|
+
export default Context;
|
|
32
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block-context/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block-context/index.js"],"names":[],"mappings":"AAKI,YAA2B,SAAS,GAA1B,KAAK,CAAC,SAAS,CAAW;AAGrC,YAAS,yBAAyB,GAElC;IAA6B,KAAK,EAAvB,MAAM,CAAC,MAAM,EAAC,GAAC,CAAC,CAE3B;IAA6B,QAAQ,EAA1B,SAAS,CACtB;CAAA,CAAA;AARD,2CAA2C;AAE3C;;;;;;GAMG;AAEH,8CAA8C;AAC9C,QAAA,MAAM,OAAO,EADF,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAC,GAAC,CAAC,CACN,CAAC;AAGpC;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAF9C,yBAE8C,+BAQxD;eAEc,OAAO"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @return {boolean} Whether elements are in the same block.
|
|
8
8
|
*/
|
|
9
|
-
export function isInSameBlock(a: Element, b: Element): boolean;
|
|
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.
|
|
@@ -17,7 +17,7 @@ export function isInSameBlock(a: Element, b: Element): boolean;
|
|
|
17
17
|
* @return {boolean} Whether an element is considered part of the block and not
|
|
18
18
|
* its inner blocks or appender.
|
|
19
19
|
*/
|
|
20
|
-
export function isInsideRootBlock(blockElement: Element, element: Element): boolean;
|
|
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
|
*
|
|
@@ -26,7 +26,7 @@ export function isInsideRootBlock(blockElement: Element, element: Element): bool
|
|
|
26
26
|
* @return {string|undefined} Client ID or undefined if the node is not part of
|
|
27
27
|
* a block.
|
|
28
28
|
*/
|
|
29
|
-
export function getBlockClientId(node: Node | null): string | undefined;
|
|
29
|
+
export declare function getBlockClientId(node: Node | null): string | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* Calculates the union of two rectangles.
|
|
32
32
|
*
|
|
@@ -34,14 +34,15 @@ export function getBlockClientId(node: Node | null): string | undefined;
|
|
|
34
34
|
* @param {DOMRect} rect2 Second rectangle.
|
|
35
35
|
* @return {DOMRect} Union of the two rectangles.
|
|
36
36
|
*/
|
|
37
|
-
export function rectUnion(rect1: DOMRect, rect2: DOMRect): DOMRect;
|
|
37
|
+
export declare function rectUnion(rect1: DOMRect, rect2: DOMRect): DOMRect;
|
|
38
38
|
/**
|
|
39
39
|
* Returns whether an element is visible.
|
|
40
40
|
*
|
|
41
41
|
* @param {Element} element Element.
|
|
42
42
|
* @return {boolean} Whether the element is visible.
|
|
43
43
|
*/
|
|
44
|
-
export function isElementVisible(element: Element): boolean;
|
|
44
|
+
export declare function isElementVisible(element: Element): boolean;
|
|
45
|
+
export declare const WITH_OVERFLOW_ELEMENT_BLOCKS: string[];
|
|
45
46
|
/**
|
|
46
47
|
* Returns the bounding rectangle of an element, with special handling for blocks
|
|
47
48
|
* that have visible overflowing children (defined in WITH_OVERFLOW_ELEMENT_BLOCKS).
|
|
@@ -55,6 +56,5 @@ export function isElementVisible(element: Element): boolean;
|
|
|
55
56
|
* @param {Element} element Element.
|
|
56
57
|
* @return {DOMRect} Bounding client rect of the element and its visible children.
|
|
57
58
|
*/
|
|
58
|
-
export function getElementBounds(element: Element): DOMRect;
|
|
59
|
-
export const WITH_OVERFLOW_ELEMENT_BLOCKS: string[];
|
|
59
|
+
export declare function getElementBounds(element: Element): DOMRect;
|
|
60
60
|
//# sourceMappingURL=dom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/utils/dom.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,
|
|
1
|
+
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/utils/dom.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAE,CAAC,EALrB,OAKqB,EAAE,CAAC,EAJxB,OAIwB,GAFvB,OAAO,CAIlB;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAE,YAAY,EANpC,OAMoC,EAAE,OAAO,EAL7C,OAK6C,GAH5C,OAAO,CAQlB;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAE,IAAI,EAL3B,IAAI,OAKuB,GAH1B,MAAM,GAAC,SAAS,CAoB3B;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAE,KAAK,EAJrB,OAIqB,EAAE,KAAK,EAH5B,OAG4B,GAF3B,OAAO,CASlB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAE,OAAO,EAH9B,OAG8B,GAF7B,OAAO,CAsClB;AAkBD,eAAO,MAAM,4BAA4B,UAAwB,CAAC;AAClE;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAE,OAAO,EAH9B,OAG8B,GAF7B,OAAO,CAoDlB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-editor",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.19.1-next.v.202605131006.0+2a3d07cab",
|
|
4
4
|
"description": "Generic block editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -61,43 +61,43 @@
|
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@react-spring/web": "^9.4.5",
|
|
64
|
-
"@wordpress/a11y": "^4.45.0",
|
|
65
|
-
"@wordpress/base-styles": "^
|
|
66
|
-
"@wordpress/blob": "^4.45.0",
|
|
67
|
-
"@wordpress/block-serialization-default-parser": "^5.45.0",
|
|
68
|
-
"@wordpress/blocks": "^15.18.0",
|
|
69
|
-
"@wordpress/commands": "^1.45.0",
|
|
70
|
-
"@wordpress/components": "^33.
|
|
71
|
-
"@wordpress/compose": "^7.45.0",
|
|
72
|
-
"@wordpress/data": "^10.45.0",
|
|
73
|
-
"@wordpress/dataviews": "^14.2.0",
|
|
74
|
-
"@wordpress/date": "^5.45.0",
|
|
75
|
-
"@wordpress/deprecated": "^4.45.0",
|
|
76
|
-
"@wordpress/dom": "^4.45.0",
|
|
77
|
-
"@wordpress/element": "^6.45.0",
|
|
78
|
-
"@wordpress/escape-html": "^3.45.0",
|
|
79
|
-
"@wordpress/global-styles-engine": "^1.12.0",
|
|
80
|
-
"@wordpress/hooks": "^4.45.0",
|
|
81
|
-
"@wordpress/html-entities": "^4.45.0",
|
|
82
|
-
"@wordpress/i18n": "^6.18.0",
|
|
83
|
-
"@wordpress/icons": "^13.0.0",
|
|
84
|
-
"@wordpress/image-cropper": "^1.9.0",
|
|
85
|
-
"@wordpress/interactivity": "^6.45.0",
|
|
86
|
-
"@wordpress/is-shallow-equal": "^5.45.0",
|
|
87
|
-
"@wordpress/keyboard-shortcuts": "^5.45.0",
|
|
88
|
-
"@wordpress/keycodes": "^4.45.0",
|
|
89
|
-
"@wordpress/notices": "^5.45.0",
|
|
90
|
-
"@wordpress/preferences": "^4.45.0",
|
|
91
|
-
"@wordpress/priority-queue": "^3.45.0",
|
|
92
|
-
"@wordpress/private-apis": "^1.45.0",
|
|
93
|
-
"@wordpress/rich-text": "^7.45.0",
|
|
94
|
-
"@wordpress/style-engine": "^2.45.0",
|
|
95
|
-
"@wordpress/token-list": "^3.45.0",
|
|
96
|
-
"@wordpress/ui": "^0.
|
|
97
|
-
"@wordpress/upload-media": "^0.30.0",
|
|
98
|
-
"@wordpress/url": "^4.45.0",
|
|
99
|
-
"@wordpress/warning": "^3.45.0",
|
|
100
|
-
"@wordpress/wordcount": "^4.45.0",
|
|
64
|
+
"@wordpress/a11y": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
65
|
+
"@wordpress/base-styles": "^8.0.1-next.v.202605131006.0+2a3d07cab",
|
|
66
|
+
"@wordpress/blob": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
67
|
+
"@wordpress/block-serialization-default-parser": "^5.45.1-next.v.202605131006.0+2a3d07cab",
|
|
68
|
+
"@wordpress/blocks": "^15.18.1-next.v.202605131006.0+2a3d07cab",
|
|
69
|
+
"@wordpress/commands": "^1.45.1-next.v.202605131006.0+2a3d07cab",
|
|
70
|
+
"@wordpress/components": "^33.1.1-next.v.202605131006.0+2a3d07cab",
|
|
71
|
+
"@wordpress/compose": "^7.45.1-next.v.202605131006.0+2a3d07cab",
|
|
72
|
+
"@wordpress/data": "^10.45.1-next.v.202605131006.0+2a3d07cab",
|
|
73
|
+
"@wordpress/dataviews": "^14.2.1-next.v.202605131006.0+2a3d07cab",
|
|
74
|
+
"@wordpress/date": "^5.45.1-next.v.202605131006.0+2a3d07cab",
|
|
75
|
+
"@wordpress/deprecated": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
76
|
+
"@wordpress/dom": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
77
|
+
"@wordpress/element": "^6.45.1-next.v.202605131006.0+2a3d07cab",
|
|
78
|
+
"@wordpress/escape-html": "^3.45.1-next.v.202605131006.0+2a3d07cab",
|
|
79
|
+
"@wordpress/global-styles-engine": "^1.12.1-next.v.202605131006.0+2a3d07cab",
|
|
80
|
+
"@wordpress/hooks": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
81
|
+
"@wordpress/html-entities": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
82
|
+
"@wordpress/i18n": "^6.18.1-next.v.202605131006.0+2a3d07cab",
|
|
83
|
+
"@wordpress/icons": "^13.0.1-next.v.202605131006.0+2a3d07cab",
|
|
84
|
+
"@wordpress/image-cropper": "^1.9.1-next.v.202605131006.0+2a3d07cab",
|
|
85
|
+
"@wordpress/interactivity": "^6.45.1-next.v.202605131006.0+2a3d07cab",
|
|
86
|
+
"@wordpress/is-shallow-equal": "^5.45.1-next.v.202605131006.0+2a3d07cab",
|
|
87
|
+
"@wordpress/keyboard-shortcuts": "^5.45.1-next.v.202605131006.0+2a3d07cab",
|
|
88
|
+
"@wordpress/keycodes": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
89
|
+
"@wordpress/notices": "^5.45.1-next.v.202605131006.0+2a3d07cab",
|
|
90
|
+
"@wordpress/preferences": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
91
|
+
"@wordpress/priority-queue": "^3.45.1-next.v.202605131006.0+2a3d07cab",
|
|
92
|
+
"@wordpress/private-apis": "^1.45.1-next.v.202605131006.0+2a3d07cab",
|
|
93
|
+
"@wordpress/rich-text": "^7.45.1-next.v.202605131006.0+2a3d07cab",
|
|
94
|
+
"@wordpress/style-engine": "^2.45.1-next.v.202605131006.0+2a3d07cab",
|
|
95
|
+
"@wordpress/token-list": "^3.45.1-next.v.202605131006.0+2a3d07cab",
|
|
96
|
+
"@wordpress/ui": "^0.13.1-next.v.202605131006.0+2a3d07cab",
|
|
97
|
+
"@wordpress/upload-media": "^0.30.1-next.v.202605131006.0+2a3d07cab",
|
|
98
|
+
"@wordpress/url": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
99
|
+
"@wordpress/warning": "^3.45.1-next.v.202605131006.0+2a3d07cab",
|
|
100
|
+
"@wordpress/wordcount": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
101
101
|
"change-case": "^4.1.2",
|
|
102
102
|
"clsx": "^2.1.1",
|
|
103
103
|
"colord": "^2.7.0",
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
"publishConfig": {
|
|
125
125
|
"access": "public"
|
|
126
126
|
},
|
|
127
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "8804fa29bc78a1d98e5a4d40c3e180ddd907016c"
|
|
128
128
|
}
|
|
@@ -34,6 +34,7 @@ export default function BlockControlsFill( {
|
|
|
34
34
|
|
|
35
35
|
return (
|
|
36
36
|
<StyleProvider document={ document }>
|
|
37
|
+
{ /* eslint-disable-next-line react-hooks/static-components */ }
|
|
37
38
|
<Fill>
|
|
38
39
|
{ ( fillProps ) => {
|
|
39
40
|
// `fillProps.forwardedContext` is an array of context provider entries, provided by slot,
|
|
@@ -76,8 +76,10 @@ function InlineEditButton( {
|
|
|
76
76
|
onClick={ handleClick }
|
|
77
77
|
>
|
|
78
78
|
{ editedContentOnlySection
|
|
79
|
-
?
|
|
80
|
-
|
|
79
|
+
? /* translators: Button label to leave pattern editing mode. */
|
|
80
|
+
__( 'Exit pattern' )
|
|
81
|
+
: /* translators: Button label to enter pattern editing mode. */
|
|
82
|
+
__( 'Edit pattern' ) }
|
|
81
83
|
</Button>
|
|
82
84
|
</VStack>
|
|
83
85
|
);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use "@wordpress/base-styles/variables" as *;
|
|
2
2
|
@use "@wordpress/base-styles/colors" as *;
|
|
3
|
-
@use "@wordpress/base-styles/z-index" as *;
|
|
4
3
|
|
|
5
4
|
.block-editor-block-manager__no-results {
|
|
6
5
|
font-style: italic;
|
|
@@ -9,6 +8,7 @@
|
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
.block-editor-block-manager__category {
|
|
11
|
+
isolation: isolate;
|
|
12
12
|
margin: 0 0 $grid-unit-30 0;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
top: - $grid-unit-05; // Offsets the top padding on the modal content container
|
|
18
18
|
padding: $grid-unit-20 0;
|
|
19
19
|
background-color: $white;
|
|
20
|
-
|
|
20
|
+
// Make sure sticky category titles appear above the options.
|
|
21
|
+
z-index: 1;
|
|
21
22
|
|
|
22
23
|
.components-checkbox-control__label {
|
|
23
24
|
font-weight: 600;
|
|
@@ -58,7 +58,11 @@ export default function EditSectionButton( { clientId } ) {
|
|
|
58
58
|
return (
|
|
59
59
|
<ToolbarGroup>
|
|
60
60
|
<ToolbarButton onClick={ handleClick }>
|
|
61
|
-
{ isEditing
|
|
61
|
+
{ isEditing
|
|
62
|
+
? /* translators: Button label to leave pattern editing mode. */
|
|
63
|
+
__( 'Exit pattern' )
|
|
64
|
+
: /* translators: Button label to enter pattern editing mode. */
|
|
65
|
+
__( 'Edit pattern' ) }
|
|
62
66
|
</ToolbarButton>
|
|
63
67
|
</ToolbarGroup>
|
|
64
68
|
);
|
|
@@ -144,7 +144,7 @@ function VariationsToggleGroupControl( {
|
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
function
|
|
147
|
+
function BlockVariationTransforms( { blockClientId } ) {
|
|
148
148
|
const { updateBlockAttributes } = useDispatch( blockEditorStore );
|
|
149
149
|
const {
|
|
150
150
|
activeBlockVariation,
|
|
@@ -235,4 +235,4 @@ function __experimentalBlockVariationTransforms( { blockClientId } ) {
|
|
|
235
235
|
);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
export default
|
|
238
|
+
export default BlockVariationTransforms;
|
|
@@ -98,14 +98,14 @@ export default function ScaleTool( {
|
|
|
98
98
|
|
|
99
99
|
return (
|
|
100
100
|
<ToolsPanelItem
|
|
101
|
-
label={
|
|
101
|
+
label={ _x( 'Scale', 'Image scaling options' ) }
|
|
102
102
|
isShownByDefault={ isShownByDefault }
|
|
103
103
|
hasValue={ () => displayValue !== defaultValue }
|
|
104
104
|
onDeselect={ () => onChange( defaultValue ) }
|
|
105
105
|
panelId={ panelId }
|
|
106
106
|
>
|
|
107
107
|
<ToggleGroupControl
|
|
108
|
-
label={
|
|
108
|
+
label={ _x( 'Scale', 'Image scaling options' ) }
|
|
109
109
|
isBlock
|
|
110
110
|
help={ scaleHelp[ displayValue ] }
|
|
111
111
|
value={ displayValue }
|