@upstart.gg/sdk 0.0.78 → 0.0.80

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 (296) hide show
  1. package/dist/node/cli/api.js +3 -3
  2. package/dist/node/cli/commands/build/cmd-build.js +1 -1
  3. package/dist/node/cli/commands/login/cmd-login.js +8 -8
  4. package/dist/node/cli/commands/logout/cmd-logout.js +3 -3
  5. package/dist/node/cli/commands/publish/cmd-publish.js +19 -19
  6. package/dist/node/cli/commands/publish/parse-gitignore.d.ts +1 -1
  7. package/dist/node/cli/commands/publish/parse-gitignore.js +2 -2
  8. package/dist/node/cli/commands/publish/uploader.js +6 -6
  9. package/dist/node/cli/constants.d.ts +2 -2
  10. package/dist/node/cli/constants.d.ts.map +1 -1
  11. package/dist/node/cli/constants.js +2 -2
  12. package/dist/node/cli/is-logged-in.js +3 -3
  13. package/dist/node/cli/program.js +16 -16
  14. package/dist/node/cli/store.js +2 -2
  15. package/dist/node/cli/types.js +1 -1
  16. package/dist/node/cli/utils.js +1 -1
  17. package/dist/node/shared/config.d.ts +1 -1
  18. package/dist/node/shared/config.d.ts.map +1 -1
  19. package/dist/node/shared/config.js +6 -6
  20. package/dist/node/shared/logger.d.ts +2 -2
  21. package/dist/node/shared/logger.d.ts.map +1 -1
  22. package/dist/node/shared/logger.js +3 -3
  23. package/dist/shared/ajv.d.ts +1 -0
  24. package/dist/shared/ajv.d.ts.map +1 -1
  25. package/dist/shared/ajv.js +2 -2
  26. package/dist/shared/analytics/init.js +1 -1
  27. package/dist/shared/analytics/track.js +1 -1
  28. package/dist/shared/analytics/types.js +1 -1
  29. package/dist/shared/attributes.d.ts +18 -13
  30. package/dist/shared/attributes.d.ts.map +1 -1
  31. package/dist/shared/attributes.js +2 -2
  32. package/dist/shared/brick-manifest.d.ts +95 -46
  33. package/dist/shared/brick-manifest.d.ts.map +1 -1
  34. package/dist/shared/brick-manifest.js +2 -2
  35. package/dist/shared/bricks/manifests/all-manifests.d.ts +2 -3
  36. package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
  37. package/dist/shared/bricks/manifests/all-manifests.js +2 -2
  38. package/dist/shared/bricks/manifests/button.manifest.d.ts +43 -124
  39. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  40. package/dist/shared/bricks/manifests/button.manifest.js +2 -2
  41. package/dist/shared/bricks/manifests/card.manifest.d.ts +76 -137
  42. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  43. package/dist/shared/bricks/manifests/card.manifest.js +2 -2
  44. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +40 -124
  45. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  46. package/dist/shared/bricks/manifests/carousel.manifest.js +2 -2
  47. package/dist/shared/bricks/manifests/container.manifest.d.ts +205 -123
  48. package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
  49. package/dist/shared/bricks/manifests/container.manifest.js +2 -2
  50. package/dist/shared/bricks/manifests/countdown.manifest.d.ts +40 -76
  51. package/dist/shared/bricks/manifests/countdown.manifest.d.ts.map +1 -1
  52. package/dist/shared/bricks/manifests/countdown.manifest.js +2 -2
  53. package/dist/shared/bricks/manifests/footer.manifest.d.ts +64 -75
  54. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  55. package/dist/shared/bricks/manifests/footer.manifest.js +2 -2
  56. package/dist/shared/bricks/manifests/form.manifest.d.ts +40 -78
  57. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  58. package/dist/shared/bricks/manifests/form.manifest.js +2 -2
  59. package/dist/shared/bricks/manifests/generic-component.manifest.d.ts +43 -124
  60. package/dist/shared/bricks/manifests/generic-component.manifest.d.ts.map +1 -1
  61. package/dist/shared/bricks/manifests/generic-component.manifest.js +2 -2
  62. package/dist/shared/bricks/manifests/header.manifest.d.ts +257 -75
  63. package/dist/shared/bricks/manifests/header.manifest.d.ts.map +1 -1
  64. package/dist/shared/bricks/manifests/header.manifest.js +2 -2
  65. package/dist/shared/bricks/manifests/hero.manifest.d.ts +100 -113
  66. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  67. package/dist/shared/bricks/manifests/hero.manifest.js +2 -2
  68. package/dist/shared/bricks/manifests/icon.manifest.d.ts +40 -76
  69. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  70. package/dist/shared/bricks/manifests/icon.manifest.js +2 -2
  71. package/dist/shared/bricks/manifests/image.manifest.d.ts +84 -77
  72. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  73. package/dist/shared/bricks/manifests/image.manifest.js +2 -2
  74. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +184 -0
  75. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -0
  76. package/dist/shared/bricks/manifests/images-gallery.manifest.js +3 -0
  77. package/dist/shared/bricks/manifests/map.manifest.d.ts +40 -74
  78. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  79. package/dist/shared/bricks/manifests/map.manifest.js +2 -2
  80. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +57 -0
  81. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -0
  82. package/dist/shared/bricks/manifests/sidebar.manifest.js +3 -0
  83. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +40 -76
  84. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  85. package/dist/shared/bricks/manifests/social-links.manifest.js +2 -2
  86. package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts +2 -0
  87. package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts.map +1 -0
  88. package/dist/shared/bricks/manifests/text.manifest.d.ts +87 -118
  89. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  90. package/dist/shared/bricks/manifests/text.manifest.js +2 -2
  91. package/dist/shared/bricks/manifests/video.manifest.d.ts +40 -78
  92. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  93. package/dist/shared/bricks/manifests/video.manifest.js +2 -2
  94. package/dist/shared/bricks/props/_docs-common-styles.d.ts +59 -0
  95. package/dist/shared/bricks/props/_docs-common-styles.d.ts.map +1 -0
  96. package/dist/shared/bricks/props/_docs-common-styles.js +3 -0
  97. package/dist/shared/bricks/props/_style-presets.d.ts +18 -0
  98. package/dist/shared/bricks/props/_style-presets.d.ts.map +1 -0
  99. package/dist/shared/bricks/props/_style-presets.js +3 -0
  100. package/dist/shared/bricks/props/align.d.ts +15 -0
  101. package/dist/shared/bricks/props/align.d.ts.map +1 -0
  102. package/dist/shared/bricks/props/align.js +3 -0
  103. package/dist/shared/bricks/props/background.d.ts +23 -0
  104. package/dist/shared/bricks/props/background.d.ts.map +1 -0
  105. package/dist/shared/bricks/props/background.js +3 -0
  106. package/dist/shared/bricks/props/boolean.d.ts +4 -0
  107. package/dist/shared/bricks/props/boolean.d.ts.map +1 -0
  108. package/dist/shared/bricks/props/boolean.js +3 -0
  109. package/dist/shared/bricks/props/border.d.ts +27 -0
  110. package/dist/shared/bricks/props/border.d.ts.map +1 -0
  111. package/dist/shared/bricks/props/border.js +3 -0
  112. package/dist/shared/bricks/props/common.d.ts +5 -39
  113. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  114. package/dist/shared/bricks/props/common.js +2 -2
  115. package/dist/shared/bricks/props/container.d.ts +73 -0
  116. package/dist/shared/bricks/props/container.d.ts.map +1 -0
  117. package/dist/shared/bricks/props/container.js +3 -0
  118. package/dist/shared/bricks/props/datasource.d.ts +18 -0
  119. package/dist/shared/bricks/props/datasource.d.ts.map +1 -0
  120. package/dist/shared/bricks/props/datasource.js +3 -0
  121. package/dist/shared/bricks/props/effects.d.ts +39 -0
  122. package/dist/shared/bricks/props/effects.d.ts.map +1 -0
  123. package/dist/shared/bricks/props/effects.js +3 -0
  124. package/dist/shared/bricks/props/helpers.d.ts +29 -0
  125. package/dist/shared/bricks/props/helpers.d.ts.map +1 -0
  126. package/dist/shared/bricks/props/helpers.js +3 -0
  127. package/dist/shared/bricks/props/image.d.ts +15 -0
  128. package/dist/shared/bricks/props/image.d.ts.map +1 -0
  129. package/dist/shared/bricks/props/image.js +3 -0
  130. package/dist/shared/bricks/props/number.d.ts +6 -0
  131. package/dist/shared/bricks/props/number.d.ts.map +1 -0
  132. package/dist/shared/bricks/props/number.js +3 -0
  133. package/dist/shared/bricks/props/padding.d.ts +4 -0
  134. package/dist/shared/bricks/props/padding.d.ts.map +1 -0
  135. package/dist/shared/bricks/props/padding.js +3 -0
  136. package/dist/shared/bricks/props/position.d.ts +6 -0
  137. package/dist/shared/bricks/props/position.d.ts.map +1 -0
  138. package/dist/shared/bricks/props/position.js +3 -0
  139. package/dist/shared/bricks/props/string.d.ts +11 -0
  140. package/dist/shared/bricks/props/string.d.ts.map +1 -0
  141. package/dist/shared/bricks/props/string.js +3 -0
  142. package/dist/shared/bricks/props/tests/align.test.d.ts +2 -0
  143. package/dist/shared/bricks/props/tests/align.test.d.ts.map +1 -0
  144. package/dist/shared/bricks/props/tests/background.test.d.ts +2 -0
  145. package/dist/shared/bricks/props/tests/background.test.d.ts.map +1 -0
  146. package/dist/shared/bricks/props/tests/border.test.d.ts +2 -0
  147. package/dist/shared/bricks/props/tests/border.test.d.ts.map +1 -0
  148. package/dist/shared/bricks/props/tests/container.test.d.ts +2 -0
  149. package/dist/shared/bricks/props/tests/container.test.d.ts.map +1 -0
  150. package/dist/shared/bricks/props/tests/effects.test.d.ts +2 -0
  151. package/dist/shared/bricks/props/tests/effects.test.d.ts.map +1 -0
  152. package/dist/shared/bricks/props/tests/helpers.test.d.ts +2 -0
  153. package/dist/shared/bricks/props/tests/helpers.test.d.ts.map +1 -0
  154. package/dist/shared/bricks/props/tests/image.test.d.ts +2 -0
  155. package/dist/shared/bricks/props/tests/image.test.d.ts.map +1 -0
  156. package/dist/shared/bricks/props/tests/padding.d.ts +2 -0
  157. package/dist/shared/bricks/props/tests/padding.d.ts.map +1 -0
  158. package/dist/shared/bricks/props/tests/string.test.d.ts +2 -0
  159. package/dist/shared/bricks/props/tests/string.test.d.ts.map +1 -0
  160. package/dist/shared/bricks/props/text.d.ts +14 -0
  161. package/dist/shared/bricks/props/text.d.ts.map +1 -0
  162. package/dist/shared/bricks/props/text.js +3 -0
  163. package/dist/shared/bricks/props/types.d.ts +43 -0
  164. package/dist/shared/bricks/props/types.d.ts.map +1 -0
  165. package/dist/shared/bricks/props/types.js +2 -0
  166. package/dist/shared/bricks.d.ts +88 -1527
  167. package/dist/shared/bricks.d.ts.map +1 -1
  168. package/dist/shared/bricks.js +2 -2
  169. package/dist/shared/chunk-3CY6AZG7.js +3 -0
  170. package/dist/shared/chunk-3YDMOB7M.js +3 -0
  171. package/dist/shared/{chunk-X7ABR5GQ.js → chunk-6GYFUI5C.js} +2 -2
  172. package/dist/shared/chunk-6I4PY5WS.js +3 -0
  173. package/dist/shared/{chunk-KXVIWTJN.js → chunk-7XTKGW6E.js} +1 -1
  174. package/dist/shared/chunk-AZ63RF3K.js +3 -0
  175. package/dist/shared/chunk-BK6LBWDI.js +3 -0
  176. package/dist/shared/chunk-BMDB2V7J.js +3 -0
  177. package/dist/shared/chunk-CSBX76ZN.js +3 -0
  178. package/dist/shared/chunk-DAPQ4JPP.js +3 -0
  179. package/dist/shared/chunk-EFJQECVB.js +3 -0
  180. package/dist/shared/chunk-F2ZVIFHO.js +3 -0
  181. package/dist/shared/chunk-FGU4BGP4.js +3 -0
  182. package/dist/shared/chunk-H6L4KRCJ.js +3 -0
  183. package/dist/shared/chunk-HIZPJNEM.js +3 -0
  184. package/dist/shared/chunk-HW5TY2QW.js +3 -0
  185. package/dist/shared/chunk-IWSVY2VC.js +3 -0
  186. package/dist/shared/chunk-JVDUEZYO.js +3 -0
  187. package/dist/shared/chunk-KB4HY432.js +3 -0
  188. package/dist/shared/chunk-LDOM2LJF.js +3 -0
  189. package/dist/shared/chunk-NFU5BF6G.js +3 -0
  190. package/dist/shared/{chunk-A3ACTIE3.js → chunk-NNVPTAAH.js} +1 -1
  191. package/dist/shared/chunk-P5FVZ5PL.js +3 -0
  192. package/dist/shared/chunk-P7WL7MYK.js +3 -0
  193. package/dist/shared/chunk-PD7P5KSV.js +3 -0
  194. package/dist/shared/chunk-PJ6HA55L.js +3 -0
  195. package/dist/shared/chunk-PSSJMWGU.js +3 -0
  196. package/dist/shared/chunk-Q4MXTCE4.js +8 -0
  197. package/dist/shared/chunk-QRBMK5UX.js +3 -0
  198. package/dist/shared/chunk-RBYYMUOZ.js +3 -0
  199. package/dist/shared/chunk-SO5M7CYA.js +3 -0
  200. package/dist/shared/chunk-SQVL4WSX.js +3 -0
  201. package/dist/shared/chunk-TQ23UATQ.js +3 -0
  202. package/dist/shared/chunk-U44NTSIO.js +3 -0
  203. package/dist/shared/chunk-U4R5EGBK.js +3 -0
  204. package/dist/shared/chunk-WJ5CDDXW.js +3 -0
  205. package/dist/shared/chunk-WOEBR25A.js +3 -0
  206. package/dist/shared/chunk-WPTVLIYS.js +3 -0
  207. package/dist/shared/{chunk-XGI243DO.js → chunk-WXKRIUTA.js} +1 -1
  208. package/dist/shared/chunk-XBX6II3M.js +3 -0
  209. package/dist/shared/chunk-XEQ2XZLQ.js +3 -0
  210. package/dist/shared/chunk-XGCBIXOO.js +3 -0
  211. package/dist/shared/chunk-XYID4ZEA.js +3 -0
  212. package/dist/shared/chunk-ZWVJMSTT.js +3 -0
  213. package/dist/shared/datarecords/external/google/oauth/config.js +1 -1
  214. package/dist/shared/datarecords/types.d.ts +2 -2
  215. package/dist/shared/datarecords/types.js +1 -1
  216. package/dist/shared/datarecords.js +1 -1
  217. package/dist/shared/datasources/external/meta/oauth/config.js +2 -2
  218. package/dist/shared/datasources/external/tiktok/oauth/config.js +2 -2
  219. package/dist/shared/datasources/external/youtube/oauth/config.js +2 -2
  220. package/dist/shared/datasources/internal/job-board/schema.d.ts +87 -0
  221. package/dist/shared/datasources/internal/job-board/schema.d.ts.map +1 -0
  222. package/dist/shared/datasources/schemas.js +2 -2
  223. package/dist/shared/datasources/types.d.ts +2 -2
  224. package/dist/shared/datasources/types.js +2 -2
  225. package/dist/shared/datasources.js +1 -1
  226. package/dist/shared/env.d.ts +6 -6
  227. package/dist/shared/env.d.ts.map +1 -1
  228. package/dist/shared/env.js +1 -1
  229. package/dist/shared/errors.js +1 -1
  230. package/dist/shared/layout-constants.js +2 -2
  231. package/dist/shared/oauth.js +2 -2
  232. package/dist/shared/page.d.ts +155 -2331
  233. package/dist/shared/page.d.ts.map +1 -1
  234. package/dist/shared/page.js +2 -2
  235. package/dist/shared/responsive.js +1 -1
  236. package/dist/shared/template.d.ts +31 -0
  237. package/dist/shared/template.d.ts.map +1 -0
  238. package/dist/shared/template.js +3 -0
  239. package/dist/shared/tests/test-config.d.ts +1 -1
  240. package/dist/shared/tests/test-config.d.ts.map +1 -1
  241. package/dist/shared/theme.d.ts.map +1 -1
  242. package/dist/shared/theme.js +2 -2
  243. package/dist/shared/themes/all-themes.js +1 -1
  244. package/dist/shared/themes/color-system.d.ts +3 -5
  245. package/dist/shared/themes/color-system.d.ts.map +1 -1
  246. package/dist/shared/themes/color-system.js +2 -2
  247. package/dist/shared/utils/canvas-data-uri.d.ts +2 -0
  248. package/dist/shared/utils/canvas-data-uri.d.ts.map +1 -0
  249. package/dist/shared/utils/invariant.js +2 -2
  250. package/dist/shared/utils/merge.d.ts +2 -0
  251. package/dist/shared/utils/merge.d.ts.map +1 -0
  252. package/dist/shared/utils/merge.js +3 -0
  253. package/dist/shared/utils/object-hash.d.ts +2 -0
  254. package/dist/shared/utils/object-hash.d.ts.map +1 -0
  255. package/dist/shared/utils/try-catch.d.ts +7 -0
  256. package/dist/shared/utils/try-catch.d.ts.map +1 -0
  257. package/package.json +6 -5
  258. package/dist/shared/bricks/manifests/images-wall.manifest.d.ts +0 -95
  259. package/dist/shared/bricks/manifests/images-wall.manifest.d.ts.map +0 -1
  260. package/dist/shared/bricks/manifests/images-wall.manifest.js +0 -3
  261. package/dist/shared/bricks/manifests/loop.manifest.d.ts +0 -105
  262. package/dist/shared/bricks/manifests/loop.manifest.d.ts.map +0 -1
  263. package/dist/shared/bricks/manifests/loop.manifest.js +0 -3
  264. package/dist/shared/bricks/props/style-presets.d.ts +0 -10
  265. package/dist/shared/bricks/props/style-presets.d.ts.map +0 -1
  266. package/dist/shared/bricks/props/style-presets.js +0 -3
  267. package/dist/shared/bricks/props/style-props.d.ts +0 -90
  268. package/dist/shared/bricks/props/style-props.d.ts.map +0 -1
  269. package/dist/shared/bricks/props/style-props.js +0 -3
  270. package/dist/shared/chunk-3PPIJUXG.js +0 -32
  271. package/dist/shared/chunk-3T2OW4FE.js +0 -14
  272. package/dist/shared/chunk-5PE57DBS.js +0 -15
  273. package/dist/shared/chunk-6G2OUITX.js +0 -3
  274. package/dist/shared/chunk-6PCNIIO5.js +0 -3
  275. package/dist/shared/chunk-AVHF4FLR.js +0 -3
  276. package/dist/shared/chunk-G42AE2ZC.js +0 -13
  277. package/dist/shared/chunk-G4K7GJZO.js +0 -3
  278. package/dist/shared/chunk-GBKDJDGW.js +0 -3
  279. package/dist/shared/chunk-GUOQD446.js +0 -22
  280. package/dist/shared/chunk-MEMG6QPT.js +0 -3
  281. package/dist/shared/chunk-NYPOZ5T2.js +0 -13
  282. package/dist/shared/chunk-PXAK7ZJ3.js +0 -3
  283. package/dist/shared/chunk-PZCWP77P.js +0 -3
  284. package/dist/shared/chunk-QQ7YEIHB.js +0 -3
  285. package/dist/shared/chunk-RRTB52G4.js +0 -9
  286. package/dist/shared/chunk-UIKVMZNI.js +0 -13
  287. package/dist/shared/chunk-WGWJHVOE.js +0 -20
  288. package/dist/shared/chunk-WX4P2YIR.js +0 -11
  289. package/dist/shared/chunk-WXSQ2ZEK.js +0 -16
  290. package/dist/shared/chunk-XS5WCEA6.js +0 -16
  291. package/dist/shared/chunk-Y3TOGUNY.js +0 -9
  292. package/dist/shared/chunk-YSMFNK4R.js +0 -20
  293. package/dist/shared/chunk-YXGFGLKH.js +0 -16
  294. package/dist/shared/chunk-ZDZXB45C.js +0 -7
  295. package/dist/shared/chunk-ZWYM64YA.js +0 -8
  296. package/dist/shared/chunk-ZYVXEGAM.js +0 -11
@@ -1,11 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as i}from"./chunk-QQ7YEIHB.js";import{a as e}from"./chunk-PXAK7ZJ3.js";import{b as o}from"./chunk-PZCWP77P.js";import{Type as t}from"@sinclair/typebox";import{Value as r}from"@sinclair/typebox/value";var p=i({type:"loop",kind:"widget",title:"Loop",description:"Allow users to loop through a list of items",preferredWidth:{mobile:e.mobile/2,desktop:e.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
4
- <!-- Main container -->
5
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
6
-
7
- <!-- Loop arrow -->
8
- <path d="M8 12 L12 16 L16 12"></path>
9
- <path d="M8 12 L12 8 L16 12"></path>
10
- </svg>
11
- `,props:t.Composite([o,t.Object({layoutType:t.Union([t.Literal("vertical",{title:"Vertical"}),t.Literal("horizontal",{title:"Horizontal"}),t.Literal("grid",{title:"Grid"})]),gap:t.Optional(t.Number({default:0})),columns:t.Optional(t.Number({default:2})),children:t.Array(t.Any()),data:t.Union([t.Array(t.Any()),t.Object({datasourceId:t.String()})])})])}),m=r.Create(p);export{p as a,m as b};
@@ -1,16 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as o}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as e}from"./chunk-PZCWP77P.js";import{Type as i}from"@sinclair/typebox";import{Value as r}from"@sinclair/typebox/value";var p=o({type:"map",kind:"widget",title:"Map",description:"A map element with a location",preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
4
- <!-- Main container -->
5
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
6
-
7
- <!-- Map fold lines (even thinner) -->
8
- <path d="M3 9 L21 9" stroke-width="0.3"></path>
9
- <path d="M9 3 L9 21" stroke-width="0.3"></path>
10
- <path d="M15 3 L15 21" stroke-width="0.3"></path>
11
- <path d="M3 15 L21 15" stroke-width="0.3"></path>
12
-
13
- <!-- Location pin (teardrop shape) -->
14
- <path d="M12 5 C10.3431 5 9 6.34315 9 8 C9 9.3124 9.84285 10.4274 11 10.8229 L12 13 L13 10.8229 C14.1571 10.4274 15 9.3124 15 8 C15 6.34315 13.6569 5 12 5Z"></path>
15
- </svg>
16
- `,props:i.Composite([e])}),l=r.Create(p);export{p as a,l as b};
@@ -1,16 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as i}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as e,f as o,h as r}from"./chunk-PZCWP77P.js";import{Type as n}from"@sinclair/typebox";import{Value as p}from"@sinclair/typebox/value";var m=i({type:"form",kind:"widget",title:"Form",description:"A form element",preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
4
- <!-- Main container -->
5
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
6
-
7
- <!-- Two input boxes -->
8
- <rect x="6" y="6" width="12" height="3" rx="1"></rect>
9
- <rect x="6" y="11" width="12" height="3" rx="1"></rect>
10
-
11
- <!-- Right-aligned button -->
12
- <rect x="12" y="17" width="6" height="2" rx="1"
13
- fill="currentColor"
14
- ></rect>
15
- </svg>
16
- `,props:n.Composite([o,e,r])}),f=p.Create(m);export{m as a,f as b};
@@ -1,9 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as i}from"./chunk-QQ7YEIHB.js";import{a as e}from"./chunk-PXAK7ZJ3.js";import{b as o,g as r}from"./chunk-PZCWP77P.js";import{n as t}from"./chunk-MEMG6QPT.js";import{Type as p}from"@sinclair/typebox";import{Value as m}from"@sinclair/typebox/value";var s=i({type:"hero",title:"Hero",kind:"brick",description:"A big textual element for home pages",preferredWidth:{mobile:e.mobile/2,desktop:e.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`
4
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
5
- <rect x="10" y="10" width="80" height="80" rx="4" fill="none" stroke="currentColor" stroke-width="3"/>
6
- <rect x="20" y="35" width="60" height="12" rx="2" fill="currentColor"/>
7
- <rect x="20" y="52" width="40" height="12" rx="2" fill="currentColor"/>
8
- </svg>
9
- `,props:p.Composite([r,o,t])}),x=m.Create(s);export{s as a,x as b};
@@ -1,20 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as t}from"./chunk-QQ7YEIHB.js";import{a as e}from"./chunk-PXAK7ZJ3.js";import{b as i,f as o}from"./chunk-PZCWP77P.js";import{Type as r}from"@sinclair/typebox";import{Value as l}from"@sinclair/typebox/value";var n=t({type:"social-links",kind:"widget",title:"Social links",description:"A list of social media links",preferredWidth:{mobile:e.mobile/2,desktop:e.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
4
- <!-- Main container -->
5
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
6
-
7
- <!-- Dots and social info -->
8
- <circle cx="8" cy="8" r="1" fill="currentColor"></circle>
9
- <line x1="11" y1="7" x2="16" y2="7"></line>
10
- <line x1="11" y1="9" x2="13" y2="9" stroke-width="0.5"></line>
11
-
12
- <circle cx="8" cy="12" r="1" fill="currentColor"></circle>
13
- <line x1="11" y1="11" x2="16" y2="11"></line>
14
- <line x1="11" y1="13" x2="13.5" y2="13" stroke-width="0.5"></line>
15
-
16
- <circle cx="8" cy="16" r="1" fill="currentColor"></circle>
17
- <line x1="11" y1="15" x2="16" y2="15"></line>
18
- <line x1="11" y1="17" x2="13" y2="17" stroke-width="0.5"></line>
19
- </svg>
20
- `,props:r.Composite([o,i])}),y=l.Create(n);export{n as a,y as b};
@@ -1,16 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as d}from"./chunk-QQ7YEIHB.js";import{a as r}from"./chunk-PXAK7ZJ3.js";import{b as n}from"./chunk-PZCWP77P.js";import{f as t,h as i,n as o}from"./chunk-MEMG6QPT.js";import{Type as e}from"@sinclair/typebox";import{Value as l}from"@sinclair/typebox/value";var p=d({type:"card",kind:"widget",title:"Card",description:"A multi-purpose card that can have a title, subtitle, image, and content",preferredWidth:{mobile:r.mobile/2,desktop:r.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
4
- <!-- Card container -->
5
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
6
-
7
- <!-- Image area separator line -->
8
- <line x1="3" y1="11" x2="21" y2="11"></line>
9
-
10
- <!-- Title (shorter line) -->
11
- <line x1="7" y1="14" x2="17" y2="14"></line>
12
-
13
- <!-- Text content (shorter line) -->
14
- <line x1="7" y1="17" x2="15" y2="17"></line>
15
- </svg>
16
- `,props:e.Composite([n,o,e.Object({cardTitle:e.Object({content:e.String({"ui:field":"hidden","ui:group":"card-title","ui:group:title":"Title","ui:group:order":0}),padding:t,backgroundColor:i},{title:"Title","ui:group":"card-title","ui:group:title":"Title","ui:group:order":0,default:"Edit my title"}),cardImage:e.Optional(e.Object({image:e.String({title:"Image","ui:field":"image","ui:accept":"image/*","ui:show-img-search":!0})},{title:"Image","ui:group":"card-image","ui:group:title":"Image","ui:group:order":0})),cardBody:e.Object({content:e.String({"ui:field":"hidden","ui:group":"card-body","ui:group:title":"Body","ui:group:order":0}),padding:t,backgroundColor:i},{title:"Body","ui:group":"card-body","ui:group:title":"Body","ui:group:order":0,default:{content:"Edit my content"}})})])}),x=l.Create(p);export{p as a,x as b};
@@ -1,7 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as r}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as e,f as i}from"./chunk-PZCWP77P.js";import{n as o}from"./chunk-MEMG6QPT.js";import{Type as p}from"@sinclair/typebox";import{Value as m}from"@sinclair/typebox/value";var n=r({type:"text",kind:"brick",title:"Text",description:"Text with formatting options",preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`
4
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
5
- <path d="M4 7h16M4 12h16M4 17h16"></path>
6
- </svg>
7
- `,props:p.Composite([e,i,o])}),h=m.Create(n);export{n as a,h as b};
@@ -1,8 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as i}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as r}from"./chunk-PZCWP77P.js";import{n as o}from"./chunk-MEMG6QPT.js";import{Type as e}from"@sinclair/typebox";import{Value as n}from"@sinclair/typebox/value";var p=i({type:"generic-component",title:"Generic component",kind:"brick",description:"A generic component",hideInLibrary:!0,preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`
4
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
5
- <rect x="4" y="11" width="16" height="6" rx="2"></rect>
6
- <line x1="9" y1="14" x2="15" y2="14"></line>
7
- </svg>
8
- `,props:e.Composite([r,o,e.Object({render:e.Function([e.Object({},{additionalProperties:!0})],e.Any(),{title:"React component"}),componentProps:e.Optional(e.Object({},{additionalProperties:!0}))})])}),k=n.Create(p);export{p as a,k as b};
@@ -1,11 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
-
3
- import{a as i}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as e,f as o}from"./chunk-PZCWP77P.js";import{Type as r}from"@sinclair/typebox";import{Value as n}from"@sinclair/typebox/value";var p=i({type:"icon",title:"Icon",kind:"brick",description:"An icon with optional text",preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`
4
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
5
- <!-- Main container -->
6
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
7
-
8
- <!-- Diamond shape -->
9
- <path d="M7 12 L12 7 L17 12 L12 17 Z"></path>
10
- </svg>
11
- `,props:r.Composite([o,e])}),f=n.Create(p);export{p as a,f as b};