framework7 7.0.8 → 8.0.0-beta.1
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/components/accordion/accordion.js +2 -16
- package/components/accordion/accordion.less +0 -3
- package/components/actions/actions-class.js +13 -58
- package/components/actions/actions-ios.less +42 -0
- package/components/actions/actions-md.less +12 -0
- package/components/actions/actions-rtl.css +1 -1
- package/components/actions/actions-vars.less +17 -42
- package/components/actions/actions.css +1 -1
- package/components/actions/actions.d.ts +2 -2
- package/components/actions/actions.js +0 -4
- package/components/actions/actions.lazy.js +1 -1
- package/components/actions/actions.less +5 -35
- package/components/app/app-class.d.ts +14 -12
- package/components/app/app-class.js +93 -75
- package/components/app/app-ios.less +0 -2
- package/components/app/app-md.less +0 -2
- package/components/app/app-vars.less +13 -96
- package/components/app/app.less +1 -4
- package/components/app/load-module.js +17 -36
- package/components/area-chart/area-chart-class.js +8 -64
- package/components/area-chart/area-chart.js +0 -3
- package/components/area-chart/area-chart.less +0 -3
- package/components/autocomplete/autocomplete-class.js +30 -175
- package/components/autocomplete/autocomplete-ios.less +0 -8
- package/components/autocomplete/autocomplete-rtl.css +1 -1
- package/components/autocomplete/autocomplete-vars.less +8 -22
- package/components/autocomplete/autocomplete.css +1 -1
- package/components/autocomplete/autocomplete.d.ts +1 -3
- package/components/autocomplete/autocomplete.js +1 -6
- package/components/autocomplete/autocomplete.lazy.js +1 -1
- package/components/autocomplete/autocomplete.less +6 -18
- package/components/badge/badge-vars.less +3 -6
- package/components/badge/badge.less +1 -3
- package/components/block/block-vars.less +25 -52
- package/components/block/block.less +37 -12
- package/components/breadcrumbs/breadcrumbs-rtl.css +1 -1
- package/components/breadcrumbs/breadcrumbs-vars.less +31 -15
- package/components/breadcrumbs/breadcrumbs.css +1 -1
- package/components/breadcrumbs/breadcrumbs.js +0 -2
- package/components/breadcrumbs/breadcrumbs.less +4 -10
- package/components/button/button-vars.less +42 -43
- package/components/button/button.less +24 -26
- package/components/calendar/calendar-class.js +81 -401
- package/components/calendar/calendar-rtl.css +1 -1
- package/components/calendar/calendar-vars.less +32 -46
- package/components/calendar/calendar.css +1 -1
- package/components/calendar/calendar.js +6 -4
- package/components/calendar/calendar.lazy.js +1 -1
- package/components/calendar/calendar.less +10 -21
- package/components/card/card-rtl.css +1 -1
- package/components/card/card-vars.less +41 -44
- package/components/card/card.css +1 -1
- package/components/card/card.js +0 -108
- package/components/card/card.less +18 -24
- package/components/checkbox/checkbox-rtl.css +1 -1
- package/components/checkbox/checkbox-vars.less +0 -8
- package/components/checkbox/checkbox.css +1 -1
- package/components/checkbox/checkbox.less +10 -3
- package/components/chip/chip-ios.less +3 -0
- package/components/chip/chip-md.less +4 -3
- package/components/chip/chip-rtl.css +1 -1
- package/components/chip/chip-vars.less +17 -20
- package/components/chip/chip.css +1 -1
- package/components/chip/chip.less +16 -21
- package/components/color-picker/color-picker-class.js +27 -158
- package/components/color-picker/color-picker-rtl.css +1 -1
- package/components/color-picker/color-picker.css +1 -1
- package/components/color-picker/color-picker.js +0 -4
- package/components/color-picker/color-picker.lazy.js +1 -1
- package/components/color-picker/color-picker.less +18 -8
- package/components/color-picker/modules/alpha-slider.js +0 -12
- package/components/color-picker/modules/brightness-slider.js +0 -8
- package/components/color-picker/modules/current-color.js +0 -2
- package/components/color-picker/modules/hex.js +0 -12
- package/components/color-picker/modules/hs-spectrum.js +0 -20
- package/components/color-picker/modules/hsb-sliders.js +0 -18
- package/components/color-picker/modules/hue-slider.js +0 -7
- package/components/color-picker/modules/initial-current-colors.js +0 -7
- package/components/color-picker/modules/palette.js +2 -10
- package/components/color-picker/modules/rgb-bars.js +0 -17
- package/components/color-picker/modules/rgb-sliders.js +0 -17
- package/components/color-picker/modules/sb-spectrum.js +0 -20
- package/components/color-picker/modules/wheel.js +0 -28
- package/components/contacts-list/contacts-list-md.less +4 -3
- package/components/contacts-list/contacts-list-rtl.css +1 -1
- package/components/contacts-list/contacts-list-vars.less +3 -15
- package/components/contacts-list/contacts-list.css +1 -1
- package/components/contacts-list/contacts-list.less +0 -3
- package/components/data-table/data-table-class.js +10 -32
- package/components/data-table/data-table-rtl.css +1 -1
- package/components/data-table/data-table-vars.less +6 -39
- package/components/data-table/data-table.css +1 -1
- package/components/data-table/data-table.js +0 -8
- package/components/data-table/data-table.less +0 -3
- package/components/dialog/dialog-class.js +7 -41
- package/components/dialog/dialog-ios.less +0 -3
- package/components/dialog/dialog-md.less +9 -9
- package/components/dialog/dialog-rtl.css +1 -1
- package/components/dialog/dialog-vars.less +25 -70
- package/components/dialog/dialog.css +1 -1
- package/components/dialog/dialog.d.ts +2 -2
- package/components/dialog/dialog.js +12 -48
- package/components/dialog/dialog.lazy.js +1 -1
- package/components/dialog/dialog.less +8 -4
- package/components/fab/fab-rtl.css +1 -1
- package/components/fab/fab-vars.less +20 -14
- package/components/fab/fab.css +1 -1
- package/components/fab/fab.js +0 -21
- package/components/fab/fab.less +50 -53
- package/components/form/form.d.ts +4 -4
- package/components/form/form.js +58 -94
- package/components/form/form.lazy.js +1 -1
- package/components/form/form.less +0 -3
- package/components/gauge/gauge-class.js +4 -20
- package/components/gauge/gauge.js +0 -9
- package/components/gauge/gauge.less +0 -3
- package/components/grid/grid-rtl.css +1 -1
- package/components/grid/grid-vars.less +0 -7
- package/components/grid/grid.css +1 -1
- package/components/grid/grid.d.ts +2 -8
- package/components/grid/grid.js +1 -225
- package/components/grid/grid.lazy.js +1 -1
- package/components/grid/grid.less +54 -184
- package/components/icon/icon.less +0 -3
- package/components/infinite-scroll/infinite-scroll-rtl.css +1 -1
- package/components/infinite-scroll/infinite-scroll.css +1 -1
- package/components/infinite-scroll/infinite-scroll.js +0 -16
- package/components/infinite-scroll/infinite-scroll.less +0 -3
- package/components/input/input-ios.less +49 -41
- package/components/input/input-md.less +87 -19
- package/components/input/input-rtl.css +1 -1
- package/components/input/input-vars.less +26 -60
- package/components/input/input.css +1 -1
- package/components/input/input.js +8 -67
- package/components/input/input.less +67 -153
- package/components/link/link-vars.less +0 -5
- package/components/link/link.less +3 -3
- package/components/list/list-md.less +0 -7
- package/components/list/list-vars.less +59 -108
- package/components/list/list.less +122 -90
- package/components/list-index/list-index-class.js +12 -69
- package/components/list-index/list-index-rtl.css +1 -1
- package/components/list-index/list-index-vars.less +0 -7
- package/components/list-index/list-index.css +1 -1
- package/components/list-index/list-index.d.ts +1 -3
- package/components/list-index/list-index.js +0 -8
- package/components/list-index/list-index.lazy.js +1 -1
- package/components/list-index/list-index.less +4 -7
- package/components/login-screen/login-screen-class.js +4 -9
- package/components/login-screen/login-screen-rtl.css +1 -1
- package/components/login-screen/login-screen-vars.less +13 -12
- package/components/login-screen/login-screen.css +1 -1
- package/components/login-screen/login-screen.js +0 -4
- package/components/login-screen/login-screen.less +2 -8
- package/components/messagebar/messagebar-class.js +18 -79
- package/components/messagebar/messagebar-ios.less +36 -0
- package/components/messagebar/messagebar-md.less +96 -16
- package/components/messagebar/messagebar-rtl.css +1 -1
- package/components/messagebar/messagebar-vars.less +27 -50
- package/components/messagebar/messagebar.css +1 -1
- package/components/messagebar/messagebar.js +0 -8
- package/components/messagebar/messagebar.less +11 -42
- package/components/messages/messages-class.js +17 -110
- package/components/messages/messages-ios.less +9 -0
- package/components/messages/messages-md.less +63 -28
- package/components/messages/messages-rtl.css +1 -1
- package/components/messages/messages-vars.less +43 -50
- package/components/messages/messages.css +1 -1
- package/components/messages/messages.js +0 -8
- package/components/messages/messages.lazy.js +1 -1
- package/components/messages/messages.less +0 -11
- package/components/modal/custom-modal-class.js +4 -14
- package/components/modal/modal-class.js +19 -55
- package/components/modal/modal.js +0 -3
- package/components/navbar/navbar-ios.less +3 -39
- package/components/navbar/navbar-md.less +12 -0
- package/components/navbar/navbar-vars.less +20 -49
- package/components/navbar/navbar.d.ts +0 -2
- package/components/navbar/navbar.js +37 -166
- package/components/navbar/navbar.less +4 -26
- package/components/notification/notification-class.js +4 -39
- package/components/notification/notification-md.less +18 -8
- package/components/notification/notification-rtl.css +1 -1
- package/components/notification/notification-vars.less +15 -54
- package/components/notification/notification.css +1 -1
- package/components/notification/notification.js +0 -2
- package/components/notification/notification.lazy.js +1 -1
- package/components/notification/notification.less +0 -3
- package/components/page/page-md.less +40 -10
- package/components/page/page-transitions/circle.less +15 -9
- package/components/page/page-transitions/fade.less +17 -11
- package/components/page/page-transitions/flip.less +9 -4
- package/components/page/page-vars.less +3 -19
- package/components/page/page.less +2 -10
- package/components/panel/panel-class.js +23 -127
- package/components/panel/panel-md.less +9 -0
- package/components/panel/panel-rtl.css +1 -1
- package/components/panel/panel-vars.less +7 -21
- package/components/panel/panel.css +1 -1
- package/components/panel/panel.d.ts +2 -2
- package/components/panel/panel.js +0 -34
- package/components/panel/panel.lazy.js +1 -1
- package/components/panel/panel.less +56 -48
- package/components/panel/resizable-panel.js +2 -32
- package/components/panel/swipe-panel.js +16 -71
- package/components/photo-browser/photo-browser-class.js +41 -171
- package/components/photo-browser/photo-browser-rtl.css +1 -1
- package/components/photo-browser/photo-browser-vars.less +0 -3
- package/components/photo-browser/photo-browser.css +1 -1
- package/components/photo-browser/photo-browser.d.ts +2 -4
- package/components/photo-browser/photo-browser.js +1 -6
- package/components/photo-browser/photo-browser.lazy.js +1 -1
- package/components/photo-browser/photo-browser.less +0 -4
- package/components/picker/picker-class.js +26 -133
- package/components/picker/picker-column.js +11 -31
- package/components/picker/picker-ios.less +10 -0
- package/components/picker/picker-md.less +6 -0
- package/components/picker/picker-rtl.css +1 -1
- package/components/picker/picker-vars.less +9 -25
- package/components/picker/picker.css +1 -1
- package/components/picker/picker.js +0 -4
- package/components/picker/picker.lazy.js +1 -1
- package/components/picker/picker.less +0 -11
- package/components/pie-chart/pie-chart-class.js +8 -31
- package/components/pie-chart/pie-chart.js +0 -3
- package/components/pie-chart/pie-chart.less +0 -3
- package/components/popover/popover-class.js +72 -126
- package/components/popover/popover-ios.less +0 -50
- package/components/popover/popover-rtl.css +1 -1
- package/components/popover/popover-vars.less +6 -23
- package/components/popover/popover.css +1 -1
- package/components/popover/popover.d.ts +2 -0
- package/components/popover/popover.js +1 -12
- package/components/popover/popover.lazy.js +1 -1
- package/components/popover/popover.less +62 -5
- package/components/popup/popup-class.js +12 -78
- package/components/popup/popup-rtl.css +1 -1
- package/components/popup/popup-vars.less +7 -9
- package/components/popup/popup.css +1 -1
- package/components/popup/popup.js +0 -4
- package/components/popup/popup.lazy.js +1 -1
- package/components/popup/popup.less +4 -4
- package/components/preloader/preloader-ios.less +3 -1
- package/components/preloader/preloader-md.less +5 -1
- package/components/preloader/preloader-rtl.css +1 -1
- package/components/preloader/preloader-vars.less +0 -6
- package/components/preloader/preloader.css +1 -1
- package/components/preloader/preloader.js +8 -25
- package/components/preloader/preloader.lazy.js +1 -1
- package/components/preloader/preloader.less +6 -3
- package/components/progressbar/progressbar-rtl.css +1 -1
- package/components/progressbar/progressbar-vars.less +2 -12
- package/components/progressbar/progressbar.css +1 -1
- package/components/progressbar/progressbar.js +2 -31
- package/components/progressbar/progressbar.less +0 -3
- package/components/pull-to-refresh/pull-to-refresh-class.js +15 -107
- package/components/pull-to-refresh/pull-to-refresh-md.less +2 -1
- package/components/pull-to-refresh/pull-to-refresh-rtl.css +1 -1
- package/components/pull-to-refresh/pull-to-refresh-vars.less +0 -4
- package/components/pull-to-refresh/pull-to-refresh.css +1 -1
- package/components/pull-to-refresh/pull-to-refresh.js +0 -8
- package/components/pull-to-refresh/pull-to-refresh.lazy.js +1 -1
- package/components/pull-to-refresh/pull-to-refresh.less +0 -3
- package/components/radio/radio-rtl.css +1 -1
- package/components/radio/radio-vars.less +0 -7
- package/components/radio/radio.css +1 -1
- package/components/radio/radio.less +12 -5
- package/components/range/range-class.js +27 -112
- package/components/range/range-rtl.css +1 -1
- package/components/range/range-vars.less +10 -32
- package/components/range/range.css +1 -1
- package/components/range/range.js +0 -12
- package/components/range/range.less +0 -3
- package/components/searchbar/remove-diacritics.js +0 -4
- package/components/searchbar/searchbar-class.js +17 -138
- package/components/searchbar/searchbar-md.less +41 -16
- package/components/searchbar/searchbar-rtl.css +1 -1
- package/components/searchbar/searchbar-vars.less +25 -76
- package/components/searchbar/searchbar.css +1 -1
- package/components/searchbar/searchbar.d.ts +2 -2
- package/components/searchbar/searchbar.js +0 -15
- package/components/searchbar/searchbar.lazy.js +1 -1
- package/components/searchbar/searchbar.less +14 -28
- package/components/sheet/sheet-class.js +15 -110
- package/components/sheet/sheet-rtl.css +1 -1
- package/components/sheet/sheet-vars.less +17 -6
- package/components/sheet/sheet.css +1 -1
- package/components/sheet/sheet.js +0 -9
- package/components/sheet/sheet.lazy.js +1 -1
- package/components/sheet/sheet.less +10 -3
- package/components/skeleton/skeleton.less +1 -4
- package/components/smart-select/smart-select-class.js +36 -173
- package/components/smart-select/smart-select.d.ts +1 -3
- package/components/smart-select/smart-select.js +1 -14
- package/components/smart-select/smart-select.lazy.js +1 -1
- package/components/smart-select/smart-select.less +0 -3
- package/components/sortable/sortable-rtl.css +1 -1
- package/components/sortable/sortable-vars.less +8 -8
- package/components/sortable/sortable.css +1 -1
- package/components/sortable/sortable.js +0 -44
- package/components/sortable/sortable.less +0 -3
- package/components/statusbar/statusbar.js +0 -36
- package/components/statusbar/statusbar.less +0 -3
- package/components/stepper/stepper-class.js +10 -83
- package/components/stepper/stepper-rtl.css +1 -1
- package/components/stepper/stepper-vars.less +12 -24
- package/components/stepper/stepper.css +1 -1
- package/components/stepper/stepper.js +0 -12
- package/components/stepper/stepper.less +12 -23
- package/components/subnavbar/subnavbar-vars.less +3 -18
- package/components/subnavbar/subnavbar.js +0 -3
- package/components/subnavbar/subnavbar.less +1 -11
- package/components/swipeout/swipeout-rtl.css +1 -1
- package/components/swipeout/swipeout-vars.less +7 -6
- package/components/swipeout/swipeout.css +1 -1
- package/components/swipeout/swipeout.js +2 -99
- package/components/swipeout/swipeout.less +2 -7
- package/components/swiper/swiper-rtl.css +1 -1
- package/components/swiper/swiper.css +1 -1
- package/components/swiper/swiper.js +9 -30
- package/components/swiper/swiper.lazy.js +1 -1
- package/components/swiper/swiper.less +1 -16
- package/components/tabs/tabs-rtl.css +1 -1
- package/components/tabs/tabs.css +1 -1
- package/components/tabs/tabs.js +23 -60
- package/components/tabs/tabs.lazy.js +1 -1
- package/components/tabs/tabs.less +1 -3
- package/components/text-editor/text-editor-class.js +16 -102
- package/components/text-editor/text-editor-rtl.css +1 -1
- package/components/text-editor/text-editor-vars.less +12 -16
- package/components/text-editor/text-editor.css +1 -1
- package/components/text-editor/text-editor.js +0 -8
- package/components/text-editor/text-editor.lazy.js +1 -1
- package/components/text-editor/text-editor.less +0 -6
- package/components/timeline/timeline-rtl.css +1 -1
- package/components/timeline/timeline-vars.less +13 -47
- package/components/timeline/timeline.css +1 -1
- package/components/timeline/timeline.less +2 -9
- package/components/toast/toast-class.js +2 -16
- package/components/toast/toast-rtl.css +1 -1
- package/components/toast/toast-vars.less +5 -9
- package/components/toast/toast.css +1 -1
- package/components/toast/toast.js +0 -3
- package/components/toast/toast.less +0 -3
- package/components/toggle/toggle-class.js +6 -30
- package/components/toggle/toggle-ios.less +5 -1
- package/components/toggle/toggle-md.less +27 -11
- package/components/toggle/toggle-rtl.css +1 -1
- package/components/toggle/toggle-vars.less +19 -21
- package/components/toggle/toggle.css +1 -1
- package/components/toggle/toggle.js +0 -8
- package/components/toggle/toggle.less +0 -4
- package/components/toolbar/toolbar-ios.less +2 -2
- package/components/toolbar/toolbar-md.less +28 -4
- package/components/toolbar/toolbar-vars.less +17 -52
- package/components/toolbar/toolbar.js +5 -43
- package/components/toolbar/toolbar.less +27 -45
- package/components/tooltip/tooltip-class.js +10 -64
- package/components/tooltip/tooltip-rtl.css +1 -1
- package/components/tooltip/tooltip-vars.less +12 -3
- package/components/tooltip/tooltip.css +1 -1
- package/components/tooltip/tooltip.js +0 -15
- package/components/tooltip/tooltip.less +0 -3
- package/components/touch-ripple/touch-ripple-class.js +0 -13
- package/components/touch-ripple/touch-ripple.js +0 -4
- package/components/touch-ripple/touch-ripple.less +1 -5
- package/components/treeview/treeview-rtl.css +1 -1
- package/components/treeview/treeview-vars.less +0 -3
- package/components/treeview/treeview.css +1 -1
- package/components/treeview/treeview.js +2 -11
- package/components/treeview/treeview.lazy.js +1 -1
- package/components/treeview/treeview.less +0 -3
- package/components/typography/typography-rtl.css +1 -1
- package/components/typography/typography.css +1 -1
- package/components/typography/typography.less +25 -3
- package/components/view/resizable-view.js +2 -24
- package/components/view/view-class.js +28 -53
- package/components/view/view.d.ts +0 -14
- package/components/view/view.js +8 -32
- package/components/view/view.less +1 -4
- package/components/virtual-list/virtual-list-class.js +58 -146
- package/components/virtual-list/virtual-list.d.ts +1 -1
- package/components/virtual-list/virtual-list.js +0 -2
- package/components/virtual-list/virtual-list.lazy.js +1 -1
- package/components/virtual-list/virtual-list.less +0 -3
- package/framework7-bundle-rtl.css +3593 -5977
- package/framework7-bundle-rtl.min.css +3 -3
- package/framework7-bundle.css +3591 -5978
- package/framework7-bundle.esm.js +4 -10
- package/framework7-bundle.js +6063 -12044
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -27
- package/framework7-bundle.min.css +3 -3
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +4 -10
- package/framework7-lite.esm.js +4 -6
- package/framework7-lite.js +31 -0
- package/framework7-rtl.css +803 -1591
- package/framework7-rtl.min.css +3 -3
- package/framework7-types.d.ts +1 -32
- package/framework7.css +803 -1594
- package/framework7.d.ts +1 -32
- package/framework7.esm.js +4 -6
- package/framework7.js +1770 -3407
- package/framework7.js.map +1 -1
- package/framework7.less +2 -23
- package/framework7.min.css +3 -3
- package/framework7.min.js +3 -3
- package/framework7.min.js.map +1 -1
- package/less/mixins.less +7 -88
- package/less/plugin.js +15 -0
- package/modules/clicks/clicks.js +10 -22
- package/modules/component/$h.js +0 -3
- package/modules/component/$jsx.js +0 -5
- package/modules/component/component-class.js +13 -66
- package/modules/component/component.d.ts +1 -2
- package/modules/component/component.js +0 -8
- package/modules/component/eventslisteners.js +12 -20
- package/modules/component/parse-component.js +18 -20
- package/modules/component/snabbdom/h.js +3 -12
- package/modules/component/snabbdom/helpers/attachto.js +9 -14
- package/modules/component/snabbdom/htmldomapi.js +0 -16
- package/modules/component/snabbdom/modules/attributes.js +7 -11
- package/modules/component/snabbdom/modules/class.js +4 -8
- package/modules/component/snabbdom/modules/dataset.js +3 -7
- package/modules/component/snabbdom/modules/eventlisteners.js +16 -22
- package/modules/component/snabbdom/modules/hero.js +4 -44
- package/modules/component/snabbdom/modules/props.js +5 -9
- package/modules/component/snabbdom/modules/style.js +13 -30
- package/modules/component/snabbdom/snabbdom.bundle.js +0 -6
- package/modules/component/snabbdom/snabbdom.js +13 -72
- package/modules/component/snabbdom/thunk.js +3 -11
- package/modules/component/snabbdom/tovnode.js +1 -6
- package/modules/component/vdom.js +4 -62
- package/modules/demo-module.js +0 -8
- package/modules/device/device.js +6 -11
- package/modules/history/history.js +0 -1
- package/modules/resize/resize.js +8 -11
- package/modules/router/async-component.js +0 -3
- package/modules/router/back.js +86 -275
- package/modules/router/clear-previous-history.js +5 -18
- package/modules/router/component-loader.js +4 -25
- package/modules/router/modal.js +16 -43
- package/modules/router/navigate.js +80 -249
- package/modules/router/process-route-queue.js +0 -12
- package/modules/router/redirect.js +0 -8
- package/modules/router/router-class.js +92 -315
- package/modules/router/router.d.ts +3 -5
- package/modules/router/router.js +0 -3
- package/modules/router/swipe-back.js +35 -139
- package/modules/router/tab.js +14 -43
- package/modules/service-worker/service-worker.js +0 -11
- package/modules/store/create-store.js +10 -29
- package/modules/touch/touch.d.ts +2 -4
- package/modules/touch/touch.js +13 -108
- package/package.json +4 -18
- package/shared/$jsx.js +0 -6
- package/shared/class.js +18 -43
- package/shared/constructor-methods.js +0 -11
- package/shared/events-class.js +0 -17
- package/shared/get-device.js +18 -34
- package/shared/get-support.js +2 -8
- package/shared/history.js +2 -30
- package/shared/material-color-utils.js +728 -0
- package/shared/material-colors.js +75 -0
- package/shared/modal-methods.js +0 -18
- package/shared/utils.d.ts +0 -4
- package/shared/utils.js +191 -71
- package/components/accordion/accordion-aurora.less +0 -2
- package/components/actions/actions-aurora.less +0 -9
- package/components/app/app-aurora.less +0 -10
- package/components/appbar/appbar-aurora.less +0 -2
- package/components/appbar/appbar-ios.less +0 -2
- package/components/appbar/appbar-md.less +0 -2
- package/components/appbar/appbar-rtl.css +0 -1
- package/components/appbar/appbar-vars.less +0 -28
- package/components/appbar/appbar.css +0 -1
- package/components/appbar/appbar.d.ts +0 -14
- package/components/appbar/appbar.js +0 -3
- package/components/appbar/appbar.lazy.js +0 -1
- package/components/appbar/appbar.less +0 -106
- package/components/area-chart/area-chart-aurora.less +0 -2
- package/components/autocomplete/autocomplete-aurora.less +0 -17
- package/components/badge/badge-aurora.less +0 -2
- package/components/block/block-aurora.less +0 -2
- package/components/breadcrumbs/breadcrumbs-aurora.less +0 -2
- package/components/button/button-aurora.less +0 -25
- package/components/calendar/calendar-aurora.less +0 -2
- package/components/card/card-aurora.less +0 -2
- package/components/checkbox/checkbox-aurora.less +0 -39
- package/components/chip/chip-aurora.less +0 -14
- package/components/color-picker/color-picker-aurora.less +0 -2
- package/components/contacts-list/contacts-list-aurora.less +0 -2
- package/components/data-table/data-table-aurora.less +0 -64
- package/components/dialog/dialog-aurora.less +0 -112
- package/components/elevation/elevation-aurora.less +0 -2
- package/components/elevation/elevation-ios.less +0 -2
- package/components/elevation/elevation-md.less +0 -2
- package/components/elevation/elevation-rtl.css +0 -1
- package/components/elevation/elevation-vars.less +0 -51
- package/components/elevation/elevation.css +0 -1
- package/components/elevation/elevation.d.ts +0 -14
- package/components/elevation/elevation.js +0 -3
- package/components/elevation/elevation.lazy.js +0 -1
- package/components/elevation/elevation.less +0 -54
- package/components/fab/fab-aurora.less +0 -2
- package/components/form/form-aurora.less +0 -0
- package/components/gauge/gauge-aurora.less +0 -2
- package/components/grid/grid-aurora.less +0 -2
- package/components/icon/icon-aurora.less +0 -49
- package/components/infinite-scroll/infinite-scroll-aurora.less +0 -6
- package/components/input/input-aurora.less +0 -120
- package/components/lazy/lazy-aurora.less +0 -2
- package/components/lazy/lazy-ios.less +0 -2
- package/components/lazy/lazy-md.less +0 -2
- package/components/lazy/lazy-rtl.css +0 -1
- package/components/lazy/lazy.css +0 -1
- package/components/lazy/lazy.d.ts +0 -57
- package/components/lazy/lazy.js +0 -283
- package/components/lazy/lazy.lazy.js +0 -1
- package/components/lazy/lazy.less +0 -23
- package/components/link/link-aurora.less +0 -15
- package/components/list/list-aurora.less +0 -25
- package/components/list-index/list-index-aurora.less +0 -21
- package/components/login-screen/login-screen-aurora.less +0 -2
- package/components/menu/menu-aurora.less +0 -8
- package/components/menu/menu-ios.less +0 -2
- package/components/menu/menu-md.less +0 -2
- package/components/menu/menu-rtl.css +0 -1
- package/components/menu/menu-vars.less +0 -27
- package/components/menu/menu.css +0 -1
- package/components/menu/menu.d.ts +0 -32
- package/components/menu/menu.js +0 -87
- package/components/menu/menu.lazy.js +0 -1
- package/components/menu/menu.less +0 -232
- package/components/messagebar/messagebar-aurora.less +0 -53
- package/components/messages/messages-aurora.less +0 -137
- package/components/navbar/navbar-aurora.less +0 -70
- package/components/notification/notification-aurora.less +0 -59
- package/components/page/page-aurora.less +0 -49
- package/components/panel/panel-aurora.less +0 -2
- package/components/photo-browser/photo-browser-aurora.less +0 -2
- package/components/picker/picker-aurora.less +0 -2
- package/components/pie-chart/pie-chart-aurora.less +0 -2
- package/components/popover/popover-aurora.less +0 -56
- package/components/popup/popup-aurora.less +0 -2
- package/components/preloader/preloader-aurora.less +0 -53
- package/components/progressbar/progressbar-aurora.less +0 -72
- package/components/pull-to-refresh/pull-to-refresh-aurora.less +0 -122
- package/components/radio/radio-aurora.less +0 -86
- package/components/range/range-aurora.less +0 -9
- package/components/searchbar/searchbar-aurora.less +0 -86
- package/components/sheet/sheet-aurora.less +0 -2
- package/components/skeleton/skeleton-aurora.less +0 -2
- package/components/smart-select/smart-select-aurora.less +0 -2
- package/components/sortable/sortable-aurora.less +0 -7
- package/components/statusbar/statusbar-aurora.less +0 -2
- package/components/stepper/stepper-aurora.less +0 -32
- package/components/subnavbar/subnavbar-aurora.less +0 -51
- package/components/swipeout/swipeout-aurora.less +0 -2
- package/components/swiper/swiper-aurora.less +0 -2
- package/components/tabs/tabs-aurora.less +0 -2
- package/components/text-editor/text-editor-aurora.less +0 -9
- package/components/timeline/timeline-aurora.less +0 -7
- package/components/toast/toast-aurora.less +0 -64
- package/components/toggle/toggle-aurora.less +0 -26
- package/components/toolbar/toolbar-aurora.less +0 -43
- package/components/tooltip/tooltip-aurora.less +0 -2
- package/components/touch-ripple/touch-ripple-aurora.less +0 -2
- package/components/treeview/treeview-aurora.less +0 -31
- package/components/typography/typography-aurora.less +0 -2
- package/components/view/view-aurora.less +0 -2
- package/components/virtual-list/virtual-list-aurora.less +0 -2
- package/modules/request/request.d.ts +0 -15
- package/modules/request/request.js +0 -11
- package/postinstall.js +0 -3
- package/shared/request.d.ts +0 -115
- package/shared/request.js +0 -512
|
@@ -3,19 +3,15 @@
|
|
|
3
3
|
--f7-stepper-button-text-color: var(--f7-theme-color);
|
|
4
4
|
--f7-stepper-button-pressed-text-color: var(--f7-button-text-color, var(--f7-theme-color));
|
|
5
5
|
--f7-stepper-value-text-color: var(--f7-theme-color);
|
|
6
|
-
*/
|
|
7
|
-
--f7-stepper-fill-button-text-color: #fff;
|
|
8
|
-
/*
|
|
9
6
|
--f7-stepper-fill-button-bg-color: var(--f7-theme-color);
|
|
10
7
|
*/
|
|
11
8
|
--f7-stepper-raised-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
|
12
9
|
--f7-stepper-value-font-weight: 500;
|
|
13
|
-
--f7-stepper-border-width: 2px;
|
|
14
|
-
--f7-stepper-small-border-width: 2px;
|
|
15
10
|
}
|
|
16
11
|
.ios-vars({
|
|
17
12
|
--f7-stepper-height: 28px;
|
|
18
13
|
--f7-stepper-border-radius: 5px;
|
|
14
|
+
--f7-stepper-fill-button-text-color: #fff;
|
|
19
15
|
/*
|
|
20
16
|
--f7-stepper-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
|
|
21
17
|
--f7-stepper-fill-button-pressed-bg-color: var(--f7-theme-color-tint);
|
|
@@ -23,29 +19,21 @@
|
|
|
23
19
|
--f7-stepper-large-height: 44px;
|
|
24
20
|
--f7-stepper-small-height: 26px;
|
|
25
21
|
--f7-stepper-value-font-size: 17px;
|
|
22
|
+
--f7-stepper-border-width: 2px;
|
|
23
|
+
--f7-stepper-border-color: var(--f7-theme-color);
|
|
24
|
+
--f7-stepper-small-border-width: 2px;
|
|
26
25
|
});
|
|
27
26
|
.md-vars({
|
|
28
|
-
--f7-stepper-height:
|
|
29
|
-
--f7-stepper-border-radius:
|
|
30
|
-
/*
|
|
31
|
-
--f7-stepper-fill-button-pressed-bg-color: var(--f7-theme-color-shade);
|
|
32
|
-
*/
|
|
27
|
+
--f7-stepper-height: 40px;
|
|
28
|
+
--f7-stepper-border-radius: 8px;
|
|
33
29
|
--f7-stepper-large-height: 48px;
|
|
34
|
-
--f7-stepper-small-height:
|
|
30
|
+
--f7-stepper-small-height: 32px;
|
|
35
31
|
--f7-stepper-value-font-size: 14px;
|
|
32
|
+
--f7-stepper-border-width: 1px;
|
|
33
|
+
--f7-stepper-small-border-width: 1px;
|
|
36
34
|
});
|
|
37
|
-
.
|
|
38
|
-
|
|
39
|
-
--f7-stepper-button-hover-bg-color: rgba(var(--f7-theme-color-rgb), .07);
|
|
40
|
-
--f7-stepper-button-fill-hover-bg-color: var(--f7-theme-color-tint);
|
|
41
|
-
*/
|
|
42
|
-
--f7-stepper-height: 36px;
|
|
43
|
-
--f7-stepper-border-radius: 8px;
|
|
44
|
-
/*
|
|
45
|
-
--f7-stepper-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
|
|
35
|
+
.md-color-vars({
|
|
36
|
+
--f7-stepper-fill-button-text-color: var(--f7-md-on-primary);
|
|
46
37
|
--f7-stepper-fill-button-pressed-bg-color: var(--f7-theme-color-shade);
|
|
47
|
-
|
|
48
|
-
--f7-stepper-large-height: 48px;
|
|
49
|
-
--f7-stepper-small-height: 28px;
|
|
50
|
-
--f7-stepper-value-font-size: 14px;
|
|
38
|
+
--f7-stepper-border-color: var(--f7-md-outline);
|
|
51
39
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--f7-stepper-
|
|
1
|
+
:root{--f7-stepper-raised-box-shadow:0 1px 3px rgba(0, 0, 0, 0.12),0 1px 2px rgba(0, 0, 0, 0.24);--f7-stepper-value-font-weight:500}.ios{--f7-stepper-height:28px;--f7-stepper-border-radius:5px;--f7-stepper-fill-button-text-color:#fff;--f7-stepper-large-height:44px;--f7-stepper-small-height:26px;--f7-stepper-value-font-size:17px;--f7-stepper-border-width:2px;--f7-stepper-border-color:var(--f7-theme-color);--f7-stepper-small-border-width:2px}.md{--f7-stepper-height:40px;--f7-stepper-border-radius:8px;--f7-stepper-large-height:48px;--f7-stepper-small-height:32px;--f7-stepper-value-font-size:14px;--f7-stepper-border-width:1px;--f7-stepper-small-border-width:1px}.md,.md .dark,.md [class*=color-]{--f7-stepper-fill-button-text-color:var(--f7-md-on-primary);--f7-stepper-fill-button-pressed-bg-color:var(--f7-theme-color-shade);--f7-stepper-border-color:var(--f7-md-outline)}.stepper{--f7-touch-ripple-color:rgba(var(--f7-theme-color-rgb), 0.25);display:inline-flex;align-items:stretch;height:var(--f7-stepper-height);border-radius:var(--f7-stepper-border-radius)}.stepper-button,.stepper-button-minus,.stepper-button-plus{background-color:var(--f7-stepper-button-bg-color);width:40px;border-radius:var(--f7-stepper-border-radius);border:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);color:var(--f7-stepper-button-text-color,var(--f7-theme-color));line-height:calc(var(--f7-stepper-height) - var(--f7-stepper-border-width, 0px));text-align:center;display:flex;justify-content:center;align-content:center;align-items:center;flex-shrink:0;box-sizing:border-box;position:relative;cursor:pointer}.stepper-button-minus.active-state,.stepper-button-plus.active-state,.stepper-button.active-state{background-color:var(--f7-stepper-button-pressed-bg-color,rgba(var(--f7-theme-color-rgb),.15));color:var(--f7-stepper-button-pressed-text-color,var(--f7-stepper-button-text-color,var(--f7-theme-color)))}.stepper-button-minus:first-child,.stepper-button-plus:first-child,.stepper-button:first-child{border-radius:var(--f7-stepper-border-radius) 0 0 var(--f7-stepper-border-radius)}.stepper-button-minus:last-child,.stepper-button-plus:last-child,.stepper-button:last-child{border-radius:0 var(--f7-stepper-border-radius) var(--f7-stepper-border-radius) 0}.stepper-button .icon,.stepper-button-minus .icon,.stepper-button-plus .icon{pointer-events:none}.stepper-button+.stepper-button,.stepper-button+.stepper-button-minus,.stepper-button+.stepper-button-plus,.stepper-button-minus+.stepper-button,.stepper-button-minus+.stepper-button-minus,.stepper-button-minus+.stepper-button-plus,.stepper-button-plus+.stepper-button,.stepper-button-plus+.stepper-button-minus,.stepper-button-plus+.stepper-button-plus{border-left:none}.stepper-button-minus,.stepper-button-plus{-webkit-user-select:none;user-select:none}.stepper-button-minus:after,.stepper-button-minus:before,.stepper-button-plus:after,.stepper-button-plus:before{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background-color:var(--f7-stepper-button-text-color,var(--f7-theme-color));border-radius:2px}.stepper-button-minus:after,.stepper-button-plus:after{width:15px;height:2px}.stepper-button-plus:before{height:15px;width:2px}.stepper-value{display:flex;align-content:center;align-items:center;justify-content:center}.stepper-input-wrap,.stepper-value{flex-shrink:1;text-align:center;border-top:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);border-bottom:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color)}.stepper .stepper-input-wrap input,.stepper-value{width:45px;color:var(--f7-stepper-value-text-color,var(--f7-theme-color));font-size:var(--f7-stepper-value-font-size);font-weight:var(--f7-stepper-value-font-weight);text-align:center}.stepper .stepper-input-wrap input{height:100%}.ios .stepper-round-ios,.md .stepper-round-md,.stepper-round{--f7-stepper-border-radius:var(--f7-stepper-height)}.ios .stepper-fill-ios,.md .stepper-fill-md,.stepper-fill{--f7-stepper-border-color:var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color));--f7-stepper-button-bg-color:var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color));--f7-stepper-button-text-color:var(--f7-stepper-fill-button-text-color);--f7-touch-ripple-color:var(--f7-touch-ripple-white)}.ios .stepper-fill-ios .stepper-button+.stepper-button,.ios .stepper-fill-ios .stepper-button-minus+.stepper-button-plus,.ios .stepper-raised-ios .stepper-button+.stepper-button,.ios .stepper-raised-ios .stepper-button-minus+.stepper-button-plus,.md .stepper-fill-md .stepper-button+.stepper-button,.md .stepper-fill-md .stepper-button-minus+.stepper-button-plus,.md .stepper-raised-md .stepper-button+.stepper-button,.md .stepper-raised-md .stepper-button-minus+.stepper-button-plus,.stepper-fill .stepper-button+.stepper-button,.stepper-fill .stepper-button-minus+.stepper-button-plus,.stepper-raised .stepper-button+.stepper-button,.stepper-raised .stepper-button-minus+.stepper-button-plus{border-left:1px solid rgba(0,0,0,.1)}.ios .stepper-fill-ios .stepper-button+.stepper-button.active-state,.ios .stepper-fill-ios .stepper-button-minus+.stepper-button-plus.active-state,.md .stepper-fill-md .stepper-button+.stepper-button.active-state,.md .stepper-fill-md .stepper-button-minus+.stepper-button-plus.active-state,.stepper-fill .stepper-button+.stepper-button.active-state,.stepper-fill .stepper-button-minus+.stepper-button-plus.active-state{border-left-color:var(--f7-stepper-button-pressed-bg-color)}.ios .stepper-raised-ios:not(.stepper-fill-ios):not(.stepper-fill) .stepper-input-wrap,.ios .stepper-raised-ios:not(.stepper-fill-ios):not(.stepper-fill) .stepper-value,.md .stepper-raised-md:not(.stepper-fill-md):not(.stepper-fill) .stepper-input-wrap,.md .stepper-raised-md:not(.stepper-fill-md):not(.stepper-fill) .stepper-value,.stepper-raised:not(.stepper-fill) .stepper-input-wrap,.stepper-raised:not(.stepper-fill) .stepper-value{border-left:1px solid rgba(0,0,0,.1);border-right:1px solid rgba(0,0,0,.1)}.ios .stepper-large-ios,.md .stepper-large-md,.stepper-large{--f7-stepper-height:var(--f7-stepper-large-height)}.ios .stepper-small-ios,.md .stepper-small-md,.stepper-small{--f7-stepper-border-width:var(--f7-stepper-small-border-width);--f7-stepper-height:var(--f7-stepper-small-height)}.ios .stepper-fill.stepper-small,.ios .stepper-fill.stepper-small-ios{--f7-stepper-button-pressed-bg-color:transparent;--f7-stepper-button-pressed-text-color:var(--f7-theme-color)}.ios .stepper-raised-ios,.md .stepper-raised-md,.stepper-raised{--f7-stepper-border-width:0;box-shadow:var(--f7-stepper-raised-box-shadow)}.ios .stepper-button .f7-icons,.ios .stepper-button-minus .f7-icons,.ios .stepper-button-plus .f7-icons{font-size:22px}.ios .stepper-fill,.ios .stepper-fill-ios{--f7-stepper-button-pressed-bg-color:var(--f7-stepper-fill-button-pressed-bg-color, var(--f7-theme-color-tint))}.ios .stepper-small-ios.stepper-raised,.ios .stepper-small-ios.stepper-raised-ios,.ios .stepper-small.stepper-raised,.ios .stepper-small.stepper-raised-ios{--f7-stepper-border-width:0px}.ios .stepper-small .stepper-button,.ios .stepper-small .stepper-button-minus,.ios .stepper-small .stepper-button-plus,.ios .stepper-small-ios .stepper-button,.ios .stepper-small-ios .stepper-button-minus,.ios .stepper-small-ios .stepper-button-plus{transition-duration:.2s}.ios .stepper-small .stepper-button-minus.active-state:after,.ios .stepper-small .stepper-button-minus.active-state:before,.ios .stepper-small .stepper-button-plus.active-state:after,.ios .stepper-small .stepper-button-plus.active-state:before,.ios .stepper-small .stepper-button.active-state:after,.ios .stepper-small .stepper-button.active-state:before,.ios .stepper-small-ios .stepper-button-minus.active-state:after,.ios .stepper-small-ios .stepper-button-minus.active-state:before,.ios .stepper-small-ios .stepper-button-plus.active-state:after,.ios .stepper-small-ios .stepper-button-plus.active-state:before,.ios .stepper-small-ios .stepper-button.active-state:after,.ios .stepper-small-ios .stepper-button.active-state:before{transition-duration:.2s;background-color:var(--f7-theme-color)}.md .stepper-button,.md .stepper-button-minus,.md .stepper-button-plus{transition-duration:.3s;transform:translate3d(0,0,0);overflow:hidden}.md .stepper-fill,.md .stepper-fill-md{--f7-stepper-button-pressed-bg-color:var(--f7-stepper-fill-button-pressed-bg-color, var(--f7-theme-color-shade))}
|
|
@@ -4,7 +4,6 @@ import Stepper from './stepper-class.js';
|
|
|
4
4
|
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'stepper',
|
|
7
|
-
|
|
8
7
|
create() {
|
|
9
8
|
const app = this;
|
|
10
9
|
app.stepper = extend(ConstructorMethods({
|
|
@@ -17,25 +16,20 @@ export default {
|
|
|
17
16
|
if (el === void 0) {
|
|
18
17
|
el = '.stepper';
|
|
19
18
|
}
|
|
20
|
-
|
|
21
19
|
const stepper = app.stepper.get(el);
|
|
22
20
|
if (stepper) return stepper.getValue();
|
|
23
21
|
return undefined;
|
|
24
22
|
},
|
|
25
|
-
|
|
26
23
|
setValue(el, value) {
|
|
27
24
|
if (el === void 0) {
|
|
28
25
|
el = '.stepper';
|
|
29
26
|
}
|
|
30
|
-
|
|
31
27
|
const stepper = app.stepper.get(el);
|
|
32
28
|
if (stepper) return stepper.setValue(value);
|
|
33
29
|
return undefined;
|
|
34
30
|
}
|
|
35
|
-
|
|
36
31
|
});
|
|
37
32
|
},
|
|
38
|
-
|
|
39
33
|
static: {
|
|
40
34
|
Stepper
|
|
41
35
|
},
|
|
@@ -49,13 +43,11 @@ export default {
|
|
|
49
43
|
}, dataset || {}));
|
|
50
44
|
});
|
|
51
45
|
},
|
|
52
|
-
|
|
53
46
|
tabBeforeRemove(tabEl) {
|
|
54
47
|
$(tabEl).find('.stepper-init').each(stepperEl => {
|
|
55
48
|
if (stepperEl.f7Stepper) stepperEl.f7Stepper.destroy();
|
|
56
49
|
});
|
|
57
50
|
},
|
|
58
|
-
|
|
59
51
|
pageInit(page) {
|
|
60
52
|
const app = this;
|
|
61
53
|
page.$el.find('.stepper-init').each(stepperEl => {
|
|
@@ -65,13 +57,11 @@ export default {
|
|
|
65
57
|
}, dataset || {}));
|
|
66
58
|
});
|
|
67
59
|
},
|
|
68
|
-
|
|
69
60
|
pageBeforeRemove(page) {
|
|
70
61
|
page.$el.find('.stepper-init').each(stepperEl => {
|
|
71
62
|
if (stepperEl.f7Stepper) stepperEl.f7Stepper.destroy();
|
|
72
63
|
});
|
|
73
64
|
}
|
|
74
|
-
|
|
75
65
|
},
|
|
76
66
|
vnode: {
|
|
77
67
|
'stepper-init': {
|
|
@@ -83,12 +73,10 @@ export default {
|
|
|
83
73
|
el: stepperEl
|
|
84
74
|
}, dataset || {}));
|
|
85
75
|
},
|
|
86
|
-
|
|
87
76
|
destroy(vnode) {
|
|
88
77
|
const stepperEl = vnode.elm;
|
|
89
78
|
if (stepperEl.f7Stepper) stepperEl.f7Stepper.destroy();
|
|
90
79
|
}
|
|
91
|
-
|
|
92
80
|
}
|
|
93
81
|
}
|
|
94
82
|
};
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
background-color: var(--f7-stepper-button-bg-color);
|
|
19
19
|
width: 40px;
|
|
20
20
|
border-radius: var(--f7-stepper-border-radius);
|
|
21
|
-
border: var(--f7-stepper-border-width) solid var(--f7-
|
|
21
|
+
border: var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);
|
|
22
22
|
color: var(--f7-stepper-button-text-color, var(--f7-theme-color));
|
|
23
23
|
line-height: calc(var(--f7-stepper-height) - var(--f7-stepper-border-width, 0px));
|
|
24
24
|
text-align: center;
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
.stepper-value {
|
|
91
91
|
flex-shrink: 1;
|
|
92
92
|
text-align: center;
|
|
93
|
-
border-top: var(--f7-stepper-border-width) solid var(--f7-
|
|
94
|
-
border-bottom: var(--f7-stepper-border-width) solid var(--f7-
|
|
93
|
+
border-top: var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);
|
|
94
|
+
border-bottom: var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);
|
|
95
95
|
}
|
|
96
96
|
.stepper .stepper-input-wrap input,
|
|
97
97
|
.stepper-value {
|
|
@@ -106,14 +106,13 @@
|
|
|
106
106
|
}
|
|
107
107
|
.stepper-round,
|
|
108
108
|
.ios .stepper-round-ios,
|
|
109
|
-
.md .stepper-round-md
|
|
110
|
-
.aurora .stepper-round-aurora {
|
|
109
|
+
.md .stepper-round-md {
|
|
111
110
|
--f7-stepper-border-radius: var(--f7-stepper-height);
|
|
112
111
|
}
|
|
113
112
|
.stepper-fill,
|
|
114
113
|
.ios .stepper-fill-ios,
|
|
115
|
-
.md .stepper-fill-md
|
|
116
|
-
|
|
114
|
+
.md .stepper-fill-md {
|
|
115
|
+
--f7-stepper-border-color: var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color));
|
|
117
116
|
--f7-stepper-button-bg-color: var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color));
|
|
118
117
|
--f7-stepper-button-text-color: var(--f7-stepper-fill-button-text-color);
|
|
119
118
|
--f7-touch-ripple-color: var(--f7-touch-ripple-white);
|
|
@@ -121,11 +120,9 @@
|
|
|
121
120
|
.stepper-fill,
|
|
122
121
|
.ios .stepper-fill-ios,
|
|
123
122
|
.md .stepper-fill-md,
|
|
124
|
-
.aurora .stepper-fill-aurora,
|
|
125
123
|
.stepper-raised,
|
|
126
124
|
.ios .stepper-raised-ios,
|
|
127
|
-
.md .stepper-raised-md
|
|
128
|
-
.aurora .stepper-raised-aurora {
|
|
125
|
+
.md .stepper-raised-md {
|
|
129
126
|
.stepper-button + .stepper-button,
|
|
130
127
|
.stepper-button-minus + .stepper-button-plus {
|
|
131
128
|
border-left: 1px solid rgba(0, 0, 0, 0.1);
|
|
@@ -133,8 +130,7 @@
|
|
|
133
130
|
}
|
|
134
131
|
.stepper-fill,
|
|
135
132
|
.ios .stepper-fill-ios,
|
|
136
|
-
.md .stepper-fill-md
|
|
137
|
-
.aurora .stepper-fill-aurora {
|
|
133
|
+
.md .stepper-fill-md {
|
|
138
134
|
.stepper-button + .stepper-button,
|
|
139
135
|
.stepper-button-minus + .stepper-button-plus {
|
|
140
136
|
&.active-state {
|
|
@@ -144,8 +140,7 @@
|
|
|
144
140
|
}
|
|
145
141
|
.stepper-raised:not(.stepper-fill),
|
|
146
142
|
.ios .stepper-raised-ios:not(.stepper-fill-ios):not(.stepper-fill),
|
|
147
|
-
.md .stepper-raised-md:not(.stepper-fill-md):not(.stepper-fill)
|
|
148
|
-
.aurora .stepper-raised-aurora:not(.stepper-fill-aurora):not(.stepper-fill) {
|
|
143
|
+
.md .stepper-raised-md:not(.stepper-fill-md):not(.stepper-fill) {
|
|
149
144
|
.stepper-input-wrap,
|
|
150
145
|
.stepper-value {
|
|
151
146
|
border-left: 1px solid rgba(0, 0, 0, 0.1);
|
|
@@ -154,14 +149,12 @@
|
|
|
154
149
|
}
|
|
155
150
|
.stepper-large,
|
|
156
151
|
.ios .stepper-large-ios,
|
|
157
|
-
.md .stepper-large-md
|
|
158
|
-
.aurora .stepper-large-aurora {
|
|
152
|
+
.md .stepper-large-md {
|
|
159
153
|
--f7-stepper-height: var(--f7-stepper-large-height);
|
|
160
154
|
}
|
|
161
155
|
.stepper-small,
|
|
162
156
|
.ios .stepper-small-ios,
|
|
163
|
-
.md .stepper-small-md
|
|
164
|
-
.aurora .stepper-small-aurora {
|
|
157
|
+
.md .stepper-small-md {
|
|
165
158
|
--f7-stepper-border-width: var(--f7-stepper-small-border-width);
|
|
166
159
|
--f7-stepper-height: var(--f7-stepper-small-height);
|
|
167
160
|
}
|
|
@@ -172,8 +165,7 @@
|
|
|
172
165
|
}
|
|
173
166
|
.stepper-raised,
|
|
174
167
|
.ios .stepper-raised-ios,
|
|
175
|
-
.md .stepper-raised-md
|
|
176
|
-
.aurora .stepper-raised-aurora {
|
|
168
|
+
.md .stepper-raised-md {
|
|
177
169
|
--f7-stepper-border-width: 0;
|
|
178
170
|
box-shadow: var(--f7-stepper-raised-box-shadow);
|
|
179
171
|
}
|
|
@@ -184,6 +176,3 @@
|
|
|
184
176
|
.if-md-theme({
|
|
185
177
|
@import './stepper-md.less';
|
|
186
178
|
});
|
|
187
|
-
.if-aurora-theme({
|
|
188
|
-
@import './stepper-aurora.less';
|
|
189
|
-
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
/*
|
|
3
|
-
--f7-subnavbar-bg-image: var(--f7-bars-bg-image);
|
|
4
3
|
--f7-subnavbar-bg-color: var(--f7-bars-bg-color);
|
|
5
4
|
--f7-subnavbar-bg-color-rgb: var(--f7-bars-bg-color-rgb);
|
|
6
5
|
--f7-subnavbar-border-color: var(--f7-bars-border-color);
|
|
@@ -17,35 +16,21 @@
|
|
|
17
16
|
--f7-subnavbar-title-font-weight: 700;
|
|
18
17
|
--f7-subnavbar-title-letter-spacing: -0.03em;
|
|
19
18
|
--f7-subnavbar-title-margin-left: 8px;
|
|
20
|
-
--f7-subnavbar-shadow-image: none;
|
|
21
19
|
/*
|
|
22
20
|
--f7-subnavbar-link-height: var(--f7-subnavbar-height);
|
|
23
21
|
--f7-subnavbar-link-line-height: var(--f7-subnavbar-height);
|
|
24
22
|
*/
|
|
25
23
|
});
|
|
26
24
|
.md-vars({
|
|
27
|
-
--f7-subnavbar-height:
|
|
25
|
+
--f7-subnavbar-height: 64px;
|
|
28
26
|
--f7-subnavbar-inner-padding-left: 16px;
|
|
29
27
|
--f7-subnavbar-inner-padding-right: 16px;
|
|
30
|
-
--f7-subnavbar-title-font-size:
|
|
31
|
-
--f7-subnavbar-title-font-weight:
|
|
28
|
+
--f7-subnavbar-title-font-size: 22px;
|
|
29
|
+
--f7-subnavbar-title-font-weight: 400;
|
|
32
30
|
--f7-subnavbar-title-letter-spacing: 0;
|
|
33
31
|
--f7-subnavbar-title-margin-left: 0px;
|
|
34
|
-
--f7-subnavbar-shadow-image: var(--f7-bars-shadow-bottom-image);
|
|
35
32
|
/*
|
|
36
33
|
--f7-subnavbar-link-height: var(--f7-subnavbar-height);
|
|
37
34
|
--f7-subnavbar-link-line-height: var(--f7-subnavbar-height);
|
|
38
35
|
*/
|
|
39
36
|
});
|
|
40
|
-
.aurora-vars({
|
|
41
|
-
--f7-subnavbar-height: 48px;
|
|
42
|
-
--f7-subnavbar-inner-padding-left: 16px;
|
|
43
|
-
--f7-subnavbar-inner-padding-right: 16px;
|
|
44
|
-
--f7-subnavbar-title-font-size: 28px;
|
|
45
|
-
--f7-subnavbar-title-font-weight: bold;
|
|
46
|
-
--f7-subnavbar-title-letter-spacing: 0em;
|
|
47
|
-
--f7-subnavbar-title-margin-left: 0px;
|
|
48
|
-
--f7-subnavbar-shadow-image: none;
|
|
49
|
-
--f7-subnavbar-link-height: auto;
|
|
50
|
-
--f7-subnavbar-link-line-height: inherit;
|
|
51
|
-
});
|
|
@@ -6,15 +6,12 @@ export default {
|
|
|
6
6
|
if (page.$navbarEl && page.$navbarEl.length && page.$navbarEl.find('.subnavbar').length) {
|
|
7
7
|
page.$el.addClass('page-with-subnavbar');
|
|
8
8
|
}
|
|
9
|
-
|
|
10
9
|
const $innerSubnavbars = page.$el.find('.subnavbar').filter(subnavbarEl => {
|
|
11
10
|
return $(subnavbarEl).parents('.page')[0] === page.$el[0];
|
|
12
11
|
});
|
|
13
|
-
|
|
14
12
|
if ($innerSubnavbars.length) {
|
|
15
13
|
page.$el.addClass('page-with-subnavbar');
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
|
-
|
|
19
16
|
}
|
|
20
17
|
};
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
display: flex;
|
|
11
11
|
justify-content: space-between;
|
|
12
12
|
align-items: center;
|
|
13
|
-
background-image: var(--f7-subnavbar-bg-image, var(--f7-bars-bg-image));
|
|
14
13
|
background-color: var(--f7-subnavbar-bg-color, var(--f7-bars-bg-color));
|
|
15
14
|
color: var(--f7-subnavbar-text-color, var(--f7-bars-text-color));
|
|
16
15
|
.ios-translucent-bars(var(--f7-subnavbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)));
|
|
@@ -53,13 +52,11 @@
|
|
|
53
52
|
a.icon-only {
|
|
54
53
|
min-width: var(--f7-subnavbar-height);
|
|
55
54
|
}
|
|
56
|
-
&.no-
|
|
57
|
-
&.no-border {
|
|
55
|
+
&.no-outline {
|
|
58
56
|
&:after {
|
|
59
57
|
display: none !important;
|
|
60
58
|
}
|
|
61
59
|
}
|
|
62
|
-
&.no-shadow,
|
|
63
60
|
&.navbar-hidden {
|
|
64
61
|
&:before {
|
|
65
62
|
display: none !important;
|
|
@@ -70,7 +67,6 @@
|
|
|
70
67
|
backface-visibility: hidden;
|
|
71
68
|
}
|
|
72
69
|
.hairline(bottom, var(--f7-subnavbar-border-color, var(--f7-bars-border-color)));
|
|
73
|
-
.bar-shadow-bottom(var(--f7-subnavbar-shadow-image));
|
|
74
70
|
}
|
|
75
71
|
.subnavbar-inner {
|
|
76
72
|
width: 100%;
|
|
@@ -82,9 +78,6 @@
|
|
|
82
78
|
overflow: hidden;
|
|
83
79
|
padding: 0 calc(var(--f7-subnavbar-inner-padding-left) + var(--f7-safe-area-right)) 0
|
|
84
80
|
calc(var(--f7-subnavbar-inner-padding-right) + var(--f7-safe-area-left));
|
|
85
|
-
&.stacked {
|
|
86
|
-
display: none;
|
|
87
|
-
}
|
|
88
81
|
}
|
|
89
82
|
.navbar .subnavbar {
|
|
90
83
|
top: 100%;
|
|
@@ -133,6 +126,3 @@
|
|
|
133
126
|
.if-md-theme({
|
|
134
127
|
@import './subnavbar-md.less';
|
|
135
128
|
});
|
|
136
|
-
.if-aurora-theme({
|
|
137
|
-
@import './subnavbar-aurora.less';
|
|
138
|
-
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--f7-swipeout-
|
|
1
|
+
:root{--f7-swipeout-delete-button-bg-color:#ff3b30;--f7-swipeout-button-text-color:#fff;--f7-swipeout-button-padding-vertical:0px;--f7-swipeout-button-bg-color:rgba(0, 0, 0, 0.22)}:root .dark,:root.dark{--f7-swipeout-button-bg-color:rgba(255, 255, 255, 0.55)}.ios{--f7-swipeout-button-padding-horizontal:30px;--f7-swipeout-button-font-size:inherit;--f7-swipeout-button-font-weight:inherit}.md{--f7-swipeout-button-padding-horizontal:24px;--f7-swipeout-button-font-size:14px;--f7-swipeout-button-font-weight:500}.md .dark,.md.dark{--f7-swipeout-button-text-color:#000}.swipeout{overflow:hidden;transform-style:preserve-3d}.swipeout-deleting{transition-duration:.3s}.swipeout-deleting .swipeout-content{transform:translateX(-100%)}.swipeout-transitioning .swipeout-actions-left a,.swipeout-transitioning .swipeout-actions-right a,.swipeout-transitioning .swipeout-content,.swipeout-transitioning .swipeout-overswipe{transition-duration:.3s;transition-property:transform,left}.swipeout-content{position:relative;z-index:10}.swipeout-overswipe{transition-duration:.2s;transition-property:left}.swipeout-actions-left,.swipeout-actions-right{position:absolute;top:0;height:100%;display:flex;direction:ltr}.swipeout-actions-left>a,.swipeout-actions-left>button,.swipeout-actions-left>div,.swipeout-actions-left>span,.swipeout-actions-right>a,.swipeout-actions-right>button,.swipeout-actions-right>div,.swipeout-actions-right>span{color:var(--f7-swipeout-button-text-color);background:var(--f7-swipeout-button-bg-color);padding:var(--f7-swipeout-button-padding-vertical) var(--f7-swipeout-button-padding-horizontal);display:flex;align-items:center;position:relative;left:0;font-size:var(--f7-swipeout-button-font-size);font-weight:var(--f7-swipeout-button-font-weight)}.swipeout-actions-left>a:after,.swipeout-actions-left>button:after,.swipeout-actions-left>div:after,.swipeout-actions-left>span:after,.swipeout-actions-right>a:after,.swipeout-actions-right>button:after,.swipeout-actions-right>div:after,.swipeout-actions-right>span:after{content:'';position:absolute;top:0;width:600%;height:100%;background:inherit;z-index:-1;transform:translate3d(0,0,0);pointer-events:none}.swipeout-actions-left .swipeout-delete,.swipeout-actions-right .swipeout-delete{background:var(--f7-swipeout-delete-button-bg-color)}.swipeout-actions-right{right:0%;transform:translateX(calc(100% + 1px))}.swipeout-actions-right>a:after,.swipeout-actions-right>button:after,.swipeout-actions-right>div:after,.swipeout-actions-right>span:after{left:100%}.swipeout-actions-right>a:last-child,.swipeout-actions-right>button:last-child,.swipeout-actions-right>div:last-child,.swipeout-actions-right>span:last-child{padding-right:calc(var(--f7-swipeout-button-padding-horizontal) + var(--f7-safe-area-right))}.swipeout-actions-left{left:0%;transform:translateX(calc(-100% - 1px))}.swipeout-actions-left>a:after,.swipeout-actions-left>button:after,.swipeout-actions-left>div:after,.swipeout-actions-left>span:after{right:100%}.swipeout-actions-left>a:first-child,.swipeout-actions-left>button:first-child,.swipeout-actions-left>div:first-child,.swipeout-actions-left>span:first-child{padding-left:calc(var(--f7-swipeout-button-padding-horizontal) + var(--f7-safe-area-left))}.swipeout-actions-left [class*=color-],.swipeout-actions-right [class*=color-]{--f7-swipeout-button-bg-color:var(--f7-theme-color)}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--f7-swipeout-button-text-color: #fff;
|
|
3
2
|
--f7-swipeout-delete-button-bg-color: #ff3b30;
|
|
4
|
-
--f7-swipeout-button-
|
|
5
|
-
--f7-swipeout-button-font-weight: inherit;
|
|
3
|
+
--f7-swipeout-button-text-color: #fff;
|
|
6
4
|
--f7-swipeout-button-padding-vertical: 0px;
|
|
7
5
|
.light-vars({
|
|
8
6
|
--f7-swipeout-button-bg-color: rgba(0,0,0,0.22);
|
|
@@ -13,11 +11,14 @@
|
|
|
13
11
|
}
|
|
14
12
|
.ios-vars({
|
|
15
13
|
--f7-swipeout-button-padding-horizontal: 30px;
|
|
14
|
+
--f7-swipeout-button-font-size: inherit;
|
|
15
|
+
--f7-swipeout-button-font-weight: inherit;
|
|
16
16
|
});
|
|
17
17
|
.md-vars({
|
|
18
18
|
--f7-swipeout-button-padding-horizontal: 24px;
|
|
19
|
-
|
|
20
|
-
.aurora-vars({
|
|
21
|
-
--f7-swipeout-button-padding-horizontal: 24px;
|
|
19
|
+
--f7-swipeout-button-font-size: 14px;
|
|
22
20
|
--f7-swipeout-button-font-weight: 500;
|
|
21
|
+
.dark-vars({
|
|
22
|
+
--f7-swipeout-button-text-color: #000;
|
|
23
|
+
});
|
|
23
24
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--f7-swipeout-
|
|
1
|
+
:root{--f7-swipeout-delete-button-bg-color:#ff3b30;--f7-swipeout-button-text-color:#fff;--f7-swipeout-button-padding-vertical:0px;--f7-swipeout-button-bg-color:rgba(0, 0, 0, 0.22)}:root .dark,:root.dark{--f7-swipeout-button-bg-color:rgba(255, 255, 255, 0.55)}.ios{--f7-swipeout-button-padding-horizontal:30px;--f7-swipeout-button-font-size:inherit;--f7-swipeout-button-font-weight:inherit}.md{--f7-swipeout-button-padding-horizontal:24px;--f7-swipeout-button-font-size:14px;--f7-swipeout-button-font-weight:500}.md .dark,.md.dark{--f7-swipeout-button-text-color:#000}.swipeout{overflow:hidden;transform-style:preserve-3d}.swipeout-deleting{transition-duration:.3s}.swipeout-deleting .swipeout-content{transform:translateX(-100%)}.swipeout-transitioning .swipeout-actions-left a,.swipeout-transitioning .swipeout-actions-right a,.swipeout-transitioning .swipeout-content,.swipeout-transitioning .swipeout-overswipe{transition-duration:.3s;transition-property:transform,left}.swipeout-content{position:relative;z-index:10}.swipeout-overswipe{transition-duration:.2s;transition-property:left}.swipeout-actions-left,.swipeout-actions-right{position:absolute;top:0;height:100%;display:flex;direction:ltr}.swipeout-actions-left>a,.swipeout-actions-left>button,.swipeout-actions-left>div,.swipeout-actions-left>span,.swipeout-actions-right>a,.swipeout-actions-right>button,.swipeout-actions-right>div,.swipeout-actions-right>span{color:var(--f7-swipeout-button-text-color);background:var(--f7-swipeout-button-bg-color);padding:var(--f7-swipeout-button-padding-vertical) var(--f7-swipeout-button-padding-horizontal);display:flex;align-items:center;position:relative;left:0;font-size:var(--f7-swipeout-button-font-size);font-weight:var(--f7-swipeout-button-font-weight)}.swipeout-actions-left>a:after,.swipeout-actions-left>button:after,.swipeout-actions-left>div:after,.swipeout-actions-left>span:after,.swipeout-actions-right>a:after,.swipeout-actions-right>button:after,.swipeout-actions-right>div:after,.swipeout-actions-right>span:after{content:'';position:absolute;top:0;width:600%;height:100%;background:inherit;z-index:-1;transform:translate3d(0,0,0);pointer-events:none}.swipeout-actions-left .swipeout-delete,.swipeout-actions-right .swipeout-delete{background:var(--f7-swipeout-delete-button-bg-color)}.swipeout-actions-right{right:0%;transform:translateX(calc(100% + 1px))}.swipeout-actions-right>a:after,.swipeout-actions-right>button:after,.swipeout-actions-right>div:after,.swipeout-actions-right>span:after{left:100%}.swipeout-actions-right>a:last-child,.swipeout-actions-right>button:last-child,.swipeout-actions-right>div:last-child,.swipeout-actions-right>span:last-child{padding-right:calc(var(--f7-swipeout-button-padding-horizontal) + var(--f7-safe-area-right))}.swipeout-actions-left{left:0%;transform:translateX(calc(-100% - 1px))}.swipeout-actions-left>a:after,.swipeout-actions-left>button:after,.swipeout-actions-left>div:after,.swipeout-actions-left>span:after{right:100%}.swipeout-actions-left>a:first-child,.swipeout-actions-left>button:first-child,.swipeout-actions-left>div:first-child,.swipeout-actions-left>span:first-child{padding-left:calc(var(--f7-swipeout-button-padding-horizontal) + var(--f7-safe-area-left))}.swipeout-actions-left [class*=color-],.swipeout-actions-right [class*=color-]{--f7-swipeout-button-bg-color:var(--f7-theme-color)}
|