@upstart.gg/sdk 0.0.118 → 0.0.120

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 (220) hide show
  1. package/dist/shared/ajv.d.ts +1 -1
  2. package/dist/shared/ajv.d.ts.map +1 -1
  3. package/dist/shared/ajv.js +1 -1
  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 +21 -23
  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.d.ts.map +1 -1
  13. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  14. package/dist/shared/bricks/manifests/box.manifest.d.ts +88 -0
  15. package/dist/shared/bricks/manifests/box.manifest.d.ts.map +1 -0
  16. package/dist/shared/bricks/manifests/box.manifest.js +3 -0
  17. package/dist/shared/bricks/manifests/button.manifest.d.ts +30 -24
  18. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  19. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  20. package/dist/shared/bricks/manifests/card.manifest.d.ts +25 -25
  21. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  22. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  23. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +30 -43
  24. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  25. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  26. package/dist/shared/bricks/manifests/dynamic.manifest.d.ts +88 -0
  27. package/dist/shared/bricks/manifests/dynamic.manifest.d.ts.map +1 -0
  28. package/dist/shared/bricks/manifests/dynamic.manifest.js +3 -0
  29. package/dist/shared/bricks/manifests/footer.manifest.d.ts +16 -19
  30. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  31. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  32. package/dist/shared/bricks/manifests/form.manifest.d.ts +59 -22
  33. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  34. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  35. package/dist/shared/bricks/manifests/hero.manifest.d.ts +16 -42
  36. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  37. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  38. package/dist/shared/bricks/manifests/icon.manifest.d.ts +16 -18
  39. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  40. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  41. package/dist/shared/bricks/manifests/image.manifest.d.ts +17 -19
  42. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  43. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  44. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +34 -77
  45. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  46. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  47. package/dist/shared/bricks/manifests/map.manifest.d.ts +17 -19
  48. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  49. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  50. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +26 -38
  51. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  52. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  53. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +19 -43
  54. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  55. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  56. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +21 -36
  57. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  58. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  59. package/dist/shared/bricks/manifests/spacer.manifest.d.ts +15 -17
  60. package/dist/shared/bricks/manifests/spacer.manifest.d.ts.map +1 -1
  61. package/dist/shared/bricks/manifests/spacer.manifest.js +1 -1
  62. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +25 -43
  63. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
  64. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  65. package/dist/shared/bricks/manifests/text.manifest.d.ts +17 -22
  66. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  67. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  68. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +19 -21
  69. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
  70. package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
  71. package/dist/shared/bricks/manifests/vbox.manifest.d.ts +18 -31
  72. package/dist/shared/bricks/manifests/vbox.manifest.d.ts.map +1 -1
  73. package/dist/shared/bricks/manifests/vbox.manifest.js +1 -1
  74. package/dist/shared/bricks/manifests/video.manifest.d.ts +17 -19
  75. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  76. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  77. package/dist/shared/bricks/props/align.js +1 -1
  78. package/dist/shared/bricks/props/background.js +1 -1
  79. package/dist/shared/bricks/props/border.d.ts +4 -4
  80. package/dist/shared/bricks/props/border.d.ts.map +1 -1
  81. package/dist/shared/bricks/props/border.js +1 -1
  82. package/dist/shared/bricks/props/color.d.ts.map +1 -1
  83. package/dist/shared/bricks/props/color.js +1 -1
  84. package/dist/shared/bricks/props/common.d.ts +1 -0
  85. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  86. package/dist/shared/bricks/props/common.js +1 -1
  87. package/dist/shared/bricks/props/container.d.ts +4 -62
  88. package/dist/shared/bricks/props/container.d.ts.map +1 -1
  89. package/dist/shared/bricks/props/container.js +1 -1
  90. package/dist/shared/bricks/props/css-length.js +1 -1
  91. package/dist/shared/bricks/props/datasource.d.ts +2 -2
  92. package/dist/shared/bricks/props/datasource.d.ts.map +1 -1
  93. package/dist/shared/bricks/props/datasource.js +1 -1
  94. package/dist/shared/bricks/props/effects.d.ts +8 -3
  95. package/dist/shared/bricks/props/effects.d.ts.map +1 -1
  96. package/dist/shared/bricks/props/effects.js +1 -1
  97. package/dist/shared/bricks/props/gap.d.ts +5 -0
  98. package/dist/shared/bricks/props/gap.d.ts.map +1 -0
  99. package/dist/shared/bricks/props/gap.js +3 -0
  100. package/dist/shared/bricks/props/geolocation.js +1 -1
  101. package/dist/shared/bricks/props/helpers.d.ts +2 -5
  102. package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
  103. package/dist/shared/bricks/props/helpers.js +1 -1
  104. package/dist/shared/bricks/props/image.js +1 -1
  105. package/dist/shared/bricks/props/padding.js +1 -1
  106. package/dist/shared/bricks/props/preset.d.ts +1 -12
  107. package/dist/shared/bricks/props/preset.d.ts.map +1 -1
  108. package/dist/shared/bricks/props/preset.js +1 -1
  109. package/dist/shared/bricks/props/string.d.ts +10 -6
  110. package/dist/shared/bricks/props/string.d.ts.map +1 -1
  111. package/dist/shared/bricks/props/string.js +1 -1
  112. package/dist/shared/bricks/props/text.d.ts +4 -3
  113. package/dist/shared/bricks/props/text.d.ts.map +1 -1
  114. package/dist/shared/bricks/props/text.js +1 -1
  115. package/dist/shared/bricks/props/types.d.ts +2 -1
  116. package/dist/shared/bricks/props/types.d.ts.map +1 -1
  117. package/dist/shared/bricks.d.ts +28 -28
  118. package/dist/shared/bricks.d.ts.map +1 -1
  119. package/dist/shared/bricks.js +1 -1
  120. package/dist/shared/{chunk-IIFSO7L2.js → chunk-2IYSJYNE.js} +1 -1
  121. package/dist/shared/{chunk-N5YER54R.js → chunk-32BOIZCS.js} +1 -1
  122. package/dist/shared/chunk-34XACK2H.js +3 -0
  123. package/dist/shared/chunk-4CH5SZHP.js +3 -0
  124. package/dist/shared/chunk-55HKWD4P.js +3 -0
  125. package/dist/shared/chunk-5KQ73TJZ.js +4 -0
  126. package/dist/shared/chunk-6NUQ6GA2.js +3 -0
  127. package/dist/shared/{chunk-3J5IGLOA.js → chunk-6QZ55NBZ.js} +1 -1
  128. package/dist/shared/chunk-AHPCINCF.js +3 -0
  129. package/dist/shared/{chunk-IDK6OX7Q.js → chunk-AHPZQTUB.js} +1 -1
  130. package/dist/shared/chunk-BYEWGCFY.js +3 -0
  131. package/dist/shared/chunk-BZZOL273.js +3 -0
  132. package/dist/shared/chunk-CHPGCNUH.js +5 -0
  133. package/dist/shared/chunk-DHGOZTDO.js +3 -0
  134. package/dist/shared/chunk-EDLOEBHY.js +3 -0
  135. package/dist/shared/{chunk-L5G4N2SH.js → chunk-EJGNYD4V.js} +1 -1
  136. package/dist/shared/chunk-FJN6PVS5.js +3 -0
  137. package/dist/shared/chunk-FPLXYN4C.js +3 -0
  138. package/dist/shared/chunk-GTX6M2GF.js +3 -0
  139. package/dist/shared/chunk-ICCJA66W.js +6 -0
  140. package/dist/shared/chunk-IMB4M7KT.js +3 -0
  141. package/dist/shared/{chunk-ORMI4UGP.js → chunk-IWGL6J43.js} +1 -1
  142. package/dist/shared/chunk-J6PKQ777.js +3 -0
  143. package/dist/shared/chunk-KHQV2YZC.js +3 -0
  144. package/dist/shared/chunk-LCOMCWIN.js +3 -0
  145. package/dist/shared/chunk-LQHMT4C6.js +7 -0
  146. package/dist/shared/chunk-M56NNPVI.js +3 -0
  147. package/dist/shared/chunk-MFEJ5V6K.js +3 -0
  148. package/dist/shared/chunk-MPBYGS6W.js +3 -0
  149. package/dist/shared/chunk-N3FHTP5P.js +3 -0
  150. package/dist/shared/chunk-N5Z7O3UP.js +3 -0
  151. package/dist/shared/chunk-N66KXK25.js +8 -0
  152. package/dist/shared/{chunk-DRPOGPPM.js → chunk-OHQEA2NH.js} +1 -1
  153. package/dist/shared/chunk-OJWLBSJN.js +3 -0
  154. package/dist/shared/chunk-OUETMYIF.js +3 -0
  155. package/dist/shared/chunk-QEH77NT6.js +3 -0
  156. package/dist/shared/chunk-QPQEWANA.js +6 -0
  157. package/dist/shared/{chunk-TMIRWL3D.js → chunk-R7BY53H4.js} +1 -1
  158. package/dist/shared/{chunk-VT637FP7.js → chunk-SSQUEN6M.js} +1 -1
  159. package/dist/shared/{chunk-M4ZEMQZ6.js → chunk-XA3PPZ2Y.js} +1 -1
  160. package/dist/shared/chunk-YFTHOUIJ.js +3 -0
  161. package/dist/shared/chunk-YR6RQMUZ.js +3 -0
  162. package/dist/shared/chunk-YUFBBLOB.js +3 -0
  163. package/dist/shared/chunk-YVE5OT24.js +3 -0
  164. package/dist/shared/{chunk-HLP4M6WE.js → chunk-YVLU6FH7.js} +1 -1
  165. package/dist/shared/chunk-ZKGRZ5CN.js +3 -0
  166. package/dist/shared/chunk-ZSHXSTWT.js +3 -0
  167. package/dist/shared/chunk-ZUIHVBTD.js +3 -0
  168. package/dist/shared/datarecords/types.d.ts +8 -3
  169. package/dist/shared/datarecords/types.d.ts.map +1 -1
  170. package/dist/shared/datarecords/types.js +1 -1
  171. package/dist/shared/page.d.ts +6 -6
  172. package/dist/shared/page.js +1 -1
  173. package/dist/shared/site.d.ts +8 -6
  174. package/dist/shared/site.d.ts.map +1 -1
  175. package/dist/shared/site.js +1 -1
  176. package/dist/shared/utils/merge.js +1 -1
  177. package/dist/shared/utils/schema-resolver.js +1 -1
  178. package/dist/shared/utils/schema.d.ts +1 -0
  179. package/dist/shared/utils/schema.d.ts.map +1 -1
  180. package/dist/shared/utils/schema.js +1 -1
  181. package/dist/shared/utils/string-enum.d.ts +1 -2
  182. package/dist/shared/utils/string-enum.d.ts.map +1 -1
  183. package/dist/shared/utils/typed-ref.d.ts +13 -11
  184. package/dist/shared/utils/typed-ref.d.ts.map +1 -1
  185. package/dist/shared/utils/typed-ref.js +1 -1
  186. package/package.json +2 -2
  187. package/dist/shared/chunk-3HPJDVOZ.js +0 -3
  188. package/dist/shared/chunk-5J3BD5UE.js +0 -3
  189. package/dist/shared/chunk-5WHMFZQF.js +0 -3
  190. package/dist/shared/chunk-64UY6F7P.js +0 -3
  191. package/dist/shared/chunk-66CAUQNM.js +0 -8
  192. package/dist/shared/chunk-6C4LZJOW.js +0 -6
  193. package/dist/shared/chunk-6UKNWQZB.js +0 -3
  194. package/dist/shared/chunk-AA3I5NCV.js +0 -3
  195. package/dist/shared/chunk-B5VFKJXD.js +0 -5
  196. package/dist/shared/chunk-DAWRQM2F.js +0 -3
  197. package/dist/shared/chunk-DPMZYD3B.js +0 -3
  198. package/dist/shared/chunk-DW5FJPTQ.js +0 -3
  199. package/dist/shared/chunk-DZN3CLYB.js +0 -7
  200. package/dist/shared/chunk-GCX4EUUL.js +0 -3
  201. package/dist/shared/chunk-HPUW3TSO.js +0 -3
  202. package/dist/shared/chunk-JIGZPUSU.js +0 -3
  203. package/dist/shared/chunk-KLUBZJA5.js +0 -3
  204. package/dist/shared/chunk-LBTL7PMW.js +0 -3
  205. package/dist/shared/chunk-M46KST5S.js +0 -3
  206. package/dist/shared/chunk-OOR6KT2P.js +0 -6
  207. package/dist/shared/chunk-Q553VQBU.js +0 -3
  208. package/dist/shared/chunk-QJLVOJLE.js +0 -3
  209. package/dist/shared/chunk-SNRDCWLJ.js +0 -3
  210. package/dist/shared/chunk-THDPWX6Z.js +0 -3
  211. package/dist/shared/chunk-U6FRYR2T.js +0 -3
  212. package/dist/shared/chunk-UXMKZZ3G.js +0 -3
  213. package/dist/shared/chunk-VAC73HJE.js +0 -3
  214. package/dist/shared/chunk-VNFJBTWZ.js +0 -3
  215. package/dist/shared/chunk-WCVUBYL5.js +0 -3
  216. package/dist/shared/chunk-WPOCN2FN.js +0 -3
  217. package/dist/shared/chunk-XSVK2GW3.js +0 -3
  218. package/dist/shared/chunk-YWGYEHZF.js +0 -3
  219. package/dist/shared/chunk-ZM4OCJKE.js +0 -3
  220. package/dist/shared/chunk-ZZZW3YYH.js +0 -4
@@ -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 c}from"./chunk-M56NNPVI.js";import{b as l}from"./chunk-IWGL6J43.js";import{a as t,f as i}from"./chunk-ZKGRZ5CN.js";import{b as n}from"./chunk-ZUIHVBTD.js";import{a as d}from"./chunk-J6PKQ777.js";import{b as s}from"./chunk-YVLU6FH7.js";import{c as o}from"./chunk-YVE5OT24.js";import{a}from"./chunk-SFKZAUPW.js";import{c as r}from"./chunk-2IYSJYNE.js";import{Type as e}from"@sinclair/typebox";import{HiOutlineChatBubbleBottomCenter as m}from"react-icons/hi2";var I=d({type:"testimonials",name:"Testimonials",kind:"widget",description:"Display testimonials from users",defaultWidth:{desktop:"100%"},repeatable:!1,icon:m,props:o({colorPreset:e.Optional(c({title:"Color preset","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{card:"bg-primary-light text-primary-content-light border-primary-light"},label:"Primary light"},"primary-light-gradient":{previewBgClass:"bg-gradient-to-br from-primary-300 to-primary-500 text-primary-content-light",value:{card:"from-primary-300 to-primary-500 text-primary-content-light border-primary"},label:"Primary light gradient"},primary:{previewBgClass:"bg-primary text-primary-content",label:"Primary",value:{card:"bg-primary text-primary-content border-primary"}},"primary-gradient":{previewBgClass:"bg-gradient-to-br from-primary-500 to-primary-700 text-primary-content",label:"Primary gradient",value:{card:"from-primary-500 to-primary-700 text-primary-content border-primary"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary dark",value:{card:"bg-primary-dark text-primary-content border-primary-dark"}},"primary-dark-gradient":{previewBgClass:"bg-gradient-to-br from-primary-700 to-primary-900 text-primary-content",label:"Primary dark gradient",value:{card:"from-primary-700 to-primary-900 text-primary-content border-primary-dark"}},"secondary-light":{previewBgClass:"bg-secondary-light text-secondary-content-light",label:"Secondary light",value:{card:"bg-secondary-light text-secondary-content-light border-secondary-light"}},"secondary-light-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-300 to-secondary-500 text-secondary-content-light",label:"Secondary light gradient",value:{card:"from-secondary-300 to-secondary-500 text-secondary-content-light border-secondary"}},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{card:"bg-secondary text-secondary-content border-secondary"}},"secondary-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-500 to-secondary-700 text-secondary-content",label:"Secondary gradient",value:{card:"from-secondary-500 to-secondary-700 text-secondary-content border-secondary"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary dark",value:{card:"bg-secondary-dark text-secondary-content border-secondary-dark"}},"secondary-dark-gradient":{previewBgClass:"bg-gradient-to-br from-secondary-700 to-secondary-900 text-secondary-content",label:"Secondary dark gradient",value:{card:"from-secondary-700 to-secondary-900 text-secondary-content border-secondary-dark"}},"accent-light":{previewBgClass:"bg-accent-light text-accent-content-light",label:"Accent lighter",value:{card:"bg-accent-light text-accent-content-light border-accent-light"}},"accent-light-gradient":{previewBgClass:"bg-gradient-to-br from-accent-300 to-accent-500 text-accent-content-light",label:"Accent light gradient",value:{card:"from-accent-300 to-accent-500 text-accent-content-light border-accent"}},accent:{previewBgClass:"bg-accent text-accent-content",label:"Accent",value:{card:"bg-accent text-accent-content border-accent"}},"accent-gradient":{previewBgClass:"bg-gradient-to-br from-accent-500 to-accent-700 text-accent-content",label:"Accent gradient",value:{card:"from-accent-500 to-accent-700 text-accent-content border-accent"}},"accent-dark":{previewBgClass:"bg-accent-dark text-accent-content",label:"Accent dark",value:{card:"bg-accent-dark text-accent-content border-accent-dark"}},"accent-dark-gradient":{previewBgClass:"bg-gradient-to-br from-accent-700 to-accent-900 text-accent-content",label:"Accent dark gradient",value:{card:"from-accent-700 to-accent-900 text-accent-content border-accent-dark"}},"neutral-light":{previewBgClass:"bg-neutral-light text-neutral-content-light",label:"Neutral light",value:{card:"bg-neutral-light text-neutral-content-light border-neutral-light"}},"neutral-light-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-300 to-neutral-500 text-neutral-content-light",label:"Neutral light gradient",value:{card:"from-neutral-300 to-neutral-500 text-neutral-content-light border-neutral"}},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{card:"bg-neutral text-neutral-content border-neutral"}},"neutral-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-500 to-neutral-700 text-neutral-content",label:"Neutral gradient",value:{card:"from-neutral-500 to-neutral-700 text-neutral-content border-neutral"}},"neutral-dark":{previewBgClass:"bg-neutral-dark text-neutral-content",label:"Neutral dark",value:{card:"bg-neutral-dark text-neutral-content border-neutral-dark"}},"neutral-dark-gradient":{previewBgClass:"bg-gradient-to-br from-neutral-700 to-neutral-900 text-neutral-content",label:"Neutral dark gradient",value:{card:"from-neutral-700 to-neutral-900 text-neutral-content border-neutral-dark"}},base100:{previewBgClass:"bg-base-100 text-base-content border-base-200 border-2",label:"Base 100",value:{card:"bg-base-100 text-base-content border-base-200"}},base100_primary:{previewBgClass:"bg-base-100 text-base-content border-primary border-2",label:"Base 100 / Primary",value:{card:"bg-base-100 text-base-content border-primary"}},base100_secondary:{previewBgClass:"bg-base-100 text-base-content border-secondary border-2",label:"Base 100 / Secondary",value:{card:"bg-base-100 text-base-content border-secondary"}},base100_accent:{previewBgClass:"bg-base-100 text-base-content border-accent border-2",label:"Base 100 / Accent",value:{card:"bg-base-100 text-base-content border-accent"}},none:{label:"None",value:{}}},default:"primary"})),gradientDirection:e.Optional(a(["bg-gradient-to-t","bg-gradient-to-r","bg-gradient-to-b","bg-gradient-to-l","bg-gradient-to-tl","bg-gradient-to-tr","bg-gradient-to-br","bg-gradient-to-bl"],{title:"Gradient direction",description:"The direction of the gradient. Only applies when color preset is a gradient.",enumNames:["Top","Right","Bottom","Left","Top left","Top right","Bottom right","Bottom left"],default:"bg-gradient-to-br","ui:responsive":"desktop","ui:styleId":"styles:gradientDirection",metadata:{filter:(g,p)=>p.colorPreset?.includes("gradient")===!0}})),fontSize:e.Optional(n({"ui:no-extra-large-sizes":!0})),padding:e.Optional(s()),gap:e.Optional(r({title:"Gap",default:"26px",description:"Space between bricks.","ai:instructions":"Can be a tailwind gap class like 'gap-1' or 'gap-2', or a custom value like '10px'","ui:placeholder":"Not specified","ui:styleId":"styles:gap"})),testimonials:e.Array(e.Object({text:t("Text",{default:"Amazing product!","ui:multiline":!0,"ui:textarea-class":"h-20"}),author:t("Author",{default:"John Doe"}),company:e.Optional(t("Company")),avatar:e.Optional(l({title:"Avatar"})),socialIcon:e.Optional(i())}),{title:"Testimonials",description:"List of testimonials",default:[],"ui:tab":"content","ui:widget":"array","ui:displayField":"author","ui:options":{orderable:!0,removable:!0,addable:!0},metadata:{category:"content"}})},{default:{orientation:"horizontal"}})}),T=[{description:"SaaS platform testimonials with avatars",type:"testimonials",props:{testimonials:[{author:"Sarah Johnson",company:"TechCorp Solutions",text:"This platform has completely transformed how we manage our projects. The intuitive interface and powerful automation features have saved us countless hours.",avatar:{src:"https://via.placeholder.com/80x80.png?text=SJ",alt:"Sarah Johnson profile photo"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"StartupFlow",text:"Outstanding customer support and regular feature updates. We've been using this for over a year and it keeps getting better. Highly recommend!",avatar:{src:"https://via.placeholder.com/80x80.png?text=MC",alt:"Mike Chen profile photo"},socialIcon:"mdi:twitter"},{author:"Emily Rodriguez",company:"Digital Agency Pro",text:"The automation capabilities are game-changing. What used to take us days now happens automatically. It's like having an extra team member.",avatar:{src:"https://via.placeholder.com/80x80.png?text=ER",alt:"Emily Rodriguez profile photo"},socialIcon:"mdi:linkedin"}]}},{description:"E-commerce customer reviews",type:"testimonials",props:{testimonials:[{author:"Jessica Williams",company:"Happy Customer",text:"Amazing product quality and fast shipping! The item exceeded my expectations and the customer service was excellent when I had questions.",avatar:{src:"https://via.placeholder.com/60x60.png?text=JW",alt:"Jessica Williams customer photo"},socialIcon:"mdi:star"},{author:"David Park",text:"Five stars! Been using this product for 6 months and it's still going strong. Definitely worth the investment and I've already recommended it to friends.",avatar:{src:"https://via.placeholder.com/60x60.png?text=DP",alt:"David Park customer photo"},socialIcon:"mdi:thumbs-up"}]}},{description:"Agency client testimonials with company info",type:"testimonials",props:{testimonials:[{author:"Rachel Thompson",company:"Global Enterprises",text:"The team delivered exceptional results on time and within budget. Their creative approach and attention to detail made all the difference for our brand.",avatar:{src:"https://via.placeholder.com/70x70.png?text=RT",alt:"Rachel Thompson headshot"},socialIcon:"mdi:briefcase"},{author:"Alex Kumar",company:"Innovation Labs",text:"Working with this agency was a game-changer for our digital presence. They understood our vision and brought it to life beautifully.",avatar:{src:"https://via.placeholder.com/70x70.png?text=AK",alt:"Alex Kumar profile"},socialIcon:"mdi:lightbulb"},{author:"Maria Santos",company:"Retail Plus",text:"Professional, creative, and results-driven. Our website traffic increased by 200% after their redesign. Couldn't be happier!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MS",alt:"Maria Santos photo"},socialIcon:"mdi:chart-line"}]}},{description:"App user feedback",type:"testimonials",props:{testimonials:[{author:"Tom Wilson",text:"This app has made my daily routine so much easier. Love the clean interface and how everything just works seamlessly across all my devices.",avatar:{src:"https://via.placeholder.com/65x65.png?text=TW",alt:"Tom Wilson user photo"},socialIcon:"mdi:cellphone"},{author:"Lisa Chang",text:"Been using this app for months and it's become essential to my workflow. The latest update with AI features is incredibly impressive.",avatar:{src:"https://via.placeholder.com/65x65.png?text=LC",alt:"Lisa Chang profile picture"},socialIcon:"mdi:robot"},{author:"James Miller",text:"Simple, powerful, and reliable. Exactly what I was looking for. The customer support team is also very responsive and helpful.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JM",alt:"James Miller avatar"},socialIcon:"mdi:heart"}]}},{description:"Course/education testimonials with social icons",type:"testimonials",props:{testimonials:[{author:"Amanda Foster",company:"UX Designer",text:"This course completely changed my career trajectory. The practical projects and expert feedback helped me land my dream job in just 3 months.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AF",alt:"Amanda Foster student photo"},socialIcon:"mdi:school"},{author:"Carlos Rodriguez",company:"Software Engineer",text:"The instructors are industry experts and the content is always up-to-date. I've taken three courses here and each one exceeded my expectations.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CR",alt:"Carlos Rodriguez profile"},socialIcon:"mdi:code-tags"}]}},{description:"Simple testimonials without avatars",type:"testimonials",props:{testimonials:[{author:"Anonymous User",text:"Great service and excellent value for money. Would definitely recommend to others looking for a reliable solution.",socialIcon:"mdi:account-circle"},{author:"Verified Customer",text:"Quick delivery and exactly as described. Very satisfied with my purchase and the overall experience.",socialIcon:"mdi:check-circle"},{author:"Beta Tester",text:"Been using the beta version and it's already impressive. Looking forward to the full release with even more features.",socialIcon:"mdi:beta"}]}},{description:"Consultant testimonials with professional focus",type:"testimonials",props:{testimonials:[{author:"Dr. Patricia Lee",company:"Medical Practice Solutions",text:"The consulting services provided were invaluable to our practice. Revenue increased by 40% and patient satisfaction scores improved significantly.",avatar:{src:"https://via.placeholder.com/80x80.png?text=PL",alt:"Dr. Patricia Lee headshot"},socialIcon:"mdi:medical-bag"},{author:"Robert Kim",company:"Manufacturing Inc.",text:"Their strategic insights helped us streamline operations and reduce costs by 25%. The ROI was evident within the first quarter.",avatar:{src:"https://via.placeholder.com/80x80.png?text=RK",alt:"Robert Kim executive photo"},socialIcon:"mdi:factory"}]}},{description:"Event testimonials with social media icons",type:"testimonials",props:{testimonials:[{author:"Jennifer Adams",company:"Marketing Director",text:"Best conference I've attended in years! The networking opportunities were incredible and the speakers were top-notch industry leaders.",avatar:{src:"https://via.placeholder.com/70x70.png?text=JA",alt:"Jennifer Adams conference attendee"},socialIcon:"mdi:twitter"},{author:"Michael Brown",company:"Tech Startup Founder",text:"The workshops were incredibly practical and I left with actionable strategies I could implement immediately. Already planning to attend next year!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MB",alt:"Michael Brown participant photo"},socialIcon:"mdi:linkedin"},{author:"Sophie Chen",company:"Product Manager",text:"Amazing organization and valuable content. Met so many like-minded professionals and learned cutting-edge techniques I'm excited to try.",avatar:{src:"https://via.placeholder.com/70x70.png?text=SC",alt:"Sophie Chen attendee photo"},socialIcon:"mdi:instagram"}]}}];export{I as a,T 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-N5Z7O3UP.js";import{a}from"./chunk-J6PKQ777.js";import{b as i}from"./chunk-4CH5SZHP.js";import{b as e}from"./chunk-BZZOL273.js";import{b as p}from"./chunk-YVLU6FH7.js";import{c as t}from"./chunk-YVE5OT24.js";import{b as r}from"./chunk-OHQEA2NH.js";import{Type as o}from"@sinclair/typebox";import{BsDatabaseDown as s}from"react-icons/bs";var g=a({type:"dynamic",kind:"brick",name:"Dynamic",description:"A dynamic container that fetches data from your database and constructs bricks from it.",isContainer:!0,defaultWidth:{desktop:"auto",mobile:"100%"},defaultHeight:{desktop:"380px"},icon:s,props:t({background:o.Optional(r()),border:o.Optional(i()),padding:o.Optional(p()),shadow:o.Optional(e()),...n()})}),h=[];export{g as a,h 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 s}from"./chunk-GTX6M2GF.js";import{Type as r}from"@sinclair/typebox";function u(t){return t.type==="object"}function f({title:t,children:e,category:o="settings",metadata:a,options:n}){return u(e)?r.Composite([r.Object({}),e],{title:t,metadata:{category:o,group:!0,...a},...n}):r.Object(e,{title:t,...n,metadata:{category:o,group:!0,...a}})}function m(t){let e=t.metadata;return{title:t.title??t.metadata?.title,meta:e,tab:e.groupTab||"common"}}function P(t,e){let o={...s,...t},{alignSelf:a,growHorizontally:n,...p}=o,i={...e?.noAlignSelf?{}:{alignSelf:a},...e?.noGrow?{}:{growHorizontally:n},...p};return r.Object(i,e)}var g=r.Array;export{f as a,m as b,P as c,g as d};
@@ -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{a as t}from"./chunk-SFKZAUPW.js";import{a as e}from"./chunk-L5G4N2SH.js";function d(){return t(["p-0","p-px","p-2","p-4","p-6","p-8","p-10","p-12","p-16","p-24"],{title:"Padding",$id:"styles:padding",enumNames:["No padding","Minimal","S","M","L","XL","2XL","3XL","4XL","6XL"],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"})}function a(i={}){return e("styles:padding",{...i,"ui:styleId":"styles:padding"})}export{d as a,a as b};
3
+ import{a as t}from"./chunk-SFKZAUPW.js";import{a as e}from"./chunk-EJGNYD4V.js";function d(){return t(["p-0","p-px","p-2","p-4","p-6","p-8","p-10","p-12","p-16","p-24"],{title:"Padding",$id:"styles:padding",enumNames:["No padding","Minimal","S","M","L","XL","2XL","3XL","4XL","6XL"],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"})}function a(i={}){return e("styles:padding",{...i,"ui:styleId":"styles:padding"})}export{d 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 n}from"./chunk-EJGNYD4V.js";import{Type as e}from"@sinclair/typebox";function p(t,i={}){return e.String({title:t,...i})}function l(t="URL",i){return e.String({title:t,format:"uri","ui:field":"url",default:i})}var r=e.String({"ui:field":"page-id"});function u(t="URL or Page ID",i){return e.Union([e.String({format:"uri"}),r],{$id:"content:urlOrPageId",default:i,title:t,"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 s(t={}){return n("content:urlOrPageId",{...t})}function d(t,i={}){return e.String({title:t??"Icon","ai:instructions":"Use a iconify reference like 'mdi:heart' or 'fa-solid:coffee'.","ui:field":"iconify",$id:"assets:icon",...i})}function c(t={}){return n("assets:icon",t)}export{p as a,l as b,u as c,s as d,d as e,c 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{a}from"./chunk-N5Z7O3UP.js";import{a as n}from"./chunk-J6PKQ777.js";import{b as t}from"./chunk-4CH5SZHP.js";import{b as e}from"./chunk-BZZOL273.js";import{b as p}from"./chunk-YVLU6FH7.js";import{c as i}from"./chunk-YVE5OT24.js";import{b as r}from"./chunk-OHQEA2NH.js";import{Type as o}from"@sinclair/typebox";import{MdOutlineCheckBoxOutlineBlank as s}from"react-icons/md";var x=n({type:"box",kind:"brick",name:"Box",description:"A container for a single brick to give it a background, border, padding, etc.",isContainer:!0,defaultWidth:{desktop:"auto",mobile:"100%"},defaultHeight:{desktop:"380px"},icon:s,props:i({background:o.Optional(r()),border:o.Optional(t()),padding:o.Optional(p()),shadow:o.Optional(e()),...a()})}),y=[];export{x as a,y 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-EJGNYD4V.js";import{Type as t}from"@sinclair/typebox";function s(e={}){return t.Union([t.Literal("inherit",{title:"Same as parent"}),t.Literal("text-xs",{title:"Extra small"}),t.Literal("text-sm",{title:"Small"}),t.Literal("text-base",{title:"Medium"}),t.Literal("text-lg",{title:"Large"}),t.Literal("text-xl",{title:"Extra large","ui:extra-large":!0}),t.Literal("text-2xl",{title:"Extra large (2x)","ui:extra-large":!0}),t.Literal("text-3xl",{title:"Extra large (3x)","ui:extra-large":!0}),t.Literal("text-4xl",{title:"Extra large (4x)","ui:extra-large":!0}),t.Literal("text-5xl",{title:"Extra large (5x)","ui:extra-large":!0}),t.Literal("text-6xl",{title:"Extra large (6x)","ui:extra-large":!0}),t.Literal("text-7xl",{title:"Extra large (7x)","ui:extra-large":!0})],{default:"inherit",title:"Font size",$id:"styles:fontSize","ui:styleId":"styles:fontSize","ui:field":"enum","ui:display":"select",...e})}function u(e={}){return i("styles:fontSize",{...e,"ui:styleId":"styles:fontSize"})}function p({title:e="Text",default:n,showInSettings:l,disableSizing:r=!1,disableAlignment:a=!1}={}){return t.String({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>.",$id:"content:text",default:n??"My text","ui:disable-sizing":r,"ui:disable-alignment":a,"ui:field":l?"string":"hidden"})}function g(e={}){return i("content:text",e)}export{s as a,u as b,p as c,g as d};
@@ -2,24 +2,27 @@ import { type Static } from "@sinclair/typebox";
2
2
  export declare const connectorSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"airtable">, import("@sinclair/typebox").TLiteral<"google-sheets">, import("@sinclair/typebox").TLiteral<"generic-webhook">, import("@sinclair/typebox").TLiteral<"internal">]>;
3
3
  export type DatarecordConnector = Static<typeof connectorSchema>;
4
4
  export declare const datarecordsConnectors: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
5
- provider: import("@sinclair/typebox").TLiteral<"airtable">;
6
5
  options: import("@sinclair/typebox").TObject<{
7
6
  accessToken: import("@sinclair/typebox").TString;
8
7
  baseId: import("@sinclair/typebox").TString;
9
8
  tableIdOrName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
10
9
  }>;
10
+ provider: import("@sinclair/typebox").TLiteral<"airtable">;
11
+ schema: import("@sinclair/typebox").TAny;
11
12
  }>, import("@sinclair/typebox").TObject<{
12
- provider: import("@sinclair/typebox").TLiteral<"google-sheets">;
13
13
  options: import("@sinclair/typebox").TObject<{
14
14
  spreadsheetId: import("@sinclair/typebox").TString;
15
15
  sheetName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
16
16
  }>;
17
+ provider: import("@sinclair/typebox").TLiteral<"google-sheets">;
18
+ schema: import("@sinclair/typebox").TAny;
17
19
  }>, import("@sinclair/typebox").TObject<{
18
- provider: import("@sinclair/typebox").TLiteral<"generic-webhook">;
19
20
  options: import("@sinclair/typebox").TObject<{
20
21
  url: import("@sinclair/typebox").TString;
21
22
  headers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
22
23
  }>;
24
+ provider: import("@sinclair/typebox").TLiteral<"generic-webhook">;
25
+ schema: import("@sinclair/typebox").TAny;
23
26
  }>, import("@sinclair/typebox").TObject<{
24
27
  provider: import("@sinclair/typebox").TLiteral<"internal">;
25
28
  schema: import("@sinclair/typebox").TAny;
@@ -31,6 +34,7 @@ export declare const datarecordsConnectors: import("@sinclair/typebox").TUnion<[
31
34
  }>]>;
32
35
  declare const datarecordManifest: import("@sinclair/typebox").TObject<{
33
36
  provider: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"internal">, import("@sinclair/typebox").TLiteral<"generic-webhook">, import("@sinclair/typebox").TLiteral<"google-sheets">, import("@sinclair/typebox").TLiteral<"airtable">]>;
37
+ schema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny]>;
34
38
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
35
39
  id: import("@sinclair/typebox").TString;
36
40
  label: import("@sinclair/typebox").TString;
@@ -50,6 +54,7 @@ export declare const internalDatarecordManifest: import("@sinclair/typebox").TOb
50
54
  export type DatarecordManifest = Static<typeof datarecordManifest>;
51
55
  export declare const datarecordsMap: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
52
56
  provider: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"internal">, import("@sinclair/typebox").TLiteral<"generic-webhook">, import("@sinclair/typebox").TLiteral<"google-sheets">, import("@sinclair/typebox").TLiteral<"airtable">]>;
57
+ schema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny]>;
53
58
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
54
59
  id: import("@sinclair/typebox").TString;
55
60
  label: import("@sinclair/typebox").TString;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/shared/datarecords/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKtD,eAAO,MAAM,eAAe,0PAO1B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC;AA8DjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAchC,CAAC;AAcH,QAAA,MAAM,kBAAkB;;;;;EAA8D,CAAC;AAEvF,eAAO,MAAM,0BAA0B;;;;;;;;;;;EAA2D,CAAC;AAEnG,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,eAAO,MAAM,cAAc;;;;;GAGzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AAE3D,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,cAAc,IAAI;KACxD,CAAC,IAAI,MAAM,CAAC,GAAG,OAAO;CACxB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/shared/datarecords/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKtD,eAAO,MAAM,eAAe,0PAO1B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC;AAmFjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuBhC,CAAC;AAcH,QAAA,MAAM,kBAAkB;;;;;;EAA8D,CAAC;AAEvF,eAAO,MAAM,0BAA0B;;;;;;;;;;;EAA2D,CAAC;AAEnG,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,eAAO,MAAM,cAAc;;;;;;GAGzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AAE3D,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,cAAc,IAAI;KACxD,CAAC,IAAI,MAAM,CAAC,GAAG,OAAO;CACxB,CAAC"}
@@ -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{a,b,c,d}from"../chunk-VAC73HJE.js";export{a as connectorSchema,b as datarecordsConnectors,d as datarecordsMap,c as internalDatarecordManifest};
3
+ import{a,b,c,d}from"../chunk-KHQV2YZC.js";export{a as connectorSchema,b as datarecordsConnectors,d as datarecordsMap,c as internalDatarecordManifest};
@@ -49,24 +49,24 @@ export declare const pageSchema: import("@sinclair/typebox").TObject<{
49
49
  label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
50
50
  order: import("@sinclair/typebox").TNumber;
51
51
  props: import("@sinclair/typebox").TObject<{
52
- colorPreset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
52
+ backgroundColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
53
+ gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
53
54
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
54
55
  purpose: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"navbar" | "sidebar">>;
55
56
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
56
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
57
57
  justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly">>;
58
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
58
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end">>;
59
59
  gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
60
60
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
61
61
  }>;
62
62
  mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
63
- colorPreset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
63
+ backgroundColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
64
+ gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
64
65
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
65
66
  purpose: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"navbar" | "sidebar">>;
66
67
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
67
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
68
68
  justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly">>;
69
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
69
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end">>;
70
70
  gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
71
71
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
72
72
  }>>;
@@ -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{a}from"./chunk-IDK6OX7Q.js";import"./chunk-THDPWX6Z.js";import"./chunk-HPUW3TSO.js";import"./chunk-TATG6SFZ.js";import"./chunk-L42YBY5I.js";import"./chunk-SNRDCWLJ.js";import"./chunk-DAWRQM2F.js";import"./chunk-N5YER54R.js";import"./chunk-M46KST5S.js";import"./chunk-M4ZEMQZ6.js";import"./chunk-IFEIRRZ2.js";import"./chunk-UXMKZZ3G.js";import"./chunk-OOR6KT2P.js";import"./chunk-QSZWDE3D.js";import"./chunk-YWGYEHZF.js";import"./chunk-KLUBZJA5.js";import"./chunk-JIGZPUSU.js";import"./chunk-B5VFKJXD.js";import"./chunk-DZN3CLYB.js";import"./chunk-VNFJBTWZ.js";import"./chunk-Q553VQBU.js";import"./chunk-DW5FJPTQ.js";import"./chunk-ZZZW3YYH.js";import"./chunk-MKIXZXWS.js";import"./chunk-6C4LZJOW.js";import"./chunk-LBTL7PMW.js";import"./chunk-VT637FP7.js";import"./chunk-ZM4OCJKE.js";import"./chunk-OELIU5BZ.js";import"./chunk-5WHMFZQF.js";import"./chunk-3HPJDVOZ.js";import"./chunk-3J5IGLOA.js";import"./chunk-5J3BD5UE.js";import"./chunk-ORMI4UGP.js";import"./chunk-66CAUQNM.js";import"./chunk-GCX4EUUL.js";import"./chunk-64UY6F7P.js";import"./chunk-WPOCN2FN.js";import"./chunk-HLP4M6WE.js";import"./chunk-YIFNKP4J.js";import"./chunk-TMIRWL3D.js";import"./chunk-DRPOGPPM.js";import"./chunk-AA3I5NCV.js";import"./chunk-QJLVOJLE.js";import"./chunk-XSVK2GW3.js";import"./chunk-WCVUBYL5.js";import"./chunk-DPMZYD3B.js";import"./chunk-6UKNWQZB.js";import"./chunk-IIFSO7L2.js";import"./chunk-SFKZAUPW.js";import"./chunk-L5G4N2SH.js";export{a as pageSchema};
3
+ import{a}from"./chunk-AHPZQTUB.js";import"./chunk-LCOMCWIN.js";import"./chunk-MPBYGS6W.js";import"./chunk-IMB4M7KT.js";import"./chunk-L42YBY5I.js";import"./chunk-TATG6SFZ.js";import"./chunk-YFTHOUIJ.js";import"./chunk-CHPGCNUH.js";import"./chunk-LQHMT4C6.js";import"./chunk-QEH77NT6.js";import"./chunk-32BOIZCS.js";import"./chunk-SSQUEN6M.js";import"./chunk-MFEJ5V6K.js";import"./chunk-OELIU5BZ.js";import"./chunk-34XACK2H.js";import"./chunk-XA3PPZ2Y.js";import"./chunk-IFEIRRZ2.js";import"./chunk-EDLOEBHY.js";import"./chunk-QPQEWANA.js";import"./chunk-QSZWDE3D.js";import"./chunk-OJWLBSJN.js";import"./chunk-OUETMYIF.js";import"./chunk-YR6RQMUZ.js";import"./chunk-6NUQ6GA2.js";import"./chunk-FPLXYN4C.js";import"./chunk-FJN6PVS5.js";import"./chunk-YUFBBLOB.js";import"./chunk-DHGOZTDO.js";import"./chunk-5KQ73TJZ.js";import"./chunk-MKIXZXWS.js";import"./chunk-ICCJA66W.js";import"./chunk-BYEWGCFY.js";import"./chunk-55HKWD4P.js";import"./chunk-M56NNPVI.js";import"./chunk-6QZ55NBZ.js";import"./chunk-IWGL6J43.js";import"./chunk-ZKGRZ5CN.js";import"./chunk-N66KXK25.js";import"./chunk-ZUIHVBTD.js";import"./chunk-YIFNKP4J.js";import"./chunk-R7BY53H4.js";import"./chunk-ZSHXSTWT.js";import"./chunk-N5Z7O3UP.js";import"./chunk-J6PKQ777.js";import"./chunk-N3FHTP5P.js";import"./chunk-4CH5SZHP.js";import"./chunk-BZZOL273.js";import"./chunk-YVLU6FH7.js";import"./chunk-YVE5OT24.js";import"./chunk-GTX6M2GF.js";import"./chunk-SFKZAUPW.js";import"./chunk-2IYSJYNE.js";import"./chunk-OHQEA2NH.js";import"./chunk-EJGNYD4V.js";export{a as pageSchema};
@@ -105,6 +105,7 @@ export declare const siteSchema: import("@sinclair/typebox").TObject<{
105
105
  }>]>>>;
106
106
  datarecords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
107
107
  provider: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"internal">, import("@sinclair/typebox").TLiteral<"generic-webhook">, import("@sinclair/typebox").TLiteral<"google-sheets">, import("@sinclair/typebox").TLiteral<"airtable">]>;
108
+ schema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny]>;
108
109
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
109
110
  id: import("@sinclair/typebox").TString;
110
111
  label: import("@sinclair/typebox").TString;
@@ -336,6 +337,7 @@ declare const partialSiteAndPagesSchema: import("@sinclair/typebox").TObject<{
336
337
  }>]>>>;
337
338
  datarecords: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
338
339
  provider: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"internal">, import("@sinclair/typebox").TLiteral<"generic-webhook">, import("@sinclair/typebox").TLiteral<"google-sheets">, import("@sinclair/typebox").TLiteral<"airtable">]>;
340
+ schema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny, import("@sinclair/typebox").TAny]>;
339
341
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
340
342
  id: import("@sinclair/typebox").TString;
341
343
  label: import("@sinclair/typebox").TString;
@@ -431,24 +433,24 @@ declare const partialSiteAndPagesSchema: import("@sinclair/typebox").TObject<{
431
433
  label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
432
434
  order: import("@sinclair/typebox").TNumber;
433
435
  props: import("@sinclair/typebox").TObject<{
434
- colorPreset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
436
+ backgroundColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
437
+ gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
435
438
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
436
439
  purpose: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"navbar" | "sidebar">>;
437
440
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
438
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
439
441
  justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly">>;
440
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
442
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end">>;
441
443
  gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
442
444
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
443
445
  }>;
444
446
  mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
445
- colorPreset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
447
+ backgroundColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
448
+ gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
446
449
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
447
450
  purpose: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"navbar" | "sidebar">>;
448
451
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
449
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
450
452
  justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly">>;
451
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
453
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end">>;
452
454
  gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
453
455
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
454
456
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../src/shared/site.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAA2B,KAAK,gBAAgB,EAAqB,MAAM,cAAc,CAAC;AAOjG,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,EAAE,YAAY,CAAC,GAAG;IACjE,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,KAAK,yBAAyB,GAAG,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG;QACxC,UAAU,EAAE,gBAAgB,CAAC;KAC9B,CAAC;IACF,KAAK,EAAE,KAAK,CACV,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG;QAC/D,UAAU,CAAC,EAAE,gBAAgB,CAAC;KAC/B,CACF,CAAC;CACH,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB,CAuMxE"}
1
+ {"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../src/shared/site.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAA8C,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AASjG,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,EAAE,YAAY,CAAC,GAAG;IACjE,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,KAAK,yBAAyB,GAAG,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG;QACxC,UAAU,EAAE,gBAAgB,CAAC;KAC9B,CAAC;IACF,KAAK,EAAE,KAAK,CACV,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG;QAC/D,UAAU,CAAC,EAAE,gBAAgB,CAAC;KAC/B,CACF,CAAC;CACH,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB,CA8yBxE"}
@@ -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{a as l,d as n}from"./chunk-Y6IWAOSW.js";import{b as a,d as m}from"./chunk-BIW4XH5V.js";import{a as p}from"./chunk-IDK6OX7Q.js";import{a as c}from"./chunk-ZJNA4QQC.js";import{d as s}from"./chunk-VAC73HJE.js";import{a as t}from"./chunk-THDPWX6Z.js";import{c as o}from"./chunk-Y7CEEEVW.js";import{c as i,f as r}from"./chunk-HPUW3TSO.js";import"./chunk-TATG6SFZ.js";import"./chunk-L42YBY5I.js";import"./chunk-SNRDCWLJ.js";import"./chunk-DAWRQM2F.js";import"./chunk-N5YER54R.js";import"./chunk-M46KST5S.js";import"./chunk-M4ZEMQZ6.js";import"./chunk-IFEIRRZ2.js";import"./chunk-UXMKZZ3G.js";import"./chunk-OOR6KT2P.js";import"./chunk-QSZWDE3D.js";import"./chunk-YWGYEHZF.js";import"./chunk-KLUBZJA5.js";import"./chunk-JIGZPUSU.js";import"./chunk-B5VFKJXD.js";import"./chunk-DZN3CLYB.js";import"./chunk-VNFJBTWZ.js";import"./chunk-Q553VQBU.js";import"./chunk-DW5FJPTQ.js";import"./chunk-ZZZW3YYH.js";import"./chunk-MKIXZXWS.js";import"./chunk-6C4LZJOW.js";import"./chunk-LBTL7PMW.js";import"./chunk-VT637FP7.js";import"./chunk-ZM4OCJKE.js";import"./chunk-OELIU5BZ.js";import"./chunk-5WHMFZQF.js";import"./chunk-3HPJDVOZ.js";import"./chunk-3J5IGLOA.js";import"./chunk-5J3BD5UE.js";import"./chunk-ORMI4UGP.js";import"./chunk-66CAUQNM.js";import"./chunk-GCX4EUUL.js";import"./chunk-64UY6F7P.js";import"./chunk-WPOCN2FN.js";import"./chunk-HLP4M6WE.js";import"./chunk-YIFNKP4J.js";import"./chunk-TMIRWL3D.js";import"./chunk-DRPOGPPM.js";import"./chunk-AA3I5NCV.js";import"./chunk-QJLVOJLE.js";import"./chunk-XSVK2GW3.js";import"./chunk-WCVUBYL5.js";import"./chunk-DPMZYD3B.js";import"./chunk-6UKNWQZB.js";import"./chunk-IIFSO7L2.js";import"./chunk-SFKZAUPW.js";import"./chunk-L5G4N2SH.js";import{Type as e}from"@sinclair/typebox";var u=e.Object({id:e.String(),label:e.String(),hostname:e.String(),attributes:i,attr:i,datasources:e.Optional(o),datarecords:e.Optional(s),themes:e.Array(a),theme:a,sitemap:n,sitePrompt:c}),k=e.Object({site:e.Omit(u,["attributes"]),pages:e.Array(e.Composite([e.Omit(p,["attributes"]),l]))});function _(d){return{site:{id:crypto.randomUUID(),label:"New site",hostname:"example.com",sitePrompt:d,theme:m,themes:[],sitemap:[],attributes:i,attr:r()},pages:[{id:"_default_",label:"First page with really really long name that should be truncated",path:"/",sections:[{id:`s_${t()}`,label:"Top",order:1,props:{purpose:"navbar"},bricks:[{id:t(),type:"navbar",props:{brand:"My Site",navigation:{staticItems:[{urlOrPageId:"/about"},{urlOrPageId:"/contact"}]}}}]},{id:`s_content-${t()}`,label:"Content",order:2,props:{},bricks:[{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"vbox",props:{$children:[{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}}]}},{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"spacer",props:{width:"20px"},mobileProps:{width:"100%"}},{id:`b_${t()}`,type:"card",props:{cardTitle:"Welcome to My Site",cardBody:"This is a sample card body. You can edit this content.",cardImage:{src:"https://placehold.co/300x200@2x/EEEEEE/333333/svg?text=Sample",alt:"Sample"}}}]},{id:`s_content-${t()}`,label:"Bottom",order:3,props:{},bricks:[{id:`b_${t()}`,type:"footer",props:{linksSections:[{sectionTitle:"Links",links:[{title:"About",url:"/about"},{title:"Contact",url:"/contact"},{title:"Privacy Policy",url:"/privacy"}]},{sectionTitle:"Social",links:[{title:"Twitter",url:"https://twitter.com"},{title:"Facebook",url:"https://facebook.com"},{title:"Instagram",url:"https://instagram.com"}]},{sectionTitle:"Legal",links:[{title:"Terms of Service",url:"/terms"},{title:"Cookie Policy",url:"/cookies"}]},{sectionTitle:"Contact",links:[{title:"Email Us",url:"mailto:"},{title:"Support",url:"/support"}]}]}}]}],tags:[],attributes:i,attr:r()}]}}export{_ as createEmptyConfig,u as siteSchema};
3
+ import{a as p}from"./chunk-ZJNA4QQC.js";import{a as c,d}from"./chunk-Y6IWAOSW.js";import{b as o,d as m}from"./chunk-BIW4XH5V.js";import{d as l}from"./chunk-KHQV2YZC.js";import{a as n}from"./chunk-AHPZQTUB.js";import{c as s}from"./chunk-Y7CEEEVW.js";import{a as t}from"./chunk-LCOMCWIN.js";import"./chunk-MPBYGS6W.js";import{c as r,f as a}from"./chunk-IMB4M7KT.js";import"./chunk-L42YBY5I.js";import"./chunk-TATG6SFZ.js";import"./chunk-YFTHOUIJ.js";import"./chunk-CHPGCNUH.js";import"./chunk-LQHMT4C6.js";import"./chunk-QEH77NT6.js";import"./chunk-32BOIZCS.js";import"./chunk-SSQUEN6M.js";import"./chunk-MFEJ5V6K.js";import"./chunk-OELIU5BZ.js";import"./chunk-34XACK2H.js";import"./chunk-XA3PPZ2Y.js";import"./chunk-IFEIRRZ2.js";import"./chunk-EDLOEBHY.js";import"./chunk-QPQEWANA.js";import"./chunk-QSZWDE3D.js";import"./chunk-OJWLBSJN.js";import"./chunk-OUETMYIF.js";import"./chunk-YR6RQMUZ.js";import"./chunk-6NUQ6GA2.js";import"./chunk-FPLXYN4C.js";import"./chunk-FJN6PVS5.js";import"./chunk-YUFBBLOB.js";import"./chunk-DHGOZTDO.js";import"./chunk-5KQ73TJZ.js";import"./chunk-MKIXZXWS.js";import"./chunk-ICCJA66W.js";import"./chunk-BYEWGCFY.js";import"./chunk-55HKWD4P.js";import"./chunk-M56NNPVI.js";import"./chunk-6QZ55NBZ.js";import"./chunk-IWGL6J43.js";import"./chunk-ZKGRZ5CN.js";import"./chunk-N66KXK25.js";import"./chunk-ZUIHVBTD.js";import"./chunk-YIFNKP4J.js";import"./chunk-R7BY53H4.js";import"./chunk-ZSHXSTWT.js";import"./chunk-N5Z7O3UP.js";import"./chunk-J6PKQ777.js";import"./chunk-N3FHTP5P.js";import"./chunk-4CH5SZHP.js";import"./chunk-BZZOL273.js";import"./chunk-YVLU6FH7.js";import"./chunk-YVE5OT24.js";import"./chunk-GTX6M2GF.js";import"./chunk-SFKZAUPW.js";import"./chunk-2IYSJYNE.js";import"./chunk-OHQEA2NH.js";import"./chunk-EJGNYD4V.js";import{Type as e}from"@sinclair/typebox";var b=e.Object({id:e.String(),label:e.String(),hostname:e.String(),attributes:r,attr:r,datasources:e.Optional(s),datarecords:e.Optional(l),themes:e.Array(o),theme:o,sitemap:d,sitePrompt:p}),v=e.Object({site:e.Omit(b,["attributes"]),pages:e.Array(e.Composite([e.Omit(n,["attributes"]),c]))});function $(u){let i=0;return{site:{id:crypto.randomUUID(),label:"New site",hostname:"example.com",sitePrompt:u,theme:m,themes:[],sitemap:[{id:"_default_",label:"First page with really really long name that should be truncated",path:"/",tags:[],sectionsPlan:[]},{id:"_page_2",label:"Second page with really really long name that should be truncated",path:"/secondPage",tags:[],sectionsPlan:[]}],attributes:r,attr:a(),datarecords:{"a7f26d80-d68e-4b7a-a4a3-e41c454670ce":{id:"a7f26d80-d68e-4b7a-a4a3-e41c454670ce",label:"Simple Datarecord",schema:{type:"object",properties:{lastName:{type:"string",title:"Last Name","ui:placeholder":"Enter your last name",metadata:{order:0}},firstName:{type:"string",title:"First Name","ui:placeholder":"Enter your first name",metadata:{order:1}}}},provider:"internal"},"aacfe76d-4309-466c-83ad-fda8b02b043d":{id:"aacfe76d-4309-466c-83ad-fda8b02b043d",label:"Complex Datarecord",schema:{type:"object",required:["firstName","lastName"],properties:{lastName:{type:"string",title:"Last Name",metadata:{order:1}},firstName:{type:"string",title:"First Name",metadata:{order:0}},multiline2:{type:"string",title:"Message",metadata:{order:4,"ui:multiline":!0},maxLength:30,minLength:1},age:{type:"number",title:"age",minimum:1,metadata:{order:2}},url:{type:"string",title:"personal web site",format:"uri",metadata:{order:3,"ui:placeholder":"https://mysite.example"},description:"your personal website url"},agree:{type:"boolean",title:"agree",metadata:{order:5}},favoriteColor:{enum:["blue","green","red","yellow","purple"],type:"string",title:"Favorite Color",metadata:{order:6},description:"Select your favorite color"},favoriteSeason:{enum:["spring","summer","autumn","winter"],type:"string",title:"Favorite Season",metadata:{order:6,"ui:widget":"radio"},description:"Select your favorite season"},favoriteMusic:{enum:["technology","politics","sports","music","movies"],type:"string",title:"Interests",metadata:{order:6,"ui:widget":"checkbox"},description:"What kind of subjects are you interested in?"},registrationDate:{type:"string",title:"Registration date",format:"date",metadata:{order:7}},email:{type:"string",title:"Email",format:"email",metadata:{order:8}},address:{type:"string",title:"Address",metadata:{order:9}},multiline1:{type:"string",title:"some text",metadata:{order:10,"ui:multiline":!0}},datetimes:{type:"string",title:"A datetime",format:"date-time",metadata:{order:11}}}},provider:"internal"}}},pages:[{id:"_default_",label:"First page with really really long name that should be truncated",path:"/",sections:[{id:`s_${t()}`,label:"Top",order:++i,props:{purpose:"navbar"},bricks:[{id:t(),type:"navbar",props:{backgroundColor:"neutral-dark-gradient",brand:"My Site",navigation:{staticItems:[{urlOrPageId:"/about"},{urlOrPageId:"/contact"}]}}}]},{id:`s_${t()}`,label:"Testimonial",order:2,props:{justifyContent:"justify-center",alignItems:"items-start"},bricks:[{type:"testimonials",props:{alignSelf:"self-auto",orientation:"horizontal",testimonials:[{author:"Billy Gates",text:"Upstart rocks! I love the flexibility and ease of use. Can't wait to see more features!",socialIcon:"mdi:twitter",company:"Microsoft"},{author:"Jeff Bezos",text:"Amazing product! Upstart has transformed the way I build websites. Highly recommend it!",socialIcon:"mdi:facebook",company:"Amazon"},{author:"Elon Musk",text:"Upstart is a game changer! The possibilities are endless.",socialIcon:"mdi:linkedin",company:"SpaceX"},{author:"Mark Zuckerberg",text:"Upstart is a fantastic tool for building modern websites. I'm impressed!",socialIcon:"mdi:facebook",company:"Meta"}]},id:"s_uuqtYzo"}]},{id:`s_${t()}`,label:"SocialLinks",order:++i,props:{justifyContent:"justify-center"},bricks:[{type:"social-links",props:{alignSelf:"self-auto",links:[{href:"https://facebook.com",label:"Facebook",icon:"mdi:facebook"},{href:"https://instagram.com",label:"Instagram",icon:"mdi:instagram"},{href:"https://x.com",label:"X",icon:"mdi:twitter"}],variants:["icon-only","display-inline"]},id:t()},{type:"button",props:{alignSelf:"self-auto",label:"My button",justifyContent:"justify-center",type:"button",modifier:"btn-block",color:"btn-color-primary",width:"20.834446225071225%",height:"42px",growHorizontally:!1,lastTouched:1752753224134},id:t()}]},{id:`s_${t()}`,label:"Form",order:++i,props:{justifyContent:"justify-center",alignItems:"items-start"},bricks:[{id:t(),type:"form",props:{padding:"p-4",datarecordId:"a7f26d80-d68e-4b7a-a4a3-e41c454670ce",title:"Simple Form",intro:"This is a simple form to collect user information.",align:"horizontal",button:{label:"Register",position:{horizontal:"justify-center"},size:"block",borderRadius:"rounded-lg",color:"btn-color-primary"}}},{id:t(),type:"form",props:{padding:"p-4",datarecordId:"aacfe76d-4309-466c-83ad-fda8b02b043d",title:"Complex Form",intro:"This is a complex form with various field types.",align:"vertical",button:{label:"Submit Form",position:{horizontal:"justify-end"},size:"wide",borderRadius:"rounded-md",color:"btn-color-accent"}}}]},{id:`s_content-${t()}`,label:"Hero",order:++i,props:{minHeight:"400px"},bricks:[{id:`b_${t()}`,type:"hero",props:{}}]},{id:`s_content-${t()}`,label:"Content",order:++i,props:{},bricks:[{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"vbox",props:{$children:[{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}}]}},{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"spacer",props:{width:"20px"},mobileProps:{width:"100%"}},{id:`b_${t()}`,type:"card",props:{cardTitle:"Welcome to My Site",cardBody:"This is a sample card body. You can edit this content.",cardImage:{src:"https://placehold.co/300x200@2x/EEEEEE/333333/svg?text=Sample",alt:"Sample"}}}]},{id:`s_content-${t()}`,label:"Bottom",order:++i,props:{},bricks:[{id:`b_${t()}`,type:"footer",props:{linksSections:[{sectionTitle:"Links",links:[{title:"About",url:"/about"},{title:"Contact",url:"/contact"},{title:"Privacy Policy",url:"/privacy"}]},{sectionTitle:"Social",links:[{title:"Twitter",url:"https://twitter.com"},{title:"Facebook",url:"https://facebook.com"},{title:"Instagram",url:"https://instagram.com"}]},{sectionTitle:"Legal",links:[{title:"Terms of Service",url:"/terms"},{title:"Cookie Policy",url:"/cookies"}]},{sectionTitle:"Contact",links:[{title:"Email Us",url:"mailto:"},{title:"Support",url:"/support"}]}]}}]}],tags:[],attributes:r,attr:a()},{id:"_page_2",label:"Second page with really really long name that should be truncated",path:"/secondPage",sections:[{id:`s_${t()}`,label:"Top",order:++i,props:{purpose:"navbar"},bricks:[{id:t(),type:"navbar",props:{backgroundColor:"neutral-dark-gradient",brand:"My Site",navigation:{staticItems:[{urlOrPageId:"/about"},{urlOrPageId:"/contact"}]}}}]},{id:`s_${t()}`,label:"Form",order:++i,props:{justifyContent:"justify-center"},bricks:[{id:t(),type:"form",props:{padding:"p-4",datarecordId:"a7f26d80-d68e-4b7a-a4a3-e41c454670ce",title:"Simple Form",intro:"This is a simple form to collect user information.",button:{label:"Register",position:"center",borderRadius:"rounded-lg",color:"btn-color-primary"},align:"horizontal"}},{type:"button",props:{alignSelf:"self-auto",label:"My button",justifyContent:"justify-center",type:"button"},id:t()},{id:t(),type:"form",props:{padding:"p-4",datarecordId:"aacfe76d-4309-466c-83ad-fda8b02b043d",title:"Complex Form",intro:"This is a complex form with various field types.",button:{label:"Register 2",position:"left",borderRadius:"rounded-lg",color:"btn-color-primary"}}}]},{id:`s_content-${t()}`,label:"Hero",order:++i,props:{minHeight:"400px"},bricks:[{id:`b_${t()}`,type:"hero",props:{}}]},{id:`s_content-${t()}`,label:"Content",order:++i,props:{},bricks:[{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"vbox",props:{$children:[{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}}]}},{id:`b_${t()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${t()}`,type:"spacer",props:{}},{id:`b_${t()}`,type:"card",props:{cardTitle:"Welcome to My Site",cardBody:"This is a sample card body. You can edit this content.",cardImage:{src:"https://placehold.co/300x200@2x/EEEEEE/333333/svg?text=Sample",alt:"Sample"}}}]},{id:`s_content-${t()}`,label:"Bottom",order:++i,props:{},bricks:[{id:`b_${t()}`,type:"footer",props:{linksSections:[{sectionTitle:"Links",links:[{title:"About",url:"/about"},{title:"Contact",url:"/contact"},{title:"Privacy Policy",url:"/privacy"}]},{sectionTitle:"Social",links:[{title:"Twitter",url:"https://twitter.com"},{title:"Facebook",url:"https://facebook.com"},{title:"Instagram",url:"https://instagram.com"}]},{sectionTitle:"Legal",links:[{title:"Terms of Service",url:"/terms"},{title:"Cookie Policy",url:"/cookies"}]},{sectionTitle:"Contact",links:[{title:"Email Us",url:"mailto:"},{title:"Support",url:"/support"}]}]}}]}],tags:[],attributes:r,attr:a()}]}}export{$ as createEmptyConfig,b as siteSchema};
@@ -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{mergeWith as e,isArray as i}from"lodash-es";function m(r,...n){return e(r,...n,t)}function t(r,n){if(i(r))return n}export{m as mergeIgnoringArrays};
3
+ import{a}from"../chunk-MPBYGS6W.js";export{a as mergeIgnoringArrays};
@@ -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{a as o}from"../chunk-U6FRYR2T.js";import"../chunk-3HPJDVOZ.js";import"../chunk-3J5IGLOA.js";import"../chunk-5J3BD5UE.js";import"../chunk-ORMI4UGP.js";import"../chunk-GCX4EUUL.js";import"../chunk-64UY6F7P.js";import"../chunk-WPOCN2FN.js";import"../chunk-HLP4M6WE.js";import"../chunk-TMIRWL3D.js";import"../chunk-DRPOGPPM.js";import"../chunk-QJLVOJLE.js";import"../chunk-DPMZYD3B.js";import"../chunk-6UKNWQZB.js";import"../chunk-IIFSO7L2.js";import"../chunk-SFKZAUPW.js";import"../chunk-L5G4N2SH.js";function c(e){if(!e.$ref)return e;let r=o.getSchema(e.$ref)?.schema;if(!r||typeof e!="object")throw new Error(`Schema not found for reference: ${e.$ref}`);let{$ref:f,...t}=e;return{...r,...t}}export{c as resolveSchema};
3
+ import{a as o}from"../chunk-AHPCINCF.js";import"../chunk-55HKWD4P.js";import"../chunk-M56NNPVI.js";import"../chunk-6QZ55NBZ.js";import"../chunk-IWGL6J43.js";import"../chunk-ZKGRZ5CN.js";import"../chunk-ZUIHVBTD.js";import"../chunk-R7BY53H4.js";import"../chunk-4CH5SZHP.js";import"../chunk-BZZOL273.js";import"../chunk-YVLU6FH7.js";import"../chunk-YVE5OT24.js";import"../chunk-GTX6M2GF.js";import"../chunk-SFKZAUPW.js";import"../chunk-2IYSJYNE.js";import"../chunk-OHQEA2NH.js";import"../chunk-EJGNYD4V.js";function c(e){if(!e.$ref)return e;let r=o.getSchema(e.$ref)?.schema;if(!r||typeof e!="object")throw new Error(`Schema not found for reference: ${e.$ref}`);let{$ref:f,...t}=e;return{...r,...t}}export{c as resolveSchema};
@@ -7,4 +7,5 @@ export declare function normalizeSchemaEnum(schema: TSchema): Array<{
7
7
  * @warning DOES NOT HANDLE ARRAYs, just OBJECTs
8
8
  */
9
9
  export declare function getSchemaObjectDefaults<T extends TSchema>(schema: T): Static<T>;
10
+ export type FieldFilter<T extends TSchema = TSchema, P extends Record<string, unknown> = Record<string, unknown>> = (propsSchema: T, formData: P) => boolean;
10
11
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGzD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAU5F;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,EAAE,MAAM,EAAE,CAAC,GACpC,MAAM,CAAC,CAAC,CAAC,CACxC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGzD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAe5F;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,EAAE,MAAM,EAAE,CAAC,GACpC,MAAM,CAAC,CAAC,CAAC,CACxC;AAED,MAAM,MAAM,WAAW,CACrB,CAAC,SAAS,OAAO,GAAG,OAAO,EAC3B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACzD,CAAC,WAAW,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,OAAO,CAAC"}
@@ -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{a,b}from"../chunk-WCVUBYL5.js";export{b as getSchemaObjectDefaults,a as normalizeSchemaEnum};
3
+ import{a,b}from"../chunk-N3FHTP5P.js";export{b as getSchemaObjectDefaults,a as normalizeSchemaEnum};
@@ -1,7 +1,6 @@
1
1
  import { type UnsafeOptions } from "@sinclair/typebox";
2
- type StringEnumOptions = Partial<UnsafeOptions> & {
2
+ export type StringEnumOptions = Partial<UnsafeOptions> & {
3
3
  enumNames?: string[];
4
4
  };
5
5
  export declare const StringEnum: <T extends string[]>(values: [...T], options?: StringEnumOptions) => import("@sinclair/typebox").TUnsafe<T[number]>;
6
- export {};
7
6
  //# sourceMappingURL=string-enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"string-enum.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/string-enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE7D,KAAK,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG;IAChD,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,UAAS,iBAAsB,mDAK1F,CAAC"}
1
+ {"version":3,"file":"string-enum.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/string-enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG;IACvD,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,UAAS,iBAAsB,mDAK1F,CAAC"}
@@ -1,33 +1,35 @@
1
1
  import { type SchemaOptions } from "@sinclair/typebox";
2
- import type { colorPreset, preset } from "../bricks/props/preset";
3
- import type { background, backgroundColor } from "../bricks/props/background";
4
2
  import type { basicAlign } from "../bricks/props/align";
5
- import type { containerLayout } from "../bricks/props/container";
6
- import type { hidden } from "../bricks/props/common";
3
+ import type { basicGap } from "../bricks/props/gap";
4
+ import type { background, backgroundColor } from "../bricks/props/background";
7
5
  import type { border } from "../bricks/props/border";
8
- import type { padding } from "../bricks/props/padding";
9
- import type { image } from "../bricks/props/image";
10
6
  import type { color } from "../bricks/props/color";
11
- import type { shadow } from "../bricks/props/effects";
12
- import type { textContent } from "../bricks/props/text";
7
+ import type { hidden } from "../bricks/props/common";
13
8
  import type { cssLength } from "../bricks/props/css-length";
14
- import type { urlOrPageId } from "../bricks/props/string";
9
+ import type { shadow, textShadow } from "../bricks/props/effects";
10
+ import type { fontSize, textContent } from "../bricks/props/text";
11
+ import type { icon, urlOrPageId } from "../bricks/props/string";
12
+ import type { padding } from "../bricks/props/padding";
13
+ import type { colorPreset } from "../bricks/props/preset";
14
+ import type { image } from "../bricks/props/image";
15
15
  export interface SchemaTypeMap {
16
- "styles:preset": ReturnType<typeof preset>;
17
16
  "styles:background": ReturnType<typeof background>;
18
17
  "styles:backgroundColor": ReturnType<typeof backgroundColor>;
19
18
  "styles:basicAlign": ReturnType<typeof basicAlign>;
20
- "styles:containerLayout": ReturnType<typeof containerLayout>;
19
+ "styles:fontSize": ReturnType<typeof fontSize>;
21
20
  "styles:hidden": ReturnType<typeof hidden>;
22
21
  "styles:border": ReturnType<typeof border>;
23
22
  "styles:padding": ReturnType<typeof padding>;
24
23
  "styles:color": ReturnType<typeof color>;
25
24
  "styles:shadow": ReturnType<typeof shadow>;
25
+ "styles:textShadow": ReturnType<typeof textShadow>;
26
26
  "styles:cssLength": ReturnType<typeof cssLength>;
27
+ "styles:basicGap": ReturnType<typeof basicGap>;
27
28
  "presets:color": ReturnType<typeof colorPreset>;
28
29
  "assets:image": ReturnType<typeof image>;
29
30
  "content:text": ReturnType<typeof textContent>;
30
31
  "content:urlOrPageId": ReturnType<typeof urlOrPageId>;
32
+ "assets:icon": ReturnType<typeof icon>;
31
33
  }
32
34
  export declare function typedRef<K extends keyof SchemaTypeMap>(id: K, options?: SchemaOptions): SchemaTypeMap[K];
33
35
  //# sourceMappingURL=typed-ref.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typed-ref.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/typed-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAgC,MAAM,mBAAmB,CAAC;AACrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B,eAAe,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3C,mBAAmB,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IACnD,wBAAwB,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC7D,mBAAmB,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IACnD,wBAAwB,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC7D,eAAe,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3C,eAAe,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3C,gBAAgB,EAAE,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;IAC7C,cAAc,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;IACzC,eAAe,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3C,kBAAkB,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;IACjD,eAAe,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IAChD,cAAc,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;IACzC,cAAc,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IAC/C,qBAAqB,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;CAEvD;AAGD,wBAAgB,QAAQ,CAAC,CAAC,SAAS,MAAM,aAAa,EACpD,EAAE,EAAE,CAAC,EACL,OAAO,GAAE,aAAkB,GAC1B,aAAa,CAAC,CAAC,CAAC,CAGlB"}
1
+ {"version":3,"file":"typed-ref.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/typed-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,MAAM,WAAW,aAAa;IAC5B,mBAAmB,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IACnD,wBAAwB,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IAC7D,mBAAmB,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IACnD,iBAAiB,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;IAC/C,eAAe,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3C,eAAe,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3C,gBAAgB,EAAE,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;IAC7C,cAAc,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;IACzC,eAAe,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3C,mBAAmB,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IACnD,kBAAkB,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;IACjD,iBAAiB,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;IAC/C,eAAe,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IAChD,cAAc,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;IACzC,cAAc,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IAC/C,qBAAqB,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IACtD,aAAa,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;CAExC;AAGD,wBAAgB,QAAQ,CAAC,CAAC,SAAS,MAAM,aAAa,EACpD,EAAE,EAAE,CAAC,EACL,OAAO,GAAE,aAAkB,GAC1B,aAAa,CAAC,CAAC,CAAC,CAGlB"}
@@ -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{a}from"../chunk-L5G4N2SH.js";export{a as typedRef};
3
+ import{a}from"../chunk-EJGNYD4V.js";export{a as typedRef};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upstart.gg/sdk",
3
- "version": "0.0.118",
3
+ "version": "0.0.120",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -59,7 +59,7 @@
59
59
  "usehooks-ts": "3.1.0",
60
60
  "zundo": "2.3.0",
61
61
  "zustand": "4.5.5",
62
- "@upstart.gg/style-system": "0.0.118"
62
+ "@upstart.gg/style-system": "0.0.120"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@headlessui/react": "^2.2.1",
@@ -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-L5G4N2SH.js";import{Type as r}from"@sinclair/typebox";function c(e){return r.Union([r.Literal("prominent-primary",{title:"Prominent Primary",description:"Prominent display on primary-700 background."}),r.Literal("prominent-secondary",{title:"Prominent Secondary",description:"Prominent display on secondary-700 background."}),r.Literal("prominent-accent",{title:"Prominent Accent",description:"Prominent display on accent-700 background."}),r.Literal("primary",{title:"Primary",description:"Filled display on primary background with dark text."}),r.Literal("secondary",{title:"Secondary",description:"Filled display on secondary background with dark text."}),r.Literal("accent",{title:"Accent",description:"Filled display on accent background with dark text."}),r.Literal("primary-gradient",{title:"Primary gradient",description:"Filled display on primary background with dark text."}),r.Literal("secondary-gradient",{title:"Secondary gradient",description:"Filled display on secondary background with dark text."}),r.Literal("accent-gradient",{title:"Accent gradient",description:"Filled display on accent background with dark text."}),r.Literal("medium-primary",{title:"Medium Primary",description:"Filled display on primary-200 background."}),r.Literal("medium-secondary",{title:"Medium Secondary",description:"Medium display on secondary-200 background."}),r.Literal("medium-accent",{title:"Medium Accent",description:"Medium display on accent-200 background."}),r.Literal("subtle-primary",{title:"Subtle Primary",description:"Subtle display on primary-100 background and 1px border."}),r.Literal("subtle-secondary",{title:"Subtle Secondary",description:"Subtle display on secondary-100 background and 1px border."}),r.Literal("subtle-accent",{title:"Subtle Accent",description:"Subtle display on accent-100 background and 1px border."}),r.Literal("surface-1",{title:"Surface 1",description:"Surface elevation 1, light background with dark text."}),r.Literal("surface-2",{title:"Surface 2",description:"Surface elevation 2, slightly darker background with dark text."}),r.Literal("surface-3",{title:"Surface 3",description:"Surface elevation 3, even darker background with dark text."}),r.Literal("light",{title:"Light",description:"Mainly white background with dark text. Useful for bricks inside a card or a container that already have a surface/background."}),r.Literal("neutral",{title:"Neutral",description:"Mainly dark background with light text. Useful for bricks inside a card or a container that already have a surface/background."}),r.Literal("preset-none",{title:"None",description:"No background and no border. Useful for bricks inside a card or a container that already have a surface/background."})],{$id:"styles:preset",title:"Preset",description:"Styles presets are used to maintain styles consistency across the application.",default:e??"preset-none","ui:field":"hidden"})}function l(e={}){return t("styles:preset",e)}var i={"surface-1":{"styles:backgroundColor":"bg-base-100","styles:color":"text-base-content","styles:border":{color:"border-base-200"}},"surface-2":{"styles:backgroundColor":"bg-base-200","styles:color":"text-base-content","styles:border":{color:"border-base-300"}},"surface-3":{"styles:backgroundColor":"bg-base-300","styles:color":"text-base-content","styles:border":{color:"border-base-200"}},"prominent-primary":{"styles:backgroundColor":"bg-primary-700","styles:color":"text-primary","styles:border":{color:"border-primary-800"}},"prominent-secondary":{"styles:backgroundColor":"bg-secondary-700","styles:color":"text-secondary","styles:border":{color:"border-secondary-800"}},"prominent-accent":{"styles:backgroundColor":"bg-accent-700","styles:color":"text-accent","styles:border":{color:"border-accent-800"}},primary:{"styles:backgroundColor":"bg-primary","styles:color":"text-primary","styles:border":{color:"border-primary"}},secondary:{"styles:backgroundColor":"bg-secondary","styles:color":"text-secondary","styles:border":{color:"border-secondary"}},accent:{"styles:backgroundColor":"bg-accent","styles:color":"text-accent","styles:border":{color:"border-accent"}},"primary-gradient":{"styles:backgroundColor":"bg-gradient-to-br from-primary-400 to-primary-500","styles:color":"text-primary","styles:border":{color:"border-primary-700"}},"secondary-gradient":{"styles:backgroundColor":"bg-gradient-to-br from-secondary-400 to-secondary-500","styles:color":"text-secondary","styles:border":{color:"border-secondary-700"}},"accent-gradient":{"styles:backgroundColor":"bg-gradient-to-br from-accent-400 to-accent-500","styles:color":"text-accent","styles:border":{color:"border-accent-700"}},"medium-primary":{"styles:backgroundColor":"bg-primary-300","styles:color":"text-primary-800","styles:border":{color:"border-primary-300"}},"medium-secondary":{"styles:backgroundColor":"bg-secondary-300","styles:color":"text-secondary-800","styles:border":{color:"border-secondary-300"}},"medium-accent":{"styles:backgroundColor":"bg-accent-300","styles:color":"text-accent-800","styles:border":{color:"border-accent-300"}},"subtle-primary":{"styles:backgroundColor":"bg-primary-100","styles:color":"text-primary-800","styles:border":{color:"border-primary-200"}},"subtle-secondary":{"styles:backgroundColor":"bg-secondary-100","styles:color":"text-secondary-800","styles:border":{color:"border-secondary-200"}},"subtle-accent":{"styles:backgroundColor":"bg-accent-100","styles:color":"text-accent-800","styles:border":{color:"border-accent-200"}},"preset-none":{"styles:backgroundColor":"bg-transparent","styles:color":"text-base-content","styles:border":{color:"border-transparent"}},light:{"styles:backgroundColor":"bg-white","styles:color":"text-base-content","styles:border":{color:"border-base-300"}},neutral:{"styles:backgroundColor":"bg-neutral","styles:color":"text-neutral-content","styles:border":{color:"border-neutral-800"}}};function d(e){let{title:o="Color preset",...s}=e??{};return r.String({title:o,$id:"presets:color","ui:styleId":"presets:color","ui:field":"color-preset","ui:responsive":"desktop",...s})}function y(e){return t("presets:color",{...e,"ui:styleId":"presets:color"})}export{c as a,l as b,i as c,d,y as e};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as s,e as c,f as u}from"./chunk-DPMZYD3B.js";import{c as l}from"./chunk-IIFSO7L2.js";import{a as i}from"./chunk-SFKZAUPW.js";import{a as r}from"./chunk-L5G4N2SH.js";import{Type as t}from"@sinclair/typebox";var n=(e,a)=>{let p=c(e),o=u(p,a,"styles:containerLayout");return o?.type==="flex"||!o?.type},y=(e,a)=>!n(e,a);function d(e={}){return t.Object({...!e.disableGrid||e["ui:disable-grid"]?{type:i(["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(l({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:t.Optional(i(["flex-row","flex-col"],{enumNames:["Row","Column"],title:"Direction",description:"The direction of the container. Only applies to flex layout",metadata:{filter:n}})),columns:t.Optional(t.Number({title:"Columns",description:"Number of columns. Only applies to grid layout","ui:field":"slider",minimum:1,maximum:16,metadata:{filter:y}})),wrap:t.Optional(t.Boolean({title:"Wrap",description:"Wrap items.","ai:instructions":"Only applies to flex layout",metadata:{filter:n}})),fillSpace:t.Optional(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(i(["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:t.Optional(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}}))},{...e,$id:"styles:containerLayout"})}function S({title:e="Layout",options:a={}}={}){return s({title:e,options:{"ui:styleId":"styles:containerLayout",$id:"styles:containerLayout"},children:d(a)})}function O(e={}){return r("styles:containerLayout",{title:"Container layout",description:"Settings for the layout of the container",...e})}function x(){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 L(e={}){return t.Object({fillSpace:t.Optional(t.Boolean({title:"Fill available space",description:"Makes bricks fill the available space"})),justifyContent:t.Optional(i(["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(i(["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{S as a,O as b,x as c,L 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{Type as t}from"@sinclair/typebox";function i(){return t.Object({id:t.String({title:"Data Source ID"}),mapping:t.Record(t.String(),t.String(),{description:"Mapping of data source fields to brick props"}),filters:t.Optional(t.Record(t.String(),t.Object({op:t.Union([t.Literal("eq"),t.Literal("ne"),t.Literal("lt"),t.Literal("lte"),t.Literal("gt"),t.Literal("gte"),t.Literal("in"),t.Literal("nin"),t.Literal("contains"),t.Literal("startsWith"),t.Literal("endsWith")]),value:t.String()}),{description:"Filter data source records"})),sort:t.Optional(t.Record(t.String(),t.Union([t.Literal("asc",{title:"Ascending"}),t.Literal("desc",{title:"Descending"})]),{description:"Sort data source records"})),limit:t.Optional(t.Number({description:"Limit the number of records to fetch"})),offset:t.Optional(t.Number({description:"Offset the records to fetch"}))},{"ui:field":"datasource-ref","ui:meta-type":"datasource-ref",title:"Database",description:"Datasource reference. Only used for dynamic websites. Do not use for static websites"})}export{i as a};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as i}from"./chunk-DPMZYD3B.js";import{a as r}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-L5G4N2SH.js";import{Type as e}from"@sinclair/typebox";function a(o="Border"){return i({title:o,options:{"ui:styleId":"styles:border",$id:"styles:border"},children:{rounding:e.Optional(r(["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:e.Optional(r(["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:e.Optional(e.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:e.Optional(e.Array(r(["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.","ai:instructions":"Use this to apply the border to specific sides. Not specifying sides will apply the border to all sides."}),{"ui:field":"border-side"})),style:e.Optional(r(["border-solid","border-dashed","border-dotted"],{title:"Style",description:"The brick border style",default:"border-solid",enumNames:["Solid","Dashed","Dotted"],"ai:instructions":"Use only when width is different than border-0.","ui:field":"enum","ui:display":"button-group"}))}})}function u(o={}){return t("styles:border",o)}export{a,u as b};
@@ -1,8 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as d,c as a}from"./chunk-GCX4EUUL.js";import{b as l}from"./chunk-64UY6F7P.js";import{b as p}from"./chunk-WPOCN2FN.js";import{b as s}from"./chunk-HLP4M6WE.js";import{a as r}from"./chunk-YIFNKP4J.js";import{b as c}from"./chunk-TMIRWL3D.js";import{d as t}from"./chunk-DRPOGPPM.js";import{a as u}from"./chunk-XSVK2GW3.js";import{a as o,c as n}from"./chunk-DPMZYD3B.js";import{a as i}from"./chunk-SFKZAUPW.js";import{Type as e}from"@sinclair/typebox";import{TfiLayoutAccordionSeparated as m}from"react-icons/tfi";var T=u({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:m,defaultWidth:{desktop:"250px",mobile:"100%"},props:n({container:e.Optional(o({title:"Container",children:{backgroundColor:e.Optional(t()),padding:e.Optional(s()),border:e.Optional(l()),shadow:e.Optional(p())}})),items:e.Array(e.Object({title:a({title:"Title",default:"My title",disableSizing:!0}),content:a({title:"Content",default:"Expandable content goes here"}),defaultOpen:e.Optional(r("Open by default",!1))}),{title:"Accordion items"}),itemsStyles:e.Optional(o({title:"Accordion item styles",children:{backgroundColor:e.Optional(t()),color:e.Optional(c()),fontSize:d("text-base")}})),allowMultiple:r("Allow multiple open",!0,{description:"Allow multiple accordion items to be open at the same time"}),variants:e.Array(i(["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"]}})}),E=[{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{T as a,E as b};
@@ -1,6 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as r}from"./chunk-3J5IGLOA.js";import{c as e}from"./chunk-GCX4EUUL.js";import{b as n}from"./chunk-64UY6F7P.js";import{b as s}from"./chunk-WPOCN2FN.js";import{b as a}from"./chunk-HLP4M6WE.js";import{b as p}from"./chunk-TMIRWL3D.js";import{b as o}from"./chunk-DRPOGPPM.js";import{a as d}from"./chunk-XSVK2GW3.js";import{c as i}from"./chunk-DPMZYD3B.js";import{BsAlphabetUppercase as l}from"react-icons/bs";import{Type as t}from"@sinclair/typebox";var v=d({type:"hero",name:"Hero",kind:"brick",description:"A big textual element for home pages",aiInstructions:`
4
- This hero element is a large text element that can be used to display a title and an optional tagline.
5
- It is typically used on home pages to grab the user's attention.
6
- `.trim(),icon:l,defaultWidth:{desktop:"200px",mobile:"100%"},props:i({content:e({title:"Hero title",default:"I'm a big text"}),tagline:t.Optional(e({title:"Hero tagline",default:"I'm a tagline"})),background:t.Optional(o()),color:t.Optional(p()),shadow:t.Optional(s()),align:t.Optional(r()),padding:t.Optional(a()),border:t.Optional(n())},{default:{padding:"p-4"}})}),O=[{description:"Simple welcome hero with blue background",type:"hero",props:{content:"Welcome to Our Platform",tagline:"The future of productivity starts here",align:{horizontal:"justify-center"},padding:"p-8"}},{description:"Startup hero with gradient background",type:"hero",props:{content:"Build Something Amazing",tagline:"Turn your ideas into reality with our cutting-edge tools",align:{horizontal:"justify-center"},padding:"p-16"}},{description:"Construction company hero with bold presence",type:"hero",props:{content:"Building Tomorrow Today",tagline:"Quality construction services for residential and commercial projects",padding:"p-16"}},{description:"Fashion brand hero with modern appeal",type:"hero",props:{content:"Express Your Style",tagline:"Contemporary fashion that speaks to your individuality",align:{horizontal:"justify-center",vertical:"items-start"},padding:"p-16"}},{description:"Law firm hero with authoritative tone",type:"hero",props:{content:"Justice You Can Trust",tagline:"Experienced legal representation for individuals and businesses",padding:"p-8",border:{width:"border-2",color:"border-gray-800",rounding:"rounded-lg"}}},{description:"Photography studio hero with artistic flair",type:"hero",props:{content:"Capturing Life's Moments",tagline:"Professional photography services for weddings, portraits, and events",border:{rounding:"rounded-lg"}}}];export{v as a,O as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as i}from"./chunk-IIFSO7L2.js";import{a as o}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-L5G4N2SH.js";import{Type as e}from"@sinclair/typebox";function r(){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 a={lastTouched:e.Optional(e.Number({"ui:field":"hidden","ai:hidden":!0})),hidden:e.Optional(t("styles:hidden")),editable:e.Optional(e.Boolean({description:"Do not use. It is used internally by the editor.","ui:field":"hidden","ai:hidden":!0})),width:e.Optional(i({title:"Fixed Width",description:"Set a fixed width for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","ai:instructions":"Use percentage values to make the width responsive, like '50%'","ui:field":"hidden"})),height:e.Optional(i({title:"Fixed height",description:"Set a fixed height for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","ui:field":"hidden"})),alignSelf:e.Optional(o(["self-auto","self-start","self-center","self-end"],{title:"Align Self","ui:field":"hidden","ui:display":"button-group",description:"How the brick vertically aligns itself within its parent section.",enumNames:["Auto","Top","Center","Bottom"],default:"self-auto","ui:placeholder":"Not specified","ui:styleId":"styles:alignSelf"}))};export{r as a,a as b};