@vuetify/nightly 3.3.11-dev.2023-08-07 → 3.3.11-dev.2023-08-09

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 -2
  2. package/dist/json/attributes.json +8 -0
  3. package/dist/json/importMap.json +4 -4
  4. package/dist/json/tags.json +2 -0
  5. package/dist/json/web-types.json +21 -1
  6. package/dist/vuetify-labs.css +215 -210
  7. package/dist/vuetify-labs.d.ts +28 -0
  8. package/dist/vuetify-labs.esm.js +39 -7
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +38 -6
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +35 -30
  13. package/dist/vuetify.d.ts +29 -1
  14. package/dist/vuetify.esm.js +39 -7
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +38 -6
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +836 -832
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VCarousel/index.d.mts +14 -0
  22. package/lib/components/VColorPicker/VColorPickerPreview.css +5 -0
  23. package/lib/components/VColorPicker/VColorPickerPreview.mjs +28 -2
  24. package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
  25. package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -0
  26. package/lib/components/VColorPicker/_variables.scss +1 -0
  27. package/lib/components/VImg/VImg.mjs +7 -1
  28. package/lib/components/VImg/VImg.mjs.map +1 -1
  29. package/lib/components/VImg/index.d.mts +14 -0
  30. package/lib/components/index.d.mts +28 -0
  31. package/lib/entry-bundler.mjs +1 -1
  32. package/lib/framework.mjs +1 -1
  33. package/lib/iconsets/fa.mjs +2 -1
  34. package/lib/iconsets/fa.mjs.map +1 -1
  35. package/lib/iconsets/fa4.mjs +2 -1
  36. package/lib/iconsets/fa4.mjs.map +1 -1
  37. package/lib/iconsets/md.mjs +2 -1
  38. package/lib/iconsets/md.mjs.map +1 -1
  39. package/lib/iconsets/mdi-svg.mjs +2 -1
  40. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  41. package/lib/iconsets/mdi.mjs +2 -1
  42. package/lib/iconsets/mdi.mjs.map +1 -1
  43. package/lib/index.d.mts +1 -1
  44. package/lib/util/globals.mjs +1 -0
  45. package/lib/util/globals.mjs.map +1 -1
  46. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.3.11-dev.2023-08-07
2
+ * Vuetify v3.3.11-dev.2023-08-09
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -78,6 +78,7 @@
78
78
  const IN_BROWSER = typeof window !== 'undefined';
79
79
  const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
80
80
  const SUPPORTS_TOUCH = IN_BROWSER && ('ontouchstart' in window || window.navigator.maxTouchPoints > 0);
81
+ const SUPPORTS_EYE_DROPPER = IN_BROWSER && 'EyeDropper' in window;
81
82
 
82
83
  function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
83
84
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
@@ -2978,6 +2979,10 @@
2978
2979
  const makeVImgProps = propsFactory({
2979
2980
  alt: String,
2980
2981
  cover: Boolean,
2982
+ draggable: {
2983
+ type: [Boolean, String],
2984
+ default: undefined
2985
+ },
2981
2986
  eager: Boolean,
2982
2987
  gradient: String,
2983
2988
  lazySrc: String,
@@ -3124,6 +3129,7 @@
3124
3129
  "alt": props.alt,
3125
3130
  "crossorigin": props.crossorigin,
3126
3131
  "referrerpolicy": props.referrerpolicy,
3132
+ "draggable": props.draggable,
3127
3133
  "sizes": props.sizes,
3128
3134
  "ref": image,
3129
3135
  "onLoad": onLoad,
@@ -3147,7 +3153,8 @@
3147
3153
  "src": normalisedSrc.value.lazySrc,
3148
3154
  "alt": props.alt,
3149
3155
  "crossorigin": props.crossorigin,
3150
- "referrerpolicy": props.referrerpolicy
3156
+ "referrerpolicy": props.referrerpolicy,
3157
+ "draggable": props.draggable
3151
3158
  }, null)]
3152
3159
  });
3153
3160
  const __placeholder = () => {
@@ -4166,7 +4173,8 @@
4166
4173
  file: 'mdi-paperclip',
4167
4174
  plus: 'mdi-plus',
4168
4175
  minus: 'mdi-minus',
4169
- calendar: 'mdi-calendar'
4176
+ calendar: 'mdi-calendar',
4177
+ eyeDropper: 'mdi-eyedropper'
4170
4178
  };
4171
4179
  const mdi = {
4172
4180
  // Not using mergeProps here, functional components merge props by default (?)
@@ -14161,12 +14169,36 @@
14161
14169
  let {
14162
14170
  emit
14163
14171
  } = _ref;
14172
+ const abortController = new AbortController();
14173
+ vue.onUnmounted(() => abortController.abort());
14174
+ async function openEyeDropper() {
14175
+ if (!SUPPORTS_EYE_DROPPER) return;
14176
+ const eyeDropper = new window.EyeDropper();
14177
+ try {
14178
+ const result = await eyeDropper.open({
14179
+ signal: abortController.signal
14180
+ });
14181
+ const colorHexValue = HexToHSV(result.sRGBHex);
14182
+ emit('update:color', {
14183
+ ...(props.color ?? nullColor),
14184
+ ...colorHexValue
14185
+ });
14186
+ } catch (e) {}
14187
+ }
14164
14188
  useRender(() => vue.createVNode("div", {
14165
14189
  "class": ['v-color-picker-preview', {
14166
14190
  'v-color-picker-preview--hide-alpha': props.hideAlpha
14167
14191
  }, props.class],
14168
14192
  "style": props.style
14169
- }, [vue.createVNode("div", {
14193
+ }, [SUPPORTS_EYE_DROPPER && vue.createVNode("div", {
14194
+ "class": "v-color-picker-preview__eye-dropper",
14195
+ "key": "eyeDropper"
14196
+ }, [vue.createVNode(VBtn, {
14197
+ "onClick": openEyeDropper,
14198
+ "icon": "$eyeDropper",
14199
+ "variant": "plain",
14200
+ "density": "comfortable"
14201
+ }, null)]), vue.createVNode("div", {
14170
14202
  "class": "v-color-picker-preview__dot"
14171
14203
  }, [vue.createVNode("div", {
14172
14204
  "style": {
@@ -24376,7 +24408,7 @@
24376
24408
  date
24377
24409
  };
24378
24410
  }
24379
- const version$1 = "3.3.11-dev.2023-08-07";
24411
+ const version$1 = "3.3.11-dev.2023-08-09";
24380
24412
  createVuetify$1.version = version$1;
24381
24413
 
24382
24414
  // Vue's inject() can only be used in setup
@@ -24390,7 +24422,7 @@
24390
24422
 
24391
24423
  /* eslint-disable local-rules/sort-imports */
24392
24424
 
24393
- const version = "3.3.11-dev.2023-08-07";
24425
+ const version = "3.3.11-dev.2023-08-09";
24394
24426
 
24395
24427
  /* eslint-disable local-rules/sort-imports */
24396
24428