@luminescent/ui 0.12.9 → 0.12.10
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.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const qwik = require("@builder.io/qwik");
|
|
4
4
|
const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
|
|
5
5
|
const Anchor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => /* @__PURE__ */ qwik._jsxQ("span", null, {
|
|
6
|
-
class: "block h-32 -mt-32",
|
|
6
|
+
class: "block h-32 -mt-32 pointer-events-none",
|
|
7
7
|
id: qwik._fnSignal((p0) => p0.id, [
|
|
8
8
|
props
|
|
9
9
|
], "p0.id")
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { componentQrl, inlinedQrl, _jsxQ, _fnSignal, _restProps, _jsxS, _jsxC, Slot, _jsxBranch, _wrapSignal, _IMMUTABLE, useStore, useLexicalScope, _wrapProp, useOn, useStylesQrl, useSignal } from "@builder.io/qwik";
|
|
2
2
|
import { Fragment } from "@builder.io/qwik/jsx-runtime";
|
|
3
3
|
const Anchor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => /* @__PURE__ */ _jsxQ("span", null, {
|
|
4
|
-
class: "block h-32 -mt-32",
|
|
4
|
+
class: "block h-32 -mt-32 pointer-events-none",
|
|
5
5
|
id: _fnSignal((p0) => p0.id, [
|
|
6
6
|
props
|
|
7
7
|
], "p0.id")
|
|
@@ -9,8 +9,9 @@ interface SelectInputProps extends Omit<PropsOf<'select'>, 'class' | 'size'> {
|
|
|
9
9
|
size?: keyof typeof sizeClasses;
|
|
10
10
|
id: string;
|
|
11
11
|
values: {
|
|
12
|
-
name:
|
|
12
|
+
name: JSXChildren;
|
|
13
13
|
value: string | number;
|
|
14
|
+
color?: keyof typeof buttonColorClasses;
|
|
14
15
|
}[];
|
|
15
16
|
}
|
|
16
17
|
export declare const SelectInput: import("@builder.io/qwik").Component<SelectInputProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminescent/ui",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.10",
|
|
4
4
|
"description": "Luminescent UI library",
|
|
5
5
|
"main": "./lib/index.qwik.mjs",
|
|
6
6
|
"qwik": "./lib/index.qwik.mjs",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@anuragroy/tailwindcss-animate": "^1.0.6",
|
|
44
|
-
"@builder.io/qwik": "1.
|
|
45
|
-
"@builder.io/qwik-city": "^1.
|
|
44
|
+
"@builder.io/qwik": "1.5.1",
|
|
45
|
+
"@builder.io/qwik-city": "^1.5.1",
|
|
46
46
|
"@types/eslint": "^8.56.5",
|
|
47
|
-
"@types/node": "^20.11.
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
49
|
-
"@typescript-eslint/parser": "^7.
|
|
47
|
+
"@types/node": "^20.11.25",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
49
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
50
50
|
"autoprefixer": "^10.4.18",
|
|
51
51
|
"chart.js": "^4.4.2",
|
|
52
52
|
"eslint": "^8.57.0",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"np": "^10.0.0",
|
|
55
55
|
"postcss": "^8.4.35",
|
|
56
56
|
"tailwindcss": "3.4.1",
|
|
57
|
-
"typescript": "5.
|
|
57
|
+
"typescript": "5.4.2",
|
|
58
58
|
"undici": "*",
|
|
59
|
-
"vite": "^5.1.
|
|
59
|
+
"vite": "^5.1.6",
|
|
60
60
|
"vite-tsconfig-paths": "^4.3.1"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
};
|