@upstart.gg/sdk 0.0.109 → 0.0.110
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 +0 -2
- 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.js +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts +3 -3
- 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/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 +19 -30
- 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 +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
- package/dist/shared/bricks/manifests/container.manifest.d.ts +1 -1
- package/dist/shared/bricks/manifests/container.manifest.js +1 -1
- package/dist/shared/bricks/manifests/divider.manifest.js +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
- package/dist/shared/bricks/manifests/form.manifest.d.ts +1 -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/hero.manifest.d.ts +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
- package/dist/shared/bricks/manifests/image.manifest.d.ts +1 -1
- 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.js +1 -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/navbar.manifest.d.ts +1 -1
- 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 +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
- package/dist/shared/bricks/manifests/text.manifest.d.ts +1 -1
- package/dist/shared/bricks/manifests/text.manifest.js +1 -1
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts +3 -3
- package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
- package/dist/shared/bricks/manifests/video.manifest.d.ts +0 -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/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 +2 -2
- 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/color.d.ts.map +1 -1
- package/dist/shared/bricks/props/color.js +1 -1
- package/dist/shared/bricks/props/common.js +1 -1
- package/dist/shared/bricks/props/container.d.ts +7 -0
- 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/css-length.d.ts +2 -0
- package/dist/shared/bricks/props/css-length.d.ts.map +1 -1
- package/dist/shared/bricks/props/css-length.js +1 -1
- package/dist/shared/bricks/props/datasource.js +1 -1
- package/dist/shared/bricks/props/date.js +1 -1
- 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/enum.js +1 -1
- package/dist/shared/bricks/props/file.js +1 -1
- package/dist/shared/bricks/props/geolocation.js +1 -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.js +1 -1
- package/dist/shared/bricks/props/number.js +1 -1
- package/dist/shared/bricks/props/padding.d.ts +3 -3
- 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/preset.d.ts.map +1 -1
- package/dist/shared/bricks/props/preset.js +1 -1
- package/dist/shared/bricks/props/string.js +1 -1
- package/dist/shared/bricks/props/text.js +1 -1
- package/dist/shared/bricks.d.ts +0 -30
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/chunk-2WJ5JFCL.js +5 -0
- package/dist/shared/chunk-345A5Q4I.js +3 -0
- package/dist/shared/chunk-3G6VWQ7K.js +3 -0
- package/dist/shared/{chunk-62VKGHN6.js → chunk-4GPU3TI3.js} +1 -1
- package/dist/shared/{chunk-F7ZMYOOB.js → chunk-63X3F4KE.js} +1 -1
- package/dist/shared/{chunk-ZMDHKAWL.js → chunk-6HBMLMS4.js} +1 -1
- package/dist/shared/chunk-6P4BCAMF.js +3 -0
- package/dist/shared/{chunk-GN5DXY6H.js → chunk-6WRY6H5C.js} +1 -1
- package/dist/shared/{chunk-MRBC7NBM.js → chunk-76ACOEIL.js} +1 -1
- package/dist/shared/chunk-AJ5KETPJ.js +3 -0
- package/dist/shared/{chunk-RAS2UZS6.js → chunk-AUDVZ5XH.js} +1 -1
- package/dist/shared/{chunk-ENWFMNZY.js → chunk-BWQVDKMZ.js} +1 -1
- package/dist/shared/chunk-CL72KTSY.js +7 -0
- package/dist/shared/chunk-COJXT4AE.js +8 -0
- package/dist/shared/{chunk-7QJQRAH7.js → chunk-CYG4PX4M.js} +1 -1
- package/dist/shared/{chunk-XBRRT4ZE.js → chunk-EAXMALLF.js} +1 -1
- package/dist/shared/{chunk-NL2OJKXK.js → chunk-EFUCEV6J.js} +1 -1
- package/dist/shared/{chunk-VM34BXEG.js → chunk-EQQGW3Y3.js} +1 -1
- package/dist/shared/chunk-ESZZYREQ.js +3 -0
- package/dist/shared/{chunk-YRO666MC.js → chunk-ETEMVJ5N.js} +1 -1
- package/dist/shared/chunk-EXAE67ZU.js +6 -0
- package/dist/shared/chunk-FVW6TE5S.js +3 -0
- package/dist/shared/{chunk-64RLYCR2.js → chunk-GEJURLYI.js} +1 -1
- package/dist/shared/chunk-GES7GCNN.js +3 -0
- package/dist/shared/{chunk-OGNNI674.js → chunk-IEHOWRO3.js} +1 -1
- package/dist/shared/chunk-IGICLAXG.js +4 -0
- package/dist/shared/chunk-J4HAPIE4.js +3 -0
- package/dist/shared/{chunk-6P7HLUMQ.js → chunk-JJN753J5.js} +1 -1
- package/dist/shared/{chunk-E3EPUQU4.js → chunk-KJC5OW6Z.js} +1 -1
- package/dist/shared/{chunk-VA5LFJVE.js → chunk-KOF7PY4F.js} +1 -1
- package/dist/shared/chunk-KPRNSVFG.js +3 -0
- package/dist/shared/{chunk-WUYA4JIP.js → chunk-P4FWHABH.js} +1 -1
- package/dist/shared/chunk-QG5AWSGT.js +3 -0
- package/dist/shared/chunk-RKBJTD53.js +3 -0
- package/dist/shared/chunk-RYK77LRD.js +6 -0
- package/dist/shared/chunk-SBYJ2DNF.js +3 -0
- package/dist/shared/chunk-SFKZAUPW.js +3 -0
- package/dist/shared/{chunk-GYNIOIBM.js → chunk-SI3CEAX2.js} +1 -1
- package/dist/shared/{chunk-6PWZKDRF.js → chunk-T4BNTUJZ.js} +1 -1
- package/dist/shared/{chunk-FQDNZVQF.js → chunk-UKPBLPU2.js} +1 -1
- package/dist/shared/chunk-W2HCVNRC.js +3 -0
- package/dist/shared/chunk-W67LBR3A.js +3 -0
- package/dist/shared/chunk-WCVUBYL5.js +3 -0
- package/dist/shared/{chunk-FGRCD7GG.js → chunk-XAY2Q5IE.js} +1 -1
- package/dist/shared/chunk-XBVKQVAV.js +3 -0
- package/dist/shared/chunk-XQBNMLIS.js +3 -0
- package/dist/shared/{chunk-WWYFOOW3.js → chunk-Y6IWAOSW.js} +1 -1
- package/dist/shared/{chunk-RRCFAX4L.js → chunk-Z2NARRFH.js} +1 -1
- package/dist/shared/chunk-ZC55FZNB.js +3 -0
- package/dist/shared/{chunk-JOMVOZI5.js → chunk-ZLZLOU5E.js} +1 -1
- package/dist/shared/{chunk-TWSHGLIC.js → chunk-ZM7FO54Z.js} +1 -1
- package/dist/shared/images.js +1 -1
- package/dist/shared/page.d.ts +0 -12
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +1 -1
- package/dist/shared/responsive.js +1 -1
- package/dist/shared/site.d.ts +0 -12
- package/dist/shared/site.d.ts.map +1 -1
- package/dist/shared/site.js +1 -1
- package/dist/shared/sitemap.js +1 -1
- package/dist/shared/theme.js +1 -1
- package/dist/shared/utils/schema-resolver.d.ts +3 -0
- package/dist/shared/utils/schema-resolver.d.ts.map +1 -0
- package/dist/shared/utils/schema-resolver.js +3 -0
- package/dist/shared/utils/schema.d.ts +2 -7
- package/dist/shared/utils/schema.d.ts.map +1 -1
- package/dist/shared/utils/schema.js +1 -1
- package/dist/shared/utils/string-enum.d.ts +7 -0
- package/dist/shared/utils/string-enum.d.ts.map +1 -0
- package/dist/shared/utils/string-enum.js +3 -0
- package/package.json +2 -2
- package/dist/shared/chunk-3G4PLX4N.js +0 -4
- package/dist/shared/chunk-4RMUHWWU.js +0 -3
- package/dist/shared/chunk-5NDKGZ7L.js +0 -3
- package/dist/shared/chunk-6IOXG7MM.js +0 -3
- package/dist/shared/chunk-7LKXIVLH.js +0 -3
- package/dist/shared/chunk-DHF2VJH7.js +0 -3
- package/dist/shared/chunk-FDS5YHGZ.js +0 -3
- package/dist/shared/chunk-IEXUC6I2.js +0 -7
- package/dist/shared/chunk-K5ORABHX.js +0 -3
- package/dist/shared/chunk-M7SU4L3J.js +0 -3
- package/dist/shared/chunk-MELCM74Q.js +0 -6
- package/dist/shared/chunk-PNNMX7Z7.js +0 -5
- package/dist/shared/chunk-QQZ5HDFA.js +0 -3
- package/dist/shared/chunk-RKGXHPJX.js +0 -3
- package/dist/shared/chunk-SONDO36R.js +0 -3
- package/dist/shared/chunk-UA72HEYF.js +0 -3
- package/dist/shared/chunk-W6KOGWLY.js +0 -3
- package/dist/shared/chunk-WSJYO3DM.js +0 -6
- package/dist/shared/chunk-WXZDYHIM.js +0 -3
- package/dist/shared/chunk-WYDXJDB7.js +0 -3
- package/dist/shared/chunk-XNAM26NU.js +0 -3
- package/dist/shared/chunk-YR6RZXVH.js +0 -8
- package/dist/shared/chunk-ZW2ZLFRI.js +0 -3
|
@@ -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-XQBNMLIS.js";import"../../chunk-Z2NARRFH.js";import"../../chunk-KJC5OW6Z.js";import"../../chunk-ZM7FO54Z.js";import"../../chunk-4GPU3TI3.js";import"../../chunk-76ACOEIL.js";import"../../chunk-WCVUBYL5.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{b as examples,a as manifest};
|
|
@@ -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-XAY2Q5IE.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as basicAlign,b as basicAlignRef};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGrE,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;;;;;GA0EtD;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAEvE,wBAAgB,aAAa,CAAC,OAAO,GAAE,aAAkB;;;;;GAExD;AAED,wBAAgB,eAAe,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,SAAqB,
|
|
1
|
+
{"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGrE,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;;;;;GA0EtD;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAEvE,wBAAgB,aAAa,CAAC,OAAO,GAAE,aAAkB;;;;;GAExD;AAED,wBAAgB,eAAe,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,SAAqB,uCAchF;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;AAEjF,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,aAAkB,uCAE7D"}
|
|
@@ -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-ZM7FO54Z.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as background,c as backgroundColor,d as backgroundColorRef,b as backgroundRef};
|
|
@@ -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-GEJURLYI.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as boolean};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Static } from "@sinclair/typebox";
|
|
1
|
+
import { type SchemaOptions, type Static } from "@sinclair/typebox";
|
|
2
2
|
export declare function border(title?: string): import("@sinclair/typebox").TObject<{
|
|
3
3
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
4
4
|
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">>;
|
|
@@ -12,7 +12,7 @@ export declare function border(title?: string): import("@sinclair/typebox").TObj
|
|
|
12
12
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
13
13
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
14
14
|
}>;
|
|
15
|
-
export declare
|
|
15
|
+
export declare function borderRef(options?: SchemaOptions): import("@sinclair/typebox").TObject<{
|
|
16
16
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
17
17
|
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">>;
|
|
18
18
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -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;
|
|
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,MAAM,mBAAmB,CAAC;AAK1E,wBAAgB,MAAM,CAAC,KAAK,SAAW;;;;;;;;;;;;GA8EtC;AAED,wBAAgB,SAAS,CAAC,OAAO,GAAE,aAAkB;;;;;;;;;;;;GAEpD;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,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-KJC5OW6Z.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as border,b as borderRef};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/color.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAI1E,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,SAAe,
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/color.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAI1E,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,SAAe,uCAchE;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;AAE7D,wBAAgB,QAAQ,CAAC,OAAO,GAAE,aAAkB,uCAEnD"}
|
|
@@ -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-P4FWHABH.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as color,b as colorRef};
|
|
@@ -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-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{b as commonProps,a as hidden};
|
|
@@ -61,5 +61,12 @@ export declare function makeContainerProps(): {
|
|
|
61
61
|
$childrenType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
62
62
|
$children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
|
|
63
63
|
};
|
|
64
|
+
export declare function sectionLayout(options?: SchemaOptions): TObject<{
|
|
65
|
+
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
66
|
+
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
67
|
+
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
68
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
69
|
+
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">]>>;
|
|
70
|
+
}>;
|
|
64
71
|
export {};
|
|
65
72
|
//# sourceMappingURL=container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
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,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AA4KxF,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;IACF,OAAO,CAAC,EAAE;QACR,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;CACH,CAAC;AA4HF,wBAAgB,eAAe,CAAC,EAAE,KAAgB,EAAE,OAAY,EAAE,GAAE,sBAA2B;;;;;;;;;;;;;;;;;;GAS9F;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;AAEjF,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,aAAkB;;;;;;;;;;;;;;;;;;GAM7D;AAED,wBAAgB,kBAAkB;;;EAkBjC;AAED,wBAAgB,aAAa,CAAC,OAAO,GAAE,aAAkB;;;;;;GA+ExD"}
|
|
@@ -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-ESZZYREQ.js";import"../../chunk-SBYJ2DNF.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as containerLayout,b as containerLayoutRef,c as makeContainerProps,d as sectionLayout};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type Static, type StringOptions } from "@sinclair/typebox";
|
|
2
|
+
export declare const cssUnits: string[];
|
|
2
3
|
export declare function cssLength(options?: StringOptions): import("@sinclair/typebox").TString;
|
|
3
4
|
export type CssLength = Static<ReturnType<typeof cssLength>>;
|
|
4
5
|
export declare function cssLengthRef(options?: StringOptions): import("@sinclair/typebox").TString;
|
|
6
|
+
export declare function isCssLength(value: string | number | undefined): boolean;
|
|
5
7
|
//# sourceMappingURL=css-length.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css-length.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/css-length.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAI1E,wBAAgB,SAAS,CAAC,OAAO,GAAE,aAAkB,
|
|
1
|
+
{"version":3,"file":"css-length.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/css-length.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAI1E,eAAO,MAAM,QAAQ,UAAgF,CAAC;AAEtG,wBAAgB,SAAS,CAAC,OAAO,GAAE,aAAkB,uCAapD;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC;AAE7D,wBAAgB,YAAY,CAAC,OAAO,GAAE,aAAkB,uCAEvD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAOvE"}
|
|
@@ -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,c,d}from"../../chunk-SBYJ2DNF.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{b as cssLength,c as cssLengthRef,a as cssUnits,d as isCssLength};
|
|
@@ -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-AUDVZ5XH.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as datasourceRef};
|
|
@@ -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-T4BNTUJZ.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as date,b as datetime};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/effects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAK1E,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,
|
|
1
|
+
{"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/effects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAK1E,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,6HAc5F;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;AAE/D,wBAAgB,SAAS,CAAC,OAAO,GAAE,aAAa,GAAG,aAAkB,6HAEpE;AAED,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,uIAaxB;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"}
|
|
@@ -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-Z2NARRFH.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{d as opacity,a as shadow,b as shadowRef,c as textShadow};
|
|
@@ -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-ETEMVJ5N.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as enumProp};
|
|
@@ -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{b as r}from"../../chunk-
|
|
3
|
+
import{b as r}from"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";import{Type as e}from"@sinclair/typebox";function f(i="File"){return r({title:i,schema:e.String({format:"data-url","ui:field":"file"})})}export{f as file};
|
|
@@ -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-SI3CEAX2.js";import"../../chunk-EAXMALLF.js";import"../../chunk-4GPU3TI3.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as geolocation};
|
|
@@ -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,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,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE3G,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAmBzE,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;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAGvE;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;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE;;;;;;;;OAUjD;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,0BAcxG;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,h}from"../../chunk-
|
|
3
|
+
import{a,b,c,d,e,f,g,h}from"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.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,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-JJN753J5.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as image,b as imageRef};
|
|
@@ -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-EAXMALLF.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as number};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Static } from "@sinclair/typebox";
|
|
2
|
-
export declare function padding(): import("@sinclair/typebox").
|
|
3
|
-
export declare
|
|
1
|
+
import { type SchemaOptions, type Static } from "@sinclair/typebox";
|
|
2
|
+
export declare function padding(): import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-2" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">;
|
|
3
|
+
export declare function paddingRef(options?: SchemaOptions): import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-2" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">;
|
|
4
4
|
export type PaddingSettings = Static<ReturnType<typeof padding>>;
|
|
5
5
|
//# sourceMappingURL=padding.d.ts.map
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAM1E,wBAAgB,OAAO,4HActB;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,aAAkB,2HAErD;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-FVW6TE5S.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as padding,b as paddingRef};
|
|
@@ -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-EFUCEV6J.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{b as fixedPositioned,a as position};
|
|
@@ -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,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,0vBAiE3C;AAED,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;AAEvD,eAAO,MAAM,SAAS,wvBAA4B,CAAC;AAEnD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D7B,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-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as preset,b as presetRef,c as presetsStyleProps};
|
|
@@ -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-4GPU3TI3.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as string,b as url,c as urlOrPageId,d as urlOrPageIdRef};
|
|
@@ -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-EQQGW3Y3.js";import"../../chunk-XBVKQVAV.js";import"../../chunk-KOF7PY4F.js";import"../../chunk-6HBMLMS4.js";import"../../chunk-OYIL5SCU.js";export{a as fontSize,b as textContent,c as textContentRef};
|
package/dist/shared/bricks.d.ts
CHANGED
|
@@ -25,18 +25,12 @@ export type Brick = Static<typeof brickSchema>;
|
|
|
25
25
|
export declare const sectionProps: import("@sinclair/typebox").TObject<{
|
|
26
26
|
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
27
27
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
28
|
-
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"flex-row" | "flex-col">>;
|
|
29
|
-
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
30
28
|
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
31
29
|
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32
30
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
33
31
|
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">]>>;
|
|
34
|
-
type?: import("@sinclair/typebox").TUnsafe<"flex" | "grid"> | undefined;
|
|
35
32
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
36
|
-
type: import("@sinclair/typebox").TUnsafe<"flex" | "grid">;
|
|
37
33
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
38
|
-
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"flex-row" | "flex-col">>;
|
|
39
|
-
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
40
34
|
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
41
35
|
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
42
36
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
@@ -75,18 +69,12 @@ export declare const sectionSchema: import("@sinclair/typebox").TObject<{
|
|
|
75
69
|
props: import("@sinclair/typebox").TObject<{
|
|
76
70
|
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
77
71
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
78
|
-
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"flex-row" | "flex-col">>;
|
|
79
|
-
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
80
72
|
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
81
73
|
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
82
74
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
83
75
|
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">]>>;
|
|
84
|
-
type?: import("@sinclair/typebox").TUnsafe<"flex" | "grid"> | undefined;
|
|
85
76
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
86
|
-
type: import("@sinclair/typebox").TUnsafe<"flex" | "grid">;
|
|
87
77
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
88
|
-
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"flex-row" | "flex-col">>;
|
|
89
|
-
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
90
78
|
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
91
79
|
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
92
80
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
@@ -121,18 +109,12 @@ export declare const sectionSchema: import("@sinclair/typebox").TObject<{
|
|
|
121
109
|
mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
122
110
|
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
123
111
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
124
|
-
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"flex-row" | "flex-col">>;
|
|
125
|
-
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
126
112
|
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
127
113
|
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
128
114
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
129
115
|
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">]>>;
|
|
130
|
-
type?: import("@sinclair/typebox").TUnsafe<"flex" | "grid"> | undefined;
|
|
131
116
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
132
|
-
type: import("@sinclair/typebox").TUnsafe<"flex" | "grid">;
|
|
133
117
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
134
|
-
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"flex-row" | "flex-col">>;
|
|
135
|
-
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
136
118
|
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
137
119
|
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
138
120
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
@@ -205,22 +187,16 @@ export declare function processSections(sections: Section[]): {
|
|
|
205
187
|
lastTouched?: number | undefined;
|
|
206
188
|
layout?: {
|
|
207
189
|
gap?: string | undefined;
|
|
208
|
-
direction?: "flex-row" | "flex-col" | undefined;
|
|
209
|
-
columns?: number | undefined;
|
|
210
190
|
wrap?: boolean | undefined;
|
|
211
191
|
fillSpace?: boolean | undefined;
|
|
212
192
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
213
193
|
alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
|
|
214
|
-
type: "flex" | "grid";
|
|
215
194
|
} | {
|
|
216
195
|
gap?: string | undefined;
|
|
217
|
-
direction?: "flex-row" | "flex-col" | undefined;
|
|
218
|
-
columns?: number | undefined;
|
|
219
196
|
wrap?: boolean | undefined;
|
|
220
197
|
fillSpace?: boolean | undefined;
|
|
221
198
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
222
199
|
alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
|
|
223
|
-
type: "flex" | "grid";
|
|
224
200
|
} | undefined;
|
|
225
201
|
horizontalPadding?: string | undefined;
|
|
226
202
|
verticalPadding?: string | undefined;
|
|
@@ -252,22 +228,16 @@ export declare function processSections(sections: Section[]): {
|
|
|
252
228
|
lastTouched?: number | undefined;
|
|
253
229
|
layout?: {
|
|
254
230
|
gap?: string | undefined;
|
|
255
|
-
direction?: "flex-row" | "flex-col" | undefined;
|
|
256
|
-
columns?: number | undefined;
|
|
257
231
|
wrap?: boolean | undefined;
|
|
258
232
|
fillSpace?: boolean | undefined;
|
|
259
233
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
260
234
|
alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
|
|
261
|
-
type: "flex" | "grid";
|
|
262
235
|
} | {
|
|
263
236
|
gap?: string | undefined;
|
|
264
|
-
direction?: "flex-row" | "flex-col" | undefined;
|
|
265
|
-
columns?: number | undefined;
|
|
266
237
|
wrap?: boolean | undefined;
|
|
267
238
|
fillSpace?: boolean | undefined;
|
|
268
239
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
269
240
|
alignItems?: "items-start" | "items-center" | "items-end" | "items-stretch" | undefined;
|
|
270
|
-
type: "flex" | "grid";
|
|
271
241
|
} | undefined;
|
|
272
242
|
horizontalPadding?: string | undefined;
|
|
273
243
|
verticalPadding?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bricks.d.ts","sourceRoot":"","sources":["../../src/shared/bricks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"bricks.d.ts","sourceRoot":"","sources":["../../src/shared/bricks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AActD;;GAEG;AACH,eAAO,MAAM,UAAU,2BAA4E,CAAC;AAEpG,QAAA,MAAM,2BAA2B;;;;;;;;;EAiD/B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE/E,eAAO,MAAM,eAAe,6CAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;EAmDvB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC;AAE/C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwExB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBzB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAEnD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOlD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAUzD"}
|
package/dist/shared/bricks.js
CHANGED
|
@@ -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}from"./chunk-W67LBR3A.js";import"./chunk-ETEMVJ5N.js";import"./chunk-ZC55FZNB.js";import"./chunk-CL72KTSY.js";import"./chunk-XQBNMLIS.js";import"./chunk-RKBJTD53.js";import"./chunk-IEHOWRO3.js";import"./chunk-OELIU5BZ.js";import"./chunk-GES7GCNN.js";import"./chunk-SI3CEAX2.js";import"./chunk-W2HCVNRC.js";import"./chunk-EXAE67ZU.js";import"./chunk-EFUCEV6J.js";import"./chunk-QG5AWSGT.js";import"./chunk-3G6VWQ7K.js";import"./chunk-2WJ5JFCL.js";import"./chunk-345A5Q4I.js";import"./chunk-6P4BCAMF.js";import"./chunk-KPRNSVFG.js";import"./chunk-AUDVZ5XH.js";import"./chunk-UKPBLPU2.js";import"./chunk-6WRY6H5C.js";import"./chunk-EAXMALLF.js";import"./chunk-IGICLAXG.js";import"./chunk-RYK77LRD.js";import"./chunk-CYG4PX4M.js";import"./chunk-ESZZYREQ.js";import"./chunk-SBYJ2DNF.js";import"./chunk-JJN753J5.js";import"./chunk-XAY2Q5IE.js";import"./chunk-COJXT4AE.js";import"./chunk-EQQGW3Y3.js";import"./chunk-Z2NARRFH.js";import"./chunk-KJC5OW6Z.js";import"./chunk-P4FWHABH.js";import"./chunk-FVW6TE5S.js";import"./chunk-GEJURLYI.js";import"./chunk-ZM7FO54Z.js";import"./chunk-AJ5KETPJ.js";import"./chunk-4GPU3TI3.js";import"./chunk-76ACOEIL.js";import"./chunk-WCVUBYL5.js";import"./chunk-SFKZAUPW.js";import"./chunk-XBVKQVAV.js";import"./chunk-KOF7PY4F.js";import"./chunk-6HBMLMS4.js";import"./chunk-OYIL5SCU.js";export{c as brickSchema,b as brickTypeSchema,a as generateId,g as processBrick,f as processSections,d as sectionProps,e as sectionSchema};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{c as s}from"./chunk-EQQGW3Y3.js";import{b as a}from"./chunk-Z2NARRFH.js";import{b as n}from"./chunk-KJC5OW6Z.js";import{b as i}from"./chunk-P4FWHABH.js";import{b as r}from"./chunk-FVW6TE5S.js";import{d as o}from"./chunk-ZM7FO54Z.js";import{a as p}from"./chunk-76ACOEIL.js";import{d as t,e}from"./chunk-XBVKQVAV.js";import{RxTextAlignLeft as l}from"react-icons/rx";var C=p({type:"text",kind:"brick",name:"Text",description:"Text with formatting options",aiInstructions:`Text "content" can contain minimal HTML tags like <strong>, <em>, <br> and <a> as well as <p> and <span> and lists.
|
|
4
|
+
Only 'align' is supported as an inline style, so don't use other inline styles like 'font-size' or 'color' in the content prop.
|
|
5
|
+
`,minHeight:{desktop:2,mobile:2},minWidth:{desktop:2,mobile:2},defaultHeight:{desktop:7,mobile:7},defaultWidth:{desktop:6,mobile:6},repeatable:!0,icon:l,props:t({content:s(),backgroundColor:e(o()),color:e(i()),padding:e(r({default:"p-2"})),border:e(n()),shadow:e(a())},{default:{padding:"p-8"}})}),T=[{description:"Welcome paragraph with emphasis, using a preset",type:"text",props:{preset:"prominent-primary",content:"Welcome to our platform! We're <strong>excited</strong> to have you here. Our mission is to <em>transform</em> the way you work with cutting-edge technology and <a href='/features'>innovative features</a>.",padding:"p-16"}},{description:"Feature list with HTML formatting",type:"text",props:{content:"<h3>Key Features</h3><ul><li><strong>Advanced Analytics</strong> - Real-time data insights</li><li><strong>Cloud Integration</strong> - Seamless connectivity</li><li><strong>24/7 Support</strong> - Always here to help</li></ul>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Quote block with styling",type:"text",props:{content:`<p style='text-align: center'><em>"Innovation distinguishes between a leader and a follower."</em><br><strong>- Steve Jobs</strong></p>`,backgroundColor:"#1e293b",color:"#f1f5f9",padding:"p-8"}},{description:"Multi-paragraph article content",type:"text",props:{content:"<p>The future of web development is rapidly evolving with new technologies and frameworks emerging every year. <strong>Modern developers</strong> need to stay current with trends while maintaining focus on <em>user experience</em> and performance.</p><p>Our platform provides the tools and resources you need to build <a href='/docs'>exceptional web applications</a> that scale with your business needs.</p><p>Join thousands of developers who trust our solutions for their most critical projects.</p>",padding:"p-8"}},{description:"Call-to-action text with bright styling",type:"text",props:{content:"<p style='text-align: center'><strong>Ready to Get Started?</strong><br>Join over <span style='color: #ef4444'>50,000</span> satisfied customers and transform your business today!</p><p style='text-align: center'><a href='/signup'>Sign up now</a> and get your first month <em>absolutely free</em>.</p>",backgroundColor:"#fef3c7",color:"#92400e"}},{description:"Simple heading with subtle background",type:"text",props:{content:"<h2>About Our Company</h2><p>We've been serving customers since 2010, building trust through quality products and exceptional service.</p>",backgroundColor:"#f0f9ff"}},{description:"Technical documentation snippet",type:"text",props:{content:"<h4>API Configuration</h4><p>To get started with our API, you'll need to:</p><ol><li>Create an account and <strong>generate an API key</strong></li><li>Install the SDK: <code>npm install @company/sdk</code></li><li>Initialize with your credentials</li></ol><p>For detailed instructions, visit our <a href='/docs/api'>API documentation</a>.</p>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Team introduction with formatting",type:"text",props:{content:"<p style='text-align: center'><strong>Meet Our Team</strong></p><p>Our diverse team of experts brings together decades of experience in technology, design, and business strategy. We're passionate about <em>creating solutions</em> that make a real difference.</p><p><a href='/team'>Learn more about our team</a> and the values that drive us forward.</p>",padding:"p-8",color:"#374151"}},{description:"Warning notice with dark theme",type:"text",props:{content:"<p><strong>\u26A0\uFE0F Important Notice:</strong><br>Scheduled maintenance will occur on <em>Sunday, March 15th</em> from 2:00 AM to 6:00 AM UTC.</p><p>During this time, some features may be temporarily unavailable. We apologize for any inconvenience.</p>",backgroundColor:"#dc2626",color:"#fef2f2",padding:"p-8"}},{description:"Success message with green theme",type:"text",props:{content:"<p style='text-align: center'><strong>\u2705 Success!</strong><br>Your account has been created successfully.</p><p style='text-align: center'>Check your email for verification instructions and <a href='/dashboard' style='color: #065f46'>start exploring</a> your new dashboard.</p>",backgroundColor:"#d1fae5",padding:"p-8"}}];export{C as a,T as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{b as o}from"./chunk-JJN753J5.js";import{c as a}from"./chunk-EQQGW3Y3.js";import{b as n}from"./chunk-Z2NARRFH.js";import{b as r}from"./chunk-KJC5OW6Z.js";import{a as d}from"./chunk-76ACOEIL.js";import{d as i,e as t}from"./chunk-XBVKQVAV.js";import{BsCardText as p}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var w=d({type:"card",name:"Card",description:"A multi-purpose card that can have a title, image, and content",repeatable:!0,icon:p,props:i({variants:e.Array(e.Union([e.Literal("image-first",{title:"Image First","ui:variant-type":"image-placement"}),e.Literal("image-between",{title:"Image Between","ui:variant-type":"image-placement"}),e.Literal("image-last",{title:"Image Last","ui:variant-type":"image-placement"}),e.Literal("image-overlay",{title:"Image Overlay","ui:variant-type":"image-placement"}),e.Literal("image-left-side",{title:"Image Left Side","ui:variant-type":"image-placement"}),e.Literal("image-right-side",{title:"Image Right Side","ui:variant-type":"image-placement"}),e.Literal("centered",{title:"Centered","ui:variant-type":"align"}),e.Literal("text-sm",{title:"S","ui:variant-type":"font-size"}),e.Literal("text-base",{title:"M","ui:variant-type":"font-size"}),e.Literal("text-lg",{title:"L","ui:variant-type":"font-size"}),e.Literal("text-xl",{title:"XL","ui:variant-type":"font-size"}),e.Literal("text-2xl",{title:"2XL","ui:variant-type":"font-size"})],{title:"Variants"}),{"ui:field":"variant",default:["image-between","text-base"],"ui:variant-names":{"image-placement":"Image Placement",align:"Alignment","font-size":"Base Font Size"}}),cardImage:t(o()),cardTitle:t(a({title:"Title"})),cardBody:t(a({title:"Body"})),shadow:t(n()),border:t(r())})}),x=[{description:"A simple card with a title and content",type:"card",props:{variants:["image-first"],preset:"prominent-primary",cardTitle:"Card Title",cardBody:"This is the body of the card."}},{description:"Card with image and overlay text",type:"card",props:{variants:["image-overlay","centered"],cardImage:{src:"https://via.placeholder.com/400x300",alt:"Placeholder image"},cardTitle:"Overlay Title",cardBody:"Beautiful overlay content with semi-transparent background."}},{description:"Product card with image on the left",type:"card",props:{variants:["image-left-side"],cardImage:{src:"https://via.placeholder.com/200x200",alt:"Product image"},cardTitle:"Premium Headphones",cardBody:"High-quality wireless headphones with noise cancellation and 30-hour battery life."}},{description:"Feature card with large padding and background",type:"card",props:{variants:["centered"],cardTitle:"Key Feature",cardBody:"This feature provides exceptional value and enhances user experience significantly."}},{description:"Blog post card with image at the bottom",type:"card",props:{variants:["image-last"],cardTitle:"The Future of Technology",cardBody:"Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",cardImage:{src:"https://via.placeholder.com/400x200",alt:"Technology concept"}}},{description:"Testimonial card with right-side image",type:"card",props:{variants:["image-right-side"],cardTitle:"Customer Review",cardBody:'"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"',cardImage:{src:"https://via.placeholder.com/150x150",alt:"Customer photo"}}},{description:"Minimal centered card without image",type:"card",props:{variants:["centered"],cardTitle:"Simple Announcement",cardBody:"Important updates will be posted here regularly."}},{description:"Event card with multiple variants",type:"card",props:{variants:["image-first","centered"],cardImage:{src:"https://via.placeholder.com/400x250",alt:"Event venue"},cardTitle:"Annual Conference 2025",cardBody:"Join us for three days of inspiring talks, networking opportunities, and hands-on workshops."}},{description:"News article card with compact layout",type:"card",props:{variants:["image-left-side"],cardImage:{src:"https://via.placeholder.com/120x120",alt:"News thumbnail"},cardTitle:"Breaking News Update",cardBody:"Latest developments in the ongoing story with expert analysis and community reactions."}},{description:"Call-to-action card with prominent styling",type:"card",props:{variants:["centered"],cardTitle:"Get Started Today",cardBody:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!"}}];export{w as a,x as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{b as l}from"./chunk-JJN753J5.js";import{c as p}from"./chunk-EQQGW3Y3.js";import{b as c}from"./chunk-Z2NARRFH.js";import{b as n}from"./chunk-KJC5OW6Z.js";import{b as s}from"./chunk-FVW6TE5S.js";import{b as r}from"./chunk-ZM7FO54Z.js";import{a}from"./chunk-4GPU3TI3.js";import{a as m}from"./chunk-76ACOEIL.js";import{b as o,d as i,e}from"./chunk-XBVKQVAV.js";import{Type as t}from"@sinclair/typebox";import{HiOutlineChatBubbleBottomCenter as h}from"react-icons/hi2";var A=m({type:"testimonials",name:"Testimonials",kind:"widget",description:"Display testimonials from users",repeatable:!1,icon:h,props:i({orientation:e(o({title:"Orientation",schema:t.Union([t.Literal("horizontal",{title:"Horizontal"}),t.Literal("vertical",{title:"Vertical"})],{default:"horizontal"})})),background:e(r()),border:e(n()),padding:e(s()),shadow:e(c()),testimonials:t.Array(t.Object({author:a("Author",{default:"John Doe"}),company:e(a("Company")),text:p({title:"Text",default:"Amazing product!"}),avatar:e(l({title:"Avatar"})),socialIcon:e(a("Social Icon",{description:"Iconify reference for the social icon","ui:field":"iconify"}))}))},{default:{orientation:"horizontal"}})}),M=[{description:"SaaS platform testimonials with avatars (horizontal)",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Sarah Johnson",company:"TechCorp Solutions",text:"This platform has completely transformed how we manage our projects. The intuitive interface and powerful automation features have saved us countless hours.",avatar:{src:"https://via.placeholder.com/80x80.png?text=SJ",alt:"Sarah Johnson profile photo"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"StartupFlow",text:"Outstanding customer support and regular feature updates. We've been using this for over a year and it keeps getting better. Highly recommend!",avatar:{src:"https://via.placeholder.com/80x80.png?text=MC",alt:"Mike Chen profile photo"},socialIcon:"mdi:twitter"},{author:"Emily Rodriguez",company:"Digital Agency Pro",text:"The automation capabilities are game-changing. What used to take us days now happens automatically. It's like having an extra team member.",avatar:{src:"https://via.placeholder.com/80x80.png?text=ER",alt:"Emily Rodriguez profile photo"},socialIcon:"mdi:linkedin"}]}},{description:"E-commerce customer reviews (vertical)",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Jessica Williams",company:"Happy Customer",text:"Amazing product quality and fast shipping! The item exceeded my expectations and the customer service was excellent when I had questions.",avatar:{src:"https://via.placeholder.com/60x60.png?text=JW",alt:"Jessica Williams customer photo"},socialIcon:"mdi:star"},{author:"David Park",text:"Five stars! Been using this product for 6 months and it's still going strong. Definitely worth the investment and I've already recommended it to friends.",avatar:{src:"https://via.placeholder.com/60x60.png?text=DP",alt:"David Park customer photo"},socialIcon:"mdi:thumbs-up"}]}},{description:"Agency client testimonials with company info",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Rachel Thompson",company:"Global Enterprises",text:"The team delivered exceptional results on time and within budget. Their creative approach and attention to detail made all the difference for our brand.",avatar:{src:"https://via.placeholder.com/70x70.png?text=RT",alt:"Rachel Thompson headshot"},socialIcon:"mdi:briefcase"},{author:"Alex Kumar",company:"Innovation Labs",text:"Working with this agency was a game-changer for our digital presence. They understood our vision and brought it to life beautifully.",avatar:{src:"https://via.placeholder.com/70x70.png?text=AK",alt:"Alex Kumar profile"},socialIcon:"mdi:lightbulb"},{author:"Maria Santos",company:"Retail Plus",text:"Professional, creative, and results-driven. Our website traffic increased by 200% after their redesign. Couldn't be happier!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MS",alt:"Maria Santos photo"},socialIcon:"mdi:chart-line"}]}},{description:"App user feedback (vertical layout)",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Tom Wilson",text:"This app has made my daily routine so much easier. Love the clean interface and how everything just works seamlessly across all my devices.",avatar:{src:"https://via.placeholder.com/65x65.png?text=TW",alt:"Tom Wilson user photo"},socialIcon:"mdi:cellphone"},{author:"Lisa Chang",text:"Been using this app for months and it's become essential to my workflow. The latest update with AI features is incredibly impressive.",avatar:{src:"https://via.placeholder.com/65x65.png?text=LC",alt:"Lisa Chang profile picture"},socialIcon:"mdi:robot"},{author:"James Miller",text:"Simple, powerful, and reliable. Exactly what I was looking for. The customer support team is also very responsive and helpful.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JM",alt:"James Miller avatar"},socialIcon:"mdi:heart"}]}},{description:"Course/education testimonials with social icons",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Amanda Foster",company:"UX Designer",text:"This course completely changed my career trajectory. The practical projects and expert feedback helped me land my dream job in just 3 months.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AF",alt:"Amanda Foster student photo"},socialIcon:"mdi:school"},{author:"Carlos Rodriguez",company:"Software Engineer",text:"The instructors are industry experts and the content is always up-to-date. I've taken three courses here and each one exceeded my expectations.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CR",alt:"Carlos Rodriguez profile"},socialIcon:"mdi:code-tags"}]}},{description:"Simple testimonials without avatars",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Anonymous User",text:"Great service and excellent value for money. Would definitely recommend to others looking for a reliable solution.",socialIcon:"mdi:account-circle"},{author:"Verified Customer",text:"Quick delivery and exactly as described. Very satisfied with my purchase and the overall experience.",socialIcon:"mdi:check-circle"},{author:"Beta Tester",text:"Been using the beta version and it's already impressive. Looking forward to the full release with even more features.",socialIcon:"mdi:beta"}]}},{description:"Consultant testimonials with professional focus",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Dr. Patricia Lee",company:"Medical Practice Solutions",text:"The consulting services provided were invaluable to our practice. Revenue increased by 40% and patient satisfaction scores improved significantly.",avatar:{src:"https://via.placeholder.com/80x80.png?text=PL",alt:"Dr. Patricia Lee headshot"},socialIcon:"mdi:medical-bag"},{author:"Robert Kim",company:"Manufacturing Inc.",text:"Their strategic insights helped us streamline operations and reduce costs by 25%. The ROI was evident within the first quarter.",avatar:{src:"https://via.placeholder.com/80x80.png?text=RK",alt:"Robert Kim executive photo"},socialIcon:"mdi:factory"}]}},{description:"Event testimonials with social media icons",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Jennifer Adams",company:"Marketing Director",text:"Best conference I've attended in years! The networking opportunities were incredible and the speakers were top-notch industry leaders.",avatar:{src:"https://via.placeholder.com/70x70.png?text=JA",alt:"Jennifer Adams conference attendee"},socialIcon:"mdi:twitter"},{author:"Michael Brown",company:"Tech Startup Founder",text:"The workshops were incredibly practical and I left with actionable strategies I could implement immediately. Already planning to attend next year!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MB",alt:"Michael Brown participant photo"},socialIcon:"mdi:linkedin"},{author:"Sophie Chen",company:"Product Manager",text:"Amazing organization and valuable content. Met so many like-minded professionals and learned cutting-edge techniques I'm excited to try.",avatar:{src:"https://via.placeholder.com/70x70.png?text=SC",alt:"Sophie Chen attendee photo"},socialIcon:"mdi:instagram"}]}},{description:"Fitness/wellness testimonials with achievement focus",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Mark Thompson",text:"Lost 30 pounds in 4 months following this program! The personalized approach and constant support made all the difference in achieving my goals.",avatar:{src:"https://via.placeholder.com/75x75.png?text=MT",alt:"Mark Thompson transformation photo"},socialIcon:"mdi:dumbbell"},{author:"Anna Johnson",text:"Finally found a workout routine I actually enjoy! The trainers are motivating and the community support keeps me accountable every day.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AJ",alt:"Anna Johnson fitness photo"},socialIcon:"mdi:heart-pulse"},{author:"Chris Davis",text:"This program completely changed my relationship with fitness. I'm stronger, more confident, and have energy I haven't felt in years.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CD",alt:"Chris Davis success photo"},socialIcon:"mdi:trophy"}]}},{description:"Restaurant customer reviews with food focus",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Food Critic Helen",company:"Local Food Blog",text:"Exceptional cuisine and impeccable service! Every dish was a masterpiece and the attention to detail was remarkable. A true culinary experience.",avatar:{src:"https://via.placeholder.com/65x65.png?text=HC",alt:"Helen food critic photo"},socialIcon:"mdi:silverware-fork-knife"},{author:"Regular Customer Joe",text:"Been coming here for years and it never disappoints. The staff knows my order by heart and the quality is consistently outstanding.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JC",alt:"Joe regular customer"},socialIcon:"mdi:food"}]}}];export{A as a,M as b};
|
|
@@ -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{b as i}from"./chunk-
|
|
3
|
+
import{b as i}from"./chunk-XBVKQVAV.js";import{a as n}from"./chunk-OYIL5SCU.js";import{Type as r}from"@sinclair/typebox";function l(t,e={}){return i({title:t,schema:r.String(e)})}function u(t="URL",e){return i({title:t,schema:r.String({format:"uri","ui:field":"url",default:e})})}var a=r.String({"ui:field":"page-id"});function d(t="URL or Page ID",e){return i({title:t,schema:r.Union([r.String({format:"uri"}),a],{$id:"content:urlOrPageId",default:e,title:"URL or Page ID","ui:field":"url-page-id","ai:instructions":"This field can be a URL or a page ID. Use the page ID when linking to a internal page, and a URL for external links."})})}function f(t={}){return n("content:urlOrPageId",{...t})}export{l as a,u as b,d as c,f as d};
|
|
@@ -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{e as a}from"./chunk-
|
|
3
|
+
import{e as a}from"./chunk-W67LBR3A.js";import{c as t}from"./chunk-BWQVDKMZ.js";import{Type as e}from"@sinclair/typebox";var s=e.Object({id:e.String({description:"The unique ID of the page. Use a human readable url-safe slug"}),label:e.String({description:"The label (name) of the page"}),path:e.String({description:"The path of the page in the URL. Should be unique"}),sections:e.Array(a,{description:"The sections of the page. See the Section schema"}),tags:e.Array(e.String(),{description:"The tags of the page, used for organizating and filtering pages"}),attr:e.Optional(t)});export{s as a};
|
|
@@ -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 as r}from"./chunk-OYIL5SCU.js";import{Type as e}from"@sinclair/typebox";function a(t){return e.Union([e.Literal("surface-1",{title:"Surface 1",description:"Surface elevation 1, light background with dark text."}),e.Literal("surface-2",{title:"Surface 2",description:"Surface elevation 2, slightly darker background with dark text."}),e.Literal("surface-3",{title:"Surface 3",description:"Surface elevation 3, even darker background with dark text."}),e.Literal("prominent-primary",{title:"Prominent Primary",description:"Prominent display on primary-700 background."}),e.Literal("prominent-secondary",{title:"Prominent Secondary",description:"Prominent display on secondary-700 background."}),e.Literal("prominent-accent",{title:"Prominent Accent",description:"Prominent display on accent-700 background."}),e.Literal("medium-primary",{title:"Medium Primary",description:"Filled display on primary-200 background."}),e.Literal("medium-secondary",{title:"Medium Secondary",description:"Medium display on secondary-200 background."}),e.Literal("medium-accent",{title:"Medium Accent",description:"Medium display on accent-200 background."}),e.Literal("subtle-primary",{title:"Subtle Primary",description:"Subtle display on primary-100 background and 1px border."}),e.Literal("subtle-secondary",{title:"Subtle Secondary",description:"Subtle display on secondary-100 background and 1px border."}),e.Literal("subtle-accent",{title:"Subtle Accent",description:"Subtle display on accent-100 background and 1px border."}),e.Literal("preset-none",{title:"None",description:"No background and no border. Useful for bricks inside a card or a container that already have a surface/background."})],{$id:"styles:preset",title:"Preset",description:"Styles presets are used to maintain styles consistency across the application.",default:t??"preset-none"})}var c=r("styles:preset"),n={"surface-1":{"#styles:backgroundColor":"bg-base-100","#styles:color":"text-base-100","#styles:border":{color:"border-base-100"}},"surface-2":{"#styles:backgroundColor":"bg-base-200","#styles:color":"text-base-200","#styles:border":{color:"border-base-200"}},"surface-3":{"#styles:backgroundColor":"bg-base-300","#styles:color":"text-base-300","#styles:border":{color:"border-base-300"}},"prominent-primary":{"#styles:backgroundColor":"bg-primary-700","#styles:color":"text-primary","#styles:border":{color:"border-primary-800"}},"prominent-secondary":{"#styles:backgroundColor":"bg-secondary-700","#styles:color":"text-secondary","#styles:border":{color:"border-secondary-800"}},"prominent-accent":{"#styles:backgroundColor":"bg-accent-700","#styles:color":"text-accent","#styles:border":{color:"border-accent-800"}},"medium-primary":{"#styles:backgroundColor":"bg-primary-200","#styles:color":"text-primary-800","#styles:border":{color:"border-primary-300"}},"medium-secondary":{"#styles:backgroundColor":"bg-secondary-200","#styles:color":"text-secondary-800","#styles:border":{color:"border-secondary-300"}},"medium-accent":{"#styles:backgroundColor":"bg-accent-200","#styles:color":"text-accent-800","#styles:border":{color:"border-accent-300"}},"subtle-primary":{"#styles:backgroundColor":"bg-primary-100","#styles:color":"text-primary-800","#styles:border":{color:"border-primary-100"}},"subtle-secondary":{"#styles:backgroundColor":"bg-secondary-100","#styles:color":"text-secondary-800","#styles:border":{color:"border-secondary-100"}},"subtle-accent":{"#styles:backgroundColor":"bg-accent-100","#styles:color":"text-accent-800","#styles:border":{color:"border-accent-100"}},"preset-none":{}};export{a,c as b,n as c};
|
|
3
|
+
import{a as r}from"./chunk-OYIL5SCU.js";import{Type as e}from"@sinclair/typebox";function a(t){return e.Union([e.Literal("surface-1",{title:"Surface 1",description:"Surface elevation 1, light background with dark text."}),e.Literal("surface-2",{title:"Surface 2",description:"Surface elevation 2, slightly darker background with dark text."}),e.Literal("surface-3",{title:"Surface 3",description:"Surface elevation 3, even darker background with dark text."}),e.Literal("prominent-primary",{title:"Prominent Primary",description:"Prominent display on primary-700 background."}),e.Literal("prominent-secondary",{title:"Prominent Secondary",description:"Prominent display on secondary-700 background."}),e.Literal("prominent-accent",{title:"Prominent Accent",description:"Prominent display on accent-700 background."}),e.Literal("medium-primary",{title:"Medium Primary",description:"Filled display on primary-200 background."}),e.Literal("medium-secondary",{title:"Medium Secondary",description:"Medium display on secondary-200 background."}),e.Literal("medium-accent",{title:"Medium Accent",description:"Medium display on accent-200 background."}),e.Literal("subtle-primary",{title:"Subtle Primary",description:"Subtle display on primary-100 background and 1px border."}),e.Literal("subtle-secondary",{title:"Subtle Secondary",description:"Subtle display on secondary-100 background and 1px border."}),e.Literal("subtle-accent",{title:"Subtle Accent",description:"Subtle display on accent-100 background and 1px border."}),e.Literal("preset-none",{title:"None",description:"No background and no border. Useful for bricks inside a card or a container that already have a surface/background."})],{$id:"styles:preset",title:"Preset",description:"Styles presets are used to maintain styles consistency across the application.",default:t??"preset-none","ui:field":"hidden"})}var c=r("styles:preset"),n={"surface-1":{"#styles:backgroundColor":"bg-base-100","#styles:color":"text-base-100","#styles:border":{color:"border-base-100"}},"surface-2":{"#styles:backgroundColor":"bg-base-200","#styles:color":"text-base-200","#styles:border":{color:"border-base-200"}},"surface-3":{"#styles:backgroundColor":"bg-base-300","#styles:color":"text-base-300","#styles:border":{color:"border-base-300"}},"prominent-primary":{"#styles:backgroundColor":"bg-primary-700","#styles:color":"text-primary","#styles:border":{color:"border-primary-800"}},"prominent-secondary":{"#styles:backgroundColor":"bg-secondary-700","#styles:color":"text-secondary","#styles:border":{color:"border-secondary-800"}},"prominent-accent":{"#styles:backgroundColor":"bg-accent-700","#styles:color":"text-accent","#styles:border":{color:"border-accent-800"}},"medium-primary":{"#styles:backgroundColor":"bg-primary-200","#styles:color":"text-primary-800","#styles:border":{color:"border-primary-300"}},"medium-secondary":{"#styles:backgroundColor":"bg-secondary-200","#styles:color":"text-secondary-800","#styles:border":{color:"border-secondary-300"}},"medium-accent":{"#styles:backgroundColor":"bg-accent-200","#styles:color":"text-accent-800","#styles:border":{color:"border-accent-300"}},"subtle-primary":{"#styles:backgroundColor":"bg-primary-100","#styles:color":"text-primary-800","#styles:border":{color:"border-primary-100"}},"subtle-secondary":{"#styles:backgroundColor":"bg-secondary-100","#styles:color":"text-secondary-800","#styles:border":{color:"border-secondary-100"}},"subtle-accent":{"#styles:backgroundColor":"bg-accent-100","#styles:color":"text-accent-800","#styles:border":{color:"border-accent-100"}},"preset-none":{}};export{a,c as b,n as c};
|
|
@@ -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 p}from"./chunk-ESZZYREQ.js";import{b as s}from"./chunk-Z2NARRFH.js";import{b as i}from"./chunk-KJC5OW6Z.js";import{b as a}from"./chunk-FVW6TE5S.js";import{b as o}from"./chunk-ZM7FO54Z.js";import{a as n}from"./chunk-76ACOEIL.js";import{d as t,e}from"./chunk-XBVKQVAV.js";import{TbCarouselHorizontal as m}from"react-icons/tb";import{Type as r}from"@sinclair/typebox";var v=n({type:"carousel",kind:"widget",name:"Carousel",description:"A carousel element",isContainer:!0,icon:m,props:t({variants:r.Array(r.Union([r.Literal("pager-arrows",{title:"With arrows pager"}),r.Literal("pager-numbers",{title:"With numbered pager"}),r.Literal("pager-dots",{title:"With dots pager"})],{title:"Variant",description:"Carousel variants."})),background:e(o()),border:e(i()),padding:e(a()),shadow:e(s()),...p()})}),C=[{description:"An image carousel with pager arrows",type:"carousel",props:{variants:["pager-arrows"],$children:[{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+1"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+2"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+3"}}]}},{description:"A carousel of text slides with numbered pager",type:"carousel",props:{variants:["pager-numbers"],$children:[{type:"text",props:{content:"Slide 1",preset:"prominent-primary"}},{type:"text",props:{content:"Slide 2",preset:"prominent-secondary"}},{type:"text",props:{content:"Slide 3",preset:"prominent-accent"}}]}}];export{v as a,C as b};
|