@salutejs/sdds-serv 0.232.0-canary.1718.12927270828.0 → 0.233.0-canary.1718.12929142809.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,154 @@
1
+ # 0.232.0 (23 января 2025)
2
+
3
+ ## Функциональные изменения в компонентах
4
+
5
+ ### Rating
6
+
7
+ * исправлена логика расчета отображаемого значения
8
+
9
+ **Before**: <img width="521" alt="image" src="https://github.com/user-attachments/assets/187e7764-1a7d-440a-a027-66d9ab131401" />
10
+
11
+ **After**: <img width="517" alt="image" src="https://github.com/user-attachments/assets/23f56b4f-3ead-45fd-9d6b-3a0d3c8cba3f" />
12
+
13
+ [PR](https://github.com/salute-developers/plasma/pull/1685)
14
+
15
+ ### Note
16
+
17
+ * добавлен новый компонент Note
18
+
19
+ <img width="454" alt="image" src="https://github.com/user-attachments/assets/01230e8f-117c-46ec-b50f-8427e648049a" />
20
+
21
+ [PR](https://github.com/salute-developers/plasma/pull/1681)
22
+
23
+ ### Flow
24
+
25
+ Универсальный контейнер для упорядоченного размещения вложенных компонентов (например, медиафайлы, карточки или блоки текста).
26
+
27
+ [PR](https://github.com/salute-developers/plasma/pull/1657)
28
+
29
+ ### NumberInput
30
+
31
+ * исправлен баг, позволявший ввести число с точкой в конце, больше максимального значения или ниже минимального значения
32
+ * добавлено свойство `precision`, определяющее кол-во знаков после запятой
33
+ * добавлены тесты на эти кейсы
34
+
35
+ [PR](https://github.com/salute-developers/plasma/pull/1699)
36
+
37
+ ### DatePicker
38
+
39
+ * добавлена возможность указать место раскрытия календаря
40
+
41
+ **After**: <img width="620" alt="image" src="https://github.com/user-attachments/assets/06764c3a-c58d-46a9-a027-49715ebe91e4" />
42
+
43
+ [PR](https://github.com/salute-developers/plasma/pull/1697)
44
+
45
+ ### Avatar
46
+
47
+ * добавлен блок для отображения дополнительного контента в виде badge или counter
48
+
49
+ **After**: <img width="127" alt="image" src="https://github.com/user-attachments/assets/9e795ffb-4d81-44d5-8959-63234db209b8" /> <img width="116" alt="image" src="https://github.com/user-attachments/assets/452d8c47-44a4-4a75-b3a7-d7a43381469b" />
50
+
51
+ [PR](https://github.com/salute-developers/plasma/pull/1696)
52
+
53
+ * поля ввода даты становятся независимыми после выбора полной даты в DatePickerRange
54
+ * добавлено свойство `closeAfterDateSelect`, позволяющее закрыть календарь после выбора даты
55
+
56
+ [PR](https://github.com/salute-developers/plasma/pull/1702)
57
+
58
+ ### Slider
59
+
60
+ * Изменен отступ между иконкой слева и label при горизонтальном слайдере
61
+
62
+ [PR](https://github.com/salute-developers/plasma/pull/1703)
63
+
64
+ ### ThemeBuilder
65
+
66
+ Добавлена валидация при создании токена / редактировании токена:
67
+
68
+ * Проверка, что токен называется в CamelCase нотации
69
+ * Название токена не должно превышвать 32 символа
70
+ * Название не должно начинаться с название подгруппы, в которой он создаётся
71
+ * В названии не должно быть зарезервированных слов "onDark", "onLight", "inverse"
72
+ * Значение обычного цвета теперь поддерживается только в HEX и HEXA форматах
73
+ * Значение градиента допускается только в полном описании: linear|radial-gradient (<угол / радиус>, <цвет> <позиция>, <цвет> <позиция>)
74
+
75
+ [PR](https://github.com/salute-developers/plasma/pull/1690)
76
+
77
+ ### Cell
78
+
79
+ * добавлена возможность передачи `restProps` в компоненты `CellTextbox`
80
+ * исправлен пример для `CellTextbox`
81
+
82
+ ### Checkbox
83
+
84
+ * исправлена ширина кликабельной области `label` по умолчанию (`singleLine=false`)
85
+ * добавлена `story` для длинного названия + `singleLine`
86
+ * добавлен тест на клик по `label` и тест для свойства `singleLine`
87
+
88
+ ### Radiobox
89
+
90
+ * исправлена ширина кликабельной области `label` по умолчанию (`singleLine=false`)
91
+
92
+ [PR](https://github.com/salute-developers/plasma/pull/1701)
93
+
94
+ ### TextField, Autocomplete, TextArea, Combobox, Select
95
+
96
+ * исправлен размер иконки trigger для hint
97
+ * добавлено отображение Hint внутри TextField-like компонент
98
+
99
+ <img width="1080" alt="image" src="https://github.com/user-attachments/assets/99ab8bf7-b1b0-422b-a9e8-9fec18134833" />
100
+
101
+ [PR](https://github.com/salute-developers/plasma/pull/1706)
102
+
103
+ ### Combobox, Select, Dropdown
104
+
105
+ * добавлена возможность задавать направление раскрытия вложенных дропдаунов
106
+
107
+ <img width="420" alt="image" src="https://github.com/user-attachments/assets/1ada8d53-f6ed-4ea7-a921-d433ddd273a0" />
108
+
109
+ [PR](https://github.com/salute-developers/plasma/pull/1709)
110
+
111
+ ### Button, IconButton
112
+
113
+ * актуализированы примеры документации для свойств: `size`, `view`
114
+
115
+ [PR](https://github.com/salute-developers/plasma/pull/1668)
116
+
117
+ ### Tree
118
+
119
+ * перенесен внешний css из rc-tree в локальную сборку
120
+
121
+ [PR](https://github.com/salute-developers/plasma/pull/1710)
122
+
123
+ ### Tokens
124
+
125
+ * актуализированы токены для конфигураций компонентов
126
+
127
+ [PR](https://github.com/salute-developers/plasma/pull/1646)
128
+
129
+ ### Autocomplete, Select, Combobox
130
+
131
+ * добавлены новые токены для более детальной кастомизации
132
+ * исправлен токен жирности шрифта для `button-like` варианта `Select`;
133
+
134
+ [PR](https://github.com/salute-developers/plasma/pull/1675)
135
+
136
+ ### Dropdown
137
+
138
+ * добавлен токен `itemMargin`
139
+ * добавлен токен `disclosureIconColor`
140
+
141
+ [PR](https://github.com/salute-developers/plasma/pull/1705)
142
+
143
+ ## Изменения в библиотеки
144
+
145
+ ### Portal
146
+
147
+ * добавлено примечание о том что используются только в сборке `styled-components`
148
+
149
+ [PR](https://github.com/salute-developers/plasma/pull/1677)
150
+
151
+
1
152
  # 0.220.0 (26 декабря 2024)
2
153
 
3
154
  ## Функциональные изменения в компонентах
@@ -2700,6 +2700,7 @@ export const NotificationsProvider: React_2.FC<{
2700
2700
  children: ReactNode;
2701
2701
  frame?: string;
2702
2702
  placement?: NotificationPlacement;
2703
+ UNSAFE_SSR_ENABLED?: boolean;
2703
2704
  }>;
2704
2705
 
2705
2706
  // @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.232.0-canary.1718.12927270828.0",
3
+ "version": "0.233.0-canary.1718.12929142809.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.247.0-canary.1718.12927270828.0",
35
+ "@salutejs/plasma-new-hope": "0.248.0-canary.1718.12929142809.0",
36
36
  "@salutejs/sdds-themes": "0.31.0"
37
37
  },
38
38
  "peerDependencies": {
@@ -63,10 +63,10 @@
63
63
  "@rollup/plugin-commonjs": "^25.0.4",
64
64
  "@rollup/plugin-node-resolve": "^15.1.0",
65
65
  "@salutejs/plasma-colors": "0.14.0",
66
- "@salutejs/plasma-core": "1.191.0-dev.0",
67
- "@salutejs/plasma-cy-utils": "0.122.0-dev.0",
66
+ "@salutejs/plasma-core": "1.191.0",
67
+ "@salutejs/plasma-cy-utils": "0.122.0",
68
68
  "@salutejs/plasma-icons": "1.210.0",
69
- "@salutejs/plasma-sb-utils": "0.190.1-dev.0",
69
+ "@salutejs/plasma-sb-utils": "0.191.0",
70
70
  "@storybook/addon-docs": "7.6.17",
71
71
  "@storybook/addon-essentials": "7.6.17",
72
72
  "@storybook/addons": "7.6.17",
@@ -136,5 +136,5 @@
136
136
  "sideEffects": [
137
137
  "*.css"
138
138
  ],
139
- "gitHead": "4473c2dc2a4a6188ab272cd6b73e2c8d9704b03e"
139
+ "gitHead": "fa79603f1453bbf1c03a748d2d672d4500bb9490"
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 };