@wordpress/notices 5.45.0 → 5.45.1-next.v.202605131006.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-types/components/inline-notices/index.d.ts +1 -1
- package/build-types/components/inline-notices/index.d.ts.map +1 -1
- package/build-types/components/snackbar-notices/index.d.ts +1 -1
- package/build-types/components/snackbar-notices/index.d.ts.map +1 -1
- package/build-types/store/actions.d.ts +5 -5
- package/build-types/store/actions.d.ts.map +1 -1
- package/build-types/store/controls.d.ts +1 -1
- package/build-types/store/controls.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -9,6 +9,6 @@ type InlineNoticesProps = {
|
|
|
9
9
|
dismissibleNoticesClassName?: string;
|
|
10
10
|
context?: string;
|
|
11
11
|
};
|
|
12
|
-
export default function InlineNotices({ children, pinnedNoticesClassName, dismissibleNoticesClassName, context
|
|
12
|
+
export default function InlineNotices({ children, pinnedNoticesClassName, dismissibleNoticesClassName, context }: InlineNoticesProps): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inline-notices/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,OAAO,cAAc,CAAC;AAEtB,KAAK,kBAAkB,GAAG;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAE,EACtC,QAAQ,EACR,sBAAsB,EACtB,2BAA2B,EAC3B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inline-notices/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,OAAO,cAAc,CAAC;AAEtB,KAAK,kBAAkB,GAAG;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAE,EACtC,QAAQ,EACR,sBAAsB,EACtB,2BAA2B,EAC3B,OAAO,EACP,EAAE,kBAAkB,+BAkCpB"}
|
|
@@ -2,6 +2,6 @@ type SnackbarNoticesProps = {
|
|
|
2
2
|
className?: string;
|
|
3
3
|
context?: string;
|
|
4
4
|
};
|
|
5
|
-
export default function SnackbarNotices({ className, context
|
|
5
|
+
export default function SnackbarNotices({ className, context }: SnackbarNoticesProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/snackbar-notices/index.tsx"],"names":[],"mappings":"AAmBA,KAAK,oBAAoB,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAE,EACxC,SAAS,EACT,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/snackbar-notices/index.tsx"],"names":[],"mappings":"AAmBA,KAAK,oBAAoB,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAE,EACxC,SAAS,EACT,OAAO,EACP,EAAE,oBAAoB,+BAiBtB"}
|
|
@@ -27,7 +27,7 @@ import type { NoticeOptions, ReducerAction } from './types';
|
|
|
27
27
|
*
|
|
28
28
|
* @return Action object.
|
|
29
29
|
*/
|
|
30
|
-
export declare function createNotice(status: "
|
|
30
|
+
export declare function createNotice(status: ("error" | "info" | "success" | "warning" | undefined) | undefined, content: string, options?: NoticeOptions): Extract<ReducerAction, {
|
|
31
31
|
type: 'CREATE_NOTICE';
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
@@ -66,7 +66,7 @@ export declare function createNotice(status: "success" | "info" | "error" | "war
|
|
|
66
66
|
* @return Action object.
|
|
67
67
|
*/
|
|
68
68
|
export declare function createSuccessNotice(content: string, options?: NoticeOptions): {
|
|
69
|
-
type:
|
|
69
|
+
type: 'CREATE_NOTICE';
|
|
70
70
|
context: string;
|
|
71
71
|
notice: import("./types").Notice;
|
|
72
72
|
};
|
|
@@ -105,7 +105,7 @@ export declare function createSuccessNotice(content: string, options?: NoticeOpt
|
|
|
105
105
|
* @return Action object.
|
|
106
106
|
*/
|
|
107
107
|
export declare function createInfoNotice(content: string, options?: NoticeOptions): {
|
|
108
|
-
type:
|
|
108
|
+
type: 'CREATE_NOTICE';
|
|
109
109
|
context: string;
|
|
110
110
|
notice: import("./types").Notice;
|
|
111
111
|
};
|
|
@@ -147,7 +147,7 @@ export declare function createInfoNotice(content: string, options?: NoticeOption
|
|
|
147
147
|
* @return Action object.
|
|
148
148
|
*/
|
|
149
149
|
export declare function createErrorNotice(content: string, options?: NoticeOptions): {
|
|
150
|
-
type:
|
|
150
|
+
type: 'CREATE_NOTICE';
|
|
151
151
|
context: string;
|
|
152
152
|
notice: import("./types").Notice;
|
|
153
153
|
};
|
|
@@ -190,7 +190,7 @@ export declare function createErrorNotice(content: string, options?: NoticeOptio
|
|
|
190
190
|
* @return Action object.
|
|
191
191
|
*/
|
|
192
192
|
export declare function createWarningNotice(content: string, options?: NoticeOptions): {
|
|
193
|
-
type:
|
|
193
|
+
type: 'CREATE_NOTICE';
|
|
194
194
|
context: string;
|
|
195
195
|
notice: import("./types").Notice;
|
|
196
196
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/store/actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI5D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,YAAY,CAC3B,MAAM,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/store/actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI5D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,YAAY,CAC3B,MAAM,oEAAiB,EACvB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,aAAkB,GACzB,OAAO,CAAE,aAAa,EAAE;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,CAAE,CAoCrD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,mBAAmB,CAClC,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,aAAa;;;;EAGvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,gBAAgB,CAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;;;;EAEzE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,iBAAiB,CAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;;;;EAE1E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,mBAAmB,CAClC,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,aAAa;;;;EAGvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,wBAAgB,YAAY,CAC3B,EAAE,EAAE,MAAM,EACV,OAAO,GAAE,MAAwB,GAC/B,OAAO,CAAE,aAAa,EAAE;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,CAAE,CAMrD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,wBAAgB,gBAAgB,CAC/B,UAAU,SAAY,EACtB,OAAO,GAAE,MAAwB,GAC/B,OAAO,CAAE,aAAa,EAAE;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAE,CAM1D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,aAAa,CAC5B,GAAG,EAAE,KAAK,CAAE,MAAM,CAAE,EACpB,OAAO,GAAE,MAAwB,GAC/B,OAAO,CAAE,aAAa,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,CAAE,CAMtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../src/store/controls.ts"],"names":[],"mappings":";kBAMgB;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;KAAE
|
|
1
|
+
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../src/store/controls.ts"],"names":[],"mappings":";kBAMgB;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;KAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/store/reducer.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAErD;;;;;;;;GAQG;AACH,QAAA,MAAM,OAAO,kEAwBV,CAAC;
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/store/reducer.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAErD;;;;;;;;GAQG;AACH,QAAA,MAAM,OAAO,kEAwBV,CAAC;eAEW,OAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/notices",
|
|
3
|
-
"version": "5.45.0",
|
|
3
|
+
"version": "5.45.1-next.v.202605131006.0+2a3d07cab",
|
|
4
4
|
"description": "State management for notices.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"wpScript": true,
|
|
44
44
|
"types": "build-types",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@wordpress/a11y": "^4.45.0",
|
|
47
|
-
"@wordpress/components": "^33.
|
|
48
|
-
"@wordpress/data": "^10.45.0",
|
|
46
|
+
"@wordpress/a11y": "^4.45.1-next.v.202605131006.0+2a3d07cab",
|
|
47
|
+
"@wordpress/components": "^33.1.1-next.v.202605131006.0+2a3d07cab",
|
|
48
|
+
"@wordpress/data": "^10.45.1-next.v.202605131006.0+2a3d07cab",
|
|
49
49
|
"clsx": "^2.1.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "8804fa29bc78a1d98e5a4d40c3e180ddd907016c"
|
|
61
61
|
}
|