@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.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
|
*/
|
@@ -957,8 +957,10 @@
|
|
957
957
|
fn,
|
958
958
|
values
|
959
959
|
} = groups;
|
960
|
-
const realValues = values.split(/,\s
|
961
|
-
if (v.endsWith('%')
|
960
|
+
const realValues = values.split(/,\s*|\s*\/\s*|\s+/).map((v, i) => {
|
961
|
+
if (v.endsWith('%') ||
|
962
|
+
// unitless slv are %
|
963
|
+
i > 0 && i < 3 && ['hsl', 'hsla', 'hsv', 'hsva'].includes(fn)) {
|
962
964
|
return parseFloat(v) / 100;
|
963
965
|
} else {
|
964
966
|
return parseFloat(v);
|
@@ -15483,6 +15485,24 @@
|
|
15483
15485
|
}
|
15484
15486
|
function extractColor(color, input) {
|
15485
15487
|
if (input == null || typeof input === 'string') {
|
15488
|
+
const hasA = color.a !== 1;
|
15489
|
+
if (input?.startsWith('rgb(')) {
|
15490
|
+
const {
|
15491
|
+
r,
|
15492
|
+
g,
|
15493
|
+
b,
|
15494
|
+
a
|
15495
|
+
} = HSVtoRGB(color);
|
15496
|
+
return `rgb(${r} ${g} ${b}` + (hasA ? ` / ${a})` : ')');
|
15497
|
+
} else if (input?.startsWith('hsl(')) {
|
15498
|
+
const {
|
15499
|
+
h,
|
15500
|
+
s,
|
15501
|
+
l,
|
15502
|
+
a
|
15503
|
+
} = HSVtoHSL(color);
|
15504
|
+
return `hsl(${h} ${Math.round(s * 100)} ${Math.round(l * 100)}` + (hasA ? ` / ${a})` : ')');
|
15505
|
+
}
|
15486
15506
|
const hex = HSVtoHex(color);
|
15487
15507
|
if (color.a === 1) return hex.slice(0, 7);else return hex;
|
15488
15508
|
}
|
@@ -28443,7 +28463,7 @@
|
|
28443
28463
|
};
|
28444
28464
|
});
|
28445
28465
|
}
|
28446
|
-
const version$1 = "3.7.9-dev.2025-
|
28466
|
+
const version$1 = "3.7.9-dev.2025-02-03";
|
28447
28467
|
createVuetify$1.version = version$1;
|
28448
28468
|
|
28449
28469
|
// Vue's inject() can only be used in setup
|
@@ -28468,7 +28488,7 @@
|
|
28468
28488
|
...options
|
28469
28489
|
});
|
28470
28490
|
};
|
28471
|
-
const version = "3.7.9-dev.2025-
|
28491
|
+
const version = "3.7.9-dev.2025-02-03";
|
28472
28492
|
createVuetify.version = version;
|
28473
28493
|
|
28474
28494
|
exports.blueprints = index;
|