@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.
Files changed (189) hide show
  1. package/dist/shared/ajv.js +1 -1
  2. package/dist/shared/attributes.d.ts.map +1 -1
  3. package/dist/shared/attributes.js +1 -1
  4. package/dist/shared/brick-manifest.d.ts +3 -1
  5. package/dist/shared/brick-manifest.d.ts.map +1 -1
  6. package/dist/shared/brick-manifest.js +1 -1
  7. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +13 -9
  8. package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
  9. package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
  10. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  11. package/dist/shared/bricks/manifests/button.manifest.d.ts +5 -1
  12. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  13. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  14. package/dist/shared/bricks/manifests/card.manifest.d.ts +9 -5
  15. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  16. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  17. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +9 -5
  18. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  19. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  20. package/dist/shared/bricks/manifests/container.manifest.d.ts +9 -5
  21. package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
  22. package/dist/shared/bricks/manifests/container.manifest.js +1 -1
  23. package/dist/shared/bricks/manifests/divider.manifest.d.ts +5 -1
  24. package/dist/shared/bricks/manifests/divider.manifest.d.ts.map +1 -1
  25. package/dist/shared/bricks/manifests/divider.manifest.js +1 -1
  26. package/dist/shared/bricks/manifests/footer.manifest.d.ts +5 -1
  27. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  28. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  29. package/dist/shared/bricks/manifests/form.manifest.d.ts +5 -1
  30. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  31. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  32. package/dist/shared/bricks/manifests/hero.manifest.d.ts +9 -5
  33. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  34. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  35. package/dist/shared/bricks/manifests/icon.manifest.d.ts +5 -1
  36. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  37. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  38. package/dist/shared/bricks/manifests/image.manifest.d.ts +9 -5
  39. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  40. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  41. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +5 -1
  42. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  43. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  44. package/dist/shared/bricks/manifests/map.manifest.d.ts +9 -5
  45. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  46. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  47. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +14 -10
  48. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  49. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  50. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +13 -9
  51. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  52. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  53. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +9 -5
  54. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  55. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  56. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +9 -5
  57. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
  58. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  59. package/dist/shared/bricks/manifests/text.manifest.d.ts +9 -5
  60. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  61. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  62. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +13 -9
  63. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
  64. package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
  65. package/dist/shared/bricks/manifests/video.manifest.d.ts +9 -5
  66. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  67. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  68. package/dist/shared/bricks/props/align.js +1 -1
  69. package/dist/shared/bricks/props/background.d.ts.map +1 -1
  70. package/dist/shared/bricks/props/background.js +1 -1
  71. package/dist/shared/bricks/props/boolean.js +1 -1
  72. package/dist/shared/bricks/props/border.d.ts +8 -8
  73. package/dist/shared/bricks/props/border.js +1 -1
  74. package/dist/shared/bricks/props/color.js +1 -1
  75. package/dist/shared/bricks/props/common.d.ts +3 -0
  76. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  77. package/dist/shared/bricks/props/common.js +1 -1
  78. package/dist/shared/bricks/props/container.js +1 -1
  79. package/dist/shared/bricks/props/css-length.js +1 -1
  80. package/dist/shared/bricks/props/datasource.js +1 -1
  81. package/dist/shared/bricks/props/date.js +1 -1
  82. package/dist/shared/bricks/props/effects.d.ts.map +1 -1
  83. package/dist/shared/bricks/props/effects.js +1 -1
  84. package/dist/shared/bricks/props/enum.js +1 -1
  85. package/dist/shared/bricks/props/file.js +1 -1
  86. package/dist/shared/bricks/props/geolocation.js +1 -1
  87. package/dist/shared/bricks/props/helpers.d.ts +6 -2
  88. package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
  89. package/dist/shared/bricks/props/helpers.js +1 -1
  90. package/dist/shared/bricks/props/image.js +1 -1
  91. package/dist/shared/bricks/props/number.js +1 -1
  92. package/dist/shared/bricks/props/padding.d.ts.map +1 -1
  93. package/dist/shared/bricks/props/padding.js +1 -1
  94. package/dist/shared/bricks/props/position.d.ts.map +1 -1
  95. package/dist/shared/bricks/props/position.js +1 -1
  96. package/dist/shared/bricks/props/preset.d.ts +36 -36
  97. package/dist/shared/bricks/props/preset.js +1 -1
  98. package/dist/shared/bricks/props/prop.d.ts +7 -0
  99. package/dist/shared/bricks/props/prop.d.ts.map +1 -0
  100. package/dist/shared/bricks/props/prop.js +3 -0
  101. package/dist/shared/bricks/props/string.js +1 -1
  102. package/dist/shared/bricks/props/text.js +1 -1
  103. package/dist/shared/bricks.d.ts +97 -57
  104. package/dist/shared/bricks.d.ts.map +1 -1
  105. package/dist/shared/bricks.js +1 -1
  106. package/dist/shared/{chunk-SBYJ2DNF.js → chunk-2CXXM2W3.js} +1 -1
  107. package/dist/shared/chunk-2VGGHXT2.js +3 -0
  108. package/dist/shared/chunk-3BH3SMCS.js +3 -0
  109. package/dist/shared/chunk-44EWU25R.js +3 -0
  110. package/dist/shared/chunk-4RKERLQX.js +3 -0
  111. package/dist/shared/chunk-5PSDNGKY.js +3 -0
  112. package/dist/shared/chunk-5SBENMRZ.js +3 -0
  113. package/dist/shared/{chunk-COJXT4AE.js → chunk-6CVEKFNN.js} +2 -2
  114. package/dist/shared/chunk-6CZG3CAK.js +3 -0
  115. package/dist/shared/{chunk-J4HAPIE4.js → chunk-7PSERG3U.js} +1 -1
  116. package/dist/shared/{chunk-CL72KTSY.js → chunk-7YXR7BD5.js} +2 -2
  117. package/dist/shared/{chunk-T4BNTUJZ.js → chunk-A3LAQ47R.js} +1 -1
  118. package/dist/shared/chunk-AELUNCW3.js +3 -0
  119. package/dist/shared/chunk-AOMEYLYG.js +3 -0
  120. package/dist/shared/{chunk-RYK77LRD.js → chunk-BNBTCFYW.js} +1 -1
  121. package/dist/shared/{chunk-P4FWHABH.js → chunk-CBORSFPQ.js} +1 -1
  122. package/dist/shared/chunk-CGNY4K2X.js +3 -0
  123. package/dist/shared/{chunk-ETEMVJ5N.js → chunk-DOKWQP5K.js} +1 -1
  124. package/dist/shared/{chunk-EFUCEV6J.js → chunk-FSC3MYBH.js} +1 -1
  125. package/dist/shared/{chunk-XQBNMLIS.js → chunk-GVY2LTLZ.js} +1 -1
  126. package/dist/shared/chunk-HMCJT7US.js +3 -0
  127. package/dist/shared/chunk-I4RDJZ7E.js +5 -0
  128. package/dist/shared/{chunk-GEJURLYI.js → chunk-IF7JTYZC.js} +1 -1
  129. package/dist/shared/chunk-IH2CD3RZ.js +3 -0
  130. package/dist/shared/{chunk-63X3F4KE.js → chunk-IJC7WT76.js} +1 -1
  131. package/dist/shared/{chunk-6HBMLMS4.js → chunk-J56IBYVK.js} +1 -1
  132. package/dist/shared/chunk-KPF2WWYM.js +3 -0
  133. package/dist/shared/chunk-KUG7UEHN.js +3 -0
  134. package/dist/shared/chunk-KUV5KZYH.js +3 -0
  135. package/dist/shared/{chunk-AUDVZ5XH.js → chunk-KWTNPGYO.js} +1 -1
  136. package/dist/shared/{chunk-EAXMALLF.js → chunk-L6NXGVEU.js} +1 -1
  137. package/dist/shared/{chunk-ZM7FO54Z.js → chunk-LXBGNROJ.js} +1 -1
  138. package/dist/shared/chunk-M45FSNRM.js +3 -0
  139. package/dist/shared/{chunk-EXAE67ZU.js → chunk-N2QHHVAQ.js} +1 -1
  140. package/dist/shared/chunk-NXA7A6EV.js +3 -0
  141. package/dist/shared/chunk-P5O7YHX7.js +3 -0
  142. package/dist/shared/{chunk-IGICLAXG.js → chunk-PL5CXFGN.js} +2 -2
  143. package/dist/shared/chunk-QH5ZBLA2.js +3 -0
  144. package/dist/shared/{chunk-OYIL5SCU.js → chunk-QSKUUUXU.js} +1 -1
  145. package/dist/shared/{chunk-4GPU3TI3.js → chunk-R3I32SUA.js} +1 -1
  146. package/dist/shared/chunk-RVSGUF6U.js +3 -0
  147. package/dist/shared/chunk-TIFCEMZV.js +3 -0
  148. package/dist/shared/chunk-U4OYEWZO.js +3 -0
  149. package/dist/shared/chunk-V7ZN7NR2.js +3 -0
  150. package/dist/shared/chunk-WARHNU5Z.js +3 -0
  151. package/dist/shared/chunk-WUYCT565.js +3 -0
  152. package/dist/shared/chunk-Y6A5NLZH.js +3 -0
  153. package/dist/shared/{chunk-GES7GCNN.js → chunk-YJBY54W7.js} +1 -1
  154. package/dist/shared/{chunk-FVW6TE5S.js → chunk-YZVFYTDV.js} +1 -1
  155. package/dist/shared/page.d.ts +8 -8
  156. package/dist/shared/page.js +1 -1
  157. package/dist/shared/responsive.d.ts +1 -1
  158. package/dist/shared/site.d.ts +8 -8
  159. package/dist/shared/site.d.ts.map +1 -1
  160. package/dist/shared/site.js +1 -1
  161. package/dist/shared/utils/schema-resolver.js +1 -1
  162. package/dist/shared/utils/typed-ref.js +1 -1
  163. package/package.json +2 -2
  164. package/dist/shared/chunk-2WJ5JFCL.js +0 -5
  165. package/dist/shared/chunk-345A5Q4I.js +0 -3
  166. package/dist/shared/chunk-3G6VWQ7K.js +0 -3
  167. package/dist/shared/chunk-6P4BCAMF.js +0 -3
  168. package/dist/shared/chunk-6WRY6H5C.js +0 -3
  169. package/dist/shared/chunk-76ACOEIL.js +0 -3
  170. package/dist/shared/chunk-AJ5KETPJ.js +0 -3
  171. package/dist/shared/chunk-BWQVDKMZ.js +0 -3
  172. package/dist/shared/chunk-CYG4PX4M.js +0 -3
  173. package/dist/shared/chunk-EQQGW3Y3.js +0 -3
  174. package/dist/shared/chunk-ESZZYREQ.js +0 -3
  175. package/dist/shared/chunk-IEHOWRO3.js +0 -3
  176. package/dist/shared/chunk-JJN753J5.js +0 -3
  177. package/dist/shared/chunk-KJC5OW6Z.js +0 -3
  178. package/dist/shared/chunk-KOF7PY4F.js +0 -3
  179. package/dist/shared/chunk-KPRNSVFG.js +0 -3
  180. package/dist/shared/chunk-QG5AWSGT.js +0 -3
  181. package/dist/shared/chunk-RKBJTD53.js +0 -3
  182. package/dist/shared/chunk-SI3CEAX2.js +0 -3
  183. package/dist/shared/chunk-UKPBLPU2.js +0 -3
  184. package/dist/shared/chunk-W2HCVNRC.js +0 -3
  185. package/dist/shared/chunk-W67LBR3A.js +0 -3
  186. package/dist/shared/chunk-XAY2Q5IE.js +0 -3
  187. package/dist/shared/chunk-XBVKQVAV.js +0 -3
  188. package/dist/shared/chunk-Z2NARRFH.js +0 -3
  189. package/dist/shared/chunk-ZC55FZNB.js +0 -3
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as o,d as n}from"./chunk-4GPU3TI3.js";import{a as p}from"./chunk-76ACOEIL.js";import{b as i,d as e,e as t}from"./chunk-XBVKQVAV.js";import{PiConfetti as r}from"react-icons/pi";var l=p({type:"icon",name:"Icon",kind:"brick",description:"An icon with optional text",repeatable:!0,icon:r,props:e({icon:i({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",{description:"Icon to display (iconify reference)","ui:field":"iconify"})}),size:i({title:"Size",description:"Size of the icon",schema:o("Size",{default:"1em",description:"Size of the icon","ai:instructions":"The size of the icon can be set using 'em' or '%' unit."})}),link:t(n({title:"Link"}))})}),f=[{description:"Large heart icon",type:"icon",props:{icon:"mdi:heart",size:"2em"}},{description:"Shopping cart icon",type:"icon",props:{icon:"mdi:cart",size:"1.2em"}},{description:"Email/message icon",type:"icon",props:{icon:"mdi:email",size:"1.1em",link:"mailto:john.doe@example.com"}},{description:"Phone contact icon",type:"icon",props:{icon:"mdi:phone",size:"1em",link:"tel:+1234567890"}},{description:"Large download icon",type:"icon",props:{icon:"mdi:download",size:"2.5em",link:"https://example.com/file.zip"}},{description:"Menu hamburger icon",type:"icon",props:{icon:"mdi:menu",size:"1.4em"}},{description:"Close/X icon",type:"icon",props:{icon:"mdi:close",size:"1.2em"}},{description:"Social media Facebook icon",type:"icon",props:{icon:"mdi:facebook",size:"1.4em",link:"https://www.facebook.com/yourprofile"}},{description:"Social media Twitter icon",type:"icon",props:{icon:"mdi:twitter",size:"1.4em",link:"https://twitter.com/yourprofile"}},{description:"Social media Instagram icon",type:"icon",props:{icon:"mdi:instagram",size:"1.4em",link:"https://www.instagram.com/yourprofile"}}];export{l as a,f as b};
@@ -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-XBVKQVAV.js";import{a as l}from"./chunk-OYIL5SCU.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,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as u}from"./chunk-SBYJ2DNF.js";import{a}from"./chunk-SFKZAUPW.js";import{a as s,e as i,g as c,h as p}from"./chunk-XBVKQVAV.js";import{a as l}from"./chunk-OYIL5SCU.js";import{Type as t}from"@sinclair/typebox";var n=(e,o)=>{let y=c(e),r=p(y,o,"#styles:containerLayout");return r?.type==="flex"||!r?.type},d=(e,o)=>!n(e,o);function f(e={}){return t.Object({...e.disableGrid?{}:{type:a(["flex","grid"],{enumNames:["Flex","Grid"],title:"Layout type",description:"Type of the container. Flex layout arranges items in a one-dimensional line. Grid layout arranges items in a two-dimensional grid","ui:field":"enum","ui:responsive":!0})},gap:t.Optional(t.String({title:"Gap",description:"Space between items. Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified"})),direction:i(a(["flex-row","flex-col"],{enumNames:["Row","Column"],title:"Direction",description:"The direction of the container. Only applies to flex layout",metadata:{filter:n}})),columns:i(t.Number({title:"Columns",description:"Number of columns. Only applies to grid layout","ui:field":"slider",minimum:1,maximum:16,metadata:{filter:d}})),wrap:i(t.Boolean({title:"Wrap",description:"Wrap items.","ai:instructions":"Only applies to flex layout",metadata:{filter:n}})),fillSpace:i(t.Boolean({title:"Fill space",description:"Makes items of the container fill the available space","ai:instructions":"Only applies to flex layout",metadata:{filter:n}})),justifyContent:t.Optional(a(["justify-start","justify-center","justify-end","justify-between","justify-around","justify-evenly","justify-stretch"],{enumNames:["Start","Center","End","Space between","Space around","Evenly distributed","Stretch"],title:"Justify",description:"Justify content along the main axis (horizontal for row, vertical for column)","ai:instructions":"Only applies to flex layout",metadata:{filter:n}})),alignItems:i(t.Union([t.Literal("items-start",{title:"Start"}),t.Literal("items-center",{title:"Center"}),t.Literal("items-end",{title:"End"}),t.Literal("items-stretch",{title:"Stretch"})],{title:"Alignment",description:"Align items along the cross axis (vertical for row, horizontal for column)","ai:instructions":"Only applies to flex layout",metadata:{filter:n}}))},{$id:"styles:containerLayout"})}function x({title:e="Layout",options:o={}}={}){return s({title:e,options:{"ui:styleId":"#styles:containerLayout",$id:"styles:containerLayout"},children:f(o)})}function j(e={}){return l("styles:containerLayout",{title:"Container layout",description:"Settings for the layout of the container",...e})}function w(){return{$childrenType:t.Optional(t.String({title:"Dynamic child brick type",description:"Type of the child bricks that will be created when container is dynamic","ui:field":"brick-type",metadata:{category:"content"}})),$children:t.Array(t.Any(),{"ui:field":"hidden",description:"List of nested bricks",default:[]})}}function O(e={}){return t.Object({gap:t.Optional(u({title:"Gap",default:"10px",description:"Space between items. Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified","ui:styleId":"styles:gap"})),wrap:i(t.Boolean({title:"Wrap",description:"Wrap items."})),fillSpace:i(t.Boolean({title:"Fill space",description:"Makes items of the container fill the available space"})),justifyContent:t.Optional(a(["justify-start","justify-center","justify-end","justify-between","justify-around","justify-evenly","justify-stretch"],{enumNames:["Start","Center","End","Space between","Space around","Evenly distributed","Stretch"],title:"Justify",description:"Justify content along the main axis (horizontal for row, vertical for column)","ui:placeholder":"Not specified"})),alignItems:i(t.Union([t.Literal("items-start",{title:"Start"}),t.Literal("items-center",{title:"Center"}),t.Literal("items-end",{title:"End"}),t.Literal("items-stretch",{title:"Stretch"})],{title:"Alignment",description:"Align items along the cross axis (vertical for row, horizontal for column)","ui:placeholder":"Not specified","ui:display":"button-group"}))},{$id:"styles:sectionLayout"})}export{x as a,j as b,w as c,O as d};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as e}from"./chunk-OELIU5BZ.js";import{a as c}from"./chunk-AUDVZ5XH.js";import{b as i}from"./chunk-ESZZYREQ.js";import{a as p,b as l}from"./chunk-4GPU3TI3.js";import{a as n}from"./chunk-76ACOEIL.js";import{a as o,b as a,d as s,e as r}from"./chunk-XBVKQVAV.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,minWidth:{mobile:10,desktop:10},minHeight:{mobile:10,desktop:10},icon:g,props:s({datasource:r(c()),staticImages:r(a({title:"Nav items",schema:t.Array(t.Object({src:l("Image URL"),legend:p("Legend")}),{title:"Images",default:[]})})),styles:o({title:"Styles",children:{layout:i()}})}),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};
@@ -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 a}from"./chunk-XBVKQVAV.js";import{a as o}from"./chunk-OYIL5SCU.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};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as e}from"./chunk-SFKZAUPW.js";import{a as d,e as r}from"./chunk-XBVKQVAV.js";import{a as i}from"./chunk-OYIL5SCU.js";import{Type as o}from"@sinclair/typebox";function p(t="Border"){return d({title:t,options:{"ui:styleId":"#styles:border",$id:"styles:border"},children:{rounding:r(e(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl","rounded-full"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","3xl","Full"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})),width:r(e(["border-0","border","border-2","border-4","border-8"],{title:"Width",enumNames:["None","S","M","L","XL"],"ai:instructions":"Don't specify width if you want no border.","ui:field":"enum","ui:placeholder":"None"})),color:o.Optional(o.String({title:"Color","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `border-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 50 and 900","ui:field":"color","ui:color-type":"border"})),sides:o.Optional(o.Array(e(["border-l","border-t","border-r","border-b"],{title:"Sides",enumNames:["Left","Top","Right","Bottom"],description:"The specific sides where to apply the border. Not specifying sides will apply the border to all sides.","ai:instructions":"Use this to apply the border to specific sides. Not specifying sides will apply the border to all sides."}),{"ui:field":"border-side"})),style:r(e(["border-solid","border-dashed","border-dotted"],{title:"Style",description:"The brick border style",default:"border-solid",enumNames:["Solid","Dashed","Dotted"],"ai:instructions":"Use only when width is different than border-0.","ui:field":"enum","ui:display":"button-group"}))}})}function b(t={}){return i("styles:border",{...t,"ui:styleId":"#styles:border"})}export{p as a,b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as d}from"./chunk-6HBMLMS4.js";import{a as i}from"./chunk-OYIL5SCU.js";import{Type as e}from"@sinclair/typebox";function r(){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 l={lastTouched:e.Optional(e.Number({default:0,"ui:field":"hidden","ai:hidden":!0})),hidden:e.Optional(i("styles:hidden")),editable:e.Optional(e.Boolean({description:"Do not use. It is used internally by the editor.","ui:field":"hidden","ai:hidden":!0})),preset:e.Optional(d)};export{r as a,l 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 d}from"./chunk-AUDVZ5XH.js";import{b as r,c as n}from"./chunk-ESZZYREQ.js";import{b as p}from"./chunk-Z2NARRFH.js";import{b as a}from"./chunk-KJC5OW6Z.js";import{b as i}from"./chunk-FVW6TE5S.js";import{b as o}from"./chunk-ZM7FO54Z.js";import{a as s}from"./chunk-76ACOEIL.js";import{d as t,e}from"./chunk-XBVKQVAV.js";import{Type as c}from"@sinclair/typebox";import{RxGrid as l}from"react-icons/rx";var f=c.Array(c.Object({},{additionalProperties:!0})),T=s({type:"container",kind:"brick",name:"Container",description:"A container that can hold other bricks and align them horizontally or vertically",aiInstructions:"A container acts as a flexbox (default) or a grid and allows you to align bricks horizontally, vertically, or in a grid. ",isContainer:!0,defaultHeight:{desktop:6,mobile:6},defaultWidth:{desktop:12,mobile:12},datasource:f,icon:l,props:t({layout:r(),background:e(o()),border:e(a()),padding:e(i()),shadow:e(p()),datasource:e(d()),...n()})}),z=[{description:"Feature cards grid layout",type:"container",props:{preset:"prominent-primary",layout:{type:"grid",columns:3,gap:"gap-4"},padding:"p-8",border:{rounding:"rounded-lg"},$children:[{type:"card",props:{variants:["centered"],cardTitle:{content:"Fast Performance"},cardBody:{content:"Lightning-fast load times and optimized performance for the best user experience."}}},{type:"card",props:{variants:["centered"],cardTitle:{content:"Secure & Reliable"},cardBody:{content:"Enterprise-grade security with 99.9% uptime guarantee and data protection."}}},{type:"card",props:{variants:["centered"],cardTitle:{content:"Easy Integration"},cardBody:{content:"Simple API integration with comprehensive documentation and support."}}}]}},{description:"Horizontal hero section with image and text",type:"container",props:{preset:"prominent-secondary",layout:{type:"flex",direction:"flex-row",alignItems:"items-center",gap:"gap-8"},padding:"p-16",$children:[{type:"text",props:{content:"<h1>Transform Your Business</h1><p>Discover how our innovative solutions can streamline your operations and accelerate growth. Join thousands of satisfied customers worldwide.</p>",color:"#ffffff",padding:"p-0"}},{type:"image",props:{image:{src:"https://via.placeholder.com/400x300.png?text=Business+Growth",alt:"Business transformation illustration"},border:{borderRadius:"8px"}}}]}},{description:"Vertical testimonial section",type:"container",props:{layout:{type:"flex",direction:"flex-col",alignItems:"items-center",gap:"gap-8"},background:{color:"#ffffff"},padding:"p-8",$children:[{type:"text",props:{content:"<h2 style='text-align: center'>What Our Customers Say</h2>",padding:"p-0"}},{type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Sarah Johnson",company:"Tech Solutions Inc.",text:"This platform has revolutionized how we manage our projects. Incredible results!",avatar:{src:"https://via.placeholder.com/60x60.png?text=SJ",alt:"Sarah Johnson"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"Digital Agency",text:"Outstanding support and features. Highly recommend to any growing business.",avatar:{src:"https://via.placeholder.com/60x60.png?text=MC",alt:"Mike Chen"},socialIcon:"mdi:twitter"}]}}]}},{description:"Two-column content layout",type:"container",props:{layout:{type:"grid",columns:2,gap:"gap-8"},padding:"p-8",$children:[{type:"text",props:{content:"<h3>About Our Company</h3><p>We've been providing innovative solutions since 2010, helping businesses across industries achieve their goals through technology and expertise.</p><p>Our team of dedicated professionals works tirelessly to ensure every client receives personalized service and exceptional results.</p>",background:{backgroundColor:"#f0f9ff"},padding:"p-6",border:{borderRadius:"8px"}}},{type:"container",props:{layout:{type:"flex",flexDirection:"flex-col",gap:"gap-4"},$children:[{type:"text",props:{content:"<h4>Key Stats</h4>",padding:"p-0"}},{type:"text",props:{content:"<strong>500+</strong> Happy Customers",background:{backgroundColor:"#dcfce7"},padding:"p-3",border:{borderRadius:"6px"}}},{type:"text",props:{content:"<strong>10+</strong> Years Experience",background:{backgroundColor:"#dbeafe"},padding:"p-3",border:{borderRadius:"6px"}}},{type:"text",props:{content:"<strong>99.9%</strong> Uptime Record",background:{backgroundColor:"#fef3c7"},padding:"p-3",border:{borderRadius:"6px"}}}]}}]}},{description:"Call-to-action section with centered alignment",type:"container",props:{layout:{type:"flex",direction:"flex-col",alignItems:"items-center",justifyContent:"justify-center",gap:"gap-4"},padding:"p-16",$children:[{type:"hero",props:{content:"Ready to Get Started?",tagline:"Join thousands of satisfied customers and transform your business today",align:"center",color:"#ffffff",padding:"p-0",effects:{textShadow:"2px 2px 4px rgba(0,0,0,0.5)"}}},{type:"container",props:{layout:{type:"flex",flexDirection:"flex-row",gap:"gap-4"},$children:[{type:"text",props:{content:"<a href='/signup' style='text-align: center'><strong>Start Free Trial</strong></a>",background:{backgroundColor:"#ffffff"},color:"#667eea",padding:"p-4",border:{borderRadius:"8px"},effects:{shadow:"shadow-lg"}}},{type:"text",props:{content:"<a href='/demo' style='text-align: center'><strong>Watch Demo</strong></a>",background:{backgroundColor:"transparent"},color:"#ffffff",padding:"p-4",border:{border:"2px solid #ffffff",borderRadius:"8px"}}}]}}]}}];export{f as a,T as b,z as c};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as r}from"./chunk-Z2NARRFH.js";import{b as s}from"./chunk-KJC5OW6Z.js";import{b as a}from"./chunk-P4FWHABH.js";import{d as l}from"./chunk-ZM7FO54Z.js";import{a as o}from"./chunk-4GPU3TI3.js";import{a as c}from"./chunk-76ACOEIL.js";import{b as t,d as n,e as i}from"./chunk-XBVKQVAV.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};
@@ -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 p}from"./chunk-JJN753J5.js";import{b as d}from"./chunk-Z2NARRFH.js";import{b as i}from"./chunk-KJC5OW6Z.js";import{b as a}from"./chunk-FVW6TE5S.js";import{d as t}from"./chunk-ZM7FO54Z.js";import{a as o}from"./chunk-4GPU3TI3.js";import{a as s}from"./chunk-76ACOEIL.js";import{d as r,e}from"./chunk-XBVKQVAV.js";import{RxImage as m}from"react-icons/rx";import{Type as h}from"@sinclair/typebox";var y=s({type:"image",kind:"brick",name:"Image",description:"An image brick",repeatable:!0,defaultHeight:{desktop:8,mobile:8},defaultWidth:{desktop:3,mobile:3},icon:m,props:r({image:p(),backgroundColor:e(t()),border:e(i()),padding:e(a()),shadow:e(d()),blurHash:e(o("Blur Hash",{"ui:fied":"hidden",description:"A placeholder for the image while it is loading. Use a blur hash string."})),author:e(h.Object({name:o("Image Author",{"ui:field":"hidden",description:"Image author. Use this to give credit to the author"}),url:o("Image Author URL",{"ui:field":"hidden",description:"Image author URL. Use this to give credit to the author"})})),provider:e(o("Image Provider",{"ui:field":"hidden",description:"Image provider. Use this to give credit to the author","ai:instructions":"The provider of the image, e.g. 'unsplash', 'pexels', etc."}))})}),k=[{description:"Hero landscape image with shadow",type:"image",props:{image:{src:"https://via.placeholder.com/800x400.png?text=Hero+Landscape",alt:"Beautiful landscape view for hero section"},shadow:"shadow-lg"}},{description:"Team member profile photo",type:"image",props:{image:{src:"https://via.placeholder.com/300x300.png?text=Profile+Photo",alt:"Team member profile photo"},shadow:"shadow-md",border:{rounding:"rounded-full",width:"border-2"}}},{description:"Product showcase image",type:"image",props:{image:{src:"https://via.placeholder.com/400x400.png?text=Product+Image",alt:"Premium product showcase"},shadow:"shadow-sm"}},{description:"Blog article featured image",type:"image",props:{image:{src:"https://via.placeholder.com/600x300.png?text=Article+Featured",alt:"Featured image for blog article"},author:{name:"John Photographer",url:"https://example.com/john"},provider:"unsplash",shadow:"shadow-md"}},{description:"Gallery thumbnail with hover effect",type:"image",props:{image:{src:"https://via.placeholder.com/250x250.png?text=Gallery+Thumb",alt:"Gallery thumbnail image"},shadow:"shadow-md"}},{description:"Logo image with padding",type:"image",props:{image:{src:"https://via.placeholder.com/200x80.png?text=Company+Logo",alt:"Company logo"},padding:"p-8",shadow:"shadow-sm"}},{description:"Testimonial customer photo",type:"image",props:{image:{src:"https://via.placeholder.com/120x120.png?text=Customer",alt:"Happy customer testimonial photo"},border:{rounding:"rounded-xl",width:"border-2"},shadow:"shadow-lg",padding:"p-2",backgroundColor:"#ffffff"}},{description:"Event banner image",type:"image",props:{image:{src:"https://via.placeholder.com/800x200.png?text=Event+Banner",alt:"Annual conference event banner"},border:{rounding:"rounded-lg",width:"border-2"},shadow:"shadow-xl",author:{name:"Event Photographer",url:"https://example.com/photographer"},provider:"pexels"}},{description:"Illustration with background",type:"image",props:{image:{src:"https://via.placeholder.com/150x150.png?text=Blabla+Feature",alt:"Feature illustration"},backgroundColor:"#f0f9ff",padding:"p-8",border:{rounding:"rounded-lg",width:"border-2"},shadow:"shadow-sm"}},{description:"Image with blurHash",type:"image",props:{image:{src:"https://via.placeholder.com/300x200.png?text=Card+Image",alt:"My image"},border:{rounding:"rounded-lg",width:"border-2"},shadow:"shadow-md",blurHash:"L6PZfSi_.AyE_3t7t7R**0o#DgR4"}}];export{y as a,k as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as e}from"./chunk-EAXMALLF.js";import{a as t}from"./chunk-4GPU3TI3.js";import{b as n,e as o}from"./chunk-XBVKQVAV.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 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{d as e}from"./chunk-ZM7FO54Z.js";import{a as n}from"./chunk-4GPU3TI3.js";import{a as p}from"./chunk-76ACOEIL.js";import{a as t}from"./chunk-SFKZAUPW.js";import{b as o,d as r,e as i}from"./chunk-XBVKQVAV.js";import{RxDividerHorizontal as d}from"react-icons/rx";var z=p({type:"divider",name:"Divider",kind:"brick",description:"A horizontal or vertical divider",repeatable:!0,icon:d,props:r({orientation:i(t(["horizontal","vertical"],{title:"Orientation",enumNames:["Horizontal","Vertical"]})),color:i(e({default:"bg-base-300",title:"Divider color"})),size:i(o({title:"Size",schema:n("Size",{default:"100%",description:"Size of the divider","ai:instructions":"The size of the divider must be in % unit, like 50%"})}))},{default:{size:"100%",color:"bg-base-300"}})}),b=[{description:"Basic horizontal divider",type:"divider",props:{orientation:"horizontal",color:"bg-base-300",size:"100%"}},{description:"Accent colored divider for emphasis",type:"divider",props:{orientation:"horizontal",color:"bg-blue-500",size:"100%"}},{description:"Short horizontal divider for content breaks",type:"divider",props:{orientation:"horizontal",color:"bg-base-300",size:"50%"}},{description:"Thin vertical divider for compact layouts",type:"divider",props:{orientation:"vertical",color:"bg-gray-300",size:"75%"}},{description:"Bold primary colored section divider",type:"divider",props:{orientation:"horizontal",color:"bg-primary",size:"100%"}},{description:"Error colored divider for attention",type:"divider",props:{orientation:"horizontal",color:"bg-red-500",size:"100%"}},{description:"Full height vertical divider for panels",type:"divider",props:{orientation:"vertical",color:"bg-base-300",size:"100%"}},{description:"Secondary colored divider",type:"divider",props:{orientation:"horizontal",color:"bg-secondary",size:"100%"}}];export{z as a,b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b}from"./chunk-EFUCEV6J.js";import{a as u}from"./chunk-AUDVZ5XH.js";import{b as d}from"./chunk-JJN753J5.js";import{c}from"./chunk-EQQGW3Y3.js";import{b as p}from"./chunk-Z2NARRFH.js";import{b as s}from"./chunk-KJC5OW6Z.js";import{b as a}from"./chunk-P4FWHABH.js";import{a as m}from"./chunk-GEJURLYI.js";import{d as l}from"./chunk-ZM7FO54Z.js";import{a as g,d as i}from"./chunk-4GPU3TI3.js";import{a as f}from"./chunk-76ACOEIL.js";import{a as e,b as t,d as n,e as o}from"./chunk-XBVKQVAV.js";import{Type as r}from"@sinclair/typebox";import{VscLayoutPanelOff as h}from"react-icons/vsc";var v=r.Array(r.Object({href:i(),label:r.String()}),{default:[{href:"#",label:"Link 1"},{href:"#",label:"Link 2"},{href:"#",label:"Link 3"}]}),H=f({type:"navbar",kind:"widget",name:"Navbar",description:"A navigation bar with logo and navigation",aiInstructions:"This brick should be used on most sites/pages.",datasource:v,duplicatable:!1,resizable:!1,movable:!1,defaultHeight:{desktop:3,mobile:3},maxHeight:{desktop:3,mobile:3},minHeight:{desktop:3,mobile:3},icon:h,iconClassName:"rotate-180",props:n({container:o(e({title:"Main element",children:{backgroundColor:o(l()),border:o(s()),shadow:o(p()),fixedPositioned:o(b())},metadata:{"ui:responsive":!0}})),brand:e({title:"Brand",children:{name:o(c({title:"Brand name",default:"Acme Inc.",disableSizing:!0})),logo:o(d({title:"Logo",noObjectOptions:!0})),hideText:o(m("Hide text")),color:o(a())}}),navigation:e({title:"Links",children:{position:t({title:"Position",schema:r.Union([r.Literal("left",{title:"Left"}),r.Literal("center",{title:"Center"}),r.Literal("right",{title:"Right"})],{default:"right"})}),color:o(a()),datasource:o(u()),staticItems:o(t({title:"Nav items",schema:r.Array(r.Object({urlOrPageId:i(),label:o(g("Label"))}),{title:"Navigation items",default:[]})}))}})})}),V=[{description:"Corporate navbar with logo and right-aligned navigation",type:"navbar",props:{preset:"prominent-primary",container:{},brand:{name:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/120x40.png?text=TechCorp",alt:"TechCorp Solutions logo"},color:"#1f2937"},navigation:{position:"right",color:"#374151",staticItems:[{urlOrPageId:"/services"},{urlOrPageId:"/about"},{urlOrPageId:"/portfolio"},{urlOrPageId:"/contact"}]}}},{description:"Dark theme navbar with centered navigation",type:"navbar",props:{container:{backgroundColor:"#1f2937",shadow:"shadow-lg"},brand:{name:"Creative Studio",logo:{src:"https://via.placeholder.com/100x35.png?text=Studio",alt:"Creative Studio logo"},color:"#ffffff"},navigation:{position:"center",color:"#d1d5db",staticItems:[{urlOrPageId:"/work"},{urlOrPageId:"/services"},{urlOrPageId:"/team"},{urlOrPageId:"/blog"}]}}},{description:"SaaS platform navbar with fixed positioning",type:"navbar",props:{container:{backgroundColor:"#3b82f6",fixedPositioned:!0,shadow:"shadow-md"},brand:{name:"CloudFlow",logo:{src:"https://via.placeholder.com/110x38.png?text=CloudFlow",alt:"CloudFlow platform logo"},color:"#ffffff"},navigation:{position:"right",color:"#f1f5f9",staticItems:[{urlOrPageId:"/features"},{urlOrPageId:"/pricing"},{urlOrPageId:"/docs"},{urlOrPageId:"/login"}]}}},{description:"E-commerce navbar",type:"navbar",props:{preset:"prominent-primary",brand:{name:"ShopEasy",logo:{src:"https://via.placeholder.com/130x45.png?text=ShopEasy",alt:"ShopEasy store logo"}},navigation:{position:"right",staticItems:[{urlOrPageId:"/products"},{urlOrPageId:"/categories"},{urlOrPageId:"/deals"},{urlOrPageId:"/account"},{urlOrPageId:"/cart"}]}}},{description:"Agency navbar with logo-only brand",type:"navbar",props:{container:{shadow:"shadow-sm"},brand:{logo:{src:"https://via.placeholder.com/140x50.png?text=Agency+Logo",alt:"Digital agency logo"},hideText:!0},navigation:{position:"right",color:"#64748b",staticItems:[{urlOrPageId:"/projects"},{urlOrPageId:"/capabilities"},{urlOrPageId:"/insights"},{urlOrPageId:"/contact"}]}}},{description:"Restaurant navbar with warm styling",type:"navbar",props:{container:{backgroundColor:"#7c2d12",shadow:"shadow-lg"},brand:{name:"Bella Vista",logo:{src:"https://via.placeholder.com/80x50.png?text=BV",alt:"Bella Vista restaurant logo"},color:"#fed7aa"},navigation:{position:"center",color:"#fdba74",staticItems:[{urlOrPageId:"/menu"},{urlOrPageId:"/reservations"},{urlOrPageId:"/events"},{urlOrPageId:"/location"}]}}},{description:"Portfolio navbar with left-aligned navigation",type:"navbar",props:{preset:"prominent-secondary",container:{backgroundColor:"#f1f5f9",border:{sides:["border-b"],color:"border-accent"}},brand:{name:"Alex Martinez",color:"#334155"},navigation:{position:"left",color:"#64748b",staticItems:[{urlOrPageId:"/work"},{urlOrPageId:"/about"},{urlOrPageId:"/experience"},{urlOrPageId:"/contact"}]}}},{description:"Non-profit navbar with mission-focused design",type:"navbar",props:{preset:"prominent-primary",container:{shadow:"shadow-md"},brand:{name:"Green Future",logo:{src:"https://via.placeholder.com/100x40.png?text=GF",alt:"Green Future organization logo"},color:"#d1fae5"},navigation:{position:"right",color:"#a7f3d0",staticItems:[{urlOrPageId:"/mission"},{urlOrPageId:"/programs"},{urlOrPageId:"/volunteer"},{urlOrPageId:"/donate"}]}}}];export{v as a,H as b,V as c};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as u}from"./chunk-ETEMVJ5N.js";import{b as r}from"./chunk-ZC55FZNB.js";import{d as c}from"./chunk-ESZZYREQ.js";import{b as l,c as o}from"./chunk-SBYJ2DNF.js";import{b as d}from"./chunk-KJC5OW6Z.js";import{b as p}from"./chunk-ZM7FO54Z.js";import{a}from"./chunk-SFKZAUPW.js";import{a as s}from"./chunk-XBVKQVAV.js";import{b as n}from"./chunk-6HBMLMS4.js";import{Type as t}from"@sinclair/typebox";import{customAlphabet as f}from"nanoid";import{merge as g}from"lodash-es";var z=f("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),$=t.Object({left:t.Optional(t.String({title:"top",description:"The left position in css unit."})),top:t.Optional(t.String({title:"top",description:"The top position in css unit."})),right:t.Optional(t.String({title:"right",description:"The right position in css unit."})),bottom:t.Optional(t.String({title:"bottom",description:"The bottom position in css unit."})),inset:t.Optional(t.String({title:"inset",description:"The inset position in css unit."})),translateX:t.Optional(t.String({title:"translateX",description:"The translateX position in css unit."})),translateY:t.Optional(t.String({title:"translateY",description:"The translateY position in css unit."})),rotate:t.Optional(t.String({title:"rotate",description:"The rotate position in css unit."}))}),b=a(Object.keys(r),{title:"Brick type"}),y=t.Object({id:t.String({title:"ID",description:"A unique identifier for the brick."}),type:b,props:t.Any({title:"Props",description:"The props of the brick. The available props depends on the brick type."}),mobileProps:t.Optional(t.Object({},{additionalProperties:!0,description:"The props for mobile, merged with the default props"}))},{$id:"brick",additionalProperties:!0}),m=t.Object({layout:t.Optional(s({title:"Layout",children:c({defaults:{gap:"gap-4",wrap:!0,fillSpace:!1,alignItems:"items-stretch",justifyContent:"justify-stretch"}})})),background:t.Optional(p()),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(u("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:"20px",description:"Horizontal padding. Desktop only","ui:styleId":"minHeight","ui:advanced":!0})),verticalPadding:t.Optional(l({title:"Vertical padding",default:"20px",description:"Vertical padding.","ui:styleId":"verticalPadding","ui:advanced":!0})),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"}),C=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:m,mobileProps:t.Optional(t.Partial(m,{additionalProperties:!1})),bricks:t.Array(y)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."});function M(e){return e.map(i=>({...i,bricks:i.bricks.map(h)}))}function h(e){let i=r[e.type];return{...e,props:g({},i.props,{...e.props,...e.props.$children?{$children:e.props.$children.map(h)}:{}})}}export{z as a,b,y as c,m as d,C as e,M as f,h as g};
@@ -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,e}from"./chunk-XBVKQVAV.js";import{a as l}from"./chunk-OYIL5SCU.js";import{Type as t}from"@sinclair/typebox";function p(i={}){let{title:r="Align",defaultValue:s={horizontal:"justify-start",vertical:"items-center"}}=i;return n({title:r,schema:t.Object({horizontal:e(t.Union([t.Literal("justify-start",{title:"Left"}),t.Literal("justify-center",{title:"Center"}),t.Literal("justify-end",{title:"Right"})],{title:"Horizontal"})),vertical:e(t.Union([t.Literal("items-start",{title:"Top"}),t.Literal("items-center",{title:"Center"}),t.Literal("items-end",{title:"Bottom"})],{title:"Vertical"}))},{$id:"styles:basicAlign","ui:responsive":!0,"ui:field":"align-basic","ui:styleId":"#styles:basicAlign",default:s})})}function u(i={}){return l("styles:basicAlign",i)}export{p as a,u as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as a}from"./chunk-KOF7PY4F.js";import{Type as p}from"@sinclair/typebox";import{get as c}from"lodash-es";function u(e){return e.$ref,e}function y(e){return e.type==="object"}function m({title:e,children:t,category:r="settings",metadata:o,options:n}){return y(t)?p.Composite([p.Object({}),t],{title:e,metadata:{category:r,group:!0,...o},...n}):p.Object(t,{title:e,...n,metadata:{category:r,group:!0,...o}})}function d({schema:e,...t}){return Object.assign(e,t),e}function g(e){let t=e.metadata;return{title:e.title??e.metadata?.title,meta:t,tab:t.groupTab||"common"}}function l(e,t){let r={...a,...e};return t?.noPreset&&delete r.preset,p.Object(r,t)}var b=p.Optional,S=p.Array;function s(e,t="",r={}){let o=u(e);if(o.type==="object")for(let n in o.properties){let i=o.properties[n];i["ui:styleId"]&&(r[`${t}${n}`]=i["ui:styleId"]),s(i,`${t}${n}.`,r)}else o.type==="array"&&s(o.items,`${t}[].`,r);return r}function x(e,t,r){for(let[o,n]of Object.entries(e))if(n===r)return c(t,o)}export{m as a,d as b,g as c,l as d,b as e,S as f,s as g,x as h};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a}from"./chunk-SFKZAUPW.js";import{b as o}from"./chunk-XBVKQVAV.js";import{a as i}from"./chunk-OYIL5SCU.js";import{Type as s}from"@sinclair/typebox";function u({title:t="Shadow",defaultValue:e="shadow-none"}={}){return o({title:t,schema:a(["shadow-none","shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl"],{$id:"styles:shadow",title:t,default:e,enumNames:["None","S","M","L","XL","2XL"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})})}function l(t={}){return i("styles:shadow",{...t,"ui:styleId":"#styles:shadow"})}function h({title:t="Text shadow",defaultValue:e="text-shadow-none"}={}){return o({title:t,schema:a(["text-shadow-none","text-shadow-sm","text-shadow-md","text-shadow-lg","text-shadow-xl"],{default:e,enumNames:["None","Small","Medium","Large","Extra large"],"ui:placeholder":"Not specified","ui:field":"enum"})})}function m({defaultValue:t=1,title:e="Opacity"}={}){return o({title:e,schema:s.Number({minimum:.1,maximum:1,default:t,multipleOf:.1,"ui:field":"slider","ui:unit":"%","ui:multiplier":100})})}export{u as a,l as b,h as c,m as d};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as k,b as J}from"./chunk-CL72KTSY.js";import{a as p,b as D}from"./chunk-XQBNMLIS.js";import{a as s,b as B}from"./chunk-RKBJTD53.js";import{b as n,c as j}from"./chunk-IEHOWRO3.js";import{b as o,c as W}from"./chunk-GES7GCNN.js";import{b as l,c as w}from"./chunk-W2HCVNRC.js";import{a as d,b as G}from"./chunk-EXAE67ZU.js";import{a as E,b as F}from"./chunk-QG5AWSGT.js";import{a as u,b as I}from"./chunk-3G6VWQ7K.js";import{a as m,b as R}from"./chunk-2WJ5JFCL.js";import{a as r,b as L}from"./chunk-345A5Q4I.js";import{a as y,b as q}from"./chunk-6P4BCAMF.js";import{b as i,c as h}from"./chunk-KPRNSVFG.js";import{a as g,b as H}from"./chunk-UKPBLPU2.js";import{a as x,b as z}from"./chunk-6WRY6H5C.js";import{a as f,b as P}from"./chunk-IGICLAXG.js";import{a,b as v}from"./chunk-RYK77LRD.js";import{a as M,b as C}from"./chunk-CYG4PX4M.js";import{a as t,b}from"./chunk-COJXT4AE.js";import{a as c,b as A}from"./chunk-AJ5KETPJ.js";import{b as e}from"./chunk-76ACOEIL.js";var oe={[m.type]:m,[a.type]:a,[s.type]:s,[p.type]:p,[r.type]:r,[o.type]:o,[f.type]:f,[d.type]:d,[n.type]:n,[y.type]:y,[l.type]:l,[x.type]:x,[c.type]:c,[M.type]:M,[E.type]:E,[i.type]:i,[g.type]:g,[u.type]:u,[k.type]:k,[t.type]:t},fe={[m.type]:e(m),[a.type]:e(a),[s.type]:e(s),[p.type]:e(p),[r.type]:e(r),[d.type]:e(d),[o.type]:e(o),[f.type]:e(f),[n.type]:e(n),[y.type]:e(y),[l.type]:e(l),[x.type]:e(x),[c.type]:e(c),[M.type]:e(M),[E.type]:e(E),[i.type]:e(i),[g.type]:e(g),[u.type]:e(u),[k.type]:e(k),[t.type]:e(t)},ne={[m.type]:R,[a.type]:v,[s.type]:B,[p.type]:D,[r.type]:L,[o.type]:W,[f.type]:P,[d.type]:G,[n.type]:j,[y.type]:q,[l.type]:w,[x.type]:z,[c.type]:A,[M.type]:C,[E.type]:F,[i.type]:h,[g.type]:H,[u.type]:I,[k.type]:J,[t.type]:b};export{oe as a,fe as b,ne as c};