@vuetify/nightly 3.1.7-dev-20230224.0 → 3.1.7

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 (115) hide show
  1. package/CHANGELOG.md +6 -4
  2. package/dist/json/attributes.json +561 -33
  3. package/dist/json/importMap.json +52 -52
  4. package/dist/json/tags.json +136 -2
  5. package/dist/json/web-types.json +2160 -86
  6. package/dist/vuetify-labs.css +235 -231
  7. package/dist/vuetify-labs.d.ts +3453 -145
  8. package/dist/vuetify-labs.esm.js +56 -16
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +56 -16
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +5 -1
  13. package/dist/vuetify.d.ts +1931 -81
  14. package/dist/vuetify.esm.js +38 -9
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +38 -9
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +12 -9
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAlert/index.d.ts +22 -0
  22. package/lib/components/VApp/index.d.ts +6 -0
  23. package/lib/components/VAppBar/index.d.ts +36 -0
  24. package/lib/components/VAutocomplete/index.d.ts +117 -6
  25. package/lib/components/VAvatar/index.d.ts +6 -0
  26. package/lib/components/VBadge/index.d.ts +8 -0
  27. package/lib/components/VBanner/index.d.ts +24 -0
  28. package/lib/components/VBottomNavigation/index.d.ts +6 -0
  29. package/lib/components/VBreadcrumbs/index.d.ts +28 -4
  30. package/lib/components/VBtn/index.d.ts +12 -0
  31. package/lib/components/VBtnGroup/index.d.ts +6 -0
  32. package/lib/components/VBtnToggle/index.d.ts +6 -0
  33. package/lib/components/VCard/index.d.ts +60 -0
  34. package/lib/components/VCarousel/index.d.ts +60 -0
  35. package/lib/components/VCheckbox/index.d.ts +38 -0
  36. package/lib/components/VChip/index.d.ts +12 -0
  37. package/lib/components/VChipGroup/index.d.ts +6 -0
  38. package/lib/components/VCode/index.d.ts +6 -0
  39. package/lib/components/VCombobox/index.d.ts +117 -6
  40. package/lib/components/VCounter/index.d.ts +24 -0
  41. package/lib/components/VDefaultsProvider/index.d.ts +6 -0
  42. package/lib/components/VDialog/index.d.ts +64 -1
  43. package/lib/components/VDivider/index.d.ts +6 -0
  44. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  45. package/lib/components/VExpansionPanel/index.d.ts +49 -12
  46. package/lib/components/VField/index.d.ts +20 -6
  47. package/lib/components/VFileInput/index.d.ts +43 -1
  48. package/lib/components/VFooter/index.d.ts +6 -0
  49. package/lib/components/VForm/index.d.ts +6 -0
  50. package/lib/components/VGrid/index.d.ts +24 -0
  51. package/lib/components/VHover/index.d.ts +12 -0
  52. package/lib/components/VIcon/index.d.ts +12 -0
  53. package/lib/components/VImg/index.d.ts +12 -0
  54. package/lib/components/VInput/index.d.ts +12 -0
  55. package/lib/components/VItemGroup/index.d.ts +12 -0
  56. package/lib/components/VKbd/index.d.ts +6 -0
  57. package/lib/components/VLabel/index.d.ts +6 -0
  58. package/lib/components/VLayout/index.d.ts +12 -0
  59. package/lib/components/VLazy/index.d.ts +6 -0
  60. package/lib/components/VList/index.d.ts +77 -6
  61. package/lib/components/VLocaleProvider/index.d.ts +6 -0
  62. package/lib/components/VMain/index.d.ts +6 -0
  63. package/lib/components/VMenu/index.d.ts +64 -1
  64. package/lib/components/VMessages/index.d.ts +24 -0
  65. package/lib/components/VNavigationDrawer/index.d.ts +12 -0
  66. package/lib/components/VNoSsr/index.d.ts +6 -0
  67. package/lib/components/VOverlay/index.d.ts +18 -0
  68. package/lib/components/VPagination/index.d.ts +14 -0
  69. package/lib/components/VParallax/index.d.ts +12 -0
  70. package/lib/components/VProgressCircular/index.d.ts +6 -0
  71. package/lib/components/VProgressLinear/index.d.ts +12 -0
  72. package/lib/components/VRadio/index.d.ts +16 -0
  73. package/lib/components/VRadioGroup/index.d.ts +22 -0
  74. package/lib/components/VRangeSlider/index.d.ts +16 -0
  75. package/lib/components/VRating/VRating.css +4 -0
  76. package/lib/components/VRating/VRating.mjs +35 -6
  77. package/lib/components/VRating/VRating.mjs.map +1 -1
  78. package/lib/components/VRating/VRating.sass +5 -0
  79. package/lib/components/VRating/index.d.ts +8 -1
  80. package/lib/components/VResponsive/index.d.ts +8 -0
  81. package/lib/components/VSelect/index.d.ts +183 -6
  82. package/lib/components/VSelectionControl/index.d.ts +14 -6
  83. package/lib/components/VSelectionControlGroup/index.d.ts +6 -0
  84. package/lib/components/VSheet/index.d.ts +6 -0
  85. package/lib/components/VSlideGroup/index.d.ts +26 -0
  86. package/lib/components/VSlider/index.d.ts +16 -0
  87. package/lib/components/VSnackbar/index.d.ts +44 -1
  88. package/lib/components/VSwitch/index.d.ts +22 -0
  89. package/lib/components/VSystemBar/index.d.ts +6 -0
  90. package/lib/components/VTable/index.d.ts +12 -0
  91. package/lib/components/VTabs/index.d.ts +12 -0
  92. package/lib/components/VTextField/index.d.ts +54 -6
  93. package/lib/components/VTextarea/index.d.ts +39 -1
  94. package/lib/components/VThemeProvider/index.d.ts +6 -0
  95. package/lib/components/VTimeline/index.d.ts +16 -0
  96. package/lib/components/VToolbar/index.d.ts +30 -0
  97. package/lib/components/VTooltip/index.d.ts +46 -1
  98. package/lib/components/VValidation/index.d.ts +6 -0
  99. package/lib/components/VWindow/index.d.ts +34 -0
  100. package/lib/components/index.d.ts +1916 -66
  101. package/lib/components/transitions/index.d.ts +96 -0
  102. package/lib/entry-bundler.mjs +1 -1
  103. package/lib/entry-bundler.mjs.map +1 -1
  104. package/lib/framework.mjs +1 -1
  105. package/lib/framework.mjs.map +1 -1
  106. package/lib/index.d.ts +15 -15
  107. package/lib/labs/VDataTable/VDataTableRows.mjs +4 -6
  108. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  109. package/lib/labs/VDataTable/index.d.ts +1503 -48
  110. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +15 -2
  111. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  112. package/lib/labs/VVirtualScroll/index.d.ts +9 -6
  113. package/lib/labs/components.d.ts +1512 -54
  114. package/lib/util/defineComponent.mjs.map +1 -1
  115. package/package.json +2 -1
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.1.7-dev-20230224.0
2
+ * Vuetify v3.1.7
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -16236,6 +16236,9 @@
16236
16236
  const range = vue.computed(() => createRange(Number(props.length), 1));
16237
16237
  const increments = vue.computed(() => range.value.flatMap(v => props.halfIncrements ? [v - 0.5, v] : [v]));
16238
16238
  const hoverIndex = vue.ref(-1);
16239
+ const focusIndex = vue.ref(-1);
16240
+ const firstRef = vue.ref();
16241
+ let isClicking = false;
16239
16242
  const itemState = vue.computed(() => increments.value.map(value => {
16240
16243
  const isHovering = props.hover && hoverIndex.value > -1;
16241
16244
  const isFilled = normalizedValue.value >= value;
@@ -16258,6 +16261,16 @@
16258
16261
  function onMouseleave() {
16259
16262
  hoverIndex.value = -1;
16260
16263
  }
16264
+ function onFocus() {
16265
+ if (value === 0 && normalizedValue.value === 0) {
16266
+ firstRef.value?.focus();
16267
+ } else {
16268
+ focusIndex.value = value;
16269
+ }
16270
+ }
16271
+ function onBlur() {
16272
+ if (!isClicking) focusIndex.value = -1;
16273
+ }
16261
16274
  function onClick() {
16262
16275
  if (props.disabled || props.readonly) return;
16263
16276
  rating.value = normalizedValue.value === value && props.clearable ? 0 : value;
@@ -16265,9 +16278,17 @@
16265
16278
  return {
16266
16279
  onMouseenter: props.hover ? onMouseenter : undefined,
16267
16280
  onMouseleave: props.hover ? onMouseleave : undefined,
16281
+ onFocus,
16282
+ onBlur,
16268
16283
  onClick
16269
16284
  };
16270
16285
  }));
16286
+ function onMousedown() {
16287
+ isClicking = true;
16288
+ }
16289
+ function onMouseup() {
16290
+ isClicking = false;
16291
+ }
16271
16292
  const name = vue.computed(() => props.name ?? `v-rating-${getUid()}`);
16272
16293
  function VRatingItem(_ref2) {
16273
16294
  let {
@@ -16278,6 +16299,8 @@
16278
16299
  const {
16279
16300
  onMouseenter,
16280
16301
  onMouseleave,
16302
+ onFocus,
16303
+ onBlur,
16281
16304
  onClick
16282
16305
  } = eventState.value[index + 1];
16283
16306
  const id = `${name.value}-${String(value).replace('.', '-')}`;
@@ -16288,6 +16311,7 @@
16288
16311
  icon: itemState.value[index]?.icon,
16289
16312
  ripple: props.ripple,
16290
16313
  size: props.size,
16314
+ tag: 'span',
16291
16315
  variant: 'plain'
16292
16316
  };
16293
16317
  return vue.createVNode(vue.Fragment, null, [vue.createVNode("label", {
@@ -16296,17 +16320,17 @@
16296
16320
  'v-rating__item--half': props.halfIncrements && value % 1 > 0,
16297
16321
  'v-rating__item--full': props.halfIncrements && value % 1 === 0
16298
16322
  },
16323
+ "onMousedown": onMousedown,
16324
+ "onMouseup": onMouseup,
16299
16325
  "onMouseenter": onMouseenter,
16300
- "onMouseleave": onMouseleave,
16301
- "onClick": onClick
16326
+ "onMouseleave": onMouseleave
16302
16327
  }, [vue.createVNode("span", {
16303
16328
  "class": "v-rating__hidden"
16304
16329
  }, [t(props.itemAriaLabel, value, props.length)]), !showStar ? undefined : slots.item ? slots.item({
16305
16330
  ...itemState.value[index],
16306
16331
  props: btnProps,
16307
16332
  value,
16308
- index,
16309
- rating: normalizedValue.value
16333
+ index
16310
16334
  }) : vue.createVNode(VBtn, btnProps, null)]), vue.createVNode("input", {
16311
16335
  "class": "v-rating__hidden",
16312
16336
  "name": name.value,
@@ -16314,7 +16338,10 @@
16314
16338
  "type": "radio",
16315
16339
  "value": value,
16316
16340
  "checked": normalizedValue.value === value,
16317
- "tabindex": -1,
16341
+ "onClick": onClick,
16342
+ "onFocus": onFocus,
16343
+ "onBlur": onBlur,
16344
+ "ref": index === 0 ? firstRef : undefined,
16318
16345
  "readonly": props.readonly,
16319
16346
  "disabled": props.disabled
16320
16347
  }, null)]);
@@ -16343,7 +16370,9 @@
16343
16370
  index: i,
16344
16371
  label: props.itemLabels?.[i]
16345
16372
  }) : undefined, vue.createVNode("div", {
16346
- "class": "v-rating__item"
16373
+ "class": ['v-rating__item', {
16374
+ 'v-rating__item--focused': Math.ceil(focusIndex.value) === value
16375
+ }]
16347
16376
  }, [props.halfIncrements ? vue.createVNode(vue.Fragment, null, [vue.createVNode(VRatingItem, {
16348
16377
  "value": value - 0.5,
16349
16378
  "index": i * 2
@@ -18193,7 +18222,7 @@
18193
18222
  locale
18194
18223
  };
18195
18224
  }
18196
- const version$1 = "3.1.7-dev-20230224.0";
18225
+ const version$1 = "3.1.7";
18197
18226
  createVuetify$1.version = version$1;
18198
18227
 
18199
18228
  // Vue's inject() can only be used in setup
@@ -18213,7 +18242,7 @@
18213
18242
  ...options
18214
18243
  });
18215
18244
  };
18216
- const version = "3.1.7-dev-20230224.0";
18245
+ const version = "3.1.7";
18217
18246
  createVuetify.version = version;
18218
18247
 
18219
18248
  exports.components = components;