@salutejs/plasma-new-hope 0.270.1-canary.1783.13392666998.0 → 0.271.0-canary.1778.13389874162.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Notification/Notification.css +11 -11
- package/cjs/components/Notification/Notification.js +7 -3
- package/cjs/components/Notification/Notification.js.map +1 -1
- package/cjs/components/Notification/Notification.styles.js +42 -26
- package/cjs/components/Notification/Notification.styles.js.map +1 -1
- package/cjs/components/Notification/{Notification.styles_1u5gusp.css → Notification.styles_gk4bgs.css} +2 -2
- package/cjs/components/Notification/Notification.tokens.js +1 -0
- package/cjs/components/Notification/Notification.tokens.js.map +1 -1
- package/cjs/components/Notification/Notification.types.js.map +1 -1
- package/cjs/components/Notification/NotificationsPortal.js +1 -0
- package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
- package/cjs/components/Notification/NotificationsProvider.css +11 -11
- package/cjs/index.css +11 -11
- package/emotion/cjs/components/Notification/Notification.js +7 -3
- package/emotion/cjs/components/Notification/Notification.styles.js +32 -26
- package/emotion/cjs/components/Notification/Notification.tokens.js +1 -0
- package/emotion/cjs/components/Notification/NotificationsPortal.js +2 -1
- package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +11 -7
- package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +35 -3
- package/emotion/cjs/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx +2 -2
- package/emotion/cjs/examples/plasma_web/components/Notification/Notification.config.js +11 -7
- package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +18 -2
- package/emotion/cjs/examples/plasma_web/components/Tokens/Tokens.stories.tsx +2 -2
- package/emotion/es/components/Notification/Notification.js +7 -3
- package/emotion/es/components/Notification/Notification.styles.js +32 -26
- package/emotion/es/components/Notification/Notification.tokens.js +1 -0
- package/emotion/es/components/Notification/NotificationsPortal.js +2 -1
- package/emotion/es/examples/plasma_b2c/components/Notification/Notification.config.js +11 -7
- package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +35 -3
- package/emotion/es/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx +2 -2
- package/emotion/es/examples/plasma_web/components/Notification/Notification.config.js +11 -7
- package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +18 -2
- package/emotion/es/examples/plasma_web/components/Tokens/Tokens.stories.tsx +2 -2
- package/es/components/Notification/Notification.css +11 -11
- package/es/components/Notification/Notification.js +7 -3
- package/es/components/Notification/Notification.js.map +1 -1
- package/es/components/Notification/Notification.styles.js +42 -26
- package/es/components/Notification/Notification.styles.js.map +1 -1
- package/es/components/Notification/{Notification.styles_1u5gusp.css → Notification.styles_gk4bgs.css} +2 -2
- package/es/components/Notification/Notification.tokens.js +1 -0
- package/es/components/Notification/Notification.tokens.js.map +1 -1
- package/es/components/Notification/Notification.types.js.map +1 -1
- package/es/components/Notification/NotificationsPortal.js +1 -0
- package/es/components/Notification/NotificationsPortal.js.map +1 -1
- package/es/components/Notification/NotificationsProvider.css +11 -11
- package/es/index.css +11 -11
- package/package.json +2 -2
- package/styled-components/cjs/components/Notification/Notification.js +7 -3
- package/styled-components/cjs/components/Notification/Notification.styles.js +21 -15
- package/styled-components/cjs/components/Notification/Notification.tokens.js +1 -0
- package/styled-components/cjs/components/Notification/NotificationsPortal.js +1 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +5 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +35 -3
- package/styled-components/cjs/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx +2 -2
- package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.config.js +5 -1
- package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +18 -2
- package/styled-components/cjs/examples/plasma_web/components/Tokens/Tokens.stories.tsx +2 -2
- package/styled-components/es/components/Notification/Notification.js +7 -3
- package/styled-components/es/components/Notification/Notification.styles.js +21 -15
- package/styled-components/es/components/Notification/Notification.tokens.js +1 -0
- package/styled-components/es/components/Notification/NotificationsPortal.js +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.config.js +5 -1
- package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +35 -3
- package/styled-components/es/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx +2 -2
- package/styled-components/es/examples/plasma_web/components/Notification/Notification.config.js +5 -1
- package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +18 -2
- package/styled-components/es/examples/plasma_web/components/Tokens/Tokens.stories.tsx +2 -2
- package/types/components/Notification/Notification.d.ts.map +1 -1
- package/types/components/Notification/Notification.styles.d.ts +6 -2
- package/types/components/Notification/Notification.styles.d.ts.map +1 -1
- package/types/components/Notification/Notification.tokens.d.ts +1 -0
- package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
- package/types/components/Notification/Notification.types.d.ts +8 -0
- package/types/components/Notification/Notification.types.d.ts.map +1 -1
- package/types/components/Notification/NotificationsPortal.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts +4 -0
- package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Notification/Notification.config.d.ts +4 -0
- package/types/examples/plasma_web/components/Notification/Notification.config.d.ts.map +1 -1
@@ -51,6 +51,7 @@ var tokens = exports.tokens = {
|
|
51
51
|
textboxGap: '--plasma-notification-textbox-gap',
|
52
52
|
buttonsMarginTop: '--plasma-notification-buttons-margin-top',
|
53
53
|
buttonsMarginLeft: '--plasma-notification-buttons-margin-left',
|
54
|
+
contentLeftIconColor: '--plasma-notification-content-left-icon-color',
|
54
55
|
contentLeftIconSize: '--plasma-notification-content-left-icon-size',
|
55
56
|
contentLeftIconMargin: '--plasma-notification-content-left-icon-margin',
|
56
57
|
contentTopIconMargin: '--plasma-notification-content-top-icon-margin',
|
@@ -27,7 +27,7 @@ var Popup = /*#__PURE__*/(0, _engines.component)(_Popup.popupConfig);
|
|
27
27
|
var StyledPopup = /*#__PURE__*/(0, _base["default"])(Popup, {
|
28
28
|
target: "eefkyeq0",
|
29
29
|
label: "plasma-new-hope__StyledPopup"
|
30
|
-
})("&>.", _plasmaCore.popupBaseRootClass, "{overflow:hidden;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL05vdGlmaWNhdGlvbnNQb3J0YWwudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlCaUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ob3RpZmljYXRpb24vTm90aWZpY2F0aW9uc1BvcnRhbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgRkMsIEZvcndhcmRSZWZFeG90aWNDb21wb25lbnQsIFJlZkF0dHJpYnV0ZXMsIHVzZU1lbW8gfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyB1c2VTdG9yZW9uIH0gZnJvbSAnc3RvcmVvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBwb3B1cEJhc2VSb290Q2xhc3MgfSBmcm9tICdAc2FsdXRlanMvcGxhc21hLWNvcmUnO1xuXG5pbXBvcnQgeyBQb3B1cFByb3ZpZGVyLCBwb3B1cENvbmZpZyB9IGZyb20gJy4uL1BvcHVwJztcbmltcG9ydCB7IGNvbXBvbmVudCB9IGZyb20gJy4uLy4uL2VuZ2luZXMnO1xuaW1wb3J0IHsgY3ggfSBmcm9tICcuLi8uLi91dGlscyc7XG5cbmltcG9ydCB7IE5vdGlmaWNhdGlvbnNTdGF0ZSwgTm90aWZpY2F0aW9uc0V2ZW50cywgY2xvc2VOb3RpZmljYXRpb24gfSBmcm9tICcuL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29tcG9uZW50KGNvbmZpZykgYXMgRm9yd2FyZFJlZkV4b3RpY0NvbXBvbmVudDxOb3RpZmljYXRpb25Qcm9wcyAmIFJlZkF0dHJpYnV0ZXM8SFRNTERpdkVsZW1lbnQ+
|
30
|
+
})("&>.", _plasmaCore.popupBaseRootClass, "{overflow:hidden;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL05vdGlmaWNhdGlvbnNQb3J0YWwudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlCaUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ob3RpZmljYXRpb24vTm90aWZpY2F0aW9uc1BvcnRhbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgRkMsIEZvcndhcmRSZWZFeG90aWNDb21wb25lbnQsIFJlZkF0dHJpYnV0ZXMsIHVzZU1lbW8gfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyB1c2VTdG9yZW9uIH0gZnJvbSAnc3RvcmVvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBwb3B1cEJhc2VSb290Q2xhc3MgfSBmcm9tICdAc2FsdXRlanMvcGxhc21hLWNvcmUnO1xuXG5pbXBvcnQgeyBQb3B1cFByb3ZpZGVyLCBwb3B1cENvbmZpZyB9IGZyb20gJy4uL1BvcHVwJztcbmltcG9ydCB7IGNvbXBvbmVudCB9IGZyb20gJy4uLy4uL2VuZ2luZXMnO1xuaW1wb3J0IHsgY3ggfSBmcm9tICcuLi8uLi91dGlscyc7XG5cbmltcG9ydCB7IE5vdGlmaWNhdGlvbnNTdGF0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xuXG4gICAgY29uc3QgTm90aWZpY2F0aW9uID0gdXNlTWVtbyhcbiAgICAgICAgKCkgPT4gY29tcG9uZW50KGNvbmZpZykgYXMgRm9yd2FyZFJlZkV4b3RpY0NvbXBvbmVudDxOb3RpZmljYXRpb25Qcm9wcyAmIFJlZkF0dHJpYnV0ZXM8SFRNTERpdkVsZW1lbnQ+PixcbiAgICAgICAgW10sXG4gICAgKTtcblxuICAgIGNvbnNvbGUubG9nKG5vdGlmaWNhdGlvbnMpO1xuXG4gICAgcmV0dXJuIChcbiAgICAgICAgPFBvcHVwUHJvdmlkZXIgVU5TQUZFX1NTUl9FTkFCTEVEPXtVTlNBRkVfU1NSX0VOQUJMRUR9PlxuICAgICAgICAgICAge25vdGlmaWNhdGlvbnMubGVuZ3RoID4gMCAmJiAoXG4gICAgICAgICAgICAgICAgPFN0eWxlZFBvcHVwIG9wZW5lZCBmcmFtZT17ZnJhbWV9IHBsYWNlbWVudD17cGxhY2VtZW50fSB6SW5kZXg9XCI5MTAwXCI+XG4gICAgICAgICAgICAgICAgICAgIDxTdHlsZWRSb290IHBsYWNlbWVudD17cGxhY2VtZW50fT5cbiAgICAgICAgICAgICAgICAgICAgICAgIHtub3RpZmljYXRpb25zLm1hcCgoeyBpZCwgaXNIaWRkZW4sIC4uLnJlc3QgfSkgPT4gKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRJdGVtV3JhcHBlclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBrZXk9e2lkfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNIaWRkZW4gPyBjbGFzc2VzLm5vdGlmaWNhdGlvbkl0ZW1IaWRkZW4gOiBjbGFzc2VzLm5vdGlmaWNhdGlvbkl0ZW1PcGVuZWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwbGFjZW1lbnQgPT09ICdib3R0b20tbGVmdCcgJiYgY2xhc3Nlcy5ub3RpZmljYXRpb25MZWZ0VG9SaWdodEFuaW1hdGlvbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNIaWRkZW49e2lzSGlkZGVuIHx8IGZhbHNlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPE5vdGlmaWNhdGlvblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAga2V5PXtpZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPXtpZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2xvc2VCdXR0b25DbGljaz17KCkgPT4gY2xvc2VOb3RpZmljYXRpb24oaWQpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgey4uLnJlc3R9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9TdHlsZWRJdGVtV3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICkpfVxuICAgICAgICAgICAgICAgICAgICA8L1N0eWxlZFJvb3Q+XG4gICAgICAgICAgICAgICAgPC9TdHlsZWRQb3B1cD5cbiAgICAgICAgICAgICl9XG4gICAgICAgIDwvUG9wdXBQcm92aWRlcj5cbiAgICApO1xufTtcbiJdfQ== */"));
|
31
31
|
|
32
32
|
/**
|
33
33
|
* Обертка для визуального представления уведомлений.
|
@@ -43,6 +43,7 @@ var NotificationsPortal = exports.NotificationsPortal = function NotificationsPo
|
|
43
43
|
var Notification = (0, _react.useMemo)(function () {
|
44
44
|
return (0, _engines.component)(config);
|
45
45
|
}, []);
|
46
|
+
console.log(notifications);
|
46
47
|
return /*#__PURE__*/_react["default"].createElement(_Popup.PopupProvider, {
|
47
48
|
UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
|
48
49
|
}, notifications.length > 0 && /*#__PURE__*/_react["default"].createElement(StyledPopup, {
|