@upstart.gg/sdk 0.0.133 → 0.0.135

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 (527) hide show
  1. package/dist/shared/ai/schemas.d.ts +1 -2
  2. package/dist/shared/ai/schemas.d.ts.map +1 -1
  3. package/dist/shared/ai/schemas.js +28 -1
  4. package/dist/shared/ai/schemas.js.map +1 -1
  5. package/dist/shared/ai/types.d.ts +15 -1
  6. package/dist/shared/ai/types.d.ts.map +1 -1
  7. package/dist/shared/ajv.js +6861 -1
  8. package/dist/shared/ajv.js.map +1 -1
  9. package/dist/shared/analytics/init.js +20 -1
  10. package/dist/shared/analytics/init.js.map +1 -1
  11. package/dist/shared/analytics/track.js +24 -1
  12. package/dist/shared/analytics/track.js.map +1 -1
  13. package/dist/shared/attributes.d.ts +97 -30
  14. package/dist/shared/attributes.d.ts.map +1 -1
  15. package/dist/shared/attributes.js +46 -1
  16. package/dist/shared/brick-manifest.d.ts +1 -1
  17. package/dist/shared/brick-manifest.js +26 -1
  18. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +2 -2
  19. package/dist/shared/bricks/manifests/accordion.manifest.js +29 -1
  20. package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
  21. package/dist/shared/bricks/manifests/all-manifests.js +59 -1
  22. package/dist/shared/bricks/manifests/box.manifest.d.ts +2 -2
  23. package/dist/shared/bricks/manifests/box.manifest.js +28 -1
  24. package/dist/shared/bricks/manifests/button.manifest.d.ts +2 -2
  25. package/dist/shared/bricks/manifests/button.manifest.js +28 -1
  26. package/dist/shared/bricks/manifests/card.manifest.d.ts +3 -3
  27. package/dist/shared/bricks/manifests/card.manifest.js +28 -1
  28. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +2 -2
  29. package/dist/shared/bricks/manifests/carousel.manifest.js +28 -1
  30. package/dist/shared/bricks/manifests/footer.manifest.d.ts +4 -4
  31. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  32. package/dist/shared/bricks/manifests/footer.manifest.js +30 -1
  33. package/dist/shared/bricks/manifests/form.manifest.d.ts +3 -3
  34. package/dist/shared/bricks/manifests/form.manifest.js +29 -1
  35. package/dist/shared/bricks/manifests/hero.manifest.d.ts +2 -2
  36. package/dist/shared/bricks/manifests/hero.manifest.js +28 -1
  37. package/dist/shared/bricks/manifests/html.manifest.d.ts +2 -2
  38. package/dist/shared/bricks/manifests/html.manifest.js +28 -1
  39. package/dist/shared/bricks/manifests/icon.manifest.d.ts +2 -2
  40. package/dist/shared/bricks/manifests/icon.manifest.js +28 -1
  41. package/dist/shared/bricks/manifests/image.manifest.d.ts +2 -2
  42. package/dist/shared/bricks/manifests/image.manifest.js +28 -1
  43. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +2 -2
  44. package/dist/shared/bricks/manifests/images-gallery.manifest.js +28 -1
  45. package/dist/shared/bricks/manifests/map.manifest.d.ts +2 -2
  46. package/dist/shared/bricks/manifests/map.manifest.js +31 -1
  47. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +4 -4
  48. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  49. package/dist/shared/bricks/manifests/navbar.manifest.js +31 -1
  50. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +2 -2
  51. package/dist/shared/bricks/manifests/sidebar.manifest.js +29 -1
  52. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +2 -2
  53. package/dist/shared/bricks/manifests/social-links.manifest.js +28 -1
  54. package/dist/shared/bricks/manifests/spacer.manifest.d.ts +2 -2
  55. package/dist/shared/bricks/manifests/spacer.manifest.js +28 -1
  56. package/dist/shared/bricks/manifests/table.manifest.d.ts +91 -0
  57. package/dist/shared/bricks/manifests/table.manifest.d.ts.map +1 -0
  58. package/dist/shared/bricks/manifests/table.manifest.js +31 -0
  59. package/dist/shared/bricks/manifests/tabs.manifest.d.ts +90 -0
  60. package/dist/shared/bricks/manifests/tabs.manifest.d.ts.map +1 -0
  61. package/dist/shared/bricks/manifests/tabs.manifest.js +31 -0
  62. package/dist/shared/bricks/manifests/tabs.manifest.js.map +1 -0
  63. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +2 -2
  64. package/dist/shared/bricks/manifests/testimonials.manifest.js +28 -1
  65. package/dist/shared/bricks/manifests/text.manifest.d.ts +2 -2
  66. package/dist/shared/bricks/manifests/text.manifest.js +28 -1
  67. package/dist/shared/bricks/manifests/timeline.manifest.d.ts +101 -0
  68. package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -0
  69. package/dist/shared/bricks/manifests/timeline.manifest.js +31 -0
  70. package/dist/shared/bricks/manifests/timeline.manifest.js.map +1 -0
  71. package/dist/shared/bricks/manifests/video.manifest.d.ts +2 -2
  72. package/dist/shared/bricks/manifests/video.manifest.js +28 -1
  73. package/dist/shared/bricks/props/align.d.ts +2 -2
  74. package/dist/shared/bricks/props/align.js +19 -1
  75. package/dist/shared/bricks/props/background.d.ts +4 -4
  76. package/dist/shared/bricks/props/background.js +15 -1
  77. package/dist/shared/bricks/props/boolean.js +7 -1
  78. package/dist/shared/bricks/props/border.js +16 -1
  79. package/dist/shared/bricks/props/color-preset.d.ts.map +1 -1
  80. package/dist/shared/bricks/props/color-preset.js +13 -1
  81. package/dist/shared/bricks/props/color.js +14 -1
  82. package/dist/shared/bricks/props/common.d.ts +2 -2
  83. package/dist/shared/bricks/props/common.js +13 -1
  84. package/dist/shared/bricks/props/css-length.js +14 -1
  85. package/dist/shared/bricks/props/datarecord.js +7 -1
  86. package/dist/shared/bricks/props/datasource.d.ts +1 -1
  87. package/dist/shared/bricks/props/datasource.js +86 -1
  88. package/dist/shared/bricks/props/datasource.js.map +1 -1
  89. package/dist/shared/bricks/props/date.js +9 -1
  90. package/dist/shared/bricks/props/direction.js +11 -1
  91. package/dist/shared/bricks/props/dynamic.d.ts.map +1 -1
  92. package/dist/shared/bricks/props/dynamic.js +30 -1
  93. package/dist/shared/bricks/props/effects.js +17 -1
  94. package/dist/shared/bricks/props/file.js +15 -1
  95. package/dist/shared/bricks/props/file.js.map +1 -1
  96. package/dist/shared/bricks/props/geolocation.js +44 -1
  97. package/dist/shared/bricks/props/geolocation.js.map +1 -1
  98. package/dist/shared/bricks/props/helpers.d.ts +1 -1
  99. package/dist/shared/bricks/props/helpers.js +18 -1
  100. package/dist/shared/bricks/props/image.js +11 -1
  101. package/dist/shared/bricks/props/number.js +7 -1
  102. package/dist/shared/bricks/props/position.js +7 -1
  103. package/dist/shared/bricks/props/string.js +18 -1
  104. package/dist/shared/bricks/props/tags.js +10 -1
  105. package/dist/shared/bricks/props/text.js +19 -1
  106. package/dist/shared/bricks.d.ts +56 -44
  107. package/dist/shared/bricks.d.ts.map +1 -1
  108. package/dist/shared/bricks.js +79 -1
  109. package/dist/shared/chunk-2BPYOTKA.js +21 -0
  110. package/dist/shared/{chunk-WHTPGWUV.js.map → chunk-2BPYOTKA.js.map} +1 -1
  111. package/dist/shared/chunk-2HO4FHLM.js +456 -0
  112. package/dist/shared/{chunk-I3VL6SRH.js.map → chunk-2HO4FHLM.js.map} +1 -1
  113. package/dist/shared/chunk-2RK3CPYJ.js +74 -0
  114. package/dist/shared/{chunk-W33JMRRN.js.map → chunk-2RK3CPYJ.js.map} +1 -1
  115. package/dist/shared/chunk-3KLRW4I2.js +560 -0
  116. package/dist/shared/{chunk-B3EATRFX.js.map → chunk-3KLRW4I2.js.map} +1 -1
  117. package/dist/shared/chunk-3ZDN5BWN.js +18 -0
  118. package/dist/shared/{chunk-OIY3EPHO.js.map → chunk-3ZDN5BWN.js.map} +1 -1
  119. package/dist/shared/chunk-4WI23M7W.js +30 -0
  120. package/dist/shared/chunk-4WI23M7W.js.map +1 -0
  121. package/dist/shared/chunk-55C6MTX2.js +21 -0
  122. package/dist/shared/{chunk-KBHDY425.js.map → chunk-55C6MTX2.js.map} +1 -1
  123. package/dist/shared/chunk-6E42XWFH.js +103 -0
  124. package/dist/shared/{chunk-ZA3GAB4H.js.map → chunk-6E42XWFH.js.map} +1 -1
  125. package/dist/shared/chunk-6TVVKUWM.js +15 -0
  126. package/dist/shared/{chunk-4WDWJA3N.js.map → chunk-6TVVKUWM.js.map} +1 -1
  127. package/dist/shared/chunk-6WIMWLCJ.js +17 -0
  128. package/dist/shared/{chunk-KYY3PHP7.js.map → chunk-6WIMWLCJ.js.map} +1 -1
  129. package/dist/shared/chunk-7LAWWRU7.js +21 -0
  130. package/dist/shared/{chunk-IUXCWWGO.js.map → chunk-7LAWWRU7.js.map} +1 -1
  131. package/dist/shared/chunk-A2QPY54H.js +13 -0
  132. package/dist/shared/{chunk-KFM6KXSE.js.map → chunk-A2QPY54H.js.map} +1 -1
  133. package/dist/shared/chunk-BHC2A43S.js +67 -0
  134. package/dist/shared/{chunk-3YVJ2ELD.js.map → chunk-BHC2A43S.js.map} +1 -1
  135. package/dist/shared/chunk-BMWRR4DI.js +572 -0
  136. package/dist/shared/chunk-BMWRR4DI.js.map +1 -0
  137. package/dist/shared/chunk-BPBKHEQ5.js +39 -0
  138. package/dist/shared/{chunk-OHNYCXPX.js.map → chunk-BPBKHEQ5.js.map} +1 -1
  139. package/dist/shared/chunk-BW6EFRSF.js +794 -0
  140. package/dist/shared/chunk-BW6EFRSF.js.map +1 -0
  141. package/dist/shared/chunk-CKFRSHR2.js +105 -0
  142. package/dist/shared/{chunk-CFF6Q7O7.js.map → chunk-CKFRSHR2.js.map} +1 -1
  143. package/dist/shared/chunk-CSF2WQX2.js +60 -0
  144. package/dist/shared/{chunk-GLS7HPIZ.js.map → chunk-CSF2WQX2.js.map} +1 -1
  145. package/dist/shared/chunk-D4YQ6ABM.js +338 -0
  146. package/dist/shared/{chunk-PXI7AHWS.js.map → chunk-D4YQ6ABM.js.map} +1 -1
  147. package/dist/shared/chunk-DRTGM2UJ.js +129 -0
  148. package/dist/shared/{chunk-FLOMNC6J.js.map → chunk-DRTGM2UJ.js.map} +1 -1
  149. package/dist/shared/chunk-EQMU6NIU.js +1222 -0
  150. package/dist/shared/chunk-EQMU6NIU.js.map +1 -0
  151. package/dist/shared/chunk-EWSPTRDL.js +378 -0
  152. package/dist/shared/{chunk-QX6OGRRT.js.map → chunk-EWSPTRDL.js.map} +1 -1
  153. package/dist/shared/chunk-F22LDHEO.js +105 -0
  154. package/dist/shared/{chunk-5YRC3IT3.js.map → chunk-F22LDHEO.js.map} +1 -1
  155. package/dist/shared/chunk-FVU5PXRC.js +244 -0
  156. package/dist/shared/chunk-FVU5PXRC.js.map +1 -0
  157. package/dist/shared/chunk-GCQURRVB.js +837 -0
  158. package/dist/shared/{chunk-WYVJE6J5.js.map → chunk-GCQURRVB.js.map} +1 -1
  159. package/dist/shared/chunk-GPCI2N2A.js +395 -0
  160. package/dist/shared/{chunk-WBZW5LVH.js.map → chunk-GPCI2N2A.js.map} +1 -1
  161. package/dist/shared/chunk-GRMY35BU.js +722 -0
  162. package/dist/shared/{chunk-NJGXC7D6.js.map → chunk-GRMY35BU.js.map} +1 -1
  163. package/dist/shared/chunk-HPCCD6V5.js +17 -0
  164. package/dist/shared/{chunk-6I3ONVU6.js.map → chunk-HPCCD6V5.js.map} +1 -1
  165. package/dist/shared/chunk-JK2FWFJU.js +15 -0
  166. package/dist/shared/{chunk-JMN3HTZU.js.map → chunk-JK2FWFJU.js.map} +1 -1
  167. package/dist/shared/chunk-KNREHAPN.js +13 -0
  168. package/dist/shared/{chunk-KSEURRVZ.js.map → chunk-KNREHAPN.js.map} +1 -1
  169. package/dist/shared/chunk-KT7SSWMM.js +24 -0
  170. package/dist/shared/{chunk-KO5FPOWZ.js.map → chunk-KT7SSWMM.js.map} +1 -1
  171. package/dist/shared/chunk-LXAO3JA6.js +368 -0
  172. package/dist/shared/chunk-LXAO3JA6.js.map +1 -0
  173. package/dist/shared/chunk-MLZT7MRQ.js +538 -0
  174. package/dist/shared/chunk-MLZT7MRQ.js.map +1 -0
  175. package/dist/shared/chunk-NT3IW52F.js +260 -0
  176. package/dist/shared/chunk-NT3IW52F.js.map +1 -0
  177. package/dist/shared/chunk-NTLAKMMQ.js +94 -0
  178. package/dist/shared/{chunk-ZTZJHY4E.js.map → chunk-NTLAKMMQ.js.map} +1 -1
  179. package/dist/shared/chunk-O5PLB3YB.js +413 -0
  180. package/dist/shared/chunk-O5PLB3YB.js.map +1 -0
  181. package/dist/shared/chunk-O5PQISX4.js +51 -0
  182. package/dist/shared/{chunk-VEDQV5XO.js.map → chunk-O5PQISX4.js.map} +1 -1
  183. package/dist/shared/chunk-OJP4HMJT.js +22 -0
  184. package/dist/shared/{chunk-6HLU4UI2.js.map → chunk-OJP4HMJT.js.map} +1 -1
  185. package/dist/shared/chunk-OSJ6KGPX.js +16 -0
  186. package/dist/shared/{chunk-GPEMPZXK.js.map → chunk-OSJ6KGPX.js.map} +1 -1
  187. package/dist/shared/chunk-OXYXZHP2.js +48 -0
  188. package/dist/shared/{chunk-5O4Z3YQY.js.map → chunk-OXYXZHP2.js.map} +1 -1
  189. package/dist/shared/chunk-P3RH5URN.js +230 -0
  190. package/dist/shared/{chunk-R6ATC4TC.js.map → chunk-P3RH5URN.js.map} +1 -1
  191. package/dist/shared/chunk-Q4NPPLEU.js +34 -0
  192. package/dist/shared/{chunk-QWGUMKZC.js.map → chunk-Q4NPPLEU.js.map} +1 -1
  193. package/dist/shared/chunk-QL3T5HJQ.js +59 -0
  194. package/dist/shared/{chunk-E6XEI7IK.js.map → chunk-QL3T5HJQ.js.map} +1 -1
  195. package/dist/shared/chunk-QLQVDZIL.js +11 -0
  196. package/dist/shared/{chunk-KLD3P5XH.js.map → chunk-QLQVDZIL.js.map} +1 -1
  197. package/dist/shared/chunk-QQQ3FYPG.js +248 -0
  198. package/dist/shared/{chunk-SXHDQ64Z.js.map → chunk-QQQ3FYPG.js.map} +1 -1
  199. package/dist/shared/chunk-QSND5IWT.js +165 -0
  200. package/dist/shared/{chunk-ZQPXQCY2.js.map → chunk-QSND5IWT.js.map} +1 -1
  201. package/dist/shared/chunk-RV7AYVFV.js +75 -0
  202. package/dist/shared/{chunk-DHI3IBOD.js.map → chunk-RV7AYVFV.js.map} +1 -1
  203. package/dist/shared/chunk-SE6O65HC.js +44 -0
  204. package/dist/shared/{chunk-NM5MMPCF.js.map → chunk-SE6O65HC.js.map} +1 -1
  205. package/dist/shared/chunk-SHUGHJ7V.js +519 -0
  206. package/dist/shared/{chunk-IKC3FK7L.js.map → chunk-SHUGHJ7V.js.map} +1 -1
  207. package/dist/shared/chunk-TB3X4LRQ.js +56 -0
  208. package/dist/shared/{chunk-RJYZ5FAR.js.map → chunk-TB3X4LRQ.js.map} +1 -1
  209. package/dist/shared/chunk-TEO6TJOM.js +212 -0
  210. package/dist/shared/chunk-TEO6TJOM.js.map +1 -0
  211. package/dist/shared/chunk-TFGGYU6Y.js +394 -0
  212. package/dist/shared/{chunk-CZRCW5EN.js.map → chunk-TFGGYU6Y.js.map} +1 -1
  213. package/dist/shared/chunk-TKMWY2VN.js +18 -0
  214. package/dist/shared/{chunk-RDZK73KV.js.map → chunk-TKMWY2VN.js.map} +1 -1
  215. package/dist/shared/chunk-TNMNMYOB.js +69 -0
  216. package/dist/shared/{chunk-4BTB3MU2.js.map → chunk-TNMNMYOB.js.map} +1 -1
  217. package/dist/shared/chunk-U7TVEPKA.js +432 -0
  218. package/dist/shared/chunk-U7TVEPKA.js.map +1 -0
  219. package/dist/shared/chunk-UQF52PWK.js +70 -0
  220. package/dist/shared/{chunk-A3GF4PYW.js.map → chunk-UQF52PWK.js.map} +1 -1
  221. package/dist/shared/chunk-V3UA3LRK.js +253 -0
  222. package/dist/shared/{chunk-G5CJU6RD.js.map → chunk-V3UA3LRK.js.map} +1 -1
  223. package/dist/shared/chunk-W6MRYRGJ.js +100 -0
  224. package/dist/shared/{chunk-CCI4C3TM.js.map → chunk-W6MRYRGJ.js.map} +1 -1
  225. package/dist/shared/chunk-WGDUJSSS.js +462 -0
  226. package/dist/shared/chunk-WGDUJSSS.js.map +1 -0
  227. package/dist/shared/chunk-WKN566LN.js +29 -0
  228. package/dist/shared/{chunk-Q4H4QEMB.js.map → chunk-WKN566LN.js.map} +1 -1
  229. package/dist/shared/chunk-X6N463D4.js +222 -0
  230. package/dist/shared/{chunk-IKHZD2JH.js.map → chunk-X6N463D4.js.map} +1 -1
  231. package/dist/shared/chunk-X75YV73Q.js +178 -0
  232. package/dist/shared/{chunk-PLSV746R.js.map → chunk-X75YV73Q.js.map} +1 -1
  233. package/dist/shared/chunk-XCWMZVF5.js +89 -0
  234. package/dist/shared/{chunk-ZFCUSWMT.js.map → chunk-XCWMZVF5.js.map} +1 -1
  235. package/dist/shared/chunk-XCZVD5H6.js +13 -0
  236. package/dist/shared/{chunk-HAGKVQOW.js.map → chunk-XCZVD5H6.js.map} +1 -1
  237. package/dist/shared/chunk-XZ6WJZHN.js +10 -0
  238. package/dist/shared/{chunk-DCH4ZKWT.js.map → chunk-XZ6WJZHN.js.map} +1 -1
  239. package/dist/shared/chunk-Y74LZNND.js +30 -0
  240. package/dist/shared/{chunk-GACHLACT.js.map → chunk-Y74LZNND.js.map} +1 -1
  241. package/dist/shared/chunk-Z2NTDFB4.js +505 -0
  242. package/dist/shared/{chunk-SQ5T4AT5.js.map → chunk-Z2NTDFB4.js.map} +1 -1
  243. package/dist/shared/chunk-Z35I5JM5.js +131 -0
  244. package/dist/shared/{chunk-PSTFJ5IJ.js.map → chunk-Z35I5JM5.js.map} +1 -1
  245. package/dist/shared/chunk-ZEFOWKYP.js +44 -0
  246. package/dist/shared/{chunk-DQ7PRWTG.js.map → chunk-ZEFOWKYP.js.map} +1 -1
  247. package/dist/shared/chunk-ZGQ3AQBG.js +33 -0
  248. package/dist/shared/chunk-ZGQ3AQBG.js.map +1 -0
  249. package/dist/shared/chunk-ZLYIRH2B.js +68 -0
  250. package/dist/shared/{chunk-SWLUQVK7.js.map → chunk-ZLYIRH2B.js.map} +1 -1
  251. package/dist/shared/datarecords/external/airtable/handler.js +377 -1
  252. package/dist/shared/datarecords/external/airtable/handler.js.map +1 -1
  253. package/dist/shared/datarecords/external/airtable/oauth/config.js +15 -1
  254. package/dist/shared/datarecords/external/airtable/oauth/config.js.map +1 -1
  255. package/dist/shared/datarecords/external/airtable/types.js +11 -1
  256. package/dist/shared/datarecords/external/generic-webhook/handler.js +14 -1
  257. package/dist/shared/datarecords/external/generic-webhook/handler.js.map +1 -1
  258. package/dist/shared/datarecords/external/generic-webhook/options.js +16 -1
  259. package/dist/shared/datarecords/external/generic-webhook/options.js.map +1 -1
  260. package/dist/shared/datarecords/external/google/oauth/config.js +35 -1
  261. package/dist/shared/datarecords/external/google/oauth/config.js.map +1 -1
  262. package/dist/shared/datarecords/external/google/sheets/client.js +7 -1
  263. package/dist/shared/datarecords/external/google/sheets/handler.js +184 -5
  264. package/dist/shared/datarecords/external/google/sheets/handler.js.map +1 -1
  265. package/dist/shared/datarecords/external/google/sheets/types.js +7 -1
  266. package/dist/shared/datarecords/external/notion/handler.js +397 -1
  267. package/dist/shared/datarecords/external/notion/handler.js.map +1 -1
  268. package/dist/shared/datarecords/external/notion/oauth/config.js +11 -1
  269. package/dist/shared/datarecords/external/notion/oauth/config.js.map +1 -1
  270. package/dist/shared/datarecords/external/notion/types.js +7 -1
  271. package/dist/shared/datarecords/types.d.ts +3 -3
  272. package/dist/shared/datarecords/types.js +16 -1
  273. package/dist/shared/datarecords.js +9 -1
  274. package/dist/shared/datarecords.js.map +1 -1
  275. package/dist/shared/datasources/external/facebook/posts/fetcher.js +49 -1
  276. package/dist/shared/datasources/external/facebook/posts/fetcher.js.map +1 -1
  277. package/dist/shared/datasources/external/facebook/posts/schema.js +36 -1
  278. package/dist/shared/datasources/external/facebook/posts/schema.js.map +1 -1
  279. package/dist/shared/datasources/external/http-json/fetcher.js +29 -1
  280. package/dist/shared/datasources/external/http-json/fetcher.js.map +1 -1
  281. package/dist/shared/datasources/external/http-json/options.js +11 -1
  282. package/dist/shared/datasources/external/http-json/options.js.map +1 -1
  283. package/dist/shared/datasources/external/http-json/schema.js +10 -1
  284. package/dist/shared/datasources/external/http-json/schema.js.map +1 -1
  285. package/dist/shared/datasources/external/instagram/feed/fetcher.js +29 -1
  286. package/dist/shared/datasources/external/instagram/feed/fetcher.js.map +1 -1
  287. package/dist/shared/datasources/external/instagram/feed/schema.js +26 -1
  288. package/dist/shared/datasources/external/instagram/feed/schema.js.map +1 -1
  289. package/dist/shared/datasources/external/mastodon/account/fetcher.js +7 -1
  290. package/dist/shared/datasources/external/mastodon/account/schema.js +7 -1
  291. package/dist/shared/datasources/external/mastodon/options.js +10 -1
  292. package/dist/shared/datasources/external/mastodon/options.js.map +1 -1
  293. package/dist/shared/datasources/external/mastodon/status/fetcher.js +31 -1
  294. package/dist/shared/datasources/external/mastodon/status/fetcher.js.map +1 -1
  295. package/dist/shared/datasources/external/mastodon/status/sample.array.js +61 -1
  296. package/dist/shared/datasources/external/mastodon/status/sample.array.js.map +1 -1
  297. package/dist/shared/datasources/external/mastodon/status/sample.single.js +59 -1
  298. package/dist/shared/datasources/external/mastodon/status/sample.single.js.map +1 -1
  299. package/dist/shared/datasources/external/mastodon/status/schema.js +125 -1
  300. package/dist/shared/datasources/external/mastodon/status/schema.js.map +1 -1
  301. package/dist/shared/datasources/external/meta/oauth/config.js +17 -1
  302. package/dist/shared/datasources/external/meta/oauth/config.js.map +1 -1
  303. package/dist/shared/datasources/external/meta/options.js +10 -1
  304. package/dist/shared/datasources/external/meta/options.js.map +1 -1
  305. package/dist/shared/datasources/external/rss/fetcher.js +26 -1
  306. package/dist/shared/datasources/external/rss/fetcher.js.map +1 -1
  307. package/dist/shared/datasources/external/rss/options.js +10 -1
  308. package/dist/shared/datasources/external/rss/options.js.map +1 -1
  309. package/dist/shared/datasources/external/rss/schema.js +7 -1
  310. package/dist/shared/datasources/external/threads/media/fetcher.js +47 -1
  311. package/dist/shared/datasources/external/threads/media/fetcher.js.map +1 -1
  312. package/dist/shared/datasources/external/threads/media/schema.js +40 -1
  313. package/dist/shared/datasources/external/threads/media/schema.js.map +1 -1
  314. package/dist/shared/datasources/external/tiktok/oauth/config.js +18 -1
  315. package/dist/shared/datasources/external/tiktok/oauth/config.js.map +1 -1
  316. package/dist/shared/datasources/external/tiktok/video/fetcher.js +34 -1
  317. package/dist/shared/datasources/external/tiktok/video/fetcher.js.map +1 -1
  318. package/dist/shared/datasources/external/tiktok/video/options.js +11 -1
  319. package/dist/shared/datasources/external/tiktok/video/options.js.map +1 -1
  320. package/dist/shared/datasources/external/tiktok/video/schema.js +30 -1
  321. package/dist/shared/datasources/external/tiktok/video/schema.js.map +1 -1
  322. package/dist/shared/datasources/external/youtube/list/fetcher.js +32 -1
  323. package/dist/shared/datasources/external/youtube/list/fetcher.js.map +1 -1
  324. package/dist/shared/datasources/external/youtube/list/options.js +14 -1
  325. package/dist/shared/datasources/external/youtube/list/options.js.map +1 -1
  326. package/dist/shared/datasources/external/youtube/list/schema.js +7 -1
  327. package/dist/shared/datasources/external/youtube/oauth/config.js +18 -1
  328. package/dist/shared/datasources/external/youtube/oauth/config.js.map +1 -1
  329. package/dist/shared/datasources/internal/blog/schema.js +72 -1
  330. package/dist/shared/datasources/internal/blog/schema.js.map +1 -1
  331. package/dist/shared/datasources/internal/changelog/schema.js +51 -1
  332. package/dist/shared/datasources/internal/changelog/schema.js.map +1 -1
  333. package/dist/shared/datasources/internal/contact-info/schema.js +25 -1
  334. package/dist/shared/datasources/internal/contact-info/schema.js.map +1 -1
  335. package/dist/shared/datasources/internal/cv/schema.js +222 -1
  336. package/dist/shared/datasources/internal/cv/schema.js.map +1 -1
  337. package/dist/shared/datasources/internal/faq/schema.js +30 -1
  338. package/dist/shared/datasources/internal/faq/schema.js.map +1 -1
  339. package/dist/shared/datasources/internal/job-board/schema.js +224 -1
  340. package/dist/shared/datasources/internal/job-board/schema.js.map +1 -1
  341. package/dist/shared/datasources/internal/links/schema.js +7 -1
  342. package/dist/shared/datasources/internal/recipes/schema.js +45 -1
  343. package/dist/shared/datasources/internal/recipes/schema.js.map +1 -1
  344. package/dist/shared/datasources/internal/restaurant/schema.js +226 -1
  345. package/dist/shared/datasources/internal/restaurant/schema.js.map +1 -1
  346. package/dist/shared/datasources/samples.js +69 -1
  347. package/dist/shared/datasources/samples.js.map +1 -1
  348. package/dist/shared/datasources/schemas.js +34 -1
  349. package/dist/shared/datasources/schemas.js.map +1 -1
  350. package/dist/shared/datasources/types.d.ts +1 -1
  351. package/dist/shared/datasources/types.d.ts.map +1 -1
  352. package/dist/shared/datasources/types.js +32 -1
  353. package/dist/shared/datasources/utils.js +11 -1
  354. package/dist/shared/datasources.js +51 -1
  355. package/dist/shared/datasources.js.map +1 -1
  356. package/dist/shared/errors.js +7 -1
  357. package/dist/shared/images.d.ts +4 -4
  358. package/dist/shared/images.d.ts.map +1 -1
  359. package/dist/shared/images.js +44 -1
  360. package/dist/shared/images.js.map +1 -1
  361. package/dist/shared/index.js +9 -1
  362. package/dist/shared/index.js.map +1 -1
  363. package/dist/shared/layout-constants.js +14 -1
  364. package/dist/shared/layout-constants.js.map +1 -1
  365. package/dist/shared/manifest.js +52 -1
  366. package/dist/shared/manifest.js.map +1 -1
  367. package/dist/shared/oauth.js +8 -1
  368. package/dist/shared/page.d.ts +12 -126
  369. package/dist/shared/page.d.ts.map +1 -1
  370. package/dist/shared/page.js +58 -1
  371. package/dist/shared/prompt.js +7 -1
  372. package/dist/shared/responsive.js +10 -1
  373. package/dist/shared/responsive.js.map +1 -1
  374. package/dist/shared/schema-registry.d.ts +5 -0
  375. package/dist/shared/schema-registry.d.ts.map +1 -0
  376. package/dist/shared/schema-registry.js +119 -0
  377. package/dist/shared/schema-registry.js.map +1 -0
  378. package/dist/shared/site.d.ts +36 -33
  379. package/dist/shared/site.d.ts.map +1 -1
  380. package/dist/shared/site.js +127 -1
  381. package/dist/shared/site.js.map +1 -1
  382. package/dist/shared/sitemap.d.ts +17 -17
  383. package/dist/shared/sitemap.d.ts.map +1 -1
  384. package/dist/shared/sitemap.js +69 -1
  385. package/dist/shared/social-icons.js +312 -1
  386. package/dist/shared/social-icons.js.map +1 -1
  387. package/dist/shared/tests/schema-registry.test.d.ts +2 -0
  388. package/dist/shared/tests/schema-registry.test.d.ts.map +1 -0
  389. package/dist/shared/theme.d.ts +1 -1
  390. package/dist/shared/theme.d.ts.map +1 -1
  391. package/dist/shared/theme.js +35 -1
  392. package/dist/shared/themes/color-system.d.ts +0 -1
  393. package/dist/shared/themes/color-system.d.ts.map +1 -1
  394. package/dist/shared/themes/color-system.js +103 -1
  395. package/dist/shared/themes/color-system.js.map +1 -1
  396. package/dist/shared/utils/canvas-data-uri.js +7 -1
  397. package/dist/shared/utils/canvas-data-uri.js.map +1 -1
  398. package/dist/shared/utils/invariant.js +7 -1
  399. package/dist/shared/utils/json-date.js +7 -1
  400. package/dist/shared/utils/llm.d.ts +2 -3
  401. package/dist/shared/utils/llm.d.ts.map +1 -1
  402. package/dist/shared/utils/llm.js +24 -1
  403. package/dist/shared/utils/merge.js +7 -1
  404. package/dist/shared/utils/object-hash.js +13 -1
  405. package/dist/shared/utils/object-hash.js.map +1 -1
  406. package/dist/shared/utils/schema-registry.d.ts +5 -0
  407. package/dist/shared/utils/schema-registry.d.ts.map +1 -0
  408. package/dist/shared/utils/schema-registry.js +29 -0
  409. package/dist/shared/utils/schema-registry.js.map +1 -0
  410. package/dist/shared/utils/schema.d.ts +2 -1
  411. package/dist/shared/utils/schema.d.ts.map +1 -1
  412. package/dist/shared/utils/schema.js +31 -1
  413. package/dist/shared/utils/string-enum.js +7 -1
  414. package/dist/shared/utils/tests/schema-registry.test.d.ts +2 -0
  415. package/dist/shared/utils/tests/schema-registry.test.d.ts.map +1 -0
  416. package/dist/shared/utils/try-catch.js +13 -1
  417. package/dist/shared/utils/try-catch.js.map +1 -1
  418. package/dist/shared/utils/typed-ref.js +7 -1
  419. package/package.json +12 -13
  420. package/src/shared/ai/schemas.ts +4 -8
  421. package/src/shared/ai/types.ts +9 -1
  422. package/src/shared/attributes.ts +27 -25
  423. package/src/shared/bricks/manifests/all-manifests.ts +15 -0
  424. package/src/shared/bricks/manifests/footer.manifest.ts +36 -27
  425. package/src/shared/bricks/manifests/navbar.manifest.ts +1 -3
  426. package/src/shared/bricks/manifests/table.manifest.ts +443 -0
  427. package/src/shared/bricks/manifests/tabs.manifest.ts +576 -0
  428. package/src/shared/bricks/manifests/timeline.manifest.ts +441 -0
  429. package/src/shared/bricks/props/color-preset.ts +3 -1
  430. package/src/shared/bricks/props/dynamic.ts +0 -1
  431. package/src/shared/bricks.ts +54 -45
  432. package/src/shared/datasources/types.ts +1 -5
  433. package/src/shared/images.ts +10 -8
  434. package/src/shared/page.ts +0 -4
  435. package/src/shared/schema-registry.ts +82 -0
  436. package/src/shared/sitemap.ts +12 -16
  437. package/src/shared/tests/schema-registry.test.ts +14 -0
  438. package/src/shared/theme.ts +1 -4
  439. package/src/shared/themes/color-system.ts +0 -1
  440. package/src/shared/utils/llm.ts +13 -12
  441. package/src/shared/utils/schema-registry.ts +82 -0
  442. package/src/shared/utils/schema.ts +18 -3
  443. package/src/shared/utils/tests/schema-registry.test.ts +13 -0
  444. package/src/shared/utils/tests/schema.test.ts +82 -55
  445. package/dist/shared/bricks/props/enum.d.ts +0 -13
  446. package/dist/shared/bricks/props/enum.d.ts.map +0 -1
  447. package/dist/shared/bricks/props/enum.js +0 -4
  448. package/dist/shared/chunk-3YVJ2ELD.js +0 -4
  449. package/dist/shared/chunk-4BTB3MU2.js +0 -4
  450. package/dist/shared/chunk-4WDWJA3N.js +0 -4
  451. package/dist/shared/chunk-5O4Z3YQY.js +0 -4
  452. package/dist/shared/chunk-5YRC3IT3.js +0 -4
  453. package/dist/shared/chunk-6HLU4UI2.js +0 -4
  454. package/dist/shared/chunk-6I3ONVU6.js +0 -4
  455. package/dist/shared/chunk-7A2JNQX3.js +0 -4
  456. package/dist/shared/chunk-7A2JNQX3.js.map +0 -1
  457. package/dist/shared/chunk-A3GF4PYW.js +0 -4
  458. package/dist/shared/chunk-A3K4NUVP.js +0 -4
  459. package/dist/shared/chunk-A3K4NUVP.js.map +0 -1
  460. package/dist/shared/chunk-AFVJZPLS.js +0 -4
  461. package/dist/shared/chunk-AFVJZPLS.js.map +0 -1
  462. package/dist/shared/chunk-AI4GHU7R.js +0 -4
  463. package/dist/shared/chunk-AI4GHU7R.js.map +0 -1
  464. package/dist/shared/chunk-B3EATRFX.js +0 -4
  465. package/dist/shared/chunk-CCI4C3TM.js +0 -4
  466. package/dist/shared/chunk-CFF6Q7O7.js +0 -7
  467. package/dist/shared/chunk-CZRCW5EN.js +0 -4
  468. package/dist/shared/chunk-DCH4ZKWT.js +0 -4
  469. package/dist/shared/chunk-DHI3IBOD.js +0 -4
  470. package/dist/shared/chunk-DQ7PRWTG.js +0 -4
  471. package/dist/shared/chunk-E6XEI7IK.js +0 -4
  472. package/dist/shared/chunk-FLOMNC6J.js +0 -4
  473. package/dist/shared/chunk-G5CJU6RD.js +0 -7
  474. package/dist/shared/chunk-GACHLACT.js +0 -4
  475. package/dist/shared/chunk-GLS7HPIZ.js +0 -4
  476. package/dist/shared/chunk-GOMXZC4B.js +0 -35
  477. package/dist/shared/chunk-GOMXZC4B.js.map +0 -1
  478. package/dist/shared/chunk-GPEMPZXK.js +0 -4
  479. package/dist/shared/chunk-HAGKVQOW.js +0 -4
  480. package/dist/shared/chunk-I3VL6SRH.js +0 -9
  481. package/dist/shared/chunk-IKC3FK7L.js +0 -4
  482. package/dist/shared/chunk-IKHZD2JH.js +0 -4
  483. package/dist/shared/chunk-IUXCWWGO.js +0 -4
  484. package/dist/shared/chunk-JMN3HTZU.js +0 -4
  485. package/dist/shared/chunk-KBHDY425.js +0 -4
  486. package/dist/shared/chunk-KFM6KXSE.js +0 -4
  487. package/dist/shared/chunk-KLD3P5XH.js +0 -4
  488. package/dist/shared/chunk-KO5FPOWZ.js +0 -4
  489. package/dist/shared/chunk-KSEURRVZ.js +0 -4
  490. package/dist/shared/chunk-KYY3PHP7.js +0 -4
  491. package/dist/shared/chunk-NJGXC7D6.js +0 -4
  492. package/dist/shared/chunk-NM5MMPCF.js +0 -4
  493. package/dist/shared/chunk-OGBMYMZD.js +0 -4
  494. package/dist/shared/chunk-OGBMYMZD.js.map +0 -1
  495. package/dist/shared/chunk-OHNYCXPX.js +0 -4
  496. package/dist/shared/chunk-OIY3EPHO.js +0 -4
  497. package/dist/shared/chunk-PIG623TZ.js +0 -4
  498. package/dist/shared/chunk-PIG623TZ.js.map +0 -1
  499. package/dist/shared/chunk-PLSV746R.js +0 -4
  500. package/dist/shared/chunk-PSCN3VVA.js +0 -4
  501. package/dist/shared/chunk-PSCN3VVA.js.map +0 -1
  502. package/dist/shared/chunk-PSTFJ5IJ.js +0 -4
  503. package/dist/shared/chunk-PXI7AHWS.js +0 -4
  504. package/dist/shared/chunk-Q4H4QEMB.js +0 -4
  505. package/dist/shared/chunk-QGYZ7CG5.js +0 -4
  506. package/dist/shared/chunk-QGYZ7CG5.js.map +0 -1
  507. package/dist/shared/chunk-QWGUMKZC.js +0 -4
  508. package/dist/shared/chunk-QX6OGRRT.js +0 -5
  509. package/dist/shared/chunk-R6ATC4TC.js +0 -4
  510. package/dist/shared/chunk-RDZK73KV.js +0 -4
  511. package/dist/shared/chunk-RJYZ5FAR.js +0 -4
  512. package/dist/shared/chunk-SQ5T4AT5.js +0 -6
  513. package/dist/shared/chunk-SWLUQVK7.js +0 -4
  514. package/dist/shared/chunk-SXHDQ64Z.js +0 -5
  515. package/dist/shared/chunk-SY6DZLTC.js +0 -4
  516. package/dist/shared/chunk-SY6DZLTC.js.map +0 -1
  517. package/dist/shared/chunk-VEDQV5XO.js +0 -4
  518. package/dist/shared/chunk-W33JMRRN.js +0 -4
  519. package/dist/shared/chunk-WBZW5LVH.js +0 -4
  520. package/dist/shared/chunk-WHTPGWUV.js +0 -4
  521. package/dist/shared/chunk-WYVJE6J5.js +0 -4
  522. package/dist/shared/chunk-ZA3GAB4H.js +0 -9
  523. package/dist/shared/chunk-ZFCUSWMT.js +0 -4
  524. package/dist/shared/chunk-ZQPXQCY2.js +0 -4
  525. package/dist/shared/chunk-ZTZJHY4E.js +0 -4
  526. package/src/shared/bricks/props/enum.ts +0 -38
  527. /package/dist/shared/bricks/{props/enum.js.map → manifests/table.manifest.js.map} +0 -0
@@ -0,0 +1,456 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import {
4
+ boolean
5
+ } from "./chunk-KNREHAPN.js";
6
+ import {
7
+ defineProps
8
+ } from "./chunk-BHC2A43S.js";
9
+ import {
10
+ defineBrickManifest
11
+ } from "./chunk-TB3X4LRQ.js";
12
+ import {
13
+ loopRef
14
+ } from "./chunk-BW6EFRSF.js";
15
+ import {
16
+ fontSizeRef,
17
+ textContentRef
18
+ } from "./chunk-F22LDHEO.js";
19
+ import {
20
+ colorPresetRef
21
+ } from "./chunk-TFGGYU6Y.js";
22
+ import {
23
+ cssLengthRef
24
+ } from "./chunk-BPBKHEQ5.js";
25
+ import {
26
+ StringEnum
27
+ } from "./chunk-JK2FWFJU.js";
28
+
29
+ // src/shared/bricks/manifests/accordion.manifest.ts
30
+ import { Type } from "@sinclair/typebox";
31
+ import { TfiLayoutAccordionSeparated } from "react-icons/tfi";
32
+ var manifest = defineBrickManifest({
33
+ type: "accordion",
34
+ name: "Accordion",
35
+ description: "An accordion/collapse element for expandable content",
36
+ aiInstructions: `
37
+ This accordion element displays content in collapsible panels.
38
+ It is typically used for FAQ sections, organized documentation, or to save space.
39
+ Each item has a title and expandable content area.
40
+ Multiple panels can be open simultaneously or limited to one at a time.
41
+ `.trim(),
42
+ icon: TfiLayoutAccordionSeparated,
43
+ defaultWidth: { desktop: "450px", mobile: "100%" },
44
+ props: defineProps({
45
+ items: Type.Array(
46
+ Type.Object({
47
+ title: textContentRef({
48
+ title: "Title",
49
+ default: "My title",
50
+ disableSizing: true,
51
+ showInSettings: true
52
+ }),
53
+ content: textContentRef({ title: "Content", default: "Expandable content goes here" }),
54
+ defaultOpen: Type.Optional(boolean("Open by default", false))
55
+ }),
56
+ {
57
+ title: "Accordion items",
58
+ metadata: {
59
+ category: "content"
60
+ }
61
+ }
62
+ ),
63
+ fontSize: Type.Optional(fontSizeRef({ default: "inherit" })),
64
+ restrictOneOpen: boolean("Restrict to one open item", false, {
65
+ description: "Restrict to one open item at a time. If false, multiple items can be open simultaneously."
66
+ }),
67
+ gap: Type.Optional(
68
+ cssLengthRef({
69
+ title: "Gap",
70
+ description: "The gap between the accordion items.",
71
+ default: "1px",
72
+ "ui:styleId": "styles:gap"
73
+ })
74
+ ),
75
+ rounding: Type.Optional(
76
+ StringEnum(
77
+ [
78
+ "rounded-auto",
79
+ "rounded-none",
80
+ "rounded-sm",
81
+ "rounded-md",
82
+ "rounded-lg",
83
+ "rounded-xl",
84
+ "rounded-2xl",
85
+ "rounded-3xl"
86
+ ],
87
+ {
88
+ title: "Corner rounding",
89
+ enumNames: ["Auto", "None", "Small", "Medium", "Large", "Extra large", "2xl", "3xl"],
90
+ "ui:placeholder": "Not specified",
91
+ "ui:field": "enum",
92
+ "ui:display": "select",
93
+ "ui:styleId": "styles:rounding",
94
+ default: "rounded-auto"
95
+ }
96
+ )
97
+ ),
98
+ colorPreset: Type.Optional(
99
+ colorPresetRef({
100
+ title: "Color",
101
+ default: { color: "bg-primary-500 text-primary-500-content" }
102
+ })
103
+ ),
104
+ loop: Type.Optional(loopRef())
105
+ })
106
+ });
107
+ var examples = [
108
+ {
109
+ description: "FAQ section with card styling with single open",
110
+ type: "accordion",
111
+ props: {
112
+ restrictOneOpen: true,
113
+ items: [
114
+ {
115
+ title: "What is included in the basic plan?",
116
+ content: "The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.",
117
+ defaultOpen: true
118
+ },
119
+ {
120
+ title: "How do I cancel my subscription?",
121
+ content: "You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle."
122
+ },
123
+ {
124
+ title: "Is there a free trial available?",
125
+ content: "Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period."
126
+ },
127
+ {
128
+ title: "What payment methods do you accept?",
129
+ content: "We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners."
130
+ },
131
+ {
132
+ title: "Do you offer refunds?",
133
+ content: "We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund."
134
+ }
135
+ ]
136
+ }
137
+ },
138
+ {
139
+ description: "Product features accordion with multiple open panels and secondary color scheme",
140
+ type: "accordion",
141
+ props: {
142
+ restrictOneOpen: false,
143
+ colorPreset: {
144
+ color: "secondary-400"
145
+ },
146
+ rounding: "rounded-lg",
147
+ gap: "0.5rem",
148
+ items: [
149
+ {
150
+ title: "Advanced Analytics Dashboard",
151
+ content: "Get detailed insights into your business performance with real-time analytics, custom reports, and data visualization tools. Track key metrics, monitor trends, and make data-driven decisions.",
152
+ defaultOpen: true
153
+ },
154
+ {
155
+ title: "Team Collaboration Tools",
156
+ content: "Work seamlessly with your team using built-in collaboration features including shared workspaces, real-time editing, comments, and task management. Perfect for remote and hybrid teams.",
157
+ defaultOpen: true
158
+ },
159
+ {
160
+ title: "API Integration & Automation",
161
+ content: "Connect with over 1000+ popular tools and services through our robust API. Set up automated workflows, sync data across platforms, and streamline your business processes."
162
+ },
163
+ {
164
+ title: "Enterprise Security",
165
+ content: "Bank-level security with end-to-end encryption, SSO integration, two-factor authentication, and compliance with SOC 2, GDPR, and HIPAA standards."
166
+ }
167
+ ]
168
+ }
169
+ },
170
+ {
171
+ description: "Documentation sections with neutral styling and large font size",
172
+ type: "accordion",
173
+ props: {
174
+ restrictOneOpen: false,
175
+ colorPreset: {
176
+ color: "neutral-200"
177
+ },
178
+ fontSize: "text-lg",
179
+ rounding: "rounded-md",
180
+ gap: "2px",
181
+ items: [
182
+ {
183
+ title: "Getting Started",
184
+ content: "Learn the basics of our platform with step-by-step tutorials, setup guides, and quick start examples. Perfect for new users who want to get up and running quickly."
185
+ },
186
+ {
187
+ title: "API Reference",
188
+ content: "Complete API documentation with endpoints, parameters, response examples, and SDKs for popular programming languages including JavaScript, Python, PHP, and Ruby."
189
+ },
190
+ {
191
+ title: "Advanced Configuration",
192
+ content: "Deep dive into advanced features, custom configurations, webhooks, and enterprise-level integrations. Includes code samples and best practices."
193
+ }
194
+ ]
195
+ }
196
+ },
197
+ {
198
+ description: "Restaurant menu sections with accent colors and extra large rounding",
199
+ type: "accordion",
200
+ props: {
201
+ restrictOneOpen: true,
202
+ colorPreset: {
203
+ color: "accent-500"
204
+ },
205
+ rounding: "rounded-xl",
206
+ gap: "1rem",
207
+ items: [
208
+ {
209
+ title: "Appetizers & Starters",
210
+ content: "Bruschetta with Fresh Tomatoes - $8.99<br/>Calamari Rings with Marinara - $12.99<br/>Spinach & Artichoke Dip - $10.99<br/>Buffalo Wings (6 pieces) - $9.99",
211
+ defaultOpen: true
212
+ },
213
+ {
214
+ title: "Main Courses",
215
+ content: "Grilled Salmon with Herbs - $18.99<br/>Chicken Parmesan with Pasta - $16.99<br/>Ribeye Steak (12oz) - $24.99<br/>Vegetarian Lasagna - $14.99"
216
+ },
217
+ {
218
+ title: "Desserts",
219
+ content: "Tiramisu - $7.99<br/>Chocolate Lava Cake - $8.99<br/>New York Cheesecake - $6.99<br/>Gelato (3 scoops) - $5.99"
220
+ }
221
+ ]
222
+ }
223
+ },
224
+ {
225
+ description: "Course curriculum with primary colors and minimal gap",
226
+ type: "accordion",
227
+ props: {
228
+ restrictOneOpen: false,
229
+ colorPreset: {
230
+ color: "primary-600"
231
+ },
232
+ rounding: "rounded-sm",
233
+ gap: "1px",
234
+ fontSize: "text-base",
235
+ items: [
236
+ {
237
+ title: "Week 1: Introduction to Web Development",
238
+ content: "Learn the fundamentals of HTML, CSS, and basic JavaScript. Set up your development environment and create your first web page. Includes hands-on exercises and project templates."
239
+ },
240
+ {
241
+ title: "Week 2: Responsive Design & CSS Framework",
242
+ content: "Master responsive web design principles, CSS Grid, Flexbox, and popular frameworks like Bootstrap and Tailwind CSS. Build mobile-first designs that work on all devices."
243
+ },
244
+ {
245
+ title: "Week 3: JavaScript Fundamentals",
246
+ content: "Deep dive into JavaScript programming including variables, functions, objects, arrays, DOM manipulation, and event handling. Build interactive web applications."
247
+ },
248
+ {
249
+ title: "Week 4: Modern JavaScript & APIs",
250
+ content: "Learn ES6+ features, async/await, fetch API, and how to work with external APIs. Create dynamic applications that interact with real-world data sources."
251
+ }
252
+ ]
253
+ }
254
+ },
255
+ {
256
+ description: "Legal terms accordion with neutral dark theme and large gaps",
257
+ type: "accordion",
258
+ props: {
259
+ restrictOneOpen: true,
260
+ colorPreset: {
261
+ color: "neutral-800"
262
+ },
263
+ rounding: "rounded-lg",
264
+ gap: "1.5rem",
265
+ fontSize: "text-sm",
266
+ items: [
267
+ {
268
+ title: "Terms of Service",
269
+ content: "By accessing and using this website, you accept and agree to be bound by the terms and provision of this agreement. These terms apply to all visitors, users, and others who access or use the service."
270
+ },
271
+ {
272
+ title: "Privacy Policy",
273
+ content: "We collect information you provide directly to us, such as when you create an account, make a purchase, or contact us. We use this information to provide, maintain, and improve our services."
274
+ },
275
+ {
276
+ title: "Cookie Policy",
277
+ content: "We use cookies and similar tracking technologies to track activity on our service and hold certain information. You can instruct your browser to refuse all cookies or indicate when a cookie is being sent."
278
+ }
279
+ ]
280
+ }
281
+ },
282
+ {
283
+ description: "Event schedule with secondary colors and 2xl rounding",
284
+ type: "accordion",
285
+ props: {
286
+ restrictOneOpen: false,
287
+ colorPreset: {
288
+ color: "secondary-300"
289
+ },
290
+ rounding: "rounded-2xl",
291
+ gap: "0.75rem",
292
+ items: [
293
+ {
294
+ title: "Day 1: Opening Ceremony & Keynotes",
295
+ content: "9:00 AM - Registration & Welcome Coffee<br/>10:00 AM - Opening Ceremony<br/>11:00 AM - Keynote: Future of Technology<br/>12:30 PM - Networking Lunch<br/>2:00 PM - Panel Discussion<br/>4:00 PM - Closing Remarks",
296
+ defaultOpen: true
297
+ },
298
+ {
299
+ title: "Day 2: Workshops & Technical Sessions",
300
+ content: "9:00 AM - Workshop: AI in Practice<br/>11:00 AM - Technical Deep Dive: Cloud Architecture<br/>1:00 PM - Lunch Break<br/>2:30 PM - Hands-on Lab: DevOps Tools<br/>4:30 PM - Q&A Session"
301
+ },
302
+ {
303
+ title: "Day 3: Networking & Demo Day",
304
+ content: "10:00 AM - Startup Pitch Competition<br/>12:00 PM - Demo Showcase<br/>2:00 PM - Networking Session<br/>3:30 PM - Awards Ceremony<br/>5:00 PM - Closing Party"
305
+ }
306
+ ]
307
+ }
308
+ },
309
+ {
310
+ description: "Fitness program details with accent colors and 3xl rounding",
311
+ type: "accordion",
312
+ props: {
313
+ restrictOneOpen: true,
314
+ colorPreset: {
315
+ color: "accent-400"
316
+ },
317
+ rounding: "rounded-3xl",
318
+ gap: "1.25rem",
319
+ fontSize: "text-lg",
320
+ items: [
321
+ {
322
+ title: "Beginner Program (4 weeks)",
323
+ content: "Perfect for newcomers to fitness. Includes basic bodyweight exercises, flexibility training, and cardio. 3 sessions per week, 45 minutes each. Includes nutrition guidance and progress tracking."
324
+ },
325
+ {
326
+ title: "Intermediate Program (8 weeks)",
327
+ content: "For those with some fitness experience. Combines strength training, HIIT workouts, and endurance building. 4 sessions per week, 60 minutes each. Includes meal planning and supplement recommendations."
328
+ },
329
+ {
330
+ title: "Advanced Program (12 weeks)",
331
+ content: "High-intensity program for experienced athletes. Features complex movements, periodization, and sport-specific training. 5-6 sessions per week. Includes recovery protocols and performance optimization."
332
+ }
333
+ ]
334
+ }
335
+ },
336
+ {
337
+ description: "Support categories with primary colors and no rounding",
338
+ type: "accordion",
339
+ props: {
340
+ restrictOneOpen: false,
341
+ colorPreset: {
342
+ color: "primary-300"
343
+ },
344
+ rounding: "rounded-none",
345
+ gap: "0px",
346
+ fontSize: "text-base",
347
+ items: [
348
+ {
349
+ title: "Account & Billing",
350
+ content: "Get help with account settings, password reset, billing questions, subscription management, and payment issues. Average response time: 2 hours during business hours."
351
+ },
352
+ {
353
+ title: "Technical Support",
354
+ content: "Troubleshoot technical issues, API problems, integration questions, and performance concerns. Includes access to our knowledge base and video tutorials."
355
+ },
356
+ {
357
+ title: "Sales & Partnerships",
358
+ content: "Inquiries about enterprise solutions, custom pricing, partnership opportunities, and bulk discounts. Schedule a call with our sales team for personalized assistance."
359
+ },
360
+ {
361
+ title: "Feature Requests",
362
+ content: "Submit ideas for new features, improvements, and integrations. Our product team reviews all suggestions and provides updates on development roadmap."
363
+ }
364
+ ]
365
+ }
366
+ },
367
+ {
368
+ description: "Company policies with neutral colors and small font size",
369
+ type: "accordion",
370
+ props: {
371
+ restrictOneOpen: true,
372
+ colorPreset: {
373
+ color: "neutral-100"
374
+ },
375
+ rounding: "rounded-md",
376
+ gap: "0.25rem",
377
+ fontSize: "text-sm",
378
+ items: [
379
+ {
380
+ title: "Remote Work Policy",
381
+ content: "All employees have the flexibility to work remotely full-time or adopt a hybrid schedule. Required equipment is provided, and employees must maintain reliable internet connection and dedicated workspace."
382
+ },
383
+ {
384
+ title: "Professional Development",
385
+ content: "Annual budget of $2,000 per employee for conferences, courses, certifications, and training materials. Time off is provided for approved learning activities and skill development."
386
+ },
387
+ {
388
+ title: "Time Off & Benefits",
389
+ content: "Unlimited PTO policy with minimum 3 weeks encouraged annually. Comprehensive health insurance, dental, vision, 401k matching, and wellness stipend included."
390
+ }
391
+ ]
392
+ }
393
+ },
394
+ {
395
+ description: "Product comparison with secondary colors and multiple defaults open",
396
+ type: "accordion",
397
+ props: {
398
+ restrictOneOpen: false,
399
+ colorPreset: {
400
+ color: "secondary-500"
401
+ },
402
+ rounding: "rounded-lg",
403
+ gap: "0.5rem",
404
+ fontSize: "text-base",
405
+ items: [
406
+ {
407
+ title: "Basic Plan - $9/month",
408
+ content: "\u2713 Up to 5 projects<br/>\u2713 10GB storage<br/>\u2713 Email support<br/>\u2713 Basic analytics<br/>\u2713 Mobile app access<br/>\u2717 API access<br/>\u2717 Custom integrations",
409
+ defaultOpen: true
410
+ },
411
+ {
412
+ title: "Pro Plan - $29/month",
413
+ content: "\u2713 Unlimited projects<br/>\u2713 100GB storage<br/>\u2713 Priority support<br/>\u2713 Advanced analytics<br/>\u2713 API access<br/>\u2713 Custom integrations<br/>\u2713 Team collaboration",
414
+ defaultOpen: true
415
+ },
416
+ {
417
+ title: "Enterprise Plan - Custom pricing",
418
+ content: "\u2713 Everything in Pro<br/>\u2713 Unlimited storage<br/>\u2713 Dedicated support<br/>\u2713 White-label options<br/>\u2713 SSO integration<br/>\u2713 Custom contracts<br/>\u2713 On-premise deployment"
419
+ }
420
+ ]
421
+ }
422
+ },
423
+ {
424
+ description: "Troubleshooting guide with accent colors and large font",
425
+ type: "accordion",
426
+ props: {
427
+ restrictOneOpen: false,
428
+ colorPreset: {
429
+ color: "accent-600"
430
+ },
431
+ rounding: "rounded-xl",
432
+ gap: "1rem",
433
+ fontSize: "text-lg",
434
+ items: [
435
+ {
436
+ title: "Connection Issues",
437
+ content: "1. Check your internet connection<br/>2. Clear browser cache and cookies<br/>3. Disable VPN if active<br/>4. Try incognito/private browsing mode<br/>5. Contact support if issues persist"
438
+ },
439
+ {
440
+ title: "Login Problems",
441
+ content: "1. Verify your email address and password<br/>2. Use 'Forgot Password' to reset<br/>3. Check for CAPS LOCK<br/>4. Try a different browser<br/>5. Ensure account is not suspended"
442
+ },
443
+ {
444
+ title: "Performance Issues",
445
+ content: "1. Close unnecessary browser tabs<br/>2. Update your browser to latest version<br/>3. Disable browser extensions<br/>4. Check system resources (RAM/CPU)<br/>5. Try using the mobile app instead"
446
+ }
447
+ ]
448
+ }
449
+ }
450
+ ];
451
+
452
+ export {
453
+ manifest,
454
+ examples
455
+ };
456
+ //# sourceMappingURL=chunk-2HO4FHLM.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/shared/bricks/manifests/accordion.manifest.ts"],"sourcesContent":["import { Type } from \"@sinclair/typebox\";\nimport { TfiLayoutAccordionSeparated } from \"react-icons/tfi\";\nimport { defineBrickManifest } from \"~/shared/brick-manifest\";\nimport { StringEnum } from \"~/shared/utils/string-enum\";\nimport { boolean } from \"../props/boolean\";\nimport { defineProps } from \"../props/helpers\";\nimport { colorPresetRef } from \"../props/color-preset\";\nimport { fontSizeRef, textContentRef } from \"../props/text\";\nimport type { BrickProps } from \"../props/types\";\nimport { loopRef } from \"../props/dynamic\";\nimport { cssLengthRef } from \"../props/css-length\";\n\nexport const manifest = defineBrickManifest({\n type: \"accordion\",\n name: \"Accordion\",\n description: \"An accordion/collapse element for expandable content\",\n aiInstructions: `\nThis accordion element displays content in collapsible panels.\nIt is typically used for FAQ sections, organized documentation, or to save space.\nEach item has a title and expandable content area.\nMultiple panels can be open simultaneously or limited to one at a time.\n `.trim(),\n icon: TfiLayoutAccordionSeparated,\n\n defaultWidth: { desktop: \"450px\", mobile: \"100%\" },\n\n props: defineProps({\n items: Type.Array(\n Type.Object({\n title: textContentRef({\n title: \"Title\",\n default: \"My title\",\n disableSizing: true,\n showInSettings: true,\n }),\n content: textContentRef({ title: \"Content\", default: \"Expandable content goes here\" }),\n defaultOpen: Type.Optional(boolean(\"Open by default\", false)),\n }),\n {\n title: \"Accordion items\",\n metadata: {\n category: \"content\",\n },\n },\n ),\n fontSize: Type.Optional(fontSizeRef({ default: \"inherit\" })),\n restrictOneOpen: boolean(\"Restrict to one open item\", false, {\n description:\n \"Restrict to one open item at a time. If false, multiple items can be open simultaneously.\",\n }),\n gap: Type.Optional(\n cssLengthRef({\n title: \"Gap\",\n description: \"The gap between the accordion items.\",\n default: \"1px\",\n \"ui:styleId\": \"styles:gap\",\n }),\n ),\n rounding: Type.Optional(\n StringEnum(\n [\n \"rounded-auto\",\n \"rounded-none\",\n \"rounded-sm\",\n \"rounded-md\",\n \"rounded-lg\",\n \"rounded-xl\",\n \"rounded-2xl\",\n \"rounded-3xl\",\n ],\n {\n title: \"Corner rounding\",\n enumNames: [\"Auto\", \"None\", \"Small\", \"Medium\", \"Large\", \"Extra large\", \"2xl\", \"3xl\"],\n \"ui:placeholder\": \"Not specified\",\n \"ui:field\": \"enum\",\n \"ui:display\": \"select\",\n \"ui:styleId\": \"styles:rounding\",\n default: \"rounded-auto\",\n },\n ),\n ),\n colorPreset: Type.Optional(\n colorPresetRef({\n title: \"Color\",\n default: { color: \"bg-primary-500 text-primary-500-content\" },\n }),\n ),\n loop: Type.Optional(loopRef()),\n }),\n});\n\nexport type Manifest = typeof manifest;\n\nexport const examples: {\n description: string;\n type: string;\n props: BrickProps<Manifest>[\"brick\"][\"props\"];\n}[] = [\n {\n description: \"FAQ section with card styling with single open\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n items: [\n {\n title: \"What is included in the basic plan?\",\n content:\n \"The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.\",\n defaultOpen: true,\n },\n {\n title: \"How do I cancel my subscription?\",\n content:\n \"You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle.\",\n },\n {\n title: \"Is there a free trial available?\",\n content:\n \"Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period.\",\n },\n {\n title: \"What payment methods do you accept?\",\n content:\n \"We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners.\",\n },\n {\n title: \"Do you offer refunds?\",\n content:\n \"We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund.\",\n },\n ],\n },\n },\n {\n description: \"Product features accordion with multiple open panels and secondary color scheme\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"secondary-400\",\n },\n rounding: \"rounded-lg\",\n gap: \"0.5rem\",\n items: [\n {\n title: \"Advanced Analytics Dashboard\",\n content:\n \"Get detailed insights into your business performance with real-time analytics, custom reports, and data visualization tools. Track key metrics, monitor trends, and make data-driven decisions.\",\n defaultOpen: true,\n },\n {\n title: \"Team Collaboration Tools\",\n content:\n \"Work seamlessly with your team using built-in collaboration features including shared workspaces, real-time editing, comments, and task management. Perfect for remote and hybrid teams.\",\n defaultOpen: true,\n },\n {\n title: \"API Integration & Automation\",\n content:\n \"Connect with over 1000+ popular tools and services through our robust API. Set up automated workflows, sync data across platforms, and streamline your business processes.\",\n },\n {\n title: \"Enterprise Security\",\n content:\n \"Bank-level security with end-to-end encryption, SSO integration, two-factor authentication, and compliance with SOC 2, GDPR, and HIPAA standards.\",\n },\n ],\n },\n },\n {\n description: \"Documentation sections with neutral styling and large font size\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"neutral-200\",\n },\n fontSize: \"text-lg\",\n rounding: \"rounded-md\",\n gap: \"2px\",\n items: [\n {\n title: \"Getting Started\",\n content:\n \"Learn the basics of our platform with step-by-step tutorials, setup guides, and quick start examples. Perfect for new users who want to get up and running quickly.\",\n },\n {\n title: \"API Reference\",\n content:\n \"Complete API documentation with endpoints, parameters, response examples, and SDKs for popular programming languages including JavaScript, Python, PHP, and Ruby.\",\n },\n {\n title: \"Advanced Configuration\",\n content:\n \"Deep dive into advanced features, custom configurations, webhooks, and enterprise-level integrations. Includes code samples and best practices.\",\n },\n ],\n },\n },\n {\n description: \"Restaurant menu sections with accent colors and extra large rounding\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n colorPreset: {\n color: \"accent-500\",\n },\n rounding: \"rounded-xl\",\n gap: \"1rem\",\n items: [\n {\n title: \"Appetizers & Starters\",\n content:\n \"Bruschetta with Fresh Tomatoes - $8.99<br/>Calamari Rings with Marinara - $12.99<br/>Spinach & Artichoke Dip - $10.99<br/>Buffalo Wings (6 pieces) - $9.99\",\n defaultOpen: true,\n },\n {\n title: \"Main Courses\",\n content:\n \"Grilled Salmon with Herbs - $18.99<br/>Chicken Parmesan with Pasta - $16.99<br/>Ribeye Steak (12oz) - $24.99<br/>Vegetarian Lasagna - $14.99\",\n },\n {\n title: \"Desserts\",\n content:\n \"Tiramisu - $7.99<br/>Chocolate Lava Cake - $8.99<br/>New York Cheesecake - $6.99<br/>Gelato (3 scoops) - $5.99\",\n },\n ],\n },\n },\n {\n description: \"Course curriculum with primary colors and minimal gap\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"primary-600\",\n },\n rounding: \"rounded-sm\",\n gap: \"1px\",\n fontSize: \"text-base\",\n items: [\n {\n title: \"Week 1: Introduction to Web Development\",\n content:\n \"Learn the fundamentals of HTML, CSS, and basic JavaScript. Set up your development environment and create your first web page. Includes hands-on exercises and project templates.\",\n },\n {\n title: \"Week 2: Responsive Design & CSS Framework\",\n content:\n \"Master responsive web design principles, CSS Grid, Flexbox, and popular frameworks like Bootstrap and Tailwind CSS. Build mobile-first designs that work on all devices.\",\n },\n {\n title: \"Week 3: JavaScript Fundamentals\",\n content:\n \"Deep dive into JavaScript programming including variables, functions, objects, arrays, DOM manipulation, and event handling. Build interactive web applications.\",\n },\n {\n title: \"Week 4: Modern JavaScript & APIs\",\n content:\n \"Learn ES6+ features, async/await, fetch API, and how to work with external APIs. Create dynamic applications that interact with real-world data sources.\",\n },\n ],\n },\n },\n {\n description: \"Legal terms accordion with neutral dark theme and large gaps\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n colorPreset: {\n color: \"neutral-800\",\n },\n rounding: \"rounded-lg\",\n gap: \"1.5rem\",\n fontSize: \"text-sm\",\n items: [\n {\n title: \"Terms of Service\",\n content:\n \"By accessing and using this website, you accept and agree to be bound by the terms and provision of this agreement. These terms apply to all visitors, users, and others who access or use the service.\",\n },\n {\n title: \"Privacy Policy\",\n content:\n \"We collect information you provide directly to us, such as when you create an account, make a purchase, or contact us. We use this information to provide, maintain, and improve our services.\",\n },\n {\n title: \"Cookie Policy\",\n content:\n \"We use cookies and similar tracking technologies to track activity on our service and hold certain information. You can instruct your browser to refuse all cookies or indicate when a cookie is being sent.\",\n },\n ],\n },\n },\n {\n description: \"Event schedule with secondary colors and 2xl rounding\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"secondary-300\",\n },\n rounding: \"rounded-2xl\",\n gap: \"0.75rem\",\n items: [\n {\n title: \"Day 1: Opening Ceremony & Keynotes\",\n content:\n \"9:00 AM - Registration & Welcome Coffee<br/>10:00 AM - Opening Ceremony<br/>11:00 AM - Keynote: Future of Technology<br/>12:30 PM - Networking Lunch<br/>2:00 PM - Panel Discussion<br/>4:00 PM - Closing Remarks\",\n defaultOpen: true,\n },\n {\n title: \"Day 2: Workshops & Technical Sessions\",\n content:\n \"9:00 AM - Workshop: AI in Practice<br/>11:00 AM - Technical Deep Dive: Cloud Architecture<br/>1:00 PM - Lunch Break<br/>2:30 PM - Hands-on Lab: DevOps Tools<br/>4:30 PM - Q&A Session\",\n },\n {\n title: \"Day 3: Networking & Demo Day\",\n content:\n \"10:00 AM - Startup Pitch Competition<br/>12:00 PM - Demo Showcase<br/>2:00 PM - Networking Session<br/>3:30 PM - Awards Ceremony<br/>5:00 PM - Closing Party\",\n },\n ],\n },\n },\n {\n description: \"Fitness program details with accent colors and 3xl rounding\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n colorPreset: {\n color: \"accent-400\",\n },\n rounding: \"rounded-3xl\",\n gap: \"1.25rem\",\n fontSize: \"text-lg\",\n items: [\n {\n title: \"Beginner Program (4 weeks)\",\n content:\n \"Perfect for newcomers to fitness. Includes basic bodyweight exercises, flexibility training, and cardio. 3 sessions per week, 45 minutes each. Includes nutrition guidance and progress tracking.\",\n },\n {\n title: \"Intermediate Program (8 weeks)\",\n content:\n \"For those with some fitness experience. Combines strength training, HIIT workouts, and endurance building. 4 sessions per week, 60 minutes each. Includes meal planning and supplement recommendations.\",\n },\n {\n title: \"Advanced Program (12 weeks)\",\n content:\n \"High-intensity program for experienced athletes. Features complex movements, periodization, and sport-specific training. 5-6 sessions per week. Includes recovery protocols and performance optimization.\",\n },\n ],\n },\n },\n {\n description: \"Support categories with primary colors and no rounding\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"primary-300\",\n },\n rounding: \"rounded-none\",\n gap: \"0px\",\n fontSize: \"text-base\",\n items: [\n {\n title: \"Account & Billing\",\n content:\n \"Get help with account settings, password reset, billing questions, subscription management, and payment issues. Average response time: 2 hours during business hours.\",\n },\n {\n title: \"Technical Support\",\n content:\n \"Troubleshoot technical issues, API problems, integration questions, and performance concerns. Includes access to our knowledge base and video tutorials.\",\n },\n {\n title: \"Sales & Partnerships\",\n content:\n \"Inquiries about enterprise solutions, custom pricing, partnership opportunities, and bulk discounts. Schedule a call with our sales team for personalized assistance.\",\n },\n {\n title: \"Feature Requests\",\n content:\n \"Submit ideas for new features, improvements, and integrations. Our product team reviews all suggestions and provides updates on development roadmap.\",\n },\n ],\n },\n },\n {\n description: \"Company policies with neutral colors and small font size\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n colorPreset: {\n color: \"neutral-100\",\n },\n rounding: \"rounded-md\",\n gap: \"0.25rem\",\n fontSize: \"text-sm\",\n items: [\n {\n title: \"Remote Work Policy\",\n content:\n \"All employees have the flexibility to work remotely full-time or adopt a hybrid schedule. Required equipment is provided, and employees must maintain reliable internet connection and dedicated workspace.\",\n },\n {\n title: \"Professional Development\",\n content:\n \"Annual budget of $2,000 per employee for conferences, courses, certifications, and training materials. Time off is provided for approved learning activities and skill development.\",\n },\n {\n title: \"Time Off & Benefits\",\n content:\n \"Unlimited PTO policy with minimum 3 weeks encouraged annually. Comprehensive health insurance, dental, vision, 401k matching, and wellness stipend included.\",\n },\n ],\n },\n },\n {\n description: \"Product comparison with secondary colors and multiple defaults open\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"secondary-500\",\n },\n rounding: \"rounded-lg\",\n gap: \"0.5rem\",\n fontSize: \"text-base\",\n items: [\n {\n title: \"Basic Plan - $9/month\",\n content:\n \"✓ Up to 5 projects<br/>✓ 10GB storage<br/>✓ Email support<br/>✓ Basic analytics<br/>✓ Mobile app access<br/>✗ API access<br/>✗ Custom integrations\",\n defaultOpen: true,\n },\n {\n title: \"Pro Plan - $29/month\",\n content:\n \"✓ Unlimited projects<br/>✓ 100GB storage<br/>✓ Priority support<br/>✓ Advanced analytics<br/>✓ API access<br/>✓ Custom integrations<br/>✓ Team collaboration\",\n defaultOpen: true,\n },\n {\n title: \"Enterprise Plan - Custom pricing\",\n content:\n \"✓ Everything in Pro<br/>✓ Unlimited storage<br/>✓ Dedicated support<br/>✓ White-label options<br/>✓ SSO integration<br/>✓ Custom contracts<br/>✓ On-premise deployment\",\n },\n ],\n },\n },\n {\n description: \"Troubleshooting guide with accent colors and large font\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"accent-600\",\n },\n rounding: \"rounded-xl\",\n gap: \"1rem\",\n fontSize: \"text-lg\",\n items: [\n {\n title: \"Connection Issues\",\n content:\n \"1. Check your internet connection<br/>2. Clear browser cache and cookies<br/>3. Disable VPN if active<br/>4. Try incognito/private browsing mode<br/>5. Contact support if issues persist\",\n },\n {\n title: \"Login Problems\",\n content:\n \"1. Verify your email address and password<br/>2. Use 'Forgot Password' to reset<br/>3. Check for CAPS LOCK<br/>4. Try a different browser<br/>5. Ensure account is not suspended\",\n },\n {\n title: \"Performance Issues\",\n content:\n \"1. Close unnecessary browser tabs<br/>2. Update your browser to latest version<br/>3. Disable browser extensions<br/>4. Check system resources (RAM/CPU)<br/>5. Try using the mobile app instead\",\n },\n ],\n },\n },\n];\n"],"mappings":";;uUAAA,OAAS,QAAAA,MAAY,oBACrB,OAAS,+BAAAC,MAAmC,kBAWrC,IAAMC,EAAWC,EAAoB,CAC1C,KAAM,YACN,KAAM,YACN,YAAa,uDACb,eAAgB;AAAA;AAAA;AAAA;AAAA;AAAA,IAKd,KAAK,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,CACF,EACA,CACE,YAAa,kFACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,eACT,EACA,SAAU,aACV,IAAK,SACL,MAAO,CACL,CACE,MAAO,+BACP,QACE,kMACF,YAAa,EACf,EACA,CACE,MAAO,2BACP,QACE,2LACF,YAAa,EACf,EACA,CACE,MAAO,+BACP,QACE,4KACJ,EACA,CACE,MAAO,sBACP,QACE,mJACJ,CACF,CACF,CACF,EACA,CACE,YAAa,kEACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,aACT,EACA,SAAU,UACV,SAAU,aACV,IAAK,MACL,MAAO,CACL,CACE,MAAO,kBACP,QACE,qKACJ,EACA,CACE,MAAO,gBACP,QACE,mKACJ,EACA,CACE,MAAO,yBACP,QACE,iJACJ,CACF,CACF,CACF,EACA,CACE,YAAa,uEACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,YACT,EACA,SAAU,aACV,IAAK,OACL,MAAO,CACL,CACE,MAAO,wBACP,QACE,6JACF,YAAa,EACf,EACA,CACE,MAAO,eACP,QACE,8IACJ,EACA,CACE,MAAO,WACP,QACE,gHACJ,CACF,CACF,CACF,EACA,CACE,YAAa,wDACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,aACT,EACA,SAAU,aACV,IAAK,MACL,SAAU,YACV,MAAO,CACL,CACE,MAAO,0CACP,QACE,mLACJ,EACA,CACE,MAAO,4CACP,QACE,0KACJ,EACA,CACE,MAAO,kCACP,QACE,kKACJ,EACA,CACE,MAAO,mCACP,QACE,0JACJ,CACF,CACF,CACF,EACA,CACE,YAAa,+DACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,aACT,EACA,SAAU,aACV,IAAK,SACL,SAAU,UACV,MAAO,CACL,CACE,MAAO,mBACP,QACE,yMACJ,EACA,CACE,MAAO,iBACP,QACE,gMACJ,EACA,CACE,MAAO,gBACP,QACE,8MACJ,CACF,CACF,CACF,EACA,CACE,YAAa,wDACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,eACT,EACA,SAAU,cACV,IAAK,UACL,MAAO,CACL,CACE,MAAO,qCACP,QACE,oNACF,YAAa,EACf,EACA,CACE,MAAO,wCACP,QACE,wLACJ,EACA,CACE,MAAO,+BACP,QACE,8JACJ,CACF,CACF,CACF,EACA,CACE,YAAa,8DACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,YACT,EACA,SAAU,cACV,IAAK,UACL,SAAU,UACV,MAAO,CACL,CACE,MAAO,6BACP,QACE,mMACJ,EACA,CACE,MAAO,iCACP,QACE,yMACJ,EACA,CACE,MAAO,8BACP,QACE,2MACJ,CACF,CACF,CACF,EACA,CACE,YAAa,yDACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,aACT,EACA,SAAU,eACV,IAAK,MACL,SAAU,YACV,MAAO,CACL,CACE,MAAO,oBACP,QACE,uKACJ,EACA,CACE,MAAO,oBACP,QACE,0JACJ,EACA,CACE,MAAO,uBACP,QACE,uKACJ,EACA,CACE,MAAO,mBACP,QACE,sJACJ,CACF,CACF,CACF,EACA,CACE,YAAa,2DACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,aACT,EACA,SAAU,aACV,IAAK,UACL,SAAU,UACV,MAAO,CACL,CACE,MAAO,qBACP,QACE,6MACJ,EACA,CACE,MAAO,2BACP,QACE,qLACJ,EACA,CACE,MAAO,sBACP,QACE,8JACJ,CACF,CACF,CACF,EACA,CACE,YAAa,sEACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,eACT,EACA,SAAU,aACV,IAAK,SACL,SAAU,YACV,MAAO,CACL,CACE,MAAO,wBACP,QACE,wLACF,YAAa,EACf,EACA,CACE,MAAO,uBACP,QACE,kMACF,YAAa,EACf,EACA,CACE,MAAO,mCACP,QACE,2MACJ,CACF,CACF,CACF,EACA,CACE,YAAa,0DACb,KAAM,YACN,MAAO,CACL,gBAAiB,GACjB,YAAa,CACX,MAAO,YACT,EACA,SAAU,aACV,IAAK,OACL,SAAU,UACV,MAAO,CACL,CACE,MAAO,oBACP,QACE,2LACJ,EACA,CACE,MAAO,iBACP,QACE,kLACJ,EACA,CACE,MAAO,qBACP,QACE,kMACJ,CACF,CACF,CACF,CACF","names":["Type","TfiLayoutAccordionSeparated","manifest","defineBrickManifest","TfiLayoutAccordionSeparated","defineProps","Type","textContentRef","boolean","fontSizeRef","cssLengthRef","StringEnum","colorPresetRef","loopRef","examples"]}
1
+ {"version":3,"sources":["../../src/shared/bricks/manifests/accordion.manifest.ts"],"sourcesContent":["import { Type } from \"@sinclair/typebox\";\nimport { TfiLayoutAccordionSeparated } from \"react-icons/tfi\";\nimport { defineBrickManifest } from \"~/shared/brick-manifest\";\nimport { StringEnum } from \"~/shared/utils/string-enum\";\nimport { boolean } from \"../props/boolean\";\nimport { defineProps } from \"../props/helpers\";\nimport { colorPresetRef } from \"../props/color-preset\";\nimport { fontSizeRef, textContentRef } from \"../props/text\";\nimport type { BrickProps } from \"../props/types\";\nimport { loopRef } from \"../props/dynamic\";\nimport { cssLengthRef } from \"../props/css-length\";\n\nexport const manifest = defineBrickManifest({\n type: \"accordion\",\n name: \"Accordion\",\n description: \"An accordion/collapse element for expandable content\",\n aiInstructions: `\nThis accordion element displays content in collapsible panels.\nIt is typically used for FAQ sections, organized documentation, or to save space.\nEach item has a title and expandable content area.\nMultiple panels can be open simultaneously or limited to one at a time.\n `.trim(),\n icon: TfiLayoutAccordionSeparated,\n\n defaultWidth: { desktop: \"450px\", mobile: \"100%\" },\n\n props: defineProps({\n items: Type.Array(\n Type.Object({\n title: textContentRef({\n title: \"Title\",\n default: \"My title\",\n disableSizing: true,\n showInSettings: true,\n }),\n content: textContentRef({ title: \"Content\", default: \"Expandable content goes here\" }),\n defaultOpen: Type.Optional(boolean(\"Open by default\", false)),\n }),\n {\n title: \"Accordion items\",\n metadata: {\n category: \"content\",\n },\n },\n ),\n fontSize: Type.Optional(fontSizeRef({ default: \"inherit\" })),\n restrictOneOpen: boolean(\"Restrict to one open item\", false, {\n description:\n \"Restrict to one open item at a time. If false, multiple items can be open simultaneously.\",\n }),\n gap: Type.Optional(\n cssLengthRef({\n title: \"Gap\",\n description: \"The gap between the accordion items.\",\n default: \"1px\",\n \"ui:styleId\": \"styles:gap\",\n }),\n ),\n rounding: Type.Optional(\n StringEnum(\n [\n \"rounded-auto\",\n \"rounded-none\",\n \"rounded-sm\",\n \"rounded-md\",\n \"rounded-lg\",\n \"rounded-xl\",\n \"rounded-2xl\",\n \"rounded-3xl\",\n ],\n {\n title: \"Corner rounding\",\n enumNames: [\"Auto\", \"None\", \"Small\", \"Medium\", \"Large\", \"Extra large\", \"2xl\", \"3xl\"],\n \"ui:placeholder\": \"Not specified\",\n \"ui:field\": \"enum\",\n \"ui:display\": \"select\",\n \"ui:styleId\": \"styles:rounding\",\n default: \"rounded-auto\",\n },\n ),\n ),\n colorPreset: Type.Optional(\n colorPresetRef({\n title: \"Color\",\n default: { color: \"bg-primary-500 text-primary-500-content\" },\n }),\n ),\n loop: Type.Optional(loopRef()),\n }),\n});\n\nexport type Manifest = typeof manifest;\n\nexport const examples: {\n description: string;\n type: string;\n props: BrickProps<Manifest>[\"brick\"][\"props\"];\n}[] = [\n {\n description: \"FAQ section with card styling with single open\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n items: [\n {\n title: \"What is included in the basic plan?\",\n content:\n \"The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.\",\n defaultOpen: true,\n },\n {\n title: \"How do I cancel my subscription?\",\n content:\n \"You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle.\",\n },\n {\n title: \"Is there a free trial available?\",\n content:\n \"Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period.\",\n },\n {\n title: \"What payment methods do you accept?\",\n content:\n \"We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners.\",\n },\n {\n title: \"Do you offer refunds?\",\n content:\n \"We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund.\",\n },\n ],\n },\n },\n {\n description: \"Product features accordion with multiple open panels and secondary color scheme\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"secondary-400\",\n },\n rounding: \"rounded-lg\",\n gap: \"0.5rem\",\n items: [\n {\n title: \"Advanced Analytics Dashboard\",\n content:\n \"Get detailed insights into your business performance with real-time analytics, custom reports, and data visualization tools. Track key metrics, monitor trends, and make data-driven decisions.\",\n defaultOpen: true,\n },\n {\n title: \"Team Collaboration Tools\",\n content:\n \"Work seamlessly with your team using built-in collaboration features including shared workspaces, real-time editing, comments, and task management. Perfect for remote and hybrid teams.\",\n defaultOpen: true,\n },\n {\n title: \"API Integration & Automation\",\n content:\n \"Connect with over 1000+ popular tools and services through our robust API. Set up automated workflows, sync data across platforms, and streamline your business processes.\",\n },\n {\n title: \"Enterprise Security\",\n content:\n \"Bank-level security with end-to-end encryption, SSO integration, two-factor authentication, and compliance with SOC 2, GDPR, and HIPAA standards.\",\n },\n ],\n },\n },\n {\n description: \"Documentation sections with neutral styling and large font size\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"neutral-200\",\n },\n fontSize: \"text-lg\",\n rounding: \"rounded-md\",\n gap: \"2px\",\n items: [\n {\n title: \"Getting Started\",\n content:\n \"Learn the basics of our platform with step-by-step tutorials, setup guides, and quick start examples. Perfect for new users who want to get up and running quickly.\",\n },\n {\n title: \"API Reference\",\n content:\n \"Complete API documentation with endpoints, parameters, response examples, and SDKs for popular programming languages including JavaScript, Python, PHP, and Ruby.\",\n },\n {\n title: \"Advanced Configuration\",\n content:\n \"Deep dive into advanced features, custom configurations, webhooks, and enterprise-level integrations. Includes code samples and best practices.\",\n },\n ],\n },\n },\n {\n description: \"Restaurant menu sections with accent colors and extra large rounding\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n colorPreset: {\n color: \"accent-500\",\n },\n rounding: \"rounded-xl\",\n gap: \"1rem\",\n items: [\n {\n title: \"Appetizers & Starters\",\n content:\n \"Bruschetta with Fresh Tomatoes - $8.99<br/>Calamari Rings with Marinara - $12.99<br/>Spinach & Artichoke Dip - $10.99<br/>Buffalo Wings (6 pieces) - $9.99\",\n defaultOpen: true,\n },\n {\n title: \"Main Courses\",\n content:\n \"Grilled Salmon with Herbs - $18.99<br/>Chicken Parmesan with Pasta - $16.99<br/>Ribeye Steak (12oz) - $24.99<br/>Vegetarian Lasagna - $14.99\",\n },\n {\n title: \"Desserts\",\n content:\n \"Tiramisu - $7.99<br/>Chocolate Lava Cake - $8.99<br/>New York Cheesecake - $6.99<br/>Gelato (3 scoops) - $5.99\",\n },\n ],\n },\n },\n {\n description: \"Course curriculum with primary colors and minimal gap\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"primary-600\",\n },\n rounding: \"rounded-sm\",\n gap: \"1px\",\n fontSize: \"text-base\",\n items: [\n {\n title: \"Week 1: Introduction to Web Development\",\n content:\n \"Learn the fundamentals of HTML, CSS, and basic JavaScript. Set up your development environment and create your first web page. Includes hands-on exercises and project templates.\",\n },\n {\n title: \"Week 2: Responsive Design & CSS Framework\",\n content:\n \"Master responsive web design principles, CSS Grid, Flexbox, and popular frameworks like Bootstrap and Tailwind CSS. Build mobile-first designs that work on all devices.\",\n },\n {\n title: \"Week 3: JavaScript Fundamentals\",\n content:\n \"Deep dive into JavaScript programming including variables, functions, objects, arrays, DOM manipulation, and event handling. Build interactive web applications.\",\n },\n {\n title: \"Week 4: Modern JavaScript & APIs\",\n content:\n \"Learn ES6+ features, async/await, fetch API, and how to work with external APIs. Create dynamic applications that interact with real-world data sources.\",\n },\n ],\n },\n },\n {\n description: \"Legal terms accordion with neutral dark theme and large gaps\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n colorPreset: {\n color: \"neutral-800\",\n },\n rounding: \"rounded-lg\",\n gap: \"1.5rem\",\n fontSize: \"text-sm\",\n items: [\n {\n title: \"Terms of Service\",\n content:\n \"By accessing and using this website, you accept and agree to be bound by the terms and provision of this agreement. These terms apply to all visitors, users, and others who access or use the service.\",\n },\n {\n title: \"Privacy Policy\",\n content:\n \"We collect information you provide directly to us, such as when you create an account, make a purchase, or contact us. We use this information to provide, maintain, and improve our services.\",\n },\n {\n title: \"Cookie Policy\",\n content:\n \"We use cookies and similar tracking technologies to track activity on our service and hold certain information. You can instruct your browser to refuse all cookies or indicate when a cookie is being sent.\",\n },\n ],\n },\n },\n {\n description: \"Event schedule with secondary colors and 2xl rounding\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"secondary-300\",\n },\n rounding: \"rounded-2xl\",\n gap: \"0.75rem\",\n items: [\n {\n title: \"Day 1: Opening Ceremony & Keynotes\",\n content:\n \"9:00 AM - Registration & Welcome Coffee<br/>10:00 AM - Opening Ceremony<br/>11:00 AM - Keynote: Future of Technology<br/>12:30 PM - Networking Lunch<br/>2:00 PM - Panel Discussion<br/>4:00 PM - Closing Remarks\",\n defaultOpen: true,\n },\n {\n title: \"Day 2: Workshops & Technical Sessions\",\n content:\n \"9:00 AM - Workshop: AI in Practice<br/>11:00 AM - Technical Deep Dive: Cloud Architecture<br/>1:00 PM - Lunch Break<br/>2:30 PM - Hands-on Lab: DevOps Tools<br/>4:30 PM - Q&A Session\",\n },\n {\n title: \"Day 3: Networking & Demo Day\",\n content:\n \"10:00 AM - Startup Pitch Competition<br/>12:00 PM - Demo Showcase<br/>2:00 PM - Networking Session<br/>3:30 PM - Awards Ceremony<br/>5:00 PM - Closing Party\",\n },\n ],\n },\n },\n {\n description: \"Fitness program details with accent colors and 3xl rounding\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n colorPreset: {\n color: \"accent-400\",\n },\n rounding: \"rounded-3xl\",\n gap: \"1.25rem\",\n fontSize: \"text-lg\",\n items: [\n {\n title: \"Beginner Program (4 weeks)\",\n content:\n \"Perfect for newcomers to fitness. Includes basic bodyweight exercises, flexibility training, and cardio. 3 sessions per week, 45 minutes each. Includes nutrition guidance and progress tracking.\",\n },\n {\n title: \"Intermediate Program (8 weeks)\",\n content:\n \"For those with some fitness experience. Combines strength training, HIIT workouts, and endurance building. 4 sessions per week, 60 minutes each. Includes meal planning and supplement recommendations.\",\n },\n {\n title: \"Advanced Program (12 weeks)\",\n content:\n \"High-intensity program for experienced athletes. Features complex movements, periodization, and sport-specific training. 5-6 sessions per week. Includes recovery protocols and performance optimization.\",\n },\n ],\n },\n },\n {\n description: \"Support categories with primary colors and no rounding\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"primary-300\",\n },\n rounding: \"rounded-none\",\n gap: \"0px\",\n fontSize: \"text-base\",\n items: [\n {\n title: \"Account & Billing\",\n content:\n \"Get help with account settings, password reset, billing questions, subscription management, and payment issues. Average response time: 2 hours during business hours.\",\n },\n {\n title: \"Technical Support\",\n content:\n \"Troubleshoot technical issues, API problems, integration questions, and performance concerns. Includes access to our knowledge base and video tutorials.\",\n },\n {\n title: \"Sales & Partnerships\",\n content:\n \"Inquiries about enterprise solutions, custom pricing, partnership opportunities, and bulk discounts. Schedule a call with our sales team for personalized assistance.\",\n },\n {\n title: \"Feature Requests\",\n content:\n \"Submit ideas for new features, improvements, and integrations. Our product team reviews all suggestions and provides updates on development roadmap.\",\n },\n ],\n },\n },\n {\n description: \"Company policies with neutral colors and small font size\",\n type: \"accordion\",\n props: {\n restrictOneOpen: true,\n colorPreset: {\n color: \"neutral-100\",\n },\n rounding: \"rounded-md\",\n gap: \"0.25rem\",\n fontSize: \"text-sm\",\n items: [\n {\n title: \"Remote Work Policy\",\n content:\n \"All employees have the flexibility to work remotely full-time or adopt a hybrid schedule. Required equipment is provided, and employees must maintain reliable internet connection and dedicated workspace.\",\n },\n {\n title: \"Professional Development\",\n content:\n \"Annual budget of $2,000 per employee for conferences, courses, certifications, and training materials. Time off is provided for approved learning activities and skill development.\",\n },\n {\n title: \"Time Off & Benefits\",\n content:\n \"Unlimited PTO policy with minimum 3 weeks encouraged annually. Comprehensive health insurance, dental, vision, 401k matching, and wellness stipend included.\",\n },\n ],\n },\n },\n {\n description: \"Product comparison with secondary colors and multiple defaults open\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"secondary-500\",\n },\n rounding: \"rounded-lg\",\n gap: \"0.5rem\",\n fontSize: \"text-base\",\n items: [\n {\n title: \"Basic Plan - $9/month\",\n content:\n \"✓ Up to 5 projects<br/>✓ 10GB storage<br/>✓ Email support<br/>✓ Basic analytics<br/>✓ Mobile app access<br/>✗ API access<br/>✗ Custom integrations\",\n defaultOpen: true,\n },\n {\n title: \"Pro Plan - $29/month\",\n content:\n \"✓ Unlimited projects<br/>✓ 100GB storage<br/>✓ Priority support<br/>✓ Advanced analytics<br/>✓ API access<br/>✓ Custom integrations<br/>✓ Team collaboration\",\n defaultOpen: true,\n },\n {\n title: \"Enterprise Plan - Custom pricing\",\n content:\n \"✓ Everything in Pro<br/>✓ Unlimited storage<br/>✓ Dedicated support<br/>✓ White-label options<br/>✓ SSO integration<br/>✓ Custom contracts<br/>✓ On-premise deployment\",\n },\n ],\n },\n },\n {\n description: \"Troubleshooting guide with accent colors and large font\",\n type: \"accordion\",\n props: {\n restrictOneOpen: false,\n colorPreset: {\n color: \"accent-600\",\n },\n rounding: \"rounded-xl\",\n gap: \"1rem\",\n fontSize: \"text-lg\",\n items: [\n {\n title: \"Connection Issues\",\n content:\n \"1. Check your internet connection<br/>2. Clear browser cache and cookies<br/>3. Disable VPN if active<br/>4. Try incognito/private browsing mode<br/>5. Contact support if issues persist\",\n },\n {\n title: \"Login Problems\",\n content:\n \"1. Verify your email address and password<br/>2. Use 'Forgot Password' to reset<br/>3. Check for CAPS LOCK<br/>4. Try a different browser<br/>5. Ensure account is not suspended\",\n },\n {\n title: \"Performance Issues\",\n content:\n \"1. Close unnecessary browser tabs<br/>2. Update your browser to latest version<br/>3. Disable browser extensions<br/>4. Check system resources (RAM/CPU)<br/>5. Try using the mobile app instead\",\n },\n ],\n },\n },\n];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,YAAY;AACrB,SAAS,mCAAmC;AAWrC,IAAM,WAAW,oBAAoB;AAAA,EAC1C,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,gBAAgB;AAAA;AAAA;AAAA;AAAA;AAAA,IAKd,KAAK;AAAA,EACP,MAAM;AAAA,EAEN,cAAc,EAAE,SAAS,SAAS,QAAQ,OAAO;AAAA,EAEjD,OAAO,YAAY;AAAA,IACjB,OAAO,KAAK;AAAA,MACV,KAAK,OAAO;AAAA,QACV,OAAO,eAAe;AAAA,UACpB,OAAO;AAAA,UACP,SAAS;AAAA,UACT,eAAe;AAAA,UACf,gBAAgB;AAAA,QAClB,CAAC;AAAA,QACD,SAAS,eAAe,EAAE,OAAO,WAAW,SAAS,+BAA+B,CAAC;AAAA,QACrF,aAAa,KAAK,SAAS,QAAQ,mBAAmB,KAAK,CAAC;AAAA,MAC9D,CAAC;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,UAAU;AAAA,UACR,UAAU;AAAA,QACZ;AAAA,MACF;AAAA,IACF;AAAA,IACA,UAAU,KAAK,SAAS,YAAY,EAAE,SAAS,UAAU,CAAC,CAAC;AAAA,IAC3D,iBAAiB,QAAQ,6BAA6B,OAAO;AAAA,MAC3D,aACE;AAAA,IACJ,CAAC;AAAA,IACD,KAAK,KAAK;AAAA,MACR,aAAa;AAAA,QACX,OAAO;AAAA,Q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;AAAA,MACV,KAAK;AAAA,MACL,UAAU;AAAA,MACV,OAAO;AAAA,QACL;AAAA,UACE,OAAO;AAAA,UACP,SACE;AAAA,UACF,aAAa;AAAA,QACf;AAAA,QACA;AAAA,UACE,OAAO;AAAA,UACP,SACE;AAAA,UACF,aAAa;AAAA,QACf;AAAA,QACA;AAAA,UACE,OAAO;AAAA,UACP,SACE;AAAA,QACJ;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,aAAa;AAAA,IACb,MAAM;AAAA,IACN,OAAO;AAAA,MACL,iBAAiB;AAAA,MACjB,aAAa;AAAA,QACX,OAAO;AAAA,MACT;AAAA,MACA,UAAU;AAAA,MACV,KAAK;AAAA,MACL,UAAU;AAAA,MACV,OAAO;AAAA,QACL;AAAA,UACE,OAAO;AAAA,UACP,SACE;AAAA,QACJ;AAAA,QACA;AAAA,UACE,OAAO;AAAA,UACP,SACE;AAAA,QACJ;AAAA,QACA;AAAA,UACE,OAAO;AAAA,UACP,SACE;AAAA,QACJ;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
@@ -0,0 +1,74 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import {
4
+ cssLengthRef
5
+ } from "./chunk-BPBKHEQ5.js";
6
+ import {
7
+ alignSelfRef
8
+ } from "./chunk-ZLYIRH2B.js";
9
+ import {
10
+ typedRef
11
+ } from "./chunk-A2QPY54H.js";
12
+
13
+ // src/shared/bricks/props/common.ts
14
+ import { Type } from "@sinclair/typebox";
15
+ function hidden() {
16
+ return Type.Object(
17
+ {
18
+ desktop: Type.Optional(Type.Boolean()),
19
+ mobile: Type.Optional(Type.Boolean())
20
+ },
21
+ {
22
+ // $id: "styles:hidden",
23
+ title: "Hidden",
24
+ description: "Used to hide the brick on desktop or mobile.",
25
+ "ui:field": "hidden"
26
+ }
27
+ );
28
+ }
29
+ var commonProps = {
30
+ lastTouched: Type.Optional(
31
+ Type.Number({
32
+ "ui:field": "hidden",
33
+ "ai:hidden": true
34
+ })
35
+ ),
36
+ hidden: Type.Optional(typedRef("styles:hidden")),
37
+ editable: Type.Optional(
38
+ Type.Boolean({
39
+ "ui:field": "hidden",
40
+ "ai:hidden": true
41
+ })
42
+ ),
43
+ width: Type.Optional(
44
+ cssLengthRef({
45
+ title: "Fixed Width",
46
+ 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.",
47
+ "ai:instructions": "Use percentage values to make the width responsive, like '50%'",
48
+ "ui:field": "hidden"
49
+ })
50
+ ),
51
+ height: Type.Optional(
52
+ cssLengthRef({
53
+ title: "Fixed height",
54
+ 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.",
55
+ "ui:field": "hidden"
56
+ })
57
+ ),
58
+ grow: Type.Optional(
59
+ Type.Boolean({
60
+ title: "Auto expand",
61
+ description: "If set, the brick will grow to fill the available space of its parent section or box.",
62
+ "ui:styleId": "styles:grow",
63
+ "ui:responsive": true
64
+ })
65
+ ),
66
+ alignSelf: Type.Optional(alignSelfRef())
67
+ };
68
+ var commonPropsSchema = Type.Object(commonProps);
69
+
70
+ export {
71
+ hidden,
72
+ commonProps
73
+ };
74
+ //# sourceMappingURL=chunk-2RK3CPYJ.js.map