@upstart.gg/sdk 0.0.129 → 0.0.131

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 (529) hide show
  1. package/dist/shared/ai/schemas.d.ts +13 -0
  2. package/dist/shared/ai/schemas.d.ts.map +1 -0
  3. package/dist/shared/ai/schemas.js +3 -0
  4. package/dist/shared/ai/types.d.ts +164 -0
  5. package/dist/shared/ai/types.d.ts.map +1 -0
  6. package/dist/shared/{chunk-EJGNYD4V.js → ai/types.js} +0 -1
  7. package/dist/shared/ajv.d.ts +2 -1
  8. package/dist/shared/ajv.d.ts.map +1 -1
  9. package/dist/shared/ajv.js +1 -1
  10. package/dist/shared/attributes.d.ts +300 -12
  11. package/dist/shared/attributes.d.ts.map +1 -1
  12. package/dist/shared/attributes.js +1 -1
  13. package/dist/shared/brick-manifest.d.ts +3 -1
  14. package/dist/shared/brick-manifest.d.ts.map +1 -1
  15. package/dist/shared/brick-manifest.js +1 -1
  16. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +4 -3
  17. package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
  18. package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
  19. package/dist/shared/bricks/manifests/all-manifests.d.ts +4 -1
  20. package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
  21. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  22. package/dist/shared/bricks/manifests/box.manifest.d.ts +6 -4
  23. package/dist/shared/bricks/manifests/box.manifest.d.ts.map +1 -1
  24. package/dist/shared/bricks/manifests/box.manifest.js +1 -1
  25. package/dist/shared/bricks/manifests/button.manifest.d.ts +4 -3
  26. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  27. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  28. package/dist/shared/bricks/manifests/card.manifest.d.ts +6 -5
  29. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  30. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  31. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +6 -5
  32. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  33. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  34. package/dist/shared/bricks/manifests/footer.manifest.d.ts +40 -5
  35. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  36. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  37. package/dist/shared/bricks/manifests/form.manifest.d.ts +6 -5
  38. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  39. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  40. package/dist/shared/bricks/manifests/hero.manifest.d.ts +4 -3
  41. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  42. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  43. package/dist/shared/bricks/manifests/html.manifest.d.ts +3 -2
  44. package/dist/shared/bricks/manifests/html.manifest.d.ts.map +1 -1
  45. package/dist/shared/bricks/manifests/html.manifest.js +1 -1
  46. package/dist/shared/bricks/manifests/icon.manifest.d.ts +3 -2
  47. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  48. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  49. package/dist/shared/bricks/manifests/image.manifest.d.ts +10 -6
  50. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  51. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  52. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +7 -6
  53. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  54. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  55. package/dist/shared/bricks/manifests/map.manifest.d.ts +5 -4
  56. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  57. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  58. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +42 -8
  59. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  60. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  61. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +4 -3
  62. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  63. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  64. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +5 -4
  65. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  66. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  67. package/dist/shared/bricks/manifests/spacer.manifest.d.ts +3 -2
  68. package/dist/shared/bricks/manifests/spacer.manifest.d.ts.map +1 -1
  69. package/dist/shared/bricks/manifests/spacer.manifest.js +1 -1
  70. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +6 -5
  71. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
  72. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  73. package/dist/shared/bricks/manifests/text.manifest.d.ts +4 -3
  74. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  75. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  76. package/dist/shared/bricks/manifests/video.manifest.d.ts +4 -3
  77. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  78. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  79. package/dist/shared/bricks/props/align.d.ts.map +1 -1
  80. package/dist/shared/bricks/props/align.js +1 -1
  81. package/dist/shared/bricks/props/background.d.ts +6 -9
  82. package/dist/shared/bricks/props/background.d.ts.map +1 -1
  83. package/dist/shared/bricks/props/background.js +1 -1
  84. package/dist/shared/bricks/props/border.d.ts.map +1 -1
  85. package/dist/shared/bricks/props/border.js +1 -1
  86. package/dist/shared/bricks/props/color-preset.d.ts +3 -4
  87. package/dist/shared/bricks/props/color-preset.d.ts.map +1 -1
  88. package/dist/shared/bricks/props/color-preset.js +1 -1
  89. package/dist/shared/bricks/props/color.js +1 -1
  90. package/dist/shared/bricks/props/common.d.ts +6 -6
  91. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  92. package/dist/shared/bricks/props/common.js +1 -1
  93. package/dist/shared/bricks/props/css-length.d.ts.map +1 -1
  94. package/dist/shared/bricks/props/css-length.js +1 -1
  95. package/dist/shared/bricks/props/datasource.d.ts +1 -1
  96. package/dist/shared/bricks/props/datasource.js +1 -1
  97. package/dist/shared/bricks/props/date.d.ts.map +1 -1
  98. package/dist/shared/bricks/props/date.js +1 -1
  99. package/dist/shared/bricks/props/direction.d.ts.map +1 -1
  100. package/dist/shared/bricks/props/direction.js +1 -1
  101. package/dist/shared/bricks/props/dynamic.d.ts.map +1 -1
  102. package/dist/shared/bricks/props/dynamic.js +1 -1
  103. package/dist/shared/bricks/props/effects.d.ts +0 -1
  104. package/dist/shared/bricks/props/effects.d.ts.map +1 -1
  105. package/dist/shared/bricks/props/effects.js +1 -1
  106. package/dist/shared/bricks/props/file.d.ts.map +1 -1
  107. package/dist/shared/bricks/props/file.js +1 -1
  108. package/dist/shared/bricks/props/geolocation.js +1 -1
  109. package/dist/shared/bricks/props/helpers.d.ts +2 -2
  110. package/dist/shared/bricks/props/helpers.js +1 -1
  111. package/dist/shared/bricks/props/image.d.ts +4 -4
  112. package/dist/shared/bricks/props/image.d.ts.map +1 -1
  113. package/dist/shared/bricks/props/image.js +1 -1
  114. package/dist/shared/bricks/props/position.d.ts +0 -2
  115. package/dist/shared/bricks/props/position.d.ts.map +1 -1
  116. package/dist/shared/bricks/props/position.js +1 -1
  117. package/dist/shared/bricks/props/string.js +1 -1
  118. package/dist/shared/bricks/props/tags.d.ts.map +1 -1
  119. package/dist/shared/bricks/props/tags.js +1 -1
  120. package/dist/shared/bricks/props/text.js +1 -1
  121. package/dist/shared/bricks/props/types.d.ts +1 -2
  122. package/dist/shared/bricks/props/types.d.ts.map +1 -1
  123. package/dist/shared/bricks.d.ts +189 -18
  124. package/dist/shared/bricks.d.ts.map +1 -1
  125. package/dist/shared/bricks.js +1 -1
  126. package/dist/shared/chunk-2CYAFF56.js +3 -0
  127. package/dist/shared/chunk-2NLDX5FG.js +3 -0
  128. package/dist/shared/chunk-3FPFR5RA.js +3 -0
  129. package/dist/shared/chunk-3P36LG6T.js +3 -0
  130. package/dist/shared/chunk-3QOAHMV4.js +5 -0
  131. package/dist/shared/chunk-4GIZ6WSG.js +3 -0
  132. package/dist/shared/chunk-5WY7LYXK.js +3 -0
  133. package/dist/shared/chunk-5X5SX5N7.js +4 -0
  134. package/dist/shared/chunk-6L3Z5SZQ.js +3 -0
  135. package/dist/shared/{chunk-UU2MSQXY.js → chunk-6PGAWO4H.js} +1 -1
  136. package/dist/shared/chunk-6R76KIHZ.js +3 -0
  137. package/dist/shared/chunk-7UBMXMNJ.js +3 -0
  138. package/dist/shared/chunk-AB3IMRXZ.js +3 -0
  139. package/dist/shared/chunk-AMQAGDFH.js +3 -0
  140. package/dist/shared/chunk-ARMM6B47.js +3 -0
  141. package/dist/shared/chunk-ARYG4XMX.js +3 -0
  142. package/dist/shared/chunk-AZHH3XJJ.js +3 -0
  143. package/dist/shared/chunk-COT2ROEH.js +34 -0
  144. package/dist/shared/chunk-DHSWVVMI.js +3 -0
  145. package/dist/shared/chunk-DKNOZLA6.js +3 -0
  146. package/dist/shared/chunk-EVDZ2KND.js +6 -0
  147. package/dist/shared/chunk-F4JNKU7J.js +3 -0
  148. package/dist/shared/chunk-GC5OWY2Z.js +3 -0
  149. package/dist/shared/chunk-GXNHF6J5.js +3 -0
  150. package/dist/shared/chunk-HP7CZB2F.js +3 -0
  151. package/dist/shared/chunk-HSRXUIVM.js +3 -0
  152. package/dist/shared/chunk-ILIWVWHC.js +8 -0
  153. package/dist/shared/chunk-JRCVYDCD.js +3 -0
  154. package/dist/shared/chunk-L2HOZVBC.js +3 -0
  155. package/dist/shared/chunk-LEWKHCRI.js +3 -0
  156. package/dist/shared/chunk-LT4CW2F7.js +3 -0
  157. package/dist/shared/chunk-MVCVVKBY.js +3 -0
  158. package/dist/shared/chunk-NKIEDT7V.js +3 -0
  159. package/dist/shared/chunk-NQKXDMQ5.js +3 -0
  160. package/dist/shared/chunk-NXIF3UMD.js +3 -0
  161. package/dist/shared/chunk-PW5HRVMD.js +3 -0
  162. package/dist/shared/chunk-PZYX3ACO.js +3 -0
  163. package/dist/shared/chunk-QDJQAZIA.js +8 -0
  164. package/dist/shared/chunk-QGFQA7OZ.js +4 -0
  165. package/dist/shared/chunk-RJZZWCBD.js +3 -0
  166. package/dist/shared/chunk-SAJY7H6N.js +3 -0
  167. package/dist/shared/chunk-SFDRAHYP.js +3 -0
  168. package/dist/shared/chunk-STDCM2KD.js +3 -0
  169. package/dist/shared/chunk-TCTVRT4O.js +3 -0
  170. package/dist/shared/chunk-TH5SONR6.js +3 -0
  171. package/dist/shared/chunk-UCR2UZOY.js +3 -0
  172. package/dist/shared/chunk-UDQWYGSO.js +3 -0
  173. package/dist/shared/{chunk-LSPN22SI.js → chunk-URRCKLAS.js} +3 -3
  174. package/dist/shared/{chunk-OIOYMECS.js → chunk-US53TNMK.js} +1 -1
  175. package/dist/shared/chunk-VDX2J22H.js +3 -0
  176. package/dist/shared/chunk-VE3S4LGT.js +3 -0
  177. package/dist/shared/chunk-VK26ZZFR.js +3 -0
  178. package/dist/shared/chunk-VLXZMESE.js +3 -0
  179. package/dist/shared/chunk-WAML3IGZ.js +3 -0
  180. package/dist/shared/chunk-WXKRIUTA.js +3 -0
  181. package/dist/shared/chunk-X62OEAE6.js +3 -0
  182. package/dist/shared/chunk-XED6ARVN.js +3 -0
  183. package/dist/shared/chunk-Y3X4F4YJ.js +3 -0
  184. package/dist/shared/chunk-Z4YKRLOX.js +3 -0
  185. package/dist/shared/context.d.ts +6 -15
  186. package/dist/shared/context.d.ts.map +1 -1
  187. package/dist/shared/datarecords/external/airtable/handler.d.ts +24 -7
  188. package/dist/shared/datarecords/external/airtable/handler.d.ts.map +1 -1
  189. package/dist/shared/datarecords/external/airtable/handler.js +3 -0
  190. package/dist/shared/datarecords/external/airtable/oauth/config.js +3 -0
  191. package/dist/shared/datarecords/external/airtable/types.d.ts +40 -0
  192. package/dist/shared/datarecords/external/airtable/types.d.ts.map +1 -0
  193. package/dist/shared/datarecords/external/airtable/types.js +3 -0
  194. package/dist/shared/datarecords/external/generic-webhook/handler.js +3 -0
  195. package/dist/shared/datarecords/external/generic-webhook/options.js +3 -0
  196. package/dist/shared/datarecords/external/google/sheets/client.d.ts +14 -0
  197. package/dist/shared/datarecords/external/google/sheets/client.d.ts.map +1 -0
  198. package/dist/shared/datarecords/external/google/sheets/client.js +3 -0
  199. package/dist/shared/datarecords/external/google/sheets/handler.d.ts +27 -5
  200. package/dist/shared/datarecords/external/google/sheets/handler.d.ts.map +1 -1
  201. package/dist/shared/datarecords/external/google/sheets/handler.js +7 -0
  202. package/dist/shared/datarecords/external/google/sheets/{options.d.ts → types.d.ts} +1 -1
  203. package/dist/shared/datarecords/external/google/sheets/types.d.ts.map +1 -0
  204. package/dist/shared/datarecords/external/google/sheets/types.js +3 -0
  205. package/dist/shared/datarecords/external/notion/handler.d.ts +31 -0
  206. package/dist/shared/datarecords/external/notion/handler.d.ts.map +1 -0
  207. package/dist/shared/datarecords/external/notion/handler.js +3 -0
  208. package/dist/shared/datarecords/external/notion/oauth/config.js +3 -0
  209. package/dist/shared/datarecords/external/notion/{options.d.ts → types.d.ts} +11 -1
  210. package/dist/shared/datarecords/external/notion/types.d.ts.map +1 -0
  211. package/dist/shared/datarecords/external/notion/types.js +3 -0
  212. package/dist/shared/datarecords/types.d.ts +17 -18
  213. package/dist/shared/datarecords/types.d.ts.map +1 -1
  214. package/dist/shared/datarecords/types.js +1 -1
  215. package/dist/shared/datarecords.d.ts +2 -2
  216. package/dist/shared/datarecords.d.ts.map +1 -1
  217. package/dist/shared/datarecords.js +1 -1
  218. package/dist/shared/datasources/external/facebook/posts/fetcher.js +3 -0
  219. package/dist/shared/datasources/external/facebook/posts/schema.js +3 -0
  220. package/dist/shared/datasources/external/http-json/fetcher.js +3 -0
  221. package/dist/shared/datasources/external/http-json/options.js +3 -0
  222. package/dist/shared/datasources/external/http-json/schema.js +3 -0
  223. package/dist/shared/datasources/external/instagram/feed/fetcher.js +3 -0
  224. package/dist/shared/datasources/external/instagram/feed/schema.js +3 -0
  225. package/dist/shared/datasources/external/mastodon/account/fetcher.js +3 -0
  226. package/dist/shared/datasources/external/mastodon/account/schema.js +3 -0
  227. package/dist/shared/datasources/external/mastodon/options.js +3 -0
  228. package/dist/shared/datasources/external/mastodon/status/fetcher.js +3 -0
  229. package/dist/shared/datasources/external/mastodon/status/sample.array.js +3 -0
  230. package/dist/shared/datasources/external/mastodon/status/sample.single.js +3 -0
  231. package/dist/shared/datasources/external/mastodon/status/schema.d.ts.map +1 -1
  232. package/dist/shared/datasources/external/mastodon/status/schema.js +3 -0
  233. package/dist/shared/datasources/external/meta/options.js +3 -0
  234. package/dist/shared/datasources/external/rss/fetcher.js +3 -0
  235. package/dist/shared/datasources/external/rss/options.js +3 -0
  236. package/dist/shared/datasources/external/rss/schema.js +3 -0
  237. package/dist/shared/datasources/external/threads/media/fetcher.js +3 -0
  238. package/dist/shared/datasources/external/threads/media/schema.js +3 -0
  239. package/dist/shared/datasources/external/tiktok/video/fetcher.js +3 -0
  240. package/dist/shared/datasources/external/tiktok/video/options.js +3 -0
  241. package/dist/shared/datasources/external/tiktok/video/schema.js +3 -0
  242. package/dist/shared/datasources/external/youtube/list/fetcher.js +3 -0
  243. package/dist/shared/datasources/external/youtube/list/options.js +3 -0
  244. package/dist/shared/datasources/external/youtube/list/schema.js +3 -0
  245. package/dist/shared/datasources/fetcher.js +2 -0
  246. package/dist/shared/datasources/internal/blog/schema.js +3 -0
  247. package/dist/shared/datasources/internal/changelog/schema.js +3 -0
  248. package/dist/shared/datasources/internal/contact-info/schema.js +3 -0
  249. package/dist/shared/datasources/internal/cv/schema.js +3 -0
  250. package/dist/shared/datasources/internal/faq/schema.js +3 -0
  251. package/dist/shared/datasources/internal/job-board/schema.js +3 -0
  252. package/dist/shared/datasources/internal/links/schema.js +3 -0
  253. package/dist/shared/datasources/internal/recipes/schema.js +3 -0
  254. package/dist/shared/datasources/internal/restaurant/schema.js +3 -0
  255. package/dist/shared/datasources/samples.js +3 -0
  256. package/dist/shared/datasources/schemas.d.ts +0 -49
  257. package/dist/shared/datasources/schemas.d.ts.map +1 -1
  258. package/dist/shared/datasources/schemas.js +1 -1
  259. package/dist/shared/datasources/types.d.ts +53 -130
  260. package/dist/shared/datasources/types.d.ts.map +1 -1
  261. package/dist/shared/datasources/types.js +1 -1
  262. package/dist/shared/datasources/utils.js +3 -0
  263. package/dist/shared/datasources.d.ts +7 -4
  264. package/dist/shared/datasources.d.ts.map +1 -1
  265. package/dist/shared/datasources.js +1 -1
  266. package/dist/shared/errors.js +1 -1
  267. package/dist/shared/images.d.ts +1 -12
  268. package/dist/shared/images.d.ts.map +1 -1
  269. package/dist/shared/images.js +1 -1
  270. package/dist/shared/index.js +3 -0
  271. package/dist/shared/manifest.js +3 -0
  272. package/dist/shared/page.d.ts +155 -50
  273. package/dist/shared/page.d.ts.map +1 -1
  274. package/dist/shared/page.js +1 -1
  275. package/dist/shared/site.d.ts +322 -113
  276. package/dist/shared/site.d.ts.map +1 -1
  277. package/dist/shared/site.js +1 -1
  278. package/dist/shared/sitemap.d.ts +313 -13
  279. package/dist/shared/sitemap.d.ts.map +1 -1
  280. package/dist/shared/sitemap.js +1 -1
  281. package/dist/shared/social-icons.js +3 -0
  282. package/dist/shared/theme.d.ts +41 -4
  283. package/dist/shared/theme.d.ts.map +1 -1
  284. package/dist/shared/theme.js +1 -1
  285. package/dist/shared/utils/invariant.js +1 -1
  286. package/dist/shared/utils/llm.d.ts +19 -0
  287. package/dist/shared/utils/llm.d.ts.map +1 -0
  288. package/dist/shared/utils/llm.js +3 -0
  289. package/dist/shared/utils/schema.d.ts +6 -1
  290. package/dist/shared/utils/schema.d.ts.map +1 -1
  291. package/dist/shared/utils/schema.js +1 -1
  292. package/dist/shared/utils/tests/schema.test.d.ts +2 -0
  293. package/dist/shared/utils/tests/schema.test.d.ts.map +1 -0
  294. package/dist/shared/utils/typed-ref.d.ts +1 -6
  295. package/dist/shared/utils/typed-ref.d.ts.map +1 -1
  296. package/dist/shared/utils/typed-ref.js +1 -1
  297. package/package.json +19 -19
  298. package/src/shared/ai/schemas.ts +33 -0
  299. package/src/shared/ai/types.ts +151 -0
  300. package/src/shared/ajv.ts +123 -0
  301. package/src/shared/analytics/init.ts +14 -0
  302. package/src/shared/analytics/track.ts +21 -0
  303. package/src/shared/analytics/types.ts +13 -0
  304. package/src/shared/attributes.ts +396 -0
  305. package/src/shared/brick-manifest.ts +119 -0
  306. package/src/shared/bricks/manifests/accordion.manifest.ts +482 -0
  307. package/src/shared/bricks/manifests/all-manifests.ts +121 -0
  308. package/src/shared/bricks/manifests/box.manifest.ts +551 -0
  309. package/src/shared/bricks/manifests/button.manifest.ts +208 -0
  310. package/src/shared/bricks/manifests/card.manifest.ts +320 -0
  311. package/src/shared/bricks/manifests/carousel.manifest.ts +708 -0
  312. package/src/shared/bricks/manifests/footer.manifest.ts +509 -0
  313. package/src/shared/bricks/manifests/form.manifest.ts +226 -0
  314. package/src/shared/bricks/manifests/hero.manifest.ts +365 -0
  315. package/src/shared/bricks/manifests/html.manifest.ts +127 -0
  316. package/src/shared/bricks/manifests/icon.manifest.ts +164 -0
  317. package/src/shared/bricks/manifests/image.manifest.ts +378 -0
  318. package/src/shared/bricks/manifests/images-gallery.manifest.ts +822 -0
  319. package/src/shared/bricks/manifests/map.manifest.ts +215 -0
  320. package/src/shared/bricks/manifests/navbar.manifest.ts +361 -0
  321. package/src/shared/bricks/manifests/sidebar.manifest.ts +88 -0
  322. package/src/shared/bricks/manifests/social-links.manifest.ts +497 -0
  323. package/src/shared/bricks/manifests/spacer.manifest.ts +54 -0
  324. package/src/shared/bricks/manifests/testimonials.manifest.ts +480 -0
  325. package/src/shared/bricks/manifests/tests/header.manifest.test.ts +10 -0
  326. package/src/shared/bricks/manifests/text.manifest.ts +245 -0
  327. package/src/shared/bricks/manifests/video.manifest.ts +115 -0
  328. package/src/shared/bricks/props/align.ts +63 -0
  329. package/src/shared/bricks/props/background.ts +79 -0
  330. package/src/shared/bricks/props/boolean.ts +7 -0
  331. package/src/shared/bricks/props/border.ts +86 -0
  332. package/src/shared/bricks/props/color-preset.ts +390 -0
  333. package/src/shared/bricks/props/color.ts +40 -0
  334. package/src/shared/bricks/props/common.ts +64 -0
  335. package/src/shared/bricks/props/css-length.ts +32 -0
  336. package/src/shared/bricks/props/datarecord.ts +11 -0
  337. package/src/shared/bricks/props/datasource.ts +82 -0
  338. package/src/shared/bricks/props/date.ts +21 -0
  339. package/src/shared/bricks/props/direction.ts +21 -0
  340. package/src/shared/bricks/props/dynamic.ts +112 -0
  341. package/src/shared/bricks/props/effects.ts +71 -0
  342. package/src/shared/bricks/props/enum.ts +38 -0
  343. package/src/shared/bricks/props/file.ts +10 -0
  344. package/src/shared/bricks/props/geolocation.ts +36 -0
  345. package/src/shared/bricks/props/helpers.ts +73 -0
  346. package/src/shared/bricks/props/image.ts +96 -0
  347. package/src/shared/bricks/props/number.ts +8 -0
  348. package/src/shared/bricks/props/position.ts +11 -0
  349. package/src/shared/bricks/props/string.ts +72 -0
  350. package/src/shared/bricks/props/tags.ts +26 -0
  351. package/src/shared/bricks/props/tests/background.test.ts +90 -0
  352. package/src/shared/bricks/props/tests/border.test.ts +12 -0
  353. package/src/shared/bricks/props/tests/effects.test.ts +37 -0
  354. package/src/shared/bricks/props/tests/helpers.test.ts +98 -0
  355. package/src/shared/bricks/props/tests/image.test.ts +71 -0
  356. package/src/shared/bricks/props/tests/string.test.ts +80 -0
  357. package/src/shared/bricks/props/text.ts +107 -0
  358. package/src/shared/bricks/props/types.ts +72 -0
  359. package/src/shared/bricks.ts +1237 -0
  360. package/src/shared/context.ts +32 -0
  361. package/src/shared/datarecords/external/airtable/handler.ts +501 -0
  362. package/src/shared/datarecords/external/airtable/oauth/config.ts +11 -0
  363. package/src/shared/datarecords/external/airtable/types.ts +63 -0
  364. package/src/shared/datarecords/external/generic-webhook/handler.ts +10 -0
  365. package/src/shared/datarecords/external/generic-webhook/options.ts +13 -0
  366. package/src/shared/datarecords/external/google/oauth/config.ts +30 -0
  367. package/src/shared/datarecords/external/google/sheets/client.ts +112 -0
  368. package/src/shared/datarecords/external/google/sheets/handler.ts +253 -0
  369. package/src/shared/datarecords/external/google/sheets/types.ts +10 -0
  370. package/src/shared/datarecords/external/notion/handler.ts +469 -0
  371. package/src/shared/datarecords/external/notion/oauth/config.ts +7 -0
  372. package/src/shared/datarecords/external/notion/types.ts +28 -0
  373. package/src/shared/datarecords/types.ts +165 -0
  374. package/src/shared/datarecords.ts +5 -0
  375. package/src/shared/datasources/README.md +3 -0
  376. package/src/shared/datasources/external/facebook/posts/fetcher.ts +52 -0
  377. package/src/shared/datasources/external/facebook/posts/sample.ts +35 -0
  378. package/src/shared/datasources/external/facebook/posts/schema.ts +33 -0
  379. package/src/shared/datasources/external/facebook/posts/tests/fetcher.test.ts +73 -0
  380. package/src/shared/datasources/external/http-json/fetcher.ts +31 -0
  381. package/src/shared/datasources/external/http-json/options.ts +8 -0
  382. package/src/shared/datasources/external/http-json/schema.ts +6 -0
  383. package/src/shared/datasources/external/http-json/tests/fetcher.test.ts +70 -0
  384. package/src/shared/datasources/external/instagram/feed/fetcher.ts +33 -0
  385. package/src/shared/datasources/external/instagram/feed/sample.ts +22 -0
  386. package/src/shared/datasources/external/instagram/feed/schema.ts +23 -0
  387. package/src/shared/datasources/external/instagram/feed/tests/fetcher.test.ts +64 -0
  388. package/src/shared/datasources/external/mastodon/account/fetcher.ts +24 -0
  389. package/src/shared/datasources/external/mastodon/account/sample.ts +33 -0
  390. package/src/shared/datasources/external/mastodon/account/schema.ts +45 -0
  391. package/src/shared/datasources/external/mastodon/account/tests/fetcher.test.ts +47 -0
  392. package/src/shared/datasources/external/mastodon/options.ts +6 -0
  393. package/src/shared/datasources/external/mastodon/status/fetcher.ts +35 -0
  394. package/src/shared/datasources/external/mastodon/status/sample.array.ts +59 -0
  395. package/src/shared/datasources/external/mastodon/status/sample.single.ts +55 -0
  396. package/src/shared/datasources/external/mastodon/status/schema.ts +125 -0
  397. package/src/shared/datasources/external/mastodon/status/tests/fetcher.test.ts +74 -0
  398. package/src/shared/datasources/external/meta/oauth/config.ts +16 -0
  399. package/src/shared/datasources/external/meta/options.ts +7 -0
  400. package/src/shared/datasources/external/rss/fetcher.ts +31 -0
  401. package/src/shared/datasources/external/rss/options.ts +7 -0
  402. package/src/shared/datasources/external/rss/sample.ts +22 -0
  403. package/src/shared/datasources/external/rss/schema.ts +42 -0
  404. package/src/shared/datasources/external/threads/media/fetcher.ts +53 -0
  405. package/src/shared/datasources/external/threads/media/sample.ts +44 -0
  406. package/src/shared/datasources/external/threads/media/schema.ts +37 -0
  407. package/src/shared/datasources/external/tiktok/oauth/config.ts +17 -0
  408. package/src/shared/datasources/external/tiktok/video/fetcher.ts +39 -0
  409. package/src/shared/datasources/external/tiktok/video/options.ts +8 -0
  410. package/src/shared/datasources/external/tiktok/video/sample.ts +26 -0
  411. package/src/shared/datasources/external/tiktok/video/schema.ts +27 -0
  412. package/src/shared/datasources/external/youtube/list/fetcher.ts +37 -0
  413. package/src/shared/datasources/external/youtube/list/options.ts +11 -0
  414. package/src/shared/datasources/external/youtube/list/sample.ts +33 -0
  415. package/src/shared/datasources/external/youtube/list/schema.ts +38 -0
  416. package/src/shared/datasources/external/youtube/oauth/config.ts +15 -0
  417. package/src/shared/datasources/fetcher.ts +16 -0
  418. package/src/shared/datasources/internal/blog/schema.ts +69 -0
  419. package/src/shared/datasources/internal/changelog/schema.ts +48 -0
  420. package/src/shared/datasources/internal/contact-info/schema.ts +20 -0
  421. package/src/shared/datasources/internal/cv/schema.ts +217 -0
  422. package/src/shared/datasources/internal/faq/schema.ts +27 -0
  423. package/src/shared/datasources/internal/job-board/schema.ts +228 -0
  424. package/src/shared/datasources/internal/links/schema.ts +15 -0
  425. package/src/shared/datasources/internal/recipes/schema.ts +42 -0
  426. package/src/shared/datasources/internal/restaurant/schema.ts +225 -0
  427. package/src/shared/datasources/samples.ts +26 -0
  428. package/src/shared/datasources/schemas.ts +48 -0
  429. package/src/shared/datasources/types.ts +490 -0
  430. package/src/shared/datasources/utils.ts +17 -0
  431. package/src/shared/datasources.ts +57 -0
  432. package/src/shared/env.ts +23 -0
  433. package/src/shared/errors.ts +1 -0
  434. package/src/shared/images.ts +44 -0
  435. package/src/shared/index.ts +3 -0
  436. package/src/shared/layout-constants.ts +19 -0
  437. package/src/shared/manifest.ts +50 -0
  438. package/src/shared/oauth.ts +16 -0
  439. package/src/shared/page.ts +36 -0
  440. package/src/shared/prompt.ts +9 -0
  441. package/src/shared/responsive.ts +5 -0
  442. package/src/shared/site.ts +59 -0
  443. package/src/shared/sitemap.ts +98 -0
  444. package/src/shared/social-icons.ts +307 -0
  445. package/src/shared/tests/attributes.test.ts +31 -0
  446. package/src/shared/theme.ts +244 -0
  447. package/src/shared/themes/README.md +34 -0
  448. package/src/shared/themes/color-system.ts +146 -0
  449. package/src/shared/themes/tests/color-system.test.ts +170 -0
  450. package/src/shared/utils/canvas-data-uri.ts +2 -0
  451. package/src/shared/utils/invariant.ts +25 -0
  452. package/src/shared/utils/json-date.ts +8 -0
  453. package/src/shared/utils/llm.ts +282 -0
  454. package/src/shared/utils/merge.ts +12 -0
  455. package/src/shared/utils/object-hash.ts +7 -0
  456. package/src/shared/utils/schema.ts +359 -0
  457. package/src/shared/utils/string-enum.ts +12 -0
  458. package/src/shared/utils/tests/schema.test.ts +724 -0
  459. package/src/shared/utils/try-catch.ts +12 -0
  460. package/src/shared/utils/typed-ref.ts +53 -0
  461. package/dist/shared/bricks/props/container.d.ts +0 -11
  462. package/dist/shared/bricks/props/container.d.ts.map +0 -1
  463. package/dist/shared/bricks/props/container.js +0 -3
  464. package/dist/shared/bricks/props/gap.d.ts +0 -9
  465. package/dist/shared/bricks/props/gap.d.ts.map +0 -1
  466. package/dist/shared/bricks/props/gap.js +0 -3
  467. package/dist/shared/bricks/props/padding.d.ts +0 -5
  468. package/dist/shared/bricks/props/padding.d.ts.map +0 -1
  469. package/dist/shared/bricks/props/padding.js +0 -3
  470. package/dist/shared/bricks/props/tests/padding.d.ts +0 -2
  471. package/dist/shared/bricks/props/tests/padding.d.ts.map +0 -1
  472. package/dist/shared/chunk-2IYSJYNE.js +0 -3
  473. package/dist/shared/chunk-3EM3B4DX.js +0 -3
  474. package/dist/shared/chunk-4TH3C76A.js +0 -3
  475. package/dist/shared/chunk-5N6MBJJ4.js +0 -3
  476. package/dist/shared/chunk-6FITVVZX.js +0 -3
  477. package/dist/shared/chunk-6K3KZDFC.js +0 -3
  478. package/dist/shared/chunk-6WCGUAQN.js +0 -3
  479. package/dist/shared/chunk-7DMUDZ4H.js +0 -3
  480. package/dist/shared/chunk-ACVLF55Q.js +0 -3
  481. package/dist/shared/chunk-AQPN5SE2.js +0 -3
  482. package/dist/shared/chunk-BZGNY7LB.js +0 -3
  483. package/dist/shared/chunk-C2S243PB.js +0 -8
  484. package/dist/shared/chunk-C3VGP4CA.js +0 -3
  485. package/dist/shared/chunk-CT3EI7YN.js +0 -3
  486. package/dist/shared/chunk-DQXDGV67.js +0 -3
  487. package/dist/shared/chunk-E22E4XWE.js +0 -3
  488. package/dist/shared/chunk-ETYYRWLK.js +0 -3
  489. package/dist/shared/chunk-EYPREFMH.js +0 -3
  490. package/dist/shared/chunk-FKNNTHWX.js +0 -5
  491. package/dist/shared/chunk-HHO3ONTQ.js +0 -3
  492. package/dist/shared/chunk-I46VBMLF.js +0 -3
  493. package/dist/shared/chunk-IIFTGWFZ.js +0 -3
  494. package/dist/shared/chunk-JS4K5JRM.js +0 -5
  495. package/dist/shared/chunk-KHFNN4P3.js +0 -3
  496. package/dist/shared/chunk-LFQZRGHS.js +0 -3
  497. package/dist/shared/chunk-LGP6GWIY.js +0 -3
  498. package/dist/shared/chunk-NLEWXPVM.js +0 -3
  499. package/dist/shared/chunk-NNI225RG.js +0 -3
  500. package/dist/shared/chunk-QISTDGPP.js +0 -3
  501. package/dist/shared/chunk-QSZWDE3D.js +0 -3
  502. package/dist/shared/chunk-RGLVKILY.js +0 -3
  503. package/dist/shared/chunk-SLRU4CT6.js +0 -4
  504. package/dist/shared/chunk-T3LIA4YB.js +0 -3
  505. package/dist/shared/chunk-T4LMBG2G.js +0 -3
  506. package/dist/shared/chunk-TATG6SFZ.js +0 -3
  507. package/dist/shared/chunk-TF3JVVRU.js +0 -3
  508. package/dist/shared/chunk-TTTXV7TJ.js +0 -6
  509. package/dist/shared/chunk-TWBY2GOR.js +0 -3
  510. package/dist/shared/chunk-UHF6IEKV.js +0 -3
  511. package/dist/shared/chunk-UMHXXXVP.js +0 -3
  512. package/dist/shared/chunk-VGRYSAXA.js +0 -3
  513. package/dist/shared/chunk-VPFCY4DH.js +0 -3
  514. package/dist/shared/chunk-VTBI7WX3.js +0 -3
  515. package/dist/shared/chunk-VZPXXFVX.js +0 -3
  516. package/dist/shared/chunk-WU6Q4WYD.js +0 -3
  517. package/dist/shared/chunk-X43MB5WD.js +0 -3
  518. package/dist/shared/chunk-YBGPPF7T.js +0 -3
  519. package/dist/shared/chunk-ZQGNYK5I.js +0 -8
  520. package/dist/shared/chunk-ZTDUXSWH.js +0 -3
  521. package/dist/shared/datarecords/external/airtable/elements.d.ts +0 -21
  522. package/dist/shared/datarecords/external/airtable/elements.d.ts.map +0 -1
  523. package/dist/shared/datarecords/external/airtable/options.d.ts +0 -10
  524. package/dist/shared/datarecords/external/airtable/options.d.ts.map +0 -1
  525. package/dist/shared/datarecords/external/google/sheets/options.d.ts.map +0 -1
  526. package/dist/shared/datarecords/external/notion/options.d.ts.map +0 -1
  527. package/dist/shared/utils/schema-resolver.d.ts +0 -3
  528. package/dist/shared/utils/schema-resolver.d.ts.map +0 -1
  529. package/dist/shared/utils/schema-resolver.js +0 -3
@@ -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 f}from"./chunk-MKIXZXWS.js";import{b as l}from"./chunk-CT3EI7YN.js";import{b as a}from"./chunk-6WCGUAQN.js";import{b as r}from"./chunk-C3VGP4CA.js";import{b as i,d as o}from"./chunk-ACVLF55Q.js";import{a as d,c as p}from"./chunk-UU2MSQXY.js";import{a as n}from"./chunk-T3LIA4YB.js";import{e as s}from"./chunk-VZPXXFVX.js";import{a as e}from"./chunk-SFKZAUPW.js";import{a as c}from"./chunk-VGRYSAXA.js";import{Type as t}from"@sinclair/typebox";import{FaWpforms as u}from"react-icons/fa6";var M=c({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:p({datarecordId:f("Datarecord ID",{description:"The ID of the datarecord to use to generate the form fields","ui:responsive":"desktop"}),colorPreset:t.Optional(s({title:"Color",default:"base-200"})),direction:t.Optional(l({title:"Direction",description:"The direction of the form fields",default:"flex-col","ui:responsive":"desktop","ui:desktop-only":!0})),padding:t.Optional(a({default:"p-4"})),rounding:t.Optional(o({default:"rounded-md"})),border:t.Optional(i({})),fontSize:t.Optional(r({default:"inherit","ui:no-extra-large-sizes":!0})),button:d({title:"Button",children:{color:t.Optional(t.Union([t.Literal("btn-neutral",{title:"Neutral"}),t.Literal("btn-primary",{title:"Primary"}),t.Literal("btn-secondary",{title:"Secondary"}),t.Literal("btn-accent",{title:"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(n("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"}}))})}),P=[{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)",type:"form",props:{title:"Stay Updated",intro:"Subscribe to our newsletter for the latest updates and exclusive content.",direction:"flex-col",datarecordId:"newsletter-subscription",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,P as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as n}from"./chunk-EJGNYD4V.js";import{Type as i}from"@sinclair/typebox";function p(t,e={}){return i.String({title:t,...e})}function l(t="URL",e){return i.String({title:t,format:"uri","ui:field":"url",default:e})}var r=i.String({"ui:field":"page-id"});function u(t="URL",e){return i.Union([i.String({format:"uri"}),r],{$id:"content:urlOrPageId",default:e,title:t,metadata:{category:"content"},"ui:field":"url-page-id","ai:instructions":"This field can be a URL or a page ID. Use the page ID when linking to a internal page, and a URL for external links."})}function c(t={}){return n("content:urlOrPageId",{...t})}function d(t,e={}){return i.String({title:t??"Icon","ai:instructions":"Use a iconify reference like 'mdi:heart' or 'fa-solid:coffee'.","ui:field":"iconify",$id:"assets:icon",metadata:{category:"content"},...e})}function s(t={}){return n("assets:icon",t)}export{p as a,l as b,u as c,c as d,d as e,s as f};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as i}from"./chunk-EJGNYD4V.js";import{a as e}from"./chunk-SFKZAUPW.js";import{Type as s}from"@sinclair/typebox";function d(t={}){return e(["shadow-none","shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl"],{$id:"styles:shadow",title:"Shadow",enumNames:["None","Small","Medium","Large","XL","2XL"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select","ui:responsive":"desktop","ui:styleId":"styles:shadow",...t})}function u(t={}){return i("styles:shadow",t)}function r(t={}){return e(["text-shadow-none","text-shadow-sm","text-shadow-md","text-shadow-lg","text-shadow-xl"],{$id:"styles:textShadow",title:"Text shadow",enumNames:["None","S","M","L","XL"],"ui:display":"button-group","ui:placeholder":"Not specified","ui:field":"enum","ui:styleId":"styles:textShadow",...t})}function l(t={}){return i("styles:textShadow",t)}function m({defaultValue:t=1,title:o="Opacity"}={}){return s.Number({title:o,minimum:.1,maximum:1,default:t,multipleOf:.1,"ui:field":"slider","ui:unit":"%","ui:multiplier":100})}export{d as a,u as b,r as c,l as d,m as e};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{Type as i}from"@sinclair/typebox";function r(t="Date",e){return i.String({title:t,format:"date","ui:field":"date",...e})}function a(t="Date and Time",e){return i.String({title:t,format:"date-time","ui:field":"datetime",...e})}export{r as a,a as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{Type as o}from"@sinclair/typebox";var c=o.Array(o.Object({title:o.Optional(o.String({title:"Title",description:"The title of the RSS feed item"})),link:o.Optional(o.String({title:"Link",description:"The link to the RSS feed item"})),creator:o.Optional(o.String({title:"Creator",description:"The creator of the RSS feed item"})),content:o.Optional(o.String({title:"Content",description:"The content of the RSS feed item"})),pubDate:o.Optional(o.String({title:"Pub Date",description:"The publication date of the RSS feed item"}))}),{title:"RSS Feed",description:"RSS feed items"});import{Type as t}from"@sinclair/typebox";var p=t.Array(t.Object({etag:t.String(),id:t.Object({videoId:t.String(),channelId:t.String(),playlistId:t.String()}),snippet:t.Object({publishedAt:t.String(),channelId:t.String(),title:t.String(),description:t.String(),thumbnails:t.Object({default:t.Object({url:t.String(),width:t.Number(),height:t.Number()}),standard:t.Object({url:t.String(),width:t.Number(),height:t.Number()})}),channelTitle:t.String(),liveBroadcastContent:t.String()})}),{title:"Youtube list schema",description:"Schema for a list of Youtube videos"});import{Type as e}from"@sinclair/typebox";var s=e.Array(e.Object({title:e.String({title:"Title",description:"Blog post title"}),excerpt:e.String({title:"Excerpt",description:"Short summary of the blog post",format:"markdown"}),image:e.Optional(e.String({title:"Image URL",format:"uri",description:"Blog post image"})),content:e.String({title:"Content",description:"Blog post content",format:"markdown"}),author:e.Object({name:e.String({title:"Author Name",description:"Author's name"})}),publishedAt:e.String({title:"Published Date",format:"date",description:"Publication date in ISO format"}),slug:e.String({title:"Slug",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$",description:"URL-friendly version of the title"}),status:e.Union([e.Literal("draft"),e.Literal("published"),e.Literal("archived")],{title:"Status",description:"Publication status of the blog post"}),categories:e.Optional(e.Array(e.String({title:"Categories",description:"Blog post categories"}))),tags:e.Optional(e.Array(e.String({title:"Tags",description:"Blog post tags"})))}),{title:"Blog Posts",description:"List of blog posts"});import{Type as i}from"@sinclair/typebox";var l=i.Array(i.Object({title:i.String({title:"Release Title",description:"Title of the release"}),version:i.Optional(i.String({title:"Version",description:"Version number"})),date:i.String({title:"Release Date",format:"date",description:"Release date in ISO format"}),changes:i.Array(i.Object({type:i.Union([i.Literal("added"),i.Literal("changed"),i.Literal("fixed"),i.Literal("improved"),i.Literal("deprecated"),i.Literal("removed")],{title:"Change Type"}),description:i.String({title:"Description",format:"markdown"})}))}),{title:"Changelog",description:"Changelog items"});import{Type as a}from"@sinclair/typebox";var m=a.Array(a.Object({question:a.String({title:"Question",format:"markdown"}),answer:a.String({title:"Answer",format:"markdown"}),category:a.Optional(a.String({title:"Category"})),tags:a.Optional(a.Array(a.String(),{title:"Tags"})),order:a.Optional(a.Number({title:"Order in the list"}))}),{title:"FAQ",description:"Schema representing a collection of frequently asked questions (FAQ)"});import{Type as n}from"@sinclair/typebox";var S=n.Array(n.Object({url:n.String({format:"uri",title:"URL"}),title:n.String({title:"Title"}),description:n.Optional(n.String({title:"Description",format:"markdown"})),icon:n.Optional(n.String({title:"Icon",format:"uri"}))}),{description:"Schema representing a collection of links"});import{Type as r}from"@sinclair/typebox";var d=r.Array(r.Object({title:r.String({title:"Title"}),description:r.String({title:"Description",format:"markdown"}),time:r.String({title:"Time to prepare the recipe"}),ingredients:r.Array(r.Object({name:r.String({title:"Name of the ingredient"}),quantity:r.String({title:"Quantity of the ingredient"})})),steps:r.Array(r.Object({title:r.String({title:"Step title"}),description:r.String({title:"Step description"})}))}),{title:"Recipes",description:"Collection of recipes"});var B={rss:c,"youtube-list":p,"internal-blog":s,"internal-changelog":l,"internal-faq":m,"internal-links":S,"internal-recipes":d,"http-json":{description:"JSON array retrieved from an HTTP endpoint"}};export{B as a};
@@ -1,6 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as p}from"./chunk-6WCGUAQN.js";import{b as a,d as s}from"./chunk-T4LMBG2G.js";import{f as t}from"./chunk-C3VGP4CA.js";import{b as r,d as n}from"./chunk-ACVLF55Q.js";import{c as l}from"./chunk-UU2MSQXY.js";import{e as d}from"./chunk-VZPXXFVX.js";import{b as o,d as i}from"./chunk-E22E4XWE.js";import{a as c}from"./chunk-VGRYSAXA.js";import{BsAlphabetUppercase as f}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var R=c({type:"hero",category:"basic",name:"Hero",description:"A big textual element for home pages",aiInstructions:`
4
- This hero element is a large text element that can be used to display a title and an optional tagline.
5
- It is typically used on home pages to grab the user's attention.
6
- `.trim(),icon:f,defaultWidth:{desktop:"60dvw",mobile:"auto"},staticClasses:"flex-col",props:l({content:t({title:"Hero title",default:"<h1 class='hero-size-1' style='text-align:center'><b>Leading Businesses<br />Choose Leading Software</b></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(d({title:"Color"})),textShadow:e.Optional(s({default:"text-shadow-sm"})),padding:e.Optional(p({default:"p-8"})),rounding:e.Optional(n({default:"rounded-md"})),border:e.Optional(r()),shadow:e.Optional(a()),justifyContent:e.Optional(o({default:"justify-center"})),alignItems:e.Optional(i({default:"items-center"}))})}),k=[{description:"Simple welcome hero with blue background",type:"hero",props:{content:"Welcome to Our Platform",tagline:"The future of productivity starts here",padding:"p-8"}},{description:"Startup hero with gradient background",type:"hero",props:{content:"Build Something Amazing",tagline:"Turn your ideas into reality with our cutting-edge tools",padding:"p-16"}},{description:"Construction company hero with bold presence",type:"hero",props:{content:"Building Tomorrow Today",tagline:"Quality construction services for residential and commercial projects",padding:"p-16"}},{description:"Fashion brand hero with modern appeal",type:"hero",props:{content:"Express Your Style",tagline:"Contemporary fashion that speaks to your individuality",padding:"p-16"}},{description:"Law firm hero with authoritative tone",type:"hero",props:{content:"Justice You Can Trust",tagline:"Experienced legal representation for individuals and businesses",padding:"p-8"}},{description:"Photography studio hero with artistic flair",type:"hero",props:{content:"Capturing Life's Moments",tagline:"Professional photography services for weddings, portraits, and events"}}];export{R as a,k as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as o}from"./chunk-EJGNYD4V.js";import{a as i}from"./chunk-SFKZAUPW.js";function c(a={}){let t=a.allowNoGap!==!1,e=["gap-0","gap-px","gap-2","gap-4","gap-6","gap-8","gap-10","gap-12","gap-16","gap-24"],p=["No gap","Minimal","S","M","L","XL","2XL","4XL","4XL","6XL"],s=t?e:e.slice(1),n=t?p:p.slice(1);return i(s,{$id:"styles:basicGap",enumNames:n,title:"Gap",description:"Space between elements","ui:styleId":"styles:basicGap",...a})}function g(a={}){return o("styles:basicGap",a)}export{c as a,g as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as t}from"./chunk-UU2MSQXY.js";import{a as e}from"./chunk-VGRYSAXA.js";import{BsCodeSquare as i}from"react-icons/bs";import{Type as r}from"@sinclair/typebox";var p=e({type:"html",name:"Html",category:"widgets",description:"A flexible brick that accepts HTML content. Useful for embeding custom HTML or third-party widgets.",aiInstructions:"Use only this brick type when integrating third party widgets or custom HTML content. Most of the time, you should use other bricks that are more secure and easier to use.",staticClasses:"self-stretch",defaultWidth:{mobile:"auto",desktop:"300px"},icon:i,props:t({html:r.String({title:"HTML Content",description:"The HTML content to render. Use with caution, as it can introduce security risks.",default:"<div>Your HTML content here</div>","ui:placeholder":"<div>Your HTML content here</div>","ui:multiline":!0,metadata:{category:"content"}})})}),c=[{description:"A tally form",type:"html",props:{html:'<iframe data-tally-src="https://tally.so/embed/wQZpd8?alignLeft=1&hideTitle=1&transparentBackground=1&dynamicHeight=1" loading="lazy" width="100%" height="282" frameborder="0" marginheight="0" marginwidth="0" title="test"></iframe>'}}];export{p as a,c as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as i}from"./chunk-2IYSJYNE.js";import{f as o}from"./chunk-E22E4XWE.js";import{a as t}from"./chunk-EJGNYD4V.js";import{Type as e}from"@sinclair/typebox";function a(){return e.Object({desktop:e.Boolean(),mobile:e.Boolean()},{$id:"styles:hidden",title:"Hidden",description:"Used to hide the brick on desktop or mobile.","ui:field":"hidden"})}var 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};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as r}from"./chunk-I46VBMLF.js";function f({props:e,defaultHeight:t,defaultWidth:i,category:o="widgets",isContainer:s=!1,hideInLibrary:n=!1,deletable:a=!0,movable:p=!0,resizable:l=!0,duplicatable:c=!0,defaultInspectorTab:b="preset",icon:m,...d}){return{...d,icon:m,props:e,category:o,defaultInspectorTab:b,hideInLibrary:n,deletable:a,movable:p,resizable:l,duplicatable:c,isContainer:s,defaultWidth:{mobile:i?.mobile??"auto",desktop:i?.desktop??"auto"},defaultHeight:{mobile:t?.mobile??"auto",desktop:t?.desktop??"auto"}}}function y(e){return{manifest:e,props:r(e.props),mobileProps:{}}}export{f as a,y as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as r}from"./chunk-EJGNYD4V.js";import{Type as e}from"@sinclair/typebox";function l(t={}){let{default:a,colorType:o="background",...i}=t;return e.Object({color:e.Optional(e.String({default:a?.color,title:"Color",description:"Use `bg-<variant>-<shade>`, variants being 'primary', 'secondary', 'accent' and 'neutral', and shades between 50 and 900. Can also be a gradient using 'bg-gradient-to-<direction> from-<color> to-<color>'",examples:["bg-primary","bg-base-100","bg-primary-50","bg-primary-500","bg-accent-900"]})),image:e.Optional(e.String({title:"Image",description:"The background image. Can be a URL or a data URI",examples:["https://example.com/image.png","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA..."]})),size:e.Optional(e.Union([e.Literal("auto",{title:"Auto"}),e.Literal("cover",{title:"Cover"}),e.Literal("contain",{title:"Contain"})],{default:a?.size??"auto","ai:instructions":"Only use this when the image is set."})),repeat:e.Optional(e.Union([e.Literal("no-repeat",{title:"No repeat"}),e.Literal("repeat",{title:"Repeat"}),e.Literal("repeat-x",{title:"Repeat horizontally"}),e.Literal("repeat-y",{title:"Repeat vertically"}),e.Literal("space",{title:"Space"}),e.Literal("round",{title:"Round"})],{default:a?.repeat??"no-repeat","ai:instructions":"Only use this when the image is set."}))},{$id:"styles:background","ui:styleId":"styles:background","ui:field":"background","ui:group":"background","ui:group:title":"Background","ui:color-type":o,title:"Background",default:a?{color:a.color,size:a.size,repeat:a.repeat}:void 0,...i})}function c(t={}){return r("styles:background",t)}function p(t={}){return e.String({title:"Background color",$id:"styles:backgroundColor","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `bg-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 100 and 900. Use bg-<variant>-<shade> classes as much as possible.","ui:field":"color","ui:color-type":"background","ui:styleId":"styles:backgroundColor","ui:responsive":"desktop",...t})}function u(t={}){return r("styles:backgroundColor",t)}export{l as a,c as b,p as c,u as d};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as t}from"./chunk-EYPREFMH.js";import{e as a}from"./chunk-NLEWXPVM.js";import{Type as e}from"@sinclair/typebox";var s=e.Object({id:e.String({description:"The unique ID of the page. Use a human readable url-safe slug"}),label:e.String({description:"The label (name) of the page"}),path:e.String({description:"The path of the page in the URL. Should be unique"}),sections:e.Array(a,{description:"The sections of the page. See the Section schema"}),tags:e.Array(e.String(),{description:"The tags of the page, used for organizating and filtering pages"}),attributes:t});export{s as a};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as r}from"./chunk-EJGNYD4V.js";import{a}from"./chunk-SFKZAUPW.js";import{Type as n}from"@sinclair/typebox";function d(e={}){return a(["bg-gradient-to-t","bg-gradient-to-r","bg-gradient-to-b","bg-gradient-to-l","bg-gradient-to-tl","bg-gradient-to-tr","bg-gradient-to-br","bg-gradient-to-bl"],{title:"Gradient direction",description:"The direction of the gradient. Only applies when color preset is a gradient.",enumNames:["Top","Right","Bottom","Left","Top left","Top right","Bottom right","Bottom left"],default:"bg-gradient-to-br","ui:responsive":"desktop","ui:styleId":"styles:gradientDirection",...e})}function l(e={}){return r("styles:gradientDirection",{...e,"ui:styleId":"styles:gradientDirection"})}var t={"primary-50":{className:"bg-primary-50 text-primary-50-content",label:"Primary 50"},"primary-100":{className:"bg-primary-100 text-primary-100-content",label:"Primary 100"},"primary-200":{className:"bg-primary-200 text-primary-200-content",label:"Primary 200"},"primary-300":{className:"bg-primary-300 text-primary-300-content",label:"Primary 300"},"primary-400":{className:"bg-primary-400 text-primary-400-content",label:"Primary 400"},"primary-500":{className:"bg-primary-500 text-primary-500-content",label:"Primary 500"},"primary-600":{className:"bg-primary-600 text-primary-600-content",label:"Primary 600"},"primary-700":{className:"bg-primary-700 text-primary-700-content",label:"Primary 700"},"primary-800":{className:"bg-primary-800 text-primary-800-content",label:"Primary 800"},"primary-900":{className:"bg-primary-900 text-primary-900-content",label:"Primary 900"},"secondary-50":{className:"bg-secondary-50 text-secondary-50-content",label:"Secondary 50"},"secondary-100":{className:"bg-secondary-100 text-secondary-100-content",label:"Secondary 100"},"secondary-200":{className:"bg-secondary-200 text-secondary-200-content",label:"Secondary 200"},"secondary-300":{className:"bg-secondary-300 text-secondary-300-content",label:"Secondary 300"},"secondary-400":{className:"bg-secondary-400 text-secondary-400-content",label:"Secondary 400"},"secondary-500":{className:"bg-secondary-500 text-secondary-500-content",label:"Secondary 500"},"secondary-600":{className:"bg-secondary-600 text-secondary-600-content",label:"Secondary 600"},"secondary-700":{className:"bg-secondary-700 text-secondary-700-content",label:"Secondary 700"},"secondary-800":{className:"bg-secondary-800 text-secondary-800-content",label:"Secondary 800"},"secondary-900":{className:"bg-secondary-900 text-secondary-900-content",label:"Secondary 900"},"accent-50":{className:"bg-accent-50 text-accent-50-content",label:"Accent 50"},"accent-100":{className:"bg-accent-100 text-accent-100-content",label:"Accent 100"},"accent-200":{className:"bg-accent-200 text-accent-200-content",label:"Accent 200"},"accent-300":{className:"bg-accent-300 text-accent-300-content",label:"Accent 300"},"accent-400":{className:"bg-accent-400 text-accent-400-content",label:"Accent 400"},"accent-500":{className:"bg-accent-500 text-accent-500-content",label:"Accent 500"},"accent-600":{className:"bg-accent-600 text-accent-600-content",label:"Accent 600"},"accent-700":{className:"bg-accent-700 text-accent-700-content",label:"Accent 700"},"accent-800":{className:"bg-accent-800 text-accent-800-content",label:"Accent 800"},"accent-900":{className:"bg-accent-900 text-accent-900-content",label:"Accent 900"},"neutral-50":{className:"bg-neutral-50 text-neutral-50-content",label:"Neutral 50"},"neutral-100":{className:"bg-neutral-100 text-neutral-100-content",label:"Neutral 100"},"neutral-200":{className:"bg-neutral-200 text-neutral-200-content",label:"Neutral 200"},"neutral-300":{className:"bg-neutral-300 text-neutral-300-content",label:"Neutral 300"},"neutral-400":{className:"bg-neutral-400 text-neutral-400-content",label:"Neutral 400"},"neutral-500":{className:"bg-neutral-500 text-neutral-500-content",label:"Neutral 500"},"neutral-600":{className:"bg-neutral-600 text-neutral-600-content",label:"Neutral 600"},"neutral-700":{className:"bg-neutral-700 text-neutral-700-content",label:"Neutral 700"},"neutral-800":{className:"bg-neutral-800 text-neutral-800-content",label:"Neutral 800"},"neutral-900":{className:"bg-neutral-900 text-neutral-900-content",label:"Neutral 900"},"base-100":{className:"bg-base-100 text-base-100-content",label:"Base 100"},"base-200":{className:"bg-base-200 text-base-200-content",label:"Base 200"},"base-300":{className:"bg-base-300 text-base-300-content",label:"Base 300"},"primary-gradient-100":{className:"from-primary-100 to-primary-200 text-primary-100-content",label:"Primary gradient 1"},"primary-gradient-200":{className:"from-primary-200 to-primary-300 text-primary-200-content",label:"Primary gradient 2"},"primary-gradient-300":{className:"from-primary-300 to-primary-400 text-primary-300-content",label:"Primary gradient 3"},"primary-gradient-400":{className:"from-primary-400 to-primary-500 text-primary-400-content",label:"Primary gradient 4"},"primary-gradient-500":{className:"from-primary-500 to-primary-600 text-primary-500-content",label:"Primary gradient 5"},"primary-gradient-600":{className:"from-primary-600 to-primary-700 text-primary-600-content",label:"Primary gradient 6"},"primary-gradient-700":{className:"from-primary-700 to-primary-800 text-primary-700-content",label:"Primary gradient 7"},"primary-gradient-800":{className:"from-primary-800 to-primary-900 text-primary-800-content",label:"Primary gradient 8"},"secondary-gradient-100":{className:"from-secondary-100 to-secondary-200 text-secondary-100-content",label:"Secondary gradient 1"},"secondary-gradient-200":{className:"from-secondary-200 to-secondary-300 text-secondary-200-content",label:"Secondary gradient 2"},"secondary-gradient-300":{className:"from-secondary-300 to-secondary-400 text-secondary-300-content",label:"Secondary gradient 3"},"secondary-gradient-400":{className:"from-secondary-400 to-secondary-500 text-secondary-400-content",label:"Secondary gradient 4"},"secondary-gradient-500":{className:"from-secondary-500 to-secondary-600 text-secondary-500-content",label:"Secondary gradient 5"},"secondary-gradient-600":{className:"from-secondary-600 to-secondary-700 text-secondary-600-content",label:"Secondary gradient 6"},"secondary-gradient-700":{className:"from-secondary-700 to-secondary-800 text-secondary-700-content",label:"Secondary gradient 7"},"secondary-gradient-800":{className:"from-secondary-800 to-secondary-900 text-secondary-800-content",label:"Secondary gradient 8"},"accent-gradient-100":{className:"from-accent-100 to-accent-200 text-accent-100-content",label:"Accent gradient 1"},"accent-gradient-200":{className:"from-accent-200 to-accent-300 text-accent-200-content",label:"Accent gradient 2"},"accent-gradient-300":{className:"from-accent-300 to-accent-400 text-accent-300-content",label:"Accent gradient 3"},"accent-gradient-400":{className:"from-accent-400 to-accent-500 text-accent-400-content",label:"Accent gradient 4"},"accent-gradient-500":{className:"from-accent-500 to-accent-600 text-accent-500-content",label:"Accent gradient 5"},"accent-gradient-600":{className:"from-accent-600 to-accent-700 text-accent-600-content",label:"Accent gradient 6"},"accent-gradient-700":{className:"from-accent-700 to-accent-800 text-accent-700-content",label:"Accent gradient 7"},"accent-gradient-800":{className:"from-accent-800 to-accent-900 text-accent-800-content",label:"Accent gradient 8"},"neutral-gradient-100":{className:"from-neutral-100 to-neutral-200 text-neutral-100-content",label:"Neutral gradient 1"},"neutral-gradient-200":{className:"from-neutral-200 to-neutral-300 text-neutral-200-content",label:"Neutral gradient 2"},"neutral-gradient-300":{className:"from-neutral-300 to-neutral-400 text-neutral-300-content",label:"Neutral gradient 3"},"neutral-gradient-400":{className:"from-neutral-400 to-neutral-500 text-neutral-400-content",label:"Neutral gradient 4"},"neutral-gradient-500":{className:"from-neutral-500 to-neutral-600 text-neutral-500-content",label:"Neutral gradient 5"},"neutral-gradient-600":{className:"from-neutral-600 to-neutral-700 text-neutral-600-content",label:"Neutral gradient 6"},"neutral-gradient-700":{className:"from-neutral-700 to-neutral-800 text-neutral-700-content",label:"Neutral gradient 7"},"neutral-gradient-800":{className:"from-neutral-800 to-neutral-900 text-neutral-800-content",label:"Neutral gradient 8"},"base-gradient-100":{className:"from-base-100 to-base-200 text-base-100-content",label:"Base gradient 1"},"base-gradient-200":{className:"from-base-200 to-base-300 text-base-200-content",label:"Base gradient 2"},none:{className:"",label:"None"}};function y(e={}){return n.Object({color:a(Object.keys(t),{title:"Color preset",description:"Color preset to apply to background and text",enumNames:Object.keys(t).map(c=>t[c].label),"ai:instructions":"Presets are predefined color combinations of background and text colors that can be applied to elements. They include various shades of primary, secondary, accent, and neutral colors, as well as gradients. You can also select 'none' to remove any preset.","ui:styleId":"presets:color","ui:responsive":!0,default:e.default?.color}),gradientDirection:n.Optional(l(e))},{"ui:field":"color-preset",$id:"presets:color","ui:presets":t,default:e.default,"ui:default-gradient-direction":e["ui:default-gradient-direction"]??"bg-gradient-to-br"})}function b(e){return r("presets:color",e)}export{d as a,l as b,t as c,y as d,b as e};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as r}from"./chunk-6WCGUAQN.js";import{b as i}from"./chunk-T4LMBG2G.js";import{b as e,d as t}from"./chunk-ACVLF55Q.js";import{c as d}from"./chunk-UU2MSQXY.js";import{a as p}from"./chunk-T3LIA4YB.js";import{a as m}from"./chunk-VGRYSAXA.js";import{RxVideo as n}from"react-icons/rx";import{Type as o}from"@sinclair/typebox";var y=m({type:"video",name:"Video",category:"media",description:"Youtube video",icon:n,defaultWidth:{mobile:"auto",desktop:`${360*16/9}px`},defaultHeight:{mobile:"168px",desktop:"360px"},minWidth:{mobile:300,desktop:360*16/9},minHeight:{mobile:168,desktop:360},props:d({url:p("Video URL",{description:"URL of the video to embed. It can be a YouTube link or an embed link.",default:"https://www.youtube.com/watch?v=dQw4w9WgXcQ",metadata:{category:"content","ui:responsive":"desktop"}}),padding:o.Optional(r({})),rounding:o.Optional(t({default:"rounded-md"})),border:o.Optional(e()),shadow:o.Optional(i())})}),g=[{description:"A YouTube video",type:"video",props:{url:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}},{description:"An embedded YouTube video",type:"video",props:{url:"https://www.youtube.com/embed/dQw4w9WgXcQ"}},{description:"A Vimeo video",type:"video",props:{url:"https://vimeo.com/123456789"}}];export{y as a,g as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{d as t}from"./chunk-VPFCY4DH.js";import{b as p}from"./chunk-6WCGUAQN.js";import{b as i}from"./chunk-T4LMBG2G.js";import{b as a,d as r}from"./chunk-ACVLF55Q.js";import{c as d}from"./chunk-UU2MSQXY.js";import{a as o}from"./chunk-T3LIA4YB.js";import{b as s}from"./chunk-RGLVKILY.js";import{e as m}from"./chunk-YBGPPF7T.js";import{a as n}from"./chunk-VGRYSAXA.js";import{RxImage as h}from"react-icons/rx";import{Type as e}from"@sinclair/typebox";var R=n({type:"image",name:"Image",category:"media",description:"An image brick",defaultWidth:{desktop:"auto",mobile:"100%"},icon:h,props:d({image:s({metadata:{category:"content"}}),backgroundColor:e.Optional(t()),padding:e.Optional(p({})),rounding:e.Optional(r({default:"rounded-md"})),border:e.Optional(a()),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(m())})}),I=[{description:"Hero landscape image with shadow",type:"image",props:{image:{src:"https://via.placeholder.com/800x400.png?text=Hero+Landscape",alt:"Beautiful landscape view for hero section"},shadow:"shadow-lg"}},{description:"Team member profile photo",type:"image",props:{image:{src:"https://via.placeholder.com/300x300.png?text=Profile+Photo",alt:"Team member profile photo"},shadow:"shadow-md"}},{description:"Product showcase image",type:"image",props:{image:{src:"https://via.placeholder.com/400x400.png?text=Product+Image",alt:"Premium product showcase"},shadow:"shadow-sm"}},{description:"Blog article featured image",type:"image",props:{image:{src:"https://via.placeholder.com/600x300.png?text=Article+Featured",alt:"Featured image for blog article"},author:{name:"John Photographer",url:"https://example.com/john"},provider:"unsplash",shadow:"shadow-md"}},{description:"Gallery thumbnail with hover effect",type:"image",props:{image:{src:"https://via.placeholder.com/250x250.png?text=Gallery+Thumb",alt:"Gallery thumbnail image"},shadow:"shadow-md"}},{description:"Logo image with padding",type:"image",props:{image:{src:"https://via.placeholder.com/200x80.png?text=Company+Logo",alt:"Company logo"},padding:"p-8",shadow:"shadow-sm"}},{description:"Testimonial customer photo",type:"image",props:{image:{src:"https://via.placeholder.com/120x120.png?text=Customer",alt:"Happy customer testimonial photo"},shadow:"shadow-lg",padding:"p-2"}},{description:"Event banner image",type:"image",props:{image:{src:"https://via.placeholder.com/800x200.png?text=Event+Banner",alt:"Annual conference event banner"},shadow:"shadow-xl",author:{name:"Event Photographer",url:"https://example.com/photographer"},provider:"pexels"}},{description:"Illustration with background",type:"image",props:{image:{src:"https://via.placeholder.com/150x150.png?text=Blabla+Feature",alt:"Feature illustration"},padding:"p-8",shadow:"shadow-sm"}},{description:"Image with blurHash",type:"image",props:{image:{src:"https://via.placeholder.com/300x200.png?text=Card+Image",alt:"My image"},shadow:"shadow-md",blurHash:"L6PZfSi_.AyE_3t7t7R**0o#DgR4"}}];export{R as a,I as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as r}from"./chunk-EJGNYD4V.js";import{d as o}from"./chunk-5N6MBJJ4.js";import{Type as e}from"@sinclair/typebox";function p(){return e.Object({queryId:e.String({description:"The Query ID to use for dynamic content."}),alias:e.String({title:"Alias",minLength:1,maxLength:100,pattern:"^[a-zA-Z0-9_]+$",description:"Alias for the query results, used in dynamic content. Use a simple keyword without spaces or special characters. Aliases are unique across the page.","ai:instructions":"Use a simple keyword without spaces or special characters. Aliases are unique across the page. You can use the same query several times with different aliases in order to, for example, apply different parameters to the same query."}),params:e.Optional(e.Array(o,{description:"Additional query parameters/filters to apply to the query. One can use placeholders in values like ':slug' to reference URL parameters.",title:"Query Parameters",default:[]}))},{title:"Query",description:"When set, this brick will loop through the results of the query and render the content for each item.",$id:"content:queryUse","ui:field":"query",metadata:{category:"content"}})}var l=i();function i(t={}){return r("content:queryUse",t)}function u(t={}){return e.Object({over:e.String({title:"Over",description:"The query alias to loop over. If not set, the brick will be rendered only once.","ai:instructions":"Specify the Query Alias to loop over the results."}),overrideLimit:e.Optional(e.Number({minimum:1,description:"Override the limit of items to loop through. If not set, it will use the default limit of the query. If set to 1, it will not loop and will render only the first item."}))},{$id:"content:loop",title:"Repeat over","ui:field":"loop","ui:hidden-if":"no-page-queries",metadata:{category:"content"},...t})}function c(t={}){return r("content:loop",t)}export{p as a,l as b,i as c,u as d,c as e};
@@ -1,8 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as a}from"./chunk-TWBY2GOR.js";import{b as r,f as t}from"./chunk-C3VGP4CA.js";import{a as o}from"./chunk-YIFNKP4J.js";import{c as l}from"./chunk-UU2MSQXY.js";import{e as s}from"./chunk-YBGPPF7T.js";import{e as i}from"./chunk-VZPXXFVX.js";import{a as n}from"./chunk-SFKZAUPW.js";import{a as c}from"./chunk-VGRYSAXA.js";import{Type as e}from"@sinclair/typebox";import{TfiLayoutAccordionSeparated as p}from"react-icons/tfi";var w=c({type:"accordion",name:"Accordion",description:"An accordion/collapse element for expandable content",aiInstructions:`
4
- This accordion element displays content in collapsible panels.
5
- It is typically used for FAQ sections, organized documentation, or to save space.
6
- Each item has a title and expandable content area.
7
- Multiple panels can be open simultaneously or limited to one at a time.
8
- `.trim(),icon:p,defaultWidth:{desktop:"450px",mobile:"100%"},props:l({items:e.Array(e.Object({title:t({title:"Title",default:"My title",disableSizing:!0,showInSettings:!0}),content:t({title:"Content",default:"Expandable content goes here"}),defaultOpen:e.Optional(o("Open by default",!1))}),{title:"Accordion items",metadata:{category:"content"}}),fontSize:e.Optional(r({default:"inherit"})),restrictOneOpen:o("Restrict to one open item",!1,{description:"Restrict to one open item at a time. If false, multiple items can be open simultaneously."}),gap:e.Optional(a({allowNoGap:!1,default:"gap-px"})),rounding:e.Optional(n(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","3xl"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select","ui:styleId":"styles:rounding",default:"rounded-auto"})),colorPreset:e.Optional(i({title:"Color",default:{color:"bg-primary-500 text-primary-500-content"}})),loop:e.Optional(s())})}),A=[{description:"FAQ section with card styling with single open",type:"accordion",props:{restrictOneOpen:!0,items:[{title:"What is included in the basic plan?",content:"The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.",defaultOpen:!0},{title:"How do I cancel my subscription?",content:"You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle."},{title:"Is there a free trial available?",content:"Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period."},{title:"What payment methods do you accept?",content:"We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners."},{title:"Do you offer refunds?",content:"We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund."}]}}];export{w as a,A as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as k}from"./chunk-OIOYMECS.js";import{a as d,c as n}from"./chunk-VPFCY4DH.js";import{a as s}from"./chunk-TWBY2GOR.js";import{a as w}from"./chunk-CT3EI7YN.js";import{a as j}from"./chunk-6WCGUAQN.js";import{a as h,c as S}from"./chunk-T4LMBG2G.js";import{a as y,e as g}from"./chunk-C3VGP4CA.js";import{a as c,c as l}from"./chunk-ACVLF55Q.js";import{a as i,c as m}from"./chunk-6FITVVZX.js";import{c as u,e as b}from"./chunk-T3LIA4YB.js";import{a as O}from"./chunk-RGLVKILY.js";import{a as C,d as F}from"./chunk-YBGPPF7T.js";import{a as v,d as x}from"./chunk-VZPXXFVX.js";import{a as f}from"./chunk-UMHXXXVP.js";import{b as p}from"./chunk-2IYSJYNE.js";import{a,c as r,e as o}from"./chunk-E22E4XWE.js";import A from"ajv";import U from"ajv-formats";var e=new A({useDefaults:!0,strictSchema:!1,validateSchema:!1,coerceTypes:!0,allErrors:!0,inlineRefs:!1});e.addSchema(d(),"styles:background");e.addSchema(n(),"styles:backgroundColor");e.addSchema(a(),"styles:justifyContent");e.addSchema(r(),"styles:alignItems");e.addSchema(o(),"styles:alignSelf");e.addSchema(s(),"styles:basicGap");e.addSchema(l(),"styles:rounding");e.addSchema(y(),"styles:fontSize");e.addSchema(f(),"styles:hidden");e.addSchema(w(),"styles:direction");e.addSchema(v(),"styles:gradientDirection");e.addSchema(c(),"styles:border");e.addSchema(j(),"styles:padding");e.addSchema(i(),"styles:color");e.addSchema(m(),"styles:borderColor");e.addSchema(h(),"styles:shadow");e.addSchema(S(),"styles:textShadow");e.addSchema(p(),"styles:cssLength");e.addSchema(O(),"assets:image");e.addSchema(b(),"assets:icon");e.addSchema(g(),"content:textContent");e.addSchema(u(),"content:urlOrPageId");e.addSchema(F(),"content:loop");e.addSchema(C(),"content:queryUse");e.addSchema(x(),"presets:color");e.addSchema(k(),"content:tags");var q=["date-time","time","date","email","hostname","ipv4","ipv6","uri","uri-reference","uuid","uri-template","json-pointer","relative-json-pointer","regex"];U(e,[...q]);e.addFormat("date-object",{validate:t=>t instanceof Date&&!Number.isNaN(t.getTime()),async:!1});e.addFormat("nanoid",{validate:t=>typeof t=="string",async:!1});e.addFormat("richtext",{validate:t=>typeof t=="string",async:!1});e.addFormat("markdown",{validate:t=>typeof t=="string",async:!1});e.addFormat("multiline",{validate:t=>typeof t=="string",async:!1});e.addFormat("password",{validate:t=>typeof t=="string",async:!1});function re(t){return!t||t.length===0?"Unknown validation error":t.map(N=>{let{instancePath:$,message:D,params:E}=N,I=$||"root",P=Object.entries(E||{}).map(([T,z])=>`${T}: ${z}`).join(", ");return`${I} ${D} (${P})`}).join("; ")}export{e as a,q as b,re as c};
@@ -1,21 +0,0 @@
1
- import { type Static } from "@sinclair/typebox";
2
- export declare const airtableTable: import("@sinclair/typebox").TObject<{
3
- id: import("@sinclair/typebox").TString;
4
- name: import("@sinclair/typebox").TString;
5
- primaryFieldId: import("@sinclair/typebox").TString;
6
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
7
- }>;
8
- export type AirtableTable = Static<typeof airtableTable>;
9
- export declare const airtableBase: import("@sinclair/typebox").TObject<{
10
- id: import("@sinclair/typebox").TString;
11
- name: import("@sinclair/typebox").TString;
12
- permissionLevel: import("@sinclair/typebox").TString;
13
- tables: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
14
- id: import("@sinclair/typebox").TString;
15
- name: import("@sinclair/typebox").TString;
16
- primaryFieldId: import("@sinclair/typebox").TString;
17
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18
- }>>;
19
- }>;
20
- export type AirtableBase = Static<typeof airtableBase>;
21
- //# sourceMappingURL=elements.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"elements.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datarecords/external/airtable/elements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,aAAa;;;;;EAKxB,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,eAAO,MAAM,YAAY;;;;;;;;;;EAKvB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- import { type Static } from "@sinclair/typebox";
2
- export declare const airtableOptions: import("@sinclair/typebox").TObject<{
3
- externalUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4
- baseId: import("@sinclair/typebox").TString;
5
- baseName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6
- tableId: import("@sinclair/typebox").TString;
7
- tableName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
- }>;
9
- export type AirtableOptions = Static<typeof airtableOptions>;
10
- //# sourceMappingURL=options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datarecords/external/airtable/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,eAAe;;;;;;EAoB1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/datarecords/external/google/sheets/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;;EAK9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datarecords/external/notion/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,aAAa;;;;;EAUxB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { TSchema } from "@sinclair/typebox";
2
- export declare function resolveSchema<T extends TSchema = TSchema>(schema: T): T;
3
- //# sourceMappingURL=schema-resolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-resolver.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/schema-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGjD,wBAAgB,aAAa,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAavE"}
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as o}from"../chunk-ZTDUXSWH.js";import"../chunk-OIOYMECS.js";import"../chunk-VPFCY4DH.js";import"../chunk-TWBY2GOR.js";import"../chunk-CT3EI7YN.js";import"../chunk-6WCGUAQN.js";import"../chunk-T4LMBG2G.js";import"../chunk-C3VGP4CA.js";import"../chunk-ACVLF55Q.js";import"../chunk-6FITVVZX.js";import"../chunk-T3LIA4YB.js";import"../chunk-RGLVKILY.js";import"../chunk-YBGPPF7T.js";import"../chunk-VZPXXFVX.js";import"../chunk-UMHXXXVP.js";import"../chunk-2IYSJYNE.js";import"../chunk-E22E4XWE.js";import"../chunk-EJGNYD4V.js";import"../chunk-5N6MBJJ4.js";import"../chunk-SFKZAUPW.js";function c(e){if(!e.$ref)return e;let r=o.getSchema(e.$ref)?.schema;if(!r||typeof e!="object")throw new Error(`Schema not found for reference: ${e.$ref}`);let{$ref:f,...t}=e;return{...r,...t}}export{c as resolveSchema};