@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
|
@@ -50,7 +50,7 @@ var getLoaderSize = function getLoaderSize(size) {
|
|
|
50
50
|
return size === ButtonSizes.SMALL || size === ButtonSizes.EXTRA_SMALL ? ButtonSizes.SMALL : ButtonSizes.MEDIUM;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
var cn = cnCreate('mfui-button');
|
|
53
|
+
var cn = cnCreate('mfui-v6-button');
|
|
54
54
|
|
|
55
55
|
var Button = function Button(_ref) {
|
|
56
56
|
var _ref$classes = _ref.classes;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.mfui-calendar {
|
|
1
|
+
.mfui-v6-calendar {
|
|
2
2
|
display: -webkit-inline-box;
|
|
3
3
|
display: -ms-inline-flexbox;
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
}
|
|
6
|
-
.mfui-calendar_modern {
|
|
6
|
+
.mfui-v6-calendar_modern {
|
|
7
7
|
display: block;
|
|
8
8
|
width: 364px;
|
|
9
9
|
height: 304px;
|
|
10
10
|
overflow-x: hidden;
|
|
11
11
|
overflow-y: scroll;
|
|
12
12
|
}
|
|
13
|
-
.mfui-calendar_modern::-webkit-scrollbar {
|
|
13
|
+
.mfui-v6-calendar_modern::-webkit-scrollbar {
|
|
14
14
|
width: 16px;
|
|
15
15
|
}
|
|
16
|
-
.mfui-calendar_modern::-webkit-scrollbar-thumb {
|
|
16
|
+
.mfui-v6-calendar_modern::-webkit-scrollbar-thumb {
|
|
17
17
|
border: 6px solid transparent;
|
|
18
18
|
border-radius: 16px;
|
|
19
19
|
background-color: #D8D8D8;
|
|
20
20
|
background-clip: padding-box;
|
|
21
21
|
}
|
|
22
|
-
.mfui-calendar_modern::-webkit-scrollbar-thumb:hover {
|
|
22
|
+
.mfui-v6-calendar_modern::-webkit-scrollbar-thumb:hover {
|
|
23
23
|
background-color: #999999;
|
|
24
24
|
}
|
|
@@ -120,7 +120,7 @@ var generateMonthsData = function generateMonthsData(pastMonthsCount, futureMont
|
|
|
120
120
|
*/
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
var cn = cnCreate('mfui-calendar');
|
|
123
|
+
var cn = cnCreate('mfui-v6-calendar');
|
|
124
124
|
|
|
125
125
|
var Calendar = function Calendar(_ref) {
|
|
126
126
|
var dataAttrs = _ref.dataAttrs,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-day {
|
|
1
|
+
.mfui-v6-day {
|
|
2
2
|
position: relative;
|
|
3
3
|
-webkit-box-sizing: content-box;
|
|
4
4
|
box-sizing: content-box;
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
font-size: 12px;
|
|
24
24
|
line-height: 18px;
|
|
25
25
|
}
|
|
26
|
-
.mfui-day:last-child {
|
|
26
|
+
.mfui-v6-day:last-child {
|
|
27
27
|
padding-right: 0;
|
|
28
28
|
}
|
|
29
|
-
.mfui-day:not(:disabled):not(.mfui-day_active):hover:after,
|
|
30
|
-
.mfui-day:not(:disabled):not(.mfui-day_active):focus:after,
|
|
31
|
-
.mfui-day_active:after,
|
|
32
|
-
.mfui-day_active-modern:after {
|
|
29
|
+
.mfui-v6-day:not(:disabled):not(.mfui-v6-day_active):hover:after,
|
|
30
|
+
.mfui-v6-day:not(:disabled):not(.mfui-v6-day_active):focus:after,
|
|
31
|
+
.mfui-v6-day_active:after,
|
|
32
|
+
.mfui-v6-day_active-modern:after {
|
|
33
33
|
content: '';
|
|
34
34
|
position: absolute;
|
|
35
35
|
top: 0;
|
|
@@ -41,34 +41,34 @@
|
|
|
41
41
|
color: var(--content);
|
|
42
42
|
background-color: var(--spbSky0);
|
|
43
43
|
}
|
|
44
|
-
.mfui-day_active-modern:after {
|
|
44
|
+
.mfui-v6-day_active-modern:after {
|
|
45
45
|
width: 38px;
|
|
46
46
|
height: 38px;
|
|
47
47
|
}
|
|
48
|
-
.mfui-day_active-modern:hover:after {
|
|
48
|
+
.mfui-v6-day_active-modern:hover:after {
|
|
49
49
|
background-color: var(--brandGreen) !important;
|
|
50
50
|
}
|
|
51
|
-
.mfui-day:not(:disabled):not(.mfui-day_active):hover:after {
|
|
51
|
+
.mfui-v6-day:not(:disabled):not(.mfui-v6-day_active):hover:after {
|
|
52
52
|
color: var(--content);
|
|
53
53
|
background-color: var(--spbSky0);
|
|
54
54
|
}
|
|
55
|
-
.mfui-day:not(:disabled):not(.mfui-day_active):focus:after,
|
|
56
|
-
.mfui-day_active:after,
|
|
57
|
-
.mfui-day_active-modern:after {
|
|
55
|
+
.mfui-v6-day:not(:disabled):not(.mfui-v6-day_active):focus:after,
|
|
56
|
+
.mfui-v6-day_active:after,
|
|
57
|
+
.mfui-v6-day_active-modern:after {
|
|
58
58
|
background-color: var(--brandGreen);
|
|
59
59
|
}
|
|
60
|
-
.mfui-day_disabled {
|
|
60
|
+
.mfui-v6-day_disabled {
|
|
61
61
|
cursor: default;
|
|
62
62
|
opacity: 0.3;
|
|
63
63
|
pointer-events: none;
|
|
64
64
|
}
|
|
65
|
-
.mfui-day_active,
|
|
66
|
-
.mfui-day_active-modern,
|
|
67
|
-
.mfui-day:not(:disabled):not(.mfui-day_active):focus {
|
|
65
|
+
.mfui-v6-day_active,
|
|
66
|
+
.mfui-v6-day_active-modern,
|
|
67
|
+
.mfui-v6-day:not(:disabled):not(.mfui-v6-day_active):focus {
|
|
68
68
|
color: var(--stcWhite);
|
|
69
69
|
}
|
|
70
|
-
.mfui-day_active + .mfui-day_active:before,
|
|
71
|
-
.mfui-day_between:hover + .mfui-day:not(.mfui-day_monday).mfui-day_active:before {
|
|
70
|
+
.mfui-v6-day_active + .mfui-v6-day_active:before,
|
|
71
|
+
.mfui-v6-day_between:hover + .mfui-v6-day:not(.mfui-v6-day_monday).mfui-v6-day_active:before {
|
|
72
72
|
content: '';
|
|
73
73
|
position: absolute;
|
|
74
74
|
top: 0;
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
height: 32px;
|
|
80
80
|
background-color: var(--spbSky1);
|
|
81
81
|
}
|
|
82
|
-
.mfui-day_between {
|
|
82
|
+
.mfui-v6-day_between {
|
|
83
83
|
position: relative;
|
|
84
84
|
border-radius: 0;
|
|
85
85
|
}
|
|
86
|
-
.mfui-day_between:before {
|
|
86
|
+
.mfui-v6-day_between:before {
|
|
87
87
|
content: '';
|
|
88
88
|
position: absolute;
|
|
89
89
|
top: 0;
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
padding: 0 20px;
|
|
95
95
|
background-color: var(--spbSky1);
|
|
96
96
|
}
|
|
97
|
-
.mfui-day_between:after {
|
|
97
|
+
.mfui-v6-day_between:after {
|
|
98
98
|
content: '';
|
|
99
99
|
position: absolute;
|
|
100
100
|
top: 0;
|
|
@@ -105,44 +105,44 @@
|
|
|
105
105
|
height: 32px;
|
|
106
106
|
background-color: var(--spbSky1);
|
|
107
107
|
}
|
|
108
|
-
.mfui-day_sunday,
|
|
109
|
-
.mfui-day_last {
|
|
108
|
+
.mfui-v6-day_sunday,
|
|
109
|
+
.mfui-v6-day_last {
|
|
110
110
|
border-radius: 50%;
|
|
111
111
|
}
|
|
112
|
-
.mfui-day_sunday:after,
|
|
113
|
-
.mfui-day_last:after {
|
|
112
|
+
.mfui-v6-day_sunday:after,
|
|
113
|
+
.mfui-v6-day_last:after {
|
|
114
114
|
right: 10px;
|
|
115
115
|
width: 32px;
|
|
116
116
|
border-radius: 50%;
|
|
117
117
|
}
|
|
118
|
-
.mfui-day_last:after {
|
|
118
|
+
.mfui-v6-day_last:after {
|
|
119
119
|
right: 0;
|
|
120
120
|
}
|
|
121
|
-
.mfui-day_monday,
|
|
122
|
-
.mfui-day_first {
|
|
121
|
+
.mfui-v6-day_monday,
|
|
122
|
+
.mfui-v6-day_first {
|
|
123
123
|
border-radius: 50%;
|
|
124
124
|
}
|
|
125
|
-
.mfui-day_monday:before,
|
|
126
|
-
.mfui-day_first:before {
|
|
125
|
+
.mfui-v6-day_monday:before,
|
|
126
|
+
.mfui-v6-day_first:before {
|
|
127
127
|
left: 0;
|
|
128
128
|
width: 32px;
|
|
129
129
|
padding: 0;
|
|
130
130
|
border-radius: 50%;
|
|
131
131
|
}
|
|
132
|
-
.mfui-day_sunday.mfui-day_first {
|
|
132
|
+
.mfui-v6-day_sunday.mfui-v6-day_first {
|
|
133
133
|
border-radius: 50%;
|
|
134
134
|
}
|
|
135
|
-
.mfui-day__label {
|
|
135
|
+
.mfui-v6-day__label {
|
|
136
136
|
position: relative;
|
|
137
137
|
z-index: 99;
|
|
138
138
|
}
|
|
139
|
-
.mfui-day_modern {
|
|
139
|
+
.mfui-v6-day_modern {
|
|
140
140
|
width: 38.29px;
|
|
141
141
|
height: 38px;
|
|
142
142
|
}
|
|
143
|
-
.mfui-day_modern:not(:disabled):not(.mfui-day_modern_active-modern):hover:after,
|
|
144
|
-
.mfui-day_modern:not(:disabled):not(.mfui-day_modern_active-modern):focus:after,
|
|
145
|
-
.mfui-day_modern_active-modern:after {
|
|
143
|
+
.mfui-v6-day_modern:not(:disabled):not(.mfui-v6-day_modern_active-modern):hover:after,
|
|
144
|
+
.mfui-v6-day_modern:not(:disabled):not(.mfui-v6-day_modern_active-modern):focus:after,
|
|
145
|
+
.mfui-v6-day_modern_active-modern:after {
|
|
146
146
|
content: '';
|
|
147
147
|
position: absolute;
|
|
148
148
|
top: 0;
|
|
@@ -154,20 +154,20 @@
|
|
|
154
154
|
color: var(--content);
|
|
155
155
|
background-color: var(--spbSky0);
|
|
156
156
|
}
|
|
157
|
-
.mfui-day_modern:not(:disabled):not(.mfui-day_modern_active-modern):hover:after {
|
|
157
|
+
.mfui-v6-day_modern:not(:disabled):not(.mfui-v6-day_modern_active-modern):hover:after {
|
|
158
158
|
color: var(--content);
|
|
159
159
|
background-color: var(--spbSky0);
|
|
160
160
|
}
|
|
161
|
-
.mfui-day_modern:not(:disabled):not(.mfui-day_modern_active-modern):focus:after,
|
|
162
|
-
.mfui-day_modern_active-modern:after {
|
|
161
|
+
.mfui-v6-day_modern:not(:disabled):not(.mfui-v6-day_modern_active-modern):focus:after,
|
|
162
|
+
.mfui-v6-day_modern_active-modern:after {
|
|
163
163
|
background-color: var(--brandGreen);
|
|
164
164
|
}
|
|
165
|
-
.mfui-day_active-modern,
|
|
166
|
-
.mfui-day:not(:disabled):focus {
|
|
165
|
+
.mfui-v6-day_active-modern,
|
|
166
|
+
.mfui-v6-day:not(:disabled):focus {
|
|
167
167
|
color: var(--stcWhite);
|
|
168
168
|
}
|
|
169
|
-
.mfui-day_active-modern + .mfui-day_active-modern:before,
|
|
170
|
-
.mfui-day_between-modern:hover + .mfui-day:not(.mfui-day_monday-modern).mfui-day_active-modern:before {
|
|
169
|
+
.mfui-v6-day_active-modern + .mfui-v6-day_active-modern:before,
|
|
170
|
+
.mfui-v6-day_between-modern:hover + .mfui-v6-day:not(.mfui-v6-day_monday-modern).mfui-v6-day_active-modern:before {
|
|
171
171
|
content: '';
|
|
172
172
|
position: absolute;
|
|
173
173
|
top: 0;
|
|
@@ -178,11 +178,11 @@
|
|
|
178
178
|
height: 38px;
|
|
179
179
|
background-color: var(--spbSky1);
|
|
180
180
|
}
|
|
181
|
-
.mfui-day_between-modern {
|
|
181
|
+
.mfui-v6-day_between-modern {
|
|
182
182
|
position: relative;
|
|
183
183
|
border-radius: 0;
|
|
184
184
|
}
|
|
185
|
-
.mfui-day_between-modern:before {
|
|
185
|
+
.mfui-v6-day_between-modern:before {
|
|
186
186
|
content: '';
|
|
187
187
|
position: absolute;
|
|
188
188
|
top: 0;
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
padding: 0 29px;
|
|
194
194
|
background-color: var(--spbSky1);
|
|
195
195
|
}
|
|
196
|
-
.mfui-day_between-modern:after {
|
|
196
|
+
.mfui-v6-day_between-modern:after {
|
|
197
197
|
content: '';
|
|
198
198
|
position: absolute;
|
|
199
199
|
top: 0;
|
|
@@ -204,38 +204,38 @@
|
|
|
204
204
|
height: 38px;
|
|
205
205
|
background-color: var(--spbSky1);
|
|
206
206
|
}
|
|
207
|
-
.mfui-day_sunday-modern,
|
|
208
|
-
.mfui-day_last-modern {
|
|
207
|
+
.mfui-v6-day_sunday-modern,
|
|
208
|
+
.mfui-v6-day_last-modern {
|
|
209
209
|
border-radius: 50%;
|
|
210
210
|
}
|
|
211
|
-
.mfui-day_sunday-modern:before,
|
|
212
|
-
.mfui-day_last-modern:before {
|
|
211
|
+
.mfui-v6-day_sunday-modern:before,
|
|
212
|
+
.mfui-v6-day_last-modern:before {
|
|
213
213
|
padding-left: 20px;
|
|
214
214
|
}
|
|
215
|
-
.mfui-day_sunday-modern:after,
|
|
216
|
-
.mfui-day_last-modern:after {
|
|
215
|
+
.mfui-v6-day_sunday-modern:after,
|
|
216
|
+
.mfui-v6-day_last-modern:after {
|
|
217
217
|
right: 10px;
|
|
218
218
|
width: 38.29px;
|
|
219
219
|
border-radius: 50%;
|
|
220
220
|
}
|
|
221
|
-
.mfui-day_last-modern:after {
|
|
221
|
+
.mfui-v6-day_last-modern:after {
|
|
222
222
|
right: 0;
|
|
223
223
|
}
|
|
224
|
-
.mfui-day_monday-modern,
|
|
225
|
-
.mfui-day_first-modern {
|
|
224
|
+
.mfui-v6-day_monday-modern,
|
|
225
|
+
.mfui-v6-day_first-modern {
|
|
226
226
|
border-radius: 50%;
|
|
227
227
|
}
|
|
228
|
-
.mfui-day_monday-modern:before,
|
|
229
|
-
.mfui-day_first-modern:before {
|
|
228
|
+
.mfui-v6-day_monday-modern:before,
|
|
229
|
+
.mfui-v6-day_first-modern:before {
|
|
230
230
|
left: 0;
|
|
231
231
|
width: 38px;
|
|
232
232
|
padding: 0;
|
|
233
233
|
border-radius: 50%;
|
|
234
234
|
}
|
|
235
|
-
.mfui-day_sunday-modern.mfui-day_first-modern {
|
|
235
|
+
.mfui-v6-day_sunday-modern.mfui-v6-day_first-modern {
|
|
236
236
|
border-radius: 50%;
|
|
237
237
|
}
|
|
238
|
-
.mfui-day__label_modern {
|
|
238
|
+
.mfui-v6-day__label_modern {
|
|
239
239
|
font-weight: 400;
|
|
240
240
|
font-size: 15px;
|
|
241
241
|
line-height: 24px;
|
|
@@ -25,7 +25,7 @@ import isMonday from 'date-fns/isMonday';
|
|
|
25
25
|
import isSunday from 'date-fns/isSunday';
|
|
26
26
|
import PropTypes from 'prop-types';
|
|
27
27
|
import "./Day.css";
|
|
28
|
-
var cn = cnCreate('mfui-day');
|
|
28
|
+
var cn = cnCreate('mfui-v6-day');
|
|
29
29
|
|
|
30
30
|
var Day = function Day(_a) {
|
|
31
31
|
var dataAttrs = _a.dataAttrs,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.mfui-month {
|
|
1
|
+
.mfui-v6-month {
|
|
2
2
|
position: relative;
|
|
3
3
|
z-index: 1;
|
|
4
4
|
display: -webkit-box;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
width: 284px;
|
|
15
15
|
padding: 28px 0;
|
|
16
16
|
}
|
|
17
|
-
.mfui-month__header {
|
|
17
|
+
.mfui-v6-month__header {
|
|
18
18
|
display: -webkit-box;
|
|
19
19
|
display: -ms-flexbox;
|
|
20
20
|
display: flex;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
margin-bottom: 20px;
|
|
29
29
|
text-transform: capitalize;
|
|
30
30
|
}
|
|
31
|
-
.mfui-month__header svg {
|
|
31
|
+
.mfui-v6-month__header svg {
|
|
32
32
|
height: 24.5px;
|
|
33
33
|
cursor: pointer;
|
|
34
34
|
-webkit-user-select: none;
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
user-select: none;
|
|
38
38
|
fill: var(--content);
|
|
39
39
|
}
|
|
40
|
-
.mfui-month__title {
|
|
40
|
+
.mfui-v6-month__title {
|
|
41
41
|
font-size: 15px;
|
|
42
42
|
line-height: 24px;
|
|
43
43
|
font-weight: 500;
|
|
44
44
|
width: 224px;
|
|
45
45
|
text-align: center;
|
|
46
46
|
}
|
|
47
|
-
.mfui-month__weekday-labels {
|
|
47
|
+
.mfui-v6-month__weekday-labels {
|
|
48
48
|
display: grid;
|
|
49
49
|
grid-template-columns: repeat(7, 1fr);
|
|
50
50
|
width: 272px;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
-moz-column-gap: 22px;
|
|
55
55
|
column-gap: 22px;
|
|
56
56
|
}
|
|
57
|
-
.mfui-month__weekday {
|
|
57
|
+
.mfui-v6-month__weekday {
|
|
58
58
|
font-size: 12px;
|
|
59
59
|
line-height: 18px;
|
|
60
60
|
width: 20px;
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
text-align: center;
|
|
66
66
|
text-transform: capitalize;
|
|
67
67
|
}
|
|
68
|
-
.mfui-month__days {
|
|
68
|
+
.mfui-v6-month__days {
|
|
69
69
|
display: grid;
|
|
70
70
|
grid-template-columns: repeat(7, 1fr);
|
|
71
71
|
width: 284px;
|
|
@@ -75,15 +75,15 @@
|
|
|
75
75
|
column-gap: 0;
|
|
76
76
|
row-gap: 0;
|
|
77
77
|
}
|
|
78
|
-
svg.mfui-month__arrow_disabled {
|
|
78
|
+
svg.mfui-v6-month__arrow_disabled {
|
|
79
79
|
cursor: default;
|
|
80
80
|
opacity: 0.5;
|
|
81
81
|
}
|
|
82
|
-
.mfui-month_modern {
|
|
82
|
+
.mfui-v6-month_modern {
|
|
83
83
|
width: 344px;
|
|
84
84
|
padding: 0 0 24px;
|
|
85
85
|
}
|
|
86
|
-
.mfui-month_modern .mfui-month__header {
|
|
86
|
+
.mfui-v6-month_modern .mfui-v6-month__header {
|
|
87
87
|
display: -webkit-box;
|
|
88
88
|
display: -ms-flexbox;
|
|
89
89
|
display: flex;
|
|
@@ -94,7 +94,7 @@ svg.mfui-month__arrow_disabled {
|
|
|
94
94
|
margin-bottom: 16px;
|
|
95
95
|
text-transform: capitalize;
|
|
96
96
|
}
|
|
97
|
-
.mfui-month_modern .mfui-month__title {
|
|
97
|
+
.mfui-v6-month_modern .mfui-v6-month__title {
|
|
98
98
|
font-size: 15px;
|
|
99
99
|
line-height: 24px;
|
|
100
100
|
font-weight: 500;
|
|
@@ -102,7 +102,7 @@ svg.mfui-month__arrow_disabled {
|
|
|
102
102
|
margin: 0 auto;
|
|
103
103
|
text-align: center;
|
|
104
104
|
}
|
|
105
|
-
.mfui-month_modern .mfui-month__weekday-labels {
|
|
105
|
+
.mfui-v6-month_modern .mfui-v6-month__weekday-labels {
|
|
106
106
|
display: grid;
|
|
107
107
|
grid-template-columns: repeat(7, 1fr);
|
|
108
108
|
width: 328px;
|
|
@@ -112,7 +112,7 @@ svg.mfui-month__arrow_disabled {
|
|
|
112
112
|
-moz-column-gap: 8px;
|
|
113
113
|
column-gap: 8px;
|
|
114
114
|
}
|
|
115
|
-
.mfui-month_modern .mfui-month__weekday {
|
|
115
|
+
.mfui-v6-month_modern .mfui-v6-month__weekday {
|
|
116
116
|
width: 20px;
|
|
117
117
|
height: 24px;
|
|
118
118
|
margin: 0 auto;
|
|
@@ -123,7 +123,7 @@ svg.mfui-month__arrow_disabled {
|
|
|
123
123
|
text-align: center;
|
|
124
124
|
text-transform: capitalize;
|
|
125
125
|
}
|
|
126
|
-
.mfui-month_modern .mfui-month__days {
|
|
126
|
+
.mfui-v6-month_modern .mfui-v6-month__days {
|
|
127
127
|
display: grid;
|
|
128
128
|
grid-template-columns: repeat(7, 1fr);
|
|
129
129
|
width: 328px;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
.mfui-caption {
|
|
1
|
+
.mfui-v6-caption {
|
|
2
2
|
font-family: inherit;
|
|
3
3
|
font-size: 12px;
|
|
4
4
|
line-height: 18px;
|
|
5
5
|
margin: 0;
|
|
6
6
|
}
|
|
7
|
-
.mfui-caption_variant_normal {
|
|
7
|
+
.mfui-v6-caption_variant_normal {
|
|
8
8
|
font-weight: 400;
|
|
9
9
|
}
|
|
10
|
-
.mfui-caption_variant_medium {
|
|
10
|
+
.mfui-v6-caption_variant_medium {
|
|
11
11
|
font-weight: 500;
|
|
12
12
|
}
|
|
13
|
-
.mfui-caption_space_wide {
|
|
13
|
+
.mfui-v6-caption_space_wide {
|
|
14
14
|
line-height: 18px;
|
|
15
15
|
}
|
|
16
|
-
.mfui-caption_space_tight {
|
|
16
|
+
.mfui-v6-caption_space_tight {
|
|
17
17
|
line-height: 14px;
|
|
18
18
|
}
|
|
19
|
-
.mfui-caption_align_left {
|
|
19
|
+
.mfui-v6-caption_align_left {
|
|
20
20
|
text-align: left;
|
|
21
21
|
}
|
|
22
|
-
.mfui-caption_align_center {
|
|
22
|
+
.mfui-v6-caption_align_center {
|
|
23
23
|
text-align: center;
|
|
24
24
|
}
|
|
25
|
-
.mfui-caption_align_right {
|
|
25
|
+
.mfui-v6-caption_align_right {
|
|
26
26
|
text-align: right;
|
|
27
27
|
}
|
|
28
|
-
.mfui-caption_has-margin {
|
|
28
|
+
.mfui-v6-caption_has-margin {
|
|
29
29
|
margin: 0 0 16px;
|
|
30
30
|
}
|
|
31
|
-
.mfui-caption_color_inherit {
|
|
31
|
+
.mfui-v6-caption_color_inherit {
|
|
32
32
|
color: inherit;
|
|
33
33
|
}
|
|
34
|
-
.mfui-caption_color_default {
|
|
34
|
+
.mfui-v6-caption_color_default {
|
|
35
35
|
color: var(--content);
|
|
36
36
|
}
|
|
37
|
-
.mfui-caption_color_gray {
|
|
37
|
+
.mfui-v6-caption_color_gray {
|
|
38
38
|
color: var(--spbSky3);
|
|
39
39
|
}
|
|
40
|
-
.mfui-caption_color_white {
|
|
40
|
+
.mfui-v6-caption_color_white {
|
|
41
41
|
color: var(--stcWhite);
|
|
42
42
|
}
|
|
43
|
-
.mfui-caption_color_green {
|
|
43
|
+
.mfui-v6-caption_color_green {
|
|
44
44
|
color: var(--brandGreen);
|
|
45
45
|
}
|
|
46
|
-
.mfui-caption_color_purple {
|
|
46
|
+
.mfui-v6-caption_color_purple {
|
|
47
47
|
color: var(--brandPurple);
|
|
48
48
|
}
|