@vuetify/nightly 3.7.0-beta.1-dev.2024-07-29 → 3.7.0-beta.1-dev.2024-08-01
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 +17 -5
- package/dist/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +112 -112
- package/dist/json/tags.json +3 -0
- package/dist/json/web-types.json +44 -14
- package/dist/vuetify-labs.css +4400 -3677
- package/dist/vuetify-labs.d.ts +219 -117
- package/dist/vuetify-labs.esm.js +125 -77
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +125 -77
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3534 -2811
- package/dist/vuetify.d.ts +230 -146
- package/dist/vuetify.esm.js +62 -39
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +62 -39
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +52 -51
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +5 -1
- package/lib/components/VAutocomplete/VAutocomplete.css +4 -0
- package/lib/components/VAutocomplete/index.d.mts +42 -24
- package/lib/components/VAvatar/VAvatar.css +8 -4
- package/lib/components/VAvatar/VAvatar.mjs +1 -1
- package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
- package/lib/components/VBadge/VBadge.css +2 -0
- package/lib/components/VBanner/VBanner.css +12 -4
- package/lib/components/VBottomNavigation/VBottomNavigation.css +11 -3
- package/lib/components/VBottomSheet/VBottomSheet.css +2 -0
- package/lib/components/VBtn/VBtn.css +16 -9
- package/lib/components/VBtn/VBtn.mjs +1 -1
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.sass +4 -4
- package/lib/components/VBtnGroup/VBtnGroup.css +12 -4
- package/lib/components/VCard/VCard.css +9 -1
- package/lib/components/VCarousel/VCarousel.css +2 -0
- package/lib/components/VChip/VChip.css +15 -9
- package/lib/components/VChip/VChip.sass +1 -1
- package/lib/components/VColorPicker/VColorPicker.css +2 -0
- package/lib/components/VColorPicker/VColorPicker.sass +4 -4
- package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -4
- package/lib/components/VCombobox/VCombobox.css +4 -0
- package/lib/components/VCombobox/index.d.mts +42 -24
- package/lib/components/VDialog/VDialog.css +5 -0
- package/lib/components/VDialog/index.d.mts +3 -3
- package/lib/components/VDivider/VDivider.css +2 -0
- package/lib/components/VExpansionPanel/VExpansionPanel.css +11 -5
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +3 -3
- package/lib/components/VField/VField.css +13 -1
- package/lib/components/VField/VField.sass +5 -8
- package/lib/components/VFooter/VFooter.css +12 -4
- package/lib/components/VFooter/VFooter.mjs +20 -14
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VFooter/index.d.mts +3 -3
- package/lib/components/VGrid/VGrid.sass +1 -1
- package/lib/components/VGrid/_mixins.sass +4 -4
- package/lib/components/VImg/VImg.css +6 -0
- package/lib/components/VKbd/VKbd.css +2 -0
- package/lib/components/VList/VList.css +12 -4
- package/lib/components/VList/VListItem.css +21 -11
- package/lib/components/VList/VListItem.mjs +1 -1
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListItem.sass +1 -1
- package/lib/components/VMain/VMain.css +2 -0
- package/lib/components/VMenu/VMenu.css +6 -0
- package/lib/components/VMenu/VMenu.mjs +20 -4
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +27 -12
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +9 -3
- package/lib/components/VOtpInput/VOtpInput.css +3 -1
- package/lib/components/VOtpInput/VOtpInput.sass +1 -2
- package/lib/components/VOverflowBtn/VOverflowBtn.sass +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +5 -4
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +3 -2
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.css +4 -0
- package/lib/components/VSelect/index.d.mts +42 -24
- package/lib/components/VSelectionControl/VSelectionControl.css +6 -4
- package/lib/components/VSelectionControl/VSelectionControl.sass +1 -1
- package/lib/components/VSheet/VSheet.css +12 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +6 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +9 -8
- package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -2
- package/lib/components/VSlider/VSliderThumb.sass +2 -2
- package/lib/components/VSnackbar/VSnackbar.css +2 -0
- package/lib/components/VSnackbar/VSnackbar.mjs +4 -4
- package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
- package/lib/components/VSnackbar/index.d.mts +3 -3
- package/lib/components/VSpeedDial/index.d.mts +28 -13
- package/lib/components/VStepper/VStepper.css +8 -2
- package/lib/components/VStepper/VStepper.sass +2 -4
- package/lib/components/VStepper/VStepperItem.css +4 -1
- package/lib/components/VStepper/VStepperItem.sass +1 -1
- package/lib/components/VSwitch/VSwitch.css +2 -0
- package/lib/components/VSwitch/VSwitch.sass +10 -10
- package/lib/components/VSystemBar/VSystemBar.css +14 -8
- package/lib/components/VTable/VTable.css +8 -4
- package/lib/components/VTable/VTable.sass +2 -3
- package/lib/components/VTimeline/VTimeline.css +2 -0
- package/lib/components/VToolbar/VToolbar.css +21 -7
- package/lib/components/VToolbar/VToolbar.sass +1 -2
- package/lib/components/VTooltip/index.d.mts +3 -3
- package/lib/components/VTreeview/VTreeview.sass +9 -9
- package/lib/components/index.d.mts +193 -109
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +37 -37
- package/lib/labs/VNumberInput/VNumberInput.mjs +60 -36
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +17 -8
- package/lib/labs/VPicker/VPicker.css +6 -2
- package/lib/labs/VPicker/VPicker.sass +2 -3
- package/lib/labs/VPullToRefresh/VPullToRefresh.mjs +4 -3
- package/lib/labs/VPullToRefresh/VPullToRefresh.mjs.map +1 -1
- package/lib/labs/VPullToRefresh/index.d.mts +9 -0
- package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
- package/lib/labs/components.d.mts +29 -11
- package/lib/styles/generic/_colors.scss +9 -3
- package/lib/styles/main.css +520 -0
- package/lib/styles/tools/_absolute.sass +8 -7
- package/lib/styles/tools/_border.sass +4 -3
- package/lib/styles/tools/_display.sass +8 -7
- package/lib/styles/tools/_elevation.sass +4 -2
- package/lib/styles/tools/_index.sass +0 -1
- package/lib/styles/tools/_radius.sass +6 -5
- package/lib/styles/tools/_rounded.sass +2 -1
- package/lib/styles/tools/_theme.sass +3 -2
- package/lib/styles/tools/_typography.sass +6 -5
- package/lib/styles/tools/_utilities.sass +5 -5
- package/lib/styles/utilities/_index.sass +7 -7
- package/package.json +1 -1
- package/lib/styles/tools/_sheet.sass +0 -14
@@ -1,7 +1,8 @@
|
|
1
1
|
@mixin border($color: null, $style: null, $width: null, $thin-width: false, $important: false)
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
&
|
3
|
+
border-color: $color if($important, !important, null)
|
4
|
+
border-style: $style if($important, !important, null)
|
5
|
+
border-width: $width if($important, !important, null)
|
5
6
|
|
6
7
|
@if $thin-width
|
7
8
|
&--border
|
@@ -2,13 +2,14 @@
|
|
2
2
|
@use '../settings' as *
|
3
3
|
|
4
4
|
@mixin visually-hidden
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
&
|
6
|
+
position: absolute !important
|
7
|
+
height: 1px
|
8
|
+
width: 1px
|
9
|
+
overflow: hidden
|
10
|
+
clip: rect(1px, 1px, 1px, 1px)
|
11
|
+
white-space: nowrap
|
12
|
+
display: initial
|
12
13
|
|
13
14
|
=media-breakpoint-up($name, $breakpoints: $grid-breakpoints)
|
14
15
|
$min: breakpoint-min($name, $breakpoints)
|
@@ -2,7 +2,9 @@
|
|
2
2
|
@use '../settings'
|
3
3
|
|
4
4
|
@mixin elevation($z, $important: false)
|
5
|
-
|
5
|
+
&
|
6
|
+
box-shadow: map.get(settings.$shadow-key-umbra, $z), map.get(settings.$shadow-key-penumbra, $z), map.get(settings.$shadow-key-ambient, $z) if($important, !important, null)
|
6
7
|
|
7
8
|
@mixin elevationTransition($duration: 280ms, $easing: cubic-bezier(0.4, 0, 0.2, 1))
|
8
|
-
|
9
|
+
&
|
10
|
+
transition: box-shadow $duration $easing
|
@@ -2,8 +2,9 @@
|
|
2
2
|
@use '../settings'
|
3
3
|
|
4
4
|
@mixin radius($r, $important: false)
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
&
|
6
|
+
// Key exists within the $rounded variable
|
7
|
+
@if (map.has-key(settings.$rounded, $r))
|
8
|
+
border-radius: map.get(settings.$rounded, $r) if($important, !important, null)
|
9
|
+
@else
|
10
|
+
border-radius: $r if($important, !important, null)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
@mixin typography ($font-size, $font-weight, $letter-spacing, $line-height, $text-transform)
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
&
|
3
|
+
font-size: $font-size
|
4
|
+
font-weight: $font-weight
|
5
|
+
letter-spacing: $letter-spacing
|
6
|
+
line-height: $line-height
|
7
|
+
text-transform: $text-transform
|
@@ -24,21 +24,21 @@
|
|
24
24
|
// https://github.com/sass/sass/issues/626
|
25
25
|
@if $mixin == 'ltr'
|
26
26
|
.v-locale--is-ltr
|
27
|
-
|
27
|
+
@include generate-utility-body($utility, list.nth($dir, 2), $value, $infix)
|
28
28
|
@else if $mixin == 'rtl'
|
29
29
|
.v-locale--is-rtl
|
30
|
-
|
30
|
+
@include generate-utility-body($utility, list.nth($dir, 2), $value, $infix)
|
31
31
|
@else
|
32
32
|
@error 'Only RTL and LTR are supported'
|
33
33
|
@else
|
34
34
|
@if $forceDir == 'ltr'
|
35
35
|
.v-locale--is-ltr
|
36
|
-
|
36
|
+
@include generate-utility-body($utility, $properties, $value, $infix)
|
37
37
|
@else if $forceDir == 'rtl'
|
38
38
|
.v-locale--is-rtl
|
39
|
-
|
39
|
+
@include generate-utility-body($utility, $properties, $value, $infix)
|
40
40
|
@else
|
41
|
-
|
41
|
+
@include generate-utility-body($utility, $properties, $value, $infix)
|
42
42
|
|
43
43
|
=generate-utility-body($utility, $properties, $value, $infix)
|
44
44
|
// Use custom class if present
|
@@ -10,7 +10,7 @@
|
|
10
10
|
@include tools.layer('utilities')
|
11
11
|
@each $breakpoint in map.keys(settings.$grid-breakpoints)
|
12
12
|
// Generate media query if needed
|
13
|
-
|
13
|
+
@include tools.media-breakpoint-up($breakpoint)
|
14
14
|
$infix: tools.breakpoint-infix($breakpoint, settings.$grid-breakpoints)
|
15
15
|
|
16
16
|
// Loop over each utility property
|
@@ -19,13 +19,13 @@
|
|
19
19
|
// Only proceed if responsive media queries are enabled or if it's the base media query
|
20
20
|
@if string.slice($key, -4) == ':ltr'
|
21
21
|
@if meta.type-of($utility) == "map" and (map.get($utility, responsive) or $infix == "")
|
22
|
-
|
22
|
+
@include tools.generate-utility($utility, $infix, 'ltr')
|
23
23
|
@else if string.slice($key, -4) == ':rtl'
|
24
24
|
@if meta.type-of($utility) == "map" and (map.get($utility, responsive) or $infix == "")
|
25
|
-
|
25
|
+
@include tools.generate-utility($utility, $infix, 'rtl')
|
26
26
|
@else
|
27
27
|
@if meta.type-of($utility) == "map" and (map.get($utility, responsive) or $infix == "")
|
28
|
-
|
28
|
+
@include tools.generate-utility($utility, $infix, 'bidi')
|
29
29
|
|
30
30
|
// Print utilities
|
31
31
|
@media print
|
@@ -34,10 +34,10 @@
|
|
34
34
|
// Then check if the utility needs print styles
|
35
35
|
@if string.slice($key, -4) == ':ltr'
|
36
36
|
@if meta.type-of($utility) == "map" and map.get($utility, print) == true
|
37
|
-
|
37
|
+
@include tools.generate-utility($utility, "-print", 'ltr')
|
38
38
|
@else if string.slice($key, -4) == ':rtl'
|
39
39
|
@if meta.type-of($utility) == "map" and map.get($utility, print) == true
|
40
|
-
|
40
|
+
@include tools.generate-utility($utility, "-print", 'rtl')
|
41
41
|
@else
|
42
42
|
@if meta.type-of($utility) == "map" and map.get($utility, print) == true
|
43
|
-
|
43
|
+
@include tools.generate-utility($utility, "-print", 'bidi')
|
package/package.json
CHANGED
@@ -1,14 +0,0 @@
|
|
1
|
-
@mixin paper ($elevation, $radius, $shaped-radius)
|
2
|
-
@include tools.radius($radius)
|
3
|
-
|
4
|
-
&:not(.v-sheet--outlined)
|
5
|
-
@include tools.elevation($elevation)
|
6
|
-
|
7
|
-
@if ($shaped-radius)
|
8
|
-
&.v-sheet--shaped
|
9
|
-
@include tools.radius($shaped-radius)
|
10
|
-
|
11
|
-
|
12
|
-
@mixin sheet ($component, $elevation, $radius, $shaped-radius)
|
13
|
-
.v-sheet.#{$component}
|
14
|
-
@include paper($elevation, $radius, $shaped-radius)
|