@upstart.gg/sdk 0.0.113 → 0.0.115

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 (172) hide show
  1. package/dist/shared/ajv.js +1 -1
  2. package/dist/shared/attributes.js +1 -1
  3. package/dist/shared/brick-manifest.d.ts +10 -7
  4. package/dist/shared/brick-manifest.d.ts.map +1 -1
  5. package/dist/shared/brick-manifest.js +1 -1
  6. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +6 -3
  7. package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
  8. package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
  9. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  10. package/dist/shared/bricks/manifests/button.manifest.d.ts +6 -3
  11. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  12. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  13. package/dist/shared/bricks/manifests/card.manifest.d.ts +6 -3
  14. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  15. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  16. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +6 -3
  17. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  18. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  19. package/dist/shared/bricks/manifests/divider.manifest.d.ts +6 -3
  20. package/dist/shared/bricks/manifests/divider.manifest.d.ts.map +1 -1
  21. package/dist/shared/bricks/manifests/divider.manifest.js +1 -1
  22. package/dist/shared/bricks/manifests/footer.manifest.d.ts +6 -3
  23. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  24. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  25. package/dist/shared/bricks/manifests/form.manifest.d.ts +6 -3
  26. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  27. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  28. package/dist/shared/bricks/manifests/hero.manifest.d.ts +6 -3
  29. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  30. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  31. package/dist/shared/bricks/manifests/icon.manifest.d.ts +6 -3
  32. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  33. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  34. package/dist/shared/bricks/manifests/image.manifest.d.ts +6 -3
  35. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  36. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  37. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +6 -3
  38. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  39. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  40. package/dist/shared/bricks/manifests/map.manifest.d.ts +6 -3
  41. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  42. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  43. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +50 -58
  44. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  45. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  46. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +6 -3
  47. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  48. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  49. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +6 -3
  50. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  51. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  52. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +6 -3
  53. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
  54. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  55. package/dist/shared/bricks/manifests/text.manifest.d.ts +6 -3
  56. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  57. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  58. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +6 -3
  59. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
  60. package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
  61. package/dist/shared/bricks/manifests/{container.manifest.d.ts → vbox.manifest.d.ts} +8 -23
  62. package/dist/shared/bricks/manifests/vbox.manifest.d.ts.map +1 -0
  63. package/dist/shared/bricks/manifests/vbox.manifest.js +3 -0
  64. package/dist/shared/bricks/manifests/video.manifest.d.ts +6 -11
  65. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  66. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  67. package/dist/shared/bricks/props/align.js +1 -1
  68. package/dist/shared/bricks/props/background.js +1 -1
  69. package/dist/shared/bricks/props/boolean.js +1 -1
  70. package/dist/shared/bricks/props/border.js +1 -1
  71. package/dist/shared/bricks/props/color.js +1 -1
  72. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  73. package/dist/shared/bricks/props/common.js +1 -1
  74. package/dist/shared/bricks/props/container.d.ts +1 -3
  75. package/dist/shared/bricks/props/container.d.ts.map +1 -1
  76. package/dist/shared/bricks/props/container.js +1 -1
  77. package/dist/shared/bricks/props/css-length.js +1 -1
  78. package/dist/shared/bricks/props/datasource.js +1 -1
  79. package/dist/shared/bricks/props/date.js +1 -1
  80. package/dist/shared/bricks/props/effects.js +1 -1
  81. package/dist/shared/bricks/props/enum.js +1 -1
  82. package/dist/shared/bricks/props/file.js +1 -1
  83. package/dist/shared/bricks/props/geolocation.d.ts.map +1 -1
  84. package/dist/shared/bricks/props/geolocation.js +1 -1
  85. package/dist/shared/bricks/props/helpers.js +1 -1
  86. package/dist/shared/bricks/props/image.js +1 -1
  87. package/dist/shared/bricks/props/number.js +1 -1
  88. package/dist/shared/bricks/props/padding.js +1 -1
  89. package/dist/shared/bricks/props/position.js +1 -1
  90. package/dist/shared/bricks/props/prop.d.ts.map +1 -1
  91. package/dist/shared/bricks/props/prop.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 +18 -168
  95. package/dist/shared/bricks.d.ts.map +1 -1
  96. package/dist/shared/bricks.js +1 -1
  97. package/dist/shared/{chunk-2CXXM2W3.js → chunk-22BDK6JV.js} +1 -1
  98. package/dist/shared/{chunk-R3I32SUA.js → chunk-273FK54V.js} +1 -1
  99. package/dist/shared/{chunk-CMLGUX5D.js → chunk-3AHXTIVQ.js} +1 -1
  100. package/dist/shared/chunk-3HWWNRCQ.js +3 -0
  101. package/dist/shared/{chunk-3OOL2XTT.js → chunk-4KIC7WW4.js} +1 -1
  102. package/dist/shared/chunk-4WATTT6H.js +3 -0
  103. package/dist/shared/chunk-55MCNMOF.js +3 -0
  104. package/dist/shared/{chunk-4RG4IEAW.js → chunk-57QC6K6U.js} +1 -1
  105. package/dist/shared/{chunk-LXBGNROJ.js → chunk-5TAB5RAK.js} +1 -1
  106. package/dist/shared/{chunk-XNHLLTUK.js → chunk-6TUL7TXN.js} +1 -1
  107. package/dist/shared/chunk-76MAAKRJ.js +3 -0
  108. package/dist/shared/chunk-7XRXXDCC.js +3 -0
  109. package/dist/shared/{chunk-CS75Y4VB.js → chunk-B75W44GW.js} +1 -1
  110. package/dist/shared/chunk-BMC2RBNC.js +3 -0
  111. package/dist/shared/chunk-BU6UCXWP.js +3 -0
  112. package/dist/shared/chunk-C2AQDHJU.js +3 -0
  113. package/dist/shared/{chunk-P5O7YHX7.js → chunk-C7VV6NIX.js} +1 -1
  114. package/dist/shared/chunk-CAHMS6EB.js +3 -0
  115. package/dist/shared/{chunk-3SDSZO7A.js → chunk-CJ6EZ6V3.js} +1 -1
  116. package/dist/shared/{chunk-L6NXGVEU.js → chunk-CM4DB7ZV.js} +1 -1
  117. package/dist/shared/{chunk-A3LAQ47R.js → chunk-DJ5LWVHX.js} +1 -1
  118. package/dist/shared/{chunk-KUG7UEHN.js → chunk-EXD5JEQ4.js} +1 -1
  119. package/dist/shared/{chunk-GSRUIZUA.js → chunk-FEQE56RU.js} +1 -1
  120. package/dist/shared/{chunk-M45FSNRM.js → chunk-HH4AKWHD.js} +1 -1
  121. package/dist/shared/{chunk-OMRLCH3Q.js → chunk-HT2FJOKO.js} +1 -1
  122. package/dist/shared/{chunk-FSC3MYBH.js → chunk-HVJI5X3Q.js} +1 -1
  123. package/dist/shared/{chunk-43LKLZNS.js → chunk-J2SWSUCM.js} +1 -1
  124. package/dist/shared/{chunk-ASL4Y5XY.js → chunk-JPBXMW3P.js} +1 -1
  125. package/dist/shared/{chunk-ZPPYVZEC.js → chunk-KH7G433A.js} +1 -1
  126. package/dist/shared/{chunk-EVTXPXOL.js → chunk-KONRMV3H.js} +1 -1
  127. package/dist/shared/chunk-KVVYOKWH.js +7 -0
  128. package/dist/shared/{chunk-IF7JTYZC.js → chunk-LFQNWSLG.js} +1 -1
  129. package/dist/shared/{chunk-CCS6URWT.js → chunk-MS7FWNQY.js} +1 -1
  130. package/dist/shared/chunk-NGTLGMHK.js +3 -0
  131. package/dist/shared/{chunk-OWERYFOX.js → chunk-NI7D2E25.js} +1 -1
  132. package/dist/shared/chunk-QRUKREVW.js +8 -0
  133. package/dist/shared/chunk-RCZGJETI.js +5 -0
  134. package/dist/shared/chunk-SIL3MC6L.js +3 -0
  135. package/dist/shared/chunk-T37DHEM7.js +3 -0
  136. package/dist/shared/{chunk-RJ7BRXBX.js → chunk-T5OALMMJ.js} +1 -1
  137. package/dist/shared/{chunk-N2JEJ5VR.js → chunk-WDMUES3K.js} +1 -1
  138. package/dist/shared/{chunk-DOKWQP5K.js → chunk-WQNRTOOI.js} +1 -1
  139. package/dist/shared/chunk-XGHNHPRQ.js +6 -0
  140. package/dist/shared/{chunk-CBORSFPQ.js → chunk-YAMSHPKO.js} +1 -1
  141. package/dist/shared/{chunk-IBBY7AA5.js → chunk-YXFVFFYO.js} +1 -1
  142. package/dist/shared/{chunk-YZVFYTDV.js → chunk-ZGV2EX57.js} +1 -1
  143. package/dist/shared/{chunk-KWTNPGYO.js → chunk-ZRY4KDRV.js} +1 -1
  144. package/dist/shared/layout-constants.d.ts +3 -8
  145. package/dist/shared/layout-constants.d.ts.map +1 -1
  146. package/dist/shared/layout-constants.js +1 -1
  147. package/dist/shared/page.d.ts +6 -56
  148. package/dist/shared/page.d.ts.map +1 -1
  149. package/dist/shared/page.js +1 -1
  150. package/dist/shared/site.d.ts +6 -56
  151. package/dist/shared/site.d.ts.map +1 -1
  152. package/dist/shared/site.js +1 -1
  153. package/dist/shared/utils/schema-resolver.js +1 -1
  154. package/package.json +2 -2
  155. package/dist/shared/bricks/manifests/container.manifest.d.ts.map +0 -1
  156. package/dist/shared/bricks/manifests/container.manifest.js +0 -3
  157. package/dist/shared/chunk-3FLTGAUA.js +0 -5
  158. package/dist/shared/chunk-3MD3XND6.js +0 -3
  159. package/dist/shared/chunk-6SDHKHPI.js +0 -3
  160. package/dist/shared/chunk-CBB4Y7X2.js +0 -8
  161. package/dist/shared/chunk-EXUZRZG4.js +0 -3
  162. package/dist/shared/chunk-FUNNOEXU.js +0 -3
  163. package/dist/shared/chunk-GTIV4SPB.js +0 -3
  164. package/dist/shared/chunk-LJ263SAV.js +0 -3
  165. package/dist/shared/chunk-PP2TSSLT.js +0 -3
  166. package/dist/shared/chunk-QQYWPAY4.js +0 -3
  167. package/dist/shared/chunk-QX6XMJGU.js +0 -7
  168. package/dist/shared/chunk-RPRTTBM2.js +0 -3
  169. package/dist/shared/chunk-UIF4KPRY.js +0 -3
  170. package/dist/shared/chunk-VCTNTQAW.js +0 -3
  171. package/dist/shared/chunk-WARHNU5Z.js +0 -3
  172. package/dist/shared/chunk-ZVGTP32Z.js +0 -6
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b,c,d}from"../../chunk-M45FSNRM.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{d as opacity,a as shadow,b as shadowRef,c as textShadow};
3
+ import{a,b,c,d}from"../../chunk-HH4AKWHD.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{d as opacity,a as shadow,b as shadowRef,c as textShadow};
@@ -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-DOKWQP5K.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as enumProp};
3
+ import{a}from"../../chunk-WQNRTOOI.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{a as enumProp};
@@ -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"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import{a as r}from"../../chunk-KUG7UEHN.js";import{Type as e}from"@sinclair/typebox";function f(i="File"){return r({title:i,schema:e.String({format:"data-url","ui:field":"file"})})}export{f as file};
3
+ import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import{a as r}from"../../chunk-EXD5JEQ4.js";import{Type as e}from"@sinclair/typebox";function f(i="File"){return r({title:i,schema:e.String({format:"data-url","ui:field":"file"})})}export{f as file};
@@ -1 +1 @@
1
- {"version":3,"file":"geolocation.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/geolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAK1E,wBAAgB,WAAW,CAAC,IAAI,GAAE,aAAa,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAO;;;;;;GA2B9E;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"geolocation.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/geolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAK1E,wBAAgB,WAAW,CAAC,IAAI,GAAE,aAAa,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAO;;;;;;GA0B9E;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,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}from"../../chunk-GSRUIZUA.js";import"../../chunk-L6NXGVEU.js";import"../../chunk-R3I32SUA.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as geolocation};
3
+ import{a}from"../../chunk-FEQE56RU.js";import"../../chunk-CM4DB7ZV.js";import"../../chunk-273FK54V.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{a as geolocation};
@@ -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 b,b as c,c as d,d as e,e as f,f as g,g as h}from"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import{a}from"../../chunk-KUG7UEHN.js";export{f as array,d as defineProps,c as getGroupInfo,g as getStyleProperties,h as getStyleValueById,b as group,e as optional,a as prop};
3
+ import{a as b,b as c,c as d,d as e,e as f,f as g,g as h}from"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import{a}from"../../chunk-EXD5JEQ4.js";export{f as array,d as defineProps,c as getGroupInfo,g as getStyleProperties,h as getStyleValueById,b as group,e as optional,a as prop};
@@ -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-OMRLCH3Q.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as image,b as imageRef};
3
+ import{a,b}from"../../chunk-HT2FJOKO.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{a as image,b as imageRef};
@@ -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-L6NXGVEU.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as number};
3
+ import{a}from"../../chunk-CM4DB7ZV.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{a as number};
@@ -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-YZVFYTDV.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as padding,b as paddingRef};
3
+ import{a,b}from"../../chunk-ZGV2EX57.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{a as padding,b as paddingRef};
@@ -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-FSC3MYBH.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{b as fixedPositioned,a as position};
3
+ import{a,b}from"../../chunk-HVJI5X3Q.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{b as fixedPositioned,a as position};
@@ -1 +1 @@
1
- {"version":3,"file":"prop.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/prop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAGvE"}
1
+ {"version":3,"file":"prop.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/prop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAEvE"}
@@ -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-KUG7UEHN.js";export{a as prop};
3
+ import{a}from"../../chunk-EXD5JEQ4.js";export{a as prop};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b,c,d}from"../../chunk-R3I32SUA.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as string,b as url,c as urlOrPageId,d as urlOrPageIdRef};
3
+ import{a,b,c,d}from"../../chunk-273FK54V.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{a as string,b as url,c as urlOrPageId,d as urlOrPageIdRef};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b,c}from"../../chunk-P5O7YHX7.js";import"../../chunk-OWERYFOX.js";import"../../chunk-PP2TSSLT.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as fontSize,b as textContent,c as textContentRef};
3
+ import{a,b,c}from"../../chunk-C7VV6NIX.js";import"../../chunk-NI7D2E25.js";import"../../chunk-76MAAKRJ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-S4XTQDRN.js";import"../../chunk-22BDK6JV.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-EXD5JEQ4.js";export{a as fontSize,b as textContent,c as textContentRef};
@@ -23,19 +23,6 @@ export declare const brickSchema: import("@sinclair/typebox").TObject<{
23
23
  }>;
24
24
  export type Brick = Static<typeof brickSchema>;
25
25
  export declare const sectionProps: import("@sinclair/typebox").TObject<{
26
- layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
27
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
28
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
29
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
30
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
31
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
32
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
33
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
34
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
35
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
36
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
37
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
38
- }>>;
39
26
  background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
40
27
  color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
41
28
  image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -43,23 +30,11 @@ export declare const sectionProps: import("@sinclair/typebox").TObject<{
43
30
  repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
44
31
  }>>;
45
32
  preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
46
- border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
47
- rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
48
- width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
49
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
50
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
51
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
52
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
53
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
54
- rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
55
- width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
56
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
57
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
58
- }>>;
59
33
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
60
34
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
61
- horizontalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
62
- verticalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
35
+ fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
36
+ justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
37
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
63
38
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
64
39
  }>;
65
40
  export declare const sectionSchema: import("@sinclair/typebox").TObject<{
@@ -67,19 +42,6 @@ export declare const sectionSchema: import("@sinclair/typebox").TObject<{
67
42
  label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
68
43
  order: import("@sinclair/typebox").TNumber;
69
44
  props: import("@sinclair/typebox").TObject<{
70
- layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
71
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
72
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
73
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
74
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
75
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
76
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
77
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
78
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
79
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
80
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
81
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
82
- }>>;
83
45
  background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
84
46
  color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
85
47
  image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -87,39 +49,14 @@ export declare const sectionSchema: import("@sinclair/typebox").TObject<{
87
49
  repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
88
50
  }>>;
89
51
  preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
90
- border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
91
- rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
92
- width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
93
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
94
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
95
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
96
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
97
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
98
- rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
99
- width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
100
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
101
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
102
- }>>;
103
52
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
104
53
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
105
- horizontalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
106
- verticalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
54
+ fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
55
+ justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
56
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
107
57
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
108
58
  }>;
109
59
  mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
110
- layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
111
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
112
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
113
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
114
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
115
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
116
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
117
- gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
118
- wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
119
- fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
120
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
121
- alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
122
- }>>>;
123
60
  background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
124
61
  color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
125
62
  image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -127,23 +64,11 @@ export declare const sectionSchema: import("@sinclair/typebox").TObject<{
127
64
  repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
128
65
  }>>;
129
66
  preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
130
- border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
131
- rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
132
- width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
133
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
134
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
135
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
136
- }>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
137
- style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
138
- rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
139
- width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
140
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
141
- sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
142
- }>>>;
143
67
  minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
144
68
  maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
145
- horizontalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
146
- verticalPadding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
69
+ fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
70
+ justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
71
+ alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
147
72
  lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
148
73
  }>>;
149
74
  bricks: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
@@ -157,41 +82,16 @@ export declare const sectionDefaultprops: {
157
82
  preset?: "surface-1" | "surface-2" | "surface-3" | "prominent-primary" | "prominent-secondary" | "prominent-accent" | "medium-primary" | "medium-secondary" | "medium-accent" | "subtle-primary" | "subtle-secondary" | "subtle-accent" | "light" | "dark" | "preset-none" | undefined;
158
83
  minHeight?: string | undefined;
159
84
  maxWidth?: string | undefined;
160
- border?: {
161
- style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
162
- rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
163
- width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
164
- color?: string | undefined;
165
- sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
166
- } | {
167
- style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
168
- rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
169
- width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
170
- color?: string | undefined;
171
- sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
172
- } | undefined;
173
85
  background?: {
174
86
  color?: string | undefined;
175
87
  image?: string | undefined;
176
88
  size?: "auto" | "cover" | "contain" | undefined;
177
89
  repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | "round" | undefined;
178
90
  } | undefined;
91
+ fillSpace?: boolean | undefined;
92
+ justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
93
+ alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
179
94
  lastTouched?: number | undefined;
180
- layout?: {
181
- gap?: string | undefined;
182
- wrap?: boolean | undefined;
183
- fillSpace?: boolean | undefined;
184
- justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
185
- alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
186
- } | {
187
- gap?: string | undefined;
188
- wrap?: boolean | undefined;
189
- fillSpace?: boolean | undefined;
190
- justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
191
- alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
192
- } | undefined;
193
- horizontalPadding?: string | undefined;
194
- verticalPadding?: string | undefined;
195
95
  };
196
96
  export type Section = Static<typeof sectionSchema>;
197
97
  export declare function processSections(sections: Section[]): {
@@ -199,41 +99,16 @@ export declare function processSections(sections: Section[]): {
199
99
  preset?: "surface-1" | "surface-2" | "surface-3" | "prominent-primary" | "prominent-secondary" | "prominent-accent" | "medium-primary" | "medium-secondary" | "medium-accent" | "subtle-primary" | "subtle-secondary" | "subtle-accent" | "light" | "dark" | "preset-none" | undefined;
200
100
  minHeight?: string | undefined;
201
101
  maxWidth?: string | undefined;
202
- border?: {
203
- style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
204
- rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
205
- width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
206
- color?: string | undefined;
207
- sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
208
- } | {
209
- style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
210
- rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
211
- width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
212
- color?: string | undefined;
213
- sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
214
- } | undefined;
215
102
  background?: {
216
103
  color?: string | undefined;
217
104
  image?: string | undefined;
218
105
  size?: "auto" | "cover" | "contain" | undefined;
219
106
  repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | "round" | undefined;
220
107
  } | undefined;
108
+ fillSpace?: boolean | undefined;
109
+ justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
110
+ alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
221
111
  lastTouched?: number | undefined;
222
- layout?: {
223
- gap?: string | undefined;
224
- wrap?: boolean | undefined;
225
- fillSpace?: boolean | undefined;
226
- justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
227
- alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
228
- } | {
229
- gap?: string | undefined;
230
- wrap?: boolean | undefined;
231
- fillSpace?: boolean | undefined;
232
- justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
233
- alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
234
- } | undefined;
235
- horizontalPadding?: string | undefined;
236
- verticalPadding?: string | undefined;
237
112
  };
238
113
  readonly bricks: {
239
114
  mobileProps?: {} | undefined;
@@ -245,41 +120,16 @@ export declare function processSections(sections: Section[]): {
245
120
  preset?: "surface-1" | "surface-2" | "surface-3" | "prominent-primary" | "prominent-secondary" | "prominent-accent" | "medium-primary" | "medium-secondary" | "medium-accent" | "subtle-primary" | "subtle-secondary" | "subtle-accent" | "light" | "dark" | "preset-none" | undefined;
246
121
  minHeight?: string | undefined;
247
122
  maxWidth?: string | undefined;
248
- border?: {
249
- style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
250
- rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
251
- width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
252
- color?: string | undefined;
253
- sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
254
- } | {
255
- style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
256
- rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
257
- width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
258
- color?: string | undefined;
259
- sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
260
- } | undefined;
261
123
  background?: {
262
124
  color?: string | undefined;
263
125
  image?: string | undefined;
264
126
  size?: "auto" | "cover" | "contain" | undefined;
265
127
  repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | "round" | undefined;
266
128
  } | undefined;
129
+ fillSpace?: boolean | undefined;
130
+ justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
131
+ alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
267
132
  lastTouched?: number | undefined;
268
- layout?: {
269
- gap?: string | undefined;
270
- wrap?: boolean | undefined;
271
- fillSpace?: boolean | undefined;
272
- justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
273
- alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
274
- } | {
275
- gap?: string | undefined;
276
- wrap?: boolean | undefined;
277
- fillSpace?: boolean | undefined;
278
- justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
279
- alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
280
- } | undefined;
281
- horizontalPadding?: string | undefined;
282
- verticalPadding?: string | undefined;
283
133
  } | undefined;
284
134
  readonly label?: string | undefined;
285
135
  readonly id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"bricks.d.ts","sourceRoot":"","sources":["../../src/shared/bricks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AActD;;GAEG;AACH,eAAO,MAAM,UAAU,2BAA4E,CAAC;AAEpG,QAAA,MAAM,2BAA2B;;;;;;;;;EAiD/B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE/E,eAAO,MAAM,eAAe,6CAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;EA6CvB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC;AAE/C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqFxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0D,CAAC;AAC3F,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAEnD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQlD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAUzD"}
1
+ {"version":3,"file":"bricks.d.ts","sourceRoot":"","sources":["../../src/shared/bricks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AActD;;GAEG;AACH,eAAO,MAAM,UAAU,2BAA4E,CAAC;AAEpG,QAAA,MAAM,2BAA2B;;;;;;;;;EAiD/B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE/E,eAAO,MAAM,eAAe,6CAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;EAoCvB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC;AAE/C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;EA4GxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;CAA0D,CAAC;AAC3F,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAEnD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQlD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAUzD"}
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b,c,d,e,f,g,h}from"./chunk-QQYWPAY4.js";import"./chunk-DOKWQP5K.js";import"./chunk-EXUZRZG4.js";import"./chunk-QX6XMJGU.js";import"./chunk-RPRTTBM2.js";import"./chunk-6SDHKHPI.js";import"./chunk-ZPPYVZEC.js";import"./chunk-OELIU5BZ.js";import"./chunk-FUNNOEXU.js";import"./chunk-GSRUIZUA.js";import"./chunk-VCTNTQAW.js";import"./chunk-3SDSZO7A.js";import"./chunk-FSC3MYBH.js";import"./chunk-CS75Y4VB.js";import"./chunk-RJ7BRXBX.js";import"./chunk-3FLTGAUA.js";import"./chunk-GTIV4SPB.js";import"./chunk-N2JEJ5VR.js";import"./chunk-LJ263SAV.js";import"./chunk-KWTNPGYO.js";import"./chunk-UIF4KPRY.js";import"./chunk-CCS6URWT.js";import"./chunk-L6NXGVEU.js";import"./chunk-4RG4IEAW.js";import"./chunk-ZVGTP32Z.js";import"./chunk-XNHLLTUK.js";import"./chunk-3MD3XND6.js";import"./chunk-OMRLCH3Q.js";import"./chunk-ASL4Y5XY.js";import"./chunk-CBB4Y7X2.js";import"./chunk-P5O7YHX7.js";import"./chunk-M45FSNRM.js";import"./chunk-3OOL2XTT.js";import"./chunk-CBORSFPQ.js";import"./chunk-YZVFYTDV.js";import"./chunk-IF7JTYZC.js";import"./chunk-LXBGNROJ.js";import"./chunk-IBBY7AA5.js";import"./chunk-R3I32SUA.js";import"./chunk-WARHNU5Z.js";import"./chunk-WCVUBYL5.js";import"./chunk-OWERYFOX.js";import"./chunk-PP2TSSLT.js";import"./chunk-SFKZAUPW.js";import"./chunk-S4XTQDRN.js";import"./chunk-2CXXM2W3.js";import"./chunk-QSKUUUXU.js";import"./chunk-KUG7UEHN.js";export{c as brickSchema,b as brickTypeSchema,a as generateId,h as processBrick,g as processSections,f as sectionDefaultprops,d as sectionProps,e as sectionSchema};
3
+ import{a,b,c,d,e,f,g,h}from"./chunk-55MCNMOF.js";import"./chunk-WQNRTOOI.js";import"./chunk-BU6UCXWP.js";import"./chunk-SIL3MC6L.js";import"./chunk-NGTLGMHK.js";import"./chunk-KH7G433A.js";import"./chunk-OELIU5BZ.js";import"./chunk-C2AQDHJU.js";import"./chunk-FEQE56RU.js";import"./chunk-7XRXXDCC.js";import"./chunk-CJ6EZ6V3.js";import"./chunk-HVJI5X3Q.js";import"./chunk-ZRY4KDRV.js";import"./chunk-B75W44GW.js";import"./chunk-T5OALMMJ.js";import"./chunk-RCZGJETI.js";import"./chunk-KVVYOKWH.js";import"./chunk-3HWWNRCQ.js";import"./chunk-WDMUES3K.js";import"./chunk-BMC2RBNC.js";import"./chunk-MS7FWNQY.js";import"./chunk-CM4DB7ZV.js";import"./chunk-57QC6K6U.js";import"./chunk-XGHNHPRQ.js";import"./chunk-6TUL7TXN.js";import"./chunk-CAHMS6EB.js";import"./chunk-T37DHEM7.js";import"./chunk-JPBXMW3P.js";import"./chunk-HT2FJOKO.js";import"./chunk-QRUKREVW.js";import"./chunk-C7VV6NIX.js";import"./chunk-YAMSHPKO.js";import"./chunk-HH4AKWHD.js";import"./chunk-4KIC7WW4.js";import"./chunk-ZGV2EX57.js";import"./chunk-LFQNWSLG.js";import"./chunk-5TAB5RAK.js";import"./chunk-YXFVFFYO.js";import"./chunk-273FK54V.js";import"./chunk-4WATTT6H.js";import"./chunk-WCVUBYL5.js";import"./chunk-NI7D2E25.js";import"./chunk-76MAAKRJ.js";import"./chunk-SFKZAUPW.js";import"./chunk-S4XTQDRN.js";import"./chunk-22BDK6JV.js";import"./chunk-QSKUUUXU.js";import"./chunk-EXD5JEQ4.js";export{c as brickSchema,b as brickTypeSchema,a as generateId,h as processBrick,g as processSections,f as sectionDefaultprops,d as sectionProps,e as sectionSchema};
@@ -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 n}from"./chunk-QSKUUUXU.js";import{a as s}from"./chunk-KUG7UEHN.js";import{Type as i}from"@sinclair/typebox";var e=["px","%","em","rem","vh","vw","dvh","dvw","rlh","lh","cqh","cqw"];function g(t={}){return s({title:t.title??"Length",schema:i.String({$id:"styles:cssLength",description:`A CSS length value. Must be a number with a unit (e.g. "10px", "50%"). The unit can be one of the following: ${e?.join(", ")}.`,title:"Length",default:t.default,"ui:field":"css-length","ui:css-units":e,...t})})}function h(t={}){return n("styles:cssLength",t)}function u(t){return typeof t!="string"?!1:new RegExp(`^-?\\d+(?:\\.\\d+)?\\s*(${e.join("|")})$`).test(t)}export{e as a,g as b,h as c,u as d};
3
+ import{a as n}from"./chunk-QSKUUUXU.js";import{a as s}from"./chunk-EXD5JEQ4.js";import{Type as i}from"@sinclair/typebox";var e=["px","%","em","rem","vh","vw","dvh","dvw","rlh","lh","cqh","cqw"];function g(t={}){return s({title:t.title??"Length",schema:i.String({$id:"styles:cssLength",description:`A CSS length value. Must be a number with a unit (e.g. "10px", "50%"). The unit can be one of the following: ${e?.join(", ")}.`,title:"Length",default:t.default,"ui:field":"css-length","ui:css-units":e,...t})})}function h(t={}){return n("styles:cssLength",t)}function u(t){return typeof t!="string"?!1:new RegExp(`^-?\\d+(?:\\.\\d+)?\\s*(${e.join("|")})$`).test(t)}export{e as a,g as b,h as c,u as d};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as n}from"./chunk-QSKUUUXU.js";import{a as i}from"./chunk-KUG7UEHN.js";import{Type as r}from"@sinclair/typebox";function l(t,e={}){return i({title:t,schema:r.String(e)})}function u(t="URL",e){return i({title:t,schema:r.String({format:"uri","ui:field":"url",default:e})})}var a=r.String({"ui:field":"page-id"});function d(t="URL or Page ID",e){return i({title:t,schema:r.Union([r.String({format:"uri"}),a],{$id:"content:urlOrPageId",default:e,title:"URL or Page ID","ui:field":"url-page-id","ai:instructions":"This field can be a URL or a page ID. Use the page ID when linking to a internal page, and a URL for external links."})})}function f(t={}){return n("content:urlOrPageId",{...t})}export{l as a,u as b,d as c,f as d};
3
+ import{a as n}from"./chunk-QSKUUUXU.js";import{a as i}from"./chunk-EXD5JEQ4.js";import{Type as r}from"@sinclair/typebox";function l(t,e={}){return i({title:t,schema:r.String(e)})}function u(t="URL",e){return i({title:t,schema:r.String({format:"uri","ui:field":"url",default:e})})}var a=r.String({"ui:field":"page-id"});function d(t="URL or Page ID",e){return i({title:t,schema:r.Union([r.String({format:"uri"}),a],{$id:"content:urlOrPageId",default:e,title:"URL or Page ID","ui:field":"url-page-id","ai:instructions":"This field can be a URL or a page ID. Use the page ID when linking to a internal page, and a URL for external links."})})}function f(t={}){return n("content:urlOrPageId",{...t})}export{l as a,u as b,d as c,f as d};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as i}from"./chunk-3MD3XND6.js";import{a as l}from"./chunk-OMRLCH3Q.js";import{a as d}from"./chunk-ASL4Y5XY.js";import{b as h}from"./chunk-P5O7YHX7.js";import{a as f}from"./chunk-M45FSNRM.js";import{a as m}from"./chunk-3OOL2XTT.js";import{a as p}from"./chunk-CBORSFPQ.js";import{a as c}from"./chunk-YZVFYTDV.js";import{a as s,c as n}from"./chunk-LXBGNROJ.js";import{c as y}from"./chunk-R3I32SUA.js";import{a as o}from"./chunk-PP2TSSLT.js";import{a}from"./chunk-S4XTQDRN.js";import{b as r}from"./chunk-2CXXM2W3.js";import F from"ajv";import k from"ajv-formats";var e=new F({useDefaults:!0,strictSchema:!1,validateSchema:!1,coerceTypes:!0,allErrors:!0,inlineRefs:!1});e.addSchema(a(),"styles:preset");e.addSchema(s(),"styles:background");e.addSchema(n(),"styles:backgroundColor");e.addSchema(d(),"styles:basicAlign");e.addSchema(i(),"styles:containerLayout");e.addSchema(o(),"styles:hidden");e.addSchema(m(),"styles:border");e.addSchema(c(),"styles:padding");e.addSchema(p(),"styles:color");e.addSchema(f(),"styles:shadow");e.addSchema(r(),"styles:cssLength");e.addSchema(l(),"assets:image");e.addSchema(h(),"content:textContent");e.addSchema(y(),"content:urlOrPageId");var w=["date-time","time","date","email","hostname","ipv4","ipv6","uri","uri-reference","uuid","uri-template","json-pointer","relative-json-pointer","regex"];k(e,[...w]);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 B(t){return!t||t.length===0?"Unknown validation error":t.map(g=>{let{instancePath:u,message:S,params:b}=g,j=u||"root",v=Object.entries(b||{}).map(([O,x])=>`${O}: ${x}`).join(", ");return`${j} ${S} (${v})`}).join("; ")}export{e as a,w as b,B as c};
3
+ import{a as i}from"./chunk-T37DHEM7.js";import{a as d}from"./chunk-JPBXMW3P.js";import{a as l}from"./chunk-HT2FJOKO.js";import{b as h}from"./chunk-C7VV6NIX.js";import{a as p}from"./chunk-YAMSHPKO.js";import{a as f}from"./chunk-HH4AKWHD.js";import{a as m}from"./chunk-4KIC7WW4.js";import{a as c}from"./chunk-ZGV2EX57.js";import{a as s,c as n}from"./chunk-5TAB5RAK.js";import{c as y}from"./chunk-273FK54V.js";import{a as o}from"./chunk-76MAAKRJ.js";import{a}from"./chunk-S4XTQDRN.js";import{b as r}from"./chunk-22BDK6JV.js";import F from"ajv";import k from"ajv-formats";var e=new F({useDefaults:!0,strictSchema:!1,validateSchema:!1,coerceTypes:!0,allErrors:!0,inlineRefs:!1});e.addSchema(a(),"styles:preset");e.addSchema(s(),"styles:background");e.addSchema(n(),"styles:backgroundColor");e.addSchema(d(),"styles:basicAlign");e.addSchema(i(),"styles:containerLayout");e.addSchema(o(),"styles:hidden");e.addSchema(m(),"styles:border");e.addSchema(c(),"styles:padding");e.addSchema(p(),"styles:color");e.addSchema(f(),"styles:shadow");e.addSchema(r(),"styles:cssLength");e.addSchema(l(),"assets:image");e.addSchema(h(),"content:textContent");e.addSchema(y(),"content:urlOrPageId");var w=["date-time","time","date","email","hostname","ipv4","ipv6","uri","uri-reference","uuid","uri-template","json-pointer","relative-json-pointer","regex"];k(e,[...w]);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 B(t){return!t||t.length===0?"Unknown validation error":t.map(g=>{let{instancePath:u,message:S,params:b}=g,j=u||"root",v=Object.entries(b||{}).map(([O,x])=>`${O}: ${x}`).join(", ");return`${j} ${S} (${v})`}).join("; ")}export{e as a,w as b,B as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as o}from"./chunk-HT2FJOKO.js";import{c as a}from"./chunk-C7VV6NIX.js";import{b as n}from"./chunk-HH4AKWHD.js";import{b as r}from"./chunk-4KIC7WW4.js";import{a as d}from"./chunk-4WATTT6H.js";import{c as i,d as t}from"./chunk-NI7D2E25.js";import{BsCardText as p}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var w=d({type:"card",kind:"widget",name:"Card",description:"A card that can have a title, image, and content",repeatable:!0,icon:p,defaultWidth:{desktop:"380px",mobile:"100%"},minWidth:{mobile:200,desktop:200},props:i({variants:e.Array(e.Union([e.Literal("image-first",{title:"Top","ui:variant-type":"image-placement"}),e.Literal("image-between",{title:"Middle","ui:variant-type":"image-placement"}),e.Literal("image-last",{title:"Bottom","ui:variant-type":"image-placement"}),e.Literal("image-overlay",{title:"Overlay","ui:variant-type":"image-placement"}),e.Literal("image-left-side",{title:"Left","ui:variant-type":"image-placement"}),e.Literal("image-right-side",{title:"Right","ui:variant-type":"image-placement"}),e.Literal("centered",{title:"Centered","ui:variant-type":"align"}),e.Literal("text-sm",{title:"S","ui:variant-type":"font-size"}),e.Literal("text-base",{title:"M","ui:variant-type":"font-size"}),e.Literal("text-lg",{title:"L","ui:variant-type":"font-size"}),e.Literal("text-xl",{title:"XL","ui:variant-type":"font-size"}),e.Literal("text-2xl",{title:"2XL","ui:variant-type":"font-size"})],{title:"Variants"}),{"ui:field":"variant",default:["image-between","text-base"],"ui:variant-names":{"image-placement":"Image Placement",align:"Alignment","font-size":"Base Font Size"}}),cardImage:t(o({default:{src:"https://placehold.co/300x200?text=Card+Image",alt:"Sample Card Image"}})),cardTitle:t(a({title:"Title"})),cardBody:t(a({title:"Body"})),shadow:t(n()),border:t(r({default:{width:"border",rounding:"rounded-md"}}))})}),x=[{description:"A simple card with a title and content",type:"card",props:{variants:["image-first"],preset:"prominent-primary",cardTitle:"Card Title",cardBody:"This is the body of the card."}},{description:"Card with image and overlay text",type:"card",props:{variants:["image-overlay","centered"],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:{variants:["image-left-side"],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:{variants:["centered"],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:{variants:["image-last"],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:{variants:["image-right-side"],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:{variants:["centered"],cardTitle:"Simple Announcement",cardBody:"Important updates will be posted here regularly."}},{description:"Event card with multiple variants",type:"card",props:{variants:["image-first","centered"],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:{variants:["image-left-side"],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:{variants:["centered"],cardTitle:"Get Started Today",cardBody:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!"}}];export{w as a,x as b};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as d,d as r}from"./chunk-OWERYFOX.js";import{a as e}from"./chunk-SFKZAUPW.js";import{a as i}from"./chunk-QSKUUUXU.js";import{Type as o}from"@sinclair/typebox";function p(t="Border"){return d({title:t,options:{"ui:styleId":"styles:border",$id:"styles:border"},children:{rounding:r(e(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl","rounded-full"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","3xl","Full"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})),width:r(e(["border-0","border","border-2","border-4","border-8"],{title:"Width",enumNames:["None","S","M","L","XL"],"ai:instructions":"Don't specify width if you want no border.","ui:field":"enum","ui:placeholder":"None"})),color:o.Optional(o.String({title:"Color","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `border-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 50 and 900","ui:field":"color","ui:color-type":"border"})),sides:o.Optional(o.Array(e(["border-l","border-t","border-r","border-b"],{title:"Sides",enumNames:["Left","Top","Right","Bottom"],description:"The specific sides where to apply the border. Not specifying sides will apply the border to all sides.","ai:instructions":"Use this to apply the border to specific sides. Not specifying sides will apply the border to all sides."}),{"ui:field":"border-side"})),style:r(e(["border-solid","border-dashed","border-dotted"],{title:"Style",description:"The brick border style",default:"border-solid",enumNames:["Solid","Dashed","Dotted"],"ai:instructions":"Use only when width is different than border-0.","ui:field":"enum","ui:display":"button-group"}))}})}function b(t={}){return i("styles:border",t)}export{p as a,b};
3
+ import{a as d,d as r}from"./chunk-NI7D2E25.js";import{a as e}from"./chunk-SFKZAUPW.js";import{a as i}from"./chunk-QSKUUUXU.js";import{Type as o}from"@sinclair/typebox";function p(t="Border"){return d({title:t,options:{"ui:styleId":"styles:border",$id:"styles:border"},children:{rounding:r(e(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl","rounded-full"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","3xl","Full"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})),width:r(e(["border-0","border","border-2","border-4","border-8"],{title:"Width",enumNames:["None","S","M","L","XL"],"ai:instructions":"Don't specify width if you want no border.","ui:field":"enum","ui:placeholder":"None"})),color:o.Optional(o.String({title:"Color","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `border-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 50 and 900","ui:field":"color","ui:color-type":"border"})),sides:o.Optional(o.Array(e(["border-l","border-t","border-r","border-b"],{title:"Sides",enumNames:["Left","Top","Right","Bottom"],description:"The specific sides where to apply the border. Not specifying sides will apply the border to all sides.","ai:instructions":"Use this to apply the border to specific sides. Not specifying sides will apply the border to all sides."}),{"ui:field":"border-side"})),style:r(e(["border-solid","border-dashed","border-dotted"],{title:"Style",description:"The brick border style",default:"border-solid",enumNames:["Solid","Dashed","Dotted"],"ai:instructions":"Use only when width is different than border-0.","ui:field":"enum","ui:display":"button-group"}))}})}function b(t={}){return i("styles:border",t)}export{p as a,b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{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:b=!0,resizable:l=!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:b,resizable:l,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};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a}from"./chunk-WQNRTOOI.js";import{b as r}from"./chunk-BU6UCXWP.js";import{b as p}from"./chunk-5TAB5RAK.js";import{b as l}from"./chunk-WCVUBYL5.js";import{a as o}from"./chunk-SFKZAUPW.js";import{b as n}from"./chunk-S4XTQDRN.js";import{c as s}from"./chunk-22BDK6JV.js";import{Type as t}from"@sinclair/typebox";import{customAlphabet as u}from"nanoid";import{merge as d}from"lodash-es";var B=u("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),I=t.Object({left:t.Optional(t.String({title:"top",description:"The left position in css unit."})),top:t.Optional(t.String({title:"top",description:"The top position in css unit."})),right:t.Optional(t.String({title:"right",description:"The right position in css unit."})),bottom:t.Optional(t.String({title:"bottom",description:"The bottom position in css unit."})),inset:t.Optional(t.String({title:"inset",description:"The inset position in css unit."})),translateX:t.Optional(t.String({title:"translateX",description:"The translateX position in css unit."})),translateY:t.Optional(t.String({title:"translateY",description:"The translateY position in css unit."})),rotate:t.Optional(t.String({title:"rotate",description:"The rotate position in css unit."}))}),h=o(Object.keys(r),{title:"Brick type"}),f=t.Object({id:t.String({title:"ID",description:"A unique identifier for the brick."}),type:h,props:t.Any({title:"Props",description:"The props of the brick. The available props depends on the brick type."}),mobileProps:t.Optional(t.Object({},{additionalProperties:!0,description:"The props for mobile, merged with the default props"}))},{$id:"brick",additionalProperties:!0}),c=t.Object({background:t.Optional(p()),preset:t.Optional(n),minHeight:t.Optional(s({title:"Min height",default:"0px",description:"The min height of the section","ui:styleId":"minHeight","ui:advanced":!0})),maxWidth:t.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"})),fillSpace:t.Optional(t.Boolean({title:"Fill available space",description:"Make bricks fill the available space"})),justifyContent:t.Optional(o(["justify-start","justify-center","justify-end","justify-between","justify-around","justify-evenly","justify-stretch"],{enumNames:["Left","Center","Right","Space between","Space around","Evenly distributed","Stretch"],title:"Horizontal alignment","ui:placeholder":"Not specified",default:"justify-stretch"})),alignItems:t.Optional(o(["items-start","items-center","items-end","items-stretch"],{enumNames:["Top","Center","Bottom","Stretch"],title:"Vertical alignment","ui:placeholder":"Not specified",default:"items-stretch"})),lastTouched:t.Optional(t.Number({description:"Do not use this field. It is used internally by the editor.","ui:field":"hidden"}))},{additionalProperties:!0,"ai:instructions":"Do not use the border prop"}),b=t.Object({id:t.String({description:"The unique ID of the section. Use a human readable url-safe slug"}),label:t.Optional(t.String({description:"The label (name) of the section. Used for editor purposes only."})),order:t.Number({description:"Determines section order in the page (lower numbers appear first). 0-based"}),props:c,mobileProps:t.Optional(t.Partial(c,{additionalProperties:!1})),bricks:t.Array(f)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."}),g=l(b.properties.props);function L(e){return e.map(i=>({...i,props:d({},g,i.props),bricks:i.bricks.map(m)}))}function m(e){let i=r[e.type];return{...e,props:d({},i.props,{...e.props,...e.props.$children?{$children:e.props.$children.map(m)}:{}})}}export{B as a,h as b,f as c,c as d,b as e,g as f,L as g,m as h};
@@ -1,4 +1,4 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as s}from"./chunk-CBORSFPQ.js";import{b as a}from"./chunk-YZVFYTDV.js";import{d as n}from"./chunk-LXBGNROJ.js";import{a as o}from"./chunk-R3I32SUA.js";import{a as p}from"./chunk-WARHNU5Z.js";import{c as i,d as e}from"./chunk-OWERYFOX.js";import{a as r}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-KUG7UEHN.js";import{FaWpforms as d}from"react-icons/fa6";var b=p({type:"form",kind:"widget",name:"Form",description:"A form element",aiInstructions:`The form brick automatically renders form fields based on the datarecord id provided in the props.
3
+ import{b as s}from"./chunk-YAMSHPKO.js";import{b as a}from"./chunk-ZGV2EX57.js";import{d as n}from"./chunk-5TAB5RAK.js";import{a as o}from"./chunk-273FK54V.js";import{a as p}from"./chunk-4WATTT6H.js";import{c as i,d as e}from"./chunk-NI7D2E25.js";import{a as r}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-EXD5JEQ4.js";import{FaWpforms as d}from"react-icons/fa6";var b=p({type:"form",kind:"widget",name:"Form",description:"A form element",aiInstructions:`The form brick automatically renders form fields based on the datarecord id provided in the props.
4
4
  There is no need to define the form fields manually and the form does not accept any children`,isContainer:!1,icon:d,props:i({title:e(o("Title",{description:"The title of the form",default:"My form"})),intro:e(o("Intro",{description:"The intro text of the form"})),datarecordId:o("Datarecord ID",{description:"The ID of the datarecord to use to generate the form fields"}),padding:e(a()),backgroundColor:e(n()),color:e(s()),align:e(t({title:"Alignment",description:"The alignment of the form fields. Default is vertical",schema:r(["vertical","horizontal"],{default:"vertical",title:"Form alignment",description:"Choose between vertical or horizontal alignment for the form fields"})}))})}),v=[{description:"Basic contact form",type:"form",props:{title:"Contact Us",intro:"We'd love to hear from you. Send us a message and we'll respond as soon as possible.",align:"vertical",datarecordId:"contacts"}},{description:"User registration form",type:"form",props:{title:"Create Account",intro:"Join our platform and start your journey today.",align:"vertical",datarecordId:"user-registration"}},{description:"Newsletter subscription form (horizontal)",type:"form",props:{title:"Stay Updated",intro:"Subscribe to our newsletter for the latest updates and exclusive content.",align:"horizontal",datarecordId:"newsletter-subscription"}},{description:"Event registration form",type:"form",props:{title:"Conference Registration",intro:"Register for the Annual Tech Conference 2025. Early bird pricing ends soon!",align:"vertical",datarecordId:"event-registration"}},{description:"Job application form",type:"form",props:{title:"Apply for Position",intro:"We're excited to learn more about you! Please fill out this application form completely.",align:"vertical",datarecordId:"job-application"}},{description:"Customer feedback form",type:"form",props:{title:"Share Your Feedback",intro:"Your opinion matters to us. Help us improve our products and services.",align:"vertical",datarecordId:"customer-feedback"}}];export{b as a,v as b};
@@ -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-QSKUUUXU.js";import{a as i}from"./chunk-KUG7UEHN.js";import{Type as e}from"@sinclair/typebox";function p(t={}){let{title:r="Background",defaultValue:a,colorType:n="background"}=t;return i({title:r,schema:e.Object({color:e.Optional(e.String({default:a?.color,title:"Color",description:"Use `bg-<variant>-<shade>`, variants being 'primary', 'secondary', 'accent' and 'neutral', and shades between 50 and 900. Can also be a gradient using 'bg-gradient-to-<direction> from-<color> to-<color>'",examples:["bg-primary","bg-base-100","bg-primary-50","bg-primary-500","bg-accent-900"]})),image:e.Optional(e.String({title:"Image",description:"The background image. Can be a URL or a data URI",examples:["https://example.com/image.png","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA..."]})),size:e.Optional(e.Union([e.Literal("auto",{title:"Auto"}),e.Literal("cover",{title:"Cover"}),e.Literal("contain",{title:"Contain"})],{default:a?.size??"auto","ai:instructions":"Only use this when the image is set."})),repeat:e.Optional(e.Union([e.Literal("no-repeat",{title:"No repeat"}),e.Literal("repeat",{title:"Repeat"}),e.Literal("repeat-x",{title:"Repeat horizontally"}),e.Literal("repeat-y",{title:"Repeat vertically"}),e.Literal("space",{title:"Space"}),e.Literal("round",{title:"Round"})],{default:a?.repeat??"no-repeat","ai:instructions":"Only use this when the image is set."}))},{$id:"styles:background","ui:styleId":"styles:background","ui:field":"background","ui:group":"background","ui:group:title":"Background","ui:color-type":n,default:a?{color:a.color,size:a.size,repeat:a.repeat}:void 0})})}function u(t={}){return o("styles:background",t)}function g(t,r="Background color"){return i({title:r,schema:e.String({$id:"styles:backgroundColor","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `bg-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 100 and 900. Use bg-<variant>-<shade> classes as much as possible.",default:t,"ui:field":"color","ui:color-type":"background","ui:styleId":"styles:backgroundColor"})})}function d(t={}){return o("styles:backgroundColor",{...t,"ui:styleId":"styles:backgroundColor"})}export{p as a,u as b,g as c,d};
3
+ import{a as o}from"./chunk-QSKUUUXU.js";import{a as i}from"./chunk-EXD5JEQ4.js";import{Type as e}from"@sinclair/typebox";function p(t={}){let{title:r="Background",defaultValue:a,colorType:n="background"}=t;return i({title:r,schema:e.Object({color:e.Optional(e.String({default:a?.color,title:"Color",description:"Use `bg-<variant>-<shade>`, variants being 'primary', 'secondary', 'accent' and 'neutral', and shades between 50 and 900. Can also be a gradient using 'bg-gradient-to-<direction> from-<color> to-<color>'",examples:["bg-primary","bg-base-100","bg-primary-50","bg-primary-500","bg-accent-900"]})),image:e.Optional(e.String({title:"Image",description:"The background image. Can be a URL or a data URI",examples:["https://example.com/image.png","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA..."]})),size:e.Optional(e.Union([e.Literal("auto",{title:"Auto"}),e.Literal("cover",{title:"Cover"}),e.Literal("contain",{title:"Contain"})],{default:a?.size??"auto","ai:instructions":"Only use this when the image is set."})),repeat:e.Optional(e.Union([e.Literal("no-repeat",{title:"No repeat"}),e.Literal("repeat",{title:"Repeat"}),e.Literal("repeat-x",{title:"Repeat horizontally"}),e.Literal("repeat-y",{title:"Repeat vertically"}),e.Literal("space",{title:"Space"}),e.Literal("round",{title:"Round"})],{default:a?.repeat??"no-repeat","ai:instructions":"Only use this when the image is set."}))},{$id:"styles:background","ui:styleId":"styles:background","ui:field":"background","ui:group":"background","ui:group:title":"Background","ui:color-type":n,default:a?{color:a.color,size:a.size,repeat:a.repeat}:void 0})})}function u(t={}){return o("styles:background",t)}function g(t,r="Background color"){return i({title:r,schema:e.String({$id:"styles:backgroundColor","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `bg-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 100 and 900. Use bg-<variant>-<shade> classes as much as possible.",default:t,"ui:field":"color","ui:color-type":"background","ui:styleId":"styles:backgroundColor"})})}function d(t={}){return o("styles:backgroundColor",{...t,"ui:styleId":"styles:backgroundColor"})}export{p as a,u as b,g as c,d};