@salutejs/plasma-web 1.584.1-canary.2018.15778039519.0 → 1.584.1-canary.2030.15756642897.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Carousel/Carousel.config.js +2 -2
- package/components/Carousel/Carousel.js +1 -1
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/components/Radiobox/Radiobox.d.ts +48 -2
- package/components/Select/Select.d.ts +6 -6
- package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/css/cjs/components/Carousel/Carousel.config.js +1 -1
- package/css/cjs/components/Carousel/Carousel.config.js.map +1 -1
- package/css/cjs/components/Carousel/Carousel.config_1r461vi.css +2 -0
- package/css/cjs/components/Carousel/Carousel.css +2 -2
- package/css/cjs/components/Carousel/Carousel.js +1 -1
- package/css/cjs/components/Carousel/Carousel.js.map +1 -1
- package/css/cjs/index.css +2 -2
- package/css/es/components/Carousel/Carousel.config.js +1 -1
- package/css/es/components/Carousel/Carousel.config.js.map +1 -1
- package/css/es/components/Carousel/Carousel.config_1r461vi.css +2 -0
- package/css/es/components/Carousel/Carousel.css +2 -2
- package/css/es/components/Carousel/Carousel.js +1 -1
- package/css/es/components/Carousel/Carousel.js.map +1 -1
- package/css/es/index.css +2 -2
- package/es/components/Carousel/Carousel.config.js +2 -2
- package/es/components/Carousel/Carousel.js +1 -1
- package/package.json +3 -3
- package/css/cjs/components/Carousel/Carousel.config_uusoxc.css +0 -2
- package/css/es/components/Carousel/Carousel.config_uusoxc.css +0 -2
@@ -14,10 +14,10 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
view: {
|
17
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-solid-default);\n
|
17
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-solid-default);\n "])), _styledComponents.carouselNewTokens.paginationDotBackground, _styledComponents.carouselNewTokens.paginationDotActiveBackground)
|
18
18
|
},
|
19
19
|
size: {
|
20
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["
|
20
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral([""])))
|
21
21
|
}
|
22
22
|
}
|
23
23
|
};
|
@@ -13,7 +13,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
13
13
|
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.carouselNewConfig, _Carousel2.config);
|
14
14
|
var CarouselNew = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
15
15
|
var CarouselComponent = function CarouselComponent(props, ref) {
|
16
|
-
if (typeof props.index === 'number') {
|
16
|
+
if (typeof props.index === 'number' && !Number.isNaN(props.index)) {
|
17
17
|
return /*#__PURE__*/_react["default"].createElement(_Carousel.CarouselOld, _extends({
|
18
18
|
ref: ref
|
19
19
|
}, props));
|
@@ -87,7 +87,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
87
87
|
hintOffset?: [number, number];
|
88
88
|
hintWidth?: string;
|
89
89
|
hintContentLeft?: React.ReactNode;
|
90
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
90
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
91
91
|
items: ComboboxItemOption[];
|
92
92
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
93
93
|
placeholder?: string;
|
@@ -141,7 +141,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
141
141
|
hintOffset?: never;
|
142
142
|
hintWidth?: never;
|
143
143
|
hintContentLeft?: never;
|
144
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
144
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
145
145
|
items: ComboboxItemOption[];
|
146
146
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
147
147
|
placeholder?: string;
|
@@ -195,7 +195,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
195
195
|
hintOffset?: [number, number];
|
196
196
|
hintWidth?: string;
|
197
197
|
hintContentLeft?: React.ReactNode;
|
198
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
198
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
199
199
|
items: ComboboxItemOption[];
|
200
200
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
201
201
|
placeholder?: string;
|
@@ -249,7 +249,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
249
249
|
hintOffset?: never;
|
250
250
|
hintWidth?: never;
|
251
251
|
hintContentLeft?: never;
|
252
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
252
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
253
253
|
items: ComboboxItemOption[];
|
254
254
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
255
255
|
placeholder?: string;
|
@@ -303,7 +303,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
303
303
|
hintOffset?: [number, number];
|
304
304
|
hintWidth?: string;
|
305
305
|
hintContentLeft?: React.ReactNode;
|
306
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
306
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
307
307
|
items: ComboboxItemOption[];
|
308
308
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
309
309
|
placeholder?: string;
|
@@ -357,7 +357,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
357
357
|
hintOffset?: never;
|
358
358
|
hintWidth?: never;
|
359
359
|
hintContentLeft?: never;
|
360
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
360
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
361
361
|
items: ComboboxItemOption[];
|
362
362
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
363
363
|
placeholder?: string;
|
@@ -411,7 +411,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
411
411
|
hintOffset?: [number, number];
|
412
412
|
hintWidth?: string;
|
413
413
|
hintContentLeft?: React.ReactNode;
|
414
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
414
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
415
415
|
items: ComboboxItemOption[];
|
416
416
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
417
417
|
placeholder?: string;
|
@@ -465,7 +465,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
465
465
|
hintOffset?: never;
|
466
466
|
hintWidth?: never;
|
467
467
|
hintContentLeft?: never;
|
468
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
468
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
469
469
|
items: ComboboxItemOption[];
|
470
470
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
471
471
|
placeholder?: string;
|
@@ -519,7 +519,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
519
519
|
hintOffset?: [number, number];
|
520
520
|
hintWidth?: string;
|
521
521
|
hintContentLeft?: React.ReactNode;
|
522
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
522
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
523
523
|
items: ComboboxItemOption[];
|
524
524
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
525
525
|
placeholder?: string;
|
@@ -573,7 +573,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
573
573
|
hintOffset?: never;
|
574
574
|
hintWidth?: never;
|
575
575
|
hintContentLeft?: never;
|
576
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
576
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
577
577
|
items: ComboboxItemOption[];
|
578
578
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
579
579
|
placeholder?: string;
|
@@ -627,7 +627,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
627
627
|
hintOffset?: [number, number];
|
628
628
|
hintWidth?: string;
|
629
629
|
hintContentLeft?: React.ReactNode;
|
630
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
630
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
631
631
|
items: ComboboxItemOption[];
|
632
632
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
633
633
|
placeholder?: string;
|
@@ -681,7 +681,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
681
681
|
hintOffset?: never;
|
682
682
|
hintWidth?: never;
|
683
683
|
hintContentLeft?: never;
|
684
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
684
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
685
685
|
items: ComboboxItemOption[];
|
686
686
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
687
687
|
placeholder?: string;
|
@@ -735,7 +735,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
735
735
|
hintOffset?: [number, number];
|
736
736
|
hintWidth?: string;
|
737
737
|
hintContentLeft?: React.ReactNode;
|
738
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
738
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
739
739
|
items: ComboboxItemOption[];
|
740
740
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
741
741
|
placeholder?: string;
|
@@ -789,7 +789,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
789
789
|
hintOffset?: never;
|
790
790
|
hintWidth?: never;
|
791
791
|
hintContentLeft?: never;
|
792
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
792
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
793
793
|
items: ComboboxItemOption[];
|
794
794
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
795
795
|
placeholder?: string;
|
@@ -843,7 +843,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
843
843
|
hintOffset?: [number, number];
|
844
844
|
hintWidth?: string;
|
845
845
|
hintContentLeft?: React.ReactNode;
|
846
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
846
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
847
847
|
items: ComboboxItemOption[];
|
848
848
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
849
849
|
placeholder?: string;
|
@@ -897,7 +897,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
897
897
|
hintOffset?: never;
|
898
898
|
hintWidth?: never;
|
899
899
|
hintContentLeft?: never;
|
900
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
900
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
901
901
|
items: ComboboxItemOption[];
|
902
902
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
903
903
|
placeholder?: string;
|
@@ -951,7 +951,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
951
951
|
hintOffset?: [number, number];
|
952
952
|
hintWidth?: string;
|
953
953
|
hintContentLeft?: React.ReactNode;
|
954
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
954
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
955
955
|
items: ComboboxItemOption[];
|
956
956
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
957
957
|
placeholder?: string;
|
@@ -1005,7 +1005,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1005
1005
|
hintOffset?: never;
|
1006
1006
|
hintWidth?: never;
|
1007
1007
|
hintContentLeft?: never;
|
1008
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1008
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1009
1009
|
items: ComboboxItemOption[];
|
1010
1010
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1011
1011
|
placeholder?: string;
|
@@ -1059,7 +1059,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1059
1059
|
hintOffset?: [number, number];
|
1060
1060
|
hintWidth?: string;
|
1061
1061
|
hintContentLeft?: React.ReactNode;
|
1062
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1062
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1063
1063
|
items: ComboboxItemOption[];
|
1064
1064
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1065
1065
|
placeholder?: string;
|
@@ -1113,7 +1113,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1113
1113
|
hintOffset?: never;
|
1114
1114
|
hintWidth?: never;
|
1115
1115
|
hintContentLeft?: never;
|
1116
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1116
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1117
1117
|
items: ComboboxItemOption[];
|
1118
1118
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1119
1119
|
placeholder?: string;
|
@@ -1167,7 +1167,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1167
1167
|
hintOffset?: [number, number];
|
1168
1168
|
hintWidth?: string;
|
1169
1169
|
hintContentLeft?: React.ReactNode;
|
1170
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1170
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1171
1171
|
items: ComboboxItemOption[];
|
1172
1172
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1173
1173
|
placeholder?: string;
|
@@ -1221,7 +1221,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1221
1221
|
hintOffset?: never;
|
1222
1222
|
hintWidth?: never;
|
1223
1223
|
hintContentLeft?: never;
|
1224
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1224
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1225
1225
|
items: ComboboxItemOption[];
|
1226
1226
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1227
1227
|
placeholder?: string;
|
@@ -1275,7 +1275,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1275
1275
|
hintOffset?: [number, number];
|
1276
1276
|
hintWidth?: string;
|
1277
1277
|
hintContentLeft?: React.ReactNode;
|
1278
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1278
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
|
1279
1279
|
items: ComboboxItemOption[];
|
1280
1280
|
placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
|
1281
1281
|
placeholder?: string;
|
@@ -1329,7 +1329,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1329
1329
|
hintOffset?: never;
|
1330
1330
|
hintWidth?: never;
|
1331
1331
|
hintContentLeft?: never;
|
1332
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "
|
1332
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>))>;
|
1333
1333
|
type PropsFromConfig = keyof typeof config['variations'];
|
1334
1334
|
type PropsOld = ComponentProps<typeof ComboboxOld> & {
|
1335
1335
|
items?: never;
|
@@ -8,11 +8,11 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
8
8
|
view: {
|
9
9
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
10
|
};
|
11
|
-
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "
|
11
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "target" | "type" | "checked" | "maxLength" | "minLength" | "size"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
|
12
12
|
valueType?: "single";
|
13
13
|
value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue;
|
14
14
|
onChangeValue?: (value?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue) => void;
|
15
|
-
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "
|
15
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "target" | "type" | "checked" | "maxLength" | "minLength" | "size"> & import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").CustomComboboxProps & {
|
16
16
|
valueType: "multiple";
|
17
17
|
value?: Array<import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue>;
|
18
18
|
onChangeValue?: (value?: Array<import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types").ComboboxPrimitiveValue>) => void;
|
@@ -1,8 +1,54 @@
|
|
1
1
|
import { ComponentProps } from 'react';
|
2
|
-
declare const RadioboxComponent: import("react").FunctionComponent<
|
2
|
+
declare const RadioboxComponent: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
|
+
size: {
|
4
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
};
|
8
|
+
view: {
|
9
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
primary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
+
tertiary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
+
paragraph: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
15
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
+
};
|
19
|
+
disabled: {
|
20
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
|
+
};
|
22
|
+
focused: {
|
23
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
+
};
|
25
|
+
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate" | "appearance"> & import("react").RefAttributes<HTMLInputElement>>;
|
3
26
|
export type RadioboxProps = ComponentProps<typeof RadioboxComponent>;
|
4
27
|
/**
|
5
28
|
* Переключатель, или *радиокнопка*.
|
6
29
|
*/
|
7
|
-
export declare const Radiobox: import("react").FunctionComponent<
|
30
|
+
export declare const Radiobox: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
31
|
+
size: {
|
32
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
33
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
34
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
35
|
+
};
|
36
|
+
view: {
|
37
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
38
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
39
|
+
primary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
40
|
+
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
41
|
+
tertiary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
42
|
+
paragraph: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
43
|
+
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
44
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
45
|
+
negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
46
|
+
};
|
47
|
+
disabled: {
|
48
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
49
|
+
};
|
50
|
+
focused: {
|
51
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
52
|
+
};
|
53
|
+
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate" | "appearance"> & import("react").RefAttributes<HTMLInputElement>>;
|
8
54
|
export { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -98,7 +98,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
98
98
|
isOpen?: boolean;
|
99
99
|
listHeight?: React.CSSProperties["height"];
|
100
100
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
101
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
101
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
102
102
|
hintText: string;
|
103
103
|
hintTrigger?: "hover" | "click";
|
104
104
|
hintView?: string;
|
@@ -156,7 +156,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
156
156
|
isOpen?: boolean;
|
157
157
|
listHeight?: React.CSSProperties["height"];
|
158
158
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
159
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
159
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
160
160
|
hintTrigger?: never;
|
161
161
|
hintText?: never;
|
162
162
|
hintView?: never;
|
@@ -213,7 +213,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
213
213
|
isOpen?: boolean;
|
214
214
|
listHeight?: React.CSSProperties["height"];
|
215
215
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
216
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
216
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
217
217
|
hintTrigger?: never;
|
218
218
|
hintText?: never;
|
219
219
|
hintView?: never;
|
@@ -271,7 +271,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
271
271
|
isOpen?: boolean;
|
272
272
|
listHeight?: React.CSSProperties["height"];
|
273
273
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
274
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
274
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
275
275
|
target: "button-like";
|
276
276
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
277
277
|
contentLeft?: never;
|
@@ -316,7 +316,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
316
316
|
isOpen?: boolean;
|
317
317
|
listHeight?: React.CSSProperties["height"];
|
318
318
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
319
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
319
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
320
320
|
target: "button-like";
|
321
321
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
322
322
|
contentLeft?: never;
|
@@ -362,7 +362,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
362
362
|
isOpen?: boolean;
|
363
363
|
listHeight?: React.CSSProperties["height"];
|
364
364
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
365
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
365
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
366
366
|
export type SelectProps<T, K extends DropdownNodeSelect> = DistributiveOmit<MergedSelectPropsNewHope<T, K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
367
367
|
declare const Select: <T, K extends DropdownNodeSelect>(props: SelectProps<T, K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
368
368
|
export { Select };
|
@@ -34,7 +34,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
34
34
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
35
35
|
export declare const Subcategory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
36
36
|
export declare const ColumnTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
37
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
37
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
38
38
|
value?: boolean;
|
39
39
|
type?: "clear" | "arrow" | "sign";
|
40
40
|
contentLeft?: React.ReactNode;
|
@@ -36,7 +36,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
36
36
|
export declare const AccordionTypographyTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
37
37
|
export declare const FontFamily: import("styled-components").StyledComponent<"span", any, {}, never>;
|
38
38
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
39
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
39
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
40
40
|
value?: boolean;
|
41
41
|
type?: "clear" | "arrow" | "sign";
|
42
42
|
contentLeft?: React.ReactNode;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.config.js","sources":["../../../../src-css/components/Carousel/Carousel.config.ts"],"sourcesContent":["import { css, carouselNewTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 's',\n },\n variations: {\n view: {\n default: css`\n ${tokens.paginationDotBackground}: var(--surface-transparent-tertiary);\n ${tokens.paginationDotActiveBackground}: var(--surface-solid-default);\n
|
1
|
+
{"version":3,"file":"Carousel.config.js","sources":["../../../../src-css/components/Carousel/Carousel.config.ts"],"sourcesContent":["import { css, carouselNewTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 's',\n },\n variations: {\n view: {\n default: css`\n ${tokens.paginationDotBackground}: var(--surface-transparent-tertiary);\n ${tokens.paginationDotActiveBackground}: var(--surface-solid-default);\n `,\n },\n size: {\n s: css``,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,SAAA;KAIV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AACL,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
.
|
2
|
-
|
1
|
+
.Carousel_config_1r461vi_dv63qpm__2a4ae68a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);}
|
2
|
+
|
@@ -15,7 +15,7 @@ var React__default = /*#__PURE__*/_interopDefault(React);
|
|
15
15
|
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.carouselNewConfig, Carousel_config.config);
|
16
16
|
var CarouselNew = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
|
17
17
|
var CarouselComponent = function CarouselComponent(props, ref) {
|
18
|
-
if (typeof props.index === 'number') {
|
18
|
+
if (typeof props.index === 'number' && !Number.isNaN(props.index)) {
|
19
19
|
return /*#__PURE__*/React__default.default.createElement(Carousel$1.CarouselOld, _rollupPluginBabelHelpers.extends({
|
20
20
|
ref: ref
|
21
21
|
}, props));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.js","sources":["../../../../src-css/components/Carousel/Carousel.tsx"],"sourcesContent":["import {\n carouselNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport React from 'react';\n\nimport { CarouselOld } from './Legacy/Carousel';\nimport { config } from './Carousel.config';\n\nconst mergedConfig = mergeConfig(carouselNewConfig, config);\nconst CarouselNew = component(mergedConfig);\n\ntype PropsOld = ComponentProps<typeof CarouselOld>;\n\ntype PropsNew = ComponentProps<typeof CarouselNew> & { index?: never };\n\ntype CarouselProps = PropsOld | PropsNew;\n\nconst CarouselComponent = (props: CarouselProps, ref: React.ForwardedRef<HTMLInputElement>) => {\n if (typeof props.index === 'number') {\n return <CarouselOld ref={ref} {...props} />;\n }\n\n return <CarouselNew ref={ref} {...props} />;\n};\n\nconst Carousel = fixedForwardRef(CarouselComponent);\n\nexport { Carousel };\nexport type { CarouselProps };\n"],"names":["mergedConfig","mergeConfig","carouselNewConfig","config","CarouselNew","component","CarouselComponent","props","ref","index","React","createElement","CarouselOld","_extends","Carousel","fixedForwardRef"],"mappings":";;;;;;;;;;;;;;AAYA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAQ3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,KAAoB,EAAEC,GAAyC,EAAK;AAC3F,EAAA,IAAI,OAAOD,KAAK,CAACE,KAAK,KAAK,QAAQ,EAAE;
|
1
|
+
{"version":3,"file":"Carousel.js","sources":["../../../../src-css/components/Carousel/Carousel.tsx"],"sourcesContent":["import {\n carouselNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport React from 'react';\n\nimport { CarouselOld } from './Legacy/Carousel';\nimport { config } from './Carousel.config';\n\nconst mergedConfig = mergeConfig(carouselNewConfig, config);\nconst CarouselNew = component(mergedConfig);\n\ntype PropsOld = ComponentProps<typeof CarouselOld>;\n\ntype PropsNew = ComponentProps<typeof CarouselNew> & { index?: never };\n\ntype CarouselProps = PropsOld | PropsNew;\n\nconst CarouselComponent = (props: CarouselProps, ref: React.ForwardedRef<HTMLInputElement>) => {\n if (typeof props.index === 'number' && !Number.isNaN(props.index)) {\n return <CarouselOld ref={ref} {...props} />;\n }\n\n return <CarouselNew ref={ref} {...props} />;\n};\n\nconst Carousel = fixedForwardRef(CarouselComponent);\n\nexport { Carousel };\nexport type { CarouselProps };\n"],"names":["mergedConfig","mergeConfig","carouselNewConfig","config","CarouselNew","component","CarouselComponent","props","ref","index","Number","isNaN","React","createElement","CarouselOld","_extends","Carousel","fixedForwardRef"],"mappings":";;;;;;;;;;;;;;AAYA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAQ3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,KAAoB,EAAEC,GAAyC,EAAK;AAC3F,EAAA,IAAI,OAAOD,KAAK,CAACE,KAAK,KAAK,QAAQ,IAAI,CAACC,MAAM,CAACC,KAAK,CAACJ,KAAK,CAACE,KAAK,CAAC,EAAE;AAC/D,IAAA,oBAAOG,sBAAA,CAAAC,aAAA,CAACC,sBAAW,EAAAC,iCAAA,CAAA;AAACP,MAAAA,GAAG,EAAEA,GAAAA;KAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,GAAA;AAEA,EAAA,oBAAOK,sBAAA,CAAAC,aAAA,CAACT,WAAW,EAAAW,iCAAA,CAAA;AAACP,IAAAA,GAAG,EAAEA,GAAAA;GAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,CAAC,CAAA;AAED,IAAMS,QAAQ,gBAAGC,6BAAe,CAACX,iBAAiB;;;;"}
|
package/css/cjs/index.css
CHANGED
@@ -162,8 +162,8 @@
|
|
162
162
|
.CalendarDouble_config_ysgolw_sn1q98q__d157eba5{--plasma-calendar-container-width:37.063rem;--plasma-calendar-container-height:17rem;--plasma-calendar-years-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-year-item-border-radius:0.5rem;--plasma-calendar-year-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-year-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-year-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-year-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-year-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-year-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-year-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-quarters-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-quarter-item-border-radius:0.5rem;--plasma-calendar-quarter-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-quarter-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-quarter-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-quarter-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-quarter-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-quarter-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-quarter-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-months-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-month-item-border-radius:0.5rem;--plasma-calendar-month-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-month-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-month-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-month-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-month-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-month-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-month-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-day-item-border-radius:0.5rem;--plasma-calendar-day-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-day-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-day-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-day-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-day-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-day-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-day-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-current-item-border-width:0.063rem;--plasma-calendar-arrow-container-gap:0.5rem;--plasma-calendar-days-padding:0.5rem 0 0 0;--plasma-calendar-header-padding:0 0 0 0.5rem;--plasma-calendar-header-date-gap:0.25rem;--plasma-calendar-header-font-family:var(--plasma-typo-h4-font-family);--plasma-calendar-header-font-size:var(--plasma-typo-h4-font-size);--plasma-calendar-header-font-style:var(--plasma-typo-h4-font-style);--plasma-calendar-header-font-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-calendar-header-line-height:var(--plasma-typo-h4-line-height);--plasma-calendar-header-font-weight:var(--plasma-typo-h4-font-weight);--plasma-calendar-header-font-weight-bold:var(--plasma-typo-h4-bold-font-weight);--plasma-calendar-icon-button-height:2.5rem;--plasma-calendar-icon-button-width:2.5rem;--plasma-calendar-icon-button-padding:1rem;--plasma-calendar-icon-button-radius:0.625rem;}
|
163
163
|
.CalendarDouble_config_ysgolw_x1nri09h__d157eba5{--plasma-calendar-container-width:37.063rem;--plasma-calendar-container-height:15.5rem;--plasma-calendar-years-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-year-item-border-radius:0.375rem;--plasma-calendar-year-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-year-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-year-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-year-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-year-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-year-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-year-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-quarters-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-quarter-item-border-radius:0.375rem;--plasma-calendar-quarter-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-quarter-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-quarter-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-quarter-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-quarter-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-quarter-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-quarter-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-months-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-month-item-border-radius:0.375rem;--plasma-calendar-month-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-month-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-month-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-month-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-month-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-month-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-month-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-days-padding:0.375rem 0 0 0;--plasma-calendar-day-item-border-radius:0.375rem;--plasma-calendar-day-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-day-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-day-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-day-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-day-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-day-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-day-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-current-item-border-width:0.063rem;--plasma-calendar-arrow-container-gap:0;--plasma-calendar-header-padding:0 0 0 0.5rem;--plasma-calendar-header-date-gap:0.25rem;--plasma-calendar-header-font-family:var(--plasma-typo-h5-font-family);--plasma-calendar-header-font-size:var(--plasma-typo-h5-font-size);--plasma-calendar-header-font-style:var(--plasma-typo-h5-font-style);--plasma-calendar-header-font-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-calendar-header-line-height:var(--plasma-typo-h5-line-height);--plasma-calendar-header-font-weight:var(--plasma-typo-h5-font-weight);--plasma-calendar-header-font-weight-bold:var(--plasma-typo-h5-bold-font-weight);--plasma-calendar-icon-button-height:2rem;--plasma-calendar-icon-button-width:2rem;--plasma-calendar-icon-button-padding:0.75rem;--plasma-calendar-icon-button-radius:0.5rem;}
|
164
164
|
|
165
|
-
.
|
166
|
-
|
165
|
+
.Carousel_config_1r461vi_dv63qpm__2a4ae68a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);}
|
166
|
+
|
167
167
|
|
168
168
|
.Cell_config_iu83fc_d1r8c7fn__e648e65f{--plasma-cell-color:var(--text-primary);--plasma-cell-label-color:var(--text-secondary);--plasma-cell-title-color:var(--text-primary);--plasma-cell-subtitle-color:var(--text-secondary);--plasma-cell-background-color:transparent;}
|
169
169
|
.Cell_config_iu83fc_ljpyikk__e648e65f{--plasma-cell-width:15rem;--plasma-cell-padding:0rem;--plasma-cell-padding-left-content:0rem;--plasma-cell-padding-content:0rem;--plasma-cell-padding-right-content:0rem;--plasma-cell-textbox-gap:0.125rem;--plasma-cell-gap:0.375rem;--plasma-cell-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-cell-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-cell-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-cell-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-cell-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-cell-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-cell-title-font-family:var(--plasma-typo-body-l-font-family);--plasma-cell-title-font-size:var(--plasma-typo-body-l-font-size);--plasma-cell-title-font-style:var(--plasma-typo-body-l-font-style);--plasma-cell-title-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-cell-title-line-height:var(--plasma-typo-body-l-line-height);--plasma-cell-subtitle-font-family:var(--plasma-typo-body-m-font-family);--plasma-cell-subtitle-font-size:var(--plasma-typo-body-m-font-size);--plasma-cell-subtitle-font-style:var(--plasma-typo-body-m-font-style);--plasma-cell-subtitle-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-cell-subtitle-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-cell-subtitle-line-height:var(--plasma-typo-body-m-line-height);}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.config.js","sources":["../../../../src-css/components/Carousel/Carousel.config.ts"],"sourcesContent":["import { css, carouselNewTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 's',\n },\n variations: {\n view: {\n default: css`\n ${tokens.paginationDotBackground}: var(--surface-transparent-tertiary);\n ${tokens.paginationDotActiveBackground}: var(--surface-solid-default);\n
|
1
|
+
{"version":3,"file":"Carousel.config.js","sources":["../../../../src-css/components/Carousel/Carousel.config.ts"],"sourcesContent":["import { css, carouselNewTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 's',\n },\n variations: {\n view: {\n default: css`\n ${tokens.paginationDotBackground}: var(--surface-transparent-tertiary);\n ${tokens.paginationDotActiveBackground}: var(--surface-solid-default);\n `,\n },\n size: {\n s: css``,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,SAAA;KAIV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AACL,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
.
|
2
|
-
|
1
|
+
.Carousel_config_1r461vi_dv63qpm__2a4ae68a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);}
|
2
|
+
|
@@ -7,7 +7,7 @@ import { config } from './Carousel.config.js';
|
|
7
7
|
var mergedConfig = /*#__PURE__*/mergeConfig(carouselNewConfig, config);
|
8
8
|
var CarouselNew = /*#__PURE__*/component(mergedConfig);
|
9
9
|
var CarouselComponent = function CarouselComponent(props, ref) {
|
10
|
-
if (typeof props.index === 'number') {
|
10
|
+
if (typeof props.index === 'number' && !Number.isNaN(props.index)) {
|
11
11
|
return /*#__PURE__*/React.createElement(CarouselOld, _extends({
|
12
12
|
ref: ref
|
13
13
|
}, props));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.js","sources":["../../../../src-css/components/Carousel/Carousel.tsx"],"sourcesContent":["import {\n carouselNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport React from 'react';\n\nimport { CarouselOld } from './Legacy/Carousel';\nimport { config } from './Carousel.config';\n\nconst mergedConfig = mergeConfig(carouselNewConfig, config);\nconst CarouselNew = component(mergedConfig);\n\ntype PropsOld = ComponentProps<typeof CarouselOld>;\n\ntype PropsNew = ComponentProps<typeof CarouselNew> & { index?: never };\n\ntype CarouselProps = PropsOld | PropsNew;\n\nconst CarouselComponent = (props: CarouselProps, ref: React.ForwardedRef<HTMLInputElement>) => {\n if (typeof props.index === 'number') {\n return <CarouselOld ref={ref} {...props} />;\n }\n\n return <CarouselNew ref={ref} {...props} />;\n};\n\nconst Carousel = fixedForwardRef(CarouselComponent);\n\nexport { Carousel };\nexport type { CarouselProps };\n"],"names":["mergedConfig","mergeConfig","carouselNewConfig","config","CarouselNew","component","CarouselComponent","props","ref","index","React","createElement","CarouselOld","_extends","Carousel","fixedForwardRef"],"mappings":";;;;;;AAYA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;AAQ3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,KAAoB,EAAEC,GAAyC,EAAK;AAC3F,EAAA,IAAI,OAAOD,KAAK,CAACE,KAAK,KAAK,QAAQ,EAAE;
|
1
|
+
{"version":3,"file":"Carousel.js","sources":["../../../../src-css/components/Carousel/Carousel.tsx"],"sourcesContent":["import {\n carouselNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport React from 'react';\n\nimport { CarouselOld } from './Legacy/Carousel';\nimport { config } from './Carousel.config';\n\nconst mergedConfig = mergeConfig(carouselNewConfig, config);\nconst CarouselNew = component(mergedConfig);\n\ntype PropsOld = ComponentProps<typeof CarouselOld>;\n\ntype PropsNew = ComponentProps<typeof CarouselNew> & { index?: never };\n\ntype CarouselProps = PropsOld | PropsNew;\n\nconst CarouselComponent = (props: CarouselProps, ref: React.ForwardedRef<HTMLInputElement>) => {\n if (typeof props.index === 'number' && !Number.isNaN(props.index)) {\n return <CarouselOld ref={ref} {...props} />;\n }\n\n return <CarouselNew ref={ref} {...props} />;\n};\n\nconst Carousel = fixedForwardRef(CarouselComponent);\n\nexport { Carousel };\nexport type { CarouselProps };\n"],"names":["mergedConfig","mergeConfig","carouselNewConfig","config","CarouselNew","component","CarouselComponent","props","ref","index","Number","isNaN","React","createElement","CarouselOld","_extends","Carousel","fixedForwardRef"],"mappings":";;;;;;AAYA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;AAQ3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,KAAoB,EAAEC,GAAyC,EAAK;AAC3F,EAAA,IAAI,OAAOD,KAAK,CAACE,KAAK,KAAK,QAAQ,IAAI,CAACC,MAAM,CAACC,KAAK,CAACJ,KAAK,CAACE,KAAK,CAAC,EAAE;AAC/D,IAAA,oBAAOG,KAAA,CAAAC,aAAA,CAACC,WAAW,EAAAC,QAAA,CAAA;AAACP,MAAAA,GAAG,EAAEA,GAAAA;KAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,GAAA;AAEA,EAAA,oBAAOK,KAAA,CAAAC,aAAA,CAACT,WAAW,EAAAW,QAAA,CAAA;AAACP,IAAAA,GAAG,EAAEA,GAAAA;GAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,CAAC,CAAA;AAED,IAAMS,QAAQ,gBAAGC,eAAe,CAACX,iBAAiB;;;;"}
|
package/css/es/index.css
CHANGED
@@ -162,8 +162,8 @@
|
|
162
162
|
.CalendarDouble_config_ysgolw_sn1q98q__d157eba5{--plasma-calendar-container-width:37.063rem;--plasma-calendar-container-height:17rem;--plasma-calendar-years-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-year-item-border-radius:0.5rem;--plasma-calendar-year-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-year-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-year-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-year-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-year-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-year-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-year-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-quarters-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-quarter-item-border-radius:0.5rem;--plasma-calendar-quarter-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-quarter-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-quarter-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-quarter-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-quarter-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-quarter-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-quarter-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-months-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-month-item-border-radius:0.5rem;--plasma-calendar-month-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-month-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-month-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-month-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-month-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-month-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-month-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-day-item-border-radius:0.5rem;--plasma-calendar-day-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-day-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-day-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-day-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-day-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-day-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-day-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-current-item-border-width:0.063rem;--plasma-calendar-arrow-container-gap:0.5rem;--plasma-calendar-days-padding:0.5rem 0 0 0;--plasma-calendar-header-padding:0 0 0 0.5rem;--plasma-calendar-header-date-gap:0.25rem;--plasma-calendar-header-font-family:var(--plasma-typo-h4-font-family);--plasma-calendar-header-font-size:var(--plasma-typo-h4-font-size);--plasma-calendar-header-font-style:var(--plasma-typo-h4-font-style);--plasma-calendar-header-font-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-calendar-header-line-height:var(--plasma-typo-h4-line-height);--plasma-calendar-header-font-weight:var(--plasma-typo-h4-font-weight);--plasma-calendar-header-font-weight-bold:var(--plasma-typo-h4-bold-font-weight);--plasma-calendar-icon-button-height:2.5rem;--plasma-calendar-icon-button-width:2.5rem;--plasma-calendar-icon-button-padding:1rem;--plasma-calendar-icon-button-radius:0.625rem;}
|
163
163
|
.CalendarDouble_config_ysgolw_x1nri09h__d157eba5{--plasma-calendar-container-width:37.063rem;--plasma-calendar-container-height:15.5rem;--plasma-calendar-years-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-year-item-border-radius:0.375rem;--plasma-calendar-year-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-year-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-year-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-year-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-year-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-year-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-year-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-quarters-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-quarter-item-border-radius:0.375rem;--plasma-calendar-quarter-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-quarter-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-quarter-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-quarter-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-quarter-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-quarter-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-quarter-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-months-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-month-item-border-radius:0.375rem;--plasma-calendar-month-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-month-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-month-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-month-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-month-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-month-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-month-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-days-padding:0.375rem 0 0 0;--plasma-calendar-day-item-border-radius:0.375rem;--plasma-calendar-day-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-day-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-day-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-day-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-day-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-day-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-day-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-current-item-border-width:0.063rem;--plasma-calendar-arrow-container-gap:0;--plasma-calendar-header-padding:0 0 0 0.5rem;--plasma-calendar-header-date-gap:0.25rem;--plasma-calendar-header-font-family:var(--plasma-typo-h5-font-family);--plasma-calendar-header-font-size:var(--plasma-typo-h5-font-size);--plasma-calendar-header-font-style:var(--plasma-typo-h5-font-style);--plasma-calendar-header-font-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-calendar-header-line-height:var(--plasma-typo-h5-line-height);--plasma-calendar-header-font-weight:var(--plasma-typo-h5-font-weight);--plasma-calendar-header-font-weight-bold:var(--plasma-typo-h5-bold-font-weight);--plasma-calendar-icon-button-height:2rem;--plasma-calendar-icon-button-width:2rem;--plasma-calendar-icon-button-padding:0.75rem;--plasma-calendar-icon-button-radius:0.5rem;}
|
164
164
|
|
165
|
-
.
|
166
|
-
|
165
|
+
.Carousel_config_1r461vi_dv63qpm__2a4ae68a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);}
|
166
|
+
|
167
167
|
|
168
168
|
.Cell_config_iu83fc_d1r8c7fn__e648e65f{--plasma-cell-color:var(--text-primary);--plasma-cell-label-color:var(--text-secondary);--plasma-cell-title-color:var(--text-primary);--plasma-cell-subtitle-color:var(--text-secondary);--plasma-cell-background-color:transparent;}
|
169
169
|
.Cell_config_iu83fc_ljpyikk__e648e65f{--plasma-cell-width:15rem;--plasma-cell-padding:0rem;--plasma-cell-padding-left-content:0rem;--plasma-cell-padding-content:0rem;--plasma-cell-padding-right-content:0rem;--plasma-cell-textbox-gap:0.125rem;--plasma-cell-gap:0.375rem;--plasma-cell-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-cell-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-cell-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-cell-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-cell-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-cell-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-cell-title-font-family:var(--plasma-typo-body-l-font-family);--plasma-cell-title-font-size:var(--plasma-typo-body-l-font-size);--plasma-cell-title-font-style:var(--plasma-typo-body-l-font-style);--plasma-cell-title-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-cell-title-line-height:var(--plasma-typo-body-l-line-height);--plasma-cell-subtitle-font-family:var(--plasma-typo-body-m-font-family);--plasma-cell-subtitle-font-size:var(--plasma-typo-body-m-font-size);--plasma-cell-subtitle-font-style:var(--plasma-typo-body-m-font-style);--plasma-cell-subtitle-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-cell-subtitle-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-cell-subtitle-line-height:var(--plasma-typo-body-m-line-height);}
|
@@ -8,10 +8,10 @@ export var config = {
|
|
8
8
|
},
|
9
9
|
variations: {
|
10
10
|
view: {
|
11
|
-
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-solid-default);\n
|
11
|
+
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-solid-default);\n "])), tokens.paginationDotBackground, tokens.paginationDotActiveBackground)
|
12
12
|
},
|
13
13
|
size: {
|
14
|
-
s: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["
|
14
|
+
s: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral([""])))
|
15
15
|
}
|
16
16
|
}
|
17
17
|
};
|
@@ -6,7 +6,7 @@ import { config } from './Carousel.config';
|
|
6
6
|
var mergedConfig = /*#__PURE__*/mergeConfig(carouselNewConfig, config);
|
7
7
|
var CarouselNew = /*#__PURE__*/component(mergedConfig);
|
8
8
|
var CarouselComponent = function CarouselComponent(props, ref) {
|
9
|
-
if (typeof props.index === 'number') {
|
9
|
+
if (typeof props.index === 'number' && !Number.isNaN(props.index)) {
|
10
10
|
return /*#__PURE__*/React.createElement(CarouselOld, _extends({
|
11
11
|
ref: ref
|
12
12
|
}, props));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.584.1-canary.
|
3
|
+
"version": "1.584.1-canary.2030.15756642897.0",
|
4
4
|
"description": "Salute Design System / React UI kit for web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"dependencies": {
|
22
22
|
"@salutejs/plasma-core": "1.198.0",
|
23
23
|
"@salutejs/plasma-hope": "1.343.0",
|
24
|
-
"@salutejs/plasma-new-hope": "0.326.1-canary.
|
24
|
+
"@salutejs/plasma-new-hope": "0.326.1-canary.2030.15756642897.0",
|
25
25
|
"@salutejs/plasma-themes": "0.34.0",
|
26
26
|
"@salutejs/plasma-tokens-b2b": "1.50.0",
|
27
27
|
"@salutejs/plasma-tokens-b2c": "0.61.0",
|
@@ -111,5 +111,5 @@
|
|
111
111
|
"Fanil Zubairov"
|
112
112
|
],
|
113
113
|
"sideEffects": false,
|
114
|
-
"gitHead": "
|
114
|
+
"gitHead": "ddb7d7d181e5443fc1eff09cd6ba6af8492eafee"
|
115
115
|
}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
.dv63qpm{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);--plasma-carousel-control-icon-button-color:var(--text-primary);--plasma-carousel-control-icon-button-background-color:var(--surface-transparent-secondary);--plasma-carousel-control-icon-button-color-hover:var(--text-primary);--plasma-carousel-control-icon-button-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-carousel-control-icon-button-color-active:var(--text-primary);--plasma-carousel-control-icon-button-background-color-active:var(--surface-transparent-secondary-active);}
|
2
|
-
.s13btmod{--plasma-carousel-control-icon-button-radius:100%;}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
.dv63qpm{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);--plasma-carousel-control-icon-button-color:var(--text-primary);--plasma-carousel-control-icon-button-background-color:var(--surface-transparent-secondary);--plasma-carousel-control-icon-button-color-hover:var(--text-primary);--plasma-carousel-control-icon-button-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-carousel-control-icon-button-color-active:var(--text-primary);--plasma-carousel-control-icon-button-background-color-active:var(--surface-transparent-secondary-active);}
|
2
|
-
.s13btmod{--plasma-carousel-control-icon-button-radius:100%;}
|