@luminescent/ui-qwik 1.0.5 → 1.1.3

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.
Files changed (100) hide show
  1. package/lib/index.qwik.mjs +44 -44
  2. package/lib-types/ui/src/components/btn.d.ts +3 -0
  3. package/lib-types/ui/src/components/card.d.ts +3 -0
  4. package/lib-types/ui/src/components/input.d.ts +3 -0
  5. package/lib-types/ui/src/index.d.ts +5 -0
  6. package/lib-types/{components → ui-qwik/src/components}/elements/Blobs.d.ts +1 -2
  7. package/package.json +12 -14
  8. package/src/tailwind.config.js +86 -0
  9. package/lib-types/components/elements/LoadingIcon.d.ts +0 -10
  10. package/lib-types/components/elements.d.ts +0 -10
  11. package/lib-types/src/components/docs/Anchor.d.ts +0 -2
  12. package/lib-types/src/components/docs/Blobs.d.ts +0 -2
  13. package/lib-types/src/components/docs/ColorPicker.d.ts +0 -2
  14. package/lib-types/src/components/docs/Dropdown.d.ts +0 -2
  15. package/lib-types/src/components/docs/IconsLogos.d.ts +0 -2
  16. package/lib-types/src/components/docs/Nav.d.ts +0 -2
  17. package/lib-types/src/components/docs/NumberInput.d.ts +0 -2
  18. package/lib-types/src/components/docs/Playground.d.ts +0 -2
  19. package/lib-types/src/components/docs/Toggle.d.ts +0 -2
  20. package/lib-types/src/components/docs/lum-btn.d.ts +0 -2
  21. package/lib-types/src/components/docs/lum-card.d.ts +0 -2
  22. package/lib-types/src/components/docs/lum-classes.d.ts +0 -2
  23. package/lib-types/src/components/docs/lum-input.d.ts +0 -2
  24. package/lib-types/src/components/elements/Anchor.d.ts +0 -5
  25. package/lib-types/src/components/elements/Blobs.d.ts +0 -35
  26. package/lib-types/src/components/elements/Card.d.ts +0 -159
  27. package/lib-types/src/components/elements/ColorPicker.d.ts +0 -13
  28. package/lib-types/src/components/elements/Dropdown.d.ts +0 -16
  29. package/lib-types/src/components/elements/Header.d.ts +0 -12
  30. package/lib-types/src/components/elements/Nav.d.ts +0 -38
  31. package/lib-types/src/components/elements/NumberInput.d.ts +0 -21
  32. package/lib-types/src/components/elements/Toggle.d.ts +0 -212
  33. package/lib-types/src/components/logos/Birdflop.d.ts +0 -7
  34. package/lib-types/src/components/logos/Discord.d.ts +0 -2
  35. package/lib-types/src/components/logos/Fabric.d.ts +0 -2
  36. package/lib-types/src/components/logos/Forge.d.ts +0 -2
  37. package/lib-types/src/components/logos/IconProps.d.ts +0 -3
  38. package/lib-types/src/components/logos/Luminescent.d.ts +0 -3
  39. package/lib-types/src/components/logos/Paper.d.ts +0 -2
  40. package/lib-types/src/components/logos/Pterodactyl.d.ts +0 -2
  41. package/lib-types/src/components/logos/Purpur.d.ts +0 -2
  42. package/lib-types/src/components/logos/Velocity.d.ts +0 -2
  43. package/lib-types/src/components/logos/Waterfall.d.ts +0 -2
  44. package/lib-types/src/components/logos.d.ts +0 -10
  45. package/lib-types/src/entry.dev.d.ts +0 -2
  46. package/lib-types/src/entry.ssr.d.ts +0 -14
  47. package/lib-types/src/index.d.ts +0 -2
  48. package/lib-types/src/root.d.ts +0 -3
  49. package/lib-types/svg/ChevronDown.d.ts +0 -2
  50. package/lib-types/svg/Link.d.ts +0 -2
  51. package/lib-types/svg/Minus.d.ts +0 -2
  52. package/lib-types/svg/Plus.d.ts +0 -2
  53. package/lib-types/svg/Shuffle.d.ts +0 -2
  54. package/lib-types/utils/color.d.ts +0 -36
  55. /package/lib-types/{components → ui-qwik/src/components}/docs/Anchor.d.ts +0 -0
  56. /package/lib-types/{components → ui-qwik/src/components}/docs/Blobs.d.ts +0 -0
  57. /package/lib-types/{components → ui-qwik/src/components}/docs/ColorPicker.d.ts +0 -0
  58. /package/lib-types/{components → ui-qwik/src/components}/docs/Dropdown.d.ts +0 -0
  59. /package/lib-types/{components → ui-qwik/src/components}/docs/IconsLogos.d.ts +0 -0
  60. /package/lib-types/{components → ui-qwik/src/components}/docs/Nav.d.ts +0 -0
  61. /package/lib-types/{components → ui-qwik/src/components}/docs/NumberInput.d.ts +0 -0
  62. /package/lib-types/{components → ui-qwik/src/components}/docs/Playground.d.ts +0 -0
  63. /package/lib-types/{components → ui-qwik/src/components}/docs/Toggle.d.ts +0 -0
  64. /package/lib-types/{components → ui-qwik/src/components}/docs/lum-btn.d.ts +0 -0
  65. /package/lib-types/{components → ui-qwik/src/components}/docs/lum-card.d.ts +0 -0
  66. /package/lib-types/{components → ui-qwik/src/components}/docs/lum-classes.d.ts +0 -0
  67. /package/lib-types/{components → ui-qwik/src/components}/docs/lum-input.d.ts +0 -0
  68. /package/lib-types/{components → ui-qwik/src/components}/elements/Anchor.d.ts +0 -0
  69. /package/lib-types/{components → ui-qwik/src/components}/elements/Card.d.ts +0 -0
  70. /package/lib-types/{components → ui-qwik/src/components}/elements/ColorPicker.d.ts +0 -0
  71. /package/lib-types/{components → ui-qwik/src/components}/elements/Dropdown.d.ts +0 -0
  72. /package/lib-types/{components → ui-qwik/src/components}/elements/Header.d.ts +0 -0
  73. /package/lib-types/{components → ui-qwik/src/components}/elements/Nav.d.ts +0 -0
  74. /package/lib-types/{components → ui-qwik/src/components}/elements/NumberInput.d.ts +0 -0
  75. /package/lib-types/{components → ui-qwik/src/components}/elements/Toggle.d.ts +0 -0
  76. /package/lib-types/{src → ui-qwik/src}/components/elements.d.ts +0 -0
  77. /package/lib-types/{components → ui-qwik/src/components}/logos/Birdflop.d.ts +0 -0
  78. /package/lib-types/{components → ui-qwik/src/components}/logos/Discord.d.ts +0 -0
  79. /package/lib-types/{components → ui-qwik/src/components}/logos/Fabric.d.ts +0 -0
  80. /package/lib-types/{components → ui-qwik/src/components}/logos/Forge.d.ts +0 -0
  81. /package/lib-types/{components → ui-qwik/src/components}/logos/IconProps.d.ts +0 -0
  82. /package/lib-types/{components → ui-qwik/src/components}/logos/Luminescent.d.ts +0 -0
  83. /package/lib-types/{components → ui-qwik/src/components}/logos/Paper.d.ts +0 -0
  84. /package/lib-types/{components → ui-qwik/src/components}/logos/Pterodactyl.d.ts +0 -0
  85. /package/lib-types/{components → ui-qwik/src/components}/logos/Purpur.d.ts +0 -0
  86. /package/lib-types/{components → ui-qwik/src/components}/logos/Velocity.d.ts +0 -0
  87. /package/lib-types/{components → ui-qwik/src/components}/logos/Waterfall.d.ts +0 -0
  88. /package/lib-types/{components → ui-qwik/src/components}/logos.d.ts +0 -0
  89. /package/lib-types/{entry.dev.d.ts → ui-qwik/src/entry.dev.d.ts} +0 -0
  90. /package/lib-types/{entry.ssr.d.ts → ui-qwik/src/entry.ssr.d.ts} +0 -0
  91. /package/lib-types/{index.d.ts → ui-qwik/src/index.d.ts} +0 -0
  92. /package/lib-types/{root.d.ts → ui-qwik/src/root.d.ts} +0 -0
  93. /package/lib-types/{src → ui-qwik/src}/svg/ChevronDown.d.ts +0 -0
  94. /package/lib-types/{src → ui-qwik/src}/svg/Link.d.ts +0 -0
  95. /package/lib-types/{src → ui-qwik/src}/svg/Minus.d.ts +0 -0
  96. /package/lib-types/{src → ui-qwik/src}/svg/Plus.d.ts +0 -0
  97. /package/lib-types/{src → ui-qwik/src}/svg/Shuffle.d.ts +0 -0
  98. /package/lib-types/{src → ui-qwik/src}/tailwind.config.d.ts +0 -0
  99. /package/lib-types/{src → ui-qwik/src}/utils/color.d.ts +0 -0
  100. /package/lib-types/{tailwind.config.d.ts → ui-qwik/tailwind.config.d.ts} +0 -0
@@ -3,7 +3,7 @@ import { Fragment } from "@builder.io/qwik/jsx-runtime";
3
3
  const Anchor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => /* @__PURE__ */ _jsxQ("span", null, {
4
4
  id: _fnSignal((p0) => p0.id, [
5
5
  props
6
- ], "p0.id"),
6
+ ]),
7
7
  class: "block h-32 -mt-32 pointer-events-none"
8
8
  }, null, 3, "mN_0"), "Anchor_component_dUkqs0yGHwc"));
9
9
  const blobColorClasses = {
@@ -348,7 +348,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
348
348
  return /* @__PURE__ */ _jsxS("div", {
349
349
  ...props1,
350
350
  class: {
351
- "flex lum-bg-gray-900 lum-pad-4xl lum-pad-equal rounded-lg": true,
351
+ "flex lum-bg-gray-900 lum-pad-equal-4xl rounded-lg": true,
352
352
  "flex-col": !props.row,
353
353
  [cardColorClasses[props.color ?? "darkgray"].bg]: !props.blobs,
354
354
  [cardColorClasses[props.color ?? "darkgray"].bg_blobs]: props.blobs,
@@ -383,7 +383,7 @@ const Card = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
383
383
  [_IMMUTABLE]: {
384
384
  color: _fnSignal((p0) => p0.blobs == true ? p0.color ?? "darkgray" : p0.blobs, [
385
385
  props
386
- ], 'p0.blobs==true?p0.color??"darkgray":p0.blobs'),
386
+ ]),
387
387
  class: _IMMUTABLE
388
388
  }
389
389
  }, 3, "r7_4")
@@ -530,7 +530,7 @@ const Shuffle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
530
530
  viewBox: _IMMUTABLE,
531
531
  height: _fnSignal((p0) => p0.width, [
532
532
  props
533
- ], "p0.width")
533
+ ])
534
534
  }, 0, "z5_0");
535
535
  }, "Shuffle_component_17D0HKe0U1U"));
536
536
  const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -664,7 +664,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
664
664
  }, {
665
665
  id: _fnSignal((p0) => p0.id, [
666
666
  props
667
- ], "p0.id"),
667
+ ]),
668
668
  onInput$: /* @__PURE__ */ inlinedQrl((e, el) => {
669
669
  const [setColor2] = useLexicalScope();
670
670
  if (!el.dataset.value) return;
@@ -682,7 +682,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
682
682
  background: `linear-gradient(to right, #FFFFFF, ${p0.hue.color})`
683
683
  }), [
684
684
  store
685
- ], "{background:`linear-gradient(to right, #FFFFFF, ${p0.hue.color})`}"),
685
+ ]),
686
686
  "preventdefault:mousedown": true,
687
687
  "preventdefault:touchstart": true,
688
688
  onMouseDown$: sbMouseDown,
@@ -703,7 +703,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
703
703
  transform: `translate(${p0.sPosition}px, ${p0.bPosition}px)`
704
704
  }), [
705
705
  store
706
- ], "{background:p0.value,transform:`translate(${p0.sPosition}px, ${p0.bPosition}px)`}")
706
+ ])
707
707
  }, null, 3, null)
708
708
  ], 1, null),
709
709
  /* @__PURE__ */ _jsxQ("div", null, {
@@ -722,7 +722,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
722
722
  background: p0.hue.color
723
723
  }), [
724
724
  store
725
- ], "{transform:`translateY(${-p0.hue.position}px)`,background:p0.hue.color}")
725
+ ])
726
726
  }, null, 3, null), 3, null)
727
727
  ], 1, null),
728
728
  /* @__PURE__ */ _jsxQ("div", null, {
@@ -750,7 +750,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
750
750
  backgroundColor: `${p0.value}`
751
751
  }), [
752
752
  store
753
- ], "{backgroundColor:`${p0.value}`}")
753
+ ])
754
754
  }, null, 3, "Xr_0"),
755
755
  /* @__PURE__ */ _jsxQ("input", {
756
756
  class: {
@@ -765,7 +765,7 @@ const ColorPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
765
765
  }, {
766
766
  value: _fnSignal((p0) => p0.value, [
767
767
  store
768
- ], "p0.value"),
768
+ ]),
769
769
  onInput$: /* @__PURE__ */ inlinedQrl((e, el) => {
770
770
  const [setColor2] = useLexicalScope();
771
771
  setColor2(el.value);
@@ -847,7 +847,7 @@ const ChevronDown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
847
847
  viewBox: _IMMUTABLE,
848
848
  height: _fnSignal((p0) => p0.width, [
849
849
  props
850
- ], "p0.width")
850
+ ])
851
851
  }, 0, "EL_0");
852
852
  }, "ChevronDown_component_t7XDRYS4gVA"));
853
853
  const Dropdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -857,7 +857,7 @@ const Dropdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
857
857
  /* @__PURE__ */ _jsxQ("label", null, {
858
858
  for: _fnSignal((p0) => p0.id, [
859
859
  props
860
- ], "p0.id"),
860
+ ]),
861
861
  class: "text-gray-300 pb-1 select-none"
862
862
  }, /* @__PURE__ */ _jsxC(Slot, null, 3, "Q4_0"), 1, null),
863
863
  /* @__PURE__ */ _jsxC(DropdownRaw, {
@@ -905,7 +905,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
905
905
  "group": p0.hover
906
906
  }), [
907
907
  props
908
- ], '{"relative touch-manipulation":true,"group":p0.hover}')
908
+ ])
909
909
  }, [
910
910
  props.values && /* @__PURE__ */ _jsxS("select", {
911
911
  ...props1,
@@ -923,7 +923,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
923
923
  }, {
924
924
  id: _fnSignal((p0) => p0.id, [
925
925
  props
926
- ], "p0.id"),
926
+ ]),
927
927
  class: _IMMUTABLE
928
928
  }, 0, "Q4_3"),
929
929
  /* @__PURE__ */ _jsxQ("button", null, {
@@ -932,7 +932,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
932
932
  ...p0.class
933
933
  }), [
934
934
  props
935
- ], '{"lum-btn lum-pad-md text-base lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md":true,...p0.class}'),
935
+ ]),
936
936
  onClick$: /* @__PURE__ */ inlinedQrl(() => {
937
937
  const [store2] = useLexicalScope();
938
938
  store2.opened = !store2.opened;
@@ -942,11 +942,11 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
942
942
  }, [
943
943
  _fnSignal((p0) => p0.display, [
944
944
  props
945
- ], "p0.display"),
945
+ ]),
946
946
  !props.display && props.values && /* @__PURE__ */ _jsxQ("span", null, {
947
947
  id: _fnSignal((p0) => `lui-${p0.id}-name`, [
948
948
  props
949
- ], "`lui-${p0.id}-name`"),
949
+ ]),
950
950
  class: "flex-1 text-left"
951
951
  }, props.values.find((value) => value.value.toString() === store.value)?.name ?? props.values[0].name, 1, "Q4_4"),
952
952
  /* @__PURE__ */ _jsxC(ChevronDown, {
@@ -967,7 +967,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
967
967
  }), [
968
968
  props,
969
969
  store
970
- ], '{"motion-safe:transition-all duration-200":true,"transform rotate-180":p1.opened,"group-hover:transform group-hover:rotate-180":p0.hover}')
970
+ ])
971
971
  }
972
972
  }, 3, "Q4_5")
973
973
  ], 1, null),
@@ -980,7 +980,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
980
980
  }, null, /* @__PURE__ */ _jsxQ("div", null, {
981
981
  id: _fnSignal((p0) => `lui-${p0.id}-opts`, [
982
982
  props
983
- ], "`lui-${p0.id}-opts`"),
983
+ ]),
984
984
  class: {
985
985
  "motion-safe:transition-all p-1 gap-1 bg-gray-800/50 backdrop-blur-xl flex flex-col border border-gray-700 max-h-72 lui-scroll overflow-auto select-none": true
986
986
  }
@@ -1003,7 +1003,7 @@ const DropdownRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
1003
1003
  ])
1004
1004
  }, {
1005
1005
  class: {
1006
- "lum-btn lum-pad-md text-base lum-pad-transparent-gray-800 rounded-md": true
1006
+ "lum-btn lum-pad-md text-base lum-bg-transparent": true
1007
1007
  }
1008
1008
  }, name, 0, i);
1009
1009
  }),
@@ -1037,7 +1037,7 @@ const Link = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
1037
1037
  viewBox: _IMMUTABLE,
1038
1038
  height: _fnSignal((p0) => p0.width, [
1039
1039
  props
1040
- ], "p0.width")
1040
+ ])
1041
1041
  }, 0, "zW_0");
1042
1042
  }, "Link_component_fiB6yg0RKjk"));
1043
1043
  const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1063,13 +1063,13 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
1063
1063
  [_IMMUTABLE]: {
1064
1064
  id: _fnSignal((p0) => p0.id, [
1065
1065
  props
1066
- ], "p0.id")
1066
+ ])
1067
1067
  }
1068
1068
  }, 3, "hw_1"),
1069
1069
  props.anchor && props.id && /* @__PURE__ */ _jsxQ("a", null, {
1070
1070
  href: _fnSignal((p0) => `#${p0.id}`, [
1071
1071
  props
1072
- ], "`#${p0.id}`"),
1072
+ ]),
1073
1073
  onClick$: /* @__PURE__ */ inlinedQrl(() => {
1074
1074
  navigator.clipboard.writeText(window.location.href);
1075
1075
  }, "Header_component_Component_Fragment_h2_a_onClick_tdwReSG5ZBA")
@@ -1091,7 +1091,7 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
1091
1091
  class: "flex items-center text-gray-400 text-sm"
1092
1092
  }, _fnSignal((p0) => p0.subheader, [
1093
1093
  props
1094
- ], "p0.subheader"), 3, null)
1094
+ ]), 3, null)
1095
1095
  ], 1, "hw_5");
1096
1096
  if (props.loading !== void 0) Component = /* @__PURE__ */ _jsxQ("div", null, {
1097
1097
  class: "flex"
@@ -1104,7 +1104,7 @@ const Header = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
1104
1104
  "opacity-100": p0.loading
1105
1105
  }), [
1106
1106
  props
1107
- ], '{"motion-safe:transition-all duration-200":true,"opacity-0":!p0.loading,"opacity-100":p0.loading}')
1107
+ ])
1108
1108
  }, /* @__PURE__ */ _jsxQ("div", null, {
1109
1109
  class: "lum-loading w-6 h-6"
1110
1110
  }, null, 3, null), 3, null)
@@ -1216,7 +1216,7 @@ const Nav = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
1216
1216
  }
1217
1217
  }, 3, "03_3"),
1218
1218
  /* @__PURE__ */ _jsxQ("button", null, {
1219
- class: "lum-btn lum-pad-md text-base lum-pad-equal lum-pad-transparent-gray-800 rounded-md"
1219
+ class: "lum-btn lum-pad-md text-base lum-pad-equal lum-bg-transparent rounded-md"
1220
1220
  }, /* @__PURE__ */ _jsxQ("svg", null, {
1221
1221
  class: "w-6 h-6",
1222
1222
  fill: "none",
@@ -1255,7 +1255,7 @@ const Plus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
1255
1255
  viewBox: _IMMUTABLE,
1256
1256
  height: _fnSignal((p0) => p0.width, [
1257
1257
  props
1258
- ], "p0.width")
1258
+ ])
1259
1259
  }, 0, "1y_0");
1260
1260
  }, "Plus_component_MKiwkkJ7or4"));
1261
1261
  const Minus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1279,7 +1279,7 @@ const Minus = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
1279
1279
  viewBox: _IMMUTABLE,
1280
1280
  height: _fnSignal((p0) => p0.width, [
1281
1281
  props
1282
- ], "p0.width")
1282
+ ])
1283
1283
  }, 0, "tk_0");
1284
1284
  }, "Minus_component_eaRlUyV3g0s"));
1285
1285
  const NumberInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1289,7 +1289,7 @@ const NumberInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
1289
1289
  /* @__PURE__ */ _jsxQ("label", null, {
1290
1290
  for: _fnSignal((p0) => p0.id, [
1291
1291
  props
1292
- ], "p0.id"),
1292
+ ]),
1293
1293
  class: "text-gray-300 pb-1 select-none"
1294
1294
  }, /* @__PURE__ */ _jsxC(Slot, null, 3, "kR_0"), 1, null),
1295
1295
  /* @__PURE__ */ _jsxC(NumberInputRaw, {
@@ -1322,7 +1322,7 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
1322
1322
  "gap-2": !p0.input
1323
1323
  }), [
1324
1324
  props
1325
- ], '{"flex text-gray-50 touch-manipulation":true,"gap-2":!p0.input}')
1325
+ ])
1326
1326
  }, [
1327
1327
  /* @__PURE__ */ _jsxQ("button", {
1328
1328
  disabled: props1.min ? (props.value ?? 0) <= props1.min : false,
@@ -1366,10 +1366,10 @@ const NumberInputRaw = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
1366
1366
  type: _IMMUTABLE,
1367
1367
  value: _fnSignal((p0) => p0.value ?? 0, [
1368
1368
  props
1369
- ], "p0.value??0"),
1369
+ ]),
1370
1370
  step: _fnSignal((p0) => p0.step ?? 1, [
1371
1371
  props
1372
- ], "p0.step??1")
1372
+ ])
1373
1373
  }, 0, "kR_4"),
1374
1374
  /* @__PURE__ */ _jsxQ("button", {
1375
1375
  disabled: props1.max ? (props.value ?? 0) >= props1.max : false,
@@ -1608,7 +1608,7 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
1608
1608
  "justify-center": p0.center
1609
1609
  }), [
1610
1610
  props
1611
- ], '{"flex gap-3 items-center touch-manipulation":true,"justify-center":p0.center}')
1611
+ ])
1612
1612
  }, [
1613
1613
  /* @__PURE__ */ _jsxQ("label", null, {
1614
1614
  class: "inline-flex relative items-center cursor-pointer"
@@ -1644,7 +1644,7 @@ const Toggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
1644
1644
  class: "text-gray-300 flex gap-2 select-none"
1645
1645
  }, _fnSignal((p0) => p0.label, [
1646
1646
  props
1647
- ], "p0.label"), 3, "R0_0")
1647
+ ]), 3, "R0_0")
1648
1648
  ], 1, "R0_1");
1649
1649
  }, "Toggle_component_AHnKi33alRM"));
1650
1650
  const LogoBirdflop = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1692,7 +1692,7 @@ const LogoBirdflop = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
1692
1692
  transform: "translate(2479.9 1169.7)",
1693
1693
  fill: _fnSignal((p0) => p0.fillGradient ? "url(#linear-gradient)" : "", [
1694
1694
  props
1695
- ], 'p0.fillGradient?"url(#linear-gradient)":""')
1695
+ ])
1696
1696
  }, null, 3, null), 3, null),
1697
1697
  props.confused && /* @__PURE__ */ _jsxQ("g", null, {
1698
1698
  style: "transform: translate(595px, 460px) scale(0.375)",
@@ -1738,7 +1738,7 @@ const LogoDiscord = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
1738
1738
  fill: _IMMUTABLE,
1739
1739
  height: _fnSignal((p0) => p0.width, [
1740
1740
  props
1741
- ], "p0.width")
1741
+ ])
1742
1742
  }, 0, "uo_0");
1743
1743
  }, "LogoDiscord_component_jDPP8Q3cU0M"));
1744
1744
  const LogoFabric = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1777,7 +1777,7 @@ const LogoFabric = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
1777
1777
  viewBox: _IMMUTABLE,
1778
1778
  height: _fnSignal((p0) => p0.width, [
1779
1779
  props
1780
- ], "p0.width")
1780
+ ])
1781
1781
  }, 0, "hI_0");
1782
1782
  }, "LogoFabric_component_iP0a9wJyPAg"));
1783
1783
  const LogoForge = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1815,7 +1815,7 @@ const LogoForge = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
1815
1815
  viewBox: _IMMUTABLE,
1816
1816
  height: _fnSignal((p0) => p0.width, [
1817
1817
  props
1818
- ], "p0.width")
1818
+ ])
1819
1819
  }, 0, "zC_0");
1820
1820
  }, "LogoForge_component_W5Al1sALh8A"));
1821
1821
  const LogoLuminescent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1848,7 +1848,7 @@ const LogoLuminescent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
1848
1848
  fill: _IMMUTABLE,
1849
1849
  height: _fnSignal((p0) => p0.width, [
1850
1850
  props
1851
- ], "p0.width")
1851
+ ])
1852
1852
  }, 0, "we_0");
1853
1853
  }, "LogoLuminescent_component_XLiMRdgGu0c"));
1854
1854
  const LogoLuminescentFull = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1994,7 +1994,7 @@ const LogoPaper = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
1994
1994
  viewBox: _IMMUTABLE,
1995
1995
  height: _fnSignal((p0) => p0.width, [
1996
1996
  props
1997
- ], "p0.width")
1997
+ ])
1998
1998
  }, 0, "gL_0");
1999
1999
  }, "LogoPaper_component_aG0HRBVBRDI"));
2000
2000
  const LogoPterodactyl = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -2032,7 +2032,7 @@ const LogoPterodactyl = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
2032
2032
  preserveAspectRatio: _IMMUTABLE,
2033
2033
  height: _fnSignal((p0) => p0.width, [
2034
2034
  props
2035
- ], "p0.width")
2035
+ ])
2036
2036
  }, 0, "D4_0");
2037
2037
  }, "LogoPterodactyl_component_10hbViSPESg"));
2038
2038
  const LogoPurpur = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -2113,7 +2113,7 @@ const LogoPurpur = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
2113
2113
  viewBox: _IMMUTABLE,
2114
2114
  height: _fnSignal((p0) => p0.width, [
2115
2115
  props
2116
- ], "p0.width")
2116
+ ])
2117
2117
  }, 0, "tL_0");
2118
2118
  }, "LogoPurpur_component_c9OHr4CkPBo"));
2119
2119
  const LogoVelocity = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -2142,7 +2142,7 @@ const LogoVelocity = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
2142
2142
  fill: _IMMUTABLE,
2143
2143
  height: _fnSignal((p0) => p0.width, [
2144
2144
  props
2145
- ], "p0.width")
2145
+ ])
2146
2146
  }, 0, "XA_0");
2147
2147
  }, "LogoVelocity_component_ZPc1n5yvS0Y"));
2148
2148
  const LogoWaterfall = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -2169,7 +2169,7 @@ const LogoWaterfall = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
2169
2169
  "stroke-linejoin": _IMMUTABLE,
2170
2170
  height: _fnSignal((p0) => p0.width, [
2171
2171
  props
2172
- ], "p0.width")
2172
+ ])
2173
2173
  }, 0, "to_0");
2174
2174
  }, "LogoWaterfall_component_5eX8hGbmtoU"));
2175
2175
  export {
@@ -0,0 +1,3 @@
1
+ import type { PluginAPI } from 'tailwindcss/types/config';
2
+ export declare const defaultClasses = "lum-pad-md text-base lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md";
3
+ export default function ({ addComponents }: PluginAPI): void;
@@ -0,0 +1,3 @@
1
+ import type { PluginAPI } from 'tailwindcss/types/config';
2
+ export declare const defaultClasses = "lum-bg-gray-900 lum-pad-equal-4xl rounded-lg";
3
+ export default function ({ addComponents }: PluginAPI): void;
@@ -0,0 +1,3 @@
1
+ import type { PluginAPI } from 'tailwindcss/types/config';
2
+ export declare const defaultClasses = "lum-pad-sm text-sm lum-bg-gray-800 hover:lum-bg-gray-700 rounded-md";
3
+ export default function ({ addComponents }: PluginAPI): void;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ handler: import("tailwindcss/types/config").PluginCreator;
3
+ config?: Partial<import("tailwindcss/types/config").Config>;
4
+ };
5
+ export default _default;
@@ -1,4 +1,4 @@
1
- interface BlobProps {
1
+ export interface BlobProps {
2
2
  class?: {
3
3
  [key: string]: boolean;
4
4
  };
@@ -32,4 +32,3 @@ export declare const blobColorClasses: {
32
32
  rose: string[];
33
33
  };
34
34
  export declare const Blobs: import("@builder.io/qwik").Component<BlobProps>;
35
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui-qwik",
3
- "version": "1.0.5",
3
+ "version": "1.1.3",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",
@@ -16,7 +16,7 @@
16
16
  "files": [
17
17
  "lib",
18
18
  "lib-types",
19
- "src/tailwind"
19
+ "src/tailwind.config.js"
20
20
  ],
21
21
  "engines": {
22
22
  "node": ">=15.0.0"
@@ -34,32 +34,30 @@
34
34
  "dev": "vite --mode ssr",
35
35
  "dev.debug": "node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force",
36
36
  "lint": "eslint \"src/**/*.ts*\"",
37
- "release": "np",
38
37
  "start": "vite --open --mode ssr",
39
38
  "test": "echo \"No test specified\" && exit 0",
40
39
  "qwik": "qwik"
41
40
  },
42
41
  "devDependencies": {
43
42
  "@anuragroy/tailwindcss-animate": "^1.0.6",
44
- "@builder.io/qwik": "1.6.0",
45
- "@builder.io/qwik-city": "^1.6.0",
43
+ "@builder.io/qwik": "1.7.1",
44
+ "@builder.io/qwik-city": "^1.7.1",
46
45
  "@types/eslint": "^8.56.10",
47
- "@types/node": "^20.14.9",
48
- "@typescript-eslint/eslint-plugin": "^7.14.1",
49
- "@typescript-eslint/parser": "^7.14.1",
46
+ "@types/node": "^20.14.10",
47
+ "@typescript-eslint/eslint-plugin": "^7.16.1",
48
+ "@typescript-eslint/parser": "^7.16.1",
50
49
  "autoprefixer": "^10.4.19",
51
50
  "chart.js": "^4.4.3",
52
51
  "eslint": "^8.57.0",
53
52
  "eslint-plugin-qwik": "latest",
54
- "np": "^10.0.6",
55
- "postcss": "^8.4.38",
56
- "tailwindcss": "3.4.4",
57
- "typescript": "5.5.2",
53
+ "postcss": "^8.4.39",
54
+ "tailwindcss": "3.4.6",
55
+ "typescript": "5.5.3",
58
56
  "undici": "*",
59
- "vite": "^5.3.2",
57
+ "vite": "^5.3.4",
60
58
  "vite-tsconfig-paths": "^4.3.2"
61
59
  },
62
60
  "peerDependencies": {
63
- "@luminescent/ui": "^1.0.0"
61
+ "@luminescent/ui": "^1.1.1"
64
62
  }
65
63
  }
@@ -0,0 +1,86 @@
1
+ function getBlobKeyFrame() {
2
+ const translateXPercentages = [0, 19, 38, 57, 76];
3
+ const translateYPercentages = [0, 12, 25, 38, 50];
4
+ const scaleValues = [0.8, 1, 1.2, 1.4];
5
+
6
+ const translateX0Key = Math.floor(Math.random() * translateXPercentages.length);
7
+ const translateX0 = translateXPercentages[translateX0Key];
8
+ translateXPercentages.splice(translateX0Key, 1);
9
+ const translateX1Key = Math.floor(Math.random() * translateXPercentages.length);
10
+ const translateX1 = translateXPercentages[translateX1Key];
11
+ translateXPercentages.splice(translateX1Key, 1);
12
+ const translateX2Key = Math.floor(Math.random() * translateXPercentages.length);
13
+ const translateX2 = translateXPercentages[translateX2Key];
14
+ translateXPercentages.splice(translateX2Key, 1);
15
+ const translateX3Key = Math.floor(Math.random() * translateXPercentages.length);
16
+ const translateX3 = translateXPercentages[translateX3Key];
17
+ translateXPercentages.splice(translateX3Key, 1);
18
+
19
+ const translateY0Key = Math.floor(Math.random() * translateYPercentages.length);
20
+ const translateY0 = translateYPercentages[translateY0Key];
21
+ translateYPercentages.splice(translateY0Key, 1);
22
+ const translateY1Key = Math.floor(Math.random() * translateYPercentages.length);
23
+ const translateY1 = translateYPercentages[translateY1Key];
24
+ translateYPercentages.splice(translateY1Key, 1);
25
+ const translateY2Key = Math.floor(Math.random() * translateYPercentages.length);
26
+ const translateY2 = translateYPercentages[translateY2Key];
27
+ translateYPercentages.splice(translateY2Key, 1);
28
+ const translateY3Key = Math.floor(Math.random() * translateYPercentages.length);
29
+ const translateY3 = translateYPercentages[translateY3Key];
30
+ translateYPercentages.splice(translateY3Key, 1);
31
+
32
+ const scale0 = scaleValues[Math.floor(Math.random() * scaleValues.length)];
33
+ const scale1 = scaleValues[Math.floor(Math.random() * scaleValues.length)];
34
+ const scale2 = scaleValues[Math.floor(Math.random() * scaleValues.length)];
35
+ const scale3 = scaleValues[Math.floor(Math.random() * scaleValues.length)];
36
+
37
+ const keyframe = {
38
+ '0%, 100%': { transform: `translate(${translateX0}cqw, ${translateY0}cqh) scale(${scale0})` },
39
+ '25%': { transform: `translate(${translateX1}cqw, ${translateY1}cqh) scale(${scale1})` },
40
+ '50%': { transform: `translate(${translateX2}cqw, ${translateY2}cqh) scale(${scale2})` },
41
+ '75%': { transform: `translate(${translateX3}cqw, ${translateY3}cqh) scale(${scale3})` },
42
+ };
43
+
44
+ return keyframe;
45
+ }
46
+
47
+ const luminescent = {
48
+ 50: 'hsl(286deg, 65%, 97%)',
49
+ 100: 'hsl(286deg, 60%, 95%)',
50
+ 200: 'hsl(286deg, 55%, 90%)',
51
+ 300: 'hsl(286deg, 50%, 82%)',
52
+ 400: 'hsl(286deg, 45%, 75%)',
53
+ 500: 'hsl(286deg, 40%, 60%)',
54
+ 600: 'hsl(286deg, 35%, 51%)',
55
+ 700: 'hsl(286deg, 30%, 42%)',
56
+ 800: 'hsl(286deg, 25%, 35%)',
57
+ 900: 'hsl(286deg, 20%, 30%)',
58
+ 950: 'hsl(286deg, 15%, 17%)',
59
+ };
60
+
61
+ module.exports = {
62
+ content: ['./node_modules/@luminescent/ui/**/*.{mjs,cjs}'],
63
+ theme: {
64
+ extend: {
65
+ colors: { luminescent },
66
+ animation: {
67
+ blob: 'blob 15s infinite',
68
+ blob1: 'blob1 15s infinite',
69
+ blob2: 'blob2 15s infinite',
70
+ blob3: 'blob3 15s infinite',
71
+ blob4: 'blob4 15s infinite',
72
+ blob5: 'blob5 15s infinite',
73
+ blob6: 'blob6 15s infinite',
74
+ },
75
+ keyframes: {
76
+ blob: getBlobKeyFrame(),
77
+ blob1: getBlobKeyFrame(),
78
+ blob2: getBlobKeyFrame(),
79
+ blob3: getBlobKeyFrame(),
80
+ blob4: getBlobKeyFrame(),
81
+ blob5: getBlobKeyFrame(),
82
+ blob6: getBlobKeyFrame(),
83
+ },
84
+ },
85
+ },
86
+ };
@@ -1,10 +0,0 @@
1
- import type { PropsOf } from '@builder.io/qwik';
2
- interface loadingIconProps extends Omit<PropsOf<'div'>, 'class'> {
3
- class?: {
4
- [key: string]: boolean;
5
- };
6
- width: number;
7
- speed?: string;
8
- }
9
- export declare const LoadingIcon: import("@builder.io/qwik").Component<loadingIconProps>;
10
- export {};
@@ -1,10 +0,0 @@
1
- export * from './elements/Anchor';
2
- export * from './elements/Blobs';
3
- export * from './elements/Card';
4
- export * from './elements/ColorPicker';
5
- export * from './elements/Dropdown';
6
- export * from './elements/Header';
7
- export * from './elements/LoadingIcon';
8
- export * from './elements/Nav';
9
- export * from './elements/NumberInput';
10
- export * from './elements/Toggle';
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("@builder.io/qwik").Component<unknown>;
2
- export default _default;
@@ -1,5 +0,0 @@
1
- interface AnchorProps {
2
- id: string;
3
- }
4
- export declare const Anchor: import("@builder.io/qwik").Component<AnchorProps>;
5
- export {};