@salutejs/sdds-finportal 0.158.0-canary.1539.11687316067.0 → 0.158.0-dev.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 -6
- package/components/DatePicker/DatePicker.d.ts +1 -0
- package/components/Range/Range.d.ts +3 -0
- package/components/Switch/Switch.config.d.ts +0 -7
- package/components/Switch/Switch.config.js +5 -12
- package/components/Switch/Switch.d.ts +0 -12
- package/es/components/Switch/Switch.config.js +5 -12
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +0 -5526
@@ -1574,6 +1574,7 @@ name?: string | undefined;
|
|
1574
1574
|
label?: string | undefined;
|
1575
1575
|
view?: string | undefined;
|
1576
1576
|
disabled?: boolean | undefined;
|
1577
|
+
autoComplete?: string | undefined;
|
1577
1578
|
readOnly?: boolean | undefined;
|
1578
1579
|
size?: string | undefined;
|
1579
1580
|
contentLeft?: ReactNode;
|
@@ -3320,6 +3321,7 @@ secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<an
|
|
3320
3321
|
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3321
3322
|
firstTextfieldTextAfter?: string | undefined;
|
3322
3323
|
secondTextfieldTextAfter?: string | undefined;
|
3324
|
+
autoComplete?: string | undefined;
|
3323
3325
|
view?: string | undefined;
|
3324
3326
|
size?: string | undefined;
|
3325
3327
|
readOnly?: boolean | undefined;
|
@@ -3356,6 +3358,7 @@ secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<an
|
|
3356
3358
|
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3357
3359
|
firstTextfieldTextAfter?: string | undefined;
|
3358
3360
|
secondTextfieldTextAfter?: string | undefined;
|
3361
|
+
autoComplete?: string | undefined;
|
3359
3362
|
view?: string | undefined;
|
3360
3363
|
size?: string | undefined;
|
3361
3364
|
readOnly?: boolean | undefined;
|
@@ -3392,6 +3395,7 @@ secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<an
|
|
3392
3395
|
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3393
3396
|
firstTextfieldTextAfter?: string | undefined;
|
3394
3397
|
secondTextfieldTextAfter?: string | undefined;
|
3398
|
+
autoComplete?: string | undefined;
|
3395
3399
|
view?: string | undefined;
|
3396
3400
|
size?: string | undefined;
|
3397
3401
|
readOnly?: boolean | undefined;
|
@@ -3890,13 +3894,7 @@ xs: PolymorphicClassName;
|
|
3890
3894
|
// @public (undocumented)
|
3891
3895
|
export const Switch: FunctionComponent<PropsType< {
|
3892
3896
|
size: {
|
3893
|
-
s: PolymorphicClassName;
|
3894
3897
|
m: PolymorphicClassName;
|
3895
|
-
l: PolymorphicClassName;
|
3896
|
-
};
|
3897
|
-
toggleSize: {
|
3898
|
-
l: PolymorphicClassName;
|
3899
|
-
s: PolymorphicClassName;
|
3900
3898
|
};
|
3901
3899
|
view: {
|
3902
3900
|
default: PolymorphicClassName;
|
@@ -50,6 +50,7 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
50
50
|
label?: string | undefined;
|
51
51
|
view?: string | undefined;
|
52
52
|
disabled?: boolean | undefined;
|
53
|
+
autoComplete?: string | undefined;
|
53
54
|
readOnly?: boolean | undefined;
|
54
55
|
size?: string | undefined;
|
55
56
|
contentLeft?: import("react").ReactNode;
|
@@ -37,6 +37,7 @@ export declare const Range: import("react").FunctionComponent<import("@salutejs/
|
|
37
37
|
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
38
38
|
firstTextfieldTextAfter?: string | undefined;
|
39
39
|
secondTextfieldTextAfter?: string | undefined;
|
40
|
+
autoComplete?: string | undefined;
|
40
41
|
view?: string | undefined;
|
41
42
|
size?: string | undefined;
|
42
43
|
readOnly?: boolean | undefined;
|
@@ -73,6 +74,7 @@ export declare const Range: import("react").FunctionComponent<import("@salutejs/
|
|
73
74
|
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
74
75
|
firstTextfieldTextAfter?: string | undefined;
|
75
76
|
secondTextfieldTextAfter?: string | undefined;
|
77
|
+
autoComplete?: string | undefined;
|
76
78
|
view?: string | undefined;
|
77
79
|
size?: string | undefined;
|
78
80
|
readOnly?: boolean | undefined;
|
@@ -109,6 +111,7 @@ export declare const Range: import("react").FunctionComponent<import("@salutejs/
|
|
109
111
|
secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
110
112
|
firstTextfieldTextAfter?: string | undefined;
|
111
113
|
secondTextfieldTextAfter?: string | undefined;
|
114
|
+
autoComplete?: string | undefined;
|
112
115
|
view?: string | undefined;
|
113
116
|
size?: string | undefined;
|
114
117
|
readOnly?: boolean | undefined;
|
@@ -2,19 +2,12 @@ export declare const config: {
|
|
2
2
|
defaults: {
|
3
3
|
view: string;
|
4
4
|
size: string;
|
5
|
-
toggleSize: string;
|
6
5
|
labelPosition: string;
|
7
6
|
focused: string;
|
8
7
|
};
|
9
8
|
variations: {
|
10
9
|
size: {
|
11
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
10
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
-
};
|
15
|
-
toggleSize: {
|
16
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
11
|
};
|
19
12
|
view: {
|
20
13
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -5,34 +5,27 @@ 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
|
8
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
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: {
|
12
12
|
view: 'default',
|
13
13
|
size: 'm',
|
14
|
-
toggleSize: 'l',
|
15
14
|
labelPosition: 'before',
|
16
15
|
focused: 'true'
|
17
16
|
},
|
18
17
|
variations: {
|
19
18
|
size: {
|
20
|
-
|
21
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-line-height);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _styledComponents.switchTokens.descriptionFontFamily, _styledComponents.switchTokens.descriptionFontStyle, _styledComponents.switchTokens.descriptionFontWeight, _styledComponents.switchTokens.descriptionLineHeight, _styledComponents.switchTokens.descriptionFontSize, _styledComponents.switchTokens.descriptionLetterSpacing, _styledComponents.switchTokens.verticalGap, _styledComponents.switchTokens.labelOffset),
|
22
|
-
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-line-height);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-line-height);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _styledComponents.switchTokens.descriptionFontFamily, _styledComponents.switchTokens.descriptionFontStyle, _styledComponents.switchTokens.descriptionFontWeight, _styledComponents.switchTokens.descriptionLineHeight, _styledComponents.switchTokens.descriptionFontSize, _styledComponents.switchTokens.descriptionLetterSpacing, _styledComponents.switchTokens.verticalGap, _styledComponents.switchTokens.labelOffset)
|
23
|
-
},
|
24
|
-
toggleSize: {
|
25
|
-
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), _styledComponents.switchTokens.trackWidth, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.trackBorderRadius, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbBorderRadius, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbOffset, _styledComponents.switchTokens.thumbPressScale),
|
26
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2rem;\n ", ": 1.25rem;\n ", ": calc(var(", ") / 2);\n ", ": 1rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), _styledComponents.switchTokens.trackWidth, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.trackBorderRadius, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbBorderRadius, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbOffset, _styledComponents.switchTokens.thumbPressScale)
|
19
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body1-font-family);\n ", ": var(--plasma-typo-body1-font-style);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-line-height);\n ", ": var(--plasma-typo-body1-font-size);\n ", ": var(--plasma-typo-body1-letter-spacing);\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _styledComponents.switchTokens.trackWidth, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.trackBorderRadius, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbBorderRadius, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbOffset, _styledComponents.switchTokens.thumbPressScale, _styledComponents.switchTokens.labelOffset)
|
27
20
|
},
|
28
21
|
view: {
|
29
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(
|
22
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-transparent-tertiary-hover);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), _styledComponents.switchTokens.trackBackgroundColorOn, _styledComponents.switchTokens.trackBackgroundColorOnHover, _styledComponents.switchTokens.trackBackgroundColorOff, _styledComponents.switchTokens.trackBackgroundColorOffHover, _styledComponents.switchTokens.thumbBackgroundColor, _styledComponents.switchTokens.thumbBoxShadow)
|
30
23
|
},
|
31
24
|
disabled: {
|
32
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(
|
25
|
+
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.switchTokens.disabledOpacity)
|
33
26
|
},
|
34
27
|
focused: {
|
35
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(
|
28
|
+
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n "])), _styledComponents.switchTokens.trackFocusColor)
|
36
29
|
}
|
37
30
|
}
|
38
31
|
};
|
@@ -1,13 +1,7 @@
|
|
1
1
|
import { ComponentProps } from 'react';
|
2
2
|
declare const SwitchComponent: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
3
|
size: {
|
4
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
4
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
-
};
|
8
|
-
toggleSize: {
|
9
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
5
|
};
|
12
6
|
view: {
|
13
7
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -21,13 +15,7 @@ declare const SwitchComponent: import("react").FunctionComponent<import("@salute
|
|
21
15
|
}> & import("@salutejs/plasma-new-hope/styled-components").SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
|
22
16
|
export declare const Switch: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
23
17
|
size: {
|
24
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
18
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
27
|
-
};
|
28
|
-
toggleSize: {
|
29
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
31
19
|
};
|
32
20
|
view: {
|
33
21
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -1,32 +1,25 @@
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
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, switchTokens } from '@salutejs/plasma-new-hope/styled-components';
|
4
4
|
export var config = {
|
5
5
|
defaults: {
|
6
6
|
view: 'default',
|
7
7
|
size: 'm',
|
8
|
-
toggleSize: 'l',
|
9
8
|
labelPosition: 'before',
|
10
9
|
focused: 'true'
|
11
10
|
},
|
12
11
|
variations: {
|
13
12
|
size: {
|
14
|
-
|
15
|
-
m: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-line-height);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), switchTokens.fontFamily, switchTokens.fontStyle, switchTokens.fontWeight, switchTokens.lineHeight, switchTokens.fontSize, switchTokens.letterSpacing, switchTokens.descriptionFontFamily, switchTokens.descriptionFontStyle, switchTokens.descriptionFontWeight, switchTokens.descriptionLineHeight, switchTokens.descriptionFontSize, switchTokens.descriptionLetterSpacing, switchTokens.verticalGap, switchTokens.labelOffset),
|
16
|
-
l: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-line-height);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-line-height);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), switchTokens.fontFamily, switchTokens.fontStyle, switchTokens.fontWeight, switchTokens.lineHeight, switchTokens.fontSize, switchTokens.letterSpacing, switchTokens.descriptionFontFamily, switchTokens.descriptionFontStyle, switchTokens.descriptionFontWeight, switchTokens.descriptionLineHeight, switchTokens.descriptionFontSize, switchTokens.descriptionLetterSpacing, switchTokens.verticalGap, switchTokens.labelOffset)
|
17
|
-
},
|
18
|
-
toggleSize: {
|
19
|
-
l: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), switchTokens.trackWidth, switchTokens.trackHeight, switchTokens.trackBorderRadius, switchTokens.trackHeight, switchTokens.thumbSize, switchTokens.thumbBorderRadius, switchTokens.thumbSize, switchTokens.thumbOffset, switchTokens.thumbPressScale),
|
20
|
-
s: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2rem;\n ", ": 1.25rem;\n ", ": calc(var(", ") / 2);\n ", ": 1rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), switchTokens.trackWidth, switchTokens.trackHeight, switchTokens.trackBorderRadius, switchTokens.trackHeight, switchTokens.thumbSize, switchTokens.thumbBorderRadius, switchTokens.thumbSize, switchTokens.thumbOffset, switchTokens.thumbPressScale)
|
13
|
+
m: /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body1-font-family);\n ", ": var(--plasma-typo-body1-font-style);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-line-height);\n ", ": var(--plasma-typo-body1-font-size);\n ", ": var(--plasma-typo-body1-letter-spacing);\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n ", ": 0.75rem;\n "])), switchTokens.fontFamily, switchTokens.fontStyle, switchTokens.fontWeight, switchTokens.fontWeight, switchTokens.lineHeight, switchTokens.fontSize, switchTokens.letterSpacing, switchTokens.trackWidth, switchTokens.trackHeight, switchTokens.trackBorderRadius, switchTokens.trackHeight, switchTokens.thumbSize, switchTokens.thumbBorderRadius, switchTokens.thumbSize, switchTokens.thumbOffset, switchTokens.thumbPressScale, switchTokens.labelOffset)
|
21
14
|
},
|
22
15
|
view: {
|
23
|
-
"default": /*#__PURE__*/css(
|
16
|
+
"default": /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-transparent-tertiary-hover);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), switchTokens.trackBackgroundColorOn, switchTokens.trackBackgroundColorOnHover, switchTokens.trackBackgroundColorOff, switchTokens.trackBackgroundColorOffHover, switchTokens.thumbBackgroundColor, switchTokens.thumbBoxShadow)
|
24
17
|
},
|
25
18
|
disabled: {
|
26
|
-
"true": /*#__PURE__*/css(
|
19
|
+
"true": /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), switchTokens.disabledOpacity)
|
27
20
|
},
|
28
21
|
focused: {
|
29
|
-
"true": /*#__PURE__*/css(
|
22
|
+
"true": /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n "])), switchTokens.trackFocusColor)
|
30
23
|
}
|
31
24
|
}
|
32
25
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.158.0-
|
3
|
+
"version": "0.158.0-dev.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.184.0-
|
22
|
+
"@salutejs/plasma-new-hope": "0.184.0-dev.0",
|
23
23
|
"@salutejs/sdds-themes": "0.27.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": "310079bcd2a987caca21f79b4a62541b14b6a1ce"
|
98
98
|
}
|