@wordpress/editor 14.37.1-next.ba3aee3a2.0 → 14.38.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/components/collab-sidebar/index.cjs +6 -7
- package/build/components/collab-sidebar/index.cjs.map +2 -2
- package/build/components/post-locked-modal/index.cjs +14 -3
- package/build/components/post-locked-modal/index.cjs.map +2 -2
- package/build/store/actions.cjs +0 -3
- package/build/store/actions.cjs.map +2 -2
- package/build/store/selectors.cjs +1 -4
- package/build/store/selectors.cjs.map +2 -2
- package/build/utils/get-template-part-icon.cjs +1 -1
- package/build/utils/get-template-part-icon.cjs.map +2 -2
- package/build-module/components/collab-sidebar/index.mjs +6 -7
- package/build-module/components/collab-sidebar/index.mjs.map +2 -2
- package/build-module/components/post-locked-modal/index.mjs +14 -3
- package/build-module/components/post-locked-modal/index.mjs.map +2 -2
- package/build-module/store/actions.mjs +0 -3
- package/build-module/store/actions.mjs.map +2 -2
- package/build-module/store/selectors.mjs +1 -4
- package/build-module/store/selectors.mjs.map +2 -2
- package/build-module/utils/get-template-part-icon.mjs +1 -1
- package/build-module/utils/get-template-part-icon.mjs.map +2 -2
- package/build-style/style-rtl.css +13 -28
- package/build-style/style.css +13 -28
- package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
- package/build-types/components/header/back-button.d.ts +1 -1
- package/build-types/components/more-menu/tools-more-menu-group.d.ts +1 -1
- package/build-types/components/more-menu/view-more-menu-group.d.ts +1 -1
- package/build-types/components/plugin-document-setting-panel/index.d.ts +2 -2
- package/build-types/components/plugin-post-publish-panel/index.d.ts +2 -2
- package/build-types/components/plugin-post-status-info/index.d.ts +2 -2
- package/build-types/components/plugin-pre-publish-panel/index.d.ts +2 -2
- package/build-types/components/post-excerpt/plugin.d.ts +2 -2
- package/build-types/components/post-locked-modal/index.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-plugin-document-setting-panel.d.ts +2 -2
- package/build-types/components/save-publish-panels/index.d.ts +1 -1
- package/build-types/store/actions.d.ts.map +1 -1
- package/build-types/store/selectors.d.ts.map +1 -1
- package/package.json +40 -40
- package/src/components/collab-sidebar/index.js +6 -9
- package/src/components/post-locked-modal/index.js +14 -1
- package/src/store/actions.js +0 -5
- package/src/store/selectors.js +1 -12
- package/src/utils/get-template-part-icon.js +1 -1
package/build-style/style.css
CHANGED
|
@@ -1491,40 +1491,29 @@ button.font-library__upload-area {
|
|
|
1491
1491
|
--wpds-border-width-surface-md: 4px; /* Medium width for surfaces */
|
|
1492
1492
|
--wpds-border-width-surface-sm: 2px; /* Small width for surfaces */
|
|
1493
1493
|
--wpds-border-width-surface-xs: 1px; /* Extra small width for surfaces */
|
|
1494
|
-
--wpds-color-bg-interactive-brand: #00000000; /* Background color for interactive elements with brand tone and normal emphasis. */
|
|
1495
|
-
--wpds-color-bg-interactive-brand-active: #f6f8fd; /* Background color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
1496
|
-
--wpds-color-bg-interactive-brand-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
1497
1494
|
--wpds-color-bg-interactive-brand-strong: #3858e9; /* Background color for interactive elements with brand tone and strong emphasis. */
|
|
1498
1495
|
--wpds-color-bg-interactive-brand-strong-active: #2e49d9; /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
1499
|
-
--wpds-color-bg-interactive-brand-strong-disabled: #d2d2d2; /* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
1500
1496
|
--wpds-color-bg-interactive-brand-weak: #00000000; /* Background color for interactive elements with brand tone and weak emphasis. */
|
|
1501
1497
|
--wpds-color-bg-interactive-brand-weak-active: #e6eaf4; /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
|
|
1502
|
-
--wpds-color-bg-interactive-brand-weak-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
|
|
1503
1498
|
--wpds-color-bg-interactive-error: #00000000; /* Background color for interactive elements with error tone and normal emphasis. */
|
|
1504
1499
|
--wpds-color-bg-interactive-error-active: #fff6f4; /* Background color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
1505
|
-
--wpds-color-bg-interactive-error-disabled: #e2e2e2; /* Background color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
1506
1500
|
--wpds-color-bg-interactive-error-strong: #cc1818; /* Background color for interactive elements with error tone and strong emphasis. */
|
|
1507
1501
|
--wpds-color-bg-interactive-error-strong-active: #b90000; /* Background color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
1508
|
-
--wpds-color-bg-interactive-error-strong-disabled: #d2d2d2; /* Background color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
1509
1502
|
--wpds-color-bg-interactive-error-weak: #00000000; /* Background color for interactive elements with error tone and weak emphasis. */
|
|
1510
1503
|
--wpds-color-bg-interactive-error-weak-active: #f6e6e3; /* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
|
|
1511
|
-
--wpds-color-bg-interactive-error-weak-disabled: #e2e2e2; /* Background color for interactive elements with error tone and weak emphasis, in their disabled state. */
|
|
1512
|
-
--wpds-color-bg-interactive-neutral: #00000000; /* Background color for interactive elements with neutral tone and normal emphasis. */
|
|
1513
|
-
--wpds-color-bg-interactive-neutral-active: #eaeaea; /* Background color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
1514
|
-
--wpds-color-bg-interactive-neutral-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
|
|
1515
1504
|
--wpds-color-bg-interactive-neutral-strong: #2d2d2d; /* Background color for interactive elements with neutral tone and strong emphasis. */
|
|
1516
1505
|
--wpds-color-bg-interactive-neutral-strong-active: #1e1e1e; /* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
1517
|
-
--wpds-color-bg-interactive-neutral-strong-disabled: #
|
|
1506
|
+
--wpds-color-bg-interactive-neutral-strong-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
|
|
1518
1507
|
--wpds-color-bg-interactive-neutral-weak: #00000000; /* Background color for interactive elements with neutral tone and weak emphasis. */
|
|
1519
1508
|
--wpds-color-bg-interactive-neutral-weak-active: #eaeaea; /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
|
|
1520
|
-
--wpds-color-bg-interactive-neutral-weak-disabled: #
|
|
1509
|
+
--wpds-color-bg-interactive-neutral-weak-disabled: #00000000; /* Background color for interactive elements with weak emphasis, in their disabled state, regardless of the tone. */
|
|
1521
1510
|
--wpds-color-bg-surface-brand: #ecf0f9; /* Background color for surfaces with brand tone and normal emphasis. */
|
|
1522
1511
|
--wpds-color-bg-surface-caution: #fee994; /* Background color for surfaces with caution tone and normal emphasis. */
|
|
1523
1512
|
--wpds-color-bg-surface-caution-weak: #fff9c9; /* Background color for surfaces with caution tone and weak emphasis. */
|
|
1524
1513
|
--wpds-color-bg-surface-error: #f6e6e3; /* Background color for surfaces with error tone and normal emphasis. */
|
|
1525
1514
|
--wpds-color-bg-surface-error-weak: #fff6f4; /* Background color for surfaces with error tone and weak emphasis. */
|
|
1526
1515
|
--wpds-color-bg-surface-info: #deebfa; /* Background color for surfaces with info tone and normal emphasis. */
|
|
1527
|
-
--wpds-color-bg-surface-info-weak: #
|
|
1516
|
+
--wpds-color-bg-surface-info-weak: #f2f9ff; /* Background color for surfaces with info tone and weak emphasis. */
|
|
1528
1517
|
--wpds-color-bg-surface-neutral: #f8f8f8; /* Background color for surfaces with normal emphasis. */
|
|
1529
1518
|
--wpds-color-bg-surface-neutral-strong: #ffffff; /* Background color for surfaces with strong emphasis. */
|
|
1530
1519
|
--wpds-color-bg-surface-neutral-weak: #f0f0f0; /* Background color for surfaces with weak emphasis. */
|
|
@@ -1534,7 +1523,7 @@ button.font-library__upload-area {
|
|
|
1534
1523
|
--wpds-color-bg-surface-warning-weak: #fff7e0; /* Background color for surfaces with warning tone and weak emphasis. */
|
|
1535
1524
|
--wpds-color-bg-thumb-brand: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
|
|
1536
1525
|
--wpds-color-bg-thumb-brand-active: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
|
|
1537
|
-
--wpds-color-bg-thumb-
|
|
1526
|
+
--wpds-color-bg-thumb-neutral-disabled: #d8d8d8; /* Background color for thumbs with normal emphasis (eg. slider thumb and filled track), in their disabled state, regardless of the tone. */
|
|
1538
1527
|
--wpds-color-bg-thumb-neutral-weak: #8a8a8a; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
|
|
1539
1528
|
--wpds-color-bg-thumb-neutral-weak-active: #6c6c6c; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
|
|
1540
1529
|
--wpds-color-bg-track-neutral: #d8d8d8; /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
|
|
@@ -1553,24 +1542,20 @@ button.font-library__upload-area {
|
|
|
1553
1542
|
--wpds-color-fg-content-warning-weak: #926300; /* Foreground color for content like text with warning tone and weak emphasis. */
|
|
1554
1543
|
--wpds-color-fg-interactive-brand: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis. */
|
|
1555
1544
|
--wpds-color-fg-interactive-brand-active: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
1556
|
-
--wpds-color-fg-interactive-brand-disabled: #8a8a8a; /* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
1557
1545
|
--wpds-color-fg-interactive-brand-strong: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis. */
|
|
1558
1546
|
--wpds-color-fg-interactive-brand-strong-active: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
1559
|
-
--wpds-color-fg-interactive-brand-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
1560
1547
|
--wpds-color-fg-interactive-error: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis. */
|
|
1561
1548
|
--wpds-color-fg-interactive-error-active: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
1562
|
-
--wpds-color-fg-interactive-error-disabled: #8a8a8a; /* Foreground color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
1563
1549
|
--wpds-color-fg-interactive-error-strong: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis. */
|
|
1564
1550
|
--wpds-color-fg-interactive-error-strong-active: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
1565
|
-
--wpds-color-fg-interactive-error-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
1566
1551
|
--wpds-color-fg-interactive-neutral: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis. */
|
|
1567
1552
|
--wpds-color-fg-interactive-neutral-active: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
1568
|
-
--wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with
|
|
1553
|
+
--wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with normal emphasis, in their disabled state, regardless of the tone. */
|
|
1569
1554
|
--wpds-color-fg-interactive-neutral-strong: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis. */
|
|
1570
1555
|
--wpds-color-fg-interactive-neutral-strong-active: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
1571
|
-
--wpds-color-fg-interactive-neutral-strong-disabled: #
|
|
1556
|
+
--wpds-color-fg-interactive-neutral-strong-disabled: #8a8a8a; /* Foreground color for interactive elements with strong emphasis, in their disabled state, regardless of the tone. */
|
|
1572
1557
|
--wpds-color-fg-interactive-neutral-weak: #6d6d6d; /* Foreground color for interactive elements with neutral tone and weak emphasis. */
|
|
1573
|
-
--wpds-color-fg-interactive-neutral-weak-disabled: #8a8a8a; /* Foreground color for interactive elements with
|
|
1558
|
+
--wpds-color-fg-interactive-neutral-weak-disabled: #8a8a8a; /* Foreground color for interactive elements with weak emphasis, in their disabled state, regardless of the tone. */
|
|
1574
1559
|
--wpds-color-stroke-focus-brand: #3858e9; /* Accessible stroke color applied to focus rings. */
|
|
1575
1560
|
--wpds-color-stroke-interactive-brand: #3858e9; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
|
|
1576
1561
|
--wpds-color-stroke-interactive-brand-active: #2337c8; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
@@ -1579,7 +1564,7 @@ button.font-library__upload-area {
|
|
|
1579
1564
|
--wpds-color-stroke-interactive-error-strong: #cc1818; /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
|
|
1580
1565
|
--wpds-color-stroke-interactive-neutral: #8a8a8a; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
|
|
1581
1566
|
--wpds-color-stroke-interactive-neutral-active: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
1582
|
-
--wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive
|
|
1567
|
+
--wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive elements with normal emphasis, in their disabled state, regardless of the tone. */
|
|
1583
1568
|
--wpds-color-stroke-interactive-neutral-strong: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
|
|
1584
1569
|
--wpds-color-stroke-surface-brand: #a3b1d4; /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
|
|
1585
1570
|
--wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
|
|
@@ -1614,11 +1599,11 @@ button.font-library__upload-area {
|
|
|
1614
1599
|
0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005; /* For components that provide contextual feedback without being intrusive. Generally non-interruptive. Example: Tooltips, Snackbar. */
|
|
1615
1600
|
--wpds-elevation-x-small: 0 1px 1px 0 #00000008, 0 1px 2px 0 #00000005,
|
|
1616
1601
|
0 3px 3px 0 #00000005, 0 4px 4px 0 #00000003; /* For sections and containers that group related content and controls, which may overlap other content. Example: Preview Frame. */
|
|
1617
|
-
--wpds-font-family-body: -apple-system, system-ui,
|
|
1618
|
-
|
|
1619
|
-
--wpds-font-family-heading: -apple-system, system-ui,
|
|
1620
|
-
|
|
1621
|
-
--wpds-font-family-mono:
|
|
1602
|
+
--wpds-font-family-body: -apple-system, system-ui, 'Segoe UI', 'Roboto',
|
|
1603
|
+
'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; /* Body font family */
|
|
1604
|
+
--wpds-font-family-heading: -apple-system, system-ui, 'Segoe UI', 'Roboto',
|
|
1605
|
+
'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; /* Headings font family */
|
|
1606
|
+
--wpds-font-family-mono: 'Menlo', 'Consolas', monaco, monospace; /* Monospace font family */
|
|
1622
1607
|
--wpds-font-line-height-2xl: 40px; /* 2X large line height */
|
|
1623
1608
|
--wpds-font-line-height-lg: 28px; /* Large line height */
|
|
1624
1609
|
--wpds-font-line-height-md: 24px; /* Medium line height */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAoOA,oFAuBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export function useHasBackButton(): boolean;
|
|
2
2
|
export default BackButton;
|
|
3
3
|
declare const BackButton: {
|
|
4
|
-
(props: Omit<import("@wordpress/components
|
|
4
|
+
(props: Omit<import("@wordpress/components").FillComponentProps, "name">): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=back-button.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default ToolsMoreMenuGroup;
|
|
2
2
|
declare const ToolsMoreMenuGroup: {
|
|
3
|
-
(props: Omit<import("@wordpress/components
|
|
3
|
+
(props: Omit<import("@wordpress/components").FillComponentProps, "name">): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=tools-more-menu-group.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default ViewMoreMenuGroup;
|
|
2
2
|
declare const ViewMoreMenuGroup: {
|
|
3
|
-
(props: Omit<import("@wordpress/components
|
|
3
|
+
(props: Omit<import("@wordpress/components").FillComponentProps, "name">): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=view-more-menu-group.d.ts.map
|
|
@@ -62,8 +62,8 @@ declare namespace PluginDocumentSettingPanel {
|
|
|
62
62
|
export { Slot };
|
|
63
63
|
}
|
|
64
64
|
declare const Slot: {
|
|
65
|
-
(props: import("@wordpress/components
|
|
65
|
+
(props: import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name">): import("react").JSX.Element;
|
|
66
66
|
displayName: string;
|
|
67
|
-
__unstableName: import("@wordpress/components
|
|
67
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
68
68
|
};
|
|
69
69
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -40,8 +40,8 @@ declare namespace PluginPostPublishPanel {
|
|
|
40
40
|
export { Slot };
|
|
41
41
|
}
|
|
42
42
|
declare const Slot: {
|
|
43
|
-
(props: import("@wordpress/components
|
|
43
|
+
(props: import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name">): import("react").JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
|
-
__unstableName: import("@wordpress/components
|
|
45
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
46
46
|
};
|
|
47
47
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -50,8 +50,8 @@ declare namespace PluginPostStatusInfo {
|
|
|
50
50
|
export { Slot };
|
|
51
51
|
}
|
|
52
52
|
declare const Slot: {
|
|
53
|
-
(props: import("@wordpress/components
|
|
53
|
+
(props: import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name">): import("react").JSX.Element;
|
|
54
54
|
displayName: string;
|
|
55
|
-
__unstableName: import("@wordpress/components
|
|
55
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
56
56
|
};
|
|
57
57
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -43,8 +43,8 @@ declare namespace PluginPrePublishPanel {
|
|
|
43
43
|
export { Slot };
|
|
44
44
|
}
|
|
45
45
|
declare const Slot: {
|
|
46
|
-
(props: import("@wordpress/components
|
|
46
|
+
(props: import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name">): import("react").JSX.Element;
|
|
47
47
|
displayName: string;
|
|
48
|
-
__unstableName: import("@wordpress/components
|
|
48
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
49
49
|
};
|
|
50
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -46,8 +46,8 @@ declare namespace PluginPostExcerpt {
|
|
|
46
46
|
export { Slot };
|
|
47
47
|
}
|
|
48
48
|
declare const Slot: {
|
|
49
|
-
(props: import("@wordpress/components
|
|
49
|
+
(props: import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name">): import("react").JSX.Element;
|
|
50
50
|
displayName: string;
|
|
51
|
-
__unstableName: import("@wordpress/components
|
|
51
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
52
52
|
};
|
|
53
53
|
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-locked-modal/index.js"],"names":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-locked-modal/index.js"],"names":[],"mappings":";;;;;;;;wJAuDG,CAAD;4BACgC,CAAC;;;;;;6BAKT,CAAC;yBAOP,CAAC;+BAGT,CAAC;0BAEQ,CAAA,2DAEZ,CAAC;0BACO,CAAA;iCAII,CAAC;iCAElB,CAAF;wCAKsD,CAAA;2BAE9B,CAAC;kCAGE,CAAC;;;;;;;wJAgBG,CAAC;4BAGlB,CAAC;;;;;;6BAaK,CAAC;yBAEc,CAAC;+BAEF,CAAA;0BAGZ,CAAC,2DAEjB,CAAC;0BACL,CAAC;iCAA2C,CAAC;iCAK3C,CAAC;wCACoC,CAAC;2BACO,CAAC;kCAEP,CAAC;;;;;AAxH9C,uEAuQC"}
|
|
@@ -7,8 +7,8 @@ declare namespace EnablePluginDocumentSettingPanelOption {
|
|
|
7
7
|
export { Slot };
|
|
8
8
|
}
|
|
9
9
|
declare const Slot: {
|
|
10
|
-
(props: import("@wordpress/components
|
|
10
|
+
(props: import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name">): import("react").JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
|
-
__unstableName: import("@wordpress/components
|
|
12
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=enable-plugin-document-setting-panel.d.ts.map
|
|
@@ -5,7 +5,7 @@ export default function SavePublishPanels({ setEntitiesSavedStatesCallback, clos
|
|
|
5
5
|
forceIsDirtyPublishPanel: any;
|
|
6
6
|
}): import("react").JSX.Element;
|
|
7
7
|
export const ActionsPanelFill: {
|
|
8
|
-
(props: Omit<import("@wordpress/components
|
|
8
|
+
(props: Omit<import("@wordpress/components").FillComponentProps, "name">): import("react").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/store/actions.js"],"names":[],"mappings":"AAyEA;;;;;;;GAOG;AACH,gDAFY,MAAM,CAUjB;AAED;;;;;GAKG;AACH;;EAOC;AAED;;;;;;GAMG;AACH,8BAHY,MAAM,CAWjB;AAED;;;;;;GAMG;AACH,uCAFW,MAAM,UAQhB;AAED;;;;;;;GAOG;AACH,wCALW,MAAM,UACN,MAAM,GAEL,MAAM,CAQjB;AA6PD;;;;GAIG;AACH;;EAOC;
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/store/actions.js"],"names":[],"mappings":"AAyEA;;;;;;;GAOG;AACH,gDAFY,MAAM,CAUjB;AAED;;;;;GAKG;AACH;;EAOC;AAED;;;;;;GAMG;AACH,8BAHY,MAAM,CAWjB;AAED;;;;;;GAMG;AACH,uCAFW,MAAM,UAQhB;AAED;;;;;;;GAOG;AACH,wCALW,MAAM,UACN,MAAM,GAEL,MAAM,CAQjB;AA6PD;;;;GAIG;AACH;;EAOC;AAwGD;;;;GAIG;AACH;;EAOC;AAED;;;;;GAKG;AACH,qCAHW,MAAM,GACL,MAAM,CAOjB;AAwBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,yCAxCW,MAAM,GAsCL,MAAM,CAOjB;AAED;;;;;;;;;;;;GAYG;AACH,2CAVW,MAAM,GAQL,MAAM,CAOjB;AAED;;;;;;;;;;;;GAYG;AACH,6CAVW,MAAM,GAQL,MAAM,CAOjB;AAED;;;;;;;;;;;;GAYG;AACH,+CAVW,MAAM,GAQL,MAAM,CAOjB;AA6CD;;;EAKC;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D,kDACE;;CAAY,UAQb;AATD,8CACE;;CAAY,UAQb;AATD,qDACE;;CAAY,UAQb;AATD,kDACE;;CAAY,UAQb;AATD,gDACE;;CAAY,UAQb;AATD,+CACE;;CAAY,UAQb;AATD,iDACE;;CAAY,UAQb;AATD,+CACE;;CAAY,UAQb;AATD,sDACE;;CAAY,UAQb;AATD,8CACE;;CAAY,UAQb;AATD,+CACE;;CAAY,UAQb;AATD,qDACE;;CAAY,UAQb;AATD,qDACE;;CAAY,UAQb;AATD,sDACE;;CAAY,UAQb;AATD,sDACE;;CAAY,UAQb;AATD,8CACE;;CAAY,UAQb;AATD,+CACE;;CAAY,UAQb;AATD,8CACE;;CAAY,UAQb;AATD,kDACE;;CAAY,UAQb;AATD,8CACE;;CAAY,UAQb;AATD,6CACE;;CAAY,UAQb;AATD,qDACE;;CAAY,UAQb;AATD,oDACE;;CAAY,UAQb;AATD,qDACE;;CAAY,UAQb;AATD,0DACE;;CAAY,UAQb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.js"],"names":[],"mappings":"AAgEA;;;;;;;GAOG;AACH,uCAJW,MAAM,GAEL,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,OAAO,CAKlB;AA+CD;;;;;;;GAOG;AACH,sCAJW,MAAM,GAEL,OAAO,CAIlB;AAgCD;;;;;;;;;;;GAWG;AACH,0CATW,MAAM,GAOL,MAAM,CAIjB;AAED;;;;;;;GAOG;AACH,wCAJW,MAAM,GAEJ,CAAC,MAAM,GAAC,MAAM,CAAC,OAAA,CAI3B;AAED;;;;;;GAMG;AACH,4CAJW,MAAM,GAEJ,MAAM,OAAA,CAIlB;AAED;;;;;;GAMG;AACH,oDAJW,MAAM,GAEL,MAAM,CAMjB;AAED;;;;;;;GAOG;AACH,oDAJW,MAAM,GAEJ,MAAM,OAAA,CAOlB;AAsBD;;;;;;;GAOG;AACH,+CALW,MA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AACH;;;;EAEE;AAEF;;GAEG;AACH;;;;EAA2E;AAE3E;;GAEG;AACH;;;;EAAmE;AAEnE;;GAEG;AACH;;;;EAA2E;AAE3E;;GAEG;AACH;;;;EACgD;AAEhD;;GAEG;AACH;;;;EAA6E;AAE7E;;GAEG;AACH;;;;EAA6E;AAE7E;;GAEG;AACH;;;;EAEE;AAEF;;;;EAYE;AAEF;;;;;;GAMG;AACH;;;;EAoBE;AAEF;;;;;;;GAOG;AACH;;;;EAsBE;AAEF;;;;;;;GAOG;AACH;;;;EAuBE;AAEF;;;;;;GAMG;AACH;;;;EAME;;;;;;;;cApmBY,MAAM;;;;kBACN,MAAM;;;;;YACN,MAAM"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/editor",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.38.0",
|
|
4
4
|
"description": "Enhanced block editor for WordPress posts.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -61,44 +61,44 @@
|
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@floating-ui/react-dom": "2.0.8",
|
|
64
|
-
"@wordpress/a11y": "^4.
|
|
65
|
-
"@wordpress/api-fetch": "^7.
|
|
66
|
-
"@wordpress/base-styles": "^6.
|
|
67
|
-
"@wordpress/blob": "^4.
|
|
68
|
-
"@wordpress/block-editor": "^15.
|
|
69
|
-
"@wordpress/blocks": "^15.
|
|
70
|
-
"@wordpress/commands": "^1.
|
|
71
|
-
"@wordpress/components": "^32.0.
|
|
72
|
-
"@wordpress/compose": "^7.
|
|
73
|
-
"@wordpress/core-data": "^7.
|
|
74
|
-
"@wordpress/data": "^10.
|
|
75
|
-
"@wordpress/dataviews": "^11.2.
|
|
76
|
-
"@wordpress/date": "^5.
|
|
77
|
-
"@wordpress/deprecated": "^4.
|
|
78
|
-
"@wordpress/dom": "^4.
|
|
79
|
-
"@wordpress/element": "^6.
|
|
80
|
-
"@wordpress/fields": "^0.
|
|
81
|
-
"@wordpress/global-styles-engine": "^1.
|
|
82
|
-
"@wordpress/global-styles-ui": "^1.
|
|
83
|
-
"@wordpress/hooks": "^4.
|
|
84
|
-
"@wordpress/html-entities": "^4.
|
|
85
|
-
"@wordpress/i18n": "^6.
|
|
86
|
-
"@wordpress/icons": "^11.
|
|
87
|
-
"@wordpress/interface": "^9.
|
|
88
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
89
|
-
"@wordpress/keycodes": "^4.38.
|
|
90
|
-
"@wordpress/media-utils": "^5.
|
|
91
|
-
"@wordpress/notices": "^5.
|
|
92
|
-
"@wordpress/patterns": "^2.
|
|
93
|
-
"@wordpress/plugins": "^7.
|
|
94
|
-
"@wordpress/preferences": "^4.
|
|
95
|
-
"@wordpress/private-apis": "^1.
|
|
96
|
-
"@wordpress/reusable-blocks": "^5.
|
|
97
|
-
"@wordpress/rich-text": "^7.
|
|
98
|
-
"@wordpress/server-side-render": "^6.
|
|
99
|
-
"@wordpress/url": "^4.
|
|
100
|
-
"@wordpress/warning": "^3.
|
|
101
|
-
"@wordpress/wordcount": "^4.
|
|
64
|
+
"@wordpress/a11y": "^4.38.0",
|
|
65
|
+
"@wordpress/api-fetch": "^7.38.0",
|
|
66
|
+
"@wordpress/base-styles": "^6.14.0",
|
|
67
|
+
"@wordpress/blob": "^4.38.0",
|
|
68
|
+
"@wordpress/block-editor": "^15.11.0",
|
|
69
|
+
"@wordpress/blocks": "^15.11.0",
|
|
70
|
+
"@wordpress/commands": "^1.38.0",
|
|
71
|
+
"@wordpress/components": "^32.0.0",
|
|
72
|
+
"@wordpress/compose": "^7.38.0",
|
|
73
|
+
"@wordpress/core-data": "^7.38.0",
|
|
74
|
+
"@wordpress/data": "^10.38.0",
|
|
75
|
+
"@wordpress/dataviews": "^11.2.0",
|
|
76
|
+
"@wordpress/date": "^5.38.0",
|
|
77
|
+
"@wordpress/deprecated": "^4.38.0",
|
|
78
|
+
"@wordpress/dom": "^4.38.0",
|
|
79
|
+
"@wordpress/element": "^6.38.0",
|
|
80
|
+
"@wordpress/fields": "^0.30.0",
|
|
81
|
+
"@wordpress/global-styles-engine": "^1.5.0",
|
|
82
|
+
"@wordpress/global-styles-ui": "^1.5.0",
|
|
83
|
+
"@wordpress/hooks": "^4.38.0",
|
|
84
|
+
"@wordpress/html-entities": "^4.38.0",
|
|
85
|
+
"@wordpress/i18n": "^6.11.0",
|
|
86
|
+
"@wordpress/icons": "^11.5.0",
|
|
87
|
+
"@wordpress/interface": "^9.23.0",
|
|
88
|
+
"@wordpress/keyboard-shortcuts": "^5.38.0",
|
|
89
|
+
"@wordpress/keycodes": "^4.38.0",
|
|
90
|
+
"@wordpress/media-utils": "^5.38.0",
|
|
91
|
+
"@wordpress/notices": "^5.38.0",
|
|
92
|
+
"@wordpress/patterns": "^2.38.0",
|
|
93
|
+
"@wordpress/plugins": "^7.38.0",
|
|
94
|
+
"@wordpress/preferences": "^4.38.0",
|
|
95
|
+
"@wordpress/private-apis": "^1.38.0",
|
|
96
|
+
"@wordpress/reusable-blocks": "^5.38.0",
|
|
97
|
+
"@wordpress/rich-text": "^7.38.0",
|
|
98
|
+
"@wordpress/server-side-render": "^6.14.0",
|
|
99
|
+
"@wordpress/url": "^4.38.0",
|
|
100
|
+
"@wordpress/warning": "^3.38.0",
|
|
101
|
+
"@wordpress/wordcount": "^4.38.0",
|
|
102
102
|
"change-case": "^4.1.2",
|
|
103
103
|
"client-zip": "^2.4.5",
|
|
104
104
|
"clsx": "^2.1.1",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"publishConfig": {
|
|
120
120
|
"access": "public"
|
|
121
121
|
},
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "50c4c0f51e4797c217946ce42adfaa5eb026f33f"
|
|
123
123
|
}
|
|
@@ -80,7 +80,7 @@ function NotesSidebarContent( {
|
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
function NotesSidebar( { postId
|
|
83
|
+
function NotesSidebar( { postId } ) {
|
|
84
84
|
// Enum: 'closed' | 'creating' | 'open'
|
|
85
85
|
const [ newNoteFormState, setNewNoteFormState ] = useState( 'closed' );
|
|
86
86
|
const { getActiveComplementaryArea } = useSelect( interfaceStore );
|
|
@@ -89,7 +89,7 @@ function NotesSidebar( { postId, mode } ) {
|
|
|
89
89
|
const isLargeViewport = useViewportMatch( 'medium' );
|
|
90
90
|
const commentSidebarRef = useRef( null );
|
|
91
91
|
|
|
92
|
-
const showFloatingSidebar = isLargeViewport
|
|
92
|
+
const showFloatingSidebar = isLargeViewport;
|
|
93
93
|
|
|
94
94
|
const { clientId, blockCommentId, isDistractionFree } = useSelect(
|
|
95
95
|
( select ) => {
|
|
@@ -130,8 +130,7 @@ function NotesSidebar( { postId, mode } ) {
|
|
|
130
130
|
const currentThread = blockCommentId
|
|
131
131
|
? resultComments.find( ( thread ) => thread.id === blockCommentId )
|
|
132
132
|
: null;
|
|
133
|
-
const showAllNotesSidebar =
|
|
134
|
-
resultComments.length > 0 || ! showFloatingSidebar;
|
|
133
|
+
const showAllNotesSidebar = resultComments.length > 0;
|
|
135
134
|
|
|
136
135
|
async function openTheSidebar() {
|
|
137
136
|
const prevArea = await getActiveComplementaryArea( 'core' );
|
|
@@ -228,12 +227,10 @@ function NotesSidebar( { postId, mode } ) {
|
|
|
228
227
|
}
|
|
229
228
|
|
|
230
229
|
export default function NotesSidebarContainer() {
|
|
231
|
-
const { postId,
|
|
232
|
-
const { getCurrentPostId,
|
|
233
|
-
select( editorStore );
|
|
230
|
+
const { postId, editorMode } = useSelect( ( select ) => {
|
|
231
|
+
const { getCurrentPostId, getEditorMode } = select( editorStore );
|
|
234
232
|
return {
|
|
235
233
|
postId: getCurrentPostId(),
|
|
236
|
-
mode: getRenderingMode(),
|
|
237
234
|
editorMode: getEditorMode(),
|
|
238
235
|
};
|
|
239
236
|
}, [] );
|
|
@@ -249,7 +246,7 @@ export default function NotesSidebarContainer() {
|
|
|
249
246
|
|
|
250
247
|
return (
|
|
251
248
|
<PostTypeSupportCheck supportKeys="editor.notes">
|
|
252
|
-
<NotesSidebar postId={ postId }
|
|
249
|
+
<NotesSidebar postId={ postId } />
|
|
253
250
|
</PostTypeSupportCheck>
|
|
254
251
|
);
|
|
255
252
|
}
|
|
@@ -34,18 +34,21 @@ function PostLockedModal() {
|
|
|
34
34
|
activePostLock,
|
|
35
35
|
postType,
|
|
36
36
|
previewLink,
|
|
37
|
+
supportsSync,
|
|
37
38
|
} = useSelect( ( select ) => {
|
|
38
39
|
const {
|
|
39
40
|
isPostLocked,
|
|
40
41
|
isPostLockTakeover,
|
|
41
42
|
getPostLockUser,
|
|
42
43
|
getCurrentPostId,
|
|
44
|
+
getCurrentPostType,
|
|
43
45
|
getActivePostLock,
|
|
44
46
|
getEditedPostAttribute,
|
|
45
47
|
getEditedPostPreviewLink,
|
|
46
48
|
getEditorSettings,
|
|
47
49
|
} = select( editorStore );
|
|
48
|
-
const { getPostType } = select( coreStore );
|
|
50
|
+
const { getPostType, getEntityConfig } = select( coreStore );
|
|
51
|
+
const currentPostType = getCurrentPostType();
|
|
49
52
|
return {
|
|
50
53
|
isLocked: isPostLocked(),
|
|
51
54
|
isTakeover: isPostLockTakeover(),
|
|
@@ -55,6 +58,9 @@ function PostLockedModal() {
|
|
|
55
58
|
activePostLock: getActivePostLock(),
|
|
56
59
|
postType: getPostType( getEditedPostAttribute( 'type' ) ),
|
|
57
60
|
previewLink: getEditedPostPreviewLink(),
|
|
61
|
+
supportsSync: Boolean(
|
|
62
|
+
getEntityConfig( 'postType', currentPostType )?.syncConfig
|
|
63
|
+
),
|
|
58
64
|
};
|
|
59
65
|
}, [] );
|
|
60
66
|
|
|
@@ -148,6 +154,13 @@ function PostLockedModal() {
|
|
|
148
154
|
return null;
|
|
149
155
|
}
|
|
150
156
|
|
|
157
|
+
// Avoid sending the modal if sync is supported, but retain functionality around locks etc.
|
|
158
|
+
if ( supportsSync ) {
|
|
159
|
+
if ( globalThis.IS_GUTENBERG_PLUGIN ) {
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
151
164
|
const userDisplayName = user.name;
|
|
152
165
|
const userAvatar = user.avatar;
|
|
153
166
|
|
package/src/store/actions.js
CHANGED
|
@@ -462,11 +462,6 @@ export const autosave =
|
|
|
462
462
|
async ( { select, dispatch } ) => {
|
|
463
463
|
const post = select.getCurrentPost();
|
|
464
464
|
|
|
465
|
-
// Currently template autosaving is not supported.
|
|
466
|
-
if ( post.type === 'wp_template' ) {
|
|
467
|
-
return;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
465
|
if ( local ) {
|
|
471
466
|
const isPostNew = select.isEditedPostNew();
|
|
472
467
|
const title = select.getEditedPostAttribute( 'title' );
|
package/src/store/selectors.js
CHANGED
|
@@ -389,12 +389,6 @@ export const getAutosaveAttribute = createRegistrySelector(
|
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
const postType = getCurrentPostType( state );
|
|
392
|
-
|
|
393
|
-
// Currently template autosaving is not supported.
|
|
394
|
-
if ( postType === 'wp_template' ) {
|
|
395
|
-
return false;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
392
|
const postId = getCurrentPostId( state );
|
|
399
393
|
const currentUserId = select( coreStore ).getCurrentUser()?.id;
|
|
400
394
|
const autosave = select( coreStore ).getAutosave(
|
|
@@ -616,12 +610,7 @@ export const isEditedPostAutosaveable = createRegistrySelector(
|
|
|
616
610
|
const postType = getCurrentPostType( state );
|
|
617
611
|
const postTypeObject = select( coreStore ).getPostType( postType );
|
|
618
612
|
|
|
619
|
-
|
|
620
|
-
// @todo: Remove hardcode check for template after bumping required WP version to 6.8.
|
|
621
|
-
if (
|
|
622
|
-
postType === 'wp_template' ||
|
|
623
|
-
! postTypeObject?.supports?.autosave
|
|
624
|
-
) {
|
|
613
|
+
if ( ! postTypeObject?.supports?.autosave ) {
|
|
625
614
|
return false;
|
|
626
615
|
}
|
|
627
616
|
|
|
@@ -24,7 +24,7 @@ export function getTemplatePartIcon( areaOrIconName ) {
|
|
|
24
24
|
return footerIcon;
|
|
25
25
|
} else if ( 'sidebar' === areaOrIconName ) {
|
|
26
26
|
return sidebarIcon;
|
|
27
|
-
} else if ( '
|
|
27
|
+
} else if ( 'overlay' === areaOrIconName ) {
|
|
28
28
|
// TODO: Replace with a proper overlay icon when available.
|
|
29
29
|
// Using tableColumnAfter as a placeholder.
|
|
30
30
|
return overlayIcon;
|