@camstack/ui-library 1.2.258 → 1.2.260
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/composites/device-list/index.d.ts +1 -0
- package/dist/composites/index.d.ts +8 -0
- package/dist/composites/node-color.d.ts +4 -0
- package/dist/composites/provider-entries/AddProviderEntryDialog.d.ts +28 -0
- package/dist/composites/provider-entries/ProviderEntryPills.d.ts +19 -0
- package/dist/composites/provider-entries/index.d.ts +2 -0
- package/dist/composites/role-node-pill.d.ts +14 -0
- package/dist/composites/training/TrainingBaseModelPicker.d.ts +30 -0
- package/dist/composites/training/root-detector-placements.d.ts +50 -0
- package/dist/generated/system-hooks.d.ts +8 -20
- package/dist/index.cjs +525 -44
- package/dist/index.js +509 -36
- package/dist/primitives/popover.d.ts +7 -1
- package/package.json +1 -1
- package/src/tailwind/camstack-theme.css +34 -0
|
@@ -6,5 +6,11 @@ interface PopoverProps {
|
|
|
6
6
|
}
|
|
7
7
|
export declare function Popover({ children, open: controlledOpen, onOpenChange }: PopoverProps): JSX.Element | null;
|
|
8
8
|
export declare function PopoverTrigger({ children, ...props }: ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element | null;
|
|
9
|
-
|
|
9
|
+
interface PopoverContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/** Horizontal alignment relative to the trigger. Default: 'start' (left-aligned). */
|
|
11
|
+
align?: "start" | "end";
|
|
12
|
+
/** Pixel offset between trigger and content. Default: 4. */
|
|
13
|
+
offset?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare function PopoverContent({ className, children, align, offset, ...props }: PopoverContentProps): JSX.Element | null;
|
|
10
16
|
export {};
|
package/package.json
CHANGED
|
@@ -31,6 +31,16 @@
|
|
|
31
31
|
--color-chart-series-a: #3987e5;
|
|
32
32
|
--color-chart-series-b: #d55181;
|
|
33
33
|
|
|
34
|
+
/* Cluster node identity (Nodes UI) */
|
|
35
|
+
--color-node-a: #3987e5;
|
|
36
|
+
--color-node-b: #d55181;
|
|
37
|
+
--color-node-c: #4ade80;
|
|
38
|
+
--color-node-d: #fbbf24;
|
|
39
|
+
--color-node-e: #a855f7;
|
|
40
|
+
--color-node-f: #06b6d4;
|
|
41
|
+
--color-node-g: #f59e42;
|
|
42
|
+
--color-node-h: #78716c;
|
|
43
|
+
|
|
34
44
|
/* Border radius */
|
|
35
45
|
--radius-sm: 4px;
|
|
36
46
|
--radius-md: 6px;
|
|
@@ -71,6 +81,14 @@
|
|
|
71
81
|
--color-info: #60a5fa;
|
|
72
82
|
--color-chart-series-a: #3987e5;
|
|
73
83
|
--color-chart-series-b: #d55181;
|
|
84
|
+
--color-node-a: #3987e5;
|
|
85
|
+
--color-node-b: #d55181;
|
|
86
|
+
--color-node-c: #4ade80;
|
|
87
|
+
--color-node-d: #fbbf24;
|
|
88
|
+
--color-node-e: #a855f7;
|
|
89
|
+
--color-node-f: #06b6d4;
|
|
90
|
+
--color-node-g: #f59e42;
|
|
91
|
+
--color-node-h: #78716c;
|
|
74
92
|
}
|
|
75
93
|
|
|
76
94
|
/* Light theme */
|
|
@@ -94,6 +112,14 @@
|
|
|
94
112
|
--color-info: #2563eb;
|
|
95
113
|
--color-chart-series-a: #2a78d6;
|
|
96
114
|
--color-chart-series-b: #e87ba4;
|
|
115
|
+
--color-node-a: #2a78d6;
|
|
116
|
+
--color-node-b: #e87ba4;
|
|
117
|
+
--color-node-c: #16a34a;
|
|
118
|
+
--color-node-d: #d97706;
|
|
119
|
+
--color-node-e: #9333ea;
|
|
120
|
+
--color-node-f: #0891b2;
|
|
121
|
+
--color-node-g: #e67e22;
|
|
122
|
+
--color-node-h: #57534e;
|
|
97
123
|
}
|
|
98
124
|
|
|
99
125
|
/* System preference fallback (when no .dark/.light class is set) */
|
|
@@ -118,5 +144,13 @@
|
|
|
118
144
|
--color-info: #2563eb;
|
|
119
145
|
--color-chart-series-a: #2a78d6;
|
|
120
146
|
--color-chart-series-b: #e87ba4;
|
|
147
|
+
--color-node-a: #2a78d6;
|
|
148
|
+
--color-node-b: #e87ba4;
|
|
149
|
+
--color-node-c: #16a34a;
|
|
150
|
+
--color-node-d: #d97706;
|
|
151
|
+
--color-node-e: #9333ea;
|
|
152
|
+
--color-node-f: #0891b2;
|
|
153
|
+
--color-node-g: #e67e22;
|
|
154
|
+
--color-node-h: #57534e;
|
|
121
155
|
}
|
|
122
156
|
}
|