@luminescent/ui-qwik 1.0.5
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/lib/index.qwik.mjs +2204 -0
- package/lib-types/components/docs/Anchor.d.ts +2 -0
- package/lib-types/components/docs/Blobs.d.ts +2 -0
- package/lib-types/components/docs/ColorPicker.d.ts +2 -0
- package/lib-types/components/docs/Dropdown.d.ts +2 -0
- package/lib-types/components/docs/IconsLogos.d.ts +2 -0
- package/lib-types/components/docs/Nav.d.ts +2 -0
- package/lib-types/components/docs/NumberInput.d.ts +2 -0
- package/lib-types/components/docs/Playground.d.ts +2 -0
- package/lib-types/components/docs/Toggle.d.ts +2 -0
- package/lib-types/components/docs/lum-btn.d.ts +2 -0
- package/lib-types/components/docs/lum-card.d.ts +2 -0
- package/lib-types/components/docs/lum-classes.d.ts +2 -0
- package/lib-types/components/docs/lum-input.d.ts +2 -0
- package/lib-types/components/elements/Anchor.d.ts +5 -0
- package/lib-types/components/elements/Blobs.d.ts +35 -0
- package/lib-types/components/elements/Card.d.ts +159 -0
- package/lib-types/components/elements/ColorPicker.d.ts +13 -0
- package/lib-types/components/elements/Dropdown.d.ts +16 -0
- package/lib-types/components/elements/Header.d.ts +12 -0
- package/lib-types/components/elements/LoadingIcon.d.ts +10 -0
- package/lib-types/components/elements/Nav.d.ts +38 -0
- package/lib-types/components/elements/NumberInput.d.ts +21 -0
- package/lib-types/components/elements/Toggle.d.ts +212 -0
- package/lib-types/components/elements.d.ts +10 -0
- package/lib-types/components/logos/Birdflop.d.ts +7 -0
- package/lib-types/components/logos/Discord.d.ts +2 -0
- package/lib-types/components/logos/Fabric.d.ts +2 -0
- package/lib-types/components/logos/Forge.d.ts +2 -0
- package/lib-types/components/logos/IconProps.d.ts +3 -0
- package/lib-types/components/logos/Luminescent.d.ts +3 -0
- package/lib-types/components/logos/Paper.d.ts +2 -0
- package/lib-types/components/logos/Pterodactyl.d.ts +2 -0
- package/lib-types/components/logos/Purpur.d.ts +2 -0
- package/lib-types/components/logos/Velocity.d.ts +2 -0
- package/lib-types/components/logos/Waterfall.d.ts +2 -0
- package/lib-types/components/logos.d.ts +10 -0
- package/lib-types/entry.dev.d.ts +2 -0
- package/lib-types/entry.ssr.d.ts +14 -0
- package/lib-types/index.d.ts +2 -0
- package/lib-types/root.d.ts +3 -0
- package/lib-types/src/components/docs/Anchor.d.ts +2 -0
- package/lib-types/src/components/docs/Blobs.d.ts +2 -0
- package/lib-types/src/components/docs/ColorPicker.d.ts +2 -0
- package/lib-types/src/components/docs/Dropdown.d.ts +2 -0
- package/lib-types/src/components/docs/IconsLogos.d.ts +2 -0
- package/lib-types/src/components/docs/Nav.d.ts +2 -0
- package/lib-types/src/components/docs/NumberInput.d.ts +2 -0
- package/lib-types/src/components/docs/Playground.d.ts +2 -0
- package/lib-types/src/components/docs/Toggle.d.ts +2 -0
- package/lib-types/src/components/docs/lum-btn.d.ts +2 -0
- package/lib-types/src/components/docs/lum-card.d.ts +2 -0
- package/lib-types/src/components/docs/lum-classes.d.ts +2 -0
- package/lib-types/src/components/docs/lum-input.d.ts +2 -0
- package/lib-types/src/components/elements/Anchor.d.ts +5 -0
- package/lib-types/src/components/elements/Blobs.d.ts +35 -0
- package/lib-types/src/components/elements/Card.d.ts +159 -0
- package/lib-types/src/components/elements/ColorPicker.d.ts +13 -0
- package/lib-types/src/components/elements/Dropdown.d.ts +16 -0
- package/lib-types/src/components/elements/Header.d.ts +12 -0
- package/lib-types/src/components/elements/Nav.d.ts +38 -0
- package/lib-types/src/components/elements/NumberInput.d.ts +21 -0
- package/lib-types/src/components/elements/Toggle.d.ts +212 -0
- package/lib-types/src/components/elements.d.ts +9 -0
- package/lib-types/src/components/logos/Birdflop.d.ts +7 -0
- package/lib-types/src/components/logos/Discord.d.ts +2 -0
- package/lib-types/src/components/logos/Fabric.d.ts +2 -0
- package/lib-types/src/components/logos/Forge.d.ts +2 -0
- package/lib-types/src/components/logos/IconProps.d.ts +3 -0
- package/lib-types/src/components/logos/Luminescent.d.ts +3 -0
- package/lib-types/src/components/logos/Paper.d.ts +2 -0
- package/lib-types/src/components/logos/Pterodactyl.d.ts +2 -0
- package/lib-types/src/components/logos/Purpur.d.ts +2 -0
- package/lib-types/src/components/logos/Velocity.d.ts +2 -0
- package/lib-types/src/components/logos/Waterfall.d.ts +2 -0
- package/lib-types/src/components/logos.d.ts +10 -0
- package/lib-types/src/entry.dev.d.ts +2 -0
- package/lib-types/src/entry.ssr.d.ts +14 -0
- package/lib-types/src/index.d.ts +2 -0
- package/lib-types/src/root.d.ts +3 -0
- package/lib-types/src/svg/ChevronDown.d.ts +2 -0
- package/lib-types/src/svg/Link.d.ts +2 -0
- package/lib-types/src/svg/Minus.d.ts +2 -0
- package/lib-types/src/svg/Plus.d.ts +2 -0
- package/lib-types/src/svg/Shuffle.d.ts +2 -0
- package/lib-types/src/tailwind.config.d.ts +138 -0
- package/lib-types/src/utils/color.d.ts +36 -0
- package/lib-types/svg/ChevronDown.d.ts +2 -0
- package/lib-types/svg/Link.d.ts +2 -0
- package/lib-types/svg/Minus.d.ts +2 -0
- package/lib-types/svg/Plus.d.ts +2 -0
- package/lib-types/svg/Shuffle.d.ts +2 -0
- package/lib-types/tailwind.config.d.ts +122 -0
- package/lib-types/utils/color.d.ts +36 -0
- package/package.json +65 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
declare const luminescent: {
|
|
2
|
+
50: string;
|
|
3
|
+
100: string;
|
|
4
|
+
200: string;
|
|
5
|
+
300: string;
|
|
6
|
+
400: string;
|
|
7
|
+
500: string;
|
|
8
|
+
600: string;
|
|
9
|
+
700: string;
|
|
10
|
+
800: string;
|
|
11
|
+
900: string;
|
|
12
|
+
950: string;
|
|
13
|
+
};
|
|
14
|
+
export let content: string[];
|
|
15
|
+
export namespace theme {
|
|
16
|
+
namespace extend {
|
|
17
|
+
namespace colors {
|
|
18
|
+
export { luminescent };
|
|
19
|
+
}
|
|
20
|
+
namespace animation {
|
|
21
|
+
let blob: string;
|
|
22
|
+
let blob1: string;
|
|
23
|
+
let blob2: string;
|
|
24
|
+
let blob3: string;
|
|
25
|
+
let blob4: string;
|
|
26
|
+
let blob5: string;
|
|
27
|
+
let blob6: string;
|
|
28
|
+
}
|
|
29
|
+
namespace keyframes {
|
|
30
|
+
let blob_1: {
|
|
31
|
+
'0%, 100%': {
|
|
32
|
+
transform: string;
|
|
33
|
+
};
|
|
34
|
+
'25%': {
|
|
35
|
+
transform: string;
|
|
36
|
+
};
|
|
37
|
+
'50%': {
|
|
38
|
+
transform: string;
|
|
39
|
+
};
|
|
40
|
+
'75%': {
|
|
41
|
+
transform: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export { blob_1 as blob };
|
|
45
|
+
let blob1_1: {
|
|
46
|
+
'0%, 100%': {
|
|
47
|
+
transform: string;
|
|
48
|
+
};
|
|
49
|
+
'25%': {
|
|
50
|
+
transform: string;
|
|
51
|
+
};
|
|
52
|
+
'50%': {
|
|
53
|
+
transform: string;
|
|
54
|
+
};
|
|
55
|
+
'75%': {
|
|
56
|
+
transform: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export { blob1_1 as blob1 };
|
|
60
|
+
let blob2_1: {
|
|
61
|
+
'0%, 100%': {
|
|
62
|
+
transform: string;
|
|
63
|
+
};
|
|
64
|
+
'25%': {
|
|
65
|
+
transform: string;
|
|
66
|
+
};
|
|
67
|
+
'50%': {
|
|
68
|
+
transform: string;
|
|
69
|
+
};
|
|
70
|
+
'75%': {
|
|
71
|
+
transform: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
export { blob2_1 as blob2 };
|
|
75
|
+
let blob3_1: {
|
|
76
|
+
'0%, 100%': {
|
|
77
|
+
transform: string;
|
|
78
|
+
};
|
|
79
|
+
'25%': {
|
|
80
|
+
transform: string;
|
|
81
|
+
};
|
|
82
|
+
'50%': {
|
|
83
|
+
transform: string;
|
|
84
|
+
};
|
|
85
|
+
'75%': {
|
|
86
|
+
transform: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
export { blob3_1 as blob3 };
|
|
90
|
+
let blob4_1: {
|
|
91
|
+
'0%, 100%': {
|
|
92
|
+
transform: string;
|
|
93
|
+
};
|
|
94
|
+
'25%': {
|
|
95
|
+
transform: string;
|
|
96
|
+
};
|
|
97
|
+
'50%': {
|
|
98
|
+
transform: string;
|
|
99
|
+
};
|
|
100
|
+
'75%': {
|
|
101
|
+
transform: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
export { blob4_1 as blob4 };
|
|
105
|
+
let blob5_1: {
|
|
106
|
+
'0%, 100%': {
|
|
107
|
+
transform: string;
|
|
108
|
+
};
|
|
109
|
+
'25%': {
|
|
110
|
+
transform: string;
|
|
111
|
+
};
|
|
112
|
+
'50%': {
|
|
113
|
+
transform: string;
|
|
114
|
+
};
|
|
115
|
+
'75%': {
|
|
116
|
+
transform: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
export { blob5_1 as blob5 };
|
|
120
|
+
let blob6_1: {
|
|
121
|
+
'0%, 100%': {
|
|
122
|
+
transform: string;
|
|
123
|
+
};
|
|
124
|
+
'25%': {
|
|
125
|
+
transform: string;
|
|
126
|
+
};
|
|
127
|
+
'50%': {
|
|
128
|
+
transform: string;
|
|
129
|
+
};
|
|
130
|
+
'75%': {
|
|
131
|
+
transform: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export { blob6_1 as blob6 };
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const clamp: (value: number, min: number, max: number) => number;
|
|
2
|
+
export declare function getMousePosition(e: MouseEvent | TouchEvent): {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const pad2: (c: string) => string;
|
|
7
|
+
export type RGBAColor = {
|
|
8
|
+
r: number;
|
|
9
|
+
g: number;
|
|
10
|
+
b: number;
|
|
11
|
+
a?: number;
|
|
12
|
+
};
|
|
13
|
+
export type HSVAColor = {
|
|
14
|
+
h: number;
|
|
15
|
+
s: number;
|
|
16
|
+
v: number;
|
|
17
|
+
a?: number;
|
|
18
|
+
};
|
|
19
|
+
export declare function getBrightness(color: RGBAColor): number;
|
|
20
|
+
export declare function hexNumberToRgb(color: number): {
|
|
21
|
+
r: number;
|
|
22
|
+
g: number;
|
|
23
|
+
b: number;
|
|
24
|
+
};
|
|
25
|
+
export declare function rgbToHex(color: RGBAColor): string;
|
|
26
|
+
export declare const hexStringToNumber: (color: string) => number;
|
|
27
|
+
export declare function hsvToRgb(color: HSVAColor): {
|
|
28
|
+
r: number;
|
|
29
|
+
g: number;
|
|
30
|
+
b: number;
|
|
31
|
+
};
|
|
32
|
+
export declare function rgbToHsv(color: RGBAColor): {
|
|
33
|
+
h: number;
|
|
34
|
+
s: number;
|
|
35
|
+
v: number;
|
|
36
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let content: string[];
|
|
3
|
+
let safelist: {
|
|
4
|
+
pattern: RegExp;
|
|
5
|
+
variants: string[];
|
|
6
|
+
}[];
|
|
7
|
+
namespace theme {
|
|
8
|
+
namespace extend {
|
|
9
|
+
let animation: {
|
|
10
|
+
blob: string;
|
|
11
|
+
blob1: string;
|
|
12
|
+
blob2: string;
|
|
13
|
+
blob3: string;
|
|
14
|
+
blob4: string;
|
|
15
|
+
blob5: string;
|
|
16
|
+
blob6: string;
|
|
17
|
+
};
|
|
18
|
+
let keyframes: {
|
|
19
|
+
blob: {
|
|
20
|
+
'0%, 100%': {
|
|
21
|
+
transform: string;
|
|
22
|
+
};
|
|
23
|
+
'25%': {
|
|
24
|
+
transform: string;
|
|
25
|
+
};
|
|
26
|
+
'50%': {
|
|
27
|
+
transform: string;
|
|
28
|
+
};
|
|
29
|
+
'75%': {
|
|
30
|
+
transform: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
blob1: {
|
|
34
|
+
'0%, 100%': {
|
|
35
|
+
transform: string;
|
|
36
|
+
};
|
|
37
|
+
'25%': {
|
|
38
|
+
transform: string;
|
|
39
|
+
};
|
|
40
|
+
'50%': {
|
|
41
|
+
transform: string;
|
|
42
|
+
};
|
|
43
|
+
'75%': {
|
|
44
|
+
transform: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
blob2: {
|
|
48
|
+
'0%, 100%': {
|
|
49
|
+
transform: string;
|
|
50
|
+
};
|
|
51
|
+
'25%': {
|
|
52
|
+
transform: string;
|
|
53
|
+
};
|
|
54
|
+
'50%': {
|
|
55
|
+
transform: string;
|
|
56
|
+
};
|
|
57
|
+
'75%': {
|
|
58
|
+
transform: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
blob3: {
|
|
62
|
+
'0%, 100%': {
|
|
63
|
+
transform: string;
|
|
64
|
+
};
|
|
65
|
+
'25%': {
|
|
66
|
+
transform: string;
|
|
67
|
+
};
|
|
68
|
+
'50%': {
|
|
69
|
+
transform: string;
|
|
70
|
+
};
|
|
71
|
+
'75%': {
|
|
72
|
+
transform: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
blob4: {
|
|
76
|
+
'0%, 100%': {
|
|
77
|
+
transform: string;
|
|
78
|
+
};
|
|
79
|
+
'25%': {
|
|
80
|
+
transform: string;
|
|
81
|
+
};
|
|
82
|
+
'50%': {
|
|
83
|
+
transform: string;
|
|
84
|
+
};
|
|
85
|
+
'75%': {
|
|
86
|
+
transform: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
blob5: {
|
|
90
|
+
'0%, 100%': {
|
|
91
|
+
transform: string;
|
|
92
|
+
};
|
|
93
|
+
'25%': {
|
|
94
|
+
transform: string;
|
|
95
|
+
};
|
|
96
|
+
'50%': {
|
|
97
|
+
transform: string;
|
|
98
|
+
};
|
|
99
|
+
'75%': {
|
|
100
|
+
transform: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
blob6: {
|
|
104
|
+
'0%, 100%': {
|
|
105
|
+
transform: string;
|
|
106
|
+
};
|
|
107
|
+
'25%': {
|
|
108
|
+
transform: string;
|
|
109
|
+
};
|
|
110
|
+
'50%': {
|
|
111
|
+
transform: string;
|
|
112
|
+
};
|
|
113
|
+
'75%': {
|
|
114
|
+
transform: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
let plugins: any[];
|
|
121
|
+
}
|
|
122
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const clamp: (value: number, min: number, max: number) => number;
|
|
2
|
+
export declare function getMousePosition(e: MouseEvent | TouchEvent): {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const pad2: (c: string) => string;
|
|
7
|
+
export type RGBAColor = {
|
|
8
|
+
r: number;
|
|
9
|
+
g: number;
|
|
10
|
+
b: number;
|
|
11
|
+
a?: number;
|
|
12
|
+
};
|
|
13
|
+
export type HSVAColor = {
|
|
14
|
+
h: number;
|
|
15
|
+
s: number;
|
|
16
|
+
v: number;
|
|
17
|
+
a?: number;
|
|
18
|
+
};
|
|
19
|
+
export declare function getBrightness(color: RGBAColor): number;
|
|
20
|
+
export declare function hexNumberToRgb(color: number): {
|
|
21
|
+
r: number;
|
|
22
|
+
g: number;
|
|
23
|
+
b: number;
|
|
24
|
+
};
|
|
25
|
+
export declare function rgbToHex(color: RGBAColor): string;
|
|
26
|
+
export declare const hexStringToNumber: (color: string) => number;
|
|
27
|
+
export declare function hsvToRgb(color: HSVAColor): {
|
|
28
|
+
r: number;
|
|
29
|
+
g: number;
|
|
30
|
+
b: number;
|
|
31
|
+
};
|
|
32
|
+
export declare function rgbToHsv(color: RGBAColor): {
|
|
33
|
+
h: number;
|
|
34
|
+
s: number;
|
|
35
|
+
v: number;
|
|
36
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@luminescent/ui-qwik",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "Luminescent UI library",
|
|
5
|
+
"main": "./lib/index.qwik.mjs",
|
|
6
|
+
"qwik": "./lib/index.qwik.mjs",
|
|
7
|
+
"types": "./lib-types/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./lib/index.qwik.mjs",
|
|
11
|
+
"require": "./lib/index.qwik.cjs",
|
|
12
|
+
"types": "./lib-types/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./config": "./src/tailwind.config.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"lib",
|
|
18
|
+
"lib-types",
|
|
19
|
+
"src/tailwind"
|
|
20
|
+
],
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=15.0.0"
|
|
23
|
+
},
|
|
24
|
+
"license": "AGPL-3.0-or-later",
|
|
25
|
+
"private": false,
|
|
26
|
+
"type": "module",
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "qwik build",
|
|
32
|
+
"build.lib": "vite build --mode lib",
|
|
33
|
+
"build.types": "tsc --emitDeclarationOnly",
|
|
34
|
+
"dev": "vite --mode ssr",
|
|
35
|
+
"dev.debug": "node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force",
|
|
36
|
+
"lint": "eslint \"src/**/*.ts*\"",
|
|
37
|
+
"release": "np",
|
|
38
|
+
"start": "vite --open --mode ssr",
|
|
39
|
+
"test": "echo \"No test specified\" && exit 0",
|
|
40
|
+
"qwik": "qwik"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@anuragroy/tailwindcss-animate": "^1.0.6",
|
|
44
|
+
"@builder.io/qwik": "1.6.0",
|
|
45
|
+
"@builder.io/qwik-city": "^1.6.0",
|
|
46
|
+
"@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",
|
|
50
|
+
"autoprefixer": "^10.4.19",
|
|
51
|
+
"chart.js": "^4.4.3",
|
|
52
|
+
"eslint": "^8.57.0",
|
|
53
|
+
"eslint-plugin-qwik": "latest",
|
|
54
|
+
"np": "^10.0.6",
|
|
55
|
+
"postcss": "^8.4.38",
|
|
56
|
+
"tailwindcss": "3.4.4",
|
|
57
|
+
"typescript": "5.5.2",
|
|
58
|
+
"undici": "*",
|
|
59
|
+
"vite": "^5.3.2",
|
|
60
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"@luminescent/ui": "^1.0.0"
|
|
64
|
+
}
|
|
65
|
+
}
|