@strapi/admin 5.31.3 → 5.33.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/dist/admin/admin/src/components/FormInputs/Boolean.js +22 -3
- package/dist/admin/admin/src/components/FormInputs/Boolean.js.map +1 -1
- package/dist/admin/admin/src/components/FormInputs/Boolean.mjs +23 -4
- package/dist/admin/admin/src/components/FormInputs/Boolean.mjs.map +1 -1
- package/dist/admin/admin/src/components/GuidedTour/Overview.js +1 -1
- package/dist/admin/admin/src/components/GuidedTour/Overview.js.map +1 -1
- package/dist/admin/admin/src/components/GuidedTour/Overview.mjs +1 -1
- package/dist/admin/admin/src/components/GuidedTour/Overview.mjs.map +1 -1
- package/dist/admin/admin/src/components/GuidedTour/Tours.js +1 -1
- package/dist/admin/admin/src/components/GuidedTour/Tours.js.map +1 -1
- package/dist/admin/admin/src/components/GuidedTour/Tours.mjs +1 -1
- package/dist/admin/admin/src/components/GuidedTour/Tours.mjs.map +1 -1
- package/dist/admin/admin/src/components/Layouts/HeaderLayout.js +5 -0
- package/dist/admin/admin/src/components/Layouts/HeaderLayout.js.map +1 -1
- package/dist/admin/admin/src/components/Layouts/HeaderLayout.mjs +5 -0
- package/dist/admin/admin/src/components/Layouts/HeaderLayout.mjs.map +1 -1
- package/dist/admin/admin/src/features/Notifications.js +35 -75
- package/dist/admin/admin/src/features/Notifications.js.map +1 -1
- package/dist/admin/admin/src/features/Notifications.mjs +37 -77
- package/dist/admin/admin/src/features/Notifications.mjs.map +1 -1
- package/dist/admin/admin/src/pages/ProfilePage.js +1 -1
- package/dist/admin/admin/src/pages/ProfilePage.js.map +1 -1
- package/dist/admin/admin/src/pages/ProfilePage.mjs +1 -1
- package/dist/admin/admin/src/pages/ProfilePage.mjs.map +1 -1
- package/dist/admin/admin/src/translations/ru.json.js +67 -2
- package/dist/admin/admin/src/translations/ru.json.js.map +1 -1
- package/dist/admin/admin/src/translations/ru.json.mjs +67 -2
- package/dist/admin/admin/src/translations/ru.json.mjs.map +1 -1
- package/dist/admin/src/features/Notifications.d.ts +4 -5
- package/package.json +11 -10
|
@@ -19,14 +19,13 @@ interface NotificationsContextValue {
|
|
|
19
19
|
*/
|
|
20
20
|
toggleNotification: (config: NotificationConfig) => void;
|
|
21
21
|
}
|
|
22
|
-
interface NotificationsProviderProps {
|
|
23
|
-
children: React.ReactNode;
|
|
24
|
-
}
|
|
25
22
|
/**
|
|
26
23
|
* @internal
|
|
27
|
-
* @description
|
|
24
|
+
* @description exposes the `NotificationsContext` to its children and renders notifications
|
|
28
25
|
*/
|
|
29
|
-
declare const NotificationsProvider: ({ children }:
|
|
26
|
+
declare const NotificationsProvider: ({ children }: {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
30
29
|
/**
|
|
31
30
|
* @preserve
|
|
32
31
|
* @description Returns an object to interact with the notification
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/admin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.33.0",
|
|
4
4
|
"description": "Strapi Admin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -86,13 +86,13 @@
|
|
|
86
86
|
"@reduxjs/toolkit": "1.9.7",
|
|
87
87
|
"@strapi/design-system": "2.0.1",
|
|
88
88
|
"@strapi/icons": "2.0.1",
|
|
89
|
-
"@strapi/permissions": "5.
|
|
90
|
-
"@strapi/types": "5.
|
|
91
|
-
"@strapi/typescript-utils": "5.
|
|
92
|
-
"@strapi/utils": "5.
|
|
93
|
-
"@testing-library/dom": "10.1
|
|
94
|
-
"@testing-library/react": "
|
|
95
|
-
"@testing-library/user-event": "14.
|
|
89
|
+
"@strapi/permissions": "5.33.0",
|
|
90
|
+
"@strapi/types": "5.33.0",
|
|
91
|
+
"@strapi/typescript-utils": "5.33.0",
|
|
92
|
+
"@strapi/utils": "5.33.0",
|
|
93
|
+
"@testing-library/dom": "10.4.1",
|
|
94
|
+
"@testing-library/react": "16.3.0",
|
|
95
|
+
"@testing-library/user-event": "14.6.1",
|
|
96
96
|
"axios": "1.12.2",
|
|
97
97
|
"bcryptjs": "2.4.3",
|
|
98
98
|
"boxen": "5.1.2",
|
|
@@ -138,14 +138,15 @@
|
|
|
138
138
|
"scheduler": "0.23.0",
|
|
139
139
|
"semver": "7.5.4",
|
|
140
140
|
"sift": "16.0.1",
|
|
141
|
+
"sonner": "2.0.7",
|
|
141
142
|
"typescript": "5.4.4",
|
|
142
143
|
"use-context-selector": "1.4.1",
|
|
143
144
|
"yup": "0.32.9",
|
|
144
145
|
"zod": "3.25.67"
|
|
145
146
|
},
|
|
146
147
|
"devDependencies": {
|
|
147
|
-
"@strapi/admin-test-utils": "5.
|
|
148
|
-
"@strapi/data-transfer": "5.
|
|
148
|
+
"@strapi/admin-test-utils": "5.33.0",
|
|
149
|
+
"@strapi/data-transfer": "5.33.0",
|
|
149
150
|
"@types/codemirror5": "npm:@types/codemirror@^5.60.15",
|
|
150
151
|
"@types/fs-extra": "11.0.4",
|
|
151
152
|
"@types/invariant": "2.2.36",
|