@glasshome/ui 0.2.7 → 0.3.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.
- package/README.md +2 -2
- package/dist/solid/badge.d.ts +2 -2
- package/dist/solid/breadcrumb.d.ts +2 -2
- package/dist/solid/button-group.d.ts +2 -2
- package/dist/solid/color-slider.d.ts +14 -0
- package/dist/solid/color-wheel.d.ts +17 -0
- package/dist/solid/entity-selector.d.ts +3 -0
- package/dist/solid/index.d.ts +5 -2
- package/dist/solid/index.js +11821 -10152
- package/dist/solid/item.d.ts +3 -3
- package/dist/solid/select.d.ts +2 -2
- package/package.json +79 -79
- package/src/styles/theme.css +280 -272
package/dist/solid/item.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from "cva";
|
|
2
|
-
import { type Component, type ComponentProps } from "solid-js";
|
|
2
|
+
import { type Component, type ComponentProps, type ValidComponent } from "solid-js";
|
|
3
3
|
import { Separator } from "./separator";
|
|
4
|
-
declare const ItemGroup: Component<ComponentProps<"
|
|
4
|
+
declare const ItemGroup: Component<ComponentProps<"ul">>;
|
|
5
5
|
declare const ItemSeparator: Component<ComponentProps<typeof Separator>>;
|
|
6
6
|
declare const itemVariants: (props?: ({
|
|
7
7
|
variant?: "default" | "outline" | "muted" | undefined;
|
|
@@ -14,7 +14,7 @@ declare const itemVariants: (props?: ({
|
|
|
14
14
|
className?: import("cva").ClassValue;
|
|
15
15
|
})) | undefined) => string;
|
|
16
16
|
declare const Item: Component<ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
17
|
-
component?:
|
|
17
|
+
component?: ValidComponent;
|
|
18
18
|
}>;
|
|
19
19
|
declare const itemMediaVariants: (props?: ({
|
|
20
20
|
variant?: "image" | "default" | "icon" | undefined;
|
package/dist/solid/select.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { type Component, type ComponentProps, type ParentComponent } from "solid
|
|
|
3
3
|
declare const Select: typeof import("@kobalte/core/select").Root & {
|
|
4
4
|
Arrow: typeof import("@kobalte/core/popover").Arrow;
|
|
5
5
|
Content: typeof import("@kobalte/core/select").Content;
|
|
6
|
-
Description: typeof import("@kobalte/core/
|
|
7
|
-
ErrorMessage: typeof import("@kobalte/core/
|
|
6
|
+
Description: typeof import("@kobalte/core/color-slider").Description;
|
|
7
|
+
ErrorMessage: typeof import("@kobalte/core/color-slider").ErrorMessage;
|
|
8
8
|
HiddenSelect: typeof import("@kobalte/core/select").HiddenSelect;
|
|
9
9
|
Icon: typeof import("@kobalte/core/select").Icon;
|
|
10
10
|
Item: typeof import("@kobalte/core/select").Item;
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
2
|
+
"name": "@glasshome/ui",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "SolidJS component library for GlassHome, built on Kobalte",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"homepage": "https://github.com/glasshome/ui#readme",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/glasshome/ui/issues"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=18"
|
|
17
|
+
},
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"keywords": [
|
|
20
|
+
"solidjs",
|
|
21
|
+
"components",
|
|
22
|
+
"kobalte",
|
|
23
|
+
"ui",
|
|
24
|
+
"home-assistant",
|
|
25
|
+
"smart-home",
|
|
26
|
+
"tailwindcss",
|
|
27
|
+
"glasshome"
|
|
28
|
+
],
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"@glasshome/source": "./src/index.ts",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./solid": {
|
|
36
|
+
"@glasshome/source": "./src/solid/index.ts",
|
|
37
|
+
"types": "./dist/solid/index.d.ts",
|
|
38
|
+
"import": "./dist/solid/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./styles": "./src/styles/globals.css",
|
|
41
|
+
"./package.json": "./package.json",
|
|
42
|
+
"./styles/theme": "./src/styles/theme.css"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist",
|
|
46
|
+
"src/styles"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "vite build && tsc",
|
|
50
|
+
"dev": "vite build --watch"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@glasshome/sync-layer": ">=0.1.0",
|
|
54
|
+
"solid-js": "^1.9.9"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@iconify-icon/solid": "^3.0.3",
|
|
58
|
+
"@kobalte/core": "^0.13.11",
|
|
59
|
+
"clsx": "^2.1.1",
|
|
60
|
+
"cva": "^1.0.0-beta.4",
|
|
61
|
+
"embla-carousel": "^8.5.1",
|
|
62
|
+
"lucide-solid": "^0.544.0",
|
|
63
|
+
"solid-sonner": "^0.3.1",
|
|
64
|
+
"tailwind-merge": "^3.4.0",
|
|
65
|
+
"tailwindcss": "^4.1.13",
|
|
66
|
+
"tw-animate-css": "^1.4.0"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@types/json-schema": "^7.0.15",
|
|
70
|
+
"@types/node": "^25.2.2",
|
|
71
|
+
"typescript": "^5",
|
|
72
|
+
"vite": "^7.3.1",
|
|
73
|
+
"vite-plugin-solid": "^2.11.10"
|
|
74
|
+
},
|
|
75
|
+
"repository": {
|
|
76
|
+
"type": "git",
|
|
77
|
+
"url": "https://github.com/glasshome/ui.git"
|
|
78
|
+
},
|
|
79
|
+
"author": "GlassHome Labs",
|
|
80
|
+
"license": "MIT"
|
|
81
81
|
}
|