@arkitektio/bsx 4.3.0 → 5.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/README.md +39 -18
- package/dist/bsx/parse.d.ts +13 -7
- package/dist/bsx/parse.d.ts.map +1 -1
- package/dist/bsx/parse.js +18 -57
- package/dist/bsx/parse.js.map +1 -1
- package/dist/bsx/print.d.ts.map +1 -1
- package/dist/bsx/print.js +22 -35
- package/dist/bsx/print.js.map +1 -1
- package/dist/bsx/references.d.ts +5 -5
- package/dist/bsx/references.d.ts.map +1 -1
- package/dist/bsx/references.js +106 -33
- package/dist/bsx/references.js.map +1 -1
- package/dist/catalogs/html.d.ts +1 -1
- package/dist/catalogs/html.d.ts.map +1 -1
- package/dist/catalogs/html.js +3 -3
- package/dist/catalogs/html.js.map +1 -1
- package/dist/catalogs/index.d.ts +126 -112
- package/dist/catalogs/index.d.ts.map +1 -1
- package/dist/catalogs/index.js +6 -2
- package/dist/catalogs/index.js.map +1 -1
- package/dist/catalogs/logo.d.ts +5 -5
- package/dist/catalogs/logo.d.ts.map +1 -1
- package/dist/catalogs/logo.js +3 -3
- package/dist/catalogs/logo.js.map +1 -1
- package/dist/catalogs/parts/data.d.ts +5 -5
- package/dist/catalogs/parts/feedback.d.ts +12 -12
- package/dist/catalogs/parts/forms.d.ts +20 -20
- package/dist/catalogs/parts/html.d.ts +1 -1
- package/dist/catalogs/parts/html.d.ts.map +1 -1
- package/dist/catalogs/parts/html.js +1 -1
- package/dist/catalogs/parts/html.js.map +1 -1
- package/dist/catalogs/parts/icons.d.ts +9 -9
- package/dist/catalogs/parts/icons.js +1 -1
- package/dist/catalogs/parts/index.d.ts +120 -110
- package/dist/catalogs/parts/index.d.ts.map +1 -1
- package/dist/catalogs/parts/layout.d.ts +11 -1
- package/dist/catalogs/parts/layout.d.ts.map +1 -1
- package/dist/catalogs/parts/layout.js +9 -0
- package/dist/catalogs/parts/layout.js.map +1 -1
- package/dist/catalogs/parts/logo.d.ts +8 -8
- package/dist/catalogs/parts/logo.d.ts.map +1 -1
- package/dist/catalogs/parts/logo.js +2 -2
- package/dist/catalogs/parts/logo.js.map +1 -1
- package/dist/catalogs/parts/navigation.d.ts +16 -16
- package/dist/catalogs/parts/overlays.d.ts +44 -44
- package/dist/catalogs/parts/run.d.ts +5 -5
- package/dist/catalogs/parts/run.js +1 -1
- package/dist/catalogs/parts/scene.d.ts +4 -4
- package/dist/catalogs/parts/structure.js +2 -2
- package/dist/catalogs/parts/toast.js +1 -1
- package/dist/catalogs/parts/toast.js.map +1 -1
- package/dist/catalogs/parts/typography.js +1 -1
- package/dist/catalogs/parts/typography.js.map +1 -1
- package/dist/catalogs/props.d.ts +2 -2
- package/dist/catalogs/scene.d.ts +5 -5
- package/dist/catalogs/scene.d.ts.map +1 -1
- package/dist/catalogs/scene.js +3 -3
- package/dist/catalogs/scene.js.map +1 -1
- package/dist/catalogs/shadcn.d.ts +47 -47
- package/dist/catalogs/shadcn.d.ts.map +1 -1
- package/dist/catalogs/shadcn.js +4 -4
- package/dist/catalogs/shadcn.js.map +1 -1
- package/dist/catalogs/structure.d.ts +1 -1
- package/dist/catalogs/structure.d.ts.map +1 -1
- package/dist/catalogs/structure.js +3 -3
- package/dist/catalogs/structure.js.map +1 -1
- package/dist/catalogs/ui.d.ts +67 -57
- package/dist/catalogs/ui.d.ts.map +1 -1
- package/dist/catalogs/ui.js +4 -3
- package/dist/catalogs/ui.js.map +1 -1
- package/dist/catalogs.d.ts +1 -1
- package/dist/catalogs.d.ts.map +1 -1
- package/dist/catalogs.js +2 -2
- package/dist/catalogs.js.map +1 -1
- package/dist/ports.js +1 -1
- package/dist/ports.js.map +1 -1
- package/dist/renderer/baseCatalog.d.ts +8 -6
- package/dist/renderer/baseCatalog.d.ts.map +1 -1
- package/dist/renderer/baseCatalog.js +7 -5
- package/dist/renderer/baseCatalog.js.map +1 -1
- package/dist/renderer/bloks/control.d.ts +2 -0
- package/dist/renderer/bloks/control.d.ts.map +1 -1
- package/dist/renderer/bloks/control.js +13 -1
- package/dist/renderer/bloks/control.js.map +1 -1
- package/dist/renderer/bloks/data.d.ts +5 -5
- package/dist/renderer/bloks/feedback.d.ts +12 -12
- package/dist/renderer/bloks/forms.d.ts +20 -20
- package/dist/renderer/bloks/html.js +2 -2
- package/dist/renderer/bloks/icons.d.ts +4 -4
- package/dist/renderer/bloks/index.d.ts +115 -107
- package/dist/renderer/bloks/index.d.ts.map +1 -1
- package/dist/renderer/bloks/index.js +1 -1
- package/dist/renderer/bloks/layout.d.ts +9 -1
- package/dist/renderer/bloks/layout.d.ts.map +1 -1
- package/dist/renderer/bloks/layout.js +15 -0
- package/dist/renderer/bloks/layout.js.map +1 -1
- package/dist/renderer/bloks/logo/index.d.ts +5 -5
- package/dist/renderer/bloks/logo/index.d.ts.map +1 -1
- package/dist/renderer/bloks/logo/index.js +2 -2
- package/dist/renderer/bloks/logo/index.js.map +1 -1
- package/dist/renderer/bloks/navigation.d.ts +16 -16
- package/dist/renderer/bloks/overlays.d.ts +44 -44
- package/dist/renderer/bloks/run/components.d.ts +2 -2
- package/dist/renderer/bloks/run/components.js +1 -1
- package/dist/renderer/bloks/scene/index.d.ts +2 -2
- package/dist/renderer/bloks/toast.d.ts +1 -1
- package/dist/renderer/bloks/typography.js +1 -1
- package/dist/renderer/catalog.d.ts +4 -7
- package/dist/renderer/catalog.d.ts.map +1 -1
- package/dist/renderer/catalog.js +7 -31
- package/dist/renderer/catalog.js.map +1 -1
- package/dist/renderer/declare.d.ts +31 -19
- package/dist/renderer/declare.d.ts.map +1 -1
- package/dist/renderer/declare.js +44 -18
- package/dist/renderer/declare.js.map +1 -1
- package/dist/renderer/runtime/catalog.d.ts +27 -7
- package/dist/renderer/runtime/catalog.d.ts.map +1 -1
- package/dist/renderer/runtime/catalog.js +30 -3
- package/dist/renderer/runtime/catalog.js.map +1 -1
- package/dist/renderer/runtime/components.d.ts +7 -1
- package/dist/renderer/runtime/components.d.ts.map +1 -1
- package/dist/renderer/runtime/components.js +3 -0
- package/dist/renderer/runtime/components.js.map +1 -1
- package/dist/renderer/runtime/describe.d.ts +14 -4
- package/dist/renderer/runtime/describe.d.ts.map +1 -1
- package/dist/renderer/runtime/describe.js +3 -0
- package/dist/renderer/runtime/describe.js.map +1 -1
- package/dist/renderer/runtime/index.d.ts +1 -0
- package/dist/renderer/runtime/index.d.ts.map +1 -1
- package/dist/renderer/runtime/index.js +1 -0
- package/dist/renderer/runtime/index.js.map +1 -1
- package/dist/renderer/runtime/preflight.d.ts.map +1 -1
- package/dist/renderer/runtime/preflight.js +5 -2
- package/dist/renderer/runtime/preflight.js.map +1 -1
- package/dist/renderer/runtime/text.d.ts +28 -0
- package/dist/renderer/runtime/text.d.ts.map +1 -0
- package/dist/renderer/runtime/text.js +82 -0
- package/dist/renderer/runtime/text.js.map +1 -0
- package/dist/runtime.d.ts +0 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +0 -1
- package/dist/runtime.js.map +1 -1
- package/dist/scene.d.ts +1 -1
- package/dist/scene.d.ts.map +1 -1
- package/dist/scene.js +2 -2
- package/dist/scene.js.map +1 -1
- package/dist/shadcn.d.ts +118 -110
- package/dist/shadcn.d.ts.map +1 -1
- package/dist/shadcn.js +6 -5
- package/dist/shadcn.js.map +1 -1
- package/dist/spec/bsx_v2.json +3080 -2436
- package/dist/spec/catalogs/base@3.json +13029 -0
- package/dist/spec/catalogs/base@3.json.js +13029 -0
- package/dist/spec/catalogs/orkestrator@1.json +489 -0
- package/dist/spec/catalogs/orkestrator@1.json.js +489 -0
- package/dist/spec/catalogs.d.ts +109 -46
- package/dist/spec/catalogs.d.ts.map +1 -1
- package/dist/spec/catalogs.js +241 -73
- package/dist/spec/catalogs.js.map +1 -1
- package/dist/spec/vocabulary.d.ts +19 -3
- package/dist/spec/vocabulary.d.ts.map +1 -1
- package/dist/spec/vocabulary.js +15 -2
- package/dist/spec/vocabulary.js.map +1 -1
- package/dist/spec/vocabulary.json +30 -16
- package/dist/spec/vocabulary.json.js +30 -16
- package/dist/vendor/core/ui/button-group.d.ts +1 -1
- package/dist/vendor/core/ui/button.d.ts +1 -1
- package/dist/vendor/core/ui/field.d.ts +1 -1
- package/package.json +1 -1
- package/src/bsx/infer.test.ts +18 -26
- package/src/bsx/language.test.ts +1 -1
- package/src/bsx/parse.ts +18 -62
- package/src/bsx/partial.test.ts +1 -1
- package/src/bsx/print.ts +24 -34
- package/src/bsx/references.test.ts +16 -14
- package/src/bsx/references.ts +96 -38
- package/src/catalogs/catalogs.test.ts +45 -14
- package/src/catalogs/html.ts +3 -3
- package/src/catalogs/index.ts +6 -2
- package/src/catalogs/logo.ts +3 -3
- package/src/catalogs/parts/html.ts +1 -1
- package/src/catalogs/parts/icons.ts +1 -1
- package/src/catalogs/parts/layout.ts +11 -0
- package/src/catalogs/parts/logo.ts +2 -2
- package/src/catalogs/parts/run.ts +1 -1
- package/src/catalogs/parts/structure.ts +2 -2
- package/src/catalogs/parts/toast.ts +1 -1
- package/src/catalogs/parts/typography.ts +1 -1
- package/src/catalogs/scene.ts +3 -3
- package/src/catalogs/shadcn.ts +4 -4
- package/src/catalogs/structure.ts +3 -3
- package/src/catalogs/ui.ts +4 -3
- package/src/catalogs.ts +9 -2
- package/src/ports.ts +1 -1
- package/src/renderer/addBlokComponents.test.tsx +8 -22
- package/src/renderer/baseCatalog.ts +7 -5
- package/src/renderer/bloks/components.test.tsx +2 -2
- package/src/renderer/bloks/control.tsx +17 -1
- package/src/renderer/bloks/flow.test.tsx +1 -1
- package/src/renderer/bloks/html.tsx +2 -2
- package/src/renderer/bloks/index.ts +1 -1
- package/src/renderer/bloks/layout.tsx +28 -0
- package/src/renderer/bloks/logo/index.tsx +2 -2
- package/src/renderer/bloks/run/components.tsx +1 -1
- package/src/renderer/bloks/time.test.tsx +1 -1
- package/src/renderer/bloks/toast.tsx +1 -1
- package/src/renderer/bloks/typography.tsx +1 -1
- package/src/renderer/catalog.tsx +7 -31
- package/src/renderer/declare.test.ts +41 -0
- package/src/renderer/declare.ts +70 -32
- package/src/renderer/runtime/catalog.ts +35 -10
- package/src/renderer/runtime/components.tsx +10 -1
- package/src/renderer/runtime/describe.ts +17 -4
- package/src/renderer/runtime/index.ts +1 -0
- package/src/renderer/runtime/preflight.ts +5 -2
- package/src/renderer/runtime/text.test.tsx +65 -0
- package/src/renderer/runtime/text.ts +88 -0
- package/src/runtime.ts +0 -1
- package/src/scene.ts +2 -2
- package/src/shadcn.ts +6 -5
- package/src/spec/bsx_v2.json +3080 -2436
- package/src/spec/catalogs/base@3.json +13029 -0
- package/src/spec/catalogs/orkestrator@1.json +489 -0
- package/src/spec/catalogs.ts +257 -101
- package/src/spec/spec.test.ts +87 -21
- package/src/spec/vocabulary.json +30 -16
- package/src/spec/vocabulary.ts +33 -7
- package/dist/renderer/modules.d.ts +0 -4
- package/dist/renderer/modules.d.ts.map +0 -1
- package/dist/renderer/modules.js +0 -11
- package/dist/renderer/modules.js.map +0 -1
- package/dist/spec/catalogs/base@2.json +0 -355
- package/dist/spec/catalogs/base@2.json.js +0 -355
- package/dist/spec/catalogs/html@1.json +0 -308
- package/dist/spec/catalogs/html@1.json.js +0 -308
- package/dist/spec/catalogs/logo@1.json +0 -1687
- package/dist/spec/catalogs/logo@1.json.js +0 -1687
- package/dist/spec/catalogs/scene@1.json +0 -878
- package/dist/spec/catalogs/scene@1.json.js +0 -878
- package/dist/spec/catalogs/shadcn@1.json +0 -4002
- package/dist/spec/catalogs/shadcn@1.json.js +0 -4002
- package/dist/spec/catalogs/structure@1.json +0 -185
- package/dist/spec/catalogs/structure@1.json.js +0 -185
- package/dist/spec/catalogs/ui@1.json +0 -5349
- package/dist/spec/catalogs/ui@1.json.js +0 -5349
- package/src/renderer/modules.ts +0 -12
- package/src/spec/catalogs/base@2.json +0 -355
- package/src/spec/catalogs/html@1.json +0 -308
- package/src/spec/catalogs/logo@1.json +0 -1687
- package/src/spec/catalogs/scene@1.json +0 -878
- package/src/spec/catalogs/shadcn@1.json +0 -4002
- package/src/spec/catalogs/structure@1.json +0 -185
- package/src/spec/catalogs/ui@1.json +0 -5349
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/catalogs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAC,CAAC;AAC5F,cAAc,SAAS,CAAC;AAExB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/catalogs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAC,CAAC;AAC5F,cAAc,SAAS,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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js';
|
|
7
7
|
export { htmlCatalog, logoCatalog, sceneCatalog, shadcnCatalog, structureCatalog, uiCatalog };
|
|
8
8
|
export * from './props.js';
|
|
9
|
-
/**
|
|
10
|
-
|
|
9
|
+
/**
|
|
10
|
+
* The families of the base catalog this package holds contracts for: every
|
|
11
|
+
* component of it that is not the language's own (`renderer/bloks/control`).
|
|
12
|
+
* The spec's `catalogs/base@3.json` is what they say (`catalogs.test.ts`).
|
|
13
|
+
*/
|
|
14
|
+
export const baseFamilies = [uiCatalog, htmlCatalog, logoCatalog, sceneCatalog, structureCatalog, shadcnCatalog];
|
|
11
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/catalogs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAC,CAAC;AAC5F,cAAc,SAAS,CAAC;AAExB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/catalogs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAC,CAAC;AAC5F,cAAc,SAAS,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,CAAU,CAAC"}
|
package/dist/catalogs/logo.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** `logo
|
|
1
|
+
/** The `logo` family of the base catalog. */
|
|
2
2
|
export declare const logoCatalog: import("../catalogs").BlokCatalogContract<{
|
|
3
3
|
readonly ActionLogo: {
|
|
4
4
|
acceptsChildren: boolean;
|
|
@@ -65,9 +65,9 @@ export declare const logoCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
65
65
|
strokeWidth: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>>;
|
|
66
66
|
strokeOpacity: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>>;
|
|
67
67
|
strokeLinecap: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
68
|
+
square: "square";
|
|
68
69
|
butt: "butt";
|
|
69
70
|
round: "round";
|
|
70
|
-
square: "square";
|
|
71
71
|
}>>;
|
|
72
72
|
strokeLinejoin: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
73
73
|
round: "round";
|
|
@@ -81,10 +81,10 @@ export declare const logoCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
81
81
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
82
82
|
onClick: import("zod").ZodOptional<import("zod").ZodCustom<() => void, () => void>>;
|
|
83
83
|
animate: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
84
|
+
float: "float";
|
|
84
85
|
blink: "blink";
|
|
85
86
|
spin: "spin";
|
|
86
87
|
pulse: "pulse";
|
|
87
|
-
float: "float";
|
|
88
88
|
draw: "draw";
|
|
89
89
|
march: "march";
|
|
90
90
|
}>>;
|
|
@@ -166,9 +166,9 @@ export declare const logoCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
166
166
|
strokeWidth: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>>;
|
|
167
167
|
strokeOpacity: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>>;
|
|
168
168
|
strokeLinecap: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
169
|
+
square: "square";
|
|
169
170
|
butt: "butt";
|
|
170
171
|
round: "round";
|
|
171
|
-
square: "square";
|
|
172
172
|
}>>;
|
|
173
173
|
strokeLinejoin: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
174
174
|
round: "round";
|
|
@@ -182,10 +182,10 @@ export declare const logoCatalog: import("../catalogs").BlokCatalogContract<{
|
|
|
182
182
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
183
183
|
onClick: import("zod").ZodOptional<import("zod").ZodCustom<() => void, () => void>>;
|
|
184
184
|
animate: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
185
|
+
float: "float";
|
|
185
186
|
blink: "blink";
|
|
186
187
|
spin: "spin";
|
|
187
188
|
pulse: "pulse";
|
|
188
|
-
float: "float";
|
|
189
189
|
draw: "draw";
|
|
190
190
|
march: "march";
|
|
191
191
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../src/catalogs/logo.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../src/catalogs/logo.ts"],"names":[],"mappings":"AAGA,6CAA6C;AAC7C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBtB,CAAC"}
|
package/dist/catalogs/logo.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineBlokCatalog } from '../renderer/runtime/catalog.js';
|
|
1
|
+
import { BASE_CATALOG_REF, defineBlokCatalog } from '../renderer/runtime/catalog.js';
|
|
2
2
|
import { parts } from './parts/index.js';
|
|
3
|
-
/** `logo
|
|
3
|
+
/** The `logo` family of the base catalog. */
|
|
4
4
|
export const logoCatalog = defineBlokCatalog({
|
|
5
5
|
name: "logo",
|
|
6
|
-
|
|
6
|
+
partOf: BASE_CATALOG_REF,
|
|
7
7
|
description: "SVG drawing for logos and action logos; the palette is restricted to the logo pens.",
|
|
8
8
|
components: {
|
|
9
9
|
ActionLogo: parts.ActionLogo,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.js","sourceRoot":"","sources":["../../src/catalogs/logo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"logo.js","sourceRoot":"","sources":["../../src/catalogs/logo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B,6CAA6C;AAC7C,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;IAC3C,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,gBAAgB;IACxB,WAAW,EAAE,qFAAqF;IAClG,UAAU,EAAE;QACV,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,CAAC,EAAE,KAAK,CAAC,CAAC;QACV,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO;KACvB;CACF,CAAC,CAAC"}
|
|
@@ -226,11 +226,9 @@ export declare const dataContracts: {
|
|
|
226
226
|
x: "x";
|
|
227
227
|
search: "search";
|
|
228
228
|
file: "file";
|
|
229
|
+
table: "table";
|
|
229
230
|
link: "link";
|
|
230
231
|
check: "check";
|
|
231
|
-
square: "square";
|
|
232
|
-
camera: "camera";
|
|
233
|
-
grid: "grid";
|
|
234
232
|
activity: "activity";
|
|
235
233
|
"alert-circle": "alert-circle";
|
|
236
234
|
"alert-triangle": "alert-triangle";
|
|
@@ -247,6 +245,7 @@ export declare const dataContracts: {
|
|
|
247
245
|
box: "box";
|
|
248
246
|
braces: "braces";
|
|
249
247
|
calendar: "calendar";
|
|
248
|
+
camera: "camera";
|
|
250
249
|
"check-circle": "check-circle";
|
|
251
250
|
"chevron-down": "chevron-down";
|
|
252
251
|
"chevron-left": "chevron-left";
|
|
@@ -273,6 +272,7 @@ export declare const dataContracts: {
|
|
|
273
272
|
"folder-open": "folder-open";
|
|
274
273
|
gauge: "gauge";
|
|
275
274
|
globe: "globe";
|
|
275
|
+
grid: "grid";
|
|
276
276
|
hash: "hash";
|
|
277
277
|
heart: "heart";
|
|
278
278
|
"help-circle": "help-circle";
|
|
@@ -314,9 +314,9 @@ export declare const dataContracts: {
|
|
|
314
314
|
shield: "shield";
|
|
315
315
|
"skip-forward": "skip-forward";
|
|
316
316
|
sliders: "sliders";
|
|
317
|
+
square: "square";
|
|
317
318
|
star: "star";
|
|
318
319
|
stop: "stop";
|
|
319
|
-
table: "table";
|
|
320
320
|
tag: "tag";
|
|
321
321
|
terminal: "terminal";
|
|
322
322
|
"thumbs-down": "thumbs-down";
|
|
@@ -360,8 +360,8 @@ export declare const dataContracts: {
|
|
|
360
360
|
basePath: z.ZodOptional<z.ZodString>;
|
|
361
361
|
}, z.core.$strip>]>>>;
|
|
362
362
|
orientation: z.ZodOptional<z.ZodEnum<{
|
|
363
|
-
horizontal: "horizontal";
|
|
364
363
|
vertical: "vertical";
|
|
364
|
+
horizontal: "horizontal";
|
|
365
365
|
}>>;
|
|
366
366
|
showControls: z.ZodOptional<z.ZodBoolean>;
|
|
367
367
|
className: z.ZodOptional<z.ZodString>;
|
|
@@ -18,11 +18,9 @@ export declare const feedbackContracts: {
|
|
|
18
18
|
x: "x";
|
|
19
19
|
search: "search";
|
|
20
20
|
file: "file";
|
|
21
|
+
table: "table";
|
|
21
22
|
link: "link";
|
|
22
23
|
check: "check";
|
|
23
|
-
square: "square";
|
|
24
|
-
camera: "camera";
|
|
25
|
-
grid: "grid";
|
|
26
24
|
activity: "activity";
|
|
27
25
|
"alert-circle": "alert-circle";
|
|
28
26
|
"alert-triangle": "alert-triangle";
|
|
@@ -39,6 +37,7 @@ export declare const feedbackContracts: {
|
|
|
39
37
|
box: "box";
|
|
40
38
|
braces: "braces";
|
|
41
39
|
calendar: "calendar";
|
|
40
|
+
camera: "camera";
|
|
42
41
|
"check-circle": "check-circle";
|
|
43
42
|
"chevron-down": "chevron-down";
|
|
44
43
|
"chevron-left": "chevron-left";
|
|
@@ -65,6 +64,7 @@ export declare const feedbackContracts: {
|
|
|
65
64
|
"folder-open": "folder-open";
|
|
66
65
|
gauge: "gauge";
|
|
67
66
|
globe: "globe";
|
|
67
|
+
grid: "grid";
|
|
68
68
|
hash: "hash";
|
|
69
69
|
heart: "heart";
|
|
70
70
|
"help-circle": "help-circle";
|
|
@@ -106,9 +106,9 @@ export declare const feedbackContracts: {
|
|
|
106
106
|
shield: "shield";
|
|
107
107
|
"skip-forward": "skip-forward";
|
|
108
108
|
sliders: "sliders";
|
|
109
|
+
square: "square";
|
|
109
110
|
star: "star";
|
|
110
111
|
stop: "stop";
|
|
111
|
-
table: "table";
|
|
112
112
|
tag: "tag";
|
|
113
113
|
terminal: "terminal";
|
|
114
114
|
"thumbs-down": "thumbs-down";
|
|
@@ -155,11 +155,9 @@ export declare const feedbackContracts: {
|
|
|
155
155
|
x: "x";
|
|
156
156
|
search: "search";
|
|
157
157
|
file: "file";
|
|
158
|
+
table: "table";
|
|
158
159
|
link: "link";
|
|
159
160
|
check: "check";
|
|
160
|
-
square: "square";
|
|
161
|
-
camera: "camera";
|
|
162
|
-
grid: "grid";
|
|
163
161
|
activity: "activity";
|
|
164
162
|
"alert-circle": "alert-circle";
|
|
165
163
|
"alert-triangle": "alert-triangle";
|
|
@@ -176,6 +174,7 @@ export declare const feedbackContracts: {
|
|
|
176
174
|
box: "box";
|
|
177
175
|
braces: "braces";
|
|
178
176
|
calendar: "calendar";
|
|
177
|
+
camera: "camera";
|
|
179
178
|
"check-circle": "check-circle";
|
|
180
179
|
"chevron-down": "chevron-down";
|
|
181
180
|
"chevron-left": "chevron-left";
|
|
@@ -202,6 +201,7 @@ export declare const feedbackContracts: {
|
|
|
202
201
|
"folder-open": "folder-open";
|
|
203
202
|
gauge: "gauge";
|
|
204
203
|
globe: "globe";
|
|
204
|
+
grid: "grid";
|
|
205
205
|
hash: "hash";
|
|
206
206
|
heart: "heart";
|
|
207
207
|
"help-circle": "help-circle";
|
|
@@ -243,9 +243,9 @@ export declare const feedbackContracts: {
|
|
|
243
243
|
shield: "shield";
|
|
244
244
|
"skip-forward": "skip-forward";
|
|
245
245
|
sliders: "sliders";
|
|
246
|
+
square: "square";
|
|
246
247
|
star: "star";
|
|
247
248
|
stop: "stop";
|
|
248
|
-
table: "table";
|
|
249
249
|
tag: "tag";
|
|
250
250
|
terminal: "terminal";
|
|
251
251
|
"thumbs-down": "thumbs-down";
|
|
@@ -319,11 +319,9 @@ export declare const feedbackContracts: {
|
|
|
319
319
|
x: "x";
|
|
320
320
|
search: "search";
|
|
321
321
|
file: "file";
|
|
322
|
+
table: "table";
|
|
322
323
|
link: "link";
|
|
323
324
|
check: "check";
|
|
324
|
-
square: "square";
|
|
325
|
-
camera: "camera";
|
|
326
|
-
grid: "grid";
|
|
327
325
|
activity: "activity";
|
|
328
326
|
"alert-circle": "alert-circle";
|
|
329
327
|
"alert-triangle": "alert-triangle";
|
|
@@ -340,6 +338,7 @@ export declare const feedbackContracts: {
|
|
|
340
338
|
box: "box";
|
|
341
339
|
braces: "braces";
|
|
342
340
|
calendar: "calendar";
|
|
341
|
+
camera: "camera";
|
|
343
342
|
"check-circle": "check-circle";
|
|
344
343
|
"chevron-down": "chevron-down";
|
|
345
344
|
"chevron-left": "chevron-left";
|
|
@@ -366,6 +365,7 @@ export declare const feedbackContracts: {
|
|
|
366
365
|
"folder-open": "folder-open";
|
|
367
366
|
gauge: "gauge";
|
|
368
367
|
globe: "globe";
|
|
368
|
+
grid: "grid";
|
|
369
369
|
hash: "hash";
|
|
370
370
|
heart: "heart";
|
|
371
371
|
"help-circle": "help-circle";
|
|
@@ -407,9 +407,9 @@ export declare const feedbackContracts: {
|
|
|
407
407
|
shield: "shield";
|
|
408
408
|
"skip-forward": "skip-forward";
|
|
409
409
|
sliders: "sliders";
|
|
410
|
+
square: "square";
|
|
410
411
|
star: "star";
|
|
411
412
|
stop: "stop";
|
|
412
|
-
table: "table";
|
|
413
413
|
tag: "tag";
|
|
414
414
|
terminal: "terminal";
|
|
415
415
|
"thumbs-down": "thumbs-down";
|
|
@@ -23,11 +23,9 @@ export declare const formContracts: {
|
|
|
23
23
|
x: "x";
|
|
24
24
|
search: "search";
|
|
25
25
|
file: "file";
|
|
26
|
+
table: "table";
|
|
26
27
|
link: "link";
|
|
27
28
|
check: "check";
|
|
28
|
-
square: "square";
|
|
29
|
-
camera: "camera";
|
|
30
|
-
grid: "grid";
|
|
31
29
|
activity: "activity";
|
|
32
30
|
"alert-circle": "alert-circle";
|
|
33
31
|
"alert-triangle": "alert-triangle";
|
|
@@ -44,6 +42,7 @@ export declare const formContracts: {
|
|
|
44
42
|
box: "box";
|
|
45
43
|
braces: "braces";
|
|
46
44
|
calendar: "calendar";
|
|
45
|
+
camera: "camera";
|
|
47
46
|
"check-circle": "check-circle";
|
|
48
47
|
"chevron-down": "chevron-down";
|
|
49
48
|
"chevron-left": "chevron-left";
|
|
@@ -70,6 +69,7 @@ export declare const formContracts: {
|
|
|
70
69
|
"folder-open": "folder-open";
|
|
71
70
|
gauge: "gauge";
|
|
72
71
|
globe: "globe";
|
|
72
|
+
grid: "grid";
|
|
73
73
|
hash: "hash";
|
|
74
74
|
heart: "heart";
|
|
75
75
|
"help-circle": "help-circle";
|
|
@@ -111,9 +111,9 @@ export declare const formContracts: {
|
|
|
111
111
|
shield: "shield";
|
|
112
112
|
"skip-forward": "skip-forward";
|
|
113
113
|
sliders: "sliders";
|
|
114
|
+
square: "square";
|
|
114
115
|
star: "star";
|
|
115
116
|
stop: "stop";
|
|
116
|
-
table: "table";
|
|
117
117
|
tag: "tag";
|
|
118
118
|
terminal: "terminal";
|
|
119
119
|
"thumbs-down": "thumbs-down";
|
|
@@ -147,10 +147,10 @@ export declare const formContracts: {
|
|
|
147
147
|
}>>;
|
|
148
148
|
size: z.ZodOptional<z.ZodEnum<{
|
|
149
149
|
default: "default";
|
|
150
|
+
icon: "icon";
|
|
150
151
|
xs: "xs";
|
|
151
152
|
sm: "sm";
|
|
152
153
|
lg: "lg";
|
|
153
|
-
icon: "icon";
|
|
154
154
|
"icon-xs": "icon-xs";
|
|
155
155
|
"icon-sm": "icon-sm";
|
|
156
156
|
"icon-lg": "icon-lg";
|
|
@@ -183,8 +183,8 @@ export declare const formContracts: {
|
|
|
183
183
|
basePath: z.ZodOptional<z.ZodString>;
|
|
184
184
|
}, z.core.$strip>]>>>;
|
|
185
185
|
orientation: z.ZodOptional<z.ZodEnum<{
|
|
186
|
-
horizontal: "horizontal";
|
|
187
186
|
vertical: "vertical";
|
|
187
|
+
horizontal: "horizontal";
|
|
188
188
|
}>>;
|
|
189
189
|
className: z.ZodOptional<z.ZodString>;
|
|
190
190
|
}, z.core.$strip>;
|
|
@@ -310,8 +310,8 @@ export declare const formContracts: {
|
|
|
310
310
|
basePath: z.ZodOptional<z.ZodString>;
|
|
311
311
|
}, z.core.$strip>]>>>;
|
|
312
312
|
orientation: z.ZodOptional<z.ZodEnum<{
|
|
313
|
-
horizontal: "horizontal";
|
|
314
313
|
vertical: "vertical";
|
|
314
|
+
horizontal: "horizontal";
|
|
315
315
|
}>>;
|
|
316
316
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
317
317
|
className: z.ZodOptional<z.ZodString>;
|
|
@@ -400,11 +400,9 @@ export declare const formContracts: {
|
|
|
400
400
|
x: "x";
|
|
401
401
|
search: "search";
|
|
402
402
|
file: "file";
|
|
403
|
+
table: "table";
|
|
403
404
|
link: "link";
|
|
404
405
|
check: "check";
|
|
405
|
-
square: "square";
|
|
406
|
-
camera: "camera";
|
|
407
|
-
grid: "grid";
|
|
408
406
|
activity: "activity";
|
|
409
407
|
"alert-circle": "alert-circle";
|
|
410
408
|
"alert-triangle": "alert-triangle";
|
|
@@ -421,6 +419,7 @@ export declare const formContracts: {
|
|
|
421
419
|
box: "box";
|
|
422
420
|
braces: "braces";
|
|
423
421
|
calendar: "calendar";
|
|
422
|
+
camera: "camera";
|
|
424
423
|
"check-circle": "check-circle";
|
|
425
424
|
"chevron-down": "chevron-down";
|
|
426
425
|
"chevron-left": "chevron-left";
|
|
@@ -447,6 +446,7 @@ export declare const formContracts: {
|
|
|
447
446
|
"folder-open": "folder-open";
|
|
448
447
|
gauge: "gauge";
|
|
449
448
|
globe: "globe";
|
|
449
|
+
grid: "grid";
|
|
450
450
|
hash: "hash";
|
|
451
451
|
heart: "heart";
|
|
452
452
|
"help-circle": "help-circle";
|
|
@@ -488,9 +488,9 @@ export declare const formContracts: {
|
|
|
488
488
|
shield: "shield";
|
|
489
489
|
"skip-forward": "skip-forward";
|
|
490
490
|
sliders: "sliders";
|
|
491
|
+
square: "square";
|
|
491
492
|
star: "star";
|
|
492
493
|
stop: "stop";
|
|
493
|
-
table: "table";
|
|
494
494
|
tag: "tag";
|
|
495
495
|
terminal: "terminal";
|
|
496
496
|
"thumbs-down": "thumbs-down";
|
|
@@ -563,11 +563,9 @@ export declare const formContracts: {
|
|
|
563
563
|
x: "x";
|
|
564
564
|
search: "search";
|
|
565
565
|
file: "file";
|
|
566
|
+
table: "table";
|
|
566
567
|
link: "link";
|
|
567
568
|
check: "check";
|
|
568
|
-
square: "square";
|
|
569
|
-
camera: "camera";
|
|
570
|
-
grid: "grid";
|
|
571
569
|
activity: "activity";
|
|
572
570
|
"alert-circle": "alert-circle";
|
|
573
571
|
"alert-triangle": "alert-triangle";
|
|
@@ -584,6 +582,7 @@ export declare const formContracts: {
|
|
|
584
582
|
box: "box";
|
|
585
583
|
braces: "braces";
|
|
586
584
|
calendar: "calendar";
|
|
585
|
+
camera: "camera";
|
|
587
586
|
"check-circle": "check-circle";
|
|
588
587
|
"chevron-down": "chevron-down";
|
|
589
588
|
"chevron-left": "chevron-left";
|
|
@@ -610,6 +609,7 @@ export declare const formContracts: {
|
|
|
610
609
|
"folder-open": "folder-open";
|
|
611
610
|
gauge: "gauge";
|
|
612
611
|
globe: "globe";
|
|
612
|
+
grid: "grid";
|
|
613
613
|
hash: "hash";
|
|
614
614
|
heart: "heart";
|
|
615
615
|
"help-circle": "help-circle";
|
|
@@ -651,9 +651,9 @@ export declare const formContracts: {
|
|
|
651
651
|
shield: "shield";
|
|
652
652
|
"skip-forward": "skip-forward";
|
|
653
653
|
sliders: "sliders";
|
|
654
|
+
square: "square";
|
|
654
655
|
star: "star";
|
|
655
656
|
stop: "stop";
|
|
656
|
-
table: "table";
|
|
657
657
|
tag: "tag";
|
|
658
658
|
terminal: "terminal";
|
|
659
659
|
"thumbs-down": "thumbs-down";
|
|
@@ -711,11 +711,9 @@ export declare const formContracts: {
|
|
|
711
711
|
x: "x";
|
|
712
712
|
search: "search";
|
|
713
713
|
file: "file";
|
|
714
|
+
table: "table";
|
|
714
715
|
link: "link";
|
|
715
716
|
check: "check";
|
|
716
|
-
square: "square";
|
|
717
|
-
camera: "camera";
|
|
718
|
-
grid: "grid";
|
|
719
717
|
activity: "activity";
|
|
720
718
|
"alert-circle": "alert-circle";
|
|
721
719
|
"alert-triangle": "alert-triangle";
|
|
@@ -732,6 +730,7 @@ export declare const formContracts: {
|
|
|
732
730
|
box: "box";
|
|
733
731
|
braces: "braces";
|
|
734
732
|
calendar: "calendar";
|
|
733
|
+
camera: "camera";
|
|
735
734
|
"check-circle": "check-circle";
|
|
736
735
|
"chevron-down": "chevron-down";
|
|
737
736
|
"chevron-left": "chevron-left";
|
|
@@ -758,6 +757,7 @@ export declare const formContracts: {
|
|
|
758
757
|
"folder-open": "folder-open";
|
|
759
758
|
gauge: "gauge";
|
|
760
759
|
globe: "globe";
|
|
760
|
+
grid: "grid";
|
|
761
761
|
hash: "hash";
|
|
762
762
|
heart: "heart";
|
|
763
763
|
"help-circle": "help-circle";
|
|
@@ -799,9 +799,9 @@ export declare const formContracts: {
|
|
|
799
799
|
shield: "shield";
|
|
800
800
|
"skip-forward": "skip-forward";
|
|
801
801
|
sliders: "sliders";
|
|
802
|
+
square: "square";
|
|
802
803
|
star: "star";
|
|
803
804
|
stop: "stop";
|
|
804
|
-
table: "table";
|
|
805
805
|
tag: "tag";
|
|
806
806
|
terminal: "terminal";
|
|
807
807
|
"thumbs-down": "thumbs-down";
|
|
@@ -853,8 +853,8 @@ export declare const formContracts: {
|
|
|
853
853
|
basePath: z.ZodOptional<z.ZodString>;
|
|
854
854
|
}, z.core.$strip>]>>>;
|
|
855
855
|
orientation: z.ZodOptional<z.ZodEnum<{
|
|
856
|
-
horizontal: "horizontal";
|
|
857
856
|
vertical: "vertical";
|
|
857
|
+
horizontal: "horizontal";
|
|
858
858
|
responsive: "responsive";
|
|
859
859
|
}>>;
|
|
860
860
|
className: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/catalogs/parts/html.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/catalogs/parts/html.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,mEAAmE;AAEnE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CQ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { BlokPropSchemas } from '../../renderer/runtime/schemas.js';
|
|
3
3
|
import { actionProp, boolSchema, classNameSchema, contentSchema, layoutFields, textFields } from '../props.js';
|
|
4
|
-
/** ui
|
|
4
|
+
/** the ui family's links and media: `Link`, `Image` and `Code`. */
|
|
5
5
|
export const htmlContracts = {
|
|
6
6
|
Link: {
|
|
7
7
|
schema: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../src/catalogs/parts/html.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAC,eAAe,EAAC,MA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CACzD,uCAAuC,CACxC;YACD,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,YAAY,CAAC,KAAK;YACzB,MAAM,EAAE,YAAY,CAAC,MAAM;YAC3B,QAAQ,EAAE,YAAY,CAAC,QAAQ;YAC/B,SAAS,EAAE,YAAY,CAAC,SAAS;YACjC,MAAM,EAAE,YAAY,CAAC,MAAM;SAC5B,CAAC;aACD,QAAQ,CAAC,WAAW,CAAC;KACzB;IACD,IAAI,EAAE;QACJ,MAAM,EAAE,CAAC;aACN,MAAM,CAAC;YACN,IAAI,EAAE,eAAe,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;YAC5E,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,wDAAwD,CAAC;YACpF,SAAS,EAAE,eAAe;YAC1B,GAAG,UAAU;SACd,CAAC;aACD,QAAQ,CAAC,oDAAoD,CAAC;KAClE;CAC+B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
* The icons a blok payload may name, and `Icon` (ui
|
|
3
|
+
* The icons a blok payload may name, and `Icon` (the ui family).
|
|
4
4
|
*
|
|
5
5
|
* The names are spelled out here so the contract carries no icon set: the
|
|
6
6
|
* renderer's `BLOK_ICONS` map is typed against this tuple, so a name without a
|
|
@@ -22,11 +22,9 @@ export declare const iconNameSchema: z.ZodOptional<z.ZodEnum<{
|
|
|
22
22
|
x: "x";
|
|
23
23
|
search: "search";
|
|
24
24
|
file: "file";
|
|
25
|
+
table: "table";
|
|
25
26
|
link: "link";
|
|
26
27
|
check: "check";
|
|
27
|
-
square: "square";
|
|
28
|
-
camera: "camera";
|
|
29
|
-
grid: "grid";
|
|
30
28
|
activity: "activity";
|
|
31
29
|
"alert-circle": "alert-circle";
|
|
32
30
|
"alert-triangle": "alert-triangle";
|
|
@@ -43,6 +41,7 @@ export declare const iconNameSchema: z.ZodOptional<z.ZodEnum<{
|
|
|
43
41
|
box: "box";
|
|
44
42
|
braces: "braces";
|
|
45
43
|
calendar: "calendar";
|
|
44
|
+
camera: "camera";
|
|
46
45
|
"check-circle": "check-circle";
|
|
47
46
|
"chevron-down": "chevron-down";
|
|
48
47
|
"chevron-left": "chevron-left";
|
|
@@ -69,6 +68,7 @@ export declare const iconNameSchema: z.ZodOptional<z.ZodEnum<{
|
|
|
69
68
|
"folder-open": "folder-open";
|
|
70
69
|
gauge: "gauge";
|
|
71
70
|
globe: "globe";
|
|
71
|
+
grid: "grid";
|
|
72
72
|
hash: "hash";
|
|
73
73
|
heart: "heart";
|
|
74
74
|
"help-circle": "help-circle";
|
|
@@ -110,9 +110,9 @@ export declare const iconNameSchema: z.ZodOptional<z.ZodEnum<{
|
|
|
110
110
|
shield: "shield";
|
|
111
111
|
"skip-forward": "skip-forward";
|
|
112
112
|
sliders: "sliders";
|
|
113
|
+
square: "square";
|
|
113
114
|
star: "star";
|
|
114
115
|
stop: "stop";
|
|
115
|
-
table: "table";
|
|
116
116
|
tag: "tag";
|
|
117
117
|
terminal: "terminal";
|
|
118
118
|
"thumbs-down": "thumbs-down";
|
|
@@ -148,11 +148,9 @@ export declare const iconContracts: {
|
|
|
148
148
|
x: "x";
|
|
149
149
|
search: "search";
|
|
150
150
|
file: "file";
|
|
151
|
+
table: "table";
|
|
151
152
|
link: "link";
|
|
152
153
|
check: "check";
|
|
153
|
-
square: "square";
|
|
154
|
-
camera: "camera";
|
|
155
|
-
grid: "grid";
|
|
156
154
|
activity: "activity";
|
|
157
155
|
"alert-circle": "alert-circle";
|
|
158
156
|
"alert-triangle": "alert-triangle";
|
|
@@ -169,6 +167,7 @@ export declare const iconContracts: {
|
|
|
169
167
|
box: "box";
|
|
170
168
|
braces: "braces";
|
|
171
169
|
calendar: "calendar";
|
|
170
|
+
camera: "camera";
|
|
172
171
|
"check-circle": "check-circle";
|
|
173
172
|
"chevron-down": "chevron-down";
|
|
174
173
|
"chevron-left": "chevron-left";
|
|
@@ -195,6 +194,7 @@ export declare const iconContracts: {
|
|
|
195
194
|
"folder-open": "folder-open";
|
|
196
195
|
gauge: "gauge";
|
|
197
196
|
globe: "globe";
|
|
197
|
+
grid: "grid";
|
|
198
198
|
hash: "hash";
|
|
199
199
|
heart: "heart";
|
|
200
200
|
"help-circle": "help-circle";
|
|
@@ -236,9 +236,9 @@ export declare const iconContracts: {
|
|
|
236
236
|
shield: "shield";
|
|
237
237
|
"skip-forward": "skip-forward";
|
|
238
238
|
sliders: "sliders";
|
|
239
|
+
square: "square";
|
|
239
240
|
star: "star";
|
|
240
241
|
stop: "stop";
|
|
241
|
-
table: "table";
|
|
242
242
|
tag: "tag";
|
|
243
243
|
terminal: "terminal";
|
|
244
244
|
"thumbs-down": "thumbs-down";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { classNameSchema, numberSchema } from '../props.js';
|
|
3
3
|
/**
|
|
4
|
-
* The icons a blok payload may name, and `Icon` (ui
|
|
4
|
+
* The icons a blok payload may name, and `Icon` (the ui family).
|
|
5
5
|
*
|
|
6
6
|
* The names are spelled out here so the contract carries no icon set: the
|
|
7
7
|
* renderer's `BLOK_ICONS` map is typed against this tuple, so a name without a
|