@vuetify/nightly 3.8.1-next.2025-04-18 → 3.8.2-dev.2025-04-28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -16
- package/dist/json/attributes.json +2825 -2817
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +168 -168
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +5590 -5610
- package/dist/vuetify-labs.cjs +180 -249
- package/dist/vuetify-labs.css +25246 -23473
- package/dist/vuetify-labs.d.ts +715 -279
- package/dist/vuetify-labs.esm.js +180 -249
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +180 -249
- package/dist/vuetify-labs.min.css +4 -3
- package/dist/vuetify.cjs +156 -231
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +23931 -22162
- package/dist/vuetify.d.ts +753 -317
- package/dist/vuetify.esm.js +156 -231
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +156 -231
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +4 -3
- package/dist/vuetify.min.js +295 -280
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/md3.js +18 -5
- package/lib/blueprints/md3.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +215 -207
- package/lib/components/VApp/VApp.css +15 -16
- package/lib/components/VAppBar/VAppBar.css +12 -14
- package/lib/components/VAutocomplete/VAutocomplete.css +84 -85
- package/lib/components/VAutocomplete/VAutocomplete.d.ts +9 -18
- package/lib/components/VAutocomplete/VAutocomplete.js +3 -6
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VAvatar/VAvatar.css +106 -108
- package/lib/components/VBadge/VBadge.css +77 -77
- package/lib/components/VBanner/VBanner.css +166 -161
- package/lib/components/VBottomNavigation/VBottomNavigation.css +64 -65
- package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
- package/lib/components/VBtn/VBtn.css +408 -372
- package/lib/components/VBtn/VBtn.sass +23 -10
- package/lib/components/VBtn/_variables.scss +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.css +87 -63
- package/lib/components/VBtnGroup/VBtnGroup.d.ts +58 -32
- package/lib/components/VBtnGroup/VBtnGroup.js +7 -3
- package/lib/components/VBtnGroup/VBtnGroup.js.map +1 -1
- package/lib/components/VBtnGroup/VBtnGroup.sass +44 -17
- package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
- package/lib/components/VBtnToggle/VBtnToggle.d.ts +25 -0
- package/lib/components/VCard/VCard.css +302 -294
- package/lib/components/VCarousel/VCarousel.css +65 -63
- package/lib/components/VCarousel/VCarousel.sass +1 -1
- package/lib/components/VCheckbox/VCheckbox.css +5 -7
- package/lib/components/VChip/VChip.css +411 -378
- package/lib/components/VChipGroup/VChipGroup.css +18 -19
- package/lib/components/VCode/VCode.css +11 -10
- package/lib/components/VCode/VCode.sass +3 -0
- package/lib/components/VColorPicker/VColorPicker.css +23 -23
- package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
- package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
- package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
- package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
- package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
- package/lib/components/VCombobox/VCombobox.css +84 -85
- package/lib/components/VCombobox/VCombobox.d.ts +9 -18
- package/lib/components/VCombobox/VCombobox.js +3 -6
- package/lib/components/VCombobox/VCombobox.js.map +1 -1
- package/lib/components/VCounter/VCounter.css +5 -7
- package/lib/components/VDataTable/VDataTable.css +186 -189
- package/lib/components/VDataTable/VDataTable.sass +11 -21
- package/lib/components/VDataTable/VDataTableFooter.css +31 -33
- package/lib/components/VDatePicker/VDatePicker.css +6 -8
- package/lib/components/VDatePicker/VDatePicker.d.ts +7 -7
- package/lib/components/VDatePicker/VDatePickerControls.css +57 -55
- package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
- package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +7 -7
- package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
- package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
- package/lib/components/VDialog/VDialog.css +98 -98
- package/lib/components/VDivider/VDivider.css +52 -52
- package/lib/components/VEmptyState/VEmptyState.css +67 -62
- package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
- package/lib/components/VFab/VFab.css +73 -78
- package/lib/components/VFab/VFab.sass +4 -5
- package/lib/components/VField/VField.css +589 -541
- package/lib/components/VField/VField.sass +11 -4
- package/lib/components/VField/_variables.scss +1 -1
- package/lib/components/VFileInput/VFileInput.css +28 -30
- package/lib/components/VFooter/VFooter.css +36 -38
- package/lib/components/VForm/VForm.d.ts +531 -111
- package/lib/components/VForm/VForm.js +1 -11
- package/lib/components/VForm/VForm.js.map +1 -1
- package/lib/components/VGrid/VGrid.css +592 -565
- package/lib/components/VIcon/VIcon.css +53 -52
- package/lib/components/VImg/VImg.css +51 -50
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
- package/lib/components/VInput/VInput.css +147 -136
- package/lib/components/VInput/VInput.d.ts +1 -1
- package/lib/components/VItemGroup/VItemGroup.css +5 -7
- package/lib/components/VKbd/VKbd.css +11 -13
- package/lib/components/VLabel/VLabel.css +15 -16
- package/lib/components/VLayout/VLayout.css +8 -10
- package/lib/components/VLayout/VLayoutItem.css +7 -8
- package/lib/components/VList/VList.css +108 -104
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +452 -440
- package/lib/components/VList/VListItem.sass +1 -2
- package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
- package/lib/components/VMain/VMain.css +30 -32
- package/lib/components/VMenu/VMenu.css +19 -21
- package/lib/components/VMessages/VMessages.css +15 -17
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +104 -102
- package/lib/components/VNumberInput/VNumberInput.css +46 -48
- package/lib/components/VOtpInput/VOtpInput.css +58 -56
- package/lib/components/VOverlay/VOverlay.css +64 -61
- package/lib/components/VOverlay/VOverlay.sass +13 -14
- package/lib/components/VOverlay/_variables.scss +1 -1
- package/lib/components/VPagination/VPagination.css +8 -10
- package/lib/components/VParallax/VParallax.css +6 -8
- package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
- package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
- package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
- package/lib/components/VRating/VRating.css +53 -52
- package/lib/components/VResponsive/VResponsive.css +26 -25
- package/lib/components/VSelect/VSelect.css +51 -53
- package/lib/components/VSelect/VSelect.d.ts +9 -18
- package/lib/components/VSelect/VSelect.js +3 -6
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.css +100 -98
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
- package/lib/components/VSheet/VSheet.css +36 -38
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
- package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
- package/lib/components/VSlider/VSlider.css +57 -53
- package/lib/components/VSlider/VSliderThumb.css +153 -142
- package/lib/components/VSlider/VSliderTrack.css +174 -155
- package/lib/components/VSnackbar/VSnackbar.css +140 -140
- package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
- package/lib/components/VStepper/VStepper.css +56 -55
- package/lib/components/VStepper/VStepperItem.css +115 -112
- package/lib/components/VSwitch/VSwitch.css +139 -129
- package/lib/components/VSystemBar/VSystemBar.css +43 -45
- package/lib/components/VTable/VTable.css +141 -140
- package/lib/components/VTable/VTable.sass +2 -4
- package/lib/components/VTabs/VTab.css +29 -30
- package/lib/components/VTabs/VTabs.css +65 -59
- package/lib/components/VTextField/VTextField.css +85 -77
- package/lib/components/VTextarea/VTextarea.css +40 -48
- package/lib/components/VTextarea/VTextarea.sass +2 -4
- package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
- package/lib/components/VTimeline/VTimeline.css +427 -388
- package/lib/components/VToolbar/VToolbar.css +144 -137
- package/lib/components/VTooltip/VTooltip.css +23 -27
- package/lib/components/VTooltip/VTooltip.sass +6 -8
- package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
- package/lib/components/VWindow/VWindow.css +70 -73
- package/lib/composables/calendar.d.ts +3 -2
- package/lib/composables/calendar.js +5 -7
- package/lib/composables/calendar.js.map +1 -1
- package/lib/composables/date/DateAdapter.d.ts +1 -0
- package/lib/composables/date/DateAdapter.js.map +1 -1
- package/lib/composables/date/adapters/vuetify.d.ts +1 -0
- package/lib/composables/date/adapters/vuetify.js +101 -160
- package/lib/composables/date/adapters/vuetify.js.map +1 -1
- package/lib/composables/date/date.d.ts +1 -1
- package/lib/composables/date/date.js +0 -20
- package/lib/composables/date/date.js.map +1 -1
- package/lib/composables/filter.js +2 -1
- package/lib/composables/filter.js.map +1 -1
- package/lib/composables/theme.js +5 -5
- package/lib/composables/theme.js.map +1 -1
- package/lib/composables/validation.js +5 -0
- package/lib/composables/validation.js.map +1 -1
- package/lib/directives/ripple/VRipple.css +36 -38
- package/lib/entry-bundler.d.ts +1 -0
- package/lib/entry-bundler.js +1 -1
- package/lib/entry-bundler.js.map +1 -1
- package/lib/framework.d.ts +62 -59
- package/lib/framework.js +1 -1
- package/lib/framework.js.map +1 -1
- package/lib/labs/VCalendar/VCalendar.css +225 -219
- package/lib/labs/VCalendar/VCalendar.d.ts +7 -7
- package/lib/labs/VCalendar/VCalendarDay.css +32 -33
- package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
- package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
- package/lib/labs/VCalendar/VCalendarInterval.js +25 -19
- package/lib/labs/VCalendar/VCalendarInterval.js.map +1 -1
- package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
- package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
- package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
- package/lib/labs/VDateInput/VDateInput.d.ts +7 -7
- package/lib/labs/VFileUpload/VFileUpload.css +77 -74
- package/lib/labs/VIconBtn/VIconBtn.css +164 -162
- package/lib/labs/VPicker/VPicker.css +63 -58
- package/lib/labs/VTimePicker/VTimePicker.css +7 -9
- package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
- package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
- package/lib/labs/VTreeview/VTreeviewItem.css +28 -30
- package/lib/labs/VTreeview/VTreeviewItem.sass +2 -3
- package/lib/labs/entry-bundler.d.ts +1 -0
- package/lib/styles/elements/_global.sass +1 -1
- package/lib/styles/generic/_colors.scss +3 -3
- package/lib/styles/generic/_layers.scss +1 -13
- package/lib/styles/generic/_reset.scss +1 -0
- package/lib/styles/generic/_transitions.scss +32 -32
- package/lib/styles/main.css +16142 -14667
- package/lib/styles/settings/_utilities.scss +5 -0
- package/lib/styles/settings/_variables.scss +3 -2
- package/lib/styles/tools/_bootable.sass +3 -0
- package/lib/styles/tools/_border.sass +4 -4
- package/lib/styles/tools/_display.sass +10 -0
- package/lib/styles/tools/_elevation.sass +2 -2
- package/lib/styles/tools/_index.sass +2 -0
- package/lib/styles/tools/_layer.scss +2 -4
- package/lib/styles/tools/_position.sass +2 -2
- package/lib/styles/tools/_radius.sass +10 -0
- package/lib/styles/tools/_rounded.sass +2 -2
- package/lib/styles/tools/_utilities.sass +5 -1
- package/lib/styles/utilities/_elevation.scss +1 -1
- package/package.json +46 -45
@@ -1,138 +1,145 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
.v-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
.v-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
1
|
+
.v-toolbar {
|
2
|
+
align-items: flex-start;
|
3
|
+
display: flex;
|
4
|
+
flex: none;
|
5
|
+
flex-direction: column;
|
6
|
+
justify-content: space-between;
|
7
|
+
max-width: 100%;
|
8
|
+
position: relative;
|
9
|
+
transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
10
|
+
transition-property: height, width, transform, max-width, left, right, top, bottom, box-shadow;
|
11
|
+
width: 100%;
|
12
|
+
}
|
13
|
+
.v-toolbar {
|
14
|
+
border-color: rgba(var(--v-border-color), var(--v-border-opacity));
|
15
|
+
border-style: solid;
|
16
|
+
border-width: 0;
|
17
|
+
}
|
18
|
+
.v-toolbar--border {
|
19
|
+
border-width: thin;
|
20
|
+
box-shadow: none;
|
21
|
+
}
|
22
|
+
.v-toolbar {
|
23
|
+
box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
24
|
+
}
|
25
|
+
.v-toolbar {
|
26
|
+
border-radius: 0;
|
27
|
+
}
|
28
|
+
.v-toolbar {
|
29
|
+
background: rgb(var(--v-theme-surface-light));
|
30
|
+
color: rgba(var(--v-theme-on-surface-light), var(--v-high-emphasis-opacity));
|
31
|
+
}
|
32
|
+
.v-toolbar--absolute {
|
33
|
+
position: absolute;
|
34
|
+
}
|
35
|
+
.v-toolbar--collapse {
|
36
|
+
max-width: 112px;
|
37
|
+
overflow: hidden;
|
38
|
+
border-end-end-radius: 24px;
|
39
|
+
}
|
40
|
+
.v-toolbar--collapse .v-toolbar-title {
|
41
|
+
display: none;
|
42
|
+
}
|
43
|
+
.v-toolbar--flat {
|
44
|
+
box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
45
|
+
}
|
46
|
+
.v-toolbar--floating {
|
47
|
+
display: inline-flex;
|
48
|
+
width: auto;
|
49
|
+
}
|
50
|
+
.v-toolbar--rounded {
|
51
|
+
border-radius: 4px;
|
52
|
+
}
|
53
|
+
|
54
|
+
.v-toolbar__content,
|
55
|
+
.v-toolbar__extension {
|
56
|
+
align-items: center;
|
57
|
+
display: flex;
|
58
|
+
flex: 0 0 auto;
|
59
|
+
position: relative;
|
60
|
+
transition: inherit;
|
61
|
+
width: 100%;
|
62
|
+
}
|
63
|
+
|
64
|
+
.v-toolbar__content {
|
65
|
+
overflow: hidden;
|
66
|
+
}
|
67
|
+
.v-toolbar__content > .v-btn:first-child {
|
68
|
+
margin-inline-start: 4px;
|
69
|
+
}
|
70
|
+
.v-toolbar__content > .v-btn:last-child {
|
71
|
+
margin-inline-end: 4px;
|
72
|
+
}
|
73
|
+
.v-toolbar__content > .v-toolbar-title {
|
74
|
+
margin-inline-start: 20px;
|
75
|
+
}
|
76
|
+
.v-toolbar--density-prominent .v-toolbar__content {
|
77
|
+
align-items: flex-start;
|
78
|
+
}
|
79
|
+
|
80
|
+
.v-toolbar__image {
|
81
|
+
display: flex;
|
82
|
+
opacity: var(--v-toolbar-image-opacity, 1);
|
83
|
+
transition-property: opacity;
|
84
|
+
}
|
85
|
+
.v-toolbar__image {
|
86
|
+
position: absolute;
|
87
|
+
top: 0;
|
88
|
+
left: 0;
|
89
|
+
width: 100%;
|
90
|
+
height: 100%;
|
91
|
+
}
|
92
|
+
|
93
|
+
.v-toolbar__prepend,
|
94
|
+
.v-toolbar__append {
|
95
|
+
align-items: center;
|
96
|
+
align-self: stretch;
|
97
|
+
display: flex;
|
98
|
+
}
|
99
|
+
|
100
|
+
.v-toolbar__prepend {
|
101
|
+
margin-inline: 4px auto;
|
102
|
+
}
|
103
|
+
|
104
|
+
.v-toolbar__append {
|
105
|
+
margin-inline: auto 4px;
|
106
|
+
}
|
107
|
+
|
108
|
+
.v-toolbar-title {
|
109
|
+
flex: 1 1;
|
110
|
+
font-size: 1.25rem;
|
111
|
+
min-width: 0;
|
112
|
+
}
|
113
|
+
.v-toolbar-title {
|
114
|
+
font-size: 1.25rem;
|
115
|
+
font-weight: 400;
|
116
|
+
letter-spacing: 0;
|
117
|
+
line-height: 1.75rem;
|
118
|
+
text-transform: none;
|
119
|
+
}
|
120
|
+
.v-toolbar--density-prominent .v-toolbar-title {
|
121
|
+
align-self: flex-end;
|
122
|
+
padding-bottom: 6px;
|
123
|
+
}
|
124
|
+
.v-toolbar--density-prominent .v-toolbar-title {
|
125
|
+
font-size: 1.5rem;
|
126
|
+
font-weight: 400;
|
127
|
+
letter-spacing: 0;
|
128
|
+
line-height: 2.25rem;
|
129
|
+
text-transform: none;
|
130
|
+
}
|
131
|
+
|
132
|
+
.v-toolbar-title__placeholder {
|
133
|
+
overflow: hidden;
|
134
|
+
text-overflow: ellipsis;
|
135
|
+
white-space: nowrap;
|
136
|
+
}
|
137
|
+
|
138
|
+
.v-toolbar-items {
|
139
|
+
display: flex;
|
140
|
+
height: inherit;
|
141
|
+
align-self: stretch;
|
142
|
+
}
|
143
|
+
.v-toolbar-items > .v-btn {
|
144
|
+
border-radius: 0;
|
138
145
|
}
|
@@ -1,29 +1,25 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
overflow-wrap: break-word;
|
15
|
-
}
|
1
|
+
.v-tooltip > .v-overlay__content {
|
2
|
+
background: rgb(var(--v-theme-surface-variant));
|
3
|
+
color: rgb(var(--v-theme-on-surface-variant));
|
4
|
+
border-radius: 4px;
|
5
|
+
font-size: 0.875rem;
|
6
|
+
line-height: 1.6;
|
7
|
+
display: inline-block;
|
8
|
+
padding: 5px 16px;
|
9
|
+
text-transform: initial;
|
10
|
+
width: auto;
|
11
|
+
opacity: 1;
|
12
|
+
transition-property: opacity, transform;
|
13
|
+
overflow-wrap: break-word;
|
16
14
|
}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
pointer-events: none;
|
28
|
-
}
|
15
|
+
.v-tooltip > .v-overlay__content[class*=enter-active] {
|
16
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
17
|
+
transition-duration: 150ms;
|
18
|
+
}
|
19
|
+
.v-tooltip > .v-overlay__content[class*=leave-active] {
|
20
|
+
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
21
|
+
transition-duration: 75ms;
|
22
|
+
}
|
23
|
+
.v-tooltip:not(.v-tooltip--interactive) > .v-overlay__content {
|
24
|
+
pointer-events: none;
|
29
25
|
}
|
@@ -18,15 +18,13 @@
|
|
18
18
|
transition-property: opacity, transform
|
19
19
|
overflow-wrap: $tooltip-overflow-wrap
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
transition-timing-function: settings.$decelerated-easing
|
25
|
-
transition-duration: $tooltip-transition-enter-duration
|
21
|
+
&[class*="enter-active"]
|
22
|
+
transition-timing-function: settings.$decelerated-easing
|
23
|
+
transition-duration: $tooltip-transition-enter-duration
|
26
24
|
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
&[class*="leave-active"]
|
26
|
+
transition-timing-function: settings.$accelerated-easing
|
27
|
+
transition-duration: $tooltip-transition-leave-duration
|
30
28
|
|
31
29
|
&:not(.v-tooltip--interactive)
|
32
30
|
> .v-overlay__content
|
@@ -1,12 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
display: block;
|
11
|
-
}
|
1
|
+
.v-virtual-scroll {
|
2
|
+
display: block;
|
3
|
+
flex: 1 1 auto;
|
4
|
+
max-width: 100%;
|
5
|
+
overflow: auto;
|
6
|
+
position: relative;
|
7
|
+
}
|
8
|
+
.v-virtual-scroll__container {
|
9
|
+
display: block;
|
12
10
|
}
|
@@ -1,74 +1,71 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
.v-window-y-reverse-transition-leave-to {
|
72
|
-
transform: translateY(100%);
|
73
|
-
}
|
1
|
+
.v-window {
|
2
|
+
overflow: hidden;
|
3
|
+
}
|
4
|
+
.v-window__container {
|
5
|
+
display: flex;
|
6
|
+
flex-direction: column;
|
7
|
+
height: inherit;
|
8
|
+
position: relative;
|
9
|
+
transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
|
10
|
+
}
|
11
|
+
.v-window__controls {
|
12
|
+
position: absolute;
|
13
|
+
left: 0;
|
14
|
+
top: 0;
|
15
|
+
width: 100%;
|
16
|
+
height: 100%;
|
17
|
+
display: flex;
|
18
|
+
align-items: center;
|
19
|
+
justify-content: space-between;
|
20
|
+
padding: 0 16px;
|
21
|
+
pointer-events: none;
|
22
|
+
}
|
23
|
+
.v-window__controls > * {
|
24
|
+
pointer-events: auto;
|
25
|
+
}
|
26
|
+
.v-window--show-arrows-on-hover {
|
27
|
+
overflow: hidden;
|
28
|
+
}
|
29
|
+
.v-window--show-arrows-on-hover .v-window__left {
|
30
|
+
transform: translateX(-200%);
|
31
|
+
}
|
32
|
+
.v-window--show-arrows-on-hover .v-window__right {
|
33
|
+
transform: translateX(200%);
|
34
|
+
}
|
35
|
+
.v-window--show-arrows-on-hover:hover .v-window__left,
|
36
|
+
.v-window--show-arrows-on-hover:hover .v-window__right {
|
37
|
+
transform: translateX(0);
|
38
|
+
}
|
39
|
+
|
40
|
+
.v-window-x-transition-enter-active, .v-window-x-transition-leave-active, .v-window-x-reverse-transition-enter-active, .v-window-x-reverse-transition-leave-active, .v-window-y-transition-enter-active, .v-window-y-transition-leave-active, .v-window-y-reverse-transition-enter-active, .v-window-y-reverse-transition-leave-active {
|
41
|
+
transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
|
42
|
+
}
|
43
|
+
.v-window-x-transition-leave-from, .v-window-x-transition-leave-to, .v-window-x-reverse-transition-leave-from, .v-window-x-reverse-transition-leave-to, .v-window-y-transition-leave-from, .v-window-y-transition-leave-to, .v-window-y-reverse-transition-leave-from, .v-window-y-reverse-transition-leave-to {
|
44
|
+
position: absolute !important;
|
45
|
+
top: 0;
|
46
|
+
width: 100%;
|
47
|
+
}
|
48
|
+
.v-window-x-transition-enter-from {
|
49
|
+
transform: translateX(100%);
|
50
|
+
}
|
51
|
+
.v-window-x-transition-leave-to {
|
52
|
+
transform: translateX(-100%);
|
53
|
+
}
|
54
|
+
.v-window-x-reverse-transition-enter-from {
|
55
|
+
transform: translateX(-100%);
|
56
|
+
}
|
57
|
+
.v-window-x-reverse-transition-leave-to {
|
58
|
+
transform: translateX(100%);
|
59
|
+
}
|
60
|
+
.v-window-y-transition-enter-from {
|
61
|
+
transform: translateY(100%);
|
62
|
+
}
|
63
|
+
.v-window-y-transition-leave-to {
|
64
|
+
transform: translateY(-100%);
|
65
|
+
}
|
66
|
+
.v-window-y-reverse-transition-enter-from {
|
67
|
+
transform: translateY(-100%);
|
68
|
+
}
|
69
|
+
.v-window-y-reverse-transition-leave-to {
|
70
|
+
transform: translateY(100%);
|
74
71
|
}
|
@@ -11,6 +11,7 @@ export interface CalendarProps {
|
|
11
11
|
weekdays: number[];
|
12
12
|
year: number | string | undefined;
|
13
13
|
weeksInMonth: 'dynamic' | 'static';
|
14
|
+
/** @deprecated */
|
14
15
|
firstDayOfWeek: number | string | undefined;
|
15
16
|
'onUpdate:modelValue': ((value: unknown[]) => void) | undefined;
|
16
17
|
'onUpdate:month': ((value: number) => void) | undefined;
|
@@ -95,10 +96,10 @@ export declare const makeCalendarProps: <Defaults extends {
|
|
95
96
|
};
|
96
97
|
firstDayOfWeek: unknown extends Defaults["firstDayOfWeek"] ? {
|
97
98
|
type: (StringConstructor | NumberConstructor)[];
|
98
|
-
default:
|
99
|
+
default: undefined;
|
99
100
|
} : Omit<{
|
100
101
|
type: (StringConstructor | NumberConstructor)[];
|
101
|
-
default:
|
102
|
+
default: undefined;
|
102
103
|
}, "type" | "default"> & {
|
103
104
|
type: PropType<unknown extends Defaults["firstDayOfWeek"] ? string | number : string | number | Defaults["firstDayOfWeek"]>;
|
104
105
|
default: unknown extends Defaults["firstDayOfWeek"] ? string | number : NonNullable<string | number> | Defaults["firstDayOfWeek"];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// Composables
|
2
|
-
import {
|
2
|
+
import { useDate } from "./date/date.js";
|
3
3
|
import { useProxiedModel } from "./proxiedModel.js"; // Utilities
|
4
4
|
import { computed } from 'vue';
|
5
5
|
import { propsFactory, wrapInArray } from "../util/index.js"; // Types
|
@@ -28,7 +28,7 @@ export const makeCalendarProps = propsFactory({
|
|
28
28
|
},
|
29
29
|
firstDayOfWeek: {
|
30
30
|
type: [Number, String],
|
31
|
-
default:
|
31
|
+
default: undefined
|
32
32
|
}
|
33
33
|
}, 'calendar');
|
34
34
|
export function useCalendar(props) {
|
@@ -51,14 +51,12 @@ export function useCalendar(props) {
|
|
51
51
|
return adapter.setMonth(date, value);
|
52
52
|
}, v => adapter.getMonth(v));
|
53
53
|
const weekDays = computed(() => {
|
54
|
-
const firstDayOfWeek =
|
55
|
-
|
54
|
+
const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
|
56
55
|
// Always generate all days, regardless of props.weekdays
|
57
56
|
return [0, 1, 2, 3, 4, 5, 6].map(day => (day + firstDayOfWeek) % 7);
|
58
57
|
});
|
59
58
|
const weeksInMonth = computed(() => {
|
60
|
-
const
|
61
|
-
const weeks = adapter.getWeekArray(month.value, firstDayOfWeek);
|
59
|
+
const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
|
62
60
|
const days = weeks.flat();
|
63
61
|
|
64
62
|
// Make sure there's always 6 weeks in month (6 * 7 days)
|
@@ -122,7 +120,7 @@ export function useCalendar(props) {
|
|
122
120
|
});
|
123
121
|
const weekNumbers = computed(() => {
|
124
122
|
return weeksInMonth.value.map(week => {
|
125
|
-
return week.length ? getWeek(
|
123
|
+
return week.length ? adapter.getWeek(week[0], props.firstDayOfWeek) : null;
|
126
124
|
});
|
127
125
|
});
|
128
126
|
function isDisabled(value) {
|