@megafon/ui-core 6.2.1 → 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 +28 -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.d.ts +2 -0
- package/dist/es/components/Tooltip/Tooltip.js +9 -5
- 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.d.ts +2 -0
- package/dist/lib/components/Tooltip/Tooltip.js +9 -5
- package/package.json +3 -3
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
opacity: 1;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
.mfui-select {
|
|
25
|
+
.mfui-v6-select {
|
|
26
26
|
position: relative;
|
|
27
27
|
z-index: 1;
|
|
28
28
|
-webkit-box-sizing: border-box;
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
line-height: 24px;
|
|
35
35
|
font-weight: 400;
|
|
36
36
|
}
|
|
37
|
-
.mfui-select__inner {
|
|
37
|
+
.mfui-v6-select__inner {
|
|
38
38
|
position: relative;
|
|
39
39
|
}
|
|
40
|
-
.mfui-select__control {
|
|
40
|
+
.mfui-v6-select__control {
|
|
41
41
|
-webkit-box-sizing: border-box;
|
|
42
42
|
box-sizing: border-box;
|
|
43
43
|
width: 100%;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
-webkit-transition: border-color 0.3s;
|
|
52
52
|
transition: border-color 0.3s;
|
|
53
53
|
}
|
|
54
|
-
.mfui-select__combobox {
|
|
54
|
+
.mfui-v6-select__combobox {
|
|
55
55
|
font-size: 15px;
|
|
56
56
|
line-height: 24px;
|
|
57
57
|
font-weight: 400;
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
-moz-appearance: none;
|
|
77
77
|
appearance: none;
|
|
78
78
|
}
|
|
79
|
-
.mfui-select_no-touch .mfui-select__control:hover,
|
|
80
|
-
.mfui-select_no-touch .mfui-select__control:focus-within {
|
|
79
|
+
.mfui-v6-select_no-touch .mfui-v6-select__control:hover,
|
|
80
|
+
.mfui-v6-select_no-touch .mfui-v6-select__control:focus-within {
|
|
81
81
|
border-color: var(--content);
|
|
82
82
|
}
|
|
83
|
-
.mfui-select__title {
|
|
83
|
+
.mfui-v6-select__title {
|
|
84
84
|
position: relative;
|
|
85
85
|
z-index: 1;
|
|
86
86
|
display: -webkit-box;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
height: 100%;
|
|
94
94
|
outline: none;
|
|
95
95
|
}
|
|
96
|
-
.mfui-select__title:after {
|
|
96
|
+
.mfui-v6-select__title:after {
|
|
97
97
|
content: '';
|
|
98
98
|
position: absolute;
|
|
99
99
|
top: 50%;
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
transition: transform 0.6s;
|
|
112
112
|
transition: transform 0.6s, -webkit-transform 0.6s;
|
|
113
113
|
}
|
|
114
|
-
.mfui-select__title-value {
|
|
114
|
+
.mfui-v6-select__title-value {
|
|
115
115
|
display: -webkit-box;
|
|
116
116
|
display: -ms-flexbox;
|
|
117
117
|
display: flex;
|
|
@@ -120,10 +120,10 @@
|
|
|
120
120
|
align-items: center;
|
|
121
121
|
overflow: hidden;
|
|
122
122
|
}
|
|
123
|
-
.mfui-select__title-inner_hide-value .mfui-select__title-value {
|
|
123
|
+
.mfui-v6-select__title-inner_hide-value .mfui-v6-select__title-value {
|
|
124
124
|
color: var(--spbSky3);
|
|
125
125
|
}
|
|
126
|
-
.mfui-select__title-inner {
|
|
126
|
+
.mfui-v6-select__title-inner {
|
|
127
127
|
position: relative;
|
|
128
128
|
display: -webkit-box;
|
|
129
129
|
display: -ms-flexbox;
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
overflow: hidden;
|
|
142
142
|
white-space: nowrap;
|
|
143
143
|
}
|
|
144
|
-
.mfui-select__title-inner:after {
|
|
144
|
+
.mfui-v6-select__title-inner:after {
|
|
145
145
|
content: '';
|
|
146
146
|
position: absolute;
|
|
147
147
|
top: 0;
|
|
@@ -151,13 +151,13 @@
|
|
|
151
151
|
background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--base)));
|
|
152
152
|
background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--base));
|
|
153
153
|
}
|
|
154
|
-
.mfui-select__require-mark {
|
|
154
|
+
.mfui-v6-select__require-mark {
|
|
155
155
|
margin-left: 1px;
|
|
156
156
|
color: var(--fury);
|
|
157
157
|
font-size: 20px;
|
|
158
158
|
line-height: 0;
|
|
159
159
|
}
|
|
160
|
-
.mfui-select__list {
|
|
160
|
+
.mfui-v6-select__list {
|
|
161
161
|
position: absolute;
|
|
162
162
|
top: 100%;
|
|
163
163
|
right: 0;
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
-webkit-box-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
|
|
170
170
|
box-shadow: 0 1px 16px rgba(0, 0, 0, 0.2);
|
|
171
171
|
}
|
|
172
|
-
.mfui-select__list-inner {
|
|
172
|
+
.mfui-v6-select__list-inner {
|
|
173
173
|
-webkit-box-sizing: border-box;
|
|
174
174
|
box-sizing: border-box;
|
|
175
175
|
max-height: 368px;
|
|
@@ -178,22 +178,22 @@
|
|
|
178
178
|
scrollbar-width: thin;
|
|
179
179
|
scrollbar-color: var(--spbSky2) transparent;
|
|
180
180
|
}
|
|
181
|
-
.mfui-select__list-inner_short {
|
|
181
|
+
.mfui-v6-select__list-inner_short {
|
|
182
182
|
max-height: 235px;
|
|
183
183
|
}
|
|
184
|
-
.mfui-select__list-inner::-webkit-scrollbar {
|
|
184
|
+
.mfui-v6-select__list-inner::-webkit-scrollbar {
|
|
185
185
|
width: 16px;
|
|
186
186
|
}
|
|
187
|
-
.mfui-select__list-inner::-webkit-scrollbar-thumb {
|
|
187
|
+
.mfui-v6-select__list-inner::-webkit-scrollbar-thumb {
|
|
188
188
|
border: 6px solid transparent;
|
|
189
189
|
border-radius: 16px;
|
|
190
190
|
background-color: #D8D8D8;
|
|
191
191
|
background-clip: padding-box;
|
|
192
192
|
}
|
|
193
|
-
.mfui-select__list-inner::-webkit-scrollbar-thumb:hover {
|
|
193
|
+
.mfui-v6-select__list-inner::-webkit-scrollbar-thumb:hover {
|
|
194
194
|
background-color: #999999;
|
|
195
195
|
}
|
|
196
|
-
.mfui-select__list-item {
|
|
196
|
+
.mfui-v6-select__list-item {
|
|
197
197
|
font-family: inherit;
|
|
198
198
|
padding-top: 12px;
|
|
199
199
|
padding-bottom: 12px;
|
|
@@ -201,18 +201,18 @@
|
|
|
201
201
|
background-color: var(--base);
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
}
|
|
204
|
-
.mfui-select__list-item_hovered {
|
|
204
|
+
.mfui-v6-select__list-item_hovered {
|
|
205
205
|
background-color: var(--spbSky0);
|
|
206
206
|
}
|
|
207
|
-
.mfui-select__list-item_paddings_large {
|
|
207
|
+
.mfui-v6-select__list-item_paddings_large {
|
|
208
208
|
padding-right: 32px;
|
|
209
209
|
padding-left: 32px;
|
|
210
210
|
}
|
|
211
|
-
.mfui-select__list-item_paddings_small {
|
|
211
|
+
.mfui-v6-select__list-item_paddings_small {
|
|
212
212
|
padding-right: 12px;
|
|
213
213
|
padding-left: 12px;
|
|
214
214
|
}
|
|
215
|
-
.mfui-select__item-title {
|
|
215
|
+
.mfui-v6-select__item-title {
|
|
216
216
|
position: relative;
|
|
217
217
|
display: -webkit-box;
|
|
218
218
|
display: -ms-flexbox;
|
|
@@ -224,27 +224,27 @@
|
|
|
224
224
|
-ms-flex-align: center;
|
|
225
225
|
align-items: center;
|
|
226
226
|
}
|
|
227
|
-
.mfui-select__item-title_active {
|
|
227
|
+
.mfui-v6-select__item-title_active {
|
|
228
228
|
font-weight: 600;
|
|
229
229
|
}
|
|
230
|
-
.mfui-select__list-item_hovered .mfui-select__item-title:after {
|
|
230
|
+
.mfui-v6-select__list-item_hovered .mfui-v6-select__item-title:after {
|
|
231
231
|
background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
|
|
232
232
|
background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--spbSky0));
|
|
233
233
|
}
|
|
234
|
-
.mfui-select__not-found {
|
|
234
|
+
.mfui-v6-select__not-found {
|
|
235
235
|
padding: 8px 32px;
|
|
236
236
|
opacity: 0.5;
|
|
237
237
|
}
|
|
238
|
-
.mfui-select__text {
|
|
238
|
+
.mfui-v6-select__text {
|
|
239
239
|
margin-top: 8px;
|
|
240
240
|
color: var(--spbSky3);
|
|
241
241
|
font-size: 12px;
|
|
242
242
|
line-height: 18px;
|
|
243
243
|
}
|
|
244
|
-
.mfui-select__highlighted-fragment {
|
|
244
|
+
.mfui-v6-select__highlighted-fragment {
|
|
245
245
|
font-weight: bold;
|
|
246
246
|
}
|
|
247
|
-
.mfui-select__label {
|
|
247
|
+
.mfui-v6-select__label {
|
|
248
248
|
position: absolute;
|
|
249
249
|
top: 17px;
|
|
250
250
|
z-index: 1;
|
|
@@ -260,94 +260,94 @@
|
|
|
260
260
|
font-size: 15px;
|
|
261
261
|
line-height: 24px;
|
|
262
262
|
}
|
|
263
|
-
.mfui-select__combobox + .mfui-select__label {
|
|
263
|
+
.mfui-v6-select__combobox + .mfui-v6-select__label {
|
|
264
264
|
left: 16px;
|
|
265
265
|
}
|
|
266
|
-
.mfui-select__combobox::-webkit-input-placeholder {
|
|
266
|
+
.mfui-v6-select__combobox::-webkit-input-placeholder {
|
|
267
267
|
color: var(--spbSky3);
|
|
268
268
|
opacity: 0;
|
|
269
269
|
-webkit-transition: opacity 0.2s;
|
|
270
270
|
transition: opacity 0.2s;
|
|
271
271
|
}
|
|
272
|
-
.mfui-select__combobox:-moz-placeholder {
|
|
272
|
+
.mfui-v6-select__combobox:-moz-placeholder {
|
|
273
273
|
color: var(--spbSky3);
|
|
274
274
|
opacity: 0;
|
|
275
275
|
-webkit-transition: opacity 0.2s;
|
|
276
276
|
transition: opacity 0.2s;
|
|
277
277
|
}
|
|
278
|
-
.mfui-select__combobox:-ms-input-placeholder {
|
|
278
|
+
.mfui-v6-select__combobox:-ms-input-placeholder {
|
|
279
279
|
color: var(--spbSky3);
|
|
280
280
|
opacity: 0;
|
|
281
281
|
-webkit-transition: opacity 0.2s;
|
|
282
282
|
transition: opacity 0.2s;
|
|
283
283
|
}
|
|
284
|
-
.mfui-select__combobox::-moz-placeholder {
|
|
284
|
+
.mfui-v6-select__combobox::-moz-placeholder {
|
|
285
285
|
color: var(--spbSky3);
|
|
286
286
|
opacity: 0;
|
|
287
287
|
-webkit-transition: opacity 0.2s;
|
|
288
288
|
transition: opacity 0.2s;
|
|
289
289
|
}
|
|
290
|
-
.mfui-select__combobox::-ms-input-placeholder {
|
|
290
|
+
.mfui-v6-select__combobox::-ms-input-placeholder {
|
|
291
291
|
color: var(--spbSky3);
|
|
292
292
|
opacity: 0;
|
|
293
293
|
-webkit-transition: opacity 0.2s;
|
|
294
294
|
transition: opacity 0.2s;
|
|
295
295
|
}
|
|
296
|
-
.mfui-select__combobox::placeholder {
|
|
296
|
+
.mfui-v6-select__combobox::placeholder {
|
|
297
297
|
color: var(--spbSky3);
|
|
298
298
|
opacity: 0;
|
|
299
299
|
-webkit-transition: opacity 0.2s;
|
|
300
300
|
transition: opacity 0.2s;
|
|
301
301
|
}
|
|
302
|
-
.mfui-select_open .mfui-select__label,
|
|
303
|
-
.mfui-select__title-inner:not(.mfui-select__title-inner_hide-value) .mfui-select__label {
|
|
302
|
+
.mfui-v6-select_open .mfui-v6-select__label,
|
|
303
|
+
.mfui-v6-select__title-inner:not(.mfui-v6-select__title-inner_hide-value) .mfui-v6-select__label {
|
|
304
304
|
-webkit-transform: scale(0.8) translate(-12%, -75%);
|
|
305
305
|
transform: scale(0.8) translate(-12%, -75%);
|
|
306
306
|
-webkit-transition-duration: 0.2s, 0.01s;
|
|
307
307
|
transition-duration: 0.2s, 0.01s;
|
|
308
308
|
}
|
|
309
|
-
.mfui-select__combobox:not(.mfui-select__combobox_hide-value) + .mfui-select__label {
|
|
309
|
+
.mfui-v6-select__combobox:not(.mfui-v6-select__combobox_hide-value) + .mfui-v6-select__label {
|
|
310
310
|
-webkit-transform: scale(0.8) translate(-12.5%, -75%);
|
|
311
311
|
transform: scale(0.8) translate(-12.5%, -75%);
|
|
312
312
|
-webkit-transition-duration: 0.2s, 0.01s;
|
|
313
313
|
transition-duration: 0.2s, 0.01s;
|
|
314
314
|
}
|
|
315
|
-
.mfui-select__control_labeled .mfui-select__title-inner_hide-value .mfui-select__title-value {
|
|
315
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__title-inner_hide-value .mfui-v6-select__title-value {
|
|
316
316
|
color: var(--spbSky3);
|
|
317
317
|
-webkit-transition: opacity 0.2s;
|
|
318
318
|
transition: opacity 0.2s;
|
|
319
319
|
opacity: 0;
|
|
320
320
|
}
|
|
321
|
-
.mfui-select__control_labeled .mfui-select__title-inner,
|
|
322
|
-
.mfui-select__control_labeled .mfui-select__combobox {
|
|
321
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__title-inner,
|
|
322
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__combobox {
|
|
323
323
|
padding-top: 22px;
|
|
324
324
|
}
|
|
325
|
-
.mfui-select__control_labeled .mfui-select__combobox:focus::-webkit-input-placeholder {
|
|
325
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__combobox:focus::-webkit-input-placeholder {
|
|
326
326
|
opacity: 1;
|
|
327
327
|
}
|
|
328
|
-
.mfui-select__control_labeled .mfui-select__combobox:focus:-moz-placeholder {
|
|
328
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__combobox:focus:-moz-placeholder {
|
|
329
329
|
opacity: 1;
|
|
330
330
|
}
|
|
331
|
-
.mfui-select__control_labeled .mfui-select__combobox:focus:-ms-input-placeholder {
|
|
331
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__combobox:focus:-ms-input-placeholder {
|
|
332
332
|
opacity: 1;
|
|
333
333
|
}
|
|
334
|
-
.mfui-select__control_labeled .mfui-select__combobox:focus::-moz-placeholder {
|
|
334
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__combobox:focus::-moz-placeholder {
|
|
335
335
|
opacity: 1;
|
|
336
336
|
}
|
|
337
|
-
.mfui-select__control_labeled .mfui-select__combobox:focus::-ms-input-placeholder {
|
|
337
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__combobox:focus::-ms-input-placeholder {
|
|
338
338
|
opacity: 1;
|
|
339
339
|
}
|
|
340
|
-
.mfui-select__control_labeled .mfui-select__combobox:focus::placeholder {
|
|
340
|
+
.mfui-v6-select__control_labeled .mfui-v6-select__combobox:focus::placeholder {
|
|
341
341
|
opacity: 1;
|
|
342
342
|
}
|
|
343
|
-
.mfui-select_open {
|
|
343
|
+
.mfui-v6-select_open {
|
|
344
344
|
z-index: 12;
|
|
345
345
|
}
|
|
346
|
-
.mfui-select_open .mfui-select__title:after {
|
|
346
|
+
.mfui-v6-select_open .mfui-v6-select__title:after {
|
|
347
347
|
-webkit-transform: rotate(-180deg);
|
|
348
348
|
transform: rotate(-180deg);
|
|
349
349
|
}
|
|
350
|
-
.mfui-select_open .mfui-select__list {
|
|
350
|
+
.mfui-v6-select_open .mfui-v6-select__list {
|
|
351
351
|
display: block;
|
|
352
352
|
-webkit-animation-name: listAppear;
|
|
353
353
|
animation-name: listAppear;
|
|
@@ -356,22 +356,22 @@
|
|
|
356
356
|
-webkit-animation-timing-function: ease-in-out;
|
|
357
357
|
animation-timing-function: ease-in-out;
|
|
358
358
|
}
|
|
359
|
-
.mfui-select_open .mfui-select__control {
|
|
359
|
+
.mfui-v6-select_open .mfui-v6-select__control {
|
|
360
360
|
border-color: var(--content);
|
|
361
361
|
}
|
|
362
|
-
.mfui-select_open .mfui-select__title-inner_hide-value .mfui-select__title-value {
|
|
362
|
+
.mfui-v6-select_open .mfui-v6-select__title-inner_hide-value .mfui-v6-select__title-value {
|
|
363
363
|
opacity: 1;
|
|
364
364
|
}
|
|
365
|
-
.mfui-select_valid .mfui-select__control {
|
|
365
|
+
.mfui-v6-select_valid .mfui-v6-select__control {
|
|
366
366
|
border-color: var(--brandGreen) !important;
|
|
367
367
|
}
|
|
368
|
-
.mfui-select_error .mfui-select__control {
|
|
368
|
+
.mfui-v6-select_error .mfui-v6-select__control {
|
|
369
369
|
border-color: var(--fury) !important;
|
|
370
370
|
}
|
|
371
|
-
.mfui-select_error .mfui-select__text {
|
|
371
|
+
.mfui-v6-select_error .mfui-v6-select__text {
|
|
372
372
|
color: var(--fury);
|
|
373
373
|
}
|
|
374
|
-
.mfui-select_disabled .mfui-select__control {
|
|
374
|
+
.mfui-v6-select_disabled .mfui-v6-select__control {
|
|
375
375
|
border-color: var(--spbSky1);
|
|
376
376
|
background-color: var(--spbSky1);
|
|
377
377
|
-webkit-user-select: none;
|
|
@@ -380,10 +380,10 @@
|
|
|
380
380
|
user-select: none;
|
|
381
381
|
pointer-events: none;
|
|
382
382
|
}
|
|
383
|
-
.mfui-select_disabled .mfui-select__title-inner:after {
|
|
383
|
+
.mfui-v6-select_disabled .mfui-v6-select__title-inner:after {
|
|
384
384
|
display: none;
|
|
385
385
|
}
|
|
386
|
-
.mfui-select_disabled .mfui-select__title:after {
|
|
386
|
+
.mfui-v6-select_disabled .mfui-v6-select__title:after {
|
|
387
387
|
color: var(--content);
|
|
388
388
|
opacity: 0.5;
|
|
389
389
|
}
|
|
@@ -50,7 +50,7 @@ export var SelectTypes = {
|
|
|
50
50
|
// - onClose callback shouldn't fire multiple times on outside click if dropdown was opened multiple times.
|
|
51
51
|
// - If item with currentValue is not found in items, input value will not be displayed
|
|
52
52
|
|
|
53
|
-
var cn = cnCreate('mfui-select');
|
|
53
|
+
var cn = cnCreate('mfui-v6-select');
|
|
54
54
|
|
|
55
55
|
var Select = function Select(_ref) {
|
|
56
56
|
var _ref$type = _ref.type,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-selector__input {
|
|
1
|
+
.mfui-v6-selector__input {
|
|
2
2
|
position: absolute;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
height: 0;
|
|
8
8
|
opacity: 0;
|
|
9
9
|
}
|
|
10
|
-
.mfui-selector__label {
|
|
10
|
+
.mfui-v6-selector__label {
|
|
11
11
|
position: relative;
|
|
12
12
|
display: -webkit-inline-box;
|
|
13
13
|
display: -ms-inline-flexbox;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
21
21
|
}
|
|
22
|
-
.mfui-selector__custom-input {
|
|
22
|
+
.mfui-v6-selector__custom-input {
|
|
23
23
|
display: -webkit-box;
|
|
24
24
|
display: -ms-flexbox;
|
|
25
25
|
display: flex;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
-webkit-transition-duration: 0.3s;
|
|
41
41
|
transition-duration: 0.3s;
|
|
42
42
|
}
|
|
43
|
-
.mfui-selector__icon {
|
|
43
|
+
.mfui-v6-selector__icon {
|
|
44
44
|
display: block;
|
|
45
45
|
width: 14px;
|
|
46
46
|
height: 12px;
|
|
@@ -50,83 +50,83 @@
|
|
|
50
50
|
-webkit-transition-duration: 0.3s;
|
|
51
51
|
transition-duration: 0.3s;
|
|
52
52
|
}
|
|
53
|
-
.mfui-selector__label_dark .mfui-selector__custom-input {
|
|
53
|
+
.mfui-v6-selector__label_dark .mfui-v6-selector__custom-input {
|
|
54
54
|
border-color: var(--spbSky2);
|
|
55
55
|
background-color: var(--base);
|
|
56
56
|
}
|
|
57
|
-
.mfui-selector__label_dark .mfui-selector__icon {
|
|
57
|
+
.mfui-v6-selector__label_dark .mfui-v6-selector__icon {
|
|
58
58
|
fill: var(--stcWhite);
|
|
59
59
|
}
|
|
60
|
-
.mfui-selector__label_dark:not(.mfui-selector__label_disabled):hover .mfui-selector__custom-input {
|
|
60
|
+
.mfui-v6-selector__label_dark:not(.mfui-v6-selector__label_disabled):hover .mfui-v6-selector__custom-input {
|
|
61
61
|
border-color: var(--buttonHoverGreen);
|
|
62
62
|
}
|
|
63
|
-
.mfui-selector__label_dark:not(.mfui-selector__label_disabled):active .mfui-selector__custom-input {
|
|
63
|
+
.mfui-v6-selector__label_dark:not(.mfui-v6-selector__label_disabled):active .mfui-v6-selector__custom-input {
|
|
64
64
|
border-color: var(--buttonDown);
|
|
65
65
|
}
|
|
66
|
-
.mfui-selector__label_dark:not(.mfui-selector__label_disabled):hover .mfui-selector__input:checked + .mfui-selector__custom-input {
|
|
66
|
+
.mfui-v6-selector__label_dark:not(.mfui-v6-selector__label_disabled):hover .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input {
|
|
67
67
|
border-color: var(--buttonHoverGreen);
|
|
68
68
|
background-color: var(--buttonHoverGreen);
|
|
69
69
|
}
|
|
70
|
-
.mfui-selector__label_dark:not(.mfui-selector__label_disabled):active .mfui-selector__input:checked + .mfui-selector__custom-input {
|
|
70
|
+
.mfui-v6-selector__label_dark:not(.mfui-v6-selector__label_disabled):active .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input {
|
|
71
71
|
border-color: var(--buttonDown);
|
|
72
72
|
background-color: var(--buttonDown);
|
|
73
73
|
}
|
|
74
|
-
.mfui-selector__label_dark:not(.mfui-selector__label_disabled) .mfui-selector__input:checked + .mfui-selector__custom-input {
|
|
74
|
+
.mfui-v6-selector__label_dark:not(.mfui-v6-selector__label_disabled) .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input {
|
|
75
75
|
border-color: var(--brandGreen);
|
|
76
76
|
background-color: var(--brandGreen);
|
|
77
77
|
}
|
|
78
|
-
.mfui-selector__label_light .mfui-selector__custom-input {
|
|
78
|
+
.mfui-v6-selector__label_light .mfui-v6-selector__custom-input {
|
|
79
79
|
border-color: var(--stcWhite);
|
|
80
80
|
background-color: var(--stcWhite);
|
|
81
81
|
}
|
|
82
|
-
.mfui-selector__label_light .mfui-selector__icon {
|
|
82
|
+
.mfui-v6-selector__label_light .mfui-v6-selector__icon {
|
|
83
83
|
fill: var(--stcWhite);
|
|
84
84
|
}
|
|
85
|
-
.mfui-selector__label_light:not(.mfui-selector__label_disabled):hover .mfui-selector__custom-input {
|
|
85
|
+
.mfui-v6-selector__label_light:not(.mfui-v6-selector__label_disabled):hover .mfui-v6-selector__custom-input {
|
|
86
86
|
border-color: var(--buttonHoverGrey);
|
|
87
87
|
background-color: var(--buttonHoverGrey);
|
|
88
88
|
}
|
|
89
|
-
.mfui-selector__label_light:not(.mfui-selector__label_disabled):active .mfui-selector__custom-input {
|
|
89
|
+
.mfui-v6-selector__label_light:not(.mfui-v6-selector__label_disabled):active .mfui-v6-selector__custom-input {
|
|
90
90
|
border-color: var(--buttonDown);
|
|
91
91
|
background-color: var(--buttonDown);
|
|
92
92
|
}
|
|
93
|
-
.mfui-selector__label_light:not(.mfui-selector__label_disabled):hover .mfui-selector__input:checked + .mfui-selector__custom-input {
|
|
93
|
+
.mfui-v6-selector__label_light:not(.mfui-v6-selector__label_disabled):hover .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input {
|
|
94
94
|
border-color: var(--buttonHoverGrey);
|
|
95
95
|
background-color: var(--buttonHoverGrey);
|
|
96
96
|
}
|
|
97
|
-
.mfui-selector__label_light:not(.mfui-selector__label_disabled):active .mfui-selector__input:checked + .mfui-selector__custom-input {
|
|
97
|
+
.mfui-v6-selector__label_light:not(.mfui-v6-selector__label_disabled):active .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input {
|
|
98
98
|
border-color: var(--buttonDown);
|
|
99
99
|
background-color: var(--buttonDown);
|
|
100
100
|
}
|
|
101
|
-
.mfui-selector__label_light:not(.mfui-selector__label_disabled):active .mfui-selector__input:checked + .mfui-selector__custom-input .mfui-selector__icon {
|
|
101
|
+
.mfui-v6-selector__label_light:not(.mfui-v6-selector__label_disabled):active .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input .mfui-v6-selector__icon {
|
|
102
102
|
fill: var(--stcWhite);
|
|
103
103
|
}
|
|
104
|
-
.mfui-selector__label_light:not(.mfui-selector__label_disabled) .mfui-selector__input:checked + .mfui-selector__custom-input {
|
|
104
|
+
.mfui-v6-selector__label_light:not(.mfui-v6-selector__label_disabled) .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input {
|
|
105
105
|
border-color: var(--stcWhite);
|
|
106
106
|
background-color: var(--stcWhite);
|
|
107
107
|
}
|
|
108
|
-
.mfui-selector__label_light:not(.mfui-selector__label_disabled) .mfui-selector__input:checked + .mfui-selector__custom-input .mfui-selector__icon {
|
|
108
|
+
.mfui-v6-selector__label_light:not(.mfui-v6-selector__label_disabled) .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input .mfui-v6-selector__icon {
|
|
109
109
|
fill: var(--stcBlack);
|
|
110
110
|
}
|
|
111
|
-
.mfui-selector__label_lightk.mfui-selector__label_disabled .mfui-selector__input:checked + .mfui-selector__custom-input .mfui-selector__icon {
|
|
111
|
+
.mfui-v6-selector__label_lightk.mfui-v6-selector__label_disabled .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input .mfui-v6-selector__icon {
|
|
112
112
|
fill: var(--stcWhite);
|
|
113
113
|
}
|
|
114
|
-
.mfui-selector__label:not(.mfui-selector__label_disabled):hover .mfui-selector__input:checked + .mfui-selector__custom-input .mfui-selector__icon,
|
|
115
|
-
.mfui-selector__label:not(.mfui-selector__label_disabled):active .mfui-selector__input:checked + .mfui-selector__custom-input .mfui-selector__icon,
|
|
116
|
-
.mfui-selector__label:not(.mfui-selector__label_disabled) .mfui-selector__input:checked + .mfui-selector__custom-input .mfui-selector__icon,
|
|
117
|
-
.mfui-selector__label_disabled .mfui-selector__input:checked + .mfui-selector__custom-input .mfui-selector__icon {
|
|
114
|
+
.mfui-v6-selector__label:not(.mfui-v6-selector__label_disabled):hover .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input .mfui-v6-selector__icon,
|
|
115
|
+
.mfui-v6-selector__label:not(.mfui-v6-selector__label_disabled):active .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input .mfui-v6-selector__icon,
|
|
116
|
+
.mfui-v6-selector__label:not(.mfui-v6-selector__label_disabled) .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input .mfui-v6-selector__icon,
|
|
117
|
+
.mfui-v6-selector__label_disabled .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input .mfui-v6-selector__icon {
|
|
118
118
|
opacity: 1;
|
|
119
119
|
}
|
|
120
|
-
.mfui-selector__label_disabled {
|
|
120
|
+
.mfui-v6-selector__label_disabled {
|
|
121
121
|
cursor: default;
|
|
122
122
|
}
|
|
123
|
-
.mfui-selector__label_disabled .mfui-selector__custom-input {
|
|
123
|
+
.mfui-v6-selector__label_disabled .mfui-v6-selector__custom-input {
|
|
124
124
|
border-color: var(--spbSky2);
|
|
125
125
|
background-color: var(--spbSky1);
|
|
126
126
|
}
|
|
127
|
-
.mfui-selector__label_disabled .mfui-selector__input:checked + .mfui-selector__custom-input {
|
|
127
|
+
.mfui-v6-selector__label_disabled .mfui-v6-selector__input:checked + .mfui-v6-selector__custom-input {
|
|
128
128
|
background-color: var(--spbSky2);
|
|
129
129
|
}
|
|
130
|
-
.mfui-selector__label_error .mfui-selector__custom-input {
|
|
130
|
+
.mfui-v6-selector__label_error .mfui-v6-selector__custom-input {
|
|
131
131
|
border-color: var(--fury);
|
|
132
132
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-slider {
|
|
1
|
+
.mfui-v6-slider {
|
|
2
2
|
display: -webkit-box;
|
|
3
3
|
display: -ms-flexbox;
|
|
4
4
|
display: flex;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
-ms-flex-direction: column;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
}
|
|
10
|
-
.mfui-slider__head {
|
|
10
|
+
.mfui-v6-slider__head {
|
|
11
11
|
font-size: 15px;
|
|
12
12
|
line-height: 24px;
|
|
13
13
|
font-weight: 500;
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
grid-template-columns: auto 55%;
|
|
16
16
|
margin-bottom: 8px;
|
|
17
17
|
}
|
|
18
|
-
.mfui-slider__display-value {
|
|
18
|
+
.mfui-v6-slider__display-value {
|
|
19
19
|
margin-left: auto;
|
|
20
20
|
}
|
|
21
|
-
.mfui-slider__range-input {
|
|
21
|
+
.mfui-v6-slider__range-input {
|
|
22
22
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
23
23
|
height: 12px;
|
|
24
24
|
margin: 6px 0;
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
-moz-appearance: none;
|
|
34
34
|
appearance: none;
|
|
35
35
|
}
|
|
36
|
-
.mfui-slider__range-input:focus {
|
|
36
|
+
.mfui-v6-slider__range-input:focus {
|
|
37
37
|
outline: none;
|
|
38
38
|
}
|
|
39
|
-
.mfui-slider__range-input::-webkit-slider-thumb {
|
|
39
|
+
.mfui-v6-slider__range-input::-webkit-slider-thumb {
|
|
40
40
|
width: 24px;
|
|
41
41
|
height: 24px;
|
|
42
42
|
border: none;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
47
47
|
-webkit-appearance: none;
|
|
48
48
|
}
|
|
49
|
-
.mfui-slider__range-input::-moz-range-thumb {
|
|
49
|
+
.mfui-v6-slider__range-input::-moz-range-thumb {
|
|
50
50
|
width: 24px;
|
|
51
51
|
height: 24px;
|
|
52
52
|
border: none;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
56
56
|
-webkit-appearance: none;
|
|
57
57
|
}
|
|
58
|
-
.mfui-slider__range-input::-ms-thumb {
|
|
58
|
+
.mfui-v6-slider__range-input::-ms-thumb {
|
|
59
59
|
width: 24px;
|
|
60
60
|
height: 24px;
|
|
61
61
|
border: none;
|
|
@@ -64,34 +64,34 @@
|
|
|
64
64
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
65
65
|
-webkit-appearance: none;
|
|
66
66
|
}
|
|
67
|
-
.mfui-slider__range-input::-webkit-slider-runnable-track {
|
|
67
|
+
.mfui-v6-slider__range-input::-webkit-slider-runnable-track {
|
|
68
68
|
border: none;
|
|
69
69
|
background: transparent;
|
|
70
70
|
-webkit-box-shadow: none;
|
|
71
71
|
box-shadow: none;
|
|
72
72
|
-webkit-appearance: none;
|
|
73
73
|
}
|
|
74
|
-
.mfui-slider__range-input::-moz-range-track {
|
|
74
|
+
.mfui-v6-slider__range-input::-moz-range-track {
|
|
75
75
|
border: none;
|
|
76
76
|
background: transparent;
|
|
77
77
|
box-shadow: none;
|
|
78
78
|
-webkit-appearance: none;
|
|
79
79
|
}
|
|
80
|
-
.mfui-slider__range-input::-ms-track {
|
|
80
|
+
.mfui-v6-slider__range-input::-ms-track {
|
|
81
81
|
border: none;
|
|
82
82
|
background: transparent;
|
|
83
83
|
box-shadow: none;
|
|
84
84
|
-webkit-appearance: none;
|
|
85
85
|
}
|
|
86
|
-
.mfui-slider_disabled .mfui-slider__head {
|
|
86
|
+
.mfui-v6-slider_disabled .mfui-v6-slider__head {
|
|
87
87
|
color: var(--spbSky3);
|
|
88
88
|
}
|
|
89
|
-
.mfui-slider_disabled .mfui-slider__range-input {
|
|
89
|
+
.mfui-v6-slider_disabled .mfui-v6-slider__range-input {
|
|
90
90
|
background-image: -webkit-gradient(linear, left top, left bottom, from(var(--spbSky1)), to(var(--spbSky1)));
|
|
91
91
|
background-image: linear-gradient(var(--spbSky1), var(--spbSky1));
|
|
92
92
|
cursor: default;
|
|
93
93
|
}
|
|
94
|
-
.mfui-slider_disabled .mfui-slider__range-input::-webkit-slider-thumb {
|
|
94
|
+
.mfui-v6-slider_disabled .mfui-v6-slider__range-input::-webkit-slider-thumb {
|
|
95
95
|
width: 24px;
|
|
96
96
|
height: 24px;
|
|
97
97
|
border: none;
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
-webkit-box-shadow: none;
|
|
105
105
|
box-shadow: none;
|
|
106
106
|
}
|
|
107
|
-
.mfui-slider_disabled .mfui-slider__range-input::-moz-range-thumb {
|
|
107
|
+
.mfui-v6-slider_disabled .mfui-v6-slider__range-input::-moz-range-thumb {
|
|
108
108
|
width: 24px;
|
|
109
109
|
height: 24px;
|
|
110
110
|
border: none;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
background-color: var(--spbSky2);
|
|
116
116
|
box-shadow: none;
|
|
117
117
|
}
|
|
118
|
-
.mfui-slider_disabled .mfui-slider__range-input::-ms-thumb {
|
|
118
|
+
.mfui-v6-slider_disabled .mfui-v6-slider__range-input::-ms-thumb {
|
|
119
119
|
width: 24px;
|
|
120
120
|
height: 24px;
|
|
121
121
|
border: none;
|
|
@@ -8,7 +8,7 @@ import SliderDisplayValue, { DisplayValue } from "../components/SliderDisplayVal
|
|
|
8
8
|
import SliderScale, { Scale } from "../components/SliderScale/SliderScale";
|
|
9
9
|
import { getRangeValue, getTrackSize, removeFirstZeros } from "../helpers";
|
|
10
10
|
import "./Slider.css";
|
|
11
|
-
var cn = cnCreate('mfui-slider');
|
|
11
|
+
var cn = cnCreate('mfui-v6-slider');
|
|
12
12
|
|
|
13
13
|
var Slider = function Slider(_ref) {
|
|
14
14
|
var className = _ref.className,
|