@upstart.gg/sdk 0.0.117 → 0.0.119

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 (256) hide show
  1. package/dist/shared/ajv.d.ts.map +1 -1
  2. package/dist/shared/ajv.js +1 -1
  3. package/dist/shared/attributes.d.ts +14 -59
  4. package/dist/shared/attributes.d.ts.map +1 -1
  5. package/dist/shared/attributes.js +1 -1
  6. package/dist/shared/brick-manifest.d.ts +17 -20
  7. package/dist/shared/brick-manifest.d.ts.map +1 -1
  8. package/dist/shared/brick-manifest.js +1 -1
  9. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +25 -28
  10. package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
  11. package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
  12. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  13. package/dist/shared/bricks/manifests/button.manifest.d.ts +20 -21
  14. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  15. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  16. package/dist/shared/bricks/manifests/card.manifest.d.ts +32 -31
  17. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  18. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  19. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +20 -23
  20. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  21. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  22. package/dist/shared/bricks/manifests/footer.manifest.d.ts +20 -24
  23. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  24. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  25. package/dist/shared/bricks/manifests/form.manifest.d.ts +20 -20
  26. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  27. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  28. package/dist/shared/bricks/manifests/hero.manifest.d.ts +18 -45
  29. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  30. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  31. package/dist/shared/bricks/manifests/icon.manifest.d.ts +17 -20
  32. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  33. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  34. package/dist/shared/bricks/manifests/image.manifest.d.ts +20 -23
  35. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  36. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  37. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +18 -61
  38. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  39. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  40. package/dist/shared/bricks/manifests/map.manifest.d.ts +22 -25
  41. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  42. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  43. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +33 -89
  44. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  45. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  46. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +23 -26
  47. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  48. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  49. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +22 -24
  50. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  51. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  52. package/dist/shared/bricks/manifests/spacer.manifest.d.ts +18 -21
  53. package/dist/shared/bricks/manifests/spacer.manifest.d.ts.map +1 -1
  54. package/dist/shared/bricks/manifests/spacer.manifest.js +1 -1
  55. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +21 -24
  56. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
  57. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  58. package/dist/shared/bricks/manifests/text.manifest.d.ts +20 -24
  59. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  60. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  61. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +23 -26
  62. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
  63. package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
  64. package/dist/shared/bricks/manifests/vbox.manifest.d.ts +20 -23
  65. package/dist/shared/bricks/manifests/vbox.manifest.d.ts.map +1 -1
  66. package/dist/shared/bricks/manifests/vbox.manifest.js +1 -1
  67. package/dist/shared/bricks/manifests/video.manifest.d.ts +21 -23
  68. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  69. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  70. package/dist/shared/bricks/props/align.d.ts.map +1 -1
  71. package/dist/shared/bricks/props/align.js +1 -1
  72. package/dist/shared/bricks/props/background.d.ts.map +1 -1
  73. package/dist/shared/bricks/props/background.js +1 -1
  74. package/dist/shared/bricks/props/boolean.d.ts.map +1 -1
  75. package/dist/shared/bricks/props/boolean.js +1 -1
  76. package/dist/shared/bricks/props/border.d.ts +6 -6
  77. package/dist/shared/bricks/props/border.d.ts.map +1 -1
  78. package/dist/shared/bricks/props/border.js +1 -1
  79. package/dist/shared/bricks/props/color.d.ts.map +1 -1
  80. package/dist/shared/bricks/props/color.js +1 -1
  81. package/dist/shared/bricks/props/common.d.ts +5 -4
  82. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  83. package/dist/shared/bricks/props/common.js +1 -1
  84. package/dist/shared/bricks/props/container.d.ts +3 -61
  85. package/dist/shared/bricks/props/container.d.ts.map +1 -1
  86. package/dist/shared/bricks/props/container.js +1 -1
  87. package/dist/shared/bricks/props/css-length.d.ts.map +1 -1
  88. package/dist/shared/bricks/props/css-length.js +1 -1
  89. package/dist/shared/bricks/props/datarecord.d.ts.map +1 -1
  90. package/dist/shared/bricks/props/datarecord.js +1 -1
  91. package/dist/shared/bricks/props/datasource.d.ts.map +1 -1
  92. package/dist/shared/bricks/props/datasource.js +1 -1
  93. package/dist/shared/bricks/props/date.d.ts.map +1 -1
  94. package/dist/shared/bricks/props/date.js +1 -1
  95. package/dist/shared/bricks/props/effects.d.ts +8 -3
  96. package/dist/shared/bricks/props/effects.d.ts.map +1 -1
  97. package/dist/shared/bricks/props/effects.js +1 -1
  98. package/dist/shared/bricks/props/enum.d.ts.map +1 -1
  99. package/dist/shared/bricks/props/enum.js +1 -1
  100. package/dist/shared/bricks/props/file.d.ts.map +1 -1
  101. package/dist/shared/bricks/props/file.js +1 -1
  102. package/dist/shared/bricks/props/geolocation.d.ts.map +1 -1
  103. package/dist/shared/bricks/props/geolocation.js +1 -1
  104. package/dist/shared/bricks/props/helpers.d.ts +2 -13
  105. package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
  106. package/dist/shared/bricks/props/helpers.js +1 -1
  107. package/dist/shared/bricks/props/image.d.ts.map +1 -1
  108. package/dist/shared/bricks/props/image.js +1 -1
  109. package/dist/shared/bricks/props/number.d.ts.map +1 -1
  110. package/dist/shared/bricks/props/number.js +1 -1
  111. package/dist/shared/bricks/props/padding.d.ts +1 -1
  112. package/dist/shared/bricks/props/padding.d.ts.map +1 -1
  113. package/dist/shared/bricks/props/padding.js +1 -1
  114. package/dist/shared/bricks/props/position.d.ts.map +1 -1
  115. package/dist/shared/bricks/props/position.js +1 -1
  116. package/dist/shared/bricks/props/preset.d.ts +27 -109
  117. package/dist/shared/bricks/props/preset.d.ts.map +1 -1
  118. package/dist/shared/bricks/props/preset.js +1 -1
  119. package/dist/shared/bricks/props/string.d.ts.map +1 -1
  120. package/dist/shared/bricks/props/string.js +1 -1
  121. package/dist/shared/bricks/props/text.d.ts +4 -1
  122. package/dist/shared/bricks/props/text.d.ts.map +1 -1
  123. package/dist/shared/bricks/props/text.js +1 -1
  124. package/dist/shared/bricks.d.ts +38 -68
  125. package/dist/shared/bricks.d.ts.map +1 -1
  126. package/dist/shared/bricks.js +1 -1
  127. package/dist/shared/chunk-2NLENMXL.js +7 -0
  128. package/dist/shared/chunk-34KLKC7D.js +3 -0
  129. package/dist/shared/chunk-3SJF2FMO.js +3 -0
  130. package/dist/shared/chunk-4JBVVUVM.js +3 -0
  131. package/dist/shared/chunk-4ZUR7K74.js +5 -0
  132. package/dist/shared/chunk-5C6YS7H3.js +3 -0
  133. package/dist/shared/chunk-5WHMFZQF.js +3 -0
  134. package/dist/shared/chunk-6ROBSJRQ.js +3 -0
  135. package/dist/shared/chunk-72CMZ7I4.js +4 -0
  136. package/dist/shared/chunk-7ETOZECR.js +6 -0
  137. package/dist/shared/chunk-7RCISOBG.js +3 -0
  138. package/dist/shared/chunk-A5CTYB3S.js +3 -0
  139. package/dist/shared/chunk-AXSKYJTL.js +3 -0
  140. package/dist/shared/{chunk-ZLZLOU5E.js → chunk-BIW4XH5V.js} +1 -1
  141. package/dist/shared/chunk-BSNVXPIC.js +3 -0
  142. package/dist/shared/chunk-CDM5BFRG.js +3 -0
  143. package/dist/shared/chunk-DNGQLHDZ.js +3 -0
  144. package/dist/shared/{chunk-K4IXTRRQ.js → chunk-DXBTSJYY.js} +1 -1
  145. package/dist/shared/chunk-FE6PIS6N.js +3 -0
  146. package/dist/shared/{chunk-QSKUUUXU.js → chunk-G77ZZFCM.js} +1 -1
  147. package/dist/shared/chunk-H3RYVSVS.js +3 -0
  148. package/dist/shared/chunk-HTHIRSIW.js +3 -0
  149. package/dist/shared/{chunk-EXD5JEQ4.js → chunk-IFEIRRZ2.js} +1 -1
  150. package/dist/shared/chunk-J27BW3WS.js +3 -0
  151. package/dist/shared/chunk-JA6PIQX4.js +8 -0
  152. package/dist/shared/chunk-JETRSMDQ.js +3 -0
  153. package/dist/shared/chunk-JKHX2JMJ.js +3 -0
  154. package/dist/shared/chunk-KHQV2YZC.js +3 -0
  155. package/dist/shared/chunk-KVY3XSFM.js +3 -0
  156. package/dist/shared/chunk-L42YBY5I.js +3 -0
  157. package/dist/shared/chunk-LYRE7PSQ.js +3 -0
  158. package/dist/shared/chunk-MJQMJKX4.js +3 -0
  159. package/dist/shared/chunk-MKIXZXWS.js +3 -0
  160. package/dist/shared/chunk-ML2Z54ZY.js +3 -0
  161. package/dist/shared/chunk-MPBYGS6W.js +3 -0
  162. package/dist/shared/chunk-MZB4NFIY.js +3 -0
  163. package/dist/shared/chunk-N5Z7O3UP.js +3 -0
  164. package/dist/shared/chunk-NUZZ4AJ5.js +3 -0
  165. package/dist/shared/chunk-PIDZNG77.js +3 -0
  166. package/dist/shared/chunk-QLCJ52FH.js +3 -0
  167. package/dist/shared/chunk-QMVW2BT6.js +3 -0
  168. package/dist/shared/chunk-QSZWDE3D.js +3 -0
  169. package/dist/shared/chunk-RXZKWH2W.js +3 -0
  170. package/dist/shared/chunk-RZN35CZP.js +3 -0
  171. package/dist/shared/chunk-SCKFS7W6.js +3 -0
  172. package/dist/shared/chunk-TATG6SFZ.js +3 -0
  173. package/dist/shared/chunk-UFKFCMG5.js +3 -0
  174. package/dist/shared/chunk-YBCG2363.js +3 -0
  175. package/dist/shared/chunk-YIFNKP4J.js +3 -0
  176. package/dist/shared/chunk-ZAHMW4A6.js +3 -0
  177. package/dist/shared/chunk-ZBLSXB2C.js +3 -0
  178. package/dist/shared/chunk-ZI5FRDND.js +3 -0
  179. package/dist/shared/chunk-ZS7NIR2D.js +6 -0
  180. package/dist/shared/datarecords/types.d.ts +8 -3
  181. package/dist/shared/datarecords/types.d.ts.map +1 -1
  182. package/dist/shared/datarecords/types.js +1 -1
  183. package/dist/shared/datasources/types.d.ts +6 -6
  184. package/dist/shared/page.d.ts +16 -51
  185. package/dist/shared/page.d.ts.map +1 -1
  186. package/dist/shared/page.js +1 -1
  187. package/dist/shared/responsive.d.ts +1 -1
  188. package/dist/shared/site.d.ts +55 -163
  189. package/dist/shared/site.d.ts.map +1 -1
  190. package/dist/shared/site.js +1 -1
  191. package/dist/shared/theme.d.ts.map +1 -1
  192. package/dist/shared/theme.js +1 -1
  193. package/dist/shared/themes/color-system.js +1 -1
  194. package/dist/shared/utils/merge.js +1 -1
  195. package/dist/shared/utils/schema-resolver.js +1 -1
  196. package/dist/shared/utils/schema.d.ts +1 -0
  197. package/dist/shared/utils/schema.d.ts.map +1 -1
  198. package/dist/shared/utils/schema.js +1 -1
  199. package/dist/shared/utils/string-enum.d.ts +1 -2
  200. package/dist/shared/utils/string-enum.d.ts.map +1 -1
  201. package/dist/shared/utils/typed-ref.d.ts +4 -4
  202. package/dist/shared/utils/typed-ref.d.ts.map +1 -1
  203. package/dist/shared/utils/typed-ref.js +1 -1
  204. package/package.json +2 -2
  205. package/dist/shared/bricks/props/prop.d.ts +0 -7
  206. package/dist/shared/bricks/props/prop.d.ts.map +0 -1
  207. package/dist/shared/bricks/props/prop.js +0 -3
  208. package/dist/shared/chunk-2H5VIB3U.js +0 -3
  209. package/dist/shared/chunk-2RFQWOA7.js +0 -3
  210. package/dist/shared/chunk-2SKKI3KJ.js +0 -4
  211. package/dist/shared/chunk-32APWO4Z.js +0 -3
  212. package/dist/shared/chunk-37KM4IWB.js +0 -6
  213. package/dist/shared/chunk-3VAPSJAM.js +0 -7
  214. package/dist/shared/chunk-4EWHK6FQ.js +0 -3
  215. package/dist/shared/chunk-7R2EGSAC.js +0 -3
  216. package/dist/shared/chunk-AKPYGLW5.js +0 -3
  217. package/dist/shared/chunk-BQCZEXRG.js +0 -3
  218. package/dist/shared/chunk-BYCUSRL2.js +0 -3
  219. package/dist/shared/chunk-C2DCMJIF.js +0 -3
  220. package/dist/shared/chunk-CM4DB7ZV.js +0 -3
  221. package/dist/shared/chunk-DJ5LWVHX.js +0 -3
  222. package/dist/shared/chunk-DRKQ2LLJ.js +0 -3
  223. package/dist/shared/chunk-DWSR7PPT.js +0 -3
  224. package/dist/shared/chunk-EBGVKGZ7.js +0 -3
  225. package/dist/shared/chunk-EVTK7HXN.js +0 -3
  226. package/dist/shared/chunk-FCVBP455.js +0 -3
  227. package/dist/shared/chunk-FKMRJ77K.js +0 -3
  228. package/dist/shared/chunk-G27OM7PB.js +0 -3
  229. package/dist/shared/chunk-GSHTK5QF.js +0 -3
  230. package/dist/shared/chunk-GYXGMORV.js +0 -3
  231. package/dist/shared/chunk-HHD7WJAI.js +0 -3
  232. package/dist/shared/chunk-HVJI5X3Q.js +0 -3
  233. package/dist/shared/chunk-IDREMFQR.js +0 -3
  234. package/dist/shared/chunk-IE4FR7ST.js +0 -8
  235. package/dist/shared/chunk-JXC7WE4F.js +0 -3
  236. package/dist/shared/chunk-K4CGSCWG.js +0 -3
  237. package/dist/shared/chunk-KGCIGDPR.js +0 -3
  238. package/dist/shared/chunk-LFQNWSLG.js +0 -3
  239. package/dist/shared/chunk-MMQHEKMI.js +0 -3
  240. package/dist/shared/chunk-O6ZPHAPX.js +0 -3
  241. package/dist/shared/chunk-PZWBXFBT.js +0 -3
  242. package/dist/shared/chunk-Q4R2RXAM.js +0 -3
  243. package/dist/shared/chunk-QOWTQBF7.js +0 -3
  244. package/dist/shared/chunk-R4G5SAXI.js +0 -6
  245. package/dist/shared/chunk-UC6NOZF4.js +0 -3
  246. package/dist/shared/chunk-VAC73HJE.js +0 -3
  247. package/dist/shared/chunk-W5H6GZEO.js +0 -3
  248. package/dist/shared/chunk-WAXVT4PC.js +0 -3
  249. package/dist/shared/chunk-WCVUBYL5.js +0 -3
  250. package/dist/shared/chunk-WH25EOMR.js +0 -3
  251. package/dist/shared/chunk-WQNRTOOI.js +0 -3
  252. package/dist/shared/chunk-XCJETB76.js +0 -3
  253. package/dist/shared/chunk-XIR3E7KE.js +0 -5
  254. package/dist/shared/chunk-XSVK2GW3.js +0 -3
  255. package/dist/shared/chunk-Y6MXIYYC.js +0 -3
  256. package/dist/shared/chunk-ZRY4KDRV.js +0 -3
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{Type as 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};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as i,c as h}from"./chunk-EBGVKGZ7.js";import{a as p,b as D}from"./chunk-WAXVT4PC.js";import{b as r,c as W}from"./chunk-KGCIGDPR.js";import{b as l,c as w}from"./chunk-BQCZEXRG.js";import{a as d,b as G}from"./chunk-R4G5SAXI.js";import{a as E,b as F}from"./chunk-Q4R2RXAM.js";import{a as g,b as H}from"./chunk-XCJETB76.js";import{a as b,b as I}from"./chunk-32APWO4Z.js";import{a as m,b as R}from"./chunk-XIR3E7KE.js";import{a as u,b as J}from"./chunk-3VAPSJAM.js";import{a as o,b as L}from"./chunk-AKPYGLW5.js";import{a as y,b as q}from"./chunk-HHD7WJAI.js";import{a as x,b as z}from"./chunk-EVTK7HXN.js";import{a as f,b as P}from"./chunk-2SKKI3KJ.js";import{a,b as v}from"./chunk-37KM4IWB.js";import{a as M,b as C}from"./chunk-DWSR7PPT.js";import{a as s,b as B}from"./chunk-BYCUSRL2.js";import{b as n,c as j}from"./chunk-GSHTK5QF.js";import{a as t,b as k}from"./chunk-IE4FR7ST.js";import{a as c,b as A}from"./chunk-IDREMFQR.js";import{b as e}from"./chunk-XSVK2GW3.js";var re={[m.type]:m,[a.type]:a,[s.type]:s,[p.type]:p,[o.type]:o,[r.type]:r,[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,[b.type]:b,[u.type]:u,[t.type]:t},fe={[m.type]:e(m),[a.type]:e(a),[s.type]:e(s),[p.type]:e(p),[o.type]:e(o),[d.type]:e(d),[r.type]:e(r),[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),[b.type]:e(b),[u.type]:e(u),[t.type]:e(t)},ne={[m.type]:R,[a.type]:v,[s.type]:B,[p.type]:D,[o.type]:L,[r.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,[b.type]:I,[u.type]:J,[t.type]:k};export{re as a,fe as b,ne as c};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as i}from"./chunk-JXC7WE4F.js";import{a as r}from"./chunk-GYXGMORV.js";import{a as t}from"./chunk-XSVK2GW3.js";import{c as e,d as o}from"./chunk-FKMRJ77K.js";import{RxVideo as p}from"react-icons/rx";var u=t({type:"video",kind:"brick",name:"Video",description:"Youtube video",repeatable:!0,icon:p,props:e({url:r("Video URL",{description:"URL of the video to embed. It can be a YouTube link or an embed link."}),border:o(i())})}),b=[{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{u as a,b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{jsonDefault as m}from"json-schema-default";function o(n){if(!("enum"in n))return n.anyOf??n.oneOf;let{enum:r,enumNames:t}=n;return r.map((e,i)=>({const:e,title:t?t[i]:e}))}function u(n){return m(n)}export{o as a,u as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as o}from"./chunk-EXD5JEQ4.js";import{a as e}from"./chunk-QSKUUUXU.js";import{Type as i}from"@sinclair/typebox";function c(t,r="Text color"){return o({title:r,schema:i.String({$id:"styles:color","ai:instructions":"hex/rgb/rgba color or classes like `text-<variant>-<shade>`, variants being `primary`, `secondary`, `accent` and `neutral`, and shades between 50 and 900",default:t,"ui:styleId":"styles:color","ui:field":"color","ui:color-type":"text","ui:advanced":!0})})}function l(t={}){return e("styles:color",{...t,"ui:styleId":"styles:color"})}export{c as a,l as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as e}from"./chunk-EXD5JEQ4.js";import{Type as s}from"@sinclair/typebox";function c(t,o,n){let r={"ui:field":"enum","ui:display":n.displayAs||"select"},{options:p,displayAs:l,...u}=n;return e({title:t,schema:s.Union(p.map(i=>s.Literal(typeof i=="string"?i:i.value,{title:typeof i=="string"?i:i.title,"ui:icon":typeof i=="string"?void 0:i.icon})),{title:t,default:o,...r,...u})})}export{c as a};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{d as r}from"./chunk-G27OM7PB.js";import{a as t}from"./chunk-XSVK2GW3.js";import{c as e,d as p}from"./chunk-FKMRJ77K.js";import{CgSpaceBetween as o}from"react-icons/cg";var c=t({type:"spacer",name:"Spacer",kind:"brick",description:"A flexible element to create space between bricks.",repeatable:!0,minWidth:{desktop:50,mobile:20},defaultWidth:{mobile:"100%",desktop:"50px"},minHeight:{mobile:30},icon:o,props:e({color:p(r({default:"bg-transparent",title:"Divider color"}))},{noPreset:!0})}),m=[{description:"Transparent spacer of 100px wide",type:"spacer",props:{width:"100px"}},{description:"Transparent spacer of 20px wide",type:"spacer",props:{width:"20px"}}];export{c as a,m as b};
@@ -1,5 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as s}from"./chunk-C2DCMJIF.js";import{b as i}from"./chunk-WH25EOMR.js";import{b as a}from"./chunk-O6ZPHAPX.js";import{b as n}from"./chunk-JXC7WE4F.js";import{b as r}from"./chunk-QOWTQBF7.js";import{d as o}from"./chunk-G27OM7PB.js";import{a as p}from"./chunk-XSVK2GW3.js";import{c as t,d as e}from"./chunk-FKMRJ77K.js";import{RxTextAlignLeft as l}from"react-icons/rx";var x=p({type:"text",kind:"brick",name:"Text",description:"Text with formatting options",aiInstructions:`Text "content" can contain minimal HTML tags like <strong>, <em>, <br> and <a> as well as <p> and <span> and lists.
4
- Only 'align' is supported as an inline style, so don't use other inline styles like 'font-size' or 'color' in the content prop.
5
- `,defaultWidth:{desktop:"200px",mobile:"100%"},defaultHeight:{desktop:"auto",mobile:"auto"},repeatable:!0,icon:l,props:t({content:s(),backgroundColor:e(o()),color:e(i()),padding:e(r({default:"p-4"})),border:e(n()),shadow:e(a())},{default:{padding:"p-8"}})}),w=[{description:"Welcome paragraph with emphasis, using a preset",type:"text",props:{preset:"prominent-primary",content:"Welcome to our platform! We're <strong>excited</strong> to have you here. Our mission is to <em>transform</em> the way you work with cutting-edge technology and <a href='/features'>innovative features</a>.",padding:"p-16"}},{description:"Feature list with HTML formatting",type:"text",props:{content:"<h3>Key Features</h3><ul><li><strong>Advanced Analytics</strong> - Real-time data insights</li><li><strong>Cloud Integration</strong> - Seamless connectivity</li><li><strong>24/7 Support</strong> - Always here to help</li></ul>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Quote block with styling",type:"text",props:{content:`<p style='text-align: center'><em>"Innovation distinguishes between a leader and a follower."</em><br><strong>- Steve Jobs</strong></p>`,backgroundColor:"#1e293b",color:"#f1f5f9",padding:"p-8"}},{description:"Multi-paragraph article content",type:"text",props:{content:"<p>The future of web development is rapidly evolving with new technologies and frameworks emerging every year. <strong>Modern developers</strong> need to stay current with trends while maintaining focus on <em>user experience</em> and performance.</p><p>Our platform provides the tools and resources you need to build <a href='/docs'>exceptional web applications</a> that scale with your business needs.</p><p>Join thousands of developers who trust our solutions for their most critical projects.</p>",padding:"p-8"}},{description:"Call-to-action text with bright styling",type:"text",props:{content:"<p style='text-align: center'><strong>Ready to Get Started?</strong><br>Join over <span style='color: #ef4444'>50,000</span> satisfied customers and transform your business today!</p><p style='text-align: center'><a href='/signup'>Sign up now</a> and get your first month <em>absolutely free</em>.</p>",backgroundColor:"#fef3c7",color:"#92400e"}},{description:"Simple heading with subtle background",type:"text",props:{content:"<h2>About Our Company</h2><p>We've been serving customers since 2010, building trust through quality products and exceptional service.</p>",backgroundColor:"#f0f9ff"}},{description:"Technical documentation snippet",type:"text",props:{content:"<h4>API Configuration</h4><p>To get started with our API, you'll need to:</p><ol><li>Create an account and <strong>generate an API key</strong></li><li>Install the SDK: <code>npm install @company/sdk</code></li><li>Initialize with your credentials</li></ol><p>For detailed instructions, visit our <a href='/docs/api'>API documentation</a>.</p>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Team introduction with formatting",type:"text",props:{content:"<p style='text-align: center'><strong>Meet Our Team</strong></p><p>Our diverse team of experts brings together decades of experience in technology, design, and business strategy. We're passionate about <em>creating solutions</em> that make a real difference.</p><p><a href='/team'>Learn more about our team</a> and the values that drive us forward.</p>",padding:"p-8",color:"#374151"}},{description:"Warning notice with dark theme",type:"text",props:{content:"<p><strong>\u26A0\uFE0F Important Notice:</strong><br>Scheduled maintenance will occur on <em>Sunday, March 15th</em> from 2:00 AM to 6:00 AM UTC.</p><p>During this time, some features may be temporarily unavailable. We apologize for any inconvenience.</p>",backgroundColor:"#dc2626",color:"#fef2f2",padding:"p-8"}},{description:"Success message with green theme",type:"text",props:{content:"<p style='text-align: center'><strong>\u2705 Success!</strong><br>Your account has been created successfully.</p><p style='text-align: center'>Check your email for verification instructions and <a href='/dashboard' style='color: #065f46'>start exploring</a> your new dashboard.</p>",backgroundColor:"#d1fae5",padding:"p-8"}}];export{x as a,w as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as t}from"./chunk-WCVUBYL5.js";function y({props:e,defaultWidth:i,defaultHeight:o,minWidth:r,minHeight:a,kind:s="brick",isContainer:n=!1,hideInLibrary:c=!1,deletable:p=!0,movable:l=!0,resizable:b=!0,repeatable:d=!1,duplicatable:u=!0,defaultInspectorTab:m="preset",icon:f,datasource:k,...g}){return{...g,datasource:k,icon:f,props:e,kind:s,defaultInspectorTab:m,hideInLibrary:c,deletable:p,movable:l,resizable:b,repeatable:d,duplicatable:u,isContainer:n,defaultWidth:i??r,defaultHeight:o??{mobile:"auto",desktop:"auto"},minWidth:r,minHeight:a}}function B(e){return{...e,props:t(e.props),...e.datasource?{datasource:t(e.datasource)}:{}}}export{y as a,B as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as c,d as i,f as u,g as p}from"./chunk-FKMRJ77K.js";import{a as n}from"./chunk-SFKZAUPW.js";import{c as s}from"./chunk-UC6NOZF4.js";import{a as l}from"./chunk-QSKUUUXU.js";import{Type as t}from"@sinclair/typebox";var a=(e,o)=>{let y=u(e),r=p(y,o,"styles:containerLayout");return r?.type==="flex"||!r?.type},d=(e,o)=>!a(e,o);function f(e={}){return t.Object({...!e.disableGrid||e["ui:disable-grid"]?{type:n(["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(s({title:"Gap",default:"10px",description:"Space between items. Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified","ui:styleId":"styles:gap"})),direction:i(n(["flex-row","flex-col"],{enumNames:["Row","Column"],title:"Direction",description:"The direction of the container. Only applies to flex layout",metadata:{filter:a}})),columns:i(t.Number({title:"Columns",description:"Number of columns. Only applies to grid layout","ui:field":"slider",minimum:1,maximum:16,metadata:{filter:d}})),wrap:i(t.Boolean({title:"Wrap",description:"Wrap items.","ai:instructions":"Only applies to flex layout",metadata:{filter:a}})),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:a}})),justifyContent:t.Optional(n(["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:a}})),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:a}}))},{...e,$id:"styles:containerLayout"})}function j({title:e="Layout",options:o={}}={}){return c({title:e,options:{"ui:styleId":"styles:containerLayout",$id:"styles:containerLayout"},children:f(o)})}function O(e={}){return l("styles:containerLayout",{title:"Container layout",description:"Settings for the layout of the container",...e})}function w(){return{$childrenType:t.Optional(t.String({title:"Dynamic child brick type",description:"Type of the child bricks that will be created when container is dynamic","ui:field":"brick-type",metadata:{category:"content"}})),$children:t.Array(t.Any(),{"ui:field":"hidden",description:"List of nested bricks",default:[]})}}function k(e={}){return t.Object({fillSpace:i(t.Boolean({title:"Fill available space",description:"Makes bricks fill the available space"})),justifyContent:t.Optional(n(["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 bricks",description:"Justify bricks horizontally","ui:placeholder":"Not specified"})),alignItems:t.Optional(n(["items-start","items-center","items-end","items-stretch"],{enumNames:["Start","Center","End","Stretch"],title:"Align bricks",description:"Align bricks vertically","ui:placeholder":"Not specified"}))},{$id:"styles:sectionLayout"})}export{j as a,O as b,w as c,k as d};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as t}from"./chunk-EXD5JEQ4.js";import{Type as e}from"@sinclair/typebox";function o(){return t({title:"Database",description:"Reference to a data source. Only used for dynamic websites",schema:e.Object({id:e.String({title:"Data Source ID"}),mapping:e.Record(e.String(),e.String(),{description:"Mapping of data source fields to brick props"}),filters:e.Optional(e.Record(e.String(),e.Object({op:e.Union([e.Literal("eq"),e.Literal("ne"),e.Literal("lt"),e.Literal("lte"),e.Literal("gt"),e.Literal("gte"),e.Literal("in"),e.Literal("nin"),e.Literal("contains"),e.Literal("startsWith"),e.Literal("endsWith")]),value:e.String()}),{description:"Filter data source records"})),sort:e.Optional(e.Record(e.String(),e.Union([e.Literal("asc",{title:"Ascending"}),e.Literal("desc",{title:"Descending"})]),{description:"Sort data source records"})),limit:e.Optional(e.Number({description:"Limit the number of records to fetch"})),offset:e.Optional(e.Number({description:"Offset the records to fetch"}))},{"ui:field":"datasource-ref","ui:meta-type":"datasource-ref",description:"Datasource reference. Only used for dynamic websites. Do not use for static websites"})})}export{o as a};