@upstart.gg/sdk 0.0.134 → 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.
- package/dist/shared/ai/schemas.d.ts +1 -2
- package/dist/shared/ai/schemas.d.ts.map +1 -1
- package/dist/shared/ai/schemas.js +28 -1
- package/dist/shared/ai/schemas.js.map +1 -1
- package/dist/shared/ai/types.d.ts +15 -1
- package/dist/shared/ai/types.d.ts.map +1 -1
- package/dist/shared/ajv.js +6861 -1
- package/dist/shared/ajv.js.map +1 -1
- package/dist/shared/analytics/init.js +20 -1
- package/dist/shared/analytics/init.js.map +1 -1
- package/dist/shared/analytics/track.js +24 -1
- package/dist/shared/analytics/track.js.map +1 -1
- package/dist/shared/attributes.d.ts +97 -30
- package/dist/shared/attributes.d.ts.map +1 -1
- package/dist/shared/attributes.js +46 -1
- package/dist/shared/brick-manifest.d.ts +1 -1
- package/dist/shared/brick-manifest.js +26 -1
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/accordion.manifest.js +29 -1
- package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +59 -1
- package/dist/shared/bricks/manifests/box.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/box.manifest.js +28 -1
- package/dist/shared/bricks/manifests/button.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/button.manifest.js +28 -1
- package/dist/shared/bricks/manifests/card.manifest.d.ts +3 -3
- package/dist/shared/bricks/manifests/card.manifest.js +28 -1
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/carousel.manifest.js +28 -1
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +4 -4
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +30 -1
- package/dist/shared/bricks/manifests/form.manifest.d.ts +3 -3
- package/dist/shared/bricks/manifests/form.manifest.js +29 -1
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/hero.manifest.js +28 -1
- package/dist/shared/bricks/manifests/html.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/html.manifest.js +28 -1
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/icon.manifest.js +28 -1
- package/dist/shared/bricks/manifests/image.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/image.manifest.js +28 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +28 -1
- package/dist/shared/bricks/manifests/map.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/map.manifest.js +31 -1
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts +4 -4
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/navbar.manifest.js +31 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/sidebar.manifest.js +29 -1
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/social-links.manifest.js +28 -1
- package/dist/shared/bricks/manifests/spacer.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/spacer.manifest.js +28 -1
- package/dist/shared/bricks/manifests/table.manifest.d.ts +91 -0
- package/dist/shared/bricks/manifests/table.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/table.manifest.js +31 -0
- package/dist/shared/bricks/manifests/tabs.manifest.d.ts +90 -0
- package/dist/shared/bricks/manifests/tabs.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/tabs.manifest.js +31 -0
- package/dist/shared/bricks/manifests/tabs.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/testimonials.manifest.js +28 -1
- package/dist/shared/bricks/manifests/text.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/text.manifest.js +28 -1
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts +101 -0
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/timeline.manifest.js +31 -0
- package/dist/shared/bricks/manifests/timeline.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/video.manifest.d.ts +2 -2
- package/dist/shared/bricks/manifests/video.manifest.js +28 -1
- package/dist/shared/bricks/props/align.d.ts +2 -2
- package/dist/shared/bricks/props/align.js +19 -1
- package/dist/shared/bricks/props/background.d.ts +4 -4
- package/dist/shared/bricks/props/background.js +15 -1
- package/dist/shared/bricks/props/boolean.js +7 -1
- package/dist/shared/bricks/props/border.js +16 -1
- package/dist/shared/bricks/props/color-preset.d.ts.map +1 -1
- package/dist/shared/bricks/props/color-preset.js +13 -1
- package/dist/shared/bricks/props/color.js +14 -1
- package/dist/shared/bricks/props/common.d.ts +2 -2
- package/dist/shared/bricks/props/common.js +13 -1
- package/dist/shared/bricks/props/css-length.js +14 -1
- package/dist/shared/bricks/props/datarecord.js +7 -1
- package/dist/shared/bricks/props/datasource.d.ts +1 -1
- package/dist/shared/bricks/props/datasource.js +86 -1
- package/dist/shared/bricks/props/datasource.js.map +1 -1
- package/dist/shared/bricks/props/date.js +9 -1
- package/dist/shared/bricks/props/direction.js +11 -1
- package/dist/shared/bricks/props/dynamic.d.ts.map +1 -1
- package/dist/shared/bricks/props/dynamic.js +30 -1
- package/dist/shared/bricks/props/effects.js +17 -1
- package/dist/shared/bricks/props/file.js +15 -1
- package/dist/shared/bricks/props/file.js.map +1 -1
- package/dist/shared/bricks/props/geolocation.js +44 -1
- package/dist/shared/bricks/props/geolocation.js.map +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +1 -1
- package/dist/shared/bricks/props/helpers.js +18 -1
- package/dist/shared/bricks/props/image.js +11 -1
- package/dist/shared/bricks/props/number.js +7 -1
- package/dist/shared/bricks/props/position.js +7 -1
- package/dist/shared/bricks/props/string.js +18 -1
- package/dist/shared/bricks/props/tags.js +10 -1
- package/dist/shared/bricks/props/text.js +19 -1
- package/dist/shared/bricks.d.ts +56 -44
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +79 -1
- package/dist/shared/chunk-2BPYOTKA.js +21 -0
- package/dist/shared/{chunk-WHTPGWUV.js.map → chunk-2BPYOTKA.js.map} +1 -1
- package/dist/shared/chunk-2HO4FHLM.js +456 -0
- package/dist/shared/{chunk-I3VL6SRH.js.map → chunk-2HO4FHLM.js.map} +1 -1
- package/dist/shared/chunk-2RK3CPYJ.js +74 -0
- package/dist/shared/{chunk-W33JMRRN.js.map → chunk-2RK3CPYJ.js.map} +1 -1
- package/dist/shared/chunk-3KLRW4I2.js +560 -0
- package/dist/shared/{chunk-B3EATRFX.js.map → chunk-3KLRW4I2.js.map} +1 -1
- package/dist/shared/chunk-3ZDN5BWN.js +18 -0
- package/dist/shared/{chunk-OIY3EPHO.js.map → chunk-3ZDN5BWN.js.map} +1 -1
- package/dist/shared/chunk-4WI23M7W.js +30 -0
- package/dist/shared/chunk-4WI23M7W.js.map +1 -0
- package/dist/shared/chunk-55C6MTX2.js +21 -0
- package/dist/shared/{chunk-KBHDY425.js.map → chunk-55C6MTX2.js.map} +1 -1
- package/dist/shared/chunk-6E42XWFH.js +103 -0
- package/dist/shared/{chunk-ZA3GAB4H.js.map → chunk-6E42XWFH.js.map} +1 -1
- package/dist/shared/chunk-6TVVKUWM.js +15 -0
- package/dist/shared/{chunk-4WDWJA3N.js.map → chunk-6TVVKUWM.js.map} +1 -1
- package/dist/shared/chunk-6WIMWLCJ.js +17 -0
- package/dist/shared/{chunk-KYY3PHP7.js.map → chunk-6WIMWLCJ.js.map} +1 -1
- package/dist/shared/chunk-7LAWWRU7.js +21 -0
- package/dist/shared/{chunk-IUXCWWGO.js.map → chunk-7LAWWRU7.js.map} +1 -1
- package/dist/shared/chunk-A2QPY54H.js +13 -0
- package/dist/shared/{chunk-KFM6KXSE.js.map → chunk-A2QPY54H.js.map} +1 -1
- package/dist/shared/chunk-BHC2A43S.js +67 -0
- package/dist/shared/{chunk-3YVJ2ELD.js.map → chunk-BHC2A43S.js.map} +1 -1
- package/dist/shared/chunk-BMWRR4DI.js +572 -0
- package/dist/shared/chunk-BMWRR4DI.js.map +1 -0
- package/dist/shared/chunk-BPBKHEQ5.js +39 -0
- package/dist/shared/{chunk-OHNYCXPX.js.map → chunk-BPBKHEQ5.js.map} +1 -1
- package/dist/shared/chunk-BW6EFRSF.js +794 -0
- package/dist/shared/chunk-BW6EFRSF.js.map +1 -0
- package/dist/shared/chunk-CKFRSHR2.js +105 -0
- package/dist/shared/{chunk-CFF6Q7O7.js.map → chunk-CKFRSHR2.js.map} +1 -1
- package/dist/shared/chunk-CSF2WQX2.js +60 -0
- package/dist/shared/{chunk-GLS7HPIZ.js.map → chunk-CSF2WQX2.js.map} +1 -1
- package/dist/shared/chunk-D4YQ6ABM.js +338 -0
- package/dist/shared/{chunk-PXI7AHWS.js.map → chunk-D4YQ6ABM.js.map} +1 -1
- package/dist/shared/chunk-DRTGM2UJ.js +129 -0
- package/dist/shared/{chunk-FLOMNC6J.js.map → chunk-DRTGM2UJ.js.map} +1 -1
- package/dist/shared/chunk-EQMU6NIU.js +1222 -0
- package/dist/shared/chunk-EQMU6NIU.js.map +1 -0
- package/dist/shared/chunk-EWSPTRDL.js +378 -0
- package/dist/shared/{chunk-QX6OGRRT.js.map → chunk-EWSPTRDL.js.map} +1 -1
- package/dist/shared/chunk-F22LDHEO.js +105 -0
- package/dist/shared/{chunk-5YRC3IT3.js.map → chunk-F22LDHEO.js.map} +1 -1
- package/dist/shared/chunk-FVU5PXRC.js +244 -0
- package/dist/shared/chunk-FVU5PXRC.js.map +1 -0
- package/dist/shared/chunk-GCQURRVB.js +837 -0
- package/dist/shared/{chunk-WYVJE6J5.js.map → chunk-GCQURRVB.js.map} +1 -1
- package/dist/shared/chunk-GPCI2N2A.js +395 -0
- package/dist/shared/{chunk-WBZW5LVH.js.map → chunk-GPCI2N2A.js.map} +1 -1
- package/dist/shared/chunk-GRMY35BU.js +722 -0
- package/dist/shared/{chunk-NJGXC7D6.js.map → chunk-GRMY35BU.js.map} +1 -1
- package/dist/shared/chunk-HPCCD6V5.js +17 -0
- package/dist/shared/{chunk-6I3ONVU6.js.map → chunk-HPCCD6V5.js.map} +1 -1
- package/dist/shared/chunk-JK2FWFJU.js +15 -0
- package/dist/shared/{chunk-JMN3HTZU.js.map → chunk-JK2FWFJU.js.map} +1 -1
- package/dist/shared/chunk-KNREHAPN.js +13 -0
- package/dist/shared/{chunk-KSEURRVZ.js.map → chunk-KNREHAPN.js.map} +1 -1
- package/dist/shared/chunk-KT7SSWMM.js +24 -0
- package/dist/shared/{chunk-KO5FPOWZ.js.map → chunk-KT7SSWMM.js.map} +1 -1
- package/dist/shared/chunk-LXAO3JA6.js +368 -0
- package/dist/shared/chunk-LXAO3JA6.js.map +1 -0
- package/dist/shared/chunk-MLZT7MRQ.js +538 -0
- package/dist/shared/chunk-MLZT7MRQ.js.map +1 -0
- package/dist/shared/chunk-NT3IW52F.js +260 -0
- package/dist/shared/chunk-NT3IW52F.js.map +1 -0
- package/dist/shared/chunk-NTLAKMMQ.js +94 -0
- package/dist/shared/{chunk-ZTZJHY4E.js.map → chunk-NTLAKMMQ.js.map} +1 -1
- package/dist/shared/chunk-O5PLB3YB.js +413 -0
- package/dist/shared/chunk-O5PLB3YB.js.map +1 -0
- package/dist/shared/chunk-O5PQISX4.js +51 -0
- package/dist/shared/{chunk-VEDQV5XO.js.map → chunk-O5PQISX4.js.map} +1 -1
- package/dist/shared/chunk-OJP4HMJT.js +22 -0
- package/dist/shared/{chunk-6HLU4UI2.js.map → chunk-OJP4HMJT.js.map} +1 -1
- package/dist/shared/chunk-OSJ6KGPX.js +16 -0
- package/dist/shared/{chunk-GPEMPZXK.js.map → chunk-OSJ6KGPX.js.map} +1 -1
- package/dist/shared/chunk-OXYXZHP2.js +48 -0
- package/dist/shared/{chunk-5O4Z3YQY.js.map → chunk-OXYXZHP2.js.map} +1 -1
- package/dist/shared/chunk-P3RH5URN.js +230 -0
- package/dist/shared/{chunk-R6ATC4TC.js.map → chunk-P3RH5URN.js.map} +1 -1
- package/dist/shared/chunk-Q4NPPLEU.js +34 -0
- package/dist/shared/{chunk-QWGUMKZC.js.map → chunk-Q4NPPLEU.js.map} +1 -1
- package/dist/shared/chunk-QL3T5HJQ.js +59 -0
- package/dist/shared/{chunk-E6XEI7IK.js.map → chunk-QL3T5HJQ.js.map} +1 -1
- package/dist/shared/chunk-QLQVDZIL.js +11 -0
- package/dist/shared/{chunk-KLD3P5XH.js.map → chunk-QLQVDZIL.js.map} +1 -1
- package/dist/shared/chunk-QQQ3FYPG.js +248 -0
- package/dist/shared/{chunk-SXHDQ64Z.js.map → chunk-QQQ3FYPG.js.map} +1 -1
- package/dist/shared/chunk-QSND5IWT.js +165 -0
- package/dist/shared/{chunk-ZQPXQCY2.js.map → chunk-QSND5IWT.js.map} +1 -1
- package/dist/shared/chunk-RV7AYVFV.js +75 -0
- package/dist/shared/{chunk-DHI3IBOD.js.map → chunk-RV7AYVFV.js.map} +1 -1
- package/dist/shared/chunk-SE6O65HC.js +44 -0
- package/dist/shared/{chunk-NM5MMPCF.js.map → chunk-SE6O65HC.js.map} +1 -1
- package/dist/shared/chunk-SHUGHJ7V.js +519 -0
- package/dist/shared/{chunk-IKC3FK7L.js.map → chunk-SHUGHJ7V.js.map} +1 -1
- package/dist/shared/chunk-TB3X4LRQ.js +56 -0
- package/dist/shared/{chunk-RJYZ5FAR.js.map → chunk-TB3X4LRQ.js.map} +1 -1
- package/dist/shared/chunk-TEO6TJOM.js +212 -0
- package/dist/shared/chunk-TEO6TJOM.js.map +1 -0
- package/dist/shared/chunk-TFGGYU6Y.js +394 -0
- package/dist/shared/{chunk-CZRCW5EN.js.map → chunk-TFGGYU6Y.js.map} +1 -1
- package/dist/shared/chunk-TKMWY2VN.js +18 -0
- package/dist/shared/{chunk-RDZK73KV.js.map → chunk-TKMWY2VN.js.map} +1 -1
- package/dist/shared/chunk-TNMNMYOB.js +69 -0
- package/dist/shared/{chunk-4BTB3MU2.js.map → chunk-TNMNMYOB.js.map} +1 -1
- package/dist/shared/chunk-U7TVEPKA.js +432 -0
- package/dist/shared/chunk-U7TVEPKA.js.map +1 -0
- package/dist/shared/chunk-UQF52PWK.js +70 -0
- package/dist/shared/{chunk-A3GF4PYW.js.map → chunk-UQF52PWK.js.map} +1 -1
- package/dist/shared/chunk-V3UA3LRK.js +253 -0
- package/dist/shared/{chunk-G5CJU6RD.js.map → chunk-V3UA3LRK.js.map} +1 -1
- package/dist/shared/chunk-W6MRYRGJ.js +100 -0
- package/dist/shared/{chunk-CCI4C3TM.js.map → chunk-W6MRYRGJ.js.map} +1 -1
- package/dist/shared/chunk-WGDUJSSS.js +462 -0
- package/dist/shared/chunk-WGDUJSSS.js.map +1 -0
- package/dist/shared/chunk-WKN566LN.js +29 -0
- package/dist/shared/{chunk-Q4H4QEMB.js.map → chunk-WKN566LN.js.map} +1 -1
- package/dist/shared/chunk-X6N463D4.js +222 -0
- package/dist/shared/{chunk-IKHZD2JH.js.map → chunk-X6N463D4.js.map} +1 -1
- package/dist/shared/chunk-X75YV73Q.js +178 -0
- package/dist/shared/{chunk-PLSV746R.js.map → chunk-X75YV73Q.js.map} +1 -1
- package/dist/shared/chunk-XCWMZVF5.js +89 -0
- package/dist/shared/{chunk-ZFCUSWMT.js.map → chunk-XCWMZVF5.js.map} +1 -1
- package/dist/shared/chunk-XCZVD5H6.js +13 -0
- package/dist/shared/{chunk-HAGKVQOW.js.map → chunk-XCZVD5H6.js.map} +1 -1
- package/dist/shared/chunk-XZ6WJZHN.js +10 -0
- package/dist/shared/{chunk-DCH4ZKWT.js.map → chunk-XZ6WJZHN.js.map} +1 -1
- package/dist/shared/chunk-Y74LZNND.js +30 -0
- package/dist/shared/{chunk-GACHLACT.js.map → chunk-Y74LZNND.js.map} +1 -1
- package/dist/shared/chunk-Z2NTDFB4.js +505 -0
- package/dist/shared/{chunk-SQ5T4AT5.js.map → chunk-Z2NTDFB4.js.map} +1 -1
- package/dist/shared/chunk-Z35I5JM5.js +131 -0
- package/dist/shared/{chunk-PSTFJ5IJ.js.map → chunk-Z35I5JM5.js.map} +1 -1
- package/dist/shared/chunk-ZEFOWKYP.js +44 -0
- package/dist/shared/{chunk-DQ7PRWTG.js.map → chunk-ZEFOWKYP.js.map} +1 -1
- package/dist/shared/chunk-ZGQ3AQBG.js +33 -0
- package/dist/shared/chunk-ZGQ3AQBG.js.map +1 -0
- package/dist/shared/chunk-ZLYIRH2B.js +68 -0
- package/dist/shared/{chunk-SWLUQVK7.js.map → chunk-ZLYIRH2B.js.map} +1 -1
- package/dist/shared/datarecords/external/airtable/handler.js +377 -1
- package/dist/shared/datarecords/external/airtable/handler.js.map +1 -1
- package/dist/shared/datarecords/external/airtable/oauth/config.js +15 -1
- package/dist/shared/datarecords/external/airtable/oauth/config.js.map +1 -1
- package/dist/shared/datarecords/external/airtable/types.js +11 -1
- package/dist/shared/datarecords/external/generic-webhook/handler.js +14 -1
- package/dist/shared/datarecords/external/generic-webhook/handler.js.map +1 -1
- package/dist/shared/datarecords/external/generic-webhook/options.js +16 -1
- package/dist/shared/datarecords/external/generic-webhook/options.js.map +1 -1
- package/dist/shared/datarecords/external/google/oauth/config.js +35 -1
- package/dist/shared/datarecords/external/google/oauth/config.js.map +1 -1
- package/dist/shared/datarecords/external/google/sheets/client.js +7 -1
- package/dist/shared/datarecords/external/google/sheets/handler.js +184 -5
- package/dist/shared/datarecords/external/google/sheets/handler.js.map +1 -1
- package/dist/shared/datarecords/external/google/sheets/types.js +7 -1
- package/dist/shared/datarecords/external/notion/handler.js +397 -1
- package/dist/shared/datarecords/external/notion/handler.js.map +1 -1
- package/dist/shared/datarecords/external/notion/oauth/config.js +11 -1
- package/dist/shared/datarecords/external/notion/oauth/config.js.map +1 -1
- package/dist/shared/datarecords/external/notion/types.js +7 -1
- package/dist/shared/datarecords/types.d.ts +3 -3
- package/dist/shared/datarecords/types.js +16 -1
- package/dist/shared/datarecords.js +9 -1
- package/dist/shared/datarecords.js.map +1 -1
- package/dist/shared/datasources/external/facebook/posts/fetcher.js +49 -1
- package/dist/shared/datasources/external/facebook/posts/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/facebook/posts/schema.js +36 -1
- package/dist/shared/datasources/external/facebook/posts/schema.js.map +1 -1
- package/dist/shared/datasources/external/http-json/fetcher.js +29 -1
- package/dist/shared/datasources/external/http-json/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/http-json/options.js +11 -1
- package/dist/shared/datasources/external/http-json/options.js.map +1 -1
- package/dist/shared/datasources/external/http-json/schema.js +10 -1
- package/dist/shared/datasources/external/http-json/schema.js.map +1 -1
- package/dist/shared/datasources/external/instagram/feed/fetcher.js +29 -1
- package/dist/shared/datasources/external/instagram/feed/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/instagram/feed/schema.js +26 -1
- package/dist/shared/datasources/external/instagram/feed/schema.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/account/fetcher.js +7 -1
- package/dist/shared/datasources/external/mastodon/account/schema.js +7 -1
- package/dist/shared/datasources/external/mastodon/options.js +10 -1
- package/dist/shared/datasources/external/mastodon/options.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/fetcher.js +31 -1
- package/dist/shared/datasources/external/mastodon/status/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/sample.array.js +61 -1
- package/dist/shared/datasources/external/mastodon/status/sample.array.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/sample.single.js +59 -1
- package/dist/shared/datasources/external/mastodon/status/sample.single.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/schema.js +125 -1
- package/dist/shared/datasources/external/mastodon/status/schema.js.map +1 -1
- package/dist/shared/datasources/external/meta/oauth/config.js +17 -1
- package/dist/shared/datasources/external/meta/oauth/config.js.map +1 -1
- package/dist/shared/datasources/external/meta/options.js +10 -1
- package/dist/shared/datasources/external/meta/options.js.map +1 -1
- package/dist/shared/datasources/external/rss/fetcher.js +26 -1
- package/dist/shared/datasources/external/rss/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/rss/options.js +10 -1
- package/dist/shared/datasources/external/rss/options.js.map +1 -1
- package/dist/shared/datasources/external/rss/schema.js +7 -1
- package/dist/shared/datasources/external/threads/media/fetcher.js +47 -1
- package/dist/shared/datasources/external/threads/media/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/threads/media/schema.js +40 -1
- package/dist/shared/datasources/external/threads/media/schema.js.map +1 -1
- package/dist/shared/datasources/external/tiktok/oauth/config.js +18 -1
- package/dist/shared/datasources/external/tiktok/oauth/config.js.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/fetcher.js +34 -1
- package/dist/shared/datasources/external/tiktok/video/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/options.js +11 -1
- package/dist/shared/datasources/external/tiktok/video/options.js.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/schema.js +30 -1
- package/dist/shared/datasources/external/tiktok/video/schema.js.map +1 -1
- package/dist/shared/datasources/external/youtube/list/fetcher.js +32 -1
- package/dist/shared/datasources/external/youtube/list/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/youtube/list/options.js +14 -1
- package/dist/shared/datasources/external/youtube/list/options.js.map +1 -1
- package/dist/shared/datasources/external/youtube/list/schema.js +7 -1
- package/dist/shared/datasources/external/youtube/oauth/config.js +18 -1
- package/dist/shared/datasources/external/youtube/oauth/config.js.map +1 -1
- package/dist/shared/datasources/internal/blog/schema.js +72 -1
- package/dist/shared/datasources/internal/blog/schema.js.map +1 -1
- package/dist/shared/datasources/internal/changelog/schema.js +51 -1
- package/dist/shared/datasources/internal/changelog/schema.js.map +1 -1
- package/dist/shared/datasources/internal/contact-info/schema.js +25 -1
- package/dist/shared/datasources/internal/contact-info/schema.js.map +1 -1
- package/dist/shared/datasources/internal/cv/schema.js +222 -1
- package/dist/shared/datasources/internal/cv/schema.js.map +1 -1
- package/dist/shared/datasources/internal/faq/schema.js +30 -1
- package/dist/shared/datasources/internal/faq/schema.js.map +1 -1
- package/dist/shared/datasources/internal/job-board/schema.js +224 -1
- package/dist/shared/datasources/internal/job-board/schema.js.map +1 -1
- package/dist/shared/datasources/internal/links/schema.js +7 -1
- package/dist/shared/datasources/internal/recipes/schema.js +45 -1
- package/dist/shared/datasources/internal/recipes/schema.js.map +1 -1
- package/dist/shared/datasources/internal/restaurant/schema.js +226 -1
- package/dist/shared/datasources/internal/restaurant/schema.js.map +1 -1
- package/dist/shared/datasources/samples.js +69 -1
- package/dist/shared/datasources/samples.js.map +1 -1
- package/dist/shared/datasources/schemas.js +34 -1
- package/dist/shared/datasources/schemas.js.map +1 -1
- package/dist/shared/datasources/types.d.ts +1 -1
- package/dist/shared/datasources/types.d.ts.map +1 -1
- package/dist/shared/datasources/types.js +32 -1
- package/dist/shared/datasources/utils.js +11 -1
- package/dist/shared/datasources.js +51 -1
- package/dist/shared/datasources.js.map +1 -1
- package/dist/shared/errors.js +7 -1
- package/dist/shared/images.d.ts +4 -4
- package/dist/shared/images.d.ts.map +1 -1
- package/dist/shared/images.js +44 -1
- package/dist/shared/images.js.map +1 -1
- package/dist/shared/index.js +9 -1
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/layout-constants.js +14 -1
- package/dist/shared/layout-constants.js.map +1 -1
- package/dist/shared/manifest.js +52 -1
- package/dist/shared/manifest.js.map +1 -1
- package/dist/shared/oauth.js +8 -1
- package/dist/shared/page.d.ts +12 -126
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +58 -1
- package/dist/shared/prompt.js +7 -1
- package/dist/shared/responsive.js +10 -1
- package/dist/shared/responsive.js.map +1 -1
- package/dist/shared/schema-registry.d.ts +5 -0
- package/dist/shared/schema-registry.d.ts.map +1 -0
- package/dist/shared/schema-registry.js +119 -0
- package/dist/shared/schema-registry.js.map +1 -0
- package/dist/shared/site.d.ts +36 -33
- package/dist/shared/site.d.ts.map +1 -1
- package/dist/shared/site.js +127 -1
- package/dist/shared/site.js.map +1 -1
- package/dist/shared/sitemap.d.ts +17 -17
- package/dist/shared/sitemap.d.ts.map +1 -1
- package/dist/shared/sitemap.js +69 -1
- package/dist/shared/social-icons.js +312 -1
- package/dist/shared/social-icons.js.map +1 -1
- package/dist/shared/tests/schema-registry.test.d.ts +2 -0
- package/dist/shared/tests/schema-registry.test.d.ts.map +1 -0
- package/dist/shared/theme.d.ts +1 -1
- package/dist/shared/theme.d.ts.map +1 -1
- package/dist/shared/theme.js +35 -1
- package/dist/shared/themes/color-system.js +103 -1
- package/dist/shared/themes/color-system.js.map +1 -1
- package/dist/shared/utils/canvas-data-uri.js +7 -1
- package/dist/shared/utils/canvas-data-uri.js.map +1 -1
- package/dist/shared/utils/invariant.js +7 -1
- package/dist/shared/utils/json-date.js +7 -1
- package/dist/shared/utils/llm.d.ts +2 -3
- package/dist/shared/utils/llm.d.ts.map +1 -1
- package/dist/shared/utils/llm.js +24 -1
- package/dist/shared/utils/merge.js +7 -1
- package/dist/shared/utils/object-hash.js +13 -1
- package/dist/shared/utils/object-hash.js.map +1 -1
- package/dist/shared/utils/schema-registry.d.ts +5 -0
- package/dist/shared/utils/schema-registry.d.ts.map +1 -0
- package/dist/shared/utils/schema-registry.js +29 -0
- package/dist/shared/utils/schema-registry.js.map +1 -0
- package/dist/shared/utils/schema.d.ts +2 -1
- package/dist/shared/utils/schema.d.ts.map +1 -1
- package/dist/shared/utils/schema.js +31 -1
- package/dist/shared/utils/string-enum.js +7 -1
- package/dist/shared/utils/tests/schema-registry.test.d.ts +2 -0
- package/dist/shared/utils/tests/schema-registry.test.d.ts.map +1 -0
- package/dist/shared/utils/try-catch.js +13 -1
- package/dist/shared/utils/try-catch.js.map +1 -1
- package/dist/shared/utils/typed-ref.js +7 -1
- package/package.json +9 -10
- package/src/shared/ai/schemas.ts +4 -8
- package/src/shared/ai/types.ts +9 -1
- package/src/shared/attributes.ts +27 -25
- package/src/shared/bricks/manifests/all-manifests.ts +15 -0
- package/src/shared/bricks/manifests/footer.manifest.ts +36 -27
- package/src/shared/bricks/manifests/navbar.manifest.ts +1 -3
- package/src/shared/bricks/manifests/table.manifest.ts +443 -0
- package/src/shared/bricks/manifests/tabs.manifest.ts +576 -0
- package/src/shared/bricks/manifests/timeline.manifest.ts +441 -0
- package/src/shared/bricks/props/color-preset.ts +3 -1
- package/src/shared/bricks/props/dynamic.ts +0 -1
- package/src/shared/bricks.ts +54 -45
- package/src/shared/datasources/types.ts +1 -5
- package/src/shared/images.ts +10 -8
- package/src/shared/page.ts +0 -4
- package/src/shared/schema-registry.ts +82 -0
- package/src/shared/sitemap.ts +12 -16
- package/src/shared/tests/schema-registry.test.ts +14 -0
- package/src/shared/theme.ts +1 -4
- package/src/shared/utils/llm.ts +13 -12
- package/src/shared/utils/schema-registry.ts +82 -0
- package/src/shared/utils/schema.ts +18 -3
- package/src/shared/utils/tests/schema-registry.test.ts +13 -0
- package/src/shared/utils/tests/schema.test.ts +82 -55
- package/dist/shared/bricks/props/enum.d.ts +0 -13
- package/dist/shared/bricks/props/enum.d.ts.map +0 -1
- package/dist/shared/bricks/props/enum.js +0 -4
- package/dist/shared/chunk-3YVJ2ELD.js +0 -4
- package/dist/shared/chunk-4BTB3MU2.js +0 -4
- package/dist/shared/chunk-4WDWJA3N.js +0 -4
- package/dist/shared/chunk-5O4Z3YQY.js +0 -4
- package/dist/shared/chunk-5YRC3IT3.js +0 -4
- package/dist/shared/chunk-6HLU4UI2.js +0 -4
- package/dist/shared/chunk-6I3ONVU6.js +0 -4
- package/dist/shared/chunk-7A2JNQX3.js +0 -4
- package/dist/shared/chunk-7A2JNQX3.js.map +0 -1
- package/dist/shared/chunk-A3GF4PYW.js +0 -4
- package/dist/shared/chunk-A3K4NUVP.js +0 -4
- package/dist/shared/chunk-A3K4NUVP.js.map +0 -1
- package/dist/shared/chunk-AFVJZPLS.js +0 -4
- package/dist/shared/chunk-AFVJZPLS.js.map +0 -1
- package/dist/shared/chunk-AI4GHU7R.js +0 -4
- package/dist/shared/chunk-AI4GHU7R.js.map +0 -1
- package/dist/shared/chunk-B3EATRFX.js +0 -4
- package/dist/shared/chunk-CCI4C3TM.js +0 -4
- package/dist/shared/chunk-CFF6Q7O7.js +0 -7
- package/dist/shared/chunk-CZRCW5EN.js +0 -4
- package/dist/shared/chunk-DCH4ZKWT.js +0 -4
- package/dist/shared/chunk-DHI3IBOD.js +0 -4
- package/dist/shared/chunk-DQ7PRWTG.js +0 -4
- package/dist/shared/chunk-E6XEI7IK.js +0 -4
- package/dist/shared/chunk-FLOMNC6J.js +0 -4
- package/dist/shared/chunk-G5CJU6RD.js +0 -7
- package/dist/shared/chunk-GACHLACT.js +0 -4
- package/dist/shared/chunk-GLS7HPIZ.js +0 -4
- package/dist/shared/chunk-GOMXZC4B.js +0 -35
- package/dist/shared/chunk-GOMXZC4B.js.map +0 -1
- package/dist/shared/chunk-GPEMPZXK.js +0 -4
- package/dist/shared/chunk-HAGKVQOW.js +0 -4
- package/dist/shared/chunk-I3VL6SRH.js +0 -9
- package/dist/shared/chunk-IKC3FK7L.js +0 -4
- package/dist/shared/chunk-IKHZD2JH.js +0 -4
- package/dist/shared/chunk-IUXCWWGO.js +0 -4
- package/dist/shared/chunk-JMN3HTZU.js +0 -4
- package/dist/shared/chunk-KBHDY425.js +0 -4
- package/dist/shared/chunk-KFM6KXSE.js +0 -4
- package/dist/shared/chunk-KLD3P5XH.js +0 -4
- package/dist/shared/chunk-KO5FPOWZ.js +0 -4
- package/dist/shared/chunk-KSEURRVZ.js +0 -4
- package/dist/shared/chunk-KYY3PHP7.js +0 -4
- package/dist/shared/chunk-NJGXC7D6.js +0 -4
- package/dist/shared/chunk-NM5MMPCF.js +0 -4
- package/dist/shared/chunk-OGBMYMZD.js +0 -4
- package/dist/shared/chunk-OGBMYMZD.js.map +0 -1
- package/dist/shared/chunk-OHNYCXPX.js +0 -4
- package/dist/shared/chunk-OIY3EPHO.js +0 -4
- package/dist/shared/chunk-PIG623TZ.js +0 -4
- package/dist/shared/chunk-PIG623TZ.js.map +0 -1
- package/dist/shared/chunk-PLSV746R.js +0 -4
- package/dist/shared/chunk-PSCN3VVA.js +0 -4
- package/dist/shared/chunk-PSCN3VVA.js.map +0 -1
- package/dist/shared/chunk-PSTFJ5IJ.js +0 -4
- package/dist/shared/chunk-PXI7AHWS.js +0 -4
- package/dist/shared/chunk-Q4H4QEMB.js +0 -4
- package/dist/shared/chunk-QGYZ7CG5.js +0 -4
- package/dist/shared/chunk-QGYZ7CG5.js.map +0 -1
- package/dist/shared/chunk-QWGUMKZC.js +0 -4
- package/dist/shared/chunk-QX6OGRRT.js +0 -5
- package/dist/shared/chunk-R6ATC4TC.js +0 -4
- package/dist/shared/chunk-RDZK73KV.js +0 -4
- package/dist/shared/chunk-RJYZ5FAR.js +0 -4
- package/dist/shared/chunk-SQ5T4AT5.js +0 -6
- package/dist/shared/chunk-SWLUQVK7.js +0 -4
- package/dist/shared/chunk-SXHDQ64Z.js +0 -5
- package/dist/shared/chunk-SY6DZLTC.js +0 -4
- package/dist/shared/chunk-SY6DZLTC.js.map +0 -1
- package/dist/shared/chunk-VEDQV5XO.js +0 -4
- package/dist/shared/chunk-W33JMRRN.js +0 -4
- package/dist/shared/chunk-WBZW5LVH.js +0 -4
- package/dist/shared/chunk-WHTPGWUV.js +0 -4
- package/dist/shared/chunk-WYVJE6J5.js +0 -4
- package/dist/shared/chunk-ZA3GAB4H.js +0 -9
- package/dist/shared/chunk-ZFCUSWMT.js +0 -4
- package/dist/shared/chunk-ZQPXQCY2.js +0 -4
- package/dist/shared/chunk-ZTZJHY4E.js +0 -4
- package/src/shared/bricks/props/enum.ts +0 -38
- /package/dist/shared/bricks/{props/enum.js.map → manifests/table.manifest.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/bricks.ts"],"sourcesContent":["import { Type, type Static, type TObject } from \"@sinclair/typebox\";\nimport { customAlphabet } from \"nanoid\";\nimport { brickTypes, defaultProps } from \"./bricks/manifests/all-manifests\";\nimport { cssLengthRef } from \"./bricks/props/css-length\";\nimport { colorPresetRef } from \"./bricks/props/color-preset\";\nimport { mergeIgnoringArrays } from \"./utils/merge\";\nimport { getSchemaDefaults } from \"./utils/schema\";\nimport { StringEnum } from \"./utils/string-enum\";\nimport { alignItemsRef, justifyContentRef } from \"./bricks/props/align\";\nimport type { CommonBrickProps } from \"./bricks/props/common\";\nimport { directionRef } from \"./bricks/props/direction\";\nimport type { PageAttributes, SiteAttributes } from \"./attributes\";\nimport { toLLMSchema } from \"./utils/llm\";\nimport { backgroundRef } from \"./bricks/props/background\";\n\n/**\n * Generates a unique identifier for bricks.\n */\nexport const generateId = customAlphabet(\"azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN\", 7);\n\nconst brickAbsolutePositionSchema = Type.Object({\n left: Type.Optional(\n Type.String({\n title: \"top\",\n description: \"The left position in css unit.\",\n }),\n ),\n top: Type.Optional(\n Type.String({\n title: \"top\",\n description: \"The top position in css unit.\",\n }),\n ),\n right: Type.Optional(\n Type.String({\n title: \"right\",\n description: \"The right position in css unit.\",\n }),\n ),\n bottom: Type.Optional(\n Type.String({\n title: \"bottom\",\n description: \"The bottom position in css unit.\",\n }),\n ),\n inset: Type.Optional(\n Type.String({\n title: \"inset\",\n description: \"The inset position in css unit.\",\n }),\n ),\n translateX: Type.Optional(\n Type.String({\n title: \"translateX\",\n description: \"The translateX position in css unit.\",\n }),\n ),\n translateY: Type.Optional(\n Type.String({\n title: \"translateY\",\n description: \"The translateY position in css unit.\",\n }),\n ),\n rotate: Type.Optional(\n Type.String({\n title: \"rotate\",\n description: \"The rotate position in css unit.\",\n }),\n ),\n});\n\nexport type BrickAbsolutePosition = Static<typeof brickAbsolutePositionSchema>;\n\nexport const brickTypeSchema = StringEnum(Object.keys(defaultProps), {\n title: \"Brick type\",\n});\n\nexport const brickSchema = Type.Object(\n {\n id: Type.String({\n title: \"ID\",\n description: \"A unique identifier for the brick.\",\n }),\n type: brickTypeSchema,\n label: Type.Optional(\n Type.String({\n title: \"Label\",\n description: \"A human-readable label for the brick. Used for organization and identification.\",\n }),\n ),\n props: Type.Any({\n title: \"Props\",\n description: \"The static props of the brick. The available props depends on the brick type.\",\n }),\n mobileProps: Type.Optional(\n Type.Any({\n title: \"Props\",\n description:\n \"The overriden props for mobile, merged with desktop props. Same type as props but partial.\",\n }),\n ),\n },\n { additionalProperties: true },\n);\n\nexport function makeFullBrickSchemaForLLM(type: string, props: TObject) {\n return toLLMSchema(\n Type.Object(\n {\n id: Type.String({\n title: \"ID\",\n description: \"A unique identifier for the brick.\",\n }),\n type: Type.Literal(type),\n props,\n mobileProps: Type.Optional(Type.Partial(props)),\n },\n { additionalProperties: false },\n ),\n );\n}\n\nexport type Brick = Omit<Static<typeof brickSchema>, \"props\" | \"mobileProps\"> & {\n props: CommonBrickProps & Record<string, unknown>;\n mobileProps?: CommonBrickProps & Record<string, unknown>;\n};\n\nexport const sectionProps = Type.Object(\n {\n colorPreset: Type.Optional(\n colorPresetRef({\n title: \"Color\",\n }),\n ),\n backgroundImage: Type.Optional(\n backgroundRef({\n title: \"Background\",\n description:\n \"The background image of the section. Prefer to set background images on sections rather than on individual bricks.\",\n }),\n ),\n direction: directionRef({\n default: \"flex-row\",\n title: \"Direction\",\n description: \"The direction of the section. Only apply to desktop. On mobile, it is always vertical.\",\n \"ui:responsive\": \"desktop\",\n }),\n minHeight: Type.Optional(\n cssLengthRef({\n title: \"Min height\",\n default: \"fit-content\",\n description:\n \"The min height of the section. default is 'fit-content'. You can also use the keyword 'full' to make it full viewport height. Lastly, you can use any valid CSS length unit.\",\n \"ui:field\": \"hidden\",\n }),\n ),\n variant: Type.Optional(\n StringEnum([\"navbar\", \"footer\", \"sidebar\"], {\n title: \"Custom section variant\",\n description: \"Used for custom styling and layout.\",\n enumNames: [\"Navbar\", \"Footer\", \"Sidebar\"],\n \"ui:field\": \"hidden\",\n \"ai:hidden\": true,\n }),\n ),\n maxWidth: Type.Optional(\n StringEnum([\"max-w-screen-lg\", \"max-w-screen-xl\", \"max-w-screen-2xl\", \"max-w-full\"], {\n title: \"Max width\",\n default: \"max-w-full\",\n enumNames: [\"M\", \"L\", \"XL\", \"Full\"],\n description: \"The maximum width of the section. Desktop only\",\n \"ai:instructions\":\n \"Choose the most appropriate max width for the section. The value 'max-w-full' is the most common and the default. Use the same value for all sections on the same page unless there is a good reason to do otherwise.\",\n displayAs: \"button-group\",\n \"ui:responsive\": \"desktop\",\n }),\n ),\n verticalMargin: Type.Optional(\n cssLengthRef({\n title: \"Vertical Margin\",\n description:\n \"The vertical margin of the section. By default, all sections touch each other with no space in between. If you want to add space between sections, set this value to e.g. '2rem' or '32px'. Adding a vertical margin will reveal the background color of the page.\",\n default: \"0\",\n \"ui:styleId\": \"styles:verticalMargin\",\n }),\n ),\n justifyContent: Type.Optional(\n justifyContentRef({\n default: \"justify-center\",\n }),\n ),\n alignItems: Type.Optional(\n alignItemsRef({\n default: \"items-center\",\n }),\n ),\n padding: Type.Optional(\n cssLengthRef({\n default: \"2rem\",\n description: \"Padding inside the section.\",\n title: \"Padding\",\n \"ui:responsive\": true,\n \"ui:placeholder\": \"Not specified\",\n \"ui:styleId\": \"styles:padding\",\n }),\n ),\n gap: Type.Optional(\n cssLengthRef({\n title: \"Gap\",\n description: \"The gap between the bricks in the section.\",\n default: \"20px\",\n \"ui:styleId\": \"styles:gap\",\n }),\n ),\n wrap: Type.Optional(\n Type.Boolean({\n title: \"Wrap\",\n description: \"Wrap bricks if they overflow the section.\",\n default: true,\n \"ui:styleId\": \"styles:wrap\",\n }),\n ),\n lastTouched: Type.Optional(\n Type.Number({\n description: \"Do not use this field. It is used internally by the editor.\",\n \"ui:field\": \"hidden\",\n \"ai:hidden\": true,\n }),\n ),\n },\n {\n additionalProperties: false,\n },\n);\n\nexport const sectionSchema = Type.Object(\n {\n id: Type.String({\n description: \"The unique ID of the section. Use a human readable url-safe slug\",\n examples: [\"content-section\", \"contact-section\"],\n }),\n label: Type.String({\n description: \"The label of the section. Shown only to the website owner, not public.\",\n examples: [\"Content\", \"Contact\"],\n }),\n order: Type.Number({\n description: \"Determines section order in the page (lower numbers appear first). 0-based\",\n }),\n props: sectionProps,\n mobileProps: Type.Optional(Type.Partial(sectionProps, { additionalProperties: false })),\n bricks: Type.Array(brickSchema),\n },\n {\n description: \"Sections are direct children of the page that are stacked vertically.\",\n },\n);\n\nexport const sectionSchemaLLM = toLLMSchema(sectionSchema);\nexport const sectionSchemaNoBricks = Type.Omit(sectionSchema, [\"bricks\"]);\nexport const sectionSchemaNoBricksLLM = toLLMSchema(sectionSchemaNoBricks);\n\nconst sectionDefaultprops = getSchemaDefaults(sectionSchema.properties.props, \"desktop\") as Section[\"props\"];\nconst sectionMobileDefaultprops = getSchemaDefaults(\n sectionSchema.properties.mobileProps,\n \"mobile\",\n) as Section[\"mobileProps\"];\n\nexport type Section = Static<typeof sectionSchema>;\n\nexport function processSections(\n sections: Section[],\n siteAttributes: SiteAttributes,\n pageAttributes: PageAttributes,\n): Section[] {\n const processSection = (section: Section) => {\n return {\n ...section,\n props: mergeIgnoringArrays({} as Section[\"props\"], sectionDefaultprops, section.props),\n mobileProps: mergeIgnoringArrays({}, sectionMobileDefaultprops, section.mobileProps || {}),\n bricks: section.bricks.map(processBrick).filter(Boolean) as Brick[],\n } as const;\n };\n\n const finalSections = sections.map(processSection);\n\n if (siteAttributes.navbar && !pageAttributes.noNavbar) {\n finalSections.unshift(\n processSection({\n order: -1,\n id: \"navbar-section\",\n label: \"Navbar\",\n props: {\n variant: \"navbar\",\n direction: \"flex-row\",\n },\n mobileProps: {},\n bricks: [\n {\n id: \"navbar\",\n type: \"navbar\",\n props: siteAttributes.navbar,\n },\n ],\n }),\n );\n }\n if (siteAttributes.footer && !pageAttributes.noFooter) {\n finalSections.push(\n processSection({\n order: 1000,\n id: \"footer-section\",\n label: \"Footer\",\n props: {\n variant: \"footer\",\n direction: \"flex-row\",\n },\n mobileProps: {},\n bricks: [\n {\n id: \"footer\",\n type: \"footer\",\n props: siteAttributes.footer,\n },\n ],\n }),\n );\n }\n\n return finalSections satisfies Section[];\n}\n\n/**\n * process a brick and add default props\n */\nexport function processBrick<T extends Brick>(brick: T): T {\n const defProps = defaultProps[brick.type];\n // if (!defProps) {\n // console.warn(`No default props found for brick type: ${brick.type}`);\n // return false; // or throw an error if you prefer\n // }\n const result = {\n ...brick,\n props: mergeIgnoringArrays({} as Brick[\"props\"], defProps.props, {\n ...brick.props,\n ...(brick.props.$children\n ? { $children: (brick.props.$children as T[]).map(processBrick).filter(Boolean) }\n : {}),\n }),\n };\n\n if (!result.props.width) {\n result.props.grow = true;\n }\n\n return result;\n}\n\nexport function createEmptyBrick(type: string, ghost = false): Brick {\n const props = { ...defaultProps[type].props, ghost };\n const newBrick = {\n id: `b-${generateId()}`,\n type,\n props,\n };\n return newBrick;\n}\n\nexport const sectionsExamples: { label: string; description: string; example: Section }[] = [\n {\n label: \"Hero section with centered 'hero' and 'button' bricks\",\n description: `A simple hero section with a title and a light primary background.\nThe \"hero\" brick does not have a colorPreset so it is transparent and inherits the background/text-color settings from the section.\nBricks are centered both vertically and horizontally using justifyContent and alignItems.\nBricks are stacked vertically using the \"direction\" set to \"flex-col\".\n`,\n example: {\n id: \"hero-section\",\n label: \"Hero\",\n order: 0,\n props: {\n colorPreset: { color: \"primary-100\" },\n direction: \"flex-col\",\n padding: \"6rem\",\n gap: \"3rem\",\n justifyContent: \"justify-center\",\n alignItems: \"items-center\",\n },\n bricks: [\n {\n id: \"hero\",\n type: \"hero\",\n label: \"Main hero title\",\n props: {\n content: \"<h1 style='text-align:center'>Welcome to my SaaS</h1>\",\n tagline: \"The future of productivity starts here\",\n },\n },\n {\n id: \"cta-button\",\n type: \"button\",\n label: \"Call to action button\",\n props: {\n label: \"Get Started\",\n href: \"/signup\",\n colorPreset: { color: \"primary-500\", variant: \"solid\" },\n },\n },\n ],\n },\n },\n {\n label: \"Contact section with a text and a form\",\n description: `A contact section with a title and a form.\nThe section has a light gray background using a colorPreset.\nBricks are stacked vertically using the \"direction\" set to \"flex-col\".\n`,\n example: {\n id: \"contact-section\",\n label: \"Contact\",\n order: 1,\n props: {\n colorPreset: { color: \"gray-100\" },\n direction: \"flex-col\",\n padding: \"4rem\",\n gap: \"2rem\",\n justifyContent: \"justify-center\",\n alignItems: \"items-center\",\n },\n bricks: [\n {\n id: \"contact-title\",\n type: \"text\",\n props: {\n content: \"<h2>Get in Touch</h2>\",\n },\n },\n {\n id: \"contact-form\",\n type: \"form\",\n props: {\n title: \"Contact Us\",\n fields: [\n { name: \"name\", label: \"Name\", type: \"text\", required: true },\n { name: \"email\", label: \"Email\", type: \"email\", required: true },\n { name: \"message\", label: \"Message\", type: \"textarea\", required: true },\n ],\n },\n },\n ],\n },\n },\n {\n label: \"Feature showcase with horizontal layout and container brick\",\n description: `A features section using horizontal layout with a container \"box\" brick that holds multiple feature items.\nThe box brick is the only container type that can hold $children (other bricks).\nThis demonstrates nested brick structure where the box contains multiple feature bricks.`,\n example: {\n id: \"features-section\",\n label: \"Features\",\n order: 2,\n props: {\n direction: \"flex-col\",\n padding: \"5rem\",\n gap: \"3rem\",\n maxWidth: \"max-w-screen-xl\",\n justifyContent: \"justify-center\",\n alignItems: \"items-center\",\n },\n bricks: [\n {\n id: \"features-title\",\n type: \"text\",\n props: {\n content: \"<h2 style='text-align:center'>Our Features</h2>\",\n },\n },\n {\n id: \"features-container\",\n type: \"box\",\n props: {\n direction: \"flex-row\",\n gap: \"2rem\",\n padding: \"2rem\",\n $children: [\n {\n id: \"feature-1\",\n type: \"text\",\n props: {\n content: \"<h3>Fast</h3><p>Lightning-fast performance for your needs.</p>\",\n colorPreset: { color: \"blue-500\" },\n },\n },\n {\n id: \"feature-2\",\n type: \"text\",\n props: {\n content: \"<h3>Secure</h3><p>Enterprise-grade security built-in.</p>\",\n colorPreset: { color: \"green-500\" },\n },\n },\n {\n id: \"feature-3\",\n type: \"text\",\n props: {\n content: \"<h3>Scalable</h3><p>Grows with your business seamlessly.</p>\",\n colorPreset: { color: \"purple-500\" },\n },\n },\n ],\n },\n },\n ],\n },\n },\n {\n label: \"Media-rich section with image and text side by side\",\n description: `A content section using horizontal layout to place an image next to text content.\nDemonstrates how direction \"flex-row\" arranges bricks horizontally.\nThe section uses responsive mobile overrides to stack vertically on mobile.`,\n example: {\n id: \"about-section\",\n label: \"About\",\n order: 3,\n props: {\n direction: \"flex-row\",\n padding: \"4rem\",\n gap: \"3rem\",\n alignItems: \"items-center\",\n maxWidth: \"max-w-screen-xl\",\n },\n mobileProps: {\n direction: \"flex-col\",\n padding: \"2rem\",\n },\n bricks: [\n {\n id: \"about-image\",\n type: \"image\",\n props: {\n src: \"https://example.com/about-image.jpg\",\n alt: \"About our company\",\n width: \"400px\",\n height: \"300px\",\n },\n },\n {\n id: \"about-text\",\n type: \"text\",\n props: {\n content:\n \"<h2>About Us</h2><p>We are a leading company in innovative solutions, dedicated to transforming how businesses operate in the digital age.</p>\",\n },\n },\n ],\n },\n },\n {\n label: \"Complex nested layout with multiple container levels\",\n description: `Advanced example showing deeply nested brick structure using multiple box containers.\nDemonstrates how box bricks can contain other box bricks, creating sophisticated layouts.\nShows responsive design with different mobile arrangements.`,\n example: {\n id: \"complex-layout-section\",\n label: \"Complex layout\",\n order: 4,\n props: {\n direction: \"flex-col\",\n padding: \"4rem\",\n gap: \"2rem\",\n backgroundImage: { image: \"https://example.com/bg.jpg\" },\n },\n bricks: [\n {\n id: \"main-container\",\n type: \"box\",\n props: {\n direction: \"flex-row\",\n gap: \"2rem\",\n padding: \"2rem\",\n $children: [\n {\n id: \"left-column\",\n type: \"box\",\n props: {\n direction: \"flex-col\",\n gap: \"1rem\",\n colorPreset: { color: \"gray-50\" },\n padding: \"1.5rem\",\n $children: [\n {\n id: \"left-title\",\n type: \"text\",\n props: {\n content: \"<h3>Left Column</h3>\",\n },\n },\n {\n id: \"left-button\",\n type: \"button\",\n props: {\n label: \"Learn More\",\n href: \"/learn\",\n colorPreset: { color: \"blue-500\", variant: \"outline\" },\n },\n },\n ],\n },\n },\n {\n id: \"right-column\",\n type: \"box\",\n props: {\n direction: \"flex-col\",\n gap: \"1rem\",\n colorPreset: { color: \"blue-50\" },\n padding: \"1.5rem\",\n $children: [\n {\n id: \"right-image\",\n type: \"image\",\n props: {\n src: \"https://example.com/feature.jpg\",\n alt: \"Feature showcase\",\n width: \"100%\",\n },\n },\n {\n id: \"right-text\",\n type: \"text\",\n props: {\n content: \"<p>Detailed description of our amazing features and capabilities.</p>\",\n },\n },\n ],\n },\n },\n ],\n mobileProps: {\n direction: \"flex-col\",\n },\n },\n },\n ],\n },\n },\n {\n label: \"Footer-style section with multiple columns\",\n description: `A footer-like section demonstrating horizontal layout with multiple informational columns.\nUses the footer variant for special styling and contains multiple text bricks arranged horizontally.\nShows how to create multi-column layouts using direction and gap properties.`,\n example: {\n id: \"info-footer-section\",\n label: \"Info footer\",\n order: 5,\n props: {\n variant: \"footer\",\n direction: \"flex-row\",\n padding: \"3rem\",\n gap: \"4rem\",\n colorPreset: { color: \"gray-800\" },\n justifyContent: \"justify-center\",\n },\n mobileProps: {\n direction: \"flex-col\",\n gap: \"2rem\",\n },\n bricks: [\n {\n id: \"company-info\",\n type: \"text\",\n props: {\n content:\n \"<h4 style='color:white'>Company</h4><p style='color:gray'>About Us<br>Careers<br>Contact</p>\",\n },\n },\n {\n id: \"product-info\",\n type: \"text\",\n props: {\n content:\n \"<h4 style='color:white'>Product</h4><p style='color:gray'>Features<br>Pricing<br>Documentation</p>\",\n },\n },\n {\n id: \"support-info\",\n type: \"text\",\n props: {\n content:\n \"<h4 style='color:white'>Support</h4><p style='color:gray'>Help Center<br>Community<br>Status</p>\",\n },\n },\n ],\n },\n },\n {\n label: \"Video showcase section with title and description\",\n description: `A media section featuring a YouTube video with accompanying text.\nShows how to use video bricks for multimedia content.\nThe section uses a light background to make the video stand out.`,\n example: {\n id: \"video-showcase-section\",\n label: \"Video showcase\",\n order: 6,\n props: {\n direction: \"flex-col\",\n padding: \"4rem\",\n gap: \"2rem\",\n colorPreset: { color: \"gray-50\" },\n alignItems: \"items-center\",\n maxWidth: \"max-w-screen-lg\",\n },\n bricks: [\n {\n id: \"video-title\",\n type: \"text\",\n props: {\n content: \"<h2 style='text-align:center'>Watch Our Demo</h2>\",\n },\n },\n {\n id: \"demo-video\",\n type: \"video\",\n props: {\n url: \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\",\n title: \"Product Demo Video\",\n },\n },\n {\n id: \"video-description\",\n type: \"text\",\n props: {\n content:\n \"<p style='text-align:center'>See how our platform can transform your workflow in just 2 minutes.</p>\",\n },\n },\n ],\n },\n },\n {\n label: \"Image gallery section with carousel\",\n description: `A media-rich section showcasing an image carousel.\nDemonstrates how to use carousel bricks for displaying multiple images.\nPerfect for portfolios, product showcases, or photo galleries.`,\n example: {\n id: \"gallery-section\",\n label: \"Gallery\",\n order: 7,\n props: {\n direction: \"flex-col\",\n padding: \"4rem\",\n gap: \"2rem\",\n alignItems: \"items-center\",\n },\n bricks: [\n {\n id: \"gallery-title\",\n type: \"text\",\n props: {\n content: \"<h2 style='text-align:center'>Our Portfolio</h2>\",\n },\n },\n {\n id: \"portfolio-carousel\",\n type: \"carousel\",\n props: {\n images: [\n { src: \"https://example.com/project1.jpg\", alt: \"Project 1\" },\n { src: \"https://example.com/project2.jpg\", alt: \"Project 2\" },\n { src: \"https://example.com/project3.jpg\", alt: \"Project 3\" },\n ],\n autoplay: true,\n showDots: true,\n },\n },\n ],\n },\n },\n {\n label: \"Interactive form section with styled inputs\",\n description: `A comprehensive form section for user registration or contact.\nShows how to create forms with various field types and validation.\nUses a card-like appearance with rounded corners and shadow.`,\n example: {\n id: \"signup-form-section\",\n label: \"Signup form\",\n order: 8,\n props: {\n direction: \"flex-col\",\n padding: \"4rem\",\n gap: \"2rem\",\n colorPreset: { color: \"blue-50\" },\n alignItems: \"items-center\",\n },\n bricks: [\n {\n id: \"form-header\",\n type: \"text\",\n props: {\n content:\n \"<h2 style='text-align:center'>Join Our Platform</h2><p style='text-align:center'>Create your account and start building today.</p>\",\n },\n },\n {\n id: \"registration-form\",\n type: \"form\",\n props: {\n title: \"Sign Up\",\n submitLabel: \"Create Account\",\n fields: [\n { name: \"firstName\", label: \"First Name\", type: \"text\", required: true },\n { name: \"lastName\", label: \"Last Name\", type: \"text\", required: true },\n { name: \"email\", label: \"Email Address\", type: \"email\", required: true },\n { name: \"password\", label: \"Password\", type: \"password\", required: true },\n { name: \"company\", label: \"Company\", type: \"text\", required: false },\n { name: \"newsletter\", label: \"Subscribe to newsletter\", type: \"checkbox\", required: false },\n ],\n colorPreset: { color: \"white\" },\n shadow: \"shadow-lg\",\n rounding: \"rounded-lg\",\n padding: \"2rem\",\n },\n },\n ],\n },\n },\n {\n label: \"Testimonials section with customer feedback\",\n description: `A social proof section using the testimonials brick to display customer feedback.\nShows how to structure testimonials with avatars, company information, and social icons.\nPerfect for building trust and credibility with potential customers.`,\n example: {\n id: \"testimonials-section\",\n label: \"Testimonials\",\n order: 9,\n props: {\n direction: \"flex-col\",\n padding: \"5rem\",\n gap: \"3rem\",\n colorPreset: { color: \"purple-50\" },\n alignItems: \"items-center\",\n },\n bricks: [\n {\n id: \"testimonials-title\",\n type: \"text\",\n props: {\n content: \"<h2 style='text-align:center'>What Our Customers Say</h2>\",\n },\n },\n {\n id: \"customer-testimonials\",\n type: \"testimonials\",\n props: {\n testimonials: [\n {\n text: \"This platform has completely transformed how we handle our projects. The automation features and intuitive interface have saved us countless hours every week.\",\n author: \"Sarah Johnson\",\n company: \"TechCorp Solutions\",\n avatar: {\n src: \"https://via.placeholder.com/80x80.png?text=SJ\",\n alt: \"Sarah Johnson profile photo\",\n },\n socialIcon: \"mdi:linkedin\",\n },\n {\n text: \"Outstanding customer support and regular feature updates. We've been using this for over a year and it keeps getting better. Highly recommend!\",\n author: \"Mike Chen\",\n company: \"StartupFlow\",\n avatar: {\n src: \"https://via.placeholder.com/80x80.png?text=MC\",\n alt: \"Mike Chen profile photo\",\n },\n socialIcon: \"mdi:twitter\",\n },\n {\n text: \"The results speak for themselves - our productivity increased by 40% after implementing this solution. It's like having an extra team member.\",\n author: \"Emily Rodriguez\",\n company: \"Digital Agency Pro\",\n avatar: {\n src: \"https://via.placeholder.com/80x80.png?text=ER\",\n alt: \"Emily Rodriguez profile photo\",\n },\n socialIcon: \"mdi:briefcase\",\n },\n ],\n colorPreset: { color: \"white\" },\n shadow: \"shadow-lg\",\n padding: \"2rem\",\n gap: \"2rem\",\n },\n },\n ],\n },\n },\n {\n label: \"Location and contact information with map\",\n description: `A contact section featuring an interactive map alongside contact details.\nShows how to combine map bricks with text and contact information.\nPerfect for businesses with physical locations.`,\n example: {\n id: \"location-section\",\n label: \"Location\",\n order: 10,\n props: {\n direction: \"flex-row\",\n padding: \"4rem\",\n gap: \"3rem\",\n alignItems: \"items-start\",\n },\n mobileProps: {\n direction: \"flex-col\",\n },\n bricks: [\n {\n id: \"contact-details\",\n type: \"box\",\n props: {\n direction: \"flex-col\",\n gap: \"2rem\",\n padding: \"2rem\",\n colorPreset: { color: \"gray-50\" },\n rounding: \"rounded-lg\",\n $children: [\n {\n id: \"office-title\",\n type: \"text\",\n props: {\n content: \"<h3>Visit Our Office</h3>\",\n },\n },\n {\n id: \"address\",\n type: \"text\",\n props: {\n content:\n \"<p><strong>Address:</strong><br>123 Business Street<br>Suite 100<br>San Francisco, CA 94105</p>\",\n },\n },\n {\n id: \"contact-info\",\n type: \"text\",\n props: {\n content:\n \"<p><strong>Phone:</strong> +1 (555) 123-4567<br><strong>Email:</strong> hello@company.com</p>\",\n },\n },\n {\n id: \"hours\",\n type: \"text\",\n props: {\n content:\n \"<p><strong>Business Hours:</strong><br>Monday - Friday: 9:00 AM - 6:00 PM<br>Saturday: 10:00 AM - 4:00 PM</p>\",\n },\n },\n ],\n },\n },\n {\n id: \"office-map\",\n type: \"map\",\n props: {\n address: \"123 Business Street, San Francisco, CA 94105\",\n zoom: 15,\n height: \"400px\",\n },\n },\n ],\n },\n },\n {\n label: \"Statistics showcase with icons and numbers\",\n description: `A metrics section displaying key statistics using icon and text bricks.\nDemonstrates how to create compelling data visualizations.\nUses horizontal layout with consistent spacing and visual hierarchy.`,\n example: {\n id: \"stats-section\",\n label: \"Stats\",\n order: 11,\n props: {\n direction: \"flex-col\",\n padding: \"5rem\",\n gap: \"3rem\",\n colorPreset: { color: \"gradient\", gradientDirection: \"bg-gradient-to-r\" },\n alignItems: \"items-center\",\n },\n bricks: [\n {\n id: \"stats-title\",\n type: \"text\",\n props: {\n content: \"<h2 style='text-align:center; color:white'>Our Impact</h2>\",\n },\n },\n {\n id: \"stats-container\",\n type: \"box\",\n props: {\n direction: \"flex-row\",\n gap: \"4rem\",\n justifyContent: \"justify-center\",\n $children: [\n {\n id: \"users-stat\",\n type: \"box\",\n props: {\n direction: \"flex-col\",\n gap: \"1rem\",\n alignItems: \"items-center\",\n $children: [\n {\n id: \"users-icon\",\n type: \"icon\",\n props: {\n icon: \"users\",\n size: \"3rem\",\n color: \"white\",\n },\n },\n {\n id: \"users-number\",\n type: \"text\",\n props: {\n content:\n \"<h3 style='color:white; text-align:center'>50K+</h3><p style='color:white; text-align:center'>Active Users</p>\",\n },\n },\n ],\n },\n },\n {\n id: \"projects-stat\",\n type: \"box\",\n props: {\n direction: \"flex-col\",\n gap: \"1rem\",\n alignItems: \"items-center\",\n $children: [\n {\n id: \"projects-icon\",\n type: \"icon\",\n props: {\n icon: \"briefcase\",\n size: \"3rem\",\n color: \"white\",\n },\n },\n {\n id: \"projects-number\",\n type: \"text\",\n props: {\n content:\n \"<h3 style='color:white; text-align:center'>100K+</h3><p style='color:white; text-align:center'>Projects Created</p>\",\n },\n },\n ],\n },\n },\n {\n id: \"satisfaction-stat\",\n type: \"box\",\n props: {\n direction: \"flex-col\",\n gap: \"1rem\",\n alignItems: \"items-center\",\n $children: [\n {\n id: \"satisfaction-icon\",\n type: \"icon\",\n props: {\n icon: \"star\",\n size: \"3rem\",\n color: \"white\",\n },\n },\n {\n id: \"satisfaction-number\",\n type: \"text\",\n props: {\n content:\n \"<h3 style='color:white; text-align:center'>98%</h3><p style='color:white; text-align:center'>Satisfaction Rate</p>\",\n },\n },\n ],\n },\n },\n ],\n mobileProps: {\n direction: \"flex-col\",\n gap: \"2rem\",\n },\n },\n },\n ],\n },\n },\n {\n label: \"Social links and newsletter signup\",\n description: `A community engagement section combining social media links with newsletter signup.\nShows how to use social-links bricks and forms together.\nCreates a cohesive call-to-action for community building.`,\n example: {\n id: \"community-section\",\n label: \"Community\",\n order: 12,\n props: {\n direction: \"flex-col\",\n padding: \"4rem\",\n gap: \"3rem\",\n colorPreset: { color: \"indigo-100\" },\n alignItems: \"items-center\",\n maxWidth: \"max-w-full\",\n },\n bricks: [\n {\n id: \"community-title\",\n type: \"text\",\n props: {\n content:\n \"<h2 style='text-align:center'>Stay Connected</h2><p style='text-align:center'>Join our community and never miss an update.</p>\",\n },\n },\n {\n id: \"social-links\",\n type: \"social-links\",\n props: {\n links: [\n { platform: \"twitter\", url: \"https://twitter.com/company\" },\n { platform: \"linkedin\", url: \"https://linkedin.com/company/company\" },\n { platform: \"github\", url: \"https://github.com/company\" },\n { platform: \"youtube\", url: \"https://youtube.com/company\" },\n ],\n size: \"large\",\n style: \"filled\",\n },\n },\n {\n id: \"newsletter-form\",\n type: \"form\",\n props: {\n title: \"Subscribe to Our Newsletter\",\n subtitle: \"Get weekly updates and exclusive content delivered to your inbox.\",\n submitLabel: \"Subscribe\",\n fields: [\n {\n name: \"email\",\n label: \"Email Address\",\n type: \"email\",\n required: true,\n placeholder: \"your@email.com\",\n },\n ],\n colorPreset: { color: \"white\" },\n rounding: \"rounded-lg\",\n padding: \"2rem\",\n shadow: \"shadow-md\",\n },\n },\n ],\n },\n },\n {\n label: \"Pricing table with multiple options\",\n description: `A pricing section using card bricks to create a comparison table.\nDemonstrates how to structure pricing tiers with different features.\nUses consistent styling with highlighted premium option.`,\n example: {\n id: \"pricing-section\",\n label: \"Pricing\",\n order: 13,\n props: {\n direction: \"flex-col\",\n padding: \"5rem\",\n gap: \"3rem\",\n alignItems: \"items-center\",\n },\n bricks: [\n {\n id: \"pricing-header\",\n type: \"text\",\n props: {\n content:\n \"<h2 style='text-align:center'>Choose Your Plan</h2><p style='text-align:center'>Select the perfect plan for your needs.</p>\",\n },\n },\n {\n id: \"pricing-cards\",\n type: \"box\",\n props: {\n direction: \"flex-row\",\n gap: \"2rem\",\n justifyContent: \"justify-center\",\n $children: [\n {\n id: \"basic-plan\",\n type: \"card\",\n props: {\n title: \"Basic\",\n subtitle: \"$9/month\",\n content: \"• 5 Projects<br>• 10GB Storage<br>• Email Support<br>• Basic Templates\",\n colorPreset: { color: \"white\" },\n border: { width: \"border-2\", color: \"border-gray-200\" },\n rounding: \"rounded-lg\",\n padding: \"2rem\",\n shadow: \"shadow-md\",\n },\n },\n {\n id: \"pro-plan\",\n type: \"card\",\n props: {\n title: \"Pro\",\n subtitle: \"$29/month\",\n content:\n \"• Unlimited Projects<br>• 100GB Storage<br>• Priority Support<br>• Premium Templates<br>• Advanced Analytics\",\n colorPreset: { color: \"blue-500\" },\n rounding: \"rounded-lg\",\n padding: \"2rem\",\n shadow: \"shadow-lg\",\n border: { width: \"border-2\", color: \"border-blue-400\" },\n },\n },\n {\n id: \"enterprise-plan\",\n type: \"card\",\n props: {\n title: \"Enterprise\",\n subtitle: \"Custom\",\n content:\n \"• Everything in Pro<br>• Unlimited Storage<br>• 24/7 Phone Support<br>• Custom Integrations<br>• Dedicated Account Manager\",\n colorPreset: { color: \"white\" },\n border: { width: \"border-2\", color: \"border-gray-200\" },\n rounding: \"rounded-lg\",\n padding: \"2rem\",\n shadow: \"shadow-md\",\n },\n },\n ],\n mobileProps: {\n direction: \"flex-col\",\n },\n },\n },\n ],\n },\n },\n];\n"],"m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O,QAAQ;AAAA,kBAC9B,QAAQ,EAAE,OAAO,YAAY,OAAO,kBAAkB;AAAA,kBACtD,UAAU;AAAA,kBACV,SAAS;AAAA,kBACT,QAAQ;AAAA,gBACV;AAAA,cACF;AAAA,cACA;AAAA,gBACE,IAAI;AAAA,gBACJ,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,OAAO;AAAA,kBACP,UAAU;AAAA,kBACV,SACE;AAAA,kBACF,aAAa,EAAE,OAAO,WAAW;AAAA,kBACjC,UAAU;AAAA,kBACV,SAAS;AAAA,kBACT,QAAQ;AAAA,kBACR,QAAQ,EAAE,OAAO,YAAY,OAAO,kBAAkB;AAAA,gBACxD;AAAA,cACF;AAAA,cACA;AAAA,gBACE,IAAI;AAAA,gBACJ,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,OAAO;AAAA,kBACP,UAAU;AAAA,kBACV,SACE;AAAA,kBACF,aAAa,EAAE,OAAO,QAAQ;AAAA,kBAC9B,QAAQ,EAAE,OAAO,YAAY,OAAO,kBAAkB;AAAA,kBACtD,UAAU;AAAA,kBACV,SAAS;AAAA,kBACT,QAAQ;AAAA,gBACV;AAAA,cACF;AAAA,YACF;AAAA,YACA,aAAa;AAAA,cACX,WAAW;AAAA,YACb;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
defineProps
|
|
5
|
+
} from "./chunk-BHC2A43S.js";
|
|
6
|
+
import {
|
|
7
|
+
defineBrickManifest
|
|
8
|
+
} from "./chunk-TB3X4LRQ.js";
|
|
9
|
+
import {
|
|
10
|
+
textContentRef
|
|
11
|
+
} from "./chunk-F22LDHEO.js";
|
|
12
|
+
import {
|
|
13
|
+
shadowRef,
|
|
14
|
+
textShadowRef
|
|
15
|
+
} from "./chunk-TNMNMYOB.js";
|
|
16
|
+
import {
|
|
17
|
+
borderRef,
|
|
18
|
+
roundingRef
|
|
19
|
+
} from "./chunk-NTLAKMMQ.js";
|
|
20
|
+
import {
|
|
21
|
+
colorPresetRef
|
|
22
|
+
} from "./chunk-TFGGYU6Y.js";
|
|
23
|
+
import {
|
|
24
|
+
cssLengthRef
|
|
25
|
+
} from "./chunk-BPBKHEQ5.js";
|
|
26
|
+
import {
|
|
27
|
+
alignItemsRef,
|
|
28
|
+
justifyContentRef
|
|
29
|
+
} from "./chunk-ZLYIRH2B.js";
|
|
30
|
+
|
|
31
|
+
// src/shared/bricks/manifests/hero.manifest.ts
|
|
32
|
+
import { BsAlphabetUppercase } from "react-icons/bs";
|
|
33
|
+
import { Type } from "@sinclair/typebox";
|
|
34
|
+
var manifest = defineBrickManifest({
|
|
35
|
+
type: "hero",
|
|
36
|
+
category: "basic",
|
|
37
|
+
name: "Hero",
|
|
38
|
+
description: "A big textual element for home pages.",
|
|
39
|
+
aiInstructions: `Displays a large text element that can be used to display a title and an optional tagline.
|
|
40
|
+
Typically used on home pages to grab the user's attention. It's better NOT to provide the colorPreset prop so that the Hero inherits the background of its parent box or section.`,
|
|
41
|
+
icon: BsAlphabetUppercase,
|
|
42
|
+
defaultWidth: { desktop: "60dvw", mobile: "auto" },
|
|
43
|
+
// Force the wrapper direction to be the same as the text direction
|
|
44
|
+
staticClasses: "flex-col",
|
|
45
|
+
props: defineProps({
|
|
46
|
+
content: textContentRef({
|
|
47
|
+
title: "Hero title",
|
|
48
|
+
default: "<h1 style='text-align:center'>Lorem Ipsum<br />dolor sit amet</h1>"
|
|
49
|
+
}),
|
|
50
|
+
tagline: Type.Optional(
|
|
51
|
+
textContentRef({
|
|
52
|
+
title: "Hero tagline",
|
|
53
|
+
default: "<p style='text-align:center'>Use our platform to build your business with confidence.</p>"
|
|
54
|
+
})
|
|
55
|
+
),
|
|
56
|
+
colorPreset: Type.Optional(
|
|
57
|
+
colorPresetRef({
|
|
58
|
+
title: "Color"
|
|
59
|
+
})
|
|
60
|
+
),
|
|
61
|
+
textShadow: Type.Optional(
|
|
62
|
+
textShadowRef({
|
|
63
|
+
default: "text-shadow-sm"
|
|
64
|
+
})
|
|
65
|
+
),
|
|
66
|
+
padding: Type.Optional(
|
|
67
|
+
cssLengthRef({
|
|
68
|
+
default: "6rem",
|
|
69
|
+
description: "Padding inside the hero.",
|
|
70
|
+
"ai:instructions": "Use only a single value like '1rem' or '10px'",
|
|
71
|
+
title: "Padding",
|
|
72
|
+
"ui:responsive": true,
|
|
73
|
+
"ui:placeholder": "Not specified",
|
|
74
|
+
"ui:styleId": "styles:padding"
|
|
75
|
+
})
|
|
76
|
+
),
|
|
77
|
+
rounding: Type.Optional(
|
|
78
|
+
roundingRef({
|
|
79
|
+
default: "rounded-md"
|
|
80
|
+
})
|
|
81
|
+
),
|
|
82
|
+
border: Type.Optional(borderRef()),
|
|
83
|
+
shadow: Type.Optional(shadowRef()),
|
|
84
|
+
justifyContent: Type.Optional(
|
|
85
|
+
justifyContentRef({
|
|
86
|
+
default: "justify-center"
|
|
87
|
+
})
|
|
88
|
+
),
|
|
89
|
+
alignItems: Type.Optional(
|
|
90
|
+
alignItemsRef({
|
|
91
|
+
default: "items-center"
|
|
92
|
+
})
|
|
93
|
+
)
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
var examples = [
|
|
97
|
+
{
|
|
98
|
+
description: "Simple welcome hero with primary background",
|
|
99
|
+
type: "hero",
|
|
100
|
+
props: {
|
|
101
|
+
content: "Welcome to Our Platform",
|
|
102
|
+
tagline: "The future of productivity starts here",
|
|
103
|
+
padding: "3rem",
|
|
104
|
+
colorPreset: {
|
|
105
|
+
color: "primary-400"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
description: "Startup hero with primary gradient background to bottom-right",
|
|
111
|
+
type: "hero",
|
|
112
|
+
props: {
|
|
113
|
+
content: "Build Something Amazing",
|
|
114
|
+
tagline: "Turn your ideas into reality with our cutting-edge tools",
|
|
115
|
+
padding: "3rem",
|
|
116
|
+
colorPreset: {
|
|
117
|
+
color: "primary-500",
|
|
118
|
+
gradientDirection: "bg-gradient-to-br"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
description: "Construction company hero with bold presence",
|
|
124
|
+
type: "hero",
|
|
125
|
+
props: {
|
|
126
|
+
content: "Building Tomorrow Today",
|
|
127
|
+
tagline: "Quality construction services for residential and commercial projects",
|
|
128
|
+
padding: "3rem"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
description: "Fashion brand hero with modern appeal",
|
|
133
|
+
type: "hero",
|
|
134
|
+
props: {
|
|
135
|
+
content: "Express Your Style",
|
|
136
|
+
tagline: "Contemporary fashion that speaks to your individuality",
|
|
137
|
+
padding: "6rem"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
description: "Law firm hero with authoritative tone",
|
|
142
|
+
type: "hero",
|
|
143
|
+
props: {
|
|
144
|
+
content: "Justice You Can Trust",
|
|
145
|
+
tagline: "Experienced legal representation for individuals and businesses",
|
|
146
|
+
padding: "6rem",
|
|
147
|
+
colorPreset: {
|
|
148
|
+
color: "neutral-800"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
description: "Photography studio hero with artistic flair",
|
|
154
|
+
type: "hero",
|
|
155
|
+
props: {
|
|
156
|
+
content: "Capturing Life's Moments",
|
|
157
|
+
tagline: "Professional photography services for weddings, portraits, and events"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
description: "Restaurant hero with warm colors and rounded design",
|
|
162
|
+
type: "hero",
|
|
163
|
+
props: {
|
|
164
|
+
content: "Authentic Italian Cuisine",
|
|
165
|
+
tagline: "Fresh ingredients, traditional recipes, unforgettable flavors",
|
|
166
|
+
padding: "4rem",
|
|
167
|
+
colorPreset: {
|
|
168
|
+
color: "orange-600"
|
|
169
|
+
},
|
|
170
|
+
rounding: "rounded-xl",
|
|
171
|
+
shadow: "shadow-lg"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
description: "Tech company hero with success gradient and modern styling",
|
|
176
|
+
type: "hero",
|
|
177
|
+
props: {
|
|
178
|
+
content: "Innovation Redefined",
|
|
179
|
+
tagline: "Pushing the boundaries of what's possible with AI technology",
|
|
180
|
+
padding: "5rem",
|
|
181
|
+
colorPreset: {
|
|
182
|
+
color: "success-500",
|
|
183
|
+
gradientDirection: "bg-gradient-to-r"
|
|
184
|
+
},
|
|
185
|
+
textShadow: "text-shadow-lg",
|
|
186
|
+
border: {
|
|
187
|
+
width: "border-2",
|
|
188
|
+
color: "border-success-300"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
description: "Medical practice hero with trust-inspiring design",
|
|
194
|
+
type: "hero",
|
|
195
|
+
props: {
|
|
196
|
+
content: "Your Health, Our Priority",
|
|
197
|
+
tagline: "Comprehensive healthcare services with compassionate care",
|
|
198
|
+
padding: "4rem",
|
|
199
|
+
colorPreset: {
|
|
200
|
+
color: "blue-500"
|
|
201
|
+
},
|
|
202
|
+
rounding: "rounded-lg",
|
|
203
|
+
justifyContent: "justify-start",
|
|
204
|
+
alignItems: "items-start"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
description: "Creative agency hero with warning accent and diagonal gradient",
|
|
209
|
+
type: "hero",
|
|
210
|
+
props: {
|
|
211
|
+
content: "Creative Solutions",
|
|
212
|
+
tagline: "Bold designs that make your brand unforgettable",
|
|
213
|
+
padding: "3rem",
|
|
214
|
+
colorPreset: {
|
|
215
|
+
color: "warning-400",
|
|
216
|
+
gradientDirection: "bg-gradient-to-tl"
|
|
217
|
+
},
|
|
218
|
+
shadow: "shadow-xl",
|
|
219
|
+
border: {
|
|
220
|
+
width: "border",
|
|
221
|
+
color: "border-warning-200"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
description: "Fitness studio hero with danger color and strong presence",
|
|
227
|
+
type: "hero",
|
|
228
|
+
props: {
|
|
229
|
+
content: "Transform Your Body",
|
|
230
|
+
tagline: "High-intensity training programs that deliver real results",
|
|
231
|
+
padding: "5rem",
|
|
232
|
+
colorPreset: {
|
|
233
|
+
color: "danger-600"
|
|
234
|
+
},
|
|
235
|
+
textShadow: "text-shadow-md",
|
|
236
|
+
rounding: "rounded-2xl",
|
|
237
|
+
justifyContent: "justify-center",
|
|
238
|
+
alignItems: "items-center"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
description: "Minimalist hero with neutral tones and subtle effects",
|
|
243
|
+
type: "hero",
|
|
244
|
+
props: {
|
|
245
|
+
content: "Simplicity Perfected",
|
|
246
|
+
tagline: "Clean design solutions for modern businesses",
|
|
247
|
+
padding: "8rem",
|
|
248
|
+
colorPreset: {
|
|
249
|
+
color: "neutral-100"
|
|
250
|
+
},
|
|
251
|
+
shadow: "shadow-sm",
|
|
252
|
+
border: {
|
|
253
|
+
width: "border",
|
|
254
|
+
color: "border-neutral-300"
|
|
255
|
+
},
|
|
256
|
+
rounding: "rounded-md"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
description: "Dynamic company hero using business query data",
|
|
261
|
+
type: "hero",
|
|
262
|
+
props: {
|
|
263
|
+
content: "Welcome to {{company.name}}",
|
|
264
|
+
tagline: "{{company.tagline}} - Serving {{company.location}} since {{company.foundedYear}}",
|
|
265
|
+
padding: "4rem",
|
|
266
|
+
colorPreset: {
|
|
267
|
+
color: "primary-500"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
description: "Dynamic employee spotlight using employee query",
|
|
273
|
+
type: "hero",
|
|
274
|
+
props: {
|
|
275
|
+
content: "Meet {{employee.fullName}}",
|
|
276
|
+
tagline: "{{employee.position}} at {{employee.department}} - {{employee.yearsExperience}} years of experience",
|
|
277
|
+
padding: "3rem",
|
|
278
|
+
colorPreset: {
|
|
279
|
+
color: "secondary-400",
|
|
280
|
+
gradientDirection: "bg-gradient-to-r"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
description: "Dynamic product launch hero using product query",
|
|
286
|
+
type: "hero",
|
|
287
|
+
props: {
|
|
288
|
+
content: "Introducing {{product.name}}",
|
|
289
|
+
tagline: "{{product.description}} - Starting at ${{product.price}}",
|
|
290
|
+
padding: "5rem",
|
|
291
|
+
colorPreset: {
|
|
292
|
+
color: "accent-600"
|
|
293
|
+
},
|
|
294
|
+
shadow: "shadow-lg",
|
|
295
|
+
rounding: "rounded-xl"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
description: "Dynamic event announcement using event query",
|
|
300
|
+
type: "hero",
|
|
301
|
+
props: {
|
|
302
|
+
content: "{{event.title}}",
|
|
303
|
+
tagline: "Join us on {{event.date}} at {{event.venue}} - {{event.city}}",
|
|
304
|
+
padding: "4rem",
|
|
305
|
+
colorPreset: {
|
|
306
|
+
color: "primary-400",
|
|
307
|
+
gradientDirection: "bg-gradient-to-br"
|
|
308
|
+
},
|
|
309
|
+
textShadow: "text-shadow-md"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
description: "Dynamic blog post hero using article query",
|
|
314
|
+
type: "hero",
|
|
315
|
+
props: {
|
|
316
|
+
content: "{{article.title}}",
|
|
317
|
+
tagline: "By {{article.author}} \u2022 Published {{article.publishDate}} \u2022 {{article.readTime}} min read",
|
|
318
|
+
padding: "3rem",
|
|
319
|
+
colorPreset: {
|
|
320
|
+
color: "neutral-700"
|
|
321
|
+
},
|
|
322
|
+
justifyContent: "justify-start",
|
|
323
|
+
alignItems: "items-start"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
description: "Dynamic service promotion using service query",
|
|
328
|
+
type: "hero",
|
|
329
|
+
props: {
|
|
330
|
+
content: "{{service.name}}",
|
|
331
|
+
tagline: "{{service.description}} - {{service.duration}} \u2022 Starting at ${{service.price}}",
|
|
332
|
+
padding: "6rem",
|
|
333
|
+
colorPreset: {
|
|
334
|
+
color: "secondary-500",
|
|
335
|
+
gradientDirection: "bg-gradient-to-tl"
|
|
336
|
+
},
|
|
337
|
+
border: {
|
|
338
|
+
width: "border-2",
|
|
339
|
+
color: "border-secondary-300"
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
description: "Dynamic property showcase using property query",
|
|
345
|
+
type: "hero",
|
|
346
|
+
props: {
|
|
347
|
+
content: "{{property.address}}",
|
|
348
|
+
tagline: "${{property.price}} \u2022 {{property.bedrooms}} bed, {{property.bathrooms}} bath \u2022 {{property.squareFootage}} sq ft",
|
|
349
|
+
padding: "4rem",
|
|
350
|
+
colorPreset: {
|
|
351
|
+
color: "accent-500"
|
|
352
|
+
},
|
|
353
|
+
rounding: "rounded-lg",
|
|
354
|
+
shadow: "shadow-md"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
description: "Dynamic course announcement using course query",
|
|
359
|
+
type: "hero",
|
|
360
|
+
props: {
|
|
361
|
+
content: "{{course.title}}",
|
|
362
|
+
tagline: "Learn {{course.subject}} with {{course.instructor}} \u2022 {{course.duration}} \u2022 {{course.skillLevel}} level",
|
|
363
|
+
padding: "5rem",
|
|
364
|
+
colorPreset: {
|
|
365
|
+
color: "primary-600"
|
|
366
|
+
},
|
|
367
|
+
textShadow: "text-shadow-lg",
|
|
368
|
+
justifyContent: "justify-center",
|
|
369
|
+
alignItems: "items-center"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
];
|
|
373
|
+
|
|
374
|
+
export {
|
|
375
|
+
manifest,
|
|
376
|
+
examples
|
|
377
|
+
};
|
|
378
|
+
//# sourceMappingURL=chunk-EWSPTRDL.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/shared/bricks/manifests/hero.manifest.ts"],"sourcesContent":["import { defineBrickManifest } from \"~/shared/brick-manifest\";\nimport { defineProps } from \"../props/helpers\";\nimport { textContentRef } from \"../props/text\";\nimport { BsAlphabetUppercase } from \"react-icons/bs\";\nimport type { BrickProps } from \"../props/types\";\nimport { Type } from \"@sinclair/typebox\";\nimport { shadowRef, textShadowRef } from \"../props/effects\";\nimport { borderRef, roundingRef } from \"../props/border\";\nimport { colorPresetRef } from \"../props/color-preset\";\nimport { alignItemsRef, justifyContentRef } from \"../props/align\";\nimport { cssLengthRef } from \"../props/css-length\";\n\nexport const manifest = defineBrickManifest({\n type: \"hero\",\n category: \"basic\",\n name: \"Hero\",\n description: \"A big textual element for home pages.\",\n aiInstructions: `Displays a large text element that can be used to display a title and an optional tagline.\nTypically used on home pages to grab the user's attention. It's better NOT to provide the colorPreset prop so that the Hero inherits the background of its parent box or section.`,\n icon: BsAlphabetUppercase,\n\n defaultWidth: { desktop: \"60dvw\", mobile: \"auto\" },\n\n // Force the wrapper direction to be the same as the text direction\n staticClasses: \"flex-col\",\n\n props: defineProps({\n content: textContentRef({\n title: \"Hero title\",\n default: \"<h1 style='text-align:center'>Lorem Ipsum<br />dolor sit amet</h1>\",\n }),\n tagline: Type.Optional(\n textContentRef({\n title: \"Hero tagline\",\n default: \"<p style='text-align:center'>Use our platform to build your business with confidence.</p>\",\n }),\n ),\n colorPreset: Type.Optional(\n colorPresetRef({\n title: \"Color\",\n }),\n ),\n\n textShadow: Type.Optional(\n textShadowRef({\n default: \"text-shadow-sm\",\n }),\n ),\n padding: Type.Optional(\n cssLengthRef({\n default: \"6rem\",\n description: \"Padding inside the hero.\",\n \"ai:instructions\": \"Use only a single value like '1rem' or '10px'\",\n title: \"Padding\",\n \"ui:responsive\": true,\n \"ui:placeholder\": \"Not specified\",\n \"ui:styleId\": \"styles:padding\",\n }),\n ),\n rounding: Type.Optional(\n roundingRef({\n default: \"rounded-md\",\n }),\n ),\n border: Type.Optional(borderRef()),\n shadow: Type.Optional(shadowRef()),\n justifyContent: Type.Optional(\n justifyContentRef({\n default: \"justify-center\",\n }),\n ),\n alignItems: Type.Optional(\n alignItemsRef({\n default: \"items-center\",\n }),\n ),\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: \"Simple welcome hero with primary background\",\n type: \"hero\",\n props: {\n content: \"Welcome to Our Platform\",\n tagline: \"The future of productivity starts here\",\n padding: \"3rem\",\n colorPreset: {\n color: \"primary-400\",\n },\n },\n },\n {\n description: \"Startup hero with primary gradient background to bottom-right\",\n type: \"hero\",\n props: {\n content: \"Build Something Amazing\",\n tagline: \"Turn your ideas into reality with our cutting-edge tools\",\n padding: \"3rem\",\n colorPreset: {\n color: \"primary-500\",\n gradientDirection: \"bg-gradient-to-br\",\n },\n },\n },\n {\n description: \"Construction company hero with bold presence\",\n type: \"hero\",\n props: {\n content: \"Building Tomorrow Today\",\n tagline: \"Quality construction services for residential and commercial projects\",\n padding: \"3rem\",\n },\n },\n {\n description: \"Fashion brand hero with modern appeal\",\n type: \"hero\",\n props: {\n content: \"Express Your Style\",\n tagline: \"Contemporary fashion that speaks to your individuality\",\n padding: \"6rem\",\n },\n },\n {\n description: \"Law firm hero with authoritative tone\",\n type: \"hero\",\n props: {\n content: \"Justice You Can Trust\",\n tagline: \"Experienced legal representation for individuals and businesses\",\n padding: \"6rem\",\n colorPreset: {\n color: \"neutral-800\",\n },\n },\n },\n {\n description: \"Photography studio hero with artistic flair\",\n type: \"hero\",\n props: {\n content: \"Capturing Life's Moments\",\n tagline: \"Professional photography services for weddings, portraits, and events\",\n },\n },\n {\n description: \"Restaurant hero with warm colors and rounded design\",\n type: \"hero\",\n props: {\n content: \"Authentic Italian Cuisine\",\n tagline: \"Fresh ingredients, traditional recipes, unforgettable flavors\",\n padding: \"4rem\",\n colorPreset: {\n color: \"orange-600\",\n },\n rounding: \"rounded-xl\",\n shadow: \"shadow-lg\",\n },\n },\n {\n description: \"Tech company hero with success gradient and modern styling\",\n type: \"hero\",\n props: {\n content: \"Innovation Redefined\",\n tagline: \"Pushing the boundaries of what's possible with AI technology\",\n padding: \"5rem\",\n colorPreset: {\n color: \"success-500\",\n gradientDirection: \"bg-gradient-to-r\",\n },\n textShadow: \"text-shadow-lg\",\n border: {\n width: \"border-2\",\n color: \"border-success-300\",\n },\n },\n },\n {\n description: \"Medical practice hero with trust-inspiring design\",\n type: \"hero\",\n props: {\n content: \"Your Health, Our Priority\",\n tagline: \"Comprehensive healthcare services with compassionate care\",\n padding: \"4rem\",\n colorPreset: {\n color: \"blue-500\",\n },\n rounding: \"rounded-lg\",\n justifyContent: \"justify-start\",\n alignItems: \"items-start\",\n },\n },\n {\n description: \"Creative agency hero with warning accent and diagonal gradient\",\n type: \"hero\",\n props: {\n content: \"Creative Solutions\",\n tagline: \"Bold designs that make your brand unforgettable\",\n padding: \"3rem\",\n colorPreset: {\n color: \"warning-400\",\n gradientDirection: \"bg-gradient-to-tl\",\n },\n shadow: \"shadow-xl\",\n border: {\n width: \"border\",\n color: \"border-warning-200\",\n },\n },\n },\n {\n description: \"Fitness studio hero with danger color and strong presence\",\n type: \"hero\",\n props: {\n content: \"Transform Your Body\",\n tagline: \"High-intensity training programs that deliver real results\",\n padding: \"5rem\",\n colorPreset: {\n color: \"danger-600\",\n },\n textShadow: \"text-shadow-md\",\n rounding: \"rounded-2xl\",\n justifyContent: \"justify-center\",\n alignItems: \"items-center\",\n },\n },\n {\n description: \"Minimalist hero with neutral tones and subtle effects\",\n type: \"hero\",\n props: {\n content: \"Simplicity Perfected\",\n tagline: \"Clean design solutions for modern businesses\",\n padding: \"8rem\",\n colorPreset: {\n color: \"neutral-100\",\n },\n shadow: \"shadow-sm\",\n border: {\n width: \"border\",\n color: \"border-neutral-300\",\n },\n rounding: \"rounded-md\",\n },\n },\n {\n description: \"Dynamic company hero using business query data\",\n type: \"hero\",\n props: {\n content: \"Welcome to {{company.name}}\",\n tagline: \"{{company.tagline}} - Serving {{company.location}} since {{company.foundedYear}}\",\n padding: \"4rem\",\n colorPreset: {\n color: \"primary-500\",\n },\n },\n },\n {\n description: \"Dynamic employee spotlight using employee query\",\n type: \"hero\",\n props: {\n content: \"Meet {{employee.fullName}}\",\n tagline:\n \"{{employee.position}} at {{employee.department}} - {{employee.yearsExperience}} years of experience\",\n padding: \"3rem\",\n colorPreset: {\n color: \"secondary-400\",\n gradientDirection: \"bg-gradient-to-r\",\n },\n },\n },\n {\n description: \"Dynamic product launch hero using product query\",\n type: \"hero\",\n props: {\n content: \"Introducing {{product.name}}\",\n tagline: \"{{product.description}} - Starting at ${{product.price}}\",\n padding: \"5rem\",\n colorPreset: {\n color: \"accent-600\",\n },\n shadow: \"shadow-lg\",\n rounding: \"rounded-xl\",\n },\n },\n {\n description: \"Dynamic event announcement using event query\",\n type: \"hero\",\n props: {\n content: \"{{event.title}}\",\n tagline: \"Join us on {{event.date}} at {{event.venue}} - {{event.city}}\",\n padding: \"4rem\",\n colorPreset: {\n color: \"primary-400\",\n gradientDirection: \"bg-gradient-to-br\",\n },\n textShadow: \"text-shadow-md\",\n },\n },\n {\n description: \"Dynamic blog post hero using article query\",\n type: \"hero\",\n props: {\n content: \"{{article.title}}\",\n tagline: \"By {{article.author}} • Published {{article.publishDate}} • {{article.readTime}} min read\",\n padding: \"3rem\",\n colorPreset: {\n color: \"neutral-700\",\n },\n justifyContent: \"justify-start\",\n alignItems: \"items-start\",\n },\n },\n {\n description: \"Dynamic service promotion using service query\",\n type: \"hero\",\n props: {\n content: \"{{service.name}}\",\n tagline: \"{{service.description}} - {{service.duration}} • Starting at ${{service.price}}\",\n padding: \"6rem\",\n colorPreset: {\n color: \"secondary-500\",\n gradientDirection: \"bg-gradient-to-tl\",\n },\n border: {\n width: \"border-2\",\n color: \"border-secondary-300\",\n },\n },\n },\n {\n description: \"Dynamic property showcase using property query\",\n type: \"hero\",\n props: {\n content: \"{{property.address}}\",\n tagline:\n \"${{property.price}} • {{property.bedrooms}} bed, {{property.bathrooms}} bath • {{property.squareFootage}} sq ft\",\n padding: \"4rem\",\n colorPreset: {\n color: \"accent-500\",\n },\n rounding: \"rounded-lg\",\n shadow: \"shadow-md\",\n },\n },\n {\n description: \"Dynamic course announcement using course query\",\n type: \"hero\",\n props: {\n content: \"{{course.title}}\",\n tagline:\n \"Learn {{course.subject}} with {{course.instructor}} • {{course.duration}} • {{course.skillLevel}} level\",\n padding: \"5rem\",\n colorPreset: {\n color: \"primary-600\",\n },\n textShadow: \"text-shadow-lg\",\n justifyContent: \"justify-center\",\n alignItems: \"items-center\",\n },\n },\n];\n"],"mappings":";;gVAGA,OAAS,uBAAAA,MAA2B,iBAEpC,OAAS,QAAAC,MAAY,oBAOd,IAAMC,EAAWC,EAAoB,CAC1C,KAAM,OACN,SAAU,QACV,KAAM,OACN,YAAa,wCACb,eAAgB;AAAA,mLAEhB,KAAMC,EAEN,aAAc,CAAE,QAAS,QAAS,OAAQ,MAAO,EAGjD,cAAe,WAEf,MAAOC,EAAY,CACjB,QAASC,EAAe,CACtB,MAAO,aACP,QAAS,oEACX,CAAC,EACD,QAASC,EAAK,SACZD,EAAe,CACb,MAAO,eACP,QAAS,2FACX,CAAC,CACH,EACA,YAAaC,EAAK,SAChBC,EAAe,CACb,MAAO,OACT,CAAC,CACH,EAEA,WAAYD,EAAK,SACfE,EAAc,CACZ,QAAS,gBACX,CAAC,CACH,EACA,QAASF,EAAK,SACZG,EAAa,CACX,QAAS,OACT,YAAa,2BACb,kBAAmB,gDACnB,MAAO,UACP,gBAAiB,GACjB,iBAAkB,gBAClB,aAAc,gBAChB,CAAC,CACH,EACA,SAAUH,EAAK,SACbI,EAAY,CACV,QAAS,YACX,CAAC,CACH,EACA,OAAQJ,EAAK,SAASK,EAAU,CAAC,EACjC,OAAQL,EAAK,SAASM,EAAU,CAAC,EACjC,eAAgBN,EAAK,SACnBO,EAAkB,CAChB,QAAS,gBACX,CAAC,CACH,EACA,WAAYP,EAAK,SACfQ,EAAc,CACZ,QAAS,cACX,CAAC,CACH,CACF,CAAC,CACH,CAAC,EAIYC,EAIP,CACJ,CACE,YAAa,8CACb,KAAM,OACN,MAAO,CACL,QAAS,0BACT,QAAS,yCACT,QAAS,OACT,YAAa,CACX,MAAO,aACT,CACF,CACF,EACA,CACE,YAAa,gEACb,KAAM,OACN,MAAO,CACL,QAAS,0BACT,QAAS,2DACT,QAAS,OACT,YAAa,CACX,MAAO,cACP,kBAAmB,mBACrB,CACF,CACF,EACA,CACE,YAAa,+CACb,KAAM,OACN,MAAO,CACL,QAAS,0BACT,QAAS,wEACT,QAAS,MACX,CACF,EACA,CACE,YAAa,wCACb,KAAM,OACN,MAAO,CACL,QAAS,qBACT,QAAS,yDACT,QAAS,MACX,CACF,EACA,CACE,YAAa,wCACb,KAAM,OACN,MAAO,CACL,QAAS,wBACT,QAAS,kEACT,QAAS,OACT,YAAa,CACX,MAAO,aACT,CACF,CACF,EACA,CACE,YAAa,8CACb,KAAM,OACN,MAAO,CACL,QAAS,2BACT,QAAS,uEACX,CACF,EACA,CACE,YAAa,sDACb,KAAM,OACN,MAAO,CACL,QAAS,4BACT,QAAS,gEACT,QAAS,OACT,YAAa,CACX,MAAO,YACT,EACA,SAAU,aACV,OAAQ,WACV,CACF,EACA,CACE,YAAa,6DACb,KAAM,OACN,MAAO,CACL,QAAS,uBACT,QAAS,+DACT,QAAS,OACT,YAAa,CACX,MAAO,cACP,kBAAmB,kBACrB,EACA,WAAY,iBACZ,OAAQ,CACN,MAAO,WACP,MAAO,oBACT,CACF,CACF,EACA,CACE,YAAa,oDACb,KAAM,OACN,MAAO,CACL,QAAS,4BACT,QAAS,4DACT,QAAS,OACT,YAAa,CACX,MAAO,UACT,EACA,SAAU,aACV,eAAgB,gBAChB,WAAY,aACd,CACF,EACA,CACE,YAAa,iEACb,KAAM,OACN,MAAO,CACL,QAAS,qBACT,QAAS,kDACT,QAAS,OACT,YAAa,CACX,MAAO,cACP,kBAAmB,mBACrB,EACA,OAAQ,YACR,OAAQ,CACN,MAAO,SACP,MAAO,oBACT,CACF,CACF,EACA,CACE,YAAa,4DACb,KAAM,OACN,MAAO,CACL,QAAS,sBACT,QAAS,6DACT,QAAS,OACT,YAAa,CACX,MAAO,YACT,EACA,WAAY,iBACZ,SAAU,cACV,eAAgB,iBAChB,WAAY,cACd,CACF,EACA,CACE,YAAa,wDACb,KAAM,OACN,MAAO,CACL,QAAS,uBACT,QAAS,+CACT,QAAS,OACT,YAAa,CACX,MAAO,aACT,EACA,OAAQ,YACR,OAAQ,CACN,MAAO,SACP,MAAO,oBACT,EACA,SAAU,YACZ,CACF,EACA,CACE,YAAa,iDACb,KAAM,OACN,MAAO,CACL,QAAS,8BACT,QAAS,mFACT,QAAS,OACT,YAAa,CACX,MAAO,aACT,CACF,CACF,EACA,CACE,YAAa,kDACb,KAAM,OACN,MAAO,CACL,QAAS,6BACT,QACE,sGACF,QAAS,OACT,YAAa,CACX,MAAO,gBACP,kBAAmB,kBACrB,CACF,CACF,EACA,CACE,YAAa,kDACb,KAAM,OACN,MAAO,CACL,QAAS,+BACT,QAAS,2DACT,QAAS,OACT,YAAa,CACX,MAAO,YACT,EACA,OAAQ,YACR,SAAU,YACZ,CACF,EACA,CACE,YAAa,+CACb,KAAM,OACN,MAAO,CACL,QAAS,kBACT,QAAS,gEACT,QAAS,OACT,YAAa,CACX,MAAO,cACP,kBAAmB,mBACrB,EACA,WAAY,gBACd,CACF,EACA,CACE,YAAa,6CACb,KAAM,OACN,MAAO,CACL,QAAS,oBACT,QAAS,sGACT,QAAS,OACT,YAAa,CACX,MAAO,aACT,EACA,eAAgB,gBAChB,WAAY,aACd,CACF,EACA,CACE,YAAa,gDACb,KAAM,OACN,MAAO,CACL,QAAS,mBACT,QAAS,uFACT,QAAS,OACT,YAAa,CACX,MAAO,gBACP,kBAAmB,mBACrB,EACA,OAAQ,CACN,MAAO,WACP,MAAO,sBACT,CACF,CACF,EACA,CACE,YAAa,iDACb,KAAM,OACN,MAAO,CACL,QAAS,uBACT,QACE,4HACF,QAAS,OACT,YAAa,CACX,MAAO,YACT,EACA,SAAU,aACV,OAAQ,WACV,CACF,EACA,CACE,YAAa,iDACb,KAAM,OACN,MAAO,CACL,QAAS,mBACT,QACE,oHACF,QAAS,OACT,YAAa,CACX,MAAO,aACT,EACA,WAAY,iBACZ,eAAgB,iBAChB,WAAY,cACd,CACF,CACF","names":["BsAlphabetUppercase","Type","manifest","defineBrickManifest","BsAlphabetUppercase","defineProps","textContentRef","Type","colorPresetRef","textShadowRef","cssLengthRef","roundingRef","borderRef","shadowRef","justifyContentRef","alignItemsRef","examples"]}
|
|
1
|
+
{"version":3,"sources":["../../src/shared/bricks/manifests/hero.manifest.ts"],"sourcesContent":["import { defineBrickManifest } from \"~/shared/brick-manifest\";\nimport { defineProps } from \"../props/helpers\";\nimport { textContentRef } from \"../props/text\";\nimport { BsAlphabetUppercase } from \"react-icons/bs\";\nimport type { BrickProps } from \"../props/types\";\nimport { Type } from \"@sinclair/typebox\";\nimport { shadowRef, textShadowRef } from \"../props/effects\";\nimport { borderRef, roundingRef } from \"../props/border\";\nimport { colorPresetRef } from \"../props/color-preset\";\nimport { alignItemsRef, justifyContentRef } from \"../props/align\";\nimport { cssLengthRef } from \"../props/css-length\";\n\nexport const manifest = defineBrickManifest({\n type: \"hero\",\n category: \"basic\",\n name: \"Hero\",\n description: \"A big textual element for home pages.\",\n aiInstructions: `Displays a large text element that can be used to display a title and an optional tagline.\nTypically used on home pages to grab the user's attention. It's better NOT to provide the colorPreset prop so that the Hero inherits the background of its parent box or section.`,\n icon: BsAlphabetUppercase,\n\n defaultWidth: { desktop: \"60dvw\", mobile: \"auto\" },\n\n // Force the wrapper direction to be the same as the text direction\n staticClasses: \"flex-col\",\n\n props: defineProps({\n content: textContentRef({\n title: \"Hero title\",\n default: \"<h1 style='text-align:center'>Lorem Ipsum<br />dolor sit amet</h1>\",\n }),\n tagline: Type.Optional(\n textContentRef({\n title: \"Hero tagline\",\n default: \"<p style='text-align:center'>Use our platform to build your business with confidence.</p>\",\n }),\n ),\n colorPreset: Type.Optional(\n colorPresetRef({\n title: \"Color\",\n }),\n ),\n\n textShadow: Type.Optional(\n textShadowRef({\n default: \"text-shadow-sm\",\n }),\n ),\n padding: Type.Optional(\n cssLengthRef({\n default: \"6rem\",\n description: \"Padding inside the hero.\",\n \"ai:instructions\": \"Use only a single value like '1rem' or '10px'\",\n title: \"Padding\",\n \"ui:responsive\": true,\n \"ui:placeholder\": \"Not specified\",\n \"ui:styleId\": \"styles:padding\",\n }),\n ),\n rounding: Type.Optional(\n roundingRef({\n default: \"rounded-md\",\n }),\n ),\n border: Type.Optional(borderRef()),\n shadow: Type.Optional(shadowRef()),\n justifyContent: Type.Optional(\n justifyContentRef({\n default: \"justify-center\",\n }),\n ),\n alignItems: Type.Optional(\n alignItemsRef({\n default: \"items-center\",\n }),\n ),\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: \"Simple welcome hero with primary background\",\n type: \"hero\",\n props: {\n content: \"Welcome to Our Platform\",\n tagline: \"The future of productivity starts here\",\n padding: \"3rem\",\n colorPreset: {\n color: \"primary-400\",\n },\n },\n },\n {\n description: \"Startup hero with primary gradient background to bottom-right\",\n type: \"hero\",\n props: {\n content: \"Build Something Amazing\",\n tagline: \"Turn your ideas into reality with our cutting-edge tools\",\n padding: \"3rem\",\n colorPreset: {\n color: \"primary-500\",\n gradientDirection: \"bg-gradient-to-br\",\n },\n },\n },\n {\n description: \"Construction company hero with bold presence\",\n type: \"hero\",\n props: {\n content: \"Building Tomorrow Today\",\n tagline: \"Quality construction services for residential and commercial projects\",\n padding: \"3rem\",\n },\n },\n {\n description: \"Fashion brand hero with modern appeal\",\n type: \"hero\",\n props: {\n content: \"Express Your Style\",\n tagline: \"Contemporary fashion that speaks to your individuality\",\n padding: \"6rem\",\n },\n },\n {\n description: \"Law firm hero with authoritative tone\",\n type: \"hero\",\n props: {\n content: \"Justice You Can Trust\",\n tagline: \"Experienced legal representation for individuals and businesses\",\n padding: \"6rem\",\n colorPreset: {\n color: \"neutral-800\",\n },\n },\n },\n {\n description: \"Photography studio hero with artistic flair\",\n type: \"hero\",\n props: {\n content: \"Capturing Life's Moments\",\n tagline: \"Professional photography services for weddings, portraits, and events\",\n },\n },\n {\n description: \"Restaurant hero with warm colors and rounded design\",\n type: \"hero\",\n props: {\n content: \"Authentic Italian Cuisine\",\n tagline: \"Fresh ingredients, traditional recipes, unforgettable flavors\",\n padding: \"4rem\",\n colorPreset: {\n color: \"orange-600\",\n },\n rounding: \"rounded-xl\",\n shadow: \"shadow-lg\",\n },\n },\n {\n description: \"Tech company hero with success gradient and modern styling\",\n type: \"hero\",\n props: {\n content: \"Innovation Redefined\",\n tagline: \"Pushing the boundaries of what's possible with AI technology\",\n padding: \"5rem\",\n colorPreset: {\n color: \"success-500\",\n gradientDirection: \"bg-gradient-to-r\",\n },\n textShadow: \"text-shadow-lg\",\n border: {\n width: \"border-2\",\n color: \"border-success-300\",\n },\n },\n },\n {\n description: \"Medical practice hero with trust-inspiring design\",\n type: \"hero\",\n props: {\n content: \"Your Health, Our Priority\",\n tagline: \"Comprehensive healthcare services with compassionate care\",\n padding: \"4rem\",\n colorPreset: {\n color: \"blue-500\",\n },\n rounding: \"rounded-lg\",\n justifyContent: \"justify-start\",\n alignItems: \"items-start\",\n },\n },\n {\n description: \"Creative agency hero with warning accent and diagonal gradient\",\n type: \"hero\",\n props: {\n content: \"Creative Solutions\",\n tagline: \"Bold designs that make your brand unforgettable\",\n padding: \"3rem\",\n colorPreset: {\n color: \"warning-400\",\n gradientDirection: \"bg-gradient-to-tl\",\n },\n shadow: \"shadow-xl\",\n border: {\n width: \"border\",\n color: \"border-warning-200\",\n },\n },\n },\n {\n description: \"Fitness studio hero with danger color and strong presence\",\n type: \"hero\",\n props: {\n content: \"Transform Your Body\",\n tagline: \"High-intensity training programs that deliver real results\",\n padding: \"5rem\",\n colorPreset: {\n color: \"danger-600\",\n },\n textShadow: \"text-shadow-md\",\n rounding: \"rounded-2xl\",\n justifyContent: \"justify-center\",\n alignItems: \"items-center\",\n },\n },\n {\n description: \"Minimalist hero with neutral tones and subtle effects\",\n type: \"hero\",\n props: {\n content: \"Simplicity Perfected\",\n tagline: \"Clean design solutions for modern businesses\",\n padding: \"8rem\",\n colorPreset: {\n color: \"neutral-100\",\n },\n shadow: \"shadow-sm\",\n border: {\n width: \"border\",\n color: \"border-neutral-300\",\n },\n rounding: \"rounded-md\",\n },\n },\n {\n description: \"Dynamic company hero using business query data\",\n type: \"hero\",\n props: {\n content: \"Welcome to {{company.name}}\",\n tagline: \"{{company.tagline}} - Serving {{company.location}} since {{company.foundedYear}}\",\n padding: \"4rem\",\n colorPreset: {\n color: \"primary-500\",\n },\n },\n },\n {\n description: \"Dynamic employee spotlight using employee query\",\n type: \"hero\",\n props: {\n content: \"Meet {{employee.fullName}}\",\n tagline:\n \"{{employee.position}} at {{employee.department}} - {{employee.yearsExperience}} years of experience\",\n padding: \"3rem\",\n colorPreset: {\n color: \"secondary-400\",\n gradientDirection: \"bg-gradient-to-r\",\n },\n },\n },\n {\n description: \"Dynamic product launch hero using product query\",\n type: \"hero\",\n props: {\n content: \"Introducing {{product.name}}\",\n tagline: \"{{product.description}} - Starting at ${{product.price}}\",\n padding: \"5rem\",\n colorPreset: {\n color: \"accent-600\",\n },\n shadow: \"shadow-lg\",\n rounding: \"rounded-xl\",\n },\n },\n {\n description: \"Dynamic event announcement using event query\",\n type: \"hero\",\n props: {\n content: \"{{event.title}}\",\n tagline: \"Join us on {{event.date}} at {{event.venue}} - {{event.city}}\",\n padding: \"4rem\",\n colorPreset: {\n color: \"primary-400\",\n gradientDirection: \"bg-gradient-to-br\",\n },\n textShadow: \"text-shadow-md\",\n },\n },\n {\n description: \"Dynamic blog post hero using article query\",\n type: \"hero\",\n props: {\n content: \"{{article.title}}\",\n tagline: \"By {{article.author}} • Published {{article.publishDate}} • {{article.readTime}} min read\",\n padding: \"3rem\",\n colorPreset: {\n color: \"neutral-700\",\n },\n justifyContent: \"justify-start\",\n alignItems: \"items-start\",\n },\n },\n {\n description: \"Dynamic service promotion using service query\",\n type: \"hero\",\n props: {\n content: \"{{service.name}}\",\n tagline: \"{{service.description}} - {{service.duration}} • Starting at ${{service.price}}\",\n padding: \"6rem\",\n colorPreset: {\n color: \"secondary-500\",\n gradientDirection: \"bg-gradient-to-tl\",\n },\n border: {\n width: \"border-2\",\n color: \"border-secondary-300\",\n },\n },\n },\n {\n description: \"Dynamic property showcase using property query\",\n type: \"hero\",\n props: {\n content: \"{{property.address}}\",\n tagline:\n \"${{property.price}} • {{property.bedrooms}} bed, {{property.bathrooms}} bath • {{property.squareFootage}} sq ft\",\n padding: \"4rem\",\n colorPreset: {\n color: \"accent-500\",\n },\n rounding: \"rounded-lg\",\n shadow: \"shadow-md\",\n },\n },\n {\n description: \"Dynamic course announcement using course query\",\n type: \"hero\",\n props: {\n content: \"{{course.title}}\",\n tagline:\n \"Learn {{course.subject}} with {{course.instructor}} • {{course.duration}} • {{course.skillLevel}} level\",\n padding: \"5rem\",\n colorPreset: {\n color: \"primary-600\",\n },\n textShadow: \"text-shadow-lg\",\n justifyContent: \"justify-center\",\n alignItems: \"items-center\",\n },\n },\n];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,SAAS,2BAA2B;AAEpC,SAAS,YAAY;AAOd,IAAM,WAAW,oBAAoB;AAAA,EAC1C,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,aAAa;AAAA,EACb,gBAAgB;AAAA;AAAA,EA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