@upstart.gg/sdk 0.0.95 → 0.0.97

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/node/cli/api.js +2 -2
  2. package/dist/node/cli/api.js.map +1 -1
  3. package/dist/node/cli/commands/login/cmd-login.js +6 -6
  4. package/dist/node/cli/commands/login/cmd-login.js.map +1 -1
  5. package/dist/node/cli/commands/logout/cmd-logout.js +2 -2
  6. package/dist/node/cli/commands/publish/cmd-publish.d.ts.map +1 -1
  7. package/dist/node/cli/commands/publish/cmd-publish.js +18 -18
  8. package/dist/node/cli/commands/publish/cmd-publish.js.map +1 -1
  9. package/dist/node/cli/commands/publish/uploader.js +7 -7
  10. package/dist/node/cli/commands/publish/uploader.js.map +1 -1
  11. package/dist/node/cli/is-logged-in.js +2 -2
  12. package/dist/node/cli/is-logged-in.js.map +1 -1
  13. package/dist/node/cli/program.js +24 -24
  14. package/dist/node/cli/program.js.map +1 -1
  15. package/dist/node/shared/config.d.ts +4 -14
  16. package/dist/node/shared/config.d.ts.map +1 -1
  17. package/dist/node/shared/config.js +4 -4
  18. package/dist/node/shared/config.js.map +1 -1
  19. package/dist/node/shared/logger.d.ts.map +1 -1
  20. package/dist/node/shared/logger.js +2 -2
  21. package/dist/node/shared/logger.js.map +1 -1
  22. package/dist/shared/ajv.d.ts +2 -0
  23. package/dist/shared/ajv.d.ts.map +1 -1
  24. package/dist/shared/ajv.js +1 -1
  25. package/dist/shared/attributes.d.ts +45 -83
  26. package/dist/shared/attributes.d.ts.map +1 -1
  27. package/dist/shared/attributes.js +1 -1
  28. package/dist/shared/brick-manifest.d.ts +7 -17
  29. package/dist/shared/brick-manifest.d.ts.map +1 -1
  30. package/dist/shared/brick-manifest.js +1 -1
  31. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +111 -0
  32. package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -0
  33. package/dist/shared/bricks/manifests/accordion.manifest.js +3 -0
  34. package/dist/shared/bricks/manifests/all-manifests.d.ts +5 -0
  35. package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
  36. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  37. package/dist/shared/bricks/manifests/button.manifest.d.ts +22 -13
  38. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  39. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  40. package/dist/shared/bricks/manifests/card.manifest.d.ts +44 -54
  41. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  42. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  43. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +39 -12
  44. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  45. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  46. package/dist/shared/bricks/manifests/container.manifest.d.ts +49 -172
  47. package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
  48. package/dist/shared/bricks/manifests/container.manifest.js +1 -1
  49. package/dist/shared/bricks/manifests/divider.manifest.d.ts +63 -0
  50. package/dist/shared/bricks/manifests/divider.manifest.d.ts.map +1 -0
  51. package/dist/shared/bricks/manifests/divider.manifest.js +3 -0
  52. package/dist/shared/bricks/manifests/footer.manifest.d.ts +30 -35
  53. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  54. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  55. package/dist/shared/bricks/manifests/form.manifest.d.ts +22 -12
  56. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  57. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  58. package/dist/shared/bricks/manifests/hero.manifest.d.ts +31 -71
  59. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  60. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  61. package/dist/shared/bricks/manifests/icon.manifest.d.ts +18 -12
  62. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  63. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  64. package/dist/shared/bricks/manifests/image.manifest.d.ts +36 -50
  65. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  66. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  67. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +55 -115
  68. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  69. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  70. package/dist/shared/bricks/manifests/map.manifest.d.ts +36 -12
  71. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  72. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  73. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +160 -0
  74. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -0
  75. package/dist/shared/bricks/manifests/navbar.manifest.js +3 -0
  76. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +83 -12
  77. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  78. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  79. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +37 -12
  80. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  81. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  82. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +94 -0
  83. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -0
  84. package/dist/shared/bricks/manifests/testimonials.manifest.js +3 -0
  85. package/dist/shared/bricks/manifests/text.manifest.d.ts +31 -63
  86. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  87. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  88. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +122 -0
  89. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -0
  90. package/dist/shared/bricks/manifests/timeline.manifest.js +3 -0
  91. package/dist/shared/bricks/manifests/video.manifest.d.ts +38 -12
  92. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  93. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  94. package/dist/shared/bricks/props/_style-presets.d.ts +1 -1
  95. package/dist/shared/bricks/props/_style-presets.d.ts.map +1 -1
  96. package/dist/shared/bricks/props/_style-presets.js +1 -1
  97. package/dist/shared/bricks/props/align.d.ts +7 -3
  98. package/dist/shared/bricks/props/align.d.ts.map +1 -1
  99. package/dist/shared/bricks/props/align.js +1 -1
  100. package/dist/shared/bricks/props/background.d.ts +8 -1
  101. package/dist/shared/bricks/props/background.d.ts.map +1 -1
  102. package/dist/shared/bricks/props/background.js +1 -1
  103. package/dist/shared/bricks/props/boolean.js +1 -1
  104. package/dist/shared/bricks/props/border.d.ts +24 -22
  105. package/dist/shared/bricks/props/border.d.ts.map +1 -1
  106. package/dist/shared/bricks/props/border.js +1 -1
  107. package/dist/shared/bricks/props/color.d.ts +5 -0
  108. package/dist/shared/bricks/props/color.d.ts.map +1 -0
  109. package/dist/shared/bricks/props/color.js +3 -0
  110. package/dist/shared/bricks/props/common.d.ts +9 -1
  111. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  112. package/dist/shared/bricks/props/common.js +1 -1
  113. package/dist/shared/bricks/props/container.d.ts +37 -45
  114. package/dist/shared/bricks/props/container.d.ts.map +1 -1
  115. package/dist/shared/bricks/props/container.js +1 -1
  116. package/dist/shared/bricks/props/css-length.d.ts +5 -0
  117. package/dist/shared/bricks/props/css-length.d.ts.map +1 -0
  118. package/dist/shared/bricks/props/css-length.js +3 -0
  119. package/dist/shared/bricks/props/datasource.d.ts +9 -13
  120. package/dist/shared/bricks/props/datasource.d.ts.map +1 -1
  121. package/dist/shared/bricks/props/datasource.js +1 -1
  122. package/dist/shared/bricks/props/date.d.ts +4 -0
  123. package/dist/shared/bricks/props/date.d.ts.map +1 -0
  124. package/dist/shared/bricks/props/date.js +3 -0
  125. package/dist/shared/bricks/props/effects.d.ts +4 -21
  126. package/dist/shared/bricks/props/effects.d.ts.map +1 -1
  127. package/dist/shared/bricks/props/effects.js +1 -1
  128. package/dist/shared/bricks/props/enum.d.ts +13 -0
  129. package/dist/shared/bricks/props/enum.d.ts.map +1 -0
  130. package/dist/shared/bricks/props/enum.js +3 -0
  131. package/dist/shared/bricks/props/file.d.ts +2 -0
  132. package/dist/shared/bricks/props/file.d.ts.map +1 -0
  133. package/dist/shared/bricks/props/file.js +3 -0
  134. package/dist/shared/bricks/props/geolocation.d.ts +16 -0
  135. package/dist/shared/bricks/props/geolocation.d.ts.map +1 -0
  136. package/dist/shared/bricks/props/geolocation.js +3 -0
  137. package/dist/shared/bricks/props/helpers.d.ts +8 -4
  138. package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
  139. package/dist/shared/bricks/props/helpers.js +1 -1
  140. package/dist/shared/bricks/props/image.d.ts +7 -1
  141. package/dist/shared/bricks/props/image.d.ts.map +1 -1
  142. package/dist/shared/bricks/props/image.js +1 -1
  143. package/dist/shared/bricks/props/number.js +1 -1
  144. package/dist/shared/bricks/props/padding.d.ts +2 -1
  145. package/dist/shared/bricks/props/padding.d.ts.map +1 -1
  146. package/dist/shared/bricks/props/padding.js +1 -1
  147. package/dist/shared/bricks/props/position.d.ts.map +1 -1
  148. package/dist/shared/bricks/props/position.js +1 -1
  149. package/dist/shared/bricks/props/preset.d.ts +92 -0
  150. package/dist/shared/bricks/props/preset.d.ts.map +1 -0
  151. package/dist/shared/bricks/props/preset.js +3 -0
  152. package/dist/shared/bricks/props/string.d.ts +8 -3
  153. package/dist/shared/bricks/props/string.d.ts.map +1 -1
  154. package/dist/shared/bricks/props/string.js +1 -1
  155. package/dist/shared/bricks/props/text.d.ts +3 -4
  156. package/dist/shared/bricks/props/text.d.ts.map +1 -1
  157. package/dist/shared/bricks/props/text.js +1 -1
  158. package/dist/shared/bricks/props/types.d.ts +5 -2
  159. package/dist/shared/bricks/props/types.d.ts.map +1 -1
  160. package/dist/shared/bricks.d.ts +243 -134
  161. package/dist/shared/bricks.d.ts.map +1 -1
  162. package/dist/shared/bricks.js +1 -1
  163. package/dist/shared/chunk-2AJYHJFG.js +8 -0
  164. package/dist/shared/chunk-2FHWS73Y.js +6 -0
  165. package/dist/shared/chunk-3FJVF357.js +3 -0
  166. package/dist/shared/chunk-3RHYJ6E7.js +5 -0
  167. package/dist/shared/chunk-3VZACK2Y.js +3 -0
  168. package/dist/shared/chunk-3XCKZ4JQ.js +3 -0
  169. package/dist/shared/chunk-4MPRHJWO.js +3 -0
  170. package/dist/shared/chunk-5EOWW7BX.js +4 -0
  171. package/dist/shared/chunk-5HYPCOSS.js +3 -0
  172. package/dist/shared/chunk-5K5C6XFX.js +3 -0
  173. package/dist/shared/chunk-6QS5PKLA.js +3 -0
  174. package/dist/shared/chunk-74EL657O.js +3 -0
  175. package/dist/shared/chunk-AJDYOLKP.js +3 -0
  176. package/dist/shared/chunk-ALFOZHAH.js +3 -0
  177. package/dist/shared/{chunk-FGU4BGP4.js → chunk-ATDJCXC2.js} +1 -1
  178. package/dist/shared/chunk-BJSO43AS.js +3 -0
  179. package/dist/shared/chunk-BTKLQQZA.js +3 -0
  180. package/dist/shared/chunk-CAVNF3BU.js +3 -0
  181. package/dist/shared/chunk-CCNU3J56.js +3 -0
  182. package/dist/shared/chunk-CTRS76PX.js +3 -0
  183. package/dist/shared/chunk-DCH2FI6T.js +8 -0
  184. package/dist/shared/chunk-DFSQR6QC.js +3 -0
  185. package/dist/shared/chunk-ENU4SEHO.js +3 -0
  186. package/dist/shared/chunk-G7LX3UKQ.js +3 -0
  187. package/dist/shared/chunk-GGJBTPGW.js +3 -0
  188. package/dist/shared/chunk-H24R3IWA.js +3 -0
  189. package/dist/shared/chunk-HYVQXAK5.js +3 -0
  190. package/dist/shared/chunk-LKVQQQTI.js +3 -0
  191. package/dist/shared/chunk-MITJPRGD.js +6 -0
  192. package/dist/shared/chunk-NLZBY65T.js +3 -0
  193. package/dist/shared/chunk-OUI2VDNM.js +3 -0
  194. package/dist/shared/chunk-OYIL5SCU.js +3 -0
  195. package/dist/shared/chunk-P5DZK4TS.js +3 -0
  196. package/dist/shared/chunk-PK3R5VOF.js +3 -0
  197. package/dist/shared/chunk-QPATZM3I.js +3 -0
  198. package/dist/shared/chunk-RDBEWW4G.js +7 -0
  199. package/dist/shared/chunk-RPBQZW5I.js +3 -0
  200. package/dist/shared/chunk-SLSIAUYV.js +3 -0
  201. package/dist/shared/chunk-SUG225LF.js +3 -0
  202. package/dist/shared/chunk-U5XOIYSS.js +3 -0
  203. package/dist/shared/{chunk-HIZPJNEM.js → chunk-UL7L3HYV.js} +1 -1
  204. package/dist/shared/chunk-V6BCYHZH.js +3 -0
  205. package/dist/shared/chunk-VA5LFJVE.js +3 -0
  206. package/dist/shared/chunk-VAC73HJE.js +3 -0
  207. package/dist/shared/chunk-VBWC36L2.js +3 -0
  208. package/dist/shared/chunk-VLGLD6GR.js +3 -0
  209. package/dist/shared/chunk-VTFWVTPI.js +3 -0
  210. package/dist/shared/chunk-WAAKB6OB.js +3 -0
  211. package/dist/shared/chunk-Y36SM2AO.js +3 -0
  212. package/dist/shared/chunk-Y7CEEEVW.js +3 -0
  213. package/dist/shared/chunk-YZ5Y4WE6.js +3 -0
  214. package/dist/shared/chunk-Z7SYP6FG.js +3 -0
  215. package/dist/shared/chunk-ZJNA4QQC.js +3 -0
  216. package/dist/shared/chunk-ZMDHKAWL.js +3 -0
  217. package/dist/shared/context.d.ts +38 -0
  218. package/dist/shared/context.d.ts.map +1 -0
  219. package/dist/shared/{chunk-WJ5CDDXW.js → context.js} +0 -1
  220. package/dist/shared/datarecords/types.d.ts +40 -20
  221. package/dist/shared/datarecords/types.d.ts.map +1 -1
  222. package/dist/shared/datarecords/types.js +1 -1
  223. package/dist/shared/datasources/external/http-json/fetcher.d.ts.map +1 -0
  224. package/dist/shared/datasources/external/http-json/options.d.ts.map +1 -0
  225. package/dist/shared/datasources/external/{json → http-json}/schema.d.ts +0 -1
  226. package/dist/shared/datasources/external/http-json/schema.d.ts.map +1 -0
  227. package/dist/shared/datasources/external/http-json/tests/fetcher.test.d.ts.map +1 -0
  228. package/dist/shared/datasources/external/rss/fetcher.d.ts.map +1 -1
  229. package/dist/shared/datasources/external/rss/sample.d.ts.map +1 -1
  230. package/dist/shared/datasources/external/rss/schema.d.ts +7 -13
  231. package/dist/shared/datasources/external/rss/schema.d.ts.map +1 -1
  232. package/dist/shared/datasources/external/youtube/list/sample.d.ts +23 -32
  233. package/dist/shared/datasources/external/youtube/list/sample.d.ts.map +1 -1
  234. package/dist/shared/datasources/external/youtube/list/schema.d.ts +24 -33
  235. package/dist/shared/datasources/external/youtube/list/schema.d.ts.map +1 -1
  236. package/dist/shared/datasources/internal/blog/schema.d.ts.map +1 -1
  237. package/dist/shared/datasources/internal/changelog/schema.d.ts.map +1 -1
  238. package/dist/shared/datasources/internal/recipes/schema.d.ts.map +1 -1
  239. package/dist/shared/datasources/samples.d.ts +1 -1
  240. package/dist/shared/datasources/samples.d.ts.map +1 -1
  241. package/dist/shared/datasources/schemas.d.ts +33 -583
  242. package/dist/shared/datasources/schemas.d.ts.map +1 -1
  243. package/dist/shared/datasources/schemas.js +1 -1
  244. package/dist/shared/datasources/types.d.ts +75 -1314
  245. package/dist/shared/datasources/types.d.ts.map +1 -1
  246. package/dist/shared/datasources/types.js +1 -1
  247. package/dist/shared/datasources.d.ts +14 -0
  248. package/dist/shared/datasources.d.ts.map +1 -1
  249. package/dist/shared/datasources.js +1 -1
  250. package/dist/shared/images.d.ts +30 -0
  251. package/dist/shared/images.d.ts.map +1 -0
  252. package/dist/shared/images.js +3 -0
  253. package/dist/shared/layout-constants.js +1 -1
  254. package/dist/shared/page.d.ts +110 -2676
  255. package/dist/shared/page.d.ts.map +1 -1
  256. package/dist/shared/page.js +1 -1
  257. package/dist/shared/prompt.d.ts +4 -0
  258. package/dist/shared/prompt.d.ts.map +1 -0
  259. package/dist/shared/prompt.js +3 -0
  260. package/dist/shared/responsive.d.ts +3 -3
  261. package/dist/shared/responsive.d.ts.map +1 -1
  262. package/dist/shared/responsive.js +1 -1
  263. package/dist/shared/site.d.ts +545 -0
  264. package/dist/shared/site.d.ts.map +1 -0
  265. package/dist/shared/site.js +3 -0
  266. package/dist/shared/sitemap.d.ts +38 -0
  267. package/dist/shared/sitemap.d.ts.map +1 -0
  268. package/dist/shared/sitemap.js +3 -0
  269. package/dist/shared/theme.d.ts +41 -19
  270. package/dist/shared/theme.d.ts.map +1 -1
  271. package/dist/shared/theme.js +1 -1
  272. package/dist/shared/themes/color-system.d.ts +5 -309
  273. package/dist/shared/themes/color-system.d.ts.map +1 -1
  274. package/dist/shared/themes/color-system.js +1 -1
  275. package/dist/shared/utils/invariant.js +1 -1
  276. package/dist/shared/utils/schema.d.ts +10 -1
  277. package/dist/shared/utils/schema.d.ts.map +1 -1
  278. package/dist/shared/utils/schema.js +1 -1
  279. package/dist/shared/utils/typed-ref.d.ts +32 -0
  280. package/dist/shared/utils/typed-ref.d.ts.map +1 -0
  281. package/dist/shared/utils/typed-ref.js +3 -0
  282. package/package.json +12 -12
  283. package/src/node/cli/api.ts +101 -0
  284. package/src/node/cli/commands/cmd-build.ts +64 -0
  285. package/src/node/cli/commands/login/cmd-login.ts +111 -0
  286. package/src/node/cli/commands/logout/cmd-logout.ts +11 -0
  287. package/src/node/cli/commands/publish/cmd-publish.ts +135 -0
  288. package/src/node/cli/commands/publish/parse-gitignore.ts +278 -0
  289. package/src/node/cli/commands/publish/uploader.ts +333 -0
  290. package/src/node/cli/constants.ts +14 -0
  291. package/src/node/cli/is-logged-in.ts +28 -0
  292. package/src/node/cli/program.ts +77 -0
  293. package/src/node/cli/store.ts +64 -0
  294. package/src/node/cli/tests/api.test.ts +161 -0
  295. package/src/node/cli/types.ts +34 -0
  296. package/src/node/cli/utils.ts +20 -0
  297. package/src/node/shared/config.ts +69 -0
  298. package/src/node/shared/logger.ts +44 -0
  299. package/src/shared/ajv.ts +111 -0
  300. package/src/shared/analytics/init.ts +14 -0
  301. package/src/shared/analytics/track.ts +21 -0
  302. package/src/shared/analytics/types.ts +13 -0
  303. package/src/shared/attributes.ts +222 -0
  304. package/src/shared/brick-manifest.ts +110 -0
  305. package/src/shared/bricks/manifests/accordion.manifest.ts +179 -0
  306. package/src/shared/bricks/manifests/all-manifests.ts +92 -0
  307. package/src/shared/bricks/manifests/button.manifest.ts +145 -0
  308. package/src/shared/bricks/manifests/card.manifest.ts +269 -0
  309. package/src/shared/bricks/manifests/carousel.manifest.ts +106 -0
  310. package/src/shared/bricks/manifests/container.manifest.ts +357 -0
  311. package/src/shared/bricks/manifests/divider.manifest.ts +121 -0
  312. package/src/shared/bricks/manifests/footer.manifest.ts +487 -0
  313. package/src/shared/bricks/manifests/form.manifest.ts +112 -0
  314. package/src/shared/bricks/manifests/hero.manifest.ts +132 -0
  315. package/src/shared/bricks/manifests/icon.manifest.ts +130 -0
  316. package/src/shared/bricks/manifests/image.manifest.ts +203 -0
  317. package/src/shared/bricks/manifests/images-gallery.manifest.ts +227 -0
  318. package/src/shared/bricks/manifests/map.manifest.ts +75 -0
  319. package/src/shared/bricks/manifests/navbar.manifest.ts +344 -0
  320. package/src/shared/bricks/manifests/sidebar.manifest.ts +90 -0
  321. package/src/shared/bricks/manifests/social-links.manifest.ts +370 -0
  322. package/src/shared/bricks/manifests/testimonials.manifest.ts +397 -0
  323. package/src/shared/bricks/manifests/tests/header.manifest.test.ts +10 -0
  324. package/src/shared/bricks/manifests/text.manifest.ts +164 -0
  325. package/src/shared/bricks/manifests/timeline.manifest.ts +456 -0
  326. package/src/shared/bricks/manifests/video.manifest.ts +59 -0
  327. package/src/shared/bricks/props/_style-presets.ts +352 -0
  328. package/src/shared/bricks/props/align.ts +59 -0
  329. package/src/shared/bricks/props/background.ts +118 -0
  330. package/src/shared/bricks/props/boolean.ts +11 -0
  331. package/src/shared/bricks/props/border.ts +84 -0
  332. package/src/shared/bricks/props/color.ts +24 -0
  333. package/src/shared/bricks/props/common.ts +37 -0
  334. package/src/shared/bricks/props/container.ts +356 -0
  335. package/src/shared/bricks/props/css-length.ts +25 -0
  336. package/src/shared/bricks/props/datasource.ts +60 -0
  337. package/src/shared/bricks/props/date.ts +24 -0
  338. package/src/shared/bricks/props/effects.ts +123 -0
  339. package/src/shared/bricks/props/enum.ts +42 -0
  340. package/src/shared/bricks/props/file.ts +12 -0
  341. package/src/shared/bricks/props/geolocation.ts +30 -0
  342. package/src/shared/bricks/props/helpers.ts +101 -0
  343. package/src/shared/bricks/props/image.ts +90 -0
  344. package/src/shared/bricks/props/number.ts +16 -0
  345. package/src/shared/bricks/props/padding.ts +21 -0
  346. package/src/shared/bricks/props/position.ts +27 -0
  347. package/src/shared/bricks/props/preset.ts +136 -0
  348. package/src/shared/bricks/props/string.ts +60 -0
  349. package/src/shared/bricks/props/tests/align.test.ts +37 -0
  350. package/src/shared/bricks/props/tests/background.test.ts +102 -0
  351. package/src/shared/bricks/props/tests/border.test.ts +38 -0
  352. package/src/shared/bricks/props/tests/effects.test.ts +37 -0
  353. package/src/shared/bricks/props/tests/helpers.test.ts +133 -0
  354. package/src/shared/bricks/props/tests/image.test.ts +71 -0
  355. package/src/shared/bricks/props/tests/padding.ts +12 -0
  356. package/src/shared/bricks/props/tests/string.test.ts +79 -0
  357. package/src/shared/bricks/props/text.ts +66 -0
  358. package/src/shared/bricks/props/types.ts +57 -0
  359. package/src/shared/bricks.ts +232 -0
  360. package/src/shared/context.ts +39 -0
  361. package/src/shared/datarecords/external/airtable/handler.ts +21 -0
  362. package/src/shared/datarecords/external/airtable/options.ts +22 -0
  363. package/src/shared/datarecords/external/generic-webhook/handler.ts +10 -0
  364. package/src/shared/datarecords/external/generic-webhook/options.ts +13 -0
  365. package/src/shared/datarecords/external/google/oauth/config.ts +30 -0
  366. package/src/shared/datarecords/external/google/sheets/handler.ts +26 -0
  367. package/src/shared/datarecords/external/google/sheets/options.ts +9 -0
  368. package/src/shared/datarecords/types.ts +120 -0
  369. package/src/shared/datarecords.ts +5 -0
  370. package/src/shared/datasources/README.md +3 -0
  371. package/src/shared/datasources/external/facebook/posts/fetcher.ts +62 -0
  372. package/src/shared/datasources/external/facebook/posts/sample.ts +35 -0
  373. package/src/shared/datasources/external/facebook/posts/schema.ts +33 -0
  374. package/src/shared/datasources/external/facebook/posts/tests/fetcher.test.ts +91 -0
  375. package/src/shared/datasources/external/http-json/fetcher.ts +28 -0
  376. package/src/shared/datasources/external/http-json/options.ts +12 -0
  377. package/src/shared/datasources/external/http-json/schema.ts +6 -0
  378. package/src/shared/datasources/external/http-json/tests/fetcher.test.ts +70 -0
  379. package/src/shared/datasources/external/instagram/feed/fetcher.ts +43 -0
  380. package/src/shared/datasources/external/instagram/feed/sample.ts +22 -0
  381. package/src/shared/datasources/external/instagram/feed/schema.ts +23 -0
  382. package/src/shared/datasources/external/instagram/feed/tests/fetcher.test.ts +82 -0
  383. package/src/shared/datasources/external/mastodon/account/fetcher.ts +33 -0
  384. package/src/shared/datasources/external/mastodon/account/sample.ts +33 -0
  385. package/src/shared/datasources/external/mastodon/account/schema.ts +45 -0
  386. package/src/shared/datasources/external/mastodon/account/tests/fetcher.test.ts +65 -0
  387. package/src/shared/datasources/external/mastodon/options.ts +11 -0
  388. package/src/shared/datasources/external/mastodon/status/fetcher.ts +45 -0
  389. package/src/shared/datasources/external/mastodon/status/sample.array.ts +59 -0
  390. package/src/shared/datasources/external/mastodon/status/sample.single.ts +55 -0
  391. package/src/shared/datasources/external/mastodon/status/schema.ts +130 -0
  392. package/src/shared/datasources/external/mastodon/status/tests/fetcher.test.ts +74 -0
  393. package/src/shared/datasources/external/meta/oauth/config.ts +16 -0
  394. package/src/shared/datasources/external/meta/options.ts +11 -0
  395. package/src/shared/datasources/external/rss/fetcher.ts +30 -0
  396. package/src/shared/datasources/external/rss/options.ts +11 -0
  397. package/src/shared/datasources/external/rss/sample.ts +22 -0
  398. package/src/shared/datasources/external/rss/schema.ts +42 -0
  399. package/src/shared/datasources/external/threads/media/fetcher.ts +63 -0
  400. package/src/shared/datasources/external/threads/media/sample.ts +44 -0
  401. package/src/shared/datasources/external/threads/media/schema.ts +37 -0
  402. package/src/shared/datasources/external/tiktok/oauth/config.ts +17 -0
  403. package/src/shared/datasources/external/tiktok/video/fetcher.ts +49 -0
  404. package/src/shared/datasources/external/tiktok/video/options.ts +12 -0
  405. package/src/shared/datasources/external/tiktok/video/sample.ts +26 -0
  406. package/src/shared/datasources/external/tiktok/video/schema.ts +27 -0
  407. package/src/shared/datasources/external/youtube/list/fetcher.ts +46 -0
  408. package/src/shared/datasources/external/youtube/list/options.ts +15 -0
  409. package/src/shared/datasources/external/youtube/list/sample.ts +33 -0
  410. package/src/shared/datasources/external/youtube/list/schema.ts +38 -0
  411. package/src/shared/datasources/external/youtube/oauth/config.ts +15 -0
  412. package/src/shared/datasources/fetcher.ts +17 -0
  413. package/src/shared/datasources/internal/blog/schema.ts +69 -0
  414. package/src/shared/datasources/internal/changelog/schema.ts +48 -0
  415. package/src/shared/datasources/internal/contact-info/schema.ts +20 -0
  416. package/src/shared/datasources/internal/cv/schema.ts +217 -0
  417. package/src/shared/datasources/internal/faq/schema.ts +27 -0
  418. package/src/shared/datasources/internal/job-board/schema.ts +228 -0
  419. package/src/shared/datasources/internal/links/schema.ts +15 -0
  420. package/src/shared/datasources/internal/recipes/schema.ts +42 -0
  421. package/src/shared/datasources/internal/restaurant/schema.ts +225 -0
  422. package/src/shared/datasources/provider-options.ts +7 -0
  423. package/src/shared/datasources/samples.ts +26 -0
  424. package/src/shared/datasources/schemas.ts +45 -0
  425. package/src/shared/datasources/types.ts +276 -0
  426. package/src/shared/datasources/utils.ts +16 -0
  427. package/src/shared/datasources.ts +42 -0
  428. package/src/shared/env.ts +23 -0
  429. package/src/shared/errors.ts +1 -0
  430. package/src/shared/images.ts +44 -0
  431. package/src/shared/index.ts +3 -0
  432. package/src/shared/layout-constants.ts +25 -0
  433. package/src/shared/manifest.ts +50 -0
  434. package/src/shared/oauth.ts +16 -0
  435. package/src/shared/page.ts +61 -0
  436. package/src/shared/prompt.ts +9 -0
  437. package/src/shared/responsive.ts +5 -0
  438. package/src/shared/site.ts +97 -0
  439. package/src/shared/sitemap.ts +66 -0
  440. package/src/shared/social-icons.ts +307 -0
  441. package/src/shared/tests/attributes.test.ts +37 -0
  442. package/src/shared/theme.ts +245 -0
  443. package/src/shared/themes/README.md +34 -0
  444. package/src/shared/themes/color-system.ts +127 -0
  445. package/src/shared/utils/canvas-data-uri.ts +2 -0
  446. package/src/shared/utils/invariant.ts +25 -0
  447. package/src/shared/utils/json-date.ts +8 -0
  448. package/src/shared/utils/merge.ts +12 -0
  449. package/src/shared/utils/object-hash.ts +7 -0
  450. package/src/shared/utils/schema.ts +30 -0
  451. package/src/shared/utils/try-catch.ts +12 -0
  452. package/src/shared/utils/typed-ref.ts +41 -0
  453. package/dist/shared/bricks/manifests/countdown.manifest.d.ts +0 -57
  454. package/dist/shared/bricks/manifests/countdown.manifest.d.ts.map +0 -1
  455. package/dist/shared/bricks/manifests/countdown.manifest.js +0 -3
  456. package/dist/shared/bricks/manifests/generic-component.manifest.d.ts +0 -62
  457. package/dist/shared/bricks/manifests/generic-component.manifest.d.ts.map +0 -1
  458. package/dist/shared/bricks/manifests/generic-component.manifest.js +0 -3
  459. package/dist/shared/bricks/manifests/header.manifest.d.ts +0 -275
  460. package/dist/shared/bricks/manifests/header.manifest.d.ts.map +0 -1
  461. package/dist/shared/bricks/manifests/header.manifest.js +0 -3
  462. package/dist/shared/bricks/props/_docs-common-styles.d.ts +0 -59
  463. package/dist/shared/bricks/props/_docs-common-styles.d.ts.map +0 -1
  464. package/dist/shared/bricks/props/_docs-common-styles.js +0 -3
  465. package/dist/shared/bricks/props/tests/container.test.d.ts +0 -2
  466. package/dist/shared/bricks/props/tests/container.test.d.ts.map +0 -1
  467. package/dist/shared/chunk-2ZPY4LCA.js +0 -3
  468. package/dist/shared/chunk-3CY6AZG7.js +0 -3
  469. package/dist/shared/chunk-4FLI7C3B.js +0 -3
  470. package/dist/shared/chunk-64II435T.js +0 -3
  471. package/dist/shared/chunk-6LDLGZUM.js +0 -3
  472. package/dist/shared/chunk-6MEWEGNA.js +0 -3
  473. package/dist/shared/chunk-AZ63RF3K.js +0 -3
  474. package/dist/shared/chunk-BK6LBWDI.js +0 -3
  475. package/dist/shared/chunk-BMDB2V7J.js +0 -3
  476. package/dist/shared/chunk-BXEKJXEP.js +0 -3
  477. package/dist/shared/chunk-DAPQ4JPP.js +0 -3
  478. package/dist/shared/chunk-ERSFH7XA.js +0 -3
  479. package/dist/shared/chunk-F2ZVIFHO.js +0 -3
  480. package/dist/shared/chunk-H6L4KRCJ.js +0 -3
  481. package/dist/shared/chunk-IKAMZM4I.js +0 -3
  482. package/dist/shared/chunk-IWSVY2VC.js +0 -3
  483. package/dist/shared/chunk-JVDUEZYO.js +0 -3
  484. package/dist/shared/chunk-KB4HY432.js +0 -3
  485. package/dist/shared/chunk-LDOM2LJF.js +0 -3
  486. package/dist/shared/chunk-P5FVZ5PL.js +0 -3
  487. package/dist/shared/chunk-PD7P5KSV.js +0 -3
  488. package/dist/shared/chunk-PJ6HA55L.js +0 -3
  489. package/dist/shared/chunk-PSSJMWGU.js +0 -3
  490. package/dist/shared/chunk-Q4MXTCE4.js +0 -8
  491. package/dist/shared/chunk-QCQH5WLN.js +0 -3
  492. package/dist/shared/chunk-RBYYMUOZ.js +0 -3
  493. package/dist/shared/chunk-RHRJYPU3.js +0 -3
  494. package/dist/shared/chunk-S64XUCWM.js +0 -3
  495. package/dist/shared/chunk-SO5M7CYA.js +0 -3
  496. package/dist/shared/chunk-SQVL4WSX.js +0 -3
  497. package/dist/shared/chunk-SWGSHUTE.js +0 -3
  498. package/dist/shared/chunk-U44NTSIO.js +0 -3
  499. package/dist/shared/chunk-U4R5EGBK.js +0 -3
  500. package/dist/shared/chunk-U5WW6K7W.js +0 -3
  501. package/dist/shared/chunk-V2NS45PF.js +0 -3
  502. package/dist/shared/chunk-WOEBR25A.js +0 -3
  503. package/dist/shared/chunk-WPTVLIYS.js +0 -3
  504. package/dist/shared/chunk-WXKRIUTA.js +0 -3
  505. package/dist/shared/chunk-XBX6II3M.js +0 -3
  506. package/dist/shared/chunk-XGCBIXOO.js +0 -3
  507. package/dist/shared/chunk-YY6DANZF.js +0 -3
  508. package/dist/shared/chunk-ZWQHIQEQ.js +0 -3
  509. package/dist/shared/datasources/external/json/fetcher.d.ts.map +0 -1
  510. package/dist/shared/datasources/external/json/options.d.ts.map +0 -1
  511. package/dist/shared/datasources/external/json/schema.d.ts.map +0 -1
  512. package/dist/shared/datasources/external/json/tests/fetcher.test.d.ts.map +0 -1
  513. package/dist/shared/datasources/external/rss/tests/fetcher.test.d.ts +0 -2
  514. package/dist/shared/datasources/external/rss/tests/fetcher.test.d.ts.map +0 -1
  515. package/dist/shared/template.d.ts +0 -898
  516. package/dist/shared/template.d.ts.map +0 -1
  517. package/dist/shared/template.js +0 -3
  518. package/dist/shared/tests/page.test.d.ts +0 -2
  519. package/dist/shared/tests/page.test.d.ts.map +0 -1
  520. package/dist/shared/tests/test-config.d.ts +0 -3
  521. package/dist/shared/tests/test-config.d.ts.map +0 -1
  522. package/dist/shared/themes/all-themes.d.ts +0 -3
  523. package/dist/shared/themes/all-themes.d.ts.map +0 -1
  524. package/dist/shared/themes/all-themes.js +0 -3
  525. /package/dist/shared/datasources/external/{json → http-json}/fetcher.d.ts +0 -0
  526. /package/dist/shared/datasources/external/{json → http-json}/options.d.ts +0 -0
  527. /package/dist/shared/datasources/external/{json → http-json}/tests/fetcher.test.d.ts +0 -0
@@ -0,0 +1,4 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as p}from"./chunk-ENU4SEHO.js";import{b as a}from"./chunk-P5DZK4TS.js";import{a as o}from"./chunk-74EL657O.js";import{d as i}from"./chunk-HYVQXAK5.js";import{b as n}from"./chunk-AJDYOLKP.js";import{b as s}from"./chunk-CAVNF3BU.js";import{b as r,d as t,e}from"./chunk-BJSO43AS.js";import{FaWpforms as d}from"react-icons/fa6";var b=p({type:"form",kind:"widget",name:"Form",description:"A form element",aiInstructions:`The form brick automatically renders form fields based on the datarecord id provided in the props.
4
+ There is no need to define the form fields manually and the form does not accept any children`,isContainer:!1,icon:d,props:t({title:e(o("Title","My form",{description:"The title of the form"})),intro:e(o("Intro",void 0,{description:"The intro text of the form"})),datarecordId:o("Datarecord ID",void 0,{description:"The ID of the datarecord to use to generate the form fields"}),padding:e(a),backgroundColor:e(i()),color:e(s()),align:e(r({title:"Alignment",description:"The alignment of the form fields. Default is vertical",schema:n(["vertical","horizontal"],{default:"vertical",title:"Form alignment",description:"Choose between vertical or horizontal alignment for the form fields"})}))})}),v=[{description:"Basic contact form",type:"form",props:{title:"Contact Us",intro:"We'd love to hear from you. Send us a message and we'll respond as soon as possible.",align:"vertical",datarecordId:"contacts"}},{description:"User registration form",type:"form",props:{title:"Create Account",intro:"Join our platform and start your journey today.",align:"vertical",datarecordId:"user-registration"}},{description:"Newsletter subscription form (horizontal)",type:"form",props:{title:"Stay Updated",intro:"Subscribe to our newsletter for the latest updates and exclusive content.",align:"horizontal",datarecordId:"newsletter-subscription"}},{description:"Event registration form",type:"form",props:{title:"Conference Registration",intro:"Register for the Annual Tech Conference 2025. Early bird pricing ends soon!",align:"vertical",datarecordId:"event-registration"}},{description:"Job application form",type:"form",props:{title:"Apply for Position",intro:"We're excited to learn more about you! Please fill out this application form completely.",align:"vertical",datarecordId:"job-application"}},{description:"Customer feedback form",type:"form",props:{title:"Share Your Feedback",intro:"Your opinion matters to us. Help us improve our products and services.",align:"vertical",datarecordId:"customer-feedback"}}];export{b as a,v as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b}from"./chunk-U5XOIYSS.js";import{a as f}from"./chunk-OUI2VDNM.js";import{a as m}from"./chunk-ATDJCXC2.js";import{a as u}from"./chunk-ENU4SEHO.js";import{c}from"./chunk-VBWC36L2.js";import{b as d}from"./chunk-VTFWVTPI.js";import{a as g,d as i}from"./chunk-74EL657O.js";import{b as p}from"./chunk-DFSQR6QC.js";import{d as l}from"./chunk-HYVQXAK5.js";import{b as s}from"./chunk-LKVQQQTI.js";import{b as a}from"./chunk-CAVNF3BU.js";import{a as e,b as t,d as n,e as o}from"./chunk-BJSO43AS.js";import{Type as r}from"@sinclair/typebox";import{VscLayoutPanelOff as h}from"react-icons/vsc";var v=r.Array(r.Object({href:i(),label:r.String()}),{default:[{href:"#",label:"Link 1"},{href:"#",label:"Link 2"},{href:"#",label:"Link 3"}]}),V=u({type:"navbar",kind:"widget",name:"Navbar",description:"A navigation bar with logo and navigation",aiInstructions:"This brick should be used on most sites/pages.",datasource:v,duplicatable:!1,defaultHeight:{desktop:3,mobile:3},maxHeight:{desktop:3,mobile:3},minHeight:{desktop:3,mobile:3},icon:h,iconClassName:"rotate-180",props:n({container:o(e({title:"Main element",children:{backgroundColor:o(l()),border:o(s),shadow:o(p()),fixedPositioned:o(b())},metadata:{"ui:responsive":!0}})),brand:e({title:"Brand",children:{name:o(c({title:"Brand name",default:"Acme Inc.",disableSizing:!0})),logo:o(d({title:"Logo",noObjectOptions:!0})),hideText:o(m("Hide text")),color:o(a())}}),navigation:e({title:"Links",children:{position:t({title:"Position",schema:r.Union([r.Literal("left",{title:"Left"}),r.Literal("center",{title:"Center"}),r.Literal("right",{title:"Right"})],{default:"right"})}),color:o(a()),datasource:o(f()),staticItems:o(t({title:"Nav items",schema:r.Array(r.Object({urlOrPageId:i(),label:o(g("Label"))}),{title:"Navigation items",default:[]})}))}})})}),z=[{description:"Corporate navbar with logo and right-aligned navigation",type:"navbar",props:{preset:"prominent-primary",container:{},brand:{name:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/120x40.png?text=TechCorp",alt:"TechCorp Solutions logo"},color:"#1f2937"},navigation:{position:"right",color:"#374151",staticItems:[{urlOrPageId:"/services"},{urlOrPageId:"/about"},{urlOrPageId:"/portfolio"},{urlOrPageId:"/contact"}]}}},{description:"Dark theme navbar with centered navigation",type:"navbar",props:{container:{backgroundColor:"#1f2937",shadow:"shadow-lg"},brand:{name:"Creative Studio",logo:{src:"https://via.placeholder.com/100x35.png?text=Studio",alt:"Creative Studio logo"},color:"#ffffff"},navigation:{position:"center",color:"#d1d5db",staticItems:[{urlOrPageId:"/work"},{urlOrPageId:"/services"},{urlOrPageId:"/team"},{urlOrPageId:"/blog"}]}}},{description:"SaaS platform navbar with fixed positioning",type:"navbar",props:{container:{backgroundColor:"#3b82f6",fixedPositioned:!0,shadow:"shadow-md"},brand:{name:"CloudFlow",logo:{src:"https://via.placeholder.com/110x38.png?text=CloudFlow",alt:"CloudFlow platform logo"},color:"#ffffff"},navigation:{position:"right",color:"#f1f5f9",staticItems:[{urlOrPageId:"/features"},{urlOrPageId:"/pricing"},{urlOrPageId:"/docs"},{urlOrPageId:"/login"}]}}},{description:"E-commerce navbar",type:"navbar",props:{preset:"prominent-primary",brand:{name:"ShopEasy",logo:{src:"https://via.placeholder.com/130x45.png?text=ShopEasy",alt:"ShopEasy store logo"}},navigation:{position:"right",staticItems:[{urlOrPageId:"/products"},{urlOrPageId:"/categories"},{urlOrPageId:"/deals"},{urlOrPageId:"/account"},{urlOrPageId:"/cart"}]}}},{description:"Agency navbar with logo-only brand",type:"navbar",props:{container:{shadow:"shadow-sm"},brand:{logo:{src:"https://via.placeholder.com/140x50.png?text=Agency+Logo",alt:"Digital agency logo"},hideText:!0},navigation:{position:"right",color:"#64748b",staticItems:[{urlOrPageId:"/projects"},{urlOrPageId:"/capabilities"},{urlOrPageId:"/insights"},{urlOrPageId:"/contact"}]}}},{description:"Restaurant navbar with warm styling",type:"navbar",props:{container:{backgroundColor:"#7c2d12",shadow:"shadow-lg"},brand:{name:"Bella Vista",logo:{src:"https://via.placeholder.com/80x50.png?text=BV",alt:"Bella Vista restaurant logo"},color:"#fed7aa"},navigation:{position:"center",color:"#fdba74",staticItems:[{urlOrPageId:"/menu"},{urlOrPageId:"/reservations"},{urlOrPageId:"/events"},{urlOrPageId:"/location"}]}}},{description:"Portfolio navbar with left-aligned navigation",type:"navbar",props:{preset:"prominent-secondary",container:{backgroundColor:"#f1f5f9",border:{sides:["border-b"],color:"border-accent"}},brand:{name:"Alex Martinez",color:"#334155"},navigation:{position:"left",color:"#64748b",staticItems:[{urlOrPageId:"/work"},{urlOrPageId:"/about"},{urlOrPageId:"/experience"},{urlOrPageId:"/contact"}]}}},{description:"Non-profit navbar with mission-focused design",type:"navbar",props:{preset:"prominent-primary",container:{shadow:"shadow-md"},brand:{name:"Green Future",logo:{src:"https://via.placeholder.com/100x40.png?text=GF",alt:"Green Future organization logo"},color:"#d1fae5"},navigation:{position:"right",color:"#a7f3d0",staticItems:[{urlOrPageId:"/mission"},{urlOrPageId:"/programs"},{urlOrPageId:"/volunteer"},{urlOrPageId:"/donate"}]}}}];export{v as a,V as b,z as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as t}from"./chunk-UL7L3HYV.js";import{a as d}from"./chunk-ENU4SEHO.js";import{b as a}from"./chunk-P5DZK4TS.js";import{a as s}from"./chunk-74EL657O.js";import{b as n}from"./chunk-DFSQR6QC.js";import{d as p}from"./chunk-HYVQXAK5.js";import{b as e}from"./chunk-LKVQQQTI.js";import{b as r,d as i,e as o}from"./chunk-BJSO43AS.js";import{LiaMapMarkedAltSolid as c}from"react-icons/lia";import{Type as m}from"@sinclair/typebox";var T=d({type:"map",kind:"widget",name:"Map",description:"A map element showing a location",aiInstructions:"This brick can be used to show a location on a map. Use the 'location' prop to set the coordinates and an optional tooltip.",icon:c,props:i({location:r({title:"Location",description:"The location to display on the map",schema:m.Object({lat:t("Latitude"),lng:t("Longitude"),tooltip:o(s("Tooltip"))})}),backgroundColor:o(p()),border:o(e),padding:o(a),shadow:o(n())})}),A=[{description:"Map showing a specific location",type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA"}}},{description:"Map with custom styles",type:"map",props:{location:{lat:40.7128,lng:-74.006,tooltip:"New York, NY"},backgroundColor:"bg-gray-100",border:{color:"border-gray-300",width:"border"},padding:"p-16",shadow:"shadow-lg"}}];export{T as a,A as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as m}from"./chunk-ENU4SEHO.js";import{c as p}from"./chunk-VBWC36L2.js";import{b as l}from"./chunk-VTFWVTPI.js";import{b as s}from"./chunk-P5DZK4TS.js";import{a}from"./chunk-74EL657O.js";import{b as c}from"./chunk-DFSQR6QC.js";import{b as r}from"./chunk-HYVQXAK5.js";import{b as n}from"./chunk-LKVQQQTI.js";import{b as o,d as i,e}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";import{HiOutlineChatBubbleBottomCenter as h}from"react-icons/hi2";var A=m({type:"testimonials",name:"Testimonials",kind:"widget",description:"Display testimonials from users",repeatable:!1,icon:h,props:i({orientation:e(o({title:"Orientation",schema:t.Union([t.Literal("horizontal",{title:"Horizontal"}),t.Literal("vertical",{title:"Vertical"})],{default:"horizontal"})})),background:e(r()),border:e(n),padding:e(s),shadow:e(c()),testimonials:t.Array(t.Object({author:a("Author","John Doe"),company:e(a("Company")),text:p({title:"Text",default:"Amazing product!"}),avatar:e(l({title:"Avatar"})),socialIcon:e(a("Social Icon",void 0,{description:"Iconify reference for the social icon","ui:field":"iconify"}))}))},{default:{orientation:"horizontal"}})}),M=[{description:"SaaS platform testimonials with avatars (horizontal)",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Sarah Johnson",company:"TechCorp Solutions",text:"This platform has completely transformed how we manage our projects. The intuitive interface and powerful automation features have saved us countless hours.",avatar:{src:"https://via.placeholder.com/80x80.png?text=SJ",alt:"Sarah Johnson profile photo"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"StartupFlow",text:"Outstanding customer support and regular feature updates. We've been using this for over a year and it keeps getting better. Highly recommend!",avatar:{src:"https://via.placeholder.com/80x80.png?text=MC",alt:"Mike Chen profile photo"},socialIcon:"mdi:twitter"},{author:"Emily Rodriguez",company:"Digital Agency Pro",text:"The automation capabilities are game-changing. What used to take us days now happens automatically. It's like having an extra team member.",avatar:{src:"https://via.placeholder.com/80x80.png?text=ER",alt:"Emily Rodriguez profile photo"},socialIcon:"mdi:linkedin"}]}},{description:"E-commerce customer reviews (vertical)",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Jessica Williams",company:"Happy Customer",text:"Amazing product quality and fast shipping! The item exceeded my expectations and the customer service was excellent when I had questions.",avatar:{src:"https://via.placeholder.com/60x60.png?text=JW",alt:"Jessica Williams customer photo"},socialIcon:"mdi:star"},{author:"David Park",text:"Five stars! Been using this product for 6 months and it's still going strong. Definitely worth the investment and I've already recommended it to friends.",avatar:{src:"https://via.placeholder.com/60x60.png?text=DP",alt:"David Park customer photo"},socialIcon:"mdi:thumbs-up"}]}},{description:"Agency client testimonials with company info",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Rachel Thompson",company:"Global Enterprises",text:"The team delivered exceptional results on time and within budget. Their creative approach and attention to detail made all the difference for our brand.",avatar:{src:"https://via.placeholder.com/70x70.png?text=RT",alt:"Rachel Thompson headshot"},socialIcon:"mdi:briefcase"},{author:"Alex Kumar",company:"Innovation Labs",text:"Working with this agency was a game-changer for our digital presence. They understood our vision and brought it to life beautifully.",avatar:{src:"https://via.placeholder.com/70x70.png?text=AK",alt:"Alex Kumar profile"},socialIcon:"mdi:lightbulb"},{author:"Maria Santos",company:"Retail Plus",text:"Professional, creative, and results-driven. Our website traffic increased by 200% after their redesign. Couldn't be happier!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MS",alt:"Maria Santos photo"},socialIcon:"mdi:chart-line"}]}},{description:"App user feedback (vertical layout)",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Tom Wilson",text:"This app has made my daily routine so much easier. Love the clean interface and how everything just works seamlessly across all my devices.",avatar:{src:"https://via.placeholder.com/65x65.png?text=TW",alt:"Tom Wilson user photo"},socialIcon:"mdi:cellphone"},{author:"Lisa Chang",text:"Been using this app for months and it's become essential to my workflow. The latest update with AI features is incredibly impressive.",avatar:{src:"https://via.placeholder.com/65x65.png?text=LC",alt:"Lisa Chang profile picture"},socialIcon:"mdi:robot"},{author:"James Miller",text:"Simple, powerful, and reliable. Exactly what I was looking for. The customer support team is also very responsive and helpful.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JM",alt:"James Miller avatar"},socialIcon:"mdi:heart"}]}},{description:"Course/education testimonials with social icons",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Amanda Foster",company:"UX Designer",text:"This course completely changed my career trajectory. The practical projects and expert feedback helped me land my dream job in just 3 months.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AF",alt:"Amanda Foster student photo"},socialIcon:"mdi:school"},{author:"Carlos Rodriguez",company:"Software Engineer",text:"The instructors are industry experts and the content is always up-to-date. I've taken three courses here and each one exceeded my expectations.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CR",alt:"Carlos Rodriguez profile"},socialIcon:"mdi:code-tags"}]}},{description:"Simple testimonials without avatars",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Anonymous User",text:"Great service and excellent value for money. Would definitely recommend to others looking for a reliable solution.",socialIcon:"mdi:account-circle"},{author:"Verified Customer",text:"Quick delivery and exactly as described. Very satisfied with my purchase and the overall experience.",socialIcon:"mdi:check-circle"},{author:"Beta Tester",text:"Been using the beta version and it's already impressive. Looking forward to the full release with even more features.",socialIcon:"mdi:beta"}]}},{description:"Consultant testimonials with professional focus",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Dr. Patricia Lee",company:"Medical Practice Solutions",text:"The consulting services provided were invaluable to our practice. Revenue increased by 40% and patient satisfaction scores improved significantly.",avatar:{src:"https://via.placeholder.com/80x80.png?text=PL",alt:"Dr. Patricia Lee headshot"},socialIcon:"mdi:medical-bag"},{author:"Robert Kim",company:"Manufacturing Inc.",text:"Their strategic insights helped us streamline operations and reduce costs by 25%. The ROI was evident within the first quarter.",avatar:{src:"https://via.placeholder.com/80x80.png?text=RK",alt:"Robert Kim executive photo"},socialIcon:"mdi:factory"}]}},{description:"Event testimonials with social media icons",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Jennifer Adams",company:"Marketing Director",text:"Best conference I've attended in years! The networking opportunities were incredible and the speakers were top-notch industry leaders.",avatar:{src:"https://via.placeholder.com/70x70.png?text=JA",alt:"Jennifer Adams conference attendee"},socialIcon:"mdi:twitter"},{author:"Michael Brown",company:"Tech Startup Founder",text:"The workshops were incredibly practical and I left with actionable strategies I could implement immediately. Already planning to attend next year!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MB",alt:"Michael Brown participant photo"},socialIcon:"mdi:linkedin"},{author:"Sophie Chen",company:"Product Manager",text:"Amazing organization and valuable content. Met so many like-minded professionals and learned cutting-edge techniques I'm excited to try.",avatar:{src:"https://via.placeholder.com/70x70.png?text=SC",alt:"Sophie Chen attendee photo"},socialIcon:"mdi:instagram"}]}},{description:"Fitness/wellness testimonials with achievement focus",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Mark Thompson",text:"Lost 30 pounds in 4 months following this program! The personalized approach and constant support made all the difference in achieving my goals.",avatar:{src:"https://via.placeholder.com/75x75.png?text=MT",alt:"Mark Thompson transformation photo"},socialIcon:"mdi:dumbbell"},{author:"Anna Johnson",text:"Finally found a workout routine I actually enjoy! The trainers are motivating and the community support keeps me accountable every day.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AJ",alt:"Anna Johnson fitness photo"},socialIcon:"mdi:heart-pulse"},{author:"Chris Davis",text:"This program completely changed my relationship with fitness. I'm stronger, more confident, and have energy I haven't felt in years.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CD",alt:"Chris Davis success photo"},socialIcon:"mdi:trophy"}]}},{description:"Restaurant customer reviews with food focus",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Food Critic Helen",company:"Local Food Blog",text:"Exceptional cuisine and impeccable service! Every dish was a masterpiece and the attention to detail was remarkable. A true culinary experience.",avatar:{src:"https://via.placeholder.com/65x65.png?text=HC",alt:"Helen food critic photo"},socialIcon:"mdi:silverware-fork-knife"},{author:"Regular Customer Joe",text:"Been coming here for years and it never disappoints. The staff knows my order by heart and the quality is consistently outstanding.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JC",alt:"Joe regular customer"},socialIcon:"mdi:food"}]}}];export{A as a,M as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as i}from"./chunk-BJSO43AS.js";import{a as n}from"./chunk-OYIL5SCU.js";import{Type as e}from"@sinclair/typebox";function d(t,r,a={}){return i({title:t,schema:e.String({default:r,...a})})}function l(t="URL",r){return i({title:t,schema:e.String({format:"uri","ui:field":"url",default:r})})}var o=e.String({"ui:field":"page-id"});function s(t="URL or Page ID",r){return i({title:t,schema:e.Union([e.String({format:"uri"}),o],{$id:"content:urlOrPageId",default:r,title:"URL or Page ID","ui:field":"url-page-id","ai:instructions":"This field can be a URL or a page ID. Use the page ID when linking to a internal page, and a URL for external links."})})}function f(t={}){return n("content:urlOrPageId",{...t})}export{d as a,l as b,s as c,f as d};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{Type as i}from"@sinclair/typebox";function s(n){return JSON.parse(JSON.stringify(n))}var p=(n,e={})=>i.Unsafe({type:"string",enum:n,...e});function u(n){if(!("enum"in n)||!("enumNames"in n))throw new Error("Schema does not contain enum or enumNames properties");let{enum:e,enumNames:t}=n;return e.map((r,m)=>({const:r,title:t?t[m]:r}))}export{s as a,p as b,u as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as i}from"./chunk-BJSO43AS.js";import{a as n}from"./chunk-OYIL5SCU.js";import{Type as s}from"@sinclair/typebox";function h(t={}){let e=["px","%","em","rem","vh","vw","dvh","dvw","rlh","lh","cqh","cqw"];return i({title:"Length",schema:s.String({$id:"styles:cssLength",description:`A CSS length value. Must be a number with a unit (e.g. "10px", "50%"). The unit can be one of the following: ${e?.join(", ")}.`,title:"Length",default:t.default,...t,"ui:field":"css-length","ui:css-units":e})})}function c(t={}){return n("styles:cssLength",t)}export{h as a,c as b};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as o}from"./chunk-BMDB2V7J.js";import{Type as t}from"@sinclair/typebox";function i(n,e,r={}){return o({title:n,schema:t.Boolean({default:e??!1,...r})})}export{i as a};
3
+ import{b as o}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";function i(n,e,r={}){return o({title:n,schema:t.Boolean({default:e??!1,...r})})}export{i as a};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as i}from"./chunk-VA5LFJVE.js";import{Type as n}from"@sinclair/typebox";import{get as s}from"lodash-es";function u(t){return t.type==="object"}function T({title:t,children:e,category:r="settings",metadata:o,options:p}){return u(e)?n.Composite([n.Object({}),e],{title:t,metadata:{category:r,group:!0,...o},...p}):n.Object(e,{title:t,...p,metadata:{category:r,group:!0,...o}})}function d({schema:t,...e}){return Object.assign(t,e),t}function g(t){let e=t.metadata;return{title:t.title??t.metadata?.title,meta:e,tab:e.groupTab||"common"}}function m(t,e){let r={...i,...t};return n.Object(r,e)}var b=n.Optional,l=n.Array;function a(t,e="",r={}){if(t.type==="object")for(let o in t.properties){let p=t.properties[o];p["ui:styleId"]&&(r[`${e}${o}`]=p["ui:styleId"]),a(p,`${e}${o}.`,r)}else t.type==="array"&&a(t.items,`${e}[].`,r);return r}function x(t,e,r){for(let[o,p]of Object.entries(t))if(p===r)return s(e,o)}export{T as a,d as b,g as c,m as d,b as e,l as f,a as g,x as h};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as s}from"./chunk-ENU4SEHO.js";import{b as p}from"./chunk-VTFWVTPI.js";import{b as a}from"./chunk-P5DZK4TS.js";import{a as o}from"./chunk-74EL657O.js";import{b as d}from"./chunk-DFSQR6QC.js";import{d as t}from"./chunk-HYVQXAK5.js";import{b as i}from"./chunk-LKVQQQTI.js";import{d as r,e}from"./chunk-BJSO43AS.js";import{RxImage as n}from"react-icons/rx";import{Type as m}from"@sinclair/typebox";var y=s({type:"image",kind:"brick",name:"Image",description:"An image brick",repeatable:!0,defaultHeight:{desktop:8,mobile:8},defaultWidth:{desktop:3,mobile:3},icon:n,props:r({image:p(),backgroundColor:e(t()),border:e(i),padding:e(a),shadow:e(d()),blurHash:e(o("Blur Hash",void 0,{"ui:fied":"hidden",description:"A placeholder for the image while it is loading. Use a blur hash string."})),author:e(m.Object({name:o("Image Author",void 0,{"ui:field":"hidden",description:"Image author. Use this to give credit to the author"}),url:o("Image Author URL",void 0,{"ui:field":"hidden",description:"Image author URL. Use this to give credit to the author"})})),provider:e(o("Image Provider",void 0,{"ui:field":"hidden",description:"Image provider. Use this to give credit to the author","ai:instructions":"The provider of the image, e.g. 'unsplash', 'pexels', etc."}))})}),k=[{description:"Hero landscape image with shadow",type:"image",props:{image:{src:"https://via.placeholder.com/800x400.png?text=Hero+Landscape",alt:"Beautiful landscape view for hero section"},shadow:"shadow-lg"}},{description:"Team member profile photo",type:"image",props:{image:{src:"https://via.placeholder.com/300x300.png?text=Profile+Photo",alt:"Team member profile photo"},shadow:"shadow-md",border:{rounding:"rounded-full"}}},{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"}},{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"}},{description:"Testimonial customer photo",type:"image",props:{image:{src:"https://via.placeholder.com/120x120.png?text=Customer",alt:"Happy customer testimonial photo"},border:{rounding:"rounded-xl"},shadow:"shadow-lg",padding:"p-2",backgroundColor:"#ffffff"}},{description:"Event banner image",type:"image",props:{image:{src:"https://via.placeholder.com/800x200.png?text=Event+Banner",alt:"Annual conference event banner"},border:{rounding:"rounded-lg"},shadow:"shadow-xl",author:{name:"Event Photographer",url:"https://example.com/photographer"},provider:"pexels"}},{description:"Illustration with background",type:"image",props:{image:{src:"https://via.placeholder.com/150x150.png?text=Blabla+Feature",alt:"Feature illustration"},backgroundColor:"#f0f9ff",padding:"p-8",border:{rounding:"rounded-lg"},shadow:"shadow-sm"}},{description:"Image with blurHash",type:"image",props:{image:{src:"https://via.placeholder.com/300x200.png?text=Card+Image",alt:"My image"},border:{rounding:"rounded-lg"},shadow:"shadow-md",blurHash:"L6PZfSi_.AyE_3t7t7R**0o#DgR4"}}];export{y as a,k as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as o}from"./chunk-BJSO43AS.js";import{a as e}from"./chunk-OYIL5SCU.js";import{Type as i}from"@sinclair/typebox";function l(t,r="Text color"){return o({title:r,schema:i.String({$id:"styles:color","ai:instructions":"hex/rgb/rgba color or classes like `text-<variant>-<shade>`, variants being `primary`, `secondary`, `accent` and `neutral`, and shades between 50 and 900",default:t,"ui:styleId":"#styles:color","ui:field":"color","ui:color-type":"text"})})}function a(t={}){return e("styles:color",{...t,"ui:styleId":"#styles:color"})}export{l as a,a as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as p}from"./chunk-ENU4SEHO.js";import{a as o,d as t}from"./chunk-74EL657O.js";import{b as i,d as e,e as n}from"./chunk-BJSO43AS.js";import{PiConfetti as r}from"react-icons/pi";var l=p({type:"icon",name:"Icon",kind:"brick",description:"An icon with optional text",repeatable:!0,icon:r,props:e({icon:i({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",void 0,{description:"Icon to display (iconify reference)","ui:field":"iconify"})}),size:i({title:"Size",description:"Size of the icon",schema:o("Size","1em",{description:"Size of the icon","ai:instructions":"The size of the icon can be set using 'em' or '%' unit."})}),link:n(t({title:"Link"}))})}),f=[{description:"Large heart icon",type:"icon",props:{icon:"mdi:heart",size:"2em"}},{description:"Shopping cart icon",type:"icon",props:{icon:"mdi:cart",size:"1.2em"}},{description:"Email/message icon",type:"icon",props:{icon:"mdi:email",size:"1.1em",link:"mailto:john.doe@example.com"}},{description:"Phone contact icon",type:"icon",props:{icon:"mdi:phone",size:"1em",link:"tel:+1234567890"}},{description:"Large download icon",type:"icon",props:{icon:"mdi:download",size:"2.5em",link:"https://example.com/file.zip"}},{description:"Menu hamburger icon",type:"icon",props:{icon:"mdi:menu",size:"1.4em"}},{description:"Close/X icon",type:"icon",props:{icon:"mdi:close",size:"1.2em"}},{description:"Social media Facebook icon",type:"icon",props:{icon:"mdi:facebook",size:"1.4em",link:"https://www.facebook.com/yourprofile"}},{description:"Social media Twitter icon",type:"icon",props:{icon:"mdi:twitter",size:"1.4em",link:"https://twitter.com/yourprofile"}},{description:"Social media Instagram icon",type:"icon",props:{icon:"mdi:instagram",size:"1.4em",link:"https://www.instagram.com/yourprofile"}}];export{l as a,f as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as i}from"./chunk-BJSO43AS.js";import{Type as r}from"@sinclair/typebox";function a(t="Date",e){return i({title:t,schema:r.String({format:"date","ui:field":"date",...e})})}function m(t="Date and Time",e){return i({title:t,schema:r.String({format:"date-time","ui:field":"datetime",...e})})}export{a,m as b};
@@ -0,0 +1,8 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as i}from"./chunk-ATDJCXC2.js";import{a as f}from"./chunk-ENU4SEHO.js";import{a as m,c as a}from"./chunk-VBWC36L2.js";import{b as p}from"./chunk-P5DZK4TS.js";import{b as u}from"./chunk-DFSQR6QC.js";import{d as r}from"./chunk-HYVQXAK5.js";import{b as c}from"./chunk-LKVQQQTI.js";import{b as l}from"./chunk-AJDYOLKP.js";import{b as d}from"./chunk-CAVNF3BU.js";import{a as t,b as o,d as s,e}from"./chunk-BJSO43AS.js";import{Type as n}from"@sinclair/typebox";import{TfiLayoutAccordionSeparated as y}from"react-icons/tfi";var R=f({type:"accordion",kind:"widget",name:"Accordion",description:"An accordion/collapse element for expandable content",aiInstructions:`
4
+ This accordion element displays content in collapsible panels.
5
+ It is typically used for FAQ sections, organized documentation, or to save space.
6
+ Each item has a title and expandable content area.
7
+ Multiple panels can be open simultaneously or limited to one at a time.
8
+ `.trim(),icon:y,defaultHeight:{desktop:10,mobile:15},defaultWidth:{desktop:36,mobile:24},props:s({container:e(t({title:"Container",children:{backgroundColor:e(r()),padding:e(p),border:e(c),shadow:e(u())}})),items:o({title:"Accordion items",schema:n.Array(n.Object({title:a({title:"Title",default:"My title",disableSizing:!0}),content:a({title:"Content",default:"Expandable content goes here"}),defaultOpen:e(i("Open by default",!1))}))}),itemsStyles:e(t({title:"Accordion item styles",children:{backgroundColor:e(r()),color:e(d()),fontSize:m("text-base")}})),allowMultiple:o({title:"Accordion items",schema:i("Allow multiple open",!0,{description:"Allow multiple accordion items to be open at the same time"})}),variants:n.Array(l(["collapse-arrow","collapse-plus"],{default:["collapse-arrow"],enumNames:["With Arrow indicator","With + indicator"]}))},{default:{container:{padding:"p-6",backgroundColor:"bg-transparent"},allowMultiple:!0,variants:["collapse-arrow"]}})}),j=[{description:"FAQ section with card styling with single open",type:"accordion",props:{container:{backgroundColor:"bg-base-50",padding:"p-8",border:{rounding:"rounded-lg"},shadow:"shadow-lg"},variants:["collapse-plus"],allowMultiple:!1,items:[{title:"What is included in the basic plan?",content:"The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.",defaultOpen:!0},{title:"How do I cancel my subscription?",content:"You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle."},{title:"Is there a free trial available?",content:"Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period."},{title:"What payment methods do you accept?",content:"We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners."},{title:"Do you offer refunds?",content:"We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund."}]}},{description:"Product features with arrow indicator and multiple open",type:"accordion",props:{container:{padding:"p-4"},variants:["collapse-arrow"],allowMultiple:!0,items:[{title:"Advanced Analytics",content:"Get detailed insights into your data with our comprehensive analytics dashboard. Track key metrics, generate custom reports, and identify trends with powerful visualization tools.",defaultOpen:!0},{title:"Team Collaboration",content:"Work seamlessly with your team using real-time collaboration features. Share projects, assign tasks, leave comments, and track progress all in one place."},{title:"API Integration",content:"Connect with your existing tools and workflows using our robust API. Full documentation, SDKs for popular languages, and webhook support included."},{title:"Security & Compliance",content:"Enterprise-grade security with SOC 2 compliance, data encryption at rest and in transit, SSO support, and comprehensive audit logs."}]}}];export{R as a,j as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as a}from"./chunk-AJDYOLKP.js";import{b as o}from"./chunk-BJSO43AS.js";import{a as i}from"./chunk-OYIL5SCU.js";import{Type as s}from"@sinclair/typebox";function h({title:t="Shadow",defaultValue:e="shadow-none"}={}){return o({title:t,schema:a(["shadow-none","shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl"],{$id:"styles:shadow",title:t,default:e,enumNames:["None","S","M","L","XL","2XL"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})})}function m(t={}){return i("styles:shadow",{...t,"ui:styleId":"#styles:shadow"})}function w({title:t="Text shadow",defaultValue:e="text-shadow-none"}={}){return o({title:t,schema:a(["text-shadow-none","text-shadow-sm","text-shadow-md","text-shadow-lg","text-shadow-xl"],{default:e,enumNames:["None","Small","Medium","Large","Extra large"],"ui:placeholder":"Not specified","ui:field":"enum"})})}function y({defaultValue:t=1,title:e="Opacity"}={}){return o({title:e,schema:s.Number({minimum:.1,maximum:1,default:t,multipleOf:.1,"ui:field":"slider","ui:unit":"%","ui:multiplier":100})})}export{h as a,m as b,w as c,y as d};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{d as t}from"./chunk-4MPRHJWO.js";function T({props:e,defaultWidth:o,defaultHeight:a,minWidth:r,minHeight:i,kind:n="brick",isContainer:s=!1,hideInLibrary:p=!1,deletable:b=!0,movable:c=!0,resizable:l=!0,repeatable:m=!1,duplicatable:u=!0,defaultInspectorTab:d="preset",icon:f,datasource:k,...y}){return{...y,datasource:k,icon:f,props:e,kind:n,defaultInspectorTab:d,hideInLibrary:p,deletable:b,movable:c,resizable:l,repeatable:m,duplicatable:u,isContainer:s,defaultWidth:o??r??{desktop:8,mobile:-1},defaultHeight:a??i??{desktop:3,mobile:3},minWidth:r,minHeight:i}}function g(e){return{...e,props:t(e.props),...e.datasource?{datasource:t(e.datasource)}:{}}}export{T as a,g as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as e}from"./chunk-BJSO43AS.js";import{Type as s}from"@sinclair/typebox";function c(t,o,n){let r={"ui:field":"enum","ui:display":n.displayAs||"select"},{options:p,displayAs:l,...u}=n;return e({title:t,schema:s.Union(p.map(i=>s.Literal(typeof i=="string"?i:i.value,{title:typeof i=="string"?i:i.title,"ui:icon":typeof i=="string"?void 0:i.icon})),{title:t,default:o,...r,...u})})}export{c as a};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as c}from"./chunk-ENU4SEHO.js";import{a as o}from"./chunk-74EL657O.js";import{b as r}from"./chunk-DFSQR6QC.js";import{d as l}from"./chunk-HYVQXAK5.js";import{b as s}from"./chunk-LKVQQQTI.js";import{b as a}from"./chunk-CAVNF3BU.js";import{b as t,d as n,e as i}from"./chunk-BJSO43AS.js";import{TiSocialFlickr as p}from"react-icons/ti";import{Type as e}from"@sinclair/typebox";var v=c({type:"social-links",kind:"widget",name:"Social links",description:"A list of social media links",icon:p,props:n({links:e.Array(e.Object({href:o("Link"),label:i(o("Label")),icon:i(t({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",void 0,{description:"Icon to display (iconify reference)","ui:widget":"iconify"})}))})),backgroundColor:i(l()),color:i(a()),border:i(s),shadow:i(r()),variants:e.Array(e.Union([e.Literal("icon-only",{title:"Only icons",description:"Display only icons"}),e.Literal("display-inline",{title:"Display inline",description:"Display links inline"}),e.Literal("display-block",{title:"Display block",description:"Display links as block elements"})],{title:"Variant",description:"Social links variants"}))})}),w=[{description:"Standard social media icons inline",type:"social-links",props:{variants:["icon-only","display-inline"],links:[{href:"https://facebook.com/company",label:"Facebook",icon:"mdi:facebook"},{href:"https://twitter.com/company",label:"Twitter",icon:"mdi:twitter"},{href:"https://instagram.com/company",label:"Instagram",icon:"mdi:instagram"},{href:"https://linkedin.com/company/company",label:"LinkedIn",icon:"mdi:linkedin"}]}},{description:"Professional social links with labels (block layout)",type:"social-links",props:{variants:["display-block"],links:[{href:"https://linkedin.com/in/johndoe",label:"Connect on LinkedIn",icon:"mdi:linkedin"},{href:"https://github.com/johndoe",label:"View GitHub Profile",icon:"mdi:github"},{href:"https://twitter.com/johndoe",label:"Follow on Twitter",icon:"mdi:twitter"},{href:"mailto:john@example.com",label:"Send Email",icon:"mdi:email"}]}},{description:"Creative portfolio social links (icon-only inline)",type:"social-links",props:{variants:["icon-only","display-inline"],links:[{href:"https://dribbble.com/designer",label:"Dribbble",icon:"mdi:dribbble"},{href:"https://behance.net/designer",label:"Behance",icon:"mdi:behance"},{href:"https://instagram.com/designer",label:"Instagram",icon:"mdi:instagram"},{href:"https://pinterest.com/designer",label:"Pinterest",icon:"mdi:pinterest"},{href:"https://youtube.com/designer",label:"YouTube",icon:"mdi:youtube"}]}},{description:"Developer/tech social links with labels",type:"social-links",props:{variants:["display-inline"],links:[{href:"https://github.com/developer",label:"GitHub",icon:"mdi:github"},{href:"https://stackoverflow.com/users/developer",label:"Stack Overflow",icon:"mdi:stack-overflow"},{href:"https://dev.to/developer",label:"Dev.to",icon:"mdi:dev-to"},{href:"https://codepen.io/developer",label:"CodePen",icon:"mdi:codepen"}]}},{description:"Music artist social platforms (block layout)",type:"social-links",props:{variants:["display-block"],links:[{href:"https://spotify.com/artist/musician",label:"Listen on Spotify",icon:"mdi:spotify"},{href:"https://music.apple.com/artist/musician",label:"Apple Music",icon:"mdi:apple"},{href:"https://soundcloud.com/musician",label:"SoundCloud",icon:"mdi:soundcloud"},{href:"https://youtube.com/musician",label:"YouTube Channel",icon:"mdi:youtube"},{href:"https://bandcamp.com/musician",label:"Bandcamp",icon:"mdi:bandcamp"}]}},{description:"Business contact icons only",type:"social-links",props:{variants:["icon-only","display-inline"],links:[{href:"tel:+1234567890",label:"Phone",icon:"mdi:phone"},{href:"mailto:contact@business.com",label:"Email",icon:"mdi:email"},{href:"https://maps.google.com/business",label:"Location",icon:"mdi:map-marker"},{href:"https://business.com",label:"Website",icon:"mdi:web"}]}},{description:"Gaming content creator links (inline with labels)",type:"social-links",props:{variants:["display-inline"],links:[{href:"https://twitch.tv/gamer",label:"Twitch",icon:"mdi:twitch"},{href:"https://youtube.com/gamer",label:"YouTube",icon:"mdi:youtube"},{href:"https://discord.gg/gamer",label:"Discord",icon:"mdi:discord"},{href:"https://tiktok.com/@gamer",label:"TikTok",icon:"mdi:tiktok"}]}},{description:"Restaurant social presence (block layout)",type:"social-links",props:{variants:["display-block"],links:[{href:"https://facebook.com/restaurant",label:"Follow us on Facebook",icon:"mdi:facebook"},{href:"https://instagram.com/restaurant",label:"See photos on Instagram",icon:"mdi:instagram"},{href:"https://yelp.com/restaurant",label:"Review us on Yelp",icon:"mdi:yelp"},{href:"https://tripadvisor.com/restaurant",label:"TripAdvisor Reviews",icon:"mdi:tripadvisor"},{href:"tel:+1234567890",label:"Call for Reservations",icon:"mdi:phone"}]}},{description:"Minimal footer social icons",type:"social-links",props:{variants:["icon-only","display-inline"],links:[{href:"https://twitter.com/company",label:"Twitter",icon:"mdi:twitter"},{href:"https://linkedin.com/company/company",label:"LinkedIn",icon:"mdi:linkedin"},{href:"mailto:hello@company.com",label:"Email",icon:"mdi:email"}]}},{description:"E-commerce store social channels (inline with labels)",type:"social-links",props:{variants:["display-inline"],links:[{href:"https://facebook.com/store",label:"Facebook",icon:"mdi:facebook"},{href:"https://instagram.com/store",label:"Instagram",icon:"mdi:instagram"},{href:"https://pinterest.com/store",label:"Pinterest",icon:"mdi:pinterest"},{href:"https://youtube.com/store",label:"YouTube",icon:"mdi:youtube"},{href:"https://tiktok.com/@store",label:"TikTok",icon:"mdi:tiktok"}]}}];export{v as a,w as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as k,b as J}from"./chunk-RDBEWW4G.js";import{a as p,b as D}from"./chunk-VLGLD6GR.js";import{a as s,b as B}from"./chunk-BTKLQQZA.js";import{b as n,c as j}from"./chunk-PK3R5VOF.js";import{a as o,b as W}from"./chunk-5K5C6XFX.js";import{b as l,c as w}from"./chunk-5HYPCOSS.js";import{a as d,b as G}from"./chunk-MITJPRGD.js";import{a as E,b as F}from"./chunk-GGJBTPGW.js";import{a as u,b as I}from"./chunk-6QS5PKLA.js";import{a as m,b as R}from"./chunk-3RHYJ6E7.js";import{a as r,b as L}from"./chunk-V6BCYHZH.js";import{a as y,b as q}from"./chunk-Z7SYP6FG.js";import{b as i,c as h}from"./chunk-SUG225LF.js";import{a as g,b as H}from"./chunk-RPBQZW5I.js";import{a as x,b as z}from"./chunk-NLZBY65T.js";import{a as f,b as P}from"./chunk-5EOWW7BX.js";import{a,b as v}from"./chunk-2FHWS73Y.js";import{a as M,b as C}from"./chunk-CCNU3J56.js";import{a as t,b}from"./chunk-DCH2FI6T.js";import{a as c,b as A}from"./chunk-SLSIAUYV.js";import{b as e}from"./chunk-ENU4SEHO.js";var oe={[m.type]:m,[a.type]:a,[s.type]:s,[p.type]:p,[r.type]:r,[o.type]:o,[f.type]:f,[d.type]:d,[n.type]:n,[y.type]:y,[l.type]:l,[x.type]:x,[c.type]:c,[M.type]:M,[E.type]:E,[i.type]:i,[g.type]:g,[u.type]:u,[k.type]:k,[t.type]:t},fe={[m.type]:e(m),[a.type]:e(a),[s.type]:e(s),[p.type]:e(p),[r.type]:e(r),[d.type]:e(d),[o.type]:e(o),[f.type]:e(f),[n.type]:e(n),[y.type]:e(y),[l.type]:e(l),[x.type]:e(x),[c.type]:e(c),[M.type]:e(M),[E.type]:e(E),[i.type]:e(i),[g.type]:e(g),[u.type]:e(u),[k.type]:e(k),[t.type]:e(t)},ne={[m.type]:R,[a.type]:v,[s.type]:B,[p.type]:D,[r.type]:L,[o.type]:W,[f.type]:P,[d.type]:G,[n.type]:j,[y.type]:q,[l.type]:w,[x.type]:z,[c.type]:A,[M.type]:C,[E.type]:F,[i.type]:h,[g.type]:H,[u.type]:I,[k.type]:J,[t.type]:b};export{oe as a,fe as b,ne as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as i}from"./chunk-BJSO43AS.js";import{a as o}from"./chunk-OYIL5SCU.js";import{Type as e}from"@sinclair/typebox";function p(t={}){let{title:r="Background",defaultValue:a,colorType:n="background"}=t;return i({title:r,schema: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":n,default:a?{color:a.color,size:a.size,repeat:a.repeat}:void 0})})}function u(t={}){return o("styles:background",t)}function g(t,r="Background color"){return i({title:r,schema:e.String({$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.",default:t,"ui:field":"color","ui:color-type":"background","ui:styleId":"#styles:backgroundColor"})})}function d(t={}){return o("styles:backgroundColor",{...t,"ui:styleId":"#styles:backgroundColor"})}export{p as a,u as b,g as c,d};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as e}from"./chunk-AJDYOLKP.js";import{a as d,e as r}from"./chunk-BJSO43AS.js";import{a as t}from"./chunk-OYIL5SCU.js";import{Type as o}from"@sinclair/typebox";function p(i="Border"){return d({title:i,options:{"ui:styleId":"#styles:border",$id:"styles:border"},children:{rounding:r(e(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl","rounded-full"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","3xl","Full"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})),width:r(e(["border-0","border","border-2","border-4","border-8"],{title:"Width",enumNames:["None","S","M","L","XL"],"ai:instructions":"Don't specify width if you want no border.","ui:field":"enum","ui:placeholder":"None"})),color:o.Optional(o.String({title:"Color","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `border-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 50 and 900","ui:field":"color","ui:color-type":"border"})),sides:o.Optional(o.Array(e(["border-l","border-t","border-r","border-b"],{title:"Sides",enumNames:["Left","Top","Right","Bottom"],description:"The specific sides where to apply the border. Not specifying sides will apply the border to all sides.","ui:field":"border-side","ai:instructions":"Use this to apply the border to specific sides. Not specifying sides will apply the border to all sides."}))),style:r(e(["border-solid","border-dashed","border-dotted"],{title:"Style",description:"The brick border style",enumNames:["Solid","Dashed","Dotted"],"ai:instructions":"Use only when width is different than border-0.","ui:field":"enum","ui:display":"button-group"}))}})}var b=t("styles:border",{"ui:styleId":"#styles:border"});export{p as a,b};
@@ -0,0 +1,6 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as f}from"./chunk-U5XOIYSS.js";import{a as m}from"./chunk-OUI2VDNM.js";import{a as d}from"./chunk-ENU4SEHO.js";import{a as n,d as p}from"./chunk-74EL657O.js";import{b as s}from"./chunk-DFSQR6QC.js";import{d as t}from"./chunk-HYVQXAK5.js";import{b as a}from"./chunk-LKVQQQTI.js";import{a as i,b as o,d as r,e}from"./chunk-BJSO43AS.js";import{VscLayoutSidebarLeftOff as c}from"react-icons/vsc";import{Type as l}from"@sinclair/typebox";var C=d({type:"sidebar",kind:"widget",name:"Sidebar",description:"A sidebard element",aiInstructions:`
4
+ This brick should be used on most sites/pages for navigation. By deault, it will display links
5
+ to the main pages of the site. You can customize the links by using the 'navigation.navItems' prop.
6
+ `.trim(),icon:c,props:r({container:e(i({title:"Main element",children:{backgroundColor:e(t()),border:e(a),shadow:e(s()),fixedPositioned:e(f())},metadata:{"ui:responsive":!0}})),navigation:e(i({title:"Links",children:{datasource:e(m()),navItems:e(o({title:"Nav items",schema:l.Array(l.Object({urlOrPageId:p(),label:e(n("Label"))}),{title:"Navigation items",default:[]})}))}}))})}),R=[{description:"Standard sidebar with navigation links base on site pages",type:"sidebar",props:{}},{description:"Sidebar with specified navigation links",type:"sidebar",props:{container:{backgroundColor:"#f0f0f0"},navigation:{navItems:[{urlOrPageId:"https://google.com",label:"Google"},{urlOrPageId:"https://bing.com",label:"Bing"}]}}}];export{C as a,R as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as i}from"./chunk-UL7L3HYV.js";import{a as c}from"./chunk-ENU4SEHO.js";import{b as s}from"./chunk-VTFWVTPI.js";import{a as l,d as u}from"./chunk-74EL657O.js";import{d as n}from"./chunk-HYVQXAK5.js";import{d as r,e,f as o}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";import{VscLayoutPanelOff as a}from"react-icons/vsc";var S=c({type:"footer",kind:"widget",name:"Footer",description:"A footer with links and an optional logo",icon:a,props:r({variants:t.Array(t.Union([t.Literal("logo-left",{title:"Logo on the left",description:"Logo on the left"}),t.Literal("logo-right",{title:"Logo on the right",description:"Logo on the right"}),t.Literal("logo-center",{title:"Logo on the center",description:"Logo at center"}),t.Literal("multiple-rows",{title:"Span on multiple rows.",description:"Span on multiple rows. Use when there a a lot of links sections"})],{title:"Variant",description:"Footer variants."})),backgroundColor:e(n()),logo:e(s({title:"Logo"})),linksSections:o(t.Object({sectionTitle:l("Links Section title"),row:e(i("Row",0,{description:"Row number of the section"})),links:o(t.Object({title:l("Title"),url:u(),column:e(i("Column",1))}))}))})}),w=[{description:"Simple footer with logo on the left",type:"footer",props:{variants:["logo-left"],backgroundColor:"#f8f9fa",logo:{src:"https://via.placeholder.com/120x40.png?text=Logo",alt:"Company logo"},linksSections:[{sectionTitle:"Quick Links",links:[{title:"Home",url:"/"},{title:"About",url:"/about"},{title:"Contact",url:"/contact"}]},{sectionTitle:"Legal",links:[{title:"Privacy Policy",url:"/privacy"},{title:"Terms of Service",url:"/terms"}]}]}},{description:"Corporate footer with centered logo",type:"footer",props:{variants:["logo-center"],backgroundColor:"#2c3e50",logo:{src:"https://via.placeholder.com/150x50.png?text=Corporate",alt:"Corporate logo"},linksSections:[{sectionTitle:"Products",links:[{title:"Software Solutions",url:"/products/software"},{title:"Consulting",url:"/products/consulting"},{title:"Support",url:"/products/support"},{title:"Training",url:"/products/training"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"News",url:"/news"},{title:"Investors",url:"/investors"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Community",url:"/community"},{title:"Blog",url:"/blog"}]}]}},{description:"E-commerce footer with logo on the right",type:"footer",props:{variants:["logo-right"],backgroundColor:"#ffffff",logo:{src:"https://via.placeholder.com/140x45.png?text=Shop",alt:"Shop logo"},linksSections:[{sectionTitle:"Shop",links:[{title:"All Products",url:"/products"},{title:"New Arrivals",url:"/new"},{title:"Sale",url:"/sale"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Customer Service",links:[{title:"Help Center",url:"/help"},{title:"Returns",url:"/returns"},{title:"Shipping Info",url:"/shipping"},{title:"Size Guide",url:"/size-guide"}]},{sectionTitle:"Account",links:[{title:"My Account",url:"/account"},{title:"Order History",url:"/orders"},{title:"Wishlist",url:"/wishlist"}]}]}},{description:"Large organization footer with multiple rows",type:"footer",props:{variants:["logo-center","multiple-rows"],backgroundColor:"#1a1a1a",logo:{src:"https://via.placeholder.com/180x60.png?text=Enterprise",alt:"Enterprise logo"},linksSections:[{sectionTitle:"Products & Services",row:0,links:[{title:"Cloud Solutions",url:"/cloud",column:1},{title:"Data Analytics",url:"/analytics",column:1},{title:"AI & Machine Learning",url:"/ai",column:1},{title:"Cybersecurity",url:"/security",column:2},{title:"DevOps Tools",url:"/devops",column:2},{title:"IoT Platform",url:"/iot",column:2}]},{sectionTitle:"Industries",row:0,links:[{title:"Healthcare",url:"/industries/healthcare",column:3},{title:"Finance",url:"/industries/finance",column:3},{title:"Retail",url:"/industries/retail",column:3},{title:"Manufacturing",url:"/industries/manufacturing",column:4},{title:"Education",url:"/industries/education",column:4},{title:"Government",url:"/industries/government",column:4}]},{sectionTitle:"Resources",row:1,links:[{title:"Documentation",url:"/docs",column:1},{title:"API Reference",url:"/api",column:1},{title:"Tutorials",url:"/tutorials",column:1},{title:"Webinars",url:"/webinars",column:2},{title:"White Papers",url:"/whitepapers",column:2},{title:"Case Studies",url:"/case-studies",column:2}]},{sectionTitle:"Support & Community",row:1,links:[{title:"Help Center",url:"/help",column:3},{title:"Community Forum",url:"/forum",column:3},{title:"Contact Support",url:"/support",column:3},{title:"Service Status",url:"/status",column:4},{title:"Partner Portal",url:"/partners",column:4},{title:"Developer Hub",url:"/developers",column:4}]}]}},{description:"Startup footer with minimal links and left logo",type:"footer",props:{variants:["logo-left"],backgroundColor:"#f5f5f5",logo:{src:"https://via.placeholder.com/100x35.png?text=Startup",alt:"Startup logo"},linksSections:[{sectionTitle:"Company",links:[{title:"About",url:"/about"},{title:"Team",url:"/team"},{title:"Jobs",url:"/jobs"}]},{sectionTitle:"Product",links:[{title:"Features",url:"/features"},{title:"Pricing",url:"/pricing"},{title:"Demo",url:"/demo"}]},{sectionTitle:"Support",links:[{title:"Help",url:"/help"},{title:"Contact",url:"/contact"}]}]}},{description:"Agency footer with centered logo and creative sections",type:"footer",props:{variants:["logo-center"],backgroundColor:"#6366f1",logo:{src:"https://via.placeholder.com/130x45.png?text=Agency",alt:"Creative agency logo"},linksSections:[{sectionTitle:"Services",links:[{title:"Web Design",url:"/services/web-design"},{title:"Branding",url:"/services/branding"},{title:"Digital Marketing",url:"/services/marketing"},{title:"Photography",url:"/services/photography"}]},{sectionTitle:"Portfolio",links:[{title:"Recent Work",url:"/portfolio"},{title:"Case Studies",url:"/case-studies"},{title:"Client Reviews",url:"/reviews"}]},{sectionTitle:"Connect",links:[{title:"Contact Us",url:"/contact"},{title:"Get Quote",url:"/quote"},{title:"Newsletter",url:"/newsletter"}]}]}},{description:"SaaS platform footer with comprehensive links",type:"footer",props:{variants:["logo-left","multiple-rows"],backgroundColor:"#0f172a",logo:{src:"https://via.placeholder.com/160x50.png?text=SaaS+Platform",alt:"SaaS platform logo"},linksSections:[{sectionTitle:"Platform",row:0,links:[{title:"Dashboard",url:"/dashboard",column:1},{title:"Analytics",url:"/analytics",column:1},{title:"Integrations",url:"/integrations",column:1},{title:"API",url:"/api",column:1}]},{sectionTitle:"Solutions",row:0,links:[{title:"For Startups",url:"/solutions/startups",column:2},{title:"For Enterprise",url:"/solutions/enterprise",column:2},{title:"For Agencies",url:"/solutions/agencies",column:2},{title:"For Developers",url:"/solutions/developers",column:2}]},{sectionTitle:"Resources",row:1,links:[{title:"Blog",url:"/blog",column:1},{title:"Documentation",url:"/docs",column:1},{title:"Help Center",url:"/help",column:1},{title:"Community",url:"/community",column:1}]},{sectionTitle:"Company",row:1,links:[{title:"About Us",url:"/about",column:2},{title:"Careers",url:"/careers",column:2},{title:"Press",url:"/press",column:2},{title:"Legal",url:"/legal",column:2}]}]}},{description:"Non-profit footer with mission-focused links",type:"footer",props:{variants:["logo-center"],backgroundColor:"#059669",logo:{src:"https://via.placeholder.com/140x50.png?text=Non+Profit",alt:"Non-profit organization logo"},linksSections:[{sectionTitle:"Our Work",links:[{title:"Programs",url:"/programs"},{title:"Impact",url:"/impact"},{title:"Success Stories",url:"/stories"},{title:"Research",url:"/research"}]},{sectionTitle:"Get Involved",links:[{title:"Donate",url:"/donate"},{title:"Volunteer",url:"/volunteer"},{title:"Events",url:"/events"},{title:"Partner with Us",url:"/partnerships"}]},{sectionTitle:"About",links:[{title:"Our Mission",url:"/mission"},{title:"Leadership",url:"/leadership"},{title:"Annual Reports",url:"/reports"},{title:"Contact",url:"/contact"}]}]}},{description:"Tech blog footer with right-aligned logo",type:"footer",props:{variants:["logo-right"],backgroundColor:"#111827",logo:{src:"https://via.placeholder.com/120x40.png?text=Tech+Blog",alt:"Tech blog logo"},linksSections:[{sectionTitle:"Categories",links:[{title:"Web Development",url:"/category/web-dev"},{title:"AI & ML",url:"/category/ai-ml"},{title:"DevOps",url:"/category/devops"},{title:"Mobile",url:"/category/mobile"}]},{sectionTitle:"Popular",links:[{title:"Latest Posts",url:"/latest"},{title:"Trending",url:"/trending"},{title:"Best of 2024",url:"/best-2024"},{title:"Tutorials",url:"/tutorials"}]},{sectionTitle:"Community",links:[{title:"Newsletter",url:"/newsletter"},{title:"Discord",url:"/discord"},{title:"Contributors",url:"/contributors"},{title:"Write for Us",url:"/write"}]}]}},{description:"Restaurant footer with location and menu links",type:"footer",props:{variants:["logo-center"],backgroundColor:"#7c2d12",logo:{src:"https://via.placeholder.com/150x60.png?text=Restaurant",alt:"Restaurant logo"},linksSections:[{sectionTitle:"Menu",links:[{title:"Appetizers",url:"/menu/appetizers"},{title:"Main Courses",url:"/menu/mains"},{title:"Desserts",url:"/menu/desserts"},{title:"Beverages",url:"/menu/drinks"}]},{sectionTitle:"Services",links:[{title:"Reservations",url:"/reservations"},{title:"Catering",url:"/catering"},{title:"Private Events",url:"/events"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Info",links:[{title:"About Us",url:"/about"},{title:"Location",url:"/location"},{title:"Hours",url:"/hours"},{title:"Contact",url:"/contact"}]}]}}];export{S as a,w as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as t}from"./chunk-BJSO43AS.js";import{Type as e}from"@sinclair/typebox";function o(){return t({title:"Database",description:"Reference to a data source. Only used for dynamic websites",schema:e.Object({id:e.String({title:"Data Source ID"}),mapping:e.Record(e.String(),e.String(),{description:"Mapping of data source fields to brick props"}),filters:e.Optional(e.Record(e.String(),e.Object({op:e.Union([e.Literal("eq"),e.Literal("ne"),e.Literal("lt"),e.Literal("lte"),e.Literal("gt"),e.Literal("gte"),e.Literal("in"),e.Literal("nin"),e.Literal("contains"),e.Literal("startsWith"),e.Literal("endsWith")]),value:e.String()}),{description:"Filter data source records"})),sort:e.Optional(e.Record(e.String(),e.Union([e.Literal("asc",{title:"Ascending"}),e.Literal("desc",{title:"Descending"})]),{description:"Sort data source records"})),limit:e.Optional(e.Number({description:"Limit the number of records to fetch"})),offset:e.Optional(e.Number({description:"Offset the records to fetch"}))},{"ui:field":"datasource-ref","ui:meta-type":"datasource-ref",description:"Datasource reference. Only used for dynamic websites. Do not use for static websites"})})}export{o as a};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{Type as r}from"@sinclair/typebox";function o(e,t={}){return r.Ref(e,t)}export{o as a};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as t}from"./chunk-BJSO43AS.js";import{a as e}from"./chunk-OYIL5SCU.js";import{Type as i}from"@sinclair/typebox";function r(){return t({title:"Padding",schema:i.String({$id:"styles:padding",description:"Space between the content and the border","ai:instructions":"Can be a tailwind class like `p-4` or a custom value like `p-[16px]`.","ui:field":"enum","ui:responsive":!0,"ui:styleId":"#styles:padding"})})}var a=e("styles:padding");export{r as a,a as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as e}from"./chunk-OELIU5BZ.js";import{a as c}from"./chunk-OUI2VDNM.js";import{a as n}from"./chunk-ENU4SEHO.js";import{a as p,b as l}from"./chunk-74EL657O.js";import{b as i}from"./chunk-WAAKB6OB.js";import{a as o,b as a,d as s,e as r}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";import{IoGridOutline as g}from"react-icons/io5";var d=t.Array(t.Object({src:t.String({format:"uri",title:"Image URL"}),alt:t.String({default:"",title:"Alt text"})}),{default:[{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"}]}),P=n({type:"images-gallery",kind:"widget",name:"Gallery",description:"An image collection",aiInstructions:"This brick should mostly be used for image galleries and collections.",defaultInspectorTab:"content",isContainer:!1,minWidth:{mobile:10,desktop:10},minHeight:{mobile:10,desktop:10},icon:g,props:s({datasource:r(c()),staticImages:r(a({title:"Nav items",schema:t.Array(t.Object({src:l("Image URL"),legend:p("Legend")}),{title:"Images",default:[]})})),styles:o({title:"Styles",children:{layout:i()}})}),datasource:d}),w=[{description:"Product portfolio gallery (3-column grid)",type:"images-gallery",props:{styles:{layout:{type:"grid",columns:3,gap:"gap-4"}},staticImages:[{src:"https://via.placeholder.com/400x400.png?text=Product+1",legend:"Premium wireless headphones"},{src:"https://via.placeholder.com/400x400.png?text=Product+2",legend:"Bluetooth speaker"},{src:"https://via.placeholder.com/400x400.png?text=Product+3",legend:"Smart fitness tracker"},{src:"https://via.placeholder.com/400x400.png?text=Product+4",legend:"Wireless charging pad"}]}},{description:"Team photos gallery (4-column grid)",type:"images-gallery",props:{styles:{layout:{type:"grid",gap:"gap-8"}},staticImages:[{src:"https://via.placeholder.com/300x300.png?text=CEO",legend:"Sarah Johnson - Chief Executive Officer"},{src:"https://via.placeholder.com/300x300.png?text=CTO",legend:"Mike Chen - Chief Technology Officer"},{src:"https://via.placeholder.com/300x300.png?text=Design",legend:"Emily Rodriguez - Head of Design"},{src:"https://via.placeholder.com/300x300.png?text=Marketing",legend:"David Park - Marketing Director"},{src:"https://via.placeholder.com/300x300.png?text=Sales",legend:"Lisa Wong - Sales Manager"},{src:"https://via.placeholder.com/300x300.png?text=Support",legend:"Alex Thompson - Customer Support Lead"},{src:"https://via.placeholder.com/300x300.png?text=Dev",legend:"Carlos Martinez - Senior Developer"},{src:"https://via.placeholder.com/300x300.png?text=HR",legend:"Jennifer Adams - HR Specialist"}]}},{description:"Project showcase (2-column grid with larger spacing)",type:"images-gallery",props:{styles:{layout:{type:"grid",columns:2,gap:"gap-8"}},staticImages:[{src:"https://via.placeholder.com/600x400.png?text=Website+Redesign",legend:"Modern e-commerce website redesign project"},{src:"https://via.placeholder.com/600x400.png?text=Mobile+App",legend:"iOS and Android mobile application"},{src:"https://via.placeholder.com/600x400.png?text=Brand+Identity",legend:"Complete brand identity design package"},{src:"https://via.placeholder.com/600x400.png?text=Dashboard+UI",legend:"Analytics dashboard user interface"}]}},{description:"Event photos (horizontal flex layout)",type:"images-gallery",props:{styles:{layout:{type:"flex",direction:"flex-row",wrap:!0,gap:"gap-4"}},staticImages:[{src:"https://via.placeholder.com/250x180.png?text=Opening",legend:"Conference opening ceremony"},{src:"https://via.placeholder.com/250x180.png?text=Keynote",legend:"Keynote presentation"},{src:"https://via.placeholder.com/250x180.png?text=Workshop",legend:"Technical workshop session"},{src:"https://via.placeholder.com/250x180.png?text=Networking",legend:"Networking lunch break"},{src:"https://via.placeholder.com/250x180.png?text=Panel",legend:"Expert panel discussion"},{src:"https://via.placeholder.com/250x180.png?text=Awards",legend:"Awards ceremony"}]}}];export{d as a,P as b,w as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as c}from"./chunk-G7LX3UKQ.js";import{b as r}from"./chunk-H24R3IWA.js";import{b as a}from"./chunk-WAAKB6OB.js";import{b as o}from"./chunk-ALFOZHAH.js";import{b as s}from"./chunk-HYVQXAK5.js";import{b as l}from"./chunk-LKVQQQTI.js";import{b as p}from"./chunk-AJDYOLKP.js";import{b as n}from"./chunk-ZMDHKAWL.js";import{Type as t}from"@sinclair/typebox";import{customAlphabet as h}from"nanoid";import{merge as u}from"lodash-es";var R=h("1234567890azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),z=t.Object({left:t.Optional(t.String({title:"top",description:"The left position in css unit."})),top:t.Optional(t.String({title:"top",description:"The top position in css unit."})),right:t.Optional(t.String({title:"right",description:"The right position in css unit."})),bottom:t.Optional(t.String({title:"bottom",description:"The bottom position in css unit."})),inset:t.Optional(t.String({title:"inset",description:"The inset position in css unit."})),translateX:t.Optional(t.String({title:"translateX",description:"The translateX position in css unit."})),translateY:t.Optional(t.String({title:"translateY",description:"The translateY position in css unit."})),rotate:t.Optional(t.String({title:"rotate",description:"The rotate position in css unit."}))}),f=p(Object.keys(r),{title:"Brick type"}),g=t.Object({id:t.String({title:"ID",description:"A unique identifier for the brick."}),type:f,props:t.Any({title:"Props",description:"The props of the brick. The available props depends on the brick type."}),mobileProps:t.Optional(t.Object({},{additionalProperties:!0,description:"The props for mobile, merged with the default props"}))},{$id:"brick",additionalProperties:!0}),d=t.Object({layout:t.Optional(a({options:{disableGrid:!0},defaults:{gap:"gap-4",wrap:!0,fillSpace:!1,alignItems:"items-stretch",justifyContent:"justify-stretch"}})),background:t.Optional(s()),preset:t.Optional(n),border:t.Optional(l),minHeight:t.Optional(o({title:"Minimum height",default:"0px",description:"The min height of the section"})),maxWidth:t.Optional(c("Maximum width","max-w-full",{options:[{value:"max-w-screen-lg",title:"Medium",description:"Common for text-heavy content/blog posts"},{value:"max-w-screen-xl",title:"Large",description:"Usefull or some landing pages"},{value:"max-w-screen-2xl",title:"Extra large",description:"Common width"},{value:"max-w-full",title:"Full width",description:"Takes the entire space"}],description:"The maximum width of the section. Desktop only",displayAs:"select"})),horizontalPadding:t.Optional(o({title:"Horizontal padding",default:"20px",description:"Horizontal padding. Desktop only"})),verticalPadding:t.Optional(o({title:"Vertical padding",default:"20px",description:"Vertical padding."})),lastTouched:t.Optional(t.Number({description:"Do not use this field. It is used internally by the editor.","ui:field":"hidden"}))},{additionalProperties:!0,"ai:instructions":"Do not use the border prop"}),L=t.Object({id:t.String({description:"The unique ID of the section. Use a human readable url-safe slug"}),label:t.Optional(t.String({description:"The label (name) of the section. Used for editor purposes only."})),order:t.Number({description:"Determines section order in the page (lower numbers appear first). 0-based"}),props:d,mobileProps:t.Optional(t.Partial(d,{additionalProperties:!1})),bricks:t.Array(g)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."});function $(e){return e.map(i=>({...i,bricks:i.bricks.map(m)}))}function m(e){let i=r[e.type];return{...e,props:u({},i.props,{...e.props,...e.props.$children?{$children:e.props.$children.map(m)}:{}})}}export{R as a,f as b,g as c,d,L as e,$ as f,m as g};
@@ -0,0 +1,7 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as h}from"./chunk-ENU4SEHO.js";import{c as r}from"./chunk-VBWC36L2.js";import{b as p}from"./chunk-P5DZK4TS.js";import{a}from"./chunk-74EL657O.js";import{b as m}from"./chunk-DFSQR6QC.js";import{d as l}from"./chunk-HYVQXAK5.js";import{b as d}from"./chunk-LKVQQQTI.js";import{b as c}from"./chunk-AJDYOLKP.js";import{b as n}from"./chunk-CAVNF3BU.js";import{a as o,b as i,d as s,e as t}from"./chunk-BJSO43AS.js";import{Type as e}from"@sinclair/typebox";import{RiMapPinTimeLine as u}from"react-icons/ri";var R=h({type:"timeline",kind:"widget",name:"Timeline",description:"A timeline element for showing chronological events",aiInstructions:`
4
+ This timeline element displays a series of chronological events, milestones, or processes.
5
+ It can be used for company history, project roadmaps, or any sequential information.
6
+ Each item has a date/time, title, description, and optional icon.
7
+ `.trim(),icon:u,defaultHeight:{desktop:12,mobile:18},defaultWidth:{desktop:36,mobile:24},props:s({container:t(o({title:"Container",children:{backgroundColor:t(l()),padding:t(p),border:t(d),shadow:t(m())}})),items:i({title:"Timeline items",schema:e.Array(e.Object({date:a("Date","2024",{description:"Date or time period for this event"}),title:r({title:"Title",default:"Event title",disableSizing:!0}),description:r({title:"Description",default:"Event description"}),icon:t(i({title:"Icon",description:"Icon to display (iconify reference)",schema:a("Icon",void 0,{description:"Icon for this timeline item","ui:widget":"iconify"})}))}))}),variants:e.Array(e.Union([e.Literal("vertical",{title:"Vertical",description:"Display timeline vertically"}),e.Literal("horizontal",{title:"Horizontal",description:"Display timeline horizontally"}),e.Literal("alternating",{title:"Alternating",description:"Alternate items left and right (vertical only)"}),e.Literal("with-connectors",{title:"With connectors",description:"Show connecting lines between items"}),e.Literal("minimal",{title:"Minimal",description:"Simple design with less visual elements"}),e.Literal("card-style",{title:"Card style",description:"Display each item as a card"})],{title:"Variant",description:"Timeline display variants"}),{default:["vertical","with-connectors"]}),appearance:t(o({title:"Appearance",children:{lineColor:t(i({title:"Line color",description:"Color for the timeline dot/line",schema:c(["primary","secondary","accent"],{default:"primary",enumNames:["Primary","Secondary","Accent"]})})),lineWidth:t(i({title:"Line width",schema:e.Union([e.Literal("border-2",{title:"Thin"}),e.Literal("border-4",{title:"Medium"}),e.Literal("border-8",{title:"Thick"})],{default:"border-2"})})),dotSize:t(i({title:"Dot size",schema:e.Union([e.Literal("w-3",{title:"S"}),e.Literal("w-4",{title:"M"}),e.Literal("w-6",{title:"L"}),e.Literal("w-8",{title:"XL"})],{default:"w-4"})})),datePosition:t(i({title:"Date position",schema:e.Union([e.Literal("above",{title:"Above title"}),e.Literal("below",{title:"Below title"}),e.Literal("inline",{title:"Inline with title"})],{default:"above"})}))}})),textStyles:t(o({title:"Text styles",children:{dateColor:t(n({default:"text-base-content/70",title:"Date color"})),titleColor:t(n({default:"text-base-content",title:"Title color"})),descriptionColor:t(n({default:"text-base-content/80",title:"Description color"}))}}))},{default:{container:{padding:"p-6",backgroundColor:"bg-transparent"},variants:["vertical","with-connectors"],appearance:{lineColor:"primary",lineWidth:"border-2",dotSize:"w-4 h-4",datePosition:"above"},textStyles:{dateColor:"text-base-content/70",titleColor:"text-base-content",descriptionColor:"text-base-content/80"}}})}),I=[{description:"Company milestone timeline with alternating layout",type:"timeline",props:{container:{backgroundColor:"bg-base-100",padding:"p-8"},variants:["vertical","alternating","with-connectors"],appearance:{lineColor:"primary",lineWidth:"border-4",dotSize:"w-6",datePosition:"above"},items:[{date:"2019",title:"Company Founded",description:"Started our journey with a vision to revolutionize the industry",icon:"mdi:rocket-launch"},{date:"2020",title:"First Product Launch",description:"Released our flagship product to the market with overwhelming response",icon:"mdi:product-hunt"},{date:"2021",title:"Series A Funding",description:"Raised $10M in Series A funding to accelerate growth and expansion",icon:"mdi:currency-usd"},{date:"2023",title:"Global Expansion",description:"Opened offices in Europe and Asia, serving customers worldwide",icon:"mdi:earth"},{date:"2024",title:"IPO Planning",description:"Preparing for initial public offering and continued growth",icon:"mdi:trending-up"}]}},{description:"Project roadmap with horizontal layout",type:"timeline",props:{container:{padding:"p-8"},variants:["horizontal","with-connectors","card-style"],appearance:{lineColor:"accent",lineWidth:"border-2",dotSize:"w-4",datePosition:"below"},textStyles:{dateColor:"text-primary",titleColor:"text-base-content",descriptionColor:"text-base-content/80"},items:[{date:"Q1 2024",title:"Planning Phase",description:"Requirements gathering and technical specifications",icon:"mdi:clipboard-text"},{date:"Q2 2024",title:"Development",description:"Core feature development and testing",icon:"mdi:code-braces"},{date:"Q3 2024",title:"Beta Testing",description:"User acceptance testing and feedback collection",icon:"mdi:test-tube"},{date:"Q4 2024",title:"Launch",description:"Production deployment and go-to-market strategy",icon:"mdi:rocket"}]}},{description:"Personal career timeline with minimal design",type:"timeline",props:{container:{padding:"p-4"},variants:["vertical","minimal"],appearance:{lineColor:"secondary",lineWidth:"border-2",datePosition:"inline"},textStyles:{dateColor:"text-base-content/60",titleColor:"text-base-content",descriptionColor:"text-base-content/70"},items:[{date:"2020-2024",title:"Senior Software Engineer",description:"Led development of microservices architecture at Tech Startup Inc."},{date:"2018-2020",title:"Full Stack Developer",description:"Built scalable web applications using React and Node.js at Digital Agency"},{date:"2016-2018",title:"Junior Developer",description:"Started career developing mobile apps and learning modern frameworks"},{date:"2012-2016",title:"Computer Science Degree",description:"Bachelor's degree in Computer Science from State University"}]}},{description:"Product development phases with card styling",type:"timeline",props:{container:{backgroundColor:"bg-base-50",padding:"p-8"},variants:["vertical","card-style","with-connectors"],appearance:{lineColor:"accent",lineWidth:"border-4",dotSize:"w-6",datePosition:"above"},textStyles:{dateColor:"text-accent",titleColor:"text-base-content",descriptionColor:"text-base-content/80"},items:[{date:"Phase 1",title:"Research & Discovery",description:"Market research, user interviews, and competitive analysis to understand user needs",icon:"mdi:magnify"},{date:"Phase 2",title:"Design & Prototyping",description:"Create wireframes, mockups, and interactive prototypes for user testing",icon:"mdi:palette"},{date:"Phase 3",title:"Development",description:"Build the product using agile methodology with continuous integration",icon:"mdi:hammer-wrench"},{date:"Phase 4",title:"Testing & QA",description:"Comprehensive testing including unit tests, integration tests, and user acceptance testing",icon:"mdi:bug"},{date:"Phase 5",title:"Launch & Monitor",description:"Product launch with monitoring, analytics, and continuous improvement based on user feedback",icon:"mdi:rocket-launch"}]}},{description:"Event schedule timeline with large dots",type:"timeline",props:{container:{backgroundColor:"bg-primary/5",padding:"p-8"},variants:["vertical","with-connectors"],appearance:{lineColor:"primary",lineWidth:"border-8",dotSize:"w-6",datePosition:"above"},textStyles:{dateColor:"text-primary",titleColor:"text-primary",descriptionColor:"text-base-content"},items:[{date:"9:00 AM",title:"Registration & Welcome",description:"Check-in, networking breakfast, and welcome address by the CEO",icon:"mdi:account-check"},{date:"10:00 AM",title:"Keynote Presentation",description:"Future of Technology: Trends and Innovations Shaping Tomorrow",icon:"mdi:presentation"},{date:"11:30 AM",title:"Panel Discussion",description:"Industry leaders discuss challenges and opportunities in digital transformation",icon:"mdi:account-group"},{date:"1:00 PM",title:"Networking Lunch",description:"Catered lunch with opportunities to connect with speakers and attendees",icon:"mdi:food"},{date:"2:30 PM",title:"Workshop Sessions",description:"Hands-on workshops covering AI, cloud computing, and cybersecurity",icon:"mdi:school"},{date:"4:00 PM",title:"Closing Remarks",description:"Summary of key insights and announcement of next year's conference",icon:"mdi:microphone"}]}}];export{R as a,I as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as p}from"./chunk-ENU4SEHO.js";import{a as n}from"./chunk-74EL657O.js";import{d as e}from"./chunk-HYVQXAK5.js";import{b as t}from"./chunk-AJDYOLKP.js";import{b as o,d as r,e as i}from"./chunk-BJSO43AS.js";import{RxDividerHorizontal as d}from"react-icons/rx";var z=p({type:"divider",name:"Divider",kind:"brick",description:"A horizontal or vertical divider",repeatable:!0,icon:d,props:r({orientation:i(t(["horizontal","vertical"],{title:"Orientation"})),color:i(e({default:"bg-base-300",title:"Divider color"})),size:i(o({title:"Size",schema:n("Size","100%",{description:"Size of the divider","ai:instructions":"The size of the divider must be in % unit, like 50%"})}))},{default:{size:"100%",color:"bg-base-300"}})}),b=[{description:"Basic horizontal divider",type:"divider",props:{orientation:"horizontal",color:"bg-base-300",size:"100%"}},{description:"Accent colored divider for emphasis",type:"divider",props:{orientation:"horizontal",color:"bg-blue-500",size:"100%"}},{description:"Short horizontal divider for content breaks",type:"divider",props:{orientation:"horizontal",color:"bg-base-300",size:"50%"}},{description:"Thin vertical divider for compact layouts",type:"divider",props:{orientation:"vertical",color:"bg-gray-300",size:"75%"}},{description:"Bold primary colored section divider",type:"divider",props:{orientation:"horizontal",color:"bg-primary",size:"100%"}},{description:"Error colored divider for attention",type:"divider",props:{orientation:"horizontal",color:"bg-red-500",size:"100%"}},{description:"Full height vertical divider for panels",type:"divider",props:{orientation:"vertical",color:"bg-base-300",size:"100%"}},{description:"Secondary colored divider",type:"divider",props:{orientation:"horizontal",color:"bg-secondary",size:"100%"}}];export{z as a,b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as s}from"./chunk-ENU4SEHO.js";import{c as n}from"./chunk-VBWC36L2.js";import{a as o,d as l}from"./chunk-74EL657O.js";import{b as r}from"./chunk-AJDYOLKP.js";import{b as e,d as a,e as i}from"./chunk-BJSO43AS.js";import{RxButton as p}from"react-icons/rx";import{Type as t}from"@sinclair/typebox";var v=s({type:"button",name:"Button",repeatable:!0,description:"A button with text and optional icon",icon:p,props:a({variants:t.Array(t.Union([t.Literal("btn-neutral",{title:"Neutral","ai:variant-type":"color"}),t.Literal("btn-primary",{title:"Primary","ai:variant-type":"color"}),t.Literal("btn-secondary",{title:"Secondary","ai:variant-type":"color"}),t.Literal("btn-accent",{title:"Accent","ai:variant-type":"color"}),t.Literal("btn-info",{title:"Info","ai:variant-type":"color"}),t.Literal("btn-success",{title:"Success","ai:variant-type":"color"}),t.Literal("btn-warning",{title:"Warning","ai:variant-type":"color"}),t.Literal("btn-error",{title:"Error","ai:variant-type":"color"}),t.Literal("btn-outline",{title:"Outline","ai:variant-type":"style"}),t.Literal("btn-dash",{title:"Dash","ai:variant-type":"style"}),t.Literal("btn-soft",{title:"Soft","ai:variant-type":"style"}),t.Literal("btn-ghost",{title:"Ghost","ai:variant-type":"style"}),t.Literal("btn-link",{title:"Link","ai:variant-type":"style"}),t.Literal("btn-active",{title:"Active","ai:variant-type":"behavior"}),t.Literal("btn-disabled",{title:"Disabled","ai:variant-type":"behavior"}),t.Literal("btn-icon-left",{title:"Icon left","ai:variant-type":"icon"}),t.Literal("btn-icon-right",{title:"Icon right","ai:variant-type":"icon"}),t.Literal("btn-xs",{title:"Extra small","ai:variant-type":"size"}),t.Literal("btn-sm",{title:"Small","ai:variant-type":"size"}),t.Literal("btn-md",{title:"Medium","ai:variant-type":"size"}),t.Literal("btn-lg",{title:"Large","ai:variant-type":"size"}),t.Literal("btn-xl",{title:"Extra large","ai:variant-type":"size"}),t.Literal("btn-wide",{title:"Wide","ai:variant-type":"modifier"}),t.Literal("btn-block",{title:"Block","ai:variant-type":"modifier"}),t.Literal("btn-square",{title:"Square","ai:variant-type":"modifier"}),t.Literal("btn-circle",{title:"Circle","ai:variant-type":"modifier"})],{title:"Variant",description:"Button variants.","ai:tip":"Those are DaisyUI button variants"})),label:n({title:"Label",default:"My button"}),type:i(e({title:"Type",schema:r(["button","submit","reset"],{enumNames:["Button","Submit","Reset"],default:"button",description:"The type of the button","ai:instructions":"Use 'button' for regular buttons, 'submit' for form submission, and 'reset' to reset form fields."})})),icon:i(e({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",void 0,{description:"Icon to display (iconify reference)","ui:field":"iconify"})})),linkToUrlOrPageId:i(l({title:"Link"}))})}),L=[{description:"Primary button, large size, linking to a URL",type:"button",props:{variants:["btn-primary","btn-lg"],label:"Click me",linkToUrlOrPageId:"https://example.com"}},{description:"Secondary button, small size, linking to a page",type:"button",props:{variants:["btn-secondary","btn-sm"],label:"Go to page",linkToUrlOrPageId:"page-id-123"}},{description:"Disabled button with outline style",type:"button",props:{variants:["btn-outline","btn-disabled"],label:"Disabled Button"}},{description:"Ghost button",type:"button",props:{variants:["btn-ghost"],label:"Ghost Button",linkToUrlOrPageId:"https://example.com/ghost"}},{description:"Submit button in a form",type:"button",props:{variants:["btn-primary","btn-md"],label:"Submit form",type:"submit"}},{description:"Button with icon on the right",type:"button",props:{variants:["btn-primary","btn-md","btn-icon-right"],label:"Icon Button",icon:"mdi:check-circle"}}];export{v as a,L as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as d}from"./chunk-OUI2VDNM.js";import{a as s}from"./chunk-ENU4SEHO.js";import{b as i}from"./chunk-P5DZK4TS.js";import{b as r,c as n}from"./chunk-WAAKB6OB.js";import{b as p}from"./chunk-DFSQR6QC.js";import{b as o}from"./chunk-HYVQXAK5.js";import{b as a}from"./chunk-LKVQQQTI.js";import{d as t,e}from"./chunk-BJSO43AS.js";import{Type as c}from"@sinclair/typebox";import{RxGrid as l}from"react-icons/rx";var f=c.Array(c.Object({},{additionalProperties:!0})),T=s({type:"container",kind:"brick",name:"Container",description:"A container that can hold other bricks and align them horizontally or vertically",aiInstructions:"A container acts as a flexbox (default) or a grid and allows you to align bricks horizontally, vertically, or in a grid. ",isContainer:!0,defaultHeight:{desktop:6,mobile:6},defaultWidth:{desktop:12,mobile:12},datasource:f,icon:l,props:t({layout:r(),background:e(o()),border:e(a),padding:e(i),shadow:e(p()),datasource:e(d()),...n()})}),z=[{description:"Feature cards grid layout",type:"container",props:{preset:"prominent-primary",layout:{type:"grid",columns:3,gap:"gap-4"},padding:"p-8",border:{rounding:"rounded-lg"},$children:[{type:"card",props:{variants:["centered"],cardTitle:{content:"Fast Performance"},cardBody:{content:"Lightning-fast load times and optimized performance for the best user experience."}}},{type:"card",props:{variants:["centered"],cardTitle:{content:"Secure & Reliable"},cardBody:{content:"Enterprise-grade security with 99.9% uptime guarantee and data protection."}}},{type:"card",props:{variants:["centered"],cardTitle:{content:"Easy Integration"},cardBody:{content:"Simple API integration with comprehensive documentation and support."}}}]}},{description:"Horizontal hero section with image and text",type:"container",props:{preset:"prominent-secondary",layout:{type:"flex",direction:"flex-row",alignItems:"items-center",gap:"gap-8"},padding:"p-16",$children:[{type:"text",props:{content:"<h1>Transform Your Business</h1><p>Discover how our innovative solutions can streamline your operations and accelerate growth. Join thousands of satisfied customers worldwide.</p>",color:"#ffffff",padding:"p-0"}},{type:"image",props:{image:{src:"https://via.placeholder.com/400x300.png?text=Business+Growth",alt:"Business transformation illustration"},border:{borderRadius:"8px"}}}]}},{description:"Vertical testimonial section",type:"container",props:{layout:{type:"flex",direction:"flex-col",alignItems:"items-center",gap:"gap-8"},background:{color:"#ffffff"},padding:"p-8",$children:[{type:"text",props:{content:"<h2 style='text-align: center'>What Our Customers Say</h2>",padding:"p-0"}},{type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Sarah Johnson",company:"Tech Solutions Inc.",text:"This platform has revolutionized how we manage our projects. Incredible results!",avatar:{src:"https://via.placeholder.com/60x60.png?text=SJ",alt:"Sarah Johnson"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"Digital Agency",text:"Outstanding support and features. Highly recommend to any growing business.",avatar:{src:"https://via.placeholder.com/60x60.png?text=MC",alt:"Mike Chen"},socialIcon:"mdi:twitter"}]}}]}},{description:"Two-column content layout",type:"container",props:{layout:{type:"grid",columns:2,gap:"gap-8"},padding:"p-8",$children:[{type:"text",props:{content:"<h3>About Our Company</h3><p>We've been providing innovative solutions since 2010, helping businesses across industries achieve their goals through technology and expertise.</p><p>Our team of dedicated professionals works tirelessly to ensure every client receives personalized service and exceptional results.</p>",background:{backgroundColor:"#f0f9ff"},padding:"p-6",border:{borderRadius:"8px"}}},{type:"container",props:{layout:{type:"flex",flexDirection:"flex-col",gap:"gap-4"},$children:[{type:"text",props:{content:"<h4>Key Stats</h4>",padding:"p-0"}},{type:"text",props:{content:"<strong>500+</strong> Happy Customers",background:{backgroundColor:"#dcfce7"},padding:"p-3",border:{borderRadius:"6px"}}},{type:"text",props:{content:"<strong>10+</strong> Years Experience",background:{backgroundColor:"#dbeafe"},padding:"p-3",border:{borderRadius:"6px"}}},{type:"text",props:{content:"<strong>99.9%</strong> Uptime Record",background:{backgroundColor:"#fef3c7"},padding:"p-3",border:{borderRadius:"6px"}}}]}}]}},{description:"Call-to-action section with centered alignment",type:"container",props:{layout:{type:"flex",direction:"flex-col",alignItems:"items-center",justifyContent:"justify-center",gap:"gap-4"},padding:"p-16",$children:[{type:"hero",props:{content:"Ready to Get Started?",tagline:"Join thousands of satisfied customers and transform your business today",align:"center",color:"#ffffff",padding:"p-0",effects:{textShadow:"2px 2px 4px rgba(0,0,0,0.5)"}}},{type:"container",props:{layout:{type:"flex",flexDirection:"flex-row",gap:"gap-4"},$children:[{type:"text",props:{content:"<a href='/signup' style='text-align: center'><strong>Start Free Trial</strong></a>",background:{backgroundColor:"#ffffff"},color:"#667eea",padding:"p-4",border:{borderRadius:"8px"},effects:{shadow:"shadow-lg"}}},{type:"text",props:{content:"<a href='/demo' style='text-align: center'><strong>Watch Demo</strong></a>",background:{backgroundColor:"transparent"},color:"#ffffff",padding:"p-4",border:{border:"2px solid #ffffff",borderRadius:"8px"}}}]}}]}}];export{f as a,T as b,z as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as o}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";function p(i="flowing",e="Position"){return o({title:e,schema:t.Union([t.Literal("flowing",{title:"Flowing"}),t.Literal("fixed",{title:"Fixed"}),t.Literal("sticky",{title:"Sticky"})],{default:i,"ui:styleId":"#styles:position"})})}function r(i=!1,e="Fixed position"){return o({title:e,schema:t.Boolean({default:i,"ui:styleId":"#styles:fixedPositioned"})})}export{p as a,r as b};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as e}from"./chunk-BMDB2V7J.js";import{Type as p}from"@sinclair/typebox";function u(t,r,m={}){return e({title:t,schema:p.Number({default:r,...m})})}export{u as a};
3
+ import{b as e}from"./chunk-BJSO43AS.js";import{Type as p}from"@sinclair/typebox";function u(t,r,m={}){return e({title:t,schema:p.Number({default:r,...m})})}export{u as a};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as p}from"./chunk-ENU4SEHO.js";import{c as n}from"./chunk-VBWC36L2.js";import{b as d}from"./chunk-VTFWVTPI.js";import{b as i}from"./chunk-P5DZK4TS.js";import{d as r}from"./chunk-HYVQXAK5.js";import{a,d as o,e as t}from"./chunk-BJSO43AS.js";import{BsCardText as c}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var k=p({type:"card",name:"Card",description:"A multi-purpose card that can have a title, subtitle, image, and content",repeatable:!0,icon:c,props:o({variants:e.Array(e.Union([e.Literal("image-first",{title:"Image First"}),e.Literal("image-last",{title:"Image Last"}),e.Literal("image-overlay",{title:"Image Overlay"}),e.Literal("image-left-side",{title:"Image Left Side"}),e.Literal("image-right-side",{title:"Image Right Side"}),e.Literal("centered",{title:"Centered"}),e.Literal("large-padding",{title:"Large padding"})],{title:"Variant"})),cardTitle:t(a({title:"Title",children:{content:n(),padding:t(i),backgroundColor:t(r())}})),cardImage:t(a({title:"Image",children:{image:d()}})),cardBody:t(a({title:"Body",children:{content:n(),padding:t(i),backgroundColor:t(r())}}))})}),C=[{description:"A simple card with a title and content",type:"card",props:{variants:["image-first"],preset:"prominent-primary",cardTitle:{content:"Card Title",padding:"p-4"},cardBody:{content:"This is the body of the card."}}},{description:"Card with image and overlay text",type:"card",props:{variants:["image-overlay","centered"],cardImage:{image:{src:"https://via.placeholder.com/400x300",alt:"Placeholder image"}},cardTitle:{content:"Overlay Title",padding:"p-8",backgroundColor:"rgba(0, 0, 0, 0.7)"},cardBody:{content:"Beautiful overlay content with semi-transparent background.",padding:"p-4",backgroundColor:"rgba(255, 255, 255, 0.9)"}}},{description:"Product card with image on the left",type:"card",props:{variants:["image-left-side"],cardImage:{image:{src:"https://via.placeholder.com/200x200",alt:"Product image"}},cardTitle:{content:"Premium Headphones",padding:"p-4"},cardBody:{content:"High-quality wireless headphones with noise cancellation and 30-hour battery life.",padding:"p-4"}}},{description:"Feature card with large padding and background",type:"card",props:{variants:["large-padding","centered"],cardTitle:{content:"Key Feature",padding:"p-8",backgroundColor:"#f8f9fa"},cardBody:{content:"This feature provides exceptional value and enhances user experience significantly.",padding:"p-8",backgroundColor:"#ffffff"}}},{description:"Blog post card with image at the bottom",type:"card",props:{variants:["image-last"],cardTitle:{content:"The Future of Technology",padding:"p-4"},cardBody:{content:"Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",padding:"p-4"},cardImage:{image:{src:"https://via.placeholder.com/400x200",alt:"Technology concept"}}}},{description:"Testimonial card with right-side image",type:"card",props:{variants:["image-right-side"],cardTitle:{content:"Customer Review",padding:"p-4",backgroundColor:"#e3f2fd"},cardBody:{content:'"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"',padding:"p-4"},cardImage:{image:{src:"https://via.placeholder.com/150x150",alt:"Customer photo"}}}},{description:"Minimal centered card without image",type:"card",props:{variants:["centered"],cardTitle:{content:"Simple Announcement",padding:"p-4"},cardBody:{content:"Important updates will be posted here regularly.",padding:"p-4"}}},{description:"Event card with multiple variants",type:"card",props:{variants:["image-first","large-padding","centered"],cardImage:{image:{src:"https://via.placeholder.com/400x250",alt:"Event venue"}},cardTitle:{content:"Annual Conference 2025",padding:"p-8",backgroundColor:"#1976d2"},cardBody:{content:"Join us for three days of inspiring talks, networking opportunities, and hands-on workshops.",padding:"p-8"}}},{description:"News article card with compact layout",type:"card",props:{variants:["image-left-side"],cardImage:{image:{src:"https://via.placeholder.com/120x120",alt:"News thumbnail"}},cardTitle:{content:"Breaking News Update",padding:"p-2"},cardBody:{content:"Latest developments in the ongoing story with expert analysis and community reactions.",padding:"p-2"}}},{description:"Call-to-action card with prominent styling",type:"card",props:{variants:["centered","large-padding"],cardTitle:{content:"Get Started Today",padding:"p-8",backgroundColor:"#4caf50"},cardBody:{content:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!",padding:"p-8",backgroundColor:"#f1f8e9"}}}];export{k as a,C as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as t}from"./chunk-ZMDHKAWL.js";import{a as i}from"./chunk-OYIL5SCU.js";import{Type as e}from"@sinclair/typebox";function l(){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 p={lastTouched:e.Optional(e.Number({default:0,"ui:field":"hidden","ai:hidden":!0})),hidden:e.Optional(i("styles:hidden")),editable:e.Optional(e.Boolean({description:"Do not use. It is used internally by the editor.","ui:field":"hidden","ai:hidden":!0})),preset:e.Optional(t)};export{l as a,p as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{Type as e}from"@sinclair/typebox";import{Type as t}from"@sinclair/typebox";var o=t.Object({accessToken:t.String({description:"Airtable Personal Token or OAuth Access Token"}),baseId:t.String({pattern:"^app[A-Za-z0-9]+$",description:'Airtable Base ID starting with "app"'}),tableIdOrName:t.Union([t.String({pattern:"^tbl[A-Za-z0-9]+$",description:'Airtable Table ID starting with "tbl"'}),t.String({description:"Table name as shown in Airtable interface"})])});import{Type as i}from"@sinclair/typebox";var a=i.Object({spreadsheetId:i.String(),sheetName:i.Optional(i.String())});import{Type as r}from"@sinclair/typebox";var n=r.Object({url:r.String({format:"uri",title:"Webhook URL"}),headers:r.Optional(r.Record(r.String(),r.String(),{title:"Headers",description:"Additional headers to include in the webhook request"}))});var u=e.Union([e.Literal("airtable"),e.Literal("google-sheets"),e.Literal("generic-webhook"),e.Literal("internal")]),s=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.",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}))}),{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}]}]}),c=e.Union([e.Object({provider:e.Literal("airtable"),options:o}),e.Object({provider:e.Literal("google-sheets"),options:a}),e.Object({provider:e.Literal("generic-webhook"),options:n}),s]),p=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([c,p]),A=e.Composite([p,s]),w=e.Record(e.String(),l,{title:"Datarecords map",description:"The map of Datarecords available"});export{u as a,c as b,A as c,w as d};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as n}from"./chunk-BJSO43AS.js";import{a as l}from"./chunk-OYIL5SCU.js";import{Type as t}from"@sinclair/typebox";function g(e="inherit",i="Font size"){return n({title:i,schema:t.Union([t.Literal("inherit",{title:"Inherit from parent"}),t.Literal("text-xs",{title:"Extra small"}),t.Literal("text-sm",{title:"Small"}),t.Literal("text-base",{title:"Base size"}),t.Literal("text-lg",{title:"Large"}),t.Literal("text-xl",{title:"Extra large"}),t.Literal("text-2xl",{title:"Extra large (2x)"}),t.Literal("text-3xl",{title:"Extra large (3x)"}),t.Literal("text-4xl",{title:"Extra large (4x)"}),t.Literal("text-5xl",{title:"Extra large (5x)"}),t.Literal("text-6xl",{title:"Extra large (6x)"}),t.Literal("text-7xl",{title:"Extra large (7x)"})],{default:e,"ui:styleId":"#styles:fontSize","ui:field":"enum","ui:display":"select"})})}function f({title:e="Text",default:i,showInSettings:a,disableSizing:r=!1,disableAlignment:o=!1}={}){return n({title:e,description:"Text content. Can contain basic HTML tags like `<strong>`, `<em>`, `<br>` and `<a>` as well as `<p>` and `<span>` and lists <ul> <ol> <li>.",schema:t.String({$id:"content:text",default:i??"My text","ui:disable-sizing":r,"ui:disable-alignment":o,"ui:field":a?"string":"hidden"})})}function d(e={}){return l("content:text",e)}export{g as a,f as b,d as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as m}from"./chunk-ENU4SEHO.js";import{b as t}from"./chunk-P5DZK4TS.js";import{a as d}from"./chunk-74EL657O.js";import{b as p}from"./chunk-DFSQR6QC.js";import{b as r}from"./chunk-HYVQXAK5.js";import{b as i}from"./chunk-LKVQQQTI.js";import{d as e,e as o}from"./chunk-BJSO43AS.js";import{RxVideo as n}from"react-icons/rx";var v=m({type:"video",kind:"brick",name:"Video",description:"Youtube video",repeatable:!0,icon:n,props:e({url:d("Video URL",void 0,{description:"URL of the video to embed. It can be a YouTube link or an embed link."}),background:o(r()),border:o(i),padding:o(t),shadow:o(p())})}),k=[{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{v as a,k as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as a}from"./chunk-BJSO43AS.js";import{a as o}from"./chunk-OYIL5SCU.js";import{Type as t}from"@sinclair/typebox";function m(e="Image",i={}){let{defaultImageUrl:r,showImgSearch:l=!1}=i,n=t.Object({src:t.String({default:r,title:e,description:"Image URL. Can be a link to an image or a data URI"}),alt:t.Optional(t.String({title:"Alternate Text",description:"Alternative text for the image. Recommended for screen readers and SEO","ui:placeholder":"Your image description"})),fit:t.Optional(t.Union([t.Literal("object-none",{title:"None"}),t.Literal("object-contain",{title:"Contain"}),t.Literal("object-cover",{title:"Cover"}),t.Literal("object-fill",{title:"Fill"}),t.Literal("object-scale-down",{title:"Scale down"})],{title:"Fit",description:"How the image should be resized to fit its container","ui:field":"enum","ui:styleId":"#styles:objectFit"})),position:t.Optional(t.Union([t.Literal("object-top",{title:"Top"}),t.Literal("object-center",{title:"Center"}),t.Literal("object-bottom",{title:"Bottom"}),t.Literal("object-left",{title:"Left"}),t.Literal("object-right",{title:"Right"}),t.Literal("object-left-top",{title:"Top left"}),t.Literal("object-right-top",{title:"Top right"}),t.Literal("object-left-bottom",{title:"Bottom left"}),t.Literal("object-right-bottom",{title:"Bottom right"})],{"ui:styleId":"#styles:objectPosition",title:"Position",description:"The position of the image inside its container","ui:field":"enum"}))},{$id:"assets:image","ui:field":"image","ui:accept":"image/*","ui:show-img-search":!!l,"ui:no-object-options":!!i.noObjectOptions,default:{alt:"Image",fit:"object-cover",position:"object-center"}});return a({title:e,schema:n})}function g(e={}){return o("assets:image",{...e,styleId:"#assets:image"})}export{m as a,g as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as a}from"./chunk-AJDYOLKP.js";import{a as s,e as i,g as c,h as u}from"./chunk-BJSO43AS.js";import{a as l}from"./chunk-OYIL5SCU.js";import{Type as t}from"@sinclair/typebox";var n=(e,o)=>{let p=c(e),r=u(p,o,"#styles:containerLayout");return r?.type==="flex"||!r?.type},y=(e,o)=>!n(e,o);function d(e={}){return t.Object({...e.disableGrid?{}:{type:a(["flex","grid"],{enumNames:["Flex","Grid"],title:"Layout type",description:"Type of the container. Flex layout arranges items in a one-dimensional line. Grid layout arranges items in a two-dimensional grid","ui:field":"enum","ui:responsive":!0})},gap:t.Optional(t.String({title:"Gap",description:"Space between items. Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified"})),direction:i(a(["flex-row","flex-col"],{enumNames:["Row","Column"],title:"Direction",description:"The direction of the container. Only applies to flex layout",metadata:{filter:n}})),columns:i(t.Number({title:"Columns",description:"Number of columns. Only applies to grid layout","ui:field":"slider",minimum:1,maximum:16,metadata:{filter:y}})),wrap:i(t.Boolean({title:"Wrap",description:"Wrap items.","ai:instructions":"Only applies to flex layout",metadata:{filter:n}})),fillSpace:i(t.Boolean({title:"Fill space",description:"Makes items of the container fill the available space","ai:instructions":"Only applies to flex layout",metadata:{filter:n}})),justifyContent:t.Optional(a(["justify-start","justify-center","justify-end","justify-between","justify-around","justify-evenly","justify-stretch"],{enumNames:["Start","Center","End","Space between","Space around","Evenly distributed","Stretch"],title:"Justify",description:"Justify content along the main axis (horizontal for row, vertical for column)","ai:instructions":"Only applies to flex layout",metadata:{filter:n}})),alignItems:i(t.Union([t.Literal("items-start",{title:"Start"}),t.Literal("items-center",{title:"Center"}),t.Literal("items-end",{title:"End"}),t.Literal("items-stretch",{title:"Stretch"})],{title:"Alignment",description:"Align items along the cross axis (vertical for row, horizontal for column)","ai:instructions":"Only applies to flex layout",metadata:{filter:n}}))},{$id:"styles:containerLayout"})}function S({title:e="Layout",options:o={}}={}){return s({title:e,options:{"ui:styleId":"#styles:containerLayout",$id:"styles:containerLayout"},children:d(o)})}function x(e={}){return l("styles:containerLayout",{title:"Container layout",description:"Settings for the layout of the container",options:{...e,disableGrid:e.disableGrid??!1}})}function L(){return{$childrenType:t.Optional(t.String({title:"Dynamic child brick type",description:"Type of the child bricks that will be created when container is dynamic","ui:field":"brick-type",metadata:{category:"content"}})),$children:t.Array(t.Any(),{"ui:field":"hidden",description:"List of nested bricks",default:[]})}}export{S as a,x as b,L as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as g}from"./chunk-CTRS76PX.js";import{a as c}from"./chunk-G7LX3UKQ.js";import{a as p}from"./chunk-ATDJCXC2.js";import{a as n,d as l}from"./chunk-4MPRHJWO.js";import{a as i}from"./chunk-74EL657O.js";import{b as s}from"./chunk-HYVQXAK5.js";import{e}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";function T(a){for(let r in a)if(r.startsWith("$"))throw new Error(`Attribute names starting with '$' (like "${r}") are reserved for internal use. Please rename it.`);return t.Object(a)}function P(a){return t.Composite([a,o])}var d={$pageLanguage:c("Language","en",{options:[{value:"ar",title:"Arabic"},{value:"zh",title:"Chinese"},{value:"cs",title:"Czech"},{value:"nl",title:"Dutch"},{value:"en",title:"English"},{value:"fr",title:"French"},{value:"de",title:"German"},{value:"he",title:"Hebrew"},{value:"hi",title:"Hindi"},{value:"it",title:"Italian"},{value:"ja",title:"Japanese"},{value:"ko",title:"Korean"},{value:"fa",title:"Persian"},{value:"pl",title:"Polish"},{value:"pt",title:"Portuguese"},{value:"ru",title:"Russian"},{value:"es",title:"Spanish"},{value:"tr",title:"Turkish"},{value:"vi",title:"Vietnamese"}],"ai:guidelines":"Choose a value based on the site description. If the site is in multiple languages, use 'en'.","ui:group":"meta","ui:group:title":"Meta tags"}),$bodyBackground:e(s({default:{color:"#ffffff"},title:"Body Background",description:"Applies to the body element of the page (while $pageBackground applies to the page container)","ui:field":"background","ui:group":"layout","ui:group:title":"Page Layout","ui:group:order":3})),$pageBackground:e(s({title:"Page Background",defaultValue:{color:"base-100"}})),$pageOgImage:e(i("Social share image","",{description:"Image shown when page is shared on social media","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"meta","ui:field":"image"})),$robotsIndexing:e(p("Allow search engines to index this site",!0,{description:"Disabling this will prevent search engines from indexing this site","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"seo","ui:group:title":"SEO","ui:scope":"site"})),$siteOgImage:e(i("Social share image","",{description:"Image shown when this site is shared on social media","ai:guidelines":"Don't generate this image, it is automatically generated.","ui:field":"image","ui:group":"meta","ui:group:title":"Meta tags","ui:scope":"site"})),$pagePath:i("Page path","/",{description:"The URL path of the page","ui:group":"location","ui:group:title":"Location","ui:field":"path"}),$pageTitle:i("Title","Untitled",{"ui:group":"meta","ui:group:title":"Meta tags",description:"The title of the page. Appears in the browser tab and search results"}),$pageDescription:i("Description","",{"ui:widget":"textarea","ui:group":"meta","ui:group:title":"Meta tags",description:"A short description of the page. Used by search engines","ui:multiline":!0}),$pageKeywords:i("Keywords","",{"ui:group":"meta","ui:group:title":"Meta tags",description:"Keywords related to the page. Used by search engines","ui:multiline":!0}),$pageLastUpdated:e(g("Last updated",{"ui:hidden":!0,"ai:guidelines":"Don't generate this property."})),$siteHeadTags:e(t.String({title:"Head tags",description:"Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.","ai:guidelines":"Don't include meta tags here, they are automatically generated.","ui:multiline":!0,"ui:textarea-class":"h-40 !font-mono","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:premium":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"})),$siteBodyTags:e(t.String({title:"Body tags",description:"Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.","ui:multiline":!0,"ui:premium":!0,"ui:textarea-class":"h-40 !font-mono","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"}))},o=t.Object(d,{additionalProperties:!0}),B=t.Pick(o,["$bodyBackground","$pageBackground"]),L=t.Pick(o,["$pageTitle","$pageDescription","$pageKeywords","$pageLanguage","$pagePath","$bodyBackground","$pageBackground"]);function O(a=t.Object({}),r={}){let u=structuredClone(r);return n.compile(a)(u),{...l(o),...u}}export{T as a,P as b,o as c,B as d,L as e,O as f};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{Type as t}from"@sinclair/typebox";import{Type as e}from"@sinclair/typebox";import{Type as a}from"@sinclair/typebox";var o=a.Object({refreshInterval:a.Optional(a.Number())});var s=e.Composite([o,e.Object({channelId:e.String(),order:e.Optional(e.String()),maxResults:e.Optional(e.Number()),regionCode:e.Optional(e.String()),relevanceLanguage:e.Optional(e.String())})]);import{Type as i}from"@sinclair/typebox";var n=i.Composite([o,i.Object({url:i.String({format:"uri"}),headers:i.Optional(i.Record(i.String(),i.String()))})]);import{Type as r}from"@sinclair/typebox";var p=r.Composite([o,r.Object({url:r.String({format:"uri"})})]);var C=t.Union([t.Literal("rss"),t.Literal("youtube-list"),t.Literal("http-json"),t.Literal("internal-blog"),t.Literal("internal-changelog"),t.Literal("internal-faq"),t.Literal("internal-links"),t.Literal("internal-recipes")]),c=t.Union([t.Object({provider:t.Literal("youtube-list"),options:s}),t.Object({provider:t.Literal("rss"),options:p}),t.Object({provider:t.Literal("internal-blog"),options:t.Optional(t.Object({},{additionalProperties:!0}))}),t.Object({provider:t.Literal("internal-changelog"),options:t.Optional(t.Object({},{additionalProperties:!0}))}),t.Object({provider:t.Literal("internal-faq"),options:t.Optional(t.Object({},{additionalProperties:!0}))}),t.Object({provider:t.Literal("internal-links"),options:t.Optional(t.Object({},{additionalProperties:!0}))}),t.Object({provider:t.Literal("internal-recipes"),options:t.Optional(t.Object({},{additionalProperties:!0}))})]),l=t.Composite([c,t.Object({id:t.String({title:"ID",description:"Unique identifier of the datasource. Used to reference the datasource in the system. Use a url-safe string like a slug."}),name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),schema:t.Null({description:"Always null for provider datasources. The schema is defined by the provider."}),sampleData:t.Optional(t.Any()),ttlMinutes:t.Optional(t.Number({title:"Time to live",description:"Time to live in minutes. If set to -1, it never expires and has to be manually refreshed. If set to 0, the datasource is always fetched live. If > 0, then the datasource is feteched every N minutes."})),refresh:t.Optional(t.Object({method:t.Union([t.Literal("interval"),t.Literal("manual"),t.Literal("live")]),interval:t.Optional(t.Number())},{title:"Refresh options",description:"Options to refresh the datasource"}))})]),d=t.Object({id:t.String({title:"ID",description:"Unique identifier of the datasource. Used to reference the datasource in the system. Use a url-safe string like a slug."}),provider:t.Literal("custom",{title:"Custom",description:"Custom datasource saved locally in Upstart."}),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Any({title:"Schema",description:"JSON Schema of datasource. Always an array of objects."}),name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),indexes:t.Optional(t.Array(t.Object({name:t.String({title:"Index name"}),fields:t.Array(t.String(),{title:"Fields to index"}),unique:t.Optional(t.Boolean({title:"Unique index",default:!1}))}),{title:"Indexes",description:"IMPORTANT: Indexes to create on the datasource. use it to enforce uniqueness or improve query performance."})),sampleData:t.Array(t.Ref("datasource:custom"),{title:"Sample data",description:"Sample data (examples) for the datasource. Should match the declared schema."})},{$id:"datasource:custom"}),m=t.Object({id:t.String({title:"ID",description:"Unique identifier of the datasource. Used to reference the datasource in the system. Use a url-safe string like a slug."}),provider:t.Literal("http-json",{title:"JSON Array",description:"JSON array datasource."}),options:n,schema:t.Any({title:"Schema",description:"JSON Schema of datasource. Always an array of objects.",examples:[{type:"array",items:{type:"object",properties:{id:{type:"string",title:"ID"},title:{type:"string",title:"Title"},firstname:{type:"string",title:"Firstname"},lastname:{type:"string",title:"Lastname"},createdAt:{type:"string",format:"date-time",title:"Created at"},email:{type:"string",format:"email",title:"Email"}},required:["id","title","firstname","lastname","email","createdAt"],title:"Employee"},title:"Employees",description:"Employees list"}]}),name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),sampleData:t.Optional(t.Any({title:"Sample data",description:"Sample data for the datasource. Should match the declared schema."}))}),u=t.Union([d,m,l]),U=t.Record(t.String(),u,{title:"Datasources map",description:"The map of datasources available in the system"});export{C as a,u as b,U as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as n,e}from"./chunk-BJSO43AS.js";import{a as l}from"./chunk-OYIL5SCU.js";import{Type as t}from"@sinclair/typebox";function p(i={}){let{title:r="Align",defaultValue:s={horizontal:"justify-start",vertical:"items-center"}}=i;return n({title:r,schema:t.Object({horizontal:e(t.Union([t.Literal("justify-start",{title:"Left"}),t.Literal("justify-center",{title:"Center"}),t.Literal("justify-end",{title:"Right"})],{title:"Horizontal"})),vertical:e(t.Union([t.Literal("items-start",{title:"Top"}),t.Literal("items-center",{title:"Center"}),t.Literal("items-end",{title:"Bottom"})],{title:"Vertical"}))},{$id:"styles:basicAlign","ui:responsive":!0,"ui:field":"align-basic","ui:styleId":"#styles:basicAlign",default:s})})}function u(i={}){return l("styles:basicAlign",i)}export{p as a,u as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as n}from"./chunk-ENU4SEHO.js";import{b as a}from"./chunk-P5DZK4TS.js";import{c as p}from"./chunk-WAAKB6OB.js";import{b as s}from"./chunk-DFSQR6QC.js";import{b as o}from"./chunk-HYVQXAK5.js";import{b as i}from"./chunk-LKVQQQTI.js";import{d as t,e}from"./chunk-BJSO43AS.js";import{TbCarouselHorizontal as m}from"react-icons/tb";import{Type as r}from"@sinclair/typebox";var v=n({type:"carousel",kind:"widget",name:"Carousel",description:"A carousel element",isContainer:!0,icon:m,props:t({variants:r.Array(r.Union([r.Literal("pager-arrows",{title:"With arrows pager"}),r.Literal("pager-numbers",{title:"With numbered pager"}),r.Literal("pager-dots",{title:"With dots pager"})],{title:"Variant",description:"Carousel variants."})),background:e(o()),border:e(i),padding:e(a),shadow:e(s()),...p()})}),C=[{description:"An image carousel with pager arrows",type:"carousel",props:{variants:["pager-arrows"],$children:[{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+1"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+2"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+3"}}]}},{description:"A carousel of text slides with numbered pager",type:"carousel",props:{variants:["pager-numbers"],$children:[{type:"text",props:{content:"Slide 1",preset:"prominent-primary"}},{type:"text",props:{content:"Slide 2",preset:"prominent-secondary"}},{type:"text",props:{content:"Slide 3",preset:"prominent-accent"}}]}}];export{v as a,C as b};