@salutejs/sdds-finportal 0.247.1-canary.1783.13392666998.0 → 0.248.0-canary.1778.13389874162.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +4 -0
- package/components/Notification/Notification.config.d.ts +4 -0
- package/components/Notification/Notification.config.js +11 -7
- package/components/Notification/Notification.d.ts +4 -0
- package/components/Tokens/Tokens.styles.js +2 -2
- package/es/components/Notification/Notification.config.js +11 -7
- package/es/components/Tokens/Tokens.styles.js +2 -2
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +4 -0
@@ -2693,6 +2693,10 @@ export { noteTokens }
|
|
2693
2693
|
const Notification_2: React_2.FunctionComponent<PropsType< {
|
2694
2694
|
view: {
|
2695
2695
|
default: PolymorphicClassName;
|
2696
|
+
negative: PolymorphicClassName;
|
2697
|
+
positive: PolymorphicClassName;
|
2698
|
+
warning: PolymorphicClassName;
|
2699
|
+
info: PolymorphicClassName;
|
2696
2700
|
};
|
2697
2701
|
layout: {
|
2698
2702
|
horizontal: PolymorphicClassName;
|
@@ -6,6 +6,10 @@ export declare const config: {
|
|
6
6
|
variations: {
|
7
7
|
view: {
|
8
8
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
info: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
13
|
};
|
10
14
|
layout: {
|
11
15
|
horizontal: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.config = void 0;
|
7
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
8
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
|
9
9
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
10
|
var config = exports.config = {
|
11
11
|
defaults: {
|
@@ -14,18 +14,22 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
view: {
|
17
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), _styledComponents.notificationTokens.contentColor, _styledComponents.notificationTokens.background, _styledComponents.notificationTokens.borderRadius, _styledComponents.notificationTokens.padding, _styledComponents.notificationTokens.contentPaddingTop, _styledComponents.notificationTokens.contentPaddingRight, _styledComponents.notificationTokens.contentPaddingBottom, _styledComponents.notificationTokens.contentPaddingLeft, _styledComponents.notificationTokens.contentPaddingTopWithoutIcon, _styledComponents.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, _styledComponents.notificationTokens.textboxPaddingTop, _styledComponents.notificationTokens.textboxPaddingRight, _styledComponents.notificationTokens.textboxPaddingBottom, _styledComponents.notificationTokens.textboxPaddingLeft, _styledComponents.notificationTokens.textboxPaddingRightWithCloseIcon, _styledComponents.notificationTokens.textboxGap, _styledComponents.notificationTokens.closeIconTop, _styledComponents.notificationTokens.closeIconRight, _styledComponents.notificationTokens.buttonsMarginTop, _styledComponents.notificationTokens.contentLeftIconSize, _styledComponents.notificationTokens.contentLeftIconMargin, _styledComponents.notificationTokens.contentTopIconMargin, _styledComponents.notificationTokens.contentFontFamily, _styledComponents.notificationTokens.contentFontSize, _styledComponents.notificationTokens.contentFontStyle, _styledComponents.notificationTokens.contentFontWeight, _styledComponents.notificationTokens.contentFontLetterSpacing, _styledComponents.notificationTokens.contentFontLineHeight, _styledComponents.notificationTokens.titleFontFamily, _styledComponents.notificationTokens.titleFontSize, _styledComponents.notificationTokens.titleFontStyle, _styledComponents.notificationTokens.titleFontWeight, _styledComponents.notificationTokens.titleFontLetterSpacing, _styledComponents.notificationTokens.titleFontLineHeight, _styledComponents.notificationTokens.closeIconColor, _styledComponents.notificationTokens.closeIconColorOnHover, _styledComponents.notificationTokens.horizontalLayoutGap, _styledComponents.notificationTokens.horizontalLayoutLeftIconMargin, _styledComponents.notificationTokens.paddingOneLineTextbox)
|
17
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), _styledComponents.notificationTokens.titleColor, _styledComponents.notificationTokens.contentLeftIconColor, _styledComponents.notificationTokens.contentColor, _styledComponents.notificationTokens.background, _styledComponents.notificationTokens.borderRadius, _styledComponents.notificationTokens.padding, _styledComponents.notificationTokens.contentPaddingTop, _styledComponents.notificationTokens.contentPaddingRight, _styledComponents.notificationTokens.contentPaddingBottom, _styledComponents.notificationTokens.contentPaddingLeft, _styledComponents.notificationTokens.contentPaddingTopWithoutIcon, _styledComponents.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, _styledComponents.notificationTokens.textboxPaddingTop, _styledComponents.notificationTokens.textboxPaddingRight, _styledComponents.notificationTokens.textboxPaddingBottom, _styledComponents.notificationTokens.textboxPaddingLeft, _styledComponents.notificationTokens.textboxPaddingRightWithCloseIcon, _styledComponents.notificationTokens.textboxGap, _styledComponents.notificationTokens.closeIconTop, _styledComponents.notificationTokens.closeIconRight, _styledComponents.notificationTokens.buttonsMarginTop, _styledComponents.notificationTokens.contentLeftIconSize, _styledComponents.notificationTokens.contentLeftIconMargin, _styledComponents.notificationTokens.contentTopIconMargin, _styledComponents.notificationTokens.contentFontFamily, _styledComponents.notificationTokens.contentFontSize, _styledComponents.notificationTokens.contentFontStyle, _styledComponents.notificationTokens.contentFontWeight, _styledComponents.notificationTokens.contentFontLetterSpacing, _styledComponents.notificationTokens.contentFontLineHeight, _styledComponents.notificationTokens.titleFontFamily, _styledComponents.notificationTokens.titleFontSize, _styledComponents.notificationTokens.titleFontStyle, _styledComponents.notificationTokens.titleFontWeight, _styledComponents.notificationTokens.titleFontLetterSpacing, _styledComponents.notificationTokens.titleFontLineHeight, _styledComponents.notificationTokens.closeIconColor, _styledComponents.notificationTokens.closeIconColorOnHover, _styledComponents.notificationTokens.horizontalLayoutGap, _styledComponents.notificationTokens.horizontalLayoutLeftIconMargin, _styledComponents.notificationTokens.paddingOneLineTextbox),
|
18
|
+
negative: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-negative);\n ", ": var(--text-negative);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), _styledComponents.notificationTokens.titleColor, _styledComponents.notificationTokens.contentLeftIconColor, _styledComponents.notificationTokens.contentColor, _styledComponents.notificationTokens.background, _styledComponents.notificationTokens.borderRadius, _styledComponents.notificationTokens.padding, _styledComponents.notificationTokens.contentPaddingTop, _styledComponents.notificationTokens.contentPaddingRight, _styledComponents.notificationTokens.contentPaddingBottom, _styledComponents.notificationTokens.contentPaddingLeft, _styledComponents.notificationTokens.contentPaddingTopWithoutIcon, _styledComponents.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, _styledComponents.notificationTokens.textboxPaddingTop, _styledComponents.notificationTokens.textboxPaddingRight, _styledComponents.notificationTokens.textboxPaddingBottom, _styledComponents.notificationTokens.textboxPaddingLeft, _styledComponents.notificationTokens.textboxPaddingRightWithCloseIcon, _styledComponents.notificationTokens.textboxGap, _styledComponents.notificationTokens.closeIconTop, _styledComponents.notificationTokens.closeIconRight, _styledComponents.notificationTokens.buttonsMarginTop, _styledComponents.notificationTokens.contentLeftIconSize, _styledComponents.notificationTokens.contentLeftIconMargin, _styledComponents.notificationTokens.contentTopIconMargin, _styledComponents.notificationTokens.contentFontFamily, _styledComponents.notificationTokens.contentFontSize, _styledComponents.notificationTokens.contentFontStyle, _styledComponents.notificationTokens.contentFontWeight, _styledComponents.notificationTokens.contentFontLetterSpacing, _styledComponents.notificationTokens.contentFontLineHeight, _styledComponents.notificationTokens.titleFontFamily, _styledComponents.notificationTokens.titleFontSize, _styledComponents.notificationTokens.titleFontStyle, _styledComponents.notificationTokens.titleFontWeight, _styledComponents.notificationTokens.titleFontLetterSpacing, _styledComponents.notificationTokens.titleFontLineHeight, _styledComponents.notificationTokens.closeIconColor, _styledComponents.notificationTokens.closeIconColorOnHover, _styledComponents.notificationTokens.horizontalLayoutGap, _styledComponents.notificationTokens.horizontalLayoutLeftIconMargin, _styledComponents.notificationTokens.paddingOneLineTextbox),
|
19
|
+
positive: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-positive);\n ", ": var(--text-positive);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), _styledComponents.notificationTokens.titleColor, _styledComponents.notificationTokens.contentLeftIconColor, _styledComponents.notificationTokens.contentColor, _styledComponents.notificationTokens.background, _styledComponents.notificationTokens.borderRadius, _styledComponents.notificationTokens.padding, _styledComponents.notificationTokens.contentPaddingTop, _styledComponents.notificationTokens.contentPaddingRight, _styledComponents.notificationTokens.contentPaddingBottom, _styledComponents.notificationTokens.contentPaddingLeft, _styledComponents.notificationTokens.contentPaddingTopWithoutIcon, _styledComponents.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, _styledComponents.notificationTokens.textboxPaddingTop, _styledComponents.notificationTokens.textboxPaddingRight, _styledComponents.notificationTokens.textboxPaddingBottom, _styledComponents.notificationTokens.textboxPaddingLeft, _styledComponents.notificationTokens.textboxPaddingRightWithCloseIcon, _styledComponents.notificationTokens.textboxGap, _styledComponents.notificationTokens.closeIconTop, _styledComponents.notificationTokens.closeIconRight, _styledComponents.notificationTokens.buttonsMarginTop, _styledComponents.notificationTokens.contentLeftIconSize, _styledComponents.notificationTokens.contentLeftIconMargin, _styledComponents.notificationTokens.contentTopIconMargin, _styledComponents.notificationTokens.contentFontFamily, _styledComponents.notificationTokens.contentFontSize, _styledComponents.notificationTokens.contentFontStyle, _styledComponents.notificationTokens.contentFontWeight, _styledComponents.notificationTokens.contentFontLetterSpacing, _styledComponents.notificationTokens.contentFontLineHeight, _styledComponents.notificationTokens.titleFontFamily, _styledComponents.notificationTokens.titleFontSize, _styledComponents.notificationTokens.titleFontStyle, _styledComponents.notificationTokens.titleFontWeight, _styledComponents.notificationTokens.titleFontLetterSpacing, _styledComponents.notificationTokens.titleFontLineHeight, _styledComponents.notificationTokens.closeIconColor, _styledComponents.notificationTokens.closeIconColorOnHover, _styledComponents.notificationTokens.horizontalLayoutGap, _styledComponents.notificationTokens.horizontalLayoutLeftIconMargin, _styledComponents.notificationTokens.paddingOneLineTextbox),
|
20
|
+
warning: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-warning);\n ", ": var(--text-warning);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), _styledComponents.notificationTokens.titleColor, _styledComponents.notificationTokens.contentLeftIconColor, _styledComponents.notificationTokens.contentColor, _styledComponents.notificationTokens.background, _styledComponents.notificationTokens.borderRadius, _styledComponents.notificationTokens.padding, _styledComponents.notificationTokens.contentPaddingTop, _styledComponents.notificationTokens.contentPaddingRight, _styledComponents.notificationTokens.contentPaddingBottom, _styledComponents.notificationTokens.contentPaddingLeft, _styledComponents.notificationTokens.contentPaddingTopWithoutIcon, _styledComponents.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, _styledComponents.notificationTokens.textboxPaddingTop, _styledComponents.notificationTokens.textboxPaddingRight, _styledComponents.notificationTokens.textboxPaddingBottom, _styledComponents.notificationTokens.textboxPaddingLeft, _styledComponents.notificationTokens.textboxPaddingRightWithCloseIcon, _styledComponents.notificationTokens.textboxGap, _styledComponents.notificationTokens.closeIconTop, _styledComponents.notificationTokens.closeIconRight, _styledComponents.notificationTokens.buttonsMarginTop, _styledComponents.notificationTokens.contentLeftIconSize, _styledComponents.notificationTokens.contentLeftIconMargin, _styledComponents.notificationTokens.contentTopIconMargin, _styledComponents.notificationTokens.contentFontFamily, _styledComponents.notificationTokens.contentFontSize, _styledComponents.notificationTokens.contentFontStyle, _styledComponents.notificationTokens.contentFontWeight, _styledComponents.notificationTokens.contentFontLetterSpacing, _styledComponents.notificationTokens.contentFontLineHeight, _styledComponents.notificationTokens.titleFontFamily, _styledComponents.notificationTokens.titleFontSize, _styledComponents.notificationTokens.titleFontStyle, _styledComponents.notificationTokens.titleFontWeight, _styledComponents.notificationTokens.titleFontLetterSpacing, _styledComponents.notificationTokens.titleFontLineHeight, _styledComponents.notificationTokens.closeIconColor, _styledComponents.notificationTokens.closeIconColorOnHover, _styledComponents.notificationTokens.horizontalLayoutGap, _styledComponents.notificationTokens.horizontalLayoutLeftIconMargin, _styledComponents.notificationTokens.paddingOneLineTextbox),
|
21
|
+
info: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-info);\n ", ": var(--text-info);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), _styledComponents.notificationTokens.titleColor, _styledComponents.notificationTokens.contentLeftIconColor, _styledComponents.notificationTokens.contentColor, _styledComponents.notificationTokens.background, _styledComponents.notificationTokens.borderRadius, _styledComponents.notificationTokens.padding, _styledComponents.notificationTokens.contentPaddingTop, _styledComponents.notificationTokens.contentPaddingRight, _styledComponents.notificationTokens.contentPaddingBottom, _styledComponents.notificationTokens.contentPaddingLeft, _styledComponents.notificationTokens.contentPaddingTopWithoutIcon, _styledComponents.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, _styledComponents.notificationTokens.textboxPaddingTop, _styledComponents.notificationTokens.textboxPaddingRight, _styledComponents.notificationTokens.textboxPaddingBottom, _styledComponents.notificationTokens.textboxPaddingLeft, _styledComponents.notificationTokens.textboxPaddingRightWithCloseIcon, _styledComponents.notificationTokens.textboxGap, _styledComponents.notificationTokens.closeIconTop, _styledComponents.notificationTokens.closeIconRight, _styledComponents.notificationTokens.buttonsMarginTop, _styledComponents.notificationTokens.contentLeftIconSize, _styledComponents.notificationTokens.contentLeftIconMargin, _styledComponents.notificationTokens.contentTopIconMargin, _styledComponents.notificationTokens.contentFontFamily, _styledComponents.notificationTokens.contentFontSize, _styledComponents.notificationTokens.contentFontStyle, _styledComponents.notificationTokens.contentFontWeight, _styledComponents.notificationTokens.contentFontLetterSpacing, _styledComponents.notificationTokens.contentFontLineHeight, _styledComponents.notificationTokens.titleFontFamily, _styledComponents.notificationTokens.titleFontSize, _styledComponents.notificationTokens.titleFontStyle, _styledComponents.notificationTokens.titleFontWeight, _styledComponents.notificationTokens.titleFontLetterSpacing, _styledComponents.notificationTokens.titleFontLineHeight, _styledComponents.notificationTokens.closeIconColor, _styledComponents.notificationTokens.closeIconColorOnHover, _styledComponents.notificationTokens.horizontalLayoutGap, _styledComponents.notificationTokens.horizontalLayoutLeftIconMargin, _styledComponents.notificationTokens.paddingOneLineTextbox)
|
18
22
|
},
|
19
23
|
layout: {
|
20
|
-
horizontal: /*#__PURE__*/(0, _styledComponents.css)(
|
21
|
-
vertical: /*#__PURE__*/(0, _styledComponents.css)(
|
24
|
+
horizontal: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 25rem;\n ", ": 1rem 0.5rem 1rem 0.875rem;\n "])), _styledComponents.notificationTokens.width, _styledComponents.notificationTokens.horizontalLayoutPadding),
|
25
|
+
vertical: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 15rem;\n ", ": 0.375rem;\n "])), _styledComponents.notificationTokens.width, _styledComponents.notificationTokens.padding)
|
22
26
|
},
|
23
27
|
closeIconType: {
|
24
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(
|
28
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 1.5rem;\n "])), _styledComponents.notificationTokens.closeIconButtonSize, _styledComponents.notificationTokens.closeIconSize)
|
25
29
|
},
|
26
30
|
size: {
|
27
|
-
xs: /*#__PURE__*/(0, _styledComponents.css)(
|
28
|
-
xxs: /*#__PURE__*/(0, _styledComponents.css)(
|
31
|
+
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n ", ": 0rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0rem;\n "])), _styledComponents.notificationTokens.closeIconTop, _styledComponents.notificationTokens.closeIconRight, _styledComponents.notificationTokens.padding, _styledComponents.notificationTokens.textboxPaddingTopWithTopIcon, _styledComponents.notificationTokens.contentPaddingTop, _styledComponents.notificationTokens.contentPaddingRight, _styledComponents.notificationTokens.contentPaddingBottom, _styledComponents.notificationTokens.contentPaddingLeft, _styledComponents.notificationTokens.buttonsMarginLeft),
|
32
|
+
xxs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.8125rem;\n ", ": 1rem;\n\n ", ": 0.5625rem 1rem 1rem 1rem;\n ", ": 0.1875rem;\n\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n\n ", ": 2rem;\n "])), _styledComponents.notificationTokens.closeIconTop, _styledComponents.notificationTokens.closeIconRight, _styledComponents.notificationTokens.padding, _styledComponents.notificationTokens.textboxPaddingTopWithTopIcon, _styledComponents.notificationTokens.contentPaddingTop, _styledComponents.notificationTokens.contentPaddingRight, _styledComponents.notificationTokens.contentPaddingBottom, _styledComponents.notificationTokens.contentPaddingLeft, _styledComponents.notificationTokens.buttonsMarginLeft)
|
29
33
|
}
|
30
34
|
}
|
31
35
|
};
|
@@ -4,6 +4,10 @@ export { modalClasses } from '../Modal';
|
|
4
4
|
export declare const Notification: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
5
5
|
view: {
|
6
6
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
info: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
11
|
};
|
8
12
|
layout: {
|
9
13
|
horizontal: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -16,7 +16,7 @@ var Category = exports.Category = /*#__PURE__*/(0, _styledComponents["default"])
|
|
16
16
|
})(["margin:0 0 1.125rem 1.5rem;"]);
|
17
17
|
var AccordionInfo = exports.AccordionInfo = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
18
18
|
componentId: "sdds-srvc__sc-bg0nd0-2"
|
19
|
-
})(["display:grid;grid-template-columns:18rem 7.938rem
|
19
|
+
})(["display:grid;grid-template-columns:18rem 7.938rem 3.813rem;grid-column-gap:1.5rem;font-family:var(--plasma-typo-body-m-font-family);font-size:var(--plasma-typo-body-m-font-size);font-style:var(--plasma-typo-body-m-font-style);font-weight:var(--plasma-typo-body-m-font-weight);letter-spacing:var(--plasma-typo-body-m-letter-spacing);line-height:var(--plasma-typo-body-m-line-height);"]);
|
20
20
|
var Subcategory = exports.Subcategory = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
21
21
|
componentId: "sdds-srvc__sc-bg0nd0-3"
|
22
22
|
})(["color:var(--text-secondary);"]);
|
@@ -34,7 +34,7 @@ var OpacityPart = exports.OpacityPart = /*#__PURE__*/_styledComponents["default"
|
|
34
34
|
})(["color:var(--text-secondary);padding-left:0.125rem;"]);
|
35
35
|
var TokenInfo = exports.TokenInfo = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
36
36
|
componentId: "sdds-srvc__sc-bg0nd0-8"
|
37
|
-
})(["color:var(--text-paragraph);cursor:default;&.copy{cursor:copy;}&.color{display:flex;align-items:center;gap:0.5rem;}&.
|
37
|
+
})(["color:var(--text-paragraph);cursor:default;&.copy{cursor:copy;}&.color{display:flex;align-items:center;gap:0.5rem;}&.opacity{text-align:right;}&:not(.opacity):hover{color:var(--text-paragraph-hover);", "{color:var(--text-paragraph-hover);}}&:not(.opacity):active{color:var(--text-paragraph-active);", "{color:var(--text-secondary-active);}}"], OpacityPart, OpacityPart);
|
38
38
|
var ColorCircle = exports.ColorCircle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
39
39
|
componentId: "sdds-srvc__sc-bg0nd0-9"
|
40
40
|
})(["width:1.25rem;height:1.25rem;border-radius:50%;background:", ";box-shadow:", ";"], function (props) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
|
2
2
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
3
|
import { css, notificationTokens } from '@salutejs/plasma-new-hope/styled-components';
|
4
4
|
export var config = {
|
@@ -8,18 +8,22 @@ export var config = {
|
|
8
8
|
},
|
9
9
|
variations: {
|
10
10
|
view: {
|
11
|
-
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), notificationTokens.contentColor, notificationTokens.background, notificationTokens.borderRadius, notificationTokens.padding, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.contentPaddingTopWithoutIcon, notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, notificationTokens.textboxPaddingTop, notificationTokens.textboxPaddingRight, notificationTokens.textboxPaddingBottom, notificationTokens.textboxPaddingLeft, notificationTokens.textboxPaddingRightWithCloseIcon, notificationTokens.textboxGap, notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.buttonsMarginTop, notificationTokens.contentLeftIconSize, notificationTokens.contentLeftIconMargin, notificationTokens.contentTopIconMargin, notificationTokens.contentFontFamily, notificationTokens.contentFontSize, notificationTokens.contentFontStyle, notificationTokens.contentFontWeight, notificationTokens.contentFontLetterSpacing, notificationTokens.contentFontLineHeight, notificationTokens.titleFontFamily, notificationTokens.titleFontSize, notificationTokens.titleFontStyle, notificationTokens.titleFontWeight, notificationTokens.titleFontLetterSpacing, notificationTokens.titleFontLineHeight, notificationTokens.closeIconColor, notificationTokens.closeIconColorOnHover, notificationTokens.horizontalLayoutGap, notificationTokens.horizontalLayoutLeftIconMargin, notificationTokens.paddingOneLineTextbox)
|
11
|
+
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), notificationTokens.titleColor, notificationTokens.contentLeftIconColor, notificationTokens.contentColor, notificationTokens.background, notificationTokens.borderRadius, notificationTokens.padding, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.contentPaddingTopWithoutIcon, notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, notificationTokens.textboxPaddingTop, notificationTokens.textboxPaddingRight, notificationTokens.textboxPaddingBottom, notificationTokens.textboxPaddingLeft, notificationTokens.textboxPaddingRightWithCloseIcon, notificationTokens.textboxGap, notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.buttonsMarginTop, notificationTokens.contentLeftIconSize, notificationTokens.contentLeftIconMargin, notificationTokens.contentTopIconMargin, notificationTokens.contentFontFamily, notificationTokens.contentFontSize, notificationTokens.contentFontStyle, notificationTokens.contentFontWeight, notificationTokens.contentFontLetterSpacing, notificationTokens.contentFontLineHeight, notificationTokens.titleFontFamily, notificationTokens.titleFontSize, notificationTokens.titleFontStyle, notificationTokens.titleFontWeight, notificationTokens.titleFontLetterSpacing, notificationTokens.titleFontLineHeight, notificationTokens.closeIconColor, notificationTokens.closeIconColorOnHover, notificationTokens.horizontalLayoutGap, notificationTokens.horizontalLayoutLeftIconMargin, notificationTokens.paddingOneLineTextbox),
|
12
|
+
negative: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-negative);\n ", ": var(--text-negative);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), notificationTokens.titleColor, notificationTokens.contentLeftIconColor, notificationTokens.contentColor, notificationTokens.background, notificationTokens.borderRadius, notificationTokens.padding, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.contentPaddingTopWithoutIcon, notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, notificationTokens.textboxPaddingTop, notificationTokens.textboxPaddingRight, notificationTokens.textboxPaddingBottom, notificationTokens.textboxPaddingLeft, notificationTokens.textboxPaddingRightWithCloseIcon, notificationTokens.textboxGap, notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.buttonsMarginTop, notificationTokens.contentLeftIconSize, notificationTokens.contentLeftIconMargin, notificationTokens.contentTopIconMargin, notificationTokens.contentFontFamily, notificationTokens.contentFontSize, notificationTokens.contentFontStyle, notificationTokens.contentFontWeight, notificationTokens.contentFontLetterSpacing, notificationTokens.contentFontLineHeight, notificationTokens.titleFontFamily, notificationTokens.titleFontSize, notificationTokens.titleFontStyle, notificationTokens.titleFontWeight, notificationTokens.titleFontLetterSpacing, notificationTokens.titleFontLineHeight, notificationTokens.closeIconColor, notificationTokens.closeIconColorOnHover, notificationTokens.horizontalLayoutGap, notificationTokens.horizontalLayoutLeftIconMargin, notificationTokens.paddingOneLineTextbox),
|
13
|
+
positive: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-positive);\n ", ": var(--text-positive);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), notificationTokens.titleColor, notificationTokens.contentLeftIconColor, notificationTokens.contentColor, notificationTokens.background, notificationTokens.borderRadius, notificationTokens.padding, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.contentPaddingTopWithoutIcon, notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, notificationTokens.textboxPaddingTop, notificationTokens.textboxPaddingRight, notificationTokens.textboxPaddingBottom, notificationTokens.textboxPaddingLeft, notificationTokens.textboxPaddingRightWithCloseIcon, notificationTokens.textboxGap, notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.buttonsMarginTop, notificationTokens.contentLeftIconSize, notificationTokens.contentLeftIconMargin, notificationTokens.contentTopIconMargin, notificationTokens.contentFontFamily, notificationTokens.contentFontSize, notificationTokens.contentFontStyle, notificationTokens.contentFontWeight, notificationTokens.contentFontLetterSpacing, notificationTokens.contentFontLineHeight, notificationTokens.titleFontFamily, notificationTokens.titleFontSize, notificationTokens.titleFontStyle, notificationTokens.titleFontWeight, notificationTokens.titleFontLetterSpacing, notificationTokens.titleFontLineHeight, notificationTokens.closeIconColor, notificationTokens.closeIconColorOnHover, notificationTokens.horizontalLayoutGap, notificationTokens.horizontalLayoutLeftIconMargin, notificationTokens.paddingOneLineTextbox),
|
14
|
+
warning: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-warning);\n ", ": var(--text-warning);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), notificationTokens.titleColor, notificationTokens.contentLeftIconColor, notificationTokens.contentColor, notificationTokens.background, notificationTokens.borderRadius, notificationTokens.padding, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.contentPaddingTopWithoutIcon, notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, notificationTokens.textboxPaddingTop, notificationTokens.textboxPaddingRight, notificationTokens.textboxPaddingBottom, notificationTokens.textboxPaddingLeft, notificationTokens.textboxPaddingRightWithCloseIcon, notificationTokens.textboxGap, notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.buttonsMarginTop, notificationTokens.contentLeftIconSize, notificationTokens.contentLeftIconMargin, notificationTokens.contentTopIconMargin, notificationTokens.contentFontFamily, notificationTokens.contentFontSize, notificationTokens.contentFontStyle, notificationTokens.contentFontWeight, notificationTokens.contentFontLetterSpacing, notificationTokens.contentFontLineHeight, notificationTokens.titleFontFamily, notificationTokens.titleFontSize, notificationTokens.titleFontStyle, notificationTokens.titleFontWeight, notificationTokens.titleFontLetterSpacing, notificationTokens.titleFontLineHeight, notificationTokens.closeIconColor, notificationTokens.closeIconColorOnHover, notificationTokens.horizontalLayoutGap, notificationTokens.horizontalLayoutLeftIconMargin, notificationTokens.paddingOneLineTextbox),
|
15
|
+
info: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-info);\n ", ": var(--text-info);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-card);\n ", ": 0.75rem;\n ", ": 0.375rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0.25rem;\n ", ": 1rem;\n\n ", ": 0.1875rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": 1.625rem;\n ", ": 0.25rem;\n\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n\n ", ": 1.5rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "])), notificationTokens.titleColor, notificationTokens.contentLeftIconColor, notificationTokens.contentColor, notificationTokens.background, notificationTokens.borderRadius, notificationTokens.padding, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.contentPaddingTopWithoutIcon, notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, notificationTokens.textboxPaddingTop, notificationTokens.textboxPaddingRight, notificationTokens.textboxPaddingBottom, notificationTokens.textboxPaddingLeft, notificationTokens.textboxPaddingRightWithCloseIcon, notificationTokens.textboxGap, notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.buttonsMarginTop, notificationTokens.contentLeftIconSize, notificationTokens.contentLeftIconMargin, notificationTokens.contentTopIconMargin, notificationTokens.contentFontFamily, notificationTokens.contentFontSize, notificationTokens.contentFontStyle, notificationTokens.contentFontWeight, notificationTokens.contentFontLetterSpacing, notificationTokens.contentFontLineHeight, notificationTokens.titleFontFamily, notificationTokens.titleFontSize, notificationTokens.titleFontStyle, notificationTokens.titleFontWeight, notificationTokens.titleFontLetterSpacing, notificationTokens.titleFontLineHeight, notificationTokens.closeIconColor, notificationTokens.closeIconColorOnHover, notificationTokens.horizontalLayoutGap, notificationTokens.horizontalLayoutLeftIconMargin, notificationTokens.paddingOneLineTextbox)
|
12
16
|
},
|
13
17
|
layout: {
|
14
|
-
horizontal: /*#__PURE__*/css(
|
15
|
-
vertical: /*#__PURE__*/css(
|
18
|
+
horizontal: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 25rem;\n ", ": 1rem 0.5rem 1rem 0.875rem;\n "])), notificationTokens.width, notificationTokens.horizontalLayoutPadding),
|
19
|
+
vertical: /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 15rem;\n ", ": 0.375rem;\n "])), notificationTokens.width, notificationTokens.padding)
|
16
20
|
},
|
17
21
|
closeIconType: {
|
18
|
-
"default": /*#__PURE__*/css(
|
22
|
+
"default": /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 1.5rem;\n "])), notificationTokens.closeIconButtonSize, notificationTokens.closeIconSize)
|
19
23
|
},
|
20
24
|
size: {
|
21
|
-
xs: /*#__PURE__*/css(
|
22
|
-
xxs: /*#__PURE__*/css(
|
25
|
+
xs: /*#__PURE__*/css(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n ", ": 0rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.25rem;\n\n ", ": 0rem;\n "])), notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.padding, notificationTokens.textboxPaddingTopWithTopIcon, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.buttonsMarginLeft),
|
26
|
+
xxs: /*#__PURE__*/css(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.8125rem;\n ", ": 1rem;\n\n ", ": 0.5625rem 1rem 1rem 1rem;\n ", ": 0.1875rem;\n\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n\n ", ": 2rem;\n "])), notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.padding, notificationTokens.textboxPaddingTopWithTopIcon, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.buttonsMarginLeft)
|
23
27
|
}
|
24
28
|
}
|
25
29
|
};
|
@@ -9,7 +9,7 @@ export var Category = /*#__PURE__*/styled(H2).withConfig({
|
|
9
9
|
})(["margin:0 0 1.125rem 1.5rem;"]);
|
10
10
|
export var AccordionInfo = /*#__PURE__*/styled.div.withConfig({
|
11
11
|
componentId: "sdds-srvc__sc-bg0nd0-2"
|
12
|
-
})(["display:grid;grid-template-columns:18rem 7.938rem
|
12
|
+
})(["display:grid;grid-template-columns:18rem 7.938rem 3.813rem;grid-column-gap:1.5rem;font-family:var(--plasma-typo-body-m-font-family);font-size:var(--plasma-typo-body-m-font-size);font-style:var(--plasma-typo-body-m-font-style);font-weight:var(--plasma-typo-body-m-font-weight);letter-spacing:var(--plasma-typo-body-m-letter-spacing);line-height:var(--plasma-typo-body-m-line-height);"]);
|
13
13
|
export var Subcategory = /*#__PURE__*/styled.div.withConfig({
|
14
14
|
componentId: "sdds-srvc__sc-bg0nd0-3"
|
15
15
|
})(["color:var(--text-secondary);"]);
|
@@ -27,7 +27,7 @@ export var OpacityPart = /*#__PURE__*/styled.span.withConfig({
|
|
27
27
|
})(["color:var(--text-secondary);padding-left:0.125rem;"]);
|
28
28
|
export var TokenInfo = /*#__PURE__*/styled.div.withConfig({
|
29
29
|
componentId: "sdds-srvc__sc-bg0nd0-8"
|
30
|
-
})(["color:var(--text-paragraph);cursor:default;&.copy{cursor:copy;}&.color{display:flex;align-items:center;gap:0.5rem;}&.
|
30
|
+
})(["color:var(--text-paragraph);cursor:default;&.copy{cursor:copy;}&.color{display:flex;align-items:center;gap:0.5rem;}&.opacity{text-align:right;}&:not(.opacity):hover{color:var(--text-paragraph-hover);", "{color:var(--text-paragraph-hover);}}&:not(.opacity):active{color:var(--text-paragraph-active);", "{color:var(--text-secondary-active);}}"], OpacityPart, OpacityPart);
|
31
31
|
export var ColorCircle = /*#__PURE__*/styled.div.withConfig({
|
32
32
|
componentId: "sdds-srvc__sc-bg0nd0-9"
|
33
33
|
})(["width:1.25rem;height:1.25rem;border-radius:50%;background:", ";box-shadow:", ";"], function (props) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.248.0-canary.1778.13389874162.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS FinPortal web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"directory": "packages/sdds-finportal"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.
|
22
|
+
"@salutejs/plasma-new-hope": "0.271.0-canary.1778.13389874162.0",
|
23
23
|
"@salutejs/sdds-themes": "0.32.0-dev.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
@@ -95,5 +95,5 @@
|
|
95
95
|
"Vasiliy Loginevskiy"
|
96
96
|
],
|
97
97
|
"sideEffects": false,
|
98
|
-
"gitHead": "
|
98
|
+
"gitHead": "5611a7dbfe6f402c818684d9ca5148fb31fbc1d2"
|
99
99
|
}
|
@@ -2693,6 +2693,10 @@ export { noteTokens }
|
|
2693
2693
|
const Notification_2: React_2.FunctionComponent<PropsType< {
|
2694
2694
|
view: {
|
2695
2695
|
default: PolymorphicClassName;
|
2696
|
+
negative: PolymorphicClassName;
|
2697
|
+
positive: PolymorphicClassName;
|
2698
|
+
warning: PolymorphicClassName;
|
2699
|
+
info: PolymorphicClassName;
|
2696
2700
|
};
|
2697
2701
|
layout: {
|
2698
2702
|
horizontal: PolymorphicClassName;
|