@luminescent/ui-qwik 6.8.0 → 6.8.2

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.
@@ -429,7 +429,7 @@ const ColorPicker = qwik.component$(({ id, value = "#000000", colors = [
429
429
  value
430
430
  });
431
431
  const setColor = qwik.$(async (color) => {
432
- if (!color.match(/^#[0-9A-F]{6}$/i)) return;
432
+ if (!/^#[0-9a-f]{0,8}$/i.test(color)) return;
433
433
  const hsv = rgbToHsv(hexToRgba(color));
434
434
  store.hue.position = hsv.h * maxHue;
435
435
  store.hue.color = rgbToHex(hsvToRgb({
@@ -566,7 +566,7 @@ const ColorPicker = qwik.component$(({ id, value = "#000000", colors = [
566
566
  ]
567
567
  }),
568
568
  /* @__PURE__ */ jsxRuntime.jsx("div", {
569
- class: "relative h-full w-2 rounded-md border border-gray-700",
569
+ class: "relative h-37.5 w-2 rounded-md border border-gray-700",
570
570
  style: {
571
571
  background: "linear-gradient(to bottom, #ff0000, #ff00ff, #0000ff, #00ffff, #00ff00, #ffff00, #ff0000)"
572
572
  },
@@ -427,7 +427,7 @@ const ColorPicker = component$(({ id, value = "#000000", colors = [
427
427
  value
428
428
  });
429
429
  const setColor = $(async (color) => {
430
- if (!color.match(/^#[0-9A-F]{6}$/i)) return;
430
+ if (!/^#[0-9a-f]{0,8}$/i.test(color)) return;
431
431
  const hsv = rgbToHsv(hexToRgba(color));
432
432
  store.hue.position = hsv.h * maxHue;
433
433
  store.hue.color = rgbToHex(hsvToRgb({
@@ -564,7 +564,7 @@ const ColorPicker = component$(({ id, value = "#000000", colors = [
564
564
  ]
565
565
  }),
566
566
  /* @__PURE__ */ jsx("div", {
567
- class: "relative h-full w-2 rounded-md border border-gray-700",
567
+ class: "relative h-37.5 w-2 rounded-md border border-gray-700",
568
568
  style: {
569
569
  background: "linear-gradient(to bottom, #ff0000, #ff00ff, #0000ff, #00ffff, #00ff00, #ffff00, #ff0000)"
570
570
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui-qwik",
3
- "version": "6.8.0",
3
+ "version": "6.8.2",
4
4
  "description": "Luminescent UI library - Qwik",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",
@@ -50,7 +50,7 @@
50
50
  "vite-tsconfig-paths": "^6.0.3"
51
51
  },
52
52
  "peerDependencies": {
53
- "@luminescent/ui": "6.8.0"
53
+ "@luminescent/ui": "6.8.2"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "qwik build",