@upstart.gg/sdk 0.0.121 → 0.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/shared/ajv.d.ts.map +1 -1
- package/dist/shared/ajv.js +1 -1
- package/dist/shared/attributes.js +1 -1
- package/dist/shared/brick-manifest.d.ts +1 -3
- 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 +2 -4
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +1 -1
- package/dist/shared/bricks/manifests/box.manifest.d.ts +14 -15
- package/dist/shared/bricks/manifests/box.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/box.manifest.js +1 -1
- package/dist/shared/bricks/manifests/button.manifest.d.ts +6 -5
- 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 +6 -5
- package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/card.manifest.js +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +2 -4
- 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 +16 -16
- package/dist/shared/bricks/manifests/dynamic.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/dynamic.manifest.js +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +2 -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 +7 -5
- 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 +7 -5
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +2 -4
- 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 +8 -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 +6 -5
- 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 +2 -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 +2 -4
- 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 +10 -6
- 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 +7 -4
- 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 -4
- 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 +4 -6
- 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 +7 -5
- package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/text.manifest.js +1 -1
- package/dist/shared/bricks/manifests/video.manifest.d.ts +7 -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.d.ts +8 -3
- package/dist/shared/bricks/props/align.d.ts.map +1 -1
- package/dist/shared/bricks/props/align.js +1 -1
- package/dist/shared/bricks/props/border.d.ts +11 -3
- package/dist/shared/bricks/props/border.d.ts.map +1 -1
- package/dist/shared/bricks/props/border.js +1 -1
- package/dist/shared/bricks/props/common.d.ts +2 -3
- package/dist/shared/bricks/props/common.d.ts.map +1 -1
- package/dist/shared/bricks/props/common.js +1 -1
- package/dist/shared/bricks/props/container.d.ts +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +2 -4
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
- package/dist/shared/bricks/props/helpers.js +1 -1
- package/dist/shared/bricks/props/image.js +1 -1
- package/dist/shared/bricks/props/padding.d.ts.map +1 -1
- package/dist/shared/bricks/props/padding.js +1 -1
- package/dist/shared/bricks/props/preset.d.ts.map +1 -1
- package/dist/shared/bricks/props/preset.js +1 -1
- package/dist/shared/bricks/props/types.d.ts +11 -1
- package/dist/shared/bricks/props/types.d.ts.map +1 -1
- package/dist/shared/bricks.d.ts +2 -0
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/chunk-3QYEUKEW.js +3 -0
- package/dist/shared/chunk-3RDGTRSB.js +3 -0
- package/dist/shared/chunk-4U3RUNXA.js +3 -0
- package/dist/shared/{chunk-B5BHH5ZS.js → chunk-6XMSXDST.js} +1 -1
- package/dist/shared/{chunk-23RG3W2X.js → chunk-76XO5NIK.js} +1 -1
- package/dist/shared/chunk-C75R5YW6.js +3 -0
- package/dist/shared/chunk-DMMAQKRR.js +3 -0
- package/dist/shared/{chunk-VW5IBZWH.js → chunk-EMRJKXOR.js} +2 -2
- package/dist/shared/chunk-EOUUN7E6.js +3 -0
- package/dist/shared/chunk-ERY4IXZT.js +3 -0
- package/dist/shared/chunk-GKUFCDVD.js +3 -0
- package/dist/shared/{chunk-3CXVWU5K.js → chunk-HUGR3ZCO.js} +1 -1
- package/dist/shared/{chunk-3D7E2JXE.js → chunk-HZDH3UEZ.js} +2 -2
- package/dist/shared/chunk-J33TL5M5.js +3 -0
- package/dist/shared/chunk-JUFSENQL.js +3 -0
- package/dist/shared/chunk-K2CBEHQS.js +5 -0
- package/dist/shared/chunk-KVOBSUGQ.js +3 -0
- package/dist/shared/chunk-LVALAJTS.js +3 -0
- package/dist/shared/{chunk-FYZJUJEF.js → chunk-MHRBBMRE.js} +1 -1
- package/dist/shared/chunk-MXVDZH7N.js +3 -0
- package/dist/shared/chunk-N3V5MQ54.js +3 -0
- package/dist/shared/chunk-O6OKTIBY.js +3 -0
- package/dist/shared/chunk-OOYAWVJO.js +3 -0
- package/dist/shared/{chunk-B2J5U5HX.js → chunk-PDUB4QZX.js} +1 -1
- package/dist/shared/{chunk-3OGAJIKA.js → chunk-PSCFR7VV.js} +1 -1
- package/dist/shared/{chunk-CUC7CI6R.js → chunk-PZI5MT7I.js} +2 -2
- package/dist/shared/{chunk-EB5C6DYF.js → chunk-RGLVKILY.js} +1 -1
- package/dist/shared/chunk-SL7Z3GQ3.js +3 -0
- package/dist/shared/chunk-SWYQ3FFG.js +3 -0
- package/dist/shared/{chunk-GWYPUQKB.js → chunk-USY5UTOD.js} +1 -1
- package/dist/shared/chunk-WM2UTLK4.js +3 -0
- package/dist/shared/chunk-WQSHHZ2H.js +3 -0
- package/dist/shared/chunk-XQL4ADA4.js +3 -0
- package/dist/shared/{chunk-GWILRHYI.js → chunk-XWB5P4CM.js} +1 -1
- package/dist/shared/chunk-XWRCWW3P.js +3 -0
- package/dist/shared/datarecords/types.d.ts +3 -3
- package/dist/shared/datasources/types.d.ts +15 -33
- package/dist/shared/datasources/types.d.ts.map +1 -1
- package/dist/shared/datasources/types.js +1 -1
- package/dist/shared/datasources.d.ts +7 -12
- package/dist/shared/datasources.d.ts.map +1 -1
- package/dist/shared/datasources.js +1 -1
- package/dist/shared/layout-constants.js +1 -1
- package/dist/shared/page.d.ts +1 -0
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +1 -1
- package/dist/shared/site.d.ts +13 -24
- 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 +2 -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 +2 -1
- package/dist/shared/utils/typed-ref.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/shared/bricks/props/datasource-ref.d.ts +0 -14
- package/dist/shared/bricks/props/datasource-ref.d.ts.map +0 -1
- package/dist/shared/bricks/props/datasource-ref.js +0 -3
- package/dist/shared/chunk-3EA3PDY3.js +0 -3
- package/dist/shared/chunk-3L4QG6AJ.js +0 -3
- package/dist/shared/chunk-6XTAAT6E.js +0 -3
- package/dist/shared/chunk-ASUBTHRW.js +0 -3
- package/dist/shared/chunk-BEPCQWZN.js +0 -3
- package/dist/shared/chunk-BXWH4YCJ.js +0 -3
- package/dist/shared/chunk-FP5CRUZH.js +0 -3
- package/dist/shared/chunk-G7PZ4H5H.js +0 -5
- package/dist/shared/chunk-I6GBLCBK.js +0 -3
- package/dist/shared/chunk-JVEHSONJ.js +0 -3
- package/dist/shared/chunk-JWDS7DVS.js +0 -3
- package/dist/shared/chunk-L6O4UKSS.js +0 -3
- package/dist/shared/chunk-L7BZGNB2.js +0 -3
- package/dist/shared/chunk-M56NNPVI.js +0 -3
- package/dist/shared/chunk-N3FHTP5P.js +0 -3
- package/dist/shared/chunk-OKGREWGM.js +0 -3
- package/dist/shared/chunk-R3KGKTMJ.js +0 -3
- package/dist/shared/chunk-RUEIDZT6.js +0 -3
- package/dist/shared/chunk-VU7NBXYI.js +0 -3
- package/dist/shared/chunk-WJLCWOXX.js +0 -3
- package/dist/shared/chunk-YAH55ZYR.js +0 -3
- package/dist/shared/chunk-YGLHFAEP.js +0 -3
- package/dist/shared/chunk-YJGNZ3MY.js +0 -3
- package/dist/shared/chunk-ZFBCYXBD.js +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upstart.gg/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.122",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"usehooks-ts": "3.1.0",
|
|
60
60
|
"zundo": "2.3.0",
|
|
61
61
|
"zustand": "4.5.5",
|
|
62
|
-
"@upstart.gg/style-system": "0.0.
|
|
62
|
+
"@upstart.gg/style-system": "0.0.122"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@headlessui/react": "^2.2.1",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type SchemaOptions, type Static } from "@sinclair/typebox";
|
|
2
|
-
export declare function datasourceRef(options?: SchemaOptions): import("@sinclair/typebox").TObject<{
|
|
3
|
-
id: import("@sinclair/typebox").TString;
|
|
4
|
-
mapping: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
5
|
-
filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
6
|
-
op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">, import("@sinclair/typebox").TLiteral<"in">, import("@sinclair/typebox").TLiteral<"nin">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"endsWith">]>;
|
|
7
|
-
value: import("@sinclair/typebox").TString;
|
|
8
|
-
}>>>;
|
|
9
|
-
sort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>>;
|
|
10
|
-
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
11
|
-
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
12
|
-
}>;
|
|
13
|
-
export type DatasourceRefSettings = Static<ReturnType<typeof datasourceRef>>;
|
|
14
|
-
//# sourceMappingURL=datasource-ref.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datasource-ref.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/datasource-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,aAAa,EAAE,KAAK,MAAM,EAAsB,MAAM,mBAAmB,CAAC;AAG9F,wBAAgB,aAAa,CAAC,OAAO,GAAE,aAAkB;;;;;;;;;;GAoDxD;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{Type as t}from"@sinclair/typebox";function r(e={}){return t.Object({id:t.String({title:"Data Source ID"}),mapping:t.Record(t.String(),t.String(),{description:"Mapping of data source fields to brick props"}),filters:t.Optional(t.Record(t.String(),t.Object({op:t.Union([t.Literal("eq"),t.Literal("ne"),t.Literal("lt"),t.Literal("lte"),t.Literal("gt"),t.Literal("gte"),t.Literal("in"),t.Literal("nin"),t.Literal("contains"),t.Literal("startsWith"),t.Literal("endsWith")]),value:t.String()}),{description:"Filter data source records"})),sort:t.Optional(t.Record(t.String(),t.Union([t.Literal("asc",{title:"Ascending"}),t.Literal("desc",{title:"Descending"})]),{description:"Sort data source records"})),limit:t.Optional(t.Number({description:"Limit the number of records to fetch"})),offset:t.Optional(t.Number({description:"Offset the records to fetch"}))},{"ui:field":"datasource-ref","ui:meta-type":"datasource-ref",title:"Database",description:"Datasource reference. Only used for dynamic websites. Do not use for static websites",...e})}export{r as datasourceRef};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as c}from"./chunk-GJMMLM6H.js";import{a as d}from"./chunk-3EM3B4DX.js";import{b as s}from"./chunk-WCZVFBSW.js";import{b as o,d as r}from"./chunk-VU7NBXYI.js";import{b as p}from"./chunk-OKGREWGM.js";import{b as i}from"./chunk-Z7UVZLR3.js";import{a as n}from"./chunk-JWDS7DVS.js";import{c as m}from"./chunk-R3KGKTMJ.js";import{c as a}from"./chunk-2IYSJYNE.js";import{a as e}from"./chunk-SFKZAUPW.js";import{Type as t}from"@sinclair/typebox";import{BsDatabaseDown as f}from"react-icons/bs";var C=n({type:"dynamic",category:"container",name:"Dynamic",description:"A dynamic container that fetches data from your database and constructs bricks from it.",isContainer:!0,defaultWidth:{desktop:"auto",mobile:"100%"},defaultHeight:{desktop:"auto"},icon:f,props:m({background:t.Optional(i()),alignItems:t.Optional(e(["items-start","items-center","items-end","items-stretch"],{enumNames:["Start","Center","End","Stretch"],default:"items-stretch",title:"Align bricks",description:"Align bricks","ui:placeholder":"Not specified","ui:styleId":"styles:alignItems"})),gap:t.Optional(a({title:"Gap",default:"10px",description:"Space between bricks.","ai:instructions":"Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified","ui:styleId":"styles:gap"})),padding:t.Optional(p({default:"p-1"})),rounding:t.Optional(r({default:"rounded-md"})),border:t.Optional(o()),shadow:t.Optional(s()),datasource:c(),...d()})}),I=[];export{C as a,I as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{Type as t}from"@sinclair/typebox";import{Type as e}from"@sinclair/typebox";import{Type as o}from"@sinclair/typebox";var r=o.Object({refreshInterval:o.Optional(o.Number())});var s=e.Composite([r,e.Object({channelId:e.String(),order:e.Optional(e.String()),maxResults:e.Optional(e.Number()),regionCode:e.Optional(e.String()),relevanceLanguage:e.Optional(e.String())})]);import{Type as i}from"@sinclair/typebox";var n=i.Composite([r,i.Object({url:i.String({format:"uri"}),headers:i.Optional(i.Record(i.String(),i.String()))})]);import{Type as a}from"@sinclair/typebox";var p=a.Composite([r,a.Object({url:a.String({format:"uri"})})]);var N=t.Union([t.Literal("rss"),t.Literal("youtube-list"),t.Literal("http-json"),t.Literal("internal-blog"),t.Literal("internal-changelog"),t.Literal("internal-faq"),t.Literal("internal-links"),t.Literal("internal-recipes")]),l=t.Union([t.Object({provider:t.Literal("youtube-list"),options:s}),t.Object({provider:t.Literal("rss"),options:p}),t.Object({provider:t.Literal("internal-blog"),options:t.Optional(t.Object({},{additionalProperties:!0}))}),t.Object({provider:t.Literal("internal-changelog"),options:t.Optional(t.Object({},{additionalProperties:!0}))}),t.Object({provider:t.Literal("internal-faq"),options:t.Optional(t.Object({},{additionalProperties:!0}))}),t.Object({provider:t.Literal("internal-links"),options:t.Optional(t.Object({},{additionalProperties:!0}))}),t.Object({provider:t.Literal("internal-recipes"),options:t.Optional(t.Object({},{additionalProperties:!0}))})]),c=t.Composite([l,t.Object({id:t.String({title:"ID",description:"Unique identifier of the datasource. Used to reference the datasource in the system. Use a url-safe string like a slug."}),name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),schema:t.Null({description:"Always null for provider datasources. The schema is defined by the provider."}),sampleData:t.Optional(t.Any()),ttlMinutes:t.Optional(t.Number({title:"Time to live",description:"Time to live in minutes. If set to -1, it never expires and has to be manually refreshed. If set to 0, the datasource is always fetched live. If > 0, then the datasource is feteched every N minutes."})),refresh:t.Optional(t.Object({method:t.Union([t.Literal("interval"),t.Literal("manual"),t.Literal("live")]),interval:t.Optional(t.Number())},{title:"Refresh options",description:"Options to refresh the datasource"}))})]),d=t.Object({id:t.String({title:"ID",description:"Unique identifier of the datasource. Used to reference the datasource in the system. Use a url-safe string like a slug."}),provider:t.Literal("custom",{title:"Custom",description:"Custom datasource saved locally in Upstart."}),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Any({title:"Schema",description:"JSON Schema of datasource. Always an array of objects."}),name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),indexes:t.Optional(t.Array(t.Object({name:t.String({title:"Index name"}),fields:t.Array(t.String(),{title:"Fields to index"}),unique:t.Optional(t.Boolean({title:"Unique index",default:!1}))}),{title:"Indexes",description:"IMPORTANT: Indexes to create on the datasource. use it to enforce uniqueness or improve query performance."})),sampleData:t.Array(t.Ref("datasource:custom"),{title:"Sample data",description:"Sample data (examples) for the datasource. Should match the declared schema."})},{$id:"datasource:custom"}),m=t.Object({id:t.String({title:"ID",description:"Unique identifier of the datasource. Used to reference the datasource in the system. Use a url-safe string like a slug."}),provider:t.Literal("http-json",{title:"JSON Array",description:"JSON array datasource."}),options:n,schema:t.Any({title:"Schema",description:"JSON Schema of datasource. Always an array of objects.",examples:[{type:"array",items:{type:"object",properties:{id:{type:"string",title:"ID"},title:{type:"string",title:"Title"},firstname:{type:"string",title:"Firstname"},lastname:{type:"string",title:"Lastname"},createdAt:{type:"string",format:"date-time",title:"Created at"},email:{type:"string",format:"email",title:"Email"}},required:["id","title","firstname","lastname","email","createdAt"],title:"Employee"},title:"Employees",description:"Employees list"}]}),name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),sampleData:t.Optional(t.Any({title:"Sample data",description:"Sample data for the datasource. Should match the declared schema."}))}),u=t.Union([d,m,c]),I=t.Array(u);export{N as a,u as b,I as c};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as e}from"./chunk-SFKZAUPW.js";import{a as n}from"./chunk-EJGNYD4V.js";function r(t={}){return e(["justify-start","justify-center","justify-end","justify-between","justify-around"],{enumNames:["Start","Center","End","Between","Around"],$id:"styles:justifyContent",title:"Justify bricks","ui:responsive":!0,"ui:styleId":"styles:justifyContent",...t})}function u(t={}){return n("styles:justifyContent",t)}function o(t={}){return e(["items-start","items-center","items-end","items-stretch"],{enumNames:["Start","Center","End","Stretch"],$id:"styles:alignItems",title:"Align bricks","ui:responsive":!0,"ui:styleId":"styles:alignItems",...t})}function y(t={}){return n("styles:alignItems",t)}export{r as a,u as b,o as c,y as d};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as e}from"./chunk-YIFNKP4J.js";import{a as t}from"./chunk-JWDS7DVS.js";import{c as p}from"./chunk-R3KGKTMJ.js";import{CgSpaceBetween as r}from"react-icons/cg";import{Type as o}from"@sinclair/typebox";var l=t({type:"spacer",name:"Spacer",category:"container",description:"A flexible element to create space between bricks.",repeatable:!0,staticClasses:"self-stretch",minWidth:{desktop:50,mobile:20},defaultWidth:{mobile:"100%",desktop:"50px"},minHeight:{mobile:30},icon:r,props:p({autogrow:o.Optional(e("Auto-grow",!1,{description:"If enabled, the spacer will automatically grow to fill available space."}))})}),m=[{description:"Transparent spacer of 100px wide",type:"spacer",props:{width:"100px"}},{description:"Transparent spacer of 20px wide",type:"spacer",props:{width:"20px"}}];export{l as a,m as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as o}from"./chunk-MPBYGS6W.js";import{a as s}from"./chunk-L42YBY5I.js";import{b as n}from"./chunk-L7BZGNB2.js";import{b as l}from"./chunk-M56NNPVI.js";import{b as p}from"./chunk-N3FHTP5P.js";import{c as a}from"./chunk-2IYSJYNE.js";import{a as i}from"./chunk-SFKZAUPW.js";import{Type as t}from"@sinclair/typebox";import{customAlphabet as u}from"nanoid";var m=u("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."}))}),b=i(Object.keys(n),{title:"Brick type"}),y=t.Object({id:t.String({title:"ID",description:"A unique identifier for the brick."}),type:b,props:t.Any({title:"Props",description:"The props of the brick. The available props depends on the brick type."}),mobileProps:t.Optional(t.Any({title:"Props",description:"The props for mobile, merged with desktop props."}))},{$id:"brick",additionalProperties:!0}),c=t.Object({backgroundColor:t.Optional(l({title:"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(a({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.",description:"The horizontal alignment of bricks within the section.","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",description:"The vertical alignment of bricks within the section.","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(a({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"}),h=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(y)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."}),f=p(h.properties.props);function N(e){return e.map(r=>({...r,props:o({},f,r.props),bricks:r.bricks.map(d).filter(Boolean)}))}function d(e){let r=n[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)}function j(e){let r={...n[e].props};return{id:`b-${m()}`,type:e,props:r}}export{m as a,b,y as c,c as d,h as e,f,N as g,d as h,j as i};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as m}from"./chunk-3EM3B4DX.js";import{b as s}from"./chunk-WVZGGVII.js";import{b as a}from"./chunk-WCZVFBSW.js";import{b as o,d as i}from"./chunk-6XTAAT6E.js";import{b as r}from"./chunk-VU7NBXYI.js";import{b as n}from"./chunk-OKGREWGM.js";import{b as e}from"./chunk-Z7UVZLR3.js";import{a as f}from"./chunk-JWDS7DVS.js";import{c as l}from"./chunk-R3KGKTMJ.js";import{c as p}from"./chunk-2IYSJYNE.js";import{Type as t}from"@sinclair/typebox";import{RxBox as c}from"react-icons/rx";var w=f({type:"box",category:"container",name:"Box",description:"A box for stacking bricks horizontally or vertically",isContainer:!0,defaultWidth:{desktop:"auto",mobile:"100%"},defaultHeight:{desktop:"auto"},icon:c,props:l({direction:s({default:"flex-col",title:"Direction",description:"Direction of the box layout"}),justifyContent:t.Optional(o({default:"justify-start"})),alignItems:t.Optional(i({})),gap:t.Optional(p({title:"Gap",default:"10px",description:"Space between bricks.","ai:instructions":"Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified","ui:styleId":"styles:gap"})),background:t.Optional(e()),border:t.Optional(r()),padding:t.Optional(n({default:"p-1"})),shadow:t.Optional(a()),...m()})}),P=[];export{w as a,P as b};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{d as o}from"./chunk-DBSKZ77G.js";import{b as l}from"./chunk-M56NNPVI.js";import{b as n}from"./chunk-WCZVFBSW.js";import{d as r}from"./chunk-6XTAAT6E.js";import{b as a}from"./chunk-VU7NBXYI.js";import{b as i}from"./chunk-OKGREWGM.js";import{a as s}from"./chunk-JWDS7DVS.js";import{c}from"./chunk-R3KGKTMJ.js";import{a as t}from"./chunk-SFKZAUPW.js";import{RxTextAlignLeft as p}from"react-icons/rx";import{Type as e}from"@sinclair/typebox";var C=s({type:"text",category:"basic",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:p,props:c({color:e.Optional(l({title:"Color","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{main:"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:{main:"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:{main:"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:{main:"from-primary-500 to-primary-700 text-primary-content border-primary"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary dark",value:{main:"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:{main:"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:{main:"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:{main:"from-secondary-300 to-secondary-500 text-secondary-content-light border-secondary"}},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{main:"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:{main:"from-secondary-500 to-secondary-700 text-secondary-content border-secondary"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary dark",value:{main:"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:{main:"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:{main:"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:{main:"from-accent-300 to-accent-500 text-accent-content-light border-accent"}},accent:{previewBgClass:"bg-accent text-accent-content",label:"Accent",value:{main:"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:{main:"from-accent-500 to-accent-700 text-accent-content border-accent"}},"accent-dark":{previewBgClass:"bg-accent-dark text-accent-content",label:"Accent dark",value:{main:"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:{main:"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:{main:"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:{main:"from-neutral-300 to-neutral-500 text-neutral-content-light border-neutral"}},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{main:"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:{main:"from-neutral-500 to-neutral-700 text-neutral-content border-neutral"}},"neutral-dark":{previewBgClass:"bg-neutral-dark text-neutral-content",label:"Neutral dark",value:{main:"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:{main:"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:{main:"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:{main:"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:{main:"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:{main:"bg-base-100 text-base-content border-accent"}},none:{label:"None",value:{}}},default:"base100"})),gradientDirection:e.Optional(t(["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:(g,d)=>d.color?.includes("gradient")===!0}})),content:o(),verticalAlign:e.Optional(r({default:"items-start"})),padding:e.Optional(i({default:"p-4"})),border:e.Optional(a()),shadow:e.Optional(n())},{default:{padding:"p-8"}})}),S=[{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{C as a,S as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{c as l}from"./chunk-BEPCQWZN.js";import{a as i,d as n}from"./chunk-ZKGRZ5CN.js";import{b as o,d as r}from"./chunk-VU7NBXYI.js";import{a}from"./chunk-JWDS7DVS.js";import{c as p}from"./chunk-R3KGKTMJ.js";import{a as t}from"./chunk-SFKZAUPW.js";import{Type as e}from"@sinclair/typebox";import{RxButton as s}from"react-icons/rx";var k=a({type:"button",name:"Button",repeatable:!0,category:"basic",description:"A button with text and optional icon",resizable:"horizontal",icon:s,maxHeight:{desktop:l*2},minWidth:{desktop:120,mobile:120},defaultWidth:{mobile:"100%"},props:p({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","ui:responsive":"desktop"}),label:i("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","ui:responsive":"desktop"}),rounding:e.Optional(r({default:"rounded-md"})),border:e.Optional(o({default:"border-0","ui:responsive":"desktop"})),linkToUrlOrPageId:e.Optional(n({title:"Link",metadata:{category:"content"}}))})}),z=[{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{k as a,z as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as v}from"./chunk-EB5C6DYF.js";import{c as g,e as u}from"./chunk-ZKGRZ5CN.js";import{a as o}from"./chunk-G23RXTRB.js";import{a as y,c as S}from"./chunk-DBSKZ77G.js";import{a as b}from"./chunk-M56NNPVI.js";import{a as m,c}from"./chunk-PYR54IIV.js";import{a as x}from"./chunk-WVZGGVII.js";import{a as f,c as h}from"./chunk-WCZVFBSW.js";import{a,c as r}from"./chunk-6XTAAT6E.js";import{a as i,c as n}from"./chunk-VU7NBXYI.js";import{a as j}from"./chunk-OKGREWGM.js";import{a as s,c as d}from"./chunk-Z7UVZLR3.js";import{a as p}from"./chunk-YGLHFAEP.js";import{b as l}from"./chunk-2IYSJYNE.js";import E from"ajv";import I from"ajv-formats";var e=new E({useDefaults:!0,strictSchema:!1,validateSchema:!1,coerceTypes:!0,allErrors:!0,inlineRefs:!1});e.addSchema(s(),"styles:background");e.addSchema(d(),"styles:backgroundColor");e.addSchema(a(),"styles:justifyContent");e.addSchema(r(),"styles:alignItems");e.addSchema(o(),"styles:basicGap");e.addSchema(n(),"styles:rounding");e.addSchema(y(),"styles:fontSize");e.addSchema(p(),"styles:hidden");e.addSchema(x(),"styles:direction");e.addSchema(c(),"styles:gradientDirection");e.addSchema(i(),"styles:border");e.addSchema(j(),"styles:padding");e.addSchema(m(),"styles:color");e.addSchema(f(),"styles:shadow");e.addSchema(h(),"styles:textShadow");e.addSchema(l(),"styles:cssLength");e.addSchema(v(),"assets:image");e.addSchema(u(),"assets:icon");e.addSchema(S(),"content:textContent");e.addSchema(g(),"content:urlOrPageId");e.addSchema(b(),"presets:color");var P=["date-time","time","date","email","hostname","ipv4","ipv6","uri","uri-reference","uuid","uri-template","json-pointer","relative-json-pointer","regex"];I(e,[...P]);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 X(t){return!t||t.length===0?"Unknown validation error":t.map(O=>{let{instancePath:w,message:F,params:k}=O,C=w||"root",N=Object.entries(k||{}).map(([$,D])=>`${$}: ${D}`).join(", ");return`${C} ${F} (${N})`}).join("; ")}export{e as a,P as b,X as c};
|
|
@@ -1,3 +0,0 @@
|
|
|
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 g({props:e,defaultHeight:r,defaultWidth:o,category:i="widgets",isContainer:a=!1,hideInLibrary:s=!1,deletable:n=!0,movable:p=!0,resizable:c=!0,repeatable:l=!1,duplicatable:b=!0,defaultInspectorTab:d="preset",icon:m,...u}){return{...u,icon:m,props:e,category:i,defaultInspectorTab:d,hideInLibrary:s,deletable:n,movable:p,resizable:c,repeatable:l,duplicatable:b,isContainer:a,defaultWidth:{mobile:o?.mobile??"auto",desktop:o?.desktop??"auto"},defaultHeight:{mobile:r?.mobile??"auto",desktop:r?.desktop??"auto"}}}function k(e){return{...e,props:t(e.props),...e.datasource?{datasource:t(e.datasource)}:{}}}export{g as a,k as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{d as t,f as n}from"./chunk-ZKGRZ5CN.js";import{b as o}from"./chunk-PYR54IIV.js";import{a as p}from"./chunk-JWDS7DVS.js";import{c as r}from"./chunk-R3KGKTMJ.js";import{c as e}from"./chunk-2IYSJYNE.js";import{PiConfetti as c}from"react-icons/pi";import{Type as i}from"@sinclair/typebox";var u=p({type:"icon",name:"Icon",category:"basic",description:"An icon with optional text",repeatable:!0,resizable:!1,icon:c,props:r({icon:n({default:"mdi:heart"}),size:i.Optional(e({title:"Size",description:"The size of the icon. Can be a CSS length value (e.g. '2em', '24px')",default:"1em","ui:css-units":["em","rem","px"],"ai:instructions":"Use 'em', 'rem', or 'px' for units. Example: '2em', '24px'"})),color:i.Optional(o({title:"Color",default:"currentColor"})),link:i.Optional(t({title:"Link"}))})}),g=[{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{u as a,g as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as b,b as I}from"./chunk-G7PZ4H5H.js";import{a as u,b as J}from"./chunk-YAH55ZYR.js";import{a as y,b as q}from"./chunk-RUEIDZT6.js";import{b as l,c as w}from"./chunk-23RG3W2X.js";import{b as x,c as z}from"./chunk-3OGAJIKA.js";import{b as c,c as A}from"./chunk-3CXVWU5K.js";import{a as M,b as C}from"./chunk-GWYPUQKB.js";import{a as E,b as F}from"./chunk-YJGNZ3MY.js";import{a as d,b as G}from"./chunk-ASUBTHRW.js";import{a as g,b as H}from"./chunk-ZFBCYXBD.js";import{a as s,b as v}from"./chunk-I6GBLCBK.js";import{a as p,b as D}from"./chunk-WJLCWOXX.js";import{a as m,b as R}from"./chunk-B5BHH5ZS.js";import{a as i,b as h}from"./chunk-3EA3PDY3.js";import{a as o,b as L}from"./chunk-FYZJUJEF.js";import{a as r,b as W}from"./chunk-3D7E2JXE.js";import{a as f,b as P}from"./chunk-CUC7CI6R.js";import{a as n,b as j}from"./chunk-L6O4UKSS.js";import{a as t,b as k}from"./chunk-VW5IBZWH.js";import{a,b as B}from"./chunk-FP5CRUZH.js";import{b as e}from"./chunk-JWDS7DVS.js";var re={[b.type]:b,[f.type]:f,[y.type]:y,[u.type]:u,[p.type]:p,[x.type]:x,[r.type]:r,[M.type]:M,[l.type]:l,[m.type]:m,[c.type]:c,[o.type]:o,[s.type]:s,[n.type]:n,[E.type]:E,[a.type]:a,[i.type]:i,[d.type]:d,[g.type]:g,[t.type]:t},fe={[b.type]:e(b),[f.type]:e(f),[y.type]:e(y),[u.type]:e(u),[p.type]:e(p),[M.type]:e(M),[x.type]:e(x),[r.type]:e(r),[l.type]:e(l),[m.type]:e(m),[c.type]:e(c),[o.type]:e(o),[s.type]:e(s),[n.type]:e(n),[E.type]:e(E),[a.type]:e(a),[i.type]:e(i),[d.type]:e(d),[g.type]:e(g),[t.type]:e(t)},ne={[b.type]:I,[f.type]:P,[y.type]:q,[u.type]:J,[p.type]:D,[x.type]:z,[r.type]:W,[M.type]:C,[l.type]:w,[m.type]:R,[c.type]:A,[o.type]:L,[s.type]:v,[n.type]:j,[E.type]:F,[a.type]:B,[i.type]:h,[d.type]:G,[g.type]:H,[t.type]:k};export{re as a,fe as b,ne as c};
|
|
@@ -1,3 +0,0 @@
|
|
|
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};
|
|
@@ -1,3 +0,0 @@
|
|
|
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};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as e}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-EJGNYD4V.js";function d(){return e(["p-0","p-px","p-1","p-2","p-4","p-6","p-8","p-10","p-12","p-16","p-24"],{title:"Padding",$id:"styles:padding",enumNames:["No padding","Minimal","S","M","L","XL","2XL","3XL","4XL","6XL","7XL"],description:"Space between the content and the border","ai:instructions":"Can be a tailwind class like `p-4` or a custom value like `p-[16px]`.","ui:field":"enum","ui:responsive":!0,"ui:styleId":"styles:padding"})}function a(i={}){return t("styles:padding",{...i,"ui:styleId":"styles:padding"})}export{d as a,a as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{b as s}from"./chunk-YGLHFAEP.js";import{Type as r}from"@sinclair/typebox";function u(t){return t.type==="object"}function f({title:t,children:e,category:o="settings",metadata:a,options:n}){return u(e)?r.Composite([r.Object({}),e],{title:t,metadata:{category:o,group:!0,...a},...n}):r.Object(e,{title:t,...n,metadata:{category:o,group:!0,...a}})}function m(t){let e=t.metadata;return{title:t.title??t.metadata?.title,meta:e,tab:e.groupTab||"common"}}function P(t,e){let o={...s,...t},{alignSelf:a,growHorizontally:n,...p}=o,i={...e?.noAlignSelf?{}:{alignSelf:a},...e?.noGrow?{}:{growHorizontally:n},...p};return r.Object(i,e)}var g=r.Array;export{f as a,m as b,P as c,g as d};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{b as i}from"./chunk-EB5C6DYF.js";import{a as o}from"./chunk-ZKGRZ5CN.js";import{b as t}from"./chunk-WCZVFBSW.js";import{b as a}from"./chunk-OKGREWGM.js";import{a as r}from"./chunk-JWDS7DVS.js";import{c as p}from"./chunk-R3KGKTMJ.js";import{RxImage as s}from"react-icons/rx";import{Type as e}from"@sinclair/typebox";var f=r({type:"image",name:"Image",category:"media",description:"An image brick",repeatable:!0,defaultWidth:{desktop:"300px",mobile:"100%"},icon:s,props:p({image:i(),padding:e.Optional(a()),shadow:e.Optional(t()),blurHash:e.Optional(o("Blur Hash",{"ui:field":"hidden",description:"A placeholder for the image while it is loading. Use a blur hash string."})),author:e.Optional(e.Object({name:o("Image Author",{"ui:field":"hidden",description:"Image author. Use this to give credit to the author"}),url:o("Image Author URL",{"ui:field":"hidden",description:"Image author URL. Use this to give credit to the author"})})),provider:e.Optional(o("Image Provider",{"ui:field":"hidden",description:"Image provider. Use this to give credit to the author","ai:instructions":"The provider of the image, e.g. 'unsplash', 'pexels', etc."}))})}),w=[{description:"Hero landscape image with shadow",type:"image",props:{image:{src:"https://via.placeholder.com/800x400.png?text=Hero+Landscape",alt:"Beautiful landscape view for hero section"},shadow:"shadow-lg"}},{description:"Team member profile photo",type:"image",props:{image:{src:"https://via.placeholder.com/300x300.png?text=Profile+Photo",alt:"Team member profile photo"},shadow:"shadow-md"}},{description:"Product showcase image",type:"image",props:{image:{src:"https://via.placeholder.com/400x400.png?text=Product+Image",alt:"Premium product showcase"},shadow:"shadow-sm"}},{description:"Blog article featured image",type:"image",props:{image:{src:"https://via.placeholder.com/600x300.png?text=Article+Featured",alt:"Featured image for blog article"},author:{name:"John Photographer",url:"https://example.com/john"},provider:"unsplash",shadow:"shadow-md"}},{description:"Gallery thumbnail with hover effect",type:"image",props:{image:{src:"https://via.placeholder.com/250x250.png?text=Gallery+Thumb",alt:"Gallery thumbnail image"},shadow:"shadow-md"}},{description:"Logo image with padding",type:"image",props:{image:{src:"https://via.placeholder.com/200x80.png?text=Company+Logo",alt:"Company logo"},padding:"p-8",shadow:"shadow-sm"}},{description:"Testimonial customer photo",type:"image",props:{image:{src:"https://via.placeholder.com/120x120.png?text=Customer",alt:"Happy customer testimonial photo"},shadow:"shadow-lg",padding:"p-2"}},{description:"Event banner image",type:"image",props:{image:{src:"https://via.placeholder.com/800x200.png?text=Event+Banner",alt:"Annual conference event banner"},shadow:"shadow-xl",author:{name:"Event Photographer",url:"https://example.com/photographer"},provider:"pexels"}},{description:"Illustration with background",type:"image",props:{image:{src:"https://via.placeholder.com/150x150.png?text=Blabla+Feature",alt:"Feature illustration"},padding:"p-8",shadow:"shadow-sm"}},{description:"Image with blurHash",type:"image",props:{image:{src:"https://via.placeholder.com/300x200.png?text=Card+Image",alt:"My image"},shadow:"shadow-md",blurHash:"L6PZfSi_.AyE_3t7t7R**0o#DgR4"}}];export{f as a,w as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as e}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-EJGNYD4V.js";import{Type as o}from"@sinclair/typebox";function u(r={}){return e(["border-0","border","border-2","border-4","border-8"],{title:"Border",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","ui:styleId":"styles:border","ui:responsive":"desktop",$id:"styles:border",default:"border-0",...r})}function p(r={}){return t("styles:border",r)}function s(r={}){return o.Optional(e(["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"],$id:"styles:rounding","ui:styleId":"styles:rounding",...r}))}function l(r={}){return t("styles:rounding",r)}export{u as a,p as b,s as c,l as d};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{b as l}from"./chunk-EB5C6DYF.js";import{d as r}from"./chunk-DBSKZ77G.js";import{b as c}from"./chunk-M56NNPVI.js";import{b as i}from"./chunk-WCZVFBSW.js";import{b as n,d as o}from"./chunk-VU7NBXYI.js";import{a as d}from"./chunk-JWDS7DVS.js";import{c as s}from"./chunk-R3KGKTMJ.js";import{a}from"./chunk-SFKZAUPW.js";import{BsCardText as g}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var T=d({type:"card",name:"Card",description:"A card that can have a title, image, and content",repeatable:!0,icon:g,defaultWidth:{desktop:"400px",mobile:"100%"},minWidth:{desktop:400},minHeight:{mobile:200,desktop:200},maxWidth:{desktop:650},props:s({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:(p,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:(p,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"})),rounding:e.Optional(o({default:"rounded-md"})),border:e.Optional(n({default:"border"})),shadow:e.Optional(i())})}),P=[{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{T as a,P as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as o}from"./chunk-ZKGRZ5CN.js";import{b as e}from"./chunk-WCZVFBSW.js";import{b as t}from"./chunk-OKGREWGM.js";import{a as i}from"./chunk-JWDS7DVS.js";import{c as p}from"./chunk-R3KGKTMJ.js";import{RxVideo as d}from"react-icons/rx";import{Type as r}from"@sinclair/typebox";var w=i({type:"video",name:"Video",category:"media",description:"Youtube video",repeatable:!0,icon:d,minWidth:{mobile:380,desktop:380},minHeight:{mobile:168,desktop:168},props:p({url:o("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"}),padding:r.Optional(t()),shadow:r.Optional(e())})}),b=[{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{w as a,b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{c as i}from"./chunk-2IYSJYNE.js";import{a as t}from"./chunk-SFKZAUPW.js";import{a as o}from"./chunk-EJGNYD4V.js";import{Type as e}from"@sinclair/typebox";function a(){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 s={lastTouched:e.Optional(e.Number({"ui:field":"hidden","ai:hidden":!0})),hidden:e.Optional(o("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:"Expand horizontally",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:styleId":"styles:growHorizontally"})),alignSelf:e.Optional(t(["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"})),dynamicContent:e.Optional(e.Boolean({title:"Use dynamic content",description:"If enabled, the brick will use dynamic content from the closest 'Dynamic' brick.","ai:instructions":"If set, the brick will use dynamic content from the closest brick of type 'dynamic'. It can only be set to true if the brick is a child of a 'dynamic' brick.",metadata:{category:"content"},"ui:field":"hidden"}))};export{a,s as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as t,f as i}from"./chunk-ZKGRZ5CN.js";import{b as r}from"./chunk-DBSKZ77G.js";import{b as n}from"./chunk-M56NNPVI.js";import{d as a}from"./chunk-PYR54IIV.js";import{b as l}from"./chunk-WVZGGVII.js";import{b as o}from"./chunk-OKGREWGM.js";import{a as c}from"./chunk-JWDS7DVS.js";import{c as s}from"./chunk-R3KGKTMJ.js";import{Type as e}from"@sinclair/typebox";import{TiSocialFlickr as d}from"react-icons/ti";var w=c({type:"social-links",name:"Social links",description:"A list of social media links",icon:d,defaultWidth:{mobile:"100%"},props:s({color:e.Optional(n({title:"Color","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{main:"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:{main:"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:{main:"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:{main:"from-primary-500 to-primary-700 text-primary-content border-primary"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary dark",value:{main:"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:{main:"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:{main:"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:{main:"from-secondary-300 to-secondary-500 text-secondary-content-light border-secondary"}},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{main:"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:{main:"from-secondary-500 to-secondary-700 text-secondary-content border-secondary"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary dark",value:{main:"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:{main:"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:{main:"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:{main:"from-accent-300 to-accent-500 text-accent-content-light border-accent"}},accent:{previewBgClass:"bg-accent text-accent-content",label:"Accent",value:{main:"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:{main:"from-accent-500 to-accent-700 text-accent-content border-accent"}},"accent-dark":{previewBgClass:"bg-accent-dark text-accent-content",label:"Accent dark",value:{main:"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:{main:"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:{main:"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:{main:"from-neutral-300 to-neutral-500 text-neutral-content-light border-neutral"}},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{main:"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:{main:"from-neutral-500 to-neutral-700 text-neutral-content border-neutral"}},"neutral-dark":{previewBgClass:"bg-neutral-dark text-neutral-content",label:"Neutral dark",value:{main:"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:{main:"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:{main:"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:{main:"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:{main:"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:{main:"bg-base-100 text-base-content border-accent"}},none:{label:"None",value:{}}},default:"none"})),gradientDirection:e.Optional(a("color",{default:"bg-gradient-to-br"})),links:e.Array(e.Object({icon:e.Optional(i({"ui:default-icon-collection":"cib"})),label:e.Optional(t("Label")),href:t("Link")}),{title:"Social Links",description:"List of social media links",default:[{href:"https://facebook.com/company",label:"Facebook",icon:"mdi:facebook"},{href:"https://twitter.com/company",label:"Twitter",icon:"mdi:twitter"},{href:"https://instagram.com/company",label:"Instagram",icon:"mdi:instagram"}],"ui:widget":"array","ui:displayField":"label","ui:options":{orderable:!0,removable:!0,addable:!0},metadata:{category:"content"}}),direction:e.Optional(l({default:"flex-row"})),fontSize:e.Optional(r()),padding:e.Optional(o({default:"p-2"})),icononly:e.Optional(e.Boolean({title:"Only icons",description:"If set, the brick will only display the icons without labels."}))})}),x=[{description:"Social icons displayed horizontally, without labels",type:"social-links",props:{icononly:!0,links:[{href:"https://facebook.com/company",label:"Facebook",icon:"mdi:facebook"},{href:"https://twitter.com/company",label:"Twitter",icon:"mdi:twitter"},{href:"https://instagram.com/company",label:"Instagram",icon:"mdi:instagram"}]}},{description:"Social icons displayed vertically, without labels",type:"social-links",props:{icononly:!0,direction:"flex-col",links:[{href:"https://facebook.com/company",label:"Facebook",icon:"mdi:facebook"},{href:"https://twitter.com/company",label:"Twitter",icon:"mdi:twitter"},{href:"https://instagram.com/company",label:"Instagram",icon:"mdi:instagram"}]}},{description:"Social icons displayed horizontally, with labels",type:"social-links",props:{icononly:!1,links:[{href:"https://facebook.com/company",label:"Facebook",icon:"mdi:facebook"},{href:"https://twitter.com/company",label:"Twitter",icon:"mdi:twitter"},{href:"https://instagram.com/company",label:"Instagram",icon:"mdi:instagram"},{href:"https://linkedin.com/company/company",label:"LinkedIn",icon:"mdi:linkedin"}]}},{description:"Social icons displayed vertically, with labels",type:"social-links",props:{icononly:!1,direction:"flex-col",links:[{href:"https://facebook.com/company",label:"Facebook",icon:"mdi:facebook"},{href:"https://twitter.com/company",label:"Twitter",icon:"mdi:twitter"},{href:"https://instagram.com/company",label:"Instagram",icon:"mdi:instagram"},{href:"https://linkedin.com/company/company",label:"LinkedIn",icon:"mdi:linkedin"}]}},{description:"Professional social links with labels",type:"social-links",props:{icononly:!1,links:[{href:"https://linkedin.com/in/johndoe",label:"Connect on LinkedIn",icon:"mdi:linkedin"},{href:"https://github.com/johndoe",label:"View GitHub Profile",icon:"mdi:github"},{href:"https://twitter.com/johndoe",label:"Follow on Twitter",icon:"mdi:twitter"},{href:"mailto:john@example.com",label:"Send Email",icon:"mdi:email"}]}},{description:"Creative portfolio social links (icon-only inline)",type:"social-links",props:{icononly:!0,links:[{href:"https://dribbble.com/designer",label:"Dribbble",icon:"mdi:dribbble"},{href:"https://behance.net/designer",label:"Behance",icon:"mdi:behance"},{href:"https://instagram.com/designer",label:"Instagram",icon:"mdi:instagram"},{href:"https://pinterest.com/designer",label:"Pinterest",icon:"mdi:pinterest"},{href:"https://youtube.com/designer",label:"YouTube",icon:"mdi:youtube"}]}},{description:"Developer/tech social links with labels",type:"social-links",props:{icononly:!1,direction:"flex-col",links:[{href:"https://github.com/developer",label:"GitHub",icon:"mdi:github"},{href:"https://stackoverflow.com/users/developer",label:"Stack Overflow",icon:"mdi:stack-overflow"},{href:"https://dev.to/developer",label:"Dev.to",icon:"mdi:dev-to"},{href:"https://codepen.io/developer",label:"CodePen",icon:"mdi:codepen"}]}},{description:"Music artist social platforms (block layout)",type:"social-links",props:{icononly:!0,direction:"flex-col",links:[{href:"https://spotify.com/artist/musician",label:"Listen on Spotify",icon:"mdi:spotify"},{href:"https://music.apple.com/artist/musician",label:"Apple Music",icon:"mdi:apple"},{href:"https://soundcloud.com/musician",label:"SoundCloud",icon:"mdi:soundcloud"},{href:"https://youtube.com/musician",label:"YouTube Channel",icon:"mdi:youtube"},{href:"https://bandcamp.com/musician",label:"Bandcamp",icon:"mdi:bandcamp"}]}},{description:"Business contact icons only",type:"social-links",props:{icononly:!0,links:[{href:"tel:+1234567890",label:"Phone",icon:"mdi:phone"},{href:"mailto:contact@business.com",label:"Email",icon:"mdi:email"},{href:"https://maps.google.com/business",label:"Location",icon:"mdi:map-marker"},{href:"https://business.com",label:"Website",icon:"mdi:web"}]}},{description:"Gaming content creator links (inline with labels)",type:"social-links",props:{icononly:!1,links:[{href:"https://twitch.tv/gamer",label:"Twitch",icon:"mdi:twitch"},{href:"https://youtube.com/gamer",label:"YouTube",icon:"mdi:youtube"},{href:"https://discord.gg/gamer",label:"Discord",icon:"mdi:discord"},{href:"https://tiktok.com/@gamer",label:"TikTok",icon:"mdi:tiktok"}]}},{description:"Restaurant social presence (block layout)",type:"social-links",props:{icononly:!1,direction:"flex-col",links:[{href:"https://facebook.com/restaurant",label:"Follow us on Facebook",icon:"mdi:facebook"},{href:"https://instagram.com/restaurant",label:"See photos on Instagram",icon:"mdi:instagram"},{href:"https://yelp.com/restaurant",label:"Review us on Yelp",icon:"mdi:yelp"},{href:"https://tripadvisor.com/restaurant",label:"TripAdvisor Reviews",icon:"mdi:tripadvisor"},{href:"tel:+1234567890",label:"Call for Reservations",icon:"mdi:phone"}]}},{description:"Minimal footer social icons",type:"social-links",props:{icononly:!0,direction:"flex-row",links:[{href:"https://twitter.com/company",label:"Twitter",icon:"mdi:twitter"},{href:"https://linkedin.com/company/company",label:"LinkedIn",icon:"mdi:linkedin"},{href:"mailto:hello@company.com",label:"Email",icon:"mdi:email"}]}},{description:"E-commerce store social channels (inline with labels)",type:"social-links",props:{icononly:!1,direction:"flex-row",links:[{href:"https://facebook.com/store",label:"Facebook",icon:"mdi:facebook"},{href:"https://instagram.com/store",label:"Instagram",icon:"mdi:instagram"},{href:"https://pinterest.com/store",label:"Pinterest",icon:"mdi:pinterest"},{href:"https://youtube.com/store",label:"YouTube",icon:"mdi:youtube"},{href:"https://tiktok.com/@store",label:"TikTok",icon:"mdi:tiktok"}]}}];export{w as a,x as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{b as s}from"./chunk-EB5C6DYF.js";import{a as t,f as n}from"./chunk-ZKGRZ5CN.js";import{b as o}from"./chunk-DBSKZ77G.js";import{b as c}from"./chunk-M56NNPVI.js";import{b as i}from"./chunk-OKGREWGM.js";import{a as l}from"./chunk-JWDS7DVS.js";import{c as d}from"./chunk-R3KGKTMJ.js";import{c as r}from"./chunk-2IYSJYNE.js";import{a}from"./chunk-SFKZAUPW.js";import{Type as e}from"@sinclair/typebox";import{HiOutlineChatBubbleBottomCenter as m}from"react-icons/hi2";var I=l({type:"testimonials",name:"Testimonials",description:"Display testimonials from users",defaultWidth:{desktop:"100%"},repeatable:!1,icon:m,props:d({color:e.Optional(c({title:"Color","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{card:"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:{card:"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:{card:"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:{card:"from-primary-500 to-primary-700 text-primary-content border-primary"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary dark",value:{card:"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:{card:"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:{card:"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:{card:"from-secondary-300 to-secondary-500 text-secondary-content-light border-secondary"}},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{card:"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:{card:"from-secondary-500 to-secondary-700 text-secondary-content border-secondary"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary dark",value:{card:"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:{card:"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:{card:"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:{card:"from-accent-300 to-accent-500 text-accent-content-light border-accent"}},accent:{previewBgClass:"bg-accent text-accent-content",label:"Accent",value:{card:"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:{card:"from-accent-500 to-accent-700 text-accent-content border-accent"}},"accent-dark":{previewBgClass:"bg-accent-dark text-accent-content",label:"Accent dark",value:{card:"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:{card:"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:{card:"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:{card:"from-neutral-300 to-neutral-500 text-neutral-content-light border-neutral"}},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{card:"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:{card:"from-neutral-500 to-neutral-700 text-neutral-content border-neutral"}},"neutral-dark":{previewBgClass:"bg-neutral-dark text-neutral-content",label:"Neutral dark",value:{card:"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:{card:"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:{card:"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:{card:"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:{card:"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:{card:"bg-base-100 text-base-content border-accent"}},none:{label:"None",value:{}}},default:"base100"})),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:(g,p)=>p.color?.includes("gradient")===!0}})),fontSize:e.Optional(o({"ui:no-extra-large-sizes":!0})),padding:e.Optional(i()),gap:e.Optional(r({title:"Gap",default:"26px",description:"Space between bricks.","ai:instructions":"Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified","ui:styleId":"styles:gap"})),testimonials:e.Array(e.Object({text:t("Text",{default:"Amazing product!","ui:multiline":!0,"ui:textarea-class":"h-20"}),author:t("Author",{default:"John Doe"}),company:e.Optional(t("Company")),avatar:e.Optional(s({title:"Avatar"})),socialIcon:e.Optional(n())}),{title:"Testimonials",description:"List of testimonials",default:[],"ui:tab":"content","ui:widget":"array","ui:displayField":"author","ui:options":{orderable:!0,removable:!0,addable:!0},metadata:{category:"content"}})},{default:{orientation:"horizontal"}})}),T=[{description:"SaaS platform testimonials with avatars",type:"testimonials",props:{testimonials:[{author:"Sarah Johnson",company:"TechCorp Solutions",text:"This platform has completely transformed how we manage our projects. The intuitive interface and powerful automation features have saved us countless hours.",avatar:{src:"https://via.placeholder.com/80x80.png?text=SJ",alt:"Sarah Johnson profile photo"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"StartupFlow",text:"Outstanding customer support and regular feature updates. We've been using this for over a year and it keeps getting better. Highly recommend!",avatar:{src:"https://via.placeholder.com/80x80.png?text=MC",alt:"Mike Chen profile photo"},socialIcon:"mdi:twitter"},{author:"Emily Rodriguez",company:"Digital Agency Pro",text:"The automation capabilities are game-changing. What used to take us days now happens automatically. It's like having an extra team member.",avatar:{src:"https://via.placeholder.com/80x80.png?text=ER",alt:"Emily Rodriguez profile photo"},socialIcon:"mdi:linkedin"}]}},{description:"E-commerce customer reviews",type:"testimonials",props:{testimonials:[{author:"Jessica Williams",company:"Happy Customer",text:"Amazing product quality and fast shipping! The item exceeded my expectations and the customer service was excellent when I had questions.",avatar:{src:"https://via.placeholder.com/60x60.png?text=JW",alt:"Jessica Williams customer photo"},socialIcon:"mdi:star"},{author:"David Park",text:"Five stars! Been using this product for 6 months and it's still going strong. Definitely worth the investment and I've already recommended it to friends.",avatar:{src:"https://via.placeholder.com/60x60.png?text=DP",alt:"David Park customer photo"},socialIcon:"mdi:thumbs-up"}]}},{description:"Agency client testimonials with company info",type:"testimonials",props:{testimonials:[{author:"Rachel Thompson",company:"Global Enterprises",text:"The team delivered exceptional results on time and within budget. Their creative approach and attention to detail made all the difference for our brand.",avatar:{src:"https://via.placeholder.com/70x70.png?text=RT",alt:"Rachel Thompson headshot"},socialIcon:"mdi:briefcase"},{author:"Alex Kumar",company:"Innovation Labs",text:"Working with this agency was a game-changer for our digital presence. They understood our vision and brought it to life beautifully.",avatar:{src:"https://via.placeholder.com/70x70.png?text=AK",alt:"Alex Kumar profile"},socialIcon:"mdi:lightbulb"},{author:"Maria Santos",company:"Retail Plus",text:"Professional, creative, and results-driven. Our website traffic increased by 200% after their redesign. Couldn't be happier!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MS",alt:"Maria Santos photo"},socialIcon:"mdi:chart-line"}]}},{description:"App user feedback",type:"testimonials",props:{testimonials:[{author:"Tom Wilson",text:"This app has made my daily routine so much easier. Love the clean interface and how everything just works seamlessly across all my devices.",avatar:{src:"https://via.placeholder.com/65x65.png?text=TW",alt:"Tom Wilson user photo"},socialIcon:"mdi:cellphone"},{author:"Lisa Chang",text:"Been using this app for months and it's become essential to my workflow. The latest update with AI features is incredibly impressive.",avatar:{src:"https://via.placeholder.com/65x65.png?text=LC",alt:"Lisa Chang profile picture"},socialIcon:"mdi:robot"},{author:"James Miller",text:"Simple, powerful, and reliable. Exactly what I was looking for. The customer support team is also very responsive and helpful.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JM",alt:"James Miller avatar"},socialIcon:"mdi:heart"}]}},{description:"Course/education testimonials with social icons",type:"testimonials",props:{testimonials:[{author:"Amanda Foster",company:"UX Designer",text:"This course completely changed my career trajectory. The practical projects and expert feedback helped me land my dream job in just 3 months.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AF",alt:"Amanda Foster student photo"},socialIcon:"mdi:school"},{author:"Carlos Rodriguez",company:"Software Engineer",text:"The instructors are industry experts and the content is always up-to-date. I've taken three courses here and each one exceeded my expectations.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CR",alt:"Carlos Rodriguez profile"},socialIcon:"mdi:code-tags"}]}},{description:"Simple testimonials without avatars",type:"testimonials",props:{testimonials:[{author:"Anonymous User",text:"Great service and excellent value for money. Would definitely recommend to others looking for a reliable solution.",socialIcon:"mdi:account-circle"},{author:"Verified Customer",text:"Quick delivery and exactly as described. Very satisfied with my purchase and the overall experience.",socialIcon:"mdi:check-circle"},{author:"Beta Tester",text:"Been using the beta version and it's already impressive. Looking forward to the full release with even more features.",socialIcon:"mdi:beta"}]}},{description:"Consultant testimonials with professional focus",type:"testimonials",props:{testimonials:[{author:"Dr. Patricia Lee",company:"Medical Practice Solutions",text:"The consulting services provided were invaluable to our practice. Revenue increased by 40% and patient satisfaction scores improved significantly.",avatar:{src:"https://via.placeholder.com/80x80.png?text=PL",alt:"Dr. Patricia Lee headshot"},socialIcon:"mdi:medical-bag"},{author:"Robert Kim",company:"Manufacturing Inc.",text:"Their strategic insights helped us streamline operations and reduce costs by 25%. The ROI was evident within the first quarter.",avatar:{src:"https://via.placeholder.com/80x80.png?text=RK",alt:"Robert Kim executive photo"},socialIcon:"mdi:factory"}]}},{description:"Event testimonials with social media icons",type:"testimonials",props:{testimonials:[{author:"Jennifer Adams",company:"Marketing Director",text:"Best conference I've attended in years! The networking opportunities were incredible and the speakers were top-notch industry leaders.",avatar:{src:"https://via.placeholder.com/70x70.png?text=JA",alt:"Jennifer Adams conference attendee"},socialIcon:"mdi:twitter"},{author:"Michael Brown",company:"Tech Startup Founder",text:"The workshops were incredibly practical and I left with actionable strategies I could implement immediately. Already planning to attend next year!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MB",alt:"Michael Brown participant photo"},socialIcon:"mdi:linkedin"},{author:"Sophie Chen",company:"Product Manager",text:"Amazing organization and valuable content. Met so many like-minded professionals and learned cutting-edge techniques I'm excited to try.",avatar:{src:"https://via.placeholder.com/70x70.png?text=SC",alt:"Sophie Chen attendee photo"},socialIcon:"mdi:instagram"}]}}];export{I as a,T as b};
|