@upstart.gg/sdk 0.0.79 → 0.0.81
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/node/cli/api.js +2 -2
- package/dist/node/cli/commands/login/cmd-login.js +7 -7
- package/dist/node/cli/commands/logout/cmd-logout.js +2 -2
- package/dist/node/cli/commands/publish/cmd-publish.js +18 -18
- package/dist/node/cli/commands/publish/parse-gitignore.d.ts +1 -1
- package/dist/node/cli/commands/publish/parse-gitignore.js +1 -1
- package/dist/node/cli/commands/publish/uploader.js +5 -5
- package/dist/node/cli/constants.d.ts +2 -2
- package/dist/node/cli/constants.d.ts.map +1 -1
- package/dist/node/cli/constants.js +1 -1
- package/dist/node/cli/is-logged-in.js +2 -2
- package/dist/node/cli/program.js +15 -15
- package/dist/node/cli/store.js +1 -1
- package/dist/node/shared/config.d.ts +1 -1
- package/dist/node/shared/config.d.ts.map +1 -1
- package/dist/node/shared/config.js +5 -5
- package/dist/node/shared/logger.d.ts +2 -2
- package/dist/node/shared/logger.d.ts.map +1 -1
- package/dist/node/shared/logger.js +2 -2
- package/dist/shared/attributes.d.ts +11 -32
- package/dist/shared/attributes.d.ts.map +1 -1
- package/dist/shared/attributes.js +1 -1
- package/dist/shared/brick-manifest.d.ts +6 -2
- package/dist/shared/brick-manifest.d.ts.map +1 -1
- package/dist/shared/brick-manifest.js +1 -1
- package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +1 -1
- package/dist/shared/bricks/manifests/button.manifest.d.ts +2 -1
- 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 +22 -1
- 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 +2 -1
- 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/container.manifest.d.ts +134 -15
- package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/container.manifest.js +1 -1
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts +2 -1
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/countdown.manifest.js +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +8 -1
- 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 +2 -1
- 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/generic-component.manifest.d.ts +2 -1
- package/dist/shared/bricks/manifests/generic-component.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/generic-component.manifest.js +1 -1
- package/dist/shared/bricks/manifests/header.manifest.d.ts +121 -6
- package/dist/shared/bricks/manifests/header.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/header.manifest.js +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +68 -37
- 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 +2 -1
- 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 +19 -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 +184 -0
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +3 -0
- package/dist/shared/bricks/manifests/map.manifest.d.ts +2 -1
- 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/sidebar.manifest.d.ts +57 -0
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/sidebar.manifest.js +3 -0
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +2 -1
- 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/text.manifest.d.ts +39 -4
- 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 +2 -1
- 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/_docs-common-styles.d.ts +59 -0
- package/dist/shared/bricks/props/_docs-common-styles.d.ts.map +1 -0
- package/dist/shared/bricks/props/_docs-common-styles.js +3 -0
- package/dist/shared/bricks/props/align.js +1 -1
- package/dist/shared/bricks/props/background.d.ts.map +1 -1
- package/dist/shared/bricks/props/background.js +1 -1
- package/dist/shared/bricks/props/boolean.js +1 -1
- package/dist/shared/bricks/props/border.d.ts +10 -10
- 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/container.d.ts +43 -20
- package/dist/shared/bricks/props/container.d.ts.map +1 -1
- package/dist/shared/bricks/props/container.js +1 -1
- package/dist/shared/bricks/props/datasource.js +1 -1
- package/dist/shared/bricks/props/effects.d.ts +18 -0
- package/dist/shared/bricks/props/effects.d.ts.map +1 -1
- package/dist/shared/bricks/props/effects.js +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +2 -1
- 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.d.ts.map +1 -1
- package/dist/shared/bricks/props/image.js +1 -1
- package/dist/shared/bricks/props/number.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/position.js +1 -1
- package/dist/shared/bricks/props/string.js +1 -1
- package/dist/shared/bricks/props/text.d.ts +1 -2
- package/dist/shared/bricks/props/text.d.ts.map +1 -1
- package/dist/shared/bricks/props/text.js +1 -1
- package/dist/shared/bricks/props/types.d.ts +2 -2
- package/dist/shared/bricks/props/types.d.ts.map +1 -1
- package/dist/shared/bricks.d.ts +59 -8
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/chunk-3CY6AZG7.js +3 -0
- package/dist/shared/chunk-3YDMOB7M.js +3 -0
- package/dist/shared/chunk-6I4PY5WS.js +3 -0
- package/dist/shared/chunk-AZ63RF3K.js +3 -0
- package/dist/shared/chunk-BK6LBWDI.js +3 -0
- package/dist/shared/chunk-BMDB2V7J.js +3 -0
- package/dist/shared/chunk-CSBX76ZN.js +3 -0
- package/dist/shared/chunk-DAPQ4JPP.js +3 -0
- package/dist/shared/chunk-EFJQECVB.js +3 -0
- package/dist/shared/chunk-F2ZVIFHO.js +3 -0
- package/dist/shared/{chunk-346JVEOR.js → chunk-FGU4BGP4.js} +1 -1
- package/dist/shared/chunk-H6L4KRCJ.js +3 -0
- package/dist/shared/{chunk-764EAJFR.js → chunk-HIZPJNEM.js} +1 -1
- package/dist/shared/chunk-HW5TY2QW.js +3 -0
- package/dist/shared/chunk-IWSVY2VC.js +3 -0
- package/dist/shared/{chunk-4EEQT7D6.js → chunk-JVDUEZYO.js} +1 -1
- package/dist/shared/chunk-KB4HY432.js +3 -0
- package/dist/shared/chunk-LDOM2LJF.js +3 -0
- package/dist/shared/chunk-NFU5BF6G.js +3 -0
- package/dist/shared/chunk-P5FVZ5PL.js +3 -0
- package/dist/shared/chunk-P7WL7MYK.js +3 -0
- package/dist/shared/chunk-PD7P5KSV.js +3 -0
- package/dist/shared/chunk-PJ6HA55L.js +3 -0
- package/dist/shared/{chunk-OMOYRWNX.js → chunk-Q4MXTCE4.js} +1 -1
- package/dist/shared/chunk-QRBMK5UX.js +3 -0
- package/dist/shared/{chunk-2Y3ZNNGU.js → chunk-RBYYMUOZ.js} +1 -1
- package/dist/shared/chunk-SO5M7CYA.js +3 -0
- package/dist/shared/{chunk-M4CXYZTI.js → chunk-SQVL4WSX.js} +1 -1
- package/dist/shared/chunk-TQ23UATQ.js +3 -0
- package/dist/shared/chunk-U44NTSIO.js +3 -0
- package/dist/shared/chunk-U4R5EGBK.js +3 -0
- package/dist/shared/{chunk-BNKXJJ2R.js → chunk-WJ5CDDXW.js} +1 -1
- package/dist/shared/chunk-WOEBR25A.js +3 -0
- package/dist/shared/chunk-WPTVLIYS.js +3 -0
- package/dist/shared/{chunk-3EUA65QC.js → chunk-XBX6II3M.js} +1 -1
- package/dist/shared/chunk-XEQ2XZLQ.js +3 -0
- package/dist/shared/chunk-XGCBIXOO.js +3 -0
- package/dist/shared/chunk-XYID4ZEA.js +3 -0
- package/dist/shared/datarecords/types.d.ts +2 -2
- package/dist/shared/datasources/types.d.ts +2 -2
- package/dist/shared/env.d.ts +6 -6
- package/dist/shared/env.d.ts.map +1 -1
- package/dist/shared/layout-constants.js +1 -1
- package/dist/shared/page.d.ts +21 -33
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +1 -1
- package/dist/shared/template.d.ts +31 -0
- package/dist/shared/template.d.ts.map +1 -0
- package/dist/shared/template.js +3 -0
- package/dist/shared/tests/test-config.d.ts +1 -1
- package/dist/shared/tests/test-config.d.ts.map +1 -1
- package/dist/shared/theme.d.ts.map +1 -1
- package/dist/shared/theme.js +1 -1
- package/dist/shared/themes/color-system.d.ts.map +1 -1
- package/dist/shared/themes/color-system.js +1 -1
- package/package.json +6 -5
- package/dist/shared/bricks/manifests/images-wall.manifest.d.ts +0 -111
- package/dist/shared/bricks/manifests/images-wall.manifest.d.ts.map +0 -1
- package/dist/shared/bricks/manifests/images-wall.manifest.js +0 -3
- package/dist/shared/chunk-4IMPKXJT.js +0 -14
- package/dist/shared/chunk-4JJHQZYB.js +0 -3
- package/dist/shared/chunk-4SMJ4E32.js +0 -19
- package/dist/shared/chunk-56QQPQIE.js +0 -3
- package/dist/shared/chunk-5JEYUV4C.js +0 -11
- package/dist/shared/chunk-ANZZVPQC.js +0 -22
- package/dist/shared/chunk-EIODRGFP.js +0 -5
- package/dist/shared/chunk-FHJRL7LV.js +0 -9
- package/dist/shared/chunk-FKUGABKJ.js +0 -11
- package/dist/shared/chunk-FM2MSU7Z.js +0 -6
- package/dist/shared/chunk-FNCNEYJX.js +0 -8
- package/dist/shared/chunk-GNZYWNA4.js +0 -3
- package/dist/shared/chunk-GOUUN46E.js +0 -7
- package/dist/shared/chunk-HL7WRX6G.js +0 -7
- package/dist/shared/chunk-HMQPELFK.js +0 -3
- package/dist/shared/chunk-HUNU6HSF.js +0 -8
- package/dist/shared/chunk-IEB7RHDF.js +0 -3
- package/dist/shared/chunk-K4NJQWFB.js +0 -3
- package/dist/shared/chunk-KGZMWRZS.js +0 -3
- package/dist/shared/chunk-O3JLMHK3.js +0 -3
- package/dist/shared/chunk-PUPVTFFY.js +0 -3
- package/dist/shared/chunk-R7HRU3T4.js +0 -3
- package/dist/shared/chunk-RGKPN4LE.js +0 -3
- package/dist/shared/chunk-RQT64JJW.js +0 -9
- package/dist/shared/chunk-VYNIBP33.js +0 -7
- package/dist/shared/chunk-WNS3A3LT.js +0 -7
- package/dist/shared/chunk-X3JYHXIE.js +0 -6
- package/dist/shared/chunk-X3LVSMNF.js +0 -3
- package/dist/shared/chunk-XIXSVFY6.js +0 -3
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const commonStyleForDocsOnly: import("@sinclair/typebox").TObject<{
|
|
2
|
+
effects: import("@sinclair/typebox").TObject<{
|
|
3
|
+
textShadow?: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text-shadow-none">, import("@sinclair/typebox").TLiteral<"text-shadow-sm">, import("@sinclair/typebox").TLiteral<"text-shadow-md">, import("@sinclair/typebox").TLiteral<"text-shadow-lg">, import("@sinclair/typebox").TLiteral<"text-shadow-xl">]> | undefined;
|
|
4
|
+
opacity: import("@sinclair/typebox").TNumber;
|
|
5
|
+
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
6
|
+
}> | import("@sinclair/typebox").TObject<{
|
|
7
|
+
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
8
|
+
opacity: import("@sinclair/typebox").TNumber;
|
|
9
|
+
textShadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text-shadow-none">, import("@sinclair/typebox").TLiteral<"text-shadow-sm">, import("@sinclair/typebox").TLiteral<"text-shadow-md">, import("@sinclair/typebox").TLiteral<"text-shadow-lg">, import("@sinclair/typebox").TLiteral<"text-shadow-xl">]>;
|
|
10
|
+
}>;
|
|
11
|
+
background: import("@sinclair/typebox").TObject<{
|
|
12
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
|
+
image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
|
|
15
|
+
repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
|
|
16
|
+
}>;
|
|
17
|
+
backgroundColor: import("@sinclair/typebox").TString;
|
|
18
|
+
color: import("@sinclair/typebox").TString;
|
|
19
|
+
border: import("@sinclair/typebox").TObject<{
|
|
20
|
+
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
21
|
+
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
22
|
+
color: import("@sinclair/typebox").TString;
|
|
23
|
+
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
24
|
+
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
25
|
+
}> | import("@sinclair/typebox").TObject<{
|
|
26
|
+
color: import("@sinclair/typebox").TString;
|
|
27
|
+
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
28
|
+
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
29
|
+
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
30
|
+
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
31
|
+
}>;
|
|
32
|
+
image: import("@sinclair/typebox").TObject<{
|
|
33
|
+
src: import("@sinclair/typebox").TString;
|
|
34
|
+
alt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
35
|
+
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-none">, import("@sinclair/typebox").TLiteral<"object-contain">, import("@sinclair/typebox").TLiteral<"object-cover">, import("@sinclair/typebox").TLiteral<"object-fill">, import("@sinclair/typebox").TLiteral<"object-scale-down">]>>;
|
|
36
|
+
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-left-top">, import("@sinclair/typebox").TLiteral<"object-right-top">, import("@sinclair/typebox").TLiteral<"object-left-bottom">, import("@sinclair/typebox").TLiteral<"object-right-bottom">]>>;
|
|
37
|
+
}>;
|
|
38
|
+
padding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>;
|
|
39
|
+
layout: import("@sinclair/typebox").TObject<{
|
|
40
|
+
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex">, import("@sinclair/typebox").TLiteral<"grid">]>;
|
|
41
|
+
gap: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>;
|
|
42
|
+
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-row">, import("@sinclair/typebox").TLiteral<"flex-col">]>>;
|
|
43
|
+
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
44
|
+
wrap: import("@sinclair/typebox").TBoolean;
|
|
45
|
+
fillSpace: import("@sinclair/typebox").TBoolean;
|
|
46
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"justify-start">, import("@sinclair/typebox").TLiteral<"justify-center">, import("@sinclair/typebox").TLiteral<"justify-end">, import("@sinclair/typebox").TLiteral<"justify-between">, import("@sinclair/typebox").TLiteral<"justify-around">, import("@sinclair/typebox").TLiteral<"justify-evenly">, import("@sinclair/typebox").TLiteral<"justify-stretch">]>>;
|
|
47
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
48
|
+
}> | import("@sinclair/typebox").TObject<{
|
|
49
|
+
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex">, import("@sinclair/typebox").TLiteral<"grid">]>;
|
|
50
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
51
|
+
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-row">, import("@sinclair/typebox").TLiteral<"flex-col">]>>;
|
|
52
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"justify-start">, import("@sinclair/typebox").TLiteral<"justify-center">, import("@sinclair/typebox").TLiteral<"justify-end">, import("@sinclair/typebox").TLiteral<"justify-between">, import("@sinclair/typebox").TLiteral<"justify-around">, import("@sinclair/typebox").TLiteral<"justify-evenly">, import("@sinclair/typebox").TLiteral<"justify-stretch">]>>;
|
|
53
|
+
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
54
|
+
gap: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>;
|
|
55
|
+
wrap: import("@sinclair/typebox").TBoolean;
|
|
56
|
+
fillSpace: import("@sinclair/typebox").TBoolean;
|
|
57
|
+
}>;
|
|
58
|
+
}>;
|
|
59
|
+
//# sourceMappingURL=_docs-common-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_docs-common-styles.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/_docs-common-styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{c as f}from"../../chunk-AZ63RF3K.js";import{a as i}from"../../chunk-XGCBIXOO.js";import{d as e}from"../../chunk-SO5M7CYA.js";import{a as m}from"../../chunk-IWSVY2VC.js";import{a as c}from"../../chunk-U44NTSIO.js";import{a as o,b as r}from"../../chunk-P5FVZ5PL.js";import{b as t}from"../../chunk-LDOM2LJF.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";import{Type as p}from"@sinclair/typebox";var k=p.Object({effects:e(),background:o(),backgroundColor:r(),color:t(),border:m(),image:i(),padding:c(),layout:f()});export{k as commonStyleForDocsOnly};
|
|
@@ -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-RBYYMUOZ.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as basicAlign};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,wBAAgB,UAAU,CAAC,IAAI,GAAE,iBAAsB;;;;;
|
|
1
|
+
{"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,wBAAgB,UAAU,CAAC,IAAI,GAAE,iBAAsB;;;;;GAwEtD;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAEvE,wBAAgB,eAAe,CAAC,YAAY,SAAgB,EAAE,KAAK,SAAqB,uCAYvF;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,eAAe,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-P5FVZ5PL.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as background,b as backgroundColor};
|
|
@@ -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-FGU4BGP4.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as boolean};
|
|
@@ -5,23 +5,23 @@ type BorderOptions = {
|
|
|
5
5
|
style?: string;
|
|
6
6
|
color?: string;
|
|
7
7
|
width?: string;
|
|
8
|
-
|
|
8
|
+
sides?: string[];
|
|
9
|
+
rounding?: string;
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
|
-
export declare function
|
|
12
|
+
export declare function border({ title, defaultValue, }?: BorderOptions): import("@sinclair/typebox").TObject<{
|
|
13
|
+
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
14
|
+
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
15
|
+
color: import("@sinclair/typebox").TString;
|
|
16
|
+
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
12
17
|
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
18
|
+
}> | import("@sinclair/typebox").TObject<{
|
|
13
19
|
color: import("@sinclair/typebox").TString;
|
|
14
20
|
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
15
|
-
side: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
16
|
-
}>;
|
|
17
|
-
export declare function border({ title, defaultValue, }?: BorderOptions): import("@sinclair/typebox").TObject<{
|
|
18
21
|
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
side: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
22
|
+
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
23
|
+
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
22
24
|
}>;
|
|
23
25
|
export type BorderSettings = Static<ReturnType<typeof border>>;
|
|
24
|
-
export declare function rounding(defaultValue?: string, title?: string): import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
25
|
-
export type RoundingSettings = Static<ReturnType<typeof rounding>>;
|
|
26
26
|
export {};
|
|
27
27
|
//# sourceMappingURL=border.d.ts.map
|
|
@@ -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,MAAM,mBAAmB,CAAC;AAGtD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,
|
|
1
|
+
{"version":3,"file":"border.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/border.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAEF,wBAAgB,MAAM,CAAC,EACrB,KAAgB,EAChB,YAKC,GACF,GAAE,aAAkB;;;;;;;;;;;;GAkFpB;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,MAAM,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
|
|
3
|
+
import{a}from"../../chunk-IWSVY2VC.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as border};
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { type Static } from "@sinclair/typebox";
|
|
2
|
-
type GapOptions = {
|
|
3
|
-
title?: string;
|
|
4
|
-
defaultValue?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function gap({ title, defaultValue }?: GapOptions): import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>;
|
|
7
|
-
export type GapSettings = Static<ReturnType<typeof gap>>;
|
|
1
|
+
import { type TObject, type Static } from "@sinclair/typebox";
|
|
8
2
|
type FlexOptions = {
|
|
9
3
|
title?: string;
|
|
10
4
|
defaultValue?: {
|
|
@@ -15,12 +9,12 @@ type FlexOptions = {
|
|
|
15
9
|
alignItems: string;
|
|
16
10
|
};
|
|
17
11
|
};
|
|
18
|
-
export declare function flex(opts?: FlexOptions):
|
|
19
|
-
direction: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-row">, import("@sinclair/typebox").TLiteral<"flex-col">]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
justifyContent: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"justify-start">, import("@sinclair/typebox").TLiteral<"justify-center">, import("@sinclair/typebox").TLiteral<"justify-end">, import("@sinclair/typebox").TLiteral<"justify-between">, import("@sinclair/typebox").TLiteral<"justify-around">, import("@sinclair/typebox").TLiteral<"justify-evenly">, import("@sinclair/typebox").TLiteral<"justify-stretch">]
|
|
23
|
-
alignItems: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]
|
|
12
|
+
export declare function flex(opts?: FlexOptions): TObject<{
|
|
13
|
+
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-row">, import("@sinclair/typebox").TLiteral<"flex-col">]>>;
|
|
14
|
+
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>>;
|
|
15
|
+
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-wrap">, import("@sinclair/typebox").TLiteral<"flex-nowrap">]>>;
|
|
16
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"justify-start">, import("@sinclair/typebox").TLiteral<"justify-center">, import("@sinclair/typebox").TLiteral<"justify-end">, import("@sinclair/typebox").TLiteral<"justify-between">, import("@sinclair/typebox").TLiteral<"justify-around">, import("@sinclair/typebox").TLiteral<"justify-evenly">, import("@sinclair/typebox").TLiteral<"justify-stretch">]>>;
|
|
17
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
24
18
|
}>;
|
|
25
19
|
export type FlexSettings = Static<ReturnType<typeof flex>>;
|
|
26
20
|
type GridOptions = {
|
|
@@ -30,18 +24,47 @@ type GridOptions = {
|
|
|
30
24
|
columns: number;
|
|
31
25
|
};
|
|
32
26
|
};
|
|
33
|
-
export declare function grid(options?: GridOptions):
|
|
34
|
-
gap: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>;
|
|
27
|
+
export declare function grid(options?: GridOptions): TObject<{
|
|
35
28
|
columns: import("@sinclair/typebox").TNumber;
|
|
29
|
+
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>>;
|
|
36
30
|
}>;
|
|
37
31
|
export type GridSettings = Static<ReturnType<typeof grid>>;
|
|
38
|
-
type
|
|
39
|
-
defaultValue?: "flex" | "grid";
|
|
32
|
+
type ContainerLayoutOptions = {
|
|
40
33
|
title?: string;
|
|
41
|
-
|
|
34
|
+
defaults?: {
|
|
35
|
+
type?: "flex" | "grid";
|
|
36
|
+
gap?: string;
|
|
37
|
+
direction?: string;
|
|
38
|
+
columns?: {
|
|
39
|
+
max?: number;
|
|
40
|
+
default?: number;
|
|
41
|
+
};
|
|
42
|
+
wrap?: boolean;
|
|
43
|
+
fillSpace?: boolean;
|
|
44
|
+
justifyContent?: string;
|
|
45
|
+
alignItems?: string;
|
|
46
|
+
};
|
|
42
47
|
};
|
|
43
|
-
export declare function
|
|
44
|
-
|
|
48
|
+
export declare function containerLayout({ title, defaults }?: ContainerLayoutOptions): TObject<{
|
|
49
|
+
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex">, import("@sinclair/typebox").TLiteral<"grid">]>;
|
|
50
|
+
gap: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>;
|
|
51
|
+
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-row">, import("@sinclair/typebox").TLiteral<"flex-col">]>>;
|
|
52
|
+
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
53
|
+
wrap: import("@sinclair/typebox").TBoolean;
|
|
54
|
+
fillSpace: import("@sinclair/typebox").TBoolean;
|
|
55
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"justify-start">, import("@sinclair/typebox").TLiteral<"justify-center">, import("@sinclair/typebox").TLiteral<"justify-end">, import("@sinclair/typebox").TLiteral<"justify-between">, import("@sinclair/typebox").TLiteral<"justify-around">, import("@sinclair/typebox").TLiteral<"justify-evenly">, import("@sinclair/typebox").TLiteral<"justify-stretch">]>>;
|
|
56
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
57
|
+
}> | TObject<{
|
|
58
|
+
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex">, import("@sinclair/typebox").TLiteral<"grid">]>;
|
|
59
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
60
|
+
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-row">, import("@sinclair/typebox").TLiteral<"flex-col">]>>;
|
|
61
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"justify-start">, import("@sinclair/typebox").TLiteral<"justify-center">, import("@sinclair/typebox").TLiteral<"justify-end">, import("@sinclair/typebox").TLiteral<"justify-between">, import("@sinclair/typebox").TLiteral<"justify-around">, import("@sinclair/typebox").TLiteral<"justify-evenly">, import("@sinclair/typebox").TLiteral<"justify-stretch">]>>;
|
|
62
|
+
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
63
|
+
gap: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>;
|
|
64
|
+
wrap: import("@sinclair/typebox").TBoolean;
|
|
65
|
+
fillSpace: import("@sinclair/typebox").TBoolean;
|
|
66
|
+
}>;
|
|
67
|
+
export type ContainerLayoutSettings = Static<ReturnType<typeof containerLayout>>;
|
|
45
68
|
export declare function makeContainerProps(): {
|
|
46
69
|
$childrenType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
47
70
|
$children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/container.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKpE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,cAAc,EAAE,MAAM,CAAC;QACvB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,wBAAgB,IAAI,CAAC,IAAI,GAAE,WAAgB;;;;;;GAgG1C;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;AAE3D,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,wBAAgB,IAAI,CAAC,OAAO,GAAE,WAAgB;;;GAyC7C;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;AAgB3D,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACvB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE;YACR,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,OAAO,CAAC,EAAE,MAAM,CAAC;SAClB,CAAC;QACF,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAAE,KAAgB,EAAE,QAAa,EAAE,GAAE,sBAA2B;;;;;;;;;;;;;;;;;;GAiI/F;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;AAEjF,wBAAgB,kBAAkB;;;EAoBjC"}
|
|
@@ -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
|
|
3
|
+
import{a,b,c,d}from"../../chunk-AZ63RF3K.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{c as containerLayout,a as flex,b as grid,d as makeContainerProps};
|
|
@@ -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-SQVL4WSX.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as datasourceRef};
|
|
@@ -17,5 +17,23 @@ type OpacityOptions = {
|
|
|
17
17
|
};
|
|
18
18
|
export declare function opacity({ defaultValue, title }?: OpacityOptions): import("@sinclair/typebox").TNumber;
|
|
19
19
|
export type OpacitySettings = Static<ReturnType<typeof opacity>>;
|
|
20
|
+
type EffectsOptions = {
|
|
21
|
+
title?: string;
|
|
22
|
+
defaultValue?: {
|
|
23
|
+
opacity?: number;
|
|
24
|
+
shadow?: string;
|
|
25
|
+
textShadow?: string;
|
|
26
|
+
};
|
|
27
|
+
enableTextShadow?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export declare function effects({ title, defaultValue, enableTextShadow }?: EffectsOptions): import("@sinclair/typebox").TObject<{
|
|
30
|
+
textShadow?: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text-shadow-none">, import("@sinclair/typebox").TLiteral<"text-shadow-sm">, import("@sinclair/typebox").TLiteral<"text-shadow-md">, import("@sinclair/typebox").TLiteral<"text-shadow-lg">, import("@sinclair/typebox").TLiteral<"text-shadow-xl">]> | undefined;
|
|
31
|
+
opacity: import("@sinclair/typebox").TNumber;
|
|
32
|
+
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
33
|
+
}> | import("@sinclair/typebox").TObject<{
|
|
34
|
+
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
35
|
+
opacity: import("@sinclair/typebox").TNumber;
|
|
36
|
+
textShadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text-shadow-none">, import("@sinclair/typebox").TLiteral<"text-shadow-sm">, import("@sinclair/typebox").TLiteral<"text-shadow-md">, import("@sinclair/typebox").TLiteral<"text-shadow-lg">, import("@sinclair/typebox").TLiteral<"text-shadow-xl">]>;
|
|
37
|
+
}>;
|
|
20
38
|
export {};
|
|
21
39
|
//# sourceMappingURL=effects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/effects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,KAAgB,EAAE,YAA4B,EAAE,GAAE,aAAkB,6VAoB5F;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;AAE/D,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,KAAqB,EACrB,YAAiC,GAClC,GAAE,iBAAsB,
|
|
1
|
+
{"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/effects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,KAAgB,EAAE,YAA4B,EAAE,GAAE,aAAkB,6VAoB5F;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;AAE/D,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,KAAqB,EACrB,YAAiC,GAClC,GAAE,iBAAsB,kUAiBxB;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAEvE,KAAK,cAAc,GAAG;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,YAAgB,EAAE,KAAiB,EAAE,GAAE,cAAmB,uCAanF;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC;AAEjE,KAAK,cAAc,GAAG;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,KAAiB,EAAE,YAAiB,EAAE,gBAAgB,EAAE,GAAE,cAAmB;;;;;;;;GAuBtG"}
|
|
@@ -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}from"../../chunk-
|
|
3
|
+
import{a,b,c,d}from"../../chunk-SO5M7CYA.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{d as effects,c as opacity,a as shadow,b as textShadow};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type TProperties, type TSchema, type TObject } from "@sinclair/typebox";
|
|
5
5
|
import type { PartialBy, Prop, PropGroup, GroupMetadata } from "./types";
|
|
6
|
-
export declare function group<T extends TProperties>({ title, children, category, metadata, options, }: PartialBy<PropGroup<T>, "category">): TObject<T>;
|
|
6
|
+
export declare function group<T extends TProperties>({ title, children, category, metadata, options, }: PartialBy<PropGroup<T>, "category">): TObject<T> | TObject<import("@sinclair/typebox").Evaluate<import("@sinclair/typebox").TSetDistinct<[...import("@sinclair/typebox").UnionToTuple<keyof T, [], import("@sinclair/typebox").UnionLast<keyof T>>], []> extends infer T_1 ? T_1 extends import("@sinclair/typebox").TSetDistinct<[...import("@sinclair/typebox").UnionToTuple<keyof T, [], import("@sinclair/typebox").UnionLast<keyof T>>], []> ? T_1 extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? any : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : {} : never : never>>;
|
|
7
7
|
export declare function prop<T extends TSchema>({ title, schema, description, $id }: Prop<T>): T;
|
|
8
8
|
export declare function getGroupInfo(schema: TSchema): {
|
|
9
9
|
title: string | undefined;
|
|
@@ -25,4 +25,5 @@ export declare const array: <Type extends TSchema>(items: Type, options?: import
|
|
|
25
25
|
export type PropertyPath = string;
|
|
26
26
|
export type StyleId = string;
|
|
27
27
|
export declare function getStyleProperties(schema: TSchema, path?: string, styles?: Record<PropertyPath, StyleId>): Record<string, string>;
|
|
28
|
+
export declare function getStyleValueById<T>(stylePos: ReturnType<typeof getStyleProperties>, formData: Record<string, unknown>, id: string): T | undefined;
|
|
28
29
|
//# 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,MAAM,mBAAmB,CAAC;AAEvF,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
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,MAAM,mBAAmB,CAAC;AAEvF,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAOzE,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,orrBAyBrC;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAYvF;AAGD,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO;WAGW,MAAM,GAAG,SAAS;;;EAIxE;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,CAAC;;;;OAG1D;AAED,eAAO,MAAM,QAAQ;;;;;CAAgB,CAAC;AACtC,eAAO,MAAM,KAAK,qIAAa,CAAC;AAEhC,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAM7B,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,SAAK,EAAE,MAAM,GAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAAM,0BAaxG;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,QAAQ,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,EAC/C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,EAAE,EAAE,MAAM,iBAOX"}
|
|
@@ -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,e,f,g}from"../../chunk-
|
|
3
|
+
import{a,b,c,d,e,f,g,h}from"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{f as array,d as defineProps,c as getGroupInfo,g as getStyleProperties,h as getStyleValueById,a as group,e as optional,b as prop};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAItD,KAAK,gBAAgB,GAAG;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,wBAAgB,KAAK,CAAC,KAAK,SAAU,EAAE,OAAO,GAAE,gBAAqB;;;;;
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAItD,KAAK,gBAAgB,GAAG;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,wBAAgB,KAAK,CAAC,KAAK,SAAU,EAAE,OAAO,GAAE,gBAAqB;;;;;GAwEpE;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,KAAK,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-XGCBIXOO.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as image};
|
|
@@ -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-HIZPJNEM.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as number};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,OAAO,CAAC,YAAY,SAAQ,
|
|
1
|
+
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,OAAO,CAAC,YAAY,SAAQ,uTAqB3C;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}from"../../chunk-
|
|
3
|
+
import{a}from"../../chunk-U44NTSIO.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as padding};
|
|
@@ -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-JVDUEZYO.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{b as fixedPositioned,a as position};
|
|
@@ -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}from"../../chunk-
|
|
3
|
+
import{a,b,c}from"../../chunk-XBX6II3M.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as string,b as url,c as urlOrPageId};
|
|
@@ -4,12 +4,11 @@ export type FontSizeSettings = Static<ReturnType<typeof fontSize>>;
|
|
|
4
4
|
export declare function color(defaultValue?: string | "color-auto", title?: string): import("@sinclair/typebox").TString;
|
|
5
5
|
export type ColorSettings = Static<ReturnType<typeof color>>;
|
|
6
6
|
type TextContentOptions = {
|
|
7
|
-
paragraphMode?: "auto" | "hero";
|
|
8
7
|
showInSettings?: boolean;
|
|
9
8
|
disableSizing?: boolean;
|
|
10
9
|
disableAlignment?: boolean;
|
|
11
10
|
};
|
|
12
|
-
export declare function textContent(title?: string, defaultContent?: string, {
|
|
11
|
+
export declare function textContent(title?: string, defaultContent?: string, { showInSettings, disableSizing, disableAlignment }?: TextContentOptions): import("@sinclair/typebox").TString;
|
|
13
12
|
export type TextContentSettings = Static<ReturnType<typeof textContent>>;
|
|
14
13
|
export {};
|
|
15
14
|
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,QAAQ,CAAC,YAAY,SAAY,EAAE,KAAK,SAAc,4nBA2BrE;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEnE,wBAAgB,KAAK,CAAC,YAAY,GAAE,MAAM,GAAG,YAA2B,EAAE,KAAK,SAAe,
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,QAAQ,CAAC,YAAY,SAAY,EAAE,KAAK,SAAc,4nBA2BrE;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEnE,wBAAgB,KAAK,CAAC,YAAY,GAAE,MAAM,GAAG,YAA2B,EAAE,KAAK,SAAe,uCAa7F;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;AAE7D,KAAK,kBAAkB,GAAG;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,wBAAgB,WAAW,CACzB,KAAK,SAAS,EACd,cAAc,SAAmB,EACjC,EAAE,cAAc,EAAE,aAAqB,EAAE,gBAAwB,EAAE,GAAE,kBAAuB,uCAc7F;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,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,c}from"../../chunk-
|
|
3
|
+
import{a,b,c}from"../../chunk-LDOM2LJF.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{b as color,a as fontSize,c as textContent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Static, TProperties, TSchema } from "@sinclair/typebox";
|
|
1
|
+
import type { Static, TObject, TProperties, TSchema } from "@sinclair/typebox";
|
|
2
2
|
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>>;
|
|
@@ -36,7 +36,7 @@ export type Prop<T = TSchema> = {
|
|
|
36
36
|
export type PropGroup<T extends TProperties = TProperties> = {
|
|
37
37
|
title: string;
|
|
38
38
|
category: BrickPropCategory;
|
|
39
|
-
children: T
|
|
39
|
+
children: T | TObject<T>;
|
|
40
40
|
metadata?: GroupMetadata;
|
|
41
41
|
options?: Record<string, any>;
|
|
42
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,
|
|
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;QAC5C,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;KAC1C,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,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;CACtD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACtD,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,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,CAAC,CAAC;CACX,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"}
|