@megafon/ui-core 5.18.1 → 6.0.0-beta.2
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/dist/es/colors/ColorItem/ColorItem.css +1 -45
- package/dist/es/colors/ColorItem/ColorItem.d.ts +2 -2
- package/dist/es/colors/ColorItem/ColorItem.js +5 -7
- package/dist/es/colors/Colors.css +1 -233
- package/dist/es/colors/Colors.d.ts +1 -1
- package/dist/es/colors/Colors.js +33 -55
- package/dist/es/colors/colorsData.d.ts +4 -4
- package/dist/es/components/Accordion/Accordion.css +1 -89
- package/dist/es/components/Accordion/Accordion.d.ts +2 -1
- package/dist/es/components/Accordion/Accordion.js +22 -65
- package/dist/es/components/Avatar/Avatar.css +1 -52
- package/dist/es/components/Avatar/Avatar.d.ts +1 -1
- package/dist/es/components/Avatar/Avatar.js +9 -27
- package/dist/{lib/components/Badges/components → es/components/Badges}/CounterBadge/CounterBadge.d.ts +2 -2
- package/dist/es/components/Badges/{components/CounterBadge → CounterBadge}/CounterBadge.js +10 -28
- package/dist/{lib/components/Badges/components → es/components/Badges}/NotificationBadge/NotificationBadge.d.ts +3 -3
- package/dist/es/components/Badges/{components/NotificationBadge → NotificationBadge}/NotificationBadge.js +8 -22
- package/dist/es/components/Badges/{components/PriceBadge → PriceBadge}/PriceBadge.d.ts +4 -4
- package/dist/es/components/Badges/{components/PriceBadge → PriceBadge}/PriceBadge.js +11 -54
- package/dist/es/components/Badges/{components/PromoBadge → PromoBadge}/PromoBadge.d.ts +3 -3
- package/dist/es/components/Badges/{components/PromoBadge → PromoBadge}/PromoBadge.js +7 -21
- package/dist/es/components/Badges/{components/TimerBadge → TimerBadge}/TimerBadge.d.ts +2 -2
- package/dist/es/components/Badges/{components/TimerBadge → TimerBadge}/TimerBadge.js +22 -45
- package/dist/es/components/Badges/{components/TimerBadge → TimerBadge/components}/Timer/Timer.js +5 -32
- package/dist/es/components/Banner/Banner.d.ts +5 -4
- package/dist/es/components/Banner/Banner.js +62 -127
- package/dist/es/components/Banner/BannerDot.d.ts +1 -1
- package/dist/es/components/Banner/BannerDot.js +6 -22
- package/dist/es/components/Banner/slidesSettings.d.ts +4 -2
- package/dist/es/components/Banner/slidesSettings.js +3 -6
- package/dist/es/components/Button/Button.d.ts +7 -6
- package/dist/es/components/Button/Button.js +44 -104
- package/dist/es/components/Calendar/Calendar.d.ts +2 -2
- package/dist/es/components/Calendar/Calendar.js +60 -114
- package/dist/{lib/components/Calendar/components/Day → es/components/Calendar/components/_Day}/Day.d.ts +4 -4
- package/dist/es/components/Calendar/components/{Day → _Day}/Day.js +19 -50
- package/dist/es/components/Calendar/components/{Month → _Month}/Month.d.ts +3 -2
- package/dist/es/components/Calendar/components/{Month → _Month}/Month.js +9 -33
- package/dist/es/components/Caption/Caption.d.ts +4 -2
- package/dist/es/components/Caption/Caption.js +11 -25
- package/dist/es/components/Carousel/Carousel.d.ts +11 -10
- package/dist/es/components/Carousel/Carousel.js +104 -161
- package/dist/es/components/Carousel/checkBreakpointsPropTypes.d.ts +1 -1
- package/dist/es/components/Carousel/checkBreakpointsPropTypes.js +1 -4
- package/dist/es/components/Carousel/useGradient.d.ts +1 -1
- package/dist/es/components/Carousel/useGradient.js +9 -13
- package/dist/es/components/Checkbox/Checkbox.d.ts +4 -4
- package/dist/es/components/Checkbox/Checkbox.js +21 -50
- package/dist/es/components/Chips/Chip.d.ts +6 -26
- package/dist/es/components/Chips/Chip.js +17 -42
- package/dist/es/components/Chips/Chips.d.ts +2 -2
- package/dist/es/components/Chips/Chips.js +32 -56
- package/dist/es/components/Chips/components/ChipsDropdown.d.ts +2 -2
- package/dist/es/components/Chips/components/ChipsDropdown.js +12 -27
- package/dist/es/components/ContentArea/ContentArea.d.ts +5 -4
- package/dist/es/components/ContentArea/ContentArea.js +9 -28
- package/dist/es/components/ContentView/ContentView.d.ts +3 -2
- package/dist/es/components/ContentView/ContentView.js +12 -46
- package/dist/es/components/Counter/Counter.d.ts +1 -1
- package/dist/es/components/Counter/Counter.js +20 -55
- package/dist/es/components/Grid/Grid.d.ts +1 -1
- package/dist/es/components/Grid/Grid.js +8 -24
- package/dist/es/components/Grid/GridColumn.d.ts +2 -2
- package/dist/es/components/Grid/GridColumn.js +33 -62
- package/dist/es/components/Header/Header.d.ts +3 -1
- package/dist/es/components/Header/Header.js +13 -28
- package/dist/es/components/Link/Link.d.ts +2 -2
- package/dist/es/components/Link/Link.js +9 -25
- package/dist/es/components/List/List.d.ts +2 -1
- package/dist/es/components/List/List.js +8 -18
- package/dist/es/components/List/ListItem.d.ts +2 -1
- package/dist/es/components/List/ListItem.js +1 -7
- package/dist/es/components/ListData/ListData.d.ts +6 -34
- package/dist/es/components/ListData/ListData.js +22 -65
- package/dist/es/components/ListData/ListDataGroup.d.ts +4 -4
- package/dist/es/components/ListData/ListDataGroup.js +29 -74
- package/dist/es/components/ListData/components/ListDataSortable.d.ts +4 -4
- package/dist/es/components/ListData/components/ListDataSortable.js +21 -42
- package/dist/es/components/ListData/helpers.js +1 -8
- package/dist/es/components/Logo/Logo.d.ts +1 -1
- package/dist/es/components/Logo/Logo.js +9 -25
- package/dist/es/components/Modal/Modal.d.ts +104 -0
- package/dist/es/components/Modal/Modal.js +289 -0
- package/dist/es/components/Modal/_ModalContent/ModalContent.d.ts +8 -0
- package/dist/es/components/Modal/_ModalContent/ModalContent.js +166 -0
- package/dist/es/components/Modal/_ModalDesktop/ModalDesktop.d.ts +8 -0
- package/dist/es/components/Modal/_ModalDesktop/ModalDesktop.js +32 -0
- package/dist/es/components/Modal/_ModalMobileBottom/ModalMobileBottom.d.ts +12 -0
- package/dist/es/components/Modal/_ModalMobileBottom/ModalMobileBottom.js +114 -0
- package/dist/es/components/Modal/_ModalMobileFullScreen/ModalMobileFullScreen.d.ts +8 -0
- package/dist/es/components/Modal/_ModalMobileFullScreen/ModalMobileFullScreen.js +58 -0
- package/dist/es/components/Modal/mocks.d.ts +3 -0
- package/dist/es/components/Modal/mocks.js +75 -0
- package/dist/es/components/Modal/types.d.ts +28 -0
- package/dist/es/components/Modal/types.js +1 -0
- package/dist/es/components/Modal/utils/utils.d.ts +18 -0
- package/dist/es/components/Modal/utils/utils.js +66 -0
- package/dist/es/components/NavArrow/NavArrow.d.ts +3 -3
- package/dist/es/components/NavArrow/NavArrow.js +8 -28
- package/dist/es/components/Notification/Notification.d.ts +5 -4
- package/dist/es/components/Notification/Notification.js +61 -131
- package/dist/es/components/Pagination/Pagination.d.ts +4 -3
- package/dist/es/components/Pagination/Pagination.js +7 -22
- package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.d.ts +5 -4
- package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.js +10 -26
- package/dist/es/components/Pagination/components/PaginationButtons/PaginationButtons.d.ts +3 -2
- package/dist/es/components/Pagination/components/PaginationButtons/PaginationButtons.js +5 -22
- package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.d.ts +3 -2
- package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.js +7 -23
- package/dist/es/components/Pagination/helpers.js +0 -3
- package/dist/es/components/Pagination/usePagination.d.ts +2 -1
- package/dist/es/components/Pagination/usePagination.js +6 -18
- package/dist/es/components/Paragraph/Paragraph.d.ts +4 -2
- package/dist/es/components/Paragraph/Paragraph.js +9 -22
- package/dist/es/components/Preloader/Preloader.d.ts +3 -3
- package/dist/es/components/Preloader/Preloader.js +16 -36
- package/dist/es/components/RadioButton/RadioButton.d.ts +1 -1
- package/dist/es/components/RadioButton/RadioButton.js +18 -50
- package/dist/es/components/Row/Row.d.ts +2 -2
- package/dist/es/components/Row/Row.js +23 -48
- package/dist/es/components/ScrollBar/ScrollBar.d.ts +34 -0
- package/dist/es/components/ScrollBar/ScrollBar.js +86 -0
- package/dist/es/components/Search/Search.d.ts +7 -8
- package/dist/es/components/Search/Search.js +54 -149
- package/dist/es/components/Select/Select.d.ts +8 -84
- package/dist/es/components/Select/Select.js +52 -142
- package/dist/es/components/Select/reducer/selectReducer.d.ts +1 -1
- package/dist/es/components/Select/reducer/selectReducer.js +18 -32
- package/dist/es/components/Selector/Selector.d.ts +1 -1
- package/dist/es/components/Selector/Selector.js +23 -50
- package/dist/es/components/Sliders/Slider/Slider.d.ts +1 -1
- package/dist/es/components/Sliders/Slider/Slider.js +25 -56
- package/dist/es/components/Sliders/SliderRange/SliderRange.d.ts +1 -1
- package/dist/es/components/Sliders/SliderRange/SliderRange.js +33 -80
- package/dist/es/components/Sliders/SliderRange/helpers.js +0 -2
- package/dist/es/components/Sliders/SliderRatio/SliderRatio.d.ts +1 -1
- package/dist/es/components/Sliders/SliderRatio/SliderRatio.js +36 -85
- package/dist/es/components/Sliders/SliderRatio/helpers.js +1 -1
- package/dist/es/components/Sliders/SliderRatio/types.d.ts +1 -1
- package/dist/es/components/Sliders/SliderRatio/types.js +0 -1
- package/dist/es/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.d.ts +2 -2
- package/dist/es/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.js +11 -35
- package/dist/es/components/Sliders/components/SliderScale/SliderScale.d.ts +2 -2
- package/dist/es/components/Sliders/components/SliderScale/SliderScale.js +6 -20
- package/dist/es/components/Sliders/components/SliderScale/helpers.js +12 -16
- package/dist/es/components/Sliders/helpers.js +1 -5
- package/dist/es/components/Snackbar/Snackbar.d.ts +3 -3
- package/dist/es/components/Snackbar/Snackbar.js +44 -82
- package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.d.ts +3 -3
- package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.js +9 -17
- package/dist/es/components/Switcher/Switcher.d.ts +2 -1
- package/dist/es/components/Switcher/Switcher.js +17 -39
- package/dist/es/components/Tabs/Tab.js +0 -14
- package/dist/es/components/Tabs/Tabs.d.ts +6 -5
- package/dist/es/components/Tabs/Tabs.js +85 -158
- package/dist/es/components/TextField/TextField.d.ts +3 -3
- package/dist/es/components/TextField/TextField.js +80 -188
- package/dist/es/components/TextField/utils/countGraphemes.js +10 -18
- package/dist/es/components/TextLink/TextLink.d.ts +2 -2
- package/dist/es/components/TextLink/TextLink.js +14 -27
- package/dist/es/components/Tile/Tile.d.ts +7 -5
- package/dist/es/components/Tile/Tile.js +16 -36
- package/dist/es/components/Tooltip/Tooltip.d.ts +9 -8
- package/dist/es/components/Tooltip/Tooltip.js +58 -139
- package/dist/{lib/components/Collapse → es/components/_Collapse}/Collapse.d.ts +3 -3
- package/dist/es/components/{Collapse → _Collapse}/Collapse.js +25 -62
- package/dist/es/hooks/usePrevious.js +0 -2
- package/dist/es/hooks/useResolution.d.ts +1 -1
- package/dist/es/hooks/useResolution.js +4 -10
- package/dist/es/hooks/useSwipe.d.ts +1 -1
- package/dist/es/hooks/useSwipe.js +17 -44
- package/dist/es/index.d.ts +16 -9
- package/dist/es/index.js +17 -10
- package/dist/es/styles/base.css +1 -0
- package/dist/lib/colors/ColorItem/ColorItem.css +1 -45
- package/dist/lib/colors/ColorItem/ColorItem.d.ts +2 -2
- package/dist/lib/colors/ColorItem/ColorItem.js +9 -18
- package/dist/lib/colors/Colors.css +1 -233
- package/dist/lib/colors/Colors.d.ts +1 -1
- package/dist/lib/colors/Colors.js +37 -79
- package/dist/lib/colors/colorsData.d.ts +4 -4
- package/dist/lib/colors/colorsData.js +1 -2
- package/dist/lib/components/Accordion/Accordion.css +1 -89
- package/dist/lib/components/Accordion/Accordion.d.ts +2 -1
- package/dist/lib/components/Accordion/Accordion.js +26 -81
- package/dist/lib/components/Avatar/Avatar.css +1 -52
- package/dist/lib/components/Avatar/Avatar.d.ts +1 -1
- package/dist/lib/components/Avatar/Avatar.js +13 -41
- package/dist/{es/components/Badges/components → lib/components/Badges}/CounterBadge/CounterBadge.d.ts +2 -2
- package/dist/lib/components/Badges/CounterBadge/CounterBadge.js +52 -0
- package/dist/{es/components/Badges/components → lib/components/Badges}/NotificationBadge/NotificationBadge.d.ts +3 -3
- package/dist/lib/components/Badges/NotificationBadge/NotificationBadge.js +43 -0
- package/dist/lib/components/Badges/{components/PriceBadge → PriceBadge}/PriceBadge.d.ts +4 -4
- package/dist/lib/components/Badges/{components/PriceBadge → PriceBadge}/PriceBadge.js +19 -75
- package/dist/lib/components/Badges/{components/PromoBadge → PromoBadge}/PromoBadge.d.ts +3 -3
- package/dist/lib/components/Badges/PromoBadge/PromoBadge.js +49 -0
- package/dist/lib/components/Badges/{components/TimerBadge → TimerBadge}/TimerBadge.d.ts +2 -2
- package/dist/lib/components/Badges/TimerBadge/TimerBadge.js +97 -0
- package/dist/lib/components/Badges/{components/TimerBadge → TimerBadge/components}/Timer/Timer.js +11 -55
- package/dist/lib/components/Banner/Banner.d.ts +5 -4
- package/dist/lib/components/Banner/Banner.js +70 -158
- package/dist/lib/components/Banner/BannerDot.d.ts +1 -1
- package/dist/lib/components/Banner/BannerDot.js +10 -36
- package/dist/lib/components/Banner/slidesSettings.d.ts +4 -2
- package/dist/lib/components/Banner/slidesSettings.js +4 -11
- package/dist/lib/components/Button/Button.d.ts +7 -6
- package/dist/lib/components/Button/Button.js +70 -157
- package/dist/lib/components/Calendar/Calendar.d.ts +2 -2
- package/dist/lib/components/Calendar/Calendar.js +70 -148
- package/dist/{es/components/Calendar/components/Day → lib/components/Calendar/components/_Day}/Day.d.ts +4 -4
- package/dist/lib/components/Calendar/components/_Day/Day.js +75 -0
- package/dist/lib/components/Calendar/components/{Month → _Month}/Month.d.ts +3 -2
- package/dist/lib/components/Calendar/components/_Month/Month.js +93 -0
- package/dist/lib/components/Caption/Caption.d.ts +4 -2
- package/dist/lib/components/Caption/Caption.js +15 -40
- package/dist/lib/components/Carousel/Carousel.d.ts +11 -10
- package/dist/lib/components/Carousel/Carousel.js +195 -226
- package/dist/lib/components/Carousel/checkBreakpointsPropTypes.d.ts +1 -1
- package/dist/lib/components/Carousel/checkBreakpointsPropTypes.js +5 -17
- package/dist/lib/components/Carousel/useGradient.d.ts +1 -1
- package/dist/lib/components/Carousel/useGradient.js +11 -24
- package/dist/lib/components/Checkbox/Checkbox.d.ts +4 -4
- package/dist/lib/components/Checkbox/Checkbox.js +34 -74
- package/dist/lib/components/Chips/Chip.d.ts +6 -26
- package/dist/lib/components/Chips/Chip.js +35 -75
- package/dist/lib/components/Chips/Chips.d.ts +2 -2
- package/dist/lib/components/Chips/Chips.js +46 -91
- package/dist/lib/components/Chips/components/ChipsDropdown.d.ts +2 -2
- package/dist/lib/components/Chips/components/ChipsDropdown.js +30 -66
- package/dist/lib/components/ContentArea/ContentArea.d.ts +5 -4
- package/dist/lib/components/ContentArea/ContentArea.js +13 -43
- package/dist/lib/components/ContentView/ContentView.d.ts +3 -2
- package/dist/lib/components/ContentView/ContentView.js +16 -62
- package/dist/lib/components/Counter/Counter.d.ts +1 -1
- package/dist/lib/components/Counter/Counter.js +24 -70
- package/dist/lib/components/Grid/Grid.d.ts +1 -1
- package/dist/lib/components/Grid/Grid.js +12 -39
- package/dist/lib/components/Grid/GridColumn.d.ts +2 -2
- package/dist/lib/components/Grid/GridColumn.js +37 -76
- package/dist/lib/components/Header/Header.d.ts +3 -1
- package/dist/lib/components/Header/Header.js +17 -42
- package/dist/lib/components/Link/Link.d.ts +2 -2
- package/dist/lib/components/Link/Link.js +14 -33
- package/dist/lib/components/List/List.d.ts +2 -1
- package/dist/lib/components/List/List.js +12 -30
- package/dist/lib/components/List/ListItem.d.ts +2 -1
- package/dist/lib/components/List/ListItem.js +5 -19
- package/dist/lib/components/ListData/ListData.d.ts +6 -34
- package/dist/lib/components/ListData/ListData.js +50 -110
- package/dist/lib/components/ListData/ListDataGroup.d.ts +4 -4
- package/dist/lib/components/ListData/ListDataGroup.js +47 -117
- package/dist/lib/components/ListData/components/ListDataSortable.d.ts +4 -4
- package/dist/lib/components/ListData/components/ListDataSortable.js +34 -73
- package/dist/lib/components/ListData/helpers.js +6 -24
- package/dist/lib/components/Logo/Logo.d.ts +1 -1
- package/dist/lib/components/Logo/Logo.js +13 -40
- package/dist/lib/components/Modal/Modal.d.ts +104 -0
- package/dist/lib/components/Modal/Modal.js +298 -0
- package/dist/lib/components/Modal/_ModalContent/ModalContent.d.ts +8 -0
- package/dist/lib/components/Modal/_ModalContent/ModalContent.js +175 -0
- package/dist/lib/components/Modal/_ModalDesktop/ModalDesktop.d.ts +8 -0
- package/dist/lib/components/Modal/_ModalDesktop/ModalDesktop.js +41 -0
- package/dist/lib/components/Modal/_ModalMobileBottom/ModalMobileBottom.d.ts +12 -0
- package/dist/lib/components/Modal/_ModalMobileBottom/ModalMobileBottom.js +123 -0
- package/dist/lib/components/Modal/_ModalMobileFullScreen/ModalMobileFullScreen.d.ts +8 -0
- package/dist/lib/components/Modal/_ModalMobileFullScreen/ModalMobileFullScreen.js +67 -0
- package/dist/lib/components/Modal/mocks.d.ts +3 -0
- package/dist/lib/components/Modal/mocks.js +81 -0
- package/dist/lib/components/Modal/types.d.ts +28 -0
- package/dist/lib/components/Modal/types.js +5 -0
- package/dist/lib/components/Modal/utils/utils.d.ts +18 -0
- package/dist/lib/components/Modal/utils/utils.js +72 -0
- package/dist/lib/components/NavArrow/NavArrow.d.ts +3 -3
- package/dist/lib/components/NavArrow/NavArrow.js +14 -46
- package/dist/lib/components/Notification/Notification.d.ts +5 -4
- package/dist/lib/components/Notification/Notification.js +113 -200
- package/dist/lib/components/Pagination/Pagination.d.ts +4 -3
- package/dist/lib/components/Pagination/Pagination.js +18 -50
- package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.d.ts +5 -4
- package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.js +11 -34
- package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.d.ts +3 -2
- package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.js +6 -31
- package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.d.ts +3 -2
- package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.js +8 -31
- package/dist/lib/components/Pagination/helpers.js +1 -6
- package/dist/lib/components/Pagination/usePagination.d.ts +2 -1
- package/dist/lib/components/Pagination/usePagination.js +9 -35
- package/dist/lib/components/Paragraph/Paragraph.d.ts +4 -2
- package/dist/lib/components/Paragraph/Paragraph.js +13 -37
- package/dist/lib/components/Preloader/Preloader.d.ts +3 -3
- package/dist/lib/components/Preloader/Preloader.js +22 -57
- package/dist/lib/components/RadioButton/RadioButton.d.ts +1 -1
- package/dist/lib/components/RadioButton/RadioButton.js +22 -69
- package/dist/lib/components/Row/Row.d.ts +2 -2
- package/dist/lib/components/Row/Row.js +39 -75
- package/dist/lib/components/ScrollBar/ScrollBar.d.ts +34 -0
- package/dist/lib/components/ScrollBar/ScrollBar.js +94 -0
- package/dist/lib/components/Search/Search.d.ts +7 -8
- package/dist/lib/components/Search/Search.js +121 -261
- package/dist/lib/components/Select/Select.d.ts +8 -84
- package/dist/lib/components/Select/Select.js +69 -186
- package/dist/lib/components/Select/reducer/selectReducer.d.ts +1 -1
- package/dist/lib/components/Select/reducer/selectReducer.js +21 -41
- package/dist/lib/components/Selector/Selector.d.ts +1 -1
- package/dist/lib/components/Selector/Selector.js +27 -70
- package/dist/lib/components/Sliders/Slider/Slider.d.ts +1 -1
- package/dist/lib/components/Sliders/Slider/Slider.js +29 -75
- package/dist/lib/components/Sliders/SliderRange/SliderRange.d.ts +1 -1
- package/dist/lib/components/Sliders/SliderRange/SliderRange.js +37 -100
- package/dist/lib/components/Sliders/SliderRange/helpers.js +5 -18
- package/dist/lib/components/Sliders/SliderRatio/SliderRatio.d.ts +1 -1
- package/dist/lib/components/Sliders/SliderRatio/SliderRatio.js +40 -111
- package/dist/lib/components/Sliders/SliderRatio/helpers.js +8 -27
- package/dist/lib/components/Sliders/SliderRatio/types.d.ts +1 -1
- package/dist/lib/components/Sliders/SliderRatio/types.js +0 -2
- package/dist/lib/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.d.ts +2 -2
- package/dist/lib/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.js +17 -56
- package/dist/lib/components/Sliders/components/SliderScale/SliderScale.d.ts +2 -2
- package/dist/lib/components/Sliders/components/SliderScale/SliderScale.js +11 -39
- package/dist/lib/components/Sliders/components/SliderScale/helpers.js +15 -33
- package/dist/lib/components/Sliders/helpers.js +5 -22
- package/dist/lib/components/Snackbar/Snackbar.d.ts +3 -3
- package/dist/lib/components/Snackbar/Snackbar.js +81 -138
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.d.ts +3 -3
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.js +17 -36
- package/dist/lib/components/Switcher/Switcher.d.ts +2 -1
- package/dist/lib/components/Switcher/Switcher.js +21 -52
- package/dist/lib/components/Tabs/Tab.js +5 -26
- package/dist/lib/components/Tabs/Tabs.d.ts +6 -5
- package/dist/lib/components/Tabs/Tabs.js +93 -189
- package/dist/lib/components/TextField/TextField.d.ts +3 -3
- package/dist/lib/components/TextField/TextField.js +113 -238
- package/dist/lib/components/TextField/utils/countGraphemes.js +11 -28
- package/dist/lib/components/TextLink/TextLink.d.ts +2 -2
- package/dist/lib/components/TextLink/TextLink.js +18 -41
- package/dist/lib/components/Tile/Tile.d.ts +7 -5
- package/dist/lib/components/Tile/Tile.js +26 -54
- package/dist/lib/components/Tooltip/Tooltip.d.ts +9 -8
- package/dist/lib/components/Tooltip/Tooltip.js +110 -218
- package/dist/{es/components/Collapse → lib/components/_Collapse}/Collapse.d.ts +3 -3
- package/dist/lib/components/_Collapse/Collapse.js +95 -0
- package/dist/lib/constants/throttleTime.js +2 -3
- package/dist/lib/hooks/usePrevious.js +4 -11
- package/dist/lib/hooks/useResolution.d.ts +1 -1
- package/dist/lib/hooks/useResolution.js +8 -22
- package/dist/lib/hooks/useSwipe.d.ts +1 -1
- package/dist/lib/hooks/useSwipe.js +21 -63
- package/dist/lib/index.d.ts +16 -9
- package/dist/lib/index.js +82 -101
- package/dist/lib/styles/base.css +1 -0
- package/package.json +106 -101
- package/styles/base.scss +150 -0
- package/styles/colors.css +53 -0
- package/CHANGELOG.md +0 -3987
- package/dist/es/components/Avatar/doc/i/img.png +0 -0
- package/dist/es/components/Badges/components/CounterBadge/CounterBadge.css +0 -54
- package/dist/es/components/Badges/components/NotificationBadge/NotificationBadge.css +0 -49
- package/dist/es/components/Badges/components/PriceBadge/PriceBadge.css +0 -119
- package/dist/es/components/Badges/components/PromoBadge/PromoBadge.css +0 -64
- package/dist/es/components/Badges/components/TimerBadge/TimerBadge.css +0 -60
- package/dist/es/components/Banner/Banner.css +0 -195
- package/dist/es/components/Banner/BannerDot.css +0 -69
- package/dist/es/components/Button/Button.css +0 -814
- package/dist/es/components/Calendar/Calendar.css +0 -5
- package/dist/es/components/Calendar/components/Day/Day.css +0 -128
- package/dist/es/components/Calendar/components/Month/Month.css +0 -81
- package/dist/es/components/Caption/Caption.css +0 -48
- package/dist/es/components/Carousel/Carousel.css +0 -215
- package/dist/es/components/Checkbox/Checkbox.css +0 -150
- package/dist/es/components/Chips/Chip.css +0 -132
- package/dist/es/components/Chips/Chips.css +0 -19
- package/dist/es/components/Chips/components/ChipsDropdown.css +0 -106
- package/dist/es/components/Collapse/Collapse.css +0 -3
- package/dist/es/components/ContentArea/ContentArea.css +0 -109
- package/dist/es/components/ContentView/ContentView.css +0 -103
- package/dist/es/components/Counter/Counter.css +0 -123
- package/dist/es/components/Grid/Grid.css +0 -102
- package/dist/es/components/Grid/GridColumn.css +0 -3102
- package/dist/es/components/Header/Header.css +0 -122
- package/dist/es/components/List/List.css +0 -66
- package/dist/es/components/List/ListItem.css +0 -6
- package/dist/es/components/ListData/ListData.css +0 -162
- package/dist/es/components/ListData/ListDataGroup.css +0 -15
- package/dist/es/components/ListData/components/ListDataSortable.css +0 -79
- package/dist/es/components/ListData/doc/i/img.png +0 -0
- package/dist/es/components/Logo/Logo.css +0 -43
- package/dist/es/components/NavArrow/NavArrow.css +0 -63
- package/dist/es/components/Notification/Notification.css +0 -350
- package/dist/es/components/Pagination/Pagination.css +0 -5
- package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.css +0 -62
- package/dist/es/components/Pagination/components/PaginationButtons/PaginationButtons.css +0 -10
- package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +0 -17
- package/dist/es/components/Paragraph/Paragraph.css +0 -43
- package/dist/es/components/Preloader/Preloader.css +0 -224
- package/dist/es/components/RadioButton/RadioButton.css +0 -120
- package/dist/es/components/Row/Row.css +0 -238
- package/dist/es/components/Search/Search.css +0 -453
- package/dist/es/components/Select/Select.css +0 -389
- package/dist/es/components/Selector/Selector.css +0 -132
- package/dist/es/components/Selector/doc/Selector.example.css +0 -17
- package/dist/es/components/Sliders/Slider/Slider.css +0 -128
- package/dist/es/components/Sliders/SliderRange/SliderRange.css +0 -169
- package/dist/es/components/Sliders/SliderRatio/SliderRatio.css +0 -219
- package/dist/es/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.css +0 -84
- package/dist/es/components/Sliders/components/SliderScale/SliderScale.css +0 -15
- package/dist/es/components/Snackbar/Snackbar.css +0 -220
- package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.css +0 -66
- package/dist/es/components/Switcher/Switcher.css +0 -160
- package/dist/es/components/Tabs/Tabs.css +0 -297
- package/dist/es/components/TextField/TextField.css +0 -343
- package/dist/es/components/TextLink/TextLink.css +0 -50
- package/dist/es/components/Tile/Tile.css +0 -43
- package/dist/es/components/Tooltip/Tooltip.css +0 -335
- package/dist/lib/components/Avatar/doc/i/img.png +0 -0
- package/dist/lib/components/Badges/components/CounterBadge/CounterBadge.css +0 -54
- package/dist/lib/components/Badges/components/CounterBadge/CounterBadge.js +0 -81
- package/dist/lib/components/Badges/components/NotificationBadge/NotificationBadge.css +0 -49
- package/dist/lib/components/Badges/components/NotificationBadge/NotificationBadge.js +0 -70
- package/dist/lib/components/Badges/components/PriceBadge/PriceBadge.css +0 -119
- package/dist/lib/components/Badges/components/PromoBadge/PromoBadge.css +0 -64
- package/dist/lib/components/Badges/components/PromoBadge/PromoBadge.js +0 -76
- package/dist/lib/components/Badges/components/TimerBadge/TimerBadge.css +0 -60
- package/dist/lib/components/Badges/components/TimerBadge/TimerBadge.js +0 -135
- package/dist/lib/components/Banner/Banner.css +0 -195
- package/dist/lib/components/Banner/BannerDot.css +0 -69
- package/dist/lib/components/Button/Button.css +0 -814
- package/dist/lib/components/Calendar/Calendar.css +0 -5
- package/dist/lib/components/Calendar/components/Day/Day.css +0 -128
- package/dist/lib/components/Calendar/components/Day/Day.js +0 -117
- package/dist/lib/components/Calendar/components/Month/Month.css +0 -81
- package/dist/lib/components/Calendar/components/Month/Month.js +0 -122
- package/dist/lib/components/Caption/Caption.css +0 -48
- package/dist/lib/components/Carousel/Carousel.css +0 -215
- package/dist/lib/components/Checkbox/Checkbox.css +0 -150
- package/dist/lib/components/Chips/Chip.css +0 -132
- package/dist/lib/components/Chips/Chips.css +0 -19
- package/dist/lib/components/Chips/components/ChipsDropdown.css +0 -106
- package/dist/lib/components/Collapse/Collapse.css +0 -3
- package/dist/lib/components/Collapse/Collapse.js +0 -141
- package/dist/lib/components/ContentArea/ContentArea.css +0 -109
- package/dist/lib/components/ContentView/ContentView.css +0 -103
- package/dist/lib/components/Counter/Counter.css +0 -123
- package/dist/lib/components/Grid/Grid.css +0 -102
- package/dist/lib/components/Grid/GridColumn.css +0 -3102
- package/dist/lib/components/Header/Header.css +0 -122
- package/dist/lib/components/List/List.css +0 -66
- package/dist/lib/components/List/ListItem.css +0 -6
- package/dist/lib/components/ListData/ListData.css +0 -162
- package/dist/lib/components/ListData/ListDataGroup.css +0 -15
- package/dist/lib/components/ListData/components/ListDataSortable.css +0 -79
- package/dist/lib/components/ListData/doc/i/img.png +0 -0
- package/dist/lib/components/Logo/Logo.css +0 -43
- package/dist/lib/components/NavArrow/NavArrow.css +0 -63
- package/dist/lib/components/Notification/Notification.css +0 -350
- package/dist/lib/components/Pagination/Pagination.css +0 -5
- package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.css +0 -62
- package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.css +0 -10
- package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +0 -17
- package/dist/lib/components/Paragraph/Paragraph.css +0 -43
- package/dist/lib/components/Preloader/Preloader.css +0 -224
- package/dist/lib/components/RadioButton/RadioButton.css +0 -120
- package/dist/lib/components/Row/Row.css +0 -238
- package/dist/lib/components/Search/Search.css +0 -453
- package/dist/lib/components/Select/Select.css +0 -389
- package/dist/lib/components/Selector/Selector.css +0 -132
- package/dist/lib/components/Selector/doc/Selector.example.css +0 -17
- package/dist/lib/components/Sliders/Slider/Slider.css +0 -128
- package/dist/lib/components/Sliders/SliderRange/SliderRange.css +0 -169
- package/dist/lib/components/Sliders/SliderRatio/SliderRatio.css +0 -219
- package/dist/lib/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.css +0 -84
- package/dist/lib/components/Sliders/components/SliderScale/SliderScale.css +0 -15
- package/dist/lib/components/Snackbar/Snackbar.css +0 -220
- package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.css +0 -66
- package/dist/lib/components/Switcher/Switcher.css +0 -160
- package/dist/lib/components/Tabs/Tabs.css +0 -297
- package/dist/lib/components/TextField/TextField.css +0 -343
- package/dist/lib/components/TextLink/TextLink.css +0 -50
- package/dist/lib/components/Tile/Tile.css +0 -43
- package/dist/lib/components/Tooltip/Tooltip.css +0 -335
- package/styles/base.less +0 -171
- /package/dist/es/components/Badges/{components/TimerBadge → TimerBadge/components}/Timer/Timer.d.ts +0 -0
- /package/dist/lib/components/Badges/{components/TimerBadge → TimerBadge/components}/Timer/Timer.d.ts +0 -0
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
.mfui-slider-range {
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
display: -ms-flexbox;
|
|
4
|
-
display: flex;
|
|
5
|
-
-webkit-box-orient: vertical;
|
|
6
|
-
-webkit-box-direction: normal;
|
|
7
|
-
-ms-flex-direction: column;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
}
|
|
10
|
-
.mfui-slider-range__head {
|
|
11
|
-
font-size: 15px;
|
|
12
|
-
line-height: 24px;
|
|
13
|
-
font-weight: 500;
|
|
14
|
-
margin-bottom: 8px;
|
|
15
|
-
}
|
|
16
|
-
.mfui-slider-range__display-values {
|
|
17
|
-
display: grid;
|
|
18
|
-
grid-template-columns: 45% 45%;
|
|
19
|
-
-webkit-box-pack: justify;
|
|
20
|
-
-ms-flex-pack: justify;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
width: 100%;
|
|
23
|
-
margin-top: 8px;
|
|
24
|
-
}
|
|
25
|
-
.mfui-slider-range__display-value_left {
|
|
26
|
-
margin-right: auto;
|
|
27
|
-
}
|
|
28
|
-
.mfui-slider-range__display-value_right {
|
|
29
|
-
margin-left: auto;
|
|
30
|
-
}
|
|
31
|
-
.mfui-slider-range__range-container {
|
|
32
|
-
position: relative;
|
|
33
|
-
height: 12px;
|
|
34
|
-
margin: 6px 0;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
}
|
|
37
|
-
.mfui-slider-range__range-input {
|
|
38
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: 50%;
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: 0;
|
|
43
|
-
margin: 0;
|
|
44
|
-
border: none;
|
|
45
|
-
background: none;
|
|
46
|
-
outline: none;
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
-webkit-appearance: none;
|
|
49
|
-
-moz-appearance: none;
|
|
50
|
-
appearance: none;
|
|
51
|
-
pointer-events: none;
|
|
52
|
-
}
|
|
53
|
-
.mfui-slider-range__range-input_left {
|
|
54
|
-
z-index: 1;
|
|
55
|
-
}
|
|
56
|
-
.mfui-slider-range__range-input_left.mfui-slider-range__range-input_over {
|
|
57
|
-
z-index: 3;
|
|
58
|
-
}
|
|
59
|
-
.mfui-slider-range__range-input_right {
|
|
60
|
-
z-index: 2;
|
|
61
|
-
}
|
|
62
|
-
.mfui-slider-range__range-input:focus {
|
|
63
|
-
outline: none;
|
|
64
|
-
}
|
|
65
|
-
.mfui-slider-range__range-input::-webkit-slider-thumb {
|
|
66
|
-
width: var(--thumbSize);
|
|
67
|
-
height: var(--thumbSize);
|
|
68
|
-
border: none;
|
|
69
|
-
border-radius: 50%;
|
|
70
|
-
background-color: var(--stcWhite);
|
|
71
|
-
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
72
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
73
|
-
-webkit-appearance: none;
|
|
74
|
-
pointer-events: auto;
|
|
75
|
-
}
|
|
76
|
-
.mfui-slider-range__range-input::-moz-range-thumb {
|
|
77
|
-
width: var(--thumbSize);
|
|
78
|
-
height: var(--thumbSize);
|
|
79
|
-
border: none;
|
|
80
|
-
border-radius: 50%;
|
|
81
|
-
background-color: var(--stcWhite);
|
|
82
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
83
|
-
-webkit-appearance: none;
|
|
84
|
-
pointer-events: auto;
|
|
85
|
-
}
|
|
86
|
-
.mfui-slider-range__range-input::-ms-thumb {
|
|
87
|
-
width: var(--thumbSize);
|
|
88
|
-
height: var(--thumbSize);
|
|
89
|
-
border: none;
|
|
90
|
-
border-radius: 50%;
|
|
91
|
-
background-color: var(--stcWhite);
|
|
92
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
93
|
-
-webkit-appearance: none;
|
|
94
|
-
pointer-events: auto;
|
|
95
|
-
}
|
|
96
|
-
.mfui-slider-range__range-track {
|
|
97
|
-
position: absolute;
|
|
98
|
-
right: 0;
|
|
99
|
-
left: 0;
|
|
100
|
-
z-index: 0;
|
|
101
|
-
height: 100%;
|
|
102
|
-
padding: 0 12px;
|
|
103
|
-
border-radius: 100px;
|
|
104
|
-
background-color: var(--spbSky0);
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
}
|
|
107
|
-
.mfui-slider-range__range-track-inner {
|
|
108
|
-
position: relative;
|
|
109
|
-
width: 100%;
|
|
110
|
-
height: 100%;
|
|
111
|
-
}
|
|
112
|
-
.mfui-slider-range__range-track-segment {
|
|
113
|
-
position: absolute;
|
|
114
|
-
height: 100%;
|
|
115
|
-
border-radius: 100px;
|
|
116
|
-
background-color: var(--brandGreen);
|
|
117
|
-
}
|
|
118
|
-
.mfui-slider-range_disabled .mfui-slider-range__head {
|
|
119
|
-
color: var(--spbSky3);
|
|
120
|
-
}
|
|
121
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-track {
|
|
122
|
-
cursor: default;
|
|
123
|
-
}
|
|
124
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-input {
|
|
125
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(var(--spbSky1)), to(var(--spbSky1)));
|
|
126
|
-
background-image: linear-gradient(var(--spbSky1), var(--spbSky1));
|
|
127
|
-
cursor: default;
|
|
128
|
-
}
|
|
129
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-track-segment {
|
|
130
|
-
background-color: var(--spbSky1);
|
|
131
|
-
}
|
|
132
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-input::-webkit-slider-thumb {
|
|
133
|
-
width: var(--thumbSize);
|
|
134
|
-
height: var(--thumbSize);
|
|
135
|
-
border: none;
|
|
136
|
-
border-radius: 50%;
|
|
137
|
-
background-color: var(--stcWhite);
|
|
138
|
-
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
139
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
140
|
-
-webkit-appearance: none;
|
|
141
|
-
pointer-events: auto;
|
|
142
|
-
background-color: var(--spbSky2);
|
|
143
|
-
-webkit-box-shadow: none;
|
|
144
|
-
box-shadow: none;
|
|
145
|
-
}
|
|
146
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-input::-moz-range-thumb {
|
|
147
|
-
width: var(--thumbSize);
|
|
148
|
-
height: var(--thumbSize);
|
|
149
|
-
border: none;
|
|
150
|
-
border-radius: 50%;
|
|
151
|
-
background-color: var(--stcWhite);
|
|
152
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
153
|
-
-webkit-appearance: none;
|
|
154
|
-
pointer-events: auto;
|
|
155
|
-
background-color: var(--spbSky2);
|
|
156
|
-
box-shadow: none;
|
|
157
|
-
}
|
|
158
|
-
.mfui-slider-range_disabled .mfui-slider-range__range-input::-ms-thumb {
|
|
159
|
-
width: var(--thumbSize);
|
|
160
|
-
height: var(--thumbSize);
|
|
161
|
-
border: none;
|
|
162
|
-
border-radius: 50%;
|
|
163
|
-
background-color: var(--stcWhite);
|
|
164
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
165
|
-
-webkit-appearance: none;
|
|
166
|
-
pointer-events: auto;
|
|
167
|
-
background-color: var(--spbSky2);
|
|
168
|
-
box-shadow: none;
|
|
169
|
-
}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
.mfui-slider-ratio {
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
display: -ms-flexbox;
|
|
4
|
-
display: flex;
|
|
5
|
-
-webkit-box-orient: vertical;
|
|
6
|
-
-webkit-box-direction: normal;
|
|
7
|
-
-ms-flex-direction: column;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
}
|
|
10
|
-
.mfui-slider-ratio__head {
|
|
11
|
-
font-size: 15px;
|
|
12
|
-
line-height: 24px;
|
|
13
|
-
font-weight: 500;
|
|
14
|
-
margin-bottom: 8px;
|
|
15
|
-
}
|
|
16
|
-
.mfui-slider-ratio__display-values {
|
|
17
|
-
display: grid;
|
|
18
|
-
grid-template-columns: 45% 45%;
|
|
19
|
-
-webkit-box-pack: justify;
|
|
20
|
-
-ms-flex-pack: justify;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
width: 100%;
|
|
23
|
-
margin-top: 8px;
|
|
24
|
-
}
|
|
25
|
-
.mfui-slider-ratio__display-value_left {
|
|
26
|
-
margin-right: auto;
|
|
27
|
-
}
|
|
28
|
-
.mfui-slider-ratio__display-value_right {
|
|
29
|
-
margin-left: auto;
|
|
30
|
-
}
|
|
31
|
-
.mfui-slider-ratio__range-container {
|
|
32
|
-
position: relative;
|
|
33
|
-
width: 100%;
|
|
34
|
-
}
|
|
35
|
-
.mfui-slider-ratio__range-input {
|
|
36
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
37
|
-
position: relative;
|
|
38
|
-
z-index: 1;
|
|
39
|
-
display: block;
|
|
40
|
-
width: 100%;
|
|
41
|
-
height: 12px;
|
|
42
|
-
margin: 6px 0;
|
|
43
|
-
border-radius: 100px;
|
|
44
|
-
background: var(--brandPurple);
|
|
45
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(var(--brandGreen)), to(var(--brandGreen)));
|
|
46
|
-
background-image: linear-gradient(var(--brandGreen), var(--brandGreen));
|
|
47
|
-
background-repeat: no-repeat;
|
|
48
|
-
outline: none;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
-webkit-appearance: none;
|
|
51
|
-
-moz-appearance: none;
|
|
52
|
-
appearance: none;
|
|
53
|
-
pointer-events: none;
|
|
54
|
-
}
|
|
55
|
-
.mfui-slider-ratio__range-input:focus {
|
|
56
|
-
outline: none;
|
|
57
|
-
}
|
|
58
|
-
.mfui-slider-ratio__range-input::-webkit-slider-thumb {
|
|
59
|
-
width: var(--thumbSize);
|
|
60
|
-
height: var(--thumbSize);
|
|
61
|
-
border: none;
|
|
62
|
-
border-radius: 50%;
|
|
63
|
-
background-color: var(--stcWhite);
|
|
64
|
-
background-image: url('./i/thumb.png');
|
|
65
|
-
background-repeat: no-repeat;
|
|
66
|
-
background-size: 100% 100%;
|
|
67
|
-
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
68
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
69
|
-
-webkit-appearance: none;
|
|
70
|
-
pointer-events: auto;
|
|
71
|
-
}
|
|
72
|
-
.mfui-slider-ratio__range-input::-moz-range-thumb {
|
|
73
|
-
width: var(--thumbSize);
|
|
74
|
-
height: var(--thumbSize);
|
|
75
|
-
border: none;
|
|
76
|
-
border-radius: 50%;
|
|
77
|
-
background-color: var(--stcWhite);
|
|
78
|
-
background-image: url('./i/thumb.png');
|
|
79
|
-
background-repeat: no-repeat;
|
|
80
|
-
background-size: 100% 100%;
|
|
81
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
82
|
-
-webkit-appearance: none;
|
|
83
|
-
pointer-events: auto;
|
|
84
|
-
}
|
|
85
|
-
.mfui-slider-ratio__range-input::-ms-thumb {
|
|
86
|
-
width: var(--thumbSize);
|
|
87
|
-
height: var(--thumbSize);
|
|
88
|
-
border: none;
|
|
89
|
-
border-radius: 50%;
|
|
90
|
-
background-color: var(--stcWhite);
|
|
91
|
-
background-image: url('./i/thumb.png');
|
|
92
|
-
background-repeat: no-repeat;
|
|
93
|
-
background-size: 100% 100%;
|
|
94
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
95
|
-
-webkit-appearance: none;
|
|
96
|
-
pointer-events: auto;
|
|
97
|
-
}
|
|
98
|
-
.mfui-slider-ratio__range-input::-webkit-slider-runnable-track {
|
|
99
|
-
border: none;
|
|
100
|
-
background: transparent;
|
|
101
|
-
-webkit-box-shadow: none;
|
|
102
|
-
box-shadow: none;
|
|
103
|
-
-webkit-appearance: none;
|
|
104
|
-
}
|
|
105
|
-
.mfui-slider-ratio__range-input::-moz-range-track {
|
|
106
|
-
border: none;
|
|
107
|
-
background: transparent;
|
|
108
|
-
box-shadow: none;
|
|
109
|
-
-webkit-appearance: none;
|
|
110
|
-
}
|
|
111
|
-
.mfui-slider-ratio__range-input::-ms-track {
|
|
112
|
-
border: none;
|
|
113
|
-
background: transparent;
|
|
114
|
-
box-shadow: none;
|
|
115
|
-
-webkit-appearance: none;
|
|
116
|
-
}
|
|
117
|
-
.mfui-slider-ratio__range-track {
|
|
118
|
-
position: absolute;
|
|
119
|
-
top: 0;
|
|
120
|
-
z-index: 0;
|
|
121
|
-
width: 100%;
|
|
122
|
-
height: 100%;
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
}
|
|
125
|
-
.mfui-slider-ratio__scale {
|
|
126
|
-
position: absolute;
|
|
127
|
-
top: 0;
|
|
128
|
-
right: calc(var(--thumbSize) / 2);
|
|
129
|
-
bottom: 0;
|
|
130
|
-
left: calc(var(--thumbSize) / 2);
|
|
131
|
-
z-index: 2;
|
|
132
|
-
display: -webkit-box;
|
|
133
|
-
display: -ms-flexbox;
|
|
134
|
-
display: flex;
|
|
135
|
-
-webkit-box-align: center;
|
|
136
|
-
-ms-flex-align: center;
|
|
137
|
-
align-items: center;
|
|
138
|
-
-webkit-box-pack: justify;
|
|
139
|
-
-ms-flex-pack: justify;
|
|
140
|
-
justify-content: space-between;
|
|
141
|
-
pointer-events: none;
|
|
142
|
-
}
|
|
143
|
-
.mfui-slider-ratio__scale-item {
|
|
144
|
-
width: 4px;
|
|
145
|
-
height: 4px;
|
|
146
|
-
border-radius: 50%;
|
|
147
|
-
background-color: var(--stcWhite);
|
|
148
|
-
}
|
|
149
|
-
.mfui-slider-ratio__scale-item:first-child {
|
|
150
|
-
margin-left: -2px;
|
|
151
|
-
}
|
|
152
|
-
.mfui-slider-ratio__scale-item:last-child {
|
|
153
|
-
margin-right: -2px;
|
|
154
|
-
}
|
|
155
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__head {
|
|
156
|
-
color: var(--spbSky3);
|
|
157
|
-
}
|
|
158
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-input {
|
|
159
|
-
background-color: var(--spbSky1);
|
|
160
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(var(--spbSky0)), to(var(--spbSky0)));
|
|
161
|
-
background-image: linear-gradient(var(--spbSky0), var(--spbSky0));
|
|
162
|
-
cursor: default;
|
|
163
|
-
}
|
|
164
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-input::-webkit-slider-thumb {
|
|
165
|
-
width: var(--thumbSize);
|
|
166
|
-
height: var(--thumbSize);
|
|
167
|
-
border: none;
|
|
168
|
-
border-radius: 50%;
|
|
169
|
-
background-color: var(--stcWhite);
|
|
170
|
-
background-image: url('./i/thumb.png');
|
|
171
|
-
background-repeat: no-repeat;
|
|
172
|
-
background-size: 100% 100%;
|
|
173
|
-
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
174
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
175
|
-
-webkit-appearance: none;
|
|
176
|
-
pointer-events: auto;
|
|
177
|
-
background-color: var(--spbSky2);
|
|
178
|
-
background-image: none;
|
|
179
|
-
-webkit-box-shadow: none;
|
|
180
|
-
box-shadow: none;
|
|
181
|
-
}
|
|
182
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-input::-moz-range-thumb {
|
|
183
|
-
width: var(--thumbSize);
|
|
184
|
-
height: var(--thumbSize);
|
|
185
|
-
border: none;
|
|
186
|
-
border-radius: 50%;
|
|
187
|
-
background-color: var(--stcWhite);
|
|
188
|
-
background-image: url('./i/thumb.png');
|
|
189
|
-
background-repeat: no-repeat;
|
|
190
|
-
background-size: 100% 100%;
|
|
191
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
192
|
-
-webkit-appearance: none;
|
|
193
|
-
pointer-events: auto;
|
|
194
|
-
background-color: var(--spbSky2);
|
|
195
|
-
background-image: none;
|
|
196
|
-
box-shadow: none;
|
|
197
|
-
}
|
|
198
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-input::-ms-thumb {
|
|
199
|
-
width: var(--thumbSize);
|
|
200
|
-
height: var(--thumbSize);
|
|
201
|
-
border: none;
|
|
202
|
-
border-radius: 50%;
|
|
203
|
-
background-color: var(--stcWhite);
|
|
204
|
-
background-image: url('./i/thumb.png');
|
|
205
|
-
background-repeat: no-repeat;
|
|
206
|
-
background-size: 100% 100%;
|
|
207
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
|
|
208
|
-
-webkit-appearance: none;
|
|
209
|
-
pointer-events: auto;
|
|
210
|
-
background-color: var(--spbSky2);
|
|
211
|
-
background-image: none;
|
|
212
|
-
box-shadow: none;
|
|
213
|
-
}
|
|
214
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__range-track {
|
|
215
|
-
cursor: default;
|
|
216
|
-
}
|
|
217
|
-
.mfui-slider-ratio_disabled .mfui-slider-ratio__scale {
|
|
218
|
-
display: none;
|
|
219
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
.mfui-slider-display-value {
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
display: -ms-flexbox;
|
|
4
|
-
display: flex;
|
|
5
|
-
max-width: 100%;
|
|
6
|
-
color: var(--content);
|
|
7
|
-
font-weight: 400;
|
|
8
|
-
}
|
|
9
|
-
.mfui-slider-display-value_interactive {
|
|
10
|
-
-webkit-box-align: center;
|
|
11
|
-
-ms-flex-align: center;
|
|
12
|
-
align-items: center;
|
|
13
|
-
min-width: 90px;
|
|
14
|
-
padding: 7px 16px;
|
|
15
|
-
border: 1px solid var(--spbSky2);
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
background-color: var(--base);
|
|
19
|
-
cursor: text;
|
|
20
|
-
}
|
|
21
|
-
.mfui-slider-display-value_interactive.mfui-slider-display-value:hover,
|
|
22
|
-
.mfui-slider-display-value_interactive.mfui-slider-display-value_focus {
|
|
23
|
-
border-color: var(--content);
|
|
24
|
-
}
|
|
25
|
-
.mfui-slider-display-value_disabled {
|
|
26
|
-
border-color: var(--spbSky0);
|
|
27
|
-
color: var(--spbSky3);
|
|
28
|
-
background-color: var(--spbSky0);
|
|
29
|
-
cursor: default;
|
|
30
|
-
}
|
|
31
|
-
.mfui-slider-display-value_disabled.mfui-slider-display-value_interactive:hover {
|
|
32
|
-
border-color: var(--spbSky0);
|
|
33
|
-
}
|
|
34
|
-
.mfui-slider-display-value__box {
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
}
|
|
37
|
-
.mfui-slider-display-value__line {
|
|
38
|
-
font-weight: 500;
|
|
39
|
-
}
|
|
40
|
-
.mfui-slider-display-value__unit {
|
|
41
|
-
margin-left: 4px;
|
|
42
|
-
}
|
|
43
|
-
.mfui-slider-display-value_interactive .mfui-slider-display-value__line {
|
|
44
|
-
height: 0;
|
|
45
|
-
visibility: hidden;
|
|
46
|
-
opacity: 0;
|
|
47
|
-
}
|
|
48
|
-
.mfui-slider-display-value__prefix {
|
|
49
|
-
margin-right: 4px;
|
|
50
|
-
color: var(--spbSky3);
|
|
51
|
-
}
|
|
52
|
-
.mfui-slider-display-value__input {
|
|
53
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
54
|
-
display: block;
|
|
55
|
-
width: 10px;
|
|
56
|
-
min-width: 100%;
|
|
57
|
-
margin: 0;
|
|
58
|
-
padding: 0;
|
|
59
|
-
border: none;
|
|
60
|
-
border-radius: 0;
|
|
61
|
-
color: inherit;
|
|
62
|
-
font-weight: 400;
|
|
63
|
-
background-color: transparent;
|
|
64
|
-
outline: none;
|
|
65
|
-
-webkit-box-shadow: none;
|
|
66
|
-
box-shadow: none;
|
|
67
|
-
cursor: text;
|
|
68
|
-
opacity: 1;
|
|
69
|
-
-webkit-appearance: none;
|
|
70
|
-
-moz-appearance: none;
|
|
71
|
-
appearance: none;
|
|
72
|
-
caret-color: var(--brandGreen);
|
|
73
|
-
font-family: inherit;
|
|
74
|
-
font-size: 15px;
|
|
75
|
-
line-height: 24px;
|
|
76
|
-
}
|
|
77
|
-
.mfui-slider-display-value__input::-webkit-outer-spin-button,
|
|
78
|
-
.mfui-slider-display-value__input::-webkit-inner-spin-button {
|
|
79
|
-
margin: 0;
|
|
80
|
-
-webkit-appearance: none;
|
|
81
|
-
}
|
|
82
|
-
.mfui-slider-display-value__input[type='number'] {
|
|
83
|
-
-moz-appearance: textfield;
|
|
84
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.mfui-slider-scale {
|
|
2
|
-
font-size: 12px;
|
|
3
|
-
line-height: 18px;
|
|
4
|
-
position: relative;
|
|
5
|
-
height: 18px;
|
|
6
|
-
margin: 8px 12px 0 12px;
|
|
7
|
-
}
|
|
8
|
-
.mfui-slider-scale_disabled {
|
|
9
|
-
color: var(--spbSky3);
|
|
10
|
-
}
|
|
11
|
-
.mfui-slider-scale__item {
|
|
12
|
-
position: absolute;
|
|
13
|
-
translate: -50% 0;
|
|
14
|
-
white-space: nowrap;
|
|
15
|
-
}
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
h1,
|
|
2
|
-
h2,
|
|
3
|
-
h3,
|
|
4
|
-
h4,
|
|
5
|
-
h5 {
|
|
6
|
-
margin: 0;
|
|
7
|
-
}
|
|
8
|
-
.mfui-snackbar {
|
|
9
|
-
z-index: 1;
|
|
10
|
-
width: 480px;
|
|
11
|
-
-webkit-transition: -webkit-transform 300ms;
|
|
12
|
-
transition: -webkit-transform 300ms;
|
|
13
|
-
transition: transform 300ms;
|
|
14
|
-
transition: transform 300ms, -webkit-transform 300ms;
|
|
15
|
-
}
|
|
16
|
-
@-webkit-keyframes snackbar-show {
|
|
17
|
-
from {
|
|
18
|
-
-webkit-transform: scale(90%);
|
|
19
|
-
transform: scale(90%);
|
|
20
|
-
opacity: 0;
|
|
21
|
-
}
|
|
22
|
-
to {
|
|
23
|
-
-webkit-transform: scale(100%);
|
|
24
|
-
transform: scale(100%);
|
|
25
|
-
opacity: 1;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
@keyframes snackbar-show {
|
|
29
|
-
from {
|
|
30
|
-
-webkit-transform: scale(90%);
|
|
31
|
-
transform: scale(90%);
|
|
32
|
-
opacity: 0;
|
|
33
|
-
}
|
|
34
|
-
to {
|
|
35
|
-
-webkit-transform: scale(100%);
|
|
36
|
-
transform: scale(100%);
|
|
37
|
-
opacity: 1;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
@-webkit-keyframes snackbar-hide {
|
|
41
|
-
0% {
|
|
42
|
-
-webkit-transform: scale(100%);
|
|
43
|
-
transform: scale(100%);
|
|
44
|
-
opacity: 1;
|
|
45
|
-
}
|
|
46
|
-
99% {
|
|
47
|
-
-webkit-transform: scale(90%);
|
|
48
|
-
transform: scale(90%);
|
|
49
|
-
opacity: 0;
|
|
50
|
-
}
|
|
51
|
-
100% {
|
|
52
|
-
display: none;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
@keyframes snackbar-hide {
|
|
56
|
-
0% {
|
|
57
|
-
-webkit-transform: scale(100%);
|
|
58
|
-
transform: scale(100%);
|
|
59
|
-
opacity: 1;
|
|
60
|
-
}
|
|
61
|
-
99% {
|
|
62
|
-
-webkit-transform: scale(90%);
|
|
63
|
-
transform: scale(90%);
|
|
64
|
-
opacity: 0;
|
|
65
|
-
}
|
|
66
|
-
100% {
|
|
67
|
-
display: none;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
@media screen and (max-width: 767px) {
|
|
71
|
-
.mfui-snackbar {
|
|
72
|
-
width: 304px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
.mfui-snackbar_move {
|
|
76
|
-
-webkit-transition: none;
|
|
77
|
-
transition: none;
|
|
78
|
-
}
|
|
79
|
-
.mfui-snackbar__tile {
|
|
80
|
-
display: -webkit-box;
|
|
81
|
-
display: -ms-flexbox;
|
|
82
|
-
display: flex;
|
|
83
|
-
-webkit-box-align: center;
|
|
84
|
-
-ms-flex-align: center;
|
|
85
|
-
align-items: center;
|
|
86
|
-
-webkit-box-pack: justify;
|
|
87
|
-
-ms-flex-pack: justify;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
min-height: 64px;
|
|
90
|
-
padding: 12px 16px 12px 12px;
|
|
91
|
-
background-color: var(--content);
|
|
92
|
-
opacity: 0;
|
|
93
|
-
-webkit-animation: 200ms linear 200ms 1 forwards snackbar-show;
|
|
94
|
-
animation: 200ms linear 200ms 1 forwards snackbar-show;
|
|
95
|
-
}
|
|
96
|
-
@media screen and (max-width: 767px) {
|
|
97
|
-
.mfui-snackbar__tile {
|
|
98
|
-
min-height: 48px;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
.mfui-snackbar__tile_closed {
|
|
102
|
-
-webkit-animation: 100ms linear 1 snackbar-hide;
|
|
103
|
-
animation: 100ms linear 1 snackbar-hide;
|
|
104
|
-
}
|
|
105
|
-
.mfui-snackbar__tile_type_success .mfui-snackbar__icon-container svg {
|
|
106
|
-
fill: var(--brandGreen);
|
|
107
|
-
}
|
|
108
|
-
.mfui-snackbar__tile_type_attention .mfui-snackbar__icon-container svg {
|
|
109
|
-
fill: var(--fury80);
|
|
110
|
-
}
|
|
111
|
-
.mfui-snackbar__icon-container {
|
|
112
|
-
display: -webkit-box;
|
|
113
|
-
display: -ms-flexbox;
|
|
114
|
-
display: flex;
|
|
115
|
-
-webkit-box-align: center;
|
|
116
|
-
-ms-flex-align: center;
|
|
117
|
-
align-items: center;
|
|
118
|
-
-webkit-box-pack: center;
|
|
119
|
-
-ms-flex-pack: center;
|
|
120
|
-
justify-content: center;
|
|
121
|
-
width: 32px;
|
|
122
|
-
min-width: 32px;
|
|
123
|
-
height: 32px;
|
|
124
|
-
margin-right: 8px;
|
|
125
|
-
}
|
|
126
|
-
.mfui-snackbar__icon-container svg {
|
|
127
|
-
fill: var(--base);
|
|
128
|
-
}
|
|
129
|
-
@media screen and (max-width: 767px) {
|
|
130
|
-
.mfui-snackbar__icon-container {
|
|
131
|
-
width: 20px;
|
|
132
|
-
min-width: 20px;
|
|
133
|
-
height: 20px;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
.mfui-snackbar__icon-container_desktop {
|
|
137
|
-
display: none;
|
|
138
|
-
}
|
|
139
|
-
@media screen and (min-width: 768px) {
|
|
140
|
-
.mfui-snackbar__icon-container_desktop {
|
|
141
|
-
display: block;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
.mfui-snackbar__icon-container_mobile {
|
|
145
|
-
display: none;
|
|
146
|
-
}
|
|
147
|
-
@media screen and (max-width: 767px) {
|
|
148
|
-
.mfui-snackbar__icon-container_mobile {
|
|
149
|
-
display: block;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
.mfui-snackbar__text-wrapper {
|
|
153
|
-
-webkit-box-flex: 1;
|
|
154
|
-
-ms-flex-positive: 1;
|
|
155
|
-
flex-grow: 1;
|
|
156
|
-
color: var(--base);
|
|
157
|
-
}
|
|
158
|
-
.mfui-snackbar__text {
|
|
159
|
-
display: none;
|
|
160
|
-
overflow: hidden;
|
|
161
|
-
}
|
|
162
|
-
@media screen and (min-width: 768px) {
|
|
163
|
-
.mfui-snackbar__text_desktop {
|
|
164
|
-
display: block;
|
|
165
|
-
max-height: 48px;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
@media screen and (max-width: 767px) {
|
|
169
|
-
.mfui-snackbar__text_mobile {
|
|
170
|
-
display: block;
|
|
171
|
-
max-height: 36px;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
.mfui-snackbar__text_short {
|
|
175
|
-
max-width: 272px;
|
|
176
|
-
}
|
|
177
|
-
.mfui-snackbar__text-button {
|
|
178
|
-
min-width: -webkit-min-content;
|
|
179
|
-
min-width: -moz-min-content;
|
|
180
|
-
min-width: min-content;
|
|
181
|
-
margin-left: 12px;
|
|
182
|
-
}
|
|
183
|
-
.mfui-snackbar__close-button {
|
|
184
|
-
display: -webkit-box;
|
|
185
|
-
display: -ms-flexbox;
|
|
186
|
-
display: flex;
|
|
187
|
-
-webkit-box-align: center;
|
|
188
|
-
-ms-flex-align: center;
|
|
189
|
-
align-items: center;
|
|
190
|
-
-webkit-box-pack: center;
|
|
191
|
-
-ms-flex-pack: center;
|
|
192
|
-
justify-content: center;
|
|
193
|
-
-webkit-box-sizing: border-box;
|
|
194
|
-
box-sizing: border-box;
|
|
195
|
-
width: 32px;
|
|
196
|
-
height: 32px;
|
|
197
|
-
margin-left: 24px;
|
|
198
|
-
padding: 0;
|
|
199
|
-
border: none;
|
|
200
|
-
border-radius: 40px;
|
|
201
|
-
background-color: transparent;
|
|
202
|
-
cursor: pointer;
|
|
203
|
-
}
|
|
204
|
-
@media screen and (max-width: 767px) {
|
|
205
|
-
.mfui-snackbar__close-button {
|
|
206
|
-
display: none;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
.mfui-snackbar__close-button:hover {
|
|
210
|
-
background-color: #99999933;
|
|
211
|
-
}
|
|
212
|
-
.mfui-snackbar__close-button:active {
|
|
213
|
-
background-color: #99999966;
|
|
214
|
-
}
|
|
215
|
-
.mfui-snackbar__close-button-icon {
|
|
216
|
-
width: 40px;
|
|
217
|
-
min-width: 40px;
|
|
218
|
-
height: 40px;
|
|
219
|
-
fill: var(--spbSky3);
|
|
220
|
-
}
|