@luminescent/ui-qwik 1.2.2 → 1.2.4

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 (49) hide show
  1. package/lib/index.qwik.cjs +1934 -0
  2. package/lib/index.qwik.mjs +79 -349
  3. package/lib-types/src/components/docs/Anchor.d.ts +2 -0
  4. package/lib-types/src/components/docs/Blobs.d.ts +2 -0
  5. package/lib-types/src/components/docs/ColorPicker.d.ts +2 -0
  6. package/lib-types/src/components/docs/Dropdown.d.ts +2 -0
  7. package/lib-types/src/components/docs/IconsLogos.d.ts +2 -0
  8. package/lib-types/src/components/docs/Nav.d.ts +2 -0
  9. package/lib-types/src/components/docs/NumberInput.d.ts +2 -0
  10. package/lib-types/src/components/docs/Playground.d.ts +2 -0
  11. package/lib-types/src/components/docs/Toggle.d.ts +2 -0
  12. package/lib-types/src/components/docs/lum-btn.d.ts +2 -0
  13. package/lib-types/src/components/docs/lum-card.d.ts +2 -0
  14. package/lib-types/src/components/docs/lum-classes.d.ts +2 -0
  15. package/lib-types/src/components/docs/lum-input.d.ts +2 -0
  16. package/lib-types/src/components/elements/Anchor.d.ts +5 -0
  17. package/lib-types/src/components/elements/Blobs.d.ts +37 -0
  18. package/lib-types/src/components/elements/ColorPicker.d.ts +13 -0
  19. package/lib-types/src/components/elements/Dropdown.d.ts +16 -0
  20. package/lib-types/src/components/elements/Header.d.ts +11 -0
  21. package/lib-types/src/components/elements/Nav.d.ts +11 -0
  22. package/lib-types/src/components/elements/NumberInput.d.ts +21 -0
  23. package/lib-types/src/components/elements/Toggle.d.ts +212 -0
  24. package/lib-types/src/components/elements.d.ts +8 -0
  25. package/lib-types/src/components/logos/Birdflop.d.ts +7 -0
  26. package/lib-types/src/components/logos/Discord.d.ts +2 -0
  27. package/lib-types/src/components/logos/Fabric.d.ts +2 -0
  28. package/lib-types/src/components/logos/Forge.d.ts +2 -0
  29. package/lib-types/src/components/logos/IconProps.d.ts +2 -0
  30. package/lib-types/src/components/logos/Luminescent.d.ts +3 -0
  31. package/lib-types/src/components/logos/Paper.d.ts +2 -0
  32. package/lib-types/src/components/logos/Pterodactyl.d.ts +2 -0
  33. package/lib-types/src/components/logos/Purpur.d.ts +2 -0
  34. package/lib-types/src/components/logos/Velocity.d.ts +2 -0
  35. package/lib-types/src/components/logos/Waterfall.d.ts +2 -0
  36. package/lib-types/src/components/logos.d.ts +10 -0
  37. package/lib-types/src/entry.dev.d.ts +2 -0
  38. package/lib-types/src/entry.ssr.d.ts +14 -0
  39. package/lib-types/src/index.d.ts +2 -0
  40. package/lib-types/src/root.d.ts +3 -0
  41. package/lib-types/src/svg/ChevronDown.d.ts +2 -0
  42. package/lib-types/src/svg/Link.d.ts +2 -0
  43. package/lib-types/src/svg/Minus.d.ts +2 -0
  44. package/lib-types/src/svg/Plus.d.ts +2 -0
  45. package/lib-types/src/svg/Shuffle.d.ts +2 -0
  46. package/lib-types/src/tailwind.config.d.ts +138 -0
  47. package/lib-types/src/utils/color.d.ts +36 -0
  48. package/lib-types/tailwind.config.d.ts +122 -0
  49. package/package.json +14 -14
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui-qwik",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Luminescent UI library",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",
@@ -40,24 +40,24 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@anuragroy/tailwindcss-animate": "^1.0.6",
43
- "@builder.io/qwik": "1.7.1",
44
- "@builder.io/qwik-city": "^1.7.1",
45
- "@types/eslint": "^8.56.10",
46
- "@types/node": "^20.14.12",
47
- "@typescript-eslint/eslint-plugin": "^7.17.0",
48
- "@typescript-eslint/parser": "^7.17.0",
49
- "autoprefixer": "^10.4.19",
50
- "chart.js": "^4.4.3",
43
+ "@builder.io/qwik": "1.8.0",
44
+ "@builder.io/qwik-city": "^1.8.0",
45
+ "@types/eslint": "^8.56.11",
46
+ "@types/node": "^22.4.2",
47
+ "@typescript-eslint/eslint-plugin": "^8.2.0",
48
+ "@typescript-eslint/parser": "^8.2.0",
49
+ "autoprefixer": "^10.4.20",
50
+ "chart.js": "^4.4.4",
51
51
  "eslint": "^8.57.0",
52
52
  "eslint-plugin-qwik": "latest",
53
- "postcss": "^8.4.40",
54
- "tailwindcss": "3.4.7",
53
+ "postcss": "^8.4.41",
54
+ "tailwindcss": "3.4.10",
55
55
  "typescript": "5.5.4",
56
56
  "undici": "*",
57
- "vite": "^5.3.5",
58
- "vite-tsconfig-paths": "^4.3.2"
57
+ "vite": "^5.4.2",
58
+ "vite-tsconfig-paths": "^5.0.1"
59
59
  },
60
60
  "peerDependencies": {
61
- "@luminescent/ui": "^1.2.1"
61
+ "@luminescent/ui": "^1.2.2"
62
62
  }
63
63
  }