@upstart.gg/sdk 0.0.110 → 0.0.111
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.js +1 -1
- package/dist/shared/attributes.d.ts.map +1 -1
- package/dist/shared/attributes.js +1 -1
- package/dist/shared/brick-manifest.d.ts +3 -1
- 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 +13 -9
- 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/button.manifest.d.ts +5 -1
- package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/button.manifest.js +1 -1
- package/dist/shared/bricks/manifests/card.manifest.d.ts +9 -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 +9 -5
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
- package/dist/shared/bricks/manifests/container.manifest.d.ts +9 -5
- package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/container.manifest.js +1 -1
- package/dist/shared/bricks/manifests/divider.manifest.d.ts +5 -1
- package/dist/shared/bricks/manifests/divider.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/divider.manifest.js +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +5 -1
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
- package/dist/shared/bricks/manifests/form.manifest.d.ts +5 -1
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.js +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +9 -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 +5 -1
- package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
- package/dist/shared/bricks/manifests/image.manifest.d.ts +9 -5
- 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 +5 -1
- 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 +9 -5
- 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 +14 -10
- 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 +13 -9
- 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 +9 -5
- 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/testimonials.manifest.d.ts +9 -5
- 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 +9 -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/timeline.manifest.d.ts +13 -9
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
- package/dist/shared/bricks/manifests/video.manifest.d.ts +9 -5
- package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/video.manifest.js +1 -1
- package/dist/shared/bricks/props/align.js +1 -1
- package/dist/shared/bricks/props/background.d.ts.map +1 -1
- package/dist/shared/bricks/props/background.js +1 -1
- package/dist/shared/bricks/props/boolean.js +1 -1
- package/dist/shared/bricks/props/border.d.ts +8 -8
- package/dist/shared/bricks/props/border.js +1 -1
- package/dist/shared/bricks/props/color.js +1 -1
- package/dist/shared/bricks/props/common.d.ts +3 -0
- 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.js +1 -1
- package/dist/shared/bricks/props/css-length.js +1 -1
- package/dist/shared/bricks/props/datasource.js +1 -1
- package/dist/shared/bricks/props/date.js +1 -1
- package/dist/shared/bricks/props/effects.d.ts.map +1 -1
- package/dist/shared/bricks/props/effects.js +1 -1
- package/dist/shared/bricks/props/enum.js +1 -1
- package/dist/shared/bricks/props/file.js +1 -1
- package/dist/shared/bricks/props/geolocation.js +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +6 -2
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
- package/dist/shared/bricks/props/helpers.js +1 -1
- package/dist/shared/bricks/props/image.js +1 -1
- package/dist/shared/bricks/props/number.js +1 -1
- package/dist/shared/bricks/props/padding.d.ts.map +1 -1
- package/dist/shared/bricks/props/padding.js +1 -1
- package/dist/shared/bricks/props/position.d.ts.map +1 -1
- package/dist/shared/bricks/props/position.js +1 -1
- package/dist/shared/bricks/props/preset.d.ts +36 -36
- package/dist/shared/bricks/props/preset.js +1 -1
- package/dist/shared/bricks/props/prop.d.ts +7 -0
- package/dist/shared/bricks/props/prop.d.ts.map +1 -0
- package/dist/shared/bricks/props/prop.js +3 -0
- package/dist/shared/bricks/props/string.js +1 -1
- package/dist/shared/bricks/props/text.js +1 -1
- package/dist/shared/bricks.d.ts +97 -57
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/{chunk-SBYJ2DNF.js → chunk-2CXXM2W3.js} +1 -1
- package/dist/shared/chunk-2VGGHXT2.js +3 -0
- package/dist/shared/chunk-3BH3SMCS.js +3 -0
- package/dist/shared/chunk-44EWU25R.js +3 -0
- package/dist/shared/chunk-4RKERLQX.js +3 -0
- package/dist/shared/chunk-5PSDNGKY.js +3 -0
- package/dist/shared/chunk-5SBENMRZ.js +3 -0
- package/dist/shared/{chunk-COJXT4AE.js → chunk-6CVEKFNN.js} +2 -2
- package/dist/shared/chunk-6CZG3CAK.js +3 -0
- package/dist/shared/{chunk-J4HAPIE4.js → chunk-7PSERG3U.js} +1 -1
- package/dist/shared/{chunk-CL72KTSY.js → chunk-7YXR7BD5.js} +2 -2
- package/dist/shared/{chunk-T4BNTUJZ.js → chunk-A3LAQ47R.js} +1 -1
- package/dist/shared/chunk-AELUNCW3.js +3 -0
- package/dist/shared/chunk-AOMEYLYG.js +3 -0
- package/dist/shared/{chunk-RYK77LRD.js → chunk-BNBTCFYW.js} +1 -1
- package/dist/shared/{chunk-P4FWHABH.js → chunk-CBORSFPQ.js} +1 -1
- package/dist/shared/chunk-CGNY4K2X.js +3 -0
- package/dist/shared/{chunk-ETEMVJ5N.js → chunk-DOKWQP5K.js} +1 -1
- package/dist/shared/{chunk-EFUCEV6J.js → chunk-FSC3MYBH.js} +1 -1
- package/dist/shared/{chunk-XQBNMLIS.js → chunk-GVY2LTLZ.js} +1 -1
- package/dist/shared/chunk-HMCJT7US.js +3 -0
- package/dist/shared/chunk-I4RDJZ7E.js +5 -0
- package/dist/shared/{chunk-GEJURLYI.js → chunk-IF7JTYZC.js} +1 -1
- package/dist/shared/chunk-IH2CD3RZ.js +3 -0
- package/dist/shared/{chunk-63X3F4KE.js → chunk-IJC7WT76.js} +1 -1
- package/dist/shared/{chunk-6HBMLMS4.js → chunk-J56IBYVK.js} +1 -1
- package/dist/shared/chunk-KPF2WWYM.js +3 -0
- package/dist/shared/chunk-KUG7UEHN.js +3 -0
- package/dist/shared/chunk-KUV5KZYH.js +3 -0
- package/dist/shared/{chunk-AUDVZ5XH.js → chunk-KWTNPGYO.js} +1 -1
- package/dist/shared/{chunk-EAXMALLF.js → chunk-L6NXGVEU.js} +1 -1
- package/dist/shared/{chunk-ZM7FO54Z.js → chunk-LXBGNROJ.js} +1 -1
- package/dist/shared/chunk-M45FSNRM.js +3 -0
- package/dist/shared/{chunk-EXAE67ZU.js → chunk-N2QHHVAQ.js} +1 -1
- package/dist/shared/chunk-NXA7A6EV.js +3 -0
- package/dist/shared/chunk-P5O7YHX7.js +3 -0
- package/dist/shared/{chunk-IGICLAXG.js → chunk-PL5CXFGN.js} +2 -2
- package/dist/shared/chunk-QH5ZBLA2.js +3 -0
- package/dist/shared/{chunk-OYIL5SCU.js → chunk-QSKUUUXU.js} +1 -1
- package/dist/shared/{chunk-4GPU3TI3.js → chunk-R3I32SUA.js} +1 -1
- package/dist/shared/chunk-RVSGUF6U.js +3 -0
- package/dist/shared/chunk-TIFCEMZV.js +3 -0
- package/dist/shared/chunk-U4OYEWZO.js +3 -0
- package/dist/shared/chunk-V7ZN7NR2.js +3 -0
- package/dist/shared/chunk-WARHNU5Z.js +3 -0
- package/dist/shared/chunk-WUYCT565.js +3 -0
- package/dist/shared/chunk-Y6A5NLZH.js +3 -0
- package/dist/shared/{chunk-GES7GCNN.js → chunk-YJBY54W7.js} +1 -1
- package/dist/shared/{chunk-FVW6TE5S.js → chunk-YZVFYTDV.js} +1 -1
- package/dist/shared/page.d.ts +8 -8
- package/dist/shared/page.js +1 -1
- package/dist/shared/responsive.d.ts +1 -1
- package/dist/shared/site.d.ts +8 -8
- 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/typed-ref.js +1 -1
- package/package.json +2 -2
- package/dist/shared/chunk-2WJ5JFCL.js +0 -5
- package/dist/shared/chunk-345A5Q4I.js +0 -3
- package/dist/shared/chunk-3G6VWQ7K.js +0 -3
- package/dist/shared/chunk-6P4BCAMF.js +0 -3
- package/dist/shared/chunk-6WRY6H5C.js +0 -3
- package/dist/shared/chunk-76ACOEIL.js +0 -3
- package/dist/shared/chunk-AJ5KETPJ.js +0 -3
- package/dist/shared/chunk-BWQVDKMZ.js +0 -3
- package/dist/shared/chunk-CYG4PX4M.js +0 -3
- package/dist/shared/chunk-EQQGW3Y3.js +0 -3
- package/dist/shared/chunk-ESZZYREQ.js +0 -3
- package/dist/shared/chunk-IEHOWRO3.js +0 -3
- package/dist/shared/chunk-JJN753J5.js +0 -3
- package/dist/shared/chunk-KJC5OW6Z.js +0 -3
- package/dist/shared/chunk-KOF7PY4F.js +0 -3
- package/dist/shared/chunk-KPRNSVFG.js +0 -3
- package/dist/shared/chunk-QG5AWSGT.js +0 -3
- package/dist/shared/chunk-RKBJTD53.js +0 -3
- package/dist/shared/chunk-SI3CEAX2.js +0 -3
- package/dist/shared/chunk-UKPBLPU2.js +0 -3
- package/dist/shared/chunk-W2HCVNRC.js +0 -3
- package/dist/shared/chunk-W67LBR3A.js +0 -3
- package/dist/shared/chunk-XAY2Q5IE.js +0 -3
- package/dist/shared/chunk-XBVKQVAV.js +0 -3
- package/dist/shared/chunk-Z2NARRFH.js +0 -3
- package/dist/shared/chunk-ZC55FZNB.js +0 -3
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{b as r}from"./chunk-M45FSNRM.js";import{b as s}from"./chunk-IH2CD3RZ.js";import{b as a}from"./chunk-CBORSFPQ.js";import{d as l}from"./chunk-LXBGNROJ.js";import{a as o}from"./chunk-R3I32SUA.js";import{a as c}from"./chunk-WARHNU5Z.js";import{c as n,d as i}from"./chunk-KUV5KZYH.js";import{a as t}from"./chunk-KUG7UEHN.js";import{TiSocialFlickr as p}from"react-icons/ti";import{Type as e}from"@sinclair/typebox";var v=c({type:"social-links",kind:"widget",name:"Social links",description:"A list of social media links",icon:p,props:n({links:e.Array(e.Object({href:o("Link"),label:i(o("Label")),icon:i(t({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",{description:"Icon to display (iconify reference)","ui:widget":"iconify"})}))})),backgroundColor:i(l()),color:i(a()),border:i(s()),shadow:i(r()),variants:e.Array(e.Union([e.Literal("icon-only",{title:"Only icons",description:"Display only icons"}),e.Literal("display-inline",{title:"Display inline",description:"Display links inline"}),e.Literal("display-block",{title:"Display block",description:"Display links as block elements"})],{title:"Variant",description:"Social links variants"}))})}),w=[{description:"Standard social media icons inline",type:"social-links",props:{variants:["icon-only","display-inline"],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 (block layout)",type:"social-links",props:{variants:["display-block"],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:{variants:["icon-only","display-inline"],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:{variants:["display-inline"],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:{variants:["display-block"],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:{variants:["icon-only","display-inline"],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:{variants:["display-inline"],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:{variants:["display-block"],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:{variants:["icon-only","display-inline"],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:{variants:["display-inline"],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{v as a,w as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as l}from"./chunk-QSKUUUXU.js";import{a as n}from"./chunk-KUG7UEHN.js";import{Type as t}from"@sinclair/typebox";function g(e="inherit",i="Font size"){return n({title:i,schema:t.Union([t.Literal("inherit",{title:"Inherit from parent"}),t.Literal("text-xs",{title:"Extra small"}),t.Literal("text-sm",{title:"Small"}),t.Literal("text-base",{title:"Base size"}),t.Literal("text-lg",{title:"Large"}),t.Literal("text-xl",{title:"Extra large"}),t.Literal("text-2xl",{title:"Extra large (2x)"}),t.Literal("text-3xl",{title:"Extra large (3x)"}),t.Literal("text-4xl",{title:"Extra large (4x)"}),t.Literal("text-5xl",{title:"Extra large (5x)"}),t.Literal("text-6xl",{title:"Extra large (6x)"}),t.Literal("text-7xl",{title:"Extra large (7x)"})],{default:e,"ui:styleId":"styles:fontSize","ui:field":"enum","ui:display":"select"})})}function f({title:e="Text",default:i,showInSettings:a,disableSizing:r=!1,disableAlignment:o=!1}={}){return n({title:e,description:"Text content. Can contain basic HTML tags like `<strong>`, `<em>`, `<br>` and `<a>` as well as `<p>` and `<span>` and lists <ul> <ol> <li>.",schema:t.String({$id:"content:text",default:i??"My text","ui:disable-sizing":r,"ui:disable-alignment":o,"ui:field":a?"string":"hidden"})})}function d(e={}){return l("content:text",e)}export{g as a,f as b,d as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{b as s}from"./chunk-
|
|
4
|
-
There is no need to define the form fields manually and the form does not accept any children`,isContainer:!1,icon:d,props:
|
|
3
|
+
import{b as s}from"./chunk-CBORSFPQ.js";import{b as a}from"./chunk-YZVFYTDV.js";import{d as n}from"./chunk-LXBGNROJ.js";import{a as o}from"./chunk-R3I32SUA.js";import{a as p}from"./chunk-WARHNU5Z.js";import{c as i,d as e}from"./chunk-KUV5KZYH.js";import{a as r}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-KUG7UEHN.js";import{FaWpforms as d}from"react-icons/fa6";var b=p({type:"form",kind:"widget",name:"Form",description:"A form element",aiInstructions:`The form brick automatically renders form fields based on the datarecord id provided in the props.
|
|
4
|
+
There is no need to define the form fields manually and the form does not accept any children`,isContainer:!1,icon:d,props:i({title:e(o("Title",{description:"The title of the form",default:"My form"})),intro:e(o("Intro",{description:"The intro text of the form"})),datarecordId:o("Datarecord ID",{description:"The ID of the datarecord to use to generate the form fields"}),padding:e(a()),backgroundColor:e(n()),color:e(s()),align:e(t({title:"Alignment",description:"The alignment of the form fields. Default is vertical",schema:r(["vertical","horizontal"],{default:"vertical",title:"Form alignment",description:"Choose between vertical or horizontal alignment for the form fields"})}))})}),v=[{description:"Basic contact form",type:"form",props:{title:"Contact Us",intro:"We'd love to hear from you. Send us a message and we'll respond as soon as possible.",align:"vertical",datarecordId:"contacts"}},{description:"User registration form",type:"form",props:{title:"Create Account",intro:"Join our platform and start your journey today.",align:"vertical",datarecordId:"user-registration"}},{description:"Newsletter subscription form (horizontal)",type:"form",props:{title:"Stay Updated",intro:"Subscribe to our newsletter for the latest updates and exclusive content.",align:"horizontal",datarecordId:"newsletter-subscription"}},{description:"Event registration form",type:"form",props:{title:"Conference Registration",intro:"Register for the Annual Tech Conference 2025. Early bird pricing ends soon!",align:"vertical",datarecordId:"event-registration"}},{description:"Job application form",type:"form",props:{title:"Apply for Position",intro:"We're excited to learn more about you! Please fill out this application form completely.",align:"vertical",datarecordId:"job-application"}},{description:"Customer feedback form",type:"form",props:{title:"Share Your Feedback",intro:"Your opinion matters to us. Help us improve our products and services.",align:"vertical",datarecordId:"customer-feedback"}}];export{b as a,v as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as l}from"./chunk-SFKZAUPW.js";import{b as o}from"./chunk-J56IBYVK.js";import{c as i}from"./chunk-2CXXM2W3.js";import{a as t}from"./chunk-QSKUUUXU.js";import{Type as e}from"@sinclair/typebox";function p(){return e.Object({desktop:e.Boolean(),mobile:e.Boolean()},{$id:"styles:hidden",title:"Hidden",description:"Used to hide the brick on desktop or mobile.","ui:field":"hidden"})}var a={lastTouched:e.Optional(e.Number({"ui:field":"hidden","ai:hidden":!0})),hidden:e.Optional(t("styles:hidden")),editable:e.Optional(e.Boolean({description:"Do not use. It is used internally by the editor.","ui:field":"hidden","ai:hidden":!0})),width:e.Optional(i({title:"Fixed Width",description:"Set a fixed width for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","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"})),alignSelf:e.Optional(l(["self-auto","self-start","self-center","self-end"],{title:"Align Self","ui:field":"hidden","ui:display":"button-group",description:"How the brick vertically aligns itself within its parent section.",enumNames:["Auto","Top","Center","Bottom"],default:"self-auto","ui:placeholder":"Not specified","ui:styleId":"styles:alignSelf"})),preset:e.Optional(o)};export{p as a,a as b};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{Type as r}from"@sinclair/typebox";function o(e,t={}){return r.Ref(e,t)}export{o as a};
|
|
3
|
+
import{Type as r}from"@sinclair/typebox";function o(e,t={}){return r.Ref(e,{"ui:styleId":e,...t})}export{o as a};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{
|
|
3
|
+
import{a as n}from"./chunk-QSKUUUXU.js";import{a as i}from"./chunk-KUG7UEHN.js";import{Type as r}from"@sinclair/typebox";function l(t,e={}){return i({title:t,schema:r.String(e)})}function u(t="URL",e){return i({title:t,schema:r.String({format:"uri","ui:field":"url",default:e})})}var a=r.String({"ui:field":"page-id"});function d(t="URL or Page ID",e){return i({title:t,schema:r.Union([r.String({format:"uri"}),a],{$id:"content:urlOrPageId",default:e,title:"URL or Page ID","ui:field":"url-page-id","ai:instructions":"This field can be a URL or a page ID. Use the page ID when linking to a internal page, and a URL for external links."})})}function f(t={}){return n("content:urlOrPageId",{...t})}export{l as a,u as b,d as c,f as d};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{b as o}from"./chunk-WUYCT565.js";import{c as a}from"./chunk-P5O7YHX7.js";import{b as n}from"./chunk-M45FSNRM.js";import{b as r}from"./chunk-IH2CD3RZ.js";import{a as d}from"./chunk-WARHNU5Z.js";import{c as i,d as t}from"./chunk-KUV5KZYH.js";import{BsCardText as s}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var w=d({type:"card",name:"Card",description:"A multi-purpose card that can have a title, image, and content",repeatable:!0,icon:s,maxWidth:{mobile:400,desktop:1024},minWidth:{mobile:200,desktop:250},props:i({variants:e.Array(e.Union([e.Literal("image-first",{title:"Image First","ui:variant-type":"image-placement"}),e.Literal("image-between",{title:"Image Between","ui:variant-type":"image-placement"}),e.Literal("image-last",{title:"Image Last","ui:variant-type":"image-placement"}),e.Literal("image-overlay",{title:"Image Overlay","ui:variant-type":"image-placement"}),e.Literal("image-left-side",{title:"Image Left Side","ui:variant-type":"image-placement"}),e.Literal("image-right-side",{title:"Image Right Side","ui:variant-type":"image-placement"}),e.Literal("centered",{title:"Centered","ui:variant-type":"align"}),e.Literal("text-sm",{title:"S","ui:variant-type":"font-size"}),e.Literal("text-base",{title:"M","ui:variant-type":"font-size"}),e.Literal("text-lg",{title:"L","ui:variant-type":"font-size"}),e.Literal("text-xl",{title:"XL","ui:variant-type":"font-size"}),e.Literal("text-2xl",{title:"2XL","ui:variant-type":"font-size"})],{title:"Variants"}),{"ui:field":"variant",default:["image-between","text-base"],"ui:variant-names":{"image-placement":"Image Placement",align:"Alignment","font-size":"Base Font Size"}}),cardImage:t(o({default:{src:"https://placehold.co/300x200?text=Card+Image",alt:"Sample Card Image"}})),cardTitle:t(a({title:"Title"})),cardBody:t(a({title:"Body"})),shadow:t(n()),border:t(r({default:{width:"border",rounding:"rounded"}}))})}),x=[{description:"A simple card with a title and content",type:"card",props:{variants:["image-first"],preset:"prominent-primary",cardTitle:"Card Title",cardBody:"This is the body of the card."}},{description:"Card with image and overlay text",type:"card",props:{variants:["image-overlay","centered"],cardImage:{src:"https://via.placeholder.com/400x300",alt:"Placeholder image"},cardTitle:"Overlay Title",cardBody:"Beautiful overlay content with semi-transparent background."}},{description:"Product card with image on the left",type:"card",props:{variants:["image-left-side"],cardImage:{src:"https://via.placeholder.com/200x200",alt:"Product image"},cardTitle:"Premium Headphones",cardBody:"High-quality wireless headphones with noise cancellation and 30-hour battery life."}},{description:"Feature card with large padding and background",type:"card",props:{variants:["centered"],cardTitle:"Key Feature",cardBody:"This feature provides exceptional value and enhances user experience significantly."}},{description:"Blog post card with image at the bottom",type:"card",props:{variants:["image-last"],cardTitle:"The Future of Technology",cardBody:"Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",cardImage:{src:"https://via.placeholder.com/400x200",alt:"Technology concept"}}},{description:"Testimonial card with right-side image",type:"card",props:{variants:["image-right-side"],cardTitle:"Customer Review",cardBody:'"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"',cardImage:{src:"https://via.placeholder.com/150x150",alt:"Customer photo"}}},{description:"Minimal centered card without image",type:"card",props:{variants:["centered"],cardTitle:"Simple Announcement",cardBody:"Important updates will be posted here regularly."}},{description:"Event card with multiple variants",type:"card",props:{variants:["image-first","centered"],cardImage:{src:"https://via.placeholder.com/400x250",alt:"Event venue"},cardTitle:"Annual Conference 2025",cardBody:"Join us for three days of inspiring talks, networking opportunities, and hands-on workshops."}},{description:"News article card with compact layout",type:"card",props:{variants:["image-left-side"],cardImage:{src:"https://via.placeholder.com/120x120",alt:"News thumbnail"},cardTitle:"Breaking News Update",cardBody:"Latest developments in the ongoing story with expert analysis and community reactions."}},{description:"Call-to-action card with prominent styling",type:"card",props:{variants:["centered"],cardTitle:"Get Started Today",cardBody:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!"}}];export{w as a,x as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{b as n}from"./chunk-A3LAQ47R.js";import{a as l}from"./chunk-DOKWQP5K.js";import{a as u}from"./chunk-IF7JTYZC.js";import{b as s}from"./chunk-LXBGNROJ.js";import{a as i}from"./chunk-R3I32SUA.js";import{d as e}from"./chunk-KUV5KZYH.js";import{Type as t}from"@sinclair/typebox";import{jsonDefault as p}from"json-schema-default";function $(a){for(let r in a)if(r.startsWith("$"))throw new Error(`Attribute names starting with '$' (like "${r}") are reserved for internal use. Please rename it.`);return t.Object(a)}function v(a){return t.Composite([a,o])}var g={$pageLanguage:l("Language","en",{options:[{value:"ar",title:"Arabic"},{value:"zh",title:"Chinese"},{value:"cs",title:"Czech"},{value:"nl",title:"Dutch"},{value:"en",title:"English"},{value:"fr",title:"French"},{value:"de",title:"German"},{value:"he",title:"Hebrew"},{value:"hi",title:"Hindi"},{value:"it",title:"Italian"},{value:"ja",title:"Japanese"},{value:"ko",title:"Korean"},{value:"fa",title:"Persian"},{value:"pl",title:"Polish"},{value:"pt",title:"Portuguese"},{value:"ru",title:"Russian"},{value:"es",title:"Spanish"},{value:"tr",title:"Turkish"},{value:"vi",title:"Vietnamese"}],"ai:guidelines":"Choose a value based on the site description. If the site is in multiple languages, use 'en'.","ui:group":"meta","ui:group:title":"Meta tags"}),$bodyBackground:e(s({default:{color:"#ffffff"},title:"Body Background",description:"Applies to the body element of the page (while $pageBackground applies to the page container)","ui:field":"background","ui:group":"layout","ui:group:title":"Page Layout","ui:group:order":3})),$pageBackground:e(s({title:"Page Background",defaultValue:{color:"base-100"}})),$pageOgImage:e(i("Social share image",{description:"Image shown when page is shared on social media","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"meta","ui:field":"image"})),$robotsIndexing:e(u("Allow search engines to index this site",!0,{description:"Disabling this will prevent search engines from indexing this site","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"seo","ui:group:title":"SEO","ui:scope":"site"})),$siteOgImage:e(i("Social share image",{description:"Image shown when this site is shared on social media","ai:guidelines":"Don't generate this image, it is automatically generated.","ui:field":"image","ui:group":"meta","ui:group:title":"Meta tags","ui:scope":"site"})),$pagePath:i("Page path",{default:"/",description:"The URL path of the page","ui:group":"location","ui:group:title":"Location","ui:field":"path"}),$pageTitle:i("Title",{default:"Untitled","ui:group":"meta","ui:group:title":"Meta tags",description:"The title of the page. Appears in the browser tab and search results"}),$pageDescription:i("Description",{"ui:widget":"textarea","ui:group":"meta","ui:group:title":"Meta tags",description:"A short description of the page. Used by search engines","ui:multiline":!0,"ui:textarea-class":"h-24"}),$pageKeywords:i("Keywords",{"ui:group":"meta","ui:group:title":"Meta tags",description:"Keywords related to the page. Used by search engines","ui:multiline":!0}),$pageLastUpdated:e(n("Last updated",{"ui:hidden":!0,"ai:guidelines":"Don't generate this property."})),$siteHeadTags:e(t.String({title:"Head tags",description:"Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.","ai:guidelines":"Don't include meta tags here, they are automatically generated.","ui:multiline":!0,"ui:textarea-class":"h-40 !font-mono !text-xs","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:premium":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"})),$siteBodyTags:e(t.String({title:"Body tags",description:"Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.","ui:multiline":!0,"ui:premium":!0,"ui:textarea-class":"h-40 !font-mono !text-xs","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"}))},o=t.Object(g,{additionalProperties:!0}),S=t.Pick(o,["$bodyBackground","$pageBackground"]),k=t.Pick(o,["$pageTitle","$pageDescription","$pageKeywords","$pageLanguage","$pagePath","$bodyBackground","$pageBackground"]);function w(a=t.Object({}),r={}){return{...p(o),...r}}export{$ as a,v as b,o as c,S as d,k as e,w as f};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as e}from"./chunk-OELIU5BZ.js";import{a as c}from"./chunk-KWTNPGYO.js";import{b as p}from"./chunk-HMCJT7US.js";import{a as i,b as l}from"./chunk-R3I32SUA.js";import{a as n}from"./chunk-WARHNU5Z.js";import{a,c as s,d as r}from"./chunk-KUV5KZYH.js";import{a as o}from"./chunk-KUG7UEHN.js";import{Type as t}from"@sinclair/typebox";import{IoGridOutline as g}from"react-icons/io5";var d=t.Array(t.Object({src:t.String({format:"uri",title:"Image URL"}),alt:t.String({default:"",title:"Alt text"})}),{default:[{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"}]}),P=n({type:"images-gallery",kind:"widget",name:"Gallery",description:"An image collection",aiInstructions:"This brick should mostly be used for image galleries and collections.",defaultInspectorTab:"content",isContainer:!1,icon:g,props:s({datasource:r(c()),staticImages:r(o({title:"Nav items",schema:t.Array(t.Object({src:l("Image URL"),legend:i("Legend")}),{title:"Images",default:[]})})),styles:a({title:"Styles",children:{layout:p()}})}),datasource:d}),w=[{description:"Product portfolio gallery (3-column grid)",type:"images-gallery",props:{styles:{layout:{type:"grid",columns:3,gap:"gap-4"}},staticImages:[{src:"https://via.placeholder.com/400x400.png?text=Product+1",legend:"Premium wireless headphones"},{src:"https://via.placeholder.com/400x400.png?text=Product+2",legend:"Bluetooth speaker"},{src:"https://via.placeholder.com/400x400.png?text=Product+3",legend:"Smart fitness tracker"},{src:"https://via.placeholder.com/400x400.png?text=Product+4",legend:"Wireless charging pad"}]}},{description:"Team photos gallery (4-column grid)",type:"images-gallery",props:{styles:{layout:{type:"grid",gap:"gap-8"}},staticImages:[{src:"https://via.placeholder.com/300x300.png?text=CEO",legend:"Sarah Johnson - Chief Executive Officer"},{src:"https://via.placeholder.com/300x300.png?text=CTO",legend:"Mike Chen - Chief Technology Officer"},{src:"https://via.placeholder.com/300x300.png?text=Design",legend:"Emily Rodriguez - Head of Design"},{src:"https://via.placeholder.com/300x300.png?text=Marketing",legend:"David Park - Marketing Director"},{src:"https://via.placeholder.com/300x300.png?text=Sales",legend:"Lisa Wong - Sales Manager"},{src:"https://via.placeholder.com/300x300.png?text=Support",legend:"Alex Thompson - Customer Support Lead"},{src:"https://via.placeholder.com/300x300.png?text=Dev",legend:"Carlos Martinez - Senior Developer"},{src:"https://via.placeholder.com/300x300.png?text=HR",legend:"Jennifer Adams - HR Specialist"}]}},{description:"Project showcase (2-column grid with larger spacing)",type:"images-gallery",props:{styles:{layout:{type:"grid",columns:2,gap:"gap-8"}},staticImages:[{src:"https://via.placeholder.com/600x400.png?text=Website+Redesign",legend:"Modern e-commerce website redesign project"},{src:"https://via.placeholder.com/600x400.png?text=Mobile+App",legend:"iOS and Android mobile application"},{src:"https://via.placeholder.com/600x400.png?text=Brand+Identity",legend:"Complete brand identity design package"},{src:"https://via.placeholder.com/600x400.png?text=Dashboard+UI",legend:"Analytics dashboard user interface"}]}},{description:"Event photos (horizontal flex layout)",type:"images-gallery",props:{styles:{layout:{type:"flex",direction:"flex-row",wrap:!0,gap:"gap-4"}},staticImages:[{src:"https://via.placeholder.com/250x180.png?text=Opening",legend:"Conference opening ceremony"},{src:"https://via.placeholder.com/250x180.png?text=Keynote",legend:"Keynote presentation"},{src:"https://via.placeholder.com/250x180.png?text=Workshop",legend:"Technical workshop session"},{src:"https://via.placeholder.com/250x180.png?text=Networking",legend:"Networking lunch break"},{src:"https://via.placeholder.com/250x180.png?text=Panel",legend:"Expert panel discussion"},{src:"https://via.placeholder.com/250x180.png?text=Awards",legend:"Awards ceremony"}]}}];export{d as a,P as b,w as c};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as m}from"./chunk-DOKWQP5K.js";import{b as r}from"./chunk-5PSDNGKY.js";import{d as c}from"./chunk-HMCJT7US.js";import{b as d}from"./chunk-IH2CD3RZ.js";import{b as l}from"./chunk-LXBGNROJ.js";import{b as u}from"./chunk-WCVUBYL5.js";import{a}from"./chunk-KUV5KZYH.js";import{a as p}from"./chunk-SFKZAUPW.js";import{b as n}from"./chunk-J56IBYVK.js";import{b as s,c as o}from"./chunk-2CXXM2W3.js";import{Type as t}from"@sinclair/typebox";import{customAlphabet as b}from"nanoid";import{merge as f}from"lodash-es";var $=b("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),C=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."}))}),y=p(Object.keys(r),{title:"Brick type"}),x=t.Object({id:t.String({title:"ID",description:"A unique identifier for the brick."}),type:y,props:t.Any({title:"Props",description:"The props of the brick. The available props depends on the brick type."}),mobileProps:t.Optional(t.Object({},{additionalProperties:!0,description:"The props for mobile, merged with the default props"}))},{$id:"brick",additionalProperties:!0}),h=t.Object({layout:t.Optional(a({title:"Layout",children:c({defaults:{gap:"gap-4",wrap:!0,fillSpace:!1,alignItems:"items-stretch",justifyContent:"justify-stretch"}})})),background:t.Optional(l()),preset:t.Optional(n),border:t.Optional(d()),minHeight:t.Optional(o({title:"Min height",default:"0px",description:"The min height of the section","ui:styleId":"minHeight","ui:advanced":!0})),maxWidth:t.Optional(m("Max width","max-w-full",{options:[{value:"max-w-screen-lg",title:"Medium",description:"Common for text-heavy content/blog posts"},{value:"max-w-screen-xl",title:"Large",description:"Usefull or some landing pages"},{value:"max-w-screen-2xl",title:"Extra large",description:"Common width"},{value:"max-w-full",title:"Full width",description:"Takes the entire space"}],description:"The maximum width of the section. Desktop only",displayAs:"select"})),horizontalPadding:t.Optional(o({title:"Horizontal padding",default:"10px",description:"Horizontal padding. Desktop only","ui:styleId":"minHeight"})),verticalPadding:t.Optional(s({title:"Vertical padding",default:"10px",description:"Vertical padding. Default is 10px.","ui:styleId":"verticalPadding"})),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"}),S=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:h,mobileProps:t.Optional(t.Partial(h,{additionalProperties:!1})),bricks:t.Array(x)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."}),O=u(S.properties.props);function M(e){return e.map(i=>({...i,props:f({},O,i.props),bricks:i.bricks.map(g)}))}function g(e){let i=r[e.type];return{...e,props:f({},i.props,{...e.props,...e.props.$children?{$children:e.props.$children.map(g)}:{}})}}export{$ as a,y as b,x as c,h as d,S as e,O as f,M as g,g as h};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{b as t}from"./chunk-WCVUBYL5.js";function h({props:e,defaultWidth:o,defaultHeight:s,minWidth:r,minHeight:i,kind:a="brick",isContainer:n=!1,hideInLibrary:b=!1,deletable:p=!0,movable:c=!0,resizable:l=!0,repeatable:m=!1,duplicatable:u=!0,defaultInspectorTab:d="preset",icon:f,datasource:k,...y}){return{...y,datasource:k,icon:f,props:e,kind:a,defaultInspectorTab:d,hideInLibrary:b,deletable:p,movable:c,resizable:l,repeatable:m,duplicatable:u,isContainer:n,defaultWidth:o??r??{desktop:8,mobile:-1},defaultHeight:s??i??{desktop:3,mobile:3},minWidth:r,minHeight:i}}function g(e){return{...e,props:t(e.props),...e.datasource?{datasource:t(e.datasource)}:{}}}export{h as a,g as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as o}from"./chunk-QSKUUUXU.js";import{a}from"./chunk-KUG7UEHN.js";import{Type as t}from"@sinclair/typebox";function m(e="Image",i={}){let{defaultImageUrl:r,showImgSearch:l=!1}=i,n=t.Object({src:t.String({default:r,title:e,description:"Image URL. Can be a link to an image or a data URI"}),alt:t.Optional(t.String({title:"Alternate Text",description:"Alternative text for the image. Recommended for screen readers and SEO","ui:placeholder":"Your image description"})),fit:t.Optional(t.Union([t.Literal("object-none",{title:"None"}),t.Literal("object-contain",{title:"Contain"}),t.Literal("object-cover",{title:"Cover"}),t.Literal("object-fill",{title:"Fill"}),t.Literal("object-scale-down",{title:"Scale down"})],{title:"Fit",description:"How the image should be resized to fit its container","ui:field":"enum","ui:styleId":"styles:objectFit"})),position:t.Optional(t.Union([t.Literal("object-top",{title:"Top"}),t.Literal("object-center",{title:"Center"}),t.Literal("object-bottom",{title:"Bottom"}),t.Literal("object-left",{title:"Left"}),t.Literal("object-right",{title:"Right"}),t.Literal("object-left-top",{title:"Top left"}),t.Literal("object-right-top",{title:"Top right"}),t.Literal("object-left-bottom",{title:"Bottom left"}),t.Literal("object-right-bottom",{title:"Bottom right"})],{"ui:styleId":"styles:objectPosition",title:"Position",description:"The position of the image inside its container","ui:field":"enum"}))},{$id:"assets:image","ui:field":"image","ui:accept":"image/*","ui:show-img-search":!!l,"ui:no-object-options":!!i.noObjectOptions,default:{alt:"Image",fit:"object-cover",position:"object-center"}});return a({title:e,schema:n})}function g(e={}){return o("assets:image",{...e,styleId:"#assets:image"})}export{m as a,g as b};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import{a as e}from"./chunk-L6NXGVEU.js";import{a as t}from"./chunk-R3I32SUA.js";import{d as o}from"./chunk-KUV5KZYH.js";import{a as n}from"./chunk-KUG7UEHN.js";import{Type as m}from"@sinclair/typebox";function s(i={}){let{title:r="Location",defaultZoom:d}=i;return n({title:r,schema:m.Object({lat:e("Latitude",{"ui:field":"hidden"}),lng:e("Longitude",{"ui:field":"hidden"}),address:t("Address",{"ui:field":"geoaddress"}),tooltip:o(t("Tooltip")),zoom:o(e("Zoom",{description:"Zoom level for the map","ui:instructions":"The zoom level should be between 0 (world view) and 21 (street view).","ui:field":"slider",minimum:12,maximum:18,default:d}))},{...i})})}export{s as a};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a}from"./chunk-
|
|
3
|
+
import{a}from"./chunk-Y6A5NLZH.js";import{b as e}from"./chunk-M45FSNRM.js";import{b as r}from"./chunk-IH2CD3RZ.js";import{a as p}from"./chunk-WARHNU5Z.js";import{a as t,c as i,d as o}from"./chunk-KUV5KZYH.js";import{LiaMapMarkedAltSolid as n}from"react-icons/lia";var s={lat:48.8566,lng:2.3522,zoom:17},g=p({type:"map",kind:"widget",name:"Map",description:"A map element showing a location",aiInstructions:"This brick can be used to show a location on a map. Use the 'location' prop to set the coordinates and an optional tooltip.",minWidth:{desktop:200,mobile:200},icon:n,props:i({location:t({title:"Location",children:a({defaultZoom:s.zoom})}),border:o(r()),shadow:o(e())},{noPreset:!0})}),w=[{description:"Map showing a specific location",type:"map",props:{location:{lat:37.7749,lng:-122.4194,address:"San Francisco, CA",tooltip:"San Francisco, CA"},shadow:"shadow-md"}},{description:"Map with custom styles",type:"map",props:{location:{lat:40.7128,lng:-74.006,address:"New York, NY",tooltip:"New York, NY"},border:{color:"border-gray-300",width:"border",rounding:"rounded-lg"},shadow:"shadow-lg"}}];export{s as a,g as b,w as c};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a as p}from"./chunk-SFKZAUPW.js";import{
|
|
3
|
+
import{a as p}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-QSKUUUXU.js";import{a as e}from"./chunk-KUG7UEHN.js";function r(){return e({title:"Padding",schema:p(["p-0","p-px","p-2","p-4","p-6","p-8","p-10","p-12","p-16","p-24"],{$id:"styles:padding",enumNames:["No padding","Minimal","S","M","L","XL","2XL","3XL","4XL","6XL"],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{r as a,a as b};
|
package/dist/shared/page.d.ts
CHANGED
|
@@ -71,16 +71,16 @@ export declare const pageSchema: import("@sinclair/typebox").TObject<{
|
|
|
71
71
|
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
72
72
|
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
73
73
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
74
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
74
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
75
75
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
76
76
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
77
77
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
78
78
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
79
|
-
|
|
79
|
+
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
80
80
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
81
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
81
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
82
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
82
83
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
83
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
84
84
|
}>>;
|
|
85
85
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
86
86
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
@@ -111,16 +111,16 @@ export declare const pageSchema: import("@sinclair/typebox").TObject<{
|
|
|
111
111
|
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
112
112
|
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
113
113
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
114
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
114
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
115
115
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
116
116
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
117
117
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
118
118
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
119
|
-
|
|
119
|
+
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
120
120
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
121
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
121
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
122
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
122
123
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
123
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
124
124
|
}>>>;
|
|
125
125
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
126
126
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
package/dist/shared/page.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a}from"./chunk-
|
|
3
|
+
import{a}from"./chunk-IJC7WT76.js";import"./chunk-V7ZN7NR2.js";import"./chunk-TIFCEMZV.js";import"./chunk-A3LAQ47R.js";import"./chunk-DOKWQP5K.js";import"./chunk-5PSDNGKY.js";import"./chunk-7YXR7BD5.js";import"./chunk-GVY2LTLZ.js";import"./chunk-4RKERLQX.js";import"./chunk-U4OYEWZO.js";import"./chunk-OELIU5BZ.js";import"./chunk-YJBY54W7.js";import"./chunk-Y6A5NLZH.js";import"./chunk-KPF2WWYM.js";import"./chunk-N2QHHVAQ.js";import"./chunk-FSC3MYBH.js";import"./chunk-NXA7A6EV.js";import"./chunk-CGNY4K2X.js";import"./chunk-I4RDJZ7E.js";import"./chunk-RVSGUF6U.js";import"./chunk-AELUNCW3.js";import"./chunk-3BH3SMCS.js";import"./chunk-KWTNPGYO.js";import"./chunk-2VGGHXT2.js";import"./chunk-6CZG3CAK.js";import"./chunk-L6NXGVEU.js";import"./chunk-PL5CXFGN.js";import"./chunk-BNBTCFYW.js";import"./chunk-44EWU25R.js";import"./chunk-HMCJT7US.js";import"./chunk-WUYCT565.js";import"./chunk-AOMEYLYG.js";import"./chunk-6CVEKFNN.js";import"./chunk-P5O7YHX7.js";import"./chunk-M45FSNRM.js";import"./chunk-IH2CD3RZ.js";import"./chunk-CBORSFPQ.js";import"./chunk-YZVFYTDV.js";import"./chunk-IF7JTYZC.js";import"./chunk-LXBGNROJ.js";import"./chunk-5SBENMRZ.js";import"./chunk-R3I32SUA.js";import"./chunk-WARHNU5Z.js";import"./chunk-WCVUBYL5.js";import"./chunk-KUV5KZYH.js";import"./chunk-QH5ZBLA2.js";import"./chunk-SFKZAUPW.js";import"./chunk-J56IBYVK.js";import"./chunk-2CXXM2W3.js";import"./chunk-QSKUUUXU.js";import"./chunk-KUG7UEHN.js";export{a as pageSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Static } from "@sinclair/typebox";
|
|
2
|
-
export declare const resolution: import("@sinclair/typebox").TUnsafe<"
|
|
2
|
+
export declare const resolution: import("@sinclair/typebox").TUnsafe<"mobile" | "desktop">;
|
|
3
3
|
export type Resolution = Static<typeof resolution>;
|
|
4
4
|
//# sourceMappingURL=responsive.d.ts.map
|
package/dist/shared/site.d.ts
CHANGED
|
@@ -453,16 +453,16 @@ declare const partialSiteAndPagesSchema: import("@sinclair/typebox").TObject<{
|
|
|
453
453
|
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
454
454
|
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
455
455
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
456
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
456
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
457
457
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
458
458
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
459
459
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
460
460
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
461
|
-
|
|
461
|
+
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
462
462
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
463
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
463
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
464
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
464
465
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
465
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
466
466
|
}>>;
|
|
467
467
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
468
468
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
@@ -493,16 +493,16 @@ declare const partialSiteAndPagesSchema: import("@sinclair/typebox").TObject<{
|
|
|
493
493
|
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
494
494
|
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
495
495
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
496
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
496
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
497
497
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
498
498
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
499
499
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
500
500
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
501
|
-
|
|
501
|
+
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
502
502
|
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
503
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
503
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
504
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
504
505
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
505
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
506
506
|
}>>>;
|
|
507
507
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
508
508
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../src/shared/site.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAA2B,KAAK,gBAAgB,EAAqB,MAAM,cAAc,CAAC;AAOjG,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,EAAE,YAAY,CAAC,GAAG;IACjE,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,KAAK,yBAAyB,GAAG,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG;QACxC,UAAU,EAAE,gBAAgB,CAAC;KAC9B,CAAC;IACF,KAAK,EAAE,KAAK,CACV,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG;QAC/D,UAAU,CAAC,EAAE,gBAAgB,CAAC;KAC/B,CACF,CAAC;CACH,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB,
|
|
1
|
+
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../src/shared/site.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAA2B,KAAK,gBAAgB,EAAqB,MAAM,cAAc,CAAC;AAOjG,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,EAAE,YAAY,CAAC,GAAG;IACjE,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,KAAK,yBAAyB,GAAG,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG;QACxC,UAAU,EAAE,gBAAgB,CAAC;KAC9B,CAAC;IACF,KAAK,EAAE,KAAK,CACV,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG;QAC/D,UAAU,CAAC,EAAE,gBAAgB,CAAC;KAC/B,CACF,CAAC;CACH,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB,CA0IxE"}
|
package/dist/shared/site.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{
|
|
3
|
+
import{a as d,d as m}from"./chunk-Y6IWAOSW.js";import{b as i,d as n}from"./chunk-ZLZLOU5E.js";import{a as p}from"./chunk-IJC7WT76.js";import{a as c}from"./chunk-ZJNA4QQC.js";import{d as s}from"./chunk-VAC73HJE.js";import{a as t}from"./chunk-V7ZN7NR2.js";import{c as o}from"./chunk-Y7CEEEVW.js";import{c as a,f as r}from"./chunk-TIFCEMZV.js";import"./chunk-A3LAQ47R.js";import"./chunk-DOKWQP5K.js";import"./chunk-5PSDNGKY.js";import"./chunk-7YXR7BD5.js";import"./chunk-GVY2LTLZ.js";import"./chunk-4RKERLQX.js";import"./chunk-U4OYEWZO.js";import"./chunk-OELIU5BZ.js";import"./chunk-YJBY54W7.js";import"./chunk-Y6A5NLZH.js";import"./chunk-KPF2WWYM.js";import"./chunk-N2QHHVAQ.js";import"./chunk-FSC3MYBH.js";import"./chunk-NXA7A6EV.js";import"./chunk-CGNY4K2X.js";import"./chunk-I4RDJZ7E.js";import"./chunk-RVSGUF6U.js";import"./chunk-AELUNCW3.js";import"./chunk-3BH3SMCS.js";import"./chunk-KWTNPGYO.js";import"./chunk-2VGGHXT2.js";import"./chunk-6CZG3CAK.js";import"./chunk-L6NXGVEU.js";import"./chunk-PL5CXFGN.js";import"./chunk-BNBTCFYW.js";import"./chunk-44EWU25R.js";import"./chunk-HMCJT7US.js";import"./chunk-WUYCT565.js";import"./chunk-AOMEYLYG.js";import"./chunk-6CVEKFNN.js";import"./chunk-P5O7YHX7.js";import"./chunk-M45FSNRM.js";import"./chunk-IH2CD3RZ.js";import"./chunk-CBORSFPQ.js";import"./chunk-YZVFYTDV.js";import"./chunk-IF7JTYZC.js";import"./chunk-LXBGNROJ.js";import"./chunk-5SBENMRZ.js";import"./chunk-R3I32SUA.js";import"./chunk-WARHNU5Z.js";import"./chunk-WCVUBYL5.js";import"./chunk-KUV5KZYH.js";import"./chunk-QH5ZBLA2.js";import"./chunk-SFKZAUPW.js";import"./chunk-J56IBYVK.js";import"./chunk-2CXXM2W3.js";import"./chunk-QSKUUUXU.js";import"./chunk-KUG7UEHN.js";import{Type as e}from"@sinclair/typebox";var h=e.Object({id:e.String(),label:e.String(),hostname:e.String(),attributes:a,attr:a,datasources:e.Optional(o),datarecords:e.Optional(s),themes:e.Array(i),theme:i,sitemap:m,sitePrompt:c}),I=e.Object({site:e.Omit(h,["attributes"]),pages:e.Array(e.Composite([e.Omit(p,["attributes"]),d]))});function w(l){return{site:{id:crypto.randomUUID(),label:"New site",hostname:"example.com",sitePrompt:l,theme:n,themes:[],sitemap:[],attributes:a,attr:r()},pages:[{id:"_default_",label:"First page",path:"/",sections:[{id:t(),label:"Top",order:1,props:{verticalPadding:"0",horizontalPadding:"0"},bricks:[{id:t(),type:"navbar",props:{brand:{name:"My Site"},navigation:{staticItems:[{urlOrPageId:"/about"},{urlOrPageId:"/contact"}]}}}]},{id:`content-${t()}`,label:"Content",order:2,props:{},bricks:[{id:t(),type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA",address:"San Francisco, CA"}}},{id:t(),type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:t(),type:"card",props:{cardTitle:"Welcome to My Site",cardBody:"This is a sample card body. You can edit this content.",cardImage:{src:"https://images.unsplash.com/photo-1636828982375-a4ec8b809e5e?q=80&w=3456&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",alt:"Sample Card Image"},width:"10dvw"}},{id:t(),type:"card",props:{cardTitle:"Welcome to My Site",cardBody:"This is a sample card body. You can edit this content.",cardImage:{src:"https://placehold.co/300x200?text=Card+Image",alt:"Sample Card Image"}}}]},{id:`content-${t()}`,label:"Bottom",order:2,props:{},bricks:[{id:t(),type:"video",props:{url:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}},{id:t(),type:"divider",props:{direction:"horizontal",size:"20px"}},{id:t(),type:"card",props:{cardTitle:"Welcome to My Site",cardBody:"This is a sample card body. You can edit this content.",cardImage:{src:"https://placehold.co/300x200?text=Card+Image",alt:"Sample Card Image"}}}]}],tags:[],attributes:a,attr:r()}]}}export{w as createEmptyConfig,h as siteSchema};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a as o}from"../chunk-
|
|
3
|
+
import{a as o}from"../chunk-7PSERG3U.js";import"../chunk-HMCJT7US.js";import"../chunk-WUYCT565.js";import"../chunk-AOMEYLYG.js";import"../chunk-P5O7YHX7.js";import"../chunk-M45FSNRM.js";import"../chunk-IH2CD3RZ.js";import"../chunk-CBORSFPQ.js";import"../chunk-YZVFYTDV.js";import"../chunk-LXBGNROJ.js";import"../chunk-R3I32SUA.js";import"../chunk-KUV5KZYH.js";import"../chunk-QH5ZBLA2.js";import"../chunk-SFKZAUPW.js";import"../chunk-J56IBYVK.js";import"../chunk-2CXXM2W3.js";import"../chunk-QSKUUUXU.js";import"../chunk-KUG7UEHN.js";function c(e){if(!e.$ref)return e;let r=o.getSchema(e.$ref)?.schema;if(!r||typeof e!="object")throw new Error(`Schema not found for reference: ${e.$ref}`);let{$ref:f,...t}=e;return{...r,...t}}export{c as resolveSchema};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upstart.gg/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.111",
|
|
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.111"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@headlessui/react": "^2.2.1",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{c as s}from"./chunk-EQQGW3Y3.js";import{b as a}from"./chunk-Z2NARRFH.js";import{b as n}from"./chunk-KJC5OW6Z.js";import{b as i}from"./chunk-P4FWHABH.js";import{b as r}from"./chunk-FVW6TE5S.js";import{d as o}from"./chunk-ZM7FO54Z.js";import{a as p}from"./chunk-76ACOEIL.js";import{d as t,e}from"./chunk-XBVKQVAV.js";import{RxTextAlignLeft as l}from"react-icons/rx";var C=p({type:"text",kind:"brick",name:"Text",description:"Text with formatting options",aiInstructions:`Text "content" can contain minimal HTML tags like <strong>, <em>, <br> and <a> as well as <p> and <span> and lists.
|
|
4
|
-
Only 'align' is supported as an inline style, so don't use other inline styles like 'font-size' or 'color' in the content prop.
|
|
5
|
-
`,minHeight:{desktop:2,mobile:2},minWidth:{desktop:2,mobile:2},defaultHeight:{desktop:7,mobile:7},defaultWidth:{desktop:6,mobile:6},repeatable:!0,icon:l,props:t({content:s(),backgroundColor:e(o()),color:e(i()),padding:e(r({default:"p-2"})),border:e(n()),shadow:e(a())},{default:{padding:"p-8"}})}),T=[{description:"Welcome paragraph with emphasis, using a preset",type:"text",props:{preset:"prominent-primary",content:"Welcome to our platform! We're <strong>excited</strong> to have you here. Our mission is to <em>transform</em> the way you work with cutting-edge technology and <a href='/features'>innovative features</a>.",padding:"p-16"}},{description:"Feature list with HTML formatting",type:"text",props:{content:"<h3>Key Features</h3><ul><li><strong>Advanced Analytics</strong> - Real-time data insights</li><li><strong>Cloud Integration</strong> - Seamless connectivity</li><li><strong>24/7 Support</strong> - Always here to help</li></ul>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Quote block with styling",type:"text",props:{content:`<p style='text-align: center'><em>"Innovation distinguishes between a leader and a follower."</em><br><strong>- Steve Jobs</strong></p>`,backgroundColor:"#1e293b",color:"#f1f5f9",padding:"p-8"}},{description:"Multi-paragraph article content",type:"text",props:{content:"<p>The future of web development is rapidly evolving with new technologies and frameworks emerging every year. <strong>Modern developers</strong> need to stay current with trends while maintaining focus on <em>user experience</em> and performance.</p><p>Our platform provides the tools and resources you need to build <a href='/docs'>exceptional web applications</a> that scale with your business needs.</p><p>Join thousands of developers who trust our solutions for their most critical projects.</p>",padding:"p-8"}},{description:"Call-to-action text with bright styling",type:"text",props:{content:"<p style='text-align: center'><strong>Ready to Get Started?</strong><br>Join over <span style='color: #ef4444'>50,000</span> satisfied customers and transform your business today!</p><p style='text-align: center'><a href='/signup'>Sign up now</a> and get your first month <em>absolutely free</em>.</p>",backgroundColor:"#fef3c7",color:"#92400e"}},{description:"Simple heading with subtle background",type:"text",props:{content:"<h2>About Our Company</h2><p>We've been serving customers since 2010, building trust through quality products and exceptional service.</p>",backgroundColor:"#f0f9ff"}},{description:"Technical documentation snippet",type:"text",props:{content:"<h4>API Configuration</h4><p>To get started with our API, you'll need to:</p><ol><li>Create an account and <strong>generate an API key</strong></li><li>Install the SDK: <code>npm install @company/sdk</code></li><li>Initialize with your credentials</li></ol><p>For detailed instructions, visit our <a href='/docs/api'>API documentation</a>.</p>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Team introduction with formatting",type:"text",props:{content:"<p style='text-align: center'><strong>Meet Our Team</strong></p><p>Our diverse team of experts brings together decades of experience in technology, design, and business strategy. We're passionate about <em>creating solutions</em> that make a real difference.</p><p><a href='/team'>Learn more about our team</a> and the values that drive us forward.</p>",padding:"p-8",color:"#374151"}},{description:"Warning notice with dark theme",type:"text",props:{content:"<p><strong>\u26A0\uFE0F Important Notice:</strong><br>Scheduled maintenance will occur on <em>Sunday, March 15th</em> from 2:00 AM to 6:00 AM UTC.</p><p>During this time, some features may be temporarily unavailable. We apologize for any inconvenience.</p>",backgroundColor:"#dc2626",color:"#fef2f2",padding:"p-8"}},{description:"Success message with green theme",type:"text",props:{content:"<p style='text-align: center'><strong>\u2705 Success!</strong><br>Your account has been created successfully.</p><p style='text-align: center'>Check your email for verification instructions and <a href='/dashboard' style='color: #065f46'>start exploring</a> your new dashboard.</p>",backgroundColor:"#d1fae5",padding:"p-8"}}];export{C as a,T as b};
|
|
@@ -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 o}from"./chunk-JJN753J5.js";import{c as a}from"./chunk-EQQGW3Y3.js";import{b as n}from"./chunk-Z2NARRFH.js";import{b as r}from"./chunk-KJC5OW6Z.js";import{a as d}from"./chunk-76ACOEIL.js";import{d as i,e as t}from"./chunk-XBVKQVAV.js";import{BsCardText as p}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var w=d({type:"card",name:"Card",description:"A multi-purpose card that can have a title, image, and content",repeatable:!0,icon:p,props:i({variants:e.Array(e.Union([e.Literal("image-first",{title:"Image First","ui:variant-type":"image-placement"}),e.Literal("image-between",{title:"Image Between","ui:variant-type":"image-placement"}),e.Literal("image-last",{title:"Image Last","ui:variant-type":"image-placement"}),e.Literal("image-overlay",{title:"Image Overlay","ui:variant-type":"image-placement"}),e.Literal("image-left-side",{title:"Image Left Side","ui:variant-type":"image-placement"}),e.Literal("image-right-side",{title:"Image Right Side","ui:variant-type":"image-placement"}),e.Literal("centered",{title:"Centered","ui:variant-type":"align"}),e.Literal("text-sm",{title:"S","ui:variant-type":"font-size"}),e.Literal("text-base",{title:"M","ui:variant-type":"font-size"}),e.Literal("text-lg",{title:"L","ui:variant-type":"font-size"}),e.Literal("text-xl",{title:"XL","ui:variant-type":"font-size"}),e.Literal("text-2xl",{title:"2XL","ui:variant-type":"font-size"})],{title:"Variants"}),{"ui:field":"variant",default:["image-between","text-base"],"ui:variant-names":{"image-placement":"Image Placement",align:"Alignment","font-size":"Base Font Size"}}),cardImage:t(o()),cardTitle:t(a({title:"Title"})),cardBody:t(a({title:"Body"})),shadow:t(n()),border:t(r())})}),x=[{description:"A simple card with a title and content",type:"card",props:{variants:["image-first"],preset:"prominent-primary",cardTitle:"Card Title",cardBody:"This is the body of the card."}},{description:"Card with image and overlay text",type:"card",props:{variants:["image-overlay","centered"],cardImage:{src:"https://via.placeholder.com/400x300",alt:"Placeholder image"},cardTitle:"Overlay Title",cardBody:"Beautiful overlay content with semi-transparent background."}},{description:"Product card with image on the left",type:"card",props:{variants:["image-left-side"],cardImage:{src:"https://via.placeholder.com/200x200",alt:"Product image"},cardTitle:"Premium Headphones",cardBody:"High-quality wireless headphones with noise cancellation and 30-hour battery life."}},{description:"Feature card with large padding and background",type:"card",props:{variants:["centered"],cardTitle:"Key Feature",cardBody:"This feature provides exceptional value and enhances user experience significantly."}},{description:"Blog post card with image at the bottom",type:"card",props:{variants:["image-last"],cardTitle:"The Future of Technology",cardBody:"Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",cardImage:{src:"https://via.placeholder.com/400x200",alt:"Technology concept"}}},{description:"Testimonial card with right-side image",type:"card",props:{variants:["image-right-side"],cardTitle:"Customer Review",cardBody:'"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"',cardImage:{src:"https://via.placeholder.com/150x150",alt:"Customer photo"}}},{description:"Minimal centered card without image",type:"card",props:{variants:["centered"],cardTitle:"Simple Announcement",cardBody:"Important updates will be posted here regularly."}},{description:"Event card with multiple variants",type:"card",props:{variants:["image-first","centered"],cardImage:{src:"https://via.placeholder.com/400x250",alt:"Event venue"},cardTitle:"Annual Conference 2025",cardBody:"Join us for three days of inspiring talks, networking opportunities, and hands-on workshops."}},{description:"News article card with compact layout",type:"card",props:{variants:["image-left-side"],cardImage:{src:"https://via.placeholder.com/120x120",alt:"News thumbnail"},cardTitle:"Breaking News Update",cardBody:"Latest developments in the ongoing story with expert analysis and community reactions."}},{description:"Call-to-action card with prominent styling",type:"card",props:{variants:["centered"],cardTitle:"Get Started Today",cardBody:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!"}}];export{w as a,x as b};
|
|
@@ -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-JJN753J5.js";import{c as p}from"./chunk-EQQGW3Y3.js";import{b as c}from"./chunk-Z2NARRFH.js";import{b as n}from"./chunk-KJC5OW6Z.js";import{b as s}from"./chunk-FVW6TE5S.js";import{b as r}from"./chunk-ZM7FO54Z.js";import{a}from"./chunk-4GPU3TI3.js";import{a as m}from"./chunk-76ACOEIL.js";import{b as o,d as i,e}from"./chunk-XBVKQVAV.js";import{Type as t}from"@sinclair/typebox";import{HiOutlineChatBubbleBottomCenter as h}from"react-icons/hi2";var A=m({type:"testimonials",name:"Testimonials",kind:"widget",description:"Display testimonials from users",repeatable:!1,icon:h,props:i({orientation:e(o({title:"Orientation",schema:t.Union([t.Literal("horizontal",{title:"Horizontal"}),t.Literal("vertical",{title:"Vertical"})],{default:"horizontal"})})),background:e(r()),border:e(n()),padding:e(s()),shadow:e(c()),testimonials:t.Array(t.Object({author:a("Author",{default:"John Doe"}),company:e(a("Company")),text:p({title:"Text",default:"Amazing product!"}),avatar:e(l({title:"Avatar"})),socialIcon:e(a("Social Icon",{description:"Iconify reference for the social icon","ui:field":"iconify"}))}))},{default:{orientation:"horizontal"}})}),M=[{description:"SaaS platform testimonials with avatars (horizontal)",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Sarah Johnson",company:"TechCorp Solutions",text:"This platform has completely transformed how we manage our projects. The intuitive interface and powerful automation features have saved us countless hours.",avatar:{src:"https://via.placeholder.com/80x80.png?text=SJ",alt:"Sarah Johnson profile photo"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"StartupFlow",text:"Outstanding customer support and regular feature updates. We've been using this for over a year and it keeps getting better. Highly recommend!",avatar:{src:"https://via.placeholder.com/80x80.png?text=MC",alt:"Mike Chen profile photo"},socialIcon:"mdi:twitter"},{author:"Emily Rodriguez",company:"Digital Agency Pro",text:"The automation capabilities are game-changing. What used to take us days now happens automatically. It's like having an extra team member.",avatar:{src:"https://via.placeholder.com/80x80.png?text=ER",alt:"Emily Rodriguez profile photo"},socialIcon:"mdi:linkedin"}]}},{description:"E-commerce customer reviews (vertical)",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Jessica Williams",company:"Happy Customer",text:"Amazing product quality and fast shipping! The item exceeded my expectations and the customer service was excellent when I had questions.",avatar:{src:"https://via.placeholder.com/60x60.png?text=JW",alt:"Jessica Williams customer photo"},socialIcon:"mdi:star"},{author:"David Park",text:"Five stars! Been using this product for 6 months and it's still going strong. Definitely worth the investment and I've already recommended it to friends.",avatar:{src:"https://via.placeholder.com/60x60.png?text=DP",alt:"David Park customer photo"},socialIcon:"mdi:thumbs-up"}]}},{description:"Agency client testimonials with company info",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Rachel Thompson",company:"Global Enterprises",text:"The team delivered exceptional results on time and within budget. Their creative approach and attention to detail made all the difference for our brand.",avatar:{src:"https://via.placeholder.com/70x70.png?text=RT",alt:"Rachel Thompson headshot"},socialIcon:"mdi:briefcase"},{author:"Alex Kumar",company:"Innovation Labs",text:"Working with this agency was a game-changer for our digital presence. They understood our vision and brought it to life beautifully.",avatar:{src:"https://via.placeholder.com/70x70.png?text=AK",alt:"Alex Kumar profile"},socialIcon:"mdi:lightbulb"},{author:"Maria Santos",company:"Retail Plus",text:"Professional, creative, and results-driven. Our website traffic increased by 200% after their redesign. Couldn't be happier!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MS",alt:"Maria Santos photo"},socialIcon:"mdi:chart-line"}]}},{description:"App user feedback (vertical layout)",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Tom Wilson",text:"This app has made my daily routine so much easier. Love the clean interface and how everything just works seamlessly across all my devices.",avatar:{src:"https://via.placeholder.com/65x65.png?text=TW",alt:"Tom Wilson user photo"},socialIcon:"mdi:cellphone"},{author:"Lisa Chang",text:"Been using this app for months and it's become essential to my workflow. The latest update with AI features is incredibly impressive.",avatar:{src:"https://via.placeholder.com/65x65.png?text=LC",alt:"Lisa Chang profile picture"},socialIcon:"mdi:robot"},{author:"James Miller",text:"Simple, powerful, and reliable. Exactly what I was looking for. The customer support team is also very responsive and helpful.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JM",alt:"James Miller avatar"},socialIcon:"mdi:heart"}]}},{description:"Course/education testimonials with social icons",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Amanda Foster",company:"UX Designer",text:"This course completely changed my career trajectory. The practical projects and expert feedback helped me land my dream job in just 3 months.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AF",alt:"Amanda Foster student photo"},socialIcon:"mdi:school"},{author:"Carlos Rodriguez",company:"Software Engineer",text:"The instructors are industry experts and the content is always up-to-date. I've taken three courses here and each one exceeded my expectations.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CR",alt:"Carlos Rodriguez profile"},socialIcon:"mdi:code-tags"}]}},{description:"Simple testimonials without avatars",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Anonymous User",text:"Great service and excellent value for money. Would definitely recommend to others looking for a reliable solution.",socialIcon:"mdi:account-circle"},{author:"Verified Customer",text:"Quick delivery and exactly as described. Very satisfied with my purchase and the overall experience.",socialIcon:"mdi:check-circle"},{author:"Beta Tester",text:"Been using the beta version and it's already impressive. Looking forward to the full release with even more features.",socialIcon:"mdi:beta"}]}},{description:"Consultant testimonials with professional focus",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Dr. Patricia Lee",company:"Medical Practice Solutions",text:"The consulting services provided were invaluable to our practice. Revenue increased by 40% and patient satisfaction scores improved significantly.",avatar:{src:"https://via.placeholder.com/80x80.png?text=PL",alt:"Dr. Patricia Lee headshot"},socialIcon:"mdi:medical-bag"},{author:"Robert Kim",company:"Manufacturing Inc.",text:"Their strategic insights helped us streamline operations and reduce costs by 25%. The ROI was evident within the first quarter.",avatar:{src:"https://via.placeholder.com/80x80.png?text=RK",alt:"Robert Kim executive photo"},socialIcon:"mdi:factory"}]}},{description:"Event testimonials with social media icons",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Jennifer Adams",company:"Marketing Director",text:"Best conference I've attended in years! The networking opportunities were incredible and the speakers were top-notch industry leaders.",avatar:{src:"https://via.placeholder.com/70x70.png?text=JA",alt:"Jennifer Adams conference attendee"},socialIcon:"mdi:twitter"},{author:"Michael Brown",company:"Tech Startup Founder",text:"The workshops were incredibly practical and I left with actionable strategies I could implement immediately. Already planning to attend next year!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MB",alt:"Michael Brown participant photo"},socialIcon:"mdi:linkedin"},{author:"Sophie Chen",company:"Product Manager",text:"Amazing organization and valuable content. Met so many like-minded professionals and learned cutting-edge techniques I'm excited to try.",avatar:{src:"https://via.placeholder.com/70x70.png?text=SC",alt:"Sophie Chen attendee photo"},socialIcon:"mdi:instagram"}]}},{description:"Fitness/wellness testimonials with achievement focus",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Mark Thompson",text:"Lost 30 pounds in 4 months following this program! The personalized approach and constant support made all the difference in achieving my goals.",avatar:{src:"https://via.placeholder.com/75x75.png?text=MT",alt:"Mark Thompson transformation photo"},socialIcon:"mdi:dumbbell"},{author:"Anna Johnson",text:"Finally found a workout routine I actually enjoy! The trainers are motivating and the community support keeps me accountable every day.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AJ",alt:"Anna Johnson fitness photo"},socialIcon:"mdi:heart-pulse"},{author:"Chris Davis",text:"This program completely changed my relationship with fitness. I'm stronger, more confident, and have energy I haven't felt in years.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CD",alt:"Chris Davis success photo"},socialIcon:"mdi:trophy"}]}},{description:"Restaurant customer reviews with food focus",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Food Critic Helen",company:"Local Food Blog",text:"Exceptional cuisine and impeccable service! Every dish was a masterpiece and the attention to detail was remarkable. A true culinary experience.",avatar:{src:"https://via.placeholder.com/65x65.png?text=HC",alt:"Helen food critic photo"},socialIcon:"mdi:silverware-fork-knife"},{author:"Regular Customer Joe",text:"Been coming here for years and it never disappoints. The staff knows my order by heart and the quality is consistently outstanding.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JC",alt:"Joe regular customer"},socialIcon:"mdi:food"}]}}];export{A as a,M as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{c as p}from"./chunk-ESZZYREQ.js";import{b as s}from"./chunk-Z2NARRFH.js";import{b as i}from"./chunk-KJC5OW6Z.js";import{b as a}from"./chunk-FVW6TE5S.js";import{b as o}from"./chunk-ZM7FO54Z.js";import{a as n}from"./chunk-76ACOEIL.js";import{d as t,e}from"./chunk-XBVKQVAV.js";import{TbCarouselHorizontal as m}from"react-icons/tb";import{Type as r}from"@sinclair/typebox";var v=n({type:"carousel",kind:"widget",name:"Carousel",description:"A carousel element",isContainer:!0,icon:m,props:t({variants:r.Array(r.Union([r.Literal("pager-arrows",{title:"With arrows pager"}),r.Literal("pager-numbers",{title:"With numbered pager"}),r.Literal("pager-dots",{title:"With dots pager"})],{title:"Variant",description:"Carousel variants."})),background:e(o()),border:e(i()),padding:e(a()),shadow:e(s()),...p()})}),C=[{description:"An image carousel with pager arrows",type:"carousel",props:{variants:["pager-arrows"],$children:[{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+1"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+2"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+3"}}]}},{description:"A carousel of text slides with numbered pager",type:"carousel",props:{variants:["pager-numbers"],$children:[{type:"text",props:{content:"Slide 1",preset:"prominent-primary"}},{type:"text",props:{content:"Slide 2",preset:"prominent-secondary"}},{type:"text",props:{content:"Slide 3",preset:"prominent-accent"}}]}}];export{v as a,C as b};
|
|
@@ -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 i}from"./chunk-EAXMALLF.js";import{b as s}from"./chunk-JJN753J5.js";import{d as n}from"./chunk-ZM7FO54Z.js";import{a as l,d as u}from"./chunk-4GPU3TI3.js";import{a}from"./chunk-76ACOEIL.js";import{d as r,e,f as o}from"./chunk-XBVKQVAV.js";import{Type as t}from"@sinclair/typebox";import{VscLayoutPanelOff as c}from"react-icons/vsc";var b=a({type:"footer",kind:"widget",name:"Footer",description:"A footer with links and an optional logo",icon:c,props:r({variants:t.Array(t.Union([t.Literal("logo-left",{title:"Logo on the left",description:"Logo on the left"}),t.Literal("logo-right",{title:"Logo on the right",description:"Logo on the right"}),t.Literal("logo-center",{title:"Logo on the center",description:"Logo at center"}),t.Literal("multiple-rows",{title:"Span on multiple rows.",description:"Span on multiple rows. Use when there a a lot of links sections"})],{title:"Variant",description:"Footer variants."})),backgroundColor:e(n()),logo:e(s({title:"Logo"})),rows:e(i("Rows",{default:1})),linksSections:o(t.Object({sectionTitle:l("Links Section title"),links:o(t.Object({title:l("Title"),url:u(),column:e(i("Column",{default:1}))}))}))})}),T=[{description:"Simple footer with logo on the left",type:"footer",props:{variants:["logo-left"],backgroundColor:"#f8f9fa",logo:{src:"https://via.placeholder.com/120x40.png?text=Logo",alt:"Company logo"},linksSections:[{sectionTitle:"Quick Links",links:[{title:"Home",url:"/"},{title:"About",url:"/about"},{title:"Contact",url:"/contact"}]},{sectionTitle:"Legal",links:[{title:"Privacy Policy",url:"/privacy"},{title:"Terms of Service",url:"/terms"}]}]}},{description:"Corporate footer with centered logo",type:"footer",props:{variants:["logo-center"],backgroundColor:"#2c3e50",logo:{src:"https://via.placeholder.com/150x50.png?text=Corporate",alt:"Corporate logo"},linksSections:[{sectionTitle:"Products",links:[{title:"Software Solutions",url:"/products/software"},{title:"Consulting",url:"/products/consulting"},{title:"Support",url:"/products/support"},{title:"Training",url:"/products/training"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"News",url:"/news"},{title:"Investors",url:"/investors"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Community",url:"/community"},{title:"Blog",url:"/blog"}]}]}},{description:"E-commerce footer with logo on the right",type:"footer",props:{variants:["logo-right"],backgroundColor:"#ffffff",logo:{src:"https://via.placeholder.com/140x45.png?text=Shop",alt:"Shop logo"},linksSections:[{sectionTitle:"Shop",links:[{title:"All Products",url:"/products"},{title:"New Arrivals",url:"/new"},{title:"Sale",url:"/sale"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Customer Service",links:[{title:"Help Center",url:"/help"},{title:"Returns",url:"/returns"},{title:"Shipping Info",url:"/shipping"},{title:"Size Guide",url:"/size-guide"}]},{sectionTitle:"Account",links:[{title:"My Account",url:"/account"},{title:"Order History",url:"/orders"},{title:"Wishlist",url:"/wishlist"}]}]}},{description:"Large organization footer with multiple rows",type:"footer",props:{variants:["logo-center","multiple-rows"],backgroundColor:"#1a1a1a",logo:{src:"https://via.placeholder.com/180x60.png?text=Enterprise",alt:"Enterprise logo"},linksSections:[{sectionTitle:"Products & Services",links:[{title:"Cloud Solutions",url:"/cloud",column:1},{title:"Data Analytics",url:"/analytics",column:1},{title:"AI & Machine Learning",url:"/ai",column:1},{title:"Cybersecurity",url:"/security",column:2},{title:"DevOps Tools",url:"/devops",column:2},{title:"IoT Platform",url:"/iot",column:2}]},{sectionTitle:"Industries",links:[{title:"Healthcare",url:"/industries/healthcare",column:3},{title:"Finance",url:"/industries/finance",column:3},{title:"Retail",url:"/industries/retail",column:3},{title:"Manufacturing",url:"/industries/manufacturing",column:4},{title:"Education",url:"/industries/education",column:4},{title:"Government",url:"/industries/government",column:4}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs",column:1},{title:"API Reference",url:"/api",column:1},{title:"Tutorials",url:"/tutorials",column:1},{title:"Webinars",url:"/webinars",column:2},{title:"White Papers",url:"/whitepapers",column:2},{title:"Case Studies",url:"/case-studies",column:2}]},{sectionTitle:"Support & Community",links:[{title:"Help Center",url:"/help",column:3},{title:"Community Forum",url:"/forum",column:3},{title:"Contact Support",url:"/support",column:3},{title:"Service Status",url:"/status",column:4},{title:"Partner Portal",url:"/partners",column:4},{title:"Developer Hub",url:"/developers",column:4}]}]}},{description:"Startup footer with minimal links and left logo",type:"footer",props:{variants:["logo-left"],backgroundColor:"#f5f5f5",logo:{src:"https://via.placeholder.com/100x35.png?text=Startup",alt:"Startup logo"},linksSections:[{sectionTitle:"Company",links:[{title:"About",url:"/about"},{title:"Team",url:"/team"},{title:"Jobs",url:"/jobs"}]},{sectionTitle:"Product",links:[{title:"Features",url:"/features"},{title:"Pricing",url:"/pricing"},{title:"Demo",url:"/demo"}]},{sectionTitle:"Support",links:[{title:"Help",url:"/help"},{title:"Contact",url:"/contact"}]}]}},{description:"Agency footer with centered logo and creative sections",type:"footer",props:{variants:["logo-center"],backgroundColor:"#6366f1",logo:{src:"https://via.placeholder.com/130x45.png?text=Agency",alt:"Creative agency logo"},linksSections:[{sectionTitle:"Services",links:[{title:"Web Design",url:"/services/web-design"},{title:"Branding",url:"/services/branding"},{title:"Digital Marketing",url:"/services/marketing"},{title:"Photography",url:"/services/photography"}]},{sectionTitle:"Portfolio",links:[{title:"Recent Work",url:"/portfolio"},{title:"Case Studies",url:"/case-studies"},{title:"Client Reviews",url:"/reviews"}]},{sectionTitle:"Connect",links:[{title:"Contact Us",url:"/contact"},{title:"Get Quote",url:"/quote"},{title:"Newsletter",url:"/newsletter"}]}]}},{description:"SaaS platform footer with comprehensive links",type:"footer",props:{variants:["logo-left","multiple-rows"],backgroundColor:"#0f172a",logo:{src:"https://via.placeholder.com/160x50.png?text=SaaS+Platform",alt:"SaaS platform logo"},linksSections:[{sectionTitle:"Platform",links:[{title:"Dashboard",url:"/dashboard",column:1},{title:"Analytics",url:"/analytics",column:1},{title:"Integrations",url:"/integrations",column:1},{title:"API",url:"/api",column:1}]},{sectionTitle:"Solutions",links:[{title:"For Startups",url:"/solutions/startups",column:2},{title:"For Enterprise",url:"/solutions/enterprise",column:2},{title:"For Agencies",url:"/solutions/agencies",column:2},{title:"For Developers",url:"/solutions/developers",column:2}]},{sectionTitle:"Resources",links:[{title:"Blog",url:"/blog",column:1},{title:"Documentation",url:"/docs",column:1},{title:"Help Center",url:"/help",column:1},{title:"Community",url:"/community",column:1}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about",column:2},{title:"Careers",url:"/careers",column:2},{title:"Press",url:"/press",column:2},{title:"Legal",url:"/legal",column:2}]}]}},{description:"Non-profit footer with mission-focused links",type:"footer",props:{variants:["logo-center"],backgroundColor:"#059669",logo:{src:"https://via.placeholder.com/140x50.png?text=Non+Profit",alt:"Non-profit organization logo"},linksSections:[{sectionTitle:"Our Work",links:[{title:"Programs",url:"/programs"},{title:"Impact",url:"/impact"},{title:"Success Stories",url:"/stories"},{title:"Research",url:"/research"}]},{sectionTitle:"Get Involved",links:[{title:"Donate",url:"/donate"},{title:"Volunteer",url:"/volunteer"},{title:"Events",url:"/events"},{title:"Partner with Us",url:"/partnerships"}]},{sectionTitle:"About",links:[{title:"Our Mission",url:"/mission"},{title:"Leadership",url:"/leadership"},{title:"Annual Reports",url:"/reports"},{title:"Contact",url:"/contact"}]}]}},{description:"Tech blog footer with right-aligned logo",type:"footer",props:{variants:["logo-right"],backgroundColor:"#111827",logo:{src:"https://via.placeholder.com/120x40.png?text=Tech+Blog",alt:"Tech blog logo"},linksSections:[{sectionTitle:"Categories",links:[{title:"Web Development",url:"/category/web-dev"},{title:"AI & ML",url:"/category/ai-ml"},{title:"DevOps",url:"/category/devops"},{title:"Mobile",url:"/category/mobile"}]},{sectionTitle:"Popular",links:[{title:"Latest Posts",url:"/latest"},{title:"Trending",url:"/trending"},{title:"Best of 2024",url:"/best-2024"},{title:"Tutorials",url:"/tutorials"}]},{sectionTitle:"Community",links:[{title:"Newsletter",url:"/newsletter"},{title:"Discord",url:"/discord"},{title:"Contributors",url:"/contributors"},{title:"Write for Us",url:"/write"}]}]}},{description:"Restaurant footer with location and menu links",type:"footer",props:{variants:["logo-center"],backgroundColor:"#7c2d12",logo:{src:"https://via.placeholder.com/150x60.png?text=Restaurant",alt:"Restaurant logo"},linksSections:[{sectionTitle:"Menu",links:[{title:"Appetizers",url:"/menu/appetizers"},{title:"Main Courses",url:"/menu/mains"},{title:"Desserts",url:"/menu/desserts"},{title:"Beverages",url:"/menu/drinks"}]},{sectionTitle:"Services",links:[{title:"Reservations",url:"/reservations"},{title:"Catering",url:"/catering"},{title:"Private Events",url:"/events"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Info",links:[{title:"About Us",url:"/about"},{title:"Location",url:"/location"},{title:"Hours",url:"/hours"},{title:"Contact",url:"/contact"}]}]}}];export{b as a,T 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 t}from"./chunk-WCVUBYL5.js";function h({props:e,defaultWidth:o,defaultHeight:a,minWidth:r,minHeight:i,kind:n="brick",isContainer:s=!1,hideInLibrary:b=!1,deletable:p=!0,movable:c=!0,resizable:l=!0,repeatable:m=!1,duplicatable:u=!0,defaultInspectorTab:d="preset",icon:f,datasource:k,...y}){return{...y,datasource:k,icon:f,props:e,kind:n,defaultInspectorTab:d,hideInLibrary:b,deletable:p,movable:c,resizable:l,repeatable:m,duplicatable:u,isContainer:s,defaultWidth:o??r??{desktop:8,mobile:-1},defaultHeight:a??i??{desktop:3,mobile:3},minWidth:r,minHeight:i}}function T(e){return{...e,props:t(e.props),...e.datasource?{datasource:t(e.datasource)}:{}}}export{h as a,T 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 r,d as o}from"./chunk-4GPU3TI3.js";import{a as l}from"./chunk-76ACOEIL.js";import{a}from"./chunk-SFKZAUPW.js";import{b as e,d as n,e as i}from"./chunk-XBVKQVAV.js";import{RxButton as s}from"react-icons/rx";import{Type as t}from"@sinclair/typebox";var d=l({type:"button",name:"Button",repeatable:!0,description:"A button with text and optional icon",icon:s,props:n({variants:t.Array(t.Union([t.Literal("btn-neutral",{title:"Neutral","ui:variant-type":"color"}),t.Literal("btn-primary",{title:"Primary","ui:variant-type":"color"}),t.Literal("btn-secondary",{title:"Secondary","ui:variant-type":"color"}),t.Literal("btn-accent",{title:"Accent","ui:variant-type":"color"}),t.Literal("btn-info",{title:"Info","ui:variant-type":"color"}),t.Literal("btn-success",{title:"Success","ui:variant-type":"color"}),t.Literal("btn-warning",{title:"Warning","ui:variant-type":"color"}),t.Literal("btn-error",{title:"Error","ui:variant-type":"color"}),t.Literal("btn-outline",{title:"Outline","ui:variant-type":"style"}),t.Literal("btn-dash",{title:"Dash","ui:variant-type":"style"}),t.Literal("btn-soft",{title:"Soft","ui:variant-type":"style"}),t.Literal("btn-ghost",{title:"Ghost","ui:variant-type":"style"}),t.Literal("btn-link",{title:"Link","ui:variant-type":"style"}),t.Literal("btn-active",{title:"Active","ui:variant-type":"behavior"}),t.Literal("btn-disabled",{title:"Disabled","ui:variant-type":"behavior"}),t.Literal("btn-icon-left",{title:"Icon left","ui:variant-type":"icon"}),t.Literal("btn-icon-right",{title:"Icon right","ui:variant-type":"icon"}),t.Literal("btn-xs",{title:"Extra small","ui:variant-type":"size"}),t.Literal("btn-sm",{title:"Small","ui:variant-type":"size"}),t.Literal("btn-md",{title:"Medium","ui:variant-type":"size"}),t.Literal("btn-lg",{title:"Large","ui:variant-type":"size"}),t.Literal("btn-xl",{title:"Extra large","ui:variant-type":"size"}),t.Literal("btn-wide",{title:"Wide","ui:variant-type":"modifier"}),t.Literal("btn-block",{title:"Block","ui:variant-type":"modifier"}),t.Literal("btn-square",{title:"Square","ui:variant-type":"modifier"}),t.Literal("btn-circle",{title:"Circle","ui:variant-type":"modifier"})],{title:"Variant",description:"Button variants.","ai:tip":"Those are DaisyUI button variants"})),label:r("Label",{default:"My button"}),type:i(e({title:"Type",schema:a(["button","submit","reset"],{enumNames:["Button","Submit","Reset"],default:"button",description:"The type of the button","ai:instructions":"Use 'button' for regular buttons, 'submit' for form submission, and 'reset' to reset form fields."})})),icon:i(e({title:"Icon",description:"Icon to display (iconify reference)",schema:r("Icon",{description:"Icon to display (iconify reference)","ui:field":"iconify"})})),linkToUrlOrPageId:i(o({title:"Link"}))})}),f=[{description:"Primary button, large size, linking to a URL",type:"button",props:{variants:["btn-primary","btn-lg"],label:"Click me",linkToUrlOrPageId:"https://example.com"}},{description:"Secondary button, small size, linking to a page",type:"button",props:{variants:["btn-secondary","btn-sm"],label:"Go to page",linkToUrlOrPageId:"page-id-123"}},{description:"Disabled button with outline style",type:"button",props:{variants:["btn-outline","btn-disabled"],label:"Disabled Button"}},{description:"Ghost button",type:"button",props:{variants:["btn-ghost"],label:"Ghost Button",linkToUrlOrPageId:"https://example.com/ghost"}},{description:"Submit button in a form",type:"button",props:{variants:["btn-primary","btn-md"],label:"Submit form",type:"submit"}},{description:"Button with icon on the right",type:"button",props:{variants:["btn-primary","btn-md","btn-icon-right"],label:"Icon Button",icon:"mdi:check-circle"}}];export{d as a,f 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 n}from"./chunk-T4BNTUJZ.js";import{a as l}from"./chunk-ETEMVJ5N.js";import{a as u}from"./chunk-GEJURLYI.js";import{b as s}from"./chunk-ZM7FO54Z.js";import{a as i}from"./chunk-4GPU3TI3.js";import{e}from"./chunk-XBVKQVAV.js";import{Type as t}from"@sinclair/typebox";import{jsonDefault as p}from"json-schema-default";function $(a){for(let r in a)if(r.startsWith("$"))throw new Error(`Attribute names starting with '$' (like "${r}") are reserved for internal use. Please rename it.`);return t.Object(a)}function v(a){return t.Composite([a,o])}var g={$pageLanguage:l("Language","en",{options:[{value:"ar",title:"Arabic"},{value:"zh",title:"Chinese"},{value:"cs",title:"Czech"},{value:"nl",title:"Dutch"},{value:"en",title:"English"},{value:"fr",title:"French"},{value:"de",title:"German"},{value:"he",title:"Hebrew"},{value:"hi",title:"Hindi"},{value:"it",title:"Italian"},{value:"ja",title:"Japanese"},{value:"ko",title:"Korean"},{value:"fa",title:"Persian"},{value:"pl",title:"Polish"},{value:"pt",title:"Portuguese"},{value:"ru",title:"Russian"},{value:"es",title:"Spanish"},{value:"tr",title:"Turkish"},{value:"vi",title:"Vietnamese"}],"ai:guidelines":"Choose a value based on the site description. If the site is in multiple languages, use 'en'.","ui:group":"meta","ui:group:title":"Meta tags"}),$bodyBackground:e(s({default:{color:"#ffffff"},title:"Body Background",description:"Applies to the body element of the page (while $pageBackground applies to the page container)","ui:field":"background","ui:group":"layout","ui:group:title":"Page Layout","ui:group:order":3})),$pageBackground:e(s({title:"Page Background",defaultValue:{color:"base-100"}})),$pageOgImage:e(i("Social share image",{description:"Image shown when page is shared on social media","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"meta","ui:field":"image"})),$robotsIndexing:e(u("Allow search engines to index this site",!0,{description:"Disabling this will prevent search engines from indexing this site","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"seo","ui:group:title":"SEO","ui:scope":"site"})),$siteOgImage:e(i("Social share image",{description:"Image shown when this site is shared on social media","ai:guidelines":"Don't generate this image, it is automatically generated.","ui:field":"image","ui:group":"meta","ui:group:title":"Meta tags","ui:scope":"site"})),$pagePath:i("Page path",{default:"/",description:"The URL path of the page","ui:group":"location","ui:group:title":"Location","ui:field":"path"}),$pageTitle:i("Title",{default:"Untitled","ui:group":"meta","ui:group:title":"Meta tags",description:"The title of the page. Appears in the browser tab and search results"}),$pageDescription:i("Description",{"ui:widget":"textarea","ui:group":"meta","ui:group:title":"Meta tags",description:"A short description of the page. Used by search engines","ui:multiline":!0}),$pageKeywords:i("Keywords",{"ui:group":"meta","ui:group:title":"Meta tags",description:"Keywords related to the page. Used by search engines","ui:multiline":!0}),$pageLastUpdated:e(n("Last updated",{"ui:hidden":!0,"ai:guidelines":"Don't generate this property."})),$siteHeadTags:e(t.String({title:"Head tags",description:"Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.","ai:guidelines":"Don't include meta tags here, they are automatically generated.","ui:multiline":!0,"ui:textarea-class":"h-40 !font-mono !text-xs","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:premium":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"})),$siteBodyTags:e(t.String({title:"Body tags",description:"Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.","ui:multiline":!0,"ui:premium":!0,"ui:textarea-class":"h-40 !font-mono !text-xs","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"}))},o=t.Object(g,{additionalProperties:!0}),S=t.Pick(o,["$bodyBackground","$pageBackground"]),k=t.Pick(o,["$pageTitle","$pageDescription","$pageKeywords","$pageLanguage","$pagePath","$bodyBackground","$pageBackground"]);function w(a=t.Object({}),r={}){return{...p(o),...r}}export{$ as a,v as b,o as c,S as d,k as e,w as f};
|