@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/dist/vuetify.js CHANGED
@@ -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
  */
@@ -957,8 +957,10 @@
957
957
  fn,
958
958
  values
959
959
  } = groups;
960
- const realValues = values.split(/,\s*/).map(v => {
961
- if (v.endsWith('%') && ['hsl', 'hsla', 'hsv', 'hsva'].includes(fn)) {
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-01-30";
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-01-30";
28491
+ const version = "3.7.9-dev.2025-02-03";
28472
28492
  createVuetify.version = version;
28473
28493
 
28474
28494
  exports.blueprints = index;