@salutejs/sdds-dfa 0.164.0-canary.1539.11687316067.0 → 0.164.0-dev.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.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-dfa.api.md +0 -5402
package/api/sdds-dfa.api.md
CHANGED
@@ -1523,6 +1523,7 @@ name?: string | undefined;
|
|
1523
1523
|
label?: string | undefined;
|
1524
1524
|
view?: string | undefined;
|
1525
1525
|
disabled?: boolean | undefined;
|
1526
|
+
autoComplete?: string | undefined;
|
1526
1527
|
readOnly?: boolean | undefined;
|
1527
1528
|
size?: string | undefined;
|
1528
1529
|
contentLeft?: ReactNode;
|
@@ -3226,6 +3227,7 @@ secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<an
|
|
3226
3227
|
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3227
3228
|
firstTextfieldTextAfter?: string | undefined;
|
3228
3229
|
secondTextfieldTextAfter?: string | undefined;
|
3230
|
+
autoComplete?: string | undefined;
|
3229
3231
|
view?: string | undefined;
|
3230
3232
|
size?: string | undefined;
|
3231
3233
|
readOnly?: boolean | undefined;
|
@@ -3262,6 +3264,7 @@ secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<an
|
|
3262
3264
|
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3263
3265
|
firstTextfieldTextAfter?: string | undefined;
|
3264
3266
|
secondTextfieldTextAfter?: string | undefined;
|
3267
|
+
autoComplete?: string | undefined;
|
3265
3268
|
view?: string | undefined;
|
3266
3269
|
size?: string | undefined;
|
3267
3270
|
readOnly?: boolean | undefined;
|
@@ -3298,6 +3301,7 @@ secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<an
|
|
3298
3301
|
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
|
3299
3302
|
firstTextfieldTextAfter?: string | undefined;
|
3300
3303
|
secondTextfieldTextAfter?: string | undefined;
|
3304
|
+
autoComplete?: string | undefined;
|
3301
3305
|
view?: string | undefined;
|
3302
3306
|
size?: string | undefined;
|
3303
3307
|
readOnly?: boolean | undefined;
|
@@ -3794,13 +3798,7 @@ xs: PolymorphicClassName;
|
|
3794
3798
|
// @public (undocumented)
|
3795
3799
|
export const Switch: FunctionComponent<PropsType< {
|
3796
3800
|
size: {
|
3797
|
-
s: PolymorphicClassName;
|
3798
3801
|
m: PolymorphicClassName;
|
3799
|
-
l: PolymorphicClassName;
|
3800
|
-
};
|
3801
|
-
toggleSize: {
|
3802
|
-
l: PolymorphicClassName;
|
3803
|
-
s: PolymorphicClassName;
|
3804
3802
|
};
|
3805
3803
|
view: {
|
3806
3804
|
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-dfa",
|
3
|
-
"version": "0.164.0-
|
3
|
+
"version": "0.164.0-dev.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS DFA 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-dfa"
|
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": {
|
@@ -95,5 +95,5 @@
|
|
95
95
|
"Anton Vinogradov"
|
96
96
|
],
|
97
97
|
"sideEffects": false,
|
98
|
-
"gitHead": "
|
98
|
+
"gitHead": "310079bcd2a987caca21f79b4a62541b14b6a1ce"
|
99
99
|
}
|