@megafon/ui-core 6.3.0 → 6.4.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/CHANGELOG.md +16 -4
- package/dist/es/components/Accordion/Accordion.css +14 -14
- package/dist/es/components/Accordion/Accordion.js +1 -1
- package/dist/es/components/Avatar/Avatar.css +9 -9
- package/dist/es/components/Avatar/Avatar.js +1 -1
- package/dist/es/components/Badges/components/CounterBadge/CounterBadge.css +10 -10
- package/dist/es/components/Badges/components/CounterBadge/CounterBadge.js +1 -1
- package/dist/es/components/Badges/components/NotificationBadge/NotificationBadge.css +9 -9
- package/dist/es/components/Badges/components/NotificationBadge/NotificationBadge.js +1 -1
- package/dist/es/components/Badges/components/PriceBadge/PriceBadge.css +29 -29
- package/dist/es/components/Badges/components/PriceBadge/PriceBadge.js +1 -1
- package/dist/es/components/Badges/components/PromoBadge/PromoBadge.css +16 -16
- package/dist/es/components/Badges/components/PromoBadge/PromoBadge.js +1 -1
- package/dist/es/components/Badges/components/TimerBadge/Timer/Timer.js +1 -1
- package/dist/es/components/Badges/components/TimerBadge/TimerBadge.css +9 -9
- package/dist/es/components/Badges/components/TimerBadge/TimerBadge.js +1 -1
- package/dist/es/components/Banner/Banner.css +41 -41
- package/dist/es/components/Banner/Banner.js +1 -1
- package/dist/es/components/Banner/BannerDot.css +8 -8
- package/dist/es/components/Banner/BannerDot.js +1 -1
- package/dist/es/components/Button/Button.css +263 -263
- package/dist/es/components/Button/Button.js +1 -1
- package/dist/es/components/Calendar/Calendar.css +5 -5
- package/dist/es/components/Calendar/Calendar.js +1 -1
- package/dist/es/components/Calendar/components/Day/Day.css +59 -59
- package/dist/es/components/Calendar/components/Day/Day.js +1 -1
- package/dist/es/components/Calendar/components/Month/Month.css +14 -14
- package/dist/es/components/Calendar/components/Month/Month.js +1 -1
- package/dist/es/components/Caption/Caption.css +15 -15
- package/dist/es/components/Caption/Caption.js +1 -1
- package/dist/es/components/Carousel/Carousel.css +38 -38
- package/dist/es/components/Carousel/Carousel.js +1 -1
- package/dist/es/components/Checkbox/Checkbox.css +35 -35
- package/dist/es/components/Checkbox/Checkbox.js +1 -1
- package/dist/es/components/Chips/Chip.css +33 -33
- package/dist/es/components/Chips/Chip.js +1 -1
- package/dist/es/components/Chips/Chips.css +3 -3
- package/dist/es/components/Chips/Chips.js +1 -1
- package/dist/es/components/Chips/components/ChipsDropdown.css +12 -12
- package/dist/es/components/Chips/components/ChipsDropdown.js +1 -1
- package/dist/es/components/Collapse/Collapse.css +1 -1
- package/dist/es/components/Collapse/Collapse.js +1 -1
- package/dist/es/components/ContentArea/ContentArea.css +25 -25
- package/dist/es/components/ContentArea/ContentArea.js +1 -1
- package/dist/es/components/ContentView/ContentView.css +19 -19
- package/dist/es/components/ContentView/ContentView.js +1 -1
- package/dist/es/components/Counter/Counter.css +13 -13
- package/dist/es/components/Counter/Counter.js +1 -1
- package/dist/es/components/Grid/Grid.css +22 -22
- package/dist/es/components/Grid/Grid.js +1 -1
- package/dist/es/components/Grid/GridColumn.css +691 -691
- package/dist/es/components/Grid/GridColumn.js +1 -1
- package/dist/es/components/Header/Header.css +29 -29
- package/dist/es/components/Header/Header.js +1 -1
- package/dist/es/components/List/List.css +17 -17
- package/dist/es/components/List/List.js +1 -1
- package/dist/es/components/List/ListItem.css +2 -2
- package/dist/es/components/List/ListItem.js +1 -1
- package/dist/es/components/ListData/ListData.css +25 -25
- package/dist/es/components/ListData/ListData.js +1 -1
- package/dist/es/components/ListData/ListDataGroup.css +2 -2
- package/dist/es/components/ListData/ListDataGroup.js +1 -1
- package/dist/es/components/ListData/components/ListDataSortable.css +14 -14
- package/dist/es/components/ListData/components/ListDataSortable.js +1 -1
- package/dist/es/components/Logo/Logo.css +12 -12
- package/dist/es/components/Logo/Logo.js +1 -1
- package/dist/es/components/NavArrow/NavArrow.css +13 -13
- package/dist/es/components/NavArrow/NavArrow.js +1 -1
- package/dist/es/components/Notification/Notification.css +71 -71
- package/dist/es/components/Notification/Notification.js +1 -1
- package/dist/es/components/Pagination/Pagination.css +1 -1
- package/dist/es/components/Pagination/Pagination.js +1 -1
- package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.css +12 -12
- package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.js +1 -1
- package/dist/es/components/Pagination/components/PaginationButtons/PaginationButtons.css +2 -2
- package/dist/es/components/Pagination/components/PaginationButtons/PaginationButtons.js +1 -1
- package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +3 -3
- package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.js +1 -1
- package/dist/es/components/Paragraph/Paragraph.css +13 -13
- package/dist/es/components/Paragraph/Paragraph.js +1 -1
- package/dist/es/components/Preloader/Preloader.css +34 -34
- package/dist/es/components/Preloader/Preloader.js +1 -1
- package/dist/es/components/RadioButton/RadioButton.css +24 -24
- package/dist/es/components/RadioButton/RadioButton.js +1 -1
- package/dist/es/components/Row/Row.css +41 -41
- package/dist/es/components/Row/Row.js +1 -1
- package/dist/es/components/Search/Search.css +72 -72
- package/dist/es/components/Search/Search.d.ts +2 -0
- package/dist/es/components/Search/Search.js +7 -2
- package/dist/es/components/Select/Select.css +60 -60
- package/dist/es/components/Select/Select.js +1 -1
- package/dist/es/components/Selector/Selector.css +29 -29
- package/dist/es/components/Selector/Selector.js +1 -1
- package/dist/es/components/Sliders/Slider/Slider.css +16 -16
- package/dist/es/components/Sliders/Slider/Slider.js +1 -1
- package/dist/es/components/Sliders/SliderRange/SliderRange.css +24 -24
- package/dist/es/components/Sliders/SliderRange/SliderRange.js +1 -1
- package/dist/es/components/Sliders/SliderRatio/SliderRatio.css +26 -26
- package/dist/es/components/Sliders/SliderRatio/SliderRatio.js +1 -1
- package/dist/es/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.css +15 -15
- package/dist/es/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.js +1 -1
- package/dist/es/components/Sliders/components/SliderScale/SliderScale.css +3 -3
- package/dist/es/components/Sliders/components/SliderScale/SliderScale.js +1 -1
- package/dist/es/components/Snackbar/Snackbar.css +26 -26
- package/dist/es/components/Snackbar/Snackbar.js +1 -1
- package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.css +5 -5
- package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.js +1 -1
- package/dist/es/components/Switcher/Switcher.css +27 -27
- package/dist/es/components/Switcher/Switcher.js +1 -1
- package/dist/es/components/Tabs/Tabs.css +57 -57
- package/dist/es/components/Tabs/Tabs.js +1 -1
- package/dist/es/components/TextField/TextField.css +78 -78
- package/dist/es/components/TextField/TextField.js +1 -1
- package/dist/es/components/TextLink/TextLink.css +15 -15
- package/dist/es/components/TextLink/TextLink.js +1 -1
- package/dist/es/components/Tile/Tile.css +14 -14
- package/dist/es/components/Tile/Tile.js +1 -1
- package/dist/es/components/Tooltip/Tooltip.css +123 -123
- package/dist/es/components/Tooltip/Tooltip.js +1 -1
- package/dist/lib/components/Accordion/Accordion.css +14 -14
- package/dist/lib/components/Accordion/Accordion.js +1 -1
- package/dist/lib/components/Avatar/Avatar.css +9 -9
- package/dist/lib/components/Avatar/Avatar.js +1 -1
- package/dist/lib/components/Badges/components/CounterBadge/CounterBadge.css +10 -10
- package/dist/lib/components/Badges/components/CounterBadge/CounterBadge.js +1 -1
- package/dist/lib/components/Badges/components/NotificationBadge/NotificationBadge.css +9 -9
- package/dist/lib/components/Badges/components/NotificationBadge/NotificationBadge.js +1 -1
- package/dist/lib/components/Badges/components/PriceBadge/PriceBadge.css +29 -29
- package/dist/lib/components/Badges/components/PriceBadge/PriceBadge.js +1 -1
- package/dist/lib/components/Badges/components/PromoBadge/PromoBadge.css +16 -16
- package/dist/lib/components/Badges/components/PromoBadge/PromoBadge.js +1 -1
- package/dist/lib/components/Badges/components/TimerBadge/Timer/Timer.js +1 -1
- package/dist/lib/components/Badges/components/TimerBadge/TimerBadge.css +9 -9
- package/dist/lib/components/Badges/components/TimerBadge/TimerBadge.js +1 -1
- package/dist/lib/components/Banner/Banner.css +41 -41
- package/dist/lib/components/Banner/Banner.js +1 -1
- package/dist/lib/components/Banner/BannerDot.css +8 -8
- package/dist/lib/components/Banner/BannerDot.js +1 -1
- package/dist/lib/components/Button/Button.css +263 -263
- package/dist/lib/components/Button/Button.js +1 -1
- package/dist/lib/components/Calendar/Calendar.css +5 -5
- package/dist/lib/components/Calendar/Calendar.js +1 -1
- package/dist/lib/components/Calendar/components/Day/Day.css +59 -59
- package/dist/lib/components/Calendar/components/Day/Day.js +1 -1
- package/dist/lib/components/Calendar/components/Month/Month.css +14 -14
- package/dist/lib/components/Calendar/components/Month/Month.js +1 -1
- package/dist/lib/components/Caption/Caption.css +15 -15
- package/dist/lib/components/Caption/Caption.js +1 -1
- package/dist/lib/components/Carousel/Carousel.css +38 -38
- package/dist/lib/components/Carousel/Carousel.js +1 -1
- package/dist/lib/components/Checkbox/Checkbox.css +35 -35
- package/dist/lib/components/Checkbox/Checkbox.js +1 -1
- package/dist/lib/components/Chips/Chip.css +33 -33
- package/dist/lib/components/Chips/Chip.js +1 -1
- package/dist/lib/components/Chips/Chips.css +3 -3
- package/dist/lib/components/Chips/Chips.js +1 -1
- package/dist/lib/components/Chips/components/ChipsDropdown.css +12 -12
- package/dist/lib/components/Chips/components/ChipsDropdown.js +1 -1
- package/dist/lib/components/Collapse/Collapse.css +1 -1
- package/dist/lib/components/Collapse/Collapse.js +1 -1
- package/dist/lib/components/ContentArea/ContentArea.css +25 -25
- package/dist/lib/components/ContentArea/ContentArea.js +1 -1
- package/dist/lib/components/ContentView/ContentView.css +19 -19
- package/dist/lib/components/ContentView/ContentView.js +1 -1
- package/dist/lib/components/Counter/Counter.css +13 -13
- package/dist/lib/components/Counter/Counter.js +1 -1
- package/dist/lib/components/Grid/Grid.css +22 -22
- package/dist/lib/components/Grid/Grid.js +1 -1
- package/dist/lib/components/Grid/GridColumn.css +691 -691
- package/dist/lib/components/Grid/GridColumn.js +1 -1
- package/dist/lib/components/Header/Header.css +29 -29
- package/dist/lib/components/Header/Header.js +1 -1
- package/dist/lib/components/List/List.css +17 -17
- package/dist/lib/components/List/List.js +1 -1
- package/dist/lib/components/List/ListItem.css +2 -2
- package/dist/lib/components/List/ListItem.js +1 -1
- package/dist/lib/components/ListData/ListData.css +25 -25
- package/dist/lib/components/ListData/ListData.js +1 -1
- package/dist/lib/components/ListData/ListDataGroup.css +2 -2
- package/dist/lib/components/ListData/ListDataGroup.js +1 -1
- package/dist/lib/components/ListData/components/ListDataSortable.css +14 -14
- package/dist/lib/components/ListData/components/ListDataSortable.js +1 -1
- package/dist/lib/components/Logo/Logo.css +12 -12
- package/dist/lib/components/Logo/Logo.js +1 -1
- package/dist/lib/components/NavArrow/NavArrow.css +13 -13
- package/dist/lib/components/NavArrow/NavArrow.js +1 -1
- package/dist/lib/components/Notification/Notification.css +71 -71
- package/dist/lib/components/Notification/Notification.js +1 -1
- package/dist/lib/components/Pagination/Pagination.css +1 -1
- package/dist/lib/components/Pagination/Pagination.js +1 -1
- package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.css +12 -12
- package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.js +1 -1
- package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.css +2 -2
- package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.js +1 -1
- package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +3 -3
- package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.js +1 -1
- package/dist/lib/components/Paragraph/Paragraph.css +13 -13
- package/dist/lib/components/Paragraph/Paragraph.js +1 -1
- package/dist/lib/components/Preloader/Preloader.css +34 -34
- package/dist/lib/components/Preloader/Preloader.js +1 -1
- package/dist/lib/components/RadioButton/RadioButton.css +24 -24
- package/dist/lib/components/RadioButton/RadioButton.js +1 -1
- package/dist/lib/components/Row/Row.css +41 -41
- package/dist/lib/components/Row/Row.js +1 -1
- package/dist/lib/components/Search/Search.css +72 -72
- package/dist/lib/components/Search/Search.d.ts +2 -0
- package/dist/lib/components/Search/Search.js +7 -2
- package/dist/lib/components/Select/Select.css +60 -60
- package/dist/lib/components/Select/Select.js +1 -1
- package/dist/lib/components/Selector/Selector.css +29 -29
- package/dist/lib/components/Selector/Selector.js +1 -1
- package/dist/lib/components/Sliders/Slider/Slider.css +16 -16
- package/dist/lib/components/Sliders/Slider/Slider.js +1 -1
- package/dist/lib/components/Sliders/SliderRange/SliderRange.css +24 -24
- package/dist/lib/components/Sliders/SliderRange/SliderRange.js +1 -1
- package/dist/lib/components/Sliders/SliderRatio/SliderRatio.css +26 -26
- package/dist/lib/components/Sliders/SliderRatio/SliderRatio.js +1 -1
- package/dist/lib/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.css +15 -15
- package/dist/lib/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.js +1 -1
- package/dist/lib/components/Sliders/components/SliderScale/SliderScale.css +3 -3
- package/dist/lib/components/Sliders/components/SliderScale/SliderScale.js +1 -1
- package/dist/lib/components/Snackbar/Snackbar.css +26 -26
- package/dist/lib/components/Snackbar/Snackbar.js +1 -1
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.css +5 -5
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.js +1 -1
- package/dist/lib/components/Switcher/Switcher.css +27 -27
- package/dist/lib/components/Switcher/Switcher.js +1 -1
- package/dist/lib/components/Tabs/Tabs.css +57 -57
- package/dist/lib/components/Tabs/Tabs.js +1 -1
- package/dist/lib/components/TextField/TextField.css +78 -78
- package/dist/lib/components/TextField/TextField.js +1 -1
- package/dist/lib/components/TextLink/TextLink.css +15 -15
- package/dist/lib/components/TextLink/TextLink.js +1 -1
- package/dist/lib/components/Tile/Tile.css +14 -14
- package/dist/lib/components/Tile/Tile.js +1 -1
- package/dist/lib/components/Tooltip/Tooltip.css +123 -123
- package/dist/lib/components/Tooltip/Tooltip.js +1 -1
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.mfui-carousel {
|
|
1
|
+
.mfui-v6-carousel {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: -webkit-box;
|
|
4
4
|
display: -ms-flexbox;
|
|
5
5
|
display: flex;
|
|
6
6
|
}
|
|
7
|
-
.mfui-carousel__swiper {
|
|
7
|
+
.mfui-v6-carousel__swiper {
|
|
8
8
|
position: relative;
|
|
9
9
|
display: -webkit-box;
|
|
10
10
|
display: -ms-flexbox;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
overflow: hidden;
|
|
22
22
|
}
|
|
23
23
|
@media screen and (min-width: 1024px) {
|
|
24
|
-
.mfui-carousel__swiper {
|
|
24
|
+
.mfui-v6-carousel__swiper {
|
|
25
25
|
margin-right: -20px !important;
|
|
26
26
|
margin-left: -20px !important;
|
|
27
27
|
padding-right: 20px !important;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
|
32
|
-
.mfui-carousel__swiper_default-inner-indents {
|
|
32
|
+
.mfui-v6-carousel__swiper_default-inner-indents {
|
|
33
33
|
margin-right: -48px;
|
|
34
34
|
margin-left: -48px;
|
|
35
35
|
padding-right: 48px;
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
@media screen and (max-width: 767px) {
|
|
40
|
-
.mfui-carousel__swiper_default-inner-indents {
|
|
40
|
+
.mfui-v6-carousel__swiper_default-inner-indents {
|
|
41
41
|
margin-right: -16px;
|
|
42
42
|
margin-left: -16px;
|
|
43
43
|
padding-right: 32px;
|
|
44
44
|
padding-left: 16px;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
.mfui-carousel__swiper_gradient:before,
|
|
48
|
-
.mfui-carousel__swiper_gradient:after {
|
|
47
|
+
.mfui-v6-carousel__swiper_gradient:before,
|
|
48
|
+
.mfui-v6-carousel__swiper_gradient:after {
|
|
49
49
|
content: '';
|
|
50
50
|
position: absolute;
|
|
51
51
|
top: 0;
|
|
@@ -54,51 +54,51 @@
|
|
|
54
54
|
width: var(--gap);
|
|
55
55
|
}
|
|
56
56
|
@media screen and (max-width: 1023px) {
|
|
57
|
-
.mfui-carousel__swiper_gradient:before,
|
|
58
|
-
.mfui-carousel__swiper_gradient:after {
|
|
57
|
+
.mfui-v6-carousel__swiper_gradient:before,
|
|
58
|
+
.mfui-v6-carousel__swiper_gradient:after {
|
|
59
59
|
display: none;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
.mfui-carousel__swiper_gradient:before {
|
|
62
|
+
.mfui-v6-carousel__swiper_gradient:before {
|
|
63
63
|
left: 0;
|
|
64
64
|
background: -webkit-gradient(linear, right top, left top, from(transparent), to(var(--gradientColor)));
|
|
65
65
|
background: linear-gradient(270deg, transparent 0%, var(--gradientColor) 100%);
|
|
66
66
|
}
|
|
67
|
-
.mfui-carousel__swiper_gradient:after {
|
|
67
|
+
.mfui-v6-carousel__swiper_gradient:after {
|
|
68
68
|
right: 0;
|
|
69
69
|
background: -webkit-gradient(linear, right top, left top, from(var(--gradientColor)), to(transparent));
|
|
70
70
|
background: linear-gradient(270deg, var(--gradientColor) 0%, transparent 100%);
|
|
71
71
|
}
|
|
72
|
-
.mfui-carousel__swiper_gradient-color_default {
|
|
72
|
+
.mfui-v6-carousel__swiper_gradient-color_default {
|
|
73
73
|
--gradientColor: var(--base);
|
|
74
74
|
}
|
|
75
|
-
.mfui-carousel__swiper_gradient-color_green {
|
|
75
|
+
.mfui-v6-carousel__swiper_gradient-color_green {
|
|
76
76
|
--gradientColor: var(--brandGreen);
|
|
77
77
|
}
|
|
78
|
-
.mfui-carousel__swiper_gradient-color_black {
|
|
78
|
+
.mfui-v6-carousel__swiper_gradient-color_black {
|
|
79
79
|
--gradientColor: var(--stcBlack);
|
|
80
80
|
}
|
|
81
|
-
.mfui-carousel__swiper_gradient-color_spbSky0 {
|
|
81
|
+
.mfui-v6-carousel__swiper_gradient-color_spbSky0 {
|
|
82
82
|
--gradientColor: var(--spbSky0);
|
|
83
83
|
}
|
|
84
|
-
.mfui-carousel__swiper_gradient-color_spbSky1 {
|
|
84
|
+
.mfui-v6-carousel__swiper_gradient-color_spbSky1 {
|
|
85
85
|
--gradientColor: var(--spbSky1);
|
|
86
86
|
}
|
|
87
|
-
.mfui-carousel__swiper_gradient-color_spbSky2 {
|
|
87
|
+
.mfui-v6-carousel__swiper_gradient-color_spbSky2 {
|
|
88
88
|
--gradientColor: var(--spbSky2);
|
|
89
89
|
}
|
|
90
|
-
.mfui-carousel .swiper-wrapper {
|
|
90
|
+
.mfui-v6-carousel .swiper-wrapper {
|
|
91
91
|
z-index: 1;
|
|
92
92
|
display: -webkit-box;
|
|
93
93
|
display: -ms-flexbox;
|
|
94
94
|
display: flex;
|
|
95
95
|
}
|
|
96
|
-
.mfui-carousel__slide {
|
|
96
|
+
.mfui-v6-carousel__slide {
|
|
97
97
|
-ms-flex-negative: 0;
|
|
98
98
|
flex-shrink: 0;
|
|
99
99
|
}
|
|
100
100
|
@media screen and (min-width: 1024px) {
|
|
101
|
-
.mfui-carousel__slide {
|
|
101
|
+
.mfui-v6-carousel__slide {
|
|
102
102
|
-webkit-backface-visibility: hidden;
|
|
103
103
|
backface-visibility: hidden;
|
|
104
104
|
opacity: 0;
|
|
@@ -107,13 +107,13 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
@media screen and (min-width: 1024px) {
|
|
110
|
-
.mfui-carousel .swiper-slide-visible {
|
|
110
|
+
.mfui-v6-carousel .swiper-slide-visible {
|
|
111
111
|
opacity: 1;
|
|
112
112
|
-webkit-transition: opacity 0.4s;
|
|
113
113
|
transition: opacity 0.4s;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
.mfui-carousel__arrow {
|
|
116
|
+
.mfui-v6-carousel__arrow {
|
|
117
117
|
position: absolute;
|
|
118
118
|
top: 50%;
|
|
119
119
|
z-index: 6;
|
|
@@ -121,30 +121,30 @@
|
|
|
121
121
|
transform: translateY(calc(-50% - 40px / 2));
|
|
122
122
|
}
|
|
123
123
|
@media screen and (max-width: 1023px) {
|
|
124
|
-
.mfui-carousel__arrow {
|
|
124
|
+
.mfui-v6-carousel__arrow {
|
|
125
125
|
display: none;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
.mfui-carousel__arrow_prev {
|
|
128
|
+
.mfui-v6-carousel__arrow_prev {
|
|
129
129
|
right: calc(100% + 12px);
|
|
130
130
|
}
|
|
131
131
|
@media screen and (min-width: 1280px) {
|
|
132
|
-
.mfui-carousel__arrow_prev {
|
|
132
|
+
.mfui-v6-carousel__arrow_prev {
|
|
133
133
|
right: calc(100% + 20px);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
.mfui-carousel__arrow_next {
|
|
136
|
+
.mfui-v6-carousel__arrow_next {
|
|
137
137
|
left: calc(100% + 12px);
|
|
138
138
|
}
|
|
139
139
|
@media screen and (min-width: 1280px) {
|
|
140
|
-
.mfui-carousel__arrow_next {
|
|
140
|
+
.mfui-v6-carousel__arrow_next {
|
|
141
141
|
left: calc(100% + 20px);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
.mfui-carousel__arrow_locked {
|
|
144
|
+
.mfui-v6-carousel__arrow_locked {
|
|
145
145
|
display: none;
|
|
146
146
|
}
|
|
147
|
-
.mfui-carousel .swiper-pagination {
|
|
147
|
+
.mfui-v6-carousel .swiper-pagination {
|
|
148
148
|
display: -webkit-box;
|
|
149
149
|
display: -ms-flexbox;
|
|
150
150
|
display: flex;
|
|
@@ -163,10 +163,10 @@
|
|
|
163
163
|
padding-top: 32px;
|
|
164
164
|
border-radius: 12px;
|
|
165
165
|
}
|
|
166
|
-
.mfui-carousel .swiper-pagination.swiper-pagination-lock {
|
|
166
|
+
.mfui-v6-carousel .swiper-pagination.swiper-pagination-lock {
|
|
167
167
|
display: none;
|
|
168
168
|
}
|
|
169
|
-
.mfui-carousel .swiper-pagination-bullet {
|
|
169
|
+
.mfui-v6-carousel .swiper-pagination-bullet {
|
|
170
170
|
display: -webkit-box;
|
|
171
171
|
display: -ms-flexbox;
|
|
172
172
|
display: flex;
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
-webkit-transition: width 0.5s, background-color 0.3s;
|
|
186
186
|
transition: width 0.5s, background-color 0.3s;
|
|
187
187
|
}
|
|
188
|
-
.mfui-carousel .swiper-pagination-bullet:before {
|
|
188
|
+
.mfui-v6-carousel .swiper-pagination-bullet:before {
|
|
189
189
|
content: '';
|
|
190
190
|
display: block;
|
|
191
191
|
width: 100%;
|
|
@@ -194,22 +194,22 @@
|
|
|
194
194
|
-webkit-transition: border-radius 0.5s;
|
|
195
195
|
transition: border-radius 0.5s;
|
|
196
196
|
}
|
|
197
|
-
.mfui-carousel_nav-theme_green .swiper-pagination-bullet:before {
|
|
197
|
+
.mfui-v6-carousel_nav-theme_green .swiper-pagination-bullet:before {
|
|
198
198
|
background-color: var(--stcWhite50);
|
|
199
199
|
}
|
|
200
|
-
.mfui-carousel_nav-theme_light .swiper-pagination-bullet:before {
|
|
200
|
+
.mfui-v6-carousel_nav-theme_light .swiper-pagination-bullet:before {
|
|
201
201
|
background-color: var(--spbSky2);
|
|
202
202
|
}
|
|
203
|
-
.mfui-carousel .swiper-pagination-bullet-active {
|
|
203
|
+
.mfui-v6-carousel .swiper-pagination-bullet-active {
|
|
204
204
|
width: 20px;
|
|
205
205
|
cursor: default;
|
|
206
206
|
}
|
|
207
|
-
.mfui-carousel .swiper-pagination-bullet-active:before {
|
|
207
|
+
.mfui-v6-carousel .swiper-pagination-bullet-active:before {
|
|
208
208
|
border-radius: 4px;
|
|
209
209
|
}
|
|
210
|
-
.mfui-carousel_nav-theme_green .swiper-pagination-bullet-active:before {
|
|
210
|
+
.mfui-v6-carousel_nav-theme_green .swiper-pagination-bullet-active:before {
|
|
211
211
|
background-color: var(--base);
|
|
212
212
|
}
|
|
213
|
-
.mfui-carousel_nav-theme_light .swiper-pagination-bullet-active:before {
|
|
213
|
+
.mfui-v6-carousel_nav-theme_light .swiper-pagination-bullet-active:before {
|
|
214
214
|
background-color: var(--brandGreen);
|
|
215
215
|
}
|
|
@@ -61,7 +61,7 @@ var defaultSlidesSettings = (_defaultSlidesSetting = {}, _defineProperty(_defaul
|
|
|
61
61
|
slidesPerView: 4,
|
|
62
62
|
spaceBetween: 20
|
|
63
63
|
}), _defaultSlidesSetting);
|
|
64
|
-
var cn = cnCreate('mfui-carousel');
|
|
64
|
+
var cn = cnCreate('mfui-v6-carousel');
|
|
65
65
|
|
|
66
66
|
var Carousel = function Carousel(_ref) {
|
|
67
67
|
var rootRef = _ref.rootRef,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.mfui-checkbox {
|
|
1
|
+
.mfui-v6-checkbox {
|
|
2
2
|
margin: 0 5px 12px 5px;
|
|
3
3
|
}
|
|
4
|
-
.mfui-checkbox__inner {
|
|
4
|
+
.mfui-v6-checkbox__inner {
|
|
5
5
|
position: relative;
|
|
6
6
|
display: inline-block;
|
|
7
7
|
}
|
|
8
|
-
.mfui-checkbox__label {
|
|
8
|
+
.mfui-v6-checkbox__label {
|
|
9
9
|
display: inline;
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
}
|
|
12
|
-
.mfui-checkbox__input {
|
|
12
|
+
.mfui-v6-checkbox__input {
|
|
13
13
|
position: absolute;
|
|
14
14
|
top: 0;
|
|
15
15
|
left: 0;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
height: 0;
|
|
19
19
|
opacity: 0;
|
|
20
20
|
}
|
|
21
|
-
.mfui-checkbox__custom-input {
|
|
21
|
+
.mfui-v6-checkbox__custom-input {
|
|
22
22
|
position: absolute;
|
|
23
23
|
left: 0;
|
|
24
24
|
display: -webkit-box;
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
-webkit-transition-duration: 0.3s;
|
|
42
42
|
transition-duration: 0.3s;
|
|
43
43
|
}
|
|
44
|
-
.mfui-checkbox__custom-input:focus {
|
|
44
|
+
.mfui-v6-checkbox__custom-input:focus {
|
|
45
45
|
outline: none;
|
|
46
46
|
}
|
|
47
|
-
.mfui-checkbox__icon {
|
|
47
|
+
.mfui-v6-checkbox__icon {
|
|
48
48
|
display: block;
|
|
49
49
|
width: 32px;
|
|
50
50
|
height: 32px;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
-ms-user-select: none;
|
|
55
55
|
user-select: none;
|
|
56
56
|
}
|
|
57
|
-
.mfui-checkbox__extra-content {
|
|
57
|
+
.mfui-v6-checkbox__extra-content {
|
|
58
58
|
position: relative;
|
|
59
59
|
left: 8px;
|
|
60
60
|
display: inline-block;
|
|
@@ -62,89 +62,89 @@
|
|
|
62
62
|
margin-right: -20px;
|
|
63
63
|
vertical-align: middle;
|
|
64
64
|
}
|
|
65
|
-
.mfui-checkbox_checked .mfui-checkbox__custom-input {
|
|
65
|
+
.mfui-v6-checkbox_checked .mfui-v6-checkbox__custom-input {
|
|
66
66
|
border: none;
|
|
67
67
|
}
|
|
68
|
-
.mfui-checkbox_checked .mfui-checkbox__icon {
|
|
68
|
+
.mfui-v6-checkbox_checked .mfui-v6-checkbox__icon {
|
|
69
69
|
opacity: 1;
|
|
70
70
|
}
|
|
71
|
-
.mfui-checkbox_font-size_regular {
|
|
71
|
+
.mfui-v6-checkbox_font-size_regular {
|
|
72
72
|
font-size: 15px;
|
|
73
73
|
line-height: 24px;
|
|
74
74
|
}
|
|
75
|
-
.mfui-checkbox_font-size_regular .mfui-checkbox__inner {
|
|
75
|
+
.mfui-v6-checkbox_font-size_regular .mfui-v6-checkbox__inner {
|
|
76
76
|
padding: 4px 15px 4px 33px;
|
|
77
77
|
}
|
|
78
|
-
.mfui-checkbox_font-size_regular .mfui-checkbox__custom-input {
|
|
78
|
+
.mfui-v6-checkbox_font-size_regular .mfui-v6-checkbox__custom-input {
|
|
79
79
|
top: 6px;
|
|
80
80
|
}
|
|
81
|
-
.mfui-checkbox_font-size_small {
|
|
81
|
+
.mfui-v6-checkbox_font-size_small {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
line-height: 16px;
|
|
84
84
|
}
|
|
85
|
-
.mfui-checkbox_font-size_small .mfui-checkbox__inner {
|
|
85
|
+
.mfui-v6-checkbox_font-size_small .mfui-v6-checkbox__inner {
|
|
86
86
|
padding: 1px 15px 4px 33px;
|
|
87
87
|
}
|
|
88
|
-
.mfui-checkbox_font-size_small .mfui-checkbox__custom-input {
|
|
88
|
+
.mfui-v6-checkbox_font-size_small .mfui-v6-checkbox__custom-input {
|
|
89
89
|
top: 0;
|
|
90
90
|
}
|
|
91
|
-
.mfui-checkbox_color_dark .mfui-checkbox__custom-input {
|
|
91
|
+
.mfui-v6-checkbox_color_dark .mfui-v6-checkbox__custom-input {
|
|
92
92
|
border-color: var(--spbSky2);
|
|
93
93
|
}
|
|
94
|
-
.mfui-checkbox_color_dark .mfui-checkbox__label_no-touch:hover .mfui-checkbox__custom-input {
|
|
94
|
+
.mfui-v6-checkbox_color_dark .mfui-v6-checkbox__label_no-touch:hover .mfui-v6-checkbox__custom-input {
|
|
95
95
|
border-color: var(--buttonHoverGreen);
|
|
96
96
|
}
|
|
97
|
-
.mfui-checkbox_color_dark .mfui-checkbox__icon {
|
|
97
|
+
.mfui-v6-checkbox_color_dark .mfui-v6-checkbox__icon {
|
|
98
98
|
fill: var(--stcWhite);
|
|
99
99
|
}
|
|
100
|
-
.mfui-checkbox_color_dark.mfui-checkbox_checked .mfui-checkbox__custom-input {
|
|
100
|
+
.mfui-v6-checkbox_color_dark.mfui-v6-checkbox_checked .mfui-v6-checkbox__custom-input {
|
|
101
101
|
border-color: var(--brandGreen);
|
|
102
102
|
background-color: var(--brandGreen);
|
|
103
103
|
}
|
|
104
|
-
.mfui-checkbox_color_dark.mfui-checkbox_checked .mfui-checkbox__label_no-touch:hover .mfui-checkbox__custom-input {
|
|
104
|
+
.mfui-v6-checkbox_color_dark.mfui-v6-checkbox_checked .mfui-v6-checkbox__label_no-touch:hover .mfui-v6-checkbox__custom-input {
|
|
105
105
|
background-color: var(--buttonHoverGreen);
|
|
106
106
|
}
|
|
107
|
-
.mfui-checkbox_color_light {
|
|
107
|
+
.mfui-v6-checkbox_color_light {
|
|
108
108
|
color: var(--stcWhite);
|
|
109
109
|
}
|
|
110
|
-
.mfui-checkbox_color_light .mfui-checkbox__custom-input {
|
|
110
|
+
.mfui-v6-checkbox_color_light .mfui-v6-checkbox__custom-input {
|
|
111
111
|
border-color: var(--stcWhite);
|
|
112
112
|
background-color: var(--stcWhite);
|
|
113
113
|
}
|
|
114
|
-
.mfui-checkbox_color_light .mfui-checkbox__label_no-touch:hover .mfui-checkbox__custom-input {
|
|
114
|
+
.mfui-v6-checkbox_color_light .mfui-v6-checkbox__label_no-touch:hover .mfui-v6-checkbox__custom-input {
|
|
115
115
|
border-color: var(--buttonHoverGrey);
|
|
116
116
|
background-color: var(--buttonHoverGrey);
|
|
117
117
|
}
|
|
118
|
-
.mfui-checkbox_color_light.mfui-checkbox_checked .mfui-checkbox__custom-input {
|
|
118
|
+
.mfui-v6-checkbox_color_light.mfui-v6-checkbox_checked .mfui-v6-checkbox__custom-input {
|
|
119
119
|
border-color: var(--brandGreen);
|
|
120
120
|
color: var(--stcWhite);
|
|
121
121
|
background-color: var(--stcWhite);
|
|
122
122
|
}
|
|
123
|
-
.mfui-checkbox_disabled .mfui-checkbox__label {
|
|
123
|
+
.mfui-v6-checkbox_disabled .mfui-v6-checkbox__label {
|
|
124
124
|
color: var(--spbSky3);
|
|
125
125
|
cursor: default;
|
|
126
126
|
pointer-events: none;
|
|
127
127
|
}
|
|
128
|
-
.mfui-checkbox_disabled .mfui-checkbox__custom-input {
|
|
128
|
+
.mfui-v6-checkbox_disabled .mfui-v6-checkbox__custom-input {
|
|
129
129
|
border-color: var(--spbSky2);
|
|
130
130
|
background-color: var(--spbSky1);
|
|
131
131
|
}
|
|
132
|
-
.mfui-checkbox_disabled .mfui-checkbox__icon {
|
|
132
|
+
.mfui-v6-checkbox_disabled .mfui-v6-checkbox__icon {
|
|
133
133
|
fill: var(--stcWhite);
|
|
134
134
|
}
|
|
135
|
-
.mfui-checkbox_disabled.mfui-checkbox_color_light .mfui-checkbox__label {
|
|
135
|
+
.mfui-v6-checkbox_disabled.mfui-v6-checkbox_color_light .mfui-v6-checkbox__label {
|
|
136
136
|
color: var(--stcWhite50);
|
|
137
137
|
}
|
|
138
|
-
.mfui-checkbox_checked.mfui-checkbox_disabled .mfui-checkbox__custom-input {
|
|
138
|
+
.mfui-v6-checkbox_checked.mfui-v6-checkbox_disabled .mfui-v6-checkbox__custom-input {
|
|
139
139
|
background-color: var(--spbSky2);
|
|
140
140
|
}
|
|
141
|
-
.mfui-checkbox_error .mfui-checkbox__custom-input {
|
|
141
|
+
.mfui-v6-checkbox_error .mfui-v6-checkbox__custom-input {
|
|
142
142
|
border-color: var(--fury);
|
|
143
143
|
}
|
|
144
|
-
.mfui-checkbox_color_dark .mfui-checkbox__label:active .mfui-checkbox__custom-input,
|
|
145
|
-
.mfui-checkbox_color_dark.mfui-checkbox_checked .mfui-checkbox__label:active .mfui-checkbox__custom-input,
|
|
146
|
-
.mfui-checkbox_color_light .mfui-checkbox__label:active .mfui-checkbox__custom-input,
|
|
147
|
-
.mfui-checkbox_color_light.mfui-checkbox_checked .mfui-checkbox__label:active .mfui-checkbox__custom-input {
|
|
144
|
+
.mfui-v6-checkbox_color_dark .mfui-v6-checkbox__label:active .mfui-v6-checkbox__custom-input,
|
|
145
|
+
.mfui-v6-checkbox_color_dark.mfui-v6-checkbox_checked .mfui-v6-checkbox__label:active .mfui-v6-checkbox__custom-input,
|
|
146
|
+
.mfui-v6-checkbox_color_light .mfui-v6-checkbox__label:active .mfui-v6-checkbox__custom-input,
|
|
147
|
+
.mfui-v6-checkbox_color_light.mfui-v6-checkbox_checked .mfui-v6-checkbox__label:active .mfui-v6-checkbox__custom-input {
|
|
148
148
|
border-color: var(--buttonDown);
|
|
149
149
|
background-color: var(--buttonDown);
|
|
150
150
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-chip {
|
|
1
|
+
.mfui-v6-chip {
|
|
2
2
|
font-family: inherit;
|
|
3
3
|
font-size: 15px;
|
|
4
4
|
line-height: 24px;
|
|
@@ -27,25 +27,25 @@
|
|
|
27
27
|
-moz-appearance: none;
|
|
28
28
|
appearance: none;
|
|
29
29
|
}
|
|
30
|
-
.mfui-chip svg {
|
|
30
|
+
.mfui-v6-chip svg {
|
|
31
31
|
-webkit-transition: fill 0.3s;
|
|
32
32
|
transition: fill 0.3s;
|
|
33
33
|
fill: var(--content);
|
|
34
34
|
}
|
|
35
35
|
@media screen and (max-width: 767px) {
|
|
36
|
-
.mfui-chip {
|
|
36
|
+
.mfui-v6-chip {
|
|
37
37
|
padding: 4px 12px;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
.mfui-chip:hover {
|
|
40
|
+
.mfui-v6-chip:hover {
|
|
41
41
|
background-color: var(--spbSky1);
|
|
42
42
|
}
|
|
43
|
-
.mfui-chip__inner {
|
|
43
|
+
.mfui-v6-chip__inner {
|
|
44
44
|
overflow: hidden;
|
|
45
45
|
white-space: nowrap;
|
|
46
46
|
text-overflow: ellipsis;
|
|
47
47
|
}
|
|
48
|
-
.mfui-chip__counter {
|
|
48
|
+
.mfui-v6-chip__counter {
|
|
49
49
|
display: -webkit-inline-box;
|
|
50
50
|
display: -ms-inline-flexbox;
|
|
51
51
|
display: inline-flex;
|
|
@@ -56,77 +56,77 @@
|
|
|
56
56
|
color: var(--spbSky3);
|
|
57
57
|
}
|
|
58
58
|
@media screen and (max-width: 767px) {
|
|
59
|
-
.mfui-chip__counter {
|
|
59
|
+
.mfui-v6-chip__counter {
|
|
60
60
|
margin-left: 4px;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.mfui-chip__icon,
|
|
64
|
-
.mfui-chip__icon-arrow {
|
|
63
|
+
.mfui-v6-chip__icon,
|
|
64
|
+
.mfui-v6-chip__icon-arrow {
|
|
65
65
|
display: block;
|
|
66
66
|
width: 20px;
|
|
67
67
|
min-width: 20px;
|
|
68
68
|
max-height: 20px;
|
|
69
69
|
}
|
|
70
|
-
.mfui-chip__icon svg,
|
|
71
|
-
.mfui-chip__icon-arrow svg {
|
|
70
|
+
.mfui-v6-chip__icon svg,
|
|
71
|
+
.mfui-v6-chip__icon-arrow svg {
|
|
72
72
|
display: block;
|
|
73
73
|
width: 100%;
|
|
74
74
|
height: 100%;
|
|
75
75
|
}
|
|
76
|
-
.mfui-chip__icon {
|
|
76
|
+
.mfui-v6-chip__icon {
|
|
77
77
|
margin-right: 6px;
|
|
78
78
|
}
|
|
79
79
|
@media screen and (max-width: 767px) {
|
|
80
|
-
.mfui-chip__icon {
|
|
80
|
+
.mfui-v6-chip__icon {
|
|
81
81
|
margin-right: 4px;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
.mfui-chip_disabled,
|
|
85
|
-
.mfui-chip_disabled:hover {
|
|
84
|
+
.mfui-v6-chip_disabled,
|
|
85
|
+
.mfui-v6-chip_disabled:hover {
|
|
86
86
|
color: var(--spbSky3);
|
|
87
87
|
background-color: var(--spbSky0);
|
|
88
88
|
cursor: default;
|
|
89
89
|
pointer-events: none;
|
|
90
90
|
}
|
|
91
|
-
.mfui-chip_disabled svg,
|
|
92
|
-
.mfui-chip_disabled:hover svg {
|
|
91
|
+
.mfui-v6-chip_disabled svg,
|
|
92
|
+
.mfui-v6-chip_disabled:hover svg {
|
|
93
93
|
fill: var(--spbSky3);
|
|
94
94
|
}
|
|
95
|
-
.mfui-chip_disabled .mfui-chip__counter,
|
|
96
|
-
.mfui-chip_disabled:hover .mfui-chip__counter {
|
|
95
|
+
.mfui-v6-chip_disabled .mfui-v6-chip__counter,
|
|
96
|
+
.mfui-v6-chip_disabled:hover .mfui-v6-chip__counter {
|
|
97
97
|
color: var(--spbSky2);
|
|
98
98
|
}
|
|
99
|
-
.mfui-chip_checked,
|
|
100
|
-
.mfui-chip_checked:hover {
|
|
99
|
+
.mfui-v6-chip_checked,
|
|
100
|
+
.mfui-v6-chip_checked:hover {
|
|
101
101
|
color: var(--stcWhite);
|
|
102
102
|
background-color: var(--reflexBlue);
|
|
103
103
|
}
|
|
104
|
-
.mfui-chip_checked svg,
|
|
105
|
-
.mfui-chip_checked:hover svg {
|
|
104
|
+
.mfui-v6-chip_checked svg,
|
|
105
|
+
.mfui-v6-chip_checked:hover svg {
|
|
106
106
|
fill: var(--stcWhite);
|
|
107
107
|
}
|
|
108
|
-
.mfui-chip_checked .mfui-chip__counter,
|
|
109
|
-
.mfui-chip_checked:hover .mfui-chip__counter {
|
|
108
|
+
.mfui-v6-chip_checked .mfui-v6-chip__counter,
|
|
109
|
+
.mfui-v6-chip_checked:hover .mfui-v6-chip__counter {
|
|
110
110
|
color: var(--stcWhite);
|
|
111
111
|
}
|
|
112
|
-
.mfui-chip_checked.mfui-chip_color_black,
|
|
113
|
-
.mfui-chip_checked.mfui-chip_color_black:hover {
|
|
112
|
+
.mfui-v6-chip_checked.mfui-v6-chip_color_black,
|
|
113
|
+
.mfui-v6-chip_checked.mfui-v6-chip_color_black:hover {
|
|
114
114
|
color: var(--base);
|
|
115
115
|
background-color: var(--content);
|
|
116
116
|
}
|
|
117
|
-
.mfui-chip_checked.mfui-chip_color_black svg,
|
|
118
|
-
.mfui-chip_checked.mfui-chip_color_black:hover svg {
|
|
117
|
+
.mfui-v6-chip_checked.mfui-v6-chip_color_black svg,
|
|
118
|
+
.mfui-v6-chip_checked.mfui-v6-chip_color_black:hover svg {
|
|
119
119
|
fill: var(--base);
|
|
120
120
|
}
|
|
121
|
-
.mfui-chip_checked.mfui-chip_color_black .mfui-chip__counter,
|
|
122
|
-
.mfui-chip_checked.mfui-chip_color_black:hover .mfui-chip__counter {
|
|
121
|
+
.mfui-v6-chip_checked.mfui-v6-chip_color_black .mfui-v6-chip__counter,
|
|
122
|
+
.mfui-v6-chip_checked.mfui-v6-chip_color_black:hover .mfui-v6-chip__counter {
|
|
123
123
|
color: var(--base);
|
|
124
124
|
}
|
|
125
|
-
.mfui-chip_with-icon {
|
|
125
|
+
.mfui-v6-chip_with-icon {
|
|
126
126
|
padding-left: 16px;
|
|
127
127
|
}
|
|
128
128
|
@media screen and (max-width: 767px) {
|
|
129
|
-
.mfui-chip_with-icon {
|
|
129
|
+
.mfui-v6-chip_with-icon {
|
|
130
130
|
padding-left: 8px;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-chips {
|
|
1
|
+
.mfui-v6-chips {
|
|
2
2
|
display: -webkit-box;
|
|
3
3
|
display: -ms-flexbox;
|
|
4
4
|
display: flex;
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
width: 100%;
|
|
9
9
|
}
|
|
10
10
|
@media screen and (max-width: 767px) {
|
|
11
|
-
.mfui-chips {
|
|
11
|
+
.mfui-v6-chips {
|
|
12
12
|
gap: 8px;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
.mfui-chips_hidden {
|
|
15
|
+
.mfui-v6-chips_hidden {
|
|
16
16
|
display: grid;
|
|
17
17
|
grid-template-columns: repeat(auto-fit, minMax(0, -webkit-min-content));
|
|
18
18
|
grid-template-columns: repeat(auto-fit, minMax(0, min-content));
|
|
@@ -14,7 +14,7 @@ import "./Chips.css";
|
|
|
14
14
|
var DESKTOP_SMALL_START = breakpoints.DESKTOP_SMALL_START,
|
|
15
15
|
DESKTOP_MIDDLE_START = breakpoints.DESKTOP_MIDDLE_START,
|
|
16
16
|
MOBILE_BIG_START = breakpoints.MOBILE_BIG_START;
|
|
17
|
-
var cn = cnCreate('mfui-chips');
|
|
17
|
+
var cn = cnCreate('mfui-v6-chips');
|
|
18
18
|
|
|
19
19
|
var Chips = function Chips(_ref) {
|
|
20
20
|
var items = _ref.items,
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
opacity: 1;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
.mfui-chips-dropdown {
|
|
25
|
+
.mfui-v6-chips-dropdown {
|
|
26
26
|
position: relative;
|
|
27
27
|
}
|
|
28
|
-
.mfui-chips-dropdown__button {
|
|
28
|
+
.mfui-v6-chips-dropdown__button {
|
|
29
29
|
width: 100%;
|
|
30
30
|
}
|
|
31
|
-
.mfui-chips-dropdown__list {
|
|
31
|
+
.mfui-v6-chips-dropdown__list {
|
|
32
32
|
position: absolute;
|
|
33
33
|
top: 100%;
|
|
34
34
|
left: 0;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
-webkit-animation-timing-function: ease-in-out;
|
|
46
46
|
animation-timing-function: ease-in-out;
|
|
47
47
|
}
|
|
48
|
-
.mfui-chips-dropdown__list-inner {
|
|
48
|
+
.mfui-v6-chips-dropdown__list-inner {
|
|
49
49
|
-webkit-box-sizing: border-box;
|
|
50
50
|
box-sizing: border-box;
|
|
51
51
|
max-height: 320px;
|
|
@@ -59,19 +59,19 @@
|
|
|
59
59
|
scrollbar-color: var(--spbSky2) transparent;
|
|
60
60
|
overflow-wrap: normal;
|
|
61
61
|
}
|
|
62
|
-
.mfui-chips-dropdown__list-inner::-webkit-scrollbar {
|
|
62
|
+
.mfui-v6-chips-dropdown__list-inner::-webkit-scrollbar {
|
|
63
63
|
width: 16px;
|
|
64
64
|
}
|
|
65
|
-
.mfui-chips-dropdown__list-inner::-webkit-scrollbar-thumb {
|
|
65
|
+
.mfui-v6-chips-dropdown__list-inner::-webkit-scrollbar-thumb {
|
|
66
66
|
border: 6px solid transparent;
|
|
67
67
|
border-radius: 16px;
|
|
68
68
|
background-color: var(--spbSky2);
|
|
69
69
|
background-clip: padding-box;
|
|
70
70
|
}
|
|
71
|
-
.mfui-chips-dropdown__list-inner::-webkit-scrollbar-thumb:hover {
|
|
71
|
+
.mfui-v6-chips-dropdown__list-inner::-webkit-scrollbar-thumb:hover {
|
|
72
72
|
background-color: var(--spbSky3);
|
|
73
73
|
}
|
|
74
|
-
.mfui-chips-dropdown__list-item {
|
|
74
|
+
.mfui-v6-chips-dropdown__list-item {
|
|
75
75
|
font-family: inherit;
|
|
76
76
|
font-size: 15px;
|
|
77
77
|
line-height: 24px;
|
|
@@ -84,21 +84,21 @@
|
|
|
84
84
|
background-color: transparent;
|
|
85
85
|
cursor: pointer;
|
|
86
86
|
}
|
|
87
|
-
.mfui-chips-dropdown__list-item:hover {
|
|
87
|
+
.mfui-v6-chips-dropdown__list-item:hover {
|
|
88
88
|
background-color: var(--spbSky0);
|
|
89
89
|
}
|
|
90
|
-
.mfui-chips-dropdown__list-item_with-icon {
|
|
90
|
+
.mfui-v6-chips-dropdown__list-item_with-icon {
|
|
91
91
|
padding-left: 16px;
|
|
92
92
|
padding-right: 16px;
|
|
93
93
|
}
|
|
94
|
-
.mfui-chips-dropdown__icon {
|
|
94
|
+
.mfui-v6-chips-dropdown__icon {
|
|
95
95
|
display: block;
|
|
96
96
|
width: 24px;
|
|
97
97
|
min-width: 24px;
|
|
98
98
|
max-height: 24px;
|
|
99
99
|
margin-right: 16px;
|
|
100
100
|
}
|
|
101
|
-
.mfui-chips-dropdown__icon svg {
|
|
101
|
+
.mfui-v6-chips-dropdown__icon svg {
|
|
102
102
|
display: block;
|
|
103
103
|
width: 100%;
|
|
104
104
|
height: 100%;
|
|
@@ -8,7 +8,7 @@ import { cnCreate, filterDataAttrs } from '@megafon/ui-helpers';
|
|
|
8
8
|
import * as PropTypes from 'prop-types';
|
|
9
9
|
import Chip, { ChipColors, ChipPropType } from "../Chip";
|
|
10
10
|
import "./ChipsDropdown.css";
|
|
11
|
-
var cn = cnCreate('mfui-chips-dropdown');
|
|
11
|
+
var cn = cnCreate('mfui-v6-chips-dropdown');
|
|
12
12
|
|
|
13
13
|
var ChipsDropdown = function ChipsDropdown(_ref) {
|
|
14
14
|
var color = _ref.color,
|