@salutejs/sdds-serv 0.235.0-canary.1733.13050080190.0 → 0.235.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-serv.api.md +1 -0
- package/components/Notification/Notification.d.ts +1 -0
- package/components/Notification/Notification.js +4 -2
- package/components/Notification/Notification.js.map +1 -1
- 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/es/components/Notification/Notification.js.map +1 -1
- package/package.json +3 -3
- package/styled-components/cjs/components/Notification/Notification.js +4 -2
- package/styled-components/es/components/Notification/Notification.js +4 -2
package/api/sdds-serv.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 };
|
@@ -16,11 +16,13 @@ var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
16
16
|
var children = _ref.children,
|
17
17
|
_ref$frame = _ref.frame,
|
18
18
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
19
|
-
placement = _ref.placement
|
19
|
+
placement = _ref.placement,
|
20
|
+
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
20
21
|
return /*#__PURE__*/React__default.default.createElement(plasmaNewHope.NotificationsProvider, {
|
21
22
|
config: mergedConfig,
|
22
23
|
frame: frame,
|
23
|
-
placement: placement
|
24
|
+
placement: placement,
|
25
|
+
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
24
26
|
}, children);
|
25
27
|
};
|
26
28
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Notification.js","sources":["../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n component,\n mergeConfig,\n notificationConfig,\n NotificationProps,\n NotificationsProvider as Provider,\n NotificationIconPlacement,\n NotificationPlacement,\n NotificationLayout,\n addNotification,\n closeNotification,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport { modalClasses } from '../Modal';\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const Notification = component(mergedConfig);\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n}> = ({ children, frame = 'document', placement }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement}>\n {children}\n </Provider>\n );\n};\n\nexport type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };\nexport { addNotification, closeNotification };\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAkBA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,gCAAkB,EAAEC,0BAAM,CAAC,CAAA;IAE/CC,YAAY,gBAAGC,uBAAS,CAACL,YAAY,EAAC;IAEtCM,
|
1
|
+
{"version":3,"file":"Notification.js","sources":["../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n component,\n mergeConfig,\n notificationConfig,\n NotificationProps,\n NotificationsProvider as Provider,\n NotificationIconPlacement,\n NotificationPlacement,\n NotificationLayout,\n addNotification,\n closeNotification,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport { modalClasses } from '../Modal';\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const Notification = component(mergedConfig);\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n UNSAFE_SSR_ENABLED?: boolean;\n}> = ({ children, frame = 'document', placement, UNSAFE_SSR_ENABLED }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement} UNSAFE_SSR_ENABLED={UNSAFE_SSR_ENABLED}>\n {children}\n </Provider>\n );\n};\n\nexport type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };\nexport { addNotification, closeNotification };\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","UNSAFE_SSR_ENABLED","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAkBA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,gCAAkB,EAAEC,0BAAM,CAAC,CAAA;IAE/CC,YAAY,gBAAGC,uBAAS,CAACL,YAAY,EAAC;IAEtCM,qBAKX,GAAG,SALQA,qBAKXA,CAAAC,IAAA,EAAwE;AAAA,EAAA,IAAlEC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,UAAA,GAAAF,IAAA,CAAEG,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAG,KAAA,CAAA,GAAA,UAAU,GAAAA,UAAA;IAAEE,SAAS,GAAAJ,IAAA,CAATI,SAAS;IAAEC,kBAAkB,GAAAL,IAAA,CAAlBK,kBAAkB,CAAA;AAC/D,EAAA,oBACIC,sBAAA,CAAAC,aAAA,CAACC,mCAAQ,EAAA;AAACZ,IAAAA,MAAM,EAAEH,YAAa;AAACU,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAU;AAACC,IAAAA,kBAAkB,EAAEA,kBAAAA;AAAmB,GAAA,EACtGJ,QACK,CAAC,CAAA;AAEnB;;;;;;;;;;;;;;;;;"}
|
@@ -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 };
|
@@ -9,11 +9,13 @@ var NotificationsProvider = function NotificationsProvider(_ref) {
|
|
9
9
|
var children = _ref.children,
|
10
10
|
_ref$frame = _ref.frame,
|
11
11
|
frame = _ref$frame === void 0 ? 'document' : _ref$frame,
|
12
|
-
placement = _ref.placement
|
12
|
+
placement = _ref.placement,
|
13
|
+
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
13
14
|
return /*#__PURE__*/React.createElement(NotificationsProvider$1, {
|
14
15
|
config: mergedConfig,
|
15
16
|
frame: frame,
|
16
|
-
placement: placement
|
17
|
+
placement: placement,
|
18
|
+
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
17
19
|
}, children);
|
18
20
|
};
|
19
21
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Notification.js","sources":["../../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n component,\n mergeConfig,\n notificationConfig,\n NotificationProps,\n NotificationsProvider as Provider,\n NotificationIconPlacement,\n NotificationPlacement,\n NotificationLayout,\n addNotification,\n closeNotification,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport { modalClasses } from '../Modal';\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const Notification = component(mergedConfig);\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n}> = ({ children, frame = 'document', placement }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement}>\n {children}\n </Provider>\n );\n};\n\nexport type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };\nexport { addNotification, closeNotification };\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","React","createElement","Provider"],"mappings":";;;;;AAkBA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,kBAAkB,EAAEC,MAAM,CAAC,CAAA;IAE/CC,YAAY,gBAAGC,SAAS,CAACL,YAAY,EAAC;IAEtCM,
|
1
|
+
{"version":3,"file":"Notification.js","sources":["../../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n component,\n mergeConfig,\n notificationConfig,\n NotificationProps,\n NotificationsProvider as Provider,\n NotificationIconPlacement,\n NotificationPlacement,\n NotificationLayout,\n addNotification,\n closeNotification,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport { modalClasses } from '../Modal';\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const Notification = component(mergedConfig);\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n UNSAFE_SSR_ENABLED?: boolean;\n}> = ({ children, frame = 'document', placement, UNSAFE_SSR_ENABLED }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement} UNSAFE_SSR_ENABLED={UNSAFE_SSR_ENABLED}>\n {children}\n </Provider>\n );\n};\n\nexport type { NotificationIconPlacement, NotificationPlacement, NotificationLayout, NotificationProps };\nexport { addNotification, closeNotification };\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","UNSAFE_SSR_ENABLED","React","createElement","Provider"],"mappings":";;;;;AAkBA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,kBAAkB,EAAEC,MAAM,CAAC,CAAA;IAE/CC,YAAY,gBAAGC,SAAS,CAACL,YAAY,EAAC;IAEtCM,qBAKX,GAAG,SALQA,qBAKXA,CAAAC,IAAA,EAAwE;AAAA,EAAA,IAAlEC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,UAAA,GAAAF,IAAA,CAAEG,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAG,KAAA,CAAA,GAAA,UAAU,GAAAA,UAAA;IAAEE,SAAS,GAAAJ,IAAA,CAATI,SAAS;IAAEC,kBAAkB,GAAAL,IAAA,CAAlBK,kBAAkB,CAAA;AAC/D,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAACC,uBAAQ,EAAA;AAACZ,IAAAA,MAAM,EAAEH,YAAa;AAACU,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAU;AAACC,IAAAA,kBAAkB,EAAEA,kBAAAA;AAAmB,GAAA,EACtGJ,QACK,CAAC,CAAA;AAEnB;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-serv",
|
3
|
-
"version": "0.235.
|
3
|
+
"version": "0.235.1-canary.1733.13052423640.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS SERV web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"directory": "packages/sdds-serv"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@salutejs/plasma-new-hope": "0.250.
|
35
|
+
"@salutejs/plasma-new-hope": "0.250.1-canary.1733.13052423640.0",
|
36
36
|
"@salutejs/sdds-themes": "0.31.0"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|
@@ -136,5 +136,5 @@
|
|
136
136
|
"sideEffects": [
|
137
137
|
"*.css"
|
138
138
|
],
|
139
|
-
"gitHead": "
|
139
|
+
"gitHead": "22bfc24ca7c9675d5eadaa4f50a0551c14d4f6bd"
|
140
140
|
}
|
@@ -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
|
};
|
@@ -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 };
|