@vuetify/nightly 3.1.6 → 3.1.7-dev-20230224.0

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/CHANGELOG.md CHANGED
@@ -1,22 +1,14 @@
1
- # [](https://github.com/vuetifyjs/vuetify/compare/v3.1.6...v) (2023-02-22)
1
+ # [](https://github.com/vuetifyjs/vuetify/compare/v3.1.7-dev-20230224.0...v) (2023-02-24)
2
2
 
3
3
 
4
4
 
5
- ## [3.1.6](https://github.com/vuetifyjs/vuetify/compare/v3.1.5...v3.1.6) (2023-02-22)
5
+ ## [3.1.7-dev-20230224.0](https://github.com/vuetifyjs/vuetify/compare/v3.1.6...v3.1.7-dev-20230224.0) (2023-02-24)
6
6
 
7
7
 
8
8
  ### Bug Fixes
9
9
 
10
- * **proxiedModel:** don't lose reactive references to values ([f32a720](https://github.com/vuetifyjs/vuetify/commit/f32a720001383f87983146c00dea9db685d0761d)), closes [#16741](https://github.com/vuetifyjs/vuetify/issues/16741) [#16512](https://github.com/vuetifyjs/vuetify/issues/16512) [#16612](https://github.com/vuetifyjs/vuetify/issues/16612)
11
- * **theme:** support vueuse/head v1.0 ([#16721](https://github.com/vuetifyjs/vuetify/issues/16721)) ([f07101c](https://github.com/vuetifyjs/vuetify/commit/f07101c0e248faaa509267b368541840e8621ac0))
12
- * **VColorPicker:** consistent output values ([#16674](https://github.com/vuetifyjs/vuetify/issues/16674)) ([01c35ef](https://github.com/vuetifyjs/vuetify/commit/01c35efad9025f196f937c45a3fef206e180b180)), closes [#16672](https://github.com/vuetifyjs/vuetify/issues/16672)
13
- * **VColorPicker:** never change track color ([46eaef7](https://github.com/vuetifyjs/vuetify/commit/46eaef785eb1d59a9508ae8a0dedae2b8d5b5b3e)), closes [#16689](https://github.com/vuetifyjs/vuetify/issues/16689)
14
- * **VColorPicker:** reset canvas handle position when color = null ([f00ee78](https://github.com/vuetifyjs/vuetify/commit/f00ee7816079c14ae690c6fa37bca22bdd75934b))
15
- * **VColorPicker:** support dynamic width ([#16675](https://github.com/vuetifyjs/vuetify/issues/16675)) ([7190d27](https://github.com/vuetifyjs/vuetify/commit/7190d275d839c2a518d294b41c45cb29b1eda4e4)), closes [#7151](https://github.com/vuetifyjs/vuetify/issues/7151) [#16668](https://github.com/vuetifyjs/vuetify/issues/16668)
16
- * **VDataTableServer:** support column slots ([#16707](https://github.com/vuetifyjs/vuetify/issues/16707)) ([fe92699](https://github.com/vuetifyjs/vuetify/commit/fe92699e60915440d653733523860e87b2e0c87e)), closes [#16704](https://github.com/vuetifyjs/vuetify/issues/16704)
17
- * **VOverlay:** don't use cancelIdleCallback in safari ([9a4caf3](https://github.com/vuetifyjs/vuetify/commit/9a4caf331d05c31a1223712802babe7eec707d72)), closes [#16613](https://github.com/vuetifyjs/vuetify/issues/16613)
18
- * **VSystemBar:** reserve space for hidden scrollbar from VOverlay ([#16734](https://github.com/vuetifyjs/vuetify/issues/16734)) ([2e545ae](https://github.com/vuetifyjs/vuetify/commit/2e545ae8f9f99d8417091886005fc7dc68ef8b72)), closes [#16727](https://github.com/vuetifyjs/vuetify/issues/16727)
19
- * **VVirtualScroll:** clamp visible items to [0, items.length] ([e493439](https://github.com/vuetifyjs/vuetify/commit/e493439324278e3a15ba51cfb9c45ec226328257)), closes [#16725](https://github.com/vuetifyjs/vuetify/issues/16725)
10
+ * **VRating:** expose model value in item slot ([62b4be7](https://github.com/vuetifyjs/vuetify/commit/62b4be74b777d4b0c6bee75e08c3a9d60d76416f))
11
+ * **VRating:** keyboard navigation ([1c0a0d2](https://github.com/vuetifyjs/vuetify/commit/1c0a0d232956bf53a498ac39f6afc4597f6e2739))
20
12
 
21
13
 
22
14
 
@@ -4,10 +4,6 @@
4
4
  "from": "components/VDefaultsProvider/index.mjs",
5
5
  "styles": []
6
6
  },
7
- "VForm": {
8
- "from": "components/VForm/index.mjs",
9
- "styles": []
10
- },
11
7
  "VContainer": {
12
8
  "from": "components/VGrid/index.mjs",
13
9
  "styles": []
@@ -28,12 +24,8 @@
28
24
  "from": "components/VHover/index.mjs",
29
25
  "styles": []
30
26
  },
31
- "VLayout": {
32
- "from": "components/VLayout/index.mjs",
33
- "styles": []
34
- },
35
- "VLayoutItem": {
36
- "from": "components/VLayout/index.mjs",
27
+ "VForm": {
28
+ "from": "components/VForm/index.mjs",
37
29
  "styles": []
38
30
  },
39
31
  "VLazy": {
@@ -44,6 +36,14 @@
44
36
  "from": "components/VLocaleProvider/index.mjs",
45
37
  "styles": []
46
38
  },
39
+ "VLayout": {
40
+ "from": "components/VLayout/index.mjs",
41
+ "styles": []
42
+ },
43
+ "VLayoutItem": {
44
+ "from": "components/VLayout/index.mjs",
45
+ "styles": []
46
+ },
47
47
  "VNoSsr": {
48
48
  "from": "components/VNoSsr/index.mjs",
49
49
  "styles": []
@@ -200,16 +200,16 @@
200
200
  "from": "components/VBreadcrumbs/index.mjs",
201
201
  "styles": []
202
202
  },
203
- "VBtn": {
204
- "from": "components/VBtn/index.mjs",
203
+ "VBtnToggle": {
204
+ "from": "components/VBtnToggle/index.mjs",
205
205
  "styles": []
206
206
  },
207
207
  "VBtnGroup": {
208
208
  "from": "components/VBtnGroup/index.mjs",
209
209
  "styles": []
210
210
  },
211
- "VBtnToggle": {
212
- "from": "components/VBtnToggle/index.mjs",
211
+ "VBtn": {
212
+ "from": "components/VBtn/index.mjs",
213
213
  "styles": []
214
214
  },
215
215
  "VCard": {
@@ -236,14 +236,6 @@
236
236
  "from": "components/VCard/index.mjs",
237
237
  "styles": []
238
238
  },
239
- "VCarousel": {
240
- "from": "components/VCarousel/index.mjs",
241
- "styles": []
242
- },
243
- "VCarouselItem": {
244
- "from": "components/VCarousel/index.mjs",
245
- "styles": []
246
- },
247
239
  "VCheckbox": {
248
240
  "from": "components/VCheckbox/index.mjs",
249
241
  "styles": []
@@ -252,6 +244,14 @@
252
244
  "from": "components/VCheckbox/index.mjs",
253
245
  "styles": []
254
246
  },
247
+ "VCarousel": {
248
+ "from": "components/VCarousel/index.mjs",
249
+ "styles": []
250
+ },
251
+ "VCarouselItem": {
252
+ "from": "components/VCarousel/index.mjs",
253
+ "styles": []
254
+ },
255
255
  "VChip": {
256
256
  "from": "components/VChip/index.mjs",
257
257
  "styles": []
@@ -280,10 +280,6 @@
280
280
  "from": "components/VDialog/index.mjs",
281
281
  "styles": []
282
282
  },
283
- "VDivider": {
284
- "from": "components/VDivider/index.mjs",
285
- "styles": []
286
- },
287
283
  "VExpansionPanels": {
288
284
  "from": "components/VExpansionPanel/index.mjs",
289
285
  "styles": []
@@ -300,6 +296,10 @@
300
296
  "from": "components/VExpansionPanel/index.mjs",
301
297
  "styles": []
302
298
  },
299
+ "VDivider": {
300
+ "from": "components/VDivider/index.mjs",
301
+ "styles": []
302
+ },
303
303
  "VField": {
304
304
  "from": "components/VField/index.mjs",
305
305
  "styles": []
@@ -316,6 +316,10 @@
316
316
  "from": "components/VFooter/index.mjs",
317
317
  "styles": []
318
318
  },
319
+ "VImg": {
320
+ "from": "components/VImg/index.mjs",
321
+ "styles": []
322
+ },
319
323
  "VIcon": {
320
324
  "from": "components/VIcon/index.mjs",
321
325
  "styles": []
@@ -336,22 +340,10 @@
336
340
  "from": "components/VIcon/index.mjs",
337
341
  "styles": []
338
342
  },
339
- "VImg": {
340
- "from": "components/VImg/index.mjs",
341
- "styles": []
342
- },
343
343
  "VInput": {
344
344
  "from": "components/VInput/index.mjs",
345
345
  "styles": []
346
346
  },
347
- "VItemGroup": {
348
- "from": "components/VItemGroup/index.mjs",
349
- "styles": []
350
- },
351
- "VItem": {
352
- "from": "components/VItemGroup/index.mjs",
353
- "styles": []
354
- },
355
347
  "VKbd": {
356
348
  "from": "components/VKbd/index.mjs",
357
349
  "styles": []
@@ -408,14 +400,14 @@
408
400
  "from": "components/VMessages/index.mjs",
409
401
  "styles": []
410
402
  },
411
- "VNavigationDrawer": {
412
- "from": "components/VNavigationDrawer/index.mjs",
413
- "styles": []
414
- },
415
403
  "VOverlay": {
416
404
  "from": "components/VOverlay/index.mjs",
417
405
  "styles": []
418
406
  },
407
+ "VNavigationDrawer": {
408
+ "from": "components/VNavigationDrawer/index.mjs",
409
+ "styles": []
410
+ },
419
411
  "VPagination": {
420
412
  "from": "components/VPagination/index.mjs",
421
413
  "styles": []
@@ -460,20 +452,16 @@
460
452
  "from": "components/VSlideGroup/index.mjs",
461
453
  "styles": []
462
454
  },
463
- "VSlider": {
464
- "from": "components/VSlider/index.mjs",
465
- "styles": []
466
- },
467
455
  "VSnackbar": {
468
456
  "from": "components/VSnackbar/index.mjs",
469
457
  "styles": []
470
458
  },
471
- "VSwitch": {
472
- "from": "components/VSwitch/index.mjs",
459
+ "VSlider": {
460
+ "from": "components/VSlider/index.mjs",
473
461
  "styles": []
474
462
  },
475
- "VSystemBar": {
476
- "from": "components/VSystemBar/index.mjs",
463
+ "VSwitch": {
464
+ "from": "components/VSwitch/index.mjs",
477
465
  "styles": []
478
466
  },
479
467
  "VTabs": {
@@ -484,8 +472,8 @@
484
472
  "from": "components/VTabs/index.mjs",
485
473
  "styles": []
486
474
  },
487
- "VTable": {
488
- "from": "components/VTable/index.mjs",
475
+ "VSystemBar": {
476
+ "from": "components/VSystemBar/index.mjs",
489
477
  "styles": []
490
478
  },
491
479
  "VTextarea": {
@@ -496,6 +484,10 @@
496
484
  "from": "components/VTextField/index.mjs",
497
485
  "styles": []
498
486
  },
487
+ "VTable": {
488
+ "from": "components/VTable/index.mjs",
489
+ "styles": []
490
+ },
499
491
  "VTimeline": {
500
492
  "from": "components/VTimeline/index.mjs",
501
493
  "styles": []
@@ -527,6 +519,14 @@
527
519
  "VWindowItem": {
528
520
  "from": "components/VWindow/index.mjs",
529
521
  "styles": []
522
+ },
523
+ "VItemGroup": {
524
+ "from": "components/VItemGroup/index.mjs",
525
+ "styles": []
526
+ },
527
+ "VItem": {
528
+ "from": "components/VItemGroup/index.mjs",
529
+ "styles": []
530
530
  }
531
531
  },
532
532
  "directives": [
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "vuetify",
5
- "version": "3.1.6",
5
+ "version": "3.1.7-dev-20230224.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -16476,6 +16476,10 @@
16476
16476
  {
16477
16477
  "name": "props",
16478
16478
  "type": "Record<string, unknown>"
16479
+ },
16480
+ {
16481
+ "name": "rating",
16482
+ "type": "number"
16479
16483
  }
16480
16484
  ]
16481
16485
  },
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.1.6
2
+ * Vuetify v3.1.7-dev-20230224.0
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -20898,10 +20898,6 @@ html.v-overlay-scroll-blocked {
20898
20898
  .v-rating--hover .v-rating__item:hover:not(.v-rating__item--focused) .v-btn {
20899
20899
  transform: scale(1.25);
20900
20900
  }
20901
- .v-rating__item--focused .v-btn__overlay {
20902
- display: block;
20903
- opacity: var(--v-hover-opacity);
20904
- }
20905
20901
  .v-rating__item--half {
20906
20902
  overflow: hidden;
20907
20903
  position: absolute;
@@ -11980,6 +11980,7 @@ type VRatingItemSlot = {
11980
11980
  icon: IconValue;
11981
11981
  color?: string;
11982
11982
  props: Record<string, unknown>;
11983
+ rating: number;
11983
11984
  };
11984
11985
  type VRatingItemLabelSlot = {
11985
11986
  value: number;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.1.6
2
+ * Vuetify v3.1.7-dev-20230224.0
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -16236,9 +16236,6 @@ const VRating = genericComponent()({
16236
16236
  const range = computed(() => createRange(Number(props.length), 1));
16237
16237
  const increments = computed(() => range.value.flatMap(v => props.halfIncrements ? [v - 0.5, v] : [v]));
16238
16238
  const hoverIndex = ref(-1);
16239
- const focusIndex = ref(-1);
16240
- const firstRef = ref();
16241
- let isClicking = false;
16242
16239
  const itemState = computed(() => increments.value.map(value => {
16243
16240
  const isHovering = props.hover && hoverIndex.value > -1;
16244
16241
  const isFilled = normalizedValue.value >= value;
@@ -16261,16 +16258,6 @@ const VRating = genericComponent()({
16261
16258
  function onMouseleave() {
16262
16259
  hoverIndex.value = -1;
16263
16260
  }
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
- }
16274
16261
  function onClick() {
16275
16262
  if (props.disabled || props.readonly) return;
16276
16263
  rating.value = normalizedValue.value === value && props.clearable ? 0 : value;
@@ -16278,17 +16265,9 @@ const VRating = genericComponent()({
16278
16265
  return {
16279
16266
  onMouseenter: props.hover ? onMouseenter : undefined,
16280
16267
  onMouseleave: props.hover ? onMouseleave : undefined,
16281
- onFocus,
16282
- onBlur,
16283
16268
  onClick
16284
16269
  };
16285
16270
  }));
16286
- function onMousedown() {
16287
- isClicking = true;
16288
- }
16289
- function onMouseup() {
16290
- isClicking = false;
16291
- }
16292
16271
  const name = computed(() => props.name ?? `v-rating-${getUid()}`);
16293
16272
  function VRatingItem(_ref2) {
16294
16273
  let {
@@ -16299,8 +16278,6 @@ const VRating = genericComponent()({
16299
16278
  const {
16300
16279
  onMouseenter,
16301
16280
  onMouseleave,
16302
- onFocus,
16303
- onBlur,
16304
16281
  onClick
16305
16282
  } = eventState.value[index + 1];
16306
16283
  const id = `${name.value}-${String(value).replace('.', '-')}`;
@@ -16311,7 +16288,6 @@ const VRating = genericComponent()({
16311
16288
  icon: itemState.value[index]?.icon,
16312
16289
  ripple: props.ripple,
16313
16290
  size: props.size,
16314
- tag: 'span',
16315
16291
  variant: 'plain'
16316
16292
  };
16317
16293
  return createVNode(Fragment, null, [createVNode("label", {
@@ -16320,17 +16296,17 @@ const VRating = genericComponent()({
16320
16296
  'v-rating__item--half': props.halfIncrements && value % 1 > 0,
16321
16297
  'v-rating__item--full': props.halfIncrements && value % 1 === 0
16322
16298
  },
16323
- "onMousedown": onMousedown,
16324
- "onMouseup": onMouseup,
16325
16299
  "onMouseenter": onMouseenter,
16326
- "onMouseleave": onMouseleave
16300
+ "onMouseleave": onMouseleave,
16301
+ "onClick": onClick
16327
16302
  }, [createVNode("span", {
16328
16303
  "class": "v-rating__hidden"
16329
16304
  }, [t(props.itemAriaLabel, value, props.length)]), !showStar ? undefined : slots.item ? slots.item({
16330
16305
  ...itemState.value[index],
16331
16306
  props: btnProps,
16332
16307
  value,
16333
- index
16308
+ index,
16309
+ rating: normalizedValue.value
16334
16310
  }) : createVNode(VBtn, btnProps, null)]), createVNode("input", {
16335
16311
  "class": "v-rating__hidden",
16336
16312
  "name": name.value,
@@ -16338,10 +16314,7 @@ const VRating = genericComponent()({
16338
16314
  "type": "radio",
16339
16315
  "value": value,
16340
16316
  "checked": normalizedValue.value === value,
16341
- "onClick": onClick,
16342
- "onFocus": onFocus,
16343
- "onBlur": onBlur,
16344
- "ref": index === 0 ? firstRef : undefined,
16317
+ "tabindex": -1,
16345
16318
  "readonly": props.readonly,
16346
16319
  "disabled": props.disabled
16347
16320
  }, null)]);
@@ -16370,9 +16343,7 @@ const VRating = genericComponent()({
16370
16343
  index: i,
16371
16344
  label: props.itemLabels?.[i]
16372
16345
  }) : undefined, createVNode("div", {
16373
- "class": ['v-rating__item', {
16374
- 'v-rating__item--focused': Math.ceil(focusIndex.value) === value
16375
- }]
16346
+ "class": "v-rating__item"
16376
16347
  }, [props.halfIncrements ? createVNode(Fragment, null, [createVNode(VRatingItem, {
16377
16348
  "value": value - 0.5,
16378
16349
  "index": i * 2
@@ -20006,7 +19977,7 @@ function createVuetify$1() {
20006
19977
  locale
20007
19978
  };
20008
19979
  }
20009
- const version$1 = "3.1.6";
19980
+ const version$1 = "3.1.7-dev-20230224.0";
20010
19981
  createVuetify$1.version = version$1;
20011
19982
 
20012
19983
  // Vue's inject() can only be used in setup
@@ -20018,7 +19989,7 @@ function inject(key) {
20018
19989
  }
20019
19990
  }
20020
19991
 
20021
- const version = "3.1.6";
19992
+ const version = "3.1.7-dev-20230224.0";
20022
19993
 
20023
19994
  const createVuetify = function () {
20024
19995
  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};