@salutejs/sdds-finportal 0.146.0-canary.1497.11456665098.0 → 0.146.0-canary.1500.11456169969.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +9 -4
- package/components/Badge/Badge.d.ts +3 -0
- package/components/Dropdown/Dropdown.config.d.ts +3 -3
- package/components/Dropdown/Dropdown.config.js +5 -5
- package/components/Dropdown/Dropdown.d.ts +4 -4
- package/components/Dropdown/index.d.ts +1 -0
- package/es/components/Dropdown/Dropdown.config.js +6 -6
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +9 -4
@@ -89,7 +89,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
89
89
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
90
90
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
91
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
92
|
-
import { DropdownProps } from '@salutejs/plasma-new-hope/
|
92
|
+
import { DropdownProps } from '@salutejs/plasma-new-hope/styled-components';
|
93
93
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
94
94
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
95
95
|
import { dsplM } from '@salutejs/sdds-themes/tokens';
|
@@ -565,6 +565,7 @@ true: PolymorphicClassName;
|
|
565
565
|
text?: string | undefined;
|
566
566
|
contentLeft?: ReactNode;
|
567
567
|
contentRight?: ReactNode;
|
568
|
+
truncate?: boolean | undefined;
|
568
569
|
size?: string | undefined;
|
569
570
|
view?: string | undefined;
|
570
571
|
} & {
|
@@ -577,6 +578,7 @@ transparent?: false | undefined;
|
|
577
578
|
text?: string | undefined;
|
578
579
|
contentLeft?: ReactNode;
|
579
580
|
contentRight?: ReactNode;
|
581
|
+
truncate?: boolean | undefined;
|
580
582
|
size?: string | undefined;
|
581
583
|
view?: string | undefined;
|
582
584
|
} & {
|
@@ -589,6 +591,7 @@ clear?: false | undefined;
|
|
589
591
|
text?: string | undefined;
|
590
592
|
contentLeft?: ReactNode;
|
591
593
|
contentRight?: ReactNode;
|
594
|
+
truncate?: boolean | undefined;
|
592
595
|
size?: string | undefined;
|
593
596
|
view?: string | undefined;
|
594
597
|
} & {
|
@@ -1411,16 +1414,18 @@ export { DrawerProps }
|
|
1411
1414
|
// @public (undocumented)
|
1412
1415
|
export const Dropdown: FunctionComponent<PropsType< {
|
1413
1416
|
size: {
|
1414
|
-
l: PolymorphicClassName;
|
1415
|
-
m: PolymorphicClassName;
|
1416
|
-
s: PolymorphicClassName;
|
1417
1417
|
xs: PolymorphicClassName;
|
1418
|
+
s: PolymorphicClassName;
|
1419
|
+
m: PolymorphicClassName;
|
1420
|
+
l: PolymorphicClassName;
|
1418
1421
|
};
|
1419
1422
|
view: {
|
1420
1423
|
default: PolymorphicClassName;
|
1421
1424
|
};
|
1422
1425
|
}> & DropdownProps & RefAttributes<HTMLDivElement>>;
|
1423
1426
|
|
1427
|
+
export { DropdownProps }
|
1428
|
+
|
1424
1429
|
// @public (undocumented)
|
1425
1430
|
export const DsplL: FunctionComponent<PropsType< {
|
1426
1431
|
size: {
|
@@ -31,6 +31,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
31
31
|
text?: string | undefined;
|
32
32
|
contentLeft?: import("react").ReactNode;
|
33
33
|
contentRight?: import("react").ReactNode;
|
34
|
+
truncate?: boolean | undefined;
|
34
35
|
size?: string | undefined;
|
35
36
|
view?: string | undefined;
|
36
37
|
} & {
|
@@ -43,6 +44,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
43
44
|
text?: string | undefined;
|
44
45
|
contentLeft?: import("react").ReactNode;
|
45
46
|
contentRight?: import("react").ReactNode;
|
47
|
+
truncate?: boolean | undefined;
|
46
48
|
size?: string | undefined;
|
47
49
|
view?: string | undefined;
|
48
50
|
} & {
|
@@ -55,6 +57,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
55
57
|
text?: string | undefined;
|
56
58
|
contentLeft?: import("react").ReactNode;
|
57
59
|
contentRight?: import("react").ReactNode;
|
60
|
+
truncate?: boolean | undefined;
|
58
61
|
size?: string | undefined;
|
59
62
|
view?: string | undefined;
|
60
63
|
} & {
|
@@ -5,10 +5,10 @@ export declare const config: {
|
|
5
5
|
};
|
6
6
|
variations: {
|
7
7
|
size: {
|
8
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
8
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
12
|
};
|
13
13
|
view: {
|
14
14
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -14,13 +14,13 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
size: {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 10rem;\n ", ": 0.5rem;\n\n ", ": 0.5625rem;\n ", ": 0.5rem;\n ", ": 0.5625rem;\n ", ": 0.5rem;\n ", ": 0.375rem;\n ", ": 0.3125rem;\n ", ": 0.3125rem;\n\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.125rem;\n ", ": 0.125rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n "])), _styledComponents.dropdownTokens.padding, _styledComponents.dropdownTokens.width, _styledComponents.dropdownTokens.borderRadius, _styledComponents.dropdownTokens.itemPaddingTop, _styledComponents.dropdownTokens.itemPaddingRight, _styledComponents.dropdownTokens.itemPaddingBottom, _styledComponents.dropdownTokens.itemPaddingLeft, _styledComponents.dropdownTokens.itemBorderRadius, _styledComponents.dropdownTokens.itemPaddingTopTight, _styledComponents.dropdownTokens.itemPaddingBottomTight, _styledComponents.dropdownTokens.dividerMarginTop, _styledComponents.dropdownTokens.dividerMarginRight, _styledComponents.dropdownTokens.dividerMarginBottom, _styledComponents.dropdownTokens.dividerMarginLeft, _styledComponents.dropdownTokens.dividerMarginTopTight, _styledComponents.dropdownTokens.dividerMarginBottomTight, _styledComponents.dropdownTokens.itemFontFamily, _styledComponents.dropdownTokens.itemFontSize, _styledComponents.dropdownTokens.itemFontStyle, _styledComponents.dropdownTokens.itemFontWeightBold, _styledComponents.dropdownTokens.itemFontLetterSpacing, _styledComponents.dropdownTokens.itemFontLineHeight),
|
18
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 12.5rem;\n ", ": 0.625rem;\n\n ", ": 0.6875rem;\n ", ": 0.75rem;\n ", ": 0.6875rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": 0.4375rem;\n ", ": 0.4375rem;\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\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 "])), _styledComponents.dropdownTokens.padding, _styledComponents.dropdownTokens.width, _styledComponents.dropdownTokens.borderRadius, _styledComponents.dropdownTokens.itemPaddingTop, _styledComponents.dropdownTokens.itemPaddingRight, _styledComponents.dropdownTokens.itemPaddingBottom, _styledComponents.dropdownTokens.itemPaddingLeft, _styledComponents.dropdownTokens.itemBorderRadius, _styledComponents.dropdownTokens.itemPaddingTopTight, _styledComponents.dropdownTokens.itemPaddingBottomTight, _styledComponents.dropdownTokens.dividerMarginTop, _styledComponents.dropdownTokens.dividerMarginRight, _styledComponents.dropdownTokens.dividerMarginBottom, _styledComponents.dropdownTokens.dividerMarginLeft, _styledComponents.dropdownTokens.dividerMarginTopTight, _styledComponents.dropdownTokens.dividerMarginBottomTight, _styledComponents.dropdownTokens.itemFontFamily, _styledComponents.dropdownTokens.itemFontSize, _styledComponents.dropdownTokens.itemFontStyle, _styledComponents.dropdownTokens.itemFontWeightBold, _styledComponents.dropdownTokens.itemFontLetterSpacing, _styledComponents.dropdownTokens.itemFontLineHeight),
|
19
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 15rem;\n ", ": 0.75rem;\n\n ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.625rem;\n ", ": 0.625rem;\n ", ": 0.625rem;\n\n ", ": 0.375rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n "])), _styledComponents.dropdownTokens.padding, _styledComponents.dropdownTokens.width, _styledComponents.dropdownTokens.borderRadius, _styledComponents.dropdownTokens.itemPaddingTop, _styledComponents.dropdownTokens.itemPaddingRight, _styledComponents.dropdownTokens.itemPaddingBottom, _styledComponents.dropdownTokens.itemPaddingLeft, _styledComponents.dropdownTokens.itemBorderRadius, _styledComponents.dropdownTokens.itemPaddingTopTight, _styledComponents.dropdownTokens.itemPaddingBottomTight, _styledComponents.dropdownTokens.dividerMarginTop, _styledComponents.dropdownTokens.dividerMarginRight, _styledComponents.dropdownTokens.dividerMarginBottom, _styledComponents.dropdownTokens.dividerMarginLeft, _styledComponents.dropdownTokens.dividerMarginTopTight, _styledComponents.dropdownTokens.dividerMarginBottomTight, _styledComponents.dropdownTokens.itemFontFamily, _styledComponents.dropdownTokens.itemFontSize, _styledComponents.dropdownTokens.itemFontStyle, _styledComponents.dropdownTokens.itemFontWeightBold, _styledComponents.dropdownTokens.itemFontLetterSpacing, _styledComponents.dropdownTokens.itemFontLineHeight),
|
20
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 17.5rem;\n ", ": 0.875rem;\n\n ", ": 1.0625rem;\n ", ": 1rem;\n ", ": 1.0625rem;\n ", ": 1rem;\n ", ": 0.75rem;\n ", ": 0.8125rem;\n ", ": 0.8125rem;\n\n ", ": 0.5rem;\n ", ": 1.125rem;\n ", ": 0.5rem;\n ", ": 1.125rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), _styledComponents.dropdownTokens.padding, _styledComponents.dropdownTokens.width, _styledComponents.dropdownTokens.borderRadius, _styledComponents.dropdownTokens.itemPaddingTop, _styledComponents.dropdownTokens.itemPaddingRight, _styledComponents.dropdownTokens.itemPaddingBottom, _styledComponents.dropdownTokens.itemPaddingLeft, _styledComponents.dropdownTokens.itemBorderRadius, _styledComponents.dropdownTokens.itemPaddingTopTight, _styledComponents.dropdownTokens.itemPaddingBottomTight, _styledComponents.dropdownTokens.dividerMarginTop, _styledComponents.dropdownTokens.dividerMarginRight, _styledComponents.dropdownTokens.dividerMarginBottom, _styledComponents.dropdownTokens.dividerMarginLeft, _styledComponents.dropdownTokens.dividerMarginTopTight, _styledComponents.dropdownTokens.dividerMarginBottomTight, _styledComponents.dropdownTokens.itemFontFamily, _styledComponents.dropdownTokens.itemFontSize, _styledComponents.dropdownTokens.itemFontStyle, _styledComponents.dropdownTokens.itemFontWeightBold, _styledComponents.dropdownTokens.itemFontLetterSpacing, _styledComponents.dropdownTokens.itemFontLineHeight)
|
21
21
|
},
|
22
22
|
view: {
|
23
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n "])), _styledComponents.dropdownTokens.dividerColor)
|
23
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n ", ": var(--surface-accent);\n ", ": var(--surface-solid-card-brightness);\n ", ": 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ", ": var(--text-secondary);\n ", ": var(--surface-clear);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-tertiary);\n "])), _styledComponents.dropdownTokens.disabledOpacity, _styledComponents.dropdownTokens.focusColor, _styledComponents.dropdownTokens.background, _styledComponents.dropdownTokens.boxShadow, _styledComponents.dropdownTokens.disclosureIconColor, _styledComponents.dropdownTokens.itemBackground, _styledComponents.dropdownTokens.itemBackgroundHover, _styledComponents.dropdownTokens.itemColor, _styledComponents.dropdownTokens.dividerColor)
|
24
24
|
}
|
25
25
|
}
|
26
26
|
};
|
@@ -1,13 +1,13 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const Dropdown: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
3
|
size: {
|
4
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
4
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
8
|
};
|
9
9
|
view: {
|
10
10
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
11
|
};
|
12
|
-
}> & import("@salutejs/plasma-new-hope/
|
12
|
+
}> & import("@salutejs/plasma-new-hope/styled-components").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
|
13
13
|
export { Dropdown };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
2
2
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
|
-
import { css, dropdownTokens
|
3
|
+
import { css, dropdownTokens } from '@salutejs/plasma-new-hope/styled-components';
|
4
4
|
export var config = {
|
5
5
|
defaults: {
|
6
6
|
view: 'default',
|
@@ -8,13 +8,13 @@ export var config = {
|
|
8
8
|
},
|
9
9
|
variations: {
|
10
10
|
size: {
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
xs: /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 10rem;\n ", ": 0.5rem;\n\n ", ": 0.5625rem;\n ", ": 0.5rem;\n ", ": 0.5625rem;\n ", ": 0.5rem;\n ", ": 0.375rem;\n ", ": 0.3125rem;\n ", ": 0.3125rem;\n\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.125rem;\n ", ": 0.125rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n "])), dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
|
12
|
+
s: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 12.5rem;\n ", ": 0.625rem;\n\n ", ": 0.6875rem;\n ", ": 0.75rem;\n ", ": 0.6875rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": 0.4375rem;\n ", ": 0.4375rem;\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\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 "])), dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
|
13
|
+
m: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 15rem;\n ", ": 0.75rem;\n\n ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.625rem;\n ", ": 0.625rem;\n ", ": 0.625rem;\n\n ", ": 0.375rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n "])), dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
|
14
|
+
l: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 17.5rem;\n ", ": 0.875rem;\n\n ", ": 1.0625rem;\n ", ": 1rem;\n ", ": 1.0625rem;\n ", ": 1rem;\n ", ": 0.75rem;\n ", ": 0.8125rem;\n ", ": 0.8125rem;\n\n ", ": 0.5rem;\n ", ": 1.125rem;\n ", ": 0.5rem;\n ", ": 1.125rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight)
|
15
15
|
},
|
16
16
|
view: {
|
17
|
-
"default": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n "])),
|
17
|
+
"default": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n ", ": var(--surface-accent);\n ", ": var(--surface-solid-card-brightness);\n ", ": 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ", ": var(--text-secondary);\n ", ": var(--surface-clear);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-tertiary);\n "])), dropdownTokens.disabledOpacity, dropdownTokens.focusColor, dropdownTokens.background, dropdownTokens.boxShadow, dropdownTokens.disclosureIconColor, dropdownTokens.itemBackground, dropdownTokens.itemBackgroundHover, dropdownTokens.itemColor, dropdownTokens.dividerColor)
|
18
18
|
}
|
19
19
|
}
|
20
20
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.146.0-canary.
|
3
|
+
"version": "0.146.0-canary.1500.11456169969.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.173.0-canary.
|
22
|
+
"@salutejs/plasma-new-hope": "0.173.0-canary.1500.11456169969.0",
|
23
23
|
"@salutejs/sdds-themes": "0.24.0-dev.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"Vasiliy Loginevskiy"
|
95
95
|
],
|
96
96
|
"sideEffects": false,
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "becab22ba1150e8e35433d76cec64067d15d8ef6"
|
98
98
|
}
|
@@ -89,7 +89,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
89
89
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
90
90
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
91
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
92
|
-
import { DropdownProps } from '@salutejs/plasma-new-hope/
|
92
|
+
import { DropdownProps } from '@salutejs/plasma-new-hope/styled-components';
|
93
93
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
94
94
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
95
95
|
import { dsplM } from '@salutejs/sdds-themes/tokens';
|
@@ -565,6 +565,7 @@ true: PolymorphicClassName;
|
|
565
565
|
text?: string | undefined;
|
566
566
|
contentLeft?: ReactNode;
|
567
567
|
contentRight?: ReactNode;
|
568
|
+
truncate?: boolean | undefined;
|
568
569
|
size?: string | undefined;
|
569
570
|
view?: string | undefined;
|
570
571
|
} & {
|
@@ -577,6 +578,7 @@ transparent?: false | undefined;
|
|
577
578
|
text?: string | undefined;
|
578
579
|
contentLeft?: ReactNode;
|
579
580
|
contentRight?: ReactNode;
|
581
|
+
truncate?: boolean | undefined;
|
580
582
|
size?: string | undefined;
|
581
583
|
view?: string | undefined;
|
582
584
|
} & {
|
@@ -589,6 +591,7 @@ clear?: false | undefined;
|
|
589
591
|
text?: string | undefined;
|
590
592
|
contentLeft?: ReactNode;
|
591
593
|
contentRight?: ReactNode;
|
594
|
+
truncate?: boolean | undefined;
|
592
595
|
size?: string | undefined;
|
593
596
|
view?: string | undefined;
|
594
597
|
} & {
|
@@ -1411,16 +1414,18 @@ export { DrawerProps }
|
|
1411
1414
|
// @public (undocumented)
|
1412
1415
|
export const Dropdown: FunctionComponent<PropsType< {
|
1413
1416
|
size: {
|
1414
|
-
l: PolymorphicClassName;
|
1415
|
-
m: PolymorphicClassName;
|
1416
|
-
s: PolymorphicClassName;
|
1417
1417
|
xs: PolymorphicClassName;
|
1418
|
+
s: PolymorphicClassName;
|
1419
|
+
m: PolymorphicClassName;
|
1420
|
+
l: PolymorphicClassName;
|
1418
1421
|
};
|
1419
1422
|
view: {
|
1420
1423
|
default: PolymorphicClassName;
|
1421
1424
|
};
|
1422
1425
|
}> & DropdownProps & RefAttributes<HTMLDivElement>>;
|
1423
1426
|
|
1427
|
+
export { DropdownProps }
|
1428
|
+
|
1424
1429
|
// @public (undocumented)
|
1425
1430
|
export const DsplL: FunctionComponent<PropsType< {
|
1426
1431
|
size: {
|