@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-slider-range {
|
|
1
|
+
.mfui-v6-slider-range {
|
|
2
2
|
display: -webkit-box;
|
|
3
3
|
display: -ms-flexbox;
|
|
4
4
|
display: flex;
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
-ms-flex-direction: column;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
}
|
|
10
|
-
.mfui-slider-range__head {
|
|
10
|
+
.mfui-v6-slider-range__head {
|
|
11
11
|
font-size: 15px;
|
|
12
12
|
line-height: 24px;
|
|
13
13
|
font-weight: 500;
|
|
14
14
|
margin-bottom: 8px;
|
|
15
15
|
}
|
|
16
|
-
.mfui-slider-range__display-values {
|
|
16
|
+
.mfui-v6-slider-range__display-values {
|
|
17
17
|
display: grid;
|
|
18
18
|
grid-template-columns: 45% 45%;
|
|
19
19
|
-webkit-box-pack: justify;
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
width: 100%;
|
|
23
23
|
margin-top: 8px;
|
|
24
24
|
}
|
|
25
|
-
.mfui-slider-range__display-value_left {
|
|
25
|
+
.mfui-v6-slider-range__display-value_left {
|
|
26
26
|
margin-right: auto;
|
|
27
27
|
}
|
|
28
|
-
.mfui-slider-range__display-value_right {
|
|
28
|
+
.mfui-v6-slider-range__display-value_right {
|
|
29
29
|
margin-left: auto;
|
|
30
30
|
}
|
|
31
|
-
.mfui-slider-range__range-container {
|
|
31
|
+
.mfui-v6-slider-range__range-container {
|
|
32
32
|
position: relative;
|
|
33
33
|
height: 12px;
|
|
34
34
|
margin: 6px 0;
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
}
|
|
37
|
-
.mfui-slider-range__range-input {
|
|
37
|
+
.mfui-v6-slider-range__range-input {
|
|
38
38
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
39
39
|
position: absolute;
|
|
40
40
|
top: 50%;
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
appearance: none;
|
|
51
51
|
pointer-events: none;
|
|
52
52
|
}
|
|
53
|
-
.mfui-slider-range__range-input_left {
|
|
53
|
+
.mfui-v6-slider-range__range-input_left {
|
|
54
54
|
z-index: 1;
|
|
55
55
|
}
|
|
56
|
-
.mfui-slider-range__range-input_left.mfui-slider-range__range-input_over {
|
|
56
|
+
.mfui-v6-slider-range__range-input_left.mfui-v6-slider-range__range-input_over {
|
|
57
57
|
z-index: 3;
|
|
58
58
|
}
|
|
59
|
-
.mfui-slider-range__range-input_right {
|
|
59
|
+
.mfui-v6-slider-range__range-input_right {
|
|
60
60
|
z-index: 2;
|
|
61
61
|
}
|
|
62
|
-
.mfui-slider-range__range-input:focus {
|
|
62
|
+
.mfui-v6-slider-range__range-input:focus {
|
|
63
63
|
outline: none;
|
|
64
64
|
}
|
|
65
|
-
.mfui-slider-range__range-input::-webkit-slider-thumb {
|
|
65
|
+
.mfui-v6-slider-range__range-input::-webkit-slider-thumb {
|
|
66
66
|
width: var(--thumbSize);
|
|
67
67
|
height: var(--thumbSize);
|
|
68
68
|
border: none;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
-webkit-appearance: none;
|
|
74
74
|
pointer-events: auto;
|
|
75
75
|
}
|
|
76
|
-
.mfui-slider-range__range-input::-moz-range-thumb {
|
|
76
|
+
.mfui-v6-slider-range__range-input::-moz-range-thumb {
|
|
77
77
|
width: var(--thumbSize);
|
|
78
78
|
height: var(--thumbSize);
|
|
79
79
|
border: none;
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
-webkit-appearance: none;
|
|
84
84
|
pointer-events: auto;
|
|
85
85
|
}
|
|
86
|
-
.mfui-slider-range__range-input::-ms-thumb {
|
|
86
|
+
.mfui-v6-slider-range__range-input::-ms-thumb {
|
|
87
87
|
width: var(--thumbSize);
|
|
88
88
|
height: var(--thumbSize);
|
|
89
89
|
border: none;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
-webkit-appearance: none;
|
|
94
94
|
pointer-events: auto;
|
|
95
95
|
}
|
|
96
|
-
.mfui-slider-range__range-track {
|
|
96
|
+
.mfui-v6-slider-range__range-track {
|
|
97
97
|
position: absolute;
|
|
98
98
|
right: 0;
|
|
99
99
|
left: 0;
|
|
@@ -104,32 +104,32 @@
|
|
|
104
104
|
background-color: var(--spbSky0);
|
|
105
105
|
cursor: pointer;
|
|
106
106
|
}
|
|
107
|
-
.mfui-slider-range__range-track-inner {
|
|
107
|
+
.mfui-v6-slider-range__range-track-inner {
|
|
108
108
|
position: relative;
|
|
109
109
|
width: 100%;
|
|
110
110
|
height: 100%;
|
|
111
111
|
}
|
|
112
|
-
.mfui-slider-range__range-track-segment {
|
|
112
|
+
.mfui-v6-slider-range__range-track-segment {
|
|
113
113
|
position: absolute;
|
|
114
114
|
height: 100%;
|
|
115
115
|
border-radius: 100px;
|
|
116
116
|
background-color: var(--brandGreen);
|
|
117
117
|
}
|
|
118
|
-
.mfui-slider-range_disabled .mfui-slider-range__head {
|
|
118
|
+
.mfui-v6-slider-range_disabled .mfui-v6-slider-range__head {
|
|
119
119
|
color: var(--spbSky3);
|
|
120
120
|
}
|
|
121
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-track {
|
|
121
|
+
.mfui-v6-slider-range_disabled .mfui-v6-slider-range__range-track {
|
|
122
122
|
cursor: default;
|
|
123
123
|
}
|
|
124
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-input {
|
|
124
|
+
.mfui-v6-slider-range_disabled .mfui-v6-slider-range__range-input {
|
|
125
125
|
background-image: -webkit-gradient(linear, left top, left bottom, from(var(--spbSky1)), to(var(--spbSky1)));
|
|
126
126
|
background-image: linear-gradient(var(--spbSky1), var(--spbSky1));
|
|
127
127
|
cursor: default;
|
|
128
128
|
}
|
|
129
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-track-segment {
|
|
129
|
+
.mfui-v6-slider-range_disabled .mfui-v6-slider-range__range-track-segment {
|
|
130
130
|
background-color: var(--spbSky1);
|
|
131
131
|
}
|
|
132
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-input::-webkit-slider-thumb {
|
|
132
|
+
.mfui-v6-slider-range_disabled .mfui-v6-slider-range__range-input::-webkit-slider-thumb {
|
|
133
133
|
width: var(--thumbSize);
|
|
134
134
|
height: var(--thumbSize);
|
|
135
135
|
border: none;
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
-webkit-box-shadow: none;
|
|
144
144
|
box-shadow: none;
|
|
145
145
|
}
|
|
146
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-input::-moz-range-thumb {
|
|
146
|
+
.mfui-v6-slider-range_disabled .mfui-v6-slider-range__range-input::-moz-range-thumb {
|
|
147
147
|
width: var(--thumbSize);
|
|
148
148
|
height: var(--thumbSize);
|
|
149
149
|
border: none;
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
background-color: var(--spbSky2);
|
|
156
156
|
box-shadow: none;
|
|
157
157
|
}
|
|
158
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-input::-ms-thumb {
|
|
158
|
+
.mfui-v6-slider-range_disabled .mfui-v6-slider-range__range-input::-ms-thumb {
|
|
159
159
|
width: var(--thumbSize);
|
|
160
160
|
height: var(--thumbSize);
|
|
161
161
|
border: none;
|
|
@@ -10,7 +10,7 @@ import { getRangeValue, removeFirstZeros } from "../helpers";
|
|
|
10
10
|
import { getTrackSize, getRangeValueByPageX, checkForThumbAtEndOfTrack } from "./helpers";
|
|
11
11
|
import "./SliderRange.css";
|
|
12
12
|
var THUMB_SIZE = 24;
|
|
13
|
-
var cn = cnCreate('mfui-slider-range');
|
|
13
|
+
var cn = cnCreate('mfui-v6-slider-range');
|
|
14
14
|
|
|
15
15
|
var SliderRange = function SliderRange(_ref) {
|
|
16
16
|
var className = _ref.className,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-slider-ratio {
|
|
1
|
+
.mfui-v6-slider-ratio {
|
|
2
2
|
display: -webkit-box;
|
|
3
3
|
display: -ms-flexbox;
|
|
4
4
|
display: flex;
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
-ms-flex-direction: column;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
}
|
|
10
|
-
.mfui-slider-ratio__head {
|
|
10
|
+
.mfui-v6-slider-ratio__head {
|
|
11
11
|
font-size: 15px;
|
|
12
12
|
line-height: 24px;
|
|
13
13
|
font-weight: 500;
|
|
14
14
|
margin-bottom: 8px;
|
|
15
15
|
}
|
|
16
|
-
.mfui-slider-ratio__display-values {
|
|
16
|
+
.mfui-v6-slider-ratio__display-values {
|
|
17
17
|
display: grid;
|
|
18
18
|
grid-template-columns: 45% 45%;
|
|
19
19
|
-webkit-box-pack: justify;
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
width: 100%;
|
|
23
23
|
margin-top: 8px;
|
|
24
24
|
}
|
|
25
|
-
.mfui-slider-ratio__display-value_left {
|
|
25
|
+
.mfui-v6-slider-ratio__display-value_left {
|
|
26
26
|
margin-right: auto;
|
|
27
27
|
}
|
|
28
|
-
.mfui-slider-ratio__display-value_right {
|
|
28
|
+
.mfui-v6-slider-ratio__display-value_right {
|
|
29
29
|
margin-left: auto;
|
|
30
30
|
}
|
|
31
|
-
.mfui-slider-ratio__range-container {
|
|
31
|
+
.mfui-v6-slider-ratio__range-container {
|
|
32
32
|
position: relative;
|
|
33
33
|
width: 100%;
|
|
34
34
|
}
|
|
35
|
-
.mfui-slider-ratio__range-input {
|
|
35
|
+
.mfui-v6-slider-ratio__range-input {
|
|
36
36
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
37
37
|
position: relative;
|
|
38
38
|
z-index: 1;
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
appearance: none;
|
|
53
53
|
pointer-events: none;
|
|
54
54
|
}
|
|
55
|
-
.mfui-slider-ratio__range-input:focus {
|
|
55
|
+
.mfui-v6-slider-ratio__range-input:focus {
|
|
56
56
|
outline: none;
|
|
57
57
|
}
|
|
58
|
-
.mfui-slider-ratio__range-input::-webkit-slider-thumb {
|
|
58
|
+
.mfui-v6-slider-ratio__range-input::-webkit-slider-thumb {
|
|
59
59
|
width: var(--thumbSize);
|
|
60
60
|
height: var(--thumbSize);
|
|
61
61
|
border: none;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
-webkit-appearance: none;
|
|
70
70
|
pointer-events: auto;
|
|
71
71
|
}
|
|
72
|
-
.mfui-slider-ratio__range-input::-moz-range-thumb {
|
|
72
|
+
.mfui-v6-slider-ratio__range-input::-moz-range-thumb {
|
|
73
73
|
width: var(--thumbSize);
|
|
74
74
|
height: var(--thumbSize);
|
|
75
75
|
border: none;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
-webkit-appearance: none;
|
|
83
83
|
pointer-events: auto;
|
|
84
84
|
}
|
|
85
|
-
.mfui-slider-ratio__range-input::-ms-thumb {
|
|
85
|
+
.mfui-v6-slider-ratio__range-input::-ms-thumb {
|
|
86
86
|
width: var(--thumbSize);
|
|
87
87
|
height: var(--thumbSize);
|
|
88
88
|
border: none;
|
|
@@ -95,26 +95,26 @@
|
|
|
95
95
|
-webkit-appearance: none;
|
|
96
96
|
pointer-events: auto;
|
|
97
97
|
}
|
|
98
|
-
.mfui-slider-ratio__range-input::-webkit-slider-runnable-track {
|
|
98
|
+
.mfui-v6-slider-ratio__range-input::-webkit-slider-runnable-track {
|
|
99
99
|
border: none;
|
|
100
100
|
background: transparent;
|
|
101
101
|
-webkit-box-shadow: none;
|
|
102
102
|
box-shadow: none;
|
|
103
103
|
-webkit-appearance: none;
|
|
104
104
|
}
|
|
105
|
-
.mfui-slider-ratio__range-input::-moz-range-track {
|
|
105
|
+
.mfui-v6-slider-ratio__range-input::-moz-range-track {
|
|
106
106
|
border: none;
|
|
107
107
|
background: transparent;
|
|
108
108
|
box-shadow: none;
|
|
109
109
|
-webkit-appearance: none;
|
|
110
110
|
}
|
|
111
|
-
.mfui-slider-ratio__range-input::-ms-track {
|
|
111
|
+
.mfui-v6-slider-ratio__range-input::-ms-track {
|
|
112
112
|
border: none;
|
|
113
113
|
background: transparent;
|
|
114
114
|
box-shadow: none;
|
|
115
115
|
-webkit-appearance: none;
|
|
116
116
|
}
|
|
117
|
-
.mfui-slider-ratio__range-track {
|
|
117
|
+
.mfui-v6-slider-ratio__range-track {
|
|
118
118
|
position: absolute;
|
|
119
119
|
top: 0;
|
|
120
120
|
z-index: 0;
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
height: 100%;
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
}
|
|
125
|
-
.mfui-slider-ratio__scale {
|
|
125
|
+
.mfui-v6-slider-ratio__scale {
|
|
126
126
|
position: absolute;
|
|
127
127
|
top: 0;
|
|
128
128
|
right: calc(var(--thumbSize) / 2);
|
|
@@ -140,28 +140,28 @@
|
|
|
140
140
|
justify-content: space-between;
|
|
141
141
|
pointer-events: none;
|
|
142
142
|
}
|
|
143
|
-
.mfui-slider-ratio__scale-item {
|
|
143
|
+
.mfui-v6-slider-ratio__scale-item {
|
|
144
144
|
width: 4px;
|
|
145
145
|
height: 4px;
|
|
146
146
|
border-radius: 50%;
|
|
147
147
|
background-color: var(--stcWhite);
|
|
148
148
|
}
|
|
149
|
-
.mfui-slider-ratio__scale-item:first-child {
|
|
149
|
+
.mfui-v6-slider-ratio__scale-item:first-child {
|
|
150
150
|
margin-left: -2px;
|
|
151
151
|
}
|
|
152
|
-
.mfui-slider-ratio__scale-item:last-child {
|
|
152
|
+
.mfui-v6-slider-ratio__scale-item:last-child {
|
|
153
153
|
margin-right: -2px;
|
|
154
154
|
}
|
|
155
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__head {
|
|
155
|
+
.mfui-v6-slider-ratio_disabled .mfui-v6-slider-ratio__head {
|
|
156
156
|
color: var(--spbSky3);
|
|
157
157
|
}
|
|
158
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-input {
|
|
158
|
+
.mfui-v6-slider-ratio_disabled .mfui-v6-slider-ratio__range-input {
|
|
159
159
|
background-color: var(--spbSky1);
|
|
160
160
|
background-image: -webkit-gradient(linear, left top, left bottom, from(var(--spbSky0)), to(var(--spbSky0)));
|
|
161
161
|
background-image: linear-gradient(var(--spbSky0), var(--spbSky0));
|
|
162
162
|
cursor: default;
|
|
163
163
|
}
|
|
164
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-input::-webkit-slider-thumb {
|
|
164
|
+
.mfui-v6-slider-ratio_disabled .mfui-v6-slider-ratio__range-input::-webkit-slider-thumb {
|
|
165
165
|
width: var(--thumbSize);
|
|
166
166
|
height: var(--thumbSize);
|
|
167
167
|
border: none;
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
-webkit-box-shadow: none;
|
|
180
180
|
box-shadow: none;
|
|
181
181
|
}
|
|
182
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-input::-moz-range-thumb {
|
|
182
|
+
.mfui-v6-slider-ratio_disabled .mfui-v6-slider-ratio__range-input::-moz-range-thumb {
|
|
183
183
|
width: var(--thumbSize);
|
|
184
184
|
height: var(--thumbSize);
|
|
185
185
|
border: none;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
background-image: none;
|
|
196
196
|
box-shadow: none;
|
|
197
197
|
}
|
|
198
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-input::-ms-thumb {
|
|
198
|
+
.mfui-v6-slider-ratio_disabled .mfui-v6-slider-ratio__range-input::-ms-thumb {
|
|
199
199
|
width: var(--thumbSize);
|
|
200
200
|
height: var(--thumbSize);
|
|
201
201
|
border: none;
|
|
@@ -211,9 +211,9 @@
|
|
|
211
211
|
background-image: none;
|
|
212
212
|
box-shadow: none;
|
|
213
213
|
}
|
|
214
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-track {
|
|
214
|
+
.mfui-v6-slider-ratio_disabled .mfui-v6-slider-ratio__range-track {
|
|
215
215
|
cursor: default;
|
|
216
216
|
}
|
|
217
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__scale {
|
|
217
|
+
.mfui-v6-slider-ratio_disabled .mfui-v6-slider-ratio__scale {
|
|
218
218
|
display: none;
|
|
219
219
|
}
|
|
@@ -18,7 +18,7 @@ import "./SliderRatio.css";
|
|
|
18
18
|
var THUMB_SIZE = 24;
|
|
19
19
|
var MIN_RANGE_VALUE = 0;
|
|
20
20
|
var MAX_RANGE_VALUE = 100;
|
|
21
|
-
var cn = cnCreate('mfui-slider-ratio');
|
|
21
|
+
var cn = cnCreate('mfui-v6-slider-ratio');
|
|
22
22
|
|
|
23
23
|
var SliderRatio = function SliderRatio(_ref) {
|
|
24
24
|
var className = _ref.className,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-slider-display-value {
|
|
1
|
+
.mfui-v6-slider-display-value {
|
|
2
2
|
display: -webkit-box;
|
|
3
3
|
display: -ms-flexbox;
|
|
4
4
|
display: flex;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
color: var(--content);
|
|
7
7
|
font-weight: 400;
|
|
8
8
|
}
|
|
9
|
-
.mfui-slider-display-value_interactive {
|
|
9
|
+
.mfui-v6-slider-display-value_interactive {
|
|
10
10
|
-webkit-box-align: center;
|
|
11
11
|
-ms-flex-align: center;
|
|
12
12
|
align-items: center;
|
|
@@ -18,38 +18,38 @@
|
|
|
18
18
|
background-color: var(--base);
|
|
19
19
|
cursor: text;
|
|
20
20
|
}
|
|
21
|
-
.mfui-slider-display-value_interactive.mfui-slider-display-value:hover,
|
|
22
|
-
.mfui-slider-display-value_interactive.mfui-slider-display-value_focus {
|
|
21
|
+
.mfui-v6-slider-display-value_interactive.mfui-v6-slider-display-value:hover,
|
|
22
|
+
.mfui-v6-slider-display-value_interactive.mfui-v6-slider-display-value_focus {
|
|
23
23
|
border-color: var(--content);
|
|
24
24
|
}
|
|
25
|
-
.mfui-slider-display-value_disabled {
|
|
25
|
+
.mfui-v6-slider-display-value_disabled {
|
|
26
26
|
border-color: var(--spbSky0);
|
|
27
27
|
color: var(--spbSky3);
|
|
28
28
|
background-color: var(--spbSky0);
|
|
29
29
|
cursor: default;
|
|
30
30
|
}
|
|
31
|
-
.mfui-slider-display-value_disabled.mfui-slider-display-value_interactive:hover {
|
|
31
|
+
.mfui-v6-slider-display-value_disabled.mfui-v6-slider-display-value_interactive:hover {
|
|
32
32
|
border-color: var(--spbSky0);
|
|
33
33
|
}
|
|
34
|
-
.mfui-slider-display-value__box {
|
|
34
|
+
.mfui-v6-slider-display-value__box {
|
|
35
35
|
overflow: hidden;
|
|
36
36
|
}
|
|
37
|
-
.mfui-slider-display-value__line {
|
|
37
|
+
.mfui-v6-slider-display-value__line {
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
}
|
|
40
|
-
.mfui-slider-display-value__unit {
|
|
40
|
+
.mfui-v6-slider-display-value__unit {
|
|
41
41
|
margin-left: 4px;
|
|
42
42
|
}
|
|
43
|
-
.mfui-slider-display-value_interactive .mfui-slider-display-value__line {
|
|
43
|
+
.mfui-v6-slider-display-value_interactive .mfui-v6-slider-display-value__line {
|
|
44
44
|
height: 0;
|
|
45
45
|
visibility: hidden;
|
|
46
46
|
opacity: 0;
|
|
47
47
|
}
|
|
48
|
-
.mfui-slider-display-value__prefix {
|
|
48
|
+
.mfui-v6-slider-display-value__prefix {
|
|
49
49
|
margin-right: 4px;
|
|
50
50
|
color: var(--spbSky3);
|
|
51
51
|
}
|
|
52
|
-
.mfui-slider-display-value__input {
|
|
52
|
+
.mfui-v6-slider-display-value__input {
|
|
53
53
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
54
54
|
display: block;
|
|
55
55
|
width: 10px;
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
font-size: 15px;
|
|
75
75
|
line-height: 24px;
|
|
76
76
|
}
|
|
77
|
-
.mfui-slider-display-value__input::-webkit-outer-spin-button,
|
|
78
|
-
.mfui-slider-display-value__input::-webkit-inner-spin-button {
|
|
77
|
+
.mfui-v6-slider-display-value__input::-webkit-outer-spin-button,
|
|
78
|
+
.mfui-v6-slider-display-value__input::-webkit-inner-spin-button {
|
|
79
79
|
margin: 0;
|
|
80
80
|
-webkit-appearance: none;
|
|
81
81
|
}
|
|
82
|
-
.mfui-slider-display-value__input[type='number'] {
|
|
82
|
+
.mfui-v6-slider-display-value__input[type='number'] {
|
|
83
83
|
-moz-appearance: textfield;
|
|
84
84
|
}
|
|
@@ -11,7 +11,7 @@ export var DisplayValue = {
|
|
|
11
11
|
INPUT: 'input'
|
|
12
12
|
};
|
|
13
13
|
var charsAllowedByNumberInput = ['e', 'E', '+', '-'];
|
|
14
|
-
var cn = cnCreate('mfui-slider-display-value');
|
|
14
|
+
var cn = cnCreate('mfui-v6-slider-display-value');
|
|
15
15
|
|
|
16
16
|
var SliderDisplayValue = function SliderDisplayValue(_ref) {
|
|
17
17
|
var className = _ref.className,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
.mfui-slider-scale {
|
|
1
|
+
.mfui-v6-slider-scale {
|
|
2
2
|
font-size: 12px;
|
|
3
3
|
line-height: 18px;
|
|
4
4
|
position: relative;
|
|
5
5
|
height: 18px;
|
|
6
6
|
margin: 8px 12px 0 12px;
|
|
7
7
|
}
|
|
8
|
-
.mfui-slider-scale_disabled {
|
|
8
|
+
.mfui-v6-slider-scale_disabled {
|
|
9
9
|
color: var(--spbSky3);
|
|
10
10
|
}
|
|
11
|
-
.mfui-slider-scale__item {
|
|
11
|
+
.mfui-v6-slider-scale__item {
|
|
12
12
|
position: absolute;
|
|
13
13
|
translate: -50% 0;
|
|
14
14
|
white-space: nowrap;
|
|
@@ -5,7 +5,7 @@ h4,
|
|
|
5
5
|
h5 {
|
|
6
6
|
margin: 0;
|
|
7
7
|
}
|
|
8
|
-
.mfui-snackbar {
|
|
8
|
+
.mfui-v6-snackbar {
|
|
9
9
|
z-index: 1;
|
|
10
10
|
width: 480px;
|
|
11
11
|
-webkit-transition: -webkit-transform 300ms;
|
|
@@ -68,15 +68,15 @@ h5 {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
@media screen and (max-width: 767px) {
|
|
71
|
-
.mfui-snackbar {
|
|
71
|
+
.mfui-v6-snackbar {
|
|
72
72
|
width: 304px;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
.mfui-snackbar_move {
|
|
75
|
+
.mfui-v6-snackbar_move {
|
|
76
76
|
-webkit-transition: none;
|
|
77
77
|
transition: none;
|
|
78
78
|
}
|
|
79
|
-
.mfui-snackbar__tile {
|
|
79
|
+
.mfui-v6-snackbar__tile {
|
|
80
80
|
display: -webkit-box;
|
|
81
81
|
display: -ms-flexbox;
|
|
82
82
|
display: flex;
|
|
@@ -94,21 +94,21 @@ h5 {
|
|
|
94
94
|
animation: 200ms linear 200ms 1 forwards snackbar-show;
|
|
95
95
|
}
|
|
96
96
|
@media screen and (max-width: 767px) {
|
|
97
|
-
.mfui-snackbar__tile {
|
|
97
|
+
.mfui-v6-snackbar__tile {
|
|
98
98
|
min-height: 48px;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
.mfui-snackbar__tile_closed {
|
|
101
|
+
.mfui-v6-snackbar__tile_closed {
|
|
102
102
|
-webkit-animation: 100ms linear 1 snackbar-hide;
|
|
103
103
|
animation: 100ms linear 1 snackbar-hide;
|
|
104
104
|
}
|
|
105
|
-
.mfui-snackbar__tile_type_success .mfui-snackbar__icon-container svg {
|
|
105
|
+
.mfui-v6-snackbar__tile_type_success .mfui-v6-snackbar__icon-container svg {
|
|
106
106
|
fill: var(--brandGreen);
|
|
107
107
|
}
|
|
108
|
-
.mfui-snackbar__tile_type_attention .mfui-snackbar__icon-container svg {
|
|
108
|
+
.mfui-v6-snackbar__tile_type_attention .mfui-v6-snackbar__icon-container svg {
|
|
109
109
|
fill: var(--fury80);
|
|
110
110
|
}
|
|
111
|
-
.mfui-snackbar__icon-container {
|
|
111
|
+
.mfui-v6-snackbar__icon-container {
|
|
112
112
|
display: -webkit-box;
|
|
113
113
|
display: -ms-flexbox;
|
|
114
114
|
display: flex;
|
|
@@ -123,64 +123,64 @@ h5 {
|
|
|
123
123
|
height: 32px;
|
|
124
124
|
margin-right: 8px;
|
|
125
125
|
}
|
|
126
|
-
.mfui-snackbar__icon-container svg {
|
|
126
|
+
.mfui-v6-snackbar__icon-container svg {
|
|
127
127
|
fill: var(--base);
|
|
128
128
|
}
|
|
129
129
|
@media screen and (max-width: 767px) {
|
|
130
|
-
.mfui-snackbar__icon-container {
|
|
130
|
+
.mfui-v6-snackbar__icon-container {
|
|
131
131
|
width: 20px;
|
|
132
132
|
min-width: 20px;
|
|
133
133
|
height: 20px;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
.mfui-snackbar__icon-container_desktop {
|
|
136
|
+
.mfui-v6-snackbar__icon-container_desktop {
|
|
137
137
|
display: none;
|
|
138
138
|
}
|
|
139
139
|
@media screen and (min-width: 768px) {
|
|
140
|
-
.mfui-snackbar__icon-container_desktop {
|
|
140
|
+
.mfui-v6-snackbar__icon-container_desktop {
|
|
141
141
|
display: block;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
.mfui-snackbar__icon-container_mobile {
|
|
144
|
+
.mfui-v6-snackbar__icon-container_mobile {
|
|
145
145
|
display: none;
|
|
146
146
|
}
|
|
147
147
|
@media screen and (max-width: 767px) {
|
|
148
|
-
.mfui-snackbar__icon-container_mobile {
|
|
148
|
+
.mfui-v6-snackbar__icon-container_mobile {
|
|
149
149
|
display: block;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
.mfui-snackbar__text-wrapper {
|
|
152
|
+
.mfui-v6-snackbar__text-wrapper {
|
|
153
153
|
-webkit-box-flex: 1;
|
|
154
154
|
-ms-flex-positive: 1;
|
|
155
155
|
flex-grow: 1;
|
|
156
156
|
color: var(--base);
|
|
157
157
|
}
|
|
158
|
-
.mfui-snackbar__text {
|
|
158
|
+
.mfui-v6-snackbar__text {
|
|
159
159
|
display: none;
|
|
160
160
|
overflow: hidden;
|
|
161
161
|
}
|
|
162
162
|
@media screen and (min-width: 768px) {
|
|
163
|
-
.mfui-snackbar__text_desktop {
|
|
163
|
+
.mfui-v6-snackbar__text_desktop {
|
|
164
164
|
display: block;
|
|
165
165
|
max-height: 48px;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
@media screen and (max-width: 767px) {
|
|
169
|
-
.mfui-snackbar__text_mobile {
|
|
169
|
+
.mfui-v6-snackbar__text_mobile {
|
|
170
170
|
display: block;
|
|
171
171
|
max-height: 36px;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
.mfui-snackbar__text_short {
|
|
174
|
+
.mfui-v6-snackbar__text_short {
|
|
175
175
|
max-width: 272px;
|
|
176
176
|
}
|
|
177
|
-
.mfui-snackbar__text-button {
|
|
177
|
+
.mfui-v6-snackbar__text-button {
|
|
178
178
|
min-width: -webkit-min-content;
|
|
179
179
|
min-width: -moz-min-content;
|
|
180
180
|
min-width: min-content;
|
|
181
181
|
margin-left: 12px;
|
|
182
182
|
}
|
|
183
|
-
.mfui-snackbar__close-button {
|
|
183
|
+
.mfui-v6-snackbar__close-button {
|
|
184
184
|
display: -webkit-box;
|
|
185
185
|
display: -ms-flexbox;
|
|
186
186
|
display: flex;
|
|
@@ -202,17 +202,17 @@ h5 {
|
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
}
|
|
204
204
|
@media screen and (max-width: 767px) {
|
|
205
|
-
.mfui-snackbar__close-button {
|
|
205
|
+
.mfui-v6-snackbar__close-button {
|
|
206
206
|
display: none;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
.mfui-snackbar__close-button:hover {
|
|
209
|
+
.mfui-v6-snackbar__close-button:hover {
|
|
210
210
|
background-color: #99999933;
|
|
211
211
|
}
|
|
212
|
-
.mfui-snackbar__close-button:active {
|
|
212
|
+
.mfui-v6-snackbar__close-button:active {
|
|
213
213
|
background-color: #99999966;
|
|
214
214
|
}
|
|
215
|
-
.mfui-snackbar__close-button-icon {
|
|
215
|
+
.mfui-v6-snackbar__close-button-icon {
|
|
216
216
|
width: 40px;
|
|
217
217
|
min-width: 40px;
|
|
218
218
|
height: 40px;
|
|
@@ -100,7 +100,7 @@ var DEFAULT_SNACKBARS = (_DEFAULT_SNACKBARS = {}, _defineProperty(_DEFAULT_SNACK
|
|
|
100
100
|
desktopIcon: /*#__PURE__*/React.createElement(HeartIcon24, null),
|
|
101
101
|
buttonText: 'Хорошо'
|
|
102
102
|
}), _DEFAULT_SNACKBARS);
|
|
103
|
-
var cn = cnCreate('mfui-snackbar');
|
|
103
|
+
var cn = cnCreate('mfui-v6-snackbar');
|
|
104
104
|
|
|
105
105
|
var Snackbar = function Snackbar(_ref) {
|
|
106
106
|
var text = _ref.text,
|
|
@@ -5,7 +5,7 @@ h4,
|
|
|
5
5
|
h5 {
|
|
6
6
|
margin: 0;
|
|
7
7
|
}
|
|
8
|
-
.mfui-snackbar-timer {
|
|
8
|
+
.mfui-v6-snackbar-timer {
|
|
9
9
|
color: var(--base);
|
|
10
10
|
margin-right: 8px;
|
|
11
11
|
}
|
|
@@ -25,7 +25,7 @@ h5 {
|
|
|
25
25
|
stroke-dashoffset: 0;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.mfui-snackbar-timer__timer {
|
|
28
|
+
.mfui-v6-snackbar-timer__timer {
|
|
29
29
|
position: relative;
|
|
30
30
|
display: -webkit-box;
|
|
31
31
|
display: -ms-flexbox;
|
|
@@ -39,17 +39,17 @@ h5 {
|
|
|
39
39
|
width: 24px;
|
|
40
40
|
height: 24px;
|
|
41
41
|
}
|
|
42
|
-
.mfui-snackbar-timer__timer svg {
|
|
42
|
+
.mfui-v6-snackbar-timer__timer svg {
|
|
43
43
|
position: absolute;
|
|
44
44
|
width: 24px;
|
|
45
45
|
height: 24px;
|
|
46
46
|
}
|
|
47
|
-
.mfui-snackbar-timer__timer-bg {
|
|
47
|
+
.mfui-v6-snackbar-timer__timer-bg {
|
|
48
48
|
fill: none;
|
|
49
49
|
stroke-width: 1px;
|
|
50
50
|
stroke: var(--spbSky0);
|
|
51
51
|
}
|
|
52
|
-
.mfui-snackbar-timer__timer-progress {
|
|
52
|
+
.mfui-v6-snackbar-timer__timer-progress {
|
|
53
53
|
fill: none;
|
|
54
54
|
stroke-width: 2px;
|
|
55
55
|
stroke-linecap: round;
|
|
@@ -6,7 +6,7 @@ import Caption from "../../Caption/Caption";
|
|
|
6
6
|
import "./SnackbarTimer.css";
|
|
7
7
|
var TIMER_END_DELAY_MS = 100;
|
|
8
8
|
var MS_IN_SECOND = 1000;
|
|
9
|
-
var cn = cnCreate('mfui-snackbar-timer');
|
|
9
|
+
var cn = cnCreate('mfui-v6-snackbar-timer');
|
|
10
10
|
|
|
11
11
|
var SnackbarTimer = function SnackbarTimer(_ref) {
|
|
12
12
|
var isTimerType = _ref.isTimerType,
|