@salutejs/sdds-cs 0.239.0-dev.0 → 0.239.1-canary.1733.13052423640.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-cs.api.md +1 -0
- package/components/Notification/Notification.d.ts +1 -0
- package/components/Notification/Notification.js +4 -2
- package/emotion/cjs/components/Notification/Notification.js +4 -2
- package/emotion/es/components/Notification/Notification.js +4 -2
- package/es/components/Notification/Notification.js +4 -2
- package/package.json +3 -3
package/api/sdds-cs.api.md
CHANGED
@@ -21,6 +21,7 @@ export declare const NotificationsProvider: React.FC<{
|
|
21
21
|
children: ReactNode;
|
22
22
|
frame?: string;
|
23
23
|
placement?: NotificationPlacement;
|
24
|
+
UNSAFE_SSR_ENABLED?: boolean;
|
24
25
|
}>;
|
25
26
|
export type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };
|
26
27
|
export { addNotification, closeNotification };
|
@@ -33,10 +33,12 @@ var NotificationsProvider = exports.NotificationsProvider = function Notificatio
|
|
33
33
|
var children = _ref.children,
|
34
34
|
_ref$frame = _ref.frame,
|
35
35
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
36
|
-
placement = _ref.placement
|
36
|
+
placement = _ref.placement,
|
37
|
+
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
37
38
|
return /*#__PURE__*/_react["default"].createElement(_styledComponents.NotificationsProvider, {
|
38
39
|
config: mergedConfig,
|
39
40
|
frame: frame,
|
40
|
-
placement: placement
|
41
|
+
placement: placement,
|
42
|
+
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
41
43
|
}, children);
|
42
44
|
};
|
@@ -33,10 +33,12 @@ var NotificationsProvider = exports.NotificationsProvider = function Notificatio
|
|
33
33
|
var children = _ref.children,
|
34
34
|
_ref$frame = _ref.frame,
|
35
35
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
36
|
-
placement = _ref.placement
|
36
|
+
placement = _ref.placement,
|
37
|
+
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
37
38
|
return /*#__PURE__*/_react["default"].createElement(_emotion.NotificationsProvider, {
|
38
39
|
config: mergedConfig,
|
39
40
|
frame: frame,
|
40
|
-
placement: placement
|
41
|
+
placement: placement,
|
42
|
+
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
41
43
|
}, children);
|
42
44
|
};
|
@@ -8,11 +8,13 @@ export var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
8
8
|
var children = _ref.children,
|
9
9
|
_ref$frame = _ref.frame,
|
10
10
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
11
|
-
placement = _ref.placement
|
11
|
+
placement = _ref.placement,
|
12
|
+
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
12
13
|
return /*#__PURE__*/React.createElement(Provider, {
|
13
14
|
config: mergedConfig,
|
14
15
|
frame: frame,
|
15
|
-
placement: placement
|
16
|
+
placement: placement,
|
17
|
+
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
16
18
|
}, children);
|
17
19
|
};
|
18
20
|
export { addNotification, closeNotification };
|
@@ -8,11 +8,13 @@ export var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
8
8
|
var children = _ref.children,
|
9
9
|
_ref$frame = _ref.frame,
|
10
10
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
11
|
-
placement = _ref.placement
|
11
|
+
placement = _ref.placement,
|
12
|
+
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
12
13
|
return /*#__PURE__*/React.createElement(Provider, {
|
13
14
|
config: mergedConfig,
|
14
15
|
frame: frame,
|
15
|
-
placement: placement
|
16
|
+
placement: placement,
|
17
|
+
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
16
18
|
}, children);
|
17
19
|
};
|
18
20
|
export { addNotification, closeNotification };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.239.
|
3
|
+
"version": "0.239.1-canary.1733.13052423640.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS CS web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"directory": "packages/sdds-cs"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@salutejs/plasma-new-hope": "0.250.
|
33
|
+
"@salutejs/plasma-new-hope": "0.250.1-canary.1733.13052423640.0",
|
34
34
|
"@salutejs/sdds-themes": "0.31.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "22bfc24ca7c9675d5eadaa4f50a0551c14d4f6bd"
|
127
127
|
}
|