@wordpress/patterns 2.34.0 → 2.34.1-next.2f1c7c01b.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/build/api/index.js +2 -0
- package/build/api/index.js.map +1 -1
- package/build/components/allow-overrides-modal.js +3 -1
- package/build/components/allow-overrides-modal.js.map +1 -1
- package/build/components/category-selector.js +5 -3
- package/build/components/category-selector.js.map +1 -1
- package/build/components/create-pattern-modal.js +3 -1
- package/build/components/create-pattern-modal.js.map +1 -1
- package/build/components/duplicate-pattern-modal.js +3 -1
- package/build/components/duplicate-pattern-modal.js.map +1 -1
- package/build/components/index.js +3 -1
- package/build/components/index.js.map +1 -1
- package/build/components/overrides-panel.js +4 -2
- package/build/components/overrides-panel.js.map +1 -1
- package/build/components/pattern-convert-button.js +3 -1
- package/build/components/pattern-convert-button.js.map +1 -1
- package/build/components/pattern-overrides-block-controls.js +4 -2
- package/build/components/pattern-overrides-block-controls.js.map +1 -1
- package/build/components/pattern-overrides-controls.js +3 -1
- package/build/components/pattern-overrides-controls.js.map +1 -1
- package/build/components/patterns-manage-button.js +3 -1
- package/build/components/patterns-manage-button.js.map +1 -1
- package/build/components/rename-pattern-category-modal.js +3 -1
- package/build/components/rename-pattern-category-modal.js.map +1 -1
- package/build/components/rename-pattern-modal.js +3 -1
- package/build/components/rename-pattern-modal.js.map +1 -1
- package/build/components/reset-overrides-control.js +4 -2
- package/build/components/reset-overrides-control.js.map +1 -1
- package/build/constants.js +9 -7
- package/build/constants.js.map +1 -1
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/build/lock-unlock.js +3 -1
- package/build/lock-unlock.js.map +1 -1
- package/build/private-apis.js +3 -1
- package/build/private-apis.js.map +1 -1
- package/build/private-hooks.js +2 -0
- package/build/private-hooks.js.map +1 -1
- package/build/store/actions.js +5 -3
- package/build/store/actions.js.map +1 -1
- package/build/store/constants.js +3 -1
- package/build/store/constants.js.map +1 -1
- package/build/store/index.js +4 -2
- package/build/store/index.js.map +1 -1
- package/build/store/reducer.js +2 -0
- package/build/store/reducer.js.map +1 -1
- package/build/store/selectors.js +2 -0
- package/build/store/selectors.js.map +1 -1
- package/build-module/api/index.js +1 -0
- package/build-module/api/index.js.map +1 -1
- package/build-module/components/allow-overrides-modal.js +2 -1
- package/build-module/components/allow-overrides-modal.js.map +1 -1
- package/build-module/components/category-selector.js +4 -3
- package/build-module/components/category-selector.js.map +1 -1
- package/build-module/components/create-pattern-modal.js +2 -1
- package/build-module/components/create-pattern-modal.js.map +1 -1
- package/build-module/components/duplicate-pattern-modal.js +2 -1
- package/build-module/components/duplicate-pattern-modal.js.map +1 -1
- package/build-module/components/index.js +2 -1
- package/build-module/components/index.js.map +1 -1
- package/build-module/components/overrides-panel.js +3 -2
- package/build-module/components/overrides-panel.js.map +1 -1
- package/build-module/components/pattern-convert-button.js +2 -1
- package/build-module/components/pattern-convert-button.js.map +1 -1
- package/build-module/components/pattern-overrides-block-controls.js +3 -2
- package/build-module/components/pattern-overrides-block-controls.js.map +1 -1
- package/build-module/components/pattern-overrides-controls.js +2 -1
- package/build-module/components/pattern-overrides-controls.js.map +1 -1
- package/build-module/components/patterns-manage-button.js +2 -1
- package/build-module/components/patterns-manage-button.js.map +1 -1
- package/build-module/components/rename-pattern-category-modal.js +2 -1
- package/build-module/components/rename-pattern-category-modal.js.map +1 -1
- package/build-module/components/rename-pattern-modal.js +2 -1
- package/build-module/components/rename-pattern-modal.js.map +1 -1
- package/build-module/components/reset-overrides-control.js +3 -2
- package/build-module/components/reset-overrides-control.js.map +1 -1
- package/build-module/constants.js +8 -7
- package/build-module/constants.js.map +1 -1
- package/build-module/index.js +1 -0
- package/build-module/index.js.map +1 -1
- package/build-module/lock-unlock.js +2 -1
- package/build-module/lock-unlock.js.map +1 -1
- package/build-module/private-apis.js +2 -1
- package/build-module/private-apis.js.map +1 -1
- package/build-module/private-hooks.js +1 -0
- package/build-module/private-hooks.js.map +1 -1
- package/build-module/store/actions.js +4 -3
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/constants.js +2 -1
- package/build-module/store/constants.js.map +1 -1
- package/build-module/store/index.js +3 -2
- package/build-module/store/index.js.map +1 -1
- package/build-module/store/reducer.js +1 -0
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/store/selectors.js +1 -0
- package/build-module/store/selectors.js.map +1 -1
- package/package.json +17 -17
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/store/reducer.js"],
|
|
4
4
|
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { combineReducers } from '@wordpress/data';\n\nexport function isEditingPattern( state = {}, action ) {\n\tif ( action?.type === 'SET_EDITING_PATTERN' ) {\n\t\treturn {\n\t\t\t...state,\n\t\t\t[ action.clientId ]: action.isEditing,\n\t\t};\n\t}\n\n\treturn state;\n}\n\nexport default combineReducers( {\n\tisEditingPattern,\n} );\n"],
|
|
5
|
-
"mappings": "AAGA,SAAS,uBAAuB;AAEzB,SAAS,iBAAkB,QAAQ,CAAC,GAAG,QAAS;AACtD,MAAK,QAAQ,SAAS,uBAAwB;AAC7C,WAAO;AAAA,MACN,GAAG;AAAA,MACH,CAAE,OAAO,QAAS,GAAG,OAAO;AAAA,IAC7B;AAAA,EACD;AAEA,SAAO;AACR;AAEA,IAAO,kBAAQ,gBAAiB;AAAA,EAC/B;AACD,CAAE;",
|
|
5
|
+
"mappings": ";AAGA,SAAS,uBAAuB;AAEzB,SAAS,iBAAkB,QAAQ,CAAC,GAAG,QAAS;AACtD,MAAK,QAAQ,SAAS,uBAAwB;AAC7C,WAAO;AAAA,MACN,GAAG;AAAA,MACH,CAAE,OAAO,QAAS,GAAG,OAAO;AAAA,IAC7B;AAAA,EACD;AAEA,SAAO;AACR;AAEA,IAAO,kBAAQ,gBAAiB;AAAA,EAC/B;AACD,CAAE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/store/selectors.js"],
|
|
4
4
|
"sourcesContent": ["/**\n * Returns true if pattern is in the editing state.\n *\n * @param {Object} state Global application state.\n * @param {number} clientId the clientID of the block.\n * @return {boolean} Whether the pattern is in the editing state.\n */\nexport function isEditingPattern( state, clientId ) {\n\treturn state.isEditingPattern[ clientId ];\n}\n"],
|
|
5
|
-
"mappings": "AAOO,SAAS,iBAAkB,OAAO,UAAW;AACnD,SAAO,MAAM,iBAAkB,QAAS;AACzC;",
|
|
5
|
+
"mappings": ";AAOO,SAAS,iBAAkB,OAAO,UAAW;AACnD,SAAO,MAAM,iBAAkB,QAAS;AACzC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/patterns",
|
|
3
|
-
"version": "2.34.0",
|
|
3
|
+
"version": "2.34.1-next.2f1c7c01b.0",
|
|
4
4
|
"description": "Management of user pattern editing.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
"{src,build,build-module}/{index.js,store/index.js,hooks/**}"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@wordpress/a11y": "^4.34.0",
|
|
43
|
-
"@wordpress/base-styles": "^6.10.0",
|
|
44
|
-
"@wordpress/block-editor": "^15.7.0",
|
|
45
|
-
"@wordpress/blocks": "^15.7.0",
|
|
46
|
-
"@wordpress/components": "^30.7.0",
|
|
47
|
-
"@wordpress/compose": "^7.34.0",
|
|
48
|
-
"@wordpress/core-data": "^7.34.0",
|
|
49
|
-
"@wordpress/data": "^10.34.0",
|
|
50
|
-
"@wordpress/element": "^6.34.0",
|
|
51
|
-
"@wordpress/html-entities": "^4.34.0",
|
|
52
|
-
"@wordpress/i18n": "^6.7.0",
|
|
53
|
-
"@wordpress/icons": "^11.1.0",
|
|
54
|
-
"@wordpress/notices": "^5.34.0",
|
|
55
|
-
"@wordpress/private-apis": "^1.34.0",
|
|
56
|
-
"@wordpress/url": "^4.34.0"
|
|
42
|
+
"@wordpress/a11y": "^4.34.1-next.2f1c7c01b.0",
|
|
43
|
+
"@wordpress/base-styles": "^6.10.1-next.2f1c7c01b.0",
|
|
44
|
+
"@wordpress/block-editor": "^15.7.1-next.2f1c7c01b.0",
|
|
45
|
+
"@wordpress/blocks": "^15.7.1-next.2f1c7c01b.0",
|
|
46
|
+
"@wordpress/components": "^30.7.2-next.2f1c7c01b.0",
|
|
47
|
+
"@wordpress/compose": "^7.34.1-next.2f1c7c01b.0",
|
|
48
|
+
"@wordpress/core-data": "^7.34.1-next.2f1c7c01b.0",
|
|
49
|
+
"@wordpress/data": "^10.34.1-next.2f1c7c01b.0",
|
|
50
|
+
"@wordpress/element": "^6.34.1-next.2f1c7c01b.0",
|
|
51
|
+
"@wordpress/html-entities": "^4.34.1-next.2f1c7c01b.0",
|
|
52
|
+
"@wordpress/i18n": "^6.7.1-next.2f1c7c01b.0",
|
|
53
|
+
"@wordpress/icons": "^11.1.1-next.2f1c7c01b.0",
|
|
54
|
+
"@wordpress/notices": "^5.34.1-next.2f1c7c01b.0",
|
|
55
|
+
"@wordpress/private-apis": "^1.34.1-next.2f1c7c01b.0",
|
|
56
|
+
"@wordpress/url": "^4.34.1-next.2f1c7c01b.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"react": "^18.0.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "c6ddcdf455bc02567a2c9e03de6862a2061b85e8"
|
|
66
66
|
}
|