@vuetify/nightly 3.11.5-dev.2025-12-24 → 3.11.5-dev.2025-12-26

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 (46) hide show
  1. package/CHANGELOG.md +4 -3
  2. package/dist/json/attributes.json +1144 -1140
  3. package/dist/json/importMap-labs.json +14 -14
  4. package/dist/json/importMap.json +164 -164
  5. package/dist/json/tags.json +1 -0
  6. package/dist/json/web-types.json +2026 -2016
  7. package/dist/vuetify-labs.cjs +34 -12
  8. package/dist/vuetify-labs.css +5784 -5784
  9. package/dist/vuetify-labs.d.ts +85 -73
  10. package/dist/vuetify-labs.esm.js +34 -12
  11. package/dist/vuetify-labs.esm.js.map +1 -1
  12. package/dist/vuetify-labs.js +34 -12
  13. package/dist/vuetify-labs.min.css +2 -2
  14. package/dist/vuetify.cjs +31 -9
  15. package/dist/vuetify.cjs.map +1 -1
  16. package/dist/vuetify.css +5916 -5916
  17. package/dist/vuetify.d.ts +62 -54
  18. package/dist/vuetify.esm.js +31 -9
  19. package/dist/vuetify.esm.js.map +1 -1
  20. package/dist/vuetify.js +31 -9
  21. package/dist/vuetify.js.map +1 -1
  22. package/dist/vuetify.min.css +2 -2
  23. package/dist/vuetify.min.js +338 -337
  24. package/dist/vuetify.min.js.map +1 -1
  25. package/lib/components/VColorPicker/VColorPicker.d.ts +13 -0
  26. package/lib/components/VColorPicker/VColorPicker.js +7 -2
  27. package/lib/components/VColorPicker/VColorPicker.js.map +1 -1
  28. package/lib/components/VColorPicker/VColorPickerCanvas.d.ts +13 -0
  29. package/lib/components/VColorPicker/VColorPickerCanvas.js +5 -3
  30. package/lib/components/VColorPicker/VColorPickerCanvas.js.map +1 -1
  31. package/lib/components/VColorPicker/VColorPickerEdit.d.ts +13 -0
  32. package/lib/components/VColorPicker/VColorPickerEdit.js +2 -0
  33. package/lib/components/VColorPicker/VColorPickerEdit.js.map +1 -1
  34. package/lib/components/VColorPicker/VColorPickerPreview.d.ts +13 -0
  35. package/lib/components/VColorPicker/VColorPickerPreview.js +7 -2
  36. package/lib/components/VColorPicker/VColorPickerPreview.js.map +1 -1
  37. package/lib/components/VColorPicker/VColorPickerSwatches.d.ts +13 -0
  38. package/lib/components/VColorPicker/VColorPickerSwatches.js +10 -1
  39. package/lib/components/VColorPicker/VColorPickerSwatches.js.map +1 -1
  40. package/lib/entry-bundler.js +1 -1
  41. package/lib/framework.d.ts +54 -54
  42. package/lib/framework.js +1 -1
  43. package/lib/labs/VColorInput/VColorInput.d.ts +43 -35
  44. package/lib/labs/VColorInput/VColorInput.js +3 -3
  45. package/lib/labs/VColorInput/VColorInput.js.map +1 -1
  46. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.11.5-dev.2025-12-24
2
+ * Vuetify v3.11.5-dev.2025-12-26
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -20698,6 +20698,7 @@
20698
20698
  type: Object
20699
20699
  },
20700
20700
  disabled: Boolean,
20701
+ readonly: Boolean,
20701
20702
  dotSize: {
20702
20703
  type: [Number, String],
20703
20704
  default: 10
@@ -20731,6 +20732,7 @@
20731
20732
  x: 0,
20732
20733
  y: 0
20733
20734
  });
20735
+ const isInteractive = vue.toRef(() => !props.disabled && !props.readonly);
20734
20736
  const dotPosition = vue.computed({
20735
20737
  get: () => _dotPosition.value,
20736
20738
  set(val) {
@@ -20788,7 +20790,7 @@
20788
20790
  // Prevent text selection while dragging
20789
20791
  e.preventDefault();
20790
20792
  }
20791
- if (props.disabled) return;
20793
+ if (!isInteractive.value) return;
20792
20794
  handleMouseMove(e);
20793
20795
  window.addEventListener('mousemove', handleMouseMove);
20794
20796
  window.addEventListener('mouseup', handleMouseUp);
@@ -20796,7 +20798,7 @@
20796
20798
  window.addEventListener('touchend', handleMouseUp);
20797
20799
  }
20798
20800
  function handleMouseMove(e) {
20799
- if (props.disabled || !canvasRef.value) return;
20801
+ if (!isInteractive.value || !canvasRef.value) return;
20800
20802
  isInteracting.value = true;
20801
20803
  const coords = getEventCoordinates(e);
20802
20804
  updateDotPosition(coords.clientX, coords.clientY, canvasRef.value.getBoundingClientRect());
@@ -21083,6 +21085,7 @@
21083
21085
  const makeVColorPickerEditProps = propsFactory({
21084
21086
  color: Object,
21085
21087
  disabled: Boolean,
21088
+ readonly: Boolean,
21086
21089
  mode: {
21087
21090
  type: String,
21088
21091
  default: 'rgba',
@@ -21131,6 +21134,7 @@
21131
21134
  ...inputProps,
21132
21135
  ariaLabel: t(`$vuetify.colorPicker.ariaLabel.${localeKey}`),
21133
21136
  disabled: props.disabled,
21137
+ readonly: props.readonly,
21134
21138
  value: color && getValue(color),
21135
21139
  onChange: e => {
21136
21140
  const target = e.target;
@@ -21915,6 +21919,7 @@
21915
21919
  type: Object
21916
21920
  },
21917
21921
  disabled: Boolean,
21922
+ readonly: Boolean,
21918
21923
  hideAlpha: Boolean,
21919
21924
  hideEyeDropper: Boolean,
21920
21925
  eyeDropperIcon: {
@@ -21937,9 +21942,10 @@
21937
21942
  t
21938
21943
  } = useLocale();
21939
21944
  const abortController = new AbortController();
21945
+ const isInteractive = vue.toRef(() => !props.disabled && !props.readonly);
21940
21946
  vue.onUnmounted(() => abortController.abort());
21941
21947
  async function openEyeDropper() {
21942
- if (!SUPPORTS_EYE_DROPPER || props.disabled) return;
21948
+ if (!SUPPORTS_EYE_DROPPER || !isInteractive.value) return;
21943
21949
  const eyeDropper = new window.EyeDropper();
21944
21950
  try {
21945
21951
  const result = await eyeDropper.open({
@@ -21964,6 +21970,7 @@
21964
21970
  "aria-label": t('$vuetify.colorPicker.ariaLabel.eyedropper'),
21965
21971
  "density": "comfortable",
21966
21972
  "disabled": props.disabled,
21973
+ "readonly": props.readonly,
21967
21974
  "icon": props.eyeDropperIcon,
21968
21975
  "variant": "plain",
21969
21976
  "onClick": openEyeDropper
@@ -21987,6 +21994,7 @@
21987
21994
  "min": 0,
21988
21995
  "max": 360,
21989
21996
  "disabled": props.disabled,
21997
+ "readonly": props.readonly,
21990
21998
  "thumbSize": 14,
21991
21999
  "trackSize": 8,
21992
22000
  "trackFillColor": "white",
@@ -22003,6 +22011,7 @@
22003
22011
  "min": 0,
22004
22012
  "max": 1,
22005
22013
  "disabled": props.disabled,
22014
+ "readonly": props.readonly,
22006
22015
  "thumbSize": 14,
22007
22016
  "trackSize": 8,
22008
22017
  "trackFillColor": "white",
@@ -22340,6 +22349,7 @@
22340
22349
  default: () => parseDefaultColors(colors)
22341
22350
  },
22342
22351
  disabled: Boolean,
22352
+ readonly: Boolean,
22343
22353
  color: Object,
22344
22354
  maxHeight: [Number, String],
22345
22355
  ...makeComponentProps()
@@ -22360,6 +22370,13 @@
22360
22370
  let {
22361
22371
  emit
22362
22372
  } = _ref;
22373
+ const isInteractive = vue.toRef(() => !props.disabled && !props.readonly);
22374
+ function onSwatchClick(hsva) {
22375
+ if (!isInteractive.value || !hsva) {
22376
+ return;
22377
+ }
22378
+ emit('update:color', hsva);
22379
+ }
22363
22380
  useRender(() => vue.createElementVNode("div", {
22364
22381
  "class": vue.normalizeClass(['v-color-picker-swatches', props.class]),
22365
22382
  "style": vue.normalizeStyle([{
@@ -22373,7 +22390,7 @@
22373
22390
  const background = RGBtoCSS(rgba);
22374
22391
  return vue.createElementVNode("div", {
22375
22392
  "class": "v-color-picker-swatches__color",
22376
- "onClick": () => hsva && emit('update:color', hsva)
22393
+ "onClick": () => onSwatchClick(hsva)
22377
22394
  }, [vue.createElementVNode("div", {
22378
22395
  "style": {
22379
22396
  background
@@ -22533,6 +22550,7 @@
22533
22550
  validator: v => Array.isArray(v) && v.every(m => Object.keys(modes).includes(m))
22534
22551
  },
22535
22552
  showSwatches: Boolean,
22553
+ readonly: Boolean,
22536
22554
  swatches: Array,
22537
22555
  swatchesMaxHeight: {
22538
22556
  type: [Number, String],
@@ -22626,6 +22644,7 @@
22626
22644
  "color": currentColor.value,
22627
22645
  "onUpdate:color": updateColor,
22628
22646
  "disabled": props.disabled,
22647
+ "readonly": props.readonly,
22629
22648
  "dotSize": props.dotSize,
22630
22649
  "width": props.width,
22631
22650
  "height": props.canvasHeight
@@ -22638,6 +22657,7 @@
22638
22657
  "onUpdate:color": updateColor,
22639
22658
  "hideAlpha": !mode.value.endsWith('a'),
22640
22659
  "disabled": props.disabled,
22660
+ "readonly": props.readonly,
22641
22661
  "hideEyeDropper": props.hideEyeDropper,
22642
22662
  "eyeDropperIcon": props.eyeDropperIcon
22643
22663
  }, null), !props.hideInputs && vue.createVNode(VColorPickerEdit, {
@@ -22647,14 +22667,16 @@
22647
22667
  "onUpdate:mode": m => mode.value = m,
22648
22668
  "color": currentColor.value,
22649
22669
  "onUpdate:color": updateColor,
22650
- "disabled": props.disabled
22670
+ "disabled": props.disabled,
22671
+ "readonly": props.readonly
22651
22672
  }, null)]), props.showSwatches && vue.createVNode(VColorPickerSwatches, {
22652
22673
  "key": "swatches",
22653
22674
  "color": currentColor.value,
22654
22675
  "onUpdate:color": updateColor,
22655
22676
  "maxHeight": props.swatchesMaxHeight,
22656
22677
  "swatches": props.swatches,
22657
- "disabled": props.disabled
22678
+ "disabled": props.disabled,
22679
+ "readonly": props.readonly
22658
22680
  }, null)])
22659
22681
  });
22660
22682
  });
@@ -36171,10 +36193,10 @@
36171
36193
  "modelValue": display.value,
36172
36194
  "onKeydown": isInteractive.value ? onKeydown : undefined,
36173
36195
  "focused": menu.value || isFocused.value,
36174
- "onClick:control": isInteractive.value ? onClick : undefined,
36175
- "onClick:prependInner": isInteractive.value ? onClick : undefined,
36196
+ "onClick:control": !props.disabled ? onClick : undefined,
36197
+ "onClick:prependInner": !props.disabled ? onClick : undefined,
36176
36198
  "onUpdate:focused": event => isFocused.value = event,
36177
- "onClick:appendInner": isInteractive.value ? onClick : undefined,
36199
+ "onClick:appendInner": !props.disabled ? onClick : undefined,
36178
36200
  "onUpdate:modelValue": val => {
36179
36201
  model.value = val;
36180
36202
  }
@@ -39456,7 +39478,7 @@
39456
39478
  };
39457
39479
  });
39458
39480
  }
39459
- const version$1 = "3.11.5-dev.2025-12-24";
39481
+ const version$1 = "3.11.5-dev.2025-12-26";
39460
39482
  createVuetify$1.version = version$1;
39461
39483
 
39462
39484
  // Vue's inject() can only be used in setup
@@ -39759,7 +39781,7 @@
39759
39781
 
39760
39782
  /* eslint-disable local-rules/sort-imports */
39761
39783
 
39762
- const version = "3.11.5-dev.2025-12-24";
39784
+ const version = "3.11.5-dev.2025-12-26";
39763
39785
 
39764
39786
  /* eslint-disable local-rules/sort-imports */
39765
39787