@wordpress/interface 9.21.1-next.8fd3f8831.0 → 9.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/build/components/action-item/{index.cjs → index.js} +1 -1
- package/build/components/complementary-area/{index.cjs → index.js} +7 -7
- package/build/components/complementary-area-header/{index.cjs → index.js} +3 -3
- package/build/components/complementary-area-more-menu-item/{index.cjs → index.js} +3 -3
- package/build/components/complementary-area-toggle/{index.cjs → index.js} +2 -2
- package/build/components/fullscreen-mode/{index.cjs → index.js} +1 -1
- package/build/components/{index.cjs → index.js} +7 -7
- package/build/components/interface-skeleton/{index.cjs → index.js} +2 -2
- package/build/components/pinned-items/{index.cjs → index.js} +2 -2
- package/build/{index.cjs → index.js} +4 -4
- package/build/{index.cjs.map → index.js.map} +1 -1
- package/build/store/{actions.cjs → actions.js} +3 -3
- package/build/store/{constants.cjs → constants.js} +1 -1
- package/build/store/{deprecated.cjs → deprecated.js} +2 -2
- package/build/store/{index.cjs → index.js} +5 -5
- package/build/store/{reducer.cjs → reducer.js} +1 -1
- package/build/store/{selectors.cjs → selectors.js} +3 -3
- package/build-module/components/complementary-area/index.js +5 -5
- package/build-module/components/complementary-area-header/index.js +1 -1
- package/build-module/components/complementary-area-more-menu-item/index.js +2 -2
- package/build-module/components/complementary-area-toggle/index.js +1 -1
- package/build-module/components/index.js +6 -6
- package/build-module/index.js +2 -2
- package/build-module/store/actions.js +1 -1
- package/build-module/store/index.js +4 -4
- package/build-module/store/selectors.js +1 -1
- package/build-style/style-rtl.css +0 -8
- package/build-style/style.css +0 -8
- package/package.json +18 -27
- /package/build/components/action-item/{index.cjs.map → index.js.map} +0 -0
- /package/build/components/complementary-area/{index.cjs.map → index.js.map} +0 -0
- /package/build/components/complementary-area-header/{index.cjs.map → index.js.map} +0 -0
- /package/build/components/complementary-area-more-menu-item/{index.cjs.map → index.js.map} +0 -0
- /package/build/components/complementary-area-toggle/{index.cjs.map → index.js.map} +0 -0
- /package/build/components/fullscreen-mode/{index.cjs.map → index.js.map} +0 -0
- /package/build/components/{index.cjs.map → index.js.map} +0 -0
- /package/build/components/interface-skeleton/{index.cjs.map → index.js.map} +0 -0
- /package/build/components/pinned-items/{index.cjs.map → index.js.map} +0 -0
- /package/build/store/{actions.cjs.map → actions.js.map} +0 -0
- /package/build/store/{constants.cjs.map → constants.js.map} +0 -0
- /package/build/store/{deprecated.cjs.map → deprecated.js.map} +0 -0
- /package/build/store/{index.cjs.map → index.js.map} +0 -0
- /package/build/store/{reducer.cjs.map → reducer.js.map} +0 -0
- /package/build/store/{selectors.cjs.map → selectors.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -32,7 +32,7 @@ __export(complementary_area_exports, {
|
|
|
32
32
|
default: () => complementary_area_default
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(complementary_area_exports);
|
|
35
|
-
var import_clsx = __toESM(require("clsx")
|
|
35
|
+
var import_clsx = __toESM(require("clsx"));
|
|
36
36
|
var import_components = require("@wordpress/components");
|
|
37
37
|
var import_data = require("@wordpress/data");
|
|
38
38
|
var import_i18n = require("@wordpress/i18n");
|
|
@@ -42,11 +42,11 @@ var import_viewport = require("@wordpress/viewport");
|
|
|
42
42
|
var import_preferences = require("@wordpress/preferences");
|
|
43
43
|
var import_compose = require("@wordpress/compose");
|
|
44
44
|
var import_plugins = require("@wordpress/plugins");
|
|
45
|
-
var import_complementary_area_header = __toESM(require("../complementary-area-header
|
|
46
|
-
var import_complementary_area_more_menu_item = __toESM(require("../complementary-area-more-menu-item
|
|
47
|
-
var import_complementary_area_toggle = __toESM(require("../complementary-area-toggle
|
|
48
|
-
var import_pinned_items = __toESM(require("../pinned-items
|
|
49
|
-
var import_store = require("../../store
|
|
45
|
+
var import_complementary_area_header = __toESM(require("../complementary-area-header"));
|
|
46
|
+
var import_complementary_area_more_menu_item = __toESM(require("../complementary-area-more-menu-item"));
|
|
47
|
+
var import_complementary_area_toggle = __toESM(require("../complementary-area-toggle"));
|
|
48
|
+
var import_pinned_items = __toESM(require("../pinned-items"));
|
|
49
|
+
var import_store = require("../../store");
|
|
50
50
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
51
51
|
var ANIMATION_DURATION = 0.3;
|
|
52
52
|
function ComplementaryAreaSlot({ scope, ...props }) {
|
|
@@ -298,4 +298,4 @@ function ComplementaryArea({
|
|
|
298
298
|
}
|
|
299
299
|
ComplementaryArea.Slot = ComplementaryAreaSlot;
|
|
300
300
|
var complementary_area_default = ComplementaryArea;
|
|
301
|
-
//# sourceMappingURL=index.
|
|
301
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -32,9 +32,9 @@ __export(complementary_area_header_exports, {
|
|
|
32
32
|
default: () => complementary_area_header_default
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(complementary_area_header_exports);
|
|
35
|
-
var import_clsx = __toESM(require("clsx")
|
|
35
|
+
var import_clsx = __toESM(require("clsx"));
|
|
36
36
|
var import_icons = require("@wordpress/icons");
|
|
37
|
-
var import_complementary_area_toggle = __toESM(require("../complementary-area-toggle
|
|
37
|
+
var import_complementary_area_toggle = __toESM(require("../complementary-area-toggle"));
|
|
38
38
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
39
39
|
var ComplementaryAreaHeader = ({
|
|
40
40
|
children,
|
|
@@ -59,4 +59,4 @@ var ComplementaryAreaHeader = ({
|
|
|
59
59
|
);
|
|
60
60
|
};
|
|
61
61
|
var complementary_area_header_default = ComplementaryAreaHeader;
|
|
62
|
-
//# sourceMappingURL=index.
|
|
62
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -34,8 +34,8 @@ __export(complementary_area_more_menu_item_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(complementary_area_more_menu_item_exports);
|
|
35
35
|
var import_icons = require("@wordpress/icons");
|
|
36
36
|
var import_components = require("@wordpress/components");
|
|
37
|
-
var import_complementary_area_toggle = __toESM(require("../complementary-area-toggle
|
|
38
|
-
var import_action_item = __toESM(require("../action-item
|
|
37
|
+
var import_complementary_area_toggle = __toESM(require("../complementary-area-toggle"));
|
|
38
|
+
var import_action_item = __toESM(require("../action-item"));
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
40
|
var PluginsMenuItem = ({
|
|
41
41
|
// Menu item is marked with unstable prop for backward compatibility.
|
|
@@ -74,4 +74,4 @@ function ComplementaryAreaMoreMenuItem({
|
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
|
-
//# sourceMappingURL=index.
|
|
77
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -25,7 +25,7 @@ module.exports = __toCommonJS(complementary_area_toggle_exports);
|
|
|
25
25
|
var import_components = require("@wordpress/components");
|
|
26
26
|
var import_data = require("@wordpress/data");
|
|
27
27
|
var import_plugins = require("@wordpress/plugins");
|
|
28
|
-
var import_store = require("../../store
|
|
28
|
+
var import_store = require("../../store");
|
|
29
29
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
30
|
function roleSupportsCheckedState(role) {
|
|
31
31
|
return [
|
|
@@ -75,4 +75,4 @@ function ComplementaryAreaToggle({
|
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
77
|
}
|
|
78
|
-
//# sourceMappingURL=index.
|
|
78
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -37,12 +37,12 @@ __export(components_exports, {
|
|
|
37
37
|
PinnedItems: () => import_pinned_items.default
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(components_exports);
|
|
40
|
-
var import_complementary_area = __toESM(require("./complementary-area
|
|
41
|
-
var import_complementary_area_more_menu_item = __toESM(require("./complementary-area-more-menu-item
|
|
42
|
-
var import_fullscreen_mode = __toESM(require("./fullscreen-mode
|
|
43
|
-
var import_interface_skeleton = __toESM(require("./interface-skeleton
|
|
44
|
-
var import_pinned_items = __toESM(require("./pinned-items
|
|
45
|
-
var import_action_item = __toESM(require("./action-item
|
|
40
|
+
var import_complementary_area = __toESM(require("./complementary-area"));
|
|
41
|
+
var import_complementary_area_more_menu_item = __toESM(require("./complementary-area-more-menu-item"));
|
|
42
|
+
var import_fullscreen_mode = __toESM(require("./fullscreen-mode"));
|
|
43
|
+
var import_interface_skeleton = __toESM(require("./interface-skeleton"));
|
|
44
|
+
var import_pinned_items = __toESM(require("./pinned-items"));
|
|
45
|
+
var import_action_item = __toESM(require("./action-item"));
|
|
46
46
|
// Annotate the CommonJS export names for ESM import in node:
|
|
47
47
|
0 && (module.exports = {
|
|
48
48
|
ActionItem,
|
|
@@ -52,4 +52,4 @@ var import_action_item = __toESM(require("./action-item/index.cjs"), 1);
|
|
|
52
52
|
InterfaceSkeleton,
|
|
53
53
|
PinnedItems
|
|
54
54
|
});
|
|
55
|
-
//# sourceMappingURL=index.
|
|
55
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -32,7 +32,7 @@ __export(interface_skeleton_exports, {
|
|
|
32
32
|
default: () => interface_skeleton_default
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(interface_skeleton_exports);
|
|
35
|
-
var import_clsx = __toESM(require("clsx")
|
|
35
|
+
var import_clsx = __toESM(require("clsx"));
|
|
36
36
|
var import_admin_ui = require("@wordpress/admin-ui");
|
|
37
37
|
var import_element = require("@wordpress/element");
|
|
38
38
|
var import_components = require("@wordpress/components");
|
|
@@ -222,4 +222,4 @@ function InterfaceSkeleton({
|
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
224
|
var interface_skeleton_default = (0, import_element.forwardRef)(InterfaceSkeleton);
|
|
225
|
-
//# sourceMappingURL=index.
|
|
225
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -32,7 +32,7 @@ __export(pinned_items_exports, {
|
|
|
32
32
|
default: () => pinned_items_default
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(pinned_items_exports);
|
|
35
|
-
var import_clsx = __toESM(require("clsx")
|
|
35
|
+
var import_clsx = __toESM(require("clsx"));
|
|
36
36
|
var import_components = require("@wordpress/components");
|
|
37
37
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
38
38
|
function PinnedItems({ scope, ...props }) {
|
|
@@ -52,4 +52,4 @@ function PinnedItemsSlot({ scope, className, ...props }) {
|
|
|
52
52
|
}
|
|
53
53
|
PinnedItems.Slot = PinnedItemsSlot;
|
|
54
54
|
var pinned_items_default = PinnedItems;
|
|
55
|
-
//# sourceMappingURL=index.
|
|
55
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -23,11 +23,11 @@ __export(index_exports, {
|
|
|
23
23
|
store: () => import_store.store
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(index_exports);
|
|
26
|
-
__reExport(index_exports, require("./components
|
|
27
|
-
var import_store = require("./store
|
|
26
|
+
__reExport(index_exports, require("./components"), module.exports);
|
|
27
|
+
var import_store = require("./store");
|
|
28
28
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29
29
|
0 && (module.exports = {
|
|
30
30
|
store,
|
|
31
|
-
...require("./components
|
|
31
|
+
...require("./components")
|
|
32
32
|
});
|
|
33
|
-
//# sourceMappingURL=index.
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.js"],
|
|
4
4
|
"sourcesContent": ["export * from './components';\nexport { store } from './store';\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAc,
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAc,yBAAd;AACA,mBAAsB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -41,9 +41,9 @@ __export(actions_exports, {
|
|
|
41
41
|
unpinItem: () => unpinItem
|
|
42
42
|
});
|
|
43
43
|
module.exports = __toCommonJS(actions_exports);
|
|
44
|
-
var import_deprecated = __toESM(require("@wordpress/deprecated")
|
|
44
|
+
var import_deprecated = __toESM(require("@wordpress/deprecated"));
|
|
45
45
|
var import_preferences = require("@wordpress/preferences");
|
|
46
|
-
var import_deprecated2 = require("./deprecated
|
|
46
|
+
var import_deprecated2 = require("./deprecated");
|
|
47
47
|
var setDefaultComplementaryArea = (scope, area) => {
|
|
48
48
|
scope = (0, import_deprecated2.normalizeComplementaryAreaScope)(scope);
|
|
49
49
|
area = (0, import_deprecated2.normalizeComplementaryAreaName)(scope, area);
|
|
@@ -154,4 +154,4 @@ function closeModal() {
|
|
|
154
154
|
toggleFeature,
|
|
155
155
|
unpinItem
|
|
156
156
|
});
|
|
157
|
-
//# sourceMappingURL=actions.
|
|
157
|
+
//# sourceMappingURL=actions.js.map
|
|
@@ -33,7 +33,7 @@ __export(deprecated_exports, {
|
|
|
33
33
|
normalizeComplementaryAreaScope: () => normalizeComplementaryAreaScope
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(deprecated_exports);
|
|
36
|
-
var import_deprecated = __toESM(require("@wordpress/deprecated")
|
|
36
|
+
var import_deprecated = __toESM(require("@wordpress/deprecated"));
|
|
37
37
|
function normalizeComplementaryAreaScope(scope) {
|
|
38
38
|
if (["core/edit-post", "core/edit-site"].includes(scope)) {
|
|
39
39
|
(0, import_deprecated.default)(`${scope} interface scope`, {
|
|
@@ -67,4 +67,4 @@ function normalizeComplementaryAreaName(scope, name) {
|
|
|
67
67
|
normalizeComplementaryAreaName,
|
|
68
68
|
normalizeComplementaryAreaScope
|
|
69
69
|
});
|
|
70
|
-
//# sourceMappingURL=deprecated.
|
|
70
|
+
//# sourceMappingURL=deprecated.js.map
|
|
@@ -33,10 +33,10 @@ __export(store_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(store_exports);
|
|
35
35
|
var import_data = require("@wordpress/data");
|
|
36
|
-
var actions = __toESM(require("./actions
|
|
37
|
-
var selectors = __toESM(require("./selectors
|
|
38
|
-
var import_reducer = __toESM(require("./reducer
|
|
39
|
-
var import_constants = require("./constants
|
|
36
|
+
var actions = __toESM(require("./actions"));
|
|
37
|
+
var selectors = __toESM(require("./selectors"));
|
|
38
|
+
var import_reducer = __toESM(require("./reducer"));
|
|
39
|
+
var import_constants = require("./constants");
|
|
40
40
|
var store = (0, import_data.createReduxStore)(import_constants.STORE_NAME, {
|
|
41
41
|
reducer: import_reducer.default,
|
|
42
42
|
actions,
|
|
@@ -47,4 +47,4 @@ var store = (0, import_data.createReduxStore)(import_constants.STORE_NAME, {
|
|
|
47
47
|
0 && (module.exports = {
|
|
48
48
|
store
|
|
49
49
|
});
|
|
50
|
-
//# sourceMappingURL=index.
|
|
50
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -37,9 +37,9 @@ __export(selectors_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(selectors_exports);
|
|
39
39
|
var import_data = require("@wordpress/data");
|
|
40
|
-
var import_deprecated = __toESM(require("@wordpress/deprecated")
|
|
40
|
+
var import_deprecated = __toESM(require("@wordpress/deprecated"));
|
|
41
41
|
var import_preferences = require("@wordpress/preferences");
|
|
42
|
-
var import_deprecated2 = require("./deprecated
|
|
42
|
+
var import_deprecated2 = require("./deprecated");
|
|
43
43
|
var getActiveComplementaryArea = (0, import_data.createRegistrySelector)(
|
|
44
44
|
(select) => (state, scope) => {
|
|
45
45
|
scope = (0, import_deprecated2.normalizeComplementaryAreaScope)(scope);
|
|
@@ -101,4 +101,4 @@ function isModalActive(state, modalName) {
|
|
|
101
101
|
isItemPinned,
|
|
102
102
|
isModalActive
|
|
103
103
|
});
|
|
104
|
-
//# sourceMappingURL=selectors.
|
|
104
|
+
//# sourceMappingURL=selectors.js.map
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
usePrevious
|
|
21
21
|
} from "@wordpress/compose";
|
|
22
22
|
import { usePluginContext } from "@wordpress/plugins";
|
|
23
|
-
import ComplementaryAreaHeader from "../complementary-area-header
|
|
24
|
-
import ComplementaryAreaMoreMenuItem from "../complementary-area-more-menu-item
|
|
25
|
-
import ComplementaryAreaToggle from "../complementary-area-toggle
|
|
26
|
-
import PinnedItems from "../pinned-items
|
|
27
|
-
import { store as interfaceStore } from "../../store
|
|
23
|
+
import ComplementaryAreaHeader from "../complementary-area-header";
|
|
24
|
+
import ComplementaryAreaMoreMenuItem from "../complementary-area-more-menu-item";
|
|
25
|
+
import ComplementaryAreaToggle from "../complementary-area-toggle";
|
|
26
|
+
import PinnedItems from "../pinned-items";
|
|
27
|
+
import { store as interfaceStore } from "../../store";
|
|
28
28
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
29
29
|
var ANIMATION_DURATION = 0.3;
|
|
30
30
|
function ComplementaryAreaSlot({ scope, ...props }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// packages/interface/src/components/complementary-area-header/index.js
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { closeSmall } from "@wordpress/icons";
|
|
4
|
-
import ComplementaryAreaToggle from "../complementary-area-toggle
|
|
4
|
+
import ComplementaryAreaToggle from "../complementary-area-toggle";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
var ComplementaryAreaHeader = ({
|
|
7
7
|
children,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// packages/interface/src/components/complementary-area-more-menu-item/index.js
|
|
2
2
|
import { check } from "@wordpress/icons";
|
|
3
3
|
import { MenuItem } from "@wordpress/components";
|
|
4
|
-
import ComplementaryAreaToggle from "../complementary-area-toggle
|
|
5
|
-
import ActionItem from "../action-item
|
|
4
|
+
import ComplementaryAreaToggle from "../complementary-area-toggle";
|
|
5
|
+
import ActionItem from "../action-item";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
var PluginsMenuItem = ({
|
|
8
8
|
// Menu item is marked with unstable prop for backward compatibility.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Button } from "@wordpress/components";
|
|
3
3
|
import { useDispatch, useSelect } from "@wordpress/data";
|
|
4
4
|
import { usePluginContext } from "@wordpress/plugins";
|
|
5
|
-
import { store as interfaceStore } from "../../store
|
|
5
|
+
import { store as interfaceStore } from "../../store";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
function roleSupportsCheckedState(role) {
|
|
8
8
|
return [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// packages/interface/src/components/index.js
|
|
2
|
-
import { default as default2 } from "./complementary-area
|
|
3
|
-
import { default as default3 } from "./complementary-area-more-menu-item
|
|
4
|
-
import { default as default4 } from "./fullscreen-mode
|
|
5
|
-
import { default as default5 } from "./interface-skeleton
|
|
6
|
-
import { default as default6 } from "./pinned-items
|
|
7
|
-
import { default as default7 } from "./action-item
|
|
2
|
+
import { default as default2 } from "./complementary-area";
|
|
3
|
+
import { default as default3 } from "./complementary-area-more-menu-item";
|
|
4
|
+
import { default as default4 } from "./fullscreen-mode";
|
|
5
|
+
import { default as default5 } from "./interface-skeleton";
|
|
6
|
+
import { default as default6 } from "./pinned-items";
|
|
7
|
+
import { default as default7 } from "./action-item";
|
|
8
8
|
export {
|
|
9
9
|
default7 as ActionItem,
|
|
10
10
|
default2 as ComplementaryArea,
|
package/build-module/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { store as preferencesStore } from "@wordpress/preferences";
|
|
|
4
4
|
import {
|
|
5
5
|
normalizeComplementaryAreaScope,
|
|
6
6
|
normalizeComplementaryAreaName
|
|
7
|
-
} from "./deprecated
|
|
7
|
+
} from "./deprecated";
|
|
8
8
|
var setDefaultComplementaryArea = (scope, area) => {
|
|
9
9
|
scope = normalizeComplementaryAreaScope(scope);
|
|
10
10
|
area = normalizeComplementaryAreaName(scope, area);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// packages/interface/src/store/index.js
|
|
2
2
|
import { createReduxStore, register } from "@wordpress/data";
|
|
3
|
-
import * as actions from "./actions
|
|
4
|
-
import * as selectors from "./selectors
|
|
5
|
-
import reducer from "./reducer
|
|
6
|
-
import { STORE_NAME } from "./constants
|
|
3
|
+
import * as actions from "./actions";
|
|
4
|
+
import * as selectors from "./selectors";
|
|
5
|
+
import reducer from "./reducer";
|
|
6
|
+
import { STORE_NAME } from "./constants";
|
|
7
7
|
var store = createReduxStore(STORE_NAME, {
|
|
8
8
|
reducer,
|
|
9
9
|
actions,
|
|
@@ -5,7 +5,7 @@ import { store as preferencesStore } from "@wordpress/preferences";
|
|
|
5
5
|
import {
|
|
6
6
|
normalizeComplementaryAreaScope,
|
|
7
7
|
normalizeComplementaryAreaName
|
|
8
|
-
} from "./deprecated
|
|
8
|
+
} from "./deprecated";
|
|
9
9
|
var getActiveComplementaryArea = createRegistrySelector(
|
|
10
10
|
(select) => (state, scope) => {
|
|
11
11
|
scope = normalizeComplementaryAreaScope(scope);
|
|
@@ -83,10 +83,6 @@
|
|
|
83
83
|
/**
|
|
84
84
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
85
85
|
*/
|
|
86
|
-
/**
|
|
87
|
-
* Creates a checkerboard pattern background to indicate transparency.
|
|
88
|
-
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
89
|
-
*/
|
|
90
86
|
.admin-ui-page {
|
|
91
87
|
display: flex;
|
|
92
88
|
height: 100%;
|
|
@@ -259,10 +255,6 @@
|
|
|
259
255
|
/**
|
|
260
256
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
261
257
|
*/
|
|
262
|
-
/**
|
|
263
|
-
* Creates a checkerboard pattern background to indicate transparency.
|
|
264
|
-
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
265
|
-
*/
|
|
266
258
|
.interface-complementary-area {
|
|
267
259
|
background: #fff;
|
|
268
260
|
color: #1e1e1e;
|
package/build-style/style.css
CHANGED
|
@@ -83,10 +83,6 @@
|
|
|
83
83
|
/**
|
|
84
84
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
85
85
|
*/
|
|
86
|
-
/**
|
|
87
|
-
* Creates a checkerboard pattern background to indicate transparency.
|
|
88
|
-
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
89
|
-
*/
|
|
90
86
|
.admin-ui-page {
|
|
91
87
|
display: flex;
|
|
92
88
|
height: 100%;
|
|
@@ -259,10 +255,6 @@
|
|
|
259
255
|
/**
|
|
260
256
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
261
257
|
*/
|
|
262
|
-
/**
|
|
263
|
-
* Creates a checkerboard pattern background to indicate transparency.
|
|
264
|
-
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
265
|
-
*/
|
|
266
258
|
.interface-complementary-area {
|
|
267
259
|
background: #fff;
|
|
268
260
|
color: #1e1e1e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/interface",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.22.0",
|
|
4
4
|
"description": "Interface module for WordPress. The package contains shared functionality across the modern JavaScript-based WordPress screens.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -23,21 +23,12 @@
|
|
|
23
23
|
"node": ">=18.12.0",
|
|
24
24
|
"npm": ">=8.19.2"
|
|
25
25
|
},
|
|
26
|
-
"
|
|
27
|
-
"src",
|
|
28
|
-
"build",
|
|
29
|
-
"build-module",
|
|
30
|
-
"build-style",
|
|
31
|
-
"build-types",
|
|
32
|
-
"*.md"
|
|
33
|
-
],
|
|
34
|
-
"type": "module",
|
|
35
|
-
"main": "build/index.cjs",
|
|
26
|
+
"main": "build/index.js",
|
|
36
27
|
"module": "build-module/index.js",
|
|
37
28
|
"exports": {
|
|
38
29
|
".": {
|
|
39
30
|
"import": "./build-module/index.js",
|
|
40
|
-
"require": "./build/index.
|
|
31
|
+
"require": "./build/index.js"
|
|
41
32
|
},
|
|
42
33
|
"./package.json": "./package.json",
|
|
43
34
|
"./build-style/": "./build-style/"
|
|
@@ -48,24 +39,24 @@
|
|
|
48
39
|
"src/**/*.scss",
|
|
49
40
|
"src/index.js",
|
|
50
41
|
"src/store/index.js",
|
|
51
|
-
"build/index.
|
|
52
|
-
"build/store/index.
|
|
42
|
+
"build/index.js",
|
|
43
|
+
"build/store/index.js",
|
|
53
44
|
"build-module/index.js",
|
|
54
45
|
"build-module/store/index.js"
|
|
55
46
|
],
|
|
56
47
|
"dependencies": {
|
|
57
|
-
"@wordpress/a11y": "^4.
|
|
58
|
-
"@wordpress/admin-ui": "^1.
|
|
59
|
-
"@wordpress/components": "^31.0.
|
|
60
|
-
"@wordpress/compose": "^7.
|
|
61
|
-
"@wordpress/data": "^10.
|
|
62
|
-
"@wordpress/deprecated": "^4.
|
|
63
|
-
"@wordpress/element": "^6.
|
|
64
|
-
"@wordpress/i18n": "^6.
|
|
65
|
-
"@wordpress/icons": "^11.
|
|
66
|
-
"@wordpress/plugins": "^7.
|
|
67
|
-
"@wordpress/preferences": "^4.
|
|
68
|
-
"@wordpress/viewport": "^6.
|
|
48
|
+
"@wordpress/a11y": "^4.37.0",
|
|
49
|
+
"@wordpress/admin-ui": "^1.5.0",
|
|
50
|
+
"@wordpress/components": "^31.0.0",
|
|
51
|
+
"@wordpress/compose": "^7.37.0",
|
|
52
|
+
"@wordpress/data": "^10.37.0",
|
|
53
|
+
"@wordpress/deprecated": "^4.37.0",
|
|
54
|
+
"@wordpress/element": "^6.37.0",
|
|
55
|
+
"@wordpress/i18n": "^6.10.0",
|
|
56
|
+
"@wordpress/icons": "^11.4.0",
|
|
57
|
+
"@wordpress/plugins": "^7.37.0",
|
|
58
|
+
"@wordpress/preferences": "^4.37.0",
|
|
59
|
+
"@wordpress/viewport": "^6.37.0",
|
|
69
60
|
"clsx": "^2.1.1"
|
|
70
61
|
},
|
|
71
62
|
"peerDependencies": {
|
|
@@ -75,5 +66,5 @@
|
|
|
75
66
|
"publishConfig": {
|
|
76
67
|
"access": "public"
|
|
77
68
|
},
|
|
78
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "2cf13ec6cf86153c9b3cf369bf5c59046f5cd950"
|
|
79
70
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|