@upstart.gg/sdk 0.0.118 → 0.0.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/dist/shared/ajv.d.ts.map +1 -1
  2. package/dist/shared/ajv.js +1 -1
  3. package/dist/shared/attributes.d.ts.map +1 -1
  4. package/dist/shared/attributes.js +1 -1
  5. package/dist/shared/brick-manifest.d.ts +16 -19
  6. package/dist/shared/brick-manifest.d.ts.map +1 -1
  7. package/dist/shared/brick-manifest.js +1 -1
  8. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +14 -16
  9. package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
  10. package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
  11. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  12. package/dist/shared/bricks/manifests/button.manifest.d.ts +16 -16
  13. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  14. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  15. package/dist/shared/bricks/manifests/card.manifest.d.ts +23 -23
  16. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  17. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  18. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +14 -16
  19. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  20. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  21. package/dist/shared/bricks/manifests/footer.manifest.d.ts +14 -16
  22. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  23. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  24. package/dist/shared/bricks/manifests/form.manifest.d.ts +17 -16
  25. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  26. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  27. package/dist/shared/bricks/manifests/hero.manifest.d.ts +15 -41
  28. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  29. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  30. package/dist/shared/bricks/manifests/icon.manifest.d.ts +14 -16
  31. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  32. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  33. package/dist/shared/bricks/manifests/image.manifest.d.ts +14 -16
  34. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  35. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  36. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +15 -57
  37. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  38. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  39. package/dist/shared/bricks/manifests/map.manifest.d.ts +14 -16
  40. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  41. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  42. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +16 -17
  43. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  44. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  45. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +14 -16
  46. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  47. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  48. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +16 -17
  49. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  50. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  51. package/dist/shared/bricks/manifests/spacer.manifest.d.ts +14 -16
  52. package/dist/shared/bricks/manifests/spacer.manifest.d.ts.map +1 -1
  53. package/dist/shared/bricks/manifests/spacer.manifest.js +1 -1
  54. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +15 -17
  55. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
  56. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  57. package/dist/shared/bricks/manifests/text.manifest.d.ts +14 -17
  58. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  59. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  60. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +14 -16
  61. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
  62. package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
  63. package/dist/shared/bricks/manifests/vbox.manifest.d.ts +14 -16
  64. package/dist/shared/bricks/manifests/vbox.manifest.d.ts.map +1 -1
  65. package/dist/shared/bricks/manifests/vbox.manifest.js +1 -1
  66. package/dist/shared/bricks/manifests/video.manifest.d.ts +14 -16
  67. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  68. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  69. package/dist/shared/bricks/props/align.js +1 -1
  70. package/dist/shared/bricks/props/background.js +1 -1
  71. package/dist/shared/bricks/props/border.d.ts.map +1 -1
  72. package/dist/shared/bricks/props/border.js +1 -1
  73. package/dist/shared/bricks/props/color.d.ts.map +1 -1
  74. package/dist/shared/bricks/props/color.js +1 -1
  75. package/dist/shared/bricks/props/common.d.ts +1 -0
  76. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  77. package/dist/shared/bricks/props/common.js +1 -1
  78. package/dist/shared/bricks/props/container.d.ts +3 -61
  79. package/dist/shared/bricks/props/container.d.ts.map +1 -1
  80. package/dist/shared/bricks/props/container.js +1 -1
  81. package/dist/shared/bricks/props/css-length.js +1 -1
  82. package/dist/shared/bricks/props/effects.d.ts +8 -3
  83. package/dist/shared/bricks/props/effects.d.ts.map +1 -1
  84. package/dist/shared/bricks/props/effects.js +1 -1
  85. package/dist/shared/bricks/props/geolocation.js +1 -1
  86. package/dist/shared/bricks/props/helpers.d.ts +1 -4
  87. package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
  88. package/dist/shared/bricks/props/helpers.js +1 -1
  89. package/dist/shared/bricks/props/image.js +1 -1
  90. package/dist/shared/bricks/props/padding.js +1 -1
  91. package/dist/shared/bricks/props/preset.js +1 -1
  92. package/dist/shared/bricks/props/string.js +1 -1
  93. package/dist/shared/bricks/props/text.js +1 -1
  94. package/dist/shared/bricks.d.ts +22 -22
  95. package/dist/shared/bricks.d.ts.map +1 -1
  96. package/dist/shared/bricks.js +1 -1
  97. package/dist/shared/{chunk-DZN3CLYB.js → chunk-2NLENMXL.js} +1 -1
  98. package/dist/shared/{chunk-3J5IGLOA.js → chunk-34KLKC7D.js} +1 -1
  99. package/dist/shared/{chunk-TMIRWL3D.js → chunk-3SJF2FMO.js} +1 -1
  100. package/dist/shared/chunk-4JBVVUVM.js +3 -0
  101. package/dist/shared/chunk-4ZUR7K74.js +5 -0
  102. package/dist/shared/{chunk-HLP4M6WE.js → chunk-5C6YS7H3.js} +1 -1
  103. package/dist/shared/{chunk-VT637FP7.js → chunk-6ROBSJRQ.js} +1 -1
  104. package/dist/shared/chunk-72CMZ7I4.js +4 -0
  105. package/dist/shared/{chunk-OOR6KT2P.js → chunk-7ETOZECR.js} +1 -1
  106. package/dist/shared/chunk-7RCISOBG.js +3 -0
  107. package/dist/shared/chunk-A5CTYB3S.js +3 -0
  108. package/dist/shared/{chunk-N5YER54R.js → chunk-AXSKYJTL.js} +1 -1
  109. package/dist/shared/chunk-BSNVXPIC.js +3 -0
  110. package/dist/shared/chunk-CDM5BFRG.js +3 -0
  111. package/dist/shared/chunk-DNGQLHDZ.js +3 -0
  112. package/dist/shared/{chunk-IDK6OX7Q.js → chunk-DXBTSJYY.js} +1 -1
  113. package/dist/shared/chunk-FE6PIS6N.js +3 -0
  114. package/dist/shared/{chunk-L5G4N2SH.js → chunk-G77ZZFCM.js} +1 -1
  115. package/dist/shared/chunk-H3RYVSVS.js +3 -0
  116. package/dist/shared/chunk-HTHIRSIW.js +3 -0
  117. package/dist/shared/chunk-J27BW3WS.js +3 -0
  118. package/dist/shared/{chunk-66CAUQNM.js → chunk-JA6PIQX4.js} +1 -1
  119. package/dist/shared/{chunk-DRPOGPPM.js → chunk-JETRSMDQ.js} +1 -1
  120. package/dist/shared/chunk-JKHX2JMJ.js +3 -0
  121. package/dist/shared/chunk-KHQV2YZC.js +3 -0
  122. package/dist/shared/{chunk-IIFSO7L2.js → chunk-KVY3XSFM.js} +1 -1
  123. package/dist/shared/chunk-LYRE7PSQ.js +3 -0
  124. package/dist/shared/chunk-MJQMJKX4.js +3 -0
  125. package/dist/shared/{chunk-ORMI4UGP.js → chunk-ML2Z54ZY.js} +1 -1
  126. package/dist/shared/chunk-MPBYGS6W.js +3 -0
  127. package/dist/shared/chunk-MZB4NFIY.js +3 -0
  128. package/dist/shared/chunk-N5Z7O3UP.js +3 -0
  129. package/dist/shared/chunk-NUZZ4AJ5.js +3 -0
  130. package/dist/shared/chunk-PIDZNG77.js +3 -0
  131. package/dist/shared/{chunk-M4ZEMQZ6.js → chunk-QLCJ52FH.js} +1 -1
  132. package/dist/shared/{chunk-64UY6F7P.js → chunk-QMVW2BT6.js} +1 -1
  133. package/dist/shared/chunk-RXZKWH2W.js +3 -0
  134. package/dist/shared/chunk-RZN35CZP.js +3 -0
  135. package/dist/shared/{chunk-GCX4EUUL.js → chunk-SCKFS7W6.js} +1 -1
  136. package/dist/shared/chunk-UFKFCMG5.js +3 -0
  137. package/dist/shared/{chunk-LBTL7PMW.js → chunk-YBCG2363.js} +1 -1
  138. package/dist/shared/chunk-ZAHMW4A6.js +3 -0
  139. package/dist/shared/{chunk-QJLVOJLE.js → chunk-ZBLSXB2C.js} +1 -1
  140. package/dist/shared/{chunk-3HPJDVOZ.js → chunk-ZI5FRDND.js} +1 -1
  141. package/dist/shared/chunk-ZS7NIR2D.js +6 -0
  142. package/dist/shared/datarecords/types.d.ts +8 -3
  143. package/dist/shared/datarecords/types.d.ts.map +1 -1
  144. package/dist/shared/datarecords/types.js +1 -1
  145. package/dist/shared/page.d.ts +4 -4
  146. package/dist/shared/page.js +1 -1
  147. package/dist/shared/site.d.ts +6 -4
  148. package/dist/shared/site.d.ts.map +1 -1
  149. package/dist/shared/site.js +1 -1
  150. package/dist/shared/utils/merge.js +1 -1
  151. package/dist/shared/utils/schema-resolver.js +1 -1
  152. package/dist/shared/utils/schema.d.ts +1 -0
  153. package/dist/shared/utils/schema.d.ts.map +1 -1
  154. package/dist/shared/utils/schema.js +1 -1
  155. package/dist/shared/utils/string-enum.d.ts +1 -2
  156. package/dist/shared/utils/string-enum.d.ts.map +1 -1
  157. package/dist/shared/utils/typed-ref.d.ts +2 -3
  158. package/dist/shared/utils/typed-ref.d.ts.map +1 -1
  159. package/dist/shared/utils/typed-ref.js +1 -1
  160. package/package.json +2 -2
  161. package/dist/shared/chunk-5J3BD5UE.js +0 -3
  162. package/dist/shared/chunk-6C4LZJOW.js +0 -6
  163. package/dist/shared/chunk-6UKNWQZB.js +0 -3
  164. package/dist/shared/chunk-AA3I5NCV.js +0 -3
  165. package/dist/shared/chunk-B5VFKJXD.js +0 -5
  166. package/dist/shared/chunk-DAWRQM2F.js +0 -3
  167. package/dist/shared/chunk-DPMZYD3B.js +0 -3
  168. package/dist/shared/chunk-DW5FJPTQ.js +0 -3
  169. package/dist/shared/chunk-HPUW3TSO.js +0 -3
  170. package/dist/shared/chunk-JIGZPUSU.js +0 -3
  171. package/dist/shared/chunk-KLUBZJA5.js +0 -3
  172. package/dist/shared/chunk-M46KST5S.js +0 -3
  173. package/dist/shared/chunk-Q553VQBU.js +0 -3
  174. package/dist/shared/chunk-SNRDCWLJ.js +0 -3
  175. package/dist/shared/chunk-THDPWX6Z.js +0 -3
  176. package/dist/shared/chunk-U6FRYR2T.js +0 -3
  177. package/dist/shared/chunk-UXMKZZ3G.js +0 -3
  178. package/dist/shared/chunk-VAC73HJE.js +0 -3
  179. package/dist/shared/chunk-VNFJBTWZ.js +0 -3
  180. package/dist/shared/chunk-WCVUBYL5.js +0 -3
  181. package/dist/shared/chunk-WPOCN2FN.js +0 -3
  182. package/dist/shared/chunk-XSVK2GW3.js +0 -3
  183. package/dist/shared/chunk-YWGYEHZF.js +0 -3
  184. package/dist/shared/chunk-ZM4OCJKE.js +0 -3
  185. package/dist/shared/chunk-ZZZW3YYH.js +0 -4
@@ -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-DXBTSJYY.js";import"./chunk-MJQMJKX4.js";import"./chunk-MPBYGS6W.js";import"./chunk-RZN35CZP.js";import"./chunk-TATG6SFZ.js";import"./chunk-L42YBY5I.js";import"./chunk-CDM5BFRG.js";import"./chunk-7RCISOBG.js";import"./chunk-AXSKYJTL.js";import"./chunk-BSNVXPIC.js";import"./chunk-QLCJ52FH.js";import"./chunk-IFEIRRZ2.js";import"./chunk-DNGQLHDZ.js";import"./chunk-7ETOZECR.js";import"./chunk-QSZWDE3D.js";import"./chunk-HTHIRSIW.js";import"./chunk-J27BW3WS.js";import"./chunk-H3RYVSVS.js";import"./chunk-4ZUR7K74.js";import"./chunk-2NLENMXL.js";import"./chunk-LYRE7PSQ.js";import"./chunk-PIDZNG77.js";import"./chunk-N5Z7O3UP.js";import"./chunk-JKHX2JMJ.js";import"./chunk-72CMZ7I4.js";import"./chunk-MKIXZXWS.js";import"./chunk-ZS7NIR2D.js";import"./chunk-YBCG2363.js";import"./chunk-6ROBSJRQ.js";import"./chunk-UFKFCMG5.js";import"./chunk-OELIU5BZ.js";import"./chunk-5WHMFZQF.js";import"./chunk-ZI5FRDND.js";import"./chunk-ML2Z54ZY.js";import"./chunk-JA6PIQX4.js";import"./chunk-SCKFS7W6.js";import"./chunk-QMVW2BT6.js";import"./chunk-MZB4NFIY.js";import"./chunk-5C6YS7H3.js";import"./chunk-YIFNKP4J.js";import"./chunk-3SJF2FMO.js";import"./chunk-JETRSMDQ.js";import"./chunk-ZAHMW4A6.js";import"./chunk-ZBLSXB2C.js";import"./chunk-NUZZ4AJ5.js";import"./chunk-A5CTYB3S.js";import"./chunk-FE6PIS6N.js";import"./chunk-RXZKWH2W.js";import"./chunk-KVY3XSFM.js";import"./chunk-SFKZAUPW.js";import"./chunk-G77ZZFCM.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,22 +433,22 @@ 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
442
  alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
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
453
  alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
452
454
  gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -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,CA2uBxE"}
@@ -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 c,d}from"./chunk-Y6IWAOSW.js";import{b as o,d as m}from"./chunk-BIW4XH5V.js";import{a as n}from"./chunk-DXBTSJYY.js";import{a as p}from"./chunk-ZJNA4QQC.js";import{d as l}from"./chunk-KHQV2YZC.js";import{a as t}from"./chunk-MJQMJKX4.js";import"./chunk-MPBYGS6W.js";import{c as s}from"./chunk-Y7CEEEVW.js";import{c as a,f as r}from"./chunk-RZN35CZP.js";import"./chunk-TATG6SFZ.js";import"./chunk-L42YBY5I.js";import"./chunk-CDM5BFRG.js";import"./chunk-7RCISOBG.js";import"./chunk-AXSKYJTL.js";import"./chunk-BSNVXPIC.js";import"./chunk-QLCJ52FH.js";import"./chunk-IFEIRRZ2.js";import"./chunk-DNGQLHDZ.js";import"./chunk-7ETOZECR.js";import"./chunk-QSZWDE3D.js";import"./chunk-HTHIRSIW.js";import"./chunk-J27BW3WS.js";import"./chunk-H3RYVSVS.js";import"./chunk-4ZUR7K74.js";import"./chunk-2NLENMXL.js";import"./chunk-LYRE7PSQ.js";import"./chunk-PIDZNG77.js";import"./chunk-N5Z7O3UP.js";import"./chunk-JKHX2JMJ.js";import"./chunk-72CMZ7I4.js";import"./chunk-MKIXZXWS.js";import"./chunk-ZS7NIR2D.js";import"./chunk-YBCG2363.js";import"./chunk-6ROBSJRQ.js";import"./chunk-UFKFCMG5.js";import"./chunk-OELIU5BZ.js";import"./chunk-5WHMFZQF.js";import"./chunk-ZI5FRDND.js";import"./chunk-ML2Z54ZY.js";import"./chunk-JA6PIQX4.js";import"./chunk-SCKFS7W6.js";import"./chunk-QMVW2BT6.js";import"./chunk-MZB4NFIY.js";import"./chunk-5C6YS7H3.js";import"./chunk-YIFNKP4J.js";import"./chunk-3SJF2FMO.js";import"./chunk-JETRSMDQ.js";import"./chunk-ZAHMW4A6.js";import"./chunk-ZBLSXB2C.js";import"./chunk-NUZZ4AJ5.js";import"./chunk-A5CTYB3S.js";import"./chunk-FE6PIS6N.js";import"./chunk-RXZKWH2W.js";import"./chunk-KVY3XSFM.js";import"./chunk-SFKZAUPW.js";import"./chunk-G77ZZFCM.js";import{Type as e}from"@sinclair/typebox";var b=e.Object({id:e.String(),label:e.String(),hostname:e.String(),attributes:a,attr:a,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 I(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:a,attr:r(),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!",socialIcon:"mdi:twitter",company:"Microsoft"},{author:"Jeff Bezos",text:"Amazing product!",socialIcon:"mdi:facebook",company:"Amazon"}],height:"144.828125px",width:"45.82331730769231%",growHorizontally:!1,lastTouched:1752581827291},id:"s_uuqtYzo"}]},{id:`s_${t()}`,label:"SocialLinks",order:++i,props:{justifyContent:"justify-center",alignItems:"items-start"},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"],height:"138.6000000000001px"},id:t()},{type:"button",props:{alignSelf:"self-auto",label:"My button",justifyContent:"justify-center",type:"button"},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.",buttonLabel:"Register",align:"horizontal"}},{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.",buttonLabel:"Submit Form"}}]},{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:a,attr:r()},{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.",buttonLabel:"Register",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.",buttonLabel:"Submit Form"}}]},{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:a,attr:r()}]}}export{I 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-4JBVVUVM.js";import"../chunk-34KLKC7D.js";import"../chunk-ZI5FRDND.js";import"../chunk-ML2Z54ZY.js";import"../chunk-SCKFS7W6.js";import"../chunk-QMVW2BT6.js";import"../chunk-MZB4NFIY.js";import"../chunk-5C6YS7H3.js";import"../chunk-3SJF2FMO.js";import"../chunk-JETRSMDQ.js";import"../chunk-ZBLSXB2C.js";import"../chunk-FE6PIS6N.js";import"../chunk-RXZKWH2W.js";import"../chunk-KVY3XSFM.js";import"../chunk-SFKZAUPW.js";import"../chunk-G77ZZFCM.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,CAU5F;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-A5CTYB3S.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"}
@@ -2,13 +2,12 @@ import { type SchemaOptions } from "@sinclair/typebox";
2
2
  import type { colorPreset, preset } from "../bricks/props/preset";
3
3
  import type { background, backgroundColor } from "../bricks/props/background";
4
4
  import type { basicAlign } from "../bricks/props/align";
5
- import type { containerLayout } from "../bricks/props/container";
6
5
  import type { hidden } from "../bricks/props/common";
7
6
  import type { border } from "../bricks/props/border";
8
7
  import type { padding } from "../bricks/props/padding";
9
8
  import type { image } from "../bricks/props/image";
10
9
  import type { color } from "../bricks/props/color";
11
- import type { shadow } from "../bricks/props/effects";
10
+ import type { shadow, textShadow } from "../bricks/props/effects";
12
11
  import type { textContent } from "../bricks/props/text";
13
12
  import type { cssLength } from "../bricks/props/css-length";
14
13
  import type { urlOrPageId } from "../bricks/props/string";
@@ -17,12 +16,12 @@ export interface SchemaTypeMap {
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>;
21
19
  "styles:hidden": ReturnType<typeof hidden>;
22
20
  "styles:border": ReturnType<typeof border>;
23
21
  "styles:padding": ReturnType<typeof padding>;
24
22
  "styles:color": ReturnType<typeof color>;
25
23
  "styles:shadow": ReturnType<typeof shadow>;
24
+ "styles:textShadow": ReturnType<typeof textShadow>;
26
25
  "styles:cssLength": ReturnType<typeof cssLength>;
27
26
  "presets:color": ReturnType<typeof colorPreset>;
28
27
  "assets:image": ReturnType<typeof image>;
@@ -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,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,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,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAClE,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,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,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,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-G77ZZFCM.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.119",
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.119"
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 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,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};
@@ -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,d as n}from"./chunk-QJLVOJLE.js";import{a}from"./chunk-XSVK2GW3.js";import{c as r}from"./chunk-DPMZYD3B.js";import{a as e}from"./chunk-SFKZAUPW.js";import{RxButton as o}from"react-icons/rx";import{Type as t}from"@sinclair/typebox";var y=a({type:"button",name:"Button",repeatable:!0,description:"A button with text and optional icon",icon:o,props:r({variants:t.Array(t.Union([t.Literal("btn-neutral",{title:"Neutral","ui:variant-type":"color"}),t.Literal("btn-primary",{title:"Primary","ui:variant-type":"color"}),t.Literal("btn-secondary",{title:"Secondary","ui:variant-type":"color"}),t.Literal("btn-accent",{title:"Accent","ui:variant-type":"color"}),t.Literal("btn-info",{title:"Info","ui:variant-type":"color"}),t.Literal("btn-success",{title:"Success","ui:variant-type":"color"}),t.Literal("btn-warning",{title:"Warning","ui:variant-type":"color"}),t.Literal("btn-error",{title:"Error","ui:variant-type":"color"}),t.Literal("btn-outline",{title:"Outline","ui:variant-type":"style"}),t.Literal("btn-dash",{title:"Dash","ui:variant-type":"style"}),t.Literal("btn-soft",{title:"Soft","ui:variant-type":"style"}),t.Literal("btn-ghost",{title:"Ghost","ui:variant-type":"style"}),t.Literal("btn-link",{title:"Link","ui:variant-type":"style"}),t.Literal("btn-active",{title:"Active","ui:variant-type":"behavior"}),t.Literal("btn-disabled",{title:"Disabled","ui:variant-type":"behavior"}),t.Literal("btn-icon-left",{title:"Icon left","ui:variant-type":"icon"}),t.Literal("btn-icon-right",{title:"Icon right","ui:variant-type":"icon"}),t.Literal("btn-xs",{title:"Extra small","ui:variant-type":"size"}),t.Literal("btn-sm",{title:"Small","ui:variant-type":"size"}),t.Literal("btn-md",{title:"Medium","ui:variant-type":"size"}),t.Literal("btn-lg",{title:"Large","ui:variant-type":"size"}),t.Literal("btn-xl",{title:"Extra large","ui:variant-type":"size"}),t.Literal("btn-wide",{title:"Wide","ui:variant-type":"modifier"}),t.Literal("btn-block",{title:"Block","ui:variant-type":"modifier"}),t.Literal("btn-square",{title:"Square","ui:variant-type":"modifier"}),t.Literal("btn-circle",{title:"Circle","ui:variant-type":"modifier"})],{title:"Variant",description:"Button variants.","ai:tip":"Those are DaisyUI button variants"})),label:i("Label",{default:"My button"}),type:t.Optional(e(["button","submit","reset"],{title:"Type",enumNames:["Button","Submit","Reset"],default:"button",description:"The type of the button","ai:instructions":"Use 'button' for regular buttons, 'submit' for form submission, and 'reset' to reset form fields."})),icon:t.Optional(i("Icon",{title:"Icon",description:"Icon to display (iconify reference)","ui:field":"iconify"})),linkToUrlOrPageId:t.Optional(n({title:"Link"}))})}),m=[{description:"Primary button, large size, linking to a URL",type:"button",props:{variants:["btn-primary","btn-lg"],label:"Click me",linkToUrlOrPageId:"https://example.com"}},{description:"Secondary button, small size, linking to a page",type:"button",props:{variants:["btn-secondary","btn-sm"],label:"Go to page",linkToUrlOrPageId:"page-id-123"}},{description:"Disabled button with outline style",type:"button",props:{variants:["btn-outline","btn-disabled"],label:"Disabled Button"}},{description:"Ghost button",type:"button",props:{variants:["btn-ghost"],label:"Ghost Button",linkToUrlOrPageId:"https://example.com/ghost"}},{description:"Submit button in a form",type:"button",props:{variants:["btn-primary","btn-md"],label:"Submit form",type:"submit"}},{description:"Button with icon on the right",type:"button",props:{variants:["btn-primary","btn-md","btn-icon-right"],label:"Icon Button",icon:"mdi:check-circle"}}];export{y as a,m as b};
@@ -1,5 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as s}from"./chunk-GCX4EUUL.js";import{b as n}from"./chunk-64UY6F7P.js";import{b as a}from"./chunk-WPOCN2FN.js";import{b as r}from"./chunk-HLP4M6WE.js";import{b as i}from"./chunk-TMIRWL3D.js";import{d as t}from"./chunk-DRPOGPPM.js";import{a as p}from"./chunk-XSVK2GW3.js";import{c as o}from"./chunk-DPMZYD3B.js";import{RxTextAlignLeft as l}from"react-icons/rx";import{Type as e}from"@sinclair/typebox";var w=p({type:"text",kind:"brick",name:"Text",description:"Text with formatting options",aiInstructions:`Text "content" can contain minimal HTML tags like <strong>, <em>, <br> and <a> as well as <p> and <span> and lists.
4
- Only 'align' is supported as an inline style, so don't use other inline styles like 'font-size' or 'color' in the content prop.
5
- `,defaultWidth:{desktop:"200px",mobile:"100%"},defaultHeight:{desktop:"auto",mobile:"auto"},repeatable:!0,icon:l,props:o({content:s(),backgroundColor:e.Optional(t()),color:e.Optional(i()),padding:e.Optional(r({default:"p-4"})),border:e.Optional(n()),shadow:e.Optional(a())},{default:{padding:"p-8"}})}),k=[{description:"Welcome paragraph with emphasis, using a preset",type:"text",props:{content:"Welcome to our platform! We're <strong>excited</strong> to have you here. Our mission is to <em>transform</em> the way you work with cutting-edge technology and <a href='/features'>innovative features</a>.",padding:"p-16"}},{description:"Feature list with HTML formatting",type:"text",props:{content:"<h3>Key Features</h3><ul><li><strong>Advanced Analytics</strong> - Real-time data insights</li><li><strong>Cloud Integration</strong> - Seamless connectivity</li><li><strong>24/7 Support</strong> - Always here to help</li></ul>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Quote block with styling",type:"text",props:{content:`<p style='text-align: center'><em>"Innovation distinguishes between a leader and a follower."</em><br><strong>- Steve Jobs</strong></p>`,backgroundColor:"#1e293b",color:"#f1f5f9",padding:"p-8"}},{description:"Multi-paragraph article content",type:"text",props:{content:"<p>The future of web development is rapidly evolving with new technologies and frameworks emerging every year. <strong>Modern developers</strong> need to stay current with trends while maintaining focus on <em>user experience</em> and performance.</p><p>Our platform provides the tools and resources you need to build <a href='/docs'>exceptional web applications</a> that scale with your business needs.</p><p>Join thousands of developers who trust our solutions for their most critical projects.</p>",padding:"p-8"}},{description:"Call-to-action text with bright styling",type:"text",props:{content:"<p style='text-align: center'><strong>Ready to Get Started?</strong><br>Join over <span style='color: #ef4444'>50,000</span> satisfied customers and transform your business today!</p><p style='text-align: center'><a href='/signup'>Sign up now</a> and get your first month <em>absolutely free</em>.</p>",backgroundColor:"#fef3c7",color:"#92400e"}},{description:"Simple heading with subtle background",type:"text",props:{content:"<h2>About Our Company</h2><p>We've been serving customers since 2010, building trust through quality products and exceptional service.</p>",backgroundColor:"#f0f9ff"}},{description:"Technical documentation snippet",type:"text",props:{content:"<h4>API Configuration</h4><p>To get started with our API, you'll need to:</p><ol><li>Create an account and <strong>generate an API key</strong></li><li>Install the SDK: <code>npm install @company/sdk</code></li><li>Initialize with your credentials</li></ol><p>For detailed instructions, visit our <a href='/docs/api'>API documentation</a>.</p>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Team introduction with formatting",type:"text",props:{content:"<p style='text-align: center'><strong>Meet Our Team</strong></p><p>Our diverse team of experts brings together decades of experience in technology, design, and business strategy. We're passionate about <em>creating solutions</em> that make a real difference.</p><p><a href='/team'>Learn more about our team</a> and the values that drive us forward.</p>",padding:"p-8",color:"#374151"}},{description:"Warning notice with dark theme",type:"text",props:{content:"<p><strong>\u26A0\uFE0F Important Notice:</strong><br>Scheduled maintenance will occur on <em>Sunday, March 15th</em> from 2:00 AM to 6:00 AM UTC.</p><p>During this time, some features may be temporarily unavailable. We apologize for any inconvenience.</p>",backgroundColor:"#dc2626",color:"#fef2f2",padding:"p-8"}},{description:"Success message with green theme",type:"text",props:{content:"<p style='text-align: center'><strong>\u2705 Success!</strong><br>Your account has been created successfully.</p><p style='text-align: center'>Check your email for verification instructions and <a href='/dashboard' style='color: #065f46'>start exploring</a> your new dashboard.</p>",backgroundColor:"#d1fae5",padding:"p-8"}}];export{w as a,k as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as c}from"./chunk-5WHMFZQF.js";import{c as i}from"./chunk-5J3BD5UE.js";import{b as p}from"./chunk-64UY6F7P.js";import{b as s}from"./chunk-WPOCN2FN.js";import{b as a}from"./chunk-HLP4M6WE.js";import{b as t}from"./chunk-DRPOGPPM.js";import{a as n}from"./chunk-XSVK2GW3.js";import{c as e}from"./chunk-DPMZYD3B.js";import{c as r}from"./chunk-IIFSO7L2.js";import{Type as o}from"@sinclair/typebox";import{LuStretchHorizontal as m}from"react-icons/lu";var d=o.Array(o.Object({},{additionalProperties:!0})),w=n({type:"vbox",kind:"widget",name:"Vertical box",description:"A vertical container for stacking bricks",isContainer:!0,defaultWidth:{desktop:"auto",mobile:"100%"},datasource:d,icon:m,props:e({gap:o.Optional(r({title:"Gap",default:"10px",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"})),background:o.Optional(t()),border:o.Optional(p()),padding:o.Optional(a()),shadow:o.Optional(s()),datasource:o.Optional(c()),...i()})}),P=[];export{d as a,w as b,P as c};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as i}from"./chunk-6UKNWQZB.js";import{Type as p}from"@sinclair/typebox";import{get as s}from"lodash-es";function u(t){return t.type==="object"}function g({title:t,children:e,category:r="settings",metadata:o,options:n}){return u(e)?p.Composite([p.Object({}),e],{title:t,metadata:{category:r,group:!0,...o},...n}):p.Object(e,{title:t,...n,metadata:{category:r,group:!0,...o}})}function l(t){let e=t.metadata;return{title:t.title??t.metadata?.title,meta:e,tab:e.groupTab||"common"}}function d(t,e){let r={...i,...t};return e?.noAlignSelf&&delete r.alignSelf,p.Object(r,e)}var T=p.Array;function a(t,e="",r={}){if(t.type==="object")for(let o in t.properties){let n=t.properties[o];n["ui:styleId"]&&(r[`${e}${o}`]=n["ui:styleId"]),a(n,`${e}${o}.`,r)}else t.type==="array"&&a(t.items,`${e}[].`,r);return r}function m(t,e,r){for(let[o,n]of Object.entries(t))if(n===r)return s(e,o)}export{g as a,l as b,d as c,T as d,a as e,m as f};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{e as r}from"./chunk-3HPJDVOZ.js";import{b as s}from"./chunk-ORMI4UGP.js";import{a as n}from"./chunk-GCX4EUUL.js";import{b as o}from"./chunk-HLP4M6WE.js";import{a as i,d as a}from"./chunk-QJLVOJLE.js";import{a as u}from"./chunk-XSVK2GW3.js";import{c as l,d as e}from"./chunk-DPMZYD3B.js";import{Type as t}from"@sinclair/typebox";import{VscLayoutPanelOff as c}from"react-icons/vsc";var k=u({type:"footer",kind:"widget",name:"Footer",description:"A footer with links and an optional logo",icon:c,staticClasses:"flex-1",resizable:!1,defaultWidth:{desktop:"100%",mobile:"100%"},props:l({colorPreset:t.Optional(r({title:"Color preset","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{container:"bg-primary-light text-primary-content-light"},label:"Primary lighter"},primary:{previewBgClass:"bg-primary text-primary-content",label:"Primary",value:{container:"bg-primary text-primary-content"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary darker",value:{container:"bg-primary-dark text-primary-content"}},"secondary-light":{previewBgClass:"bg-secondary-light text-secondary-content-light",label:"Secondary lighter",value:{container:"bg-secondary-light text-secondary-content-light"}},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{container:"bg-secondary text-secondary-content"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary darker",value:{container:"bg-secondary-dark text-secondary-content"}},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{container:"bg-neutral text-neutral-content"}},base100:{previewBgClass:"bg-base-100 text-base-content",label:"Base 1",value:{container:"bg-base-100 text-base-content"}},base200:{previewBgClass:"bg-base-200 text-base-content",label:"Base 2",value:{container:"bg-base-200 text-base-content"}},base300:{previewBgClass:"bg-base-300 text-base-content",label:"Base 3",value:{container:"bg-base-300 text-base-content"}},none:{label:"None",value:{}}},default:"primary"})),padding:t.Optional(o({default:"p-10"})),logo:t.Optional(s({title:"Logo","ui:no-object-options":!0,"ui:no-alt-text":!0})),fontSize:t.Optional(n("text-sm","Font size",{noExtraLargeSizes:!0})),linksSections:e(t.Object({sectionTitle:i("Links Section title"),links:e(t.Object({title:i("Title"),url:a()}))}),{default:[{sectionTitle:"Links",links:[{title:"Link",url:"/"}]}]})})}),S=[{description:"Simple footer with logo on the left",type:"footer",props:{logo:{src:"https://via.placeholder.com/120x40.png?text=Logo",alt:"Company logo"},linksSections:[{sectionTitle:"Quick Links",links:[{title:"Home",url:"/"},{title:"About",url:"/about"},{title:"Contact",url:"/contact"}]},{sectionTitle:"Legal",links:[{title:"Privacy Policy",url:"/privacy"},{title:"Terms of Service",url:"/terms"}]}]}},{description:"Corporate footer with centered logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/150x50.png?text=Corporate",alt:"Corporate logo"},linksSections:[{sectionTitle:"Products",links:[{title:"Software Solutions",url:"/products/software"},{title:"Consulting",url:"/products/consulting"},{title:"Support",url:"/products/support"},{title:"Training",url:"/products/training"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"News",url:"/news"},{title:"Investors",url:"/investors"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Community",url:"/community"},{title:"Blog",url:"/blog"}]}]}},{description:"E-commerce footer with logo on the right",type:"footer",props:{logo:{src:"https://via.placeholder.com/140x45.png?text=Shop",alt:"Shop logo"},linksSections:[{sectionTitle:"Shop",links:[{title:"All Products",url:"/products"},{title:"New Arrivals",url:"/new"},{title:"Sale",url:"/sale"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Customer Service",links:[{title:"Help Center",url:"/help"},{title:"Returns",url:"/returns"},{title:"Shipping Info",url:"/shipping"},{title:"Size Guide",url:"/size-guide"}]},{sectionTitle:"Account",links:[{title:"My Account",url:"/account"},{title:"Order History",url:"/orders"},{title:"Wishlist",url:"/wishlist"}]}]}},{description:"Large organization footer with multiple rows",type:"footer",props:{logo:{src:"https://via.placeholder.com/180x60.png?text=Enterprise",alt:"Enterprise logo"},linksSections:[{sectionTitle:"Products & Services",links:[{title:"Cloud Solutions",url:"/cloud"},{title:"Data Analytics",url:"/analytics"},{title:"AI & Machine Learning",url:"/ai"},{title:"Cybersecurity",url:"/security"},{title:"DevOps Tools",url:"/devops"},{title:"IoT Platform",url:"/iot"}]},{sectionTitle:"Industries",links:[{title:"Healthcare",url:"/industries/healthcare"},{title:"Finance",url:"/industries/finance"},{title:"Retail",url:"/industries/retail"},{title:"Manufacturing",url:"/industries/manufacturing"},{title:"Education",url:"/industries/education"},{title:"Government",url:"/industries/government"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Tutorials",url:"/tutorials"},{title:"Webinars",url:"/webinars"},{title:"White Papers",url:"/whitepapers"},{title:"Case Studies",url:"/case-studies"}]},{sectionTitle:"Support & Community",links:[{title:"Help Center",url:"/help"},{title:"Community Forum",url:"/forum"},{title:"Contact Support",url:"/support"},{title:"Service Status",url:"/status"},{title:"Partner Portal",url:"/partners"},{title:"Developer Hub",url:"/developers"}]}]}},{description:"Startup footer with minimal links and left logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/100x35.png?text=Startup",alt:"Startup logo"},linksSections:[{sectionTitle:"Company",links:[{title:"About",url:"/about"},{title:"Team",url:"/team"},{title:"Jobs",url:"/jobs"}]},{sectionTitle:"Product",links:[{title:"Features",url:"/features"},{title:"Pricing",url:"/pricing"},{title:"Demo",url:"/demo"}]},{sectionTitle:"Support",links:[{title:"Help",url:"/help"},{title:"Contact",url:"/contact"}]}]}},{description:"Agency footer with centered logo and creative sections",type:"footer",props:{logo:{src:"https://via.placeholder.com/130x45.png?text=Agency",alt:"Creative agency logo"},linksSections:[{sectionTitle:"Services",links:[{title:"Web Design",url:"/services/web-design"},{title:"Branding",url:"/services/branding"},{title:"Digital Marketing",url:"/services/marketing"},{title:"Photography",url:"/services/photography"}]},{sectionTitle:"Portfolio",links:[{title:"Recent Work",url:"/portfolio"},{title:"Case Studies",url:"/case-studies"},{title:"Client Reviews",url:"/reviews"}]},{sectionTitle:"Connect",links:[{title:"Contact Us",url:"/contact"},{title:"Get Quote",url:"/quote"},{title:"Newsletter",url:"/newsletter"}]}]}},{description:"SaaS platform footer with comprehensive links",type:"footer",props:{logo:{src:"https://via.placeholder.com/160x50.png?text=SaaS+Platform",alt:"SaaS platform logo"},linksSections:[{sectionTitle:"Platform",links:[{title:"Dashboard",url:"/dashboard"},{title:"Analytics",url:"/analytics"},{title:"Integrations",url:"/integrations"},{title:"API",url:"/api"}]},{sectionTitle:"Solutions",links:[{title:"For Startups",url:"/solutions/startups"},{title:"For Enterprise",url:"/solutions/enterprise"},{title:"For Agencies",url:"/solutions/agencies"},{title:"For Developers",url:"/solutions/developers"}]},{sectionTitle:"Resources",links:[{title:"Blog",url:"/blog"},{title:"Documentation",url:"/docs"},{title:"Help Center",url:"/help"},{title:"Community",url:"/community"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"Press",url:"/press"},{title:"Legal",url:"/legal"}]}]}},{description:"Non-profit footer with mission-focused links",type:"footer",props:{logo:{src:"https://via.placeholder.com/140x50.png?text=Non+Profit",alt:"Non-profit organization logo"},linksSections:[{sectionTitle:"Our Work",links:[{title:"Programs",url:"/programs"},{title:"Impact",url:"/impact"},{title:"Success Stories",url:"/stories"},{title:"Research",url:"/research"}]},{sectionTitle:"Get Involved",links:[{title:"Donate",url:"/donate"},{title:"Volunteer",url:"/volunteer"},{title:"Events",url:"/events"},{title:"Partner with Us",url:"/partnerships"}]},{sectionTitle:"About",links:[{title:"Our Mission",url:"/mission"},{title:"Leadership",url:"/leadership"},{title:"Annual Reports",url:"/reports"},{title:"Contact",url:"/contact"}]}]}},{description:"Tech blog footer with right-aligned logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/120x40.png?text=Tech+Blog",alt:"Tech blog logo"},linksSections:[{sectionTitle:"Categories",links:[{title:"Web Development",url:"/category/web-dev"},{title:"AI & ML",url:"/category/ai-ml"},{title:"DevOps",url:"/category/devops"},{title:"Mobile",url:"/category/mobile"}]},{sectionTitle:"Popular",links:[{title:"Latest Posts",url:"/latest"},{title:"Trending",url:"/trending"},{title:"Best of 2024",url:"/best-2024"},{title:"Tutorials",url:"/tutorials"}]},{sectionTitle:"Community",links:[{title:"Newsletter",url:"/newsletter"},{title:"Discord",url:"/discord"},{title:"Contributors",url:"/contributors"},{title:"Write for Us",url:"/write"}]}]}},{description:"Restaurant footer with location and menu links",type:"footer",props:{logo:{src:"https://via.placeholder.com/150x60.png?text=Restaurant",alt:"Restaurant logo"},linksSections:[{sectionTitle:"Menu",links:[{title:"Appetizers",url:"/menu/appetizers"},{title:"Main Courses",url:"/menu/mains"},{title:"Desserts",url:"/menu/desserts"},{title:"Beverages",url:"/menu/drinks"}]},{sectionTitle:"Services",links:[{title:"Reservations",url:"/reservations"},{title:"Catering",url:"/catering"},{title:"Private Events",url:"/events"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Info",links:[{title:"About Us",url:"/about"},{title:"Location",url:"/location"},{title:"Hours",url:"/hours"},{title:"Contact",url:"/contact"}]}]}}];export{k as a,S as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as l}from"./chunk-TATG6SFZ.js";import{a as p}from"./chunk-L42YBY5I.js";import{b as o}from"./chunk-ORMI4UGP.js";import{a as n}from"./chunk-YIFNKP4J.js";import{b as u}from"./chunk-TMIRWL3D.js";import{d as s}from"./chunk-DRPOGPPM.js";import{a as i}from"./chunk-QJLVOJLE.js";import{Type as e}from"@sinclair/typebox";import{jsonDefault as c}from"json-schema-default";function $(t){for(let a in t)if(a.startsWith("$"))throw new Error(`Attribute names starting with '$' (like "${a}") are reserved for internal use. Please rename it.`);return e.Object(t)}function w(t){return e.Composite([t,r])}var g={$backgroundColor:s({title:"Background color",default:"bg-base-100","ui:field":"hidden"}),$textColor:u({title:"Text color",default:"text-base-content","ui:field":"hidden"}),$pageLanguage:p("Language","en",{options:[{value:"ar",title:"Arabic"},{value:"zh",title:"Chinese"},{value:"cs",title:"Czech"},{value:"nl",title:"Dutch"},{value:"en",title:"English"},{value:"fr",title:"French"},{value:"de",title:"German"},{value:"he",title:"Hebrew"},{value:"hi",title:"Hindi"},{value:"it",title:"Italian"},{value:"ja",title:"Japanese"},{value:"ko",title:"Korean"},{value:"fa",title:"Persian"},{value:"pl",title:"Polish"},{value:"pt",title:"Portuguese"},{value:"ru",title:"Russian"},{value:"es",title:"Spanish"},{value:"tr",title:"Turkish"},{value:"vi",title:"Vietnamese"}],"ai:guidelines":"Choose a value based on the site description. If the site is in multiple languages, use 'en'.","ui:group":"meta","ui:group:title":"Meta tags"}),$robotsIndexing:e.Optional(n("Allow search engines to index this site",!0,{description:"Disabling this will prevent search engines from indexing this site","ui:group":"seo","ui:group:title":"SEO","ui:scope":"site","ai:hidden":!0})),$pagePath:i("Page path",{default:"/",description:"The URL path of the page","ui:group":"location","ui:group:title":"Location","ui:field":"path"}),$pageTitle:i("Title",{default:"Untitled","ui:group":"meta","ui:group:title":"Meta tags",description:"The title of the page. Appears in the browser tab and search results"}),$pageDescription:i("Description",{"ui:widget":"textarea","ui:group":"meta","ui:group:title":"Meta tags",description:"A short description of the page. Used by search engines","ui:multiline":!0,"ui:textarea-class":"h-24"}),$pageKeywords:i("Keywords",{"ui:group":"meta","ui:group:title":"Meta tags",description:"Keywords related to the page. Used by search engines","ui:multiline":!0}),$siteOgImage:e.Optional(o({title:"Social share image",description:"Image shown when this site is shared on social media","ui:scope":"site","ai:hidden":!0,"ui:no-object-options":!0,"ui:no-alt-text":!0,"ui:show-img-search":!1})),$pageOgImage:e.Optional(o({title:"Social share image",description:"Image shown when this page is shared on social media","ai:hidden":!0,"ui:no-object-options":!0,"ui:no-alt-text":!0,"ui:show-img-search":!1})),$pageLastUpdated:e.Optional(l("Last updated",{"ui:hidden":!0,"ai:guidelines":"Don't generate this property."})),$siteHeadTags:e.Optional(e.String({title:"Head tags",description:"Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.","ai:guidelines":"Don't include meta tags here, they are automatically generated.","ui:multiline":!0,"ui:textarea-class":"h-40 !font-mono !text-xs","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:premium":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"})),$siteBodyTags:e.Optional(e.String({title:"Body tags",description:"Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.","ui:multiline":!0,"ui:premium":!0,"ui:textarea-class":"h-40 !font-mono !text-xs","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"}))},r=e.Object(g,{additionalProperties:!0}),T=e.Pick(r,["$backgroundColor","$textColor"]),O=e.Pick(r,["$pageTitle","$pageDescription","$pageKeywords","$pageLanguage","$pagePath","$backgroundColor","$textColor"]);function k(t=e.Object({}),a={}){return{...c(r),...a}}export{$ as a,w as b,r as c,T as d,O as e,k as f};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as n}from"./chunk-ORMI4UGP.js";import{c as l}from"./chunk-GCX4EUUL.js";import{b as i}from"./chunk-64UY6F7P.js";import{b as s}from"./chunk-WPOCN2FN.js";import{b as r}from"./chunk-HLP4M6WE.js";import{b as a}from"./chunk-DRPOGPPM.js";import{a as t}from"./chunk-QJLVOJLE.js";import{a as c}from"./chunk-XSVK2GW3.js";import{c as o}from"./chunk-DPMZYD3B.js";import{Type as e}from"@sinclair/typebox";import{HiOutlineChatBubbleBottomCenter as p}from"react-icons/hi2";var I=c({type:"testimonials",name:"Testimonials",kind:"widget",description:"Display testimonials from users",repeatable:!1,icon:p,props:o({orientation:e.Optional(e.Union([e.Literal("horizontal",{title:"Horizontal"}),e.Literal("vertical",{title:"Vertical"})],{title:"Orientation",default:"horizontal"})),background:e.Optional(a()),border:e.Optional(i()),padding:e.Optional(r()),shadow:e.Optional(s()),testimonials:e.Array(e.Object({author:t("Author",{default:"John Doe"}),company:e.Optional(t("Company")),text:l({title:"Text",default:"Amazing product!"}),avatar:e.Optional(n({title:"Avatar"})),socialIcon:e.Optional(t("Social Icon",{description:"Iconify reference for the social icon","ui:field":"iconify"}))}))},{default:{orientation:"horizontal"}})}),k=[{description:"SaaS platform testimonials with avatars (horizontal)",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Sarah Johnson",company:"TechCorp Solutions",text:"This platform has completely transformed how we manage our projects. The intuitive interface and powerful automation features have saved us countless hours.",avatar:{src:"https://via.placeholder.com/80x80.png?text=SJ",alt:"Sarah Johnson profile photo"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"StartupFlow",text:"Outstanding customer support and regular feature updates. We've been using this for over a year and it keeps getting better. Highly recommend!",avatar:{src:"https://via.placeholder.com/80x80.png?text=MC",alt:"Mike Chen profile photo"},socialIcon:"mdi:twitter"},{author:"Emily Rodriguez",company:"Digital Agency Pro",text:"The automation capabilities are game-changing. What used to take us days now happens automatically. It's like having an extra team member.",avatar:{src:"https://via.placeholder.com/80x80.png?text=ER",alt:"Emily Rodriguez profile photo"},socialIcon:"mdi:linkedin"}]}},{description:"E-commerce customer reviews (vertical)",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Jessica Williams",company:"Happy Customer",text:"Amazing product quality and fast shipping! The item exceeded my expectations and the customer service was excellent when I had questions.",avatar:{src:"https://via.placeholder.com/60x60.png?text=JW",alt:"Jessica Williams customer photo"},socialIcon:"mdi:star"},{author:"David Park",text:"Five stars! Been using this product for 6 months and it's still going strong. Definitely worth the investment and I've already recommended it to friends.",avatar:{src:"https://via.placeholder.com/60x60.png?text=DP",alt:"David Park customer photo"},socialIcon:"mdi:thumbs-up"}]}},{description:"Agency client testimonials with company info",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Rachel Thompson",company:"Global Enterprises",text:"The team delivered exceptional results on time and within budget. Their creative approach and attention to detail made all the difference for our brand.",avatar:{src:"https://via.placeholder.com/70x70.png?text=RT",alt:"Rachel Thompson headshot"},socialIcon:"mdi:briefcase"},{author:"Alex Kumar",company:"Innovation Labs",text:"Working with this agency was a game-changer for our digital presence. They understood our vision and brought it to life beautifully.",avatar:{src:"https://via.placeholder.com/70x70.png?text=AK",alt:"Alex Kumar profile"},socialIcon:"mdi:lightbulb"},{author:"Maria Santos",company:"Retail Plus",text:"Professional, creative, and results-driven. Our website traffic increased by 200% after their redesign. Couldn't be happier!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MS",alt:"Maria Santos photo"},socialIcon:"mdi:chart-line"}]}},{description:"App user feedback (vertical layout)",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Tom Wilson",text:"This app has made my daily routine so much easier. Love the clean interface and how everything just works seamlessly across all my devices.",avatar:{src:"https://via.placeholder.com/65x65.png?text=TW",alt:"Tom Wilson user photo"},socialIcon:"mdi:cellphone"},{author:"Lisa Chang",text:"Been using this app for months and it's become essential to my workflow. The latest update with AI features is incredibly impressive.",avatar:{src:"https://via.placeholder.com/65x65.png?text=LC",alt:"Lisa Chang profile picture"},socialIcon:"mdi:robot"},{author:"James Miller",text:"Simple, powerful, and reliable. Exactly what I was looking for. The customer support team is also very responsive and helpful.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JM",alt:"James Miller avatar"},socialIcon:"mdi:heart"}]}},{description:"Course/education testimonials with social icons",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Amanda Foster",company:"UX Designer",text:"This course completely changed my career trajectory. The practical projects and expert feedback helped me land my dream job in just 3 months.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AF",alt:"Amanda Foster student photo"},socialIcon:"mdi:school"},{author:"Carlos Rodriguez",company:"Software Engineer",text:"The instructors are industry experts and the content is always up-to-date. I've taken three courses here and each one exceeded my expectations.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CR",alt:"Carlos Rodriguez profile"},socialIcon:"mdi:code-tags"}]}},{description:"Simple testimonials without avatars",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Anonymous User",text:"Great service and excellent value for money. Would definitely recommend to others looking for a reliable solution.",socialIcon:"mdi:account-circle"},{author:"Verified Customer",text:"Quick delivery and exactly as described. Very satisfied with my purchase and the overall experience.",socialIcon:"mdi:check-circle"},{author:"Beta Tester",text:"Been using the beta version and it's already impressive. Looking forward to the full release with even more features.",socialIcon:"mdi:beta"}]}},{description:"Consultant testimonials with professional focus",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Dr. Patricia Lee",company:"Medical Practice Solutions",text:"The consulting services provided were invaluable to our practice. Revenue increased by 40% and patient satisfaction scores improved significantly.",avatar:{src:"https://via.placeholder.com/80x80.png?text=PL",alt:"Dr. Patricia Lee headshot"},socialIcon:"mdi:medical-bag"},{author:"Robert Kim",company:"Manufacturing Inc.",text:"Their strategic insights helped us streamline operations and reduce costs by 25%. The ROI was evident within the first quarter.",avatar:{src:"https://via.placeholder.com/80x80.png?text=RK",alt:"Robert Kim executive photo"},socialIcon:"mdi:factory"}]}},{description:"Event testimonials with social media icons",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Jennifer Adams",company:"Marketing Director",text:"Best conference I've attended in years! The networking opportunities were incredible and the speakers were top-notch industry leaders.",avatar:{src:"https://via.placeholder.com/70x70.png?text=JA",alt:"Jennifer Adams conference attendee"},socialIcon:"mdi:twitter"},{author:"Michael Brown",company:"Tech Startup Founder",text:"The workshops were incredibly practical and I left with actionable strategies I could implement immediately. Already planning to attend next year!",avatar:{src:"https://via.placeholder.com/70x70.png?text=MB",alt:"Michael Brown participant photo"},socialIcon:"mdi:linkedin"},{author:"Sophie Chen",company:"Product Manager",text:"Amazing organization and valuable content. Met so many like-minded professionals and learned cutting-edge techniques I'm excited to try.",avatar:{src:"https://via.placeholder.com/70x70.png?text=SC",alt:"Sophie Chen attendee photo"},socialIcon:"mdi:instagram"}]}},{description:"Fitness/wellness testimonials with achievement focus",type:"testimonials",props:{orientation:"vertical",testimonials:[{author:"Mark Thompson",text:"Lost 30 pounds in 4 months following this program! The personalized approach and constant support made all the difference in achieving my goals.",avatar:{src:"https://via.placeholder.com/75x75.png?text=MT",alt:"Mark Thompson transformation photo"},socialIcon:"mdi:dumbbell"},{author:"Anna Johnson",text:"Finally found a workout routine I actually enjoy! The trainers are motivating and the community support keeps me accountable every day.",avatar:{src:"https://via.placeholder.com/75x75.png?text=AJ",alt:"Anna Johnson fitness photo"},socialIcon:"mdi:heart-pulse"},{author:"Chris Davis",text:"This program completely changed my relationship with fitness. I'm stronger, more confident, and have energy I haven't felt in years.",avatar:{src:"https://via.placeholder.com/75x75.png?text=CD",alt:"Chris Davis success photo"},socialIcon:"mdi:trophy"}]}},{description:"Restaurant customer reviews with food focus",type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Food Critic Helen",company:"Local Food Blog",text:"Exceptional cuisine and impeccable service! Every dish was a masterpiece and the attention to detail was remarkable. A true culinary experience.",avatar:{src:"https://via.placeholder.com/65x65.png?text=HC",alt:"Helen food critic photo"},socialIcon:"mdi:silverware-fork-knife"},{author:"Regular Customer Joe",text:"Been coming here for years and it never disappoints. The staff knows my order by heart and the quality is consistently outstanding.",avatar:{src:"https://via.placeholder.com/65x65.png?text=JC",alt:"Joe regular customer"},socialIcon:"mdi:food"}]}}];export{I as a,k as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as p}from"./chunk-YIFNKP4J.js";import{a as t}from"./chunk-XSVK2GW3.js";import{c as e}from"./chunk-DPMZYD3B.js";import{CgSpaceBetween as r}from"react-icons/cg";import{Type as o}from"@sinclair/typebox";var m=t({type:"spacer",name:"Spacer",kind:"brick",description:"A flexible element to create space between bricks.",repeatable:!0,minWidth:{desktop:50,mobile:20},defaultWidth:{mobile:"100%",desktop:"50px"},minHeight:{mobile:30},icon:r,props:e({autogrow:o.Optional(p("Auto-grow",!1,{description:"If enabled, the spacer will automatically grow to fill available space."}))},{noPreset:!0})}),f=[{description:"Transparent spacer of 100px wide",type:"spacer",props:{width:"100px"}},{description:"Transparent spacer of 20px wide",type:"spacer",props:{width:"20px"}}];export{m as a,f as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as p}from"./chunk-M4ZEMQZ6.js";import{b as i}from"./chunk-64UY6F7P.js";import{b as r}from"./chunk-WPOCN2FN.js";import{a as e}from"./chunk-XSVK2GW3.js";import{a as o,c as t}from"./chunk-DPMZYD3B.js";import{LiaMapMarkedAltSolid as n}from"react-icons/lia";import{Type as a}from"@sinclair/typebox";var s={lat:48.8566,lng:2.3522,zoom:17},w=e({type:"map",kind:"widget",name:"Map",description:"A map element showing a location",aiInstructions:"This brick can be used to show a location on a map. Use the 'location' prop to set the coordinates and an optional tooltip.",minWidth:{desktop:280,mobile:280},minHeight:{desktop:120,mobile:120},icon:n,props:t({location:o({title:"Location",children:p({defaultZoom:s.zoom})}),border:a.Optional(i()),shadow:a.Optional(r())},{noPreset:!0})}),k=[{description:"Map showing a specific location",type:"map",props:{location:{lat:37.7749,lng:-122.4194,address:"San Francisco, CA",tooltip:"San Francisco, CA"},shadow:"shadow-md"}},{description:"Map with custom styles",type:"map",props:{location:{lat:40.7128,lng:-74.006,address:"New York, NY",tooltip:"New York, NY"},border:{color:"border-gray-300",width:"border",rounding:"rounded-lg"},shadow:"shadow-lg"}}];export{s as a,w as b,k as c};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{c as p}from"./chunk-5J3BD5UE.js";import{b as o}from"./chunk-64UY6F7P.js";import{b as a}from"./chunk-WPOCN2FN.js";import{b as i}from"./chunk-HLP4M6WE.js";import{b as r}from"./chunk-DRPOGPPM.js";import{a as s}from"./chunk-XSVK2GW3.js";import{c as t}from"./chunk-DPMZYD3B.js";import{TbCarouselHorizontal as n}from"react-icons/tb";import{Type as e}from"@sinclair/typebox";var x=s({type:"carousel",kind:"widget",name:"Carousel",description:"A carousel element",isContainer:!0,icon:n,props:t({variants:e.Array(e.Union([e.Literal("pager-arrows",{title:"With arrows pager"}),e.Literal("pager-numbers",{title:"With numbered pager"}),e.Literal("pager-dots",{title:"With dots pager"})],{title:"Variant",description:"Carousel variants."})),background:e.Optional(r()),border:e.Optional(o()),padding:e.Optional(i()),shadow:e.Optional(a()),...p()})}),b=[{description:"An image carousel with pager arrows",type:"carousel",props:{variants:["pager-arrows"],$children:[{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+1"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+2"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+3"}}]}},{description:"A carousel of text slides with numbered pager",type:"carousel",props:{variants:["pager-numbers"],$children:[{type:"text",props:{content:"Slide 1",preset:"prominent-primary"}},{type:"text",props:{content:"Slide 2",preset:"prominent-secondary"}},{type:"text",props:{content:"Slide 3",preset:"prominent-accent"}}]}}];export{x as a,b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{b as i,c as h}from"./chunk-DAWRQM2F.js";import{a as p,b as D}from"./chunk-N5YER54R.js";import{b as r,c as W}from"./chunk-M46KST5S.js";import{b as l,c as w}from"./chunk-UXMKZZ3G.js";import{a as d,b as G}from"./chunk-OOR6KT2P.js";import{a as E,b as F}from"./chunk-YWGYEHZF.js";import{a as g,b as H}from"./chunk-KLUBZJA5.js";import{a as b,b as I}from"./chunk-JIGZPUSU.js";import{a as m,b as R}from"./chunk-B5VFKJXD.js";import{a as u,b as J}from"./chunk-DZN3CLYB.js";import{a as o,b as L}from"./chunk-VNFJBTWZ.js";import{a as y,b as q}from"./chunk-Q553VQBU.js";import{a as x,b as z}from"./chunk-DW5FJPTQ.js";import{a as f,b as P}from"./chunk-ZZZW3YYH.js";import{a,b as v}from"./chunk-6C4LZJOW.js";import{a as M,b as C}from"./chunk-LBTL7PMW.js";import{a as s,b as B}from"./chunk-VT637FP7.js";import{b as n,c as j}from"./chunk-ZM4OCJKE.js";import{a as t,b as k}from"./chunk-66CAUQNM.js";import{a as c,b as A}from"./chunk-AA3I5NCV.js";import{b as e}from"./chunk-XSVK2GW3.js";var re={[m.type]:m,[a.type]:a,[s.type]:s,[p.type]:p,[o.type]:o,[r.type]:r,[f.type]:f,[d.type]:d,[n.type]:n,[y.type]:y,[l.type]:l,[x.type]:x,[c.type]:c,[M.type]:M,[E.type]:E,[i.type]:i,[g.type]:g,[b.type]:b,[u.type]:u,[t.type]:t},fe={[m.type]:e(m),[a.type]:e(a),[s.type]:e(s),[p.type]:e(p),[o.type]:e(o),[d.type]:e(d),[r.type]:e(r),[f.type]:e(f),[n.type]:e(n),[y.type]:e(y),[l.type]:e(l),[x.type]:e(x),[c.type]:e(c),[M.type]:e(M),[E.type]:e(E),[i.type]:e(i),[g.type]:e(g),[b.type]:e(b),[u.type]:e(u),[t.type]:e(t)},ne={[m.type]:R,[a.type]:v,[s.type]:B,[p.type]:D,[o.type]:L,[r.type]:W,[f.type]:P,[d.type]:G,[n.type]:j,[y.type]:q,[l.type]:w,[x.type]:z,[c.type]:A,[M.type]:C,[E.type]:F,[i.type]:h,[g.type]:H,[b.type]:I,[u.type]:J,[t.type]:k};export{re as a,fe as b,ne as c};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a}from"./chunk-L42YBY5I.js";import{b as n}from"./chunk-SNRDCWLJ.js";import{e as s}from"./chunk-3HPJDVOZ.js";import{b as p}from"./chunk-WCVUBYL5.js";import{c as o}from"./chunk-IIFSO7L2.js";import{a as r}from"./chunk-SFKZAUPW.js";import{Type as e}from"@sinclair/typebox";import{customAlphabet as m}from"nanoid";import{merge as c}from"lodash-es";var C=m("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),N=e.Object({left:e.Optional(e.String({title:"top",description:"The left position in css unit."})),top:e.Optional(e.String({title:"top",description:"The top position in css unit."})),right:e.Optional(e.String({title:"right",description:"The right position in css unit."})),bottom:e.Optional(e.String({title:"bottom",description:"The bottom position in css unit."})),inset:e.Optional(e.String({title:"inset",description:"The inset position in css unit."})),translateX:e.Optional(e.String({title:"translateX",description:"The translateX position in css unit."})),translateY:e.Optional(e.String({title:"translateY",description:"The translateY position in css unit."})),rotate:e.Optional(e.String({title:"rotate",description:"The rotate position in css unit."}))}),u=r(Object.keys(n),{title:"Brick type"}),h=e.Object({id:e.String({title:"ID",description:"A unique identifier for the brick."}),type:u,props:e.Any({title:"Props",description:"The props of the brick. The available props depends on the brick type."}),mobileProps:e.Optional(e.Object({},{additionalProperties:!0,description:"The props for mobile, merged with the default props"}))},{$id:"brick",additionalProperties:!0}),l=e.Object({colorPreset:e.Optional(s({title:"Color preset","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{main:"bg-primary-light text-primary-content-light"},label:"Primary lighter"},primary:{previewBgClass:"bg-primary text-primary-content",label:"Primary",value:{main:"bg-primary text-primary-content"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",label:"Primary darker",value:{main:"bg-primary-dark text-primary-content"}},"secondary-light":{previewBgClass:"bg-secondary-light text-secondary-content-light",label:"Secondary lighter",value:{main:"bg-secondary-light text-secondary-content-light"}},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{main:"bg-secondary text-secondary-content"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary darker",value:{main:"bg-secondary-dark text-secondary-content"}},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{main:"bg-neutral text-neutral-content"}},base100:{previewBgClass:"bg-base-100 text-base-content",label:"Base 1",value:{main:"bg-base-100 text-base-content"}},base200:{previewBgClass:"bg-base-200 text-base-content",label:"Base 2",value:{main:"bg-base-200 text-base-content"}},none:{label:"None",value:{}}},default:"none"})),minHeight:e.Optional(o({title:"Min height",default:"fit-content",description:"The min height of the section","ui:styleId":"minHeight"})),purpose:e.Optional(r(["navbar","sidebar"],{title:"Specific purpose",description:"The purpose of the section. Used for styling and layout.",enumNames:["Navbar","Sidebar"],"ui:field":"hidden"})),maxWidth:e.Optional(a("Max width","max-w-full",{options:[{value:"max-w-screen-lg",title:"M",description:"Common for text-heavy content/blog posts"},{value:"max-w-screen-xl",title:"L",description:"Usefull or some landing pages"},{value:"max-w-screen-2xl",title:"XL",description:"Common width"},{value:"max-w-full",title:"Full",description:"Takes the entire space"}],description:"The maximum width of the section. Desktop only",displayAs:"button-group","ui:responsive":"desktop"})),fillSpace:e.Optional(e.Boolean({title:"Fill horizontal space",description:"Make all bricks fill the available space","ui:responsive":"desktop"})),justifyContent:e.Optional(r(["justify-start","justify-center","justify-end","justify-between","justify-around","justify-evenly"],{enumNames:["Left","Center","Right","Space between","Space around","Evenly distributed"],title:"Horizontal alignment","ui:placeholder":"Not specified",default:"justify-center","ui:responsive":"desktop"})),alignItems:e.Optional(r(["items-start","items-center","items-end","items-stretch"],{enumNames:["Top","Center","Bottom","Stretch"],title:"Vertical alignment","ui:placeholder":"Not specified",default:"items-stretch","ui:responsive":"desktop"})),gap:e.Optional(o({title:"Gap",description:"The gap between the bricks in the section.",default:"12px","ui:styleId":"gap"})),lastTouched:e.Optional(e.Number({description:"Do not use this field. It is used internally by the editor.","ui:field":"hidden"}))},{additionalProperties:!0,"ai:instructions":"Do not use the border prop"}),b=e.Object({id:e.String({description:"The unique ID of the section. Use a human readable url-safe slug"}),label:e.Optional(e.String({description:"The label (name) of the section. Used for editor purposes only."})),order:e.Number({description:"Determines section order in the page (lower numbers appear first). 0-based"}),props:l,mobileProps:e.Optional(e.Partial(l,{additionalProperties:!1})),bricks:e.Array(h)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."}),g=p(b.properties.props);function A(t){return t.map(i=>({...i,props:c({},g,i.props),bricks:i.bricks.map(d).filter(Boolean)}))}function d(t){let i=n[t.type];return i?{...t,props:c({},i.props,{...t.props,...t.props.$children?{$children:t.props.$children.map(d).filter(Boolean)}:{}})}:(console.warn(`No default props found for brick type: ${t.type}`),!1)}export{C as a,u as b,h as c,l as d,b as e,g as f,A as g,d as h};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a,d as r}from"./chunk-3HPJDVOZ.js";import{a as m}from"./chunk-3J5IGLOA.js";import{a as i}from"./chunk-5J3BD5UE.js";import{a as p}from"./chunk-ORMI4UGP.js";import{b as y}from"./chunk-GCX4EUUL.js";import{a as c}from"./chunk-64UY6F7P.js";import{a as h}from"./chunk-WPOCN2FN.js";import{a as l}from"./chunk-HLP4M6WE.js";import{a as f}from"./chunk-TMIRWL3D.js";import{a as o,c as s}from"./chunk-DRPOGPPM.js";import{c as g}from"./chunk-QJLVOJLE.js";import{a as d}from"./chunk-6UKNWQZB.js";import{b as n}from"./chunk-IIFSO7L2.js";import k from"ajv";import w from"ajv-formats";var e=new k({useDefaults:!0,strictSchema:!1,validateSchema:!1,coerceTypes:!0,allErrors:!0,inlineRefs:!1});e.addSchema(a(),"styles:preset");e.addSchema(o(),"styles:background");e.addSchema(s(),"styles:backgroundColor");e.addSchema(m(),"styles:basicAlign");e.addSchema(i(),"styles:containerLayout");e.addSchema(d(),"styles:hidden");e.addSchema(c(),"styles:border");e.addSchema(l(),"styles:padding");e.addSchema(f(),"styles:color");e.addSchema(h(),"styles:shadow");e.addSchema(n(),"styles:cssLength");e.addSchema(p(),"assets:image");e.addSchema(y(),"content:textContent");e.addSchema(g(),"content:urlOrPageId");e.addSchema(r(),"presets:color");var A=["date-time","time","date","email","hostname","ipv4","ipv6","uri","uri-reference","uuid","uri-template","json-pointer","relative-json-pointer","regex"];w(e,[...A]);e.addFormat("date-object",{validate:t=>t instanceof Date&&!Number.isNaN(t.getTime()),async:!1});e.addFormat("richtext",{validate:t=>typeof t=="string",async:!1});e.addFormat("markdown",{validate:t=>typeof t=="string",async:!1});e.addFormat("multiline",{validate:t=>typeof t=="string",async:!1});e.addFormat("password",{validate:t=>typeof t=="string",async:!1});function G(t){return!t||t.length===0?"Unknown validation error":t.map(u=>{let{instancePath:S,message:b,params:j}=u,v=S||"root",O=Object.entries(j||{}).map(([x,F])=>`${x}: ${F}`).join(", ");return`${v} ${b} (${O})`}).join("; ")}export{e as a,A as b,G as c};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{e as r}from"./chunk-3HPJDVOZ.js";import{b as i}from"./chunk-ORMI4UGP.js";import{c as s}from"./chunk-GCX4EUUL.js";import{b as l}from"./chunk-WPOCN2FN.js";import{a as g}from"./chunk-YIFNKP4J.js";import{b as n}from"./chunk-TMIRWL3D.js";import{a as p,d as t}from"./chunk-QJLVOJLE.js";import{a as c}from"./chunk-XSVK2GW3.js";import{a,c as o}from"./chunk-DPMZYD3B.js";import{Type as e}from"@sinclair/typebox";import{VscLayoutPanelOff as u}from"react-icons/vsc";var b=e.Array(e.Object({href:t(),label:e.String()}),{default:[{href:"#",label:"Link 1"},{href:"#",label:"Link 2"},{href:"#",label:"Link 3"}]}),S=c({type:"navbar",kind:"widget",name:"Navbar",description:"A navigation bar with logo and navigation",aiInstructions:"This brick should be used on most sites/pages.",datasource:b,duplicatable:!1,resizable:!1,staticClasses:"flex-1",icon:u,iconClassName:"rotate-180",props:o({colorPreset:e.Optional(r({title:"Color preset","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light",value:{container:"bg-primary-light text-primary-content-light"},label:"Primary lighter"},primary:{previewBgClass:"bg-primary text-primary-content",label:"Primary",value:{container:"bg-primary text-primary-content"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content",value:{container:"bg-primary-dark text-primary-content"},label:"Primary darker"},"secondary-light":{previewBgClass:"bg-secondary-light text-secondary-content-light",value:{container:"bg-secondary-light text-secondary-content-light"},label:"Secondary lighter"},secondary:{previewBgClass:"bg-secondary text-secondary-content",label:"Secondary",value:{container:"bg-secondary text-secondary-content"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content",label:"Secondary darker",value:{container:"bg-secondary-dark text-secondary-content"}},neutral:{previewBgClass:"bg-neutral text-neutral-content",label:"Neutral",value:{container:"bg-neutral text-neutral-content"}},base100:{previewBgClass:"bg-base-100 text-base-content",label:"Base 1",value:{container:"bg-base-100 text-base-content"}},base200:{previewBgClass:"bg-base-200 text-base-content",label:"Base 2",value:{container:"bg-base-200 text-base-content"}},none:{label:"None",value:{}}},default:"primary"})),brand:e.Optional(s({title:"Brand name",default:"Acme Inc.",disableSizing:!0})),logo:e.Optional(i({title:"Logo","ui:show-img-search":!1,"ui:no-object-options":!0})),hideBrand:e.Optional(g("Hide brand name",void 0,{metadata:{filter:(m,d)=>!!d.logo}})),navigation:a({title:"Links",children:{position:e.Union([e.Literal("left",{title:"Left"}),e.Literal("center",{title:"Center"}),e.Literal("right",{title:"Right"})],{title:"Position",default:"right","ui:responsive":"desktop"}),color:e.Optional(n()),pageTagsFilter:e.Optional(e.Array(e.String(),{description:"Filter pages in the navbar by tags. Only pages with all of these tags will be shown.",title:"Tags",default:["navbar"]})),staticNavItems:e.Optional(e.Array(e.Object({urlOrPageId:t(),label:e.Optional(p("Label"))}),{title:"Navigation items",description:"Additional static navigation items to show in the navbar",default:[]}))}}),shadow:e.Optional(l())},{noAlignSelf:!0})}),B=[{description:"Corporate navbar with logo and right-aligned navigation",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/120x40.png?text=TechCorp",alt:"TechCorp Solutions logo"},navigation:{position:"right",color:"#374151",staticNavItems:[{urlOrPageId:"/services"},{urlOrPageId:"/about"},{urlOrPageId:"/portfolio"},{urlOrPageId:"/contact"}]}}},{description:"Dark theme navbar with centered navigation",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/100x35.png?text=Studio",alt:"Creative Studio logo"},navigation:{position:"center",color:"#d1d5db",staticNavItems:[{urlOrPageId:"/work"},{urlOrPageId:"/services"},{urlOrPageId:"/team"},{urlOrPageId:"/blog"}]}}},{description:"SaaS platform navbar with fixed positioning",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/110x38.png?text=CloudFlow",alt:"CloudFlow platform logo"},navigation:{position:"right",color:"#f1f5f9",staticNavItems:[{urlOrPageId:"/features"},{urlOrPageId:"/pricing"},{urlOrPageId:"/docs"},{urlOrPageId:"/login"}]}}},{description:"E-commerce navbar",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/130x45.png?text=ShopEasy",alt:"ShopEasy store logo"},navigation:{position:"right",staticNavItems:[{urlOrPageId:"/products"},{urlOrPageId:"/categories"},{urlOrPageId:"/deals"},{urlOrPageId:"/account"},{urlOrPageId:"/cart"}]}}},{description:"Agency navbar with logo-only brand",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/140x50.png?text=Agency+Logo",alt:"Digital agency logo"},hideBrand:!0,navigation:{position:"right",color:"#64748b",staticNavItems:[{urlOrPageId:"/projects"},{urlOrPageId:"/capabilities"},{urlOrPageId:"/insights"},{urlOrPageId:"/contact"}]}}},{description:"Restaurant navbar with warm styling",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/80x50.png?text=BV",alt:"Bella Vista restaurant logo"},navigation:{position:"center",color:"#fdba74",staticNavItems:[{urlOrPageId:"/menu"},{urlOrPageId:"/reservations"},{urlOrPageId:"/events"},{urlOrPageId:"/location"}]}}},{description:"Portfolio navbar with left-aligned navigation",type:"navbar",props:{brand:"TechCorp Solutions",navigation:{position:"left",color:"#64748b",staticNavItems:[{urlOrPageId:"/work"},{urlOrPageId:"/about"},{urlOrPageId:"/experience"},{urlOrPageId:"/contact"}]}}},{description:"Non-profit navbar with mission-focused design",type:"navbar",props:{brand:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/100x40.png?text=GF",alt:"Green Future organization logo"},navigation:{position:"right",staticNavItems:[{urlOrPageId:"/mission"},{urlOrPageId:"/programs"},{urlOrPageId:"/volunteer"},{urlOrPageId:"/donate"}]}}}];export{b as a,S as b,B as c};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{Type as e}from"@sinclair/typebox";import{Type as t}from"@sinclair/typebox";var o=t.Object({accessToken:t.String({description:"Airtable Personal Token or OAuth Access Token"}),baseId:t.String({pattern:"^app[A-Za-z0-9]+$",description:'Airtable Base ID starting with "app"'}),tableIdOrName:t.Union([t.String({pattern:"^tbl[A-Za-z0-9]+$",description:'Airtable Table ID starting with "tbl"'}),t.String({description:"Table name as shown in Airtable interface"})])});import{Type as i}from"@sinclair/typebox";var a=i.Object({spreadsheetId:i.String(),sheetName:i.Optional(i.String())});import{Type as r}from"@sinclair/typebox";var n=r.Object({url:r.String({format:"uri",title:"Webhook URL"}),headers:r.Optional(r.Record(r.String(),r.String(),{title:"Headers",description:"Additional headers to include in the webhook request"}))});var u=e.Union([e.Literal("airtable"),e.Literal("google-sheets"),e.Literal("generic-webhook"),e.Literal("internal")]),s=e.Object({provider:e.Literal("internal"),schema:e.Any({title:"Schema",description:"JSON Schema of the datarecord. Always of type 'object' and representing a row that will be saved.",examples:[{type:"object",properties:{firstname:{type:"string",title:"Firstname"},lastname:{type:"string",title:"Lastname"},email:{type:"string",format:"email",title:"Email"}},required:["email"],title:"Newsletter Subscription"}]}),indexes:e.Array(e.Object({name:e.String({title:"Index name"}),fields:e.Array(e.String(),{title:"Fields to index"}),unique:e.Optional(e.Boolean({title:"Unique index",default:!1}))}),{title:"Indexes",description:"IMPORTANT: Indexes to create on the datarecord. use it to enforce uniqueness or improve query performance."})},{examples:[{provider:"internal",schema:{type:"object",properties:{firstname:{type:"string",title:"Firstname"},lastname:{type:"string",title:"Lastname"},email:{type:"string",format:"email",title:"Email"}},required:["email"],title:"Newsletter Subscription"},indexes:[{name:"email_index",fields:["email"],unique:!0}]}]}),c=e.Union([e.Object({provider:e.Literal("airtable"),options:o}),e.Object({provider:e.Literal("google-sheets"),options:a}),e.Object({provider:e.Literal("generic-webhook"),options:n}),s]),p=e.Object({id:e.String({title:"Datarecord ID",comment:"A unique identifier for the datarecord, e.g., 'newsletter_subscriptions'"}),label:e.String({title:"Name of the datarecord",comment:"For example, 'Newsletter Subscriptions'"}),description:e.Optional(e.String({title:"Description of the datarecord"}))}),l=e.Composite([c,p]),A=e.Composite([p,s]),w=e.Record(e.String(),l,{title:"Datarecords map",description:"The map of Datarecords available"});export{u as a,c as b,A as c,w as d};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{e as r}from"./chunk-3HPJDVOZ.js";import{b as n}from"./chunk-ORMI4UGP.js";import{c as t}from"./chunk-GCX4EUUL.js";import{b as o}from"./chunk-64UY6F7P.js";import{b as i}from"./chunk-WPOCN2FN.js";import{a as c}from"./chunk-XSVK2GW3.js";import{c as a}from"./chunk-DPMZYD3B.js";import{BsCardText as s}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var B=c({type:"card",kind:"widget",name:"Card",description:"A card that can have a title, image, and content",repeatable:!0,icon:s,defaultWidth:{desktop:"380px",mobile:"100%"},minWidth:{mobile:200,desktop:200},maxWidth:{desktop:650},props:a({colorPreset:e.Optional(r({title:"Color preset","ui:presets":{"primary-light":{previewBgClass:"bg-primary-light text-primary-content-light border-primary-light border-2",value:{container:"bg-primary-light text-primary-content-light border-primary-light"},label:"Primary lighter"},primary:{previewBgClass:"bg-primary text-primary-content border-primary border-2",label:"Primary",value:{container:"bg-primary text-primary-content border-primary"}},"primary-dark":{previewBgClass:"bg-primary-dark text-primary-content border-primary-dark border-2",label:"Primary darker",value:{container:"bg-primary-dark text-primary-content border-primary-dark"}},"secondary-light":{previewBgClass:"bg-secondary-light text-secondary-content-light border-secondary-light border-2",label:"Secondary lighter",value:{container:"bg-secondary-light text-secondary-content-light border-secondary-light"}},secondary:{previewBgClass:"bg-secondary text-secondary-content border-secondary border-2",label:"Secondary",value:{container:"bg-secondary text-secondary-content border-secondary"}},"secondary-dark":{previewBgClass:"bg-secondary-dark text-secondary-content border-secondary-dark border-2",label:"Secondary darker",value:{container:"bg-secondary-dark text-secondary-content border-secondary-dark"}},"accent-light":{previewBgClass:"bg-accent-light text-accent-content-light border-accent-light border-2",label:"Accent lighter",value:{container:"bg-accent-light text-accent-content-light border-accent-light"}},accent:{previewBgClass:"bg-accent text-accent-content border-accent border-2",label:"Accent",value:{container:"bg-accent text-accent-content border-accent"}},"accent-dark":{previewBgClass:"bg-accent-dark text-accent-content border-accent-dark border-2",label:"Accent darker",value:{container:"bg-accent-dark text-accent-content border-accent-dark"}},neutral:{previewBgClass:"bg-neutral text-neutral-content border-neutral border-2",label:"Neutral",value:{container:"bg-neutral text-neutral-content border-neutral"}},base100:{previewBgClass:"bg-base-100 text-base-content border-base-200 border-2",label:"Base 100",value:{container:"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:{container:"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:{container:"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:{container:"bg-base-100 text-base-content border-accent"}},base200:{previewBgClass:"bg-base-200 text-base-content border-base-300 border-2",label:"Base 200",value:{container:"bg-base-200 text-base-content border-base-300"}},base200_primary:{previewBgClass:"bg-base-200 text-base-content border-primary border-2",label:"Base 200 / Primary",value:{container:"bg-base-200 text-base-content border-primary"}},base200_secondary:{previewBgClass:"bg-base-200 text-base-content border-secondary border-2",label:"Base 200 / Secondary",value:{container:"bg-base-200 text-base-content border-secondary"}},base200_accent:{previewBgClass:"bg-base-200 text-base-content border-accent border-2",label:"Base 200 / Accent",value:{container:"bg-base-200 text-base-content border-accent"}},none:{label:"None",value:{}}},default:"primary"})),cardImage:e.Optional(n({"ui:responsive":"desktop"})),imagePosition:e.Optional(e.Union([e.Literal("top",{title:"Top"}),e.Literal("middle",{title:"Middle"}),e.Literal("bottom",{title:"Bottom"}),e.Literal("overlay",{title:"Overlay"}),e.Literal("side",{title:"Side"})],{title:"Image Position",description:"Where the image should be placed in the card",default:"top","ui:responsive":"desktop",metadata:{filter:(l,d)=>!!d.cardImage?.src}})),noTitle:e.Optional(e.Boolean({title:"No Title",description:"Whether to hide the card title",default:!1,"ui:responsive":"desktop"})),cardTitle:e.Optional(t({title:"Title"})),cardBody:e.Optional(t({title:"Body"})),shadow:e.Optional(i()),border:e.Optional(o({default:{width:"border",rounding:"rounded-md"}}))})}),k=[{description:"A simple card with a title and content",type:"card",props:{cardTitle:"Card Title",cardBody:"This is the body of the card."}},{description:"Card with image and overlay text",type:"card",props:{cardImage:{src:"https://via.placeholder.com/400x300",alt:"Placeholder image"},cardTitle:"Overlay Title",cardBody:"Beautiful overlay content with semi-transparent background."}},{description:"Product card with image on the left",type:"card",props:{cardImage:{src:"https://via.placeholder.com/200x200",alt:"Product image"},cardTitle:"Premium Headphones",cardBody:"High-quality wireless headphones with noise cancellation and 30-hour battery life."}},{description:"Feature card with large padding and background",type:"card",props:{cardTitle:"Key Feature",cardBody:"This feature provides exceptional value and enhances user experience significantly."}},{description:"Blog post card with image at the bottom",type:"card",props:{cardTitle:"The Future of Technology",cardBody:"Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",cardImage:{src:"https://via.placeholder.com/400x200",alt:"Technology concept"}}},{description:"Testimonial card with right-side image",type:"card",props:{cardTitle:"Customer Review",cardBody:'"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"',cardImage:{src:"https://via.placeholder.com/150x150",alt:"Customer photo"}}},{description:"Minimal centered card without image",type:"card",props:{cardTitle:"Simple Announcement",cardBody:"Important updates will be posted here regularly."}},{description:"Event card with multiple variants",type:"card",props:{cardImage:{src:"https://via.placeholder.com/400x250",alt:"Event venue"},cardTitle:"Annual Conference 2025",cardBody:"Join us for three days of inspiring talks, networking opportunities, and hands-on workshops."}},{description:"News article card with compact layout",type:"card",props:{cardImage:{src:"https://via.placeholder.com/120x120",alt:"News thumbnail"},cardTitle:"Breaking News Update",cardBody:"Latest developments in the ongoing story with expert analysis and community reactions."}},{description:"Call-to-action card with prominent styling",type:"card",props:{cardTitle:"Get Started Today",cardBody:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!"}}];export{B as a,k as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{jsonDefault as m}from"json-schema-default";function o(n){if(!("enum"in n))return n.anyOf??n.oneOf;let{enum:r,enumNames:t}=n;return r.map((e,i)=>({const:e,title:t?t[i]:e}))}function u(n){return m(n)}export{o as a,u as b};
@@ -1,3 +0,0 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
-
3
- import{a as o}from"./chunk-SFKZAUPW.js";import{a as i}from"./chunk-L5G4N2SH.js";import{Type as a}from"@sinclair/typebox";function p({title:t="Shadow",defaultValue:e="shadow-none"}={}){return o(["shadow-none","shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl"],{$id:"styles:shadow",title:t,default:e,enumNames:["None","S","M","L","XL","2XL"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})}function u(t={}){return i("styles:shadow",{...t,"ui:styleId":"styles:shadow"})}function r({title:t="Text shadow",defaultValue:e="text-shadow-none"}={}){return o(["text-shadow-none","text-shadow-sm","text-shadow-md","text-shadow-lg","text-shadow-xl"],{title:t,default:e,enumNames:["None","Small","Medium","Large","Extra large"],"ui:placeholder":"Not specified","ui:field":"enum"})}function l({defaultValue:t=1,title:e="Opacity"}={}){return a.Number({title:e,minimum:.1,maximum:1,default:t,multipleOf:.1,"ui:field":"slider","ui:unit":"%","ui:multiplier":100})}export{p as a,u as b,r 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{b as t}from"./chunk-WCVUBYL5.js";function y({props:e,defaultWidth:i,defaultHeight:o,minWidth:r,minHeight:a,kind:s="brick",isContainer:n=!1,hideInLibrary:c=!1,deletable:p=!0,movable:l=!0,resizable:b=!0,repeatable:d=!1,duplicatable:u=!0,defaultInspectorTab:m="preset",icon:f,datasource:k,...g}){return{...g,datasource:k,icon:f,props:e,kind:s,defaultInspectorTab:m,hideInLibrary:c,deletable:p,movable:l,resizable:b,repeatable:d,duplicatable:u,isContainer:n,defaultWidth:i??r,defaultHeight:o??{mobile:"auto",desktop:"auto"},minWidth:r,minHeight:a}}function B(e){return{...e,props:t(e.props),...e.datasource?{datasource:t(e.datasource)}:{}}}export{y as a,B as b};