vuetify 2.5.9 → 2.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/json/attributes.json +58 -66
- package/dist/json/tags.json +0 -2
- package/dist/json/web-types.json +89 -146
- package/dist/vuetify.css +37 -24
- package/dist/vuetify.css.map +1 -1
- package/dist/vuetify.js +374 -177
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VAppBar/VAppBar.js +3 -0
- package/es5/components/VAppBar/VAppBar.js.map +1 -1
- package/es5/components/VAutocomplete/VAutocomplete.js +20 -2
- package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/es5/components/VCalendar/mixins/calendar-with-events.js +4 -2
- package/es5/components/VCalendar/mixins/calendar-with-events.js.map +1 -1
- package/es5/components/VCalendar/mixins/mouse.js +19 -0
- package/es5/components/VCalendar/mixins/mouse.js.map +1 -1
- package/es5/components/VCalendar/util/timestamp.js +2 -2
- package/es5/components/VCalendar/util/timestamp.js.map +1 -1
- package/es5/components/VCombobox/VCombobox.js +0 -5
- package/es5/components/VCombobox/VCombobox.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeaderMobile.js +2 -2
- package/es5/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/es5/components/VDialog/VDialog.js +4 -2
- package/es5/components/VDialog/VDialog.js.map +1 -1
- package/es5/components/VList/VListItem.js +8 -1
- package/es5/components/VList/VListItem.js.map +1 -1
- package/es5/components/VOverlay/VOverlay.js +1 -0
- package/es5/components/VOverlay/VOverlay.js.map +1 -1
- package/es5/components/VRadioGroup/VRadioGroup.js +7 -0
- package/es5/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/es5/components/VRangeSlider/VRangeSlider.js +4 -1
- package/es5/components/VRangeSlider/VRangeSlider.js.map +1 -1
- package/es5/components/VSelect/VSelect.js +1 -1
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSlideGroup/VSlideGroup.js +93 -37
- package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/es5/components/VTabs/VTab.js +15 -4
- package/es5/components/VTabs/VTab.js.map +1 -1
- package/es5/components/VTabs/VTabsBar.js +1 -1
- package/es5/components/VTabs/VTabsBar.js.map +1 -1
- package/es5/components/VTextarea/VTextarea.js +11 -2
- package/es5/components/VTextarea/VTextarea.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js +2 -5
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/components/VTreeview/VTreeview.js +1 -1
- package/es5/components/VTreeview/VTreeview.js.map +1 -1
- package/es5/components/transitions/createTransition.js +1 -5
- package/es5/components/transitions/createTransition.js.map +1 -1
- package/es5/directives/click-outside/index.js +19 -10
- package/es5/directives/click-outside/index.js.map +1 -1
- package/es5/directives/intersect/index.js +12 -11
- package/es5/directives/intersect/index.js.map +1 -1
- package/es5/directives/mutate/index.js +7 -6
- package/es5/directives/mutate/index.js.map +1 -1
- package/es5/directives/resize/index.js +8 -7
- package/es5/directives/resize/index.js.map +1 -1
- package/es5/directives/ripple/index.js +2 -3
- package/es5/directives/ripple/index.js.map +1 -1
- package/es5/directives/scroll/index.js +13 -10
- package/es5/directives/scroll/index.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/locale/fr.js +1 -1
- package/es5/locale/fr.js.map +1 -1
- package/es5/mixins/detachable/index.js +32 -14
- package/es5/mixins/detachable/index.js.map +1 -1
- package/es5/mixins/intersectable/index.js +5 -2
- package/es5/mixins/intersectable/index.js.map +1 -1
- package/es5/mixins/menuable/index.js +5 -5
- package/es5/mixins/menuable/index.js.map +1 -1
- package/es5/mixins/overlayable/index.js +22 -35
- package/es5/mixins/overlayable/index.js.map +1 -1
- package/es5/mixins/routable/index.js +9 -3
- package/es5/mixins/routable/index.js.map +1 -1
- package/es5/services/goto/index.js +3 -1
- package/es5/services/goto/index.js.map +1 -1
- package/es5/util/helpers.js +23 -0
- package/es5/util/helpers.js.map +1 -1
- package/lib/components/VAppBar/VAppBar.js +4 -0
- package/lib/components/VAppBar/VAppBar.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js +18 -2
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.js +4 -2
- package/lib/components/VCalendar/mixins/calendar-with-events.js.map +1 -1
- package/lib/components/VCalendar/mixins/mouse.js +19 -0
- package/lib/components/VCalendar/mixins/mouse.js.map +1 -1
- package/lib/components/VCalendar/util/timestamp.js +2 -2
- package/lib/components/VCalendar/util/timestamp.js.map +1 -1
- package/lib/components/VCombobox/VCombobox.js +0 -5
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaderMobile.js +2 -2
- package/lib/components/VDataTable/VDataTableHeaderMobile.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +5 -2
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VList/VListItem.js +9 -1
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VOverlay/VOverlay.js +1 -0
- package/lib/components/VOverlay/VOverlay.js.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.js +9 -0
- package/lib/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/lib/components/VRangeSlider/VRangeSlider.js +4 -1
- package/lib/components/VRangeSlider/VRangeSlider.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +1 -1
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.js +63 -40
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/lib/components/VTabs/VTab.js +16 -6
- package/lib/components/VTabs/VTab.js.map +1 -1
- package/lib/components/VTabs/VTabsBar.js +1 -1
- package/lib/components/VTabs/VTabsBar.js.map +1 -1
- package/lib/components/VTextarea/VTextarea.js +8 -0
- package/lib/components/VTextarea/VTextarea.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js +2 -5
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/components/VTreeview/VTreeview.js +1 -1
- package/lib/components/VTreeview/VTreeview.js.map +1 -1
- package/lib/components/transitions/createTransition.js +1 -5
- package/lib/components/transitions/createTransition.js.map +1 -1
- package/lib/directives/click-outside/index.js +20 -10
- package/lib/directives/click-outside/index.js.map +1 -1
- package/lib/directives/intersect/index.js +12 -10
- package/lib/directives/intersect/index.js.map +1 -1
- package/lib/directives/mutate/index.js +7 -6
- package/lib/directives/mutate/index.js.map +1 -1
- package/lib/directives/resize/index.js +6 -5
- package/lib/directives/resize/index.js.map +1 -1
- package/lib/directives/ripple/index.js +2 -3
- package/lib/directives/ripple/index.js.map +1 -1
- package/lib/directives/scroll/index.js +9 -6
- package/lib/directives/scroll/index.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/locale/fr.js +1 -1
- package/lib/locale/fr.js.map +1 -1
- package/lib/mixins/detachable/index.js +28 -13
- package/lib/mixins/detachable/index.js.map +1 -1
- package/lib/mixins/intersectable/index.js +5 -2
- package/lib/mixins/intersectable/index.js.map +1 -1
- package/lib/mixins/menuable/index.js +4 -4
- package/lib/mixins/menuable/index.js.map +1 -1
- package/lib/mixins/overlayable/index.js +23 -36
- package/lib/mixins/overlayable/index.js.map +1 -1
- package/lib/mixins/routable/index.js +12 -3
- package/lib/mixins/routable/index.js.map +1 -1
- package/lib/services/goto/index.js +3 -1
- package/lib/services/goto/index.js.map +1 -1
- package/lib/util/helpers.js +21 -0
- package/lib/util/helpers.js.map +1 -1
- package/package.json +2 -3
- package/src/components/VAppBar/VAppBar.ts +3 -0
- package/src/components/VAutocomplete/VAutocomplete.ts +15 -2
- package/src/components/VCalendar/mixins/calendar-with-events.sass +7 -1
- package/src/components/VCalendar/mixins/calendar-with-events.ts +3 -3
- package/src/components/VCalendar/mixins/mouse.ts +21 -0
- package/src/components/VCalendar/util/__tests__/events.spec.ts +1 -1
- package/src/components/VCalendar/util/timestamp.ts +2 -2
- package/src/components/VCombobox/VCombobox.ts +0 -5
- package/src/components/VCombobox/__tests__/VCombobox-multiple.spec.ts +113 -0
- package/src/components/VCombobox/__tests__/VCombobox.spec.ts +30 -0
- package/src/components/VDataTable/VDataTableHeaderMobile.ts +3 -1
- package/src/components/VDataTable/__tests__/__snapshots__/VDataTable.spec.ts.snap +0 -20
- package/src/components/VDialog/VDialog.ts +4 -2
- package/src/components/VImg/__tests__/VImg.spec.ts +1 -1
- package/src/components/VList/VListItem.sass +2 -1
- package/src/components/VList/VListItem.ts +7 -1
- package/src/components/VList/__tests__/VListItem.spec.ts +16 -0
- package/src/components/VOverlay/VOverlay.ts +1 -0
- package/src/components/VRadioGroup/VRadioGroup.ts +8 -0
- package/src/components/VRangeSlider/VRangeSlider.ts +3 -1
- package/src/components/VSelect/VSelect.ts +1 -1
- package/src/components/VSlideGroup/VSlideGroup.ts +75 -35
- package/src/components/VSlideGroup/__tests__/VSlideGroup.spec.ts +1 -3
- package/src/components/VSnackbar/VSnackbar.sass +2 -0
- package/src/components/VStepper/VStepper.sass +5 -1
- package/src/components/VStepper/_variables.scss +2 -1
- package/src/components/VTabs/VTab.ts +14 -4
- package/src/components/VTabs/VTabs.sass +5 -2
- package/src/components/VTabs/VTabsBar.ts +2 -2
- package/src/components/VTextarea/VTextarea.ts +7 -0
- package/src/components/VTooltip/VTooltip.ts +2 -5
- package/src/components/VTreeview/VTreeview.ts +1 -1
- package/src/components/transitions/createTransition.ts +1 -5
- package/src/directives/click-outside/__tests__/click-outside-shadow-dom.spec.ts +9 -6
- package/src/directives/click-outside/__tests__/click-outside.spec.ts +7 -4
- package/src/directives/click-outside/index.ts +19 -10
- package/src/directives/intersect/__tests__/intersect.spec.ts +13 -10
- package/src/directives/intersect/index.ts +13 -12
- package/src/directives/mutate/__tests__/mutate.spec.ts +36 -17
- package/src/directives/mutate/index.ts +8 -7
- package/src/directives/resize/__tests__/resize.spec.ts +4 -4
- package/src/directives/resize/index.ts +10 -5
- package/src/directives/ripple/index.ts +3 -5
- package/src/directives/scroll/__tests__/scroll.spec.ts +9 -9
- package/src/directives/scroll/index.ts +8 -7
- package/src/globals.d.ts +10 -11
- package/src/locale/fr.ts +1 -1
- package/src/mixins/detachable/index.ts +32 -15
- package/src/mixins/intersectable/index.ts +5 -2
- package/src/mixins/menuable/index.ts +4 -4
- package/src/mixins/overlayable/index.ts +24 -35
- package/src/mixins/routable/__tests__/routable.spec.ts +82 -5
- package/src/mixins/routable/index.ts +10 -3
- package/src/services/goto/index.ts +6 -1
- package/src/styles/components/_selection-controls.sass +4 -7
- package/src/styles/generic/_transitions.scss +219 -215
- package/src/styles/settings/_variables.scss +7 -7
- package/src/util/helpers.ts +22 -0
|
@@ -9,305 +9,309 @@
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
transform: translate(100%, 0);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-leave, &-leave-to {
|
|
20
|
-
position: absolute;
|
|
21
|
-
top: 0;
|
|
22
|
-
transform: translate(-100%, 0);
|
|
23
|
-
}
|
|
12
|
+
// Component specific transitions
|
|
13
|
+
.carousel-transition {
|
|
14
|
+
&-enter {
|
|
15
|
+
transform: translate(100%, 0);
|
|
24
16
|
}
|
|
25
17
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
&-leave, &-leave-to {
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
transform: translate(-100%, 0);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
transform: translate(100%, 0);
|
|
35
|
-
}
|
|
25
|
+
.carousel-reverse-transition {
|
|
26
|
+
&-enter {
|
|
27
|
+
transform: translate(-100%, 0);
|
|
36
28
|
}
|
|
37
29
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
30
|
+
&-leave, &-leave-to {
|
|
31
|
+
position: absolute;
|
|
32
|
+
top: 0;
|
|
33
|
+
transform: translate(100%, 0);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
43
36
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
37
|
+
.dialog-transition {
|
|
38
|
+
&-enter-active,
|
|
39
|
+
&-leave-active {
|
|
40
|
+
pointer-events: none !important;
|
|
41
|
+
}
|
|
48
42
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
43
|
+
&-enter, &-leave-to {
|
|
44
|
+
transform: scale(0.5);
|
|
45
|
+
opacity: 0;
|
|
53
46
|
}
|
|
54
47
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
transform: translateY(-100%);
|
|
58
|
-
}
|
|
48
|
+
&-enter-to, &-leave {
|
|
49
|
+
opacity: 1;
|
|
59
50
|
}
|
|
51
|
+
}
|
|
60
52
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
53
|
+
.dialog-bottom-transition {
|
|
54
|
+
&-enter, &-leave-to {
|
|
55
|
+
transform: translateY(100%);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
67
58
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
59
|
+
.dialog-top-transition {
|
|
60
|
+
&-enter, &-leave-to {
|
|
61
|
+
transform: translateY(-100%);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
72
64
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
.picker-transition,
|
|
66
|
+
.picker-reverse-transition {
|
|
67
|
+
&-enter-active,
|
|
68
|
+
&-leave-active {
|
|
69
|
+
transition: .3s map-get($transition, 'linear-out-slow-in');
|
|
78
70
|
}
|
|
79
71
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
72
|
+
&-enter,
|
|
73
|
+
&-leave-to {
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
84
76
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
77
|
+
&-leave,
|
|
78
|
+
&-leave-active,
|
|
79
|
+
&-leave-to {
|
|
80
|
+
position: absolute !important;
|
|
88
81
|
}
|
|
82
|
+
}
|
|
89
83
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
84
|
+
.picker-transition {
|
|
85
|
+
&-enter {
|
|
86
|
+
transform: translate(0, 100%);
|
|
87
|
+
}
|
|
94
88
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
89
|
+
&-leave-to {
|
|
90
|
+
transform: translate(0, -100%);
|
|
98
91
|
}
|
|
92
|
+
}
|
|
99
93
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
94
|
+
.picker-reverse-transition {
|
|
95
|
+
&-enter {
|
|
96
|
+
transform: translate(0, -100%);
|
|
97
|
+
}
|
|
105
98
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
99
|
+
&-leave-to {
|
|
100
|
+
transform: translate(0, 100%);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
109
103
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
104
|
+
.picker-title-transition {
|
|
105
|
+
&-enter-to,
|
|
106
|
+
&-leave {
|
|
107
|
+
transform: translate(0, 0);
|
|
108
|
+
}
|
|
114
109
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
&-leave-active {
|
|
118
|
-
position: absolute !important;
|
|
119
|
-
}
|
|
110
|
+
&-enter {
|
|
111
|
+
transform: translate(-100%, 0);
|
|
120
112
|
}
|
|
121
113
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
114
|
+
&-leave-to {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
transform: translate(100%, 0);
|
|
117
|
+
}
|
|
126
118
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
119
|
+
&-leave,
|
|
120
|
+
&-leave-to,
|
|
121
|
+
&-leave-active {
|
|
122
|
+
position: absolute !important;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
131
125
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
126
|
+
.tab-transition {
|
|
127
|
+
&-enter {
|
|
128
|
+
transform: translate(100%, 0);
|
|
136
129
|
}
|
|
137
130
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
131
|
+
&-leave, &-leave-active {
|
|
132
|
+
position: absolute;
|
|
133
|
+
top: 0;
|
|
134
|
+
}
|
|
142
135
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
transform: translate(100%, 0);
|
|
147
|
-
}
|
|
136
|
+
&-leave-to {
|
|
137
|
+
position: absolute;
|
|
138
|
+
transform: translate(-100%, 0);
|
|
148
139
|
}
|
|
140
|
+
}
|
|
149
141
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
142
|
+
.tab-reverse-transition {
|
|
143
|
+
&-enter {
|
|
144
|
+
transform: translate(-100%, 0);
|
|
153
145
|
}
|
|
154
146
|
|
|
155
|
-
|
|
156
|
-
|
|
147
|
+
&-leave, &-leave-to {
|
|
148
|
+
top: 0;
|
|
149
|
+
position: absolute;
|
|
150
|
+
transform: translate(100%, 0);
|
|
157
151
|
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Generic transitions
|
|
155
|
+
.expand-transition {
|
|
156
|
+
@include transition-default();
|
|
157
|
+
}
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
.expand-x-transition {
|
|
160
|
+
@include transition-default();
|
|
161
|
+
}
|
|
161
162
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
.scale-transition {
|
|
164
|
+
@include transition-default();
|
|
165
|
+
|
|
166
|
+
&-enter, &-leave, &-leave-to {
|
|
167
|
+
opacity: 0;
|
|
168
|
+
transform: scale(0);
|
|
166
169
|
}
|
|
170
|
+
}
|
|
167
171
|
|
|
168
|
-
|
|
169
|
-
|
|
172
|
+
.scale-rotate-transition {
|
|
173
|
+
@include transition-default();
|
|
170
174
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
+
&-enter, &-leave, &-leave-to {
|
|
176
|
+
opacity: 0;
|
|
177
|
+
transform: scale(0) rotate(-45deg);
|
|
175
178
|
}
|
|
179
|
+
}
|
|
176
180
|
|
|
177
|
-
|
|
178
|
-
|
|
181
|
+
.scale-rotate-reverse-transition {
|
|
182
|
+
@include transition-default();
|
|
179
183
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
+
&-enter, &-leave, &-leave-to {
|
|
185
|
+
opacity: 0;
|
|
186
|
+
transform: scale(0) rotate(45deg);
|
|
184
187
|
}
|
|
188
|
+
}
|
|
185
189
|
|
|
186
|
-
|
|
187
|
-
|
|
190
|
+
.message-transition {
|
|
191
|
+
@include transition-default();
|
|
188
192
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
+
&-enter, &-leave-to {
|
|
194
|
+
opacity: 0;
|
|
195
|
+
transform: translateY(-15px);
|
|
196
|
+
}
|
|
193
197
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
198
|
+
&-leave, &-leave-active {
|
|
199
|
+
position: absolute;
|
|
197
200
|
}
|
|
201
|
+
}
|
|
198
202
|
|
|
199
|
-
|
|
200
|
-
|
|
203
|
+
.slide-y-transition {
|
|
204
|
+
@include transition-default();
|
|
201
205
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
+
&-enter, &-leave-to {
|
|
207
|
+
opacity: 0;
|
|
208
|
+
transform: translateY(-15px);
|
|
206
209
|
}
|
|
210
|
+
}
|
|
207
211
|
|
|
208
|
-
|
|
209
|
-
|
|
212
|
+
.slide-y-reverse-transition {
|
|
213
|
+
@include transition-default();
|
|
210
214
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
}
|
|
215
|
+
&-enter, &-leave-to {
|
|
216
|
+
opacity: 0;
|
|
217
|
+
transform: translateY(15px);
|
|
215
218
|
}
|
|
219
|
+
}
|
|
216
220
|
|
|
217
|
-
|
|
218
|
-
|
|
221
|
+
.scroll-y-transition {
|
|
222
|
+
@include transition-default();
|
|
219
223
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
224
|
+
&-enter, &-leave-to {
|
|
225
|
+
opacity: 0;
|
|
226
|
+
}
|
|
223
227
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
228
|
+
&-enter {
|
|
229
|
+
transform: translateY(-15px);
|
|
230
|
+
}
|
|
227
231
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}
|
|
232
|
+
&-leave-to {
|
|
233
|
+
transform: translateY(15px);
|
|
231
234
|
}
|
|
235
|
+
}
|
|
232
236
|
|
|
233
|
-
|
|
234
|
-
|
|
237
|
+
.scroll-y-reverse-transition {
|
|
238
|
+
@include transition-default();
|
|
235
239
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
240
|
+
&-enter, &-leave-to {
|
|
241
|
+
opacity: 0;
|
|
242
|
+
}
|
|
239
243
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
244
|
+
&-enter {
|
|
245
|
+
transform: translateY(15px);
|
|
246
|
+
}
|
|
243
247
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
248
|
+
&-leave-to {
|
|
249
|
+
transform: translateY(-15px);
|
|
247
250
|
}
|
|
251
|
+
}
|
|
248
252
|
|
|
249
|
-
|
|
250
|
-
|
|
253
|
+
.scroll-x-transition {
|
|
254
|
+
@include transition-default();
|
|
251
255
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
256
|
+
&-enter, &-leave-to {
|
|
257
|
+
opacity: 0;
|
|
258
|
+
}
|
|
255
259
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
260
|
+
&-enter {
|
|
261
|
+
transform: translateX(-15px);
|
|
262
|
+
}
|
|
259
263
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
264
|
+
&-leave-to {
|
|
265
|
+
transform: translateX(15px);
|
|
263
266
|
}
|
|
267
|
+
}
|
|
264
268
|
|
|
265
|
-
|
|
266
|
-
|
|
269
|
+
.scroll-x-reverse-transition {
|
|
270
|
+
@include transition-default();
|
|
267
271
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
272
|
+
&-enter, &-leave-to {
|
|
273
|
+
opacity: 0;
|
|
274
|
+
}
|
|
271
275
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
276
|
+
&-enter {
|
|
277
|
+
transform: translateX(15px);
|
|
278
|
+
}
|
|
275
279
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
}
|
|
280
|
+
&-leave-to {
|
|
281
|
+
transform: translateX(-15px);
|
|
279
282
|
}
|
|
283
|
+
}
|
|
280
284
|
|
|
281
|
-
|
|
282
|
-
|
|
285
|
+
.slide-x-transition {
|
|
286
|
+
@include transition-default();
|
|
283
287
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
+
&-enter, &-leave-to {
|
|
289
|
+
opacity: 0;
|
|
290
|
+
transform: translateX(-15px);
|
|
288
291
|
}
|
|
292
|
+
}
|
|
289
293
|
|
|
290
|
-
|
|
291
|
-
|
|
294
|
+
.slide-x-reverse-transition {
|
|
295
|
+
@include transition-default();
|
|
292
296
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}
|
|
297
|
+
&-enter, &-leave-to {
|
|
298
|
+
opacity: 0;
|
|
299
|
+
transform: translateX(15px);
|
|
297
300
|
}
|
|
301
|
+
}
|
|
298
302
|
|
|
299
|
-
|
|
300
|
-
|
|
303
|
+
.fade-transition {
|
|
304
|
+
@include transition-default();
|
|
301
305
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
}
|
|
306
|
+
&-enter, &-leave-to {
|
|
307
|
+
opacity: 0 !important;
|
|
305
308
|
}
|
|
309
|
+
}
|
|
306
310
|
|
|
307
|
-
|
|
308
|
-
|
|
311
|
+
.fab-transition {
|
|
312
|
+
@include transition-default();
|
|
309
313
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
314
|
+
&-enter, &-leave-to {
|
|
315
|
+
transform: scale(0) rotate(-45deg);
|
|
313
316
|
}
|
|
317
|
+
}
|
|
@@ -82,15 +82,15 @@ $display-breakpoints: map-deep-merge(
|
|
|
82
82
|
(
|
|
83
83
|
'print-only': 'only print',
|
|
84
84
|
'screen-only': 'only screen',
|
|
85
|
-
'xs-only': 'only screen and (max-width: #{map-get($grid-breakpoints, 'sm') -
|
|
86
|
-
'sm-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'sm')}) and (max-width: #{map-get($grid-breakpoints, 'md') -
|
|
87
|
-
'sm-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'md') -
|
|
85
|
+
'xs-only': 'only screen and (max-width: #{map-get($grid-breakpoints, 'sm') - 0.02})',
|
|
86
|
+
'sm-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'sm')}) and (max-width: #{map-get($grid-breakpoints, 'md') - 0.02})',
|
|
87
|
+
'sm-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'md') - 0.02})',
|
|
88
88
|
'sm-and-up': 'only screen and (min-width: #{map-get($grid-breakpoints, 'sm')})',
|
|
89
|
-
'md-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'md')}) and (max-width: #{map-get($grid-breakpoints, 'lg') -
|
|
90
|
-
'md-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'lg') -
|
|
89
|
+
'md-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'md')}) and (max-width: #{map-get($grid-breakpoints, 'lg') - 0.02})',
|
|
90
|
+
'md-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'lg') - 0.02})',
|
|
91
91
|
'md-and-up': 'only screen and (min-width: #{map-get($grid-breakpoints, 'md')})',
|
|
92
|
-
'lg-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'lg')}) and (max-width: #{map-get($grid-breakpoints, 'xl') -
|
|
93
|
-
'lg-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'xl') -
|
|
92
|
+
'lg-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'lg')}) and (max-width: #{map-get($grid-breakpoints, 'xl') - 0.02})',
|
|
93
|
+
'lg-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'xl') - 0.02})',
|
|
94
94
|
'lg-and-up': 'only screen and (min-width: #{map-get($grid-breakpoints, 'lg')})',
|
|
95
95
|
'xl-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'xl')})'
|
|
96
96
|
),
|
package/src/util/helpers.ts
CHANGED
|
@@ -490,3 +490,25 @@ export function mergeDeep (
|
|
|
490
490
|
export function fillArray<T> (length: number, obj: T) {
|
|
491
491
|
return Array(length).fill(obj)
|
|
492
492
|
}
|
|
493
|
+
|
|
494
|
+
/** Polyfill for Event.prototype.composedPath */
|
|
495
|
+
export function composedPath (e: Event): EventTarget[] {
|
|
496
|
+
if (e.composedPath) return e.composedPath()
|
|
497
|
+
|
|
498
|
+
const path = []
|
|
499
|
+
let el = e.target as Element
|
|
500
|
+
|
|
501
|
+
while (el) {
|
|
502
|
+
path.push(el)
|
|
503
|
+
|
|
504
|
+
if (el.tagName === 'HTML') {
|
|
505
|
+
path.push(document)
|
|
506
|
+
path.push(window)
|
|
507
|
+
|
|
508
|
+
return path
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
el = el.parentElement!
|
|
512
|
+
}
|
|
513
|
+
return path
|
|
514
|
+
}
|