@salutejs/plasma-b2c 1.504.0-canary.1733.13050080190.0 → 1.504.1-canary.1733.13052423640.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3087,6 +3087,7 @@ export const NotificationsProvider: React_2.FC<{
3087
3087
  children: ReactNode;
3088
3088
  frame?: string;
3089
3089
  placement?: NotificationPlacement;
3090
+ UNSAFE_SSR_ENABLED?: boolean;
3090
3091
  }>;
3091
3092
 
3092
3093
  // @public (undocumented)
@@ -21,4 +21,5 @@ 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
  }>;
@@ -14,10 +14,12 @@ var NotificationsProvider = exports.NotificationsProvider = function Notificatio
14
14
  var children = _ref.children,
15
15
  _ref$frame = _ref.frame,
16
16
  frame = _ref$frame === void 0 ? 'document' : _ref$frame,
17
- placement = _ref.placement;
17
+ placement = _ref.placement,
18
+ UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
18
19
  return /*#__PURE__*/_react["default"].createElement(_styledComponents.NotificationsProvider, {
19
20
  config: mergedConfig,
20
21
  frame: frame,
21
- placement: placement
22
+ placement: placement,
23
+ UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
22
24
  }, children);
23
25
  };
@@ -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 notificationConfig,\n NotificationsProvider as Provider,\n NotificationPlacement,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\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"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAaA,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 NotificationPlacement,\n notificationConfig,\n NotificationsProvider as Provider,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\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"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","UNSAFE_SSR_ENABLED","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAaA,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;;;;;"}
@@ -8,11 +8,13 @@ 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(NotificationsProvider$1, {
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
 
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.js","sources":["../../../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport {\n notificationConfig,\n NotificationsProvider as Provider,\n NotificationPlacement,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\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"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","React","createElement","Provider"],"mappings":";;;;AAaA,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 NotificationPlacement,\n notificationConfig,\n NotificationsProvider as Provider,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\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"],"names":["mergedConfig","mergeConfig","notificationConfig","config","Notification","component","NotificationsProvider","_ref","children","_ref$frame","frame","placement","UNSAFE_SSR_ENABLED","React","createElement","Provider"],"mappings":";;;;AAaA,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;;;;"}
@@ -7,10 +7,12 @@ export var NotificationsProvider = function NotificationsProvider(_ref) {
7
7
  var children = _ref.children,
8
8
  _ref$frame = _ref.frame,
9
9
  frame = _ref$frame === void 0 ? 'document' : _ref$frame,
10
- placement = _ref.placement;
10
+ placement = _ref.placement,
11
+ UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
11
12
  return /*#__PURE__*/React.createElement(Provider, {
12
13
  config: mergedConfig,
13
14
  frame: frame,
14
- placement: placement
15
+ placement: placement,
16
+ UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
15
17
  }, children);
16
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-b2c",
3
- "version": "1.504.0-canary.1733.13050080190.0",
3
+ "version": "1.504.1-canary.1733.13052423640.0",
4
4
  "description": "Salute Design System / React UI kit for business-related web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@salutejs/plasma-core": "1.191.0",
46
46
  "@salutejs/plasma-hope": "1.329.0",
47
- "@salutejs/plasma-new-hope": "0.250.0-canary.1733.13050080190.0",
47
+ "@salutejs/plasma-new-hope": "0.250.1-canary.1733.13052423640.0",
48
48
  "@salutejs/plasma-themes": "0.28.0",
49
49
  "@salutejs/plasma-tokens-b2c": "0.56.0",
50
50
  "@salutejs/plasma-tokens-web": "1.61.0",
@@ -108,5 +108,5 @@
108
108
  "react"
109
109
  ],
110
110
  "sideEffects": false,
111
- "gitHead": "8113c80b4a6985f030d1cd0aa6de4f0c4f977205"
111
+ "gitHead": "22bfc24ca7c9675d5eadaa4f50a0551c14d4f6bd"
112
112
  }
@@ -3087,6 +3087,7 @@ export const NotificationsProvider: React_2.FC<{
3087
3087
  children: ReactNode;
3088
3088
  frame?: string;
3089
3089
  placement?: NotificationPlacement;
3090
+ UNSAFE_SSR_ENABLED?: boolean;
3090
3091
  }>;
3091
3092
 
3092
3093
  // @public (undocumented)