@upstart.gg/sdk 0.0.96 → 0.0.98
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/node/cli/api.js +2 -2
- package/dist/node/cli/api.js.map +1 -1
- package/dist/node/cli/commands/login/cmd-login.js +6 -6
- package/dist/node/cli/commands/login/cmd-login.js.map +1 -1
- package/dist/node/cli/commands/publish/cmd-publish.d.ts.map +1 -1
- package/dist/node/cli/commands/publish/cmd-publish.js +18 -18
- package/dist/node/cli/commands/publish/cmd-publish.js.map +1 -1
- package/dist/node/cli/commands/publish/uploader.js +7 -7
- package/dist/node/cli/commands/publish/uploader.js.map +1 -1
- package/dist/node/cli/is-logged-in.js +2 -2
- package/dist/node/cli/is-logged-in.js.map +1 -1
- package/dist/node/cli/program.js +24 -24
- package/dist/node/cli/program.js.map +1 -1
- package/dist/node/shared/config.d.ts +4 -14
- package/dist/node/shared/config.d.ts.map +1 -1
- package/dist/node/shared/config.js +4 -4
- package/dist/node/shared/config.js.map +1 -1
- package/dist/node/shared/logger.d.ts.map +1 -1
- package/dist/node/shared/logger.js +2 -2
- package/dist/node/shared/logger.js.map +1 -1
- package/dist/shared/ajv.d.ts +2 -0
- package/dist/shared/ajv.d.ts.map +1 -1
- package/dist/shared/ajv.js +1 -1
- package/dist/shared/attributes.d.ts +20 -93
- package/dist/shared/attributes.d.ts.map +1 -1
- package/dist/shared/attributes.js +1 -1
- package/dist/shared/brick-manifest.d.ts +7 -17
- package/dist/shared/brick-manifest.d.ts.map +1 -1
- package/dist/shared/brick-manifest.js +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts +111 -0
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/accordion.manifest.js +3 -0
- package/dist/shared/bricks/manifests/all-manifests.d.ts +5 -0
- package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +1 -1
- package/dist/shared/bricks/manifests/button.manifest.d.ts +22 -13
- package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/button.manifest.js +1 -1
- package/dist/shared/bricks/manifests/card.manifest.d.ts +44 -54
- package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/card.manifest.js +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +39 -12
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
- package/dist/shared/bricks/manifests/container.manifest.d.ts +49 -172
- package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/container.manifest.js +1 -1
- package/dist/shared/bricks/manifests/divider.manifest.d.ts +63 -0
- package/dist/shared/bricks/manifests/divider.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/divider.manifest.js +3 -0
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +30 -35
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
- package/dist/shared/bricks/manifests/form.manifest.d.ts +22 -12
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.js +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +31 -71
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +18 -12
- package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
- package/dist/shared/bricks/manifests/image.manifest.d.ts +36 -50
- package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/image.manifest.js +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +55 -115
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
- package/dist/shared/bricks/manifests/map.manifest.d.ts +36 -12
- package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/map.manifest.js +1 -1
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts +160 -0
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/navbar.manifest.js +3 -0
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +83 -12
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +37 -12
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +94 -0
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/testimonials.manifest.js +3 -0
- package/dist/shared/bricks/manifests/text.manifest.d.ts +31 -63
- package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/text.manifest.js +1 -1
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts +122 -0
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/timeline.manifest.js +3 -0
- package/dist/shared/bricks/manifests/video.manifest.d.ts +38 -12
- package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/video.manifest.js +1 -1
- package/dist/shared/bricks/props/_style-presets.d.ts +1 -1
- package/dist/shared/bricks/props/_style-presets.d.ts.map +1 -1
- package/dist/shared/bricks/props/_style-presets.js +1 -1
- package/dist/shared/bricks/props/align.d.ts +7 -3
- package/dist/shared/bricks/props/align.d.ts.map +1 -1
- package/dist/shared/bricks/props/align.js +1 -1
- package/dist/shared/bricks/props/background.d.ts +8 -1
- package/dist/shared/bricks/props/background.d.ts.map +1 -1
- package/dist/shared/bricks/props/background.js +1 -1
- package/dist/shared/bricks/props/boolean.js +1 -1
- package/dist/shared/bricks/props/border.d.ts +24 -22
- package/dist/shared/bricks/props/border.d.ts.map +1 -1
- package/dist/shared/bricks/props/border.js +1 -1
- package/dist/shared/bricks/props/color.d.ts +5 -0
- package/dist/shared/bricks/props/color.d.ts.map +1 -0
- package/dist/shared/bricks/props/color.js +3 -0
- package/dist/shared/bricks/props/common.d.ts +9 -1
- package/dist/shared/bricks/props/common.d.ts.map +1 -1
- package/dist/shared/bricks/props/common.js +1 -1
- package/dist/shared/bricks/props/container.d.ts +37 -45
- package/dist/shared/bricks/props/container.d.ts.map +1 -1
- package/dist/shared/bricks/props/container.js +1 -1
- package/dist/shared/bricks/props/css-length.d.ts +5 -0
- package/dist/shared/bricks/props/css-length.d.ts.map +1 -0
- package/dist/shared/bricks/props/css-length.js +3 -0
- package/dist/shared/bricks/props/datasource.d.ts +9 -13
- package/dist/shared/bricks/props/datasource.d.ts.map +1 -1
- package/dist/shared/bricks/props/datasource.js +1 -1
- package/dist/shared/bricks/props/date.d.ts +4 -0
- package/dist/shared/bricks/props/date.d.ts.map +1 -0
- package/dist/shared/bricks/props/date.js +3 -0
- package/dist/shared/bricks/props/effects.d.ts +4 -21
- package/dist/shared/bricks/props/effects.d.ts.map +1 -1
- package/dist/shared/bricks/props/effects.js +1 -1
- package/dist/shared/bricks/props/enum.d.ts +13 -0
- package/dist/shared/bricks/props/enum.d.ts.map +1 -0
- package/dist/shared/bricks/props/enum.js +3 -0
- package/dist/shared/bricks/props/file.d.ts +2 -0
- package/dist/shared/bricks/props/file.d.ts.map +1 -0
- package/dist/shared/bricks/props/file.js +3 -0
- package/dist/shared/bricks/props/geolocation.d.ts +16 -0
- package/dist/shared/bricks/props/geolocation.d.ts.map +1 -0
- package/dist/shared/bricks/props/geolocation.js +3 -0
- package/dist/shared/bricks/props/helpers.d.ts +8 -4
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
- package/dist/shared/bricks/props/helpers.js +1 -1
- package/dist/shared/bricks/props/image.d.ts +7 -1
- package/dist/shared/bricks/props/image.d.ts.map +1 -1
- package/dist/shared/bricks/props/image.js +1 -1
- package/dist/shared/bricks/props/number.js +1 -1
- package/dist/shared/bricks/props/padding.d.ts +2 -1
- package/dist/shared/bricks/props/padding.d.ts.map +1 -1
- package/dist/shared/bricks/props/padding.js +1 -1
- package/dist/shared/bricks/props/position.d.ts.map +1 -1
- package/dist/shared/bricks/props/position.js +1 -1
- package/dist/shared/bricks/props/preset.d.ts +92 -0
- package/dist/shared/bricks/props/preset.d.ts.map +1 -0
- package/dist/shared/bricks/props/preset.js +3 -0
- package/dist/shared/bricks/props/string.d.ts +8 -3
- package/dist/shared/bricks/props/string.d.ts.map +1 -1
- package/dist/shared/bricks/props/string.js +1 -1
- package/dist/shared/bricks/props/text.d.ts +3 -4
- package/dist/shared/bricks/props/text.d.ts.map +1 -1
- package/dist/shared/bricks/props/text.js +1 -1
- package/dist/shared/bricks/props/types.d.ts +5 -2
- package/dist/shared/bricks/props/types.d.ts.map +1 -1
- package/dist/shared/bricks.d.ts +243 -134
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/chunk-2AJYHJFG.js +8 -0
- package/dist/shared/chunk-2HS6NFHZ.js +3 -0
- package/dist/shared/chunk-3LMJVUDG.js +7 -0
- package/dist/shared/chunk-3VZACK2Y.js +3 -0
- package/dist/shared/chunk-3XCKZ4JQ.js +3 -0
- package/dist/shared/chunk-6ALXIMUO.js +3 -0
- package/dist/shared/chunk-6VX2WGTP.js +3 -0
- package/dist/shared/chunk-74EL657O.js +3 -0
- package/dist/shared/chunk-AJDYOLKP.js +3 -0
- package/dist/shared/chunk-AKBI3X4Q.js +3 -0
- package/dist/shared/chunk-ALFOZHAH.js +3 -0
- package/dist/shared/{chunk-FGU4BGP4.js → chunk-ATDJCXC2.js} +1 -1
- package/dist/shared/chunk-AZOGBANS.js +3 -0
- package/dist/shared/chunk-BJSO43AS.js +3 -0
- package/dist/shared/chunk-CAVNF3BU.js +3 -0
- package/dist/shared/chunk-CT4RLIMR.js +6 -0
- package/dist/shared/chunk-CTRS76PX.js +3 -0
- package/dist/shared/chunk-DFSQR6QC.js +3 -0
- package/dist/shared/chunk-ECNYDOAO.js +3 -0
- package/dist/shared/chunk-FHOCVBK6.js +3 -0
- package/dist/shared/chunk-G7LX3UKQ.js +3 -0
- package/dist/shared/chunk-HYVQXAK5.js +3 -0
- package/dist/shared/chunk-I4P4RZXY.js +4 -0
- package/dist/shared/chunk-IIEPRDBY.js +3 -0
- package/dist/shared/chunk-JQXWLMDD.js +8 -0
- package/dist/shared/chunk-KKER3X7F.js +6 -0
- package/dist/shared/chunk-KPYTQFWJ.js +3 -0
- package/dist/shared/chunk-KUGWXEBW.js +3 -0
- package/dist/shared/chunk-KWR57RUG.js +3 -0
- package/dist/shared/chunk-LKVQQQTI.js +3 -0
- package/dist/shared/chunk-MYI3IN5Z.js +3 -0
- package/dist/shared/chunk-NNO3S4VF.js +3 -0
- package/dist/shared/chunk-OUI2VDNM.js +3 -0
- package/dist/shared/chunk-OYIL5SCU.js +3 -0
- package/dist/shared/chunk-P5DZK4TS.js +3 -0
- package/dist/shared/chunk-Q3U4SRIF.js +3 -0
- package/dist/shared/chunk-Q74LWG7R.js +3 -0
- package/dist/shared/chunk-RBLZ3RK4.js +3 -0
- package/dist/shared/chunk-U5AQVZF6.js +3 -0
- package/dist/shared/chunk-U5XOIYSS.js +3 -0
- package/dist/shared/chunk-UBOQDP6V.js +5 -0
- package/dist/shared/chunk-UDQJDXVN.js +3 -0
- package/dist/shared/{chunk-HIZPJNEM.js → chunk-UL7L3HYV.js} +1 -1
- package/dist/shared/chunk-V5ZYAZ7J.js +3 -0
- package/dist/shared/chunk-VA5LFJVE.js +3 -0
- package/dist/shared/chunk-VAC73HJE.js +3 -0
- package/dist/shared/chunk-VBWC36L2.js +3 -0
- package/dist/shared/chunk-VTFWVTPI.js +3 -0
- package/dist/shared/chunk-WAAKB6OB.js +3 -0
- package/dist/shared/chunk-Y27LBC4Q.js +3 -0
- package/dist/shared/chunk-Y7CEEEVW.js +3 -0
- package/dist/shared/chunk-YZ5Y4WE6.js +3 -0
- package/dist/shared/chunk-ZJNA4QQC.js +3 -0
- package/dist/shared/chunk-ZMDHKAWL.js +3 -0
- package/dist/shared/context.d.ts +38 -0
- package/dist/shared/context.d.ts.map +1 -0
- package/dist/shared/{chunk-WJ5CDDXW.js → context.js} +0 -1
- package/dist/shared/datarecords/types.d.ts +40 -20
- package/dist/shared/datarecords/types.d.ts.map +1 -1
- package/dist/shared/datarecords/types.js +1 -1
- package/dist/shared/datasources/external/facebook/posts/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/http-json/fetcher.d.ts.map +1 -0
- package/dist/shared/datasources/external/http-json/options.d.ts.map +1 -0
- package/dist/shared/datasources/external/{json → http-json}/schema.d.ts +0 -1
- package/dist/shared/datasources/external/http-json/schema.d.ts.map +1 -0
- package/dist/shared/datasources/external/http-json/tests/fetcher.test.d.ts.map +1 -0
- package/dist/shared/datasources/external/instagram/feed/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/account/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/rss/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/rss/sample.d.ts.map +1 -1
- package/dist/shared/datasources/external/rss/schema.d.ts +7 -13
- package/dist/shared/datasources/external/rss/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/threads/media/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/youtube/list/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/youtube/list/sample.d.ts +23 -32
- package/dist/shared/datasources/external/youtube/list/sample.d.ts.map +1 -1
- package/dist/shared/datasources/external/youtube/list/schema.d.ts +24 -33
- package/dist/shared/datasources/external/youtube/list/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/blog/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/changelog/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/recipes/schema.d.ts.map +1 -1
- package/dist/shared/datasources/samples.d.ts +1 -1
- package/dist/shared/datasources/samples.d.ts.map +1 -1
- package/dist/shared/datasources/schemas.d.ts +33 -583
- package/dist/shared/datasources/schemas.d.ts.map +1 -1
- package/dist/shared/datasources/schemas.js +1 -1
- package/dist/shared/datasources/types.d.ts +75 -1314
- package/dist/shared/datasources/types.d.ts.map +1 -1
- package/dist/shared/datasources/types.js +1 -1
- package/dist/shared/datasources.d.ts +14 -0
- package/dist/shared/datasources.d.ts.map +1 -1
- package/dist/shared/datasources.js +1 -1
- package/dist/shared/images.d.ts +30 -0
- package/dist/shared/images.d.ts.map +1 -0
- package/dist/shared/images.js +3 -0
- package/dist/shared/layout-constants.js +1 -1
- package/dist/shared/page.d.ts +104 -2670
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +1 -1
- package/dist/shared/prompt.d.ts +4 -0
- package/dist/shared/prompt.d.ts.map +1 -0
- package/dist/shared/prompt.js +3 -0
- package/dist/shared/responsive.d.ts +3 -3
- package/dist/shared/responsive.d.ts.map +1 -1
- package/dist/shared/responsive.js +1 -1
- package/dist/shared/site.d.ts +545 -0
- package/dist/shared/site.d.ts.map +1 -0
- package/dist/shared/site.js +3 -0
- package/dist/shared/sitemap.d.ts +38 -0
- package/dist/shared/sitemap.d.ts.map +1 -0
- package/dist/shared/sitemap.js +3 -0
- package/dist/shared/theme.d.ts +41 -19
- package/dist/shared/theme.d.ts.map +1 -1
- package/dist/shared/theme.js +1 -1
- package/dist/shared/themes/color-system.d.ts +5 -309
- package/dist/shared/themes/color-system.d.ts.map +1 -1
- package/dist/shared/themes/color-system.js +1 -1
- package/dist/shared/utils/invariant.js +1 -1
- package/dist/shared/utils/schema.d.ts +10 -2
- package/dist/shared/utils/schema.d.ts.map +1 -1
- package/dist/shared/utils/schema.js +1 -1
- package/dist/shared/utils/typed-ref.d.ts +32 -0
- package/dist/shared/utils/typed-ref.d.ts.map +1 -0
- package/dist/shared/utils/typed-ref.js +3 -0
- package/package.json +11 -11
- package/src/node/cli/api.ts +101 -0
- package/src/node/cli/commands/cmd-build.ts +64 -0
- package/src/node/cli/commands/login/cmd-login.ts +111 -0
- package/src/node/cli/commands/logout/cmd-logout.ts +11 -0
- package/src/node/cli/commands/publish/cmd-publish.ts +135 -0
- package/src/node/cli/commands/publish/parse-gitignore.ts +278 -0
- package/src/node/cli/commands/publish/uploader.ts +333 -0
- package/src/node/cli/constants.ts +14 -0
- package/src/node/cli/is-logged-in.ts +28 -0
- package/src/node/cli/program.ts +77 -0
- package/src/node/cli/store.ts +64 -0
- package/src/node/cli/tests/api.test.ts +161 -0
- package/src/node/cli/types.ts +34 -0
- package/src/node/cli/utils.ts +20 -0
- package/src/node/shared/config.ts +69 -0
- package/src/node/shared/logger.ts +44 -0
- package/src/shared/ajv.ts +110 -0
- package/src/shared/analytics/init.ts +14 -0
- package/src/shared/analytics/track.ts +21 -0
- package/src/shared/analytics/types.ts +13 -0
- package/src/shared/attributes.ts +221 -0
- package/src/shared/brick-manifest.ts +110 -0
- package/src/shared/bricks/manifests/accordion.manifest.ts +179 -0
- package/src/shared/bricks/manifests/all-manifests.ts +92 -0
- package/src/shared/bricks/manifests/button.manifest.ts +145 -0
- package/src/shared/bricks/manifests/card.manifest.ts +269 -0
- package/src/shared/bricks/manifests/carousel.manifest.ts +106 -0
- package/src/shared/bricks/manifests/container.manifest.ts +357 -0
- package/src/shared/bricks/manifests/divider.manifest.ts +121 -0
- package/src/shared/bricks/manifests/footer.manifest.ts +487 -0
- package/src/shared/bricks/manifests/form.manifest.ts +112 -0
- package/src/shared/bricks/manifests/hero.manifest.ts +132 -0
- package/src/shared/bricks/manifests/icon.manifest.ts +130 -0
- package/src/shared/bricks/manifests/image.manifest.ts +203 -0
- package/src/shared/bricks/manifests/images-gallery.manifest.ts +227 -0
- package/src/shared/bricks/manifests/map.manifest.ts +75 -0
- package/src/shared/bricks/manifests/navbar.manifest.ts +344 -0
- package/src/shared/bricks/manifests/sidebar.manifest.ts +90 -0
- package/src/shared/bricks/manifests/social-links.manifest.ts +370 -0
- package/src/shared/bricks/manifests/testimonials.manifest.ts +397 -0
- package/src/shared/bricks/manifests/tests/header.manifest.test.ts +10 -0
- package/src/shared/bricks/manifests/text.manifest.ts +164 -0
- package/src/shared/bricks/manifests/timeline.manifest.ts +456 -0
- package/src/shared/bricks/manifests/video.manifest.ts +59 -0
- package/src/shared/bricks/props/_style-presets.ts +352 -0
- package/src/shared/bricks/props/align.ts +59 -0
- package/src/shared/bricks/props/background.ts +118 -0
- package/src/shared/bricks/props/boolean.ts +11 -0
- package/src/shared/bricks/props/border.ts +84 -0
- package/src/shared/bricks/props/color.ts +24 -0
- package/src/shared/bricks/props/common.ts +37 -0
- package/src/shared/bricks/props/container.ts +356 -0
- package/src/shared/bricks/props/css-length.ts +25 -0
- package/src/shared/bricks/props/datasource.ts +60 -0
- package/src/shared/bricks/props/date.ts +24 -0
- package/src/shared/bricks/props/effects.ts +123 -0
- package/src/shared/bricks/props/enum.ts +42 -0
- package/src/shared/bricks/props/file.ts +12 -0
- package/src/shared/bricks/props/geolocation.ts +30 -0
- package/src/shared/bricks/props/helpers.ts +101 -0
- package/src/shared/bricks/props/image.ts +90 -0
- package/src/shared/bricks/props/number.ts +16 -0
- package/src/shared/bricks/props/padding.ts +21 -0
- package/src/shared/bricks/props/position.ts +27 -0
- package/src/shared/bricks/props/preset.ts +136 -0
- package/src/shared/bricks/props/string.ts +60 -0
- package/src/shared/bricks/props/tests/align.test.ts +37 -0
- package/src/shared/bricks/props/tests/background.test.ts +102 -0
- package/src/shared/bricks/props/tests/border.test.ts +38 -0
- package/src/shared/bricks/props/tests/effects.test.ts +37 -0
- package/src/shared/bricks/props/tests/helpers.test.ts +133 -0
- package/src/shared/bricks/props/tests/image.test.ts +71 -0
- package/src/shared/bricks/props/tests/padding.ts +12 -0
- package/src/shared/bricks/props/tests/string.test.ts +79 -0
- package/src/shared/bricks/props/text.ts +66 -0
- package/src/shared/bricks/props/types.ts +57 -0
- package/src/shared/bricks.ts +232 -0
- package/src/shared/context.ts +39 -0
- package/src/shared/datarecords/external/airtable/handler.ts +21 -0
- package/src/shared/datarecords/external/airtable/options.ts +22 -0
- package/src/shared/datarecords/external/generic-webhook/handler.ts +10 -0
- package/src/shared/datarecords/external/generic-webhook/options.ts +13 -0
- package/src/shared/datarecords/external/google/oauth/config.ts +30 -0
- package/src/shared/datarecords/external/google/sheets/handler.ts +26 -0
- package/src/shared/datarecords/external/google/sheets/options.ts +9 -0
- package/src/shared/datarecords/types.ts +120 -0
- package/src/shared/datarecords.ts +5 -0
- package/src/shared/datasources/README.md +3 -0
- package/src/shared/datasources/external/facebook/posts/fetcher.ts +53 -0
- package/src/shared/datasources/external/facebook/posts/sample.ts +35 -0
- package/src/shared/datasources/external/facebook/posts/schema.ts +33 -0
- package/src/shared/datasources/external/facebook/posts/tests/fetcher.test.ts +73 -0
- package/src/shared/datasources/external/http-json/fetcher.ts +28 -0
- package/src/shared/datasources/external/http-json/options.ts +12 -0
- package/src/shared/datasources/external/http-json/schema.ts +6 -0
- package/src/shared/datasources/external/http-json/tests/fetcher.test.ts +70 -0
- package/src/shared/datasources/external/instagram/feed/fetcher.ts +42 -0
- package/src/shared/datasources/external/instagram/feed/sample.ts +22 -0
- package/src/shared/datasources/external/instagram/feed/schema.ts +23 -0
- package/src/shared/datasources/external/instagram/feed/tests/fetcher.test.ts +82 -0
- package/src/shared/datasources/external/mastodon/account/fetcher.ts +32 -0
- package/src/shared/datasources/external/mastodon/account/sample.ts +33 -0
- package/src/shared/datasources/external/mastodon/account/schema.ts +45 -0
- package/src/shared/datasources/external/mastodon/account/tests/fetcher.test.ts +65 -0
- package/src/shared/datasources/external/mastodon/options.ts +11 -0
- package/src/shared/datasources/external/mastodon/status/fetcher.ts +36 -0
- package/src/shared/datasources/external/mastodon/status/sample.array.ts +59 -0
- package/src/shared/datasources/external/mastodon/status/sample.single.ts +55 -0
- package/src/shared/datasources/external/mastodon/status/schema.ts +130 -0
- package/src/shared/datasources/external/mastodon/status/tests/fetcher.test.ts +74 -0
- package/src/shared/datasources/external/meta/oauth/config.ts +16 -0
- package/src/shared/datasources/external/meta/options.ts +11 -0
- package/src/shared/datasources/external/rss/fetcher.ts +29 -0
- package/src/shared/datasources/external/rss/options.ts +11 -0
- package/src/shared/datasources/external/rss/sample.ts +22 -0
- package/src/shared/datasources/external/rss/schema.ts +42 -0
- package/src/shared/datasources/external/threads/media/fetcher.ts +62 -0
- package/src/shared/datasources/external/threads/media/sample.ts +44 -0
- package/src/shared/datasources/external/threads/media/schema.ts +37 -0
- package/src/shared/datasources/external/tiktok/oauth/config.ts +17 -0
- package/src/shared/datasources/external/tiktok/video/fetcher.ts +40 -0
- package/src/shared/datasources/external/tiktok/video/options.ts +12 -0
- package/src/shared/datasources/external/tiktok/video/sample.ts +26 -0
- package/src/shared/datasources/external/tiktok/video/schema.ts +27 -0
- package/src/shared/datasources/external/youtube/list/fetcher.ts +38 -0
- package/src/shared/datasources/external/youtube/list/options.ts +15 -0
- package/src/shared/datasources/external/youtube/list/sample.ts +33 -0
- package/src/shared/datasources/external/youtube/list/schema.ts +38 -0
- package/src/shared/datasources/external/youtube/oauth/config.ts +15 -0
- package/src/shared/datasources/fetcher.ts +17 -0
- package/src/shared/datasources/internal/blog/schema.ts +69 -0
- package/src/shared/datasources/internal/changelog/schema.ts +48 -0
- package/src/shared/datasources/internal/contact-info/schema.ts +20 -0
- package/src/shared/datasources/internal/cv/schema.ts +217 -0
- package/src/shared/datasources/internal/faq/schema.ts +27 -0
- package/src/shared/datasources/internal/job-board/schema.ts +228 -0
- package/src/shared/datasources/internal/links/schema.ts +15 -0
- package/src/shared/datasources/internal/recipes/schema.ts +42 -0
- package/src/shared/datasources/internal/restaurant/schema.ts +225 -0
- package/src/shared/datasources/provider-options.ts +7 -0
- package/src/shared/datasources/samples.ts +26 -0
- package/src/shared/datasources/schemas.ts +45 -0
- package/src/shared/datasources/types.ts +276 -0
- package/src/shared/datasources/utils.ts +16 -0
- package/src/shared/datasources.ts +42 -0
- package/src/shared/env.ts +23 -0
- package/src/shared/errors.ts +1 -0
- package/src/shared/images.ts +44 -0
- package/src/shared/index.ts +3 -0
- package/src/shared/layout-constants.ts +25 -0
- package/src/shared/manifest.ts +50 -0
- package/src/shared/oauth.ts +16 -0
- package/src/shared/page.ts +61 -0
- package/src/shared/prompt.ts +9 -0
- package/src/shared/responsive.ts +5 -0
- package/src/shared/site.ts +97 -0
- package/src/shared/sitemap.ts +66 -0
- package/src/shared/social-icons.ts +307 -0
- package/src/shared/tests/attributes.test.ts +37 -0
- package/src/shared/theme.ts +245 -0
- package/src/shared/themes/README.md +34 -0
- package/src/shared/themes/color-system.ts +127 -0
- package/src/shared/utils/canvas-data-uri.ts +2 -0
- package/src/shared/utils/invariant.ts +25 -0
- package/src/shared/utils/json-date.ts +8 -0
- package/src/shared/utils/merge.ts +12 -0
- package/src/shared/utils/object-hash.ts +7 -0
- package/src/shared/utils/schema.ts +30 -0
- package/src/shared/utils/try-catch.ts +12 -0
- package/src/shared/utils/typed-ref.ts +41 -0
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts +0 -57
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts.map +0 -1
- package/dist/shared/bricks/manifests/countdown.manifest.js +0 -3
- package/dist/shared/bricks/manifests/generic-component.manifest.d.ts +0 -62
- package/dist/shared/bricks/manifests/generic-component.manifest.d.ts.map +0 -1
- package/dist/shared/bricks/manifests/generic-component.manifest.js +0 -3
- package/dist/shared/bricks/manifests/header.manifest.d.ts +0 -275
- package/dist/shared/bricks/manifests/header.manifest.d.ts.map +0 -1
- package/dist/shared/bricks/manifests/header.manifest.js +0 -3
- package/dist/shared/bricks/props/_docs-common-styles.d.ts +0 -59
- package/dist/shared/bricks/props/_docs-common-styles.d.ts.map +0 -1
- package/dist/shared/bricks/props/_docs-common-styles.js +0 -3
- package/dist/shared/bricks/props/tests/container.test.d.ts +0 -2
- package/dist/shared/bricks/props/tests/container.test.d.ts.map +0 -1
- package/dist/shared/chunk-2ZPY4LCA.js +0 -3
- package/dist/shared/chunk-3CY6AZG7.js +0 -3
- package/dist/shared/chunk-4K5NN4CN.js +0 -3
- package/dist/shared/chunk-4NCCSLBW.js +0 -3
- package/dist/shared/chunk-6I4PY5WS.js +0 -3
- package/dist/shared/chunk-6LDLGZUM.js +0 -3
- package/dist/shared/chunk-AZ63RF3K.js +0 -3
- package/dist/shared/chunk-BH4HTAAC.js +0 -3
- package/dist/shared/chunk-BK6LBWDI.js +0 -3
- package/dist/shared/chunk-BMDB2V7J.js +0 -3
- package/dist/shared/chunk-DAPQ4JPP.js +0 -3
- package/dist/shared/chunk-ECZ6FGZM.js +0 -3
- package/dist/shared/chunk-EFJQECVB.js +0 -3
- package/dist/shared/chunk-F2ZVIFHO.js +0 -3
- package/dist/shared/chunk-H6L4KRCJ.js +0 -3
- package/dist/shared/chunk-IWSVY2VC.js +0 -3
- package/dist/shared/chunk-JVDUEZYO.js +0 -3
- package/dist/shared/chunk-KB4HY432.js +0 -3
- package/dist/shared/chunk-KOTGMAXH.js +0 -3
- package/dist/shared/chunk-LDOM2LJF.js +0 -3
- package/dist/shared/chunk-NFU5BF6G.js +0 -3
- package/dist/shared/chunk-P5FVZ5PL.js +0 -3
- package/dist/shared/chunk-PD7P5KSV.js +0 -3
- package/dist/shared/chunk-PJ6HA55L.js +0 -3
- package/dist/shared/chunk-PSNFBHPU.js +0 -3
- package/dist/shared/chunk-PSSJMWGU.js +0 -3
- package/dist/shared/chunk-PU2FOOTY.js +0 -3
- package/dist/shared/chunk-Q4MXTCE4.js +0 -8
- package/dist/shared/chunk-RBYYMUOZ.js +0 -3
- package/dist/shared/chunk-S2RQWOG2.js +0 -3
- package/dist/shared/chunk-SO5M7CYA.js +0 -3
- package/dist/shared/chunk-THRRILTW.js +0 -3
- package/dist/shared/chunk-TQ23UATQ.js +0 -3
- package/dist/shared/chunk-U44NTSIO.js +0 -3
- package/dist/shared/chunk-U4R5EGBK.js +0 -3
- package/dist/shared/chunk-WOEBR25A.js +0 -3
- package/dist/shared/chunk-WPTVLIYS.js +0 -3
- package/dist/shared/chunk-WXKRIUTA.js +0 -3
- package/dist/shared/chunk-XBX6II3M.js +0 -3
- package/dist/shared/chunk-XEQ2XZLQ.js +0 -3
- package/dist/shared/chunk-XGCBIXOO.js +0 -3
- package/dist/shared/chunk-YY6DANZF.js +0 -3
- package/dist/shared/chunk-ZWQHIQEQ.js +0 -3
- package/dist/shared/datasources/external/json/fetcher.d.ts.map +0 -1
- package/dist/shared/datasources/external/json/options.d.ts.map +0 -1
- package/dist/shared/datasources/external/json/schema.d.ts.map +0 -1
- package/dist/shared/datasources/external/json/tests/fetcher.test.d.ts.map +0 -1
- package/dist/shared/datasources/external/rss/tests/fetcher.test.d.ts +0 -2
- package/dist/shared/datasources/external/rss/tests/fetcher.test.d.ts.map +0 -1
- package/dist/shared/template.d.ts +0 -898
- package/dist/shared/template.d.ts.map +0 -1
- package/dist/shared/template.js +0 -3
- package/dist/shared/tests/page.test.d.ts +0 -2
- package/dist/shared/tests/page.test.d.ts.map +0 -1
- package/dist/shared/tests/test-config.d.ts +0 -3
- package/dist/shared/tests/test-config.d.ts.map +0 -1
- package/dist/shared/themes/all-themes.d.ts +0 -3
- package/dist/shared/themes/all-themes.d.ts.map +0 -1
- package/dist/shared/themes/all-themes.js +0 -3
- /package/dist/shared/datasources/external/{json → http-json}/fetcher.d.ts +0 -0
- /package/dist/shared/datasources/external/{json → http-json}/options.d.ts +0 -0
- /package/dist/shared/datasources/external/{json → http-json}/tests/fetcher.test.d.ts +0 -0
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
export declare const datasource: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
2
|
-
href: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
|
|
3
|
-
label: import("@sinclair/typebox").TString;
|
|
4
|
-
}>>;
|
|
5
|
-
export declare const manifest: {
|
|
6
|
-
readonly datasource: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
7
|
-
href: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
|
|
8
|
-
label: import("@sinclair/typebox").TString;
|
|
9
|
-
}>>;
|
|
10
|
-
readonly props: import("@sinclair/typebox").TObject<{
|
|
11
|
-
className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
|
-
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
13
|
-
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14
|
-
} & {
|
|
15
|
-
container: import("@sinclair/typebox").TObject<{
|
|
16
|
-
backgroundColor: import("@sinclair/typebox").TString;
|
|
17
|
-
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
18
|
-
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
19
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
20
|
-
color: import("@sinclair/typebox").TString;
|
|
21
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
22
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
23
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
24
|
-
color: import("@sinclair/typebox").TString;
|
|
25
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
26
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
27
|
-
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
28
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
29
|
-
}>>;
|
|
30
|
-
shadow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>>;
|
|
31
|
-
fixedPositioned: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32
|
-
}> | import("@sinclair/typebox").TObject<{
|
|
33
|
-
shadow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>>;
|
|
34
|
-
backgroundColor: import("@sinclair/typebox").TString;
|
|
35
|
-
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
36
|
-
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
37
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
38
|
-
color: import("@sinclair/typebox").TString;
|
|
39
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
40
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
41
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
42
|
-
color: import("@sinclair/typebox").TString;
|
|
43
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
44
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
45
|
-
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
46
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
47
|
-
}>>;
|
|
48
|
-
fixedPositioned: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
49
|
-
}>;
|
|
50
|
-
brand: import("@sinclair/typebox").TObject<{
|
|
51
|
-
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
52
|
-
logo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
53
|
-
src: import("@sinclair/typebox").TString;
|
|
54
|
-
alt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
55
|
-
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-none">, import("@sinclair/typebox").TLiteral<"object-contain">, import("@sinclair/typebox").TLiteral<"object-cover">, import("@sinclair/typebox").TLiteral<"object-fill">, import("@sinclair/typebox").TLiteral<"object-scale-down">]>>;
|
|
56
|
-
position: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-top">, import("@sinclair/typebox").TLiteral<"object-center">, import("@sinclair/typebox").TLiteral<"object-bottom">, import("@sinclair/typebox").TLiteral<"object-left">, import("@sinclair/typebox").TLiteral<"object-right">, import("@sinclair/typebox").TLiteral<"object-left-top">, import("@sinclair/typebox").TLiteral<"object-right-top">, import("@sinclair/typebox").TLiteral<"object-left-bottom">, import("@sinclair/typebox").TLiteral<"object-right-bottom">]>>;
|
|
57
|
-
}>>;
|
|
58
|
-
hideText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
59
|
-
color: import("@sinclair/typebox").TString;
|
|
60
|
-
}> | import("@sinclair/typebox").TObject<{
|
|
61
|
-
color: import("@sinclair/typebox").TString;
|
|
62
|
-
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
63
|
-
logo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
64
|
-
src: import("@sinclair/typebox").TString;
|
|
65
|
-
alt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
66
|
-
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-none">, import("@sinclair/typebox").TLiteral<"object-contain">, import("@sinclair/typebox").TLiteral<"object-cover">, import("@sinclair/typebox").TLiteral<"object-fill">, import("@sinclair/typebox").TLiteral<"object-scale-down">]>>;
|
|
67
|
-
position: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-top">, import("@sinclair/typebox").TLiteral<"object-center">, import("@sinclair/typebox").TLiteral<"object-bottom">, import("@sinclair/typebox").TLiteral<"object-left">, import("@sinclair/typebox").TLiteral<"object-right">, import("@sinclair/typebox").TLiteral<"object-left-top">, import("@sinclair/typebox").TLiteral<"object-right-top">, import("@sinclair/typebox").TLiteral<"object-left-bottom">, import("@sinclair/typebox").TLiteral<"object-right-bottom">]>>;
|
|
68
|
-
}>>;
|
|
69
|
-
hideText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
70
|
-
}>;
|
|
71
|
-
navigation: import("@sinclair/typebox").TObject<{
|
|
72
|
-
position: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">]>;
|
|
73
|
-
color: import("@sinclair/typebox").TString;
|
|
74
|
-
items: import("@sinclair/typebox").TObject<{
|
|
75
|
-
isDynamic: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
76
|
-
useExistingDatasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
77
|
-
datasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
78
|
-
id: import("@sinclair/typebox").TString;
|
|
79
|
-
mapping: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
80
|
-
filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
81
|
-
op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">, import("@sinclair/typebox").TLiteral<"in">, import("@sinclair/typebox").TLiteral<"nin">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"endsWith">]>;
|
|
82
|
-
value: import("@sinclair/typebox").TString;
|
|
83
|
-
}>>>;
|
|
84
|
-
sort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>>;
|
|
85
|
-
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
86
|
-
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
87
|
-
}>>;
|
|
88
|
-
}>;
|
|
89
|
-
navItems: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
90
|
-
urlOrPageId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
|
|
91
|
-
}>>;
|
|
92
|
-
}> | import("@sinclair/typebox").TObject<{
|
|
93
|
-
color: import("@sinclair/typebox").TString;
|
|
94
|
-
items: import("@sinclair/typebox").TObject<{
|
|
95
|
-
isDynamic: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
96
|
-
useExistingDatasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
97
|
-
datasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
98
|
-
id: import("@sinclair/typebox").TString;
|
|
99
|
-
mapping: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
100
|
-
filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
101
|
-
op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">, import("@sinclair/typebox").TLiteral<"in">, import("@sinclair/typebox").TLiteral<"nin">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"endsWith">]>;
|
|
102
|
-
value: import("@sinclair/typebox").TString;
|
|
103
|
-
}>>>;
|
|
104
|
-
sort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>>;
|
|
105
|
-
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
106
|
-
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
107
|
-
}>>;
|
|
108
|
-
}>;
|
|
109
|
-
position: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">]>;
|
|
110
|
-
navItems: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
111
|
-
urlOrPageId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TString]>;
|
|
112
|
-
}>>;
|
|
113
|
-
}>;
|
|
114
|
-
}>;
|
|
115
|
-
readonly presets: Record<string, {
|
|
116
|
-
label: string;
|
|
117
|
-
previewClasses: string;
|
|
118
|
-
props: Partial<{
|
|
119
|
-
className?: string | undefined;
|
|
120
|
-
lastTouched?: number | undefined;
|
|
121
|
-
editable?: boolean | undefined;
|
|
122
|
-
container: {
|
|
123
|
-
border?: {
|
|
124
|
-
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
125
|
-
color: string;
|
|
126
|
-
width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
|
|
127
|
-
style: "border-solid" | "border-dashed" | "border-dotted";
|
|
128
|
-
rounding: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full";
|
|
129
|
-
} | {
|
|
130
|
-
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
131
|
-
color: string;
|
|
132
|
-
width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
|
|
133
|
-
style: "border-solid" | "border-dashed" | "border-dotted";
|
|
134
|
-
rounding: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full";
|
|
135
|
-
} | undefined;
|
|
136
|
-
shadow?: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl" | undefined;
|
|
137
|
-
fixedPositioned?: boolean | undefined;
|
|
138
|
-
backgroundColor: string;
|
|
139
|
-
} | {
|
|
140
|
-
border?: {
|
|
141
|
-
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
142
|
-
color: string;
|
|
143
|
-
width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
|
|
144
|
-
style: "border-solid" | "border-dashed" | "border-dotted";
|
|
145
|
-
rounding: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full";
|
|
146
|
-
} | {
|
|
147
|
-
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
148
|
-
color: string;
|
|
149
|
-
width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
|
|
150
|
-
style: "border-solid" | "border-dashed" | "border-dotted";
|
|
151
|
-
rounding: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full";
|
|
152
|
-
} | undefined;
|
|
153
|
-
shadow?: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl" | undefined;
|
|
154
|
-
fixedPositioned?: boolean | undefined;
|
|
155
|
-
backgroundColor: string;
|
|
156
|
-
};
|
|
157
|
-
brand: {
|
|
158
|
-
name?: string | undefined;
|
|
159
|
-
logo?: {
|
|
160
|
-
position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-left-top" | "object-right-top" | "object-left-bottom" | "object-right-bottom" | undefined;
|
|
161
|
-
alt?: string | undefined;
|
|
162
|
-
fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
|
|
163
|
-
src: string;
|
|
164
|
-
} | undefined;
|
|
165
|
-
hideText?: boolean | undefined;
|
|
166
|
-
color: string;
|
|
167
|
-
} | {
|
|
168
|
-
name?: string | undefined;
|
|
169
|
-
logo?: {
|
|
170
|
-
position?: "object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-left-top" | "object-right-top" | "object-left-bottom" | "object-right-bottom" | undefined;
|
|
171
|
-
alt?: string | undefined;
|
|
172
|
-
fit?: "object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down" | undefined;
|
|
173
|
-
src: string;
|
|
174
|
-
} | undefined;
|
|
175
|
-
hideText?: boolean | undefined;
|
|
176
|
-
color: string;
|
|
177
|
-
};
|
|
178
|
-
navigation: {
|
|
179
|
-
items: {
|
|
180
|
-
datasource?: {
|
|
181
|
-
sort?: {
|
|
182
|
-
[x: string]: "asc" | "desc";
|
|
183
|
-
} | undefined;
|
|
184
|
-
offset?: number | undefined;
|
|
185
|
-
filters?: {
|
|
186
|
-
[x: string]: {
|
|
187
|
-
value: string;
|
|
188
|
-
op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "in" | "nin";
|
|
189
|
-
};
|
|
190
|
-
} | undefined;
|
|
191
|
-
limit?: number | undefined;
|
|
192
|
-
id: string;
|
|
193
|
-
mapping: {
|
|
194
|
-
[x: string]: string;
|
|
195
|
-
};
|
|
196
|
-
} | undefined;
|
|
197
|
-
isDynamic?: boolean | undefined;
|
|
198
|
-
useExistingDatasource?: boolean | undefined;
|
|
199
|
-
};
|
|
200
|
-
color: string;
|
|
201
|
-
position: "left" | "right" | "center";
|
|
202
|
-
navItems: {
|
|
203
|
-
urlOrPageId: string;
|
|
204
|
-
}[];
|
|
205
|
-
} | {
|
|
206
|
-
items: {
|
|
207
|
-
datasource?: {
|
|
208
|
-
sort?: {
|
|
209
|
-
[x: string]: "asc" | "desc";
|
|
210
|
-
} | undefined;
|
|
211
|
-
offset?: number | undefined;
|
|
212
|
-
filters?: {
|
|
213
|
-
[x: string]: {
|
|
214
|
-
value: string;
|
|
215
|
-
op: "endsWith" | "startsWith" | "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "in" | "nin";
|
|
216
|
-
};
|
|
217
|
-
} | undefined;
|
|
218
|
-
limit?: number | undefined;
|
|
219
|
-
id: string;
|
|
220
|
-
mapping: {
|
|
221
|
-
[x: string]: string;
|
|
222
|
-
};
|
|
223
|
-
} | undefined;
|
|
224
|
-
isDynamic?: boolean | undefined;
|
|
225
|
-
useExistingDatasource?: boolean | undefined;
|
|
226
|
-
};
|
|
227
|
-
color: string;
|
|
228
|
-
position: "left" | "right" | "center";
|
|
229
|
-
navItems: {
|
|
230
|
-
urlOrPageId: string;
|
|
231
|
-
}[];
|
|
232
|
-
};
|
|
233
|
-
}>;
|
|
234
|
-
}> | undefined;
|
|
235
|
-
readonly kind: "container" | "brick" | "widget";
|
|
236
|
-
readonly defaultInspectorTab: "content" | "style" | "preset";
|
|
237
|
-
readonly hideInLibrary: boolean;
|
|
238
|
-
readonly deletable: boolean;
|
|
239
|
-
readonly movable: boolean;
|
|
240
|
-
readonly resizable: boolean;
|
|
241
|
-
readonly repeatable: boolean;
|
|
242
|
-
readonly duplicatable: boolean;
|
|
243
|
-
readonly isContainer: boolean;
|
|
244
|
-
readonly defaultWidth: {
|
|
245
|
-
mobile: number;
|
|
246
|
-
desktop: number;
|
|
247
|
-
};
|
|
248
|
-
readonly defaultHeight: {
|
|
249
|
-
mobile: number;
|
|
250
|
-
desktop: number;
|
|
251
|
-
};
|
|
252
|
-
readonly minWidth: {
|
|
253
|
-
mobile: number;
|
|
254
|
-
desktop: number;
|
|
255
|
-
} | undefined;
|
|
256
|
-
readonly minHeight: {
|
|
257
|
-
mobile: number;
|
|
258
|
-
desktop: number;
|
|
259
|
-
} | undefined;
|
|
260
|
-
readonly type: string;
|
|
261
|
-
readonly name: string;
|
|
262
|
-
readonly icon: string | import("react").FC<import("react-icons/lib").IconBaseProps>;
|
|
263
|
-
readonly iconClassName?: string;
|
|
264
|
-
readonly description?: string;
|
|
265
|
-
readonly maxWidth?: {
|
|
266
|
-
mobile: number;
|
|
267
|
-
desktop: number;
|
|
268
|
-
};
|
|
269
|
-
readonly maxHeight?: {
|
|
270
|
-
mobile: number;
|
|
271
|
-
desktop: number;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
export type Manifest = typeof manifest;
|
|
275
|
-
//# sourceMappingURL=header.manifest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/header.manifest.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,UAAU;;;GAqBtB,CAAC;AAgFF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a,b}from"../../chunk-THRRILTW.js";import"../../chunk-JVDUEZYO.js";import"../../chunk-FGU4BGP4.js";import"../../chunk-XGCBIXOO.js";import"../../chunk-4K5NN4CN.js";import"../../chunk-XBX6II3M.js";import"../../chunk-SO5M7CYA.js";import"../../chunk-IWSVY2VC.js";import"../../chunk-P5FVZ5PL.js";import"../../chunk-LDOM2LJF.js";import"../../chunk-WPTVLIYS.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as datasource,b as manifest};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export declare const commonStyleForDocsOnly: import("@sinclair/typebox").TObject<{
|
|
2
|
-
effects: import("@sinclair/typebox").TObject<{
|
|
3
|
-
textShadow?: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text-shadow-none">, import("@sinclair/typebox").TLiteral<"text-shadow-sm">, import("@sinclair/typebox").TLiteral<"text-shadow-md">, import("@sinclair/typebox").TLiteral<"text-shadow-lg">, import("@sinclair/typebox").TLiteral<"text-shadow-xl">]> | undefined;
|
|
4
|
-
opacity: import("@sinclair/typebox").TNumber;
|
|
5
|
-
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
6
|
-
}> | import("@sinclair/typebox").TObject<{
|
|
7
|
-
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
8
|
-
opacity: import("@sinclair/typebox").TNumber;
|
|
9
|
-
textShadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text-shadow-none">, import("@sinclair/typebox").TLiteral<"text-shadow-sm">, import("@sinclair/typebox").TLiteral<"text-shadow-md">, import("@sinclair/typebox").TLiteral<"text-shadow-lg">, import("@sinclair/typebox").TLiteral<"text-shadow-xl">]>;
|
|
10
|
-
}>;
|
|
11
|
-
background: import("@sinclair/typebox").TObject<{
|
|
12
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
|
-
image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
-
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
|
|
15
|
-
repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
|
|
16
|
-
}>;
|
|
17
|
-
backgroundColor: import("@sinclair/typebox").TString;
|
|
18
|
-
color: import("@sinclair/typebox").TString;
|
|
19
|
-
border: import("@sinclair/typebox").TObject<{
|
|
20
|
-
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
21
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
22
|
-
color: import("@sinclair/typebox").TString;
|
|
23
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
24
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
25
|
-
}> | import("@sinclair/typebox").TObject<{
|
|
26
|
-
color: import("@sinclair/typebox").TString;
|
|
27
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
28
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
29
|
-
rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
30
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
|
|
31
|
-
}>;
|
|
32
|
-
image: import("@sinclair/typebox").TObject<{
|
|
33
|
-
src: import("@sinclair/typebox").TString;
|
|
34
|
-
alt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
35
|
-
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-none">, import("@sinclair/typebox").TLiteral<"object-contain">, import("@sinclair/typebox").TLiteral<"object-cover">, import("@sinclair/typebox").TLiteral<"object-fill">, import("@sinclair/typebox").TLiteral<"object-scale-down">]>>;
|
|
36
|
-
position: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"object-top">, import("@sinclair/typebox").TLiteral<"object-center">, import("@sinclair/typebox").TLiteral<"object-bottom">, import("@sinclair/typebox").TLiteral<"object-left">, import("@sinclair/typebox").TLiteral<"object-right">, import("@sinclair/typebox").TLiteral<"object-left-top">, import("@sinclair/typebox").TLiteral<"object-right-top">, import("@sinclair/typebox").TLiteral<"object-left-bottom">, import("@sinclair/typebox").TLiteral<"object-right-bottom">]>>;
|
|
37
|
-
}>;
|
|
38
|
-
padding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>;
|
|
39
|
-
layout: import("@sinclair/typebox").TObject<{
|
|
40
|
-
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex">, import("@sinclair/typebox").TLiteral<"grid">]>;
|
|
41
|
-
gap: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>;
|
|
42
|
-
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-row">, import("@sinclair/typebox").TLiteral<"flex-col">]>>;
|
|
43
|
-
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
44
|
-
wrap: import("@sinclair/typebox").TBoolean;
|
|
45
|
-
fillSpace: import("@sinclair/typebox").TBoolean;
|
|
46
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"justify-start">, import("@sinclair/typebox").TLiteral<"justify-center">, import("@sinclair/typebox").TLiteral<"justify-end">, import("@sinclair/typebox").TLiteral<"justify-between">, import("@sinclair/typebox").TLiteral<"justify-around">, import("@sinclair/typebox").TLiteral<"justify-evenly">, import("@sinclair/typebox").TLiteral<"justify-stretch">]>>;
|
|
47
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
48
|
-
}> | import("@sinclair/typebox").TObject<{
|
|
49
|
-
type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex">, import("@sinclair/typebox").TLiteral<"grid">]>;
|
|
50
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
51
|
-
direction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"flex-row">, import("@sinclair/typebox").TLiteral<"flex-col">]>>;
|
|
52
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"justify-start">, import("@sinclair/typebox").TLiteral<"justify-center">, import("@sinclair/typebox").TLiteral<"justify-end">, import("@sinclair/typebox").TLiteral<"justify-between">, import("@sinclair/typebox").TLiteral<"justify-around">, import("@sinclair/typebox").TLiteral<"justify-evenly">, import("@sinclair/typebox").TLiteral<"justify-stretch">]>>;
|
|
53
|
-
columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
54
|
-
gap: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"gap-0">, import("@sinclair/typebox").TLiteral<"gap-1">, import("@sinclair/typebox").TLiteral<"gap-2">, import("@sinclair/typebox").TLiteral<"gap-4">, import("@sinclair/typebox").TLiteral<"gap-8">, import("@sinclair/typebox").TLiteral<"gap-16">]>;
|
|
55
|
-
wrap: import("@sinclair/typebox").TBoolean;
|
|
56
|
-
fillSpace: import("@sinclair/typebox").TBoolean;
|
|
57
|
-
}>;
|
|
58
|
-
}>;
|
|
59
|
-
//# sourceMappingURL=_docs-common-styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_docs-common-styles.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/_docs-common-styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjC,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{c as f}from"../../chunk-AZ63RF3K.js";import{a as i}from"../../chunk-XGCBIXOO.js";import{d as e}from"../../chunk-SO5M7CYA.js";import{a as m}from"../../chunk-IWSVY2VC.js";import{a as c}from"../../chunk-U44NTSIO.js";import{a as o,b as r}from"../../chunk-P5FVZ5PL.js";import{b as t}from"../../chunk-LDOM2LJF.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";import{Type as p}from"@sinclair/typebox";var k=p.Object({effects:e(),background:o(),backgroundColor:r(),color:t(),border:m(),image:i(),padding:c(),layout:f()});export{k as commonStyleForDocsOnly};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container.test.d.ts","sourceRoot":"","sources":["../../../../../src/shared/bricks/props/tests/container.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{Type as t}from"@sinclair/typebox";import{Type as e}from"@sinclair/typebox";var i=e.Object({accessToken:e.String({description:"Airtable Personal Token or OAuth Access Token"}),baseId:e.String({pattern:"^app[A-Za-z0-9]+$",description:'Airtable Base ID starting with "app"'}),tableIdOrName:e.Union([e.String({pattern:"^tbl[A-Za-z0-9]+$",description:'Airtable Table ID starting with "tbl"'}),e.String({description:"Table name as shown in Airtable interface"})])});import{Type as r}from"@sinclair/typebox";var a=r.Object({spreadsheetId:r.String(),sheetName:r.Optional(r.String())});import{Type as o}from"@sinclair/typebox";var n=o.Object({url:o.String({format:"uri",title:"Webhook URL"}),headers:o.Optional(o.Record(o.String(),o.String(),{title:"Headers",description:"Additional headers to include in the webhook request"}))});var f=t.Union([t.Literal("airtable"),t.Literal("google-sheets"),t.Literal("generic-webhook"),t.Literal("internal")]),p=t.Union([t.Object({provider:t.Literal("airtable"),options:i}),t.Object({provider:t.Literal("google-sheets"),options:a}),t.Object({provider:t.Literal("generic-webhook"),options:n}),t.Object({provider:t.Literal("internal"),options:t.Any(),schema:t.Union([t.Array(t.Object({},{additionalProperties:!0})),t.Object({},{additionalProperties:!0})])})]),s=t.Composite([p,t.Object({label:t.String({title:"Name of the datarecord",comment:"For example, 'Newsletter Subscriptions'"}),description:t.Optional(t.String({title:"Description of the datarecord"}))})]),x=t.Record(t.String(),s,{title:"Datarecords map",description:"The map of Datarecords available"});export{f as a,x as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as i}from"./chunk-WPTVLIYS.js";import{d as e}from"./chunk-BMDB2V7J.js";import{RxVideo as o}from"react-icons/rx";var n=i({type:"video",kind:"brick",name:"Video",description:"Youtube video",repeatable:!0,icon:o,props:e({})});export{n as a};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{b as e}from"./chunk-BMDB2V7J.js";import{Type as t}from"@sinclair/typebox";function r(){return e({title:"Database",description:"Reference to a data source",$id:"#datasource",schema:t.Object({isDynamic:t.Optional(t.Boolean({title:"Use dynamic content",description:"Content can be managed in two ways: Static or Dynamic. Static content is set in the editor. Dynamic content is fetched from a database and can be managed through our CMS.",default:!1,"ui:field":"dynamic-content-switch","ui:inspector-tab":"content","ui:order":0,"ui:group:order":0,"ui:group":"content","ui:group:title":"Dynamic / Static Mode"})),useExistingDatasource:t.Optional(t.Boolean({title:"Use Existing data source",default:!1})),datasource:t.Optional(t.Object({id:t.String({title:"Data Source ID"}),mapping:t.Record(t.String(),t.String(),{description:"Mapping of data source fields to brick props"}),filters:t.Optional(t.Record(t.String(),t.Object({op:t.Union([t.Literal("eq"),t.Literal("ne"),t.Literal("lt"),t.Literal("lte"),t.Literal("gt"),t.Literal("gte"),t.Literal("in"),t.Literal("nin"),t.Literal("contains"),t.Literal("startsWith"),t.Literal("endsWith")]),value:t.String()}),{description:"Filter data source records"})),sort:t.Optional(t.Record(t.String(),t.Union([t.Literal("asc",{title:"Ascending"}),t.Literal("desc",{title:"Descending"})]),{description:"Sort data source records"})),limit:t.Optional(t.Number({description:"Limit the number of records to fetch"})),offset:t.Optional(t.Number({description:"Offset the records to fetch"}))},{"ui:field":"datasource-ref","ui:inspector-tab":"content"}))})})}export{r as a};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as p}from"./chunk-ZWQHIQEQ.js";import{a as u}from"./chunk-P5FVZ5PL.js";import{Type as t}from"@sinclair/typebox";import{Value as c}from"@sinclair/typebox/value";function y(e){for(let i in e)if(i.startsWith("$"))throw new Error(`Attribute names starting with '$' (like "${i}") are reserved for internal use. Please rename it.`);return t.Object(e)}function S(e){return t.Composite([e,s])}var o={string(e,i="",r){return t.String({title:e,default:i,...r})},number(e,i=0,r){return t.Number({title:e,default:i,...r})},boolean(e,i=!1,r){let n={"ui:field":"switch"};return t.Boolean({title:e,default:i,...n,...r})},enum(e,i,r){let n={"ui:field":"enum","ui:display":r.displayAs||"select"},{options:l,displayAs:g,...d}=r;return t.Union(l.map(a=>t.Literal(typeof a=="string"?a:a.value,{title:typeof a=="string"?a:a.title,"ui:icon":typeof a=="string"?void 0:a.icon})),{title:e,default:i,...n,...d})},file(e,i="",r={}){return t.String({title:e,default:i,...r,format:"data-url"})},url(e,i="",r={}){return t.String({title:e,default:i,...r,format:"uri"})},color(e,i="",r){let n={"ui:field":"color"};return t.String({title:e,default:i,...n,...r})},date(e,i=new Date,r={}){return t.String({title:e,default:i.toISOString(),...r,format:"date"})},datetime(e,i=new Date,r={}){return t.String({title:e,default:i.toISOString(),...r,format:"date-time"})},geolocation(e,i,r={}){return t.Object({lat:t.Number({minimum:-90,maximum:90}),lng:t.Number({minimum:-180,maximum:180}),name:t.Optional(t.String({title:"Name"}))},{title:e,default:i,...r})}},m={$pageLanguage:o.enum("Language","en",{options:[{value:"ar",title:"Arabic"},{value:"zh",title:"Chinese"},{value:"cs",title:"Czech"},{value:"nl",title:"Dutch"},{value:"en",title:"English"},{value:"fr",title:"French"},{value:"de",title:"German"},{value:"he",title:"Hebrew"},{value:"hi",title:"Hindi"},{value:"it",title:"Italian"},{value:"ja",title:"Japanese"},{value:"ko",title:"Korean"},{value:"fa",title:"Persian"},{value:"pl",title:"Polish"},{value:"pt",title:"Portuguese"},{value:"ru",title:"Russian"},{value:"es",title:"Spanish"},{value:"tr",title:"Turkish"},{value:"vi",title:"Vietnamese"}],"ai:guidelines":"Choose a value based on the site description. If the site is in multiple languages, use 'en'.","ui:group":"meta","ui:group:title":"Meta tags"}),$pageOgImage:t.Optional(o.string("Social share image","",{description:"Image shown when page is shared on social media","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"meta"})),$robotsIndexing:t.Optional(o.boolean("Allow search engines to index this site",!0,{description:"Disabling this will prevent search engines from indexing this site","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"seo","ui:group:title":"SEO","ui:scope":"site"})),$siteOgImage:t.Optional(o.string("Social share image","",{description:"Image shown when this site is shared on social media","ai:guidelines":"Don't generate this image, it is automatically generated.","ui:field":"image","ui:group":"meta","ui:group:title":"Meta tags","ui:scope":"site"})),$pagePath:o.string("Page path","/",{description:"The URL path of the page","ui:group":"location","ui:group:title":"Location"}),$pageTitle:o.string("Title","Untitled",{"ui:group":"meta","ui:group:title":"Meta tags",description:"The title of the page. Appears in the browser tab and search results"}),$pageDescription:o.string("Description","",{"ui:widget":"textarea","ui:group":"meta","ui:group:title":"Meta tags",description:"A short description of the page. Used by search engines"}),$pageKeywords:o.string("Keywords","",{"ui:group":"meta","ui:group:title":"Meta tags",description:"Keywords related to the page. Used by search engines"}),$pageLastUpdated:t.Optional(o.datetime("Last updated",void 0,{"ui:hidden":!0,"ai:guidelines":"Don't generate this property."})),$bodyBackground:t.Optional(t.Composite([u()],{default:{color:"#ffffff"},title:"Body Background",description:"Applies to the body element of the page (while $pageBackground applies to the page container)","ui:field":"background","ui:show-img-search":!0,"ui:group":"layout","ui:group:title":"Page Layout","ui:group:order":3})),$pageBackground:t.Optional(t.Composite([u(),t.Object({},{title:"Page Background"})],{default:{color:"#ffffff"},title:"Page Background","ui:field":"background","ui:show-img-search":!0,"ui:group":"background","ui:group:title":"Page Background","ui:group:order":4})),$textColor:o.color("Text color","#222222",{"ui:field":"color","ui:group":"layout","ui:group:title":"Page Layout","ui:color-type":"text"}),$siteHeadTags:t.Optional(t.String({title:"Head tags",description:"Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.","ai:guidelines":"Don't include meta tags here, they are automatically generated.","ui:multiline":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"})),$siteBodyTags:t.Optional(t.String({title:"Body tags",description:"Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.","ui:multiline":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"}))},s=t.Object(m,{additionalProperties:!0}),A=t.Pick(s,["$textColor","$bodyBackground","$pageBackground"]),v=t.Pick(s,["$pageTitle","$pageDescription","$pageKeywords","$pageLanguage","$pagePath","$textColor","$bodyBackground","$pageBackground"]);function $(e,i={}){let r=p.compile(e);if(!r(i))throw console.log("invalid custom attributes values",i,r.errors),new Error(`Invalid custom attributes values: ${r.errors}`);return{...c.Create(s),...i}}export{y as a,S as b,o as c,s as d,A as e,v as f,$ as g};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{d as n}from"./chunk-SO5M7CYA.js";import{a as r}from"./chunk-IWSVY2VC.js";import{a as p}from"./chunk-U44NTSIO.js";import{b as o}from"./chunk-P5FVZ5PL.js";import{b as i,c as m}from"./chunk-LDOM2LJF.js";import{a as e}from"./chunk-WPTVLIYS.js";import{d as t}from"./chunk-BMDB2V7J.js";import{RxTextAlignLeft as f}from"react-icons/rx";var g=e({type:"text",kind:"brick",name:"Text",description:"Text with formatting options",minHeight:{desktop:2,mobile:2},minWidth:{desktop:2,mobile:2},defaultHeight:{desktop:7,mobile:7},defaultWidth:{desktop:6,mobile:6},repeatable:!0,icon:f,props:t({content:m(),backgroundColor:o(),color:i(),padding:p("p-2"),border:r(),effects:n({enableTextShadow:!0})})});export{g as a};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as O,b as u,c as e}from"./chunk-YY6DANZF.js";import{Type as t}from"@sinclair/typebox";import{Type as a}from"@sinclair/typebox";import{Type as c}from"@sinclair/typebox";var o=c.Object({refreshInterval:c.Optional(c.Number())});var f=a.Composite([o,a.Object({channelId:a.String(),order:a.Optional(a.String()),maxResults:a.Optional(a.Number()),regionCode:a.Optional(a.String()),relevanceLanguage:a.Optional(a.String())})]);import{Type as s}from"@sinclair/typebox";var n=s.Composite([o,s.Object({limit:s.Optional(s.Number())})]);import{Type as l}from"@sinclair/typebox";var p=l.Composite([o,l.Object({username:l.String()})]);import{Type as i}from"@sinclair/typebox";var m=i.Composite([o,i.Object({url:i.String({format:"uri"}),headers:i.Optional(i.Record(i.String(),i.String()))})]);import{Type as d}from"@sinclair/typebox";var h=d.Composite([o,d.Object({url:d.String({format:"uri"})})]);import{Type as r}from"@sinclair/typebox";var y=r.Composite([o,r.Object({maxCount:r.Optional(r.Number()),refreshInterval:r.Optional(r.Number())})]);var _=t.Union([t.Literal("facebook-posts"),t.Literal("instagram-feed"),t.Literal("mastodon-account"),t.Literal("mastodon-status"),t.Literal("mastodon-status-list"),t.Literal("rss"),t.Literal("threads-media"),t.Literal("tiktok-video"),t.Literal("youtube-list"),t.Literal("json-array"),t.Literal("json-object"),t.Literal("internal-blog"),t.Literal("internal-changelog"),t.Literal("internal-contact-info"),t.Literal("internal-faq"),t.Literal("internal-links"),t.Literal("internal-recipes"),t.Literal("internal-restaurant"),t.Literal("internal-cv")]),b=t.Union([t.Object({provider:t.Literal("youtube-list"),options:f,schema:t.Optional(e["youtube-list"])}),t.Object({provider:t.Literal("facebook-posts"),options:n,schema:t.Optional(e["facebook-posts"])}),t.Object({provider:t.Literal("instagram-feed"),options:n,schema:t.Optional(e["instagram-feed"])}),t.Object({provider:t.Literal("threads-media"),options:n,schema:t.Optional(e["threads-media"])}),t.Object({provider:t.Literal("mastodon-account"),options:p,schema:t.Optional(e["mastodon-account"])}),t.Object({provider:t.Literal("mastodon-status"),options:p,schema:t.Optional(e["mastodon-status"])}),t.Object({provider:t.Literal("mastodon-status-list"),options:p,schema:t.Optional(e["mastodon-status-list"])}),t.Object({provider:t.Literal("rss"),options:h,schema:t.Optional(e.rss)}),t.Object({provider:t.Literal("tiktok-video"),options:y,schema:t.Optional(e["tiktok-video"])}),t.Object({provider:t.Literal("internal-blog"),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Optional(e["internal-blog"])}),t.Object({provider:t.Literal("internal-changelog"),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Optional(e["internal-changelog"])}),t.Object({provider:t.Literal("internal-contact-info"),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Optional(e["internal-contact-info"])}),t.Object({provider:t.Literal("internal-faq"),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Optional(e["internal-faq"])}),t.Object({provider:t.Literal("internal-links"),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Optional(e["internal-links"])}),t.Object({provider:t.Literal("internal-recipes"),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Optional(e["internal-recipes"])}),t.Object({provider:t.Literal("internal-restaurant"),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Optional(e["internal-restaurant"])}),t.Object({provider:t.Literal("internal-cv"),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Optional(e["internal-cv"])})]),S=t.Composite([b,t.Object({name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),sampleData:t.Optional(t.Any()),ttlMinutes:t.Optional(t.Number({title:"Time to live",description:"Time to live in minutes. If set to -1, it never expires and has to be manually refreshed. If set to 0, the datasource is always fetched live. If > 0, then the datasource is feteched every N minutes."})),refresh:t.Optional(t.Object({method:t.Union([t.Literal("interval"),t.Literal("manual"),t.Literal("live")]),interval:t.Optional(t.Number())},{title:"Refresh options",description:"Options to refresh the datasource"}))})]),v=t.Object({provider:t.Literal("custom",{title:"Custom",description:"Custom datasource saved locally in Upstart."}),options:t.Optional(t.Object({},{additionalProperties:!0})),schema:t.Array(t.Object({},{additionalProperties:!0})),name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),sampleData:t.Optional(t.Any({title:"Sample data",description:"Sample data for the datasource. Should match the declared schema."}))}),j=t.Object({provider:t.Literal("json-object",{title:"JSON Object",description:"JSON object datasource."}),options:m,schema:O,name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),sampleData:t.Optional(t.Any({title:"Sample data",description:"Sample data for the datasource. Should match the declared schema."}))}),L=t.Object({provider:t.Literal("json-array",{title:"JSON Array",description:"JSON array datasource."}),options:m,schema:u,name:t.String({title:"Name of the datasource",comment:"For example, 'My data'"}),description:t.Optional(t.String({title:"Description of the datasource"})),sampleData:t.Optional(t.Any({title:"Sample data",description:"Sample data for the datasource. Should match the declared schema."}))}),$=t.Record(t.String(),t.Union([v,j,L,S]),{title:"Datasources map",description:"The map of datasources available in the system"});export{_ as a,$ as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a,b as r,e as o,g as s,h as p}from"./chunk-BMDB2V7J.js";import{Type as t}from"@sinclair/typebox";function y(l={}){let{title:e="Layout",defaultValue:i={direction:"flex-row",gap:"gap-1",wrap:"flex-wrap",justifyContent:"justify-stretch",alignItems:"items-stretch"}}=l;return r({$id:"#styles:flex",title:e,schema:t.Object({direction:t.Optional(t.Union([t.Literal("flex-row",{title:"Row"}),t.Literal("flex-col",{title:"Column"})],{title:"Direction",description:"The direction of the container"})),gap:t.Optional(t.Union([t.Literal("gap-0",{title:"None"}),t.Literal("gap-1",{title:"S"}),t.Literal("gap-2",{title:"M"}),t.Literal("gap-4",{title:"L"}),t.Literal("gap-8",{title:"XL"}),t.Literal("gap-16",{title:"2XL"})],{default:i,description:"Space between items","ui:field":"enum"})),wrap:t.Optional(t.Union([t.Literal("flex-wrap",{title:"Wrap"}),t.Literal("flex-nowrap",{title:"No wrap"})],{title:"Wrap",description:"Wrap items"})),justifyContent:t.Optional(t.Union([t.Literal("justify-start",{title:"Start"}),t.Literal("justify-center",{title:"Center"}),t.Literal("justify-end",{title:"End"}),t.Literal("justify-between",{title:"Space between"}),t.Literal("justify-around",{title:"Space around"}),t.Literal("justify-evenly",{title:"Evenly distributed"}),t.Literal("justify-stretch",{title:"Stretch"})],{title:"Justify",default:"justify-stretch"})),alignItems:t.Optional(t.Union([t.Literal("items-start",{title:"Start"}),t.Literal("items-center",{title:"Center"}),t.Literal("items-end",{title:"End"}),t.Literal("items-stretch",{title:"Stretch"})],{title:"Alignment",default:"items-stretch"}))},{"ui:field":"flex","ui:responsive":!0,default:{direction:i.direction,gap:i.gap,wrap:i.wrap,justifyContent:i.justifyContent,alignItems:i.alignItems}})})}function m(l={}){let{title:e="Layout",defaultValue:i={gap:"gap-1",columns:2}}=l;return r({$id:"#styles:grid",title:e,schema:t.Object({columns:t.Number({title:"Columns",description:"Number of columns","ui:group":"grid","ui:field":"slider",default:2,minimum:1,maximum:12}),gap:t.Optional(t.Union([t.Literal("gap-0",{title:"None"}),t.Literal("gap-1",{title:"S"}),t.Literal("gap-2",{title:"M"}),t.Literal("gap-4",{title:"L"}),t.Literal("gap-8",{title:"XL"}),t.Literal("gap-16",{title:"2XL"})],{default:i,description:"Space between items","ui:field":"enum"}))},{"ui:field":"grid","ui:responsive":!0,default:i})})}var n=(l,e)=>{let i=s(l);return p(i,e,"#styles:containerLayout")?.type==="flex"},u=(l,e)=>!n(l,e);function g({title:l="Layout",defaults:e={}}={}){return a({title:l,options:{$id:"#styles:containerLayout"},children:t.Object({type:t.Union([t.Literal("flex",{title:"Flex"}),t.Literal("grid",{title:"Grid"})],{title:"Layout type",default:e?.type??"flex",description:"Type of the container. Flex layout arranges items in a one-dimensional line. Grid layout arranges items in a two-dimensional grid","ui:field":"enum","ui:responsive":!0}),gap:t.Union([t.Literal("gap-0",{title:"None"}),t.Literal("gap-1",{title:"Small"}),t.Literal("gap-2",{title:"Medium"}),t.Literal("gap-4",{title:"Large"}),t.Literal("gap-8",{title:"XL"}),t.Literal("gap-16",{title:"2XL"})],{title:"Gap",description:"Space between items","ui:field":"enum",default:e?.gap??"gap-2"}),direction:t.Optional(t.Union([t.Literal("flex-row",{title:"Row"}),t.Literal("flex-col",{title:"Column"})],{title:"Direction",description:"The direction of the container. Only applies to flex layout",default:e?.direction??"flex-row",metadata:{filter:n}})),columns:o(t.Number({title:"Columns",description:"Number of columns. Only applies to grid layout.","ui:field":"slider",default:e?.columns?.default??2,minimum:1,maximum:e?.columns?.max??12,metadata:{filter:u}})),wrap:t.Boolean({title:"Wrap",description:"Wrap items. Only applies to flex layout.",default:e?.wrap??!0,metadata:{filter:n}}),fillSpace:t.Boolean({title:"Fill space",description:"Makes items of the container fill the available space. Only applies to flex layout.",default:e?.fillSpace??!0,metadata:{filter:n}}),justifyContent:t.Optional(t.Union([t.Literal("justify-start",{title:"Start"}),t.Literal("justify-center",{title:"Center"}),t.Literal("justify-end",{title:"End"}),t.Literal("justify-between",{title:"Space between"}),t.Literal("justify-around",{title:"Space around"}),t.Literal("justify-evenly",{title:"Evenly distributed"}),t.Literal("justify-stretch",{title:"Stretch"})],{title:"Justify",default:e?.justifyContent??"justify-stretch",description:"Justify content along the main axis (horizontal for row, vertical for column). Only applies to flex layout",metadata:{filter:n}})),alignItems:t.Optional(t.Union([t.Literal("items-start",{title:"Start"}),t.Literal("items-center",{title:"Center"}),t.Literal("items-end",{title:"End"}),t.Literal("items-stretch",{title:"Stretch"})],{title:"Alignment",default:e?.alignItems??"items-stretch",description:"Align items along the cross axis (vertical for row, horizontal for column). Only applies to flex layout",metadata:{filter:n}}))},{default:{type:e?.type??"flex",gap:e?.gap??"gap-1",direction:e?.direction??"flex-row",columns:e?.columns?.default??2,wrap:e?.wrap??"flex-wrap",justifyContent:e?.justifyContent??"justify-stretch",alignItems:e?.alignItems??"items-stretch"}})})}function L(){return{$childrenType:t.Optional(t.String({$id:"#container:childrenType",title:"Dynamic child brick type",description:"Type of the child bricks that will be created when container is dynamic.","ui:field":"brick-type",metadata:{category:"content"}})),$children:t.Array(t.Any(),{$id:"#container:childrenBricks","ui:field":"hidden",description:"List of nested bricks",default:[]})}}export{y as a,m as b,g as c,L as d};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as s}from"./chunk-WJ5CDDXW.js";import{c as o}from"./chunk-4NCCSLBW.js";import{b as n}from"./chunk-PU2FOOTY.js";import{a as p}from"./chunk-P5FVZ5PL.js";import{Type as e}from"@sinclair/typebox";import{customAlphabet as f}from"nanoid";import{merge as a}from"lodash-es";var d=f("1234567890azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),l=e.Object({x:e.Number({title:"X",description:"The column start (0-based) in grid units, not pixels."}),y:e.Number({title:"Y",description:"The row start (0-based) in grid units, not pixels."}),w:e.Number({title:"Width",description:"The width in columns in grid units, not pixels."}),h:e.Number({title:"Height",description:"The height in rows in grid units, not pixels."}),manualHeight:e.Optional(e.Number({description:"Do not use this field. It is used internally by the editor."})),hidden:e.Optional(e.Boolean({description:"Do not use this field. It is used internally by the editor."}))},{$id:"brick-position"}),c=e.Object({x:e.Union([e.Number(),e.Literal("half"),e.Literal("third"),e.Literal("twoThird"),e.Literal("quarter"),e.Literal("threeQuarter")],{title:"X",description:"The column start (0-based) in grid units, not pixels. Can use aliases like 'half' to represent half of the grid."}),y:e.Number({title:"Y",description:"The row start (0-based) in grid units, not pixels."}),w:e.Union([e.Number(),e.Literal("full"),e.Literal("half"),e.Literal("third"),e.Literal("twoThird"),e.Literal("quarter"),e.Literal("threeQuarter")],{title:"Width",description:"The width in columns in grid units, not pixels. Can use aliases like 'half' to represent half of the grid."}),h:e.Union([e.Number({title:"Height",description:"The height in rows in grid units, not pixels."})]),hidden:e.Optional(e.Boolean({description:"Do not use this field. It is used internally by the editor."}))}),u=e.Object({id:e.String({title:"ID",description:"A unique identifier for the brick."}),type:e.String({title:"Type"}),props:e.Record(e.String(),e.Unknown()),mobileProps:e.Record(e.String(),e.Unknown()),parentId:e.Optional(e.String()),sectionId:e.String(),$children:e.Optional(e.Array(e.Ref("brick"))),position:e.Object({mobile:l,desktop:l},{title:"Position",description:"The position of the brick in the layout."})},{$id:"brick"}),T=e.Composite([e.Pick(u,["type","props","sectionId","parentId","$children"]),e.Object({id:e.Optional(e.String()),mobileProps:e.Optional(u.properties.props),position:e.Object({mobile:c,desktop:c})})]),h=e.Object({background:e.Optional(p()),width:e.Optional(o.enum("Width","max-w-full",{options:[{value:"max-w-screen-lg",title:"Medium",description:"Common for text-heavy content/blog posts"},{value:"max-w-screen-xl",title:"Large",description:"Usefull or some landing pages"},{value:"max-w-screen-2xl",title:"Extra large",description:"Common width"},{value:"max-w-full",title:"Full width",description:"Takes the entire space"}],description:"The maximum width of the page. Desktop only",displayAs:"select","ui:group":"layout","ui:group:order":3,"ui:group:title":"Layout"})),$paddingHorizontal:e.Optional(o.number("Horizontal spacing",0,{min:0,description:"Horizontal spacing. Desktop only",displayAs:"button-group"})),lastTouched:e.Optional(e.Number({description:"Do not use this field. It is used internally by the editor.","ui:field":"hidden"}))},{additionalProperties:!0}),b=e.Object({id:e.String(),kind:e.Literal("section"),label:e.Optional(e.String()),position:e.Object({mobile:e.Object({h:e.Optional(e.Union([e.Number(),e.Literal("full")]))}),desktop:e.Object({h:e.Union([e.Number(),e.Literal("full")])})}),order:e.Number({description:"Determines section order in the page (lower numbers appear first)"}),props:h,mobileProps:e.Optional(e.Partial(h))},{$id:"section"}),D=e.Omit(b,["kind"]);function m(t,i,r=s){return{x:t.x==="quarter"?r[i]/4:t.x==="threeQuarter"?r[i]*.75:t.x==="half"?r[i]/2:t.x==="third"?r[i]/3:t.x==="twoThird"?r[i]*2/3:t.x,y:t.y,w:t.w==="full"?r[i]:t.w==="half"?r[i]/2:t.w==="third"?r[i]/3:t.w==="quarter"?r[i]/4:t.w==="twoThird"?r[i]*2/3:t.w==="threeQuarter"?r[i]*3/4:t.w,h:t.h,hidden:t.hidden}}function I(t){return t.map(i=>({...i,props:i.props??{},kind:"section"}))}function N(t){return t.map(x)}function y(){return{desktop:{w:0,h:0,x:0,y:0},mobile:{w:0,h:0,x:0,y:0}}}function x(t){let i=t.id??`brick-${d()}`;return{id:i,...t,props:{...a({},n[t.type].props,t.props),..."$children"in t.props?{$children:t.props.$children.map(r=>({...r,id:r.id??`brick-${d()}`,parentId:i,sectionId:t.sectionId,position:{mobile:{},desktop:{}},props:a({},n[r.type].props,r.props)}))}:{}},mobileProps:t.mobileProps??{},position:t.position?{mobile:m(t.position.mobile,"mobile"),desktop:m(t.position.desktop,"desktop")}:y()}}export{d as a,u as b,T as c,b as d,D as e,I as f,N as g,y as h,x as i};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as o}from"./chunk-WPTVLIYS.js";import{d as i}from"./chunk-BMDB2V7J.js";import{TiSocialFlickr as e}from"react-icons/ti";var r=o({type:"social-links",kind:"widget",name:"Social links",description:"A list of social media links",icon:e,props:i({})});export{r as a};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as i}from"./chunk-PSSJMWGU.js";import{Type as n}from"@sinclair/typebox";import{get as s}from"lodash-es";function u(t){return t.type==="object"}function T({title:t,children:e,category:r="settings",metadata:o,options:p}){return u(e)?n.Composite([n.Object({}),e],{title:t,metadata:{category:r,group:!0,...o},...p}):n.Object(e,{title:t,...p,metadata:{category:r,group:!0,...o}})}function d({title:t,schema:e,description:r,$id:o}){return e.title=t,r&&(e.description=r),o&&(e.$id=o),e}function g(t){let e=t.metadata;return{title:t.title??t.metadata?.title,meta:e,tab:e.groupTab||"common"}}function m(t){let e={...i,...t};return n.Object(e)}var l=n.Optional,x=n.Array;function a(t,e="",r={}){if(t.type==="object")for(let o in t.properties){let p=t.properties[o];p.$id?.startsWith("#styles:")&&(r[`${e}${o}`]=p.$id),a(p,`${e}${o}.`,r)}else t.type==="array"&&a(t.items,`${e}[].`,r);return r}function b(t,e,r){for(let[o,p]of Object.entries(t))if(p===r)return s(e,o)}export{T as a,d as b,g as c,m as d,l as e,x as f,a as g,b as h};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as i}from"./chunk-WPTVLIYS.js";import{d as e}from"./chunk-BMDB2V7J.js";import{LiaMapMarkedAltSolid as t}from"react-icons/lia";var n=i({type:"map",kind:"widget",name:"Map",description:"A map element with a location",icon:t,props:e({})});export{n as a};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{c as m,d as f}from"./chunk-AZ63RF3K.js";import{a as d}from"./chunk-4K5NN4CN.js";import{d as p}from"./chunk-SO5M7CYA.js";import{a}from"./chunk-IWSVY2VC.js";import{a as n}from"./chunk-U44NTSIO.js";import{a as e}from"./chunk-P5FVZ5PL.js";import{a as i}from"./chunk-WPTVLIYS.js";import{a as r,d as t,e as o}from"./chunk-BMDB2V7J.js";import{Type as c}from"@sinclair/typebox";import{RxGrid as s}from"react-icons/rx";var l=c.Array(c.Object({},{additionalProperties:!0})),M=i({type:"container",kind:"brick",name:"Container",description:"A container that can hold other bricks and align them horizontally or vertically",isContainer:!0,defaultHeight:{desktop:6,mobile:6},defaultWidth:{desktop:12,mobile:12},datasource:l,icon:s,props:t({layout:m(),background:o(e()),border:o(a()),padding:o(n()),effects:o(p()),datasource:r({title:"Data",children:{ds:d()}}),...f()})});export{l as a,M as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as o}from"./chunk-U44NTSIO.js";import{b as r}from"./chunk-P5FVZ5PL.js";import{c as e}from"./chunk-LDOM2LJF.js";import{a}from"./chunk-WPTVLIYS.js";import{a as t,d as i}from"./chunk-BMDB2V7J.js";import{BsCardText as n}from"react-icons/bs";var g=a({type:"card",name:"Card",description:"A multi-purpose card that can have a title, subtitle, image, and content",repeatable:!0,icon:n,props:i({cardTitle:t({title:"Title",children:{content:e(),padding:o(),backgroundColor:r()}}),cardImage:t({title:"Image",children:{image:e()}}),cardBody:t({title:"Body",children:{content:e(),padding:o(),backgroundColor:r()}})})});export{g as a};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as t}from"./chunk-WPTVLIYS.js";import{d as o}from"./chunk-BMDB2V7J.js";import{PiConfetti as i}from"react-icons/pi";var p=t({type:"icon",name:"Icon",kind:"brick",description:"An icon with optional text",repeatable:!0,icon:i,props:o({})});export{p as a};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{Type as e}from"@sinclair/typebox";var l=[{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"}],t=e.Object({type:e.Union([e.Literal("stack"),e.Literal("theme"),e.Literal("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",default:{type:"stack",family:"system-ui"}}),a=e.Object({type:e.Union([e.Literal("stack"),e.Literal("theme"),e.Literal("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",default:{type:"stack",family:"system-ui"}}),o=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.Optional(e.String({title:"Description",description:"The description of the theme"})),tags:e.Optional(e.Array(e.String({title:"Tag"}),{title:"Tags",description:"The tags of the theme"})),colors:e.Object({primary:e.String({title:"Primary color",description:"The brand's primary color"}),secondary:e.String({title:"Secondary color",description:"The brand's second most used color"}),accent:e.String({title:"Accent color",description:"The brand's least used color"}),neutral:e.String({title:"Neutral color",description:"The base neutral color"})},{title:"Theme base colors",description:"The base colors of the theme. Each theme must declare all these colors"}),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",default:16}),heading:t,body:a,alternatives:e.Optional(e.Array(e.Object({body:a,heading:t}),{title:"Alternative fonts",description:"Alternative fonts that can be suggested to the user. Takes the same shape"}))})},{$id:"Theme"}),n=e.Array(o);export{l as a,o as b,n as c};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as r}from"./chunk-BMDB2V7J.js";import{Type as e}from"@sinclair/typebox";function n({title:i="Border",defaultValue:t={style:"border-solid",width:"border-0",sides:[],rounding:"rounded-auto"}}={}){return r({title:i,options:{$id:"#styles:border",default:t},children:{rounding:e.Union([e.Literal("rounded-auto",{title:"Auto"}),e.Literal("rounded-none",{title:"None"}),e.Literal("rounded-sm",{title:"Small"}),e.Literal("rounded-md",{title:"Medium"}),e.Literal("rounded-lg",{title:"Large"}),e.Literal("rounded-xl",{title:"Extra large"}),e.Literal("rounded-2xl",{title:"2xl"}),e.Literal("rounded-3xl",{title:"3xl"}),e.Literal("rounded-full",{title:"Full"})],{title:"Corner rounding",default:t.rounding,"ui:field":"enum","ui:display":"select"}),width:e.Union([e.Literal("border-0",{title:"None"}),e.Literal("border",{title:"S"}),e.Literal("border-2",{title:"M"}),e.Literal("border-4",{title:"L"}),e.Literal("border-8",{title:"XL"})],{default:t.width,title:"Width","ui:field":"enum"}),color:e.String({default:t?.color,title:"Color",description:"Can be set to transparent, hex/rgb/rgba color, or even classes like `border-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 50 and 900","ui:field":"color","ui:color-type":"border"}),sides:e.Optional(e.Array(e.Union([e.Literal("border-l",{title:"Left"}),e.Literal("border-t",{title:"Top"}),e.Literal("border-r",{title:"Right"}),e.Literal("border-b",{title:"Bottom"})]),{default:t.sides,title:"Sides",description:"The specific sides where to apply the border. Can contain border-(l|t|r|b). Not specifying sides will apply the border to all sides.","ui:field":"border-side"})),style:e.Union([e.Literal("border-solid",{title:"Solid"}),e.Literal("border-dashed",{title:"Dashed"}),e.Literal("border-dotted",{title:"Dotted"})],{default:t.style,title:"Style",description:"The brick border style","ui:field":"enum","ui:display":"button-group"})}})}export{n as a};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{b as o}from"./chunk-BMDB2V7J.js";import{Type as t}from"@sinclair/typebox";function s(i="flowing",e="Position"){return o({title:e,$id:"#styles:position",schema:t.Union([t.Literal("flowing",{title:"Flowing"}),t.Literal("fixed",{title:"Fixed"}),t.Literal("sticky",{title:"Sticky"})],{default:i})})}function r(i=!1,e="Fixed position"){return o({title:e,$id:"#styles:fixedPositioned",schema:t.Boolean({default:i})})}export{s as a,r as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as o}from"./chunk-WPTVLIYS.js";import{d as e}from"./chunk-BMDB2V7J.js";import{FaWpforms as r}from"react-icons/fa6";var n=o({type:"form",kind:"widget",name:"Form",description:"A form element",isContainer:!0,icon:r,props:e({})});export{n as a};
|