@upstart.gg/sdk 0.0.113 → 0.0.115

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 (172) hide show
  1. package/dist/shared/ajv.js +1 -1
  2. package/dist/shared/attributes.js +1 -1
  3. package/dist/shared/brick-manifest.d.ts +10 -7
  4. package/dist/shared/brick-manifest.d.ts.map +1 -1
  5. package/dist/shared/brick-manifest.js +1 -1
  6. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +6 -3
  7. package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
  8. package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
  9. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  10. package/dist/shared/bricks/manifests/button.manifest.d.ts +6 -3
  11. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  12. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  13. package/dist/shared/bricks/manifests/card.manifest.d.ts +6 -3
  14. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  15. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  16. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +6 -3
  17. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  18. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  19. package/dist/shared/bricks/manifests/divider.manifest.d.ts +6 -3
  20. package/dist/shared/bricks/manifests/divider.manifest.d.ts.map +1 -1
  21. package/dist/shared/bricks/manifests/divider.manifest.js +1 -1
  22. package/dist/shared/bricks/manifests/footer.manifest.d.ts +6 -3
  23. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  24. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  25. package/dist/shared/bricks/manifests/form.manifest.d.ts +6 -3
  26. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  27. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  28. package/dist/shared/bricks/manifests/hero.manifest.d.ts +6 -3
  29. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  30. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  31. package/dist/shared/bricks/manifests/icon.manifest.d.ts +6 -3
  32. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  33. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  34. package/dist/shared/bricks/manifests/image.manifest.d.ts +6 -3
  35. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  36. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  37. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +6 -3
  38. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  39. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  40. package/dist/shared/bricks/manifests/map.manifest.d.ts +6 -3
  41. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  42. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  43. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +50 -58
  44. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  45. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  46. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +6 -3
  47. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  48. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  49. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +6 -3
  50. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  51. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  52. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +6 -3
  53. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
  54. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  55. package/dist/shared/bricks/manifests/text.manifest.d.ts +6 -3
  56. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  57. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  58. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +6 -3
  59. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
  60. package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
  61. package/dist/shared/bricks/manifests/{container.manifest.d.ts → vbox.manifest.d.ts} +8 -23
  62. package/dist/shared/bricks/manifests/vbox.manifest.d.ts.map +1 -0
  63. package/dist/shared/bricks/manifests/vbox.manifest.js +3 -0
  64. package/dist/shared/bricks/manifests/video.manifest.d.ts +6 -11
  65. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  66. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  67. package/dist/shared/bricks/props/align.js +1 -1
  68. package/dist/shared/bricks/props/background.js +1 -1
  69. package/dist/shared/bricks/props/boolean.js +1 -1
  70. package/dist/shared/bricks/props/border.js +1 -1
  71. package/dist/shared/bricks/props/color.js +1 -1
  72. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  73. package/dist/shared/bricks/props/common.js +1 -1
  74. package/dist/shared/bricks/props/container.d.ts +1 -3
  75. package/dist/shared/bricks/props/container.d.ts.map +1 -1
  76. package/dist/shared/bricks/props/container.js +1 -1
  77. package/dist/shared/bricks/props/css-length.js +1 -1
  78. package/dist/shared/bricks/props/datasource.js +1 -1
  79. package/dist/shared/bricks/props/date.js +1 -1
  80. package/dist/shared/bricks/props/effects.js +1 -1
  81. package/dist/shared/bricks/props/enum.js +1 -1
  82. package/dist/shared/bricks/props/file.js +1 -1
  83. package/dist/shared/bricks/props/geolocation.d.ts.map +1 -1
  84. package/dist/shared/bricks/props/geolocation.js +1 -1
  85. package/dist/shared/bricks/props/helpers.js +1 -1
  86. package/dist/shared/bricks/props/image.js +1 -1
  87. package/dist/shared/bricks/props/number.js +1 -1
  88. package/dist/shared/bricks/props/padding.js +1 -1
  89. package/dist/shared/bricks/props/position.js +1 -1
  90. package/dist/shared/bricks/props/prop.d.ts.map +1 -1
  91. package/dist/shared/bricks/props/prop.js +1 -1
  92. package/dist/shared/bricks/props/string.js +1 -1
  93. package/dist/shared/bricks/props/text.js +1 -1
  94. package/dist/shared/bricks.d.ts +18 -168
  95. package/dist/shared/bricks.d.ts.map +1 -1
  96. package/dist/shared/bricks.js +1 -1
  97. package/dist/shared/{chunk-2CXXM2W3.js → chunk-22BDK6JV.js} +1 -1
  98. package/dist/shared/{chunk-R3I32SUA.js → chunk-273FK54V.js} +1 -1
  99. package/dist/shared/{chunk-CMLGUX5D.js → chunk-3AHXTIVQ.js} +1 -1
  100. package/dist/shared/chunk-3HWWNRCQ.js +3 -0
  101. package/dist/shared/{chunk-3OOL2XTT.js → chunk-4KIC7WW4.js} +1 -1
  102. package/dist/shared/chunk-4WATTT6H.js +3 -0
  103. package/dist/shared/chunk-55MCNMOF.js +3 -0
  104. package/dist/shared/{chunk-4RG4IEAW.js → chunk-57QC6K6U.js} +1 -1
  105. package/dist/shared/{chunk-LXBGNROJ.js → chunk-5TAB5RAK.js} +1 -1
  106. package/dist/shared/{chunk-XNHLLTUK.js → chunk-6TUL7TXN.js} +1 -1
  107. package/dist/shared/chunk-76MAAKRJ.js +3 -0
  108. package/dist/shared/chunk-7XRXXDCC.js +3 -0
  109. package/dist/shared/{chunk-CS75Y4VB.js → chunk-B75W44GW.js} +1 -1
  110. package/dist/shared/chunk-BMC2RBNC.js +3 -0
  111. package/dist/shared/chunk-BU6UCXWP.js +3 -0
  112. package/dist/shared/chunk-C2AQDHJU.js +3 -0
  113. package/dist/shared/{chunk-P5O7YHX7.js → chunk-C7VV6NIX.js} +1 -1
  114. package/dist/shared/chunk-CAHMS6EB.js +3 -0
  115. package/dist/shared/{chunk-3SDSZO7A.js → chunk-CJ6EZ6V3.js} +1 -1
  116. package/dist/shared/{chunk-L6NXGVEU.js → chunk-CM4DB7ZV.js} +1 -1
  117. package/dist/shared/{chunk-A3LAQ47R.js → chunk-DJ5LWVHX.js} +1 -1
  118. package/dist/shared/{chunk-KUG7UEHN.js → chunk-EXD5JEQ4.js} +1 -1
  119. package/dist/shared/{chunk-GSRUIZUA.js → chunk-FEQE56RU.js} +1 -1
  120. package/dist/shared/{chunk-M45FSNRM.js → chunk-HH4AKWHD.js} +1 -1
  121. package/dist/shared/{chunk-OMRLCH3Q.js → chunk-HT2FJOKO.js} +1 -1
  122. package/dist/shared/{chunk-FSC3MYBH.js → chunk-HVJI5X3Q.js} +1 -1
  123. package/dist/shared/{chunk-43LKLZNS.js → chunk-J2SWSUCM.js} +1 -1
  124. package/dist/shared/{chunk-ASL4Y5XY.js → chunk-JPBXMW3P.js} +1 -1
  125. package/dist/shared/{chunk-ZPPYVZEC.js → chunk-KH7G433A.js} +1 -1
  126. package/dist/shared/{chunk-EVTXPXOL.js → chunk-KONRMV3H.js} +1 -1
  127. package/dist/shared/chunk-KVVYOKWH.js +7 -0
  128. package/dist/shared/{chunk-IF7JTYZC.js → chunk-LFQNWSLG.js} +1 -1
  129. package/dist/shared/{chunk-CCS6URWT.js → chunk-MS7FWNQY.js} +1 -1
  130. package/dist/shared/chunk-NGTLGMHK.js +3 -0
  131. package/dist/shared/{chunk-OWERYFOX.js → chunk-NI7D2E25.js} +1 -1
  132. package/dist/shared/chunk-QRUKREVW.js +8 -0
  133. package/dist/shared/chunk-RCZGJETI.js +5 -0
  134. package/dist/shared/chunk-SIL3MC6L.js +3 -0
  135. package/dist/shared/chunk-T37DHEM7.js +3 -0
  136. package/dist/shared/{chunk-RJ7BRXBX.js → chunk-T5OALMMJ.js} +1 -1
  137. package/dist/shared/{chunk-N2JEJ5VR.js → chunk-WDMUES3K.js} +1 -1
  138. package/dist/shared/{chunk-DOKWQP5K.js → chunk-WQNRTOOI.js} +1 -1
  139. package/dist/shared/chunk-XGHNHPRQ.js +6 -0
  140. package/dist/shared/{chunk-CBORSFPQ.js → chunk-YAMSHPKO.js} +1 -1
  141. package/dist/shared/{chunk-IBBY7AA5.js → chunk-YXFVFFYO.js} +1 -1
  142. package/dist/shared/{chunk-YZVFYTDV.js → chunk-ZGV2EX57.js} +1 -1
  143. package/dist/shared/{chunk-KWTNPGYO.js → chunk-ZRY4KDRV.js} +1 -1
  144. package/dist/shared/layout-constants.d.ts +3 -8
  145. package/dist/shared/layout-constants.d.ts.map +1 -1
  146. package/dist/shared/layout-constants.js +1 -1
  147. package/dist/shared/page.d.ts +6 -56
  148. package/dist/shared/page.d.ts.map +1 -1
  149. package/dist/shared/page.js +1 -1
  150. package/dist/shared/site.d.ts +6 -56
  151. package/dist/shared/site.d.ts.map +1 -1
  152. package/dist/shared/site.js +1 -1
  153. package/dist/shared/utils/schema-resolver.js +1 -1
  154. package/package.json +2 -2
  155. package/dist/shared/bricks/manifests/container.manifest.d.ts.map +0 -1
  156. package/dist/shared/bricks/manifests/container.manifest.js +0 -3
  157. package/dist/shared/chunk-3FLTGAUA.js +0 -5
  158. package/dist/shared/chunk-3MD3XND6.js +0 -3
  159. package/dist/shared/chunk-6SDHKHPI.js +0 -3
  160. package/dist/shared/chunk-CBB4Y7X2.js +0 -8
  161. package/dist/shared/chunk-EXUZRZG4.js +0 -3
  162. package/dist/shared/chunk-FUNNOEXU.js +0 -3
  163. package/dist/shared/chunk-GTIV4SPB.js +0 -3
  164. package/dist/shared/chunk-LJ263SAV.js +0 -3
  165. package/dist/shared/chunk-PP2TSSLT.js +0 -3
  166. package/dist/shared/chunk-QQYWPAY4.js +0 -3
  167. package/dist/shared/chunk-QX6XMJGU.js +0 -7
  168. package/dist/shared/chunk-RPRTTBM2.js +0 -3
  169. package/dist/shared/chunk-UIF4KPRY.js +0 -3
  170. package/dist/shared/chunk-VCTNTQAW.js +0 -3
  171. package/dist/shared/chunk-WARHNU5Z.js +0 -3
  172. package/dist/shared/chunk-ZVGTP32Z.js +0 -6
@@ -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{c as p}from"./chunk-3MD3XND6.js";import{b as s}from"./chunk-M45FSNRM.js";import{b as i}from"./chunk-3OOL2XTT.js";import{b as a}from"./chunk-YZVFYTDV.js";import{b as o}from"./chunk-LXBGNROJ.js";import{a as n}from"./chunk-WARHNU5Z.js";import{c as t,d as e}from"./chunk-OWERYFOX.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};
3
+ import{c as p}from"./chunk-T37DHEM7.js";import{b as s}from"./chunk-HH4AKWHD.js";import{b as i}from"./chunk-4KIC7WW4.js";import{b as a}from"./chunk-ZGV2EX57.js";import{b as o}from"./chunk-5TAB5RAK.js";import{a as n}from"./chunk-4WATTT6H.js";import{c as t,d as e}from"./chunk-NI7D2E25.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 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as e}from"./chunk-KUG7UEHN.js";import{Type as s}from"@sinclair/typebox";function c(t,o,n){let r={"ui:field":"enum","ui:display":n.displayAs||"select"},{options:p,displayAs:l,...u}=n;return e({title:t,schema:s.Union(p.map(i=>s.Literal(typeof i=="string"?i:i.value,{title:typeof i=="string"?i:i.title,"ui:icon":typeof i=="string"?void 0:i.icon})),{title:t,default:o,...r,...u})})}export{c as a};
3
+ import{a as e}from"./chunk-EXD5JEQ4.js";import{Type as s}from"@sinclair/typebox";function c(t,o,n){let r={"ui:field":"enum","ui:display":n.displayAs||"select"},{options:p,displayAs:l,...u}=n;return e({title:t,schema:s.Union(p.map(i=>s.Literal(typeof i=="string"?i:i.value,{title:typeof i=="string"?i:i.title,"ui:icon":typeof i=="string"?void 0:i.icon})),{title:t,default:o,...r,...u})})}export{c as a};
@@ -0,0 +1,6 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as i}from"./chunk-JPBXMW3P.js";import{c as t}from"./chunk-C7VV6NIX.js";import{b as a}from"./chunk-YAMSHPKO.js";import{b as s}from"./chunk-HH4AKWHD.js";import{b as n}from"./chunk-4KIC7WW4.js";import{b as p}from"./chunk-ZGV2EX57.js";import{b as o}from"./chunk-5TAB5RAK.js";import{a as d}from"./chunk-4WATTT6H.js";import{c as r,d as e}from"./chunk-NI7D2E25.js";import{BsAlphabetUppercase as l}from"react-icons/bs";var P=d({type:"hero",name:"Hero",kind:"brick",description:"A big textual element for home pages",aiInstructions:`
4
+ This hero element is a large text element that can be used to display a title and an optional tagline.
5
+ It is typically used on home pages to grab the user's attention.
6
+ `.trim(),icon:l,defaultWidth:{desktop:"200px",mobile:"100%"},props:r({content:t({title:"Hero title",default:"I'm a big text"}),tagline:e(t({title:"Hero tagline",default:"I'm a tagline"})),background:e(o()),color:e(a()),shadow:e(s()),align:e(i()),padding:e(p()),border:e(n())},{default:{padding:"p-4"}})}),A=[{description:"Simple welcome hero with blue background",type:"hero",props:{preset:"prominent-primary",content:"Welcome to Our Platform",tagline:"The future of productivity starts here",align:{horizontal:"justify-center"},padding:"p-8"}},{description:"Startup hero with gradient background",type:"hero",props:{preset:"prominent-secondary",content:"Build Something Amazing",tagline:"Turn your ideas into reality with our cutting-edge tools",align:{horizontal:"justify-center"},padding:"p-16"}},{description:"Construction company hero with bold presence",type:"hero",props:{preset:"prominent-primary",content:"Building Tomorrow Today",tagline:"Quality construction services for residential and commercial projects",padding:"p-16"}},{description:"Fashion brand hero with modern appeal",type:"hero",props:{preset:"prominent-accent",content:"Express Your Style",tagline:"Contemporary fashion that speaks to your individuality",align:{horizontal:"justify-center",vertical:"items-start"},padding:"p-16"}},{description:"Law firm hero with authoritative tone",type:"hero",props:{preset:"prominent-secondary",content:"Justice You Can Trust",tagline:"Experienced legal representation for individuals and businesses",padding:"p-8",border:{width:"border-2",color:"border-gray-800",rounding:"rounded-lg"}}},{description:"Photography studio hero with artistic flair",type:"hero",props:{preset:"surface-1",content:"Capturing Life's Moments",tagline:"Professional photography services for weddings, portraits, and events",border:{rounding:"rounded-lg"}}}];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{a as e}from"./chunk-QSKUUUXU.js";import{a as o}from"./chunk-KUG7UEHN.js";import{Type as i}from"@sinclair/typebox";function c(t,r="Text color"){return o({title:r,schema:i.String({$id:"styles:color","ai:instructions":"hex/rgb/rgba color or classes like `text-<variant>-<shade>`, variants being `primary`, `secondary`, `accent` and `neutral`, and shades between 50 and 900",default:t,"ui:styleId":"styles:color","ui:field":"color","ui:color-type":"text","ui:advanced":!0})})}function l(t={}){return e("styles:color",{...t,"ui:styleId":"styles:color"})}export{c as a,l as b};
3
+ import{a as e}from"./chunk-QSKUUUXU.js";import{a as o}from"./chunk-EXD5JEQ4.js";import{Type as i}from"@sinclair/typebox";function c(t,r="Text color"){return o({title:r,schema:i.String({$id:"styles:color","ai:instructions":"hex/rgb/rgba color or classes like `text-<variant>-<shade>`, variants being `primary`, `secondary`, `accent` and `neutral`, and shades between 50 and 900",default:t,"ui:styleId":"styles:color","ui:field":"color","ui:color-type":"text","ui:advanced":!0})})}function l(t={}){return e("styles:color",{...t,"ui:styleId":"styles:color"})}export{c as a,l as b};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as r,d as o}from"./chunk-R3I32SUA.js";import{a as l}from"./chunk-WARHNU5Z.js";import{c as a,d as i}from"./chunk-OWERYFOX.js";import{a as n}from"./chunk-SFKZAUPW.js";import{a as e}from"./chunk-KUG7UEHN.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:a({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:n(["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};
3
+ import{a as r,d as o}from"./chunk-273FK54V.js";import{a as l}from"./chunk-4WATTT6H.js";import{c as a,d as i}from"./chunk-NI7D2E25.js";import{a as n}from"./chunk-SFKZAUPW.js";import{a as e}from"./chunk-EXD5JEQ4.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:a({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:n(["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 +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{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};
3
+ import{a as p}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-QSKUUUXU.js";import{a as e}from"./chunk-EXD5JEQ4.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};
@@ -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 t}from"./chunk-KUG7UEHN.js";import{Type as e}from"@sinclair/typebox";function o(){return t({title:"Database",description:"Reference to a data source. Only used for dynamic websites",schema:e.Object({id:e.String({title:"Data Source ID"}),mapping:e.Record(e.String(),e.String(),{description:"Mapping of data source fields to brick props"}),filters:e.Optional(e.Record(e.String(),e.Object({op:e.Union([e.Literal("eq"),e.Literal("ne"),e.Literal("lt"),e.Literal("lte"),e.Literal("gt"),e.Literal("gte"),e.Literal("in"),e.Literal("nin"),e.Literal("contains"),e.Literal("startsWith"),e.Literal("endsWith")]),value:e.String()}),{description:"Filter data source records"})),sort:e.Optional(e.Record(e.String(),e.Union([e.Literal("asc",{title:"Ascending"}),e.Literal("desc",{title:"Descending"})]),{description:"Sort data source records"})),limit:e.Optional(e.Number({description:"Limit the number of records to fetch"})),offset:e.Optional(e.Number({description:"Offset the records to fetch"}))},{"ui:field":"datasource-ref","ui:meta-type":"datasource-ref",description:"Datasource reference. Only used for dynamic websites. Do not use for static websites"})})}export{o as a};
3
+ import{a as t}from"./chunk-EXD5JEQ4.js";import{Type as e}from"@sinclair/typebox";function o(){return t({title:"Database",description:"Reference to a data source. Only used for dynamic websites",schema:e.Object({id:e.String({title:"Data Source ID"}),mapping:e.Record(e.String(),e.String(),{description:"Mapping of data source fields to brick props"}),filters:e.Optional(e.Record(e.String(),e.Object({op:e.Union([e.Literal("eq"),e.Literal("ne"),e.Literal("lt"),e.Literal("lte"),e.Literal("gt"),e.Literal("gte"),e.Literal("in"),e.Literal("nin"),e.Literal("contains"),e.Literal("startsWith"),e.Literal("endsWith")]),value:e.String()}),{description:"Filter data source records"})),sort:e.Optional(e.Record(e.String(),e.Union([e.Literal("asc",{title:"Ascending"}),e.Literal("desc",{title:"Descending"})]),{description:"Sort data source records"})),limit:e.Optional(e.Number({description:"Limit the number of records to fetch"})),offset:e.Optional(e.Number({description:"Offset the records to fetch"}))},{"ui:field":"datasource-ref","ui:meta-type":"datasource-ref",description:"Datasource reference. Only used for dynamic websites. Do not use for static websites"})})}export{o as a};
@@ -1,10 +1,5 @@
1
- /**
2
- * The grid on mobile is 18 columns wide, on desktop it's 36 columns wide.
3
- */
4
- export declare const LAYOUT_COLS: {
5
- desktop: number;
6
- mobile: number;
7
- };
1
+ export declare const LAYOUT_COLS = 24;
2
+ export declare const GAP = 12;
8
3
  export declare const LAYOUT_BREAKPOINTS: {
9
4
  desktop: number;
10
5
  mobile: number;
@@ -15,5 +10,5 @@ export declare const LAYOUT_BREAKPOINTS: {
15
10
  /**
16
11
  * This is the height of a row in the layout grid.
17
12
  */
18
- export declare const LAYOUT_ROW_HEIGHT = 20;
13
+ export declare const LAYOUT_ROW_HEIGHT = 24;
19
14
  //# sourceMappingURL=layout-constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout-constants.d.ts","sourceRoot":"","sources":["../../src/shared/layout-constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW;;;CAGvB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;CAG9B,CAAC;AAEF;;GAEG;AAMH;;GAEG;AACH,eAAO,MAAM,iBAAiB,KAAK,CAAC"}
1
+ {"version":3,"file":"layout-constants.d.ts","sourceRoot":"","sources":["../../src/shared/layout-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,GAAG,KAAK,CAAC;AAEtB,eAAO,MAAM,kBAAkB;;;CAG9B,CAAC;AAEF;;GAEG;AAMH;;GAEG;AACH,eAAO,MAAM,iBAAiB,KAAK,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- var o={desktop:48,mobile:24},t={desktop:1024,mobile:1},e=20;export{t as LAYOUT_BREAKPOINTS,o as LAYOUT_COLS,e as LAYOUT_ROW_HEIGHT};
3
+ var o=24,t=12,e={desktop:1024,mobile:1},O=24;export{t as GAP,e as LAYOUT_BREAKPOINTS,o as LAYOUT_COLS,O as LAYOUT_ROW_HEIGHT};
@@ -49,19 +49,6 @@ export declare const pageSchema: import("@sinclair/typebox").TObject<{
49
49
  label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
50
50
  order: import("@sinclair/typebox").TNumber;
51
51
  props: import("@sinclair/typebox").TObject<{
52
- layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
53
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
54
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
55
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
56
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
57
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
58
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
59
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
60
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
61
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
62
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
63
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
64
- }>>;
65
52
  background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
66
53
  color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
67
54
  image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -69,39 +56,14 @@ export declare const pageSchema: import("@sinclair/typebox").TObject<{
69
56
  repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
70
57
  }>>;
71
58
  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<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
72
- border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
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-0" | "border" | "border-2" | "border-4" | "border-8">>;
75
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
76
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
77
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
78
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
79
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
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-0" | "border" | "border-2" | "border-4" | "border-8">>;
82
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
83
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
84
- }>>;
85
59
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
86
60
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
87
- horizontalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
88
- verticalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
61
+ fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
62
+ justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
63
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
89
64
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
90
65
  }>;
91
66
  mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
92
- layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
93
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
94
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
95
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
96
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
97
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
98
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
99
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
100
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
101
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
102
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
103
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
104
- }>>>;
105
67
  background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
106
68
  color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
107
69
  image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -109,23 +71,11 @@ export declare const pageSchema: import("@sinclair/typebox").TObject<{
109
71
  repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
110
72
  }>>;
111
73
  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<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
112
- border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
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-0" | "border" | "border-2" | "border-4" | "border-8">>;
115
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
116
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
117
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
118
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
119
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
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-0" | "border" | "border-2" | "border-4" | "border-8">>;
122
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
123
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
124
- }>>>;
125
74
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
126
75
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
127
- horizontalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
128
- verticalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
76
+ fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
77
+ justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
78
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
129
79
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
130
80
  }>>;
131
81
  bricks: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/shared/page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAA2B,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,cAAc,IAAI,QAAQ,GAAG;IAC5D;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,CAAC,SAAS,cAAc,GAAG,mBAAmB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACrE;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,YAAY,CAAC,GAAG;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/shared/page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAA2B,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,cAAc,IAAI,QAAQ,GAAG;IAC5D;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,CAAC,SAAS,cAAc,GAAG,mBAAmB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACrE;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,YAAY,CAAC,GAAG;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a}from"./chunk-EVTXPXOL.js";import"./chunk-QQYWPAY4.js";import"./chunk-43LKLZNS.js";import"./chunk-A3LAQ47R.js";import"./chunk-DOKWQP5K.js";import"./chunk-EXUZRZG4.js";import"./chunk-QX6XMJGU.js";import"./chunk-RPRTTBM2.js";import"./chunk-6SDHKHPI.js";import"./chunk-ZPPYVZEC.js";import"./chunk-OELIU5BZ.js";import"./chunk-FUNNOEXU.js";import"./chunk-GSRUIZUA.js";import"./chunk-VCTNTQAW.js";import"./chunk-3SDSZO7A.js";import"./chunk-FSC3MYBH.js";import"./chunk-CS75Y4VB.js";import"./chunk-RJ7BRXBX.js";import"./chunk-3FLTGAUA.js";import"./chunk-GTIV4SPB.js";import"./chunk-N2JEJ5VR.js";import"./chunk-LJ263SAV.js";import"./chunk-KWTNPGYO.js";import"./chunk-UIF4KPRY.js";import"./chunk-CCS6URWT.js";import"./chunk-L6NXGVEU.js";import"./chunk-4RG4IEAW.js";import"./chunk-ZVGTP32Z.js";import"./chunk-XNHLLTUK.js";import"./chunk-3MD3XND6.js";import"./chunk-OMRLCH3Q.js";import"./chunk-ASL4Y5XY.js";import"./chunk-CBB4Y7X2.js";import"./chunk-P5O7YHX7.js";import"./chunk-M45FSNRM.js";import"./chunk-3OOL2XTT.js";import"./chunk-CBORSFPQ.js";import"./chunk-YZVFYTDV.js";import"./chunk-IF7JTYZC.js";import"./chunk-LXBGNROJ.js";import"./chunk-IBBY7AA5.js";import"./chunk-R3I32SUA.js";import"./chunk-WARHNU5Z.js";import"./chunk-WCVUBYL5.js";import"./chunk-OWERYFOX.js";import"./chunk-PP2TSSLT.js";import"./chunk-SFKZAUPW.js";import"./chunk-S4XTQDRN.js";import"./chunk-2CXXM2W3.js";import"./chunk-QSKUUUXU.js";import"./chunk-KUG7UEHN.js";export{a as pageSchema};
3
+ import{a}from"./chunk-KONRMV3H.js";import"./chunk-55MCNMOF.js";import"./chunk-J2SWSUCM.js";import"./chunk-DJ5LWVHX.js";import"./chunk-WQNRTOOI.js";import"./chunk-BU6UCXWP.js";import"./chunk-SIL3MC6L.js";import"./chunk-NGTLGMHK.js";import"./chunk-KH7G433A.js";import"./chunk-OELIU5BZ.js";import"./chunk-C2AQDHJU.js";import"./chunk-FEQE56RU.js";import"./chunk-7XRXXDCC.js";import"./chunk-CJ6EZ6V3.js";import"./chunk-HVJI5X3Q.js";import"./chunk-ZRY4KDRV.js";import"./chunk-B75W44GW.js";import"./chunk-T5OALMMJ.js";import"./chunk-RCZGJETI.js";import"./chunk-KVVYOKWH.js";import"./chunk-3HWWNRCQ.js";import"./chunk-WDMUES3K.js";import"./chunk-BMC2RBNC.js";import"./chunk-MS7FWNQY.js";import"./chunk-CM4DB7ZV.js";import"./chunk-57QC6K6U.js";import"./chunk-XGHNHPRQ.js";import"./chunk-6TUL7TXN.js";import"./chunk-CAHMS6EB.js";import"./chunk-T37DHEM7.js";import"./chunk-JPBXMW3P.js";import"./chunk-HT2FJOKO.js";import"./chunk-QRUKREVW.js";import"./chunk-C7VV6NIX.js";import"./chunk-YAMSHPKO.js";import"./chunk-HH4AKWHD.js";import"./chunk-4KIC7WW4.js";import"./chunk-ZGV2EX57.js";import"./chunk-LFQNWSLG.js";import"./chunk-5TAB5RAK.js";import"./chunk-YXFVFFYO.js";import"./chunk-273FK54V.js";import"./chunk-4WATTT6H.js";import"./chunk-WCVUBYL5.js";import"./chunk-NI7D2E25.js";import"./chunk-76MAAKRJ.js";import"./chunk-SFKZAUPW.js";import"./chunk-S4XTQDRN.js";import"./chunk-22BDK6JV.js";import"./chunk-QSKUUUXU.js";import"./chunk-EXD5JEQ4.js";export{a as pageSchema};
@@ -431,19 +431,6 @@ declare const partialSiteAndPagesSchema: import("@sinclair/typebox").TObject<{
431
431
  label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
432
432
  order: import("@sinclair/typebox").TNumber;
433
433
  props: import("@sinclair/typebox").TObject<{
434
- layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
435
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
436
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
437
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
438
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
439
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
440
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
441
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
442
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
443
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
444
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
445
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
446
- }>>;
447
434
  background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
448
435
  color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
449
436
  image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -451,39 +438,14 @@ declare const partialSiteAndPagesSchema: import("@sinclair/typebox").TObject<{
451
438
  repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
452
439
  }>>;
453
440
  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<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
454
- border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
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-0" | "border" | "border-2" | "border-4" | "border-8">>;
457
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
458
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
459
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
460
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
461
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
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-0" | "border" | "border-2" | "border-4" | "border-8">>;
464
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
465
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
466
- }>>;
467
441
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
468
442
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
469
- horizontalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
470
- verticalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
443
+ fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
444
+ justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
445
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
471
446
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
472
447
  }>;
473
448
  mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
474
- layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
475
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
476
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
477
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
478
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
479
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
480
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
481
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
482
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
483
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
484
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
485
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
486
- }>>>;
487
449
  background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
488
450
  color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
489
451
  image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -491,23 +453,11 @@ declare const partialSiteAndPagesSchema: import("@sinclair/typebox").TObject<{
491
453
  repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
492
454
  }>>;
493
455
  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<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
494
- border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
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-0" | "border" | "border-2" | "border-4" | "border-8">>;
497
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
498
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
499
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
500
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
501
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
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-0" | "border" | "border-2" | "border-4" | "border-8">>;
504
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
505
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
506
- }>>>;
507
456
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
508
457
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
509
- horizontalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
510
- verticalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
458
+ fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
459
+ justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
460
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
511
461
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
512
462
  }>>;
513
463
  bricks: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
@@ -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,CAkJxE"}
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,CAgKxE"}
@@ -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 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-EVTXPXOL.js";import{a as c}from"./chunk-ZJNA4QQC.js";import{d as s}from"./chunk-VAC73HJE.js";import{a as t}from"./chunk-QQYWPAY4.js";import{c as o}from"./chunk-Y7CEEEVW.js";import{c as a,f as r}from"./chunk-43LKLZNS.js";import"./chunk-A3LAQ47R.js";import"./chunk-DOKWQP5K.js";import"./chunk-EXUZRZG4.js";import"./chunk-QX6XMJGU.js";import"./chunk-RPRTTBM2.js";import"./chunk-6SDHKHPI.js";import"./chunk-ZPPYVZEC.js";import"./chunk-OELIU5BZ.js";import"./chunk-FUNNOEXU.js";import"./chunk-GSRUIZUA.js";import"./chunk-VCTNTQAW.js";import"./chunk-3SDSZO7A.js";import"./chunk-FSC3MYBH.js";import"./chunk-CS75Y4VB.js";import"./chunk-RJ7BRXBX.js";import"./chunk-3FLTGAUA.js";import"./chunk-GTIV4SPB.js";import"./chunk-N2JEJ5VR.js";import"./chunk-LJ263SAV.js";import"./chunk-KWTNPGYO.js";import"./chunk-UIF4KPRY.js";import"./chunk-CCS6URWT.js";import"./chunk-L6NXGVEU.js";import"./chunk-4RG4IEAW.js";import"./chunk-ZVGTP32Z.js";import"./chunk-XNHLLTUK.js";import"./chunk-3MD3XND6.js";import"./chunk-OMRLCH3Q.js";import"./chunk-ASL4Y5XY.js";import"./chunk-CBB4Y7X2.js";import"./chunk-P5O7YHX7.js";import"./chunk-M45FSNRM.js";import"./chunk-3OOL2XTT.js";import"./chunk-CBORSFPQ.js";import"./chunk-YZVFYTDV.js";import"./chunk-IF7JTYZC.js";import"./chunk-LXBGNROJ.js";import"./chunk-IBBY7AA5.js";import"./chunk-R3I32SUA.js";import"./chunk-WARHNU5Z.js";import"./chunk-WCVUBYL5.js";import"./chunk-OWERYFOX.js";import"./chunk-PP2TSSLT.js";import"./chunk-SFKZAUPW.js";import"./chunk-S4XTQDRN.js";import"./chunk-2CXXM2W3.js";import"./chunk-QSKUUUXU.js";import"./chunk-KUG7UEHN.js";import{Type as e}from"@sinclair/typebox";var b=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(b,["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 with really really long name that should be truncated",path:"/",sections:[{id:`s_${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:`s_content-${t()}`,label:"Content",order:2,props:{},bricks:[{id:`b_${t()}`,type:"container",props:{$children:[{id:`b_${t()}`,type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA",address:"San Francisco, CA"}}}]}},{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${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:`b_${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:`s_content-${t()}`,label:"Bottom",order:2,props:{},bricks:[{id:`b_${t()}`,type:"video",props:{url:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}},{id:`b_${t()}`,type:"divider",props:{direction:"horizontal",size:"20px"}},{id:`b_${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,b as siteSchema};
3
+ import{a as m,d as n}from"./chunk-Y6IWAOSW.js";import{b as i,d}from"./chunk-ZLZLOU5E.js";import{a as p}from"./chunk-KONRMV3H.js";import{a as c}from"./chunk-ZJNA4QQC.js";import{d as o}from"./chunk-VAC73HJE.js";import{a as e}from"./chunk-55MCNMOF.js";import{c as s}from"./chunk-Y7CEEEVW.js";import{c as a,f as r}from"./chunk-J2SWSUCM.js";import"./chunk-DJ5LWVHX.js";import"./chunk-WQNRTOOI.js";import"./chunk-BU6UCXWP.js";import"./chunk-SIL3MC6L.js";import"./chunk-NGTLGMHK.js";import"./chunk-KH7G433A.js";import"./chunk-OELIU5BZ.js";import"./chunk-C2AQDHJU.js";import"./chunk-FEQE56RU.js";import"./chunk-7XRXXDCC.js";import"./chunk-CJ6EZ6V3.js";import"./chunk-HVJI5X3Q.js";import"./chunk-ZRY4KDRV.js";import"./chunk-B75W44GW.js";import"./chunk-T5OALMMJ.js";import"./chunk-RCZGJETI.js";import"./chunk-KVVYOKWH.js";import"./chunk-3HWWNRCQ.js";import"./chunk-WDMUES3K.js";import"./chunk-BMC2RBNC.js";import"./chunk-MS7FWNQY.js";import"./chunk-CM4DB7ZV.js";import"./chunk-57QC6K6U.js";import"./chunk-XGHNHPRQ.js";import"./chunk-6TUL7TXN.js";import"./chunk-CAHMS6EB.js";import"./chunk-T37DHEM7.js";import"./chunk-JPBXMW3P.js";import"./chunk-HT2FJOKO.js";import"./chunk-QRUKREVW.js";import"./chunk-C7VV6NIX.js";import"./chunk-YAMSHPKO.js";import"./chunk-HH4AKWHD.js";import"./chunk-4KIC7WW4.js";import"./chunk-ZGV2EX57.js";import"./chunk-LFQNWSLG.js";import"./chunk-5TAB5RAK.js";import"./chunk-YXFVFFYO.js";import"./chunk-273FK54V.js";import"./chunk-4WATTT6H.js";import"./chunk-WCVUBYL5.js";import"./chunk-NI7D2E25.js";import"./chunk-76MAAKRJ.js";import"./chunk-SFKZAUPW.js";import"./chunk-S4XTQDRN.js";import"./chunk-22BDK6JV.js";import"./chunk-QSKUUUXU.js";import"./chunk-EXD5JEQ4.js";import{Type as t}from"@sinclair/typebox";var b=t.Object({id:t.String(),label:t.String(),hostname:t.String(),attributes:a,attr:a,datasources:t.Optional(s),datarecords:t.Optional(o),themes:t.Array(i),theme:i,sitemap:n,sitePrompt:c}),x=t.Object({site:t.Omit(b,["attributes"]),pages:t.Array(t.Composite([t.Omit(p,["attributes"]),m]))});function I(l){return{site:{id:crypto.randomUUID(),label:"New site",hostname:"example.com",sitePrompt:l,theme:d,themes:[],sitemap:[],attributes:a,attr:r()},pages:[{id:"_default_",label:"First page with really really long name that should be truncated",path:"/",sections:[{id:`s_${e()}`,label:"Top",order:1,props:{},bricks:[{id:e(),type:"navbar",props:{brand:"My Site",navigation:{staticItems:[{urlOrPageId:"/about"},{urlOrPageId:"/contact"}]}}}]},{id:`s_content-${e()}`,label:"Content",order:2,props:{},bricks:[{id:`b_${e()}`,type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA",address:"San Francisco, CA"}}},{id:`b_${e()}`,type:"vbox",props:{$children:[{id:`b_${e()}`,type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA",address:"San Francisco, CA"}}},{id:`b_${e()}`,type:"text",props:{preset:"subtle-accent",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}}]}},{id:`b_${e()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${e()}`,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{I as createEmptyConfig,b 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-CMLGUX5D.js";import"../chunk-3MD3XND6.js";import"../chunk-OMRLCH3Q.js";import"../chunk-ASL4Y5XY.js";import"../chunk-P5O7YHX7.js";import"../chunk-M45FSNRM.js";import"../chunk-3OOL2XTT.js";import"../chunk-CBORSFPQ.js";import"../chunk-YZVFYTDV.js";import"../chunk-LXBGNROJ.js";import"../chunk-R3I32SUA.js";import"../chunk-OWERYFOX.js";import"../chunk-PP2TSSLT.js";import"../chunk-SFKZAUPW.js";import"../chunk-S4XTQDRN.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};
3
+ import{a as o}from"../chunk-3AHXTIVQ.js";import"../chunk-T37DHEM7.js";import"../chunk-JPBXMW3P.js";import"../chunk-HT2FJOKO.js";import"../chunk-C7VV6NIX.js";import"../chunk-YAMSHPKO.js";import"../chunk-HH4AKWHD.js";import"../chunk-4KIC7WW4.js";import"../chunk-ZGV2EX57.js";import"../chunk-5TAB5RAK.js";import"../chunk-273FK54V.js";import"../chunk-NI7D2E25.js";import"../chunk-76MAAKRJ.js";import"../chunk-SFKZAUPW.js";import"../chunk-S4XTQDRN.js";import"../chunk-22BDK6JV.js";import"../chunk-QSKUUUXU.js";import"../chunk-EXD5JEQ4.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.113",
3
+ "version": "0.0.115",
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.113"
62
+ "@upstart.gg/style-system": "0.0.115"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@headlessui/react": "^2.2.1",
@@ -1 +0,0 @@
1
- {"version":3,"file":"container.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/container.manifest.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,eAAO,MAAM,UAAU,6EAA8D,CAAC;AAGtF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;CAC/C,EAkTA,CAAC"}
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a,b,c}from"../../chunk-LJ263SAV.js";import"../../chunk-KWTNPGYO.js";import"../../chunk-3MD3XND6.js";import"../../chunk-M45FSNRM.js";import"../../chunk-3OOL2XTT.js";import"../../chunk-YZVFYTDV.js";import"../../chunk-LXBGNROJ.js";import"../../chunk-WARHNU5Z.js";import"../../chunk-WCVUBYL5.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as datasource,c as examples,b as manifest};
@@ -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-P5O7YHX7.js";import{b as a}from"./chunk-M45FSNRM.js";import{b as n}from"./chunk-3OOL2XTT.js";import{b as i}from"./chunk-CBORSFPQ.js";import{b as r}from"./chunk-YZVFYTDV.js";import{d as o}from"./chunk-LXBGNROJ.js";import{a as p}from"./chunk-WARHNU5Z.js";import{c as t,d as e}from"./chunk-OWERYFOX.js";import{RxTextAlignLeft as l}from"react-icons/rx";var x=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
- `,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-4"})),border:e(n()),shadow:e(a())},{default:{padding:"p-8"}})}),w=[{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{x as a,w as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as u,d as i,f as p,g as y}from"./chunk-OWERYFOX.js";import{a as o}from"./chunk-SFKZAUPW.js";import{b as s,c}from"./chunk-2CXXM2W3.js";import{a as l}from"./chunk-QSKUUUXU.js";import{Type as t}from"@sinclair/typebox";var n=(e,a)=>{let d=p(e),r=y(d,a,"styles:containerLayout");return r?.type==="flex"||!r?.type},f=(e,a)=>!n(e,a);function m(e={}){return t.Object({...!e.disableGrid||e["ui:disable-grid"]?{type:o(["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(c({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"})),direction:i(o(["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:f}})),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(o(["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}}))},{...e,$id:"styles:containerLayout"})}function j({title:e="Layout",options:a={}}={}){return u({title:e,options:{"ui:styleId":"styles:containerLayout",$id:"styles:containerLayout"},children:m(a)})}function w(e={}){return l("styles:containerLayout",{title:"Container layout",description:"Settings for the layout of the container",...e})}function O(){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 C(e={}){return t.Object({gap:t.Optional(s({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(o(["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{j as a,w as b,O as c,C as d};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as p}from"./chunk-OMRLCH3Q.js";import{b as d}from"./chunk-M45FSNRM.js";import{b as i}from"./chunk-3OOL2XTT.js";import{b as a}from"./chunk-YZVFYTDV.js";import{d as t}from"./chunk-LXBGNROJ.js";import{a as o}from"./chunk-R3I32SUA.js";import{a as s}from"./chunk-WARHNU5Z.js";import{c as r,d as e}from"./chunk-OWERYFOX.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,8 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as m,c as a}from"./chunk-P5O7YHX7.js";import{b as u}from"./chunk-M45FSNRM.js";import{b as c}from"./chunk-3OOL2XTT.js";import{b as d}from"./chunk-CBORSFPQ.js";import{b as p}from"./chunk-YZVFYTDV.js";import{a as i}from"./chunk-IF7JTYZC.js";import{d as r}from"./chunk-LXBGNROJ.js";import{a as f}from"./chunk-WARHNU5Z.js";import{a as o,c as l,d as e}from"./chunk-OWERYFOX.js";import{a as s}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-KUG7UEHN.js";import{Type as n}from"@sinclair/typebox";import{TfiLayoutAccordionSeparated as y}from"react-icons/tfi";var R=f({type:"accordion",kind:"widget",name:"Accordion",description:"An accordion/collapse element for expandable content",aiInstructions:`
4
- This accordion element displays content in collapsible panels.
5
- It is typically used for FAQ sections, organized documentation, or to save space.
6
- Each item has a title and expandable content area.
7
- Multiple panels can be open simultaneously or limited to one at a time.
8
- `.trim(),icon:y,defaultHeight:{desktop:10,mobile:15},defaultWidth:{desktop:36,mobile:24},props:l({container:e(o({title:"Container",children:{backgroundColor:e(r()),padding:e(p()),border:e(c()),shadow:e(u())}})),items:t({title:"Accordion items",schema:n.Array(n.Object({title:a({title:"Title",default:"My title",disableSizing:!0}),content:a({title:"Content",default:"Expandable content goes here"}),defaultOpen:e(i("Open by default",!1))}))}),itemsStyles:e(o({title:"Accordion item styles",children:{backgroundColor:e(r()),color:e(d()),fontSize:m("text-base")}})),allowMultiple:t({title:"Accordion items",schema:i("Allow multiple open",!0,{description:"Allow multiple accordion items to be open at the same time"})}),variants:n.Array(s(["collapse-arrow","collapse-plus"],{default:["collapse-arrow"],enumNames:["With Arrow indicator","With + indicator"]}))},{default:{container:{padding:"p-6",backgroundColor:"bg-transparent"},allowMultiple:!0,variants:["collapse-arrow"]}})}),j=[{description:"FAQ section with card styling with single open",type:"accordion",props:{container:{backgroundColor:"bg-base-50",padding:"p-8",border:{rounding:"rounded-lg"},shadow:"shadow-lg"},variants:["collapse-plus"],allowMultiple:!1,items:[{title:"What is included in the basic plan?",content:"The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.",defaultOpen:!0},{title:"How do I cancel my subscription?",content:"You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle."},{title:"Is there a free trial available?",content:"Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period."},{title:"What payment methods do you accept?",content:"We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners."},{title:"Do you offer refunds?",content:"We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund."}]}},{description:"Product features with arrow indicator and multiple open",type:"accordion",props:{container:{padding:"p-4"},variants:["collapse-arrow"],allowMultiple:!0,items:[{title:"Advanced Analytics",content:"Get detailed insights into your data with our comprehensive analytics dashboard. Track key metrics, generate custom reports, and identify trends with powerful visualization tools.",defaultOpen:!0},{title:"Team Collaboration",content:"Work seamlessly with your team using real-time collaboration features. Share projects, assign tasks, leave comments, and track progress all in one place."},{title:"API Integration",content:"Connect with your existing tools and workflows using our robust API. Full documentation, SDKs for popular languages, and webhook support included."},{title:"Security & Compliance",content:"Enterprise-grade security with SOC 2 compliance, data encryption at rest and in transit, SSO support, and comprehensive audit logs."}]}}];export{R as a,j 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 k,b as J}from"./chunk-QX6XMJGU.js";import{a as p,b as D}from"./chunk-RPRTTBM2.js";import{a as s,b as B}from"./chunk-6SDHKHPI.js";import{b as n,c as j}from"./chunk-ZPPYVZEC.js";import{b as o,c as W}from"./chunk-FUNNOEXU.js";import{b as l,c as w}from"./chunk-VCTNTQAW.js";import{a as d,b as G}from"./chunk-3SDSZO7A.js";import{a as E,b as F}from"./chunk-CS75Y4VB.js";import{a as u,b as I}from"./chunk-RJ7BRXBX.js";import{a as m,b as R}from"./chunk-3FLTGAUA.js";import{a as r,b as L}from"./chunk-GTIV4SPB.js";import{a as y,b as q}from"./chunk-N2JEJ5VR.js";import{b as i,c as h}from"./chunk-LJ263SAV.js";import{a as g,b as H}from"./chunk-UIF4KPRY.js";import{a as x,b as z}from"./chunk-CCS6URWT.js";import{a as f,b as P}from"./chunk-4RG4IEAW.js";import{a,b as v}from"./chunk-ZVGTP32Z.js";import{a as M,b as C}from"./chunk-XNHLLTUK.js";import{a as t,b}from"./chunk-CBB4Y7X2.js";import{a as c,b as A}from"./chunk-IBBY7AA5.js";import{b as e}from"./chunk-WARHNU5Z.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};
@@ -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-GSRUIZUA.js";import{b as e}from"./chunk-M45FSNRM.js";import{b as r}from"./chunk-3OOL2XTT.js";import{a as p}from"./chunk-WARHNU5Z.js";import{a as t,c as i,d as o}from"./chunk-OWERYFOX.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};