@upstart.gg/sdk 0.0.132 → 0.0.133
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.js +1 -0
- package/dist/shared/ai/schemas.js.map +1 -0
- package/dist/shared/ai/types.js +1 -0
- package/dist/shared/ai/types.js.map +1 -0
- package/dist/shared/ajv.js +2 -1
- package/dist/shared/ajv.js.map +1 -0
- package/dist/shared/analytics/init.js +1 -0
- package/dist/shared/analytics/init.js.map +1 -0
- package/dist/shared/analytics/track.js +1 -0
- package/dist/shared/analytics/track.js.map +1 -0
- package/dist/shared/analytics/types.js +1 -0
- package/dist/shared/analytics/types.js.map +1 -0
- package/dist/shared/attributes.js +2 -1
- package/dist/shared/attributes.js.map +1 -0
- package/dist/shared/brick-manifest.js +2 -1
- package/dist/shared/brick-manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/accordion.manifest.js +2 -1
- package/dist/shared/bricks/manifests/accordion.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/all-manifests.js +2 -1
- package/dist/shared/bricks/manifests/all-manifests.js.map +1 -0
- package/dist/shared/bricks/manifests/box.manifest.js +2 -1
- package/dist/shared/bricks/manifests/box.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/button.manifest.js +2 -1
- package/dist/shared/bricks/manifests/button.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/card.manifest.js +2 -1
- package/dist/shared/bricks/manifests/card.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/carousel.manifest.js +2 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/footer.manifest.js +2 -1
- package/dist/shared/bricks/manifests/footer.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/form.manifest.js +2 -1
- package/dist/shared/bricks/manifests/form.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/hero.manifest.js +2 -1
- package/dist/shared/bricks/manifests/hero.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/html.manifest.js +2 -1
- package/dist/shared/bricks/manifests/html.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/icon.manifest.js +2 -1
- package/dist/shared/bricks/manifests/icon.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/image.manifest.js +2 -1
- package/dist/shared/bricks/manifests/image.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +2 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/map.manifest.js +2 -1
- package/dist/shared/bricks/manifests/map.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/navbar.manifest.js +2 -1
- package/dist/shared/bricks/manifests/navbar.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/sidebar.manifest.js +2 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/social-links.manifest.js +2 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/spacer.manifest.js +2 -1
- package/dist/shared/bricks/manifests/spacer.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/testimonials.manifest.js +2 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/text.manifest.js +2 -1
- package/dist/shared/bricks/manifests/text.manifest.js.map +1 -0
- package/dist/shared/bricks/manifests/video.manifest.js +2 -1
- package/dist/shared/bricks/manifests/video.manifest.js.map +1 -0
- package/dist/shared/bricks/props/align.js +2 -1
- package/dist/shared/bricks/props/align.js.map +1 -0
- package/dist/shared/bricks/props/background.js +2 -1
- package/dist/shared/bricks/props/background.js.map +1 -0
- package/dist/shared/bricks/props/boolean.js +2 -1
- package/dist/shared/bricks/props/boolean.js.map +1 -0
- package/dist/shared/bricks/props/border.js +2 -1
- package/dist/shared/bricks/props/border.js.map +1 -0
- package/dist/shared/bricks/props/color-preset.js +2 -1
- package/dist/shared/bricks/props/color-preset.js.map +1 -0
- package/dist/shared/bricks/props/color.js +2 -1
- package/dist/shared/bricks/props/color.js.map +1 -0
- package/dist/shared/bricks/props/common.js +2 -1
- package/dist/shared/bricks/props/common.js.map +1 -0
- package/dist/shared/bricks/props/css-length.js +2 -1
- package/dist/shared/bricks/props/css-length.js.map +1 -0
- package/dist/shared/bricks/props/datarecord.js +2 -1
- package/dist/shared/bricks/props/datarecord.js.map +1 -0
- package/dist/shared/bricks/props/datasource.js +2 -1
- package/dist/shared/bricks/props/datasource.js.map +1 -0
- package/dist/shared/bricks/props/date.js +2 -1
- package/dist/shared/bricks/props/date.js.map +1 -0
- package/dist/shared/bricks/props/direction.js +2 -1
- package/dist/shared/bricks/props/direction.js.map +1 -0
- package/dist/shared/bricks/props/dynamic.js +2 -1
- package/dist/shared/bricks/props/dynamic.js.map +1 -0
- package/dist/shared/bricks/props/effects.js +2 -1
- package/dist/shared/bricks/props/effects.js.map +1 -0
- package/dist/shared/bricks/props/enum.js +2 -1
- package/dist/shared/bricks/props/enum.js.map +1 -0
- package/dist/shared/bricks/props/file.js +1 -0
- package/dist/shared/bricks/props/file.js.map +1 -0
- package/dist/shared/bricks/props/geolocation.js +2 -1
- package/dist/shared/bricks/props/geolocation.js.map +1 -0
- package/dist/shared/bricks/props/helpers.js +2 -1
- package/dist/shared/bricks/props/helpers.js.map +1 -0
- package/dist/shared/bricks/props/image.js +2 -1
- package/dist/shared/bricks/props/image.js.map +1 -0
- package/dist/shared/bricks/props/number.js +2 -1
- package/dist/shared/bricks/props/number.js.map +1 -0
- package/dist/shared/bricks/props/position.js +2 -1
- package/dist/shared/bricks/props/position.js.map +1 -0
- package/dist/shared/bricks/props/string.js +2 -1
- package/dist/shared/bricks/props/string.js.map +1 -0
- package/dist/shared/bricks/props/tags.js +2 -1
- package/dist/shared/bricks/props/tags.js.map +1 -0
- package/dist/shared/bricks/props/text.js +2 -1
- package/dist/shared/bricks/props/text.js.map +1 -0
- package/dist/shared/bricks/props/types.js +1 -0
- package/dist/shared/bricks/props/types.js.map +1 -0
- package/dist/shared/bricks.js +2 -1
- package/dist/shared/bricks.js.map +1 -0
- package/dist/shared/{chunk-6PGAWO4H.js → chunk-3YVJ2ELD.js} +2 -1
- package/dist/shared/chunk-3YVJ2ELD.js.map +1 -0
- package/dist/shared/{chunk-AB3IMRXZ.js → chunk-4BTB3MU2.js} +2 -1
- package/dist/shared/chunk-4BTB3MU2.js.map +1 -0
- package/dist/shared/{chunk-ZJNA4QQC.js → chunk-4WDWJA3N.js} +1 -0
- package/dist/shared/chunk-4WDWJA3N.js.map +1 -0
- package/dist/shared/{chunk-NQKXDMQ5.js → chunk-5O4Z3YQY.js} +1 -0
- package/dist/shared/chunk-5O4Z3YQY.js.map +1 -0
- package/dist/shared/{chunk-VK26ZZFR.js → chunk-5YRC3IT3.js} +2 -1
- package/dist/shared/chunk-5YRC3IT3.js.map +1 -0
- package/dist/shared/{chunk-WAML3IGZ.js → chunk-6HLU4UI2.js} +1 -0
- package/dist/shared/chunk-6HLU4UI2.js.map +1 -0
- package/dist/shared/{chunk-MKIXZXWS.js → chunk-6I3ONVU6.js} +1 -0
- package/dist/shared/chunk-6I3ONVU6.js.map +1 -0
- package/dist/shared/{chunk-AZHH3XJJ.js → chunk-7A2JNQX3.js} +2 -1
- package/dist/shared/chunk-7A2JNQX3.js.map +1 -0
- package/dist/shared/{chunk-7UBMXMNJ.js → chunk-A3GF4PYW.js} +2 -1
- package/dist/shared/chunk-A3GF4PYW.js.map +1 -0
- package/dist/shared/{chunk-46YDGGFF.js → chunk-A3K4NUVP.js} +2 -1
- package/dist/shared/chunk-A3K4NUVP.js.map +1 -0
- package/dist/shared/{chunk-F4JNKU7J.js → chunk-AFVJZPLS.js} +2 -1
- package/dist/shared/chunk-AFVJZPLS.js.map +1 -0
- package/dist/shared/{chunk-PW5HRVMD.js → chunk-AI4GHU7R.js} +2 -1
- package/dist/shared/chunk-AI4GHU7R.js.map +1 -0
- package/dist/shared/{chunk-SAJY7H6N.js → chunk-B3EATRFX.js} +2 -1
- package/dist/shared/chunk-B3EATRFX.js.map +1 -0
- package/dist/shared/{chunk-3FPFR5RA.js → chunk-CCI4C3TM.js} +2 -1
- package/dist/shared/chunk-CCI4C3TM.js.map +1 -0
- package/dist/shared/{chunk-URRCKLAS.js → chunk-CFF6Q7O7.js} +2 -1
- package/dist/shared/chunk-CFF6Q7O7.js.map +1 -0
- package/dist/shared/{chunk-Z4YKRLOX.js → chunk-CZRCW5EN.js} +2 -1
- package/dist/shared/chunk-CZRCW5EN.js.map +1 -0
- package/dist/shared/{chunk-ARMM6B47.js → chunk-DCH4ZKWT.js} +1 -0
- package/dist/shared/chunk-DCH4ZKWT.js.map +1 -0
- package/dist/shared/{chunk-GC5OWY2Z.js → chunk-DHI3IBOD.js} +2 -1
- package/dist/shared/chunk-DHI3IBOD.js.map +1 -0
- package/dist/shared/{chunk-PZYX3ACO.js → chunk-DQ7PRWTG.js} +1 -0
- package/dist/shared/chunk-DQ7PRWTG.js.map +1 -0
- package/dist/shared/{chunk-XED6ARVN.js → chunk-E6XEI7IK.js} +2 -1
- package/dist/shared/chunk-E6XEI7IK.js.map +1 -0
- package/dist/shared/{chunk-6R76KIHZ.js → chunk-FLOMNC6J.js} +2 -1
- package/dist/shared/chunk-FLOMNC6J.js.map +1 -0
- package/dist/shared/{chunk-EVDZ2KND.js → chunk-G5CJU6RD.js} +2 -1
- package/dist/shared/chunk-G5CJU6RD.js.map +1 -0
- package/dist/shared/{chunk-MVCVVKBY.js → chunk-GACHLACT.js} +2 -1
- package/dist/shared/chunk-GACHLACT.js.map +1 -0
- package/dist/shared/{chunk-X62OEAE6.js → chunk-GLS7HPIZ.js} +1 -0
- package/dist/shared/chunk-GLS7HPIZ.js.map +1 -0
- package/dist/shared/{chunk-ML4JSDQM.js → chunk-GOMXZC4B.js} +2 -1
- package/dist/shared/chunk-GOMXZC4B.js.map +1 -0
- package/dist/shared/{chunk-L2HOZVBC.js → chunk-GPEMPZXK.js} +1 -0
- package/dist/shared/chunk-GPEMPZXK.js.map +1 -0
- package/dist/shared/{chunk-IFEIRRZ2.js → chunk-HAGKVQOW.js} +1 -0
- package/dist/shared/chunk-HAGKVQOW.js.map +1 -0
- package/dist/shared/{chunk-ILIWVWHC.js → chunk-I3VL6SRH.js} +2 -1
- package/dist/shared/chunk-I3VL6SRH.js.map +1 -0
- package/dist/shared/{chunk-2NLDX5FG.js → chunk-IKC3FK7L.js} +2 -1
- package/dist/shared/chunk-IKC3FK7L.js.map +1 -0
- package/dist/shared/{chunk-STDCM2KD.js → chunk-IKHZD2JH.js} +2 -1
- package/dist/shared/chunk-IKHZD2JH.js.map +1 -0
- package/dist/shared/{chunk-NKIEDT7V.js → chunk-IUXCWWGO.js} +1 -0
- package/dist/shared/chunk-IUXCWWGO.js.map +1 -0
- package/dist/shared/{chunk-SFKZAUPW.js → chunk-JMN3HTZU.js} +1 -0
- package/dist/shared/chunk-JMN3HTZU.js.map +1 -0
- package/dist/shared/{chunk-VLXZMESE.js → chunk-KBHDY425.js} +1 -0
- package/dist/shared/chunk-KBHDY425.js.map +1 -0
- package/dist/shared/{chunk-5WY7LYXK.js → chunk-KFM6KXSE.js} +1 -0
- package/dist/shared/chunk-KFM6KXSE.js.map +1 -0
- package/dist/shared/{chunk-7QFMCLUL.js → chunk-KLD3P5XH.js} +1 -0
- package/dist/shared/chunk-KLD3P5XH.js.map +1 -0
- package/dist/shared/{chunk-6L3Z5SZQ.js → chunk-KO5FPOWZ.js} +1 -0
- package/dist/shared/chunk-KO5FPOWZ.js.map +1 -0
- package/dist/shared/{chunk-YIFNKP4J.js → chunk-KSEURRVZ.js} +1 -0
- package/dist/shared/chunk-KSEURRVZ.js.map +1 -0
- package/dist/shared/{chunk-HP7CZB2F.js → chunk-KYY3PHP7.js} +1 -0
- package/dist/shared/chunk-KYY3PHP7.js.map +1 -0
- package/dist/shared/{chunk-ARYG4XMX.js → chunk-NJGXC7D6.js} +2 -1
- package/dist/shared/chunk-NJGXC7D6.js.map +1 -0
- package/dist/shared/{chunk-SFDRAHYP.js → chunk-NM5MMPCF.js} +2 -1
- package/dist/shared/chunk-NM5MMPCF.js.map +1 -0
- package/dist/shared/{chunk-XZLBM4AX.js → chunk-OGBMYMZD.js} +2 -1
- package/dist/shared/chunk-OGBMYMZD.js.map +1 -0
- package/dist/shared/{chunk-HSRXUIVM.js → chunk-OHNYCXPX.js} +2 -1
- package/dist/shared/chunk-OHNYCXPX.js.map +1 -0
- package/dist/shared/{chunk-MPBYGS6W.js → chunk-OIY3EPHO.js} +1 -0
- package/dist/shared/chunk-OIY3EPHO.js.map +1 -0
- package/dist/shared/{chunk-L42YBY5I.js → chunk-PIG623TZ.js} +1 -0
- package/dist/shared/chunk-PIG623TZ.js.map +1 -0
- package/dist/shared/{chunk-K5ADUHF4.js → chunk-PLSV746R.js} +2 -1
- package/dist/shared/chunk-PLSV746R.js.map +1 -0
- package/dist/shared/chunk-PSCN3VVA.js +4 -0
- package/dist/shared/chunk-PSCN3VVA.js.map +1 -0
- package/dist/shared/{chunk-3P36LG6T.js → chunk-PSTFJ5IJ.js} +2 -1
- package/dist/shared/chunk-PSTFJ5IJ.js.map +1 -0
- package/dist/shared/{chunk-TH5SONR6.js → chunk-PXI7AHWS.js} +2 -1
- package/dist/shared/chunk-PXI7AHWS.js.map +1 -0
- package/dist/shared/{chunk-AMQAGDFH.js → chunk-Q4H4QEMB.js} +1 -0
- package/dist/shared/chunk-Q4H4QEMB.js.map +1 -0
- package/dist/shared/{chunk-LEWKHCRI.js → chunk-QGYZ7CG5.js} +2 -1
- package/dist/shared/chunk-QGYZ7CG5.js.map +1 -0
- package/dist/shared/{chunk-US53TNMK.js → chunk-QWGUMKZC.js} +2 -1
- package/dist/shared/chunk-QWGUMKZC.js.map +1 -0
- package/dist/shared/{chunk-5X5SX5N7.js → chunk-QX6OGRRT.js} +2 -1
- package/dist/shared/chunk-QX6OGRRT.js.map +1 -0
- package/dist/shared/{chunk-VDX2J22H.js → chunk-R6ATC4TC.js} +2 -1
- package/dist/shared/chunk-R6ATC4TC.js.map +1 -0
- package/dist/shared/{chunk-WXKRIUTA.js → chunk-RDZK73KV.js} +1 -0
- package/dist/shared/chunk-RDZK73KV.js.map +1 -0
- package/dist/shared/{chunk-4GIZ6WSG.js → chunk-RJYZ5FAR.js} +2 -1
- package/dist/shared/chunk-RJYZ5FAR.js.map +1 -0
- package/dist/shared/{chunk-3QOAHMV4.js → chunk-SQ5T4AT5.js} +2 -1
- package/dist/shared/chunk-SQ5T4AT5.js.map +1 -0
- package/dist/shared/{chunk-DKNOZLA6.js → chunk-SWLUQVK7.js} +2 -1
- package/dist/shared/chunk-SWLUQVK7.js.map +1 -0
- package/dist/shared/{chunk-QGFQA7OZ.js → chunk-SXHDQ64Z.js} +2 -1
- package/dist/shared/chunk-SXHDQ64Z.js.map +1 -0
- package/dist/shared/{chunk-UDQWYGSO.js → chunk-SY6DZLTC.js} +2 -1
- package/dist/shared/chunk-SY6DZLTC.js.map +1 -0
- package/dist/shared/{chunk-RJZZWCBD.js → chunk-VEDQV5XO.js} +1 -0
- package/dist/shared/chunk-VEDQV5XO.js.map +1 -0
- package/dist/shared/{chunk-JRCVYDCD.js → chunk-W33JMRRN.js} +2 -1
- package/dist/shared/chunk-W33JMRRN.js.map +1 -0
- package/dist/shared/{chunk-Y3X4F4YJ.js → chunk-WBZW5LVH.js} +2 -1
- package/dist/shared/chunk-WBZW5LVH.js.map +1 -0
- package/dist/shared/{chunk-SDS4QU72.js → chunk-WHTPGWUV.js} +2 -1
- package/dist/shared/chunk-WHTPGWUV.js.map +1 -0
- package/dist/shared/{chunk-LT4CW2F7.js → chunk-WYVJE6J5.js} +2 -1
- package/dist/shared/chunk-WYVJE6J5.js.map +1 -0
- package/dist/shared/{chunk-PO6UODZ5.js → chunk-ZA3GAB4H.js} +2 -1
- package/dist/shared/chunk-ZA3GAB4H.js.map +1 -0
- package/dist/shared/{chunk-2CYAFF56.js → chunk-ZFCUSWMT.js} +1 -0
- package/dist/shared/chunk-ZFCUSWMT.js.map +1 -0
- package/dist/shared/{chunk-UCR2UZOY.js → chunk-ZQPXQCY2.js} +2 -1
- package/dist/shared/chunk-ZQPXQCY2.js.map +1 -0
- package/dist/shared/{chunk-DHSWVVMI.js → chunk-ZTZJHY4E.js} +2 -1
- package/dist/shared/chunk-ZTZJHY4E.js.map +1 -0
- package/dist/shared/context.js +1 -0
- package/dist/shared/context.js.map +1 -0
- package/dist/shared/datarecords/external/airtable/handler.js +1 -0
- package/dist/shared/datarecords/external/airtable/handler.js.map +1 -0
- package/dist/shared/datarecords/external/airtable/oauth/config.js +1 -0
- package/dist/shared/datarecords/external/airtable/oauth/config.js.map +1 -0
- package/dist/shared/datarecords/external/airtable/types.js +2 -1
- package/dist/shared/datarecords/external/airtable/types.js.map +1 -0
- package/dist/shared/datarecords/external/generic-webhook/handler.js +1 -0
- package/dist/shared/datarecords/external/generic-webhook/handler.js.map +1 -0
- package/dist/shared/datarecords/external/generic-webhook/options.js +1 -0
- package/dist/shared/datarecords/external/generic-webhook/options.js.map +1 -0
- package/dist/shared/datarecords/external/google/oauth/config.js +1 -0
- package/dist/shared/datarecords/external/google/oauth/config.js.map +1 -0
- package/dist/shared/datarecords/external/google/sheets/client.js +2 -1
- package/dist/shared/datarecords/external/google/sheets/client.js.map +1 -0
- package/dist/shared/datarecords/external/google/sheets/handler.js +2 -1
- package/dist/shared/datarecords/external/google/sheets/handler.js.map +1 -0
- package/dist/shared/datarecords/external/google/sheets/types.js +2 -1
- package/dist/shared/datarecords/external/google/sheets/types.js.map +1 -0
- package/dist/shared/datarecords/external/notion/handler.js +1 -0
- package/dist/shared/datarecords/external/notion/handler.js.map +1 -0
- package/dist/shared/datarecords/external/notion/oauth/config.js +1 -0
- package/dist/shared/datarecords/external/notion/oauth/config.js.map +1 -0
- package/dist/shared/datarecords/external/notion/types.js +2 -1
- package/dist/shared/datarecords/external/notion/types.js.map +1 -0
- package/dist/shared/datarecords/types.js +2 -1
- package/dist/shared/datarecords/types.js.map +1 -0
- package/dist/shared/datarecords.js +1 -0
- package/dist/shared/datarecords.js.map +1 -0
- package/dist/shared/datasources/external/facebook/posts/fetcher.js +2 -1
- package/dist/shared/datasources/external/facebook/posts/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/facebook/posts/schema.js +1 -0
- package/dist/shared/datasources/external/facebook/posts/schema.js.map +1 -0
- package/dist/shared/datasources/external/http-json/fetcher.js +2 -1
- package/dist/shared/datasources/external/http-json/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/http-json/options.js +1 -0
- package/dist/shared/datasources/external/http-json/options.js.map +1 -0
- package/dist/shared/datasources/external/http-json/schema.js +1 -0
- package/dist/shared/datasources/external/http-json/schema.js.map +1 -0
- package/dist/shared/datasources/external/instagram/feed/fetcher.js +2 -1
- package/dist/shared/datasources/external/instagram/feed/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/instagram/feed/schema.js +1 -0
- package/dist/shared/datasources/external/instagram/feed/schema.js.map +1 -0
- package/dist/shared/datasources/external/mastodon/account/fetcher.js +2 -1
- package/dist/shared/datasources/external/mastodon/account/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/mastodon/account/schema.js +2 -1
- package/dist/shared/datasources/external/mastodon/account/schema.js.map +1 -0
- package/dist/shared/datasources/external/mastodon/options.js +1 -0
- package/dist/shared/datasources/external/mastodon/options.js.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/fetcher.js +2 -1
- package/dist/shared/datasources/external/mastodon/status/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/sample.array.js +1 -0
- package/dist/shared/datasources/external/mastodon/status/sample.array.js.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/sample.single.js +1 -0
- package/dist/shared/datasources/external/mastodon/status/sample.single.js.map +1 -0
- package/dist/shared/datasources/external/mastodon/status/schema.js +2 -1
- package/dist/shared/datasources/external/mastodon/status/schema.js.map +1 -0
- package/dist/shared/datasources/external/meta/oauth/config.js +2 -1
- package/dist/shared/datasources/external/meta/oauth/config.js.map +1 -0
- package/dist/shared/datasources/external/meta/options.js +1 -0
- package/dist/shared/datasources/external/meta/options.js.map +1 -0
- package/dist/shared/datasources/external/rss/fetcher.js +2 -1
- package/dist/shared/datasources/external/rss/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/rss/options.js +1 -0
- package/dist/shared/datasources/external/rss/options.js.map +1 -0
- package/dist/shared/datasources/external/rss/schema.js +2 -1
- package/dist/shared/datasources/external/rss/schema.js.map +1 -0
- package/dist/shared/datasources/external/threads/media/fetcher.js +2 -1
- package/dist/shared/datasources/external/threads/media/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/threads/media/schema.js +1 -0
- package/dist/shared/datasources/external/threads/media/schema.js.map +1 -0
- package/dist/shared/datasources/external/tiktok/oauth/config.js +2 -1
- package/dist/shared/datasources/external/tiktok/oauth/config.js.map +1 -0
- package/dist/shared/datasources/external/tiktok/video/fetcher.js +2 -1
- package/dist/shared/datasources/external/tiktok/video/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/tiktok/video/options.js +1 -0
- package/dist/shared/datasources/external/tiktok/video/options.js.map +1 -0
- package/dist/shared/datasources/external/tiktok/video/schema.js +1 -0
- package/dist/shared/datasources/external/tiktok/video/schema.js.map +1 -0
- package/dist/shared/datasources/external/youtube/list/fetcher.js +2 -1
- package/dist/shared/datasources/external/youtube/list/fetcher.js.map +1 -0
- package/dist/shared/datasources/external/youtube/list/options.js +1 -0
- package/dist/shared/datasources/external/youtube/list/options.js.map +1 -0
- package/dist/shared/datasources/external/youtube/list/schema.js +2 -1
- package/dist/shared/datasources/external/youtube/list/schema.js.map +1 -0
- package/dist/shared/datasources/external/youtube/oauth/config.js +2 -1
- package/dist/shared/datasources/external/youtube/oauth/config.js.map +1 -0
- package/dist/shared/datasources/fetcher.js +1 -0
- package/dist/shared/datasources/fetcher.js.map +1 -0
- package/dist/shared/datasources/internal/blog/schema.js +1 -0
- package/dist/shared/datasources/internal/blog/schema.js.map +1 -0
- package/dist/shared/datasources/internal/changelog/schema.js +1 -0
- package/dist/shared/datasources/internal/changelog/schema.js.map +1 -0
- package/dist/shared/datasources/internal/contact-info/schema.js +2 -1
- package/dist/shared/datasources/internal/contact-info/schema.js.map +1 -0
- package/dist/shared/datasources/internal/cv/schema.js +1 -0
- package/dist/shared/datasources/internal/cv/schema.js.map +1 -0
- package/dist/shared/datasources/internal/faq/schema.js +1 -0
- package/dist/shared/datasources/internal/faq/schema.js.map +1 -0
- package/dist/shared/datasources/internal/job-board/schema.js +1 -0
- package/dist/shared/datasources/internal/job-board/schema.js.map +1 -0
- package/dist/shared/datasources/internal/links/schema.js +2 -1
- package/dist/shared/datasources/internal/links/schema.js.map +1 -0
- package/dist/shared/datasources/internal/recipes/schema.js +1 -0
- package/dist/shared/datasources/internal/recipes/schema.js.map +1 -0
- package/dist/shared/datasources/internal/restaurant/schema.js +1 -0
- package/dist/shared/datasources/internal/restaurant/schema.js.map +1 -0
- package/dist/shared/datasources/samples.js +1 -0
- package/dist/shared/datasources/samples.js.map +1 -0
- package/dist/shared/datasources/schemas.js +2 -1
- package/dist/shared/datasources/schemas.js.map +1 -0
- package/dist/shared/datasources/types.js +2 -1
- package/dist/shared/datasources/types.js.map +1 -0
- package/dist/shared/datasources/utils.js +2 -1
- package/dist/shared/datasources/utils.js.map +1 -0
- package/dist/shared/datasources.js +1 -0
- package/dist/shared/datasources.js.map +1 -0
- package/dist/shared/env.js +1 -0
- package/dist/shared/env.js.map +1 -0
- package/dist/shared/errors.js +2 -1
- package/dist/shared/errors.js.map +1 -0
- package/dist/shared/images.js +2 -1
- package/dist/shared/images.js.map +1 -0
- package/dist/shared/index.js +1 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/layout-constants.js +1 -0
- package/dist/shared/layout-constants.js.map +1 -0
- package/dist/shared/manifest.js +1 -0
- package/dist/shared/manifest.js.map +1 -0
- package/dist/shared/oauth.js +2 -1
- package/dist/shared/oauth.js.map +1 -0
- package/dist/shared/page.js +2 -1
- package/dist/shared/page.js.map +1 -0
- package/dist/shared/prompt.js +2 -1
- package/dist/shared/prompt.js.map +1 -0
- package/dist/shared/responsive.js +2 -1
- package/dist/shared/responsive.js.map +1 -0
- package/dist/shared/site.js +2 -1
- package/dist/shared/site.js.map +1 -0
- package/dist/shared/sitemap.js +2 -1
- package/dist/shared/sitemap.js.map +1 -0
- package/dist/shared/social-icons.js +1 -0
- package/dist/shared/social-icons.js.map +1 -0
- package/dist/shared/theme.js +2 -1
- package/dist/shared/theme.js.map +1 -0
- package/dist/shared/themes/color-system.js +1 -0
- package/dist/shared/themes/color-system.js.map +1 -0
- package/dist/shared/utils/canvas-data-uri.js +1 -0
- package/dist/shared/utils/canvas-data-uri.js.map +1 -0
- package/dist/shared/utils/invariant.js +2 -1
- package/dist/shared/utils/invariant.js.map +1 -0
- package/dist/shared/utils/json-date.js +2 -1
- package/dist/shared/utils/json-date.js.map +1 -0
- package/dist/shared/utils/llm.js +2 -1
- package/dist/shared/utils/llm.js.map +1 -0
- package/dist/shared/utils/merge.js +2 -1
- package/dist/shared/utils/merge.js.map +1 -0
- package/dist/shared/utils/object-hash.js +1 -0
- package/dist/shared/utils/object-hash.js.map +1 -0
- package/dist/shared/utils/schema.js +2 -1
- package/dist/shared/utils/schema.js.map +1 -0
- package/dist/shared/utils/string-enum.js +2 -1
- package/dist/shared/utils/string-enum.js.map +1 -0
- package/dist/shared/utils/try-catch.js +1 -0
- package/dist/shared/utils/try-catch.js.map +1 -0
- package/dist/shared/utils/typed-ref.js +2 -1
- package/dist/shared/utils/typed-ref.js.map +1 -0
- package/package.json +2 -2
- package/src/shared/theme.ts +6 -6
- package/src/shared/themes/tests/color-system.test.ts +5 -1
- package/dist/shared/chunk-5DZIQGY2.js +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/shared/bricks/props/datasource.ts"],"sourcesContent":["import { Type, type Static } from \"@sinclair/typebox\";\nimport { StringEnum } from \"~/shared/utils/string-enum\";\n\nexport function datasource(title = \"Database\") {\n return Type.Object(\n {\n id: Type.String({\n title: \"Database\",\n }),\n offset: Type.Optional(\n Type.Number({\n title: \"Offset\",\n description: \"Offset the records to fetch from the datasource\",\n minimum: 0,\n default: 0,\n }),\n ),\n limit: Type.Optional(\n Type.Number({\n title: \"Limit\",\n description:\n \"Limit the number of records to fetch from the datasource. Setting to 1 will fetch and render only one item.\",\n minimum: 1,\n default: 3,\n }),\n ),\n sortDirection: Type.Optional(\n StringEnum([\"asc\", \"desc\"], {\n title: \"Sort\",\n enumNames: [\"Ascending\", \"Descending\"],\n description: \"Direction to sort the records by\",\n default: \"desc\",\n }),\n ),\n sortField: Type.Optional(\n Type.String({\n title: \"Sort Field\",\n description: \"Select a field to sort by (must be indexed)\",\n default: \"$publicationDate\",\n }),\n ),\n filters: Type.Optional(\n Type.Array(\n Type.Object({\n field: Type.String(),\n op: StringEnum([\n \"eq\",\n \"ne\",\n \"lt\",\n \"lte\",\n \"gt\",\n \"gte\",\n \"in\",\n \"nin\",\n \"contains\",\n \"notContains\",\n \"startsWith\",\n \"notStartsWith\",\n \"endsWith\",\n \"notEndsWith\",\n \"before\",\n \"after\",\n ]),\n value: Type.Union([Type.String(), Type.Number(), Type.Boolean()]),\n }),\n {\n default: [],\n },\n ),\n ),\n },\n {\n \"ui:field\": \"datasource\",\n title,\n metadata: {\n category: \"content\",\n },\n },\n );\n}\n\nexport type DatasourceSettings = Static<ReturnType<typeof datasource>>;\n"],"mappings":";;4CAAA,OAAS,QAAAA,MAAyB,oBAG3B,SAASC,EAAWC,EAAQ,WAAY,CAC7C,OAAOC,EAAK,OACV,CACE,GAAIA,EAAK,OAAO,CACd,MAAO,UACT,CAAC,EACD,OAAQA,EAAK,SACXA,EAAK,OAAO,CACV,MAAO,SACP,YAAa,kDACb,QAAS,EACT,QAAS,CACX,CAAC,CACH,EACA,MAAOA,EAAK,SACVA,EAAK,OAAO,CACV,MAAO,QACP,YACE,8GACF,QAAS,EACT,QAAS,CACX,CAAC,CACH,EACA,cAAeA,EAAK,SAClBC,EAAW,CAAC,MAAO,MAAM,EAAG,CAC1B,MAAO,OACP,UAAW,CAAC,YAAa,YAAY,EACrC,YAAa,mCACb,QAAS,MACX,CAAC,CACH,EACA,UAAWD,EAAK,SACdA,EAAK,OAAO,CACV,MAAO,aACP,YAAa,8CACb,QAAS,kBACX,CAAC,CACH,EACA,QAASA,EAAK,SACZA,EAAK,MACHA,EAAK,OAAO,CACV,MAAOA,EAAK,OAAO,EACnB,GAAIC,EAAW,CACb,KACA,KACA,KACA,MACA,KACA,MACA,KACA,MACA,WACA,cACA,aACA,gBACA,WACA,cACA,SACA,OACF,CAAC,EACD,MAAOD,EAAK,MAAM,CAACA,EAAK,OAAO,EAAGA,EAAK,OAAO,EAAGA,EAAK,QAAQ,CAAC,CAAC,CAClE,CAAC,EACD,CACE,QAAS,CAAC,CACZ,CACF,CACF,CACF,EACA,CACE,WAAY,aACZ,MAAAD,EACA,SAAU,CACR,SAAU,SACZ,CACF,CACF,CACF","names":["Type","datasource","title","Type","StringEnum"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-Q4H4QEMB.js";export{a as date,b as datetime};
|
|
4
|
+
//# sourceMappingURL=date.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-GACHLACT.js";import"../../chunk-KFM6KXSE.js";import"../../chunk-JMN3HTZU.js";export{a as direction,b as directionRef};
|
|
4
|
+
//# sourceMappingURL=direction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{i as a,j as b,k as c,l as d,m as e}from"../../chunk-
|
|
3
|
+
import{i as a,j as b,k as c,l as d,m as e}from"../../chunk-AFVJZPLS.js";import"../../chunk-CCI4C3TM.js";import"../../chunk-A3GF4PYW.js";import"../../chunk-QWGUMKZC.js";import"../../chunk-5YRC3IT3.js";import"../../chunk-GACHLACT.js";import"../../chunk-4BTB3MU2.js";import"../../chunk-DHI3IBOD.js";import"../../chunk-ZTZJHY4E.js";import"../../chunk-CZRCW5EN.js";import"../../chunk-NM5MMPCF.js";import"../../chunk-W33JMRRN.js";import"../../chunk-SWLUQVK7.js";import"../../chunk-OHNYCXPX.js";import"../../chunk-KFM6KXSE.js";import"../../chunk-JMN3HTZU.js";export{d as loop,e as loopRef,a as queryUse,c as queryUseRef,b as queryUseSchema};
|
|
4
|
+
//# sourceMappingURL=dynamic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d,e}from"../../chunk-
|
|
3
|
+
import{a,b,c,d,e}from"../../chunk-4BTB3MU2.js";import"../../chunk-KFM6KXSE.js";import"../../chunk-JMN3HTZU.js";export{e as opacity,a as shadow,b as shadowRef,c as textShadow,d as textShadowRef};
|
|
4
|
+
//# sourceMappingURL=effects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
3
|
import{Type as i}from"@sinclair/typebox";function l(e="File"){return i.String({title:e,format:"file-url","ui:field":"file",examples:["https://example.com/file.pdf"]})}export{l as file};
|
|
4
|
+
//# sourceMappingURL=file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/shared/bricks/props/file.ts"],"sourcesContent":["import { Type } from \"@sinclair/typebox\";\n\nexport function file(title = \"File\") {\n return Type.String({\n title,\n format: \"file-url\",\n \"ui:field\": \"file\",\n examples: [\"https://example.com/file.pdf\"],\n });\n}\n"],"mappings":";;AAAA,OAAS,QAAAA,MAAY,oBAEd,SAASC,EAAKC,EAAQ,OAAQ,CACnC,OAAOF,EAAK,OAAO,CACjB,MAAAE,EACA,OAAQ,WACR,WAAY,OACZ,SAAU,CAAC,8BAA8B,CAC3C,CAAC,CACH","names":["Type","file","title"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a as e}from"../../chunk-
|
|
3
|
+
import{a as e}from"../../chunk-HAGKVQOW.js";import{a as t}from"../../chunk-A3GF4PYW.js";import"../../chunk-KFM6KXSE.js";import{Type as o}from"@sinclair/typebox";function m(i={}){let{title:n="Location",defaultZoom:d}=i;return o.Object({lat:e("Latitude",{"ui:field":"hidden"}),lng:e("Longitude",{"ui:field":"hidden"}),address:t("Address",{"ui:field":"geoaddress"}),tooltip:o.Optional(t("Tooltip",{})),zoom:o.Optional(e("Zoom",{description:"Zoom level for the map","ui:instructions":"The zoom level should be between 0 (world view) and 21 (street view).","ui:field":"slider",minimum:12,maximum:18,default:d}))},{title:n,metadata:{category:"content"},...i})}export{m as geolocation};
|
|
4
|
+
//# sourceMappingURL=geolocation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/shared/bricks/props/geolocation.ts"],"sourcesContent":["import { type ObjectOptions, Type, type Static } from \"@sinclair/typebox\";\nimport { number } from \"./number\";\nimport { string } from \"./string\";\n\nexport function geolocation(opts: ObjectOptions & { defaultZoom?: number } = {}) {\n const { title = \"Location\", defaultZoom } = opts;\n return Type.Object(\n {\n lat: number(\"Latitude\", { \"ui:field\": \"hidden\" }),\n lng: number(\"Longitude\", { \"ui:field\": \"hidden\" }),\n address: string(\"Address\", {\n \"ui:field\": \"geoaddress\",\n }),\n tooltip: Type.Optional(string(\"Tooltip\", {})),\n zoom: Type.Optional(\n number(\"Zoom\", {\n description: \"Zoom level for the map\",\n \"ui:instructions\": \"The zoom level should be between 0 (world view) and 21 (street view).\",\n \"ui:field\": \"slider\",\n minimum: 12,\n maximum: 18,\n default: defaultZoom,\n }),\n ),\n },\n {\n title,\n metadata: {\n category: \"content\",\n },\n ...opts,\n },\n );\n}\n\nexport type GeolocationSettings = Static<ReturnType<typeof geolocation>>;\n"],"mappings":";;wHAAA,OAA6B,QAAAA,MAAyB,oBAI/C,SAASC,EAAYC,EAAiD,CAAC,EAAG,CAC/E,GAAM,CAAE,MAAAC,EAAQ,WAAY,YAAAC,CAAY,EAAIF,EAC5C,OAAOG,EAAK,OACV,CACE,IAAKC,EAAO,WAAY,CAAE,WAAY,QAAS,CAAC,EAChD,IAAKA,EAAO,YAAa,CAAE,WAAY,QAAS,CAAC,EACjD,QAASC,EAAO,UAAW,CACzB,WAAY,YACd,CAAC,EACD,QAASF,EAAK,SAASE,EAAO,UAAW,CAAC,CAAC,CAAC,EAC5C,KAAMF,EAAK,SACTC,EAAO,OAAQ,CACb,YAAa,yBACb,kBAAmB,wEACnB,WAAY,SACZ,QAAS,GACT,QAAS,GACT,QAASF,CACX,CAAC,CACH,CACF,EACA,CACE,MAAAD,EACA,SAAU,CACR,SAAU,SACZ,EACA,GAAGD,CACL,CACF,CACF","names":["Type","geolocation","opts","title","defaultZoom","Type","number","string"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d}from"../../chunk-
|
|
3
|
+
import{a,b,c,d}from"../../chunk-3YVJ2ELD.js";import"../../chunk-W33JMRRN.js";import"../../chunk-SWLUQVK7.js";import"../../chunk-OHNYCXPX.js";import"../../chunk-KFM6KXSE.js";import"../../chunk-JMN3HTZU.js";export{d as array,c as defineProps,b as getGroupInfo,a as group};
|
|
4
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-CCI4C3TM.js";import"../../chunk-KFM6KXSE.js";import"../../chunk-JMN3HTZU.js";export{a as image,b as imageRef};
|
|
4
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a}from"../../chunk-
|
|
3
|
+
import{a}from"../../chunk-KYY3PHP7.js";export{a as fixedPositioned};
|
|
4
|
+
//# sourceMappingURL=position.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d,e,f}from"../../chunk-
|
|
3
|
+
import{a,b,c,d,e,f}from"../../chunk-A3GF4PYW.js";import"../../chunk-KFM6KXSE.js";export{e as icon,f as iconRef,a as string,b as url,c as urlOrPageId,d as urlOrPageIdRef};
|
|
4
|
+
//# sourceMappingURL=string.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-QWGUMKZC.js";import"../../chunk-KFM6KXSE.js";export{a as tags,b as tagsRef};
|
|
4
|
+
//# sourceMappingURL=tags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d,e,f}from"../../chunk-
|
|
3
|
+
import{a,b,c,d,e,f}from"../../chunk-5YRC3IT3.js";import"../../chunk-KFM6KXSE.js";import"../../chunk-JMN3HTZU.js";export{a as fontSize,b as fontSizeRef,c as fontSizeXL,d as fontSizeXLRef,e as textContent,f as textContentRef};
|
|
4
|
+
//# sourceMappingURL=text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/shared/bricks.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m}from"./chunk-
|
|
3
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m}from"./chunk-GOMXZC4B.js";import"./chunk-PIG623TZ.js";import"./chunk-PSCN3VVA.js";import"./chunk-R6ATC4TC.js";import"./chunk-HAGKVQOW.js";import"./chunk-CFF6Q7O7.js";import"./chunk-KYY3PHP7.js";import"./chunk-IKC3FK7L.js";import"./chunk-E6XEI7IK.js";import"./chunk-SQ5T4AT5.js";import"./chunk-G5CJU6RD.js";import"./chunk-PSTFJ5IJ.js";import"./chunk-NJGXC7D6.js";import"./chunk-SXHDQ64Z.js";import"./chunk-6I3ONVU6.js";import"./chunk-QX6OGRRT.js";import"./chunk-FLOMNC6J.js";import"./chunk-PLSV746R.js";import"./chunk-WBZW5LVH.js";import"./chunk-WYVJE6J5.js";import"./chunk-I3VL6SRH.js";import"./chunk-B3EATRFX.js";import"./chunk-IKHZD2JH.js";import"./chunk-PXI7AHWS.js";import"./chunk-OIY3EPHO.js";import"./chunk-SY6DZLTC.js";import"./chunk-7A2JNQX3.js";import"./chunk-KSEURRVZ.js";import"./chunk-3YVJ2ELD.js";import"./chunk-RJYZ5FAR.js";import"./chunk-QGYZ7CG5.js";import"./chunk-AFVJZPLS.js";import"./chunk-CCI4C3TM.js";import"./chunk-A3GF4PYW.js";import"./chunk-QWGUMKZC.js";import"./chunk-5YRC3IT3.js";import"./chunk-GACHLACT.js";import"./chunk-4BTB3MU2.js";import"./chunk-DHI3IBOD.js";import"./chunk-ZTZJHY4E.js";import"./chunk-CZRCW5EN.js";import"./chunk-NM5MMPCF.js";import"./chunk-W33JMRRN.js";import"./chunk-SWLUQVK7.js";import"./chunk-OHNYCXPX.js";import"./chunk-KFM6KXSE.js";import"./chunk-JMN3HTZU.js";export{c as brickSchema,b as brickTypeSchema,l as createEmptyBrick,a as generateId,i as getSectionSchemaForLLM,h as getSectionSchemaNoBrickForLLM,d as makeFullBrickSchemaForLLM,k as processBrick,j as processSections,e as sectionProps,f as sectionSchema,g as sectionSchemaNoBricks,m as sectionsExamples};
|
|
4
|
+
//# sourceMappingURL=bricks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{b as s}from"./chunk-
|
|
3
|
+
import{b as s}from"./chunk-W33JMRRN.js";import{Type as r}from"@sinclair/typebox";function c(t){return t.type==="object"}function l({title:t,children:e,category:o="settings",metadata:a,options:n}){return c(e)?r.Composite([r.Object({}),e],{title:t,metadata:{category:o,group:!0,...a},...n}):r.Object(e,{title:t,...n,metadata:{category:o,group:!0,...a}})}function m(t){let e=t.metadata;return{title:t.title??t.metadata?.title,meta:e,tab:e.groupTab||"common"}}function P(t,e){let o={...s,...t},{alignSelf:a,grow:n,...p}=o,i={...p,...e?.noAlignSelf?{}:{alignSelf:a},...e?.noGrow?{}:{grow:n}};return r.Object(i,{...e,additionalProperties:!1})}var T=r.Array;export{l as a,m as b,P as c,T as d};
|
|
4
|
+
//# sourceMappingURL=chunk-3YVJ2ELD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/bricks/props/helpers.ts"],"sourcesContent":["/**\n * Helper functions for defining and working with props and groups of props\n */\nimport { type TProperties, Type, type TSchema, type TObject, type ObjectOptions } from \"@sinclair/typebox\";\nimport { commonProps } from \"./common\";\nimport type { PartialBy, PropGroup, GroupMetadata } from \"./types\";\n\nfunction isTObject(schema: TSchema | TProperties): schema is TObject {\n return schema.type === \"object\";\n}\n\nexport function group<T extends TProperties>({\n title,\n children,\n category = \"settings\",\n metadata,\n options,\n}: PartialBy<PropGroup<T>, \"category\">) {\n // check if children is already a TObject\n if (isTObject(children)) {\n const generated = Type.Composite([Type.Object({}), children], {\n title,\n metadata: {\n category,\n group: true,\n ...metadata,\n },\n ...options,\n });\n return generated;\n }\n\n // Create the TypeBox schema with title as a standard property and group-specific info in metadata\n return Type.Object(children, {\n title,\n ...options,\n metadata: {\n category,\n group: true,\n ...metadata,\n },\n });\n}\n\n// Functions to extract metadata from schemas\nexport function getGroupInfo(schema: TSchema) {\n const meta = schema.metadata as GroupMetadata;\n return {\n title: (schema.title ?? schema.metadata?.title) as string | undefined,\n meta,\n tab: meta.groupTab || \"common\",\n };\n}\n\nexport function defineProps<P extends TProperties>(\n props: P,\n options?: ObjectOptions & {\n noGrow?: boolean;\n noAlignSelf?: boolean;\n },\n) {\n const allProps = { ...commonProps, ...props };\n const { alignSelf, grow, ...rest } = allProps;\n const finalProps = {\n ...rest,\n ...(options?.noAlignSelf ? {} : { alignSelf }),\n ...(options?.noGrow ? {} : { grow }),\n } as typeof allProps;\n return Type.Object(finalProps, { ...options, additionalProperties: false });\n}\n\n// export const optional = Type.Optional;\nexport const array = Type.Array;\n"],"mappings":";;wCAGA,OAA2B,QAAAA,MAA4D,oBAIvF,SAASC,EAAUC,EAAkD,CACnE,OAAOA,EAAO,OAAS,QACzB,CAEO,SAASC,EAA6B,CAC3C,MAAAC,EACA,SAAAC,EACA,SAAAC,EAAW,WACX,SAAAC,EACA,QAAAC,CACF,EAAwC,CAEtC,OAAIP,EAAUI,CAAQ,EACFI,EAAK,UAAU,CAACA,EAAK,OAAO,CAAC,CAAC,EAAGJ,CAAQ,EAAG,CAC5D,MAAAD,EACA,SAAU,CACR,SAAAE,EACA,MAAO,GACP,GAAGC,CACL,EACA,GAAGC,CACL,CAAC,EAKIC,EAAK,OAAOJ,EAAU,CAC3B,MAAAD,EACA,GAAGI,EACH,SAAU,CACR,SAAAF,EACA,MAAO,GACP,GAAGC,CACL,CACF,CAAC,CACH,CAGO,SAASG,EAAaR,EAAiB,CAC5C,IAAMS,EAAOT,EAAO,SACpB,MAAO,CACL,MAAQA,EAAO,OAASA,EAAO,UAAU,MACzC,KAAAS,EACA,IAAKA,EAAK,UAAY,QACxB,CACF,CAEO,SAASC,EACdC,EACAL,EAIA,CACA,IAAMM,EAAW,CAAE,GAAGC,EAAa,GAAGF,CAAM,EACtC,CAAE,UAAAG,EAAW,KAAAC,EAAM,GAAGC,CAAK,EAAIJ,EAC/BK,EAAa,CACjB,GAAGD,EACH,GAAIV,GAAS,YAAc,CAAC,EAAI,CAAE,UAAAQ,CAAU,EAC5C,GAAIR,GAAS,OAAS,CAAC,EAAI,CAAE,KAAAS,CAAK,CACpC,EACA,OAAOR,EAAK,OAAOU,EAAY,CAAE,GAAGX,EAAS,qBAAsB,EAAM,CAAC,CAC5E,CAGO,IAAMY,EAAQX,EAAK","names":["Type","isTObject","schema","group","title","children","category","metadata","options","Type","getGroupInfo","meta","defineProps","props","allProps","commonProps","alignSelf","grow","rest","finalProps","array"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a as o}from"./chunk-
|
|
3
|
+
import{a as o}from"./chunk-KFM6KXSE.js";import{a as e}from"./chunk-JMN3HTZU.js";import{Type as s}from"@sinclair/typebox";function d(t={}){return e(["shadow-none","shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl"],{title:"Shadow",description:"Box shadow around the brick",enumNames:["None","Small","Medium","Large","XL","2XL"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select","ui:responsive":"desktop","ui:styleId":"styles:shadow",...t})}function u(t={}){return o("styles:shadow",t)}function r(t={}){return e(["text-shadow-none","text-shadow-sm","text-shadow-md","text-shadow-lg","text-shadow-xl"],{title:"Text shadow",enumNames:["None","S","M","L","XL"],"ui:display":"button-group","ui:placeholder":"Not specified","ui:field":"enum","ui:styleId":"styles:textShadow",examples:["text-shadow-sm","text-shadow-md","text-shadow-lg"],...t})}function m(t={}){return o("styles:textShadow",t)}function l({defaultValue:t=1,title:i="Opacity"}={}){return s.Number({title:i,minimum:.1,maximum:1,default:t,multipleOf:.1,"ui:field":"slider","ui:unit":"%","ui:multiplier":100,examples:[.5,.75,1]})}export{d as a,u as b,r as c,m as d,l as e};
|
|
4
|
+
//# sourceMappingURL=chunk-4BTB3MU2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/bricks/props/effects.ts"],"sourcesContent":["import { type SchemaOptions, Type, type Static } from \"@sinclair/typebox\";\nimport { typedRef } from \"~/shared/utils/typed-ref\";\nimport { StringEnum, type StringEnumOptions } from \"~/shared/utils/string-enum\";\n\nexport function shadow(options: StringEnumOptions = {}) {\n return StringEnum([\"shadow-none\", \"shadow-sm\", \"shadow-md\", \"shadow-lg\", \"shadow-xl\", \"shadow-2xl\"], {\n // $id: \"styles:shadow\",\n title: \"Shadow\",\n description: \"Box shadow around the brick\",\n enumNames: [\"None\", \"Small\", \"Medium\", \"Large\", \"XL\", \"2XL\"],\n \"ui:placeholder\": \"Not specified\",\n \"ui:field\": \"enum\",\n \"ui:display\": \"select\",\n \"ui:responsive\": \"desktop\",\n \"ui:styleId\": \"styles:shadow\",\n ...options,\n });\n}\n\nexport type ShadowSettings = Static<ReturnType<typeof shadow>>;\n\nexport function shadowRef(options: StringEnumOptions = {}) {\n return typedRef(\"styles:shadow\", options);\n}\n\n/**\n * This function is used in ajv and type ref translations, but should not be used directly in bricks\n */\nexport function textShadow(options: StringEnumOptions = {}) {\n return StringEnum(\n [\"text-shadow-none\", \"text-shadow-sm\", \"text-shadow-md\", \"text-shadow-lg\", \"text-shadow-xl\"],\n {\n // $id: \"styles:textShadow\",\n title: \"Text shadow\",\n enumNames: [\"None\", \"S\", \"M\", \"L\", \"XL\"],\n \"ui:display\": \"button-group\",\n \"ui:placeholder\": \"Not specified\",\n \"ui:field\": \"enum\",\n \"ui:styleId\": \"styles:textShadow\",\n examples: [\"text-shadow-sm\", \"text-shadow-md\", \"text-shadow-lg\"],\n ...options,\n },\n );\n}\n\nexport function textShadowRef(options: SchemaOptions = {}) {\n return typedRef(\"styles:textShadow\", options);\n}\n\nexport type TextShadowSettings = Static<ReturnType<typeof textShadow>>;\n\ntype OpacityOptions = {\n title?: string;\n defaultValue?: number;\n};\n\nexport function opacity({ defaultValue = 1, title = \"Opacity\" }: OpacityOptions = {}) {\n return Type.Number({\n title,\n minimum: 0.1,\n maximum: 1,\n default: defaultValue,\n multipleOf: 0.1,\n \"ui:field\": \"slider\",\n \"ui:unit\": \"%\",\n \"ui:multiplier\": 100,\n examples: [0.5, 0.75, 1],\n });\n}\n\nexport type OpacitySettings = Static<ReturnType<typeof opacity>>;\n"],"mappings":";;gFAAA,OAA6B,QAAAA,MAAyB,oBAI/C,SAASC,EAAOC,EAA6B,CAAC,EAAG,CACtD,OAAOC,EAAW,CAAC,cAAe,YAAa,YAAa,YAAa,YAAa,YAAY,EAAG,CAEnG,MAAO,SACP,YAAa,8BACb,UAAW,CAAC,OAAQ,QAAS,SAAU,QAAS,KAAM,KAAK,EAC3D,iBAAkB,gBAClB,WAAY,OACZ,aAAc,SACd,gBAAiB,UACjB,aAAc,gBACd,GAAGD,CACL,CAAC,CACH,CAIO,SAASE,EAAUF,EAA6B,CAAC,EAAG,CACzD,OAAOG,EAAS,gBAAiBH,CAAO,CAC1C,CAKO,SAASI,EAAWJ,EAA6B,CAAC,EAAG,CAC1D,OAAOC,EACL,CAAC,mBAAoB,iBAAkB,iBAAkB,iBAAkB,gBAAgB,EAC3F,CAEE,MAAO,cACP,UAAW,CAAC,OAAQ,IAAK,IAAK,IAAK,IAAI,EACvC,aAAc,eACd,iBAAkB,gBAClB,WAAY,OACZ,aAAc,oBACd,SAAU,CAAC,iBAAkB,iBAAkB,gBAAgB,EAC/D,GAAGD,CACL,CACF,CACF,CAEO,SAASK,EAAcL,EAAyB,CAAC,EAAG,CACzD,OAAOG,EAAS,oBAAqBH,CAAO,CAC9C,CASO,SAASM,EAAQ,CAAE,aAAAC,EAAe,EAAG,MAAAC,EAAQ,SAAU,EAAoB,CAAC,EAAG,CACpF,OAAOC,EAAK,OAAO,CACjB,MAAAD,EACA,QAAS,GACT,QAAS,EACT,QAASD,EACT,WAAY,GACZ,WAAY,SACZ,UAAW,IACX,gBAAiB,IACjB,SAAU,CAAC,GAAK,IAAM,CAAC,CACzB,CAAC,CACH","names":["Type","shadow","options","StringEnum","shadowRef","typedRef","textShadow","textShadowRef","opacity","defaultValue","title","Type"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
3
|
import{Type as t}from"@sinclair/typebox";var i=t.String({minLength:30,maxLength:500,description:"User prompt for the site, describing the purpose and main features of the site."});export{i as a};
|
|
4
|
+
//# sourceMappingURL=chunk-4WDWJA3N.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/prompt.ts"],"sourcesContent":["import { type Static, Type } from \"@sinclair/typebox\";\n\nexport const sitePrompt = Type.String({\n minLength: 30,\n maxLength: 500,\n description: \"User prompt for the site, describing the purpose and main features of the site.\",\n});\n\nexport type SitePrompt = Static<typeof sitePrompt>;\n"],"mappings":";;AAAA,OAAsB,QAAAA,MAAY,oBAE3B,IAAMC,EAAaD,EAAK,OAAO,CACpC,UAAW,GACX,UAAW,IACX,YAAa,iFACf,CAAC","names":["Type","sitePrompt"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
3
|
import{Type as t}from"@sinclair/typebox";var i=t.Array(t.Object({title:t.Optional(t.String({title:"Title",description:"The title of the RSS feed item"})),link:t.Optional(t.String({title:"Link",description:"The link to the RSS feed item"})),creator:t.Optional(t.String({title:"Creator",description:"The creator of the RSS feed item"})),content:t.Optional(t.String({title:"Content",description:"The content of the RSS feed item"})),pubDate:t.Optional(t.String({title:"Pub Date",description:"The publication date of the RSS feed item"}))}),{title:"RSS Feed",description:"RSS feed items"});export{i as a};
|
|
4
|
+
//# sourceMappingURL=chunk-5O4Z3YQY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/datasources/external/rss/schema.ts"],"sourcesContent":["import { Type, type Static } from \"@sinclair/typebox\";\n\nexport const rssSchema = Type.Array(\n Type.Object({\n title: Type.Optional(\n Type.String({\n title: \"Title\",\n description: \"The title of the RSS feed item\",\n }),\n ),\n link: Type.Optional(\n Type.String({\n title: \"Link\",\n description: \"The link to the RSS feed item\",\n }),\n ),\n creator: Type.Optional(\n Type.String({\n title: \"Creator\",\n description: \"The creator of the RSS feed item\",\n }),\n ),\n content: Type.Optional(\n Type.String({\n title: \"Content\",\n description: \"The content of the RSS feed item\",\n }),\n ),\n pubDate: Type.Optional(\n Type.String({\n title: \"Pub Date\",\n description: \"The publication date of the RSS feed item\",\n }),\n ),\n }),\n {\n title: \"RSS Feed\",\n description: \"RSS feed items\",\n },\n);\n\nexport type RssSchema = Static<typeof rssSchema>;\n"],"mappings":";;AAAA,OAAS,QAAAA,MAAyB,oBAE3B,IAAMC,EAAYD,EAAK,MAC5BA,EAAK,OAAO,CACV,MAAOA,EAAK,SACVA,EAAK,OAAO,CACV,MAAO,QACP,YAAa,gCACf,CAAC,CACH,EACA,KAAMA,EAAK,SACTA,EAAK,OAAO,CACV,MAAO,OACP,YAAa,+BACf,CAAC,CACH,EACA,QAASA,EAAK,SACZA,EAAK,OAAO,CACV,MAAO,UACP,YAAa,kCACf,CAAC,CACH,EACA,QAASA,EAAK,SACZA,EAAK,OAAO,CACV,MAAO,UACP,YAAa,kCACf,CAAC,CACH,EACA,QAASA,EAAK,SACZA,EAAK,OAAO,CACV,MAAO,WACP,YAAa,2CACf,CAAC,CACH,CACF,CAAC,EACD,CACE,MAAO,WACP,YAAa,gBACf,CACF","names":["Type","rssSchema"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a as e}from"./chunk-
|
|
3
|
+
import{a as e}from"./chunk-KFM6KXSE.js";import{a as n}from"./chunk-JMN3HTZU.js";import{Type as s}from"@sinclair/typebox";function f(t={}){return n(["inherit","text-xs","text-sm","text-base","text-lg","text-xl"],{enumNames:["Same as parent","Extra small","Small","Medium","Large","Extra large"],default:"inherit",title:"Font size","ui:styleId":"styles:fontSize","ui:field":"enum","ui:display":"select",...t})}function g(t={}){return e("styles:fontSize",t)}function S(t={}){return n(["inherit","text-xs","text-sm","text-base","text-lg","text-xl","text-2xl","text-3xl","text-4xl","text-5xl","text-6xl","text-7xl"],{enumNames:["Same as parent","Extra small","Small","Medium","Large","Extra large","Extra large (2x)","Extra large (3x)","Extra large (4x)","Extra large (5x)","Extra large (6x)","Extra large (7x)"],default:"inherit",title:"Font size","ui:styleId":"styles:fontSize","ui:field":"enum","ui:display":"select",...t})}function m(t={}){return e("styles:fontSizeXL",t)}function d({title:t="Text",default:i,showInSettings:o,disableSizing:a=!1,disableAlignment:r=!1,...l}={}){return s.String({title:t,description:"Text content. Can contain basic HTML tags like `<strong>`, `<em>`, `<br>` and `<a>` as well as `<p>` and `<span>` and lists <ul> <ol> <li>.",default:i??"My text","ui:disable-sizing":a,"ui:disable-alignment":r,...l,"ui:field":o?"string":"hidden"})}function y(t={}){return e("content:text",t)}export{f as a,g as b,S as c,m as d,d as e,y as f};
|
|
4
|
+
//# sourceMappingURL=chunk-5YRC3IT3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/bricks/props/text.ts"],"sourcesContent":["import { type StringOptions, Type, type Static } from \"@sinclair/typebox\";\nimport { StringEnum } from \"~/shared/utils/string-enum\";\nimport { typedRef } from \"~/shared/utils/typed-ref\";\n\ntype Options = StringOptions & {\n \"ui:no-extra-large-sizes\"?: boolean;\n};\n\nexport function fontSize(options: Options = {}) {\n return StringEnum([\"inherit\", \"text-xs\", \"text-sm\", \"text-base\", \"text-lg\", \"text-xl\"], {\n enumNames: [\"Same as parent\", \"Extra small\", \"Small\", \"Medium\", \"Large\", \"Extra large\"],\n default: \"inherit\",\n title: \"Font size\",\n // $id: \"styles:fontSize\",\n \"ui:styleId\": \"styles:fontSize\",\n \"ui:field\": \"enum\",\n \"ui:display\": \"select\",\n ...options,\n });\n}\n\nexport type FontSizeSettings = Static<ReturnType<typeof fontSize>>;\n\nexport function fontSizeRef(options: Options = {}) {\n return typedRef(\"styles:fontSize\", options);\n}\n\nexport function fontSizeXL(options: Options = {}) {\n return StringEnum(\n [\n \"inherit\",\n \"text-xs\",\n \"text-sm\",\n \"text-base\",\n \"text-lg\",\n \"text-xl\",\n \"text-2xl\",\n \"text-3xl\",\n \"text-4xl\",\n \"text-5xl\",\n \"text-6xl\",\n \"text-7xl\",\n ],\n {\n enumNames: [\n \"Same as parent\",\n \"Extra small\",\n \"Small\",\n \"Medium\",\n \"Large\",\n \"Extra large\",\n \"Extra large (2x)\",\n \"Extra large (3x)\",\n \"Extra large (4x)\",\n \"Extra large (5x)\",\n \"Extra large (6x)\",\n \"Extra large (7x)\",\n ],\n default: \"inherit\",\n title: \"Font size\",\n // $id: \"styles:fontSize\",\n \"ui:styleId\": \"styles:fontSize\",\n \"ui:field\": \"enum\",\n \"ui:display\": \"select\",\n ...options,\n },\n );\n}\nexport function fontSizeXLRef(options: Options = {}) {\n return typedRef(\"styles:fontSizeXL\", options);\n}\n\ntype TextContentOptions = {\n showInSettings?: boolean;\n disableSizing?: boolean;\n disableAlignment?: boolean;\n};\n\nexport function textContent({\n title = \"Text\",\n default: defaults,\n showInSettings,\n disableSizing = false,\n disableAlignment = false,\n ...rest\n}: TextContentOptions & StringOptions = {}) {\n return Type.String({\n title,\n description:\n \"Text content. Can contain basic HTML tags like `<strong>`, `<em>`, `<br>` and `<a>` as well as `<p>` and `<span>` and lists <ul> <ol> <li>.\",\n // $id: \"content:text\",\n default: defaults ?? \"My text\",\n \"ui:disable-sizing\": disableSizing,\n \"ui:disable-alignment\": disableAlignment,\n // metadata: {\n // category: \"content\",\n // },\n ...rest,\n \"ui:field\": showInSettings ? \"string\" : \"hidden\",\n });\n}\n\nexport type TextContentSettings = Static<ReturnType<typeof textContent>>;\n\nexport function textContentRef(options: TextContentOptions & StringOptions = {}) {\n return typedRef(\"content:text\", options);\n}\n"],"mappings":";;gFAAA,OAA6B,QAAAA,MAAyB,oBAQ/C,SAASC,EAASC,EAAmB,CAAC,EAAG,CAC9C,OAAOC,EAAW,CAAC,UAAW,UAAW,UAAW,YAAa,UAAW,SAAS,EAAG,CACtF,UAAW,CAAC,iBAAkB,cAAe,QAAS,SAAU,QAAS,aAAa,EACtF,QAAS,UACT,MAAO,YAEP,aAAc,kBACd,WAAY,OACZ,aAAc,SACd,GAAGD,CACL,CAAC,CACH,CAIO,SAASE,EAAYF,EAAmB,CAAC,EAAG,CACjD,OAAOG,EAAS,kBAAmBH,CAAO,CAC5C,CAEO,SAASI,EAAWJ,EAAmB,CAAC,EAAG,CAChD,OAAOC,EACL,CACE,UACA,UACA,UACA,YACA,UACA,UACA,WACA,WACA,WACA,WACA,WACA,UACF,EACA,CACE,UAAW,CACT,iBACA,cACA,QACA,SACA,QACA,cACA,mBACA,mBACA,mBACA,mBACA,mBACA,kBACF,EACA,QAAS,UACT,MAAO,YAEP,aAAc,kBACd,WAAY,OACZ,aAAc,SACd,GAAGD,CACL,CACF,CACF,CACO,SAASK,EAAcL,EAAmB,CAAC,EAAG,CACnD,OAAOG,EAAS,oBAAqBH,CAAO,CAC9C,CAQO,SAASM,EAAY,CAC1B,MAAAC,EAAQ,OACR,QAASC,EACT,eAAAC,EACA,cAAAC,EAAgB,GAChB,iBAAAC,EAAmB,GACnB,GAAGC,CACL,EAAwC,CAAC,EAAG,CAC1C,OAAOC,EAAK,OAAO,CACjB,MAAAN,EACA,YACE,8IAEF,QAASC,GAAY,UACrB,oBAAqBE,EACrB,uBAAwBC,EAIxB,GAAGC,EACH,WAAYH,EAAiB,SAAW,QAC1C,CAAC,CACH,CAIO,SAASK,EAAed,EAA8C,CAAC,EAAG,CAC/E,OAAOG,EAAS,eAAgBH,CAAO,CACzC","names":["Type","fontSize","options","StringEnum","fontSizeRef","typedRef","fontSizeXL","fontSizeXLRef","textContent","title","defaults","showInSettings","disableSizing","disableAlignment","rest","Type","textContentRef"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
3
|
import{get as i}from"lodash-es";function a(t){return Object.fromEntries(Object.entries(t).map(([r,e])=>[r,e.toString()]))}function c(t){return function(e,n){let o=n.trim();return String(i(t,o))??""}}var g=/{{(.+?)}}/g;export{a,c as b,g as c};
|
|
4
|
+
//# sourceMappingURL=chunk-6HLU4UI2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/datasources/utils.ts"],"sourcesContent":["import { get } from \"lodash-es\";\nimport type { PageAttributes } from \"../attributes\";\n\nexport function stringifyObjectValues(\n obj: Record<string, string | number | Date | boolean>,\n): Record<string, string> {\n return Object.fromEntries(Object.entries(obj).map(([key, value]) => [key, value.toString()]));\n}\n\nexport function createPlaceholderReplacer(attr?: PageAttributes) {\n return function replacePlaceholders(_: unknown, p1: string) {\n const varName = (p1 as string).trim();\n return String(get(attr, varName)) ?? \"\";\n };\n}\n\nexport const placeholderRx = /{{(.+?)}}/g;\n"],"mappings":";;AAAA,OAAS,OAAAA,MAAW,YAGb,SAASC,EACdC,EACwB,CACxB,OAAO,OAAO,YAAY,OAAO,QAAQA,CAAG,EAAE,IAAI,CAAC,CAACC,EAAKC,CAAK,IAAM,CAACD,EAAKC,EAAM,SAAS,CAAC,CAAC,CAAC,CAC9F,CAEO,SAASC,EAA0BC,EAAuB,CAC/D,OAAO,SAA6BC,EAAYC,EAAY,CAC1D,IAAMC,EAAWD,EAAc,KAAK,EACpC,OAAO,OAAOR,EAAIM,EAAMG,CAAO,CAAC,GAAK,EACvC,CACF,CAEO,IAAMC,EAAgB","names":["get","stringifyObjectValues","obj","key","value","createPlaceholderReplacer","attr","_","p1","varName","placeholderRx"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
3
|
import{Type as e}from"@sinclair/typebox";function i(t="Database",r){return e.String({"ui:field":"datarecord",title:t,...r})}export{i as a};
|
|
4
|
+
//# sourceMappingURL=chunk-6I3ONVU6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/bricks/props/datarecord.ts"],"sourcesContent":["import { type Static, Type, type StringOptions } from \"@sinclair/typebox\";\n\nexport function datarecord(title = \"Database\", options?: StringOptions) {\n return Type.String({\n \"ui:field\": \"datarecord\",\n title,\n ...options,\n });\n}\n\nexport type DatarecordSettings = Static<ReturnType<typeof datarecord>>;\n"],"mappings":";;AAAA,OAAsB,QAAAA,MAAgC,oBAE/C,SAASC,EAAWC,EAAQ,WAAYC,EAAyB,CACtE,OAAOH,EAAK,OAAO,CACjB,WAAY,aACZ,MAAAE,EACA,GAAGC,CACL,CAAC,CACH","names":["Type","datarecord","title","options"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{c,d as i}from"./chunk-
|
|
3
|
+
import{c,d as i}from"./chunk-3YVJ2ELD.js";import{a}from"./chunk-RJYZ5FAR.js";import{a as u}from"./chunk-AFVJZPLS.js";import{b as n}from"./chunk-CCI4C3TM.js";import{a as e,d as r}from"./chunk-A3GF4PYW.js";import{b as o}from"./chunk-5YRC3IT3.js";import{c as s}from"./chunk-CZRCW5EN.js";import{c as l}from"./chunk-OHNYCXPX.js";import{Type as t}from"@sinclair/typebox";import{VscLayoutPanelOff as p}from"react-icons/vsc";var d=a({type:"footer",name:"Footer",category:"layout",description:"A footer with links and an optional logo.",aiInstructions:"This brick should be used on most sites/pages. It must be placed on its own section.",icon:p,staticClasses:"flex-1",isGlobalBrick:!0,hideInLibrary:!0,resizable:!1,movable:!1,defaultWidth:{desktop:"100%",mobile:"100%"},props:c({colorPreset:t.Optional(s({title:"Color preset",default:{color:"neutral-600"}})),padding:t.Optional(l({default:"4rem",description:"Padding inside the footer.",title:"Padding","ui:responsive":!0,"ui:placeholder":"Not specified","ui:styleId":"styles:padding"})),logo:t.Optional(n({title:"Logo","ui:no-object-options":!0,"ui:no-alt-text":!0})),fontSize:t.Optional(o({default:"text-sm","ui:no-extra-large-sizes":!0})),linksSections:i(t.Object({sectionTitle:e("Title"),links:i(t.Object({title:e("Title"),url:r()}),{title:"Links"})}),{default:[{sectionTitle:"Links",links:[{title:"Link",url:"/"}]}],title:"Links","ui:displayField":"sectionTitle","ui:options":{orderable:!0,removable:!0,addable:!0},description:"List of Links Sections",metadata:{category:"content"}})},{noGrow:!0,noAlignSelf:!0})});function C(){return u(d.props)}var P=[{description:"Simple footer with logo on the left",type:"footer",props:{logo:{src:"https://via.placeholder.com/120x40.png?text=Logo",alt:"Company logo"},linksSections:[{sectionTitle:"Quick Links",links:[{title:"Home",url:"/"},{title:"About",url:"/about"},{title:"Contact",url:"/contact"}]},{sectionTitle:"Legal",links:[{title:"Privacy Policy",url:"/privacy"},{title:"Terms of Service",url:"/terms"}]}]}},{description:"Corporate footer with centered logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/150x50.png?text=Corporate",alt:"Corporate logo"},linksSections:[{sectionTitle:"Products",links:[{title:"Software Solutions",url:"/products/software"},{title:"Consulting",url:"/products/consulting"},{title:"Support",url:"/products/support"},{title:"Training",url:"/products/training"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"News",url:"/news"},{title:"Investors",url:"/investors"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Community",url:"/community"},{title:"Blog",url:"/blog"}]}]}},{description:"E-commerce footer with logo on the right",type:"footer",props:{logo:{src:"https://via.placeholder.com/140x45.png?text=Shop",alt:"Shop logo"},linksSections:[{sectionTitle:"Shop",links:[{title:"All Products",url:"/products"},{title:"New Arrivals",url:"/new"},{title:"Sale",url:"/sale"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Customer Service",links:[{title:"Help Center",url:"/help"},{title:"Returns",url:"/returns"},{title:"Shipping Info",url:"/shipping"},{title:"Size Guide",url:"/size-guide"}]},{sectionTitle:"Account",links:[{title:"My Account",url:"/account"},{title:"Order History",url:"/orders"},{title:"Wishlist",url:"/wishlist"}]}]}},{description:"Large organization footer with multiple rows",type:"footer",props:{logo:{src:"https://via.placeholder.com/180x60.png?text=Enterprise",alt:"Enterprise logo"},linksSections:[{sectionTitle:"Products & Services",links:[{title:"Cloud Solutions",url:"/cloud"},{title:"Data Analytics",url:"/analytics"},{title:"AI & Machine Learning",url:"/ai"},{title:"Cybersecurity",url:"/security"},{title:"DevOps Tools",url:"/devops"},{title:"IoT Platform",url:"/iot"}]},{sectionTitle:"Industries",links:[{title:"Healthcare",url:"/industries/healthcare"},{title:"Finance",url:"/industries/finance"},{title:"Retail",url:"/industries/retail"},{title:"Manufacturing",url:"/industries/manufacturing"},{title:"Education",url:"/industries/education"},{title:"Government",url:"/industries/government"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Tutorials",url:"/tutorials"},{title:"Webinars",url:"/webinars"},{title:"White Papers",url:"/whitepapers"},{title:"Case Studies",url:"/case-studies"}]},{sectionTitle:"Support & Community",links:[{title:"Help Center",url:"/help"},{title:"Community Forum",url:"/forum"},{title:"Contact Support",url:"/support"},{title:"Service Status",url:"/status"},{title:"Partner Portal",url:"/partners"},{title:"Developer Hub",url:"/developers"}]}]}},{description:"Startup footer with minimal links and left logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/100x35.png?text=Startup",alt:"Startup logo"},linksSections:[{sectionTitle:"Company",links:[{title:"About",url:"/about"},{title:"Team",url:"/team"},{title:"Jobs",url:"/jobs"}]},{sectionTitle:"Product",links:[{title:"Features",url:"/features"},{title:"Pricing",url:"/pricing"},{title:"Demo",url:"/demo"}]},{sectionTitle:"Support",links:[{title:"Help",url:"/help"},{title:"Contact",url:"/contact"}]}]}},{description:"Agency footer with centered logo and creative sections",type:"footer",props:{logo:{src:"https://via.placeholder.com/130x45.png?text=Agency",alt:"Creative agency logo"},linksSections:[{sectionTitle:"Services",links:[{title:"Web Design",url:"/services/web-design"},{title:"Branding",url:"/services/branding"},{title:"Digital Marketing",url:"/services/marketing"},{title:"Photography",url:"/services/photography"}]},{sectionTitle:"Portfolio",links:[{title:"Recent Work",url:"/portfolio"},{title:"Case Studies",url:"/case-studies"},{title:"Client Reviews",url:"/reviews"}]},{sectionTitle:"Connect",links:[{title:"Contact Us",url:"/contact"},{title:"Get Quote",url:"/quote"},{title:"Newsletter",url:"/newsletter"}]}]}},{description:"SaaS platform footer with comprehensive links",type:"footer",props:{logo:{src:"https://via.placeholder.com/160x50.png?text=SaaS+Platform",alt:"SaaS platform logo"},linksSections:[{sectionTitle:"Platform",links:[{title:"Dashboard",url:"/dashboard"},{title:"Analytics",url:"/analytics"},{title:"Integrations",url:"/integrations"},{title:"API",url:"/api"}]},{sectionTitle:"Solutions",links:[{title:"For Startups",url:"/solutions/startups"},{title:"For Enterprise",url:"/solutions/enterprise"},{title:"For Agencies",url:"/solutions/agencies"},{title:"For Developers",url:"/solutions/developers"}]},{sectionTitle:"Resources",links:[{title:"Blog",url:"/blog"},{title:"Documentation",url:"/docs"},{title:"Help Center",url:"/help"},{title:"Community",url:"/community"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"Press",url:"/press"},{title:"Legal",url:"/legal"}]}]}},{description:"Non-profit footer with mission-focused links",type:"footer",props:{logo:{src:"https://via.placeholder.com/140x50.png?text=Non+Profit",alt:"Non-profit organization logo"},linksSections:[{sectionTitle:"Our Work",links:[{title:"Programs",url:"/programs"},{title:"Impact",url:"/impact"},{title:"Success Stories",url:"/stories"},{title:"Research",url:"/research"}]},{sectionTitle:"Get Involved",links:[{title:"Donate",url:"/donate"},{title:"Volunteer",url:"/volunteer"},{title:"Events",url:"/events"},{title:"Partner with Us",url:"/partnerships"}]},{sectionTitle:"About",links:[{title:"Our Mission",url:"/mission"},{title:"Leadership",url:"/leadership"},{title:"Annual Reports",url:"/reports"},{title:"Contact",url:"/contact"}]}]}},{description:"Tech blog footer with right-aligned logo",type:"footer",props:{logo:{src:"https://via.placeholder.com/120x40.png?text=Tech+Blog",alt:"Tech blog logo"},linksSections:[{sectionTitle:"Categories",links:[{title:"Web Development",url:"/category/web-dev"},{title:"AI & ML",url:"/category/ai-ml"},{title:"DevOps",url:"/category/devops"},{title:"Mobile",url:"/category/mobile"}]},{sectionTitle:"Popular",links:[{title:"Latest Posts",url:"/latest"},{title:"Trending",url:"/trending"},{title:"Best of 2024",url:"/best-2024"},{title:"Tutorials",url:"/tutorials"}]},{sectionTitle:"Community",links:[{title:"Newsletter",url:"/newsletter"},{title:"Discord",url:"/discord"},{title:"Contributors",url:"/contributors"},{title:"Write for Us",url:"/write"}]}]}},{description:"Restaurant footer with location and menu links",type:"footer",props:{logo:{src:"https://via.placeholder.com/150x60.png?text=Restaurant",alt:"Restaurant logo"},linksSections:[{sectionTitle:"Menu",links:[{title:"Appetizers",url:"/menu/appetizers"},{title:"Main Courses",url:"/menu/mains"},{title:"Desserts",url:"/menu/desserts"},{title:"Beverages",url:"/menu/drinks"}]},{sectionTitle:"Services",links:[{title:"Reservations",url:"/reservations"},{title:"Catering",url:"/catering"},{title:"Private Events",url:"/events"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Info",links:[{title:"About Us",url:"/about"},{title:"Location",url:"/location"},{title:"Hours",url:"/hours"},{title:"Contact",url:"/contact"}]}]}}];export{d as a,C as b,P as c};
|
|
4
|
+
//# sourceMappingURL=chunk-7A2JNQX3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/bricks/manifests/footer.manifest.ts"],"sourcesContent":["import { type Static, Type } from \"@sinclair/typebox\";\nimport { VscLayoutPanelOff } from \"react-icons/vsc\";\nimport { defineBrickManifest } from \"~/shared/brick-manifest\";\nimport { array, defineProps } from \"../props/helpers\";\nimport { imageRef } from \"../props/image\";\nimport { colorPresetRef } from \"../props/color-preset\";\nimport { string, urlOrPageIdRef } from \"../props/string\";\nimport { fontSizeRef } from \"../props/text\";\nimport type { BrickProps } from \"../props/types\";\nimport { toLLMSchema } from \"~/shared/utils/llm\";\nimport { cssLengthRef } from \"../props/css-length\";\n\nexport const manifest = defineBrickManifest({\n type: \"footer\",\n name: \"Footer\",\n category: \"layout\",\n description: \"A footer with links and an optional logo.\",\n aiInstructions: \"This brick should be used on most sites/pages. It must be placed on its own section.\",\n icon: VscLayoutPanelOff,\n staticClasses: \"flex-1\",\n isGlobalBrick: true,\n hideInLibrary: true,\n resizable: false,\n movable: false,\n defaultWidth: {\n desktop: \"100%\",\n mobile: \"100%\",\n },\n props: defineProps(\n {\n colorPreset: Type.Optional(\n colorPresetRef({\n title: \"Color preset\",\n default: { color: \"neutral-600\" },\n }),\n ),\n padding: Type.Optional(\n cssLengthRef({\n default: \"4rem\",\n description: \"Padding inside the footer.\",\n title: \"Padding\",\n \"ui:responsive\": true,\n \"ui:placeholder\": \"Not specified\",\n \"ui:styleId\": \"styles:padding\",\n }),\n ),\n logo: Type.Optional(imageRef({ title: \"Logo\", \"ui:no-object-options\": true, \"ui:no-alt-text\": true })),\n fontSize: Type.Optional(fontSizeRef({ default: \"text-sm\", \"ui:no-extra-large-sizes\": true })),\n // rows:Type.Optional(number(\"Rows\", { default: 1, \"ui:field\": \"slider\", minimum: 1, maximum: 5 })),\n linksSections: array(\n Type.Object({\n sectionTitle: string(\"Title\"),\n links: array(\n Type.Object({\n title: string(\"Title\"),\n url: urlOrPageIdRef(),\n }),\n {\n title: \"Links\",\n },\n ),\n }),\n {\n default: [\n {\n sectionTitle: \"Links\",\n links: [\n {\n title: \"Link\",\n url: \"/\",\n },\n ],\n },\n ],\n title: \"Links\",\n \"ui:displayField\": \"sectionTitle\",\n \"ui:options\": {\n orderable: true, // Enable drag & drop reordering\n removable: true, // Enable delete button\n addable: true, // Enable add button\n },\n description: \"List of Links Sections\",\n metadata: {\n category: \"content\",\n },\n },\n ),\n },\n { noGrow: true, noAlignSelf: true },\n ),\n});\n\nexport type Manifest = typeof manifest;\n\nexport function getFooterSchemaForLLM() {\n return toLLMSchema(manifest.props);\n}\n\nexport type FooterProps = Static<Manifest[\"props\"]>;\n\nexport const examples: {\n description: string;\n type: string;\n props: BrickProps<Manifest>[\"brick\"][\"props\"];\n}[] = [\n {\n description: \"Simple footer with logo on the left\",\n type: \"footer\",\n props: {\n // backgroundColor: \"#f8f9fa\",\n logo: {\n src: \"https://via.placeholder.com/120x40.png?text=Logo\",\n alt: \"Company logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Quick Links\",\n links: [\n { title: \"Home\", url: \"/\" },\n { title: \"About\", url: \"/about\" },\n { title: \"Contact\", url: \"/contact\" },\n ],\n },\n {\n sectionTitle: \"Legal\",\n links: [\n { title: \"Privacy Policy\", url: \"/privacy\" },\n { title: \"Terms of Service\", url: \"/terms\" },\n ],\n },\n ],\n },\n },\n {\n description: \"Corporate footer with centered logo\",\n type: \"footer\",\n props: {\n // backgroundColor: \"#2c3e50\",\n logo: {\n src: \"https://via.placeholder.com/150x50.png?text=Corporate\",\n alt: \"Corporate logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Products\",\n links: [\n { title: \"Software Solutions\", url: \"/products/software\" },\n { title: \"Consulting\", url: \"/products/consulting\" },\n { title: \"Support\", url: \"/products/support\" },\n { title: \"Training\", url: \"/products/training\" },\n ],\n },\n {\n sectionTitle: \"Company\",\n links: [\n { title: \"About Us\", url: \"/about\" },\n { title: \"Careers\", url: \"/careers\" },\n { title: \"News\", url: \"/news\" },\n { title: \"Investors\", url: \"/investors\" },\n ],\n },\n {\n sectionTitle: \"Resources\",\n links: [\n { title: \"Documentation\", url: \"/docs\" },\n { title: \"API Reference\", url: \"/api\" },\n { title: \"Community\", url: \"/community\" },\n { title: \"Blog\", url: \"/blog\" },\n ],\n },\n ],\n },\n },\n {\n description: \"E-commerce footer with logo on the right\",\n type: \"footer\",\n props: {\n // backgroundColor: \"#ffffff\",\n logo: {\n src: \"https://via.placeholder.com/140x45.png?text=Shop\",\n alt: \"Shop logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Shop\",\n links: [\n { title: \"All Products\", url: \"/products\" },\n { title: \"New Arrivals\", url: \"/new\" },\n { title: \"Sale\", url: \"/sale\" },\n { title: \"Gift Cards\", url: \"/gift-cards\" },\n ],\n },\n {\n sectionTitle: \"Customer Service\",\n links: [\n { title: \"Help Center\", url: \"/help\" },\n { title: \"Returns\", url: \"/returns\" },\n { title: \"Shipping Info\", url: \"/shipping\" },\n { title: \"Size Guide\", url: \"/size-guide\" },\n ],\n },\n {\n sectionTitle: \"Account\",\n links: [\n { title: \"My Account\", url: \"/account\" },\n { title: \"Order History\", url: \"/orders\" },\n { title: \"Wishlist\", url: \"/wishlist\" },\n ],\n },\n ],\n },\n },\n {\n description: \"Large organization footer with multiple rows\",\n type: \"footer\",\n props: {\n // backgroundColor: \"#1a1a1a\",\n logo: {\n src: \"https://via.placeholder.com/180x60.png?text=Enterprise\",\n alt: \"Enterprise logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Products & Services\",\n links: [\n { title: \"Cloud Solutions\", url: \"/cloud\" },\n { title: \"Data Analytics\", url: \"/analytics\" },\n { title: \"AI & Machine Learning\", url: \"/ai\" },\n { title: \"Cybersecurity\", url: \"/security\" },\n { title: \"DevOps Tools\", url: \"/devops\" },\n { title: \"IoT Platform\", url: \"/iot\" },\n ],\n },\n {\n sectionTitle: \"Industries\",\n links: [\n { title: \"Healthcare\", url: \"/industries/healthcare\" },\n { title: \"Finance\", url: \"/industries/finance\" },\n { title: \"Retail\", url: \"/industries/retail\" },\n { title: \"Manufacturing\", url: \"/industries/manufacturing\" },\n { title: \"Education\", url: \"/industries/education\" },\n { title: \"Government\", url: \"/industries/government\" },\n ],\n },\n {\n sectionTitle: \"Resources\",\n links: [\n { title: \"Documentation\", url: \"/docs\" },\n { title: \"API Reference\", url: \"/api\" },\n { title: \"Tutorials\", url: \"/tutorials\" },\n { title: \"Webinars\", url: \"/webinars\" },\n { title: \"White Papers\", url: \"/whitepapers\" },\n { title: \"Case Studies\", url: \"/case-studies\" },\n ],\n },\n {\n sectionTitle: \"Support & Community\",\n links: [\n { title: \"Help Center\", url: \"/help\" },\n { title: \"Community Forum\", url: \"/forum\" },\n { title: \"Contact Support\", url: \"/support\" },\n { title: \"Service Status\", url: \"/status\" },\n { title: \"Partner Portal\", url: \"/partners\" },\n { title: \"Developer Hub\", url: \"/developers\" },\n ],\n },\n ],\n },\n },\n {\n description: \"Startup footer with minimal links and left logo\",\n type: \"footer\",\n props: {\n // backgroundColor: \"#f5f5f5\",\n logo: {\n src: \"https://via.placeholder.com/100x35.png?text=Startup\",\n alt: \"Startup logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Company\",\n links: [\n { title: \"About\", url: \"/about\" },\n { title: \"Team\", url: \"/team\" },\n { title: \"Jobs\", url: \"/jobs\" },\n ],\n },\n {\n sectionTitle: \"Product\",\n links: [\n { title: \"Features\", url: \"/features\" },\n { title: \"Pricing\", url: \"/pricing\" },\n { title: \"Demo\", url: \"/demo\" },\n ],\n },\n {\n sectionTitle: \"Support\",\n links: [\n { title: \"Help\", url: \"/help\" },\n { title: \"Contact\", url: \"/contact\" },\n ],\n },\n ],\n },\n },\n {\n description: \"Agency footer with centered logo and creative sections\",\n type: \"footer\",\n props: {\n // backgroundColor: \"#6366f1\",\n logo: {\n src: \"https://via.placeholder.com/130x45.png?text=Agency\",\n alt: \"Creative agency logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Services\",\n links: [\n { title: \"Web Design\", url: \"/services/web-design\" },\n { title: \"Branding\", url: \"/services/branding\" },\n { title: \"Digital Marketing\", url: \"/services/marketing\" },\n { title: \"Photography\", url: \"/services/photography\" },\n ],\n },\n {\n sectionTitle: \"Portfolio\",\n links: [\n { title: \"Recent Work\", url: \"/portfolio\" },\n { title: \"Case Studies\", url: \"/case-studies\" },\n { title: \"Client Reviews\", url: \"/reviews\" },\n ],\n },\n {\n sectionTitle: \"Connect\",\n links: [\n { title: \"Contact Us\", url: \"/contact\" },\n { title: \"Get Quote\", url: \"/quote\" },\n { title: \"Newsletter\", url: \"/newsletter\" },\n ],\n },\n ],\n },\n },\n {\n description: \"SaaS platform footer with comprehensive links\",\n type: \"footer\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/160x50.png?text=SaaS+Platform\",\n alt: \"SaaS platform logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Platform\",\n links: [\n { title: \"Dashboard\", url: \"/dashboard\" },\n { title: \"Analytics\", url: \"/analytics\" },\n { title: \"Integrations\", url: \"/integrations\" },\n { title: \"API\", url: \"/api\" },\n ],\n },\n {\n sectionTitle: \"Solutions\",\n links: [\n { title: \"For Startups\", url: \"/solutions/startups\" },\n { title: \"For Enterprise\", url: \"/solutions/enterprise\" },\n { title: \"For Agencies\", url: \"/solutions/agencies\" },\n { title: \"For Developers\", url: \"/solutions/developers\" },\n ],\n },\n {\n sectionTitle: \"Resources\",\n links: [\n { title: \"Blog\", url: \"/blog\" },\n { title: \"Documentation\", url: \"/docs\" },\n { title: \"Help Center\", url: \"/help\" },\n { title: \"Community\", url: \"/community\" },\n ],\n },\n {\n sectionTitle: \"Company\",\n links: [\n { title: \"About Us\", url: \"/about\" },\n { title: \"Careers\", url: \"/careers\" },\n { title: \"Press\", url: \"/press\" },\n { title: \"Legal\", url: \"/legal\" },\n ],\n },\n ],\n },\n },\n {\n description: \"Non-profit footer with mission-focused links\",\n type: \"footer\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/140x50.png?text=Non+Profit\",\n alt: \"Non-profit organization logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Our Work\",\n links: [\n { title: \"Programs\", url: \"/programs\" },\n { title: \"Impact\", url: \"/impact\" },\n { title: \"Success Stories\", url: \"/stories\" },\n { title: \"Research\", url: \"/research\" },\n ],\n },\n {\n sectionTitle: \"Get Involved\",\n links: [\n { title: \"Donate\", url: \"/donate\" },\n { title: \"Volunteer\", url: \"/volunteer\" },\n { title: \"Events\", url: \"/events\" },\n { title: \"Partner with Us\", url: \"/partnerships\" },\n ],\n },\n {\n sectionTitle: \"About\",\n links: [\n { title: \"Our Mission\", url: \"/mission\" },\n { title: \"Leadership\", url: \"/leadership\" },\n { title: \"Annual Reports\", url: \"/reports\" },\n { title: \"Contact\", url: \"/contact\" },\n ],\n },\n ],\n },\n },\n {\n description: \"Tech blog footer with right-aligned logo\",\n type: \"footer\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/120x40.png?text=Tech+Blog\",\n alt: \"Tech blog logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Categories\",\n links: [\n { title: \"Web Development\", url: \"/category/web-dev\" },\n { title: \"AI & ML\", url: \"/category/ai-ml\" },\n { title: \"DevOps\", url: \"/category/devops\" },\n { title: \"Mobile\", url: \"/category/mobile\" },\n ],\n },\n {\n sectionTitle: \"Popular\",\n links: [\n { title: \"Latest Posts\", url: \"/latest\" },\n { title: \"Trending\", url: \"/trending\" },\n { title: \"Best of 2024\", url: \"/best-2024\" },\n { title: \"Tutorials\", url: \"/tutorials\" },\n ],\n },\n {\n sectionTitle: \"Community\",\n links: [\n { title: \"Newsletter\", url: \"/newsletter\" },\n { title: \"Discord\", url: \"/discord\" },\n { title: \"Contributors\", url: \"/contributors\" },\n { title: \"Write for Us\", url: \"/write\" },\n ],\n },\n ],\n },\n },\n {\n description: \"Restaurant footer with location and menu links\",\n type: \"footer\",\n props: {\n logo: {\n src: \"https://via.placeholder.com/150x60.png?text=Restaurant\",\n alt: \"Restaurant logo\",\n },\n linksSections: [\n {\n sectionTitle: \"Menu\",\n links: [\n { title: \"Appetizers\", url: \"/menu/appetizers\" },\n { title: \"Main Courses\", url: \"/menu/mains\" },\n { title: \"Desserts\", url: \"/menu/desserts\" },\n { title: \"Beverages\", url: \"/menu/drinks\" },\n ],\n },\n {\n sectionTitle: \"Services\",\n links: [\n { title: \"Reservations\", url: \"/reservations\" },\n { title: \"Catering\", url: \"/catering\" },\n { title: \"Private Events\", url: \"/events\" },\n { title: \"Gift Cards\", url: \"/gift-cards\" },\n ],\n },\n {\n sectionTitle: \"Info\",\n links: [\n { title: \"About Us\", url: \"/about\" },\n { title: \"Location\", url: \"/location\" },\n { title: \"Hours\", url: \"/hours\" },\n { title: \"Contact\", url: \"/contact\" },\n ],\n },\n ],\n },\n },\n];\n"],"mappings":";;oUAAA,OAAsB,QAAAA,MAAY,oBAClC,OAAS,qBAAAC,MAAyB,kBAW3B,IAAMC,EAAWC,EAAoB,CAC1C,KAAM,SACN,KAAM,SACN,SAAU,SACV,YAAa,4CACb,eAAgB,uFAChB,KAAMC,EACN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BAAiB,EAC3C,CAAE,MAAO,YAAa,IAAK,cAAe,CAC5C,CACF,EACA,CACE,aAAc,WACd,MAAO,CACL,CAAE,MAAO,eAAgB,IAAK,eAAgB,EAC9C,CAAE,MAAO,WAAY,IAAK,WAAY,EACtC,CAAE,MAAO,iBAAkB,IAAK,SAAU,EAC1C,CAAE,MAAO,aAAc,IAAK,aAAc,CAC5C,CACF,EACA,CACE,aAAc,OACd,MAAO,CACL,CAAE,MAAO,WAAY,IAAK,QAAS,EACnC,CAAE,MAAO,WAAY,IAAK,WAAY,EACtC,CAAE,MAAO,QAAS,IAAK,QAAS,EAChC,CAAE,MAAO,UAAW,IAAK,UAAW,CACtC,CACF,CACF,CACF,CACF,CACF","names":["Type","VscLayoutPanelOff","manifest","defineBrickManifest","VscLayoutPanelOff","defineProps","Type","colorPresetRef","cssLengthRef","imageRef","fontSizeRef","array","string","urlOrPageIdRef","getFooterSchemaForLLM","toLLMSchema","examples"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a as n}from"./chunk-
|
|
3
|
+
import{a as n}from"./chunk-KFM6KXSE.js";import{Type as i}from"@sinclair/typebox";function l(t,e={}){return i.String({title:t,...e})}function p(t="URL",e){return i.String({title:t,format:"url","ui:field":"url",default:e})}var r=i.String({"ui:field":"page-id"});function u(t="URL",e){return i.Union([i.String({format:"url"}),r],{default:e,title:t,metadata:{category:"content"},"ui:field":"url-page-id","ai:instructions":"This field can be a URL or a page ID. Use the page ID when linking to a internal page, and a URL for external links."})}function c(t={}){return n("content:urlOrPageId",{...t})}function d(t,e={}){return i.String({title:t??"Icon","ai:instructions":"Use a iconify reference like 'mdi:heart' or 'fa-solid:coffee'.","ui:field":"iconify",metadata:{category:"content"},...e})}function f(t={}){return n("assets:icon",t)}export{l as a,p as b,u as c,c as d,d as e,f};
|
|
4
|
+
//# sourceMappingURL=chunk-A3GF4PYW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/bricks/props/string.ts"],"sourcesContent":["import { type Static, Type, type StringOptions } from \"@sinclair/typebox\";\nimport type { FieldMetadata } from \"./types\";\nimport { typedRef } from \"~/shared/utils/typed-ref\";\n\ntype StrFieldOptions = StringOptions &\n FieldMetadata & {\n \"ui:multiline\"?: boolean;\n };\n\nexport function string(title: string, options: StrFieldOptions = {}) {\n return Type.String({ title, ...options });\n}\n\nexport function url(title = \"URL\", defaultValue?: string) {\n return Type.String({\n title,\n format: \"url\",\n \"ui:field\": \"url\",\n default: defaultValue,\n });\n}\n\nconst pageIdSchema = Type.String({\n \"ui:field\": \"page-id\",\n});\n\nexport function urlOrPageId(title = \"URL\", defaultValue?: string) {\n return Type.Union(\n [\n Type.String({\n format: \"url\",\n }),\n pageIdSchema,\n ],\n {\n // $id: \"content:urlOrPageId\",\n default: defaultValue,\n title,\n metadata: {\n category: \"content\",\n },\n \"ui:field\": \"url-page-id\",\n \"ai:instructions\":\n \"This field can be a URL or a page ID. Use the page ID when linking to a internal page, and a URL for external links.\",\n },\n );\n}\n\nexport type UrlOrPageIdSettings = Static<ReturnType<typeof urlOrPageId>>;\n\nexport function urlOrPageIdRef(options: StrFieldOptions = {}) {\n return typedRef(\"content:urlOrPageId\", { ...options });\n}\n\ntype IconOptions = StrFieldOptions & { \"ui:default-icon-collection\"?: string };\n\nexport function icon(title?: string, options: IconOptions = {}) {\n return Type.String({\n title: title ?? \"Icon\",\n \"ai:instructions\": \"Use a iconify reference like 'mdi:heart' or 'fa-solid:coffee'.\",\n \"ui:field\": \"iconify\",\n // $id: \"assets:icon\",\n metadata: {\n category: \"content\",\n },\n ...options,\n });\n}\n\nexport function iconRef(options: IconOptions = {}) {\n return typedRef(\"assets:icon\", options);\n}\n"],"mappings":";;wCAAA,OAAsB,QAAAA,MAAgC,oBAS/C,SAASC,EAAOC,EAAeC,EAA2B,CAAC,EAAG,CACnE,OAAOC,EAAK,OAAO,CAAE,MAAAF,EAAO,GAAGC,CAAQ,CAAC,CAC1C,CAEO,SAASE,EAAIH,EAAQ,MAAOI,EAAuB,CACxD,OAAOF,EAAK,OAAO,CACjB,MAAAF,EACA,OAAQ,MACR,WAAY,MACZ,QAASI,CACX,CAAC,CACH,CAEA,IAAMC,EAAeH,EAAK,OAAO,CAC/B,WAAY,SACd,CAAC,EAEM,SAASI,EAAYN,EAAQ,MAAOI,EAAuB,CAChE,OAAOF,EAAK,MACV,CACEA,EAAK,OAAO,CACV,OAAQ,KACV,CAAC,EACDG,CACF,EACA,CAEE,QAASD,EACT,MAAAJ,EACA,SAAU,CACR,SAAU,SACZ,EACA,WAAY,cACZ,kBACE,sHACJ,CACF,CACF,CAIO,SAASO,EAAeN,EAA2B,CAAC,EAAG,CAC5D,OAAOO,EAAS,sBAAuB,CAAE,GAAGP,CAAQ,CAAC,CACvD,CAIO,SAASQ,EAAKT,EAAgBC,EAAuB,CAAC,EAAG,CAC9D,OAAOC,EAAK,OAAO,CACjB,MAAOF,GAAS,OAChB,kBAAmB,iEACnB,WAAY,UAEZ,SAAU,CACR,SAAU,SACZ,EACA,GAAGC,CACL,CAAC,CACH,CAEO,SAASS,EAAQT,EAAuB,CAAC,EAAG,CACjD,OAAOO,EAAS,cAAeP,CAAO,CACxC","names":["Type","string","title","options","Type","url","defaultValue","pageIdSchema","urlOrPageId","urlOrPageIdRef","typedRef","icon","iconRef"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a as l}from"./chunk-
|
|
3
|
+
import{a as l}from"./chunk-AFVJZPLS.js";import{a}from"./chunk-JMN3HTZU.js";import{Type as e}from"@sinclair/typebox";import c from"chroma-js";import{colorPalette as m}from"@upstart.gg/style-system/colors";var v=[{value:"system-ui",label:"System UI"},{value:"transitional",label:"Transitional"},{value:"old-style",label:"Old style"},{value:"humanist",label:"Humanist"},{value:"geometric-humanist",label:"Geometric humanist"},{value:"classical-humanist",label:"Classical humanist"},{value:"neo-grotesque",label:"Neo-grotesque"},{value:"monospace-slab-serif",label:"Monospace slab serif"},{value:"monospace-code",label:"Monospace code"},{value:"industrial",label:"Industrial"},{value:"rounded-sans",label:"Rounded sans"},{value:"slab-serif",label:"Slab serif"},{value:"antique",label:"Antique"},{value:"didone",label:"Didone"},{value:"handwritten",label:"Handwritten"}],h=e.Object({type:a(["stack","theme","google"],{title:"Type of font",description:"The type of font. Can be a font stack, a theme font or a Google font"}),family:e.String({title:"Family",description:"The font family (eg. the name of the font)"})},{title:"Headings font",description:"Used for titles and headings",additionalProperties:!1}),d=e.Object({type:a(["stack","theme","google"],{title:"Type of font",description:"The type of font. Can be a font stack, a theme font or a Google font"}),family:e.String({title:"Family",description:"The font family (eg. the name of the font)"})},{title:"Body font",description:"Used for paragraphs and body text",additionalProperties:!1}),p=e.Object({id:e.String({title:"ID",description:"The unique identifier of the theme"}),name:e.String({title:"Name",description:"The name of the theme"}),description:e.String({title:"Description",description:"The description of the theme"}),tags:e.Array(e.String({title:"Tag"}),{title:"Tags",description:"The tags of the theme"}),browserColorScheme:a(["light","dark"],{title:"Browser scheme",description:"Color of browser-provided UI. Either 'light' or 'dark'"}),colors:e.Object({primary:e.String({title:"Primary",description:"The brand's primary color.","ai:instructions":"Use oklch() css notation.",examples:["oklch(0.62 0.241 354.308)"]}),secondary:e.String({title:"Secondary",description:"The brand's second most used color","ai:instructions":"Use oklch() css notation.",examples:["oklch(0.65 0.22 185)"]}),accent:e.String({title:"Accent",description:"The brand's least used color","ai:instructions":"Use oklch() css notation.",examples:["oklch(0.82 0.18 85)"]}),neutral:e.String({title:"Neutral",description:"The base neutral color","ai:instructions":"Use oklch() css notation.",examples:["oklch(0.38 0.08 280)"]}),base100:e.String({title:"Base",description:"Base surface color of page, used for blank backgrounds. Should be white or near-white for light color-schemes, and black or near-black for dark color-schemes.","ai:instructions":"Use oklab() css notation.",examples:["oklch(0.99 0.008 92)"]}),base200:e.String({title:"Base 2",description:"Should be darker than base 100 but still light for light color-schemes, and lighter but still dark for dark color-schemes.","ai:instructions":"Use oklab() css notation.",examples:["oklch(0.97 0.01 85)"]}),base300:e.String({title:"Base 3",description:"3rd base color, should be darker than base 200 for light color-schemes, and lighter than base 200 for dark color-schemes.","ai:instructions":"Use oklab() css notation.",examples:["oklch(0.95 0.02 80)"]})},{title:"Theme base colors",description:"The base colors of the theme. Each theme must declare all these colors",additionalProperties:!1}),typography:e.Object({base:e.Number({title:"Base font size",description:"The base font size in pixels. It is safe to keep it as is.","ai:instructions":"A safe value is 16."}),heading:h,body:d,alternatives:e.Array(e.Object({body:d,heading:h},{additionalProperties:!1}),{title:"Alternative fonts",description:"Alternative fonts that can be suggested to the user. Takes the same shape"})},{additionalProperties:!1})},{additionalProperties:!1}),f=e.Array(p);function x(){return l(f)}var u={id:"_default_",name:"default",description:"Default Upstart theme",tags:["gradient","vibrant","modern","creative","dynamic","artistic","bold"],browserColorScheme:"light",colors:{base100:"#FFF",base200:"#F5F0E1",base300:"#F0E3D2",primary:"#FF6F20",secondary:"#00BFFF",accent:"#A4D65E",neutral:"#B0B0B0"},typography:{base:16,heading:{type:"stack",family:"system-ui"},body:{type:"stack",family:"system-ui"},alternatives:[]}};function F(t){return t.id===u.id}function A(t){return{...t,typography:{...t.typography,base:16},colors:Object.entries(t.colors).reduce((s,[r,o])=>{let i=b(o);return{...s,[r]:i}},{})}}function b(t){if(c.valid(t))return t;if(/ok(lch|lab)\(([^)]+)\)/.test(t)){let o=t.replace(/,/g," ");if(c.valid(o))return o}if(/^([a-z]+)-([0-9]+)$/.test(t)){let[o,i]=t.split("-"),n=m[o]?.[i];if(n)return n}return t}export{v as a,p as b,f as c,x as d,u as e,F as f,A as g};
|
|
4
|
+
//# sourceMappingURL=chunk-A3K4NUVP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/shared/theme.ts"],"sourcesContent":["import { Type, type Static } from \"@sinclair/typebox\";\nimport chroma from \"chroma-js\";\nimport { colorPalette } from \"@upstart.gg/style-system/colors\";\nimport { StringEnum } from \"./utils/string-enum\";\nimport { toLLMSchema } from \"./utils/llm\";\n\nexport const fontStacks = [\n { value: \"system-ui\", label: \"System UI\" },\n { value: \"transitional\", label: \"Transitional\" },\n { value: \"old-style\", label: \"Old style\" },\n { value: \"humanist\", label: \"Humanist\" },\n { value: \"geometric-humanist\", label: \"Geometric humanist\" },\n { value: \"classical-humanist\", label: \"Classical humanist\" },\n { value: \"neo-grotesque\", label: \"Neo-grotesque\" },\n { value: \"monospace-slab-serif\", label: \"Monospace slab serif\" },\n { value: \"monospace-code\", label: \"Monospace code\" },\n { value: \"industrial\", label: \"Industrial\" },\n { value: \"rounded-sans\", label: \"Rounded sans\" },\n { value: \"slab-serif\", label: \"Slab serif\" },\n { value: \"antique\", label: \"Antique\" },\n { value: \"didone\", label: \"Didone\" },\n { value: \"handwritten\", label: \"Handwritten\" },\n];\n\nconst headingFont = Type.Object(\n {\n type: StringEnum([\"stack\", \"theme\", \"google\"], {\n title: \"Type of font\",\n description: \"The type of font. Can be a font stack, a theme font or a Google font\",\n }),\n family: Type.String({\n title: \"Family\",\n description: \"The font family (eg. the name of the font)\",\n }),\n },\n {\n title: \"Headings font\",\n description: \"Used for titles and headings\",\n additionalProperties: false,\n },\n);\n\nconst bodyFont = Type.Object(\n {\n type: StringEnum([\"stack\", \"theme\", \"google\"], {\n title: \"Type of font\",\n description: \"The type of font. Can be a font stack, a theme font or a Google font\",\n }),\n family: Type.String({\n title: \"Family\",\n description: \"The font family (eg. the name of the font)\",\n }),\n },\n {\n title: \"Body font\",\n description: \"Used for paragraphs and body text\",\n additionalProperties: false,\n },\n);\n\nexport const themeSchema = Type.Object(\n {\n id: Type.String({ title: \"ID\", description: \"The unique identifier of the theme\" }),\n name: Type.String({ title: \"Name\", description: \"The name of the theme\" }),\n description: Type.String({ title: \"Description\", description: \"The description of the theme\" }),\n tags: Type.Array(Type.String({ title: \"Tag\" }), { title: \"Tags\", description: \"The tags of the theme\" }),\n browserColorScheme: StringEnum([\"light\", \"dark\"], {\n title: \"Browser scheme\",\n description: \"Color of browser-provided UI. Either 'light' or 'dark'\",\n }),\n // Define the theme colors\n colors: Type.Object(\n {\n primary: Type.String({\n title: \"Primary\",\n description: \"The brand's primary color.\",\n \"ai:instructions\": \"Use oklch() css notation.\",\n examples: [\"oklch(0.62 0.241 354.308)\"],\n }),\n secondary: Type.String({\n title: \"Secondary\",\n description: \"The brand's second most used color\",\n \"ai:instructions\": \"Use oklch() css notation.\",\n examples: [\"oklch(0.65 0.22 185)\"],\n }),\n accent: Type.String({\n title: \"Accent\",\n description: \"The brand's least used color\",\n \"ai:instructions\": \"Use oklch() css notation.\",\n examples: [\"oklch(0.82 0.18 85)\"],\n }),\n neutral: Type.String({\n title: \"Neutral\",\n description: \"The base neutral color\",\n \"ai:instructions\": \"Use oklch() css notation.\",\n examples: [\"oklch(0.38 0.08 280)\"],\n }),\n base100: Type.String({\n title: \"Base\",\n description:\n \"Base surface color of page, used for blank backgrounds. Should be white or near-white for light color-schemes, and black or near-black for dark color-schemes.\",\n \"ai:instructions\": \"Use oklab() css notation.\",\n examples: [\"oklch(0.99 0.008 92)\"],\n }),\n base200: Type.String({\n title: \"Base 2\",\n description:\n \"Should be darker than base 100 but still light for light color-schemes, and lighter but still dark for dark color-schemes.\",\n \"ai:instructions\": \"Use oklab() css notation.\",\n examples: [\"oklch(0.97 0.01 85)\"],\n }),\n base300: Type.String({\n title: \"Base 3\",\n description:\n \"3rd base color, should be darker than base 200 for light color-schemes, and lighter than base 200 for dark color-schemes.\",\n \"ai:instructions\": \"Use oklab() css notation.\",\n examples: [\"oklch(0.95 0.02 80)\"],\n }),\n },\n {\n title: \"Theme base colors\",\n description: \"The base colors of the theme. Each theme must declare all these colors\",\n additionalProperties: false,\n },\n ),\n\n // Define the theme typography\n typography: Type.Object(\n {\n base: Type.Number({\n title: \"Base font size\",\n description: \"The base font size in pixels. It is safe to keep it as is.\",\n \"ai:instructions\": \"A safe value is 16.\",\n }),\n heading: headingFont,\n body: bodyFont,\n alternatives: Type.Array(\n Type.Object(\n {\n body: bodyFont,\n heading: headingFont,\n },\n { additionalProperties: false },\n ),\n {\n title: \"Alternative fonts\",\n description: \"Alternative fonts that can be suggested to the user. Takes the same shape\",\n },\n ),\n },\n { additionalProperties: false },\n ),\n },\n {\n additionalProperties: false,\n },\n);\n\nexport type Theme = Static<typeof themeSchema>;\nexport const themesArray = Type.Array(themeSchema);\n\nexport function getThemesArrayForLLM() {\n return toLLMSchema(themesArray);\n}\n\nexport type ThemesArray = Static<typeof themesArray>;\nexport type FontType = Theme[\"typography\"][\"body\"];\n\nexport const defaultTheme: Theme = {\n id: \"_default_\",\n name: \"default\",\n description: \"Default Upstart theme\",\n tags: [\"gradient\", \"vibrant\", \"modern\", \"creative\", \"dynamic\", \"artistic\", \"bold\"],\n browserColorScheme: \"light\",\n colors: {\n base100: \"#FFF\", // Warm white background\n base200: \"#F5F0E1\", // Soft cream in hex\n base300: \"#F0E3D2\", // Light warm gray in hex\n primary: \"#FF6F20\", // A vibrant orange in hex\n secondary: \"#00BFFF\", // A bright cyan in hex\n accent: \"#A4D65E\", // A lively lime green in hex\n neutral: \"#B0B0B0\", // A balanced gray in hex\n },\n typography: {\n base: 16,\n heading: { type: \"stack\", family: \"system-ui\" },\n body: { type: \"stack\", family: \"system-ui\" },\n alternatives: [],\n },\n};\n\nexport function isDefaultTheme(theme: Theme): boolean {\n return theme.id === defaultTheme.id;\n}\n\n/**\n * Process a theme, eventually fixing colors and translating them to oklch notations\n * @param theme\n */\nexport function processTheme(theme: Theme): Theme {\n return {\n ...theme,\n typography: {\n ...theme.typography,\n base: 16, // override any base size\n },\n colors: Object.entries(theme.colors).reduce(\n (acc, [key, value]) => {\n const fixedColor = fixOklchColor(value);\n return {\n // biome-ignore lint/performance/noAccumulatingSpread: <explanation>\n ...acc,\n [key]: fixedColor,\n };\n },\n {} as typeof theme.colors,\n ),\n };\n}\n\nfunction fixOklchColor(color: string) {\n const valid = chroma.valid(color);\n if (valid) {\n return color;\n }\n // Try to fix the color if it looks like oklch\n const oklchRegex = /ok(lch|lab)\\(([^)]+)\\)/;\n if (oklchRegex.test(color)) {\n const withoutComma = color.replace(/,/g, \" \");\n if (chroma.valid(withoutComma)) {\n return withoutComma;\n }\n }\n // tailwind colors\n if (/^([a-z]+)-([0-9]+)$/.test(color)) {\n const [name, shade] = color.split(\"-\");\n // @ts-ignore\n const twColor = colorPalette[name]?.[shade] as string | undefined;\n if (twColor) {\n return twColor;\n }\n }\n return color;\n}\n"],"mappings":";;2EAAA,OAAS,QAAAA,MAAyB,oBAClC,OAAOC,MAAY,YACnB,OAAS,gBAAAC,MAAoB,kCAItB,IAAMC,EAAa,CACxB,CAAE,MAAO,YAAa,MAAO,WAAY,EACzC,CAAE,MAAO,eAAgB,MAAO,cAAe,EAC/C,CAAE,MAAO,YAAa,MAAO,WAAY,EACzC,CAAE,MAAO,WAAY,MAAO,UAAW,EACvC,CAAE,MAAO,qBAAsB,MAAO,oBAAqB,EAC3D,CAAE,MAAO,qBAAsB,MAAO,oBAAqB,EAC3D,CAAE,MAAO,gBAAiB,MAAO,eAAgB,EACjD,CAAE,MAAO,uBAAwB,MAAO,sBAAuB,EAC/D,CAAE,MAAO,iBAAkB,MAAO,gBAAiB,EACnD,CAAE,MAAO,aAAc,MAAO,YAAa,EAC3C,CAAE,MAAO,eAAgB,MAAO,cAAe,EAC/C,CAAE,MAAO,aAAc,MAAO,YAAa,EAC3C,CAAE,MAAO,UAAW,MAAO,SAAU,EACrC,CAAE,MAAO,SAAU,MAAO,QAAS,EACnC,CAAE,MAAO,cAAe,MAAO,aAAc,CAC/C,EAEMC,EAAcC,EAAK,OACvB,CACE,KAAMC,EAAW,CAAC,QAAS,QAAS,QAAQ,EAAG,CAC7C,MAAO,eAC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A,EAAM,WACT,KAAM,EACR,EACA,OAAQ,OAAO,QAAQA,EAAM,MAAM,EAAE,OACnC,CAACE,EAAK,CAACC,EAAKC,CAAK,IAAM,CACrB,IAAMC,EAAaC,EAAcF,CAAK,EACtC,MAAO,CAEL,GAAGF,EACH,CAACC,CAAG,EAAGE,CACT,CACF,EACA,CAAC,CACH,CACF,CACF,CAEA,SAASC,EAAcC,EAAe,CAEpC,GADcC,EAAO,MAAMD,CAAK,EAE9B,OAAOA,EAIT,GADmB,yBACJ,KAAKA,CAAK,EAAG,CAC1B,IAAME,EAAeF,EAAM,QAAQ,KAAM,GAAG,EAC5C,GAAIC,EAAO,MAAMC,CAAY,EAC3B,OAAOA,CAEX,CAEA,GAAI,sBAAsB,KAAKF,CAAK,EAAG,CACrC,GAAM,CAACG,EAAMC,CAAK,EAAIJ,EAAM,MAAM,GAAG,EAE/BK,EAAUC,EAAaH,CAAI,IAAIC,CAAK,EAC1C,GAAIC,EACF,OAAOA,CAEX,CACA,OAAOL,CACT","names":["Type","chroma","colorPalette","fontStacks","headingFont","Type","StringEnum","bodyFont","themeSchema","themesArray","getThemesArrayForLLM","toLLMSchema","defaultTheme","isDefaultTheme","theme","processTheme","acc","key","value","fixedColor","fixOklchColor","color","chroma","withoutComma","name","shade","twColor","colorPalette"]}
|