@vuetify/nightly 3.7.9-dev.2025-01-30 → 3.7.9-dev.2025-02-03
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 +5 -3
- package/dist/json/attributes.json +1565 -1565
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +192 -192
- package/dist/json/web-types.json +2620 -2620
- package/dist/vuetify-labs.css +4345 -4345
- package/dist/vuetify-labs.d.ts +65 -65
- package/dist/vuetify-labs.esm.js +25 -5
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +25 -5
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3705 -3705
- package/dist/vuetify.d.ts +65 -65
- package/dist/vuetify.esm.js +25 -5
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +25 -5
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +9 -6
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VColorPicker/util/index.js +18 -0
- package/lib/components/VColorPicker/util/index.js.map +1 -1
- package/lib/entry-bundler.d.ts +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +65 -65
- package/lib/framework.js +1 -1
- package/lib/framework.js.map +1 -1
- package/lib/labs/entry-bundler.d.ts +1 -1
- package/lib/util/colorUtils.js +4 -2
- package/lib/util/colorUtils.js.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.9-dev.2025-
|
2
|
+
* Vuetify v3.7.9-dev.2025-02-03
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -1034,8 +1034,10 @@
|
|
1034
1034
|
fn,
|
1035
1035
|
values
|
1036
1036
|
} = groups;
|
1037
|
-
const realValues = values.split(/,\s
|
1038
|
-
if (v.endsWith('%')
|
1037
|
+
const realValues = values.split(/,\s*|\s*\/\s*|\s+/).map((v, i) => {
|
1038
|
+
if (v.endsWith('%') ||
|
1039
|
+
// unitless slv are %
|
1040
|
+
i > 0 && i < 3 && ['hsl', 'hsla', 'hsv', 'hsva'].includes(fn)) {
|
1039
1041
|
return parseFloat(v) / 100;
|
1040
1042
|
} else {
|
1041
1043
|
return parseFloat(v);
|
@@ -15250,6 +15252,24 @@
|
|
15250
15252
|
}
|
15251
15253
|
function extractColor(color, input) {
|
15252
15254
|
if (input == null || typeof input === 'string') {
|
15255
|
+
const hasA = color.a !== 1;
|
15256
|
+
if (input?.startsWith('rgb(')) {
|
15257
|
+
const {
|
15258
|
+
r,
|
15259
|
+
g,
|
15260
|
+
b,
|
15261
|
+
a
|
15262
|
+
} = HSVtoRGB(color);
|
15263
|
+
return `rgb(${r} ${g} ${b}` + (hasA ? ` / ${a})` : ')');
|
15264
|
+
} else if (input?.startsWith('hsl(')) {
|
15265
|
+
const {
|
15266
|
+
h,
|
15267
|
+
s,
|
15268
|
+
l,
|
15269
|
+
a
|
15270
|
+
} = HSVtoHSL(color);
|
15271
|
+
return `hsl(${h} ${Math.round(s * 100)} ${Math.round(l * 100)}` + (hasA ? ` / ${a})` : ')');
|
15272
|
+
}
|
15253
15273
|
const hex = HSVtoHex(color);
|
15254
15274
|
if (color.a === 1) return hex.slice(0, 7);else return hex;
|
15255
15275
|
}
|
@@ -30921,7 +30941,7 @@
|
|
30921
30941
|
};
|
30922
30942
|
});
|
30923
30943
|
}
|
30924
|
-
const version$1 = "3.7.9-dev.2025-
|
30944
|
+
const version$1 = "3.7.9-dev.2025-02-03";
|
30925
30945
|
createVuetify$1.version = version$1;
|
30926
30946
|
|
30927
30947
|
// Vue's inject() can only be used in setup
|
@@ -31174,7 +31194,7 @@
|
|
31174
31194
|
|
31175
31195
|
/* eslint-disable local-rules/sort-imports */
|
31176
31196
|
|
31177
|
-
const version = "3.7.9-dev.2025-
|
31197
|
+
const version = "3.7.9-dev.2025-02-03";
|
31178
31198
|
|
31179
31199
|
/* eslint-disable local-rules/sort-imports */
|
31180
31200
|
|