@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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.9-dev.2025-01-30
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*/).map(v => {
1038
- if (v.endsWith('%') && ['hsl', 'hsla', 'hsv', 'hsva'].includes(fn)) {
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-01-30";
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-01-30";
31197
+ const version = "3.7.9-dev.2025-02-03";
31178
31198
 
31179
31199
  /* eslint-disable local-rules/sort-imports */
31180
31200