@wordpress/nux 9.37.0 → 9.37.1-next.06ee73755.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 +0 -2
- package/LICENSE.md +1 -1
- package/build/components/dot-tip/{index.js → index.cjs} +2 -2
- package/build/{index.js → index.cjs} +3 -3
- package/build/store/{actions.js → actions.cjs} +1 -1
- package/build/store/{index.js → index.cjs} +4 -4
- package/build/store/{reducer.js → reducer.cjs} +1 -1
- package/build/store/{selectors.js → selectors.cjs} +1 -1
- package/build-module/components/dot-tip/{index.js → index.mjs} +2 -2
- package/build-module/{index.js → index.mjs} +3 -3
- package/build-module/store/{actions.js → actions.mjs} +1 -1
- package/build-module/store/{index.js → index.mjs} +4 -4
- package/build-module/store/{reducer.js → reducer.mjs} +1 -1
- package/build-module/store/{selectors.js → selectors.mjs} +1 -1
- package/build-style/style-rtl.css +4 -0
- package/build-style/style.css +4 -0
- package/package.json +26 -18
- /package/build/components/dot-tip/{index.js.map → index.cjs.map} +0 -0
- /package/build/{index.js.map → index.cjs.map} +0 -0
- /package/build/store/{actions.js.map → actions.cjs.map} +0 -0
- /package/build/store/{index.js.map → index.cjs.map} +0 -0
- /package/build/store/{reducer.js.map → reducer.cjs.map} +0 -0
- /package/build/store/{selectors.js.map → selectors.cjs.map} +0 -0
- /package/build-module/components/dot-tip/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/store/{actions.js.map → actions.mjs.map} +0 -0
- /package/build-module/store/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/store/{reducer.js.map → reducer.mjs.map} +0 -0
- /package/build-module/store/{selectors.js.map → selectors.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
package/LICENSE.md
CHANGED
|
@@ -29,7 +29,7 @@ var import_i18n = require("@wordpress/i18n");
|
|
|
29
29
|
var import_data = require("@wordpress/data");
|
|
30
30
|
var import_element = require("@wordpress/element");
|
|
31
31
|
var import_icons = require("@wordpress/icons");
|
|
32
|
-
var import_store = require("../../store");
|
|
32
|
+
var import_store = require("../../store/index.cjs");
|
|
33
33
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
34
|
function onClick(event) {
|
|
35
35
|
event.stopPropagation();
|
|
@@ -118,4 +118,4 @@ var dot_tip_default = (0, import_compose.compose)(
|
|
|
118
118
|
0 && (module.exports = {
|
|
119
119
|
DotTip
|
|
120
120
|
});
|
|
121
|
-
//# sourceMappingURL=index.
|
|
121
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -34,8 +34,8 @@ __export(index_exports, {
|
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(index_exports);
|
|
36
36
|
var import_deprecated = __toESM(require("@wordpress/deprecated"));
|
|
37
|
-
var import_store = require("./store");
|
|
38
|
-
var import_dot_tip = __toESM(require("./components/dot-tip"));
|
|
37
|
+
var import_store = require("./store/index.cjs");
|
|
38
|
+
var import_dot_tip = __toESM(require("./components/dot-tip/index.cjs"));
|
|
39
39
|
(0, import_deprecated.default)("wp.nux", {
|
|
40
40
|
since: "5.4",
|
|
41
41
|
hint: "wp.components.Guide can be used to show a user guide.",
|
|
@@ -46,4 +46,4 @@ var import_dot_tip = __toESM(require("./components/dot-tip"));
|
|
|
46
46
|
DotTip,
|
|
47
47
|
store
|
|
48
48
|
});
|
|
49
|
-
//# sourceMappingURL=index.
|
|
49
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -33,9 +33,9 @@ __export(store_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(store_exports);
|
|
35
35
|
var import_data = require("@wordpress/data");
|
|
36
|
-
var import_reducer = __toESM(require("./reducer"));
|
|
37
|
-
var actions = __toESM(require("./actions"));
|
|
38
|
-
var selectors = __toESM(require("./selectors"));
|
|
36
|
+
var import_reducer = __toESM(require("./reducer.cjs"));
|
|
37
|
+
var actions = __toESM(require("./actions.cjs"));
|
|
38
|
+
var selectors = __toESM(require("./selectors.cjs"));
|
|
39
39
|
var STORE_NAME = "core/nux";
|
|
40
40
|
var store = (0, import_data.createReduxStore)(STORE_NAME, {
|
|
41
41
|
reducer: import_reducer.default,
|
|
@@ -53,4 +53,4 @@ var store = (0, import_data.createReduxStore)(STORE_NAME, {
|
|
|
53
53
|
0 && (module.exports = {
|
|
54
54
|
store
|
|
55
55
|
});
|
|
56
|
-
//# sourceMappingURL=index.
|
|
56
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -5,7 +5,7 @@ import { __ } from "@wordpress/i18n";
|
|
|
5
5
|
import { withSelect, withDispatch } from "@wordpress/data";
|
|
6
6
|
import { useCallback, useRef } from "@wordpress/element";
|
|
7
7
|
import { close } from "@wordpress/icons";
|
|
8
|
-
import { store as nuxStore } from "../../store";
|
|
8
|
+
import { store as nuxStore } from "../../store/index.mjs";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
function onClick(event) {
|
|
11
11
|
event.stopPropagation();
|
|
@@ -94,4 +94,4 @@ export {
|
|
|
94
94
|
DotTip,
|
|
95
95
|
dot_tip_default as default
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=index.
|
|
97
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// packages/nux/src/index.js
|
|
2
2
|
import deprecated from "@wordpress/deprecated";
|
|
3
|
-
import { store } from "./store";
|
|
4
|
-
import { default as default2 } from "./components/dot-tip";
|
|
3
|
+
import { store } from "./store/index.mjs";
|
|
4
|
+
import { default as default2 } from "./components/dot-tip/index.mjs";
|
|
5
5
|
deprecated("wp.nux", {
|
|
6
6
|
since: "5.4",
|
|
7
7
|
hint: "wp.components.Guide can be used to show a user guide.",
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
default2 as DotTip,
|
|
12
12
|
store
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=index.
|
|
14
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// packages/nux/src/store/index.js
|
|
2
2
|
import { createReduxStore, registerStore } from "@wordpress/data";
|
|
3
|
-
import reducer from "./reducer";
|
|
4
|
-
import * as actions from "./actions";
|
|
5
|
-
import * as selectors from "./selectors";
|
|
3
|
+
import reducer from "./reducer.mjs";
|
|
4
|
+
import * as actions from "./actions.mjs";
|
|
5
|
+
import * as selectors from "./selectors.mjs";
|
|
6
6
|
var STORE_NAME = "core/nux";
|
|
7
7
|
var store = createReduxStore(STORE_NAME, {
|
|
8
8
|
reducer,
|
|
@@ -19,4 +19,4 @@ registerStore(STORE_NAME, {
|
|
|
19
19
|
export {
|
|
20
20
|
store
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=index.
|
|
22
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -83,6 +83,10 @@
|
|
|
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
|
+
*/
|
|
86
90
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
|
87
91
|
border-radius: 100%;
|
|
88
92
|
content: " ";
|
package/build-style/style.css
CHANGED
|
@@ -83,6 +83,10 @@
|
|
|
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
|
+
*/
|
|
86
90
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
|
87
91
|
border-radius: 100%;
|
|
88
92
|
content: " ";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/nux",
|
|
3
|
-
"version": "9.37.0",
|
|
3
|
+
"version": "9.37.1-next.06ee73755.0",
|
|
4
4
|
"description": "NUX (New User eXperience) module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -22,12 +22,20 @@
|
|
|
22
22
|
"node": ">=18.12.0",
|
|
23
23
|
"npm": ">=8.19.2"
|
|
24
24
|
},
|
|
25
|
-
"
|
|
26
|
-
|
|
25
|
+
"files": [
|
|
26
|
+
"src",
|
|
27
|
+
"build",
|
|
28
|
+
"build-module",
|
|
29
|
+
"build-style",
|
|
30
|
+
"build-types",
|
|
31
|
+
"*.md"
|
|
32
|
+
],
|
|
33
|
+
"main": "build/index.cjs",
|
|
34
|
+
"module": "build-module/index.mjs",
|
|
27
35
|
"exports": {
|
|
28
36
|
".": {
|
|
29
|
-
"import": "./build-module/index.
|
|
30
|
-
"require": "./build/index.
|
|
37
|
+
"import": "./build-module/index.mjs",
|
|
38
|
+
"require": "./build/index.cjs"
|
|
31
39
|
},
|
|
32
40
|
"./package.json": "./package.json",
|
|
33
41
|
"./build-style/": "./build-style/"
|
|
@@ -39,20 +47,20 @@
|
|
|
39
47
|
"src/**/*.scss",
|
|
40
48
|
"src/index.js",
|
|
41
49
|
"src/store/index.js",
|
|
42
|
-
"build/index.
|
|
43
|
-
"build/store/index.
|
|
44
|
-
"build-module/index.
|
|
45
|
-
"build-module/store/index.
|
|
50
|
+
"build/index.cjs",
|
|
51
|
+
"build/store/index.cjs",
|
|
52
|
+
"build-module/index.mjs",
|
|
53
|
+
"build-module/store/index.mjs"
|
|
46
54
|
],
|
|
47
55
|
"dependencies": {
|
|
48
|
-
"@wordpress/base-styles": "^6.13.0",
|
|
49
|
-
"@wordpress/components": "^
|
|
50
|
-
"@wordpress/compose": "^7.37.0",
|
|
51
|
-
"@wordpress/data": "^10.37.0",
|
|
52
|
-
"@wordpress/deprecated": "^4.37.0",
|
|
53
|
-
"@wordpress/element": "^6.37.0",
|
|
54
|
-
"@wordpress/i18n": "^6.10.0",
|
|
55
|
-
"@wordpress/icons": "^11.4.0"
|
|
56
|
+
"@wordpress/base-styles": "^6.13.2-next.06ee73755.0",
|
|
57
|
+
"@wordpress/components": "^32.0.1-next.06ee73755.0",
|
|
58
|
+
"@wordpress/compose": "^7.37.1-next.06ee73755.0",
|
|
59
|
+
"@wordpress/data": "^10.37.1-next.06ee73755.0",
|
|
60
|
+
"@wordpress/deprecated": "^4.37.1-next.06ee73755.0",
|
|
61
|
+
"@wordpress/element": "^6.37.1-next.06ee73755.0",
|
|
62
|
+
"@wordpress/i18n": "^6.10.1-next.06ee73755.0",
|
|
63
|
+
"@wordpress/icons": "^11.4.1-next.06ee73755.0"
|
|
56
64
|
},
|
|
57
65
|
"peerDependencies": {
|
|
58
66
|
"react": "^18.0.0",
|
|
@@ -61,5 +69,5 @@
|
|
|
61
69
|
"publishConfig": {
|
|
62
70
|
"access": "public"
|
|
63
71
|
},
|
|
64
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "fd315436f44683a993d5f053789b5279d95b2872"
|
|
65
73
|
}
|
|
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
|