@upstart.gg/sdk 0.0.119 → 0.0.120
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 +1 -1
- package/dist/shared/ajv.d.ts.map +1 -1
- package/dist/shared/ajv.js +1 -1
- package/dist/shared/attributes.js +1 -1
- package/dist/shared/brick-manifest.d.ts +2 -2
- package/dist/shared/brick-manifest.d.ts.map +1 -1
- package/dist/shared/brick-manifest.js +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts +8 -8
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
- package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +1 -1
- package/dist/shared/bricks/manifests/box.manifest.d.ts +88 -0
- package/dist/shared/bricks/manifests/box.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/box.manifest.js +3 -0
- package/dist/shared/bricks/manifests/button.manifest.d.ts +17 -11
- 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 +4 -4
- 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 +17 -28
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
- package/dist/shared/bricks/manifests/dynamic.manifest.d.ts +88 -0
- package/dist/shared/bricks/manifests/dynamic.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/dynamic.manifest.js +3 -0
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +3 -4
- 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 +43 -7
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.js +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +3 -3
- 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 +4 -4
- 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 +21 -22
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
- package/dist/shared/bricks/manifests/map.manifest.d.ts +4 -4
- 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 +11 -22
- 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 +6 -28
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +8 -22
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
- package/dist/shared/bricks/manifests/spacer.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/spacer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/spacer.manifest.js +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +11 -27
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
- package/dist/shared/bricks/manifests/text.manifest.d.ts +4 -6
- 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/timeline.manifest.d.ts +6 -6
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
- package/dist/shared/bricks/manifests/vbox.manifest.d.ts +5 -16
- package/dist/shared/bricks/manifests/vbox.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/vbox.manifest.js +1 -1
- package/dist/shared/bricks/manifests/video.manifest.d.ts +4 -4
- 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.js +1 -1
- package/dist/shared/bricks/props/border.d.ts +4 -4
- package/dist/shared/bricks/props/border.js +1 -1
- package/dist/shared/bricks/props/color.js +1 -1
- package/dist/shared/bricks/props/common.d.ts +1 -1
- package/dist/shared/bricks/props/common.d.ts.map +1 -1
- package/dist/shared/bricks/props/common.js +1 -1
- package/dist/shared/bricks/props/container.d.ts +1 -1
- package/dist/shared/bricks/props/css-length.js +1 -1
- package/dist/shared/bricks/props/datasource.d.ts +2 -2
- package/dist/shared/bricks/props/datasource.d.ts.map +1 -1
- package/dist/shared/bricks/props/datasource.js +1 -1
- package/dist/shared/bricks/props/effects.d.ts +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/gap.d.ts +5 -0
- package/dist/shared/bricks/props/gap.d.ts.map +1 -0
- package/dist/shared/bricks/props/gap.js +3 -0
- package/dist/shared/bricks/props/geolocation.js +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +2 -2
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
- package/dist/shared/bricks/props/helpers.js +1 -1
- package/dist/shared/bricks/props/image.js +1 -1
- package/dist/shared/bricks/props/padding.js +1 -1
- package/dist/shared/bricks/props/preset.d.ts +1 -12
- 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.d.ts +10 -6
- package/dist/shared/bricks/props/string.d.ts.map +1 -1
- package/dist/shared/bricks/props/string.js +1 -1
- package/dist/shared/bricks/props/text.d.ts +4 -3
- 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 -1
- package/dist/shared/bricks/props/types.d.ts.map +1 -1
- package/dist/shared/bricks.d.ts +6 -6
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/{chunk-KVY3XSFM.js → chunk-2IYSJYNE.js} +1 -1
- package/dist/shared/{chunk-AXSKYJTL.js → chunk-32BOIZCS.js} +1 -1
- package/dist/shared/chunk-34XACK2H.js +3 -0
- package/dist/shared/chunk-4CH5SZHP.js +3 -0
- package/dist/shared/chunk-55HKWD4P.js +3 -0
- package/dist/shared/chunk-5KQ73TJZ.js +4 -0
- package/dist/shared/chunk-6NUQ6GA2.js +3 -0
- package/dist/shared/{chunk-34KLKC7D.js → chunk-6QZ55NBZ.js} +1 -1
- package/dist/shared/chunk-AHPCINCF.js +3 -0
- package/dist/shared/{chunk-DXBTSJYY.js → chunk-AHPZQTUB.js} +1 -1
- package/dist/shared/chunk-BYEWGCFY.js +3 -0
- package/dist/shared/chunk-BZZOL273.js +3 -0
- package/dist/shared/chunk-CHPGCNUH.js +5 -0
- package/dist/shared/chunk-DHGOZTDO.js +3 -0
- package/dist/shared/chunk-EDLOEBHY.js +3 -0
- package/dist/shared/{chunk-G77ZZFCM.js → chunk-EJGNYD4V.js} +1 -1
- package/dist/shared/chunk-FJN6PVS5.js +3 -0
- package/dist/shared/chunk-FPLXYN4C.js +3 -0
- package/dist/shared/chunk-GTX6M2GF.js +3 -0
- package/dist/shared/{chunk-ZS7NIR2D.js → chunk-ICCJA66W.js} +2 -2
- package/dist/shared/{chunk-RZN35CZP.js → chunk-IMB4M7KT.js} +1 -1
- package/dist/shared/{chunk-ML2Z54ZY.js → chunk-IWGL6J43.js} +1 -1
- package/dist/shared/chunk-J6PKQ777.js +3 -0
- package/dist/shared/{chunk-MJQMJKX4.js → chunk-LCOMCWIN.js} +1 -1
- package/dist/shared/chunk-LQHMT4C6.js +7 -0
- package/dist/shared/chunk-M56NNPVI.js +3 -0
- package/dist/shared/chunk-MFEJ5V6K.js +3 -0
- package/dist/shared/chunk-N3FHTP5P.js +3 -0
- package/dist/shared/chunk-N66KXK25.js +8 -0
- package/dist/shared/{chunk-JETRSMDQ.js → chunk-OHQEA2NH.js} +1 -1
- package/dist/shared/chunk-OJWLBSJN.js +3 -0
- package/dist/shared/chunk-OUETMYIF.js +3 -0
- package/dist/shared/chunk-QEH77NT6.js +3 -0
- package/dist/shared/chunk-QPQEWANA.js +6 -0
- package/dist/shared/{chunk-3SJF2FMO.js → chunk-R7BY53H4.js} +1 -1
- package/dist/shared/{chunk-6ROBSJRQ.js → chunk-SSQUEN6M.js} +1 -1
- package/dist/shared/{chunk-QLCJ52FH.js → chunk-XA3PPZ2Y.js} +1 -1
- package/dist/shared/chunk-YFTHOUIJ.js +3 -0
- package/dist/shared/chunk-YR6RQMUZ.js +3 -0
- package/dist/shared/chunk-YUFBBLOB.js +3 -0
- package/dist/shared/chunk-YVE5OT24.js +3 -0
- package/dist/shared/{chunk-5C6YS7H3.js → chunk-YVLU6FH7.js} +1 -1
- package/dist/shared/chunk-ZKGRZ5CN.js +3 -0
- package/dist/shared/chunk-ZSHXSTWT.js +3 -0
- package/dist/shared/chunk-ZUIHVBTD.js +3 -0
- package/dist/shared/page.d.ts +2 -2
- package/dist/shared/page.js +1 -1
- package/dist/shared/site.d.ts +2 -2
- package/dist/shared/site.d.ts.map +1 -1
- package/dist/shared/site.js +1 -1
- package/dist/shared/utils/schema-resolver.js +1 -1
- package/dist/shared/utils/schema.d.ts.map +1 -1
- package/dist/shared/utils/schema.js +1 -1
- package/dist/shared/utils/typed-ref.d.ts +12 -9
- package/dist/shared/utils/typed-ref.d.ts.map +1 -1
- package/dist/shared/utils/typed-ref.js +1 -1
- package/package.json +2 -2
- package/dist/shared/chunk-2NLENMXL.js +0 -7
- package/dist/shared/chunk-4JBVVUVM.js +0 -3
- package/dist/shared/chunk-4ZUR7K74.js +0 -5
- package/dist/shared/chunk-5WHMFZQF.js +0 -3
- package/dist/shared/chunk-72CMZ7I4.js +0 -4
- package/dist/shared/chunk-7ETOZECR.js +0 -6
- package/dist/shared/chunk-7RCISOBG.js +0 -3
- package/dist/shared/chunk-A5CTYB3S.js +0 -3
- package/dist/shared/chunk-BSNVXPIC.js +0 -3
- package/dist/shared/chunk-CDM5BFRG.js +0 -3
- package/dist/shared/chunk-DNGQLHDZ.js +0 -3
- package/dist/shared/chunk-FE6PIS6N.js +0 -3
- package/dist/shared/chunk-H3RYVSVS.js +0 -3
- package/dist/shared/chunk-HTHIRSIW.js +0 -3
- package/dist/shared/chunk-J27BW3WS.js +0 -3
- package/dist/shared/chunk-JA6PIQX4.js +0 -8
- package/dist/shared/chunk-JKHX2JMJ.js +0 -3
- package/dist/shared/chunk-LYRE7PSQ.js +0 -3
- package/dist/shared/chunk-MZB4NFIY.js +0 -3
- package/dist/shared/chunk-NUZZ4AJ5.js +0 -3
- package/dist/shared/chunk-PIDZNG77.js +0 -3
- package/dist/shared/chunk-QMVW2BT6.js +0 -3
- package/dist/shared/chunk-RXZKWH2W.js +0 -3
- package/dist/shared/chunk-SCKFS7W6.js +0 -3
- package/dist/shared/chunk-UFKFCMG5.js +0 -3
- package/dist/shared/chunk-YBCG2363.js +0 -3
- package/dist/shared/chunk-ZAHMW4A6.js +0 -3
- package/dist/shared/chunk-ZBLSXB2C.js +0 -3
- package/dist/shared/chunk-ZI5FRDND.js +0 -3
package/dist/shared/bricks.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare const sectionProps: TObject<{
|
|
|
29
29
|
purpose: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"navbar" | "sidebar">>;
|
|
30
30
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
31
31
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly">>;
|
|
32
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-
|
|
32
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end">>;
|
|
33
33
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
34
34
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
35
35
|
}>;
|
|
@@ -44,7 +44,7 @@ export declare const sectionSchema: TObject<{
|
|
|
44
44
|
purpose: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"navbar" | "sidebar">>;
|
|
45
45
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
46
46
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly">>;
|
|
47
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-
|
|
47
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end">>;
|
|
48
48
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
49
49
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
50
50
|
}>;
|
|
@@ -55,7 +55,7 @@ export declare const sectionSchema: TObject<{
|
|
|
55
55
|
purpose: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"navbar" | "sidebar">>;
|
|
56
56
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
57
57
|
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly">>;
|
|
58
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-
|
|
58
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end">>;
|
|
59
59
|
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
60
60
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
61
61
|
}>>;
|
|
@@ -67,7 +67,7 @@ export declare const sectionSchema: TObject<{
|
|
|
67
67
|
}>>;
|
|
68
68
|
}>;
|
|
69
69
|
export declare const sectionDefaultprops: {
|
|
70
|
-
alignItems?: "items-
|
|
70
|
+
alignItems?: "items-start" | "items-center" | "items-end" | undefined;
|
|
71
71
|
backgroundColor?: string | undefined;
|
|
72
72
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
|
|
73
73
|
maxWidth?: string | undefined;
|
|
@@ -80,7 +80,7 @@ export declare const sectionDefaultprops: {
|
|
|
80
80
|
export type Section = Static<typeof sectionSchema>;
|
|
81
81
|
export declare function processSections(sections: Section[]): {
|
|
82
82
|
readonly props: {
|
|
83
|
-
alignItems?: "items-
|
|
83
|
+
alignItems?: "items-start" | "items-center" | "items-end" | undefined;
|
|
84
84
|
backgroundColor?: string | undefined;
|
|
85
85
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
|
|
86
86
|
maxWidth?: string | undefined;
|
|
@@ -93,7 +93,7 @@ export declare function processSections(sections: Section[]): {
|
|
|
93
93
|
readonly bricks: Brick[];
|
|
94
94
|
readonly label?: string | undefined;
|
|
95
95
|
readonly mobileProps?: {
|
|
96
|
-
alignItems?: "items-
|
|
96
|
+
alignItems?: "items-start" | "items-center" | "items-end" | undefined;
|
|
97
97
|
backgroundColor?: string | undefined;
|
|
98
98
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | undefined;
|
|
99
99
|
maxWidth?: 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,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAUpE;;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;;;;;EAoCvB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC;AAE/C,eAAO,MAAM,YAAY;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"bricks.d.ts","sourceRoot":"","sources":["../../src/shared/bricks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAUpE;;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;;;;;EAoCvB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC;AAE/C,eAAO,MAAM,YAAY;;;;;;;;;;EAsQxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;CAA0D,CAAC;AAC3F,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAEnD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE;;;;;;;;;;;;qBAKe,KAAK,EAAE;;;;;;;;;;;;;;;IAGxE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,KAAK,CAgBjE"}
|
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,h}from"./chunk-
|
|
3
|
+
import{a,b,c,d,e,f,g,h}from"./chunk-LCOMCWIN.js";import"./chunk-MPBYGS6W.js";import"./chunk-L42YBY5I.js";import"./chunk-YFTHOUIJ.js";import"./chunk-CHPGCNUH.js";import"./chunk-LQHMT4C6.js";import"./chunk-QEH77NT6.js";import"./chunk-32BOIZCS.js";import"./chunk-SSQUEN6M.js";import"./chunk-MFEJ5V6K.js";import"./chunk-OELIU5BZ.js";import"./chunk-34XACK2H.js";import"./chunk-XA3PPZ2Y.js";import"./chunk-IFEIRRZ2.js";import"./chunk-EDLOEBHY.js";import"./chunk-QPQEWANA.js";import"./chunk-QSZWDE3D.js";import"./chunk-OJWLBSJN.js";import"./chunk-OUETMYIF.js";import"./chunk-YR6RQMUZ.js";import"./chunk-6NUQ6GA2.js";import"./chunk-FPLXYN4C.js";import"./chunk-FJN6PVS5.js";import"./chunk-YUFBBLOB.js";import"./chunk-DHGOZTDO.js";import"./chunk-5KQ73TJZ.js";import"./chunk-MKIXZXWS.js";import"./chunk-ICCJA66W.js";import"./chunk-BYEWGCFY.js";import"./chunk-55HKWD4P.js";import"./chunk-M56NNPVI.js";import"./chunk-6QZ55NBZ.js";import"./chunk-IWGL6J43.js";import"./chunk-ZKGRZ5CN.js";import"./chunk-N66KXK25.js";import"./chunk-ZUIHVBTD.js";import"./chunk-YIFNKP4J.js";import"./chunk-R7BY53H4.js";import"./chunk-ZSHXSTWT.js";import"./chunk-N5Z7O3UP.js";import"./chunk-J6PKQ777.js";import"./chunk-N3FHTP5P.js";import"./chunk-4CH5SZHP.js";import"./chunk-BZZOL273.js";import"./chunk-YVLU6FH7.js";import"./chunk-YVE5OT24.js";import"./chunk-GTX6M2GF.js";import"./chunk-SFKZAUPW.js";import"./chunk-2IYSJYNE.js";import"./chunk-OHQEA2NH.js";import"./chunk-EJGNYD4V.js";export{c as brickSchema,b as brickTypeSchema,a as generateId,h as processBrick,g as processSections,f as sectionDefaultprops,d as sectionProps,e as sectionSchema};
|
|
@@ -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 n}from"./chunk-
|
|
3
|
+
import{a as n}from"./chunk-EJGNYD4V.js";import{Type as s}from"@sinclair/typebox";var e=["px","%","em","rem","vh","vw","dvh","dvw","rlh","lh","cqh","cqw"];function c(t={}){return s.String({title:"Length",$id:"styles:cssLength",description:`A CSS length value. Must be a number with a unit (e.g. "10px", "50%"). The unit can be one of the following: ${e?.join(", ")}.`,default:t.default,"ui:field":"css-length","ui:css-units":e,...t})}function g(t={}){return n("styles:cssLength",t)}function p(t){return typeof t!="string"?!1:new RegExp(`^-?\\d+(?:\\.\\d+)?\\s*(${e.join("|")})$`).test(t)}export{e as a,c as b,g as c,p 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{
|
|
3
|
+
import{a as i}from"./chunk-ZKGRZ5CN.js";import{a as p}from"./chunk-J6PKQ777.js";import{b as o}from"./chunk-4CH5SZHP.js";import{b as t}from"./chunk-BZZOL273.js";import{c as e}from"./chunk-YVE5OT24.js";import{RxVideo as d}from"react-icons/rx";import{Type as r}from"@sinclair/typebox";var b=p({type:"video",kind:"brick",name:"Video",description:"Youtube video",repeatable:!0,icon:d,minWidth:{mobile:380,desktop:380},minHeight:{mobile:168,desktop:168},props:e({url:i("Video URL",{description:"URL of the video to embed. It can be a YouTube link or an embed link.",default:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}),border:r.Optional(o()),shadow:r.Optional(t())})}),w=[{description:"A YouTube video",type:"video",props:{url:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}},{description:"An embedded YouTube video",type:"video",props:{url:"https://www.youtube.com/embed/dQw4w9WgXcQ"}},{description:"A Vimeo video",type:"video",props:{url:"https://vimeo.com/123456789"}}];export{b as a,w 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{a as p}from"./chunk-XA3PPZ2Y.js";import{a as r}from"./chunk-J6PKQ777.js";import{b as i}from"./chunk-4CH5SZHP.js";import{b as e}from"./chunk-BZZOL273.js";import{a as o,c as t}from"./chunk-YVE5OT24.js";import{LiaMapMarkedAltSolid as n}from"react-icons/lia";import{Type as a}from"@sinclair/typebox";var s={lat:48.8566,lng:2.3522,zoom:17},w=r({type:"map",kind:"widget",name:"Map",description:"A map element showing a location",aiInstructions:"This brick can be used to show a location on a map. Use the 'location' prop to set the coordinates and an optional tooltip.",minWidth:{desktop:280,mobile:280},minHeight:{desktop:200,mobile:120},defaultHeight:{desktop:"320px",mobile:"280px"},defaultWidth:{desktop:"380px",mobile:"100%"},icon:n,props:t({location:o({title:"Location",children:p({defaultZoom:s.zoom})}),border:a.Optional(i({default:{rounding:"rounded-xl"}})),shadow:a.Optional(e())})}),k=[{description:"Map showing a specific location",type:"map",props:{location:{lat:37.7749,lng:-122.4194,address:"San Francisco, CA",tooltip:"San Francisco, CA"},shadow:"shadow-md"}},{description:"Map with custom styles",type:"map",props:{location:{lat:40.7128,lng:-74.006,address:"New York, NY",tooltip:"New York, NY"},border:{color:"border-gray-300",width:"border",rounding:"rounded-lg"},shadow:"shadow-lg"}}];export{s as a,w as b,k 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{a as i}from"./chunk-YVE5OT24.js";import{a as r}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-EJGNYD4V.js";import{Type as e}from"@sinclair/typebox";function a(o="Border"){return i({title:o,options:{"ui:styleId":"styles:border",$id:"styles:border"},children:{rounding:e.Optional(r(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-full"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","Full"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})),width:e.Optional(r(["border-0","border","border-2","border-4","border-8"],{title:"Width",enumNames:["None","S","M","L","XL"],"ai:instructions":"Don't specify width if you want no border.","ui:field":"enum","ui:display":"button-group","ui:placeholder":"None"})),color:e.Optional(e.String({title:"Color","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `border-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 50 and 900","ui:field":"color","ui:color-type":"border"})),sides:e.Optional(e.Array(r(["border-l","border-t","border-r","border-b"],{title:"Sides",enumNames:["Left","Top","Right","Bottom"],description:"The specific sides where to apply the border. Not specifying sides will apply the border to all sides.","ai:instructions":"Use this to apply the border to specific sides. Not specifying sides will apply the border to all sides."}),{"ui:field":"border-side"})),style:e.Optional(r(["border-solid","border-dashed","border-dotted"],{title:"Style",description:"The brick border style",default:"border-solid",enumNames:["Solid","Dashed","Dotted"],"ai:instructions":"Use only when width is different than border-0.","ui:field":"enum","ui:display":"button-group"}))}})}function u(o={}){return t("styles:border",o)}export{a,u 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{a}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-EJGNYD4V.js";import{Type as e}from"@sinclair/typebox";function o(p={}){return e.Optional(a(["gap-0","gap-px","gap-2","gap-4","gap-6","gap-8","gap-10","gap-12","gap-16","gap-24"],{$id:"styles:basicGap",enumNames:["No gap","Minimal","S","M","L","XL","2XL","4XL","4XL","6XL"],title:"Gap",description:"Space between elements",default:"gap-4","ui:styleId":"styles:basicGap",...p}))}function r(p={}){return t("styles:basicGap",p)}export{o as a,r as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as d}from"./chunk-MKIXZXWS.js";import{b as e}from"./chunk-6QZ55NBZ.js";import{a as s}from"./chunk-ZKGRZ5CN.js";import{b as a}from"./chunk-ZUIHVBTD.js";import{a as c}from"./chunk-J6PKQ777.js";import{b as n}from"./chunk-4CH5SZHP.js";import{b as l}from"./chunk-YVLU6FH7.js";import{a as r,c as i}from"./chunk-YVE5OT24.js";import{a as o}from"./chunk-SFKZAUPW.js";import{Type as t}from"@sinclair/typebox";import{FaWpforms as p}from"react-icons/fa6";var P=c({type:"form",kind:"widget",name:"Form",description:"A form element",aiInstructions:`The form brick automatically renders form fields based on the datarecord id provided in the props.
|
|
4
|
+
There is no need to define the form fields manually and the form does not accept any children`,isContainer:!1,icon:p,minWidth:{desktop:300},props:i({datarecordId:d("Datarecord ID",{description:"The ID of the datarecord to use to generate the form fields"}),align:t.Optional(o(["vertical","horizontal"],{default:"vertical",title:"Alignment",description:"The alignment of the form fields. Default is vertical"})),padding:t.Optional(l()),buttonPosition:t.Optional(e({title:"Button Position",description:"The position of the button.",defaultValue:{horizontal:"justify-end"},"ui:no-vertical-align":!0,"ui:horizontal-align-label":"Button position"})),fontSize:t.Optional(a({default:"inherit","ui:no-extra-large-sizes":!0})),button:r({title:"Button",children:{color:t.Union([t.Literal("btn-color-neutral",{title:"Neutral","ui:variant-type":"color"}),t.Literal("btn-color-primary",{title:"Primary","ui:variant-type":"color"}),t.Literal("btn-color-secondary",{title:"Secondary","ui:variant-type":"color"}),t.Literal("btn-color-accent",{title:"Accent","ui:variant-type":"color"})],{title:"Variant",description:"Button variants.","ai:tip":"Those are button variants"}),size:o(["block","wide"],{title:"Size",description:"Button sizes.",enumNames:["Block","Wide"],default:"block"}),border:t.Optional(n({default:{width:"border",rounding:"rounded-md"}}))}}),title:t.Optional(t.String({title:"Form title",default:"My form",metadata:{category:"content"}})),intro:t.Optional(t.String({title:"Intro",description:"The intro text of the form","ui:multiline":!0,metadata:{category:"content"}})),buttonLabel:t.Optional(s("Button Label",{default:"Submit",metadata:{category:"content"}})),successMessage:t.Optional(t.String({title:"Success Message",description:"The message to display when the form is successfully submitted",default:"Thank you for your submission!",metadata:{category:"content"}})),errorMessage:t.Optional(t.String({title:"Error Message",description:"The message to display when the form submission fails",default:"There was an error submitting the form. Please try again later.",metadata:{category:"content"}}))})}),w=[{description:"Basic contact form",type:"form",props:{title:"Contact Us",intro:"We'd love to hear from you. Send us a message and we'll respond as soon as possible.",align:"vertical",datarecordId:"contacts",buttonPosition:{horizontal:"justify-end"},buttonLabel:"Send Message",button:{color:"btn-color-primary",size:"block"}}},{description:"User registration form with large button",type:"form",props:{title:"Create Account",intro:"Join our platform and start your journey today.",align:"vertical",datarecordId:"user-registration",buttonPosition:{horizontal:"justify-end"},buttonLabel:"Register",button:{color:"btn-color-secondary",size:"wide"}}},{description:"Newsletter subscription form (horizontal)",type:"form",props:{title:"Stay Updated",intro:"Subscribe to our newsletter for the latest updates and exclusive content.",align:"horizontal",datarecordId:"newsletter-subscription",buttonPosition:{horizontal:"justify-center"},buttonLabel:"Subscribe",button:{color:"btn-color-accent",size:"block"}}},{description:"Event registration form",type:"form",props:{title:"Conference Registration",intro:"Register for the Annual Tech Conference 2025. Early bird pricing ends soon!",align:"vertical",datarecordId:"event-registration",buttonPosition:{horizontal:"justify-end"},buttonLabel:"Register Now",button:{color:"btn-color-primary",size:"block"}}},{description:"Job application form",type:"form",props:{title:"Apply for Position",intro:"We're excited to learn more about you! Please fill out this application form completely.",align:"vertical",datarecordId:"job-application",buttonPosition:{horizontal:"justify-start"},buttonLabel:"Submit Application",button:{color:"btn-color-secondary",size:"block"}}},{description:"Customer feedback form",type:"form",props:{title:"Share Your Feedback",intro:"Your opinion matters to us. Help us improve our products and services.",align:"vertical",datarecordId:"customer-feedback",buttonPosition:{horizontal:"justify-end"},buttonLabel:"Submit Feedback",button:{color:"btn-color-accent",size:"wide"}}}];export{P as a,w 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{a as r,d as i}from"./chunk-ZKGRZ5CN.js";import{a as n}from"./chunk-J6PKQ777.js";import{b as o}from"./chunk-4CH5SZHP.js";import{c as e}from"./chunk-YVE5OT24.js";import{a as t}from"./chunk-SFKZAUPW.js";import{Type as a}from"@sinclair/typebox";import{RxButton as p}from"react-icons/rx";var y=n({type:"button",name:"Button",repeatable:!0,description:"A button with text and optional icon",icon:p,maxHeight:{desktop:50},props:e({color:t(["btn-color-neutral","btn-color-primary","btn-color-secondary","btn-color-accent"],{title:"Color",enumNames:["Neutral","Primary","Secondary","Accent"],description:"Button variants.",default:"btn-color-primary"}),label:r("Label",{default:"My button",metadata:{category:"content"}}),size:t(["btn-size-small","btn-size-medium","btn-size-large"],{title:"Size",description:"Button size.",enumNames:["Small","Medium","Large"],default:"btn-size-medium"}),border:a.Optional(o({default:{width:"border",rounding:"rounded-md"}})),linkToUrlOrPageId:a.Optional(i({title:"Link",metadata:{category:"content"}}))})}),g=[{description:"Primary button, full width, linking to a URL",type:"button",props:{color:"btn-color-primary",label:"Click me",linkToUrlOrPageId:"https://example.com",size:"btn-size-medium"}},{description:"Secondary button, block width, linking to a page",type:"button",props:{color:"btn-color-secondary",label:"Go to page",linkToUrlOrPageId:"page-id-123",size:"btn-size-small"}}];export{y as a,g 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{a as e}from"./chunk-
|
|
3
|
+
import{a as e}from"./chunk-EJGNYD4V.js";import{Type as t}from"@sinclair/typebox";function s(i={}){let{title:l="Align",defaultValue:n={horizontal:"justify-start",vertical:"items-center"}}=i;return t.Object({horizontal:t.Optional(t.Union([t.Literal("justify-start",{title:"Left"}),t.Literal("justify-center",{title:"Center"}),t.Literal("justify-end",{title:"Right"})],{title:"Horizontal"})),vertical:t.Optional(t.Union([t.Literal("items-start",{title:"Top"}),t.Literal("items-center",{title:"Center"}),t.Literal("items-end",{title:"Bottom"})],{title:"Vertical"}))},{$id:"styles:basicAlign",title:l,"ui:responsive":!0,"ui:field":"align-basic","ui:styleId":"styles:basicAlign",default:n})}function o(i={}){return e("styles:basicAlign",i)}export{s as a,o 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{a as r}from"./chunk-55HKWD4P.js";import{a as y}from"./chunk-M56NNPVI.js";import{a}from"./chunk-6QZ55NBZ.js";import{a as u}from"./chunk-IWGL6J43.js";import{c as h,e as S}from"./chunk-ZKGRZ5CN.js";import{a as p,c as f}from"./chunk-ZUIHVBTD.js";import{a as m}from"./chunk-R7BY53H4.js";import{a as n}from"./chunk-4CH5SZHP.js";import{a as c,c as l}from"./chunk-BZZOL273.js";import{a as g}from"./chunk-YVLU6FH7.js";import{a as i}from"./chunk-GTX6M2GF.js";import{b as d}from"./chunk-2IYSJYNE.js";import{a as o,c as s}from"./chunk-OHQEA2NH.js";import A from"ajv";import N from"ajv-formats";var e=new A({useDefaults:!0,strictSchema:!1,validateSchema:!1,coerceTypes:!0,allErrors:!0,inlineRefs:!1});e.addSchema(o(),"styles:background");e.addSchema(s(),"styles:backgroundColor");e.addSchema(a(),"styles:basicAlign");e.addSchema(r(),"styles:basicGap");e.addSchema(p(),"styles:fontSize");e.addSchema(i(),"styles:hidden");e.addSchema(n(),"styles:border");e.addSchema(g(),"styles:padding");e.addSchema(m(),"styles:color");e.addSchema(c(),"styles:shadow");e.addSchema(l(),"styles:textShadow");e.addSchema(d(),"styles:cssLength");e.addSchema(u(),"assets:image");e.addSchema(S(),"assets:icon");e.addSchema(f(),"content:textContent");e.addSchema(h(),"content:urlOrPageId");e.addSchema(y(),"presets:color");var $=["date-time","time","date","email","hostname","ipv4","ipv6","uri","uri-reference","uuid","uri-template","json-pointer","relative-json-pointer","regex"];N(e,[...$]);e.addFormat("date-object",{validate:t=>t instanceof Date&&!Number.isNaN(t.getTime()),async:!1});e.addFormat("richtext",{validate:t=>typeof t=="string",async:!1});e.addFormat("markdown",{validate:t=>typeof t=="string",async:!1});e.addFormat("multiline",{validate:t=>typeof t=="string",async:!1});e.addFormat("password",{validate:t=>typeof t=="string",async:!1});function K(t){return!t||t.length===0?"Unknown validation error":t.map(b=>{let{instancePath:j,message:v,params:x}=b,O=j||"root",w=Object.entries(x||{}).map(([F,k])=>`${F}: ${k}`).join(", ");return`${O} ${v} (${w})`}).join("; ")}export{e as a,$ as b,K as c};
|
|
@@ -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-LCOMCWIN.js";import{c as t}from"./chunk-IMB4M7KT.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};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as o,d as e,f as t}from"./chunk-ZKGRZ5CN.js";import{a as n}from"./chunk-J6PKQ777.js";import{c as i}from"./chunk-YVE5OT24.js";import{PiConfetti as r}from"react-icons/pi";import{Type as p}from"@sinclair/typebox";var l=n({type:"icon",name:"Icon",kind:"brick",description:"An icon with optional text",repeatable:!0,icon:r,props:i({icon:p.Optional(t()),size:o("Size",{title:"Size",default:"1em",description:"Size of the icon","ai:instructions":"The size of the icon can be set using 'em' or '%' unit."}),link:p.Optional(e({title:"Link"}))})}),f=[{description:"Large heart icon",type:"icon",props:{icon:"mdi:heart",size:"2em"}},{description:"Shopping cart icon",type:"icon",props:{icon:"mdi:cart",size:"1.2em"}},{description:"Email/message icon",type:"icon",props:{icon:"mdi:email",size:"1.1em",link:"mailto:john.doe@example.com"}},{description:"Phone contact icon",type:"icon",props:{icon:"mdi:phone",size:"1em",link:"tel:+1234567890"}},{description:"Large download icon",type:"icon",props:{icon:"mdi:download",size:"2.5em",link:"https://example.com/file.zip"}},{description:"Menu hamburger icon",type:"icon",props:{icon:"mdi:menu",size:"1.4em"}},{description:"Close/X icon",type:"icon",props:{icon:"mdi:close",size:"1.2em"}},{description:"Social media Facebook icon",type:"icon",props:{icon:"mdi:facebook",size:"1.4em",link:"https://www.facebook.com/yourprofile"}},{description:"Social media Twitter icon",type:"icon",props:{icon:"mdi:twitter",size:"1.4em",link:"https://twitter.com/yourprofile"}},{description:"Social media Instagram icon",type:"icon",props:{icon:"mdi:instagram",size:"1.4em",link:"https://www.instagram.com/yourprofile"}}];export{l as a,f 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{a as i}from"./chunk-SFKZAUPW.js";import{a as o}from"./chunk-EJGNYD4V.js";import{Type as s}from"@sinclair/typebox";function d({title:t="Shadow",defaultValue:e="shadow-none"}={}){return i(["shadow-none","shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl"],{$id:"styles:shadow",title:t,default:e,enumNames:["None","S","M","L","XL","2XL"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"button-group"})}function u(t={}){return o("styles:shadow",{...t,"ui:styleId":"styles:shadow"})}function r({title:t="Text shadow",...e}={}){return i(["text-shadow-none","text-shadow-sm","text-shadow-md","text-shadow-lg","text-shadow-xl"],{$id:"styles:textShadow",title:t,enumNames:["None","S","M","L","XL"],"ui:display":"button-group","ui:placeholder":"Not specified","ui:field":"enum","ui:styleId":"styles:textShadow",...e})}function h(t={}){return o("styles:textShadow",t)}function l({defaultValue:t=1,title:e="Opacity"}={}){return s.Number({title:e,minimum:.1,maximum:1,default:t,multipleOf:.1,"ui:field":"slider","ui:unit":"%","ui:multiplier":100})}export{d as a,u as b,r as c,h as d,l as e};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{d as n}from"./chunk-ZUIHVBTD.js";import{a as r}from"./chunk-J6PKQ777.js";import{b as t}from"./chunk-4CH5SZHP.js";import{b as o}from"./chunk-YVLU6FH7.js";import{c as e}from"./chunk-YVE5OT24.js";import{RxTextAlignLeft as s}from"react-icons/rx";import{Type as i}from"@sinclair/typebox";var m=r({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
|
+
`,defaultWidth:{desktop:"200px",mobile:"100%"},defaultHeight:{desktop:"auto",mobile:"auto"},repeatable:!0,icon:s,props:e({content:n(),padding:i.Optional(o({default:"p-4"})),border:i.Optional(t())},{default:{padding:"p-8"}})}),h=[{description:"Welcome paragraph with emphasis, using a preset",type:"text",props:{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>",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>`,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>"}},{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>"}},{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>",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"}},{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>",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>",padding:"p-8"}}];export{m as a,h 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 n}from"./chunk-IWGL6J43.js";import{a as i,d as r}from"./chunk-ZKGRZ5CN.js";import{b as o}from"./chunk-ZUIHVBTD.js";import{a as u}from"./chunk-J6PKQ777.js";import{b as s}from"./chunk-YVLU6FH7.js";import{c as l,d as e}from"./chunk-YVE5OT24.js";import{Type as t}from"@sinclair/typebox";import{VscLayoutPanelOff as a}from"react-icons/vsc";var y=u({type:"footer",kind:"widget",name:"Footer",description:"A footer with links and an optional logo",icon:a,staticClasses:"flex-1",resizable:!1,defaultWidth:{desktop:"100%",mobile:"100%"},props:l({padding:t.Optional(s({default:"p-10"})),logo:t.Optional(n({title:"Logo","ui:no-object-options":!0,"ui:no-alt-text":!0})),fontSize:t.Optional(o({default:"text-sm","ui:no-extra-large-sizes":!0})),linksSections:e(t.Object({sectionTitle:i("Title"),links:e(t.Object({title:i("Title"),url:r()}),{title:"Links"})}),{default:[{sectionTitle:"Links",links:[{title:"Link",url:"/"}]}],title:"Links","ui:displayField":"sectionTitle","ui:options":{orderable:!0,removable:!0,addable:!0},description:"List of Links Sections",metadata:{category:"content"}})})}),S=[{description:"Simple footer with logo on the left",type:"footer",props:{logo:{src:"https://via.placeholder.com/120x40.png?text=Logo",alt:"Company logo"},linksSections:[{sectionTitle:"Quick Links",links:[{title:"Home",url:"/"},{title:"About",url:"/about"},{title:"Contact",url:"/contact"}]},{sectionTitle:"Legal",links:[{title:"Privacy Policy",url:"/privacy"},{title:"Terms of Service",url:"/terms"}]}]}},{description:"Corporate footer with centered logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/150x50.png?text=Corporate",alt:"Corporate logo"},linksSections:[{sectionTitle:"Products",links:[{title:"Software Solutions",url:"/products/software"},{title:"Consulting",url:"/products/consulting"},{title:"Support",url:"/products/support"},{title:"Training",url:"/products/training"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"News",url:"/news"},{title:"Investors",url:"/investors"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Community",url:"/community"},{title:"Blog",url:"/blog"}]}]}},{description:"E-commerce footer with logo on the right",type:"footer",props:{logo:{src:"https://via.placeholder.com/140x45.png?text=Shop",alt:"Shop logo"},linksSections:[{sectionTitle:"Shop",links:[{title:"All Products",url:"/products"},{title:"New Arrivals",url:"/new"},{title:"Sale",url:"/sale"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Customer Service",links:[{title:"Help Center",url:"/help"},{title:"Returns",url:"/returns"},{title:"Shipping Info",url:"/shipping"},{title:"Size Guide",url:"/size-guide"}]},{sectionTitle:"Account",links:[{title:"My Account",url:"/account"},{title:"Order History",url:"/orders"},{title:"Wishlist",url:"/wishlist"}]}]}},{description:"Large organization footer with multiple rows",type:"footer",props:{logo:{src:"https://via.placeholder.com/180x60.png?text=Enterprise",alt:"Enterprise logo"},linksSections:[{sectionTitle:"Products & Services",links:[{title:"Cloud Solutions",url:"/cloud"},{title:"Data Analytics",url:"/analytics"},{title:"AI & Machine Learning",url:"/ai"},{title:"Cybersecurity",url:"/security"},{title:"DevOps Tools",url:"/devops"},{title:"IoT Platform",url:"/iot"}]},{sectionTitle:"Industries",links:[{title:"Healthcare",url:"/industries/healthcare"},{title:"Finance",url:"/industries/finance"},{title:"Retail",url:"/industries/retail"},{title:"Manufacturing",url:"/industries/manufacturing"},{title:"Education",url:"/industries/education"},{title:"Government",url:"/industries/government"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Tutorials",url:"/tutorials"},{title:"Webinars",url:"/webinars"},{title:"White Papers",url:"/whitepapers"},{title:"Case Studies",url:"/case-studies"}]},{sectionTitle:"Support & Community",links:[{title:"Help Center",url:"/help"},{title:"Community Forum",url:"/forum"},{title:"Contact Support",url:"/support"},{title:"Service Status",url:"/status"},{title:"Partner Portal",url:"/partners"},{title:"Developer Hub",url:"/developers"}]}]}},{description:"Startup footer with minimal links and left logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/100x35.png?text=Startup",alt:"Startup logo"},linksSections:[{sectionTitle:"Company",links:[{title:"About",url:"/about"},{title:"Team",url:"/team"},{title:"Jobs",url:"/jobs"}]},{sectionTitle:"Product",links:[{title:"Features",url:"/features"},{title:"Pricing",url:"/pricing"},{title:"Demo",url:"/demo"}]},{sectionTitle:"Support",links:[{title:"Help",url:"/help"},{title:"Contact",url:"/contact"}]}]}},{description:"Agency footer with centered logo and creative sections",type:"footer",props:{logo:{src:"https://via.placeholder.com/130x45.png?text=Agency",alt:"Creative agency logo"},linksSections:[{sectionTitle:"Services",links:[{title:"Web Design",url:"/services/web-design"},{title:"Branding",url:"/services/branding"},{title:"Digital Marketing",url:"/services/marketing"},{title:"Photography",url:"/services/photography"}]},{sectionTitle:"Portfolio",links:[{title:"Recent Work",url:"/portfolio"},{title:"Case Studies",url:"/case-studies"},{title:"Client Reviews",url:"/reviews"}]},{sectionTitle:"Connect",links:[{title:"Contact Us",url:"/contact"},{title:"Get Quote",url:"/quote"},{title:"Newsletter",url:"/newsletter"}]}]}},{description:"SaaS platform footer with comprehensive links",type:"footer",props:{logo:{src:"https://via.placeholder.com/160x50.png?text=SaaS+Platform",alt:"SaaS platform logo"},linksSections:[{sectionTitle:"Platform",links:[{title:"Dashboard",url:"/dashboard"},{title:"Analytics",url:"/analytics"},{title:"Integrations",url:"/integrations"},{title:"API",url:"/api"}]},{sectionTitle:"Solutions",links:[{title:"For Startups",url:"/solutions/startups"},{title:"For Enterprise",url:"/solutions/enterprise"},{title:"For Agencies",url:"/solutions/agencies"},{title:"For Developers",url:"/solutions/developers"}]},{sectionTitle:"Resources",links:[{title:"Blog",url:"/blog"},{title:"Documentation",url:"/docs"},{title:"Help Center",url:"/help"},{title:"Community",url:"/community"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"Press",url:"/press"},{title:"Legal",url:"/legal"}]}]}},{description:"Non-profit footer with mission-focused links",type:"footer",props:{logo:{src:"https://via.placeholder.com/140x50.png?text=Non+Profit",alt:"Non-profit organization logo"},linksSections:[{sectionTitle:"Our Work",links:[{title:"Programs",url:"/programs"},{title:"Impact",url:"/impact"},{title:"Success Stories",url:"/stories"},{title:"Research",url:"/research"}]},{sectionTitle:"Get Involved",links:[{title:"Donate",url:"/donate"},{title:"Volunteer",url:"/volunteer"},{title:"Events",url:"/events"},{title:"Partner with Us",url:"/partnerships"}]},{sectionTitle:"About",links:[{title:"Our Mission",url:"/mission"},{title:"Leadership",url:"/leadership"},{title:"Annual Reports",url:"/reports"},{title:"Contact",url:"/contact"}]}]}},{description:"Tech blog footer with right-aligned logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/120x40.png?text=Tech+Blog",alt:"Tech blog logo"},linksSections:[{sectionTitle:"Categories",links:[{title:"Web Development",url:"/category/web-dev"},{title:"AI & ML",url:"/category/ai-ml"},{title:"DevOps",url:"/category/devops"},{title:"Mobile",url:"/category/mobile"}]},{sectionTitle:"Popular",links:[{title:"Latest Posts",url:"/latest"},{title:"Trending",url:"/trending"},{title:"Best of 2024",url:"/best-2024"},{title:"Tutorials",url:"/tutorials"}]},{sectionTitle:"Community",links:[{title:"Newsletter",url:"/newsletter"},{title:"Discord",url:"/discord"},{title:"Contributors",url:"/contributors"},{title:"Write for Us",url:"/write"}]}]}},{description:"Restaurant footer with location and menu links",type:"footer",props:{logo:{src:"https://via.placeholder.com/150x60.png?text=Restaurant",alt:"Restaurant logo"},linksSections:[{sectionTitle:"Menu",links:[{title:"Appetizers",url:"/menu/appetizers"},{title:"Main Courses",url:"/menu/mains"},{title:"Desserts",url:"/menu/desserts"},{title:"Beverages",url:"/menu/drinks"}]},{sectionTitle:"Services",links:[{title:"Reservations",url:"/reservations"},{title:"Catering",url:"/catering"},{title:"Private Events",url:"/events"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Info",links:[{title:"About Us",url:"/about"},{title:"Location",url:"/location"},{title:"Hours",url:"/hours"},{title:"Contact",url:"/contact"}]}]}}];export{y as a,S 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 s}from"./chunk-M56NNPVI.js";import{b as g}from"./chunk-IWGL6J43.js";import{a as l,d as r}from"./chunk-ZKGRZ5CN.js";import{d as i}from"./chunk-ZUIHVBTD.js";import{a as d}from"./chunk-YIFNKP4J.js";import{a as c}from"./chunk-J6PKQ777.js";import{b as o}from"./chunk-BZZOL273.js";import{c as n}from"./chunk-YVE5OT24.js";import{a}from"./chunk-SFKZAUPW.js";import{Type as t}from"@sinclair/typebox";import{VscLayoutPanelOff as m}from"react-icons/vsc";var u=t.Array(t.Object({href:r(),label:t.String()}),{default:[{href:"#",label:"Link 1"},{href:"#",label:"Link 2"},{href:"#",label:"Link 3"}]}),B=c({type:"navbar",kind:"widget",name:"Navbar",description:"A navigation bar with logo and navigation",aiInstructions:"This brick should be used on most sites/pages.",datasource:u,duplicatable:!1,resizable:!1,staticClasses:"flex-1 flex-grow",defaultWidth:{desktop:"100%",mobile:"100%"},icon:m,iconClassName:"rotate-180",props:n({backgroundColor:t.Optional(s({title:"Background color","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{main:"bg-primary-light text-primary-content-light"},label:"Primary lighter"},"primary-light-gradient":{previewBgClass:"bg-gradient-to-br from-primary-300 to-primary-500 text-primary-content-light",value:{main:"from-primary-300 to-primary-500 text-primary-content-light"},label:"Primary light gradient"},primary:{previewBgClass:"bg-primary text-primary-content",label:"Primary",value:{main:"bg-primary text-primary-content"}},"primary-gradient":{previewBgClass:"bg-gradient-to-br from-primary-500 to-primary-700 text-primary-content",value:{main:"from-primary-500 to-primary-700 text-primary-content"},label:"Primary gradient"},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary dark",value:{main:"bg-primary-dark text-primary-content"}},"primary-dark-gradient":{previewBgClass:"bg-gradient-to-br from-primary-700 to-primary-900 text-primary-content",value:{main:"from-primary-700 to-primary-900 text-primary-content"},label:"Primary dark gradient"},"secondary-light":{previewBgClass:"bg-secondary-light text-secondary-content-light",label:"Secondary light",value:{main:"bg-secondary-light text-secondary-content-light"}},"secondary-light-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-300 to-secondary-500 text-secondary-content-light",value:{main:"from-secondary-300 to-secondary-500 text-secondary-content-light"},label:"Secondary light gradient"},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{main:"bg-secondary text-secondary-content"}},"secondary-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-500 to-secondary-700 text-secondary-content",value:{main:"from-secondary-500 to-secondary-700 text-secondary-content"},label:"Secondary gradient"},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary dark",value:{main:"bg-secondary-dark text-secondary-content"}},"secondary-dark-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-700 to-secondary-900 text-secondary-content",value:{main:"from-secondary-700 to-secondary-900 text-secondary-content"},label:"Secondary dark gradient"},"neutral-light":{previewBgClass:"bg-neutral-light text-neutral-content-light",value:{main:"bg-neutral-light text-neutral-content-light"},label:"Neutral light"},"neutral-light-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-300 to-neutral-500 text-neutral-content-light",value:{main:"from-neutral-300 to-neutral-500 text-neutral-content-light"},label:"Neutral light gradient"},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{main:"bg-neutral text-neutral-content"}},"neutral-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-500 to-neutral-700 text-neutral-content",value:{main:"from-neutral-500 to-neutral-700 text-neutral-content"},label:"Neutral gradient"},"neutral-dark":{previewBgClass:"bg-neutral-dark text-neutral-content",label:"Neutral dark",value:{main:"bg-neutral-dark text-neutral-content"}},"neutral-dark-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-700 to-neutral-900 text-neutral-content",value:{main:"from-neutral-700 to-neutral-900 text-neutral-content"},label:"Neutral dark gradient"},base100:{previewBgClass:"bg-base-100 text-base-content",label:"Base 1",value:{main:"bg-base-100 text-base-content"}},base200:{previewBgClass:"bg-base-200 text-base-content",label:"Base 2",value:{main:"bg-base-200 text-base-content"}},none:{label:"None",value:{}}},default:"primary-gradient"})),gradientDirection:t.Optional(a(["bg-gradient-to-t","bg-gradient-to-r","bg-gradient-to-b","bg-gradient-to-l","bg-gradient-to-tl","bg-gradient-to-tr","bg-gradient-to-br","bg-gradient-to-bl"],{title:"Gradient direction",description:"The direction of the gradient. Only applies when color preset is a gradient.",enumNames:["Top","Right","Bottom","Left","Top left","Top right","Bottom right","Bottom left"],default:"bg-gradient-to-br","ui:responsive":"desktop","ui:styleId":"styles:gradientDirection",metadata:{filter:(p,e)=>e.backgroundColor?.includes("gradient")===!0}})),brand:t.Optional(i({title:"Brand name",default:"Acme Inc.",disableSizing:!0,metadata:{category:"content"}})),logo:t.Optional(g({title:"Logo","ui:show-img-search":!1,"ui:no-object-options":!0,metadata:{category:"content"}})),hideBrand:t.Optional(d("Hide brand name",void 0,{metadata:{filter:(p,e)=>!!e.logo}})),shadow:t.Optional(o()),linksPosition:t.Union([t.Literal("left",{title:"Left"}),t.Literal("center",{title:"Center"}),t.Literal("right",{title:"Right"})],{title:"Links position",default:"right","ui:responsive":"desktop"}),linksTagsFilter:t.Optional(t.Array(t.String(),{description:"Filter pages in the navbar by tags. Only pages with all of these tags will be shown.",title:"Tags",default:["navbar"],metadata:{category:"content"}})),staticNavItems:t.Optional(t.Array(t.Object({urlOrPageId:r(),label:t.Optional(l("Label"))}),{title:"Navigation items",description:"Additional static navigation items to show in the navbar",default:[],metadata:{category:"content"}}))},{noAlignSelf:!0})}),S=[{description:"Corporate navbar with logo and right-aligned navigation",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/120x40.png?text=TechCorp",alt:"TechCorp Solutions logo"},linksPosition:"right",staticNavItems:[{urlOrPageId:"/services"},{urlOrPageId:"/about"},{urlOrPageId:"/portfolio"},{urlOrPageId:"/contact"}]}},{description:"Dark theme navbar with centered navigation",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/100x35.png?text=Studio",alt:"Creative Studio logo"},linksPosition:"center",staticNavItems:[{urlOrPageId:"/work"},{urlOrPageId:"/services"},{urlOrPageId:"/team"},{urlOrPageId:"/blog"}]}},{description:"SaaS platform navbar with fixed positioning",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/110x38.png?text=CloudFlow",alt:"CloudFlow platform logo"},linksPosition:"right",staticNavItems:[{urlOrPageId:"/features"},{urlOrPageId:"/pricing"},{urlOrPageId:"/docs"},{urlOrPageId:"/login"}]}},{description:"E-commerce navbar",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/130x45.png?text=ShopEasy",alt:"ShopEasy store logo"},linksPosition:"right",staticNavItems:[{urlOrPageId:"/products"},{urlOrPageId:"/categories"},{urlOrPageId:"/deals"},{urlOrPageId:"/account"},{urlOrPageId:"/cart"}]}},{description:"Agency navbar with logo-only brand",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/140x50.png?text=Agency+Logo",alt:"Digital agency logo"},hideBrand:!0,linksPosition:"right",staticNavItems:[{urlOrPageId:"/projects"},{urlOrPageId:"/capabilities"},{urlOrPageId:"/insights"},{urlOrPageId:"/contact"}]}},{description:"Restaurant navbar with warm styling",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/80x50.png?text=BV",alt:"Bella Vista restaurant logo"},linksPosition:"center",staticNavItems:[{urlOrPageId:"/menu"},{urlOrPageId:"/reservations"},{urlOrPageId:"/events"},{urlOrPageId:"/location"}]}},{description:"Portfolio navbar with left-aligned navigation",type:"navbar",props:{brand:"TechCorp Solutions",linksPosition:"left",staticNavItems:[{urlOrPageId:"/work"},{urlOrPageId:"/about"},{urlOrPageId:"/experience"},{urlOrPageId:"/contact"}]}}];export{u as a,B as b,S as c};
|
|
@@ -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{Type as
|
|
3
|
+
import{Type as o}from"@sinclair/typebox";function p(e,t={}){return o.Ref(e,{...t})}export{p as a};
|
|
@@ -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-IWGL6J43.js";import{a as r}from"./chunk-ZKGRZ5CN.js";import{a}from"./chunk-J6PKQ777.js";import{c as i}from"./chunk-YVE5OT24.js";import{a as t}from"./chunk-SFKZAUPW.js";import{Type as e}from"@sinclair/typebox";import{TbCarouselHorizontal as s}from"react-icons/tb";var h=a({type:"carousel",kind:"widget",name:"Carousel",description:"An image carousel with navigation arrows and dots or numbers indicator",aiInstructions:"This brick should be used for image carousels with sliding functionality and navigation controls.",defaultInspectorTab:"content",isContainer:!1,minHeight:{desktop:200},minWidth:{desktop:300},icon:s,props:i({title:e.Optional(e.String({title:"Title",metadata:{category:"content"}})),navigation:e.Optional(e.Union([e.Literal("pager-arrows",{title:"Only Arrows"}),e.Literal("pager-numbers",{title:"Numbered"}),e.Literal("pager-dots",{title:"Dots"})],{title:"Navigation",description:"Navigation style.",default:"pager-dots"})),staticImages:e.Optional(e.Array(e.Object({src:o({"ui:responsive":"desktop","ui:no-alt-text":!0,"ui:no-object-options":!0}),legend:r("Legend")}),{title:"Images",default:[],maxItems:12,metadata:{category:"content",filter:(d,n)=>n.useDatabase===!1}})),borderRadius:e.Optional(t(["rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-full"],{enumNames:["None","Small","Medium","Large","Extra large","Full"],title:"Border",description:"Rounded corners for images",default:"rounded-md"}))})}),y=[{description:"An image carousel with title and legends",type:"carousel",props:{title:"Featured Images",navigation:"pager-dots",staticImages:[{src:{src:"https://via.placeholder.com/800x400.png?text=Slide+1",alt:"First slide"},legend:"Beautiful landscape"},{src:{src:"https://via.placeholder.com/800x400.png?text=Slide+2",alt:"Second slide"},legend:"Amazing architecture"},{src:{src:"https://via.placeholder.com/800x400.png?text=Slide+3",alt:"Third slide"},legend:"Stunning nature"}]}}];export{h as a,y 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 c}from"./chunk-M56NNPVI.js";import{b as l}from"./chunk-IWGL6J43.js";import{d as r}from"./chunk-ZUIHVBTD.js";import{a as d}from"./chunk-J6PKQ777.js";import{b as o}from"./chunk-4CH5SZHP.js";import{b as i}from"./chunk-BZZOL273.js";import{c as n}from"./chunk-YVE5OT24.js";import{a}from"./chunk-SFKZAUPW.js";import{BsCardText as p}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var C=d({type:"card",kind:"widget",name:"Card",description:"A card that can have a title, image, and content",repeatable:!0,icon:p,defaultWidth:{desktop:"380px",mobile:"100%"},minWidth:{mobile:200,desktop:200},maxWidth:{desktop:650},props:n({colorPreset:e.Optional(c({title:"Color preset","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{container:"bg-primary-light text-primary-content-light border-primary-light"},label:"Primary light"},"primary-light-gradient":{previewBgClass:"bg-gradient-to-br from-primary-300 to-primary-500 text-primary-content-light",value:{container:"from-primary-300 to-primary-500 text-primary-content-light border-primary"},label:"Primary light gradient"},primary:{previewBgClass:"bg-primary text-primary-content",label:"Primary",value:{container:"bg-primary text-primary-content border-primary"}},"primary-gradient":{previewBgClass:"bg-gradient-to-br from-primary-500 to-primary-700 text-primary-content",label:"Primary gradient",value:{container:"from-primary-500 to-primary-700 text-primary-content border-primary"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary dark",value:{container:"bg-primary-dark text-primary-content border-primary-dark"}},"primary-dark-gradient":{previewBgClass:"bg-gradient-to-br from-primary-700 to-primary-900 text-primary-content",label:"Primary dark gradient",value:{container:"from-primary-700 to-primary-900 text-primary-content border-primary-dark"}},"secondary-light":{previewBgClass:"bg-secondary-light text-secondary-content-light",label:"Secondary light",value:{container:"bg-secondary-light text-secondary-content-light border-secondary-light"}},"secondary-light-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-300 to-secondary-500 text-secondary-content-light",label:"Secondary light gradient",value:{container:"from-secondary-300 to-secondary-500 text-secondary-content-light border-secondary"}},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{container:"bg-secondary text-secondary-content border-secondary"}},"secondary-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-500 to-secondary-700 text-secondary-content",label:"Secondary gradient",value:{container:"from-secondary-500 to-secondary-700 text-secondary-content border-secondary"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary dark",value:{container:"bg-secondary-dark text-secondary-content border-secondary-dark"}},"secondary-dark-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-700 to-secondary-900 text-secondary-content",label:"Secondary dark gradient",value:{container:"from-secondary-700 to-secondary-900 text-secondary-content border-secondary-dark"}},"accent-light":{previewBgClass:"bg-accent-light text-accent-content-light",label:"Accent lighter",value:{container:"bg-accent-light text-accent-content-light border-accent-light"}},"accent-light-gradient":{previewBgClass:"bg-gradient-to-br from-accent-300 to-accent-500 text-accent-content-light",label:"Accent light gradient",value:{container:"from-accent-300 to-accent-500 text-accent-content-light border-accent"}},accent:{previewBgClass:"bg-accent text-accent-content",label:"Accent",value:{container:"bg-accent text-accent-content border-accent"}},"accent-gradient":{previewBgClass:"bg-gradient-to-br from-accent-500 to-accent-700 text-accent-content",label:"Accent gradient",value:{container:"from-accent-500 to-accent-700 text-accent-content border-accent"}},"accent-dark":{previewBgClass:"bg-accent-dark text-accent-content",label:"Accent dark",value:{container:"bg-accent-dark text-accent-content border-accent-dark"}},"accent-dark-gradient":{previewBgClass:"bg-gradient-to-br from-accent-700 to-accent-900 text-accent-content",label:"Accent dark gradient",value:{container:"from-accent-700 to-accent-900 text-accent-content border-accent-dark"}},"neutral-light":{previewBgClass:"bg-neutral-light text-neutral-content-light",label:"Neutral light",value:{container:"bg-neutral-light text-neutral-content-light border-neutral-light"}},"neutral-light-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-300 to-neutral-500 text-neutral-content-light",label:"Neutral light gradient",value:{container:"from-neutral-300 to-neutral-500 text-neutral-content-light border-neutral"}},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{container:"bg-neutral text-neutral-content border-neutral"}},"neutral-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-500 to-neutral-700 text-neutral-content",label:"Neutral gradient",value:{container:"from-neutral-500 to-neutral-700 text-neutral-content border-neutral"}},"neutral-dark":{previewBgClass:"bg-neutral-dark text-neutral-content",label:"Neutral dark",value:{container:"bg-neutral-dark text-neutral-content border-neutral-dark"}},"neutral-dark-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-700 to-neutral-900 text-neutral-content",label:"Neutral dark gradient",value:{container:"from-neutral-700 to-neutral-900 text-neutral-content border-neutral-dark"}},base100:{previewBgClass:"bg-base-100 text-base-content border-base-200 border-2",label:"Base 100",value:{container:"bg-base-100 text-base-content border-base-200"}},base100_primary:{previewBgClass:"bg-base-100 text-base-content border-primary border-2",label:"Base 100 / Primary",value:{container:"bg-base-100 text-base-content border-primary"}},base100_secondary:{previewBgClass:"bg-base-100 text-base-content border-secondary border-2",label:"Base 100 / Secondary",value:{container:"bg-base-100 text-base-content border-secondary"}},base100_accent:{previewBgClass:"bg-base-100 text-base-content border-accent border-2",label:"Base 100 / Accent",value:{container:"bg-base-100 text-base-content border-accent"}},none:{label:"None",value:{}}},default:"primary"})),gradientDirection:e.Optional(a(["bg-gradient-to-t","bg-gradient-to-r","bg-gradient-to-b","bg-gradient-to-l","bg-gradient-to-tl","bg-gradient-to-tr","bg-gradient-to-br","bg-gradient-to-bl"],{title:"Gradient direction",description:"The direction of the gradient. Only applies when color preset is a gradient.",enumNames:["Top","Right","Bottom","Left","Top left","Top right","Bottom right","Bottom left"],default:"bg-gradient-to-br","ui:responsive":"desktop","ui:styleId":"styles:gradientDirection",metadata:{filter:(s,t)=>t.colorPreset?.includes("gradient")===!0}})),cardImage:e.Optional(l({"ui:responsive":"desktop",metadata:{category:"content"}})),imagePosition:e.Optional(e.Union([e.Literal("top",{title:"Top"}),e.Literal("middle",{title:"Middle"}),e.Literal("bottom",{title:"Bottom"}),e.Literal("overlay",{title:"Overlay"}),e.Literal("side",{title:"Side"})],{title:"Image Position",description:"Where the image should be placed in the card",default:"top","ui:responsive":"desktop",metadata:{category:"content",filter:(s,t)=>!!t.cardImage?.src}})),noTitle:e.Optional(e.Boolean({title:"No Title",description:"Whether to hide the card title",default:!1,"ui:responsive":"desktop"})),cardTitle:e.Optional(r({title:"Title"})),cardBody:e.Optional(r({title:"Body"})),border:e.Optional(o({default:{width:"border",rounding:"rounded-md"}})),shadow:e.Optional(i())})}),T=[{description:"A simple card with a title and content",type:"card",props:{cardTitle:"Card Title",cardBody:"This is the body of the card."}},{description:"Card with image and overlay text",type:"card",props:{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:{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:{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:{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:{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:{cardTitle:"Simple Announcement",cardBody:"Important updates will be posted here regularly."}},{description:"Event card with multiple variants",type:"card",props:{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:{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:{cardTitle:"Get Started Today",cardBody:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!"}}];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{a as l}from"./chunk-SFKZAUPW.js";import{c as i}from"./chunk-2IYSJYNE.js";import{a as t}from"./chunk-EJGNYD4V.js";import{Type as e}from"@sinclair/typebox";function s(){return e.Object({desktop:e.Boolean(),mobile:e.Boolean()},{$id:"styles:hidden",title:"Hidden",description:"Used to hide the brick on desktop or mobile.","ui:field":"hidden"})}var a={lastTouched:e.Optional(e.Number({"ui:field":"hidden","ai:hidden":!0})),hidden:e.Optional(t("styles:hidden")),editable:e.Optional(e.Boolean({description:"Do not use. It is used internally by the editor.","ui:field":"hidden","ai:hidden":!0})),width:e.Optional(i({title:"Fixed Width",description:"Set a fixed width for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","ai:instructions":"Use percentage values to make the width responsive, like '50%'","ui:field":"hidden"})),height:e.Optional(i({title:"Fixed height",description:"Set a fixed height for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","ui:field":"hidden"})),growHorizontally:e.Optional(e.Boolean({title:"Grow horizontally","ui:field":"hidden",description:"If set, the brick will grow to fill the available width of its parent section. If not set, the brick will have a fixed width.","ui:responsive":"desktop","ui:styleId":"styles:growHorizontally"})),alignSelf:e.Optional(l(["self-auto","self-start","self-center","self-end"],{title:"Vertical position","ui:field":"hidden","ui:display":"icon-group",description:"How the brick vertically aligns itself within its parent section.",enumNames:["Auto","Top","Center","Bottom"],"ui:icons":["fluent:auto-fit-height-20-regular","fluent:align-start-vertical-20-regular","fluent:center-vertical-20-regular","fluent:align-end-vertical-20-regular"],default:"self-auto","ui:placeholder":"Not specified","ui:styleId":"styles:alignSelf"}))};export{s as a,a as b};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{
|
|
3
|
+
import{d as e}from"./chunk-ZUIHVBTD.js";import{a as n}from"./chunk-J6PKQ777.js";import{d as i}from"./chunk-BZZOL273.js";import{b as r}from"./chunk-YVLU6FH7.js";import{c as o}from"./chunk-YVE5OT24.js";import{BsAlphabetUppercase as p}from"react-icons/bs";import{Type as t}from"@sinclair/typebox";var u=n({type:"hero",name:"Hero",kind:"brick",description:"A big textual element for home pages",aiInstructions:`
|
|
4
4
|
This hero element is a large text element that can be used to display a title and an optional tagline.
|
|
5
5
|
It is typically used on home pages to grab the user's attention.
|
|
6
|
-
`.trim(),icon:p,defaultWidth:{desktop:"60dvw",mobile:"auto"},minWidth:{desktop:800},props:o({content:
|
|
6
|
+
`.trim(),icon:p,defaultWidth:{desktop:"60dvw",mobile:"auto"},minWidth:{desktop:800},props:o({content:e({title:"Hero title",default:"<h1 class='hero-size-1' style='text-align:left'><b>Leading Businesses<br />Choose Leading Software</b></h1>"}),tagline:t.Optional(e({title:"Hero tagline",default:"<p style='text-align:left'>Use our platform to build your business with confidence.</p>"})),textShadow:t.Optional(i({default:"text-shadow-sm"})),padding:t.Optional(r({}))})}),f=[{description:"Simple welcome hero with blue background",type:"hero",props:{content:"Welcome to Our Platform",tagline:"The future of productivity starts here",padding:"p-8"}},{description:"Startup hero with gradient background",type:"hero",props:{content:"Build Something Amazing",tagline:"Turn your ideas into reality with our cutting-edge tools",padding:"p-16"}},{description:"Construction company hero with bold presence",type:"hero",props:{content:"Building Tomorrow Today",tagline:"Quality construction services for residential and commercial projects",padding:"p-16"}},{description:"Fashion brand hero with modern appeal",type:"hero",props:{content:"Express Your Style",tagline:"Contemporary fashion that speaks to your individuality",padding:"p-16"}},{description:"Law firm hero with authoritative tone",type:"hero",props:{content:"Justice You Can Trust",tagline:"Experienced legal representation for individuals and businesses",padding:"p-8"}},{description:"Photography studio hero with artistic flair",type:"hero",props:{content:"Capturing Life's Moments",tagline:"Professional photography services for weddings, portraits, and events"}}];export{u as a,f 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{
|
|
3
|
+
import{a as p}from"./chunk-L42YBY5I.js";import{b as l}from"./chunk-TATG6SFZ.js";import{b as o}from"./chunk-IWGL6J43.js";import{a as i}from"./chunk-ZKGRZ5CN.js";import{a as n}from"./chunk-YIFNKP4J.js";import{b as u}from"./chunk-R7BY53H4.js";import{d as s}from"./chunk-OHQEA2NH.js";import{Type as e}from"@sinclair/typebox";import{jsonDefault as c}from"json-schema-default";function $(t){for(let a in t)if(a.startsWith("$"))throw new Error(`Attribute names starting with '$' (like "${a}") are reserved for internal use. Please rename it.`);return e.Object(t)}function w(t){return e.Composite([t,r])}var g={$backgroundColor:s({title:"Background color",default:"bg-base-100"}),$textColor:u({title:"Text color",default:"text-base-content"}),$pageLanguage:p("Language","en",{options:[{value:"ar",title:"Arabic"},{value:"zh",title:"Chinese"},{value:"cs",title:"Czech"},{value:"nl",title:"Dutch"},{value:"en",title:"English"},{value:"fr",title:"French"},{value:"de",title:"German"},{value:"he",title:"Hebrew"},{value:"hi",title:"Hindi"},{value:"it",title:"Italian"},{value:"ja",title:"Japanese"},{value:"ko",title:"Korean"},{value:"fa",title:"Persian"},{value:"pl",title:"Polish"},{value:"pt",title:"Portuguese"},{value:"ru",title:"Russian"},{value:"es",title:"Spanish"},{value:"tr",title:"Turkish"},{value:"vi",title:"Vietnamese"}],"ai:guidelines":"Choose a value based on the site description. If the site is in multiple languages, use 'en'.","ui:group":"meta","ui:group:title":"Meta tags"}),$robotsIndexing:e.Optional(n("Allow search engines to index this site",!0,{description:"Disabling this will prevent search engines from indexing this site","ui:group":"seo","ui:group:title":"SEO","ui:scope":"site","ai:hidden":!0})),$pagePath:i("Page path",{default:"/",description:"The URL path of the page","ui:group":"location","ui:group:title":"Location","ui:field":"path"}),$pageTitle:i("Title",{default:"Untitled","ui:group":"meta","ui:group:title":"Meta tags",description:"The title of the page. Appears in the browser tab and search results"}),$pageDescription:i("Description",{"ui:widget":"textarea","ui:group":"meta","ui:group:title":"Meta tags",description:"A short description of the page. Used by search engines","ui:multiline":!0,"ui:textarea-class":"h-24"}),$pageKeywords:i("Keywords",{"ui:group":"meta","ui:group:title":"Meta tags",description:"Keywords related to the page. Used by search engines","ui:multiline":!0}),$siteOgImage:e.Optional(o({title:"Social share image",description:"Image shown when this site is shared on social media","ui:scope":"site","ai:hidden":!0,"ui:no-object-options":!0,"ui:no-alt-text":!0,"ui:show-img-search":!1})),$pageOgImage:e.Optional(o({title:"Social share image",description:"Image shown when this page is shared on social media","ai:hidden":!0,"ui:no-object-options":!0,"ui:no-alt-text":!0,"ui:show-img-search":!1})),$pageLastUpdated:e.Optional(l("Last updated",{"ui:hidden":!0,"ai:guidelines":"Don't generate this property."})),$siteHeadTags:e.Optional(e.String({title:"Head tags",description:"Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.","ai:guidelines":"Don't include meta tags here, they are automatically generated.","ui:multiline":!0,"ui:textarea-class":"h-40 !font-mono !text-xs","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:premium":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"})),$siteBodyTags:e.Optional(e.String({title:"Body tags",description:"Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.","ui:multiline":!0,"ui:premium":!0,"ui:textarea-class":"h-40 !font-mono !text-xs","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"}))},r=e.Object(g,{additionalProperties:!0}),T=e.Pick(r,["$backgroundColor","$textColor"]),O=e.Pick(r,["$pageTitle","$pageDescription","$pageKeywords","$pageLanguage","$pagePath","$backgroundColor","$textColor"]);function k(t=e.Object({}),a={}){return{...c(r),...a}}export{$ as a,w as b,r as c,T as d,O as e,k as f};
|
|
@@ -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 o}from"./chunk-
|
|
3
|
+
import{a as o}from"./chunk-EJGNYD4V.js";import{Type as t}from"@sinclair/typebox";function p(e="Image",i={}){let{defaultImageUrl:a,showImgSearch:n=!1,noObjectOptions:l=!1}=i;return t.Object({src:t.String({default:a,title:e,description:"Image URL. Can be a link to an image or a data URI"}),alt:t.Optional(t.String({title:"Alternate Text",description:"Alternative text for the image. Recommended for screen readers and SEO","ui:placeholder":"Your image description"})),fit:t.Optional(t.Union([t.Literal("object-none",{title:"None"}),t.Literal("object-contain",{title:"Contain"}),t.Literal("object-cover",{title:"Cover"}),t.Literal("object-fill",{title:"Fill"}),t.Literal("object-scale-down",{title:"Scale down"})],{title:"Fit",description:"How the image should be resized to fit its container","ui:field":"enum","ui:styleId":"styles:objectFit"})),position:t.Optional(t.Union([t.Literal("object-top",{title:"Top"}),t.Literal("object-center",{title:"Center"}),t.Literal("object-bottom",{title:"Bottom"}),t.Literal("object-left",{title:"Left"}),t.Literal("object-right",{title:"Right"}),t.Literal("object-top-left",{title:"Top left"}),t.Literal("object-top-right",{title:"Top right"}),t.Literal("object-bottom-left",{title:"Bottom left"}),t.Literal("object-bottom-right",{title:"Bottom right"})],{"ui:styleId":"styles:objectPosition",title:"Position",description:"The position of the image inside its container","ui:field":"enum"}))},{$id:"assets:image",title:e,"ui:field":"image","ui:accept":"image/*","ui:show-img-search":n,"ui:no-object-options":l,default:{alt:"Image",fit:"object-cover",position:"object-center"},"ui:responsive":"desktop",...i})}function m(e={}){return o("assets:image",{...e})}export{p as a,m 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 t}from"./chunk-N3FHTP5P.js";function k({props:e,defaultHeight:r,defaultWidth:i,kind:o="brick",isContainer:s=!1,hideInLibrary:n=!1,deletable:a=!0,movable:p=!0,resizable:c=!0,repeatable:b=!1,duplicatable:l=!0,defaultInspectorTab:d="preset",icon:m,...u}){return{...u,icon:m,props:e,kind:o,defaultInspectorTab:d,hideInLibrary:n,deletable:a,movable:p,resizable:c,repeatable:b,duplicatable:l,isContainer:s,defaultWidth:{mobile:i?.mobile??"auto",desktop:i?.desktop??"auto"},defaultHeight:{mobile:r?.mobile??"auto",desktop:r?.desktop??"auto"}}}function g(e){return{...e,props:t(e.props),...e.datasource?{datasource:t(e.datasource)}:{}}}export{k as a,g 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{a as o}from"./chunk-MPBYGS6W.js";import{a as s}from"./chunk-L42YBY5I.js";import{b as a}from"./chunk-
|
|
3
|
+
import{a as o}from"./chunk-MPBYGS6W.js";import{a as s}from"./chunk-L42YBY5I.js";import{b as a}from"./chunk-YFTHOUIJ.js";import{b as l}from"./chunk-M56NNPVI.js";import{b as p}from"./chunk-N3FHTP5P.js";import{a as i}from"./chunk-SFKZAUPW.js";import{c as n}from"./chunk-2IYSJYNE.js";import{Type as t}from"@sinclair/typebox";import{customAlphabet as g}from"nanoid";var C=g("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),P=t.Object({left:t.Optional(t.String({title:"top",description:"The left position in css unit."})),top:t.Optional(t.String({title:"top",description:"The top position in css unit."})),right:t.Optional(t.String({title:"right",description:"The right position in css unit."})),bottom:t.Optional(t.String({title:"bottom",description:"The bottom position in css unit."})),inset:t.Optional(t.String({title:"inset",description:"The inset position in css unit."})),translateX:t.Optional(t.String({title:"translateX",description:"The translateX position in css unit."})),translateY:t.Optional(t.String({title:"translateY",description:"The translateY position in css unit."})),rotate:t.Optional(t.String({title:"rotate",description:"The rotate position in css unit."}))}),u=i(Object.keys(a),{title:"Brick type"}),m=t.Object({id:t.String({title:"ID",description:"A unique identifier for the brick."}),type:u,props:t.Any({title:"Props",description:"The props of the brick. The available props depends on the brick type."}),mobileProps:t.Optional(t.Object({},{additionalProperties:!0,description:"The props for mobile, merged with the default props"}))},{$id:"brick",additionalProperties:!0}),c=t.Object({backgroundColor:t.Optional(l({title:"Background color","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{main:"bg-primary-light text-primary-content-light"},label:"Primary lighter"},"primary-light-gradient":{previewBgClass:"bg-gradient-to-br from-primary-300 to-primary-500 text-primary-content-light",value:{main:"from-primary-300 to-primary-500 text-primary-content-light"},label:"Primary light gradient"},primary:{previewBgClass:"bg-primary text-primary-content",label:"Primary",value:{main:"bg-primary text-primary-content"}},"primary-gradient":{previewBgClass:"bg-gradient-to-br from-primary-500 to-primary-700 text-primary-content",value:{main:"from-primary-500 to-primary-700 text-primary-content"},label:"Primary gradient"},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary dark",value:{main:"bg-primary-dark text-primary-content"}},"primary-dark-gradient":{previewBgClass:"bg-gradient-to-br from-primary-700 to-primary-900 text-primary-content",value:{main:"from-primary-700 to-primary-900 text-primary-content"},label:"Primary dark gradient"},"secondary-light":{previewBgClass:"bg-secondary-light text-secondary-content-light",label:"Secondary light",value:{main:"bg-secondary-light text-secondary-content-light"}},"secondary-light-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-300 to-secondary-500 text-secondary-content-light",value:{main:"from-secondary-300 to-secondary-500 text-secondary-content-light"},label:"Secondary light gradient"},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{main:"bg-secondary text-secondary-content"}},"secondary-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-500 to-secondary-700 text-secondary-content",value:{main:"from-secondary-500 to-secondary-700 text-secondary-content"},label:"Secondary gradient"},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary dark",value:{main:"bg-secondary-dark text-secondary-content"}},"secondary-dark-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-700 to-secondary-900 text-secondary-content",value:{main:"from-secondary-700 to-secondary-900 text-secondary-content"},label:"Secondary dark gradient"},"neutral-light":{previewBgClass:"bg-neutral-light text-neutral-content-light",value:{main:"bg-neutral-light text-neutral-content-light"},label:"Neutral light"},"neutral-light-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-300 to-neutral-500 text-neutral-content-light",value:{main:"from-neutral-300 to-neutral-500 text-neutral-content-light"},label:"Neutral light gradient"},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{main:"bg-neutral text-neutral-content"}},"neutral-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-500 to-neutral-700 text-neutral-content",value:{main:"from-neutral-500 to-neutral-700 text-neutral-content"},label:"Neutral gradient"},"neutral-dark":{previewBgClass:"bg-neutral-dark text-neutral-content",label:"Neutral dark",value:{main:"bg-neutral-dark text-neutral-content"}},"neutral-dark-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-700 to-neutral-900 text-neutral-content",value:{main:"from-neutral-700 to-neutral-900 text-neutral-content"},label:"Neutral dark gradient"},base100:{previewBgClass:"bg-base-100 text-base-content",label:"Base 1",value:{main:"bg-base-100 text-base-content"}},base200:{previewBgClass:"bg-base-200 text-base-content",label:"Base 2",value:{main:"bg-base-200 text-base-content"}},none:{label:"None",value:{}}},default:"none"})),gradientDirection:t.Optional(i(["bg-gradient-to-t","bg-gradient-to-r","bg-gradient-to-b","bg-gradient-to-l","bg-gradient-to-tl","bg-gradient-to-tr","bg-gradient-to-br","bg-gradient-to-bl"],{title:"Gradient direction",description:"The direction of the gradient. Only applies when color preset is a gradient.",enumNames:["Top","Right","Bottom","Left","Top left","Top right","Bottom right","Bottom left"],default:"bg-gradient-to-br","ui:responsive":"desktop","ui:styleId":"styles:gradientDirection",metadata:{filter:(e,r)=>r.backgroundColor?.includes("gradient")===!0}})),minHeight:t.Optional(n({title:"Min height",default:"fit-content",description:"The min height of the section","ui:styleId":"minHeight","ui:field":"hidden"})),purpose:t.Optional(i(["navbar","sidebar"],{title:"Specific purpose",description:"The purpose of the section. Used for styling and layout.",enumNames:["Navbar","Sidebar"],"ui:field":"hidden"})),maxWidth:t.Optional(s("Max width","max-w-full",{options:[{value:"max-w-screen-lg",title:"M",description:"Common for text-heavy content/blog posts"},{value:"max-w-screen-xl",title:"L",description:"Usefull or some landing pages"},{value:"max-w-screen-2xl",title:"XL",description:"Common width"},{value:"max-w-full",title:"Full",description:"Takes the entire space"}],description:"The maximum width of the section. Desktop only",displayAs:"button-group","ui:responsive":"desktop"})),justifyContent:t.Optional(i(["justify-start","justify-center","justify-end","justify-between","justify-around","justify-evenly"],{enumNames:["Left","Center","Right","Space between","Space around","Evenly distributed"],title:"Horizontal align.","ui:placeholder":"Not specified",default:"justify-center","ui:display":"icon-group","ui:responsive":"desktop","ui:icons":["fluent:align-start-horizontal-20-regular","fluent:align-center-vertical-20-regular","fluent:align-end-horizontal-20-regular","fluent:align-space-between-vertical-20-regular","fluent:align-space-around-vertical-20-regular","fluent:align-space-evenly-horizontal-20-regular"]})),alignItems:t.Optional(i(["items-start","items-center","items-end"],{enumNames:["Top","Center","Bottom"],title:"Vertical alignment","ui:placeholder":"Not specified",default:"items-center","ui:responsive":"desktop","ui:display":"icon-group","ui:icons":["fluent:align-start-vertical-20-regular","fluent:center-vertical-20-regular","fluent:align-end-vertical-20-regular"]})),gap:t.Optional(n({title:"Gap",description:"The gap between the bricks in the section.",default:"20px","ui:styleId":"gap"})),lastTouched:t.Optional(t.Number({description:"Do not use this field. It is used internally by the editor.","ui:field":"hidden"}))},{additionalProperties:!0,"ai:instructions":"Do not use the border prop"}),b=t.Object({id:t.String({description:"The unique ID of the section. Use a human readable url-safe slug"}),label:t.Optional(t.String({description:"The label (name) of the section. Used for editor purposes only."})),order:t.Number({description:"Determines section order in the page (lower numbers appear first). 0-based"}),props:c,mobileProps:t.Optional(t.Partial(c,{additionalProperties:!1})),bricks:t.Array(m)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."}),y=p(b.properties.props);function j(e){return e.map(r=>({...r,props:o({},y,r.props),bricks:r.bricks.map(d).filter(Boolean)}))}function d(e){let r=a[e.type];return r?{...e,props:o({},r.props,{...e.props,...e.props.$children?{$children:e.props.$children.map(d).filter(Boolean)}:{}})}:(console.warn(`No default props found for brick type: ${e.type}`),!1)}export{C as a,u as b,m as c,c as d,b as e,y as f,j as g,d as h};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as c,f as d}from"./chunk-ZKGRZ5CN.js";import{d as n}from"./chunk-ZUIHVBTD.js";import{b as i}from"./chunk-R7BY53H4.js";import{a as m}from"./chunk-J6PKQ777.js";import{b as l}from"./chunk-4CH5SZHP.js";import{b as s}from"./chunk-BZZOL273.js";import{b as p}from"./chunk-YVLU6FH7.js";import{a as t,c as a}from"./chunk-YVE5OT24.js";import{a as o}from"./chunk-SFKZAUPW.js";import{d as r}from"./chunk-OHQEA2NH.js";import{Type as e}from"@sinclair/typebox";import{RiMapPinTimeLine as u}from"react-icons/ri";var L=m({type:"timeline",kind:"widget",name:"Timeline",description:"A timeline element for showing chronological events",aiInstructions:`
|
|
4
|
+
This timeline element displays a series of chronological events, milestones, or processes.
|
|
5
|
+
It can be used for company history, project roadmaps, or any sequential information.
|
|
6
|
+
Each item has a date/time, title, description, and optional icon.
|
|
7
|
+
`.trim(),icon:u,defaultWidth:{desktop:"200px",mobile:"100%"},props:a({container:e.Optional(t({title:"Container",children:{backgroundColor:e.Optional(r()),padding:e.Optional(p()),border:e.Optional(l()),shadow:e.Optional(s())}})),items:e.Array(e.Object({date:c("Date",{default:"2024",description:"Date or time period for this event"}),title:n({title:"Title",default:"Event title",disableSizing:!0}),description:n({title:"Description",default:"Event description"}),icon:e.Optional(d())}),{title:"Timeline items"}),variants:e.Array(e.Union([e.Literal("vertical",{title:"Vertical",description:"Display timeline vertically"}),e.Literal("horizontal",{title:"Horizontal",description:"Display timeline horizontally"}),e.Literal("alternating",{title:"Alternating",description:"Alternate items left and right (vertical only)"}),e.Literal("with-connectors",{title:"With connectors",description:"Show connecting lines between items"}),e.Literal("minimal",{title:"Minimal",description:"Simple design with less visual elements"}),e.Literal("card-style",{title:"Card style",description:"Display each item as a card"})],{title:"Variant",description:"Timeline display variants"}),{default:["vertical","with-connectors"]}),appearance:e.Optional(t({title:"Appearance",children:{lineColor:e.Optional(o(["primary","secondary","accent"],{title:"Line color",description:"Color for the timeline dot/line",default:"primary",enumNames:["Primary","Secondary","Accent"]})),lineWidth:e.Optional(e.Union([e.Literal("border-2",{title:"Thin"}),e.Literal("border-4",{title:"Medium"}),e.Literal("border-8",{title:"Thick"})],{title:"Line width",default:"border-2"})),dotSize:e.Optional(e.Union([e.Literal("w-3",{title:"S"}),e.Literal("w-4",{title:"M"}),e.Literal("w-6",{title:"L"}),e.Literal("w-8",{title:"XL"})],{title:"Dot size",default:"w-4"})),datePosition:e.Optional(e.Union([e.Literal("above",{title:"Above title"}),e.Literal("below",{title:"Below title"}),e.Literal("inline",{title:"Inline with title"})],{title:"Date position",default:"above"}))}})),textStyles:e.Optional(t({title:"Text styles",children:{dateColor:e.Optional(i({default:"text-base-content/70",title:"Date color"})),titleColor:e.Optional(i({default:"text-base-content",title:"Title color"})),descriptionColor:e.Optional(i({default:"text-base-content/80",title:"Description color"}))}}))},{default:{container:{padding:"p-6",backgroundColor:"bg-transparent"},variants:["vertical","with-connectors"],appearance:{lineColor:"primary",lineWidth:"border-2",dotSize:"w-4 h-4",datePosition:"above"},textStyles:{dateColor:"text-base-content/70",titleColor:"text-base-content",descriptionColor:"text-base-content/80"}}})}),D=[{description:"Company milestone timeline with alternating layout",type:"timeline",props:{container:{backgroundColor:"bg-base-100",padding:"p-8"},variants:["vertical","alternating","with-connectors"],appearance:{lineColor:"primary",lineWidth:"border-4",dotSize:"w-6",datePosition:"above"},items:[{date:"2019",title:"Company Founded",description:"Started our journey with a vision to revolutionize the industry",icon:"mdi:rocket-launch"},{date:"2020",title:"First Product Launch",description:"Released our flagship product to the market with overwhelming response",icon:"mdi:product-hunt"},{date:"2021",title:"Series A Funding",description:"Raised $10M in Series A funding to accelerate growth and expansion",icon:"mdi:currency-usd"},{date:"2023",title:"Global Expansion",description:"Opened offices in Europe and Asia, serving customers worldwide",icon:"mdi:earth"},{date:"2024",title:"IPO Planning",description:"Preparing for initial public offering and continued growth",icon:"mdi:trending-up"}]}},{description:"Project roadmap with horizontal layout",type:"timeline",props:{container:{padding:"p-8"},variants:["horizontal","with-connectors","card-style"],appearance:{lineColor:"accent",lineWidth:"border-2",dotSize:"w-4",datePosition:"below"},textStyles:{dateColor:"text-primary",titleColor:"text-base-content",descriptionColor:"text-base-content/80"},items:[{date:"Q1 2024",title:"Planning Phase",description:"Requirements gathering and technical specifications",icon:"mdi:clipboard-text"},{date:"Q2 2024",title:"Development",description:"Core feature development and testing",icon:"mdi:code-braces"},{date:"Q3 2024",title:"Beta Testing",description:"User acceptance testing and feedback collection",icon:"mdi:test-tube"},{date:"Q4 2024",title:"Launch",description:"Production deployment and go-to-market strategy",icon:"mdi:rocket"}]}},{description:"Personal career timeline with minimal design",type:"timeline",props:{container:{padding:"p-4"},variants:["vertical","minimal"],appearance:{lineColor:"secondary",lineWidth:"border-2",datePosition:"inline"},textStyles:{dateColor:"text-base-content/60",titleColor:"text-base-content",descriptionColor:"text-base-content/70"},items:[{date:"2020-2024",title:"Senior Software Engineer",description:"Led development of microservices architecture at Tech Startup Inc."},{date:"2018-2020",title:"Full Stack Developer",description:"Built scalable web applications using React and Node.js at Digital Agency"},{date:"2016-2018",title:"Junior Developer",description:"Started career developing mobile apps and learning modern frameworks"},{date:"2012-2016",title:"Computer Science Degree",description:"Bachelor's degree in Computer Science from State University"}]}},{description:"Product development phases with card styling",type:"timeline",props:{container:{backgroundColor:"bg-base-50",padding:"p-8"},variants:["vertical","card-style","with-connectors"],appearance:{lineColor:"accent",lineWidth:"border-4",dotSize:"w-6",datePosition:"above"},textStyles:{dateColor:"text-accent",titleColor:"text-base-content",descriptionColor:"text-base-content/80"},items:[{date:"Phase 1",title:"Research & Discovery",description:"Market research, user interviews, and competitive analysis to understand user needs",icon:"mdi:magnify"},{date:"Phase 2",title:"Design & Prototyping",description:"Create wireframes, mockups, and interactive prototypes for user testing",icon:"mdi:palette"},{date:"Phase 3",title:"Development",description:"Build the product using agile methodology with continuous integration",icon:"mdi:hammer-wrench"},{date:"Phase 4",title:"Testing & QA",description:"Comprehensive testing including unit tests, integration tests, and user acceptance testing",icon:"mdi:bug"},{date:"Phase 5",title:"Launch & Monitor",description:"Product launch with monitoring, analytics, and continuous improvement based on user feedback",icon:"mdi:rocket-launch"}]}},{description:"Event schedule timeline with large dots",type:"timeline",props:{container:{backgroundColor:"bg-primary/5",padding:"p-8"},variants:["vertical","with-connectors"],appearance:{lineColor:"primary",lineWidth:"border-8",dotSize:"w-6",datePosition:"above"},textStyles:{dateColor:"text-primary",titleColor:"text-primary",descriptionColor:"text-base-content"},items:[{date:"9:00 AM",title:"Registration & Welcome",description:"Check-in, networking breakfast, and welcome address by the CEO",icon:"mdi:account-check"},{date:"10:00 AM",title:"Keynote Presentation",description:"Future of Technology: Trends and Innovations Shaping Tomorrow",icon:"mdi:presentation"},{date:"11:30 AM",title:"Panel Discussion",description:"Industry leaders discuss challenges and opportunities in digital transformation",icon:"mdi:account-group"},{date:"1:00 PM",title:"Networking Lunch",description:"Catered lunch with opportunities to connect with speakers and attendees",icon:"mdi:food"},{date:"2:30 PM",title:"Workshop Sessions",description:"Hands-on workshops covering AI, cloud computing, and cybersecurity",icon:"mdi:school"},{date:"4:00 PM",title:"Closing Remarks",description:"Summary of key insights and announcement of next year's conference",icon:"mdi:microphone"}]}}];export{L as a,D 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{a as t}from"./chunk-EJGNYD4V.js";import{Type as s}from"@sinclair/typebox";function l(e){let{title:r="Color preset",...o}=e??{};return s.String({title:r,$id:"presets:color","ui:styleId":"presets:color","ui:field":"color-preset","ui:responsive":"desktop",...o})}function n(e){return t("presets:color",{...e,"ui:styleId":"presets:color"})}export{l as a,n 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{a as t}from"./chunk-OELIU5BZ.js";import{b as o}from"./chunk-55HKWD4P.js";import{b as n}from"./chunk-IWGL6J43.js";import{a as s}from"./chunk-ZKGRZ5CN.js";import{a as p}from"./chunk-J6PKQ777.js";import{b as i}from"./chunk-YVLU6FH7.js";import{c as a}from"./chunk-YVE5OT24.js";import{a as r}from"./chunk-SFKZAUPW.js";import{Type as e}from"@sinclair/typebox";import{IoGridOutline as c}from"react-icons/io5";var d=e.Array(e.Object({src:e.String({format:"uri",title:"Image URL"}),alt:e.String({default:"",title:"Alt text"})}),{default:[{src:t,alt:"my image"},{src:t,alt:"my image"},{src:t,alt:"my image"},{src:t,alt:"my image"},{src:t,alt:"my image"},{src:t,alt:"my image"}]}),P=p({type:"images-gallery",kind:"widget",name:"Gallery",description:"An image collection",aiInstructions:"This brick should mostly be used for image galleries and collections.",defaultInspectorTab:"content",isContainer:!1,minHeight:{desktop:200},minWidth:{desktop:300},icon:c,props:a({title:e.Optional(e.String({title:"Title",metadata:{category:"content"}})),images:e.Optional(e.Array(e.Object({src:n({"ui:responsive":"desktop","ui:no-alt-text":!0,"ui:no-object-options":!0}),legend:s("Legend")}),{title:"Images",default:[],maxItems:12,metadata:{category:"content",filter:(g,l)=>l.useDatabase===!1}})),columns:e.Optional(e.Number({title:"Columns",description:"Number of columns (grid layout only)",minimum:1,maximum:6,default:3,"ui:field":"slider"})),gap:o(),padding:i({default:{desktop:"p-4"}}),borderRadius:e.Optional(r(["rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-full"],{enumNames:["None","Small","Medium","Large","Extra large","Full"],title:"Border",description:"Rounded corners for images",default:"rounded-md"}))}),datasource:d}),R=[{description:"Product portfolio gallery (3-column grid)",type:"images-gallery",props:{title:"Product Portfolio",borderRadius:"rounded-lg",columns:3,gap:"gap-4",padding:"p-4",images:[{src:{src:"https://via.placeholder.com/400x400.png?text=Product+1"},legend:"Premium wireless headphones"},{src:{src:"https://via.placeholder.com/400x400.png?text=Product+2"},legend:"Bluetooth speaker"},{src:{src:"https://via.placeholder.com/400x400.png?text=Product+3"},legend:"Smart fitness tracker"},{src:{src:"https://via.placeholder.com/400x400.png?text=Product+4"},legend:"Wireless charging pad"}]}},{description:"Team photos gallery (4-column grid)",type:"images-gallery",props:{columns:4,gap:"gap-6",borderRadius:"rounded-full",padding:"p-6",images:[{src:{src:"https://via.placeholder.com/300x300.png?text=CEO"},legend:"Sarah Johnson - Chief Executive Officer"},{src:{src:"https://via.placeholder.com/300x300.png?text=CTO"},legend:"Mike Chen - Chief Technology Officer"},{src:{src:"https://via.placeholder.com/300x300.png?text=Design"},legend:"Emily Rodriguez - Head of Design"},{src:{src:"https://via.placeholder.com/300x300.png?text=Marketing"},legend:"David Park - Marketing Director"},{src:{src:"https://via.placeholder.com/300x300.png?text=Sales"},legend:"Lisa Wong - Sales Manager"},{src:{src:"https://via.placeholder.com/300x300.png?text=Support"},legend:"Alex Thompson - Customer Support Lead"},{src:{src:"https://via.placeholder.com/300x300.png?text=Dev"},legend:"Carlos Martinez - Senior Developer"},{src:{src:"https://via.placeholder.com/300x300.png?text=HR"},legend:"Jennifer Adams - HR Specialist"}]}},{description:"Project showcase (2-column grid with larger spacing)",type:"images-gallery",props:{columns:2,gap:"gap-6",borderRadius:"rounded-full",padding:"p-6",images:[{src:{src:"https://via.placeholder.com/600x400.png?text=Website+Redesign"},legend:"Modern e-commerce website redesign project"},{src:{src:"https://via.placeholder.com/600x400.png?text=Mobile+App"},legend:"iOS and Android mobile application"},{src:{src:"https://via.placeholder.com/600x400.png?text=Brand+Identity"},legend:"Complete brand identity design package"},{src:{src:"https://via.placeholder.com/600x400.png?text=Dashboard+UI"},legend:"Analytics dashboard user interface"}]}},{description:"Event photos",type:"images-gallery",props:{columns:4,gap:"gap-6",borderRadius:"rounded-full",padding:"p-6",images:[{src:{src:"https://via.placeholder.com/250x180.png?text=Opening"},legend:"Conference opening ceremony"},{src:{src:"https://via.placeholder.com/250x180.png?text=Keynote"},legend:"Keynote presentation"},{src:{src:"https://via.placeholder.com/250x180.png?text=Workshop"},legend:"Technical workshop session"},{src:{src:"https://via.placeholder.com/250x180.png?text=Networking"},legend:"Networking lunch break"},{src:{src:"https://via.placeholder.com/250x180.png?text=Panel"},legend:"Expert panel discussion"},{src:{src:"https://via.placeholder.com/250x180.png?text=Awards"},legend:"Awards ceremony"}]}}];export{d as a,P as b,R 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{jsonDefault as s}from"json-schema-default";function m(n){if(!("enum"in n))return n.anyOf??n.oneOf;let{enum:r,enumNames:e,"ui:icons":t}=n;return r.map((i,o)=>({const:i,title:e?e[o]:i,"ui:icon":t?t[o]:void 0}))}function u(n){return s(n)}export{m as a,u as b};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{b as p,d as a}from"./chunk-ZUIHVBTD.js";import{a as r}from"./chunk-YIFNKP4J.js";import{b as s}from"./chunk-R7BY53H4.js";import{a as u}from"./chunk-J6PKQ777.js";import{b as l}from"./chunk-4CH5SZHP.js";import{b as c}from"./chunk-BZZOL273.js";import{b as d}from"./chunk-YVLU6FH7.js";import{a as o,c as n}from"./chunk-YVE5OT24.js";import{a as i}from"./chunk-SFKZAUPW.js";import{d as t}from"./chunk-OHQEA2NH.js";import{Type as e}from"@sinclair/typebox";import{TfiLayoutAccordionSeparated as m}from"react-icons/tfi";var T=u({type:"accordion",kind:"widget",name:"Accordion",description:"An accordion/collapse element for expandable content",aiInstructions:`
|
|
4
|
+
This accordion element displays content in collapsible panels.
|
|
5
|
+
It is typically used for FAQ sections, organized documentation, or to save space.
|
|
6
|
+
Each item has a title and expandable content area.
|
|
7
|
+
Multiple panels can be open simultaneously or limited to one at a time.
|
|
8
|
+
`.trim(),icon:m,defaultWidth:{desktop:"250px",mobile:"100%"},props:n({container:e.Optional(o({title:"Container",children:{backgroundColor:e.Optional(t()),padding:e.Optional(d()),border:e.Optional(l()),shadow:e.Optional(c())}})),items:e.Array(e.Object({title:a({title:"Title",default:"My title",disableSizing:!0}),content:a({title:"Content",default:"Expandable content goes here"}),defaultOpen:e.Optional(r("Open by default",!1))}),{title:"Accordion items"}),itemsStyles:e.Optional(o({title:"Accordion item styles",children:{backgroundColor:e.Optional(t()),color:e.Optional(s()),fontSize:p({default:"inherit"})}})),allowMultiple:r("Allow multiple open",!0,{description:"Allow multiple accordion items to be open at the same time"}),variants:e.Array(i(["collapse-arrow","collapse-plus"],{default:["collapse-arrow"],enumNames:["With Arrow indicator","With + indicator"]}))},{default:{container:{padding:"p-6",backgroundColor:"bg-transparent"},allowMultiple:!0,variants:["collapse-arrow"]}})}),z=[{description:"FAQ section with card styling with single open",type:"accordion",props:{container:{backgroundColor:"bg-base-50",padding:"p-8",border:{rounding:"rounded-lg"},shadow:"shadow-lg"},variants:["collapse-plus"],allowMultiple:!1,items:[{title:"What is included in the basic plan?",content:"The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.",defaultOpen:!0},{title:"How do I cancel my subscription?",content:"You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle."},{title:"Is there a free trial available?",content:"Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period."},{title:"What payment methods do you accept?",content:"We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners."},{title:"Do you offer refunds?",content:"We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund."}]}},{description:"Product features with arrow indicator and multiple open",type:"accordion",props:{container:{padding:"p-4"},variants:["collapse-arrow"],allowMultiple:!0,items:[{title:"Advanced Analytics",content:"Get detailed insights into your data with our comprehensive analytics dashboard. Track key metrics, generate custom reports, and identify trends with powerful visualization tools.",defaultOpen:!0},{title:"Team Collaboration",content:"Work seamlessly with your team using real-time collaboration features. Share projects, assign tasks, leave comments, and track progress all in one place."},{title:"API Integration",content:"Connect with your existing tools and workflows using our robust API. Full documentation, SDKs for popular languages, and webhook support included."},{title:"Security & Compliance",content:"Enterprise-grade security with SOC 2 compliance, data encryption at rest and in transit, SSO support, and comprehensive audit logs."}]}}];export{T as a,z as b};
|