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
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.aurora {
|
|
2
|
-
.list-index {
|
|
3
|
-
.list-index-label {
|
|
4
|
-
margin-bottom: calc(-1 * var(--f7-list-index-label-size) / 2);
|
|
5
|
-
margin-right: calc(var(--f7-list-index-width) - 1px);
|
|
6
|
-
border-radius: 50%;
|
|
7
|
-
&:before {
|
|
8
|
-
position: absolute;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
border-radius: 50% 1px 50% 50%;
|
|
12
|
-
content: '';
|
|
13
|
-
background-color: inherit;
|
|
14
|
-
left: 0;
|
|
15
|
-
top: 0;
|
|
16
|
-
transform: rotate(45deg);
|
|
17
|
-
z-index: -1;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--f7-menu-text-color:#fff;--f7-menu-font-size:16px;--f7-menu-font-weight:500;--f7-menu-line-height:1.2;--f7-menu-bg-color:rgba(0, 0, 0, 0.9);--f7-menu-item-pressed-bg-color:rgba(20, 20, 20, 0.9);--f7-menu-item-padding-horizontal:12px;--f7-menu-item-spacing:6px;--f7-menu-item-height:40px;--f7-menu-item-dropdown-icon-color:rgba(255, 255, 255, 0.4);--f7-menu-item-border-radius:8px;--f7-menu-dropdown-item-height:32px;--f7-menu-dropdown-divider-color:rgba(255, 255, 255, 0.2);--f7-menu-dropdown-padding-vertical:6px}.menu{z-index:1000;position:relative;transform:translate3d(0,0,0);--f7-touch-ripple-color:var(--f7-touch-ripple-white)}.menu-inner{display:flex;justify-content:flex-start;align-items:flex-start;padding-left:var(--f7-menu-item-spacing);padding-right:var(--f7-menu-item-spacing)}.menu-inner:after{content:'';width:var(--f7-menu-item-spacing);height:100%;flex-shrink:0}.menu-item{height:var(--f7-menu-item-height);min-width:var(--f7-menu-item-height);flex-shrink:0;background:var(--f7-menu-bg-color);color:var(--f7-menu-text-color);border-radius:var(--f7-menu-item-border-radius);position:relative;box-sizing:border-box;font-size:var(--f7-menu-font-size);font-weight:var(--f7-menu-font-weight);cursor:pointer;margin-right:var(--f7-menu-item-spacing)}.menu-item:first-child{margin-right:0}.menu-item.active-state:not(.menu-item-dropdown-opened){background-color:rgba(0,0,0,.7)}.menu-item.icon-only{padding-left:0;padding-right:0}.menu-item-content{display:flex;justify-content:center;align-items:center;padding:0 var(--f7-menu-item-padding-horizontal);height:100%;box-sizing:border-box;width:100%;overflow:hidden;border-radius:var(--f7-menu-item-border-radius);position:relative}.icon-only .menu-item-content,.menu-item-content.icon-only{padding-left:0;padding-right:0}.menu-item-dropdown .menu-item-content:after{content:'';position:absolute;width:20px;height:2px;left:50%;transform:translateX(-50%);bottom:4px;background:var(--f7-menu-item-dropdown-icon-color);border-radius:4px}.menu-dropdown{opacity:0;visibility:hidden;pointer-events:none;cursor:auto;height:10px;background:var(--f7-menu-bg-color);position:relative}.menu-dropdown-content{position:absolute;top:100%;border-radius:var(--f7-menu-dropdown-border-radius,var(--f7-menu-item-border-radius));padding-top:var(--f7-menu-dropdown-padding-vertical);padding-bottom:var(--f7-menu-dropdown-padding-vertical);box-sizing:border-box;background:var(--f7-menu-bg-color);overflow:auto;-webkit-overflow-scrolling:touch;min-width:calc(100% + 24px)}.menu-dropdown-item,.menu-dropdown-link{display:flex;position:relative;justify-content:space-between;align-items:center;padding-left:var(--f7-menu-item-padding-horizontal);padding-right:var(--f7-menu-item-padding-horizontal);min-height:var(--f7-menu-dropdown-item-height);line-height:var(--f7-menu-line-height);font-size:var(--f7-menu-font-size);color:var(--f7-menu-text-color);font-weight:var(--f7-menu-font-weight);white-space:nowrap;min-width:100px;z-index:1}.menu-dropdown-item i,.menu-dropdown-item i.f7-icons,.menu-dropdown-item i.icon,.menu-dropdown-item i.material-icons,.menu-dropdown-link i,.menu-dropdown-link i.f7-icons,.menu-dropdown-link i.icon,.menu-dropdown-link i.material-icons{font-size:20px}.menu-dropdown-link:before{content:'';position:absolute;left:4px;top:2px;right:4px;bottom:2px;border-radius:4px;background:var(--f7-menu-dropdown-pressed-bg-color,var(--f7-theme-color));z-index:-1;opacity:0;pointer-events:none}.menu-dropdown-link.active-state{color:var(--f7-menu-text-color)}.menu-dropdown-link.active-state:before{opacity:1}.menu-dropdown-divider{height:1px;margin-top:2px;margin-bottom:2px;background:var(--f7-menu-dropdown-divider-color)}.menu-item-dropdown-opened{border-bottom-left-radius:0px;border-bottom-right-radius:0px}.menu-item-dropdown-opened .menu-item-content:after{opacity:0}.menu-item-dropdown-opened .menu-dropdown{opacity:1;visibility:visible;pointer-events:auto}.menu-dropdown-center:after,.menu-dropdown-left:after,.menu-item-dropdown-center .menu-dropdown:after,.menu-item-dropdown-left .menu-dropdown:after{content:'';position:absolute;left:100%;bottom:0;width:var(--f7-menu-item-border-radius);height:var(--f7-menu-item-border-radius);background-image:radial-gradient(ellipse at 100% 0%,transparent 0%,transparent 70%,var(--f7-menu-bg-color) 72%)}.menu-dropdown-center:before,.menu-dropdown-right:before,.menu-item-dropdown-center .menu-dropdown:before,.menu-item-dropdown-right .menu-dropdown:before{content:'';position:absolute;right:100%;bottom:0;width:var(--f7-menu-item-border-radius);height:var(--f7-menu-item-border-radius);background-image:radial-gradient(ellipse at 0% 0%,transparent 0%,transparent 70%,var(--f7-menu-bg-color) 72%)}.menu-dropdown-left .menu-dropdown-content,.menu-item-dropdown-left .menu-dropdown-content{left:0;border-top-left-radius:0px}.menu-dropdown-right .menu-dropdown-content,.menu-item-dropdown-right .menu-dropdown-content{right:0;border-top-right-radius:0px}.menu-dropdown-center .menu-dropdown-content,.menu-item-dropdown-center .menu-dropdown-content{left:50%;min-width:calc(100% + 24px + 24px);transform:translateX(-50%)}.aurora.device-desktop .menu-dropdown-link:not(.no-hover):not(.active-state):hover:before{background:var(--f7-menu-dropdown-hover-bg-color,rgba(255,255,255,.15));opacity:1}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--f7-menu-text-color: #fff;
|
|
3
|
-
--f7-menu-font-size: 16px;
|
|
4
|
-
--f7-menu-font-weight: 500;
|
|
5
|
-
--f7-menu-line-height: 1.2;
|
|
6
|
-
--f7-menu-bg-color: rgba(0, 0, 0, 0.9);
|
|
7
|
-
--f7-menu-item-pressed-bg-color: rgba(20, 20, 20, 0.9);
|
|
8
|
-
--f7-menu-item-padding-horizontal: 12px;
|
|
9
|
-
--f7-menu-item-spacing: 6px;
|
|
10
|
-
--f7-menu-item-height: 40px;
|
|
11
|
-
--f7-menu-item-dropdown-icon-color: rgba(255, 255, 255, 0.4);
|
|
12
|
-
--f7-menu-item-border-radius: 8px;
|
|
13
|
-
/*
|
|
14
|
-
--f7-menu-dropdown-pressed-bg-color: var(--f7-theme-color);
|
|
15
|
-
*/
|
|
16
|
-
--f7-menu-dropdown-item-height: 32px;
|
|
17
|
-
--f7-menu-dropdown-divider-color: rgba(255, 255, 255, 0.2);
|
|
18
|
-
--f7-menu-dropdown-padding-vertical: 6px;
|
|
19
|
-
/*
|
|
20
|
-
--f7-menu-dropdown-border-radius: var(--f7-menu-item-border-radius);
|
|
21
|
-
*/
|
|
22
|
-
}
|
|
23
|
-
.aurora-vars({
|
|
24
|
-
/*
|
|
25
|
-
--f7-menu-dropdown-hover-bg-color: rgba(255, 255, 255, 0.15);
|
|
26
|
-
*/
|
|
27
|
-
});
|
package/components/menu/menu.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--f7-menu-text-color:#fff;--f7-menu-font-size:16px;--f7-menu-font-weight:500;--f7-menu-line-height:1.2;--f7-menu-bg-color:rgba(0, 0, 0, 0.9);--f7-menu-item-pressed-bg-color:rgba(20, 20, 20, 0.9);--f7-menu-item-padding-horizontal:12px;--f7-menu-item-spacing:6px;--f7-menu-item-height:40px;--f7-menu-item-dropdown-icon-color:rgba(255, 255, 255, 0.4);--f7-menu-item-border-radius:8px;--f7-menu-dropdown-item-height:32px;--f7-menu-dropdown-divider-color:rgba(255, 255, 255, 0.2);--f7-menu-dropdown-padding-vertical:6px}.menu{z-index:1000;position:relative;transform:translate3d(0,0,0);--f7-touch-ripple-color:var(--f7-touch-ripple-white)}.menu-inner{display:flex;justify-content:flex-start;align-items:flex-start;padding-left:var(--f7-menu-item-spacing);padding-right:var(--f7-menu-item-spacing)}.menu-inner:after{content:'';width:var(--f7-menu-item-spacing);height:100%;flex-shrink:0}.menu-item{height:var(--f7-menu-item-height);min-width:var(--f7-menu-item-height);flex-shrink:0;background:var(--f7-menu-bg-color);color:var(--f7-menu-text-color);border-radius:var(--f7-menu-item-border-radius);position:relative;box-sizing:border-box;font-size:var(--f7-menu-font-size);font-weight:var(--f7-menu-font-weight);cursor:pointer;margin-left:var(--f7-menu-item-spacing)}.menu-item:first-child{margin-left:0}.menu-item.active-state:not(.menu-item-dropdown-opened){background-color:rgba(0,0,0,.7)}.menu-item.icon-only{padding-left:0;padding-right:0}.menu-item-content{display:flex;justify-content:center;align-items:center;padding:0 var(--f7-menu-item-padding-horizontal);height:100%;box-sizing:border-box;width:100%;overflow:hidden;border-radius:var(--f7-menu-item-border-radius);position:relative}.icon-only .menu-item-content,.menu-item-content.icon-only{padding-left:0;padding-right:0}.menu-item-dropdown .menu-item-content:after{content:'';position:absolute;width:20px;height:2px;left:50%;transform:translateX(-50%);bottom:4px;background:var(--f7-menu-item-dropdown-icon-color);border-radius:4px}.menu-dropdown{opacity:0;visibility:hidden;pointer-events:none;cursor:auto;height:10px;background:var(--f7-menu-bg-color);position:relative}.menu-dropdown-content{position:absolute;top:100%;border-radius:var(--f7-menu-dropdown-border-radius,var(--f7-menu-item-border-radius));padding-top:var(--f7-menu-dropdown-padding-vertical);padding-bottom:var(--f7-menu-dropdown-padding-vertical);box-sizing:border-box;background:var(--f7-menu-bg-color);overflow:auto;-webkit-overflow-scrolling:touch;min-width:calc(100% + 24px)}.menu-dropdown-item,.menu-dropdown-link{display:flex;position:relative;justify-content:space-between;align-items:center;padding-left:var(--f7-menu-item-padding-horizontal);padding-right:var(--f7-menu-item-padding-horizontal);min-height:var(--f7-menu-dropdown-item-height);line-height:var(--f7-menu-line-height);font-size:var(--f7-menu-font-size);color:var(--f7-menu-text-color);font-weight:var(--f7-menu-font-weight);white-space:nowrap;min-width:100px;z-index:1}.menu-dropdown-item i,.menu-dropdown-item i.f7-icons,.menu-dropdown-item i.icon,.menu-dropdown-item i.material-icons,.menu-dropdown-link i,.menu-dropdown-link i.f7-icons,.menu-dropdown-link i.icon,.menu-dropdown-link i.material-icons{font-size:20px}.menu-dropdown-link:before{content:'';position:absolute;left:4px;top:2px;right:4px;bottom:2px;border-radius:4px;background:var(--f7-menu-dropdown-pressed-bg-color,var(--f7-theme-color));z-index:-1;opacity:0;pointer-events:none}.menu-dropdown-link.active-state{color:var(--f7-menu-text-color)}.menu-dropdown-link.active-state:before{opacity:1}.menu-dropdown-divider{height:1px;margin-top:2px;margin-bottom:2px;background:var(--f7-menu-dropdown-divider-color)}.menu-item-dropdown-opened{border-bottom-left-radius:0px;border-bottom-right-radius:0px}.menu-item-dropdown-opened .menu-item-content:after{opacity:0}.menu-item-dropdown-opened .menu-dropdown{opacity:1;visibility:visible;pointer-events:auto}.menu-dropdown-center:after,.menu-dropdown-left:after,.menu-item-dropdown-center .menu-dropdown:after,.menu-item-dropdown-left .menu-dropdown:after{content:'';position:absolute;left:100%;bottom:0;width:var(--f7-menu-item-border-radius);height:var(--f7-menu-item-border-radius);background-image:radial-gradient(ellipse at 100% 0%,transparent 0%,transparent 70%,var(--f7-menu-bg-color) 72%)}.menu-dropdown-center:before,.menu-dropdown-right:before,.menu-item-dropdown-center .menu-dropdown:before,.menu-item-dropdown-right .menu-dropdown:before{content:'';position:absolute;right:100%;bottom:0;width:var(--f7-menu-item-border-radius);height:var(--f7-menu-item-border-radius);background-image:radial-gradient(ellipse at 0% 0%,transparent 0%,transparent 70%,var(--f7-menu-bg-color) 72%)}.menu-dropdown-left .menu-dropdown-content,.menu-item-dropdown-left .menu-dropdown-content{left:0;border-top-left-radius:0px}.menu-dropdown-right .menu-dropdown-content,.menu-item-dropdown-right .menu-dropdown-content{right:0;border-top-right-radius:0px}.menu-dropdown-center .menu-dropdown-content,.menu-item-dropdown-center .menu-dropdown-content{left:50%;min-width:calc(100% + 24px + 24px);transform:translateX(-50%)}.aurora.device-desktop .menu-dropdown-link:not(.no-hover):not(.active-state):hover:before{background:var(--f7-menu-dropdown-hover-bg-color,rgba(255,255,255,.15));opacity:1}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import Framework7, {
|
|
2
|
-
CSSSelector,
|
|
3
|
-
Framework7EventsClass,
|
|
4
|
-
Framework7Plugin,
|
|
5
|
-
} from '../app/app-class.js';
|
|
6
|
-
|
|
7
|
-
export namespace Menu {
|
|
8
|
-
interface DomEvents {
|
|
9
|
-
/** Event will be triggered right after menu dropdown will be opened */
|
|
10
|
-
'menu:opened': () => void;
|
|
11
|
-
/** Event will be triggered right after menu dropdown will be closed */
|
|
12
|
-
'menu:closed': () => void;
|
|
13
|
-
}
|
|
14
|
-
interface AppMethods {
|
|
15
|
-
menu: {
|
|
16
|
-
/** open Menu dropdown */
|
|
17
|
-
open(el?: HTMLElement | CSSSelector): void;
|
|
18
|
-
/** close Menu dropdown */
|
|
19
|
-
close(el?: HTMLElement | CSSSelector): void;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
interface AppParams {}
|
|
23
|
-
interface AppEvents {
|
|
24
|
-
/** Event will be triggered right after menu dropdown will be opened. As an argument event handler receives menu dropdown item element */
|
|
25
|
-
menuOpened: (el: HTMLElement) => void;
|
|
26
|
-
/** Event will be triggered right after menu dropdown will be closed. As an argument event handler receives menu dropdown item element */
|
|
27
|
-
menuClosed: (el: HTMLElement) => void;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
declare const MenuComponent: Framework7Plugin;
|
|
32
|
-
export default MenuComponent;
|
package/components/menu/menu.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import $ from '../../shared/dom7.js';
|
|
2
|
-
import { bindMethods } from '../../shared/utils.js';
|
|
3
|
-
const Menu = {
|
|
4
|
-
open(el) {
|
|
5
|
-
if (el === void 0) {
|
|
6
|
-
el = '.menu-item-dropdown';
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const app = this;
|
|
10
|
-
if (!el) return;
|
|
11
|
-
const $el = $(el).closest('.menu-item-dropdown');
|
|
12
|
-
if (!$el.length) return;
|
|
13
|
-
const $menuEl = $el.closest('.menu').eq(0);
|
|
14
|
-
|
|
15
|
-
if ($menuEl.length) {
|
|
16
|
-
const zIndex = $menuEl.css('z-index');
|
|
17
|
-
const originalZIndex = $menuEl[0].style.zIndex;
|
|
18
|
-
$menuEl.css('z-index', parseInt(zIndex || 0, 10) + 1);
|
|
19
|
-
$menuEl[0].f7MenuZIndex = originalZIndex;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$el.eq(0).addClass('menu-item-dropdown-opened').trigger('menu:opened');
|
|
23
|
-
app.emit('menuOpened', $el.eq(0)[0]);
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
close(el) {
|
|
27
|
-
if (el === void 0) {
|
|
28
|
-
el = '.menu-item-dropdown-opened';
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
const app = this;
|
|
32
|
-
if (!el) return;
|
|
33
|
-
const $el = $(el).closest('.menu-item-dropdown-opened');
|
|
34
|
-
if (!$el.length) return;
|
|
35
|
-
const $menuEl = $el.closest('.menu').eq(0);
|
|
36
|
-
|
|
37
|
-
if ($menuEl.length) {
|
|
38
|
-
const zIndex = $menuEl[0].f7MenuZIndex;
|
|
39
|
-
$menuEl.css('z-index', zIndex);
|
|
40
|
-
delete $menuEl[0].f7MenuZIndex;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
$el.eq(0).removeClass('menu-item-dropdown-opened').trigger('menu:closed');
|
|
44
|
-
app.emit('menuClosed', $el.eq(0)[0]);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
};
|
|
48
|
-
export default {
|
|
49
|
-
name: 'menu',
|
|
50
|
-
|
|
51
|
-
create() {
|
|
52
|
-
const app = this;
|
|
53
|
-
bindMethods(app, {
|
|
54
|
-
menu: Menu
|
|
55
|
-
});
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
on: {
|
|
59
|
-
click(e) {
|
|
60
|
-
const app = this;
|
|
61
|
-
const openedMenus = $('.menu-item-dropdown-opened');
|
|
62
|
-
if (!openedMenus.length) return;
|
|
63
|
-
openedMenus.each(el => {
|
|
64
|
-
if (!$(e.target).closest('.menu-item-dropdown-opened').length) {
|
|
65
|
-
app.menu.close(el);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
clicks: {
|
|
72
|
-
'.menu-item-dropdown': function onClick($clickedEl, dataset, e) {
|
|
73
|
-
const app = this;
|
|
74
|
-
|
|
75
|
-
if ($clickedEl.hasClass('menu-item-dropdown-opened')) {
|
|
76
|
-
if ($(e.target).closest('.menu-dropdown').length) return;
|
|
77
|
-
app.menu.close($clickedEl);
|
|
78
|
-
} else {
|
|
79
|
-
app.menu.open($clickedEl);
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
'.menu-close': function onClick() {
|
|
83
|
-
const app = this;
|
|
84
|
-
app.menu.close();
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function framework7ComponentLoader(e,n){void 0===n&&(n=!0);var o=e.$,t=e.utils,s=(e.getDevice,e.getSupport,e.Class,e.Modal,e.ConstructorMethods,e.ModalMethods,e.$jsx,t.bindMethods);const d={open(e){void 0===e&&(e=".menu-item-dropdown");if(!e)return;const n=o(e).closest(".menu-item-dropdown");if(!n.length)return;const t=n.closest(".menu").eq(0);if(t.length){const e=t.css("z-index"),n=t[0].style.zIndex;t.css("z-index",parseInt(e||0,10)+1),t[0].f7MenuZIndex=n}n.eq(0).addClass("menu-item-dropdown-opened").trigger("menu:opened"),this.emit("menuOpened",n.eq(0)[0])},close(e){void 0===e&&(e=".menu-item-dropdown-opened");if(!e)return;const n=o(e).closest(".menu-item-dropdown-opened");if(!n.length)return;const t=n.closest(".menu").eq(0);if(t.length){const e=t[0].f7MenuZIndex;t.css("z-index",e),delete t[0].f7MenuZIndex}n.eq(0).removeClass("menu-item-dropdown-opened").trigger("menu:closed"),this.emit("menuClosed",n.eq(0)[0])}};var i={name:"menu",create(){s(this,{menu:d})},on:{click(e){const n=this,t=o(".menu-item-dropdown-opened");t.length&&t.each((t=>{o(e.target).closest(".menu-item-dropdown-opened").length||n.menu.close(t)}))}},clicks:{".menu-item-dropdown":function(e,n,t){const s=this;if(e.hasClass("menu-item-dropdown-opened")){if(o(t.target).closest(".menu-dropdown").length)return;s.menu.close(e)}else s.menu.open(e)},".menu-close":function(){this.menu.close()}}};if(n){if(e.prototype.modules&&e.prototype.modules[i.name])return;e.use(i),e.instance&&(e.instance.useModuleParams(i,e.instance.params),e.instance.useModule(i))}return i}(Framework7, typeof Framework7AutoInstallComponent === 'undefined' ? undefined : Framework7AutoInstallComponent))
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
/* === Menu === */
|
|
2
|
-
@import './menu-vars.less';
|
|
3
|
-
|
|
4
|
-
.menu {
|
|
5
|
-
z-index: 1000;
|
|
6
|
-
position: relative;
|
|
7
|
-
transform: translate3d(0, 0, 0);
|
|
8
|
-
--f7-touch-ripple-color: var(--f7-touch-ripple-white);
|
|
9
|
-
}
|
|
10
|
-
.menu-inner {
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: flex-start;
|
|
13
|
-
align-items: flex-start;
|
|
14
|
-
padding-left: var(--f7-menu-item-spacing);
|
|
15
|
-
padding-right: var(--f7-menu-item-spacing);
|
|
16
|
-
&:after {
|
|
17
|
-
content: '';
|
|
18
|
-
width: var(--f7-menu-item-spacing);
|
|
19
|
-
height: 100%;
|
|
20
|
-
flex-shrink: 0;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.menu-item {
|
|
24
|
-
height: var(--f7-menu-item-height);
|
|
25
|
-
min-width: var(--f7-menu-item-height);
|
|
26
|
-
flex-shrink: 0;
|
|
27
|
-
background: var(--f7-menu-bg-color);
|
|
28
|
-
color: var(--f7-menu-text-color);
|
|
29
|
-
border-radius: var(--f7-menu-item-border-radius);
|
|
30
|
-
position: relative;
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
font-size: var(--f7-menu-font-size);
|
|
33
|
-
font-weight: var(--f7-menu-font-weight);
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
.ltr({
|
|
36
|
-
margin-left: var(--f7-menu-item-spacing);
|
|
37
|
-
&:first-child {
|
|
38
|
-
margin-left: 0;
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
.rtl({
|
|
42
|
-
margin-right: var(--f7-menu-item-spacing);
|
|
43
|
-
&:first-child {
|
|
44
|
-
margin-right: 0;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
&.active-state:not(.menu-item-dropdown-opened) {
|
|
49
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&.icon-only {
|
|
53
|
-
padding-left: 0;
|
|
54
|
-
padding-right: 0;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
.menu-item-content {
|
|
58
|
-
display: flex;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
align-items: center;
|
|
61
|
-
padding: 0 var(--f7-menu-item-padding-horizontal);
|
|
62
|
-
height: 100%;
|
|
63
|
-
box-sizing: border-box;
|
|
64
|
-
width: 100%;
|
|
65
|
-
overflow: hidden;
|
|
66
|
-
border-radius: var(--f7-menu-item-border-radius);
|
|
67
|
-
position: relative;
|
|
68
|
-
&.icon-only,
|
|
69
|
-
.icon-only & {
|
|
70
|
-
padding-left: 0;
|
|
71
|
-
padding-right: 0;
|
|
72
|
-
}
|
|
73
|
-
.menu-item-dropdown &:after {
|
|
74
|
-
content: '';
|
|
75
|
-
position: absolute;
|
|
76
|
-
width: 20px;
|
|
77
|
-
height: 2px;
|
|
78
|
-
left: 50%;
|
|
79
|
-
transform: translateX(-50%);
|
|
80
|
-
bottom: 4px;
|
|
81
|
-
background: var(--f7-menu-item-dropdown-icon-color);
|
|
82
|
-
border-radius: 4px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
.menu-dropdown {
|
|
86
|
-
opacity: 0;
|
|
87
|
-
visibility: hidden;
|
|
88
|
-
pointer-events: none;
|
|
89
|
-
cursor: auto;
|
|
90
|
-
height: 10px;
|
|
91
|
-
background: var(--f7-menu-bg-color);
|
|
92
|
-
position: relative;
|
|
93
|
-
}
|
|
94
|
-
.menu-dropdown-content {
|
|
95
|
-
position: absolute;
|
|
96
|
-
top: 100%;
|
|
97
|
-
border-radius: var(--f7-menu-dropdown-border-radius, var(--f7-menu-item-border-radius));
|
|
98
|
-
padding-top: var(--f7-menu-dropdown-padding-vertical);
|
|
99
|
-
padding-bottom: var(--f7-menu-dropdown-padding-vertical);
|
|
100
|
-
box-sizing: border-box;
|
|
101
|
-
background: var(--f7-menu-bg-color);
|
|
102
|
-
.scrollable();
|
|
103
|
-
min-width: calc(100% + 24px);
|
|
104
|
-
}
|
|
105
|
-
.menu-dropdown-link,
|
|
106
|
-
.menu-dropdown-item {
|
|
107
|
-
display: flex;
|
|
108
|
-
position: relative;
|
|
109
|
-
justify-content: space-between;
|
|
110
|
-
align-items: center;
|
|
111
|
-
padding-left: var(--f7-menu-item-padding-horizontal);
|
|
112
|
-
padding-right: var(--f7-menu-item-padding-horizontal);
|
|
113
|
-
min-height: var(--f7-menu-dropdown-item-height);
|
|
114
|
-
line-height: var(--f7-menu-line-height);
|
|
115
|
-
font-size: var(--f7-menu-font-size);
|
|
116
|
-
color: var(--f7-menu-text-color);
|
|
117
|
-
font-weight: var(--f7-menu-font-weight);
|
|
118
|
-
white-space: nowrap;
|
|
119
|
-
min-width: 100px;
|
|
120
|
-
z-index: 1;
|
|
121
|
-
i,
|
|
122
|
-
i.icon,
|
|
123
|
-
i.f7-icons,
|
|
124
|
-
i.material-icons {
|
|
125
|
-
font-size: 20px;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
.menu-dropdown-link {
|
|
129
|
-
&:before {
|
|
130
|
-
content: '';
|
|
131
|
-
position: absolute;
|
|
132
|
-
left: 4px;
|
|
133
|
-
top: 2px;
|
|
134
|
-
right: 4px;
|
|
135
|
-
bottom: 2px;
|
|
136
|
-
border-radius: 4px;
|
|
137
|
-
background: var(--f7-menu-dropdown-pressed-bg-color, var(--f7-theme-color));
|
|
138
|
-
z-index: -1;
|
|
139
|
-
opacity: 0;
|
|
140
|
-
pointer-events: none;
|
|
141
|
-
}
|
|
142
|
-
&.active-state {
|
|
143
|
-
&:before {
|
|
144
|
-
opacity: 1;
|
|
145
|
-
}
|
|
146
|
-
color: var(--f7-menu-text-color);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
.menu-dropdown-divider {
|
|
150
|
-
height: 1px;
|
|
151
|
-
margin-top: 2px;
|
|
152
|
-
margin-bottom: 2px;
|
|
153
|
-
background: var(--f7-menu-dropdown-divider-color);
|
|
154
|
-
}
|
|
155
|
-
.menu-item-dropdown-opened {
|
|
156
|
-
border-bottom-left-radius: 0px;
|
|
157
|
-
border-bottom-right-radius: 0px;
|
|
158
|
-
.menu-item-content:after {
|
|
159
|
-
opacity: 0;
|
|
160
|
-
}
|
|
161
|
-
.menu-dropdown {
|
|
162
|
-
opacity: 1;
|
|
163
|
-
visibility: visible;
|
|
164
|
-
pointer-events: auto;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
.menu-item-dropdown-left .menu-dropdown:after,
|
|
168
|
-
.menu-item-dropdown-center .menu-dropdown:after,
|
|
169
|
-
.menu-dropdown-left:after,
|
|
170
|
-
.menu-dropdown-center:after {
|
|
171
|
-
content: '';
|
|
172
|
-
position: absolute;
|
|
173
|
-
left: 100%;
|
|
174
|
-
bottom: 0;
|
|
175
|
-
width: var(--f7-menu-item-border-radius);
|
|
176
|
-
height: var(--f7-menu-item-border-radius);
|
|
177
|
-
background-image: radial-gradient(
|
|
178
|
-
ellipse at 100% 0%,
|
|
179
|
-
transparent 0%,
|
|
180
|
-
transparent 70%,
|
|
181
|
-
var(--f7-menu-bg-color) 72%
|
|
182
|
-
);
|
|
183
|
-
}
|
|
184
|
-
.menu-item-dropdown-right .menu-dropdown:before,
|
|
185
|
-
.menu-item-dropdown-center .menu-dropdown:before,
|
|
186
|
-
.menu-dropdown-right:before,
|
|
187
|
-
.menu-dropdown-center:before {
|
|
188
|
-
content: '';
|
|
189
|
-
position: absolute;
|
|
190
|
-
right: 100%;
|
|
191
|
-
bottom: 0;
|
|
192
|
-
width: var(--f7-menu-item-border-radius);
|
|
193
|
-
height: var(--f7-menu-item-border-radius);
|
|
194
|
-
background-image: radial-gradient(
|
|
195
|
-
ellipse at 0% 0%,
|
|
196
|
-
transparent 0%,
|
|
197
|
-
transparent 70%,
|
|
198
|
-
var(--f7-menu-bg-color) 72%
|
|
199
|
-
);
|
|
200
|
-
}
|
|
201
|
-
.menu-item-dropdown-left,
|
|
202
|
-
.menu-dropdown-left {
|
|
203
|
-
.menu-dropdown-content {
|
|
204
|
-
left: 0;
|
|
205
|
-
border-top-left-radius: 0px;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
.menu-item-dropdown-right,
|
|
209
|
-
.menu-dropdown-right {
|
|
210
|
-
.menu-dropdown-content {
|
|
211
|
-
right: 0;
|
|
212
|
-
border-top-right-radius: 0px;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
.menu-item-dropdown-center,
|
|
216
|
-
.menu-dropdown-center {
|
|
217
|
-
.menu-dropdown-content {
|
|
218
|
-
left: 50%;
|
|
219
|
-
min-width: calc(100% + 24px + 24px);
|
|
220
|
-
transform: translateX(-50%);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.if-ios-theme({
|
|
225
|
-
@import './menu-ios.less';
|
|
226
|
-
});
|
|
227
|
-
.if-md-theme({
|
|
228
|
-
@import './menu-md.less';
|
|
229
|
-
});
|
|
230
|
-
.if-aurora-theme({
|
|
231
|
-
@import './menu-aurora.less';
|
|
232
|
-
});
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
.aurora {
|
|
2
|
-
.messagebar {
|
|
3
|
-
a.link + .messagebar-area {
|
|
4
|
-
margin-left: 8px;
|
|
5
|
-
}
|
|
6
|
-
.messagebar-area + a.link {
|
|
7
|
-
margin-left: 8px;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
.messagebar-area {
|
|
11
|
-
margin-top: 8px;
|
|
12
|
-
margin-bottom: 8px;
|
|
13
|
-
}
|
|
14
|
-
.messagebar-sheet-image,
|
|
15
|
-
.messagebar-sheet-item {
|
|
16
|
-
.icon-checkbox {
|
|
17
|
-
border-color: #fff;
|
|
18
|
-
background: rgba(255, 255, 255, 0.25);
|
|
19
|
-
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.messagebar-attachments {
|
|
23
|
-
padding: 8px;
|
|
24
|
-
border-radius: var(--f7-messagebar-textarea-border-radius)
|
|
25
|
-
var(--f7-messagebar-textarea-border-radius) 0 0;
|
|
26
|
-
border: 1px solid var(--f7-messagebar-attachments-border-color);
|
|
27
|
-
border-bottom: none;
|
|
28
|
-
}
|
|
29
|
-
.messagebar-attachments-visible {
|
|
30
|
-
.messagebar-attachments + textarea {
|
|
31
|
-
border-radius: 0 0 var(--f7-messagebar-textarea-border-radius)
|
|
32
|
-
var(--f7-messagebar-textarea-border-radius);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.messagebar-attachment {
|
|
36
|
-
font-size: 14px;
|
|
37
|
-
}
|
|
38
|
-
.messagebar-attachment-delete {
|
|
39
|
-
right: 8px;
|
|
40
|
-
top: 8px;
|
|
41
|
-
width: 24px;
|
|
42
|
-
height: 24px;
|
|
43
|
-
background-color: var(--f7-theme-color);
|
|
44
|
-
&:after,
|
|
45
|
-
&:before {
|
|
46
|
-
width: 14px;
|
|
47
|
-
height: 2px;
|
|
48
|
-
background: #fff;
|
|
49
|
-
margin-left: -7px;
|
|
50
|
-
margin-top: -1px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
.aurora {
|
|
2
|
-
.messages-title,
|
|
3
|
-
.message-header,
|
|
4
|
-
.message-footer,
|
|
5
|
-
.message-name {
|
|
6
|
-
b {
|
|
7
|
-
font-weight: 500;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
.message-header,
|
|
11
|
-
.message-name {
|
|
12
|
-
margin-bottom: 2px;
|
|
13
|
-
}
|
|
14
|
-
.message-footer {
|
|
15
|
-
margin-top: 2px;
|
|
16
|
-
}
|
|
17
|
-
.message-text-header {
|
|
18
|
-
margin-bottom: 2px;
|
|
19
|
-
}
|
|
20
|
-
.message-text-footer {
|
|
21
|
-
margin-top: 2px;
|
|
22
|
-
}
|
|
23
|
-
.message-received,
|
|
24
|
-
.message-sent {
|
|
25
|
-
&.message-tail .message-bubble {
|
|
26
|
-
&:before {
|
|
27
|
-
position: absolute;
|
|
28
|
-
content: '';
|
|
29
|
-
bottom: 0;
|
|
30
|
-
width: 0;
|
|
31
|
-
height: 0;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.message-image {
|
|
36
|
-
margin: var(--f7-message-bubble-padding-vertical)
|
|
37
|
-
calc(-1 * var(--f7-message-bubble-padding-horizontal) + 4px);
|
|
38
|
-
&:first-child {
|
|
39
|
-
margin-top: calc(-1 * var(--f7-message-bubble-padding-vertical) + 4px);
|
|
40
|
-
img {
|
|
41
|
-
border-top-left-radius: var(--f7-message-bubble-border-radius);
|
|
42
|
-
border-top-right-radius: var(--f7-message-bubble-border-radius);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
&:last-child {
|
|
46
|
-
margin-bottom: calc(-1 * var(--f7-message-bubble-padding-vertical) + 4px);
|
|
47
|
-
img {
|
|
48
|
-
border-bottom-left-radius: var(--f7-message-bubble-border-radius);
|
|
49
|
-
border-bottom-right-radius: var(--f7-message-bubble-border-radius);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.message-received {
|
|
54
|
-
margin-left: calc(16px + var(--f7-safe-area-left));
|
|
55
|
-
.message-avatar + .message-content {
|
|
56
|
-
margin-left: 5px;
|
|
57
|
-
}
|
|
58
|
-
.message-header,
|
|
59
|
-
.message-footer,
|
|
60
|
-
.message-name {
|
|
61
|
-
margin-left: var(--f7-message-bubble-padding-horizontal);
|
|
62
|
-
}
|
|
63
|
-
&.message-tail .message-bubble {
|
|
64
|
-
&:before {
|
|
65
|
-
border-left: 6px solid transparent;
|
|
66
|
-
border-right: 0 solid transparent;
|
|
67
|
-
border-bottom: 6px solid var(--f7-message-received-bg-color);
|
|
68
|
-
right: 100%;
|
|
69
|
-
transform: translate(2px, 0px) rotate(-15deg);
|
|
70
|
-
transform-origin: right bottom;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
.message-sent {
|
|
75
|
-
margin-right: calc(16px + var(--f7-safe-area-right));
|
|
76
|
-
.message-avatar + .message-content {
|
|
77
|
-
margin-right: 5px;
|
|
78
|
-
}
|
|
79
|
-
.message-header,
|
|
80
|
-
.message-footer,
|
|
81
|
-
.message-name {
|
|
82
|
-
margin-right: var(--f7-message-bubble-padding-horizontal);
|
|
83
|
-
}
|
|
84
|
-
&.message-tail .message-bubble {
|
|
85
|
-
&:before {
|
|
86
|
-
border-left: 0 solid transparent;
|
|
87
|
-
border-right: 6px solid transparent;
|
|
88
|
-
border-bottom: 6px solid var(--f7-message-sent-bg-color, var(--f7-theme-color));
|
|
89
|
-
left: 100%;
|
|
90
|
-
transform: translate(-2px, 0px) rotate(15deg);
|
|
91
|
-
transform-origin: left bottom;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Rules
|
|
97
|
-
.message + .message:not(.message-first) {
|
|
98
|
-
margin-top: 5px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Typing
|
|
102
|
-
.message-typing-indicator {
|
|
103
|
-
> div {
|
|
104
|
-
width: 6px;
|
|
105
|
-
height: 6px;
|
|
106
|
-
+ div {
|
|
107
|
-
.ltr({
|
|
108
|
-
margin-left: 4px;
|
|
109
|
-
});
|
|
110
|
-
.rtl({
|
|
111
|
-
margin-right: 4px;
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
> div:nth-child(1) {
|
|
116
|
-
animation: aurora-message-typing-indicator 900ms infinite;
|
|
117
|
-
}
|
|
118
|
-
> div:nth-child(2) {
|
|
119
|
-
animation: aurora-message-typing-indicator 900ms 150ms infinite;
|
|
120
|
-
}
|
|
121
|
-
> div:nth-child(3) {
|
|
122
|
-
animation: aurora-message-typing-indicator 900ms 300ms infinite;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@keyframes aurora-message-typing-indicator {
|
|
128
|
-
0% {
|
|
129
|
-
transform: translateY(0%);
|
|
130
|
-
}
|
|
131
|
-
50% {
|
|
132
|
-
transform: translateY(-5px);
|
|
133
|
-
}
|
|
134
|
-
100% {
|
|
135
|
-
transform: translateY(0%);
|
|
136
|
-
}
|
|
137
|
-
}
|