@upstart.gg/sdk 0.0.133 → 0.0.135

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 (527) hide show
  1. package/dist/shared/ai/schemas.d.ts +1 -2
  2. package/dist/shared/ai/schemas.d.ts.map +1 -1
  3. package/dist/shared/ai/schemas.js +28 -1
  4. package/dist/shared/ai/schemas.js.map +1 -1
  5. package/dist/shared/ai/types.d.ts +15 -1
  6. package/dist/shared/ai/types.d.ts.map +1 -1
  7. package/dist/shared/ajv.js +6861 -1
  8. package/dist/shared/ajv.js.map +1 -1
  9. package/dist/shared/analytics/init.js +20 -1
  10. package/dist/shared/analytics/init.js.map +1 -1
  11. package/dist/shared/analytics/track.js +24 -1
  12. package/dist/shared/analytics/track.js.map +1 -1
  13. package/dist/shared/attributes.d.ts +97 -30
  14. package/dist/shared/attributes.d.ts.map +1 -1
  15. package/dist/shared/attributes.js +46 -1
  16. package/dist/shared/brick-manifest.d.ts +1 -1
  17. package/dist/shared/brick-manifest.js +26 -1
  18. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +2 -2
  19. package/dist/shared/bricks/manifests/accordion.manifest.js +29 -1
  20. package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
  21. package/dist/shared/bricks/manifests/all-manifests.js +59 -1
  22. package/dist/shared/bricks/manifests/box.manifest.d.ts +2 -2
  23. package/dist/shared/bricks/manifests/box.manifest.js +28 -1
  24. package/dist/shared/bricks/manifests/button.manifest.d.ts +2 -2
  25. package/dist/shared/bricks/manifests/button.manifest.js +28 -1
  26. package/dist/shared/bricks/manifests/card.manifest.d.ts +3 -3
  27. package/dist/shared/bricks/manifests/card.manifest.js +28 -1
  28. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +2 -2
  29. package/dist/shared/bricks/manifests/carousel.manifest.js +28 -1
  30. package/dist/shared/bricks/manifests/footer.manifest.d.ts +4 -4
  31. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  32. package/dist/shared/bricks/manifests/footer.manifest.js +30 -1
  33. package/dist/shared/bricks/manifests/form.manifest.d.ts +3 -3
  34. package/dist/shared/bricks/manifests/form.manifest.js +29 -1
  35. package/dist/shared/bricks/manifests/hero.manifest.d.ts +2 -2
  36. package/dist/shared/bricks/manifests/hero.manifest.js +28 -1
  37. package/dist/shared/bricks/manifests/html.manifest.d.ts +2 -2
  38. package/dist/shared/bricks/manifests/html.manifest.js +28 -1
  39. package/dist/shared/bricks/manifests/icon.manifest.d.ts +2 -2
  40. package/dist/shared/bricks/manifests/icon.manifest.js +28 -1
  41. package/dist/shared/bricks/manifests/image.manifest.d.ts +2 -2
  42. package/dist/shared/bricks/manifests/image.manifest.js +28 -1
  43. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +2 -2
  44. package/dist/shared/bricks/manifests/images-gallery.manifest.js +28 -1
  45. package/dist/shared/bricks/manifests/map.manifest.d.ts +2 -2
  46. package/dist/shared/bricks/manifests/map.manifest.js +31 -1
  47. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +4 -4
  48. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  49. package/dist/shared/bricks/manifests/navbar.manifest.js +31 -1
  50. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +2 -2
  51. package/dist/shared/bricks/manifests/sidebar.manifest.js +29 -1
  52. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +2 -2
  53. package/dist/shared/bricks/manifests/social-links.manifest.js +28 -1
  54. package/dist/shared/bricks/manifests/spacer.manifest.d.ts +2 -2
  55. package/dist/shared/bricks/manifests/spacer.manifest.js +28 -1
  56. package/dist/shared/bricks/manifests/table.manifest.d.ts +91 -0
  57. package/dist/shared/bricks/manifests/table.manifest.d.ts.map +1 -0
  58. package/dist/shared/bricks/manifests/table.manifest.js +31 -0
  59. package/dist/shared/bricks/manifests/tabs.manifest.d.ts +90 -0
  60. package/dist/shared/bricks/manifests/tabs.manifest.d.ts.map +1 -0
  61. package/dist/shared/bricks/manifests/tabs.manifest.js +31 -0
  62. package/dist/shared/bricks/manifests/tabs.manifest.js.map +1 -0
  63. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +2 -2
  64. package/dist/shared/bricks/manifests/testimonials.manifest.js +28 -1
  65. package/dist/shared/bricks/manifests/text.manifest.d.ts +2 -2
  66. package/dist/shared/bricks/manifests/text.manifest.js +28 -1
  67. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +101 -0
  68. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -0
  69. package/dist/shared/bricks/manifests/timeline.manifest.js +31 -0
  70. package/dist/shared/bricks/manifests/timeline.manifest.js.map +1 -0
  71. package/dist/shared/bricks/manifests/video.manifest.d.ts +2 -2
  72. package/dist/shared/bricks/manifests/video.manifest.js +28 -1
  73. package/dist/shared/bricks/props/align.d.ts +2 -2
  74. package/dist/shared/bricks/props/align.js +19 -1
  75. package/dist/shared/bricks/props/background.d.ts +4 -4
  76. package/dist/shared/bricks/props/background.js +15 -1
  77. package/dist/shared/bricks/props/boolean.js +7 -1
  78. package/dist/shared/bricks/props/border.js +16 -1
  79. package/dist/shared/bricks/props/color-preset.d.ts.map +1 -1
  80. package/dist/shared/bricks/props/color-preset.js +13 -1
  81. package/dist/shared/bricks/props/color.js +14 -1
  82. package/dist/shared/bricks/props/common.d.ts +2 -2
  83. package/dist/shared/bricks/props/common.js +13 -1
  84. package/dist/shared/bricks/props/css-length.js +14 -1
  85. package/dist/shared/bricks/props/datarecord.js +7 -1
  86. package/dist/shared/bricks/props/datasource.d.ts +1 -1
  87. package/dist/shared/bricks/props/datasource.js +86 -1
  88. package/dist/shared/bricks/props/datasource.js.map +1 -1
  89. package/dist/shared/bricks/props/date.js +9 -1
  90. package/dist/shared/bricks/props/direction.js +11 -1
  91. package/dist/shared/bricks/props/dynamic.d.ts.map +1 -1
  92. package/dist/shared/bricks/props/dynamic.js +30 -1
  93. package/dist/shared/bricks/props/effects.js +17 -1
  94. package/dist/shared/bricks/props/file.js +15 -1
  95. package/dist/shared/bricks/props/file.js.map +1 -1
  96. package/dist/shared/bricks/props/geolocation.js +44 -1
  97. package/dist/shared/bricks/props/geolocation.js.map +1 -1
  98. package/dist/shared/bricks/props/helpers.d.ts +1 -1
  99. package/dist/shared/bricks/props/helpers.js +18 -1
  100. package/dist/shared/bricks/props/image.js +11 -1
  101. package/dist/shared/bricks/props/number.js +7 -1
  102. package/dist/shared/bricks/props/position.js +7 -1
  103. package/dist/shared/bricks/props/string.js +18 -1
  104. package/dist/shared/bricks/props/tags.js +10 -1
  105. package/dist/shared/bricks/props/text.js +19 -1
  106. package/dist/shared/bricks.d.ts +56 -44
  107. package/dist/shared/bricks.d.ts.map +1 -1
  108. package/dist/shared/bricks.js +79 -1
  109. package/dist/shared/chunk-2BPYOTKA.js +21 -0
  110. package/dist/shared/{chunk-WHTPGWUV.js.map → chunk-2BPYOTKA.js.map} +1 -1
  111. package/dist/shared/chunk-2HO4FHLM.js +456 -0
  112. package/dist/shared/{chunk-I3VL6SRH.js.map → chunk-2HO4FHLM.js.map} +1 -1
  113. package/dist/shared/chunk-2RK3CPYJ.js +74 -0
  114. package/dist/shared/{chunk-W33JMRRN.js.map → chunk-2RK3CPYJ.js.map} +1 -1
  115. package/dist/shared/chunk-3KLRW4I2.js +560 -0
  116. package/dist/shared/{chunk-B3EATRFX.js.map → chunk-3KLRW4I2.js.map} +1 -1
  117. package/dist/shared/chunk-3ZDN5BWN.js +18 -0
  118. package/dist/shared/{chunk-OIY3EPHO.js.map → chunk-3ZDN5BWN.js.map} +1 -1
  119. package/dist/shared/chunk-4WI23M7W.js +30 -0
  120. package/dist/shared/chunk-4WI23M7W.js.map +1 -0
  121. package/dist/shared/chunk-55C6MTX2.js +21 -0
  122. package/dist/shared/{chunk-KBHDY425.js.map → chunk-55C6MTX2.js.map} +1 -1
  123. package/dist/shared/chunk-6E42XWFH.js +103 -0
  124. package/dist/shared/{chunk-ZA3GAB4H.js.map → chunk-6E42XWFH.js.map} +1 -1
  125. package/dist/shared/chunk-6TVVKUWM.js +15 -0
  126. package/dist/shared/{chunk-4WDWJA3N.js.map → chunk-6TVVKUWM.js.map} +1 -1
  127. package/dist/shared/chunk-6WIMWLCJ.js +17 -0
  128. package/dist/shared/{chunk-KYY3PHP7.js.map → chunk-6WIMWLCJ.js.map} +1 -1
  129. package/dist/shared/chunk-7LAWWRU7.js +21 -0
  130. package/dist/shared/{chunk-IUXCWWGO.js.map → chunk-7LAWWRU7.js.map} +1 -1
  131. package/dist/shared/chunk-A2QPY54H.js +13 -0
  132. package/dist/shared/{chunk-KFM6KXSE.js.map → chunk-A2QPY54H.js.map} +1 -1
  133. package/dist/shared/chunk-BHC2A43S.js +67 -0
  134. package/dist/shared/{chunk-3YVJ2ELD.js.map → chunk-BHC2A43S.js.map} +1 -1
  135. package/dist/shared/chunk-BMWRR4DI.js +572 -0
  136. package/dist/shared/chunk-BMWRR4DI.js.map +1 -0
  137. package/dist/shared/chunk-BPBKHEQ5.js +39 -0
  138. package/dist/shared/{chunk-OHNYCXPX.js.map → chunk-BPBKHEQ5.js.map} +1 -1
  139. package/dist/shared/chunk-BW6EFRSF.js +794 -0
  140. package/dist/shared/chunk-BW6EFRSF.js.map +1 -0
  141. package/dist/shared/chunk-CKFRSHR2.js +105 -0
  142. package/dist/shared/{chunk-CFF6Q7O7.js.map → chunk-CKFRSHR2.js.map} +1 -1
  143. package/dist/shared/chunk-CSF2WQX2.js +60 -0
  144. package/dist/shared/{chunk-GLS7HPIZ.js.map → chunk-CSF2WQX2.js.map} +1 -1
  145. package/dist/shared/chunk-D4YQ6ABM.js +338 -0
  146. package/dist/shared/{chunk-PXI7AHWS.js.map → chunk-D4YQ6ABM.js.map} +1 -1
  147. package/dist/shared/chunk-DRTGM2UJ.js +129 -0
  148. package/dist/shared/{chunk-FLOMNC6J.js.map → chunk-DRTGM2UJ.js.map} +1 -1
  149. package/dist/shared/chunk-EQMU6NIU.js +1222 -0
  150. package/dist/shared/chunk-EQMU6NIU.js.map +1 -0
  151. package/dist/shared/chunk-EWSPTRDL.js +378 -0
  152. package/dist/shared/{chunk-QX6OGRRT.js.map → chunk-EWSPTRDL.js.map} +1 -1
  153. package/dist/shared/chunk-F22LDHEO.js +105 -0
  154. package/dist/shared/{chunk-5YRC3IT3.js.map → chunk-F22LDHEO.js.map} +1 -1
  155. package/dist/shared/chunk-FVU5PXRC.js +244 -0
  156. package/dist/shared/chunk-FVU5PXRC.js.map +1 -0
  157. package/dist/shared/chunk-GCQURRVB.js +837 -0
  158. package/dist/shared/{chunk-WYVJE6J5.js.map → chunk-GCQURRVB.js.map} +1 -1
  159. package/dist/shared/chunk-GPCI2N2A.js +395 -0
  160. package/dist/shared/{chunk-WBZW5LVH.js.map → chunk-GPCI2N2A.js.map} +1 -1
  161. package/dist/shared/chunk-GRMY35BU.js +722 -0
  162. package/dist/shared/{chunk-NJGXC7D6.js.map → chunk-GRMY35BU.js.map} +1 -1
  163. package/dist/shared/chunk-HPCCD6V5.js +17 -0
  164. package/dist/shared/{chunk-6I3ONVU6.js.map → chunk-HPCCD6V5.js.map} +1 -1
  165. package/dist/shared/chunk-JK2FWFJU.js +15 -0
  166. package/dist/shared/{chunk-JMN3HTZU.js.map → chunk-JK2FWFJU.js.map} +1 -1
  167. package/dist/shared/chunk-KNREHAPN.js +13 -0
  168. package/dist/shared/{chunk-KSEURRVZ.js.map → chunk-KNREHAPN.js.map} +1 -1
  169. package/dist/shared/chunk-KT7SSWMM.js +24 -0
  170. package/dist/shared/{chunk-KO5FPOWZ.js.map → chunk-KT7SSWMM.js.map} +1 -1
  171. package/dist/shared/chunk-LXAO3JA6.js +368 -0
  172. package/dist/shared/chunk-LXAO3JA6.js.map +1 -0
  173. package/dist/shared/chunk-MLZT7MRQ.js +538 -0
  174. package/dist/shared/chunk-MLZT7MRQ.js.map +1 -0
  175. package/dist/shared/chunk-NT3IW52F.js +260 -0
  176. package/dist/shared/chunk-NT3IW52F.js.map +1 -0
  177. package/dist/shared/chunk-NTLAKMMQ.js +94 -0
  178. package/dist/shared/{chunk-ZTZJHY4E.js.map → chunk-NTLAKMMQ.js.map} +1 -1
  179. package/dist/shared/chunk-O5PLB3YB.js +413 -0
  180. package/dist/shared/chunk-O5PLB3YB.js.map +1 -0
  181. package/dist/shared/chunk-O5PQISX4.js +51 -0
  182. package/dist/shared/{chunk-VEDQV5XO.js.map → chunk-O5PQISX4.js.map} +1 -1
  183. package/dist/shared/chunk-OJP4HMJT.js +22 -0
  184. package/dist/shared/{chunk-6HLU4UI2.js.map → chunk-OJP4HMJT.js.map} +1 -1
  185. package/dist/shared/chunk-OSJ6KGPX.js +16 -0
  186. package/dist/shared/{chunk-GPEMPZXK.js.map → chunk-OSJ6KGPX.js.map} +1 -1
  187. package/dist/shared/chunk-OXYXZHP2.js +48 -0
  188. package/dist/shared/{chunk-5O4Z3YQY.js.map → chunk-OXYXZHP2.js.map} +1 -1
  189. package/dist/shared/chunk-P3RH5URN.js +230 -0
  190. package/dist/shared/{chunk-R6ATC4TC.js.map → chunk-P3RH5URN.js.map} +1 -1
  191. package/dist/shared/chunk-Q4NPPLEU.js +34 -0
  192. package/dist/shared/{chunk-QWGUMKZC.js.map → chunk-Q4NPPLEU.js.map} +1 -1
  193. package/dist/shared/chunk-QL3T5HJQ.js +59 -0
  194. package/dist/shared/{chunk-E6XEI7IK.js.map → chunk-QL3T5HJQ.js.map} +1 -1
  195. package/dist/shared/chunk-QLQVDZIL.js +11 -0
  196. package/dist/shared/{chunk-KLD3P5XH.js.map → chunk-QLQVDZIL.js.map} +1 -1
  197. package/dist/shared/chunk-QQQ3FYPG.js +248 -0
  198. package/dist/shared/{chunk-SXHDQ64Z.js.map → chunk-QQQ3FYPG.js.map} +1 -1
  199. package/dist/shared/chunk-QSND5IWT.js +165 -0
  200. package/dist/shared/{chunk-ZQPXQCY2.js.map → chunk-QSND5IWT.js.map} +1 -1
  201. package/dist/shared/chunk-RV7AYVFV.js +75 -0
  202. package/dist/shared/{chunk-DHI3IBOD.js.map → chunk-RV7AYVFV.js.map} +1 -1
  203. package/dist/shared/chunk-SE6O65HC.js +44 -0
  204. package/dist/shared/{chunk-NM5MMPCF.js.map → chunk-SE6O65HC.js.map} +1 -1
  205. package/dist/shared/chunk-SHUGHJ7V.js +519 -0
  206. package/dist/shared/{chunk-IKC3FK7L.js.map → chunk-SHUGHJ7V.js.map} +1 -1
  207. package/dist/shared/chunk-TB3X4LRQ.js +56 -0
  208. package/dist/shared/{chunk-RJYZ5FAR.js.map → chunk-TB3X4LRQ.js.map} +1 -1
  209. package/dist/shared/chunk-TEO6TJOM.js +212 -0
  210. package/dist/shared/chunk-TEO6TJOM.js.map +1 -0
  211. package/dist/shared/chunk-TFGGYU6Y.js +394 -0
  212. package/dist/shared/{chunk-CZRCW5EN.js.map → chunk-TFGGYU6Y.js.map} +1 -1
  213. package/dist/shared/chunk-TKMWY2VN.js +18 -0
  214. package/dist/shared/{chunk-RDZK73KV.js.map → chunk-TKMWY2VN.js.map} +1 -1
  215. package/dist/shared/chunk-TNMNMYOB.js +69 -0
  216. package/dist/shared/{chunk-4BTB3MU2.js.map → chunk-TNMNMYOB.js.map} +1 -1
  217. package/dist/shared/chunk-U7TVEPKA.js +432 -0
  218. package/dist/shared/chunk-U7TVEPKA.js.map +1 -0
  219. package/dist/shared/chunk-UQF52PWK.js +70 -0
  220. package/dist/shared/{chunk-A3GF4PYW.js.map → chunk-UQF52PWK.js.map} +1 -1
  221. package/dist/shared/chunk-V3UA3LRK.js +253 -0
  222. package/dist/shared/{chunk-G5CJU6RD.js.map → chunk-V3UA3LRK.js.map} +1 -1
  223. package/dist/shared/chunk-W6MRYRGJ.js +100 -0
  224. package/dist/shared/{chunk-CCI4C3TM.js.map → chunk-W6MRYRGJ.js.map} +1 -1
  225. package/dist/shared/chunk-WGDUJSSS.js +462 -0
  226. package/dist/shared/chunk-WGDUJSSS.js.map +1 -0
  227. package/dist/shared/chunk-WKN566LN.js +29 -0
  228. package/dist/shared/{chunk-Q4H4QEMB.js.map → chunk-WKN566LN.js.map} +1 -1
  229. package/dist/shared/chunk-X6N463D4.js +222 -0
  230. package/dist/shared/{chunk-IKHZD2JH.js.map → chunk-X6N463D4.js.map} +1 -1
  231. package/dist/shared/chunk-X75YV73Q.js +178 -0
  232. package/dist/shared/{chunk-PLSV746R.js.map → chunk-X75YV73Q.js.map} +1 -1
  233. package/dist/shared/chunk-XCWMZVF5.js +89 -0
  234. package/dist/shared/{chunk-ZFCUSWMT.js.map → chunk-XCWMZVF5.js.map} +1 -1
  235. package/dist/shared/chunk-XCZVD5H6.js +13 -0
  236. package/dist/shared/{chunk-HAGKVQOW.js.map → chunk-XCZVD5H6.js.map} +1 -1
  237. package/dist/shared/chunk-XZ6WJZHN.js +10 -0
  238. package/dist/shared/{chunk-DCH4ZKWT.js.map → chunk-XZ6WJZHN.js.map} +1 -1
  239. package/dist/shared/chunk-Y74LZNND.js +30 -0
  240. package/dist/shared/{chunk-GACHLACT.js.map → chunk-Y74LZNND.js.map} +1 -1
  241. package/dist/shared/chunk-Z2NTDFB4.js +505 -0
  242. package/dist/shared/{chunk-SQ5T4AT5.js.map → chunk-Z2NTDFB4.js.map} +1 -1
  243. package/dist/shared/chunk-Z35I5JM5.js +131 -0
  244. package/dist/shared/{chunk-PSTFJ5IJ.js.map → chunk-Z35I5JM5.js.map} +1 -1
  245. package/dist/shared/chunk-ZEFOWKYP.js +44 -0
  246. package/dist/shared/{chunk-DQ7PRWTG.js.map → chunk-ZEFOWKYP.js.map} +1 -1
  247. package/dist/shared/chunk-ZGQ3AQBG.js +33 -0
  248. package/dist/shared/chunk-ZGQ3AQBG.js.map +1 -0
  249. package/dist/shared/chunk-ZLYIRH2B.js +68 -0
  250. package/dist/shared/{chunk-SWLUQVK7.js.map → chunk-ZLYIRH2B.js.map} +1 -1
  251. package/dist/shared/datarecords/external/airtable/handler.js +377 -1
  252. package/dist/shared/datarecords/external/airtable/handler.js.map +1 -1
  253. package/dist/shared/datarecords/external/airtable/oauth/config.js +15 -1
  254. package/dist/shared/datarecords/external/airtable/oauth/config.js.map +1 -1
  255. package/dist/shared/datarecords/external/airtable/types.js +11 -1
  256. package/dist/shared/datarecords/external/generic-webhook/handler.js +14 -1
  257. package/dist/shared/datarecords/external/generic-webhook/handler.js.map +1 -1
  258. package/dist/shared/datarecords/external/generic-webhook/options.js +16 -1
  259. package/dist/shared/datarecords/external/generic-webhook/options.js.map +1 -1
  260. package/dist/shared/datarecords/external/google/oauth/config.js +35 -1
  261. package/dist/shared/datarecords/external/google/oauth/config.js.map +1 -1
  262. package/dist/shared/datarecords/external/google/sheets/client.js +7 -1
  263. package/dist/shared/datarecords/external/google/sheets/handler.js +184 -5
  264. package/dist/shared/datarecords/external/google/sheets/handler.js.map +1 -1
  265. package/dist/shared/datarecords/external/google/sheets/types.js +7 -1
  266. package/dist/shared/datarecords/external/notion/handler.js +397 -1
  267. package/dist/shared/datarecords/external/notion/handler.js.map +1 -1
  268. package/dist/shared/datarecords/external/notion/oauth/config.js +11 -1
  269. package/dist/shared/datarecords/external/notion/oauth/config.js.map +1 -1
  270. package/dist/shared/datarecords/external/notion/types.js +7 -1
  271. package/dist/shared/datarecords/types.d.ts +3 -3
  272. package/dist/shared/datarecords/types.js +16 -1
  273. package/dist/shared/datarecords.js +9 -1
  274. package/dist/shared/datarecords.js.map +1 -1
  275. package/dist/shared/datasources/external/facebook/posts/fetcher.js +49 -1
  276. package/dist/shared/datasources/external/facebook/posts/fetcher.js.map +1 -1
  277. package/dist/shared/datasources/external/facebook/posts/schema.js +36 -1
  278. package/dist/shared/datasources/external/facebook/posts/schema.js.map +1 -1
  279. package/dist/shared/datasources/external/http-json/fetcher.js +29 -1
  280. package/dist/shared/datasources/external/http-json/fetcher.js.map +1 -1
  281. package/dist/shared/datasources/external/http-json/options.js +11 -1
  282. package/dist/shared/datasources/external/http-json/options.js.map +1 -1
  283. package/dist/shared/datasources/external/http-json/schema.js +10 -1
  284. package/dist/shared/datasources/external/http-json/schema.js.map +1 -1
  285. package/dist/shared/datasources/external/instagram/feed/fetcher.js +29 -1
  286. package/dist/shared/datasources/external/instagram/feed/fetcher.js.map +1 -1
  287. package/dist/shared/datasources/external/instagram/feed/schema.js +26 -1
  288. package/dist/shared/datasources/external/instagram/feed/schema.js.map +1 -1
  289. package/dist/shared/datasources/external/mastodon/account/fetcher.js +7 -1
  290. package/dist/shared/datasources/external/mastodon/account/schema.js +7 -1
  291. package/dist/shared/datasources/external/mastodon/options.js +10 -1
  292. package/dist/shared/datasources/external/mastodon/options.js.map +1 -1
  293. package/dist/shared/datasources/external/mastodon/status/fetcher.js +31 -1
  294. package/dist/shared/datasources/external/mastodon/status/fetcher.js.map +1 -1
  295. package/dist/shared/datasources/external/mastodon/status/sample.array.js +61 -1
  296. package/dist/shared/datasources/external/mastodon/status/sample.array.js.map +1 -1
  297. package/dist/shared/datasources/external/mastodon/status/sample.single.js +59 -1
  298. package/dist/shared/datasources/external/mastodon/status/sample.single.js.map +1 -1
  299. package/dist/shared/datasources/external/mastodon/status/schema.js +125 -1
  300. package/dist/shared/datasources/external/mastodon/status/schema.js.map +1 -1
  301. package/dist/shared/datasources/external/meta/oauth/config.js +17 -1
  302. package/dist/shared/datasources/external/meta/oauth/config.js.map +1 -1
  303. package/dist/shared/datasources/external/meta/options.js +10 -1
  304. package/dist/shared/datasources/external/meta/options.js.map +1 -1
  305. package/dist/shared/datasources/external/rss/fetcher.js +26 -1
  306. package/dist/shared/datasources/external/rss/fetcher.js.map +1 -1
  307. package/dist/shared/datasources/external/rss/options.js +10 -1
  308. package/dist/shared/datasources/external/rss/options.js.map +1 -1
  309. package/dist/shared/datasources/external/rss/schema.js +7 -1
  310. package/dist/shared/datasources/external/threads/media/fetcher.js +47 -1
  311. package/dist/shared/datasources/external/threads/media/fetcher.js.map +1 -1
  312. package/dist/shared/datasources/external/threads/media/schema.js +40 -1
  313. package/dist/shared/datasources/external/threads/media/schema.js.map +1 -1
  314. package/dist/shared/datasources/external/tiktok/oauth/config.js +18 -1
  315. package/dist/shared/datasources/external/tiktok/oauth/config.js.map +1 -1
  316. package/dist/shared/datasources/external/tiktok/video/fetcher.js +34 -1
  317. package/dist/shared/datasources/external/tiktok/video/fetcher.js.map +1 -1
  318. package/dist/shared/datasources/external/tiktok/video/options.js +11 -1
  319. package/dist/shared/datasources/external/tiktok/video/options.js.map +1 -1
  320. package/dist/shared/datasources/external/tiktok/video/schema.js +30 -1
  321. package/dist/shared/datasources/external/tiktok/video/schema.js.map +1 -1
  322. package/dist/shared/datasources/external/youtube/list/fetcher.js +32 -1
  323. package/dist/shared/datasources/external/youtube/list/fetcher.js.map +1 -1
  324. package/dist/shared/datasources/external/youtube/list/options.js +14 -1
  325. package/dist/shared/datasources/external/youtube/list/options.js.map +1 -1
  326. package/dist/shared/datasources/external/youtube/list/schema.js +7 -1
  327. package/dist/shared/datasources/external/youtube/oauth/config.js +18 -1
  328. package/dist/shared/datasources/external/youtube/oauth/config.js.map +1 -1
  329. package/dist/shared/datasources/internal/blog/schema.js +72 -1
  330. package/dist/shared/datasources/internal/blog/schema.js.map +1 -1
  331. package/dist/shared/datasources/internal/changelog/schema.js +51 -1
  332. package/dist/shared/datasources/internal/changelog/schema.js.map +1 -1
  333. package/dist/shared/datasources/internal/contact-info/schema.js +25 -1
  334. package/dist/shared/datasources/internal/contact-info/schema.js.map +1 -1
  335. package/dist/shared/datasources/internal/cv/schema.js +222 -1
  336. package/dist/shared/datasources/internal/cv/schema.js.map +1 -1
  337. package/dist/shared/datasources/internal/faq/schema.js +30 -1
  338. package/dist/shared/datasources/internal/faq/schema.js.map +1 -1
  339. package/dist/shared/datasources/internal/job-board/schema.js +224 -1
  340. package/dist/shared/datasources/internal/job-board/schema.js.map +1 -1
  341. package/dist/shared/datasources/internal/links/schema.js +7 -1
  342. package/dist/shared/datasources/internal/recipes/schema.js +45 -1
  343. package/dist/shared/datasources/internal/recipes/schema.js.map +1 -1
  344. package/dist/shared/datasources/internal/restaurant/schema.js +226 -1
  345. package/dist/shared/datasources/internal/restaurant/schema.js.map +1 -1
  346. package/dist/shared/datasources/samples.js +69 -1
  347. package/dist/shared/datasources/samples.js.map +1 -1
  348. package/dist/shared/datasources/schemas.js +34 -1
  349. package/dist/shared/datasources/schemas.js.map +1 -1
  350. package/dist/shared/datasources/types.d.ts +1 -1
  351. package/dist/shared/datasources/types.d.ts.map +1 -1
  352. package/dist/shared/datasources/types.js +32 -1
  353. package/dist/shared/datasources/utils.js +11 -1
  354. package/dist/shared/datasources.js +51 -1
  355. package/dist/shared/datasources.js.map +1 -1
  356. package/dist/shared/errors.js +7 -1
  357. package/dist/shared/images.d.ts +4 -4
  358. package/dist/shared/images.d.ts.map +1 -1
  359. package/dist/shared/images.js +44 -1
  360. package/dist/shared/images.js.map +1 -1
  361. package/dist/shared/index.js +9 -1
  362. package/dist/shared/index.js.map +1 -1
  363. package/dist/shared/layout-constants.js +14 -1
  364. package/dist/shared/layout-constants.js.map +1 -1
  365. package/dist/shared/manifest.js +52 -1
  366. package/dist/shared/manifest.js.map +1 -1
  367. package/dist/shared/oauth.js +8 -1
  368. package/dist/shared/page.d.ts +12 -126
  369. package/dist/shared/page.d.ts.map +1 -1
  370. package/dist/shared/page.js +58 -1
  371. package/dist/shared/prompt.js +7 -1
  372. package/dist/shared/responsive.js +10 -1
  373. package/dist/shared/responsive.js.map +1 -1
  374. package/dist/shared/schema-registry.d.ts +5 -0
  375. package/dist/shared/schema-registry.d.ts.map +1 -0
  376. package/dist/shared/schema-registry.js +119 -0
  377. package/dist/shared/schema-registry.js.map +1 -0
  378. package/dist/shared/site.d.ts +36 -33
  379. package/dist/shared/site.d.ts.map +1 -1
  380. package/dist/shared/site.js +127 -1
  381. package/dist/shared/site.js.map +1 -1
  382. package/dist/shared/sitemap.d.ts +17 -17
  383. package/dist/shared/sitemap.d.ts.map +1 -1
  384. package/dist/shared/sitemap.js +69 -1
  385. package/dist/shared/social-icons.js +312 -1
  386. package/dist/shared/social-icons.js.map +1 -1
  387. package/dist/shared/tests/schema-registry.test.d.ts +2 -0
  388. package/dist/shared/tests/schema-registry.test.d.ts.map +1 -0
  389. package/dist/shared/theme.d.ts +1 -1
  390. package/dist/shared/theme.d.ts.map +1 -1
  391. package/dist/shared/theme.js +35 -1
  392. package/dist/shared/themes/color-system.d.ts +0 -1
  393. package/dist/shared/themes/color-system.d.ts.map +1 -1
  394. package/dist/shared/themes/color-system.js +103 -1
  395. package/dist/shared/themes/color-system.js.map +1 -1
  396. package/dist/shared/utils/canvas-data-uri.js +7 -1
  397. package/dist/shared/utils/canvas-data-uri.js.map +1 -1
  398. package/dist/shared/utils/invariant.js +7 -1
  399. package/dist/shared/utils/json-date.js +7 -1
  400. package/dist/shared/utils/llm.d.ts +2 -3
  401. package/dist/shared/utils/llm.d.ts.map +1 -1
  402. package/dist/shared/utils/llm.js +24 -1
  403. package/dist/shared/utils/merge.js +7 -1
  404. package/dist/shared/utils/object-hash.js +13 -1
  405. package/dist/shared/utils/object-hash.js.map +1 -1
  406. package/dist/shared/utils/schema-registry.d.ts +5 -0
  407. package/dist/shared/utils/schema-registry.d.ts.map +1 -0
  408. package/dist/shared/utils/schema-registry.js +29 -0
  409. package/dist/shared/utils/schema-registry.js.map +1 -0
  410. package/dist/shared/utils/schema.d.ts +2 -1
  411. package/dist/shared/utils/schema.d.ts.map +1 -1
  412. package/dist/shared/utils/schema.js +31 -1
  413. package/dist/shared/utils/string-enum.js +7 -1
  414. package/dist/shared/utils/tests/schema-registry.test.d.ts +2 -0
  415. package/dist/shared/utils/tests/schema-registry.test.d.ts.map +1 -0
  416. package/dist/shared/utils/try-catch.js +13 -1
  417. package/dist/shared/utils/try-catch.js.map +1 -1
  418. package/dist/shared/utils/typed-ref.js +7 -1
  419. package/package.json +12 -13
  420. package/src/shared/ai/schemas.ts +4 -8
  421. package/src/shared/ai/types.ts +9 -1
  422. package/src/shared/attributes.ts +27 -25
  423. package/src/shared/bricks/manifests/all-manifests.ts +15 -0
  424. package/src/shared/bricks/manifests/footer.manifest.ts +36 -27
  425. package/src/shared/bricks/manifests/navbar.manifest.ts +1 -3
  426. package/src/shared/bricks/manifests/table.manifest.ts +443 -0
  427. package/src/shared/bricks/manifests/tabs.manifest.ts +576 -0
  428. package/src/shared/bricks/manifests/timeline.manifest.ts +441 -0
  429. package/src/shared/bricks/props/color-preset.ts +3 -1
  430. package/src/shared/bricks/props/dynamic.ts +0 -1
  431. package/src/shared/bricks.ts +54 -45
  432. package/src/shared/datasources/types.ts +1 -5
  433. package/src/shared/images.ts +10 -8
  434. package/src/shared/page.ts +0 -4
  435. package/src/shared/schema-registry.ts +82 -0
  436. package/src/shared/sitemap.ts +12 -16
  437. package/src/shared/tests/schema-registry.test.ts +14 -0
  438. package/src/shared/theme.ts +1 -4
  439. package/src/shared/themes/color-system.ts +0 -1
  440. package/src/shared/utils/llm.ts +13 -12
  441. package/src/shared/utils/schema-registry.ts +82 -0
  442. package/src/shared/utils/schema.ts +18 -3
  443. package/src/shared/utils/tests/schema-registry.test.ts +13 -0
  444. package/src/shared/utils/tests/schema.test.ts +82 -55
  445. package/dist/shared/bricks/props/enum.d.ts +0 -13
  446. package/dist/shared/bricks/props/enum.d.ts.map +0 -1
  447. package/dist/shared/bricks/props/enum.js +0 -4
  448. package/dist/shared/chunk-3YVJ2ELD.js +0 -4
  449. package/dist/shared/chunk-4BTB3MU2.js +0 -4
  450. package/dist/shared/chunk-4WDWJA3N.js +0 -4
  451. package/dist/shared/chunk-5O4Z3YQY.js +0 -4
  452. package/dist/shared/chunk-5YRC3IT3.js +0 -4
  453. package/dist/shared/chunk-6HLU4UI2.js +0 -4
  454. package/dist/shared/chunk-6I3ONVU6.js +0 -4
  455. package/dist/shared/chunk-7A2JNQX3.js +0 -4
  456. package/dist/shared/chunk-7A2JNQX3.js.map +0 -1
  457. package/dist/shared/chunk-A3GF4PYW.js +0 -4
  458. package/dist/shared/chunk-A3K4NUVP.js +0 -4
  459. package/dist/shared/chunk-A3K4NUVP.js.map +0 -1
  460. package/dist/shared/chunk-AFVJZPLS.js +0 -4
  461. package/dist/shared/chunk-AFVJZPLS.js.map +0 -1
  462. package/dist/shared/chunk-AI4GHU7R.js +0 -4
  463. package/dist/shared/chunk-AI4GHU7R.js.map +0 -1
  464. package/dist/shared/chunk-B3EATRFX.js +0 -4
  465. package/dist/shared/chunk-CCI4C3TM.js +0 -4
  466. package/dist/shared/chunk-CFF6Q7O7.js +0 -7
  467. package/dist/shared/chunk-CZRCW5EN.js +0 -4
  468. package/dist/shared/chunk-DCH4ZKWT.js +0 -4
  469. package/dist/shared/chunk-DHI3IBOD.js +0 -4
  470. package/dist/shared/chunk-DQ7PRWTG.js +0 -4
  471. package/dist/shared/chunk-E6XEI7IK.js +0 -4
  472. package/dist/shared/chunk-FLOMNC6J.js +0 -4
  473. package/dist/shared/chunk-G5CJU6RD.js +0 -7
  474. package/dist/shared/chunk-GACHLACT.js +0 -4
  475. package/dist/shared/chunk-GLS7HPIZ.js +0 -4
  476. package/dist/shared/chunk-GOMXZC4B.js +0 -35
  477. package/dist/shared/chunk-GOMXZC4B.js.map +0 -1
  478. package/dist/shared/chunk-GPEMPZXK.js +0 -4
  479. package/dist/shared/chunk-HAGKVQOW.js +0 -4
  480. package/dist/shared/chunk-I3VL6SRH.js +0 -9
  481. package/dist/shared/chunk-IKC3FK7L.js +0 -4
  482. package/dist/shared/chunk-IKHZD2JH.js +0 -4
  483. package/dist/shared/chunk-IUXCWWGO.js +0 -4
  484. package/dist/shared/chunk-JMN3HTZU.js +0 -4
  485. package/dist/shared/chunk-KBHDY425.js +0 -4
  486. package/dist/shared/chunk-KFM6KXSE.js +0 -4
  487. package/dist/shared/chunk-KLD3P5XH.js +0 -4
  488. package/dist/shared/chunk-KO5FPOWZ.js +0 -4
  489. package/dist/shared/chunk-KSEURRVZ.js +0 -4
  490. package/dist/shared/chunk-KYY3PHP7.js +0 -4
  491. package/dist/shared/chunk-NJGXC7D6.js +0 -4
  492. package/dist/shared/chunk-NM5MMPCF.js +0 -4
  493. package/dist/shared/chunk-OGBMYMZD.js +0 -4
  494. package/dist/shared/chunk-OGBMYMZD.js.map +0 -1
  495. package/dist/shared/chunk-OHNYCXPX.js +0 -4
  496. package/dist/shared/chunk-OIY3EPHO.js +0 -4
  497. package/dist/shared/chunk-PIG623TZ.js +0 -4
  498. package/dist/shared/chunk-PIG623TZ.js.map +0 -1
  499. package/dist/shared/chunk-PLSV746R.js +0 -4
  500. package/dist/shared/chunk-PSCN3VVA.js +0 -4
  501. package/dist/shared/chunk-PSCN3VVA.js.map +0 -1
  502. package/dist/shared/chunk-PSTFJ5IJ.js +0 -4
  503. package/dist/shared/chunk-PXI7AHWS.js +0 -4
  504. package/dist/shared/chunk-Q4H4QEMB.js +0 -4
  505. package/dist/shared/chunk-QGYZ7CG5.js +0 -4
  506. package/dist/shared/chunk-QGYZ7CG5.js.map +0 -1
  507. package/dist/shared/chunk-QWGUMKZC.js +0 -4
  508. package/dist/shared/chunk-QX6OGRRT.js +0 -5
  509. package/dist/shared/chunk-R6ATC4TC.js +0 -4
  510. package/dist/shared/chunk-RDZK73KV.js +0 -4
  511. package/dist/shared/chunk-RJYZ5FAR.js +0 -4
  512. package/dist/shared/chunk-SQ5T4AT5.js +0 -6
  513. package/dist/shared/chunk-SWLUQVK7.js +0 -4
  514. package/dist/shared/chunk-SXHDQ64Z.js +0 -5
  515. package/dist/shared/chunk-SY6DZLTC.js +0 -4
  516. package/dist/shared/chunk-SY6DZLTC.js.map +0 -1
  517. package/dist/shared/chunk-VEDQV5XO.js +0 -4
  518. package/dist/shared/chunk-W33JMRRN.js +0 -4
  519. package/dist/shared/chunk-WBZW5LVH.js +0 -4
  520. package/dist/shared/chunk-WHTPGWUV.js +0 -4
  521. package/dist/shared/chunk-WYVJE6J5.js +0 -4
  522. package/dist/shared/chunk-ZA3GAB4H.js +0 -9
  523. package/dist/shared/chunk-ZFCUSWMT.js +0 -4
  524. package/dist/shared/chunk-ZQPXQCY2.js +0 -4
  525. package/dist/shared/chunk-ZTZJHY4E.js +0 -4
  526. package/src/shared/bricks/props/enum.ts +0 -38
  527. /package/dist/shared/bricks/{props/enum.js.map → manifests/table.manifest.js.map} +0 -0
@@ -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 l}from"./chunk-3YVJ2ELD.js";import{a as c}from"./chunk-RJYZ5FAR.js";import{f as t}from"./chunk-5YRC3IT3.js";import{b as s,d}from"./chunk-4BTB3MU2.js";import{b as i,d as n}from"./chunk-ZTZJHY4E.js";import{c as p}from"./chunk-CZRCW5EN.js";import{b as r,d as o}from"./chunk-SWLUQVK7.js";import{c as a}from"./chunk-OHNYCXPX.js";import{BsAlphabetUppercase as g}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var C=c({type:"hero",category:"basic",name:"Hero",description:"A big textual element for home pages.",aiInstructions:`Displays a large text element that can be used to display a title and an optional tagline.
4
- Typically used on home pages to grab the user's attention. It's better NOT to provide the colorPreset prop so that the Hero inherits the background of its parent box or section.`,icon:g,defaultWidth:{desktop:"60dvw",mobile:"auto"},staticClasses:"flex-col",props:l({content:t({title:"Hero title",default:"<h1 style='text-align:center'>Lorem Ipsum<br />dolor sit amet</h1>"}),tagline:e.Optional(t({title:"Hero tagline",default:"<p style='text-align:center'>Use our platform to build your business with confidence.</p>"})),colorPreset:e.Optional(p({title:"Color"})),textShadow:e.Optional(d({default:"text-shadow-sm"})),padding:e.Optional(a({default:"6rem",description:"Padding inside the hero.","ai:instructions":"Use only a single value like '1rem' or '10px'",title:"Padding","ui:responsive":!0,"ui:placeholder":"Not specified","ui:styleId":"styles:padding"})),rounding:e.Optional(n({default:"rounded-md"})),border:e.Optional(i()),shadow:e.Optional(s()),justifyContent:e.Optional(r({default:"justify-center"})),alignItems:e.Optional(o({default:"items-center"}))})}),D=[{description:"Simple welcome hero with primary background",type:"hero",props:{content:"Welcome to Our Platform",tagline:"The future of productivity starts here",padding:"3rem",colorPreset:{color:"primary-400"}}},{description:"Startup hero with primary gradient background to bottom-right",type:"hero",props:{content:"Build Something Amazing",tagline:"Turn your ideas into reality with our cutting-edge tools",padding:"3rem",colorPreset:{color:"primary-500",gradientDirection:"bg-gradient-to-br"}}},{description:"Construction company hero with bold presence",type:"hero",props:{content:"Building Tomorrow Today",tagline:"Quality construction services for residential and commercial projects",padding:"3rem"}},{description:"Fashion brand hero with modern appeal",type:"hero",props:{content:"Express Your Style",tagline:"Contemporary fashion that speaks to your individuality",padding:"6rem"}},{description:"Law firm hero with authoritative tone",type:"hero",props:{content:"Justice You Can Trust",tagline:"Experienced legal representation for individuals and businesses",padding:"6rem",colorPreset:{color:"neutral-800"}}},{description:"Photography studio hero with artistic flair",type:"hero",props:{content:"Capturing Life's Moments",tagline:"Professional photography services for weddings, portraits, and events"}},{description:"Restaurant hero with warm colors and rounded design",type:"hero",props:{content:"Authentic Italian Cuisine",tagline:"Fresh ingredients, traditional recipes, unforgettable flavors",padding:"4rem",colorPreset:{color:"orange-600"},rounding:"rounded-xl",shadow:"shadow-lg"}},{description:"Tech company hero with success gradient and modern styling",type:"hero",props:{content:"Innovation Redefined",tagline:"Pushing the boundaries of what's possible with AI technology",padding:"5rem",colorPreset:{color:"success-500",gradientDirection:"bg-gradient-to-r"},textShadow:"text-shadow-lg",border:{width:"border-2",color:"border-success-300"}}},{description:"Medical practice hero with trust-inspiring design",type:"hero",props:{content:"Your Health, Our Priority",tagline:"Comprehensive healthcare services with compassionate care",padding:"4rem",colorPreset:{color:"blue-500"},rounding:"rounded-lg",justifyContent:"justify-start",alignItems:"items-start"}},{description:"Creative agency hero with warning accent and diagonal gradient",type:"hero",props:{content:"Creative Solutions",tagline:"Bold designs that make your brand unforgettable",padding:"3rem",colorPreset:{color:"warning-400",gradientDirection:"bg-gradient-to-tl"},shadow:"shadow-xl",border:{width:"border",color:"border-warning-200"}}},{description:"Fitness studio hero with danger color and strong presence",type:"hero",props:{content:"Transform Your Body",tagline:"High-intensity training programs that deliver real results",padding:"5rem",colorPreset:{color:"danger-600"},textShadow:"text-shadow-md",rounding:"rounded-2xl",justifyContent:"justify-center",alignItems:"items-center"}},{description:"Minimalist hero with neutral tones and subtle effects",type:"hero",props:{content:"Simplicity Perfected",tagline:"Clean design solutions for modern businesses",padding:"8rem",colorPreset:{color:"neutral-100"},shadow:"shadow-sm",border:{width:"border",color:"border-neutral-300"},rounding:"rounded-md"}},{description:"Dynamic company hero using business query data",type:"hero",props:{content:"Welcome to {{company.name}}",tagline:"{{company.tagline}} - Serving {{company.location}} since {{company.foundedYear}}",padding:"4rem",colorPreset:{color:"primary-500"}}},{description:"Dynamic employee spotlight using employee query",type:"hero",props:{content:"Meet {{employee.fullName}}",tagline:"{{employee.position}} at {{employee.department}} - {{employee.yearsExperience}} years of experience",padding:"3rem",colorPreset:{color:"secondary-400",gradientDirection:"bg-gradient-to-r"}}},{description:"Dynamic product launch hero using product query",type:"hero",props:{content:"Introducing {{product.name}}",tagline:"{{product.description}} - Starting at ${{product.price}}",padding:"5rem",colorPreset:{color:"accent-600"},shadow:"shadow-lg",rounding:"rounded-xl"}},{description:"Dynamic event announcement using event query",type:"hero",props:{content:"{{event.title}}",tagline:"Join us on {{event.date}} at {{event.venue}} - {{event.city}}",padding:"4rem",colorPreset:{color:"primary-400",gradientDirection:"bg-gradient-to-br"},textShadow:"text-shadow-md"}},{description:"Dynamic blog post hero using article query",type:"hero",props:{content:"{{article.title}}",tagline:"By {{article.author}} \u2022 Published {{article.publishDate}} \u2022 {{article.readTime}} min read",padding:"3rem",colorPreset:{color:"neutral-700"},justifyContent:"justify-start",alignItems:"items-start"}},{description:"Dynamic service promotion using service query",type:"hero",props:{content:"{{service.name}}",tagline:"{{service.description}} - {{service.duration}} \u2022 Starting at ${{service.price}}",padding:"6rem",colorPreset:{color:"secondary-500",gradientDirection:"bg-gradient-to-tl"},border:{width:"border-2",color:"border-secondary-300"}}},{description:"Dynamic property showcase using property query",type:"hero",props:{content:"{{property.address}}",tagline:"${{property.price}} \u2022 {{property.bedrooms}} bed, {{property.bathrooms}} bath \u2022 {{property.squareFootage}} sq ft",padding:"4rem",colorPreset:{color:"accent-500"},rounding:"rounded-lg",shadow:"shadow-md"}},{description:"Dynamic course announcement using course query",type:"hero",props:{content:"{{course.title}}",tagline:"Learn {{course.subject}} with {{course.instructor}} \u2022 {{course.duration}} \u2022 {{course.skillLevel}} level",padding:"5rem",colorPreset:{color:"primary-600"},textShadow:"text-shadow-lg",justifyContent:"justify-center",alignItems:"items-center"}}];export{C as a,D as b};
5
- //# sourceMappingURL=chunk-QX6OGRRT.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as s}from"./chunk-HAGKVQOW.js";import{c as n}from"./chunk-3YVJ2ELD.js";import{a}from"./chunk-RJYZ5FAR.js";import{a as o}from"./chunk-A3GF4PYW.js";import{b as i}from"./chunk-4BTB3MU2.js";import{d as t}from"./chunk-ZTZJHY4E.js";import{LiaMapMarkedAltSolid as d}from"react-icons/lia";import{Type as e}from"@sinclair/typebox";var r={lat:48.8566,lng:2.3522,zoom:15},f=a({type:"map",name:"Map",description:"A map element showing a location",aiInstructions:"This brick can be used to show a location on a map. Use the 'location' prop to set the coordinates and an optional tooltip.",minWidth:{desktop:280,mobile:280},minHeight:{desktop:200,mobile:120},defaultHeight:{desktop:"320px",mobile:"280px"},defaultWidth:{desktop:"380px",mobile:"100%"},icon:d,props:n({lat:o("Latitude",{"ui:field":"hidden"}),lng:o("Longitude",{"ui:field":"hidden"}),address:o("Address",{"ui:field":"geoaddress",metadata:{category:"content"}}),tooltip:e.Optional(o("Tooltip",{metadata:{category:"content"}})),zoom:e.Optional(s("Zoom",{description:"Zoom level for the map","ui:instructions":"The zoom level should be between 0 (world view) and 21 (street view).","ui:field":"slider",minimum:12,maximum:18,default:r.zoom,metadata:{category:"content"}})),rounding:e.Optional(t({default:"rounded-xl"})),shadow:e.Optional(i())})}),y=[{description:"Map showing a specific location",type:"map",props:{lat:"37.7749",lng:"-122.4194",address:"San Francisco, CA",tooltip:"San Francisco, CA",shadow:"shadow-md",width:"40%",height:"250px"}},{description:"Map with custom styles",type:"map",props:{lat:"40.7128",lng:"-74.0060",address:"New York, NY",tooltip:"New York, NY",shadow:"shadow-lg",width:"100%",height:"400px"}},{description:"Business location map with high zoom level and rounded corners",type:"map",props:{lat:"34.0522",lng:"-118.2437",address:"Los Angeles, CA",tooltip:"Our Los Angeles Office",zoom:18,rounding:"rounded-2xl",shadow:"shadow-xl"}},{description:"Event venue map with medium zoom and subtle shadow",type:"map",props:{lat:"41.8781",lng:"-87.6298",address:"Chicago, IL",tooltip:"Conference Center - Chicago",zoom:16,rounding:"rounded-lg",shadow:"shadow-sm"}},{description:"Restaurant location with default zoom and sharp corners",type:"map",props:{lat:"25.7617",lng:"-80.1918",address:"Miami, FL",tooltip:"Oceanview Restaurant & Bar",zoom:15,rounding:"rounded-none",shadow:"shadow-md"}},{description:"Hotel location with low zoom for area overview",type:"map",props:{lat:"36.1699",lng:"-115.1398",address:"Las Vegas, NV",tooltip:"Downtown Las Vegas Hotel",zoom:13,rounding:"rounded-xl",shadow:"shadow-lg"}},{description:"Store location with maximum zoom for street view detail",type:"map",props:{lat:"47.6062",lng:"-122.3321",address:"Seattle, WA",tooltip:"Seattle Flagship Store",zoom:18,rounding:"rounded-md",shadow:"shadow-sm"}},{description:"Park location with moderate zoom and minimal styling",type:"map",props:{lat:"39.7392",lng:"-104.9903",address:"Denver, CO",tooltip:"City Park Recreation Area",zoom:14,rounding:"rounded-sm"}},{description:"Dynamic business location using company query",type:"map",props:{lat:"{{company.latitude}}",lng:"{{company.longitude}}",address:"{{company.address}}",tooltip:"{{company.name}} - {{company.address}}",zoom:16,rounding:"rounded-lg",shadow:"shadow-md"}},{description:"Dynamic event venue using event query",type:"map",props:{lat:"{{event.venueLatitude}}",lng:"{{event.venueLongitude}}",address:"{{event.venueAddress}}",tooltip:"{{event.title}} - {{event.venueName}}",zoom:17,rounding:"rounded-xl",shadow:"shadow-lg"}}];export{r as a,f as b,y as c};
4
- //# sourceMappingURL=chunk-R6ATC4TC.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- var i="Invariant failed";function e(r,n){if(r)return;let t=typeof n=="function"?n():n,o=t?`${i}: ${t}`:i;throw new Error(o)}export{e as a};
4
- //# sourceMappingURL=chunk-RDZK73KV.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as o}from"./chunk-QGYZ7CG5.js";function y({props:e,defaultHeight:t,defaultWidth:i,category:r="widgets",isContainer:s=!1,hideInLibrary:n=!1,isGlobalBrick:a=!1,deletable:p=!0,movable:l=!0,resizable:c=!0,duplicatable:b=!0,defaultInspectorTab:m="preset",icon:d,...u}){return{...u,icon:d,props:e,category:r,defaultInspectorTab:m,hideInLibrary:n,deletable:p,movable:l,resizable:c,duplicatable:b,isContainer:s,isGlobalBrick:a,defaultWidth:{mobile:i?.mobile??"auto",desktop:i?.desktop??"auto"},defaultHeight:{mobile:t?.mobile??"auto",desktop:t?.desktop??"auto"}}}function k(e){return{manifest:e,props:o(e.props),mobileProps:{}}}export{y as a,k as b};
4
- //# sourceMappingURL=chunk-RJYZ5FAR.js.map
@@ -1,6 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as m}from"./chunk-3YVJ2ELD.js";import{a as p}from"./chunk-RJYZ5FAR.js";import{m as c}from"./chunk-AFVJZPLS.js";import{b as l}from"./chunk-CCI4C3TM.js";import{a as t,f as r}from"./chunk-A3GF4PYW.js";import{b as s}from"./chunk-5YRC3IT3.js";import{b as i}from"./chunk-4BTB3MU2.js";import{b as o}from"./chunk-ZTZJHY4E.js";import{c as n}from"./chunk-CZRCW5EN.js";import{c as a}from"./chunk-OHNYCXPX.js";import{Type as e}from"@sinclair/typebox";import{HiOutlineChatBubbleBottomCenter as d}from"react-icons/hi2";var R=p({type:"testimonials",name:"Testimonials",description:"Display testimonials from users",defaultWidth:{desktop:"100%"},icon:d,consumesMultipleQueryRows:!0,aiInstructions:`This brick displays user testimonials with optional avatars and social icons.
4
- It is typically used to showcase customer feedback or endorsements.
5
- Optionally either use an avatar or a social icon but not both at the same time.`,props:m({colorPreset:e.Optional(n({title:"Color",default:"base-100"})),border:e.Optional(o({title:"Border",description:"Customize the border of the testimonial cards.",default:{width:"border",color:"border-accent-500"}})),fontSize:e.Optional(s({"ui:no-extra-large-sizes":!0})),padding:e.Optional(a({default:"1rem",description:"Padding inside the main container.","ai:instructions":"Use only a single value like '1rem' or '10px'",title:"Padding","ui:responsive":!0,"ui:placeholder":"Not specified","ui:styleId":"styles:padding"})),gap:e.Optional(a({title:"Gap",default:"26px",description:"Space between bricks.","ai:instructions":"Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified","ui:styleId":"styles:gap"})),shadow:e.Optional(i()),loop:e.Optional(c({description:"If enabled, each row from the query result will be used to create a testimonial. Otherwise, the testimonials will be static.","ui:placeholder":"Not specified (static)"})),testimonials:e.Optional(e.Array(e.Object({text:t("Text",{default:"Amazing product!","ui:multiline":!0,"ui:textarea-class":"h-20"}),author:t("Author",{default:"John Doe"}),company:e.Optional(t("Company")),avatar:e.Optional(l({title:"Avatar","ui:placeholder":"https://via.placeholder.com/80x80.png?text=JD",noObjectOptions:!0})),socialIcon:e.Optional(r())}),{title:"Testimonials",default:[],"ui:displayField":"author","ui:options":{orderable:!0,removable:!0,addable:!0},metadata:{category:"content",consumeQuery:!0},examples:[{text:"This is a great product! It has changed my life.",author:"John Doe",company:"Acme Inc.",avatar:{src:"https://via.placeholder.com/80x80.png?text=JD",alt:"John Doe profile photo"},socialIcon:"mdi:linkedin"}]}))},{default:{orientation:"horizontal"}})}),C=[{description:"SaaS platform testimonials with avatars",type:"testimonials",props:{testimonials:[{author:"Sarah Johnson",company:"TechCorp Solutions",text:"This platform has completely transformed how we manage our projects. The intuitive interface and powerful automation features have saved us countless hours.",avatar:{src:"https://via.placeholder.com/80x80.png?text=SJ",alt:"Sarah Johnson profile photo"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"StartupFlow",text:"Outstanding customer support and regular feature updates. We've been using this for over a year and it keeps getting better. Highly recommend!",avatar:{src:"https://via.placeholder.com/80x80.png?text=MC",alt:"Mike Chen profile photo"},socialIcon:"mdi:twitter"},{author:"Emily Rodriguez",company:"Digital Agency Pro",text:"The automation capabilities are game-changing. What used to take us days now happens automatically. It's like having an extra team member.",avatar:{src:"https://via.placeholder.com/80x80.png?text=ER",alt:"Emily Rodriguez profile photo"},socialIcon:"mdi:linkedin"}]}},{description:"E-commerce customer reviews",type:"testimonials",props:{testimonials:[{author:"Jessica Williams",company:"Happy Customer",text:"Amazing product quality and fast shipping! The item exceeded my expectations and the customer service was excellent when I had questions.",avatar:{src:"https://via.placeholder.com/60x60.png?text=JW",alt:"Jessica Williams customer photo"},socialIcon:"mdi:star"},{author:"David Park",text:"Five stars! Been using this product for 6 months and it's still going strong. Definitely worth the investment and I've already recommended it to friends.",avatar:{src:"https://via.placeholder.com/60x60.png?text=DP",alt:"David Park customer photo"},socialIcon:"mdi:thumbs-up"}]}},{description:"Agency client testimonials with company info",type:"testimonials",props:{testimonials:[{author:"Rachel Thompson",company:"Global Enterprises",text:"The team delivered exceptional results on time and within budget. Their creative approach and attention to detail made all the difference for our brand.",avatar:{src:"https://via.placeholder.com/70x70.png?text=RT",alt:"Rachel Thompson headshot"},socialIcon:"mdi:briefcase"},{author:"Alex Kumar",company:"Innovation Labs",text:"Working with this agency was a game-changer for our digital presence. They understood our vision and brought it to life beautifully.",avatar:{src:"https://via.placeholder.com/70x70.png?text=AK",alt:"Alex Kumar profile"},socialIcon:"mdi:lightbulb"},{author:"Maria Santos",company:"Retail Plus",text:"Professional, creative, and results-driven. Our website traffic increased by 200% after their redesign. Couldn't be happier!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MS",alt:"Maria Santos photo"},socialIcon:"mdi:chart-line"}]}},{description:"App user feedback",type:"testimonials",props:{testimonials:[{author:"Tom Wilson",text:"This app has made my daily routine so much easier. Love the clean interface and how everything just works seamlessly across all my devices.",avatar:{src:"https://via.placeholder.com/65x65.png?text=TW",alt:"Tom Wilson user photo"},socialIcon:"mdi:cellphone"},{author:"Lisa Chang",text:"Been using this app for months and it's become essential to my workflow. The latest update with AI features is incredibly impressive.",avatar:{src:"https://via.placeholder.com/65x65.png?text=LC",alt:"Lisa Chang profile picture"},socialIcon:"mdi:robot"},{author:"James Miller",text:"Simple, powerful, and reliable. Exactly what I was looking for. The customer support team is also very responsive and helpful.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JM",alt:"James Miller avatar"},socialIcon:"mdi:heart"}]}},{description:"Course/education testimonials with social icons",type:"testimonials",props:{testimonials:[{author:"Amanda Foster",company:"UX Designer",text:"This course completely changed my career trajectory. The practical projects and expert feedback helped me land my dream job in just 3 months.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AF",alt:"Amanda Foster student photo"},socialIcon:"mdi:school"},{author:"Carlos Rodriguez",company:"Software Engineer",text:"The instructors are industry experts and the content is always up-to-date. I've taken three courses here and each one exceeded my expectations.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CR",alt:"Carlos Rodriguez profile"},socialIcon:"mdi:code-tags"}]}},{description:"Simple testimonials without avatars",type:"testimonials",props:{testimonials:[{author:"Anonymous User",text:"Great service and excellent value for money. Would definitely recommend to others looking for a reliable solution.",socialIcon:"mdi:account-circle"},{author:"Verified Customer",text:"Quick delivery and exactly as described. Very satisfied with my purchase and the overall experience.",socialIcon:"mdi:check-circle"},{author:"Beta Tester",text:"Been using the beta version and it's already impressive. Looking forward to the full release with even more features.",socialIcon:"mdi:beta"}]}},{description:"Consultant testimonials with professional focus",type:"testimonials",props:{testimonials:[{author:"Dr. Patricia Lee",company:"Medical Practice Solutions",text:"The consulting services provided were invaluable to our practice. Revenue increased by 40% and patient satisfaction scores improved significantly.",avatar:{src:"https://via.placeholder.com/80x80.png?text=PL",alt:"Dr. Patricia Lee headshot"},socialIcon:"mdi:medical-bag"},{author:"Robert Kim",company:"Manufacturing Inc.",text:"Their strategic insights helped us streamline operations and reduce costs by 25%. The ROI was evident within the first quarter.",avatar:{src:"https://via.placeholder.com/80x80.png?text=RK",alt:"Robert Kim executive photo"},socialIcon:"mdi:factory"}]}},{description:"Event testimonials with social media icons",type:"testimonials",props:{testimonials:[{author:"Jennifer Adams",company:"Marketing Director",text:"Best conference I've attended in years! The networking opportunities were incredible and the speakers were top-notch industry leaders.",avatar:{src:"https://via.placeholder.com/70x70.png?text=JA",alt:"Jennifer Adams conference attendee"},socialIcon:"mdi:twitter"},{author:"Michael Brown",company:"Tech Startup Founder",text:"The workshops were incredibly practical and I left with actionable strategies I could implement immediately. Already planning to attend next year!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MB",alt:"Michael Brown participant photo"},socialIcon:"mdi:linkedin"},{author:"Sophie Chen",company:"Product Manager",text:"Amazing organization and valuable content. Met so many like-minded professionals and learned cutting-edge techniques I'm excited to try.",avatar:{src:"https://via.placeholder.com/70x70.png?text=SC",alt:"Sophie Chen attendee photo"},socialIcon:"mdi:instagram"}]}},{description:"Dynamic customer testimonials using customerReviews query",type:"testimonials",props:{testimonials:[{author:"{{customerReviews.customerName}}",company:"{{customerReviews.company}}",text:"{{customerReviews.reviewText}}",avatar:{src:"{{customerReviews.customerPhoto}}",alt:"{{customerReviews.customerName}} photo"},socialIcon:"{{customerReviews.socialPlatform}}"}],loop:{over:"customerReviews"}}},{description:"Dynamic client testimonials using clientFeedback query",type:"testimonials",props:{testimonials:[{author:"{{clientFeedback.clientName}}",company:"{{clientFeedback.companyName}} - {{clientFeedback.position}}",text:"{{clientFeedback.testimonial}}",avatar:{src:"{{clientFeedback.headshot}}",alt:"{{clientFeedback.clientName}} headshot"},socialIcon:"{{clientFeedback.preferredIcon}}"}],loop:{over:"clientFeedback"}}},{description:"Dynamic product reviews using productReviews query",type:"testimonials",props:{testimonials:[{author:"{{productReviews.reviewerName}}",text:"{{productReviews.review}} - {{productReviews.rating}}/5 stars",avatar:{src:"{{productReviews.userAvatar}}",alt:"{{productReviews.reviewerName}} profile"},socialIcon:"mdi:star"}],loop:{over:"productReviews"}}},{description:"Dynamic employee testimonials using teamTestimonials query",type:"testimonials",props:{testimonials:[{author:"{{teamTestimonials.employeeName}}",company:"{{teamTestimonials.department}} - {{teamTestimonials.jobTitle}}",text:"{{teamTestimonials.testimonial}}",avatar:{src:"{{teamTestimonials.profilePhoto}}",alt:"{{teamTestimonials.employeeName}} profile photo"},socialIcon:"{{teamTestimonials.socialIcon}}"}],loop:{over:"teamTestimonials"}}}];export{R as a,C as b};
6
- //# sourceMappingURL=chunk-SQ5T4AT5.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as n}from"./chunk-KFM6KXSE.js";import{a as e}from"./chunk-JMN3HTZU.js";function r(t={}){return e(["justify-start","justify-center","justify-end","justify-between","justify-around","justify-evenly"],{enumNames:["Start","Center","End","Between","Around","Evenly"],title:"Justify bricks","ui:field":"justify-content","ui:responsive":!0,"ui:styleId":"styles:justifyContent",examples:["justify-center","justify-evenly"],...t})}function u(t={}){return n("styles:justifyContent",t)}function l(t={}){return e(["items-start","items-center","items-end","items-stretch"],{enumNames:["Start","Center","End","Stretch"],title:"Align bricks","ui:field":"align-items","ui:responsive":!0,"ui:styleId":"styles:alignItems",examples:["items-center","items-stretch"],...t})}function f(t={}){return n("styles:alignItems",t)}function o(t={}){return e(["self-auto","self-start","self-center","self-end","self-stretch"],{enumNames:["Auto","Start","Center","End","Stretch"],default:"self-auto",title:"Align self","ui:field":"align-self","ui:responsive":!0,"ui:styleId":"styles:alignSelf",...t})}function y(t={}){return n("styles:alignSelf",t)}export{r as a,u as b,l as c,f as d,o as e,y as f};
4
- //# sourceMappingURL=chunk-SWLUQVK7.js.map
@@ -1,5 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as f}from"./chunk-6I3ONVU6.js";import{a as l,c}from"./chunk-3YVJ2ELD.js";import{a as p}from"./chunk-RJYZ5FAR.js";import{a as s}from"./chunk-A3GF4PYW.js";import{b as n}from"./chunk-5YRC3IT3.js";import{b as d}from"./chunk-GACHLACT.js";import{b as i,d as o}from"./chunk-ZTZJHY4E.js";import{c as a}from"./chunk-CZRCW5EN.js";import{c as r}from"./chunk-OHNYCXPX.js";import{a as e}from"./chunk-JMN3HTZU.js";import{Type as t}from"@sinclair/typebox";import{FaWpforms as u}from"react-icons/fa6";var M=p({type:"form",name:"Form",description:"A form element.",aiInstructions:`The form brick automatically renders form fields based on the datarecord id provided in the props.
4
- There is no need to define the form fields manually and the form does not accept any children`,isContainer:!1,icon:u,minWidth:{desktop:300},props:c({datarecordId:f("Datarecord ID",{description:"The ID of the datarecord to use to generate the form fields. The datarecord must exist.","ui:responsive":"desktop"}),colorPreset:t.Optional(a({title:"Color",default:"base-200"})),direction:t.Optional(d({title:"Direction",description:"The direction of the form fields",default:"flex-col","ui:responsive":"desktop","ui:desktop-only":!0})),padding:t.Optional(r({default:"2rem",description:"Padding inside the form.",title:"Padding","ui:responsive":!0,"ui:placeholder":"Not specified","ui:styleId":"styles:padding"})),rounding:t.Optional(o({default:"rounded-md"})),border:t.Optional(i({})),fontSize:t.Optional(n({default:"inherit","ui:no-extra-large-sizes":!0})),button:l({title:"Button",children:{color:t.Optional(e(["btn-neutral","btn-primary","btn-secondary","btn-accent"],{enumNames:["Neutral","Primary","Secondary","Accent"],title:"Color",default:"btn-primary"})),size:t.Optional(e(["block","wide"],{title:"Size",description:"Button sizes.",enumNames:["Block","Wide"],default:"block","ui:responsive":"desktop"})),position:t.Optional(e(["justify-start","justify-center","justify-end"],{title:"Button Position",description:"The position of the button in the form",enumNames:["Left","Center","Right"],default:"justify-end","ui:responsive":"desktop",metadata:{filter:(b,m)=>m.button?.size!=="wide"}})),rounding:t.Optional(o({default:"rounded-md"}))}}),title:t.Optional(t.String({title:"Form title",default:"My form",metadata:{category:"content"}})),intro:t.Optional(t.String({title:"Intro",description:"The intro text of the form","ui:multiline":!0,metadata:{category:"content"}})),buttonLabel:t.Optional(s("Button Label",{default:"Submit",metadata:{category:"content"}})),successMessage:t.Optional(t.String({title:"Success Message",description:"The message to display when the form is successfully submitted",default:"Thank you for your submission!",metadata:{category:"content"}})),errorMessage:t.Optional(t.String({title:"Error Message",description:"The message to display when the form submission fails",default:"There was an error submitting the form. Please try again later.",metadata:{category:"content"}}))})}),R=[{description:"Basic contact form",type:"form",props:{title:"Contact Us",intro:"We'd love to hear from you. Send us a message and we'll respond as soon as possible.",direction:"flex-row",datarecordId:"contacts",buttonLabel:"Send Message",button:{size:"block"}}},{description:"User registration form with large button",type:"form",props:{title:"Create Account",intro:"Join our platform and start your journey today.",direction:"flex-row",datarecordId:"user-registration",buttonLabel:"Register",button:{size:"wide"}}},{description:"Newsletter subscription form (horizontal) with large padding",type:"form",props:{title:"Stay Updated",intro:"Subscribe to our newsletter for the latest updates and exclusive content.",direction:"flex-col",datarecordId:"newsletter-subscription",padding:"3rem",buttonLabel:"Subscribe",button:{size:"block"}}},{description:"Event registration form",type:"form",props:{title:"Conference Registration",intro:"Register for the Annual Tech Conference 2025. Early bird pricing ends soon!",direction:"flex-col",datarecordId:"event-registration",buttonLabel:"Register Now",button:{size:"block"}}},{description:"Job application form",type:"form",props:{title:"Apply for Position",intro:"We're excited to learn more about you! Please fill out this application form completely.",direction:"flex-col",datarecordId:"job-application",buttonLabel:"Submit Application",button:{size:"block"}}}];export{M as a,R as b};
5
- //# sourceMappingURL=chunk-SXHDQ64Z.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as d}from"./chunk-KSEURRVZ.js";import{c as p}from"./chunk-3YVJ2ELD.js";import{a as c}from"./chunk-RJYZ5FAR.js";import{a as l}from"./chunk-AFVJZPLS.js";import{b as n}from"./chunk-CCI4C3TM.js";import{a as o,d as r}from"./chunk-A3GF4PYW.js";import{b as s}from"./chunk-QWGUMKZC.js";import{f as t}from"./chunk-5YRC3IT3.js";import{b as a}from"./chunk-4BTB3MU2.js";import{c as i}from"./chunk-CZRCW5EN.js";import{Type as e}from"@sinclair/typebox";import{VscLayoutPanelOff as m}from"react-icons/vsc";var b=c({type:"navbar",name:"Navbar",category:"layout",description:"A navigation bar with logo and navigation",aiInstructions:"This brick should be used on most sites/pages. It must be placed on its own section.",isGlobalBrick:!0,duplicatable:!1,resizable:!1,movable:!1,hideInLibrary:!0,staticClasses:"flex-grow",defaultWidth:{mobile:"100%"},defaultHeight:{mobile:"60px",desktop:"60px"},icon:m,iconClassName:"rotate-180",props:p({colorPreset:e.Optional(i({title:"Color",default:{color:"primary-500"},examples:[{color:"primary-500"},{color:"neutral-900"},{color:"secondary-200"}]})),brand:e.Optional(t({title:"Brand name",default:"Acme Inc.",disableSizing:!0,"ai:instructions":"The brand name of the website, for example the company name. Please provide it even if optional.",metadata:{category:"content"},examples:["Acme Inc.","TechCorp Solutions","ShopEasy","Bella Vista"]})),logo:e.Optional(n({title:"Logo","ui:show-img-search":!1,"ui:no-object-options":!0,"ui:no-dynamic":!0,"ui:placeholder":"https://example.com/logo.png",metadata:{category:"content"},"ai:hidden":!0})),hideBrand:e.Optional(d("Hide brand name",void 0,{"ai:hidden":!0,metadata:{filter:(u,g)=>!!g.logo}})),linksTagsFilter:e.Optional(s({title:"Pages tags",description:"Filter pages links in the navbar by tags. Only pages with these tags will be shown.",default:["navbar"],metadata:{category:"content"},examples:[["navbar","main"],["top-menu"],["important-link","navbar"]]})),staticNavItems:e.Optional(e.Array(e.Object({urlOrPageId:r(),label:e.Optional(o("Label"))}),{title:"Static links",description:"Additional static navigation links to show in the navbar","ai:instructions":"Don't include pages already included by the tags filter.",default:[],metadata:{category:"content"},examples:[[{urlOrPageId:"http://example.com/",label:"Other site"},{urlOrPageId:"https://docs.example.com/",label:"External docs"}],[{urlOrPageId:"https://www.amazon.com/our-brand",label:"Buy our brand on Amazon"}]]})),linksPosition:e.Optional(e.Union([e.Literal("left",{title:"Left"}),e.Literal("center",{title:"Center"}),e.Literal("right",{title:"Right"})],{title:"Links position",default:"right","ui:responsive":"desktop"})),shadow:e.Optional(a())},{noAlignSelf:!0,noGrow:!0})});function F(){return l(b.props)}var S=[{description:"Corporate technology company navbar featuring company logo with right-aligned navigation links filtered by navbar and featured tags",type:"navbar",props:{logo:{src:"https://via.placeholder.com/120x40.png?text=TechCorp",alt:"TechCorp Solutions logo"},linksPosition:"right",linksTagsFilter:["navbar","featured"]}},{description:"Dark-themed professional navbar with centered brand text and navigation, including external site link for service companies",type:"navbar",props:{brand:"TechCorp Solutions",linksPosition:"center",linksTagsFilter:["navbar","featured"],staticNavItems:[{urlOrPageId:"http://example.com/",label:"Other site"}]}},{description:"E-commerce store navbar with primary blue branding, medium shadow effect, and right-aligned cart/account links for online shopping sites",type:"navbar",props:{brand:"ShopEasy",colorPreset:{color:"primary-500"},linksPosition:"right",linksTagsFilter:["main","shop"],shadow:"shadow-md",staticNavItems:[{urlOrPageId:"cart",label:"Cart"},{urlOrPageId:"account",label:"Account"}]}},{description:"Restaurant navbar with logo and hidden brand text, featuring secondary color scheme and left-aligned navigation with reservation booking and phone contact",type:"navbar",props:{logo:{src:"https://via.placeholder.com/100x50.png?text=Bella+Vista",alt:"Bella Vista Restaurant logo"},brand:"Bella Vista",hideBrand:!0,linksPosition:"left",linksTagsFilter:["navbar"],colorPreset:{color:"secondary-200"},staticNavItems:[{urlOrPageId:"reservations",label:"Reservations"},{urlOrPageId:"tel:+1234567890",label:"Call Us"}]}},{description:"Clean minimalist design navbar with neutral light background, centered navigation links, and subtle shadow for creative agencies and design studios",type:"navbar",props:{brand:"Minimal Studio",colorPreset:{color:"neutral-100"},linksPosition:"center",linksTagsFilter:["main"],shadow:"shadow-sm"}},{description:"Creative portfolio navbar with dark neutral background, compact logo, and external social media links to showcase professional work and attract clients",type:"navbar",props:{logo:{src:"https://via.placeholder.com/80x40.png?text=Portfolio",alt:"Creative Portfolio logo"},brand:"Creative Portfolio",colorPreset:{color:"neutral-900"},linksPosition:"right",linksTagsFilter:["portfolio","main"],staticNavItems:[{urlOrPageId:"https://dribbble.com/mywork",label:"Dribbble"},{urlOrPageId:"https://behance.net/mywork",label:"Behance"},{urlOrPageId:"contact",label:"Hire Me"}]}},{description:"Digital marketing agency navbar with horizontal gradient background, large shadow, and external consultation booking integration for lead generation",type:"navbar",props:{brand:"Digital Agency",colorPreset:{color:"primary-600",gradientDirection:"bg-gradient-to-r"},linksPosition:"right",linksTagsFilter:["services","navbar"],shadow:"shadow-lg",staticNavItems:[{urlOrPageId:"https://calendar.com/book",label:"Book Consultation"},{urlOrPageId:"case-studies",label:"Case Studies"}]}},{description:"SaaS application navbar with accent color scheme, company logo, and essential user authentication links for software platforms",type:"navbar",props:{logo:{src:"https://via.placeholder.com/120x35.png?text=CloudApp",alt:"CloudApp SaaS logo"},brand:"CloudApp",colorPreset:{color:"accent-500"},linksPosition:"right",linksTagsFilter:["features","navbar"],staticNavItems:[{urlOrPageId:"pricing",label:"Pricing"},{urlOrPageId:"login",label:"Login"},{urlOrPageId:"signup",label:"Sign Up"}]}},{description:"Nonprofit organization navbar with warm accent color, centered navigation, and donation call-to-action links for charitable foundations",type:"navbar",props:{brand:"Hope Foundation",colorPreset:{color:"accent-400"},linksPosition:"center",linksTagsFilter:["about","programs"],shadow:"shadow-md",staticNavItems:[{urlOrPageId:"donate",label:"Donate Now"},{urlOrPageId:"volunteer",label:"Volunteer"}]}},{description:"Professional law firm navbar with dark authoritative styling, professional logo, and client consultation contact information for legal services",type:"navbar",props:{logo:{src:"https://via.placeholder.com/110x45.png?text=LawFirm",alt:"Professional Law Firm logo"},brand:"Smith & Associates",colorPreset:{color:"neutral-800"},linksPosition:"right",linksTagsFilter:["practice-areas","navbar"],staticNavItems:[{urlOrPageId:"consultation",label:"Free Consultation"},{urlOrPageId:"tel:+1234567890",label:"(123) 456-7890"}]}},{description:"Event management company navbar with bold primary red gradient background, left-aligned navigation, and ticket purchasing links for entertainment venues",type:"navbar",props:{brand:"Event Masters",colorPreset:{color:"primary-500",gradientDirection:"bg-gradient-to-br"},linksPosition:"left",linksTagsFilter:["events","upcoming"],shadow:"shadow-xl",staticNavItems:[{urlOrPageId:"tickets",label:"Buy Tickets"},{urlOrPageId:"venues",label:"Venues"}]}},{description:"Fitness studio navbar with secondary purple color scheme, visible brand name alongside logo, and centered class booking navigation for health and wellness businesses",type:"navbar",props:{logo:{src:"https://via.placeholder.com/90x50.png?text=FitStudio",alt:"Fitness Studio logo"},brand:"Peak Fitness",hideBrand:!1,colorPreset:{color:"secondary-600"},linksPosition:"center",linksTagsFilter:["classes","membership"],staticNavItems:[{urlOrPageId:"book-class",label:"Book Class"},{urlOrPageId:"membership",label:"Join Now"},{urlOrPageId:"trainers",label:"Personal Training"}]}}];export{b as a,F as b,S as c};
4
- //# sourceMappingURL=chunk-SY6DZLTC.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/shared/bricks/manifests/navbar.manifest.ts"],"sourcesContent":["import { type Static, type TObject, Type } from \"@sinclair/typebox\";\nimport { defineBrickManifest } from \"~/shared/brick-manifest\";\nimport { defineProps } from \"../props/helpers\";\nimport { string, urlOrPageIdRef } from \"../props/string\";\nimport { imageRef } from \"../props/image\";\nimport { textContentRef } from \"../props/text\";\nimport { shadowRef } from \"../props/effects\";\nimport { boolean } from \"../props/boolean\";\nimport { VscLayoutPanelOff } from \"react-icons/vsc\";\nimport type { BrickProps } from \"../props/types\";\nimport { colorPresetRef } from \"../props/color-preset\";\nimport { tagsRef } from \"../props/tags\";\nimport { toLLMSchema } from \"~/shared/utils/llm\";\n\nexport const manifest = defineBrickManifest({\n type: \"navbar\",\n name: \"Navbar\",\n category: \"layout\",\n description: \"A navigation bar with logo and navigation\",\n aiInstructions: \"This brick should be used on most sites/pages. It must be placed on its own section.\",\n isGlobalBrick: true,\n duplicatable: false,\n resizable: false,\n movable: false,\n hideInLibrary: true,\n staticClasses: \"flex-grow\",\n defaultWidth: { mobile: \"100%\" },\n defaultHeight: { mobile: \"60px\", desktop: \"60px\" },\n icon: VscLayoutPanelOff,\n iconClassName: \"rotate-180\",\n props: defineProps(\n {\n colorPreset: Type.Optional(\n colorPresetRef({\n title: \"Color\",\n default: { color: \"primary-500\" },\n examples: [{ color: \"primary-500\" }, { color: \"neutral-900\" }, { color: \"secondary-200\" }],\n }),\n ),\n brand: Type.Optional(\n textContentRef({\n title: \"Brand name\",\n default: \"Acme Inc.\",\n disableSizing: true,\n \"ai:instructions\":\n \"The brand name of the website, for example the company name. Please provide it even if optional.\",\n metadata: {\n category: \"content\",\n },\n examples: [\"Acme Inc.\", \"TechCorp Solutions\", \"ShopEasy\", \"Bella Vista\"],\n }),\n ),\n logo: Type.Optional(\n imageRef({\n title: \"Logo\",\n \"ui:show-img-search\": false,\n \"ui:no-object-options\": true,\n \"ui:no-dynamic\": true,\n \"ui:placeholder\": \"https://example.com/logo.png\",\n metadata: {\n category: \"content\",\n },\n \"ai:hidden\": true, // Hide from AI as it should always be provided if available\n }),\n ),\n hideBrand: Type.Optional(\n boolean(\"Hide brand name\", undefined, {\n \"ai:hidden\": true,\n metadata: {\n filter: (manifestProps: TObject, formData: Static<Manifest[\"props\"]>) => {\n return !!formData.logo; // Enable this field only if logo is set\n },\n },\n }),\n ),\n linksTagsFilter: Type.Optional(\n tagsRef({\n title: \"Pages tags\",\n description: \"Filter pages links in the navbar by tags. Only pages with these tags will be shown.\",\n default: [\"navbar\"],\n metadata: {\n category: \"content\",\n },\n examples: [[\"navbar\", \"main\"], [\"top-menu\"], [\"important-link\", \"navbar\"]],\n }),\n ),\n staticNavItems: Type.Optional(\n Type.Array(\n Type.Object({\n urlOrPageId: urlOrPageIdRef(),\n label: Type.Optional(string(\"Label\")),\n }),\n {\n title: \"Static links\",\n description: \"Additional static navigation links to show in the navbar\",\n \"ai:instructions\": \"Don't include pages already included by the tags filter.\",\n default: [],\n metadata: {\n category: \"content\",\n },\n examples: [\n [\n { urlOrPageId: \"http://example.com/\", label: \"Other site\" },\n { urlOrPageId: \"https://docs.example.com/\", label: \"External docs\" },\n ],\n [{ urlOrPageId: \"https://www.amazon.com/our-brand\", label: \"Buy our brand on Amazon\" }],\n ],\n },\n ),\n ),\n linksPosition: Type.Optional(\n Type.Union(\n [\n Type.Literal(\"left\", { title: \"Left\" }),\n Type.Literal(\"center\", { title: \"Center\" }),\n Type.Literal(\"right\", { title: \"Right\" }),\n ],\n { title: \"Links position\", default: \"right\", \"ui:responsive\": \"desktop\" },\n ),\n ),\n shadow: Type.Optional(shadowRef()),\n },\n { noAlignSelf: true, noGrow: true },\n ),\n});\n\nexport type Manifest = typeof manifest;\nexport type NavbarProps = Static<Manifest[\"props\"]>;\n\nexport function getNavbarSchemaForLLM() {\n return toLLMSchema(manifest.props);\n}\n\nexport const examples: {\n description: string;\n type: string;\n props: BrickProps<Manifest>[\"brick\"][\"props\"];\n}[] = [\n {\n description:\n \"Corporate technology company navbar featuring company logo with right-aligned navigation links filtered by navbar and featured tags\",\n type: \"navbar\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/120x40.png?text=TechCorp\",\n alt: \"TechCorp Solutions logo\",\n },\n linksPosition: \"right\",\n linksTagsFilter: [\"navbar\", \"featured\"],\n },\n },\n {\n description:\n \"Dark-themed professional navbar with centered brand text and navigation, including external site link for service companies\",\n type: \"navbar\",\n props: {\n brand: \"TechCorp Solutions\",\n linksPosition: \"center\",\n linksTagsFilter: [\"navbar\", \"featured\"],\n staticNavItems: [{ urlOrPageId: \"http://example.com/\", label: \"Other site\" }],\n },\n },\n {\n description:\n \"E-commerce store navbar with primary blue branding, medium shadow effect, and right-aligned cart/account links for online shopping sites\",\n type: \"navbar\",\n props: {\n brand: \"ShopEasy\",\n colorPreset: {\n color: \"primary-500\",\n },\n linksPosition: \"right\",\n linksTagsFilter: [\"main\", \"shop\"],\n shadow: \"shadow-md\",\n staticNavItems: [\n { urlOrPageId: \"cart\", label: \"Cart\" },\n { urlOrPageId: \"account\", label: \"Account\" },\n ],\n },\n },\n {\n description:\n \"Restaurant navbar with logo and hidden brand text, featuring secondary color scheme and left-aligned navigation with reservation booking and phone contact\",\n type: \"navbar\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/100x50.png?text=Bella+Vista\",\n alt: \"Bella Vista Restaurant logo\",\n },\n brand: \"Bella Vista\",\n hideBrand: true,\n linksPosition: \"left\",\n linksTagsFilter: [\"navbar\"],\n colorPreset: {\n color: \"secondary-200\",\n },\n staticNavItems: [\n { urlOrPageId: \"reservations\", label: \"Reservations\" },\n { urlOrPageId: \"tel:+1234567890\", label: \"Call Us\" },\n ],\n },\n },\n {\n description:\n \"Clean minimalist design navbar with neutral light background, centered navigation links, and subtle shadow for creative agencies and design studios\",\n type: \"navbar\",\n props: {\n brand: \"Minimal Studio\",\n colorPreset: {\n color: \"neutral-100\",\n },\n linksPosition: \"center\",\n linksTagsFilter: [\"main\"],\n shadow: \"shadow-sm\",\n },\n },\n {\n description:\n \"Creative portfolio navbar with dark neutral background, compact logo, and external social media links to showcase professional work and attract clients\",\n type: \"navbar\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/80x40.png?text=Portfolio\",\n alt: \"Creative Portfolio logo\",\n },\n brand: \"Creative Portfolio\",\n colorPreset: {\n color: \"neutral-900\",\n },\n linksPosition: \"right\",\n linksTagsFilter: [\"portfolio\", \"main\"],\n staticNavItems: [\n { urlOrPageId: \"https://dribbble.com/mywork\", label: \"Dribbble\" },\n { urlOrPageId: \"https://behance.net/mywork\", label: \"Behance\" },\n { urlOrPageId: \"contact\", label: \"Hire Me\" },\n ],\n },\n },\n {\n description:\n \"Digital marketing agency navbar with horizontal gradient background, large shadow, and external consultation booking integration for lead generation\",\n type: \"navbar\",\n props: {\n brand: \"Digital Agency\",\n colorPreset: {\n color: \"primary-600\",\n gradientDirection: \"bg-gradient-to-r\",\n },\n linksPosition: \"right\",\n linksTagsFilter: [\"services\", \"navbar\"],\n shadow: \"shadow-lg\",\n staticNavItems: [\n { urlOrPageId: \"https://calendar.com/book\", label: \"Book Consultation\" },\n { urlOrPageId: \"case-studies\", label: \"Case Studies\" },\n ],\n },\n },\n {\n description:\n \"SaaS application navbar with accent color scheme, company logo, and essential user authentication links for software platforms\",\n type: \"navbar\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/120x35.png?text=CloudApp\",\n alt: \"CloudApp SaaS logo\",\n },\n brand: \"CloudApp\",\n colorPreset: {\n color: \"accent-500\",\n },\n linksPosition: \"right\",\n linksTagsFilter: [\"features\", \"navbar\"],\n staticNavItems: [\n { urlOrPageId: \"pricing\", label: \"Pricing\" },\n { urlOrPageId: \"login\", label: \"Login\" },\n { urlOrPageId: \"signup\", label: \"Sign Up\" },\n ],\n },\n },\n {\n description:\n \"Nonprofit organization navbar with warm accent color, centered navigation, and donation call-to-action links for charitable foundations\",\n type: \"navbar\",\n props: {\n brand: \"Hope Foundation\",\n colorPreset: {\n color: \"accent-400\",\n },\n linksPosition: \"center\",\n linksTagsFilter: [\"about\", \"programs\"],\n shadow: \"shadow-md\",\n staticNavItems: [\n { urlOrPageId: \"donate\", label: \"Donate Now\" },\n { urlOrPageId: \"volunteer\", label: \"Volunteer\" },\n ],\n },\n },\n {\n description:\n \"Professional law firm navbar with dark authoritative styling, professional logo, and client consultation contact information for legal services\",\n type: \"navbar\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/110x45.png?text=LawFirm\",\n alt: \"Professional Law Firm logo\",\n },\n brand: \"Smith & Associates\",\n colorPreset: {\n color: \"neutral-800\",\n },\n linksPosition: \"right\",\n linksTagsFilter: [\"practice-areas\", \"navbar\"],\n staticNavItems: [\n { urlOrPageId: \"consultation\", label: \"Free Consultation\" },\n { urlOrPageId: \"tel:+1234567890\", label: \"(123) 456-7890\" },\n ],\n },\n },\n {\n description:\n \"Event management company navbar with bold primary red gradient background, left-aligned navigation, and ticket purchasing links for entertainment venues\",\n type: \"navbar\",\n props: {\n brand: \"Event Masters\",\n colorPreset: {\n color: \"primary-500\",\n gradientDirection: \"bg-gradient-to-br\",\n },\n linksPosition: \"left\",\n linksTagsFilter: [\"events\", \"upcoming\"],\n shadow: \"shadow-xl\",\n staticNavItems: [\n { urlOrPageId: \"tickets\", label: \"Buy Tickets\" },\n { urlOrPageId: \"venues\", label: \"Venues\" },\n ],\n },\n },\n {\n description:\n \"Fitness studio navbar with secondary purple color scheme, visible brand name alongside logo, and centered class booking navigation for health and wellness businesses\",\n type: \"navbar\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/90x50.png?text=FitStudio\",\n alt: \"Fitness Studio logo\",\n },\n brand: \"Peak Fitness\",\n hideBrand: false,\n colorPreset: {\n color: \"secondary-600\",\n },\n linksPosition: \"center\",\n linksTagsFilter: [\"classes\", \"membership\"],\n staticNavItems: [\n { urlOrPageId: \"book-class\", label: \"Book Class\" },\n { urlOrPageId: \"membership\", label: \"Join Now\" },\n { urlOrPageId: \"trainers\", label: \"Personal Training\" },\n ],\n },\n },\n];\n"],"mappings":";;uZAAA,OAAoC,QAAAA,MAAY,oBAQhD,OAAS,qBAAAC,MAAyB,kBAM3B,IAAMC,EAAWC,EAAoB,CAC1C,KAAM,SACN,KAAM,SACN,SAAU,SACV,YAAa,4CACb,eAAgB,uFAChB,cAAe,GACf,aAAc,GACd,UAAW,GACX,QAAS,GACT,cAAe,GACf,cAAe,YACf,aAAc,CAAE,OAAQ,MAAO,EAC/B,cAAe,CAAE,OAAQ,OAAQ,QAAS,MAAO,EACjD,KAAMC,EACN,cAAe,aACf,MAAOC,EACL,CACE,YAAaC,EAAK,SAChBC,EAAe,CACb,MAAO,QACP,QAAS,CAAE,MAAO,aAAc,EAChC,SAAU,CAAC,CAAE,MAAO,aAAc,EAAG,CAAE,MAAO,aAAc,EAAG,CAAE,MAAO,eAAgB,CAAC,CAC3F,CAAC,CACH,EACA,MAAOD,EAAK,SACVE,EAAe,CACb,MAAO,aACP,QAAS,YACT,cAAe,GACf,kBACE,mGACF,SAAU,CACR,SAAU,SACZ,EACA,SAAU,CAAC,YAAa,qBAAsB,WAAY,aAAa,CACzE,CAAC,CACH,EACA,KAAMF,EAAK,SACTG,EAAS,CACP,MAAO,OACP,qBAAsB,GACtB,uBAAwB,GACxB,gBAAiB,GACjB,iBAAkB,+BAClB,SAAU,CACR,SAAU,SACZ,EACA,YAAa,EACf,CAAC,CACH,EACA,UAAWH,EAAK,SACdI,EAAQ,kBAAmB,OAAW,CACpC,YAAa,GACb,SAAU,CACR,OAAQ,CAACC,EAAwBC,IACxB,CAAC,CAACA,EAAS,IAEtB,CACF,CAAC,CACH,EACA,gBAAiBN,EAAK,SACpBO,EAAQ,CACN,MAAO,aACP,YAAa,sFACb,QAAS,CAAC,QAAQ,EAClB,SAAU,CACR,SAAU,SACZ,EACA,SAAU,CAAC,CAAC,SAAU,MAAM,EAAG,CAAC,UAAU,EAAG,CAAC,iBAAkB,QAAQ,CAAC,CAC3E,CAAC,CACH,EACA,eAAgBP,EAAK,SACnBA,EAAK,MACHA,EAAK,OAAO,CACV,YAAaQ,EAAe,EAC5B,MAAOR,EAAK,SAASS,EAAO,OAAO,CAAC,CACtC,CAAC,EACD,CACE,MAAO,eACP,YAAa,2DACb,kBAAmB,2DACnB,QAAS,CAAC,EACV,SAAU,CACR,SAAU,SACZ,EACA,SAAU,CACR,CACE,CAAE,YAAa,sBAAuB,MAAO,YAAa,EAC1D,CAAE,YAAa,4BAA6B,MAAO,eAAgB,CACrE,EACA,CAAC,CAAE,YAAa,mCAAoC,MAAO,yBAA0B,CAAC,CACxF,CACF,CACF,CACF,EACA,cAAeT,EAAK,SAClBA,EAAK,MACH,CACEA,EAAK,QAAQ,OAAQ,CAAE,MAAO,MAAO,CAAC,EACtCA,EAAK,QAAQ,SAAU,CAAE,MAAO,QAAS,CAAC,EAC1CA,EAAK,QAAQ,QAAS,CAAE,MAAO,OAAQ,CAAC,CAC1C,EACA,CAAE,MAAO,iBAAkB,QAAS,QAAS,gBAAiB,SAAU,CAC1E,CACF,EACA,OAAQA,EAAK,SAASU,EAAU,CAAC,CACnC,EACA,CAAE,YAAa,GAAM,OAAQ,EAAK,CACpC,CACF,CAAC,EAKM,SAASC,GAAwB,CACtC,OAAOC,EAAYhB,EAAS,KAAK,CACnC,CAEO,IAAMiB,EAIP,CACJ,CACE,YACE,sIACF,KAAM,SACN,MAAO,CACL,KAAM,CACJ,IAAK,uDACL,IAAK,yBACP,EACA,cAAe,QACf,gBAAiB,CAAC,SAAU,UAAU,CACxC,CACF,EACA,CACE,YACE,8HACF,KAAM,SACN,MAAO,CACL,MAAO,qBACP,cAAe,SACf,gBAAiB,CAAC,SAAU,UAAU,EACtC,eAAgB,CAAC,CAAE,YAAa,sBAAuB,MAAO,YAAa,CAAC,CAC9E,CACF,EACA,CACE,YACE,2IACF,KAAM,SACN,MAAO,CACL,MAAO,WACP,YAAa,CACX,MAAO,aACT,EACA,cAAe,QACf,gBAAiB,CAAC,OAAQ,MAAM,EAChC,OAAQ,YACR,eAAgB,CACd,CAAE,YAAa,OAAQ,MAAO,MAAO,EACrC,CAAE,YAAa,UAAW,MAAO,SAAU,CAC7C,CACF,CACF,EACA,CACE,YACE,6JACF,KAAM,SACN,MAAO,CACL,KAAM,CACJ,IAAK,0DACL,IAAK,6BACP,EACA,MAAO,cACP,UAAW,GACX,cAAe,OACf,gBAAiB,CAAC,QAAQ,EAC1B,YAAa,CACX,MAAO,eACT,EACA,eAAgB,CACd,CAAE,YAAa,eAAgB,MAAO,cAAe,EACrD,CAAE,YAAa,kBAAmB,MAAO,SAAU,CACrD,CACF,CACF,EACA,CACE,YACE,sJACF,KAAM,SACN,MAAO,CACL,MAAO,iBACP,YAAa,CACX,MAAO,aACT,EACA,cAAe,SACf,gBAAiB,CAAC,MAAM,EACxB,OAAQ,WACV,CACF,EACA,CACE,YACE,0JACF,KAAM,SACN,MAAO,CACL,KAAM,CACJ,IAAK,uDACL,IAAK,yBACP,EACA,MAAO,qBACP,YAAa,CACX,MAAO,aACT,EACA,cAAe,QACf,gBAAiB,CAAC,YAAa,MAAM,EACrC,eAAgB,CACd,CAAE,YAAa,8BAA+B,MAAO,UAAW,EAChE,CAAE,YAAa,6BAA8B,MAAO,SAAU,EAC9D,CAAE,YAAa,UAAW,MAAO,SAAU,CAC7C,CACF,CACF,EACA,CACE,YACE,uJACF,KAAM,SACN,MAAO,CACL,MAAO,iBACP,YAAa,CACX,MAAO,cACP,kBAAmB,kBACrB,EACA,cAAe,QACf,gBAAiB,CAAC,WAAY,QAAQ,EACtC,OAAQ,YACR,eAAgB,CACd,CAAE,YAAa,4BAA6B,MAAO,mBAAoB,EACvE,CAAE,YAAa,eAAgB,MAAO,cAAe,CACvD,CACF,CACF,EACA,CACE,YACE,iIACF,KAAM,SACN,MAAO,CACL,KAAM,CACJ,IAAK,uDACL,IAAK,oBACP,EACA,MAAO,WACP,YAAa,CACX,MAAO,YACT,EACA,cAAe,QACf,gBAAiB,CAAC,WAAY,QAAQ,EACtC,eAAgB,CACd,CAAE,YAAa,UAAW,MAAO,SAAU,EAC3C,CAAE,YAAa,QAAS,MAAO,OAAQ,EACvC,CAAE,YAAa,SAAU,MAAO,SAAU,CAC5C,CACF,CACF,EACA,CACE,YACE,0IACF,KAAM,SACN,MAAO,CACL,MAAO,kBACP,YAAa,CACX,MAAO,YACT,EACA,cAAe,SACf,gBAAiB,CAAC,QAAS,UAAU,EACrC,OAAQ,YACR,eAAgB,CACd,CAAE,YAAa,SAAU,MAAO,YAAa,EAC7C,CAAE,YAAa,YAAa,MAAO,WAAY,CACjD,CACF,CACF,EACA,CACE,YACE,kJACF,KAAM,SACN,MAAO,CACL,KAAM,CACJ,IAAK,sDACL,IAAK,4BACP,EACA,MAAO,qBACP,YAAa,CACX,MAAO,aACT,EACA,cAAe,QACf,gBAAiB,CAAC,iBAAkB,QAAQ,EAC5C,eAAgB,CACd,CAAE,YAAa,eAAgB,MAAO,mBAAoB,EAC1D,CAAE,YAAa,kBAAmB,MAAO,gBAAiB,CAC5D,CACF,CACF,EACA,CACE,YACE,2JACF,KAAM,SACN,MAAO,CACL,MAAO,gBACP,YAAa,CACX,MAAO,cACP,kBAAmB,mBACrB,EACA,cAAe,OACf,gBAAiB,CAAC,SAAU,UAAU,EACtC,OAAQ,YACR,eAAgB,CACd,CAAE,YAAa,UAAW,MAAO,aAAc,EAC/C,CAAE,YAAa,SAAU,MAAO,QAAS,CAC3C,CACF,CACF,EACA,CACE,YACE,wKACF,KAAM,SACN,MAAO,CACL,KAAM,CACJ,IAAK,uDACL,IAAK,qBACP,EACA,MAAO,eACP,UAAW,GACX,YAAa,CACX,MAAO,eACT,EACA,cAAe,SACf,gBAAiB,CAAC,UAAW,YAAY,EACzC,eAAgB,CACd,CAAE,YAAa,aAAc,MAAO,YAAa,EACjD,CAAE,YAAa,aAAc,MAAO,UAAW,EAC/C,CAAE,YAAa,WAAY,MAAO,mBAAoB,CACxD,CACF,CACF,CACF","names":["Type","VscLayoutPanelOff","manifest","defineBrickManifest","VscLayoutPanelOff","defineProps","Type","colorPresetRef","textContentRef","imageRef","boolean","manifestProps","formData","tagsRef","urlOrPageIdRef","string","shadowRef","getNavbarSchemaForLLM","toLLMSchema","examples"]}
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{Type as t}from"@sinclair/typebox";var n=t.Object({id:t.String(),username:t.String(),acct:t.String(),url:t.String(),display_name:t.Optional(t.String()),note:t.String(),avatar:t.String(),avatar_static:t.String(),header:t.String(),header_static:t.String(),locked:t.Boolean(),fields:t.Array(t.Object({name:t.String(),value:t.String(),verified_at:t.Optional(t.String())})),emojis:t.Array(t.Object({shortcode:t.String(),url:t.String(),static_url:t.String(),visible_in_picker:t.Boolean(),category:t.Optional(t.String())})),bot:t.Boolean(),group:t.Boolean(),discoverable:t.Union([t.Boolean(),t.Null()]),noindex:t.Optional(t.Boolean()),moved:t.Optional(t.String()),suspended:t.Optional(t.Boolean()),limited:t.Optional(t.Boolean()),created_at:t.String(),last_status_at:t.Optional(t.String()),statuses_count:t.Number(),followers_count:t.Number(),following_count:t.Number()});export{n as a};
4
- //# sourceMappingURL=chunk-VEDQV5XO.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{f as o}from"./chunk-SWLUQVK7.js";import{c as i}from"./chunk-OHNYCXPX.js";import{a as t}from"./chunk-KFM6KXSE.js";import{Type as e}from"@sinclair/typebox";function a(){return e.Object({desktop:e.Optional(e.Boolean()),mobile:e.Optional(e.Boolean())},{title:"Hidden",description:"Used to hide the brick on desktop or mobile.","ui:field":"hidden"})}var n={lastTouched:e.Optional(e.Number({"ui:field":"hidden","ai:hidden":!0})),hidden:e.Optional(t("styles:hidden")),editable:e.Optional(e.Boolean({"ui:field":"hidden","ai:hidden":!0})),width:e.Optional(i({title:"Fixed Width",description:"Set a fixed width for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","ai:instructions":"Use percentage values to make the width responsive, like '50%'","ui:field":"hidden"})),height:e.Optional(i({title:"Fixed height",description:"Set a fixed height for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","ui:field":"hidden"})),grow:e.Optional(e.Boolean({title:"Auto expand",description:"If set, the brick will grow to fill the available space of its parent section or box.","ui:styleId":"styles:grow","ui:responsive":!0})),alignSelf:e.Optional(o())},p=e.Object(n);export{a,n as b};
4
- //# sourceMappingURL=chunk-W33JMRRN.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as m}from"./chunk-3YVJ2ELD.js";import{a as n}from"./chunk-RJYZ5FAR.js";import{m as d}from"./chunk-AFVJZPLS.js";import{b as s}from"./chunk-CCI4C3TM.js";import{a as o}from"./chunk-A3GF4PYW.js";import{b as i}from"./chunk-4BTB3MU2.js";import{b as r,d as t}from"./chunk-ZTZJHY4E.js";import{c as p}from"./chunk-CZRCW5EN.js";import{c as a}from"./chunk-OHNYCXPX.js";import{RxImage as l}from"react-icons/rx";import{Type as e}from"@sinclair/typebox";var I=n({type:"image",name:"Image",category:"media",description:"An image brick",aiInstructions:"An image brick that can display an image with optional styling such as padding, border radius, and shadow. It supports giving credit to the image author and specifying the image provider.",defaultWidth:{desktop:"auto",mobile:"100%"},icon:l,props:m({image:s({metadata:{category:"content"}}),colorPreset:e.Optional(p()),padding:e.Optional(a({description:"Padding inside the image.",title:"Padding","ai:instructions":"Use only a single value like '1rem' or '10px'","ui:responsive":!0,"ui:placeholder":"Not specified","ui:styleId":"styles:padding"})),rounding:e.Optional(t({default:"rounded-md"})),border:e.Optional(r()),shadow:e.Optional(i()),blurHash:e.Optional(o("Blur Hash",{"ui:field":"hidden",description:"A placeholder for the image while it is loading. Use a blur hash string."})),author:e.Optional(e.Object({name:o("Image Author",{description:"Image author. Use this to give credit to the author"}),url:o("Image Author URL",{description:"Image author URL. Use this to give credit to the author"})},{"ui:field":"hidden"})),provider:e.Optional(o("Image Provider",{"ui:field":"hidden","ai:instructions":"The provider of the image, e.g. 'unsplash', 'pexels', etc."})),loop:e.Optional(d())})}),R=[{description:"Hero landscape image with large 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, full rounded",type:"image",props:{image:{src:"https://via.placeholder.com/300x300.png?text=Profile+Photo",alt:"Team member profile photo"},shadow:"shadow-md",rounding:"rounded-full"}},{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 with medium shadow and full author info",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:"Logo image with padding and small shadow",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 with large shadow and small padding",type:"image",props:{image:{src:"https://via.placeholder.com/120x120.png?text=Customer",alt:"Happy customer testimonial photo"},shadow:"shadow-lg",padding:"p-2"}},{description:"Event banner image with neutral-500 background",type:"image",props:{colorPreset:{color:"neutral-500"},image:{src:"https://via.placeholder.com/800x200.png?text=Event+Banner",alt:"Annual conference event banner"},shadow:"shadow-xl",author:{name:"Event Photographer",url:"https://example.com/photographer"},provider:"pexels"}},{description:"Illustration with background and padding",type:"image",props:{image:{src:"https://via.placeholder.com/150x150.png?text=Blabla+Feature",alt:"Feature illustration"},padding:"p-8",shadow:"shadow-sm"}},{description:"Image with blurHash",type:"image",props:{image:{src:"https://via.placeholder.com/300x200.png?text=Card+Image",alt:"My image"},shadow:"shadow-md",blurHash:"L6PZfSi_.AyE_3t7t7R**0o#DgR4"}},{description:"Dynamic employee photo using employee query",type:"image",props:{image:{src:"{{employee.photo}}",alt:"Photo of {{employee.fullName}}"},rounding:"rounded-full",shadow:"shadow-lg",padding:"1rem"}},{description:"Dynamic product image using product query with author attribution",type:"image",props:{image:{src:"{{product.featuredImage}}",alt:"{{product.name}} - {{product.category}}"},author:{name:"{{product.photographer}}",url:"{{product.photographerUrl}}"},provider:"company-assets",shadow:"shadow-md",rounding:"rounded-lg"}},{description:"Dynamic company logo using company query",type:"image",props:{image:{src:"{{company.logo}}",alt:"{{company.name}} logo"},padding:"2rem",shadow:"shadow-sm",colorPreset:{color:"neutral-100"}}},{description:"Dynamic event banner using event query",type:"image",props:{image:{src:"{{event.bannerImage}}",alt:"{{event.title}} event banner"},shadow:"shadow-xl",rounding:"rounded-xl",author:{name:"{{event.photographer}}",url:"{{event.photographerProfile}}"},provider:"event-photography"}},{description:"Dynamic article featured image using article query",type:"image",props:{image:{src:"{{article.featuredImage}}",alt:"Featured image for {{article.title}}"},author:{name:"{{article.imageCredit}}",url:"{{article.imageCreditUrl}}"},provider:"{{article.imageProvider}}",shadow:"shadow-md",rounding:"rounded-lg"}},{description:"Dynamic property photo using property query",type:"image",props:{image:{src:"{{property.mainPhoto}}",alt:"{{property.address}} - {{property.propertyType}}"},shadow:"shadow-lg",rounding:"rounded-xl",colorPreset:{color:"primary-50"},padding:"1rem"}},{description:"Dynamic portfolio piece using portfolio query",type:"image",props:{image:{src:"{{portfolio.imageUrl}}",alt:"{{portfolio.projectName}} for {{portfolio.clientName}}"},author:{name:"{{portfolio.photographer}}",url:"{{portfolio.photographerWebsite}}"},provider:"portfolio-assets",shadow:"shadow-md",rounding:"rounded-lg",padding:"0.5rem"}},{description:"Dynamic service illustration using service query",type:"image",props:{image:{src:"{{service.illustration}}",alt:"{{service.name}} service illustration"},colorPreset:{color:"secondary-100"},padding:"2rem",shadow:"shadow-sm",rounding:"rounded-full"}},{description:"Dynamic testimonial customer photo using testimonial query",type:"image",props:{image:{src:"{{testimonial.customerPhoto}}",alt:"{{testimonial.customerName}} from {{testimonial.company}}"},rounding:"rounded-full",shadow:"shadow-lg",padding:"0.25rem",colorPreset:{color:"accent-50"}}},{description:"Product gallery using products query with loop",type:"image",props:{image:{src:"{{products.mainImage}}",alt:"{{products.name}} - {{products.category}}"},author:{name:"{{products.photographer}}",url:"{{products.photographerUrl}}"},provider:"product-catalog",shadow:"shadow-md",rounding:"rounded-lg",padding:"0.5rem",colorPreset:{color:"primary-50"},loop:{over:"products"}}},{description:"Team member photos using teamMembers query with loop",type:"image",props:{image:{src:"{{teamMembers.profilePhoto}}",alt:"{{teamMembers.fullName}} - {{teamMembers.position}}"},rounding:"rounded-full",shadow:"shadow-lg",padding:"0.75rem",colorPreset:{color:"secondary-100"},loop:{over:"teamMembers"}}}];export{I as a,R as b};
4
- //# sourceMappingURL=chunk-WBZW5LVH.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as t}from"./chunk-KLD3P5XH.js";import{Type as e}from"@sinclair/typebox";var a=o=>e.Object({siteId:e.String(),siteDatasourceId:e.String(),config:o,oauthTokenExpireAt:t,oauthRefreshTokenExpireAt:e.Optional(t),nextRefreshTokenAt:e.Optional(t)});export{a};
4
- //# sourceMappingURL=chunk-WHTPGWUV.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as n}from"./chunk-3YVJ2ELD.js";import{a as s}from"./chunk-RJYZ5FAR.js";import{m as p}from"./chunk-AFVJZPLS.js";import{b as l}from"./chunk-CCI4C3TM.js";import{a}from"./chunk-A3GF4PYW.js";import{b as t,d as r}from"./chunk-ZTZJHY4E.js";import{c as i}from"./chunk-CZRCW5EN.js";import{c as o}from"./chunk-OHNYCXPX.js";import{Type as e}from"@sinclair/typebox";import{IoGridOutline as c}from"react-icons/io5";var w=s({type:"images-gallery",name:"Gallery",category:"media",description:"Displays an images collection.",aiInstructions:"This brick should mostly be used for image galleries. Prefer using card bricks for product showcases, articles lists with images, or other collections.",consumesMultipleQueryRows:!0,defaultInspectorTab:"content",isContainer:!1,minHeight:{desktop:200},minWidth:{desktop:300},defaultWidth:{desktop:"400px",mobile:"100%"},icon:c,props:n({colorPreset:e.Optional(i({title:"Color"})),loop:e.Optional(p()),images:e.Array(e.Object({image:l({"ui:responsive":"desktop","ui:no-alt-text":!0,"ui:no-object-options":!0,"ui:placeholder":"https://example.com/image.jpg"}),legend:e.Optional(a("Legend"))}),{title:"Images",default:[],maxItems:12,metadata:{category:"content",consumeQuery:!0},examples:[{image:{src:"https://via.placeholder.com/300x200.png?text=Image+1"},legend:"Image 1"},{image:{src:"https://via.placeholder.com/300x200.png?text=Image+2"},legend:"Image 2"},{image:{src:"https://via.placeholder.com/300x200.png?text=Image+3"},legend:"Image 3"}]}),columns:e.Optional(e.Number({title:"Columns",description:"Number of columns. Only applies to desktop screens. On mobile, it will always display 1 column.",minimum:1,maximum:6,default:3,"ui:field":"slider","ui:responsive":"desktop"})),gap:e.Optional(o({title:"Gap",description:"The gap between the images.",default:"1rem","ui:styleId":"styles:gap"})),padding:e.Optional(o({default:"3rem",description:"Padding inside the gallery.","ai:instructions":"Use only a single value like '1rem' or '10px'",title:"Padding","ui:responsive":!0,"ui:placeholder":"Not specified","ui:styleId":"styles:padding"})),rounding:e.Optional(r()),border:e.Optional(t())})}),P=[{description:"Product portfolio gallery (3-column grid)",type:"images-gallery",props:{columns:3,gap:"2.5rem",padding:"p-4",images:[{image:{src:"https://via.placeholder.com/400x400.png?text=Product+1"},legend:"Premium wireless headphones"},{image:{src:"https://via.placeholder.com/400x400.png?text=Product+2"},legend:"Bluetooth speaker"},{image:{src:"https://via.placeholder.com/400x400.png?text=Product+3"},legend:"Smart fitness tracker"},{image:{src:"https://via.placeholder.com/400x400.png?text=Product+4"},legend:"Wireless charging pad"}]}},{description:"Team photos gallery (4-column grid), light neutral background",type:"images-gallery",props:{columns:4,gap:"1rem",padding:"p-6",images:[{image:{src:"https://via.placeholder.com/300x300.png?text=CEO"},legend:"Sarah Johnson - Chief Executive Officer"},{image:{src:"https://via.placeholder.com/300x300.png?text=CTO"},legend:"Mike Chen - Chief Technology Officer"},{image:{src:"https://via.placeholder.com/300x300.png?text=Design"},legend:"Emily Rodriguez - Head of Design"},{image:{src:"https://via.placeholder.com/300x300.png?text=Marketing"},legend:"David Park - Marketing Director"},{image:{src:"https://via.placeholder.com/300x300.png?text=Sales"},legend:"Lisa Wong - Sales Manager"},{image:{src:"https://via.placeholder.com/300x300.png?text=Support"},legend:"Alex Thompson - Customer Support Lead"},{image:{src:"https://via.placeholder.com/300x300.png?text=Dev"},legend:"Carlos Martinez - Senior Developer"},{image:{src:"https://via.placeholder.com/300x300.png?text=HR"},legend:"Jennifer Adams - HR Specialist"}],colorPreset:{color:"neutral-100"}}},{description:"Project showcase (2-column grid with larger spacing)",type:"images-gallery",props:{columns:2,gap:"1rem",padding:"p-6",images:[{image:{src:"https://via.placeholder.com/600x400.png?text=Website+Redesign"},legend:"Modern e-commerce website redesign project"},{image:{src:"https://via.placeholder.com/600x400.png?text=Mobile+App"},legend:"iOS and Android mobile application"},{image:{src:"https://via.placeholder.com/600x400.png?text=Brand+Identity"},legend:"Complete brand identity design package"},{image:{src:"https://via.placeholder.com/600x400.png?text=Dashboard+UI"},legend:"Analytics dashboard user interface"}]}},{description:"Event photos gallery with tight spacing and minimal padding",type:"images-gallery",props:{columns:4,gap:"1rem",padding:"p-6",images:[{image:{src:"https://via.placeholder.com/250x180.png?text=Opening"},legend:"Conference opening ceremony"},{image:{src:"https://via.placeholder.com/250x180.png?text=Keynote"},legend:"Keynote presentation"},{image:{src:"https://via.placeholder.com/250x180.png?text=Workshop"},legend:"Technical workshop session"},{image:{src:"https://via.placeholder.com/250x180.png?text=Networking"},legend:"Networking lunch break"},{image:{src:"https://via.placeholder.com/250x180.png?text=Panel"},legend:"Expert panel discussion"},{image:{src:"https://via.placeholder.com/250x180.png?text=Awards"},legend:"Awards ceremony"}]}},{description:"Photography portfolio with single column layout and primary background",type:"images-gallery",props:{columns:1,gap:"3rem",padding:"4rem",colorPreset:{color:"primary-50"},rounding:"rounded-lg",images:[{image:{src:"https://via.placeholder.com/800x600.png?text=Landscape+1"},legend:"Mountain sunrise landscape photography"},{image:{src:"https://via.placeholder.com/800x600.png?text=Portrait+1"},legend:"Professional business portrait session"},{image:{src:"https://via.placeholder.com/800x600.png?text=Architecture+1"},legend:"Modern architectural photography"}]}},{description:"Real estate property gallery with secondary colors and borders",type:"images-gallery",props:{columns:3,gap:"1.5rem",padding:"2rem",colorPreset:{color:"secondary-100"},border:{width:"border",color:"border-secondary-300"},rounding:"rounded-xl",images:[{image:{src:"https://via.placeholder.com/400x300.png?text=Living+Room"},legend:"Spacious living room with natural light"},{image:{src:"https://via.placeholder.com/400x300.png?text=Kitchen"},legend:"Modern kitchen with granite countertops"},{image:{src:"https://via.placeholder.com/400x300.png?text=Master+Bedroom"},legend:"Master bedroom with walk-in closet"},{image:{src:"https://via.placeholder.com/400x300.png?text=Bathroom"},legend:"Luxury bathroom with marble finishes"},{image:{src:"https://via.placeholder.com/400x300.png?text=Backyard"},legend:"Private backyard with pool"},{image:{src:"https://via.placeholder.com/400x300.png?text=Garage"},legend:"Two-car garage with storage"}]}},{description:"Restaurant food gallery with 5-column grid and accent colors",type:"images-gallery",props:{columns:5,gap:"0.75rem",padding:"1.5rem",colorPreset:{color:"accent-200"},rounding:"rounded-md",images:[{image:{src:"https://via.placeholder.com/300x300.png?text=Appetizer"},legend:"Bruschetta with fresh tomatoes"},{image:{src:"https://via.placeholder.com/300x300.png?text=Soup"},legend:"Creamy mushroom bisque"},{image:{src:"https://via.placeholder.com/300x300.png?text=Salad"},legend:"Mediterranean quinoa salad"},{image:{src:"https://via.placeholder.com/300x300.png?text=Main+Course"},legend:"Grilled salmon with herbs"},{image:{src:"https://via.placeholder.com/300x300.png?text=Dessert"},legend:"Chocolate lava cake"},{image:{src:"https://via.placeholder.com/300x300.png?text=Beverage"},legend:"Artisan coffee selection"},{image:{src:"https://via.placeholder.com/300x300.png?text=Pasta"},legend:"Homemade fettuccine alfredo"},{image:{src:"https://via.placeholder.com/300x300.png?text=Pizza"},legend:"Wood-fired margherita pizza"}]}},{description:"Art gallery exhibition with 6-column grid and minimal styling",type:"images-gallery",props:{columns:6,gap:"0.5rem",padding:"1rem",images:[{image:{src:"https://via.placeholder.com/200x250.png?text=Abstract+1"},legend:"Abstract composition #1"},{image:{src:"https://via.placeholder.com/200x250.png?text=Portrait+Art"},legend:"Contemporary portrait"},{image:{src:"https://via.placeholder.com/200x250.png?text=Landscape+Art"},legend:"Impressionist landscape"},{image:{src:"https://via.placeholder.com/200x250.png?text=Still+Life"},legend:"Modern still life"},{image:{src:"https://via.placeholder.com/200x250.png?text=Sculpture"},legend:"Bronze sculpture piece"},{image:{src:"https://via.placeholder.com/200x250.png?text=Digital+Art"},legend:"Digital artwork collection"},{image:{src:"https://via.placeholder.com/200x250.png?text=Mixed+Media"},legend:"Mixed media installation"},{image:{src:"https://via.placeholder.com/200x250.png?text=Photography"},legend:"Fine art photography"},{image:{src:"https://via.placeholder.com/200x250.png?text=Watercolor"},legend:"Watercolor painting"}]}},{description:"Fashion lookbook with 2-column layout and neutral dark theme",type:"images-gallery",props:{columns:2,gap:"2rem",padding:"3rem",colorPreset:{color:"neutral-800"},border:{width:"border-2",color:"border-neutral-600"},rounding:"rounded-2xl",images:[{image:{src:"https://via.placeholder.com/400x600.png?text=Spring+Look"},legend:"Spring casual collection 2024"},{image:{src:"https://via.placeholder.com/400x600.png?text=Summer+Look"},legend:"Summer evening wear"},{image:{src:"https://via.placeholder.com/400x600.png?text=Business+Look"},legend:"Professional business attire"},{image:{src:"https://via.placeholder.com/400x600.png?text=Weekend+Look"},legend:"Weekend comfort style"},{image:{src:"https://via.placeholder.com/400x600.png?text=Formal+Look"},legend:"Formal evening collection"},{image:{src:"https://via.placeholder.com/400x600.png?text=Street+Style"},legend:"Urban street fashion"}]}},{description:"Travel destinations gallery with 3-column grid and no legends",type:"images-gallery",props:{columns:3,gap:"1.25rem",padding:"2.5rem",colorPreset:{color:"primary-100"},rounding:"rounded-lg",border:{width:"border",color:"border-primary-200"},images:[{image:{src:"https://via.placeholder.com/350x250.png?text=Paris"}},{image:{src:"https://via.placeholder.com/350x250.png?text=Tokyo"}},{image:{src:"https://via.placeholder.com/350x250.png?text=New+York"}},{image:{src:"https://via.placeholder.com/350x250.png?text=London"}},{image:{src:"https://via.placeholder.com/350x250.png?text=Rome"}},{image:{src:"https://via.placeholder.com/350x250.png?text=Barcelona"}}]}},{description:"Technical equipment gallery with 4-column grid and accent styling",type:"images-gallery",props:{columns:4,gap:"1rem",padding:"2rem",colorPreset:{color:"accent-100"},border:{width:"border-4",color:"border-accent-400"},rounding:"rounded-xl",images:[{image:{src:"https://via.placeholder.com/300x300.png?text=Camera"},legend:"Professional DSLR camera"},{image:{src:"https://via.placeholder.com/300x300.png?text=Laptop"},legend:"High-performance laptop"},{image:{src:"https://via.placeholder.com/300x300.png?text=Microphone"},legend:"Studio recording microphone"},{image:{src:"https://via.placeholder.com/300x300.png?text=Monitor"},legend:"4K professional monitor"},{image:{src:"https://via.placeholder.com/300x300.png?text=Tablet"},legend:"Digital drawing tablet"},{image:{src:"https://via.placeholder.com/300x300.png?text=Speakers"},legend:"Studio monitor speakers"},{image:{src:"https://via.placeholder.com/300x300.png?text=Keyboard"},legend:"Mechanical keyboard"},{image:{src:"https://via.placeholder.com/300x300.png?text=Mouse"},legend:"Precision gaming mouse"}]}},{description:"Minimal product showcase with large gaps and no padding",type:"images-gallery",props:{columns:3,gap:"4rem",padding:"0rem",images:[{image:{src:"https://via.placeholder.com/400x400.png?text=Watch"},legend:"Luxury Swiss timepiece"},{image:{src:"https://via.placeholder.com/400x400.png?text=Jewelry"},legend:"Handcrafted gold necklace"},{image:{src:"https://via.placeholder.com/400x400.png?text=Sunglasses"},legend:"Designer sunglasses collection"}]}},{description:"Dynamic product gallery using products query with loop",type:"images-gallery",props:{columns:4,gap:"1.5rem",padding:"2rem",colorPreset:{color:"primary-50"},rounding:"rounded-lg",border:{width:"border",color:"border-primary-200"},images:[{image:{src:"{{products.image}}"},legend:"{{products.name}} - ${{products.price}}"}],loop:{over:"products"}}},{description:"Portfolio showcase using portfolioProjects query with loop",type:"images-gallery",props:{columns:3,gap:"2rem",padding:"3rem",colorPreset:{color:"secondary-100"},rounding:"rounded-xl",images:[{image:{src:"{{portfolioProjects.thumbnail}}"},legend:"{{portfolioProjects.projectName}} - {{portfolioProjects.clientName}} ({{portfolioProjects.year}})"}],loop:{over:"portfolioProjects"}}},{description:"Event photo gallery using eventPhotos query with loop",type:"images-gallery",props:{columns:5,gap:"1rem",padding:"1.5rem",colorPreset:{color:"accent-50"},border:{width:"border-2",color:"border-accent-300"},rounding:"rounded-md",images:[{image:{src:"{{eventPhotos.imageUrl}}"},legend:"{{eventPhotos.caption}} - {{eventPhotos.eventDate}}"}],loop:{over:"eventPhotos"}}},{description:"Team member gallery using teamMembers query with loop",type:"images-gallery",props:{columns:6,gap:"0.75rem",padding:"2.5rem",colorPreset:{color:"neutral-100"},rounding:"rounded-lg",border:{width:"border",color:"border-neutral-300"},images:[{image:{src:"{{teamMembers.profilePhoto}}"},legend:"{{teamMembers.fullName}} - {{teamMembers.position}}"}],loop:{over:"teamMembers"}}}];export{w as a,P as b};
4
- //# sourceMappingURL=chunk-WYVJE6J5.js.map
@@ -1,9 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a}from"./chunk-OGBMYMZD.js";import{a as t}from"./chunk-AFVJZPLS.js";import{a as i}from"./chunk-JMN3HTZU.js";import{Type as e}from"@sinclair/typebox";var n=e.Pick(a,["id","label","path","attributes"]),r=e.Array(e.Object({id:e.String({title:"Section ID",examples:["header-section","hero-section","features-section"],format:"slug"}),name:e.String({title:"Section name",examples:["Header","Hero","Features"]}),description:e.String({title:"A long description of the section",description:`You must elaborate a clear and detailled plan that describes:
4
- - The section purpose in the page, in detail.
5
- - The section structure, look & feel, and structural/design organization, in detail
6
- - the types of bricks (e.g. "container", "text", "video", "carousel", etc) that will be used and their purpose, in detail
7
-
8
- IMPORTANT: be very descriptive and precise in your plan. The more details you provide, the better the generated page will be.`,examples:["This section contains a `hero` and a call-to-action `button`. All of theme aligned horizontally. The section should market a coffee shop.","This section should contain a `hero` text and an `image`."]})},{additionalProperties:!1}),{title:"Sections plan",description:"A plan for the sections of the page. Used to generate the page content.",examples:[[{id:"header-section",name:"Header",description:"This section only contains a header brick"},{id:"hero-section",name:"Hero",description:"This is the hero section of the page. It should display a marketing message using a hero brick, as well as a button (CTA). The section should center bricks horizontally."}]]}),o=e.Composite([n,e.Object({status:e.Optional(i(["draft","published"],{title:"Page status",enumNames:["Draft","Published"],default:"draft","ai:hidden":!0,description:"The status of the page. Can be draft or published. [AI instructions: Dont generate this.]","ai:instructions":"Upsie: Never generate this optional field."}))})],{description:"Pages map. The complete list of site pages & their metadata",additionalProperties:!1}),s=e.Array(o);function h(){return t(e.Array(e.Composite([o,e.Object({sectionsPlan:r})])))}function m(){return t(s)}export{n as a,r as b,o as c,s as d,h as e,m as f};
9
- //# sourceMappingURL=chunk-ZA3GAB4H.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- var n=class{accessToken;constructor(e){this.accessToken=e}async callDriveApi(e,i="GET",a){let o=a instanceof ArrayBuffer||a instanceof Uint8Array,r={Authorization:`Bearer ${this.accessToken}`};o?r["Content-Type"]="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":r["Content-Type"]="application/json";let s=await fetch(e,{method:i,headers:r,body:o?a:a?JSON.stringify(a):void 0});if(e.includes("export")&&e.includes("mimeType=text/csv")){let t=await s.text();return{success:s.ok,data:t,status:s.status,headers:s.headers}}if(e.includes("export")&&e.includes("mimeType=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")){let t=await s.arrayBuffer();return{success:s.ok,data:t,status:s.status,headers:s.headers}}if(e.includes("upload/")&&s.ok)try{let t=await s.json();return{success:s.ok,data:t,status:s.status,headers:s.headers}}catch{return{success:!0,data:{message:"Upload successful"},status:s.status,headers:s.headers}}if(!s.ok&&s.headers.get("content-type")?.includes("text/html"))return{success:!1,data:{error:"HTML error response",details:(await s.text()).substring(0,200)},status:s.status,headers:s.headers};let u=await s.json();return{success:s.ok,data:u,status:s.status,headers:s.headers}}};function d(c){return new n(c)}export{d as a};
4
- //# sourceMappingURL=chunk-ZFCUSWMT.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as r}from"./chunk-GPEMPZXK.js";import{b as i}from"./chunk-GLS7HPIZ.js";import{a}from"./chunk-IUXCWWGO.js";import{Type as e}from"@sinclair/typebox";var f=e.Union([e.Literal("airtable"),e.Literal("google-sheets"),e.Literal("notion"),e.Literal("internal")]),o=e.Object({provider:e.Literal("internal"),schema:e.Any({title:"Schema",description:"JSON Schema of the datarecord. Always of type 'object' and representing a row that will be saved in the database.",examples:[{type:"object",properties:{firstname:{type:"string",title:"Firstname"},lastname:{type:"string",title:"Lastname"},email:{type:"string",format:"email",title:"Email"}},required:["email"],title:"Newsletter Subscription"}]}),indexes:e.Array(e.Object({name:e.String({title:"Index name"}),fields:e.Array(e.String(),{title:"Fields to index"}),unique:e.Optional(e.Boolean({title:"Unique index",default:!1}))},{examples:[{name:"unique_email_index",fields:["email"],unique:!0},{name:"lastname_index",fields:["lastname"]}]}),{title:"Indexes",description:"IMPORTANT: Indexes to create on the datarecord. use it to enforce uniqueness or improve query performance."})},{examples:[{provider:"internal",schema:{type:"object",properties:{firstname:{type:"string",title:"Firstname"},lastname:{type:"string",title:"Lastname"},email:{type:"string",format:"email",title:"Email"}},required:["email"],title:"Newsletter Subscription"},indexes:[{name:"email_index",fields:["email"],unique:!0}]}]}),t=e.Object({schema:e.Any({title:"Schema",description:"JSON Schema of the datarecord. Always of type 'object' and representing a row that will be saved.",examples:[{type:"object",properties:{firstname:{type:"string",title:"Firstname"},lastname:{type:"string",title:"Lastname"},email:{type:"string",format:"email",title:"Email"}},required:["email"],title:"Newsletter Subscription"}]})}),s=e.Union([e.Composite([e.Object({provider:e.Literal("airtable"),options:i}),t]),e.Composite([e.Object({provider:e.Literal("google-sheets"),options:r}),t]),e.Composite([e.Object({provider:e.Literal("notion"),options:a}),t]),o]),n=e.Object({id:e.String({title:"Datarecord ID",comment:"A unique identifier for the datarecord, e.g., 'newsletter_subscriptions'"}),label:e.String({title:"Name of the datarecord",comment:"For example, 'Newsletter Subscriptions'"}),description:e.Optional(e.String({title:"Description of the datarecord"}))}),l=e.Composite([s,n]),y=e.Composite([n,o]),u=e.Array(l);export{f as a,s as b,y as c,u as d};
4
- //# sourceMappingURL=chunk-ZQPXQCY2.js.map
@@ -1,4 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{d as t}from"./chunk-NM5MMPCF.js";import{a as o}from"./chunk-KFM6KXSE.js";import{a as e}from"./chunk-JMN3HTZU.js";import{Type as d}from"@sinclair/typebox";function p(r={}){return d.Object({width:e(["border-0","border","border-2","border-4","border-8"],{title:"Width",enumNames:["None","Small","Medium","Large","Extra large"],"ai:instructions":"Don't specify width if you want no border.","ui:field":"enum","ui:display":"select","ui:placeholder":"None",default:"border-0"}),color:t({title:"Color",description:"The color of the border.",default:"border-current"})},{title:"Border","ui:styleId":"styles:border",description:"Set the border width and color.","ui:field":"border","ui:responsive":!0,examples:[{width:"border-2",color:"border-primary-200"},{width:"border-4",color:"border-accent-400"},{width:"border",color:"border-neutral-100"}],...r})}function s(r={}){return o("styles:border",r)}function a(r={}){return d.Optional(e(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-full"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","Full"],"ui:styleId":"styles:rounding","ui:responsive":"desktop",...r}))}function b(r={}){return o("styles:rounding",r)}export{p as a,s as b,a as c,b as d};
4
- //# sourceMappingURL=chunk-ZTZJHY4E.js.map
@@ -1,38 +0,0 @@
1
- import { type SchemaOptions, Type } from "@sinclair/typebox";
2
-
3
- type EnumOption = {
4
- title?: string;
5
- description?: string;
6
- value: string;
7
- icon?: string;
8
- };
9
-
10
- export function enumProp(
11
- title: string,
12
- defaultValue: string,
13
- opts: Omit<SchemaOptions, "title" | "default"> & {
14
- options: EnumOption[] | string[];
15
- displayAs?: "radio" | "select" | "button-group" | "icon-group";
16
- },
17
- ) {
18
- const defaultOpts = {
19
- "ui:field": "enum",
20
- "ui:display": opts.displayAs || "select",
21
- };
22
- const { options, displayAs, ...commonOpts } = opts;
23
-
24
- return Type.Union(
25
- options.map((opt) =>
26
- Type.Literal(typeof opt === "string" ? opt : opt.value, {
27
- title: typeof opt === "string" ? opt : opt.title,
28
- "ui:icon": typeof opt === "string" ? undefined : opt.icon,
29
- }),
30
- ),
31
- {
32
- title,
33
- default: defaultValue,
34
- ...defaultOpts,
35
- ...commonOpts,
36
- },
37
- );
38
- }