vuetify 3.11.5 → 3.11.6

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 (34) hide show
  1. package/dist/json/attributes.json +2340 -2340
  2. package/dist/json/importMap-labs.json +12 -12
  3. package/dist/json/importMap.json +186 -186
  4. package/dist/json/web-types.json +4227 -4227
  5. package/dist/vuetify-labs.cjs +22 -11
  6. package/dist/vuetify-labs.css +4831 -4828
  7. package/dist/vuetify-labs.d.ts +64 -64
  8. package/dist/vuetify-labs.esm.js +22 -11
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +22 -11
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.cjs +22 -11
  13. package/dist/vuetify.cjs.map +1 -1
  14. package/dist/vuetify.css +4510 -4507
  15. package/dist/vuetify.d.ts +64 -64
  16. package/dist/vuetify.esm.js +22 -11
  17. package/dist/vuetify.esm.js.map +1 -1
  18. package/dist/vuetify.js +22 -11
  19. package/dist/vuetify.js.map +1 -1
  20. package/dist/vuetify.min.css +2 -2
  21. package/dist/vuetify.min.js +7 -8
  22. package/dist/vuetify.min.js.map +1 -1
  23. package/lib/components/VCalendar/composables/calendarWithIntervals.js +9 -6
  24. package/lib/components/VCalendar/composables/calendarWithIntervals.js.map +1 -1
  25. package/lib/components/VColorPicker/VColorPickerSwatches.css +4 -0
  26. package/lib/components/VColorPicker/VColorPickerSwatches.js +10 -2
  27. package/lib/components/VColorPicker/VColorPickerSwatches.js.map +1 -1
  28. package/lib/components/VColorPicker/VColorPickerSwatches.sass +4 -0
  29. package/lib/components/VDatePicker/VDatePickerControls.css +0 -1
  30. package/lib/components/VDatePicker/VDatePickerControls.sass +0 -1
  31. package/lib/entry-bundler.js +1 -1
  32. package/lib/framework.d.ts +64 -64
  33. package/lib/framework.js +1 -1
  34. package/package.json +1 -1
package/dist/vuetify.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.11.5
2
+ * Vuetify v3.11.6
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -17643,7 +17643,7 @@
17643
17643
  return minutes / parsedIntervalMinutes.value * parsedIntervalHeight.value;
17644
17644
  }
17645
17645
  function timeToY(time) {
17646
- let targetDateOrClamp = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
17646
+ let targetDateOrClamp = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
17647
17647
  const clamp = targetDateOrClamp !== false;
17648
17648
  const targetDate = typeof targetDateOrClamp !== 'boolean' ? targetDateOrClamp : undefined;
17649
17649
  let y = timeDelta(time, targetDate);
@@ -17652,10 +17652,15 @@
17652
17652
  if (clamp) {
17653
17653
  if (y < 0) {
17654
17654
  y = 0;
17655
- }
17656
- if (y > bodyHeight.value) {
17655
+ } else if (y > bodyHeight.value) {
17657
17656
  y = bodyHeight.value;
17658
17657
  }
17658
+ } else {
17659
+ if (y < 0) {
17660
+ y = y + bodyHeight.value;
17661
+ } else if (y > bodyHeight.value) {
17662
+ y = y - bodyHeight.value;
17663
+ }
17659
17664
  }
17660
17665
  return y;
17661
17666
  }
@@ -17668,9 +17673,7 @@
17668
17673
  if (targetDate && typeof time === 'object' && 'day' in time) {
17669
17674
  const a = getDayIdentifier(time);
17670
17675
  const b = getDayIdentifier(targetDate);
17671
- if (a > b) {
17672
- minutes += (a - b) * gap;
17673
- }
17676
+ minutes += (a - b) * gap;
17674
17677
  }
17675
17678
  const min = firstMinute.value;
17676
17679
  return (minutes - min) / gap;
@@ -22488,6 +22491,12 @@
22488
22491
  let {
22489
22492
  emit
22490
22493
  } = _ref;
22494
+ function onSwatchClick(hsva) {
22495
+ if (props.disabled || !hsva) {
22496
+ return;
22497
+ }
22498
+ emit('update:color', hsva);
22499
+ }
22491
22500
  useRender(() => vue.createElementVNode("div", {
22492
22501
  "class": vue.normalizeClass(['v-color-picker-swatches', props.class]),
22493
22502
  "style": vue.normalizeStyle([{
@@ -22500,8 +22509,10 @@
22500
22509
  const hsva = RGBtoHSV(rgba);
22501
22510
  const background = RGBtoCSS(rgba);
22502
22511
  return vue.createElementVNode("div", {
22503
- "class": "v-color-picker-swatches__color",
22504
- "onClick": () => hsva && emit('update:color', hsva)
22512
+ "class": vue.normalizeClass(['v-color-picker-swatches__color', {
22513
+ 'v-color-picker-swatches__color--disabled': props.disabled
22514
+ }]),
22515
+ "onClick": () => onSwatchClick(hsva)
22505
22516
  }, [vue.createElementVNode("div", {
22506
22517
  "style": {
22507
22518
  background
@@ -36703,7 +36714,7 @@
36703
36714
  };
36704
36715
  });
36705
36716
  }
36706
- const version$1 = "3.11.5";
36717
+ const version$1 = "3.11.6";
36707
36718
  createVuetify$1.version = version$1;
36708
36719
 
36709
36720
  // Vue's inject() can only be used in setup
@@ -36728,7 +36739,7 @@
36728
36739
  ...options
36729
36740
  });
36730
36741
  };
36731
- const version = "3.11.5";
36742
+ const version = "3.11.6";
36732
36743
  createVuetify.version = version;
36733
36744
 
36734
36745
  exports.blueprints = index;