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
@@ -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
  */
@@ -17314,7 +17314,7 @@
17314
17314
  return minutes / parsedIntervalMinutes.value * parsedIntervalHeight.value;
17315
17315
  }
17316
17316
  function timeToY(time) {
17317
- let targetDateOrClamp = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
17317
+ let targetDateOrClamp = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
17318
17318
  const clamp = targetDateOrClamp !== false;
17319
17319
  const targetDate = typeof targetDateOrClamp !== 'boolean' ? targetDateOrClamp : undefined;
17320
17320
  let y = timeDelta(time, targetDate);
@@ -17323,10 +17323,15 @@
17323
17323
  if (clamp) {
17324
17324
  if (y < 0) {
17325
17325
  y = 0;
17326
- }
17327
- if (y > bodyHeight.value) {
17326
+ } else if (y > bodyHeight.value) {
17328
17327
  y = bodyHeight.value;
17329
17328
  }
17329
+ } else {
17330
+ if (y < 0) {
17331
+ y = y + bodyHeight.value;
17332
+ } else if (y > bodyHeight.value) {
17333
+ y = y - bodyHeight.value;
17334
+ }
17330
17335
  }
17331
17336
  return y;
17332
17337
  }
@@ -17339,9 +17344,7 @@
17339
17344
  if (targetDate && typeof time === 'object' && 'day' in time) {
17340
17345
  const a = getDayIdentifier(time);
17341
17346
  const b = getDayIdentifier(targetDate);
17342
- if (a > b) {
17343
- minutes += (a - b) * gap;
17344
- }
17347
+ minutes += (a - b) * gap;
17345
17348
  }
17346
17349
  const min = firstMinute.value;
17347
17350
  return (minutes - min) / gap;
@@ -22168,6 +22171,12 @@
22168
22171
  let {
22169
22172
  emit
22170
22173
  } = _ref;
22174
+ function onSwatchClick(hsva) {
22175
+ if (props.disabled || !hsva) {
22176
+ return;
22177
+ }
22178
+ emit('update:color', hsva);
22179
+ }
22171
22180
  useRender(() => vue.createElementVNode("div", {
22172
22181
  "class": vue.normalizeClass(['v-color-picker-swatches', props.class]),
22173
22182
  "style": vue.normalizeStyle([{
@@ -22180,8 +22189,10 @@
22180
22189
  const hsva = RGBtoHSV(rgba);
22181
22190
  const background = RGBtoCSS(rgba);
22182
22191
  return vue.createElementVNode("div", {
22183
- "class": "v-color-picker-swatches__color",
22184
- "onClick": () => hsva && emit('update:color', hsva)
22192
+ "class": vue.normalizeClass(['v-color-picker-swatches__color', {
22193
+ 'v-color-picker-swatches__color--disabled': props.disabled
22194
+ }]),
22195
+ "onClick": () => onSwatchClick(hsva)
22185
22196
  }, [vue.createElementVNode("div", {
22186
22197
  "style": {
22187
22198
  background
@@ -39248,7 +39259,7 @@
39248
39259
  };
39249
39260
  });
39250
39261
  }
39251
- const version$1 = "3.11.5";
39262
+ const version$1 = "3.11.6";
39252
39263
  createVuetify$1.version = version$1;
39253
39264
 
39254
39265
  // Vue's inject() can only be used in setup
@@ -39551,7 +39562,7 @@
39551
39562
 
39552
39563
  /* eslint-disable local-rules/sort-imports */
39553
39564
 
39554
- const version = "3.11.5";
39565
+ const version = "3.11.6";
39555
39566
 
39556
39567
  /* eslint-disable local-rules/sort-imports */
39557
39568