@vuetify/nightly 3.7.4-next.2024-11-06 → 3.7.5-dev.2024-12-16
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 +2853 -2845
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +150 -150
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +5324 -5306
- package/dist/vuetify-labs.css +25135 -23418
- package/dist/vuetify-labs.d.ts +202 -196
- package/dist/vuetify-labs.esm.js +107 -106
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +106 -105
- package/dist/vuetify-labs.min.css +4 -3
- package/dist/vuetify.css +23838 -22118
- package/dist/vuetify.d.ts +191 -185
- package/dist/vuetify.esm.js +96 -96
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +95 -95
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +4 -3
- package/dist/vuetify.min.js +884 -889
- package/dist/vuetify.min.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/VAppBar/index.d.mts +6 -6
- package/lib/components/VAutocomplete/VAutocomplete.css +85 -86
- package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -4
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +22 -22
- package/lib/components/VAvatar/VAvatar.css +106 -108
- package/lib/components/VBadge/VBadge.css +77 -73
- package/lib/components/VBadge/VBadge.sass +4 -0
- package/lib/components/VBanner/VBanner.css +166 -161
- package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
- package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
- package/lib/components/VBtn/VBtn.css +408 -385
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtn/index.d.mts +7 -7
- package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
- package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
- package/lib/components/VBtnToggle/index.d.mts +9 -9
- package/lib/components/VCard/VCard.css +302 -294
- package/lib/components/VCarousel/VCarousel.css +65 -63
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/VCarousel.sass +1 -1
- package/lib/components/VCarousel/index.d.mts +9 -9
- package/lib/components/VCheckbox/VCheckbox.css +5 -7
- package/lib/components/VCheckbox/VCheckbox.mjs +3 -3
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VChip/VChip.css +411 -378
- package/lib/components/VChip/VChip.mjs +18 -10
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VChip/index.d.mts +13 -8
- package/lib/components/VChipGroup/VChipGroup.css +18 -19
- package/lib/components/VChipGroup/VChipGroup.mjs +2 -0
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.mts +20 -15
- package/lib/components/VCode/VCode.css +8 -10
- package/lib/components/VColorPicker/VColorPicker.css +22 -22
- 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 +85 -86
- package/lib/components/VCombobox/VCombobox.mjs +4 -4
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +22 -22
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
- package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +1 -1
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
- package/lib/components/VConfirmEdit/index.d.mts +3 -7
- package/lib/components/VCounter/VCounter.css +5 -7
- package/lib/components/VDataTable/VDataTable.css +186 -189
- package/lib/components/VDataTable/VDataTable.sass +10 -20
- package/lib/components/VDataTable/VDataTableFooter.css +31 -33
- package/lib/components/VDatePicker/VDatePicker.css +6 -8
- package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
- package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
- package/lib/components/VDatePicker/VDatePickerHeader.mjs +2 -1
- package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
- package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
- package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
- package/lib/components/VDatePicker/index.d.mts +5 -5
- package/lib/components/VDialog/VDialog.css +95 -95
- 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/VExpansionPanel/index.d.mts +7 -7
- package/lib/components/VFab/VFab.css +69 -74
- package/lib/components/VFab/VFab.sass +4 -5
- package/lib/components/VFab/index.d.mts +6 -6
- package/lib/components/VField/VField.css +579 -539
- package/lib/components/VField/VField.mjs +5 -4
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +29 -31
- package/lib/components/VFooter/VFooter.css +36 -38
- package/lib/components/VGrid/VGrid.css +592 -565
- package/lib/components/VIcon/VIcon.css +52 -51
- package/lib/components/VImg/VImg.css +51 -50
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
- package/lib/components/VInput/VInput.css +142 -131
- package/lib/components/VInput/VInput.mjs +3 -3
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.css +5 -7
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.mts +9 -9
- 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.mjs +3 -2
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +452 -440
- package/lib/components/VList/VListItem.mjs +3 -2
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +1 -2
- package/lib/components/VList/index.d.mts +10 -10
- 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/VMenu/VMenu.mjs +3 -3
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +6 -6
- package/lib/components/VMessages/VMessages.css +15 -17
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +108 -106
- package/lib/components/VOtpInput/VOtpInput.css +58 -56
- package/lib/components/VOverlay/VOverlay.css +63 -60
- package/lib/components/VOverlay/VOverlay.sass +13 -14
- 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/VRadioGroup/VRadioGroup.mjs +3 -3
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRating/VRating.css +53 -52
- package/lib/components/VRating/VRating.mjs +4 -3
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VResponsive/VResponsive.css +26 -25
- package/lib/components/VSelect/VSelect.css +52 -54
- package/lib/components/VSelect/VSelect.mjs +3 -3
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +22 -22
- package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
- package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -3
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -3
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- 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/VSlideGroup/index.d.mts +10 -10
- 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/VSparkline/VBarline.mjs +3 -3
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VSparkline/VTrendline.mjs +3 -3
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
- package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
- package/lib/components/VStepper/VStepper.css +56 -55
- package/lib/components/VStepper/VStepper.mjs +5 -4
- package/lib/components/VStepper/VStepper.mjs.map +1 -1
- package/lib/components/VStepper/VStepperItem.css +115 -112
- package/lib/components/VStepper/VStepperItem.mjs +5 -4
- package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
- package/lib/components/VStepper/index.d.mts +51 -45
- package/lib/components/VSwitch/VSwitch.css +139 -129
- package/lib/components/VSwitch/VSwitch.mjs +3 -3
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- 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/VTabs/index.d.mts +7 -7
- package/lib/components/VTextField/VTextField.css +68 -65
- package/lib/components/VTextarea/VTextarea.css +39 -47
- package/lib/components/VTextarea/VTextarea.sass +2 -4
- package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
- package/lib/components/VTimeline/VTimeline.css +418 -379
- package/lib/components/VToolbar/VToolbar.css +143 -136
- package/lib/components/VTooltip/VTooltip.css +21 -25
- package/lib/components/VTooltip/VTooltip.mjs +3 -3
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- 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/components/VWindow/index.d.mts +7 -7
- package/lib/components/index.d.mts +138 -132
- package/lib/composables/form.mjs +7 -2
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/group.mjs +3 -3
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/layout.mjs +3 -3
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +2 -2
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/theme.mjs +4 -4
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/validation.mjs +13 -15
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.css +36 -38
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +2 -3
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +53 -53
- package/lib/labs/VCalendar/VCalendar.css +225 -219
- 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/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.mjs +1 -1
- package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/VNumberInput.css +38 -40
- package/lib/labs/VNumberInput/VNumberInput.mjs +7 -5
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VPicker/VPicker.css +57 -53
- package/lib/labs/VStepperVertical/index.d.mts +44 -44
- 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 +15 -17
- package/lib/labs/VTreeview/VTreeviewItem.mjs +3 -4
- package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
- package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
- package/lib/labs/VTreeview/index.d.mts +20 -20
- package/lib/labs/components.d.mts +64 -64
- package/lib/locale/fr.mjs +1 -1
- package/lib/locale/fr.mjs.map +1 -1
- 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/_transitions.scss +32 -32
- package/lib/styles/main.css +16139 -14666
- package/lib/styles/settings/_utilities.scss +5 -0
- package/lib/styles/settings/_variables.scss +2 -1
- 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/lib/util/getCurrentInstance.mjs +1 -15
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/package.json +1 -1
@@ -1,137 +1,144 @@
|
|
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
|
-
|
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
|
+
}
|
49
|
+
.v-toolbar--rounded {
|
50
|
+
border-radius: 4px;
|
51
|
+
}
|
52
|
+
|
53
|
+
.v-toolbar__content,
|
54
|
+
.v-toolbar__extension {
|
55
|
+
align-items: center;
|
56
|
+
display: flex;
|
57
|
+
flex: 0 0 auto;
|
58
|
+
position: relative;
|
59
|
+
transition: inherit;
|
60
|
+
width: 100%;
|
61
|
+
}
|
62
|
+
|
63
|
+
.v-toolbar__content {
|
64
|
+
overflow: hidden;
|
65
|
+
}
|
66
|
+
.v-toolbar__content > .v-btn:first-child {
|
67
|
+
margin-inline-start: 4px;
|
68
|
+
}
|
69
|
+
.v-toolbar__content > .v-btn:last-child {
|
70
|
+
margin-inline-end: 4px;
|
71
|
+
}
|
72
|
+
.v-toolbar__content > .v-toolbar-title {
|
73
|
+
margin-inline-start: 20px;
|
74
|
+
}
|
75
|
+
.v-toolbar--density-prominent .v-toolbar__content {
|
76
|
+
align-items: flex-start;
|
77
|
+
}
|
78
|
+
|
79
|
+
.v-toolbar__image {
|
80
|
+
display: flex;
|
81
|
+
opacity: var(--v-toolbar-image-opacity, 1);
|
82
|
+
transition-property: opacity;
|
83
|
+
}
|
84
|
+
.v-toolbar__image {
|
85
|
+
position: absolute;
|
86
|
+
top: 0;
|
87
|
+
left: 0;
|
88
|
+
width: 100%;
|
89
|
+
height: 100%;
|
90
|
+
}
|
91
|
+
|
92
|
+
.v-toolbar__prepend,
|
93
|
+
.v-toolbar__append {
|
94
|
+
align-items: center;
|
95
|
+
align-self: stretch;
|
96
|
+
display: flex;
|
97
|
+
}
|
98
|
+
|
99
|
+
.v-toolbar__prepend {
|
100
|
+
margin-inline: 4px auto;
|
101
|
+
}
|
102
|
+
|
103
|
+
.v-toolbar__append {
|
104
|
+
margin-inline: auto 4px;
|
105
|
+
}
|
106
|
+
|
107
|
+
.v-toolbar-title {
|
108
|
+
flex: 1 1;
|
109
|
+
font-size: 1.25rem;
|
110
|
+
min-width: 0;
|
111
|
+
}
|
112
|
+
.v-toolbar-title {
|
113
|
+
font-size: 1.25rem;
|
114
|
+
font-weight: 400;
|
115
|
+
letter-spacing: 0;
|
116
|
+
line-height: 1.75rem;
|
117
|
+
text-transform: none;
|
118
|
+
}
|
119
|
+
.v-toolbar--density-prominent .v-toolbar-title {
|
120
|
+
align-self: flex-end;
|
121
|
+
padding-bottom: 6px;
|
122
|
+
}
|
123
|
+
.v-toolbar--density-prominent .v-toolbar-title {
|
124
|
+
font-size: 1.5rem;
|
125
|
+
font-weight: 400;
|
126
|
+
letter-spacing: 0;
|
127
|
+
line-height: 2.25rem;
|
128
|
+
text-transform: none;
|
129
|
+
}
|
130
|
+
|
131
|
+
.v-toolbar-title__placeholder {
|
132
|
+
overflow: hidden;
|
133
|
+
text-overflow: ellipsis;
|
134
|
+
white-space: nowrap;
|
135
|
+
}
|
136
|
+
|
137
|
+
.v-toolbar-items {
|
138
|
+
display: flex;
|
139
|
+
height: inherit;
|
140
|
+
align-self: stretch;
|
141
|
+
}
|
142
|
+
.v-toolbar-items > .v-btn {
|
143
|
+
border-radius: 0;
|
137
144
|
}
|
@@ -1,27 +1,23 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
overflow-wrap: break-word;
|
16
|
-
}
|
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
|
+
pointer-events: none;
|
13
|
+
transition-property: opacity, transform;
|
14
|
+
overflow-wrap: break-word;
|
17
15
|
}
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
transition-duration: 75ms;
|
26
|
-
}
|
16
|
+
.v-tooltip > .v-overlay__content[class*=enter-active] {
|
17
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
18
|
+
transition-duration: 150ms;
|
19
|
+
}
|
20
|
+
.v-tooltip > .v-overlay__content[class*=leave-active] {
|
21
|
+
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
22
|
+
transition-duration: 75ms;
|
27
23
|
}
|
@@ -8,8 +8,8 @@ import { makeVOverlayProps } from "../VOverlay/VOverlay.mjs"; // Composables
|
|
8
8
|
import { forwardRefs } from "../../composables/forwardRefs.mjs";
|
9
9
|
import { useProxiedModel } from "../../composables/proxiedModel.mjs";
|
10
10
|
import { useScopeId } from "../../composables/scopeId.mjs"; // Utilities
|
11
|
-
import { computed, mergeProps, ref } from 'vue';
|
12
|
-
import { genericComponent,
|
11
|
+
import { computed, mergeProps, ref, useId } from 'vue';
|
12
|
+
import { genericComponent, omit, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
13
13
|
export const makeVTooltipProps = propsFactory({
|
14
14
|
id: String,
|
15
15
|
text: String,
|
@@ -42,7 +42,7 @@ export const VTooltip = genericComponent()({
|
|
42
42
|
const {
|
43
43
|
scopeId
|
44
44
|
} = useScopeId();
|
45
|
-
const uid =
|
45
|
+
const uid = useId();
|
46
46
|
const id = computed(() => props.id || `v-tooltip-${uid}`);
|
47
47
|
const overlay = ref();
|
48
48
|
const location = computed(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VTooltip.mjs","names":["VOverlay","makeVOverlayProps","forwardRefs","useProxiedModel","useScopeId","computed","mergeProps","ref","
|
1
|
+
{"version":3,"file":"VTooltip.mjs","names":["VOverlay","makeVOverlayProps","forwardRefs","useProxiedModel","useScopeId","computed","mergeProps","ref","useId","genericComponent","omit","propsFactory","useRender","makeVTooltipProps","id","String","text","closeOnBack","location","locationStrategy","eager","minWidth","offset","openOnClick","openOnHover","origin","scrim","scrollStrategy","transition","VTooltip","name","props","emits","value","setup","_ref","slots","isActive","scopeId","uid","overlay","split","length","activatorProps","overlayProps","filterProps","_createVNode","_mergeProps","class","style","$event","activator","default","_len","arguments","args","Array","_key"],"sources":["../../../src/components/VTooltip/VTooltip.tsx"],"sourcesContent":["// Styles\nimport './VTooltip.sass'\n\n// Components\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\n\n// Utilities\nimport { computed, mergeProps, ref, useId } from 'vue'\nimport { genericComponent, omit, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { StrategyProps } from '@/components/VOverlay/locationStrategies'\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\n\nexport const makeVTooltipProps = propsFactory({\n id: String,\n text: String,\n\n ...omit(makeVOverlayProps({\n closeOnBack: false,\n location: 'end' as const,\n locationStrategy: 'connected' as const,\n eager: true,\n minWidth: 0,\n offset: 10,\n openOnClick: false,\n openOnHover: true,\n origin: 'auto' as const,\n scrim: false,\n scrollStrategy: 'reposition' as const,\n transition: false,\n }), [\n 'absolute',\n 'persistent',\n ]),\n}, 'VTooltip')\n\nexport const VTooltip = genericComponent<OverlaySlots>()({\n name: 'VTooltip',\n\n props: makeVTooltipProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const uid = useId()\n const id = computed(() => props.id || `v-tooltip-${uid}`)\n\n const overlay = ref<VOverlay>()\n\n const location = computed(() => {\n return props.location.split(' ').length > 1\n ? props.location\n : props.location + ' center' as StrategyProps['location']\n })\n\n const origin = computed(() => {\n return (\n props.origin === 'auto' ||\n props.origin === 'overlap' ||\n props.origin.split(' ').length > 1 ||\n props.location.split(' ').length > 1\n ) ? props.origin\n : props.origin + ' center' as StrategyProps['origin']\n })\n\n const transition = computed(() => {\n if (props.transition) return props.transition\n return isActive.value ? 'scale-transition' : 'fade-transition'\n })\n\n const activatorProps = computed(() =>\n mergeProps({\n 'aria-describedby': id.value,\n }, props.activatorProps)\n )\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-tooltip',\n props.class,\n ]}\n style={ props.style }\n id={ id.value }\n { ...overlayProps }\n v-model={ isActive.value }\n transition={ transition.value }\n absolute\n location={ location.value }\n origin={ origin.value }\n persistent\n role=\"tooltip\"\n activatorProps={ activatorProps.value }\n _disableGlobalStack\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => slots.default?.(...args) ?? props.text,\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VTooltip = InstanceType<typeof VTooltip>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,QAAQ;AAAA,SACRC,iBAAiB,oCAE1B;AAAA,SACSC,WAAW;AAAA,SACXC,eAAe;AAAA,SACfC,UAAU,yCAEnB;AACA,SAASC,QAAQ,EAAEC,UAAU,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC7CC,gBAAgB,EAAEC,IAAI,EAAEC,YAAY,EAAEC,SAAS,gCAExD;A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CAACK,KAAK;QAAA;QAAA,YAElBf,QAAQ,CAACe,KAAK;QAAA,UAChBR,MAAM,CAACQ,KAAK;QAAA;QAAA;QAAA,kBAGJU,cAAc,CAACV,KAAK;QAAA;MAAA,GAEhCK,OAAO;QAGVa,SAAS,EAAEf,KAAK,CAACe,SAAS;QAC1BC,OAAO,EAAE,SAAAA,CAAA;UAAA,SAAAC,IAAA,GAAAC,SAAA,CAAAZ,MAAA,EAAIa,IAAI,OAAAC,KAAA,CAAAH,IAAA,GAAAI,IAAA,MAAAA,IAAA,GAAAJ,IAAA,EAAAI,IAAA;YAAJF,IAAI,CAAAE,IAAA,IAAAH,SAAA,CAAAG,IAAA;UAAA;UAAA,OAAKrB,KAAK,CAACgB,OAAO,GAAG,GAAGG,IAAI,CAAC,IAAIxB,KAAK,CAACf,IAAI;QAAA;MAAA;IAIpE,CAAC,CAAC;IAEF,OAAOd,WAAW,CAAC,CAAC,CAAC,EAAEsC,OAAO,CAAC;EACjC;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -19,12 +19,10 @@
|
|
19
19
|
transition-property: opacity, transform
|
20
20
|
overflow-wrap: $tooltip-overflow-wrap
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
transition-timing-function: settings.$decelerated-easing
|
26
|
-
transition-duration: $tooltip-transition-enter-duration
|
22
|
+
&[class*="enter-active"]
|
23
|
+
transition-timing-function: settings.$decelerated-easing
|
24
|
+
transition-duration: $tooltip-transition-enter-duration
|
27
25
|
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
&[class*="leave-active"]
|
27
|
+
transition-timing-function: settings.$accelerated-easing
|
28
|
+
transition-duration: $tooltip-transition-leave-duration
|
@@ -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
|
}
|
@@ -33,22 +33,22 @@ interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions
|
|
33
33
|
type ClassValue = any;
|
34
34
|
|
35
35
|
interface GroupItem {
|
36
|
-
id:
|
36
|
+
id: string;
|
37
37
|
value: Ref<unknown>;
|
38
38
|
disabled: Ref<boolean | undefined>;
|
39
39
|
useIndexAsValue?: boolean;
|
40
40
|
}
|
41
41
|
interface GroupProvide {
|
42
42
|
register: (item: GroupItem, cmp: ComponentInternalInstance) => void;
|
43
|
-
unregister: (id:
|
44
|
-
select: (id:
|
45
|
-
selected: Ref<Readonly<
|
46
|
-
isSelected: (id:
|
43
|
+
unregister: (id: string) => void;
|
44
|
+
select: (id: string, value: boolean) => void;
|
45
|
+
selected: Ref<Readonly<string[]>>;
|
46
|
+
isSelected: (id: string) => boolean;
|
47
47
|
prev: () => void;
|
48
48
|
next: () => void;
|
49
49
|
selectedClass: Ref<string | undefined>;
|
50
50
|
items: ComputedRef<{
|
51
|
-
id:
|
51
|
+
id: string;
|
52
52
|
value: unknown;
|
53
53
|
disabled: boolean | undefined;
|
54
54
|
}[]>;
|
@@ -56,7 +56,7 @@ interface GroupProvide {
|
|
56
56
|
getItemIndex: (value: unknown) => number;
|
57
57
|
}
|
58
58
|
interface GroupItemProvide {
|
59
|
-
id:
|
59
|
+
id: string;
|
60
60
|
isSelected: Ref<boolean>;
|
61
61
|
isFirst: Ref<boolean>;
|
62
62
|
isLast: Ref<boolean>;
|