@upstart.gg/sdk 0.0.121 → 0.0.123
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/shared/ajv.d.ts.map +1 -1
- package/dist/shared/ajv.js +1 -1
- package/dist/shared/attributes.js +1 -1
- package/dist/shared/brick-manifest.d.ts +5 -19
- package/dist/shared/brick-manifest.d.ts.map +1 -1
- package/dist/shared/brick-manifest.js +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts +3 -6
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +1 -1
- package/dist/shared/bricks/manifests/box.manifest.d.ts +14 -16
- package/dist/shared/bricks/manifests/box.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/box.manifest.js +1 -1
- package/dist/shared/bricks/manifests/button.manifest.d.ts +7 -7
- package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/button.manifest.js +1 -1
- package/dist/shared/bricks/manifests/card.manifest.d.ts +7 -7
- package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/card.manifest.js +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +3 -6
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
- package/dist/shared/bricks/manifests/dynamic.manifest.d.ts +20 -22
- package/dist/shared/bricks/manifests/dynamic.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/dynamic.manifest.js +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +3 -6
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
- package/dist/shared/bricks/manifests/form.manifest.d.ts +8 -7
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.js +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +8 -7
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +3 -6
- package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
- package/dist/shared/bricks/manifests/image.manifest.d.ts +9 -6
- package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/image.manifest.js +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +11 -20
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
- package/dist/shared/bricks/manifests/map.manifest.d.ts +3 -6
- package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/map.manifest.js +1 -1
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts +3 -13
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +11 -8
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +8 -6
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
- package/dist/shared/bricks/manifests/spacer.manifest.d.ts +3 -6
- package/dist/shared/bricks/manifests/spacer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/spacer.manifest.js +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +5 -8
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
- package/dist/shared/bricks/manifests/text.manifest.d.ts +8 -7
- package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/text.manifest.js +1 -1
- package/dist/shared/bricks/manifests/video.manifest.d.ts +8 -6
- package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/video.manifest.js +1 -1
- package/dist/shared/bricks/props/align.d.ts +8 -3
- package/dist/shared/bricks/props/align.d.ts.map +1 -1
- package/dist/shared/bricks/props/align.js +1 -1
- package/dist/shared/bricks/props/border.d.ts +11 -3
- package/dist/shared/bricks/props/border.d.ts.map +1 -1
- package/dist/shared/bricks/props/border.js +1 -1
- package/dist/shared/bricks/props/common.d.ts +2 -3
- package/dist/shared/bricks/props/common.d.ts.map +1 -1
- package/dist/shared/bricks/props/common.js +1 -1
- package/dist/shared/bricks/props/datasource.d.ts +3 -4
- package/dist/shared/bricks/props/datasource.d.ts.map +1 -1
- package/dist/shared/bricks/props/datasource.js +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +2 -4
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
- package/dist/shared/bricks/props/helpers.js +1 -1
- package/dist/shared/bricks/props/image.js +1 -1
- package/dist/shared/bricks/props/padding.d.ts.map +1 -1
- package/dist/shared/bricks/props/padding.js +1 -1
- package/dist/shared/bricks/props/preset.d.ts.map +1 -1
- package/dist/shared/bricks/props/preset.js +1 -1
- package/dist/shared/bricks/props/types.d.ts +12 -1
- package/dist/shared/bricks/props/types.d.ts.map +1 -1
- package/dist/shared/bricks.d.ts +8 -26
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/chunk-25GNRPND.js +3 -0
- package/dist/shared/chunk-3BHGHCFJ.js +3 -0
- package/dist/shared/chunk-4U3RUNXA.js +3 -0
- package/dist/shared/chunk-6RCMJM64.js +3 -0
- package/dist/shared/chunk-74VUKHQ3.js +3 -0
- package/dist/shared/chunk-7KZ4JO3A.js +3 -0
- package/dist/shared/chunk-AAFBPONG.js +3 -0
- package/dist/shared/chunk-ACWYW257.js +3 -0
- package/dist/shared/{chunk-3OGAJIKA.js → chunk-BWFLDYK4.js} +1 -1
- package/dist/shared/chunk-CNZCBHS6.js +3 -0
- package/dist/shared/chunk-DMMN4GLQ.js +5 -0
- package/dist/shared/{chunk-GWYPUQKB.js → chunk-EYFM6QEJ.js} +1 -1
- package/dist/shared/chunk-FZR35ENC.js +3 -0
- package/dist/shared/{chunk-3D7E2JXE.js → chunk-GAMWYHGA.js} +2 -2
- package/dist/shared/{chunk-FYZJUJEF.js → chunk-HSVVL2XI.js} +1 -1
- package/dist/shared/{chunk-B5BHH5ZS.js → chunk-JBK4UT4V.js} +1 -1
- package/dist/shared/chunk-JPZLUT2C.js +3 -0
- package/dist/shared/chunk-LVALAJTS.js +3 -0
- package/dist/shared/chunk-N3V5MQ54.js +3 -0
- package/dist/shared/chunk-NH7OSYIN.js +3 -0
- package/dist/shared/chunk-O2FH4E3N.js +3 -0
- package/dist/shared/{chunk-VW5IBZWH.js → chunk-OQGZM5MP.js} +2 -2
- package/dist/shared/{chunk-GWILRHYI.js → chunk-PNEXNSWL.js} +1 -1
- package/dist/shared/chunk-QC3RMDCP.js +3 -0
- package/dist/shared/chunk-QNONYB7B.js +3 -0
- package/dist/shared/{chunk-EB5C6DYF.js → chunk-RGLVKILY.js} +1 -1
- package/dist/shared/chunk-RO7U6M52.js +3 -0
- package/dist/shared/chunk-RXIM6GTA.js +3 -0
- package/dist/shared/{chunk-CUC7CI6R.js → chunk-SCMY46IO.js} +2 -2
- package/dist/shared/chunk-SMRTJM3Z.js +3 -0
- package/dist/shared/chunk-SPAC6HPH.js +3 -0
- package/dist/shared/chunk-SYBZFX47.js +3 -0
- package/dist/shared/chunk-UISGU6GO.js +3 -0
- package/dist/shared/chunk-VGDHQGKQ.js +3 -0
- package/dist/shared/chunk-VWSGP7VT.js +3 -0
- package/dist/shared/chunk-Z6MXOFP2.js +3 -0
- package/dist/shared/datarecords/types.d.ts +3 -3
- package/dist/shared/datasources/types.d.ts +15 -33
- package/dist/shared/datasources/types.d.ts.map +1 -1
- package/dist/shared/datasources/types.js +1 -1
- package/dist/shared/datasources.d.ts +7 -12
- package/dist/shared/datasources.d.ts.map +1 -1
- package/dist/shared/datasources.js +1 -1
- package/dist/shared/layout-constants.js +1 -1
- package/dist/shared/page.d.ts +3 -2
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +1 -1
- package/dist/shared/site.d.ts +15 -26
- package/dist/shared/site.d.ts.map +1 -1
- package/dist/shared/site.js +1 -1
- package/dist/shared/utils/canvas-data-uri.js +1 -1
- package/dist/shared/utils/schema-resolver.js +1 -1
- package/dist/shared/utils/schema.d.ts +3 -5
- package/dist/shared/utils/schema.d.ts.map +1 -1
- package/dist/shared/utils/schema.js +1 -1
- package/dist/shared/utils/typed-ref.d.ts +2 -1
- package/dist/shared/utils/typed-ref.d.ts.map +1 -1
- package/package.json +3 -4
- package/dist/shared/bricks/props/datasource-ref.d.ts +0 -14
- package/dist/shared/bricks/props/datasource-ref.d.ts.map +0 -1
- package/dist/shared/bricks/props/datasource-ref.js +0 -3
- package/dist/shared/chunk-23RG3W2X.js +0 -3
- package/dist/shared/chunk-3CXVWU5K.js +0 -3
- package/dist/shared/chunk-3EA3PDY3.js +0 -3
- package/dist/shared/chunk-3L4QG6AJ.js +0 -3
- package/dist/shared/chunk-6XTAAT6E.js +0 -3
- package/dist/shared/chunk-ASUBTHRW.js +0 -3
- package/dist/shared/chunk-B2J5U5HX.js +0 -3
- package/dist/shared/chunk-BEPCQWZN.js +0 -3
- package/dist/shared/chunk-BXWH4YCJ.js +0 -3
- package/dist/shared/chunk-FP5CRUZH.js +0 -3
- package/dist/shared/chunk-G7PZ4H5H.js +0 -5
- package/dist/shared/chunk-GJMMLM6H.js +0 -3
- package/dist/shared/chunk-I6GBLCBK.js +0 -3
- package/dist/shared/chunk-JVEHSONJ.js +0 -3
- package/dist/shared/chunk-JWDS7DVS.js +0 -3
- package/dist/shared/chunk-L6O4UKSS.js +0 -3
- package/dist/shared/chunk-L7BZGNB2.js +0 -3
- package/dist/shared/chunk-M56NNPVI.js +0 -3
- package/dist/shared/chunk-N3FHTP5P.js +0 -3
- package/dist/shared/chunk-OELIU5BZ.js +0 -3
- package/dist/shared/chunk-OKGREWGM.js +0 -3
- package/dist/shared/chunk-R3KGKTMJ.js +0 -3
- package/dist/shared/chunk-RUEIDZT6.js +0 -3
- package/dist/shared/chunk-VU7NBXYI.js +0 -3
- package/dist/shared/chunk-WJLCWOXX.js +0 -3
- package/dist/shared/chunk-YAH55ZYR.js +0 -3
- package/dist/shared/chunk-YGLHFAEP.js +0 -3
- package/dist/shared/chunk-YJGNZ3MY.js +0 -3
- package/dist/shared/chunk-ZFBCYXBD.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BrickProps } from "../props/types";
|
|
2
2
|
export declare const manifest: {
|
|
3
|
-
readonly icon:
|
|
3
|
+
readonly icon: import("react-icons/lib").IconType;
|
|
4
4
|
readonly props: import("@sinclair/typebox").TObject<{
|
|
5
5
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
6
|
hidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
@@ -10,9 +10,8 @@ export declare const manifest: {
|
|
|
10
10
|
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11
11
|
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
12
|
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
|
-
|
|
14
|
-
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center">>;
|
|
15
|
-
dynamicContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13
|
+
grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
|
|
16
15
|
} & {
|
|
17
16
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
17
|
gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
|
|
@@ -24,6 +23,11 @@ export declare const manifest: {
|
|
|
24
23
|
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"flex-row" | "flex-col">>;
|
|
25
24
|
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"inherit">, import("@sinclair/typebox").TLiteral<"text-xs">, import("@sinclair/typebox").TLiteral<"text-sm">, import("@sinclair/typebox").TLiteral<"text-base">, import("@sinclair/typebox").TLiteral<"text-lg">, import("@sinclair/typebox").TLiteral<"text-xl">, import("@sinclair/typebox").TLiteral<"text-2xl">, import("@sinclair/typebox").TLiteral<"text-3xl">, import("@sinclair/typebox").TLiteral<"text-4xl">, import("@sinclair/typebox").TLiteral<"text-5xl">, import("@sinclair/typebox").TLiteral<"text-6xl">, import("@sinclair/typebox").TLiteral<"text-7xl">]>>;
|
|
26
25
|
padding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-1" | "p-2" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">>;
|
|
26
|
+
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
|
|
27
|
+
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
28
|
+
width: import("@sinclair/typebox").TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
|
|
29
|
+
color: import("@sinclair/typebox").TString;
|
|
30
|
+
}>>;
|
|
27
31
|
icononly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
28
32
|
}>;
|
|
29
33
|
readonly category: import("~/shared/brick-manifest").BrickCategory;
|
|
@@ -32,7 +36,6 @@ export declare const manifest: {
|
|
|
32
36
|
readonly deletable: boolean;
|
|
33
37
|
readonly movable: boolean;
|
|
34
38
|
readonly resizable: boolean | "horizontal" | "vertical";
|
|
35
|
-
readonly repeatable: boolean;
|
|
36
39
|
readonly duplicatable: boolean;
|
|
37
40
|
readonly isContainer: boolean;
|
|
38
41
|
readonly defaultWidth: {
|
|
@@ -64,7 +67,6 @@ export declare const manifest: {
|
|
|
64
67
|
mobile?: number;
|
|
65
68
|
desktop?: number;
|
|
66
69
|
};
|
|
67
|
-
readonly datasource?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>> | undefined;
|
|
68
70
|
readonly inlineDragDisabled?: boolean;
|
|
69
71
|
readonly aiInstructions?: string;
|
|
70
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social-links.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/social-links.manifest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"social-links.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/social-links.manifest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAQjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAnB,CAAC;eAAqB,CAAC;;;cAEL,CAAC;eACH,CAAC;;;cAEH,CAAA;eAEd,CAAF;;;cAGa,CAAC;eACF,CAAC;;;;CAqOX,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;CAC/C,EAsYA,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-CNZCBHS6.js";import"../../chunk-ZKGRZ5CN.js";import"../../chunk-DBSKZ77G.js";import"../../chunk-WVZGGVII.js";import"../../chunk-N3V5MQ54.js";import"../../chunk-7KZ4JO3A.js";import"../../chunk-AAFBPONG.js";import"../../chunk-ACWYW257.js";import"../../chunk-LVALAJTS.js";import"../../chunk-NH7OSYIN.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SMRTJM3Z.js";import"../../chunk-FZR35ENC.js";import"../../chunk-PYR54IIV.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{b as examples,a as manifest};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BrickProps } from "../props/types";
|
|
2
2
|
export declare const manifest: {
|
|
3
|
-
readonly icon:
|
|
3
|
+
readonly icon: import("react-icons/lib").IconType;
|
|
4
4
|
readonly props: import("@sinclair/typebox").TObject<{
|
|
5
5
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
6
|
hidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
@@ -10,9 +10,8 @@ export declare const manifest: {
|
|
|
10
10
|
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11
11
|
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
12
|
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
|
-
|
|
14
|
-
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center">>;
|
|
15
|
-
dynamicContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13
|
+
grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
|
|
16
15
|
} & {
|
|
17
16
|
autogrow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
18
17
|
}>;
|
|
@@ -22,7 +21,6 @@ export declare const manifest: {
|
|
|
22
21
|
readonly deletable: boolean;
|
|
23
22
|
readonly movable: boolean;
|
|
24
23
|
readonly resizable: boolean | "horizontal" | "vertical";
|
|
25
|
-
readonly repeatable: boolean;
|
|
26
24
|
readonly duplicatable: boolean;
|
|
27
25
|
readonly isContainer: boolean;
|
|
28
26
|
readonly defaultWidth: {
|
|
@@ -54,7 +52,6 @@ export declare const manifest: {
|
|
|
54
52
|
mobile?: number;
|
|
55
53
|
desktop?: number;
|
|
56
54
|
};
|
|
57
|
-
readonly datasource?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>> | undefined;
|
|
58
55
|
readonly inlineDragDisabled?: boolean;
|
|
59
56
|
readonly aiInstructions?: string;
|
|
60
57
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacer.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/spacer.manifest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAKjD,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"spacer.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/spacer.manifest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAKjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYL,CAAC;eAEJ,CAAA;;;cAIK,CAAC;eACF,CAAC;;;cAEG,CAAA;eAAqB,CAAC;;;cAEvC,CAAC;eAIG,CAAC;;;;CAFP,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;CAC/C,EAeA,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-74VUKHQ3.js";import"../../chunk-YIFNKP4J.js";import"../../chunk-AAFBPONG.js";import"../../chunk-ACWYW257.js";import"../../chunk-NH7OSYIN.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SMRTJM3Z.js";import"../../chunk-FZR35ENC.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{b as examples,a as manifest};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type TObject } from "@sinclair/typebox";
|
|
2
2
|
import type { BrickProps } from "../props/types";
|
|
3
3
|
export declare const manifest: {
|
|
4
|
-
readonly icon:
|
|
4
|
+
readonly icon: import("react-icons/lib").IconType;
|
|
5
5
|
readonly props: TObject<{
|
|
6
6
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
7
7
|
hidden: import("@sinclair/typebox").TOptional<TObject<{
|
|
@@ -11,16 +11,15 @@ export declare const manifest: {
|
|
|
11
11
|
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12
12
|
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
13
|
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
-
|
|
15
|
-
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center">>;
|
|
16
|
-
dynamicContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14
|
+
grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
|
|
17
16
|
} & {
|
|
18
17
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19
18
|
gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
|
|
20
19
|
fontSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"inherit">, import("@sinclair/typebox").TLiteral<"text-xs">, import("@sinclair/typebox").TLiteral<"text-sm">, import("@sinclair/typebox").TLiteral<"text-base">, import("@sinclair/typebox").TLiteral<"text-lg">, import("@sinclair/typebox").TLiteral<"text-xl">, import("@sinclair/typebox").TLiteral<"text-2xl">, import("@sinclair/typebox").TLiteral<"text-3xl">, import("@sinclair/typebox").TLiteral<"text-4xl">, import("@sinclair/typebox").TLiteral<"text-5xl">, import("@sinclair/typebox").TLiteral<"text-6xl">, import("@sinclair/typebox").TLiteral<"text-7xl">]>>;
|
|
21
20
|
padding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-1" | "p-2" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">>;
|
|
22
21
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
23
|
-
testimonials: import("@sinclair/typebox").TArray<TObject<{
|
|
22
|
+
testimonials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<TObject<{
|
|
24
23
|
text: import("@sinclair/typebox").TString;
|
|
25
24
|
author: import("@sinclair/typebox").TString;
|
|
26
25
|
company: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -31,7 +30,7 @@ export declare const manifest: {
|
|
|
31
30
|
position: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-top">, import("@sinclair/typebox").TLiteral<"object-center">, import("@sinclair/typebox").TLiteral<"object-bottom">, import("@sinclair/typebox").TLiteral<"object-left">, import("@sinclair/typebox").TLiteral<"object-right">, import("@sinclair/typebox").TLiteral<"object-top-left">, import("@sinclair/typebox").TLiteral<"object-top-right">, import("@sinclair/typebox").TLiteral<"object-bottom-left">, import("@sinclair/typebox").TLiteral<"object-bottom-right">]>>;
|
|
32
31
|
}>>;
|
|
33
32
|
socialIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
34
|
-
}
|
|
33
|
+
}>>>;
|
|
35
34
|
}>;
|
|
36
35
|
readonly category: import("~/shared/brick-manifest").BrickCategory;
|
|
37
36
|
readonly defaultInspectorTab: "content" | "style" | "preset";
|
|
@@ -39,7 +38,6 @@ export declare const manifest: {
|
|
|
39
38
|
readonly deletable: boolean;
|
|
40
39
|
readonly movable: boolean;
|
|
41
40
|
readonly resizable: boolean | "horizontal" | "vertical";
|
|
42
|
-
readonly repeatable: boolean;
|
|
43
41
|
readonly duplicatable: boolean;
|
|
44
42
|
readonly isContainer: boolean;
|
|
45
43
|
readonly defaultWidth: {
|
|
@@ -71,7 +69,6 @@ export declare const manifest: {
|
|
|
71
69
|
mobile?: number;
|
|
72
70
|
desktop?: number;
|
|
73
71
|
};
|
|
74
|
-
readonly datasource?: TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<TObject<import("@sinclair/typebox").TProperties>> | undefined;
|
|
75
72
|
readonly inlineDragDisabled?: boolean;
|
|
76
73
|
readonly aiInstructions?: string;
|
|
77
74
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testimonials.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/testimonials.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AASpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjD,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"testimonials.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/testimonials.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AASpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAJU,CAAA;eAC7B,CAAC;;;cACQ,CAAC;eAAqB,CAAC;;;cAGhC,CAAC;eACD,CAAD;;;cAC2C,CAAC;eAC7B,CAAC;;;;CA0Qf,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;CAC/C,EAgQA,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-VWSGP7VT.js";import"../../chunk-RGLVKILY.js";import"../../chunk-ZKGRZ5CN.js";import"../../chunk-DBSKZ77G.js";import"../../chunk-7KZ4JO3A.js";import"../../chunk-AAFBPONG.js";import"../../chunk-ACWYW257.js";import"../../chunk-LVALAJTS.js";import"../../chunk-NH7OSYIN.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SMRTJM3Z.js";import"../../chunk-FZR35ENC.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{b as examples,a as manifest};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BrickProps } from "../props/types";
|
|
2
2
|
import { type TObject } from "@sinclair/typebox";
|
|
3
3
|
export declare const manifest: {
|
|
4
|
-
readonly icon:
|
|
4
|
+
readonly icon: import("react-icons/lib").IconType;
|
|
5
5
|
readonly props: TObject<{
|
|
6
6
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
7
7
|
hidden: import("@sinclair/typebox").TOptional<TObject<{
|
|
@@ -11,16 +11,19 @@ export declare const manifest: {
|
|
|
11
11
|
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12
12
|
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
13
|
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
-
|
|
15
|
-
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center">>;
|
|
16
|
-
dynamicContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14
|
+
grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
|
|
17
16
|
} & {
|
|
18
17
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19
18
|
gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
|
|
20
19
|
content: import("@sinclair/typebox").TString;
|
|
21
20
|
verticalAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end" | "items-stretch">>;
|
|
22
21
|
padding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-1" | "p-2" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">>;
|
|
23
|
-
|
|
22
|
+
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
|
|
23
|
+
border: import("@sinclair/typebox").TOptional<TObject<{
|
|
24
|
+
width: import("@sinclair/typebox").TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
|
|
25
|
+
color: import("@sinclair/typebox").TString;
|
|
26
|
+
}>>;
|
|
24
27
|
shadow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>;
|
|
25
28
|
}>;
|
|
26
29
|
readonly category: import("~/shared/brick-manifest").BrickCategory;
|
|
@@ -29,7 +32,6 @@ export declare const manifest: {
|
|
|
29
32
|
readonly deletable: boolean;
|
|
30
33
|
readonly movable: boolean;
|
|
31
34
|
readonly resizable: boolean | "horizontal" | "vertical";
|
|
32
|
-
readonly repeatable: boolean;
|
|
33
35
|
readonly duplicatable: boolean;
|
|
34
36
|
readonly isContainer: boolean;
|
|
35
37
|
readonly defaultWidth: {
|
|
@@ -61,7 +63,6 @@ export declare const manifest: {
|
|
|
61
63
|
mobile?: number;
|
|
62
64
|
desktop?: number;
|
|
63
65
|
};
|
|
64
|
-
readonly datasource?: TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<TObject<import("@sinclair/typebox").TProperties>> | undefined;
|
|
65
66
|
readonly inlineDragDisabled?: boolean;
|
|
66
67
|
readonly aiInstructions?: string;
|
|
67
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/text.manifest.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAe,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AAMpE,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"text.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/text.manifest.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAe,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AAMpE,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAFc,CAAC;eAEpC,CAAA;;;cAEG,CAAC;eACA,CAAC;;;cAEI,CAAC;eAAqB,CAAC;;;cAAmE,CAAC;eAAqB,CAAC;;;;CAuOxH,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;CAC/C,EAyFA,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-DMMN4GLQ.js";import"../../chunk-DBSKZ77G.js";import"../../chunk-WCZVFBSW.js";import"../../chunk-N3V5MQ54.js";import"../../chunk-7KZ4JO3A.js";import"../../chunk-AAFBPONG.js";import"../../chunk-ACWYW257.js";import"../../chunk-LVALAJTS.js";import"../../chunk-NH7OSYIN.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SMRTJM3Z.js";import"../../chunk-FZR35ENC.js";import"../../chunk-PYR54IIV.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{b as examples,a as manifest};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BrickProps } from "../props/types";
|
|
2
2
|
export declare const manifest: {
|
|
3
|
-
readonly icon:
|
|
3
|
+
readonly icon: import("react-icons/lib").IconType;
|
|
4
4
|
readonly props: import("@sinclair/typebox").TObject<{
|
|
5
5
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
6
|
hidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
@@ -10,12 +10,16 @@ export declare const manifest: {
|
|
|
10
10
|
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11
11
|
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
12
|
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
|
-
|
|
14
|
-
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center">>;
|
|
15
|
-
dynamicContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13
|
+
grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
|
|
16
15
|
} & {
|
|
17
16
|
url: import("@sinclair/typebox").TString;
|
|
18
17
|
padding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-1" | "p-2" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">>;
|
|
18
|
+
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
|
|
19
|
+
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
20
|
+
width: import("@sinclair/typebox").TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
|
|
21
|
+
color: import("@sinclair/typebox").TString;
|
|
22
|
+
}>>;
|
|
19
23
|
shadow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>;
|
|
20
24
|
}>;
|
|
21
25
|
readonly category: import("~/shared/brick-manifest").BrickCategory;
|
|
@@ -24,7 +28,6 @@ export declare const manifest: {
|
|
|
24
28
|
readonly deletable: boolean;
|
|
25
29
|
readonly movable: boolean;
|
|
26
30
|
readonly resizable: boolean | "horizontal" | "vertical";
|
|
27
|
-
readonly repeatable: boolean;
|
|
28
31
|
readonly duplicatable: boolean;
|
|
29
32
|
readonly isContainer: boolean;
|
|
30
33
|
readonly defaultWidth: {
|
|
@@ -56,7 +59,6 @@ export declare const manifest: {
|
|
|
56
59
|
mobile?: number;
|
|
57
60
|
desktop?: number;
|
|
58
61
|
};
|
|
59
|
-
readonly datasource?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>> | undefined;
|
|
60
62
|
readonly inlineDragDisabled?: boolean;
|
|
61
63
|
readonly aiInstructions?: string;
|
|
62
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/video.manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjD,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"video.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/video.manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOhB,CAAC;eACA,CAAC;;;cAEG,CAAC;eACE,CAAC;;;cAGF,CAAC;eAET,CAAA;;;cAIC,CAAC;eAAqB,CAAC;;;;CAoB1B,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;CAC/C,EAsBA,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-QNONYB7B.js";import"../../chunk-ZKGRZ5CN.js";import"../../chunk-WCZVFBSW.js";import"../../chunk-N3V5MQ54.js";import"../../chunk-7KZ4JO3A.js";import"../../chunk-AAFBPONG.js";import"../../chunk-ACWYW257.js";import"../../chunk-NH7OSYIN.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SMRTJM3Z.js";import"../../chunk-FZR35ENC.js";import"../../chunk-PYR54IIV.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{b as examples,a as manifest};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function justifyContent(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around">;
|
|
3
|
-
export
|
|
1
|
+
import type { Static, StringOptions } from "@sinclair/typebox";
|
|
2
|
+
export declare function justifyContent(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">;
|
|
3
|
+
export type JustifyContentSettings = Static<ReturnType<typeof justifyContent>>;
|
|
4
|
+
export declare function justifyContentRef(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">;
|
|
4
5
|
export declare function alignItems(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end" | "items-stretch">;
|
|
6
|
+
export type AlignItemsSettings = Static<ReturnType<typeof alignItems>>;
|
|
5
7
|
export declare function alignItemsRef(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end" | "items-stretch">;
|
|
8
|
+
export declare function alignSelf(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">;
|
|
9
|
+
export type AlignSelfSettings = Static<ReturnType<typeof alignSelf>>;
|
|
10
|
+
export declare function alignSelfRef(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">;
|
|
6
11
|
//# sourceMappingURL=align.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"align.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/align.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"align.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/align.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAI/D,wBAAgB,cAAc,CAAC,OAAO,GAAE,aAAkB,yKAqBzD;AAED,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC;AAE/E,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,aAAkB,yKAE5D;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,aAAkB,uGAUrD;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAEvE,wBAAgB,aAAa,CAAC,OAAO,GAAE,aAAkB,uGAExD;AAED,wBAAgB,SAAS,CAAC,OAAO,GAAE,aAAkB,iHAWpD;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC;AAErE,wBAAgB,YAAY,CAAC,OAAO,GAAE,aAAkB,iHAEvD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d}from"../../chunk-
|
|
3
|
+
import{a,b,c,d,e,f}from"../../chunk-SMRTJM3Z.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{c as alignItems,d as alignItemsRef,e as alignSelf,f as alignSelfRef,a as justifyContent,b as justifyContentRef};
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import { type Static, type StringOptions } from "@sinclair/typebox";
|
|
2
|
-
export declare function border(opts?:
|
|
3
|
-
|
|
1
|
+
import { type ObjectOptions, type Static, type StringOptions } from "@sinclair/typebox";
|
|
2
|
+
export declare function border(opts?: ObjectOptions): import("@sinclair/typebox").TObject<{
|
|
3
|
+
width: import("@sinclair/typebox").TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
|
|
4
|
+
color: import("@sinclair/typebox").TString;
|
|
5
|
+
}>;
|
|
4
6
|
export type BorderSettings = Static<ReturnType<typeof border>>;
|
|
7
|
+
export declare function borderRef(options?: Omit<ObjectOptions, "default"> & {
|
|
8
|
+
default?: Partial<BorderSettings>;
|
|
9
|
+
}): import("@sinclair/typebox").TObject<{
|
|
10
|
+
width: import("@sinclair/typebox").TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
|
|
11
|
+
color: import("@sinclair/typebox").TString;
|
|
12
|
+
}>;
|
|
5
13
|
export declare function rounding(opts?: StringOptions): import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
|
|
6
14
|
export type RoundingSettings = Static<ReturnType<typeof rounding>>;
|
|
7
15
|
export declare function roundingRef(options?: StringOptions): import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"border.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/border.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"border.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/border.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAK9F,wBAAgB,MAAM,CAAC,IAAI,GAAE,aAAkB;;;GA2B9C;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;AAE/D,wBAAgB,SAAS,CACvB,OAAO,GAAE,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;CAAO;;;GAGrF;AAED,wBAAgB,QAAQ,CAAC,IAAI,GAAE,aAAkB,4MAsBhD;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEnE,wBAAgB,WAAW,CAAC,OAAO,GAAE,aAAkB,4MAEtD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d}from"../../chunk-
|
|
3
|
+
import{a,b,c,d}from"../../chunk-N3V5MQ54.js";import"../../chunk-PYR54IIV.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{a as border,b as borderRef,c as rounding,d as roundingRef};
|
|
@@ -12,8 +12,7 @@ export declare const commonProps: {
|
|
|
12
12
|
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13
13
|
width: import("@sinclair/typebox").TOptional<TString>;
|
|
14
14
|
height: import("@sinclair/typebox").TOptional<TString>;
|
|
15
|
-
|
|
16
|
-
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center">>;
|
|
17
|
-
dynamicContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15
|
+
grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
16
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
|
|
18
17
|
};
|
|
19
18
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AAKvD,wBAAgB,MAAM;;;GAarB;AAED,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AAKvD,wBAAgB,MAAM;;;GAarB;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;CAyCvB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-NH7OSYIN.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SMRTJM3Z.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{b as commonProps,a as hidden};
|
|
@@ -3,13 +3,12 @@ export declare function datasource(title?: string): import("@sinclair/typebox").
|
|
|
3
3
|
id: import("@sinclair/typebox").TString;
|
|
4
4
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
5
5
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
|
-
sortDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"asc" | "desc"
|
|
6
|
+
sortDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"asc" | "desc">>;
|
|
7
7
|
sortField: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8
8
|
filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
9
9
|
field: import("@sinclair/typebox").TString;
|
|
10
|
-
op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">, import("@sinclair/typebox").TLiteral<"in">, import("@sinclair/typebox").TLiteral<"nin">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"
|
|
11
|
-
value: import("@sinclair/typebox").TString
|
|
12
|
-
unit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"minute" | "hour" | "day" | "week" | "month" | "year">>;
|
|
10
|
+
op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">, import("@sinclair/typebox").TLiteral<"in">, import("@sinclair/typebox").TLiteral<"nin">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"notContains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"notStartsWith">, import("@sinclair/typebox").TLiteral<"endsWith">, import("@sinclair/typebox").TLiteral<"notEndsWith">, import("@sinclair/typebox").TLiteral<"before">, import("@sinclair/typebox").TLiteral<"after">]>;
|
|
11
|
+
value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean]>;
|
|
13
12
|
}>>>;
|
|
14
13
|
}>;
|
|
15
14
|
export type DatasourceSettings = Static<ReturnType<typeof datasource>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,UAAU,CAAC,KAAK,SAAa
|
|
1
|
+
{"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,UAAU,CAAC,KAAK,SAAa;;;;;;;;;;;GA4E5C;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a}from"../../chunk-
|
|
3
|
+
import{a}from"../../chunk-SYBZFX47.js";import"../../chunk-SFKZAUPW.js";export{a as datasource};
|
|
@@ -12,7 +12,6 @@ export declare function getGroupInfo(schema: TSchema): {
|
|
|
12
12
|
export declare function defineProps<P extends TProperties>(props: P, options?: ObjectOptions & {
|
|
13
13
|
noGrow?: boolean;
|
|
14
14
|
noAlignSelf?: boolean;
|
|
15
|
-
defaultPreset?: string;
|
|
16
15
|
}): TObject<{
|
|
17
16
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
18
17
|
hidden: import("@sinclair/typebox").TOptional<TObject<{
|
|
@@ -22,9 +21,8 @@ export declare function defineProps<P extends TProperties>(props: P, options?: O
|
|
|
22
21
|
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
23
22
|
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
23
|
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
25
|
-
|
|
26
|
-
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center">>;
|
|
27
|
-
dynamicContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
24
|
+
grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
25
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
|
|
28
26
|
} & P>;
|
|
29
27
|
export declare const array: <Type extends TSchema>(items: Type, options?: import("@sinclair/typebox").ArrayOptions) => import("@sinclair/typebox").TArray<Type>;
|
|
30
28
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/helpers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,WAAW,EAAQ,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE3G,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAMnE,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,EAC3C,KAAK,EACL,QAAQ,EACR,QAAqB,EACrB,QAAQ,EACR,OAAO,GACR,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,8xrBAyBrC;AAGD,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO;WAGW,MAAM,GAAG,SAAS;;;EAIxE;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAC/C,KAAK,EAAE,CAAC,EACR,OAAO,CAAC,EAAE,aAAa,GAAG;
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/helpers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,WAAW,EAAQ,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE3G,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAMnE,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,EAC3C,KAAK,EACL,QAAQ,EACR,QAAqB,EACrB,QAAQ,EACR,OAAO,GACR,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,8xrBAyBrC;AAGD,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO;WAGW,MAAM,GAAG,SAAS;;;EAIxE;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAC/C,KAAK,EAAE,CAAC,EACR,OAAO,CAAC,EAAE,aAAa,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;;;;;;;;;;;OAUF;AAGD,eAAO,MAAM,KAAK,qIAAa,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d}from"../../chunk-
|
|
3
|
+
import{a,b,c,d}from"../../chunk-ACWYW257.js";import"../../chunk-NH7OSYIN.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SMRTJM3Z.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{d as array,c as defineProps,b as getGroupInfo,a as group};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-RGLVKILY.js";import"../../chunk-EJGNYD4V.js";export{a as image,b as imageRef};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAI/D,wBAAgB,OAAO,
|
|
1
|
+
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAI/D,wBAAgB,OAAO,oIAwBtB;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,aAAkB,mIAKrD;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-7KZ4JO3A.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{a as padding,b as paddingRef};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAG1E,KAAK,kBAAkB,GAAG,aAAa,GAAG;IACxC,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAG1E,KAAK,kBAAkB,GAAG,aAAa,GAAG;IACxC,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,kBAAkB,uCAWpD;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEzE,wBAAgB,cAAc,CAAC,OAAO,EAAE,kBAAkB,uCAEzD;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAC/B,MAAM,EACN;IACE;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf,CACF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-LVALAJTS.js";import"../../chunk-EJGNYD4V.js";export{a as colorPreset,b as colorPresetRef};
|
|
@@ -3,13 +3,24 @@ import type { BrickManifest } from "~/shared/brick-manifest";
|
|
|
3
3
|
import type { Brick } from "~/shared/bricks";
|
|
4
4
|
export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
5
5
|
export type BrickProps<T extends BrickManifest> = {
|
|
6
|
-
brick: Omit<Brick, "props" | "mobileProps"> & {
|
|
6
|
+
brick: Omit<Brick, "props" | "mobileProps" | "propsMapping"> & {
|
|
7
7
|
props: Static<T["props"]>;
|
|
8
8
|
mobileProps?: Partial<Static<T["props"]>>;
|
|
9
|
+
propsMapping?: Record<`$.${string}`, `$.${string}`>;
|
|
9
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* True if we are in the context of the Editor
|
|
13
|
+
*/
|
|
10
14
|
editable?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* True if the brick is selected in the Editor
|
|
17
|
+
*/
|
|
11
18
|
selected?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* True if the brick is a child of a container (e.g. Section, Box)
|
|
21
|
+
*/
|
|
12
22
|
isContainerChild?: boolean;
|
|
23
|
+
level?: number;
|
|
13
24
|
};
|
|
14
25
|
export type BrickPropCategory = "settings" | "presets" | "content";
|
|
15
26
|
export type { TSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE/E,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,aAAa,IAAI;IAChD,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,aAAa,CAAC,GAAG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE/E,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,aAAa,IAAI;IAChD,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,aAAa,GAAG,cAAc,CAAC,GAAG;QAC7D,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAC1B,WAAW,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC1C,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,KAAK,MAAM,EAAE,CAAC,CAAC;KACrD,CAAC;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAGnE,YAAY,EAAE,OAAO,EAAE,CAAC;AAExB,KAAK,cAAc,GAAG;IACpB,eAAe,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,aAAa,CAAC;IACrD,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACtD,CAAC;AAEF,MAAM,WAAW,UAAW,SAAQ,OAAO;IACzC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,IAAI,CAAC,CAAC,GAAG,OAAO,IAAI;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,CAAC,CAAC;IACV,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACzB,QAAQ,CAAC,EAAE,aAAa,CAAC;IAEzB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B,CAAC"}
|