@glasshome/ui 0.1.1 → 0.2.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/dist/solid/area-picker.d.ts +9 -0
- package/dist/solid/context-menu.d.ts +1 -1
- package/dist/solid/dropdown-menu.d.ts +1 -1
- package/dist/solid/entity-selector.d.ts +8 -0
- package/dist/solid/hover-card.d.ts +1 -1
- package/dist/solid/index.d.ts +3 -0
- package/dist/solid/index.js +12073 -9863
- package/dist/solid/popover.d.ts +1 -1
- package/dist/solid/schema-form.d.ts +9 -0
- package/dist/solid/select.d.ts +4 -2
- package/dist/solid/sonner.d.ts +1 -1
- package/dist/solid/tooltip.d.ts +1 -1
- package/package.json +4 -1
- package/src/styles/globals.css +8 -0
package/dist/solid/popover.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Popover as PopoverPrimitive } from "@kobalte/core/popover";
|
|
|
2
2
|
import { type Component, type ComponentProps } from "solid-js";
|
|
3
3
|
declare const Popover: typeof import("@kobalte/core/popover").Root & {
|
|
4
4
|
Anchor: typeof import("@kobalte/core/popover").Anchor;
|
|
5
|
-
Arrow: typeof import("@kobalte/core/
|
|
5
|
+
Arrow: typeof import("@kobalte/core/popover").Arrow;
|
|
6
6
|
CloseButton: typeof import("@kobalte/core/popover").CloseButton;
|
|
7
7
|
Content: typeof import("@kobalte/core/popover").Content;
|
|
8
8
|
Description: typeof import("@kobalte/core/popover").Description;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { JSONSchema7 } from "json-schema";
|
|
2
|
+
interface SchemaFormProps {
|
|
3
|
+
schema: JSONSchema7;
|
|
4
|
+
data: Record<string, unknown>;
|
|
5
|
+
onChange: (data: Record<string, unknown>) => void;
|
|
6
|
+
errors?: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare function SchemaForm(props: SchemaFormProps): import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
package/dist/solid/select.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Select as SelectPrimitive } from "@kobalte/core/select";
|
|
2
2
|
import { type Component, type ComponentProps, type ParentComponent } from "solid-js";
|
|
3
3
|
declare const Select: typeof import("@kobalte/core/select").Root & {
|
|
4
|
-
Arrow: typeof import("@kobalte/core/
|
|
4
|
+
Arrow: typeof import("@kobalte/core/popover").Arrow;
|
|
5
5
|
Content: typeof import("@kobalte/core/select").Content;
|
|
6
6
|
Description: typeof import("@kobalte/core/radio-group").Description;
|
|
7
7
|
ErrorMessage: typeof import("@kobalte/core/radio-group").ErrorMessage;
|
|
@@ -22,7 +22,9 @@ declare const SelectValue: typeof import("@kobalte/core/select").Value;
|
|
|
22
22
|
declare const SelectTrigger: ParentComponent<ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
23
23
|
size?: "sm" | "default";
|
|
24
24
|
}>;
|
|
25
|
-
declare const SelectContent: ParentComponent<ComponentProps<typeof SelectPrimitive.Content
|
|
25
|
+
declare const SelectContent: ParentComponent<ComponentProps<typeof SelectPrimitive.Content> & {
|
|
26
|
+
listboxClass?: string;
|
|
27
|
+
}>;
|
|
26
28
|
declare const SelectLabel: Component<ComponentProps<typeof SelectPrimitive.Label>>;
|
|
27
29
|
declare const SelectItem: ParentComponent<ComponentProps<typeof SelectPrimitive.Item>>;
|
|
28
30
|
declare const SelectGroup: Component<ComponentProps<"div">>;
|
package/dist/solid/sonner.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Component, type ComponentProps } from "solid-js";
|
|
2
2
|
import { Toaster as SolidSonner } from "solid-sonner";
|
|
3
3
|
declare const Toaster: Component<ComponentProps<typeof SolidSonner>>;
|
|
4
4
|
export { toast } from "solid-sonner";
|
package/dist/solid/tooltip.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tooltip as TooltipPrimitive } from "@kobalte/core/tooltip";
|
|
2
2
|
import { type Component, type ComponentProps } from "solid-js";
|
|
3
3
|
declare const Tooltip: typeof import("@kobalte/core/tooltip").Root & {
|
|
4
|
-
Arrow: typeof import("@kobalte/core/
|
|
4
|
+
Arrow: typeof import("@kobalte/core/popover").Arrow;
|
|
5
5
|
Content: typeof import("@kobalte/core/tooltip").Content;
|
|
6
6
|
Portal: typeof import("@kobalte/core/tooltip").Portal;
|
|
7
7
|
Trigger: typeof import("@kobalte/core/tooltip").Trigger;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glasshome/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "SolidJS component library for GlassHome, built on Kobalte",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,9 +49,11 @@
|
|
|
49
49
|
"dev": "vite build --watch"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
+
"@glasshome/sync-layer": ">=0.1.0",
|
|
52
53
|
"solid-js": "^1.9.9"
|
|
53
54
|
},
|
|
54
55
|
"dependencies": {
|
|
56
|
+
"@iconify-icon/solid": "^3.0.3",
|
|
55
57
|
"@kobalte/core": "^0.13.11",
|
|
56
58
|
"clsx": "^2.1.1",
|
|
57
59
|
"cva": "^1.0.0-beta.4",
|
|
@@ -63,6 +65,7 @@
|
|
|
63
65
|
"tw-animate-css": "^1.4.0"
|
|
64
66
|
},
|
|
65
67
|
"devDependencies": {
|
|
68
|
+
"@types/json-schema": "^7.0.15",
|
|
66
69
|
"@types/node": "^25.2.2",
|
|
67
70
|
"typescript": "^5",
|
|
68
71
|
"vite": "^7.3.1",
|
package/src/styles/globals.css
CHANGED
|
@@ -409,3 +409,11 @@
|
|
|
409
409
|
animation: none !important;
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
+
|
|
413
|
+
/* Performance: disable all backdrop-filter when reduce-blur is active */
|
|
414
|
+
.reduce-blur,
|
|
415
|
+
.reduce-blur * {
|
|
416
|
+
--tw-backdrop-blur: initial !important;
|
|
417
|
+
backdrop-filter: none !important;
|
|
418
|
+
-webkit-backdrop-filter: none !important;
|
|
419
|
+
}
|