@salutejs/sdds-serv 0.235.0-dev.0 → 0.236.0-canary.1718.13051742234.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2704,6 +2704,7 @@ export const NotificationsProvider: React_2.FC<{
2704
2704
  children: ReactNode;
2705
2705
  frame?: string;
2706
2706
  placement?: NotificationPlacement;
2707
+ UNSAFE_SSR_ENABLED?: boolean;
2707
2708
  }>;
2708
2709
 
2709
2710
  // @public (undocumented)
@@ -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,qBAIX,GAAG,SAJQA,qBAIXA,CAAAC,IAAA,EAAoD;AAAA,EAAA,IAA9CC,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,CAAA;AAC3C,EAAA,oBACIC,sBAAA,CAAAC,aAAA,CAACC,mCAAQ,EAAA;AAACX,IAAAA,MAAM,EAAEH,YAAa;AAACU,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAAA;AAAU,GAAA,EAC9DH,QACK,CAAC,CAAA;AAEnB;;;;;;;;;;;;;;;;;"}
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,qBAIX,GAAG,SAJQA,qBAIXA,CAAAC,IAAA,EAAoD;AAAA,EAAA,IAA9CC,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,CAAA;AAC3C,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAACC,uBAAQ,EAAA;AAACX,IAAAA,MAAM,EAAEH,YAAa;AAACU,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAAA;AAAU,GAAA,EAC9DH,QACK,CAAC,CAAA;AAEnB;;;;"}
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.0-dev.0",
3
+ "version": "0.236.0-canary.1718.13051742234.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.0-dev.0",
35
+ "@salutejs/plasma-new-hope": "0.251.0-canary.1718.13051742234.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": "8588db8b8e7888c749ba84772cd8ba5f8ac2f382"
139
+ "gitHead": "003d087f45ab6a818bf7d80a306eb814fdcaf426"
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 };