@arkitektio/bsx 6.9.0 → 7.0.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/bsx/infer.d.ts.map +1 -1
- package/dist/bsx/infer.js +4 -2
- package/dist/bsx/infer.js.map +1 -1
- package/dist/bsx/language.d.ts.map +1 -1
- package/dist/bsx/language.js +14 -10
- package/dist/bsx/language.js.map +1 -1
- package/dist/bsx/references.d.ts.map +1 -1
- package/dist/bsx/references.js +94 -35
- package/dist/bsx/references.js.map +1 -1
- package/dist/catalogs/index.d.ts +191 -98
- package/dist/catalogs/index.d.ts.map +1 -1
- package/dist/catalogs/parts/data.d.ts +2 -2
- package/dist/catalogs/parts/data.d.ts.map +1 -1
- package/dist/catalogs/parts/data.js +2 -3
- package/dist/catalogs/parts/data.js.map +1 -1
- package/dist/catalogs/parts/feedback.d.ts +6 -6
- package/dist/catalogs/parts/forms.d.ts +8 -8
- package/dist/catalogs/parts/icons.d.ts +4 -4
- package/dist/catalogs/parts/index.d.ts +48 -48
- package/dist/catalogs/parts/navigation.d.ts +8 -8
- package/dist/catalogs/parts/overlays.d.ts +22 -22
- package/dist/catalogs/parts/run.d.ts.map +1 -1
- package/dist/catalogs/parts/run.js +4 -5
- package/dist/catalogs/parts/run.js.map +1 -1
- package/dist/catalogs/parts/scene.d.ts.map +1 -1
- package/dist/catalogs/parts/scene.js +7 -14
- package/dist/catalogs/parts/scene.js.map +1 -1
- package/dist/catalogs/parts/structure.d.ts.map +1 -1
- package/dist/catalogs/parts/structure.js +2 -3
- package/dist/catalogs/parts/structure.js.map +1 -1
- package/dist/catalogs/parts/toast.d.ts.map +1 -1
- package/dist/catalogs/parts/toast.js +2 -1
- package/dist/catalogs/parts/toast.js.map +1 -1
- package/dist/catalogs/props.d.ts +23 -0
- package/dist/catalogs/props.d.ts.map +1 -1
- package/dist/catalogs/props.js +56 -4
- package/dist/catalogs/props.js.map +1 -1
- package/dist/catalogs/scene.d.ts +134 -127
- package/dist/catalogs/scene.d.ts.map +1 -1
- package/dist/catalogs/scene.js +5 -3
- package/dist/catalogs/scene.js.map +1 -1
- package/dist/catalogs/shadcn.d.ts +79 -41
- package/dist/catalogs/shadcn.d.ts.map +1 -1
- package/dist/catalogs/shadcn.js +13 -13
- package/dist/catalogs/shadcn.js.map +1 -1
- package/dist/catalogs/structure.d.ts +9 -2
- package/dist/catalogs/structure.d.ts.map +1 -1
- package/dist/catalogs/structure.js +1 -1
- package/dist/catalogs/structure.js.map +1 -1
- package/dist/catalogs/ui.d.ts +935 -892
- package/dist/catalogs/ui.d.ts.map +1 -1
- package/dist/catalogs/ui.js +16 -14
- package/dist/catalogs/ui.js.map +1 -1
- package/dist/catalogs/zodToPort.d.ts +9 -0
- package/dist/catalogs/zodToPort.d.ts.map +1 -0
- package/dist/catalogs/zodToPort.js +156 -0
- package/dist/catalogs/zodToPort.js.map +1 -0
- package/dist/catalogs.d.ts +4 -1
- package/dist/catalogs.d.ts.map +1 -1
- package/dist/catalogs.js +3 -0
- package/dist/catalogs.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/ports/rekuest.d.ts +6 -0
- package/dist/ports/rekuest.d.ts.map +1 -1
- package/dist/ports/rekuest.js +6 -0
- package/dist/ports/rekuest.js.map +1 -1
- package/dist/renderer/bloks/data.d.ts +2 -2
- package/dist/renderer/bloks/feedback.d.ts +6 -6
- package/dist/renderer/bloks/forms.d.ts +8 -8
- package/dist/renderer/bloks/icons.d.ts +2 -2
- package/dist/renderer/bloks/index.d.ts +48 -48
- package/dist/renderer/bloks/navigation.d.ts +8 -8
- package/dist/renderer/bloks/overlays.d.ts +22 -22
- package/dist/renderer/runtime/components.d.ts +6 -8
- package/dist/renderer/runtime/components.d.ts.map +1 -1
- package/dist/renderer/runtime/components.js.map +1 -1
- package/dist/renderer/runtime/describe.d.ts +5 -12
- package/dist/renderer/runtime/describe.d.ts.map +1 -1
- package/dist/renderer/runtime/describe.js +25 -89
- package/dist/renderer/runtime/describe.js.map +1 -1
- package/dist/renderer/runtime/hooks.d.ts.map +1 -1
- package/dist/renderer/runtime/hooks.js +3 -1
- package/dist/renderer/runtime/hooks.js.map +1 -1
- package/dist/renderer/runtime/schemas.d.ts +8 -6
- package/dist/renderer/runtime/schemas.d.ts.map +1 -1
- package/dist/renderer/runtime/schemas.js +40 -16
- package/dist/renderer/runtime/schemas.js.map +1 -1
- package/dist/shadcn.d.ts +48 -48
- package/dist/spec/bsx_v2.json +917 -15
- package/dist/spec/catalogs/base@4.json +18712 -5274
- package/dist/spec/catalogs/base@4.json.js +18712 -5274
- package/dist/spec/catalogs/orkestrator@1.json +532 -126
- package/dist/spec/catalogs/orkestrator@1.json.js +532 -126
- package/dist/spec/catalogs.d.ts +3 -11
- package/dist/spec/catalogs.d.ts.map +1 -1
- package/dist/spec/catalogs.js +13 -11
- package/dist/spec/catalogs.js.map +1 -1
- package/dist/spec/fit.d.ts +21 -0
- package/dist/spec/fit.d.ts.map +1 -0
- package/dist/spec/fit.js +114 -0
- package/dist/spec/fit.js.map +1 -0
- package/dist/spec/ports.d.ts +56 -0
- package/dist/spec/ports.d.ts.map +1 -0
- package/dist/spec/ports.js +174 -0
- package/dist/spec/ports.js.map +1 -0
- package/dist/spec/vocabulary.json +7 -5
- package/dist/spec/vocabulary.json.js +7 -5
- package/package.json +1 -1
- package/src/bsx/infer.test.ts +1 -1
- package/src/bsx/infer.ts +4 -2
- package/src/bsx/language.ts +13 -9
- package/src/bsx/references.ts +125 -38
- package/src/catalogs/parts/data.ts +3 -2
- package/src/catalogs/parts/run.ts +9 -7
- package/src/catalogs/parts/scene.ts +7 -14
- package/src/catalogs/parts/structure.ts +2 -3
- package/src/catalogs/parts/toast.ts +5 -1
- package/src/catalogs/props.ts +64 -4
- package/src/catalogs/scene.ts +5 -3
- package/src/catalogs/shadcn.ts +13 -13
- package/src/catalogs/structure.ts +1 -1
- package/src/catalogs/ui.ts +16 -14
- package/src/catalogs/zodToPort.test.ts +96 -0
- package/src/catalogs/zodToPort.ts +177 -0
- package/src/catalogs.ts +4 -1
- package/src/index.ts +2 -0
- package/src/ports/rekuest.ts +6 -0
- package/src/renderer/runtime/catalog.test.ts +12 -8
- package/src/renderer/runtime/components.tsx +5 -8
- package/src/renderer/runtime/describe.ts +25 -100
- package/src/renderer/runtime/hooks.ts +3 -1
- package/src/renderer/runtime/schemas.ts +51 -17
- package/src/spec/bsx_v2.json +917 -15
- package/src/spec/catalogs/base@4.json +18712 -5274
- package/src/spec/catalogs/orkestrator@1.json +532 -126
- package/src/spec/catalogs.ts +14 -19
- package/src/spec/fit.test.ts +65 -0
- package/src/spec/fit.ts +114 -0
- package/src/spec/ports.ts +172 -0
- package/src/spec/spec.test.ts +5 -2
- package/src/spec/vocabulary.json +7 -5
|
@@ -4,7 +4,9 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
4
4
|
readonly events: {
|
|
5
5
|
readonly onOpenChange: readonly [{
|
|
6
6
|
readonly key: "value";
|
|
7
|
-
readonly
|
|
7
|
+
readonly port: {
|
|
8
|
+
readonly kind: "BOOL";
|
|
9
|
+
};
|
|
8
10
|
readonly description: "Whether it is open now.";
|
|
9
11
|
}];
|
|
10
12
|
};
|
|
@@ -90,13 +92,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
90
92
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
91
93
|
key: "key";
|
|
92
94
|
info: "info";
|
|
95
|
+
map: "map";
|
|
96
|
+
filter: "filter";
|
|
93
97
|
list: "list";
|
|
94
98
|
message: "message";
|
|
95
99
|
pause: "pause";
|
|
96
100
|
user: "user";
|
|
97
101
|
code: "code";
|
|
98
|
-
map: "map";
|
|
99
|
-
filter: "filter";
|
|
100
102
|
x: "x";
|
|
101
103
|
search: "search";
|
|
102
104
|
file: "file";
|
|
@@ -455,12 +457,16 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
455
457
|
readonly events: {
|
|
456
458
|
readonly onChange: readonly [{
|
|
457
459
|
readonly key: "value";
|
|
458
|
-
readonly
|
|
460
|
+
readonly port: {
|
|
461
|
+
readonly kind: "STRING";
|
|
462
|
+
};
|
|
459
463
|
readonly description: "The date picked, as an ISO date (YYYY-MM-DD).";
|
|
460
464
|
}];
|
|
461
465
|
};
|
|
462
466
|
readonly bindKinds: {
|
|
463
|
-
readonly bind:
|
|
467
|
+
readonly bind: {
|
|
468
|
+
readonly kind: "STRING";
|
|
469
|
+
};
|
|
464
470
|
};
|
|
465
471
|
readonly schema: import("zod").ZodObject<{
|
|
466
472
|
bind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -489,12 +495,16 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
489
495
|
readonly events: {
|
|
490
496
|
readonly onChange: readonly [{
|
|
491
497
|
readonly key: "value";
|
|
492
|
-
readonly
|
|
498
|
+
readonly port: {
|
|
499
|
+
readonly kind: "STRING";
|
|
500
|
+
};
|
|
493
501
|
readonly description: "The value picked.";
|
|
494
502
|
}];
|
|
495
503
|
};
|
|
496
504
|
readonly bindKinds: {
|
|
497
|
-
readonly bind:
|
|
505
|
+
readonly bind: {
|
|
506
|
+
readonly kind: "STRING";
|
|
507
|
+
};
|
|
498
508
|
};
|
|
499
509
|
readonly schema: import("zod").ZodObject<{
|
|
500
510
|
bind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -516,12 +526,16 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
516
526
|
readonly events: {
|
|
517
527
|
readonly onChange: readonly [{
|
|
518
528
|
readonly key: "value";
|
|
519
|
-
readonly
|
|
529
|
+
readonly port: {
|
|
530
|
+
readonly kind: "STRING";
|
|
531
|
+
};
|
|
520
532
|
readonly description: "The date picked, as an ISO date (YYYY-MM-DD).";
|
|
521
533
|
}];
|
|
522
534
|
};
|
|
523
535
|
readonly bindKinds: {
|
|
524
|
-
readonly bind:
|
|
536
|
+
readonly bind: {
|
|
537
|
+
readonly kind: "STRING";
|
|
538
|
+
};
|
|
525
539
|
};
|
|
526
540
|
readonly schema: import("zod").ZodObject<{
|
|
527
541
|
bind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -568,7 +582,9 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
568
582
|
readonly events: {
|
|
569
583
|
readonly onChange: readonly [{
|
|
570
584
|
readonly key: "value";
|
|
571
|
-
readonly
|
|
585
|
+
readonly port: {
|
|
586
|
+
readonly kind: "BOOL";
|
|
587
|
+
};
|
|
572
588
|
readonly description: "Whether it is open now.";
|
|
573
589
|
}];
|
|
574
590
|
};
|
|
@@ -598,13 +614,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
598
614
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
599
615
|
key: "key";
|
|
600
616
|
info: "info";
|
|
617
|
+
map: "map";
|
|
618
|
+
filter: "filter";
|
|
601
619
|
list: "list";
|
|
602
620
|
message: "message";
|
|
603
621
|
pause: "pause";
|
|
604
622
|
user: "user";
|
|
605
623
|
code: "code";
|
|
606
|
-
map: "map";
|
|
607
|
-
filter: "filter";
|
|
608
624
|
x: "x";
|
|
609
625
|
search: "search";
|
|
610
626
|
file: "file";
|
|
@@ -732,7 +748,9 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
732
748
|
readonly events: {
|
|
733
749
|
readonly onOpenChange: readonly [{
|
|
734
750
|
readonly key: "value";
|
|
735
|
-
readonly
|
|
751
|
+
readonly port: {
|
|
752
|
+
readonly kind: "BOOL";
|
|
753
|
+
};
|
|
736
754
|
readonly description: "Whether it is open now.";
|
|
737
755
|
}];
|
|
738
756
|
};
|
|
@@ -750,12 +768,16 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
750
768
|
readonly events: {
|
|
751
769
|
readonly onChange: readonly [{
|
|
752
770
|
readonly key: "value";
|
|
753
|
-
readonly
|
|
771
|
+
readonly port: {
|
|
772
|
+
readonly kind: "BOOL";
|
|
773
|
+
};
|
|
754
774
|
readonly description: "The new checked state.";
|
|
755
775
|
}];
|
|
756
776
|
};
|
|
757
777
|
readonly bindKinds: {
|
|
758
|
-
readonly bind:
|
|
778
|
+
readonly bind: {
|
|
779
|
+
readonly kind: "BOOL";
|
|
780
|
+
};
|
|
759
781
|
};
|
|
760
782
|
readonly schema: import("zod").ZodObject<{
|
|
761
783
|
label: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, import("zod").ZodTransform<string, string | number | boolean>>>;
|
|
@@ -781,13 +803,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
781
803
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
782
804
|
key: "key";
|
|
783
805
|
info: "info";
|
|
806
|
+
map: "map";
|
|
807
|
+
filter: "filter";
|
|
784
808
|
list: "list";
|
|
785
809
|
message: "message";
|
|
786
810
|
pause: "pause";
|
|
787
811
|
user: "user";
|
|
788
812
|
code: "code";
|
|
789
|
-
map: "map";
|
|
790
|
-
filter: "filter";
|
|
791
813
|
x: "x";
|
|
792
814
|
search: "search";
|
|
793
815
|
file: "file";
|
|
@@ -952,7 +974,9 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
952
974
|
readonly events: {
|
|
953
975
|
readonly onOpenChange: readonly [{
|
|
954
976
|
readonly key: "value";
|
|
955
|
-
readonly
|
|
977
|
+
readonly port: {
|
|
978
|
+
readonly kind: "BOOL";
|
|
979
|
+
};
|
|
956
980
|
readonly description: "Whether it is open now.";
|
|
957
981
|
}];
|
|
958
982
|
};
|
|
@@ -1025,13 +1049,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1025
1049
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1026
1050
|
key: "key";
|
|
1027
1051
|
info: "info";
|
|
1052
|
+
map: "map";
|
|
1053
|
+
filter: "filter";
|
|
1028
1054
|
list: "list";
|
|
1029
1055
|
message: "message";
|
|
1030
1056
|
pause: "pause";
|
|
1031
1057
|
user: "user";
|
|
1032
1058
|
code: "code";
|
|
1033
|
-
map: "map";
|
|
1034
|
-
filter: "filter";
|
|
1035
1059
|
x: "x";
|
|
1036
1060
|
search: "search";
|
|
1037
1061
|
file: "file";
|
|
@@ -1160,7 +1184,9 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1160
1184
|
readonly events: {
|
|
1161
1185
|
readonly onOpenChange: readonly [{
|
|
1162
1186
|
readonly key: "value";
|
|
1163
|
-
readonly
|
|
1187
|
+
readonly port: {
|
|
1188
|
+
readonly kind: "BOOL";
|
|
1189
|
+
};
|
|
1164
1190
|
readonly description: "Whether it is open now.";
|
|
1165
1191
|
}];
|
|
1166
1192
|
};
|
|
@@ -1178,12 +1204,16 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1178
1204
|
readonly events: {
|
|
1179
1205
|
readonly onChange: readonly [{
|
|
1180
1206
|
readonly key: "value";
|
|
1181
|
-
readonly
|
|
1207
|
+
readonly port: {
|
|
1208
|
+
readonly kind: "BOOL";
|
|
1209
|
+
};
|
|
1182
1210
|
readonly description: "The new checked state.";
|
|
1183
1211
|
}];
|
|
1184
1212
|
};
|
|
1185
1213
|
readonly bindKinds: {
|
|
1186
|
-
readonly bind:
|
|
1214
|
+
readonly bind: {
|
|
1215
|
+
readonly kind: "BOOL";
|
|
1216
|
+
};
|
|
1187
1217
|
};
|
|
1188
1218
|
readonly schema: import("zod").ZodObject<{
|
|
1189
1219
|
label: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, import("zod").ZodTransform<string, string | number | boolean>>>;
|
|
@@ -1209,13 +1239,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1209
1239
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1210
1240
|
key: "key";
|
|
1211
1241
|
info: "info";
|
|
1242
|
+
map: "map";
|
|
1243
|
+
filter: "filter";
|
|
1212
1244
|
list: "list";
|
|
1213
1245
|
message: "message";
|
|
1214
1246
|
pause: "pause";
|
|
1215
1247
|
user: "user";
|
|
1216
1248
|
code: "code";
|
|
1217
|
-
map: "map";
|
|
1218
|
-
filter: "filter";
|
|
1219
1249
|
x: "x";
|
|
1220
1250
|
search: "search";
|
|
1221
1251
|
file: "file";
|
|
@@ -1369,13 +1399,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1369
1399
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1370
1400
|
key: "key";
|
|
1371
1401
|
info: "info";
|
|
1402
|
+
map: "map";
|
|
1403
|
+
filter: "filter";
|
|
1372
1404
|
list: "list";
|
|
1373
1405
|
message: "message";
|
|
1374
1406
|
pause: "pause";
|
|
1375
1407
|
user: "user";
|
|
1376
1408
|
code: "code";
|
|
1377
|
-
map: "map";
|
|
1378
|
-
filter: "filter";
|
|
1379
1409
|
x: "x";
|
|
1380
1410
|
search: "search";
|
|
1381
1411
|
file: "file";
|
|
@@ -1504,7 +1534,9 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1504
1534
|
readonly events: {
|
|
1505
1535
|
readonly onOpenChange: readonly [{
|
|
1506
1536
|
readonly key: "value";
|
|
1507
|
-
readonly
|
|
1537
|
+
readonly port: {
|
|
1538
|
+
readonly kind: "BOOL";
|
|
1539
|
+
};
|
|
1508
1540
|
readonly description: "Whether it is open now.";
|
|
1509
1541
|
}];
|
|
1510
1542
|
};
|
|
@@ -1548,13 +1580,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1548
1580
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1549
1581
|
key: "key";
|
|
1550
1582
|
info: "info";
|
|
1583
|
+
map: "map";
|
|
1584
|
+
filter: "filter";
|
|
1551
1585
|
list: "list";
|
|
1552
1586
|
message: "message";
|
|
1553
1587
|
pause: "pause";
|
|
1554
1588
|
user: "user";
|
|
1555
1589
|
code: "code";
|
|
1556
|
-
map: "map";
|
|
1557
|
-
filter: "filter";
|
|
1558
1590
|
x: "x";
|
|
1559
1591
|
search: "search";
|
|
1560
1592
|
file: "file";
|
|
@@ -1694,13 +1726,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1694
1726
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1695
1727
|
key: "key";
|
|
1696
1728
|
info: "info";
|
|
1729
|
+
map: "map";
|
|
1730
|
+
filter: "filter";
|
|
1697
1731
|
list: "list";
|
|
1698
1732
|
message: "message";
|
|
1699
1733
|
pause: "pause";
|
|
1700
1734
|
user: "user";
|
|
1701
1735
|
code: "code";
|
|
1702
|
-
map: "map";
|
|
1703
|
-
filter: "filter";
|
|
1704
1736
|
x: "x";
|
|
1705
1737
|
search: "search";
|
|
1706
1738
|
file: "file";
|
|
@@ -1831,12 +1863,16 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1831
1863
|
readonly events: {
|
|
1832
1864
|
readonly onComplete: readonly [{
|
|
1833
1865
|
readonly key: "value";
|
|
1834
|
-
readonly
|
|
1866
|
+
readonly port: {
|
|
1867
|
+
readonly kind: "STRING";
|
|
1868
|
+
};
|
|
1835
1869
|
readonly description: "The code entered.";
|
|
1836
1870
|
}];
|
|
1837
1871
|
};
|
|
1838
1872
|
readonly bindKinds: {
|
|
1839
|
-
readonly bind:
|
|
1873
|
+
readonly bind: {
|
|
1874
|
+
readonly kind: "STRING";
|
|
1875
|
+
};
|
|
1840
1876
|
};
|
|
1841
1877
|
readonly schema: import("zod").ZodObject<{
|
|
1842
1878
|
bind: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1853,13 +1889,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
1853
1889
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1854
1890
|
key: "key";
|
|
1855
1891
|
info: "info";
|
|
1892
|
+
map: "map";
|
|
1893
|
+
filter: "filter";
|
|
1856
1894
|
list: "list";
|
|
1857
1895
|
message: "message";
|
|
1858
1896
|
pause: "pause";
|
|
1859
1897
|
user: "user";
|
|
1860
1898
|
code: "code";
|
|
1861
|
-
map: "map";
|
|
1862
|
-
filter: "filter";
|
|
1863
1899
|
x: "x";
|
|
1864
1900
|
search: "search";
|
|
1865
1901
|
file: "file";
|
|
@@ -2027,13 +2063,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
2027
2063
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2028
2064
|
key: "key";
|
|
2029
2065
|
info: "info";
|
|
2066
|
+
map: "map";
|
|
2067
|
+
filter: "filter";
|
|
2030
2068
|
list: "list";
|
|
2031
2069
|
message: "message";
|
|
2032
2070
|
pause: "pause";
|
|
2033
2071
|
user: "user";
|
|
2034
2072
|
code: "code";
|
|
2035
|
-
map: "map";
|
|
2036
|
-
filter: "filter";
|
|
2037
2073
|
x: "x";
|
|
2038
2074
|
search: "search";
|
|
2039
2075
|
file: "file";
|
|
@@ -2230,7 +2266,9 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
2230
2266
|
readonly events: {
|
|
2231
2267
|
readonly onOpenChange: readonly [{
|
|
2232
2268
|
readonly key: "value";
|
|
2233
|
-
readonly
|
|
2269
|
+
readonly port: {
|
|
2270
|
+
readonly kind: "BOOL";
|
|
2271
|
+
};
|
|
2234
2272
|
readonly description: "Whether it is open now.";
|
|
2235
2273
|
}];
|
|
2236
2274
|
};
|
|
@@ -2310,13 +2348,13 @@ export declare const shadcnCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
2310
2348
|
icon: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2311
2349
|
key: "key";
|
|
2312
2350
|
info: "info";
|
|
2351
|
+
map: "map";
|
|
2352
|
+
filter: "filter";
|
|
2313
2353
|
list: "list";
|
|
2314
2354
|
message: "message";
|
|
2315
2355
|
pause: "pause";
|
|
2316
2356
|
user: "user";
|
|
2317
2357
|
code: "code";
|
|
2318
|
-
map: "map";
|
|
2319
|
-
filter: "filter";
|
|
2320
2358
|
x: "x";
|
|
2321
2359
|
search: "search";
|
|
2322
2360
|
file: "file";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadcn.d.ts","sourceRoot":"","sources":["../../src/catalogs/shadcn.ts"],"names":[],"mappings":"AAGA,+CAA+C;AAC/C,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"shadcn.d.ts","sourceRoot":"","sources":["../../src/catalogs/shadcn.ts"],"names":[],"mappings":"AAGA,+CAA+C;AAC/C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A+ExB,CAAC"}
|
package/dist/catalogs/shadcn.js
CHANGED
|
@@ -6,7 +6,7 @@ export const shadcnCatalog = defineBlokCatalog({
|
|
|
6
6
|
partOf: BASE_CATALOG_REF,
|
|
7
7
|
description: "The shadcn families beyond the ui family (alert dialogs, sheets, drawers, menus, calendars, carousels, resizable panels, bento grids ...), charts and the raw inspector.",
|
|
8
8
|
components: {
|
|
9
|
-
AlertDialog: { ...parts.AlertDialog, events: { onOpenChange: [{ key: "value", kind: "BOOL", description: "Whether it is open now." }] } },
|
|
9
|
+
AlertDialog: { ...parts.AlertDialog, events: { onOpenChange: [{ key: "value", port: { kind: "BOOL" }, description: "Whether it is open now." }] } },
|
|
10
10
|
AlertDialogAction: parts.AlertDialogAction,
|
|
11
11
|
AlertDialogCancel: parts.AlertDialogCancel,
|
|
12
12
|
AlertDialogContent: parts.AlertDialogContent,
|
|
@@ -23,42 +23,42 @@ export const shadcnCatalog = defineBlokCatalog({
|
|
|
23
23
|
BreadcrumbItem: parts.BreadcrumbItem,
|
|
24
24
|
BreadcrumbSeparator: parts.BreadcrumbSeparator,
|
|
25
25
|
ButtonGroup: parts.ButtonGroup,
|
|
26
|
-
Calendar: { ...parts.Calendar, events: { onChange: [{ key: "value", kind: "STRING", description: "The date picked, as an ISO date (YYYY-MM-DD)." }] }, bindKinds: { bind: "STRING" } },
|
|
26
|
+
Calendar: { ...parts.Calendar, events: { onChange: [{ key: "value", port: { kind: "STRING" }, description: "The date picked, as an ISO date (YYYY-MM-DD)." }] }, bindKinds: { bind: { kind: "STRING" } } },
|
|
27
27
|
Carousel: parts.Carousel,
|
|
28
|
-
Combobox: { ...parts.Combobox, events: { onChange: [{ key: "value", kind: "STRING", description: "The value picked." }] }, bindKinds: { bind: "STRING" } },
|
|
29
|
-
DatePicker: { ...parts.DatePicker, events: { onChange: [{ key: "value", kind: "STRING", description: "The date picked, as an ISO date (YYYY-MM-DD)." }] }, bindKinds: { bind: "STRING" } },
|
|
28
|
+
Combobox: { ...parts.Combobox, events: { onChange: [{ key: "value", port: { kind: "STRING" }, description: "The value picked." }] }, bindKinds: { bind: { kind: "STRING" } } },
|
|
29
|
+
DatePicker: { ...parts.DatePicker, events: { onChange: [{ key: "value", port: { kind: "STRING" }, description: "The date picked, as an ISO date (YYYY-MM-DD)." }] }, bindKinds: { bind: { kind: "STRING" } } },
|
|
30
30
|
CarouselItem: parts.CarouselItem,
|
|
31
31
|
Chart: parts.Chart,
|
|
32
|
-
Collapsible: { ...parts.Collapsible, events: { onChange: [{ key: "value", kind: "BOOL", description: "Whether it is open now." }] } },
|
|
32
|
+
Collapsible: { ...parts.Collapsible, events: { onChange: [{ key: "value", port: { kind: "BOOL" }, description: "Whether it is open now." }] } },
|
|
33
33
|
CollapsibleContent: parts.CollapsibleContent,
|
|
34
34
|
CollapsibleTrigger: parts.CollapsibleTrigger,
|
|
35
|
-
ContextMenu: { ...parts.ContextMenu, events: { onOpenChange: [{ key: "value", kind: "BOOL", description: "Whether it is open now." }] } },
|
|
36
|
-
ContextMenuCheckboxItem: { ...parts.ContextMenuCheckboxItem, events: { onChange: [{ key: "value", kind: "BOOL", description: "The new checked state." }] }, bindKinds: { bind: "BOOL" } },
|
|
35
|
+
ContextMenu: { ...parts.ContextMenu, events: { onOpenChange: [{ key: "value", port: { kind: "BOOL" }, description: "Whether it is open now." }] } },
|
|
36
|
+
ContextMenuCheckboxItem: { ...parts.ContextMenuCheckboxItem, events: { onChange: [{ key: "value", port: { kind: "BOOL" }, description: "The new checked state." }] }, bindKinds: { bind: { kind: "BOOL" } } },
|
|
37
37
|
ContextMenuContent: parts.ContextMenuContent,
|
|
38
38
|
ContextMenuItem: parts.ContextMenuItem,
|
|
39
39
|
ContextMenuLabel: parts.ContextMenuLabel,
|
|
40
40
|
ContextMenuSeparator: parts.ContextMenuSeparator,
|
|
41
41
|
ContextMenuTrigger: parts.ContextMenuTrigger,
|
|
42
|
-
Drawer: { ...parts.Drawer, events: { onOpenChange: [{ key: "value", kind: "BOOL", description: "Whether it is open now." }] } },
|
|
42
|
+
Drawer: { ...parts.Drawer, events: { onOpenChange: [{ key: "value", port: { kind: "BOOL" }, description: "Whether it is open now." }] } },
|
|
43
43
|
DrawerContent: parts.DrawerContent,
|
|
44
44
|
DrawerDescription: parts.DrawerDescription,
|
|
45
45
|
DrawerFooter: parts.DrawerFooter,
|
|
46
46
|
DrawerHeader: parts.DrawerHeader,
|
|
47
47
|
DrawerTitle: parts.DrawerTitle,
|
|
48
48
|
DrawerTrigger: parts.DrawerTrigger,
|
|
49
|
-
DropdownMenu: { ...parts.DropdownMenu, events: { onOpenChange: [{ key: "value", kind: "BOOL", description: "Whether it is open now." }] } },
|
|
50
|
-
DropdownMenuCheckboxItem: { ...parts.DropdownMenuCheckboxItem, events: { onChange: [{ key: "value", kind: "BOOL", description: "The new checked state." }] }, bindKinds: { bind: "BOOL" } },
|
|
49
|
+
DropdownMenu: { ...parts.DropdownMenu, events: { onOpenChange: [{ key: "value", port: { kind: "BOOL" }, description: "Whether it is open now." }] } },
|
|
50
|
+
DropdownMenuCheckboxItem: { ...parts.DropdownMenuCheckboxItem, events: { onChange: [{ key: "value", port: { kind: "BOOL" }, description: "The new checked state." }] }, bindKinds: { bind: { kind: "BOOL" } } },
|
|
51
51
|
DropdownMenuContent: parts.DropdownMenuContent,
|
|
52
52
|
DropdownMenuItem: parts.DropdownMenuItem,
|
|
53
53
|
DropdownMenuLabel: parts.DropdownMenuLabel,
|
|
54
54
|
DropdownMenuSeparator: parts.DropdownMenuSeparator,
|
|
55
55
|
DropdownMenuTrigger: parts.DropdownMenuTrigger,
|
|
56
|
-
HoverCard: { ...parts.HoverCard, events: { onOpenChange: [{ key: "value", kind: "BOOL", description: "Whether it is open now." }] } },
|
|
56
|
+
HoverCard: { ...parts.HoverCard, events: { onOpenChange: [{ key: "value", port: { kind: "BOOL" }, description: "Whether it is open now." }] } },
|
|
57
57
|
HoverCardContent: parts.HoverCardContent,
|
|
58
58
|
HoverCardTrigger: parts.HoverCardTrigger,
|
|
59
59
|
InputGroup: parts.InputGroup,
|
|
60
60
|
InputGroupAddon: parts.InputGroupAddon,
|
|
61
|
-
InputOTP: { ...parts.InputOTP, events: { onComplete: [{ key: "value", kind: "STRING", description: "The code entered." }] }, bindKinds: { bind: "STRING" } },
|
|
61
|
+
InputOTP: { ...parts.InputOTP, events: { onComplete: [{ key: "value", port: { kind: "STRING" }, description: "The code entered." }] }, bindKinds: { bind: { kind: "STRING" } } },
|
|
62
62
|
Item: parts.Item,
|
|
63
63
|
ItemGroup: parts.ItemGroup,
|
|
64
64
|
Kbd: parts.Kbd,
|
|
@@ -72,7 +72,7 @@ export const shadcnCatalog = defineBlokCatalog({
|
|
|
72
72
|
Resizable: parts.Resizable,
|
|
73
73
|
ResizableHandle: parts.ResizableHandle,
|
|
74
74
|
ResizablePanel: parts.ResizablePanel,
|
|
75
|
-
Sheet: { ...parts.Sheet, events: { onOpenChange: [{ key: "value", kind: "BOOL", description: "Whether it is open now." }] } },
|
|
75
|
+
Sheet: { ...parts.Sheet, events: { onOpenChange: [{ key: "value", port: { kind: "BOOL" }, description: "Whether it is open now." }] } },
|
|
76
76
|
SheetContent: parts.SheetContent,
|
|
77
77
|
SheetDescription: parts.SheetDescription,
|
|
78
78
|
SheetFooter: parts.SheetFooter,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadcn.js","sourceRoot":"","sources":["../../src/catalogs/shadcn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B,+CAA+C;AAC/C,MAAM,CAAC,MAAM,aAAa,GAAG,iBAAiB,CAAC;IAC7C,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE,gBAAgB;IACxB,WAAW,EAAE,0KAA0K;IACvL,UAAU,EAAE;QACV,WAAW,EAAE,EAAC,GAAG,KAAK,CAAC,WAAW,EAAE,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readonly events: {
|
|
22
22
|
readonly onChange: readonly [{
|
|
23
23
|
readonly key: "value";
|
|
24
|
-
readonly
|
|
24
|
+
readonly port: {
|
|
25
|
+
readonly kind: "STRUCTURE";
|
|
26
|
+
readonly identifier: "*";
|
|
27
|
+
readonly nullable: true;
|
|
28
|
+
};
|
|
25
29
|
readonly description: "The structure reference picked, or null when cleared.";
|
|
26
30
|
}];
|
|
27
31
|
};
|
|
28
32
|
readonly bindKinds: {
|
|
29
|
-
readonly bind:
|
|
33
|
+
readonly bind: {
|
|
34
|
+
readonly kind: "STRUCTURE";
|
|
35
|
+
readonly identifier: "*";
|
|
36
|
+
};
|
|
30
37
|
};
|
|
31
38
|
readonly schema: import("zod").ZodObject<{
|
|
32
39
|
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structure.d.ts","sourceRoot":"","sources":["../../src/catalogs/structure.ts"],"names":[],"mappings":"AAGA,kDAAkD;AAClD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"structure.d.ts","sourceRoot":"","sources":["../../src/catalogs/structure.ts"],"names":[],"mappings":"AAGA,kDAAkD;AAClD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAC"}
|
|
@@ -7,7 +7,7 @@ export const structureCatalog = defineBlokCatalog({
|
|
|
7
7
|
description: "Pick, show and view structures, typed by `\"@package/key\"`.",
|
|
8
8
|
components: {
|
|
9
9
|
StructureDisplay: parts.StructureDisplay,
|
|
10
|
-
StructurePicker: { ...parts.StructurePicker, events: { onChange: [{ key: "value", kind: "
|
|
10
|
+
StructurePicker: { ...parts.StructurePicker, events: { onChange: [{ key: "value", port: { kind: "STRUCTURE", identifier: "*", nullable: true }, description: "The structure reference picked, or null when cleared." }] }, bindKinds: { bind: { kind: "STRUCTURE", identifier: "*" } } },
|
|
11
11
|
StructureViewer: parts.StructureViewer,
|
|
12
12
|
},
|
|
13
13
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structure.js","sourceRoot":"","sources":["../../src/catalogs/structure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B,kDAAkD;AAClD,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAChD,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,gBAAgB;IACxB,WAAW,EAAE,8DAA8D;IAC3E,UAAU,EAAE;QACV,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,eAAe,EAAE,EAAC,GAAG,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,EAAC,QAAQ,EAAE,CAAC,EAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"structure.js","sourceRoot":"","sources":["../../src/catalogs/structure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B,kDAAkD;AAClD,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAChD,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,gBAAgB;IACxB,WAAW,EAAE,8DAA8D;IAC3E,UAAU,EAAE;QACV,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,eAAe,EAAE,EAAC,GAAG,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,EAAC,QAAQ,EAAE,CAAC,EAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,EAAC,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAC,EAAE,WAAW,EA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