@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.
Files changed (135) hide show
  1. package/dist/json/attributes.json +17 -5
  2. package/dist/json/importMap-labs.json +12 -12
  3. package/dist/json/importMap.json +112 -112
  4. package/dist/json/tags.json +3 -0
  5. package/dist/json/web-types.json +44 -14
  6. package/dist/vuetify-labs.css +4400 -3677
  7. package/dist/vuetify-labs.d.ts +219 -117
  8. package/dist/vuetify-labs.esm.js +125 -77
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +125 -77
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +3534 -2811
  13. package/dist/vuetify.d.ts +230 -146
  14. package/dist/vuetify.esm.js +62 -39
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +62 -39
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +52 -51
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAlert/VAlert.css +5 -1
  22. package/lib/components/VAutocomplete/VAutocomplete.css +4 -0
  23. package/lib/components/VAutocomplete/index.d.mts +42 -24
  24. package/lib/components/VAvatar/VAvatar.css +8 -4
  25. package/lib/components/VAvatar/VAvatar.mjs +1 -1
  26. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  27. package/lib/components/VBadge/VBadge.css +2 -0
  28. package/lib/components/VBanner/VBanner.css +12 -4
  29. package/lib/components/VBottomNavigation/VBottomNavigation.css +11 -3
  30. package/lib/components/VBottomSheet/VBottomSheet.css +2 -0
  31. package/lib/components/VBtn/VBtn.css +16 -9
  32. package/lib/components/VBtn/VBtn.mjs +1 -1
  33. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  34. package/lib/components/VBtn/VBtn.sass +4 -4
  35. package/lib/components/VBtnGroup/VBtnGroup.css +12 -4
  36. package/lib/components/VCard/VCard.css +9 -1
  37. package/lib/components/VCarousel/VCarousel.css +2 -0
  38. package/lib/components/VChip/VChip.css +15 -9
  39. package/lib/components/VChip/VChip.sass +1 -1
  40. package/lib/components/VColorPicker/VColorPicker.css +2 -0
  41. package/lib/components/VColorPicker/VColorPicker.sass +4 -4
  42. package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -4
  43. package/lib/components/VCombobox/VCombobox.css +4 -0
  44. package/lib/components/VCombobox/index.d.mts +42 -24
  45. package/lib/components/VDialog/VDialog.css +5 -0
  46. package/lib/components/VDialog/index.d.mts +3 -3
  47. package/lib/components/VDivider/VDivider.css +2 -0
  48. package/lib/components/VExpansionPanel/VExpansionPanel.css +11 -5
  49. package/lib/components/VExpansionPanel/VExpansionPanel.sass +3 -3
  50. package/lib/components/VField/VField.css +13 -1
  51. package/lib/components/VField/VField.sass +5 -8
  52. package/lib/components/VFooter/VFooter.css +12 -4
  53. package/lib/components/VFooter/VFooter.mjs +20 -14
  54. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  55. package/lib/components/VFooter/index.d.mts +3 -3
  56. package/lib/components/VGrid/VGrid.sass +1 -1
  57. package/lib/components/VGrid/_mixins.sass +4 -4
  58. package/lib/components/VImg/VImg.css +6 -0
  59. package/lib/components/VKbd/VKbd.css +2 -0
  60. package/lib/components/VList/VList.css +12 -4
  61. package/lib/components/VList/VListItem.css +21 -11
  62. package/lib/components/VList/VListItem.mjs +1 -1
  63. package/lib/components/VList/VListItem.mjs.map +1 -1
  64. package/lib/components/VList/VListItem.sass +1 -1
  65. package/lib/components/VMain/VMain.css +2 -0
  66. package/lib/components/VMenu/VMenu.css +6 -0
  67. package/lib/components/VMenu/VMenu.mjs +20 -4
  68. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  69. package/lib/components/VMenu/index.d.mts +27 -12
  70. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +9 -3
  71. package/lib/components/VOtpInput/VOtpInput.css +3 -1
  72. package/lib/components/VOtpInput/VOtpInput.sass +1 -2
  73. package/lib/components/VOverflowBtn/VOverflowBtn.sass +1 -1
  74. package/lib/components/VOverlay/VOverlay.mjs +5 -4
  75. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  76. package/lib/components/VOverlay/useActivator.mjs +3 -2
  77. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  78. package/lib/components/VSelect/VSelect.css +4 -0
  79. package/lib/components/VSelect/index.d.mts +42 -24
  80. package/lib/components/VSelectionControl/VSelectionControl.css +6 -4
  81. package/lib/components/VSelectionControl/VSelectionControl.sass +1 -1
  82. package/lib/components/VSheet/VSheet.css +12 -4
  83. package/lib/components/VSkeletonLoader/VSkeletonLoader.css +6 -4
  84. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +9 -8
  85. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  86. package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -2
  87. package/lib/components/VSlider/VSliderThumb.sass +2 -2
  88. package/lib/components/VSnackbar/VSnackbar.css +2 -0
  89. package/lib/components/VSnackbar/VSnackbar.mjs +4 -4
  90. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  91. package/lib/components/VSnackbar/index.d.mts +3 -3
  92. package/lib/components/VSpeedDial/index.d.mts +28 -13
  93. package/lib/components/VStepper/VStepper.css +8 -2
  94. package/lib/components/VStepper/VStepper.sass +2 -4
  95. package/lib/components/VStepper/VStepperItem.css +4 -1
  96. package/lib/components/VStepper/VStepperItem.sass +1 -1
  97. package/lib/components/VSwitch/VSwitch.css +2 -0
  98. package/lib/components/VSwitch/VSwitch.sass +10 -10
  99. package/lib/components/VSystemBar/VSystemBar.css +14 -8
  100. package/lib/components/VTable/VTable.css +8 -4
  101. package/lib/components/VTable/VTable.sass +2 -3
  102. package/lib/components/VTimeline/VTimeline.css +2 -0
  103. package/lib/components/VToolbar/VToolbar.css +21 -7
  104. package/lib/components/VToolbar/VToolbar.sass +1 -2
  105. package/lib/components/VTooltip/index.d.mts +3 -3
  106. package/lib/components/VTreeview/VTreeview.sass +9 -9
  107. package/lib/components/index.d.mts +193 -109
  108. package/lib/entry-bundler.mjs +1 -1
  109. package/lib/framework.mjs +1 -1
  110. package/lib/index.d.mts +37 -37
  111. package/lib/labs/VNumberInput/VNumberInput.mjs +60 -36
  112. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  113. package/lib/labs/VNumberInput/index.d.mts +17 -8
  114. package/lib/labs/VPicker/VPicker.css +6 -2
  115. package/lib/labs/VPicker/VPicker.sass +2 -3
  116. package/lib/labs/VPullToRefresh/VPullToRefresh.mjs +4 -3
  117. package/lib/labs/VPullToRefresh/VPullToRefresh.mjs.map +1 -1
  118. package/lib/labs/VPullToRefresh/index.d.mts +9 -0
  119. package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
  120. package/lib/labs/components.d.mts +29 -11
  121. package/lib/styles/generic/_colors.scss +9 -3
  122. package/lib/styles/main.css +520 -0
  123. package/lib/styles/tools/_absolute.sass +8 -7
  124. package/lib/styles/tools/_border.sass +4 -3
  125. package/lib/styles/tools/_display.sass +8 -7
  126. package/lib/styles/tools/_elevation.sass +4 -2
  127. package/lib/styles/tools/_index.sass +0 -1
  128. package/lib/styles/tools/_radius.sass +6 -5
  129. package/lib/styles/tools/_rounded.sass +2 -1
  130. package/lib/styles/tools/_theme.sass +3 -2
  131. package/lib/styles/tools/_typography.sass +6 -5
  132. package/lib/styles/tools/_utilities.sass +5 -5
  133. package/lib/styles/utilities/_index.sass +7 -7
  134. package/package.json +1 -1
  135. package/lib/styles/tools/_sheet.sass +0 -14
@@ -1,8 +1,9 @@
1
1
  @mixin absolute($pseudo: false)
2
- @if ($pseudo)
3
- content: ''
4
- position: absolute
5
- top: 0
6
- left: 0
7
- width: 100%
8
- height: 100%
2
+ &
3
+ @if ($pseudo)
4
+ content: ''
5
+ position: absolute
6
+ top: 0
7
+ left: 0
8
+ width: 100%
9
+ height: 100%
@@ -1,7 +1,8 @@
1
1
  @mixin border($color: null, $style: null, $width: null, $thin-width: false, $important: false)
2
- border-color: $color if($important, !important, null)
3
- border-style: $style if($important, !important, null)
4
- border-width: $width if($important, !important, null)
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
- position: absolute !important
6
- height: 1px
7
- width: 1px
8
- overflow: hidden
9
- clip: rect(1px, 1px, 1px, 1px)
10
- white-space: nowrap
11
- display: initial
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
- 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)
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
- transition: box-shadow $duration $easing
9
+ &
10
+ transition: box-shadow $duration $easing
@@ -9,7 +9,6 @@
9
9
  @forward '_radius'
10
10
  @forward '_rounded'
11
11
  @forward '_rtl'
12
- @forward '_sheet'
13
12
  @forward '_states'
14
13
  @forward '_theme'
15
14
  @forward '_typography'
@@ -2,8 +2,9 @@
2
2
  @use '../settings'
3
3
 
4
4
  @mixin radius($r, $important: false)
5
- // Key exists within the $rounded variable
6
- @if (map.has-key(settings.$rounded, $r))
7
- border-radius: map.get(settings.$rounded, $r) if($important, !important, null)
8
- @else
9
- border-radius: $r if($important, !important, null)
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,2 +1,3 @@
1
1
  @mixin rounded($radius: null, $important: false)
2
- border-radius: $radius if($important, !important, null)
2
+ &
3
+ border-radius: $radius if($important, !important, null)
@@ -1,3 +1,4 @@
1
1
  @mixin theme ($background, $color)
2
- background: $background
3
- color: $color
2
+ &
3
+ background: $background
4
+ color: $color
@@ -1,6 +1,7 @@
1
1
  @mixin typography ($font-size, $font-weight, $letter-spacing, $line-height, $text-transform)
2
- font-size: $font-size
3
- font-weight: $font-weight
4
- letter-spacing: $letter-spacing
5
- line-height: $line-height
6
- text-transform: $text-transform
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
- +generate-utility-body($utility, list.nth($dir, 2), $value, $infix)
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
- +generate-utility-body($utility, list.nth($dir, 2), $value, $infix)
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
- +generate-utility-body($utility, $properties, $value, $infix)
36
+ @include generate-utility-body($utility, $properties, $value, $infix)
37
37
  @else if $forceDir == 'rtl'
38
38
  .v-locale--is-rtl
39
- +generate-utility-body($utility, $properties, $value, $infix)
39
+ @include generate-utility-body($utility, $properties, $value, $infix)
40
40
  @else
41
- +generate-utility-body($utility, $properties, $value, $infix)
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
- +tools.media-breakpoint-up($breakpoint)
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
- +tools.generate-utility($utility, $infix, 'ltr')
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
- +tools.generate-utility($utility, $infix, 'rtl')
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
- +tools.generate-utility($utility, $infix, 'bidi')
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
- +tools.generate-utility($utility, "-print", 'ltr')
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
- +tools.generate-utility($utility, "-print", 'rtl')
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
- +tools.generate-utility($utility, "-print", 'bidi')
43
+ @include tools.generate-utility($utility, "-print", 'bidi')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuetify/nightly",
3
3
  "description": "Vue Material Component Framework",
4
- "version": "3.7.0-beta.1-dev.2024-07-29",
4
+ "version": "3.7.0-beta.1-dev.2024-08-01",
5
5
  "author": {
6
6
  "name": "John Leider",
7
7
  "email": "john@vuetifyjs.com"
@@ -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)