@keemakr/ui-sdk 1.6.0-dev-20261027055536 → 1.6.0-dev-20261027080125
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/icon.d.ts +1 -1
- package/dist/icon.js +9 -1
- package/dist/schema.d.ts +72 -0
- package/package.json +1 -1
package/dist/icon.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The icon names a heading, a section title and a button take. Each is a Lucide icon on web. */
|
|
2
|
-
export declare const UI_ICONS: readonly ["phone", "mail", "message", "calendar", "user", "building", "bot", "wrench", "note", "pencil", "stethoscope", "clipboard", "camera", "image", "check", "alert", "clock", "plus", "trash"];
|
|
2
|
+
export declare const UI_ICONS: readonly ["phone", "mail", "message", "calendar", "user", "building", "bot", "wrench", "note", "pencil", "stethoscope", "clipboard", "camera", "image", "check", "alert", "clock", "plus", "trash", "eye", "graduation-cap", "trend", "inbox", "search", "sparkles"];
|
|
3
3
|
export type UiIcon = (typeof UI_ICONS)[number];
|
|
4
4
|
/** The button fields `buttonIcon` reads. Loose, so a client whose installed SDK predates them can pass its own node. */
|
|
5
5
|
export interface IconButtonLike {
|
package/dist/icon.js
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
//
|
|
6
6
|
// It starts from the timeline's icons, so a module uses one vocabulary, and adds the glyphs a
|
|
7
7
|
// clinic screen needs to tell its parts apart at a glance: a note's five blocks (assessment,
|
|
8
|
-
// plan, photos, follow-up, alerts), an edit pencil, a camera.
|
|
8
|
+
// plan, photos, follow-up, alerts), an edit pencil, a camera. The last six head the parts of a
|
|
9
|
+
// customer success screen (Covalent CSM): monitoring, training, growth, an inbox, a search, and
|
|
10
|
+
// what the agent suggests.
|
|
9
11
|
//
|
|
10
12
|
// On a heading or a section title the icon is decorative: the words say what the part is, so it
|
|
11
13
|
// is hidden from screen readers. On an icon-only button the label is still required: it is the
|
|
@@ -24,6 +26,12 @@ export const UI_ICONS = [
|
|
|
24
26
|
'clock',
|
|
25
27
|
'plus',
|
|
26
28
|
'trash',
|
|
29
|
+
'eye',
|
|
30
|
+
'graduation-cap',
|
|
31
|
+
'trend',
|
|
32
|
+
'inbox',
|
|
33
|
+
'search',
|
|
34
|
+
'sparkles',
|
|
27
35
|
];
|
|
28
36
|
/**
|
|
29
37
|
* How a renderer draws a button's icon: `icon` is a name from the list or undefined (an unknown
|
package/dist/schema.d.ts
CHANGED
|
@@ -186,6 +186,7 @@ export declare const buttonSchema: z.ZodObject<{
|
|
|
186
186
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
187
187
|
check: "check";
|
|
188
188
|
message: "message";
|
|
189
|
+
search: "search";
|
|
189
190
|
note: "note";
|
|
190
191
|
alert: "alert";
|
|
191
192
|
phone: "phone";
|
|
@@ -203,6 +204,11 @@ export declare const buttonSchema: z.ZodObject<{
|
|
|
203
204
|
clock: "clock";
|
|
204
205
|
plus: "plus";
|
|
205
206
|
trash: "trash";
|
|
207
|
+
eye: "eye";
|
|
208
|
+
"graduation-cap": "graduation-cap";
|
|
209
|
+
trend: "trend";
|
|
210
|
+
inbox: "inbox";
|
|
211
|
+
sparkles: "sparkles";
|
|
206
212
|
}>>;
|
|
207
213
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
208
214
|
}, z.core.$strip>;
|
|
@@ -329,6 +335,7 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
329
335
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
330
336
|
check: "check";
|
|
331
337
|
message: "message";
|
|
338
|
+
search: "search";
|
|
332
339
|
note: "note";
|
|
333
340
|
alert: "alert";
|
|
334
341
|
phone: "phone";
|
|
@@ -346,6 +353,11 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
346
353
|
clock: "clock";
|
|
347
354
|
plus: "plus";
|
|
348
355
|
trash: "trash";
|
|
356
|
+
eye: "eye";
|
|
357
|
+
"graduation-cap": "graduation-cap";
|
|
358
|
+
trend: "trend";
|
|
359
|
+
inbox: "inbox";
|
|
360
|
+
sparkles: "sparkles";
|
|
349
361
|
}>>;
|
|
350
362
|
}, z.core.$strip>, z.ZodObject<{
|
|
351
363
|
type: z.ZodLiteral<"text">;
|
|
@@ -458,6 +470,7 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
458
470
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
459
471
|
check: "check";
|
|
460
472
|
message: "message";
|
|
473
|
+
search: "search";
|
|
461
474
|
note: "note";
|
|
462
475
|
alert: "alert";
|
|
463
476
|
phone: "phone";
|
|
@@ -475,6 +488,11 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
475
488
|
clock: "clock";
|
|
476
489
|
plus: "plus";
|
|
477
490
|
trash: "trash";
|
|
491
|
+
eye: "eye";
|
|
492
|
+
"graduation-cap": "graduation-cap";
|
|
493
|
+
trend: "trend";
|
|
494
|
+
inbox: "inbox";
|
|
495
|
+
sparkles: "sparkles";
|
|
478
496
|
}>>;
|
|
479
497
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
480
498
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -687,6 +705,7 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
687
705
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
688
706
|
check: "check";
|
|
689
707
|
message: "message";
|
|
708
|
+
search: "search";
|
|
690
709
|
note: "note";
|
|
691
710
|
alert: "alert";
|
|
692
711
|
phone: "phone";
|
|
@@ -704,6 +723,11 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
704
723
|
clock: "clock";
|
|
705
724
|
plus: "plus";
|
|
706
725
|
trash: "trash";
|
|
726
|
+
eye: "eye";
|
|
727
|
+
"graduation-cap": "graduation-cap";
|
|
728
|
+
trend: "trend";
|
|
729
|
+
inbox: "inbox";
|
|
730
|
+
sparkles: "sparkles";
|
|
707
731
|
}>>;
|
|
708
732
|
}, z.core.$strip>, z.ZodObject<{
|
|
709
733
|
type: z.ZodLiteral<"text">;
|
|
@@ -816,6 +840,7 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
816
840
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
817
841
|
check: "check";
|
|
818
842
|
message: "message";
|
|
843
|
+
search: "search";
|
|
819
844
|
note: "note";
|
|
820
845
|
alert: "alert";
|
|
821
846
|
phone: "phone";
|
|
@@ -833,6 +858,11 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
833
858
|
clock: "clock";
|
|
834
859
|
plus: "plus";
|
|
835
860
|
trash: "trash";
|
|
861
|
+
eye: "eye";
|
|
862
|
+
"graduation-cap": "graduation-cap";
|
|
863
|
+
trend: "trend";
|
|
864
|
+
inbox: "inbox";
|
|
865
|
+
sparkles: "sparkles";
|
|
836
866
|
}>>;
|
|
837
867
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
838
868
|
}, z.core.$strip>], "type">>;
|
|
@@ -873,6 +903,7 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
873
903
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
874
904
|
check: "check";
|
|
875
905
|
message: "message";
|
|
906
|
+
search: "search";
|
|
876
907
|
note: "note";
|
|
877
908
|
alert: "alert";
|
|
878
909
|
phone: "phone";
|
|
@@ -890,6 +921,11 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
890
921
|
clock: "clock";
|
|
891
922
|
plus: "plus";
|
|
892
923
|
trash: "trash";
|
|
924
|
+
eye: "eye";
|
|
925
|
+
"graduation-cap": "graduation-cap";
|
|
926
|
+
trend: "trend";
|
|
927
|
+
inbox: "inbox";
|
|
928
|
+
sparkles: "sparkles";
|
|
893
929
|
}>>;
|
|
894
930
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
895
931
|
}, z.core.$strip>>>;
|
|
@@ -1170,6 +1206,7 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1170
1206
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1171
1207
|
check: "check";
|
|
1172
1208
|
message: "message";
|
|
1209
|
+
search: "search";
|
|
1173
1210
|
note: "note";
|
|
1174
1211
|
alert: "alert";
|
|
1175
1212
|
phone: "phone";
|
|
@@ -1187,6 +1224,11 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1187
1224
|
clock: "clock";
|
|
1188
1225
|
plus: "plus";
|
|
1189
1226
|
trash: "trash";
|
|
1227
|
+
eye: "eye";
|
|
1228
|
+
"graduation-cap": "graduation-cap";
|
|
1229
|
+
trend: "trend";
|
|
1230
|
+
inbox: "inbox";
|
|
1231
|
+
sparkles: "sparkles";
|
|
1190
1232
|
}>>;
|
|
1191
1233
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1192
1234
|
}, z.core.$strip>>;
|
|
@@ -1661,6 +1703,7 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1661
1703
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1662
1704
|
check: "check";
|
|
1663
1705
|
message: "message";
|
|
1706
|
+
search: "search";
|
|
1664
1707
|
note: "note";
|
|
1665
1708
|
alert: "alert";
|
|
1666
1709
|
phone: "phone";
|
|
@@ -1678,6 +1721,11 @@ declare const leafNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1678
1721
|
clock: "clock";
|
|
1679
1722
|
plus: "plus";
|
|
1680
1723
|
trash: "trash";
|
|
1724
|
+
eye: "eye";
|
|
1725
|
+
"graduation-cap": "graduation-cap";
|
|
1726
|
+
trend: "trend";
|
|
1727
|
+
inbox: "inbox";
|
|
1728
|
+
sparkles: "sparkles";
|
|
1681
1729
|
}>>;
|
|
1682
1730
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1683
1731
|
}, z.core.$strip>>>;
|
|
@@ -2041,6 +2089,7 @@ export declare const screenTreeSchema: z.ZodObject<{
|
|
|
2041
2089
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
2042
2090
|
check: "check";
|
|
2043
2091
|
message: "message";
|
|
2092
|
+
search: "search";
|
|
2044
2093
|
note: "note";
|
|
2045
2094
|
alert: "alert";
|
|
2046
2095
|
phone: "phone";
|
|
@@ -2058,6 +2107,11 @@ export declare const screenTreeSchema: z.ZodObject<{
|
|
|
2058
2107
|
clock: "clock";
|
|
2059
2108
|
plus: "plus";
|
|
2060
2109
|
trash: "trash";
|
|
2110
|
+
eye: "eye";
|
|
2111
|
+
"graduation-cap": "graduation-cap";
|
|
2112
|
+
trend: "trend";
|
|
2113
|
+
inbox: "inbox";
|
|
2114
|
+
sparkles: "sparkles";
|
|
2061
2115
|
}>>;
|
|
2062
2116
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2063
2117
|
}, z.core.$strip>>>;
|
|
@@ -2259,6 +2313,7 @@ export declare const actionResultSchema: z.ZodObject<{
|
|
|
2259
2313
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
2260
2314
|
check: "check";
|
|
2261
2315
|
message: "message";
|
|
2316
|
+
search: "search";
|
|
2262
2317
|
note: "note";
|
|
2263
2318
|
alert: "alert";
|
|
2264
2319
|
phone: "phone";
|
|
@@ -2276,6 +2331,11 @@ export declare const actionResultSchema: z.ZodObject<{
|
|
|
2276
2331
|
clock: "clock";
|
|
2277
2332
|
plus: "plus";
|
|
2278
2333
|
trash: "trash";
|
|
2334
|
+
eye: "eye";
|
|
2335
|
+
"graduation-cap": "graduation-cap";
|
|
2336
|
+
trend: "trend";
|
|
2337
|
+
inbox: "inbox";
|
|
2338
|
+
sparkles: "sparkles";
|
|
2279
2339
|
}>>;
|
|
2280
2340
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2281
2341
|
}, z.core.$strip>>>;
|
|
@@ -2470,6 +2530,7 @@ export declare const jobStatusSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2470
2530
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
2471
2531
|
check: "check";
|
|
2472
2532
|
message: "message";
|
|
2533
|
+
search: "search";
|
|
2473
2534
|
note: "note";
|
|
2474
2535
|
alert: "alert";
|
|
2475
2536
|
phone: "phone";
|
|
@@ -2487,6 +2548,11 @@ export declare const jobStatusSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2487
2548
|
clock: "clock";
|
|
2488
2549
|
plus: "plus";
|
|
2489
2550
|
trash: "trash";
|
|
2551
|
+
eye: "eye";
|
|
2552
|
+
"graduation-cap": "graduation-cap";
|
|
2553
|
+
trend: "trend";
|
|
2554
|
+
inbox: "inbox";
|
|
2555
|
+
sparkles: "sparkles";
|
|
2490
2556
|
}>>;
|
|
2491
2557
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2492
2558
|
}, z.core.$strip>>>;
|
|
@@ -2671,6 +2737,7 @@ export declare const screenLoadResponseSchema: z.ZodObject<{
|
|
|
2671
2737
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
2672
2738
|
check: "check";
|
|
2673
2739
|
message: "message";
|
|
2740
|
+
search: "search";
|
|
2674
2741
|
note: "note";
|
|
2675
2742
|
alert: "alert";
|
|
2676
2743
|
phone: "phone";
|
|
@@ -2688,6 +2755,11 @@ export declare const screenLoadResponseSchema: z.ZodObject<{
|
|
|
2688
2755
|
clock: "clock";
|
|
2689
2756
|
plus: "plus";
|
|
2690
2757
|
trash: "trash";
|
|
2758
|
+
eye: "eye";
|
|
2759
|
+
"graduation-cap": "graduation-cap";
|
|
2760
|
+
trend: "trend";
|
|
2761
|
+
inbox: "inbox";
|
|
2762
|
+
sparkles: "sparkles";
|
|
2691
2763
|
}>>;
|
|
2692
2764
|
iconOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2693
2765
|
}, z.core.$strip>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keemakr/ui-sdk",
|
|
3
|
-
"version": "1.6.0-dev-
|
|
3
|
+
"version": "1.6.0-dev-20261027080125",
|
|
4
4
|
"description": "Product screens for keemakr marketplace modules: a versioned, server-driven UI tree schema plus defineScreen() handlers. Module code never ships to the browser — keemakr-core validates the tree and renders it with platform components.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|