@luminescent/ui-qwik 6.8.3-2 → 7.0.0-0

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 (98) hide show
  1. package/LICENSE +661 -0
  2. package/lib/assets/BBIagblG-bundle-graph.json +1 -0
  3. package/lib/assets/ChtqwOpy-bundle-graph.json +1 -0
  4. package/lib/components/elements/Anchor.d.ts +1 -4
  5. package/lib/components/elements/Anchor.qwik.cjs +21 -25
  6. package/lib/components/elements/Anchor.qwik.mjs +21 -25
  7. package/lib/components/elements/Blobs.d.ts +3 -4
  8. package/lib/components/elements/Blobs.qwik.cjs +181 -187
  9. package/lib/components/elements/Blobs.qwik.mjs +182 -189
  10. package/lib/components/elements/ColorPicker.d.ts +1 -4
  11. package/lib/components/elements/ColorPicker.qwik.cjs +285 -303
  12. package/lib/components/elements/ColorPicker.qwik.mjs +285 -303
  13. package/lib/components/elements/Dropdown.d.ts +1 -4
  14. package/lib/components/elements/Dropdown.qwik.cjs +20 -30
  15. package/lib/components/elements/Dropdown.qwik.mjs +20 -30
  16. package/lib/components/elements/Label.d.ts +6 -0
  17. package/lib/components/elements/Label.qwik.cjs +10 -0
  18. package/lib/components/elements/Label.qwik.mjs +10 -0
  19. package/lib/components/elements/Nav.d.ts +3 -6
  20. package/lib/components/elements/Nav.qwik.cjs +63 -97
  21. package/lib/components/elements/Nav.qwik.mjs +63 -97
  22. package/lib/components/elements/NumberInput.d.ts +4 -11
  23. package/lib/components/elements/NumberInput.qwik.cjs +52 -78
  24. package/lib/components/elements/NumberInput.qwik.mjs +51 -77
  25. package/lib/components/elements/RangeInput.d.ts +2 -9
  26. package/lib/components/elements/RangeInput.qwik.cjs +45 -76
  27. package/lib/components/elements/RangeInput.qwik.mjs +46 -77
  28. package/lib/components/elements/SelectMenu.d.ts +5 -8
  29. package/lib/components/elements/SelectMenu.qwik.cjs +90 -133
  30. package/lib/components/elements/SelectMenu.qwik.mjs +90 -133
  31. package/lib/components/elements/Sidebar.d.ts +1 -4
  32. package/lib/components/elements/Sidebar.qwik.cjs +19 -36
  33. package/lib/components/elements/Sidebar.qwik.mjs +20 -37
  34. package/lib/components/elements/Toggle.d.ts +1 -2
  35. package/lib/components/elements/Toggle.qwik.cjs +22 -38
  36. package/lib/components/elements/Toggle.qwik.mjs +23 -39
  37. package/lib/components/elements.d.ts +1 -0
  38. package/lib/components/functions.d.ts +2 -0
  39. package/lib/components/functions.qwik.cjs +19 -16
  40. package/lib/components/functions.qwik.mjs +19 -17
  41. package/lib/index.d.ts +0 -1
  42. package/lib/index.qwik.cjs +26 -48
  43. package/lib/index.qwik.mjs +6 -42
  44. package/lib/q-manifest.json +239 -0
  45. package/lib/svg/ChevronDown.d.ts +1 -1
  46. package/lib/svg/ChevronDown.qwik.cjs +18 -22
  47. package/lib/svg/ChevronDown.qwik.mjs +19 -23
  48. package/lib/svg/Link.d.ts +1 -1
  49. package/lib/svg/Link.qwik.cjs +27 -33
  50. package/lib/svg/Link.qwik.mjs +28 -34
  51. package/lib/svg/Menu.d.ts +1 -1
  52. package/lib/svg/Menu.qwik.cjs +22 -30
  53. package/lib/svg/Menu.qwik.mjs +23 -31
  54. package/lib/svg/Minus.d.ts +1 -1
  55. package/lib/svg/Minus.qwik.cjs +18 -22
  56. package/lib/svg/Minus.qwik.mjs +19 -23
  57. package/lib/svg/Plus.d.ts +1 -1
  58. package/lib/svg/Plus.qwik.cjs +18 -27
  59. package/lib/svg/Plus.qwik.mjs +19 -28
  60. package/lib/svg/Shuffle.d.ts +1 -1
  61. package/lib/svg/Shuffle.qwik.cjs +24 -36
  62. package/lib/svg/Shuffle.qwik.mjs +25 -37
  63. package/lib/utils/color.qwik.cjs +101 -115
  64. package/lib/utils/color.qwik.mjs +102 -122
  65. package/package.json +14 -14
  66. package/lib/components/logos/Birdflop.d.ts +0 -7
  67. package/lib/components/logos/Birdflop.qwik.cjs +0 -73
  68. package/lib/components/logos/Birdflop.qwik.mjs +0 -73
  69. package/lib/components/logos/Discord.d.ts +0 -2
  70. package/lib/components/logos/Discord.qwik.cjs +0 -18
  71. package/lib/components/logos/Discord.qwik.mjs +0 -18
  72. package/lib/components/logos/Fabric.d.ts +0 -2
  73. package/lib/components/logos/Fabric.qwik.cjs +0 -32
  74. package/lib/components/logos/Fabric.qwik.mjs +0 -32
  75. package/lib/components/logos/Forge.d.ts +0 -2
  76. package/lib/components/logos/Forge.qwik.cjs +0 -31
  77. package/lib/components/logos/Forge.qwik.mjs +0 -31
  78. package/lib/components/logos/Luminescent.d.ts +0 -3
  79. package/lib/components/logos/Luminescent.qwik.cjs +0 -143
  80. package/lib/components/logos/Luminescent.qwik.mjs +0 -143
  81. package/lib/components/logos/Paper.d.ts +0 -2
  82. package/lib/components/logos/Paper.qwik.cjs +0 -40
  83. package/lib/components/logos/Paper.qwik.mjs +0 -40
  84. package/lib/components/logos/Pterodactyl.d.ts +0 -2
  85. package/lib/components/logos/Pterodactyl.qwik.cjs +0 -35
  86. package/lib/components/logos/Pterodactyl.qwik.mjs +0 -35
  87. package/lib/components/logos/Purpur.d.ts +0 -2
  88. package/lib/components/logos/Purpur.qwik.cjs +0 -76
  89. package/lib/components/logos/Purpur.qwik.mjs +0 -76
  90. package/lib/components/logos/Velocity.d.ts +0 -2
  91. package/lib/components/logos/Velocity.qwik.cjs +0 -27
  92. package/lib/components/logos/Velocity.qwik.mjs +0 -27
  93. package/lib/components/logos/Waterfall.d.ts +0 -2
  94. package/lib/components/logos/Waterfall.qwik.cjs +0 -21
  95. package/lib/components/logos/Waterfall.qwik.mjs +0 -21
  96. package/lib/components/logos.d.ts +0 -10
  97. /package/lib/components/docs/{IconsLogos.d.ts → Label.d.ts} +0 -0
  98. /package/lib/{components/logos → svg}/IconProps.d.ts +0 -0
@@ -1,191 +1,184 @@
1
- import { jsxs, jsx } from "@qwik.dev/core/jsx-runtime";
2
- import { component$ } from "@qwik.dev/core";
3
- const blobColorClasses = {
4
- slate: [
5
- "bg-slate-400",
6
- "bg-slate-500",
7
- "bg-slate-600"
8
- ],
9
- gray: [
10
- "bg-gray-400",
11
- "bg-gray-500",
12
- "bg-gray-600"
13
- ],
14
- darkgray: [
15
- "bg-gray-500",
16
- "bg-gray-600",
17
- "bg-gray-700"
18
- ],
19
- darkergray: [
20
- "bg-gray-600",
21
- "bg-gray-700",
22
- "bg-gray-800"
23
- ],
24
- zinc: [
25
- "bg-zinc-400",
26
- "bg-zinc-500",
27
- "bg-zinc-600"
28
- ],
29
- neutral: [
30
- "bg-neutral-400",
31
- "bg-neutral-500",
32
- "bg-neutral-600"
33
- ],
34
- stone: [
35
- "bg-stone-400",
36
- "bg-stone-500",
37
- "bg-stone-600"
38
- ],
39
- red: [
40
- "bg-red-400",
41
- "bg-red-500",
42
- "bg-red-600"
43
- ],
44
- orange: [
45
- "bg-orange-400",
46
- "bg-orange-500",
47
- "bg-orange-600"
48
- ],
49
- amber: [
50
- "bg-amber-400",
51
- "bg-amber-500",
52
- "bg-amber-600"
53
- ],
54
- yellow: [
55
- "bg-yellow-400",
56
- "bg-yellow-500",
57
- "bg-yellow-600"
58
- ],
59
- lime: [
60
- "bg-lime-400",
61
- "bg-lime-500",
62
- "bg-lime-600"
63
- ],
64
- green: [
65
- "bg-green-400",
66
- "bg-green-500",
67
- "bg-green-600"
68
- ],
69
- emerald: [
70
- "bg-emerald-400",
71
- "bg-emerald-500",
72
- "bg-emerald-600"
73
- ],
74
- teal: [
75
- "bg-teal-400",
76
- "bg-teal-500",
77
- "bg-teal-600"
78
- ],
79
- cyan: [
80
- "bg-cyan-400",
81
- "bg-cyan-500",
82
- "bg-cyan-600"
83
- ],
84
- sky: [
85
- "bg-sky-400",
86
- "bg-sky-500",
87
- "bg-sky-600"
88
- ],
89
- blue: [
90
- "bg-blue-400",
91
- "bg-blue-500",
92
- "bg-blue-600"
93
- ],
94
- indigo: [
95
- "bg-indigo-400",
96
- "bg-indigo-500",
97
- "bg-indigo-600"
98
- ],
99
- violet: [
100
- "bg-violet-400",
101
- "bg-violet-500",
102
- "bg-violet-600"
103
- ],
104
- purple: [
105
- "bg-purple-400",
106
- "bg-purple-500",
107
- "bg-purple-600"
108
- ],
109
- fuchsia: [
110
- "bg-fuchsia-400",
111
- "bg-fuchsia-500",
112
- "bg-fuchsia-600"
113
- ],
114
- pink: [
115
- "bg-pink-400",
116
- "bg-pink-500",
117
- "bg-pink-600"
118
- ],
119
- rose: [
120
- "bg-rose-400",
121
- "bg-rose-500",
122
- "bg-rose-600"
123
- ]
124
- };
125
- const blobClasses = [
126
- "animate-blob",
127
- "animate-blob1",
128
- "animate-blob2",
129
- "animate-blob3",
130
- "animate-blob4",
131
- "animate-blob5",
132
- "animate-blob6"
133
- ];
134
- const Blobs = component$(({ color = "darkgray", blur = "xl", ...props }) => {
135
- const blob = Math.round(Math.random() * 6);
136
- const colorClass = typeof color == "string" ? blobColorClasses[color] : color;
137
- return /* @__PURE__ */ jsxs("div", {
138
- class: {
139
- "animate-in fade-in anim-duration-[2s] absolute inset-0 transition-all motion-reduce:hidden": true,
140
- ...props.class
141
- },
142
- style: {
143
- containerType: "size",
144
- ...props.style
145
- },
146
- children: [
147
- /* @__PURE__ */ jsx("div", {
148
- class: {
149
- "absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
150
- "blur-xs": blur === "xs",
151
- "blur-sm": blur === "sm",
152
- "blur-md": blur === "md",
153
- "blur-lg": blur === "lg",
154
- "blur-xl": blur === "xl",
155
- [blobClasses[blob]]: true,
156
- [colorClass[0]]: true
157
- }
158
- }),
159
- /* @__PURE__ */ jsx("div", {
160
- class: {
161
- "absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
162
- "blur-xs": blur === "xs",
163
- "blur-sm": blur === "sm",
164
- "blur-md": blur === "md",
165
- "blur-lg": blur === "lg",
166
- "blur-xl": blur === "xl",
167
- "anim-delay-[-5s]": true,
168
- [blobClasses[blob]]: true,
169
- [colorClass[1]]: true
170
- }
171
- }),
172
- /* @__PURE__ */ jsx("div", {
173
- class: {
174
- "absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
175
- "blur-xs": blur === "xs",
176
- "blur-sm": blur === "sm",
177
- "blur-md": blur === "md",
178
- "blur-lg": blur === "lg",
179
- "blur-xl": blur === "xl",
180
- "anim-delay-[-10s]": true,
181
- [blobClasses[blob]]: true,
182
- [colorClass[2]]: true
183
- }
184
- })
185
- ]
186
- });
1
+ import { getClassObject } from "../functions.qwik.mjs";
2
+ import { _fnSignal, _jsxSorted, componentQrl, inlinedQrl } from "@qwik.dev/core";
3
+ //#region src/components/elements/Blobs.tsx
4
+ var _hf0 = (p0) => ({
5
+ containerType: "size",
6
+ ...p0.style
187
7
  });
188
- export {
189
- Blobs,
190
- blobColorClasses
8
+ var blobColorClasses = {
9
+ slate: [
10
+ "bg-slate-400",
11
+ "bg-slate-500",
12
+ "bg-slate-600"
13
+ ],
14
+ gray: [
15
+ "bg-gray-400",
16
+ "bg-gray-500",
17
+ "bg-gray-600"
18
+ ],
19
+ darkgray: [
20
+ "bg-gray-500",
21
+ "bg-gray-600",
22
+ "bg-gray-700"
23
+ ],
24
+ darkergray: [
25
+ "bg-gray-600",
26
+ "bg-gray-700",
27
+ "bg-gray-800"
28
+ ],
29
+ zinc: [
30
+ "bg-zinc-400",
31
+ "bg-zinc-500",
32
+ "bg-zinc-600"
33
+ ],
34
+ neutral: [
35
+ "bg-neutral-400",
36
+ "bg-neutral-500",
37
+ "bg-neutral-600"
38
+ ],
39
+ stone: [
40
+ "bg-stone-400",
41
+ "bg-stone-500",
42
+ "bg-stone-600"
43
+ ],
44
+ red: [
45
+ "bg-red-400",
46
+ "bg-red-500",
47
+ "bg-red-600"
48
+ ],
49
+ orange: [
50
+ "bg-orange-400",
51
+ "bg-orange-500",
52
+ "bg-orange-600"
53
+ ],
54
+ amber: [
55
+ "bg-amber-400",
56
+ "bg-amber-500",
57
+ "bg-amber-600"
58
+ ],
59
+ yellow: [
60
+ "bg-yellow-400",
61
+ "bg-yellow-500",
62
+ "bg-yellow-600"
63
+ ],
64
+ lime: [
65
+ "bg-lime-400",
66
+ "bg-lime-500",
67
+ "bg-lime-600"
68
+ ],
69
+ green: [
70
+ "bg-green-400",
71
+ "bg-green-500",
72
+ "bg-green-600"
73
+ ],
74
+ emerald: [
75
+ "bg-emerald-400",
76
+ "bg-emerald-500",
77
+ "bg-emerald-600"
78
+ ],
79
+ teal: [
80
+ "bg-teal-400",
81
+ "bg-teal-500",
82
+ "bg-teal-600"
83
+ ],
84
+ cyan: [
85
+ "bg-cyan-400",
86
+ "bg-cyan-500",
87
+ "bg-cyan-600"
88
+ ],
89
+ sky: [
90
+ "bg-sky-400",
91
+ "bg-sky-500",
92
+ "bg-sky-600"
93
+ ],
94
+ blue: [
95
+ "bg-blue-400",
96
+ "bg-blue-500",
97
+ "bg-blue-600"
98
+ ],
99
+ indigo: [
100
+ "bg-indigo-400",
101
+ "bg-indigo-500",
102
+ "bg-indigo-600"
103
+ ],
104
+ violet: [
105
+ "bg-violet-400",
106
+ "bg-violet-500",
107
+ "bg-violet-600"
108
+ ],
109
+ purple: [
110
+ "bg-purple-400",
111
+ "bg-purple-500",
112
+ "bg-purple-600"
113
+ ],
114
+ fuchsia: [
115
+ "bg-fuchsia-400",
116
+ "bg-fuchsia-500",
117
+ "bg-fuchsia-600"
118
+ ],
119
+ pink: [
120
+ "bg-pink-400",
121
+ "bg-pink-500",
122
+ "bg-pink-600"
123
+ ],
124
+ rose: [
125
+ "bg-rose-400",
126
+ "bg-rose-500",
127
+ "bg-rose-600"
128
+ ]
191
129
  };
130
+ var blobClasses = [
131
+ "animate-blob",
132
+ "animate-blob1",
133
+ "animate-blob2",
134
+ "animate-blob3",
135
+ "animate-blob4",
136
+ "animate-blob5",
137
+ "animate-blob6"
138
+ ];
139
+ var Blobs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(({ class: Class, color = "darkgray", blur = "xl", ...props }) => {
140
+ const blob = Math.round(Math.random() * 6);
141
+ const colorClass = typeof color == "string" ? blobColorClasses[color] : color;
142
+ return /* @__PURE__ */ _jsxSorted("div", {
143
+ class: {
144
+ "animate-in fade-in anim-duration-[2s] absolute inset-0 transition-all motion-reduce:hidden": true,
145
+ ...getClassObject(Class)
146
+ },
147
+ style: _fnSignal(_hf0, [props])
148
+ }, null, [
149
+ /* @__PURE__ */ _jsxSorted("div", { class: {
150
+ "absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
151
+ "blur-xs": blur === "xs",
152
+ "blur-sm": blur === "sm",
153
+ "blur-md": blur === "md",
154
+ "blur-lg": blur === "lg",
155
+ "blur-xl": blur === "xl",
156
+ [blobClasses[blob]]: true,
157
+ ...getClassObject(colorClass[0])
158
+ } }, null, null, 3, null),
159
+ /* @__PURE__ */ _jsxSorted("div", { class: {
160
+ "absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
161
+ "blur-xs": blur === "xs",
162
+ "blur-sm": blur === "sm",
163
+ "blur-md": blur === "md",
164
+ "blur-lg": blur === "lg",
165
+ "blur-xl": blur === "xl",
166
+ "anim-delay-[-5s]": true,
167
+ [blobClasses[blob]]: true,
168
+ ...getClassObject(colorClass[1])
169
+ } }, null, null, 3, null),
170
+ /* @__PURE__ */ _jsxSorted("div", { class: {
171
+ "absolute top-0 h-[30cqw] w-[30cqw] rounded-full opacity-20 ease-in-out": true,
172
+ "blur-xs": blur === "xs",
173
+ "blur-sm": blur === "sm",
174
+ "blur-md": blur === "md",
175
+ "blur-lg": blur === "lg",
176
+ "blur-xl": blur === "xl",
177
+ "anim-delay-[-10s]": true,
178
+ [blobClasses[blob]]: true,
179
+ ...getClassObject(colorClass[2])
180
+ } }, null, null, 3, null)
181
+ ], 1, "Mx_0");
182
+ }, "Blobs_component_xCrUzl14bRQ"));
183
+ //#endregion
184
+ export { Blobs, blobColorClasses };
@@ -1,8 +1,5 @@
1
1
  import type { PropsOf, QRL } from '@qwik.dev/core';
2
- export interface ColorPickerProps extends Omit<PropsOf<'div'>, 'class' | 'onInput$'> {
3
- class?: {
4
- [key: string]: boolean;
5
- };
2
+ export interface ColorPickerProps extends Omit<PropsOf<'div'>, 'onInput$'> {
6
3
  onInput$?: QRL<(color: string) => void>;
7
4
  value?: string;
8
5
  colors?: string[];