@vuetify/nightly 3.7.0-beta.1-dev.2024-07-30 → 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 (120) hide show
  1. package/dist/json/attributes.json +9 -5
  2. package/dist/json/importMap-labs.json +24 -24
  3. package/dist/json/importMap.json +128 -128
  4. package/dist/json/tags.json +1 -0
  5. package/dist/json/web-types.json +24 -13
  6. package/dist/vuetify-labs.css +2796 -2073
  7. package/dist/vuetify-labs.d.ts +29 -11
  8. package/dist/vuetify-labs.esm.js +98 -67
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +98 -67
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +1806 -1083
  13. package/dist/vuetify.d.ts +47 -47
  14. package/dist/vuetify.esm.js +35 -29
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +35 -29
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +13 -12
  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/VAvatar/VAvatar.css +8 -4
  24. package/lib/components/VAvatar/VAvatar.mjs +1 -1
  25. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  26. package/lib/components/VBadge/VBadge.css +2 -0
  27. package/lib/components/VBanner/VBanner.css +12 -4
  28. package/lib/components/VBottomNavigation/VBottomNavigation.css +11 -3
  29. package/lib/components/VBottomSheet/VBottomSheet.css +2 -0
  30. package/lib/components/VBtn/VBtn.css +16 -9
  31. package/lib/components/VBtn/VBtn.mjs +1 -1
  32. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  33. package/lib/components/VBtn/VBtn.sass +4 -4
  34. package/lib/components/VBtnGroup/VBtnGroup.css +12 -4
  35. package/lib/components/VCard/VCard.css +9 -1
  36. package/lib/components/VCarousel/VCarousel.css +2 -0
  37. package/lib/components/VChip/VChip.css +15 -9
  38. package/lib/components/VChip/VChip.sass +1 -1
  39. package/lib/components/VColorPicker/VColorPicker.css +2 -0
  40. package/lib/components/VColorPicker/VColorPicker.sass +4 -4
  41. package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -4
  42. package/lib/components/VCombobox/VCombobox.css +4 -0
  43. package/lib/components/VDialog/VDialog.css +5 -0
  44. package/lib/components/VDivider/VDivider.css +2 -0
  45. package/lib/components/VExpansionPanel/VExpansionPanel.css +11 -5
  46. package/lib/components/VExpansionPanel/VExpansionPanel.sass +3 -3
  47. package/lib/components/VField/VField.css +13 -1
  48. package/lib/components/VField/VField.sass +5 -8
  49. package/lib/components/VFooter/VFooter.css +12 -4
  50. package/lib/components/VFooter/VFooter.mjs +20 -14
  51. package/lib/components/VFooter/VFooter.mjs.map +1 -1
  52. package/lib/components/VFooter/index.d.mts +3 -3
  53. package/lib/components/VGrid/VGrid.sass +1 -1
  54. package/lib/components/VGrid/_mixins.sass +4 -4
  55. package/lib/components/VImg/VImg.css +6 -0
  56. package/lib/components/VKbd/VKbd.css +2 -0
  57. package/lib/components/VList/VList.css +12 -4
  58. package/lib/components/VList/VListItem.css +21 -11
  59. package/lib/components/VList/VListItem.sass +1 -1
  60. package/lib/components/VMain/VMain.css +2 -0
  61. package/lib/components/VMenu/VMenu.css +6 -0
  62. package/lib/components/VMenu/VMenu.mjs +1 -1
  63. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  64. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +9 -3
  65. package/lib/components/VOtpInput/VOtpInput.css +3 -1
  66. package/lib/components/VOtpInput/VOtpInput.sass +1 -2
  67. package/lib/components/VOverflowBtn/VOverflowBtn.sass +1 -1
  68. package/lib/components/VSelect/VSelect.css +4 -0
  69. package/lib/components/VSelectionControl/VSelectionControl.css +6 -4
  70. package/lib/components/VSelectionControl/VSelectionControl.sass +1 -1
  71. package/lib/components/VSheet/VSheet.css +12 -4
  72. package/lib/components/VSkeletonLoader/VSkeletonLoader.css +6 -4
  73. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs +9 -8
  74. package/lib/components/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  75. package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -2
  76. package/lib/components/VSlider/VSliderThumb.sass +2 -2
  77. package/lib/components/VSnackbar/VSnackbar.css +2 -0
  78. package/lib/components/VSnackbar/VSnackbar.mjs +4 -4
  79. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  80. package/lib/components/VStepper/VStepper.css +8 -2
  81. package/lib/components/VStepper/VStepper.sass +2 -4
  82. package/lib/components/VStepper/VStepperItem.css +4 -1
  83. package/lib/components/VStepper/VStepperItem.sass +1 -1
  84. package/lib/components/VSwitch/VSwitch.css +2 -0
  85. package/lib/components/VSwitch/VSwitch.sass +10 -10
  86. package/lib/components/VSystemBar/VSystemBar.css +14 -8
  87. package/lib/components/VTable/VTable.css +8 -4
  88. package/lib/components/VTable/VTable.sass +2 -3
  89. package/lib/components/VTimeline/VTimeline.css +2 -0
  90. package/lib/components/VToolbar/VToolbar.css +21 -7
  91. package/lib/components/VToolbar/VToolbar.sass +1 -2
  92. package/lib/components/VTreeview/VTreeview.sass +9 -9
  93. package/lib/components/index.d.mts +3 -3
  94. package/lib/entry-bundler.mjs +1 -1
  95. package/lib/framework.mjs +1 -1
  96. package/lib/index.d.mts +44 -44
  97. package/lib/labs/VNumberInput/VNumberInput.mjs +60 -36
  98. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  99. package/lib/labs/VNumberInput/index.d.mts +17 -8
  100. package/lib/labs/VPicker/VPicker.css +6 -2
  101. package/lib/labs/VPicker/VPicker.sass +2 -3
  102. package/lib/labs/VPullToRefresh/VPullToRefresh.mjs +4 -3
  103. package/lib/labs/VPullToRefresh/VPullToRefresh.mjs.map +1 -1
  104. package/lib/labs/VPullToRefresh/index.d.mts +9 -0
  105. package/lib/labs/components.d.mts +26 -8
  106. package/lib/styles/generic/_colors.scss +9 -3
  107. package/lib/styles/main.css +520 -0
  108. package/lib/styles/tools/_absolute.sass +8 -7
  109. package/lib/styles/tools/_border.sass +4 -3
  110. package/lib/styles/tools/_display.sass +8 -7
  111. package/lib/styles/tools/_elevation.sass +4 -2
  112. package/lib/styles/tools/_index.sass +0 -1
  113. package/lib/styles/tools/_radius.sass +6 -5
  114. package/lib/styles/tools/_rounded.sass +2 -1
  115. package/lib/styles/tools/_theme.sass +3 -2
  116. package/lib/styles/tools/_typography.sass +6 -5
  117. package/lib/styles/tools/_utilities.sass +5 -5
  118. package/lib/styles/utilities/_index.sass +7 -7
  119. package/package.json +1 -1
  120. package/lib/styles/tools/_sheet.sass +0 -14
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.0-beta.1-dev.2024-07-30
2
+ * Vuetify v3.7.0-beta.1-dev.2024-08-01
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -5953,7 +5953,7 @@
5953
5953
  "indeterminate": true,
5954
5954
  "width": "2"
5955
5955
  }, null)])]
5956
- }), [[Ripple, !isDisabled.value && !!props.ripple, '', {
5956
+ }), [[Ripple, !isDisabled.value && props.ripple, '', {
5957
5957
  center: !!props.icon
5958
5958
  }]]);
5959
5959
  });
@@ -6251,7 +6251,7 @@
6251
6251
  "defaults": {
6252
6252
  VImg: {
6253
6253
  cover: true,
6254
- image: props.image
6254
+ src: props.image
6255
6255
  },
6256
6256
  VIcon: {
6257
6257
  icon: props.icon
@@ -11393,7 +11393,7 @@
11393
11393
  },
11394
11394
  closeParents(e) {
11395
11395
  setTimeout(() => {
11396
- if (!openChildren.value.size && !props.persistent && (e == null || e && !isClickInsideElement(e, overlay.value.contentEl))) {
11396
+ if (!openChildren.value.size && !props.persistent && (e == null || overlay.value?.contentEl && !isClickInsideElement(e, overlay.value.contentEl))) {
11397
11397
  isActive.value = false;
11398
11398
  parent?.closeParents();
11399
11399
  }
@@ -23212,6 +23212,8 @@
23212
23212
  let {
23213
23213
  slots
23214
23214
  } = _ref;
23215
+ const layoutItemStyles = vue.ref();
23216
+ const layoutIsReady = vue.shallowRef();
23215
23217
  const {
23216
23218
  themeClasses
23217
23219
  } = provideTheme(props);
@@ -23236,17 +23238,20 @@
23236
23238
  autoHeight.value = entries[0].target.clientHeight;
23237
23239
  });
23238
23240
  const height = vue.computed(() => props.height === 'auto' ? autoHeight.value : parseInt(props.height, 10));
23239
- const {
23240
- layoutItemStyles,
23241
- layoutIsReady
23242
- } = useLayoutItem({
23243
- id: props.name,
23244
- order: vue.computed(() => parseInt(props.order, 10)),
23245
- position: vue.computed(() => 'bottom'),
23246
- layoutSize: height,
23247
- elementSize: vue.computed(() => props.height === 'auto' ? undefined : height.value),
23248
- active: vue.computed(() => props.app),
23249
- absolute: vue.toRef(props, 'absolute')
23241
+ useToggleScope(() => props.app, () => {
23242
+ const layout = useLayoutItem({
23243
+ id: props.name,
23244
+ order: vue.computed(() => parseInt(props.order, 10)),
23245
+ position: vue.computed(() => 'bottom'),
23246
+ layoutSize: height,
23247
+ elementSize: vue.computed(() => props.height === 'auto' ? undefined : height.value),
23248
+ active: vue.computed(() => props.app),
23249
+ absolute: vue.toRef(props, 'absolute')
23250
+ });
23251
+ vue.watchEffect(() => {
23252
+ layoutItemStyles.value = layout.layoutItemStyles.value;
23253
+ layoutIsReady.value = layout.layoutIsReady;
23254
+ });
23250
23255
  });
23251
23256
  useRender(() => vue.createVNode(props.tag, {
23252
23257
  "ref": resizeRef,
@@ -23255,7 +23260,7 @@
23255
23260
  height: convertToUnit(props.height)
23256
23261
  }, props.style]
23257
23262
  }, slots));
23258
- return props.app ? layoutIsReady : {};
23263
+ return props.app ? layoutIsReady.value : {};
23259
23264
  }
23260
23265
  });
23261
23266
 
@@ -25396,16 +25401,17 @@
25396
25401
  const items = vue.computed(() => genStructure(wrapInArray(props.type).join(',')));
25397
25402
  useRender(() => {
25398
25403
  const isLoading = !slots.default || props.loading;
25399
- return vue.createVNode("div", {
25404
+ const loadingProps = props.boilerplate || !isLoading ? {} : {
25405
+ ariaLive: 'polite',
25406
+ ariaLabel: t(props.loadingText),
25407
+ role: 'alert'
25408
+ };
25409
+ return vue.createVNode("div", vue.mergeProps({
25400
25410
  "class": ['v-skeleton-loader', {
25401
25411
  'v-skeleton-loader--boilerplate': props.boilerplate
25402
25412
  }, themeClasses.value, backgroundColorClasses.value, elevationClasses.value],
25403
- "style": [backgroundColorStyles.value, isLoading ? dimensionStyles.value : {}],
25404
- "aria-busy": !props.boilerplate ? isLoading : undefined,
25405
- "aria-live": !props.boilerplate ? 'polite' : undefined,
25406
- "aria-label": !props.boilerplate ? t(props.loadingText) : undefined,
25407
- "role": !props.boilerplate ? 'alert' : undefined
25408
- }, [isLoading ? items.value : slots.default?.()]);
25413
+ "style": [backgroundColorStyles.value, isLoading ? dimensionStyles.value : {}]
25414
+ }, loadingProps), [isLoading ? items.value : slots.default?.()]);
25409
25415
  });
25410
25416
  return {};
25411
25417
  }
@@ -25438,14 +25444,14 @@
25438
25444
  // Types
25439
25445
 
25440
25446
  function useCountdown(milliseconds) {
25441
- const time = vue.shallowRef(milliseconds);
25447
+ const time = vue.shallowRef(milliseconds());
25442
25448
  let timer = -1;
25443
25449
  function clear() {
25444
25450
  clearInterval(timer);
25445
25451
  }
25446
25452
  function reset() {
25447
25453
  clear();
25448
- vue.nextTick(() => time.value = milliseconds);
25454
+ vue.nextTick(() => time.value = milliseconds());
25449
25455
  }
25450
25456
  function start(el) {
25451
25457
  const style = el ? getComputedStyle(el) : {
@@ -25457,7 +25463,7 @@
25457
25463
  const startTime = performance.now();
25458
25464
  timer = window.setInterval(() => {
25459
25465
  const elapsed = performance.now() - startTime + interval;
25460
- time.value = Math.max(milliseconds - elapsed, 0);
25466
+ time.value = Math.max(milliseconds() - elapsed, 0);
25461
25467
  if (time.value <= 0) clear();
25462
25468
  }, interval);
25463
25469
  }
@@ -25517,7 +25523,7 @@
25517
25523
  const {
25518
25524
  roundedClasses
25519
25525
  } = useRounded(props);
25520
- const countdown = useCountdown(Number(props.timeout));
25526
+ const countdown = useCountdown(() => Number(props.timeout));
25521
25527
  const overlay = vue.ref();
25522
25528
  const timerRef = vue.ref();
25523
25529
  const isHovering = vue.shallowRef(false);
@@ -28196,7 +28202,7 @@
28196
28202
  goTo
28197
28203
  };
28198
28204
  }
28199
- const version$1 = "3.7.0-beta.1-dev.2024-07-30";
28205
+ const version$1 = "3.7.0-beta.1-dev.2024-08-01";
28200
28206
  createVuetify$1.version = version$1;
28201
28207
 
28202
28208
  // Vue's inject() can only be used in setup
@@ -28221,7 +28227,7 @@
28221
28227
  ...options
28222
28228
  });
28223
28229
  };
28224
- const version = "3.7.0-beta.1-dev.2024-07-30";
28230
+ const version = "3.7.0-beta.1-dev.2024-08-01";
28225
28231
  createVuetify.version = version;
28226
28232
 
28227
28233
  exports.blueprints = index;