@wordpress/notices 5.47.0 → 5.48.1
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
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { Reducer, Action } from 'redux';
|
|
5
|
+
/**
|
|
6
|
+
* Higher-order reducer creator which creates a combined reducer object, keyed
|
|
7
|
+
* by a property on the action object.
|
|
8
|
+
*
|
|
9
|
+
* @param actionProperty Action property by which to key object.
|
|
10
|
+
*
|
|
11
|
+
* @return Higher-order reducer.
|
|
12
|
+
*/
|
|
13
|
+
export declare const onSubKey: (actionProperty: string) => <S, A extends Action & Record<string, any>>(reducer: Reducer<S, A>) => (state: Record<string, S> | undefined, action: A) => Record<string, S>;
|
|
14
|
+
export default onSubKey;
|
|
15
|
+
//# sourceMappingURL=on-sub-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"on-sub-key.d.ts","sourceRoot":"","sources":["../../../src/store/utils/on-sub-key.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7C;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,GAClB,gBAAgB,MAAM,MACtB,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,CAAE,MAAM,EAAE,GAAG,CAAE,EAC5C,SAAS,OAAO,CAAE,CAAC,EAAE,CAAC,CAAE,MAEvB,OAAO,MAAM,CAAE,MAAM,EAAE,CAAC,CAAE,YAAK,EAAE,QAAQ,CAAC,sBAmB3C,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/notices",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.48.1",
|
|
4
4
|
"description": "State management for notices.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"./package.json": "./package.json",
|
|
42
42
|
"./build-style/": "./build-style/"
|
|
43
43
|
},
|
|
44
|
-
"react-native": "src/index",
|
|
45
44
|
"wpScript": true,
|
|
46
45
|
"types": "build-types",
|
|
47
46
|
"sideEffects": [
|
|
@@ -49,19 +48,22 @@
|
|
|
49
48
|
"src/**/*.scss"
|
|
50
49
|
],
|
|
51
50
|
"dependencies": {
|
|
52
|
-
"@
|
|
53
|
-
"@wordpress/
|
|
54
|
-
"@wordpress/
|
|
51
|
+
"@types/react": "^18.3.27",
|
|
52
|
+
"@wordpress/a11y": "^4.48.1",
|
|
53
|
+
"@wordpress/components": "^35.0.1",
|
|
54
|
+
"@wordpress/data": "^10.48.1",
|
|
55
55
|
"clsx": "^2.1.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"
|
|
58
|
+
"@testing-library/dom": "^10.4.1",
|
|
59
|
+
"@testing-library/react": "^16.3.2",
|
|
60
|
+
"deep-freeze": "^0.0.1"
|
|
59
61
|
},
|
|
60
62
|
"peerDependencies": {
|
|
61
|
-
"react": "^
|
|
63
|
+
"react": "^18.0.0"
|
|
62
64
|
},
|
|
63
65
|
"publishConfig": {
|
|
64
66
|
"access": "public"
|
|
65
67
|
},
|
|
66
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "99df7432c5c7cb83ba41146fd1f57f3c19004305"
|
|
67
69
|
}
|