@luminescent/ui 1.1.1 → 1.1.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.
- package/lib/components/bg.js +1 -1
- package/lib/components/btn.js +2 -0
- package/lib/components/card.js +2 -0
- package/lib/components/input.js +2 -0
- package/lib/components/pad.js +21 -55
- package/lib/index.qwik.cjs +2730 -0
- package/lib/index.qwik.mjs +2730 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib-types/components/btn.d.ts +1 -0
- package/lib-types/components/card.d.ts +1 -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/Button.d.ts +2 -0
- package/lib-types/components/docs/Card.d.ts +2 -0
- package/lib-types/components/docs/ColorInput.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/TextArea.d.ts +2 -0
- package/lib-types/components/docs/TextInput.d.ts +2 -0
- package/lib-types/components/docs/Toggle.d.ts +2 -0
- package/lib-types/components/elements/Anchor.d.ts +5 -0
- package/lib-types/components/elements/Blobs.d.ts +36 -0
- package/lib-types/components/elements/Button.d.ts +182 -0
- package/lib-types/components/elements/Card.d.ts +159 -0
- package/lib-types/components/elements/ColorInput.d.ts +12 -0
- package/lib-types/components/elements/ColorPicker.d.ts +15 -0
- package/lib-types/components/elements/Dropdown.d.ts +22 -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 +23 -0
- package/lib-types/components/elements/TextArea.d.ts +15 -0
- package/lib-types/components/elements/TextInput.d.ts +43 -0
- package/lib-types/components/elements/Toggle.d.ts +212 -0
- package/lib-types/components/elements.d.ts +13 -0
- package/lib-types/components/input.d.ts +1 -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/root.d.ts +3 -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/utils/color.d.ts +36 -0
- package/package.json +7 -6
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { QRL } from '@builder.io/qwik';
|
|
2
|
+
import type { TextInputRawProps } from './TextInput';
|
|
3
|
+
export interface ColorInputProps extends Omit<TextInputRawProps, 'onInput$' | 'children'> {
|
|
4
|
+
onInput$?: QRL<(color: string) => void>;
|
|
5
|
+
value?: string;
|
|
6
|
+
colors?: string[];
|
|
7
|
+
preview?: 'left' | 'right' | 'top' | 'bottom' | 'full';
|
|
8
|
+
horizontal?: boolean;
|
|
9
|
+
showInput?: boolean;
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const ColorInput: import("@builder.io/qwik").Component<ColorInputProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PropsOf, QRL } from '@builder.io/qwik';
|
|
2
|
+
import type { TextInputRawProps } from './TextInput';
|
|
3
|
+
export interface ColorPickerProps extends Omit<PropsOf<'div'>, 'class' | 'onInput$'> {
|
|
4
|
+
class?: {
|
|
5
|
+
[key: string]: boolean;
|
|
6
|
+
};
|
|
7
|
+
onInput$?: QRL<(color: string) => void>;
|
|
8
|
+
value?: string;
|
|
9
|
+
colors?: string[];
|
|
10
|
+
color?: TextInputRawProps['color'];
|
|
11
|
+
preview?: 'left' | 'right' | 'top' | 'bottom' | 'full';
|
|
12
|
+
horizontal?: boolean;
|
|
13
|
+
showInput?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const ColorPicker: import("@builder.io/qwik").Component<ColorPickerProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { JSXChildren, PropsOf } from '@builder.io/qwik';
|
|
2
|
+
import type { buttonColorClasses, sizeClasses } from './Button';
|
|
3
|
+
interface DropdownProps extends Omit<PropsOf<'select'>, 'class' | 'size'> {
|
|
4
|
+
class?: {
|
|
5
|
+
[key: string]: boolean;
|
|
6
|
+
};
|
|
7
|
+
display?: JSXChildren;
|
|
8
|
+
color?: keyof typeof buttonColorClasses;
|
|
9
|
+
round?: boolean;
|
|
10
|
+
transparent?: boolean;
|
|
11
|
+
size?: keyof typeof sizeClasses;
|
|
12
|
+
hover?: boolean;
|
|
13
|
+
values?: {
|
|
14
|
+
name: JSXChildren;
|
|
15
|
+
value: string | number;
|
|
16
|
+
color?: keyof typeof buttonColorClasses;
|
|
17
|
+
}[];
|
|
18
|
+
id: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const Dropdown: import("@builder.io/qwik").Component<DropdownProps>;
|
|
21
|
+
export declare const DropdownRaw: import("@builder.io/qwik").Component<DropdownProps>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { JSXOutput, PropsOf } from '@builder.io/qwik';
|
|
2
|
+
interface HeaderProps extends Omit<PropsOf<'h2'>, 'class'> {
|
|
3
|
+
class?: {
|
|
4
|
+
[key: string]: boolean;
|
|
5
|
+
};
|
|
6
|
+
id?: string;
|
|
7
|
+
anchor?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
subheader?: string | JSXOutput;
|
|
10
|
+
}
|
|
11
|
+
export declare const Header: import("@builder.io/qwik").Component<HeaderProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { PropsOf } from '@builder.io/qwik';
|
|
2
|
+
interface NavContainerProps extends Omit<PropsOf<'nav'>, 'class'> {
|
|
3
|
+
class?: {
|
|
4
|
+
[key: string]: boolean;
|
|
5
|
+
};
|
|
6
|
+
fixed?: boolean;
|
|
7
|
+
floating?: boolean;
|
|
8
|
+
color?: keyof typeof navColorClasses;
|
|
9
|
+
}
|
|
10
|
+
export declare const navColorClasses: {
|
|
11
|
+
slate: string;
|
|
12
|
+
gray: string;
|
|
13
|
+
darkgray: string;
|
|
14
|
+
darkergray: string;
|
|
15
|
+
zinc: string;
|
|
16
|
+
neutral: string;
|
|
17
|
+
stone: string;
|
|
18
|
+
red: string;
|
|
19
|
+
orange: string;
|
|
20
|
+
amber: string;
|
|
21
|
+
yellow: string;
|
|
22
|
+
lime: string;
|
|
23
|
+
green: string;
|
|
24
|
+
emerald: string;
|
|
25
|
+
teal: string;
|
|
26
|
+
cyan: string;
|
|
27
|
+
sky: string;
|
|
28
|
+
blue: string;
|
|
29
|
+
indigo: string;
|
|
30
|
+
violet: string;
|
|
31
|
+
purple: string;
|
|
32
|
+
fuchsia: string;
|
|
33
|
+
pink: string;
|
|
34
|
+
rose: string;
|
|
35
|
+
transparent: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const Nav: import("@builder.io/qwik").Component<NavContainerProps>;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { PropsOf, QRL } from '@builder.io/qwik';
|
|
2
|
+
import { InputColorClasses } from './TextInput';
|
|
3
|
+
interface NumberInputRawProps extends Omit<(PropsOf<'input'> & {
|
|
4
|
+
type: 'number';
|
|
5
|
+
}), 'class' | 'type'> {
|
|
6
|
+
onDecrement$: QRL<(event: PointerEvent, element: HTMLButtonElement, inputElement?: HTMLInputElement) => void>;
|
|
7
|
+
onIncrement$: QRL<(event: PointerEvent, element: HTMLButtonElement, inputElement?: HTMLInputElement) => void>;
|
|
8
|
+
input?: boolean;
|
|
9
|
+
color?: keyof typeof InputColorClasses;
|
|
10
|
+
class?: {
|
|
11
|
+
[key: string]: boolean;
|
|
12
|
+
};
|
|
13
|
+
value?: number;
|
|
14
|
+
min?: number;
|
|
15
|
+
max?: number;
|
|
16
|
+
step?: number;
|
|
17
|
+
}
|
|
18
|
+
interface NumberInputProps extends Omit<NumberInputRawProps, 'children'> {
|
|
19
|
+
id: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const NumberInput: import("@builder.io/qwik").Component<NumberInputProps>;
|
|
22
|
+
export declare const NumberInputRaw: import("@builder.io/qwik").Component<NumberInputRawProps>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PropsOf } from '@builder.io/qwik';
|
|
2
|
+
import { InputColorClasses } from './TextInput';
|
|
3
|
+
export interface TextAreaRawProps extends Omit<PropsOf<'textarea'>, 'class' | 'onClick$'> {
|
|
4
|
+
class?: {
|
|
5
|
+
[key: string]: boolean;
|
|
6
|
+
};
|
|
7
|
+
color?: keyof typeof InputColorClasses;
|
|
8
|
+
output?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface TextAreaProps extends Omit<TextAreaRawProps, 'children'> {
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const TextArea: import("@builder.io/qwik").Component<TextAreaProps>;
|
|
14
|
+
export declare const TextAreaRaw: import("@builder.io/qwik").Component<TextAreaRawProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { PropsOf } from '@builder.io/qwik';
|
|
2
|
+
export interface TextInputRawProps extends Omit<(PropsOf<'input'> & {
|
|
3
|
+
type: 'text';
|
|
4
|
+
}), 'class' | 'type'> {
|
|
5
|
+
class?: {
|
|
6
|
+
[key: string]: boolean;
|
|
7
|
+
};
|
|
8
|
+
color?: keyof typeof InputColorClasses;
|
|
9
|
+
}
|
|
10
|
+
interface TextInputProps extends Omit<TextInputRawProps, 'children'> {
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const InputColorClasses: {
|
|
14
|
+
slate: string;
|
|
15
|
+
gray: string;
|
|
16
|
+
darkgray: string;
|
|
17
|
+
darkergray: string;
|
|
18
|
+
zinc: string;
|
|
19
|
+
neutral: string;
|
|
20
|
+
stone: string;
|
|
21
|
+
red: string;
|
|
22
|
+
orange: string;
|
|
23
|
+
amber: string;
|
|
24
|
+
yellow: string;
|
|
25
|
+
lime: string;
|
|
26
|
+
green: string;
|
|
27
|
+
emerald: string;
|
|
28
|
+
teal: string;
|
|
29
|
+
cyan: string;
|
|
30
|
+
sky: string;
|
|
31
|
+
blue: string;
|
|
32
|
+
indigo: string;
|
|
33
|
+
violet: string;
|
|
34
|
+
purple: string;
|
|
35
|
+
fuchsia: string;
|
|
36
|
+
pink: string;
|
|
37
|
+
rose: string;
|
|
38
|
+
transparent: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const InputClasses = "motion-safe:transition ease-in-out border text-gray-50 hover:shadow-lg focus:outline-none rounded-md px-2.5 py-1.5 touch-manipulation";
|
|
41
|
+
export declare const TextInput: import("@builder.io/qwik").Component<TextInputProps>;
|
|
42
|
+
export declare const TextInputRaw: import("@builder.io/qwik").Component<TextInputRawProps>;
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import type { JSXOutput, PropsOf } from '@builder.io/qwik';
|
|
2
|
+
interface ToggleProps extends Omit<(PropsOf<'input'> & {
|
|
3
|
+
type: 'checkbox';
|
|
4
|
+
}), 'class' | 'bind:checked' | 'type' | 'children'> {
|
|
5
|
+
class?: {
|
|
6
|
+
[key: string]: boolean;
|
|
7
|
+
};
|
|
8
|
+
checkbox?: boolean;
|
|
9
|
+
round?: boolean;
|
|
10
|
+
onColor?: keyof typeof toggleOnColorClasses;
|
|
11
|
+
offColor?: keyof typeof toggleOffColorClasses;
|
|
12
|
+
center?: boolean;
|
|
13
|
+
label?: string | JSXOutput;
|
|
14
|
+
}
|
|
15
|
+
export declare const toggleOnColorClasses: {
|
|
16
|
+
slate: {
|
|
17
|
+
checked: string;
|
|
18
|
+
checkedAfter: string;
|
|
19
|
+
};
|
|
20
|
+
gray: {
|
|
21
|
+
checked: string;
|
|
22
|
+
checkedAfter: string;
|
|
23
|
+
};
|
|
24
|
+
darkgray: {
|
|
25
|
+
checked: string;
|
|
26
|
+
checkedAfter: string;
|
|
27
|
+
};
|
|
28
|
+
darkergray: {
|
|
29
|
+
checked: string;
|
|
30
|
+
checkedAfter: string;
|
|
31
|
+
};
|
|
32
|
+
zinc: {
|
|
33
|
+
checked: string;
|
|
34
|
+
checkedAfter: string;
|
|
35
|
+
};
|
|
36
|
+
neutral: {
|
|
37
|
+
checked: string;
|
|
38
|
+
checkedAfter: string;
|
|
39
|
+
};
|
|
40
|
+
stone: {
|
|
41
|
+
checked: string;
|
|
42
|
+
checkedAfter: string;
|
|
43
|
+
};
|
|
44
|
+
red: {
|
|
45
|
+
checked: string;
|
|
46
|
+
checkedAfter: string;
|
|
47
|
+
};
|
|
48
|
+
orange: {
|
|
49
|
+
checked: string;
|
|
50
|
+
checkedAfter: string;
|
|
51
|
+
};
|
|
52
|
+
amber: {
|
|
53
|
+
checked: string;
|
|
54
|
+
checkedAfter: string;
|
|
55
|
+
};
|
|
56
|
+
yellow: {
|
|
57
|
+
checked: string;
|
|
58
|
+
checkedAfter: string;
|
|
59
|
+
};
|
|
60
|
+
lime: {
|
|
61
|
+
checked: string;
|
|
62
|
+
checkedAfter: string;
|
|
63
|
+
};
|
|
64
|
+
green: {
|
|
65
|
+
checked: string;
|
|
66
|
+
checkedAfter: string;
|
|
67
|
+
};
|
|
68
|
+
emerald: {
|
|
69
|
+
checked: string;
|
|
70
|
+
checkedAfter: string;
|
|
71
|
+
};
|
|
72
|
+
teal: {
|
|
73
|
+
checked: string;
|
|
74
|
+
checkedAfter: string;
|
|
75
|
+
};
|
|
76
|
+
cyan: {
|
|
77
|
+
checked: string;
|
|
78
|
+
checkedAfter: string;
|
|
79
|
+
};
|
|
80
|
+
sky: {
|
|
81
|
+
checked: string;
|
|
82
|
+
checkedAfter: string;
|
|
83
|
+
};
|
|
84
|
+
blue: {
|
|
85
|
+
checked: string;
|
|
86
|
+
checkedAfter: string;
|
|
87
|
+
};
|
|
88
|
+
indigo: {
|
|
89
|
+
checked: string;
|
|
90
|
+
checkedAfter: string;
|
|
91
|
+
};
|
|
92
|
+
violet: {
|
|
93
|
+
checked: string;
|
|
94
|
+
checkedAfter: string;
|
|
95
|
+
};
|
|
96
|
+
purple: {
|
|
97
|
+
checked: string;
|
|
98
|
+
checkedAfter: string;
|
|
99
|
+
};
|
|
100
|
+
fuchsia: {
|
|
101
|
+
checked: string;
|
|
102
|
+
checkedAfter: string;
|
|
103
|
+
};
|
|
104
|
+
pink: {
|
|
105
|
+
checked: string;
|
|
106
|
+
checkedAfter: string;
|
|
107
|
+
};
|
|
108
|
+
rose: {
|
|
109
|
+
checked: string;
|
|
110
|
+
checkedAfter: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
export declare const toggleOffColorClasses: {
|
|
114
|
+
slate: {
|
|
115
|
+
unchecked: string;
|
|
116
|
+
uncheckedAfter: string;
|
|
117
|
+
};
|
|
118
|
+
gray: {
|
|
119
|
+
unchecked: string;
|
|
120
|
+
uncheckedAfter: string;
|
|
121
|
+
};
|
|
122
|
+
darkgray: {
|
|
123
|
+
unchecked: string;
|
|
124
|
+
uncheckedAfter: string;
|
|
125
|
+
};
|
|
126
|
+
darkergray: {
|
|
127
|
+
unchecked: string;
|
|
128
|
+
uncheckedAfter: string;
|
|
129
|
+
};
|
|
130
|
+
zinc: {
|
|
131
|
+
unchecked: string;
|
|
132
|
+
uncheckedAfter: string;
|
|
133
|
+
};
|
|
134
|
+
neutral: {
|
|
135
|
+
unchecked: string;
|
|
136
|
+
uncheckedAfter: string;
|
|
137
|
+
};
|
|
138
|
+
stone: {
|
|
139
|
+
unchecked: string;
|
|
140
|
+
uncheckedAfter: string;
|
|
141
|
+
};
|
|
142
|
+
red: {
|
|
143
|
+
unchecked: string;
|
|
144
|
+
uncheckedAfter: string;
|
|
145
|
+
};
|
|
146
|
+
orange: {
|
|
147
|
+
unchecked: string;
|
|
148
|
+
uncheckedAfter: string;
|
|
149
|
+
};
|
|
150
|
+
amber: {
|
|
151
|
+
unchecked: string;
|
|
152
|
+
uncheckedAfter: string;
|
|
153
|
+
};
|
|
154
|
+
yellow: {
|
|
155
|
+
unchecked: string;
|
|
156
|
+
uncheckedAfter: string;
|
|
157
|
+
};
|
|
158
|
+
lime: {
|
|
159
|
+
unchecked: string;
|
|
160
|
+
uncheckedAfter: string;
|
|
161
|
+
};
|
|
162
|
+
green: {
|
|
163
|
+
unchecked: string;
|
|
164
|
+
uncheckedAfter: string;
|
|
165
|
+
};
|
|
166
|
+
emerald: {
|
|
167
|
+
unchecked: string;
|
|
168
|
+
uncheckedAfter: string;
|
|
169
|
+
};
|
|
170
|
+
teal: {
|
|
171
|
+
unchecked: string;
|
|
172
|
+
uncheckedAfter: string;
|
|
173
|
+
};
|
|
174
|
+
cyan: {
|
|
175
|
+
unchecked: string;
|
|
176
|
+
uncheckedAfter: string;
|
|
177
|
+
};
|
|
178
|
+
sky: {
|
|
179
|
+
unchecked: string;
|
|
180
|
+
uncheckedAfter: string;
|
|
181
|
+
};
|
|
182
|
+
blue: {
|
|
183
|
+
unchecked: string;
|
|
184
|
+
uncheckedAfter: string;
|
|
185
|
+
};
|
|
186
|
+
indigo: {
|
|
187
|
+
unchecked: string;
|
|
188
|
+
uncheckedAfter: string;
|
|
189
|
+
};
|
|
190
|
+
violet: {
|
|
191
|
+
unchecked: string;
|
|
192
|
+
uncheckedAfter: string;
|
|
193
|
+
};
|
|
194
|
+
purple: {
|
|
195
|
+
unchecked: string;
|
|
196
|
+
uncheckedAfter: string;
|
|
197
|
+
};
|
|
198
|
+
fuchsia: {
|
|
199
|
+
unchecked: string;
|
|
200
|
+
uncheckedAfter: string;
|
|
201
|
+
};
|
|
202
|
+
pink: {
|
|
203
|
+
unchecked: string;
|
|
204
|
+
uncheckedAfter: string;
|
|
205
|
+
};
|
|
206
|
+
rose: {
|
|
207
|
+
unchecked: string;
|
|
208
|
+
uncheckedAfter: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
export declare const Toggle: import("@builder.io/qwik").Component<ToggleProps>;
|
|
212
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './elements/Anchor';
|
|
2
|
+
export * from './elements/Blobs';
|
|
3
|
+
export * from './elements/Button';
|
|
4
|
+
export * from './elements/Card';
|
|
5
|
+
export * from './elements/ColorPicker';
|
|
6
|
+
export * from './elements/Dropdown';
|
|
7
|
+
export * from './elements/Header';
|
|
8
|
+
export * from './elements/LoadingIcon';
|
|
9
|
+
export * from './elements/Nav';
|
|
10
|
+
export * from './elements/NumberInput';
|
|
11
|
+
export * from './elements/TextArea';
|
|
12
|
+
export * from './elements/TextInput';
|
|
13
|
+
export * from './elements/Toggle';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './logos/Birdflop';
|
|
2
|
+
export * from './logos/Discord';
|
|
3
|
+
export * from './logos/Fabric';
|
|
4
|
+
export * from './logos/Forge';
|
|
5
|
+
export * from './logos/Luminescent';
|
|
6
|
+
export * from './logos/Paper';
|
|
7
|
+
export * from './logos/Pterodactyl';
|
|
8
|
+
export * from './logos/Purpur';
|
|
9
|
+
export * from './logos/Velocity';
|
|
10
|
+
export * from './logos/Waterfall';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WHAT IS THIS FILE?
|
|
3
|
+
*
|
|
4
|
+
* SSR entry point, in all cases the application is rendered outside the browser, this
|
|
5
|
+
* entry point will be the common one.
|
|
6
|
+
*
|
|
7
|
+
* - Server (express, cloudflare...)
|
|
8
|
+
* - npm run start
|
|
9
|
+
* - npm run preview
|
|
10
|
+
* - npm run build
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
import { type RenderToStreamOptions } from '@builder.io/qwik/server';
|
|
14
|
+
export default function (opts: RenderToStreamOptions): Promise<import("@builder.io/qwik/server").RenderToStreamResult>;
|
|
@@ -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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Luminescent UI library",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib-types/index.d.ts",
|
|
@@ -32,12 +32,13 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/eslint": "^8.56.10",
|
|
35
|
-
"@types/node": "^20.14.
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
37
|
-
"@typescript-eslint/parser": "^7.
|
|
35
|
+
"@types/node": "^20.14.10",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^7.16.1",
|
|
37
|
+
"@typescript-eslint/parser": "^7.16.1",
|
|
38
38
|
"eslint": "^8.57.0",
|
|
39
39
|
"fs": "0.0.1-security",
|
|
40
|
-
"postcss": "^8.4.
|
|
41
|
-
"tailwindcss": "3.4.
|
|
40
|
+
"postcss": "^8.4.39",
|
|
41
|
+
"tailwindcss": "3.4.6",
|
|
42
|
+
"typescript": "5.5.3"
|
|
42
43
|
}
|
|
43
44
|
}
|