@upstart.gg/sdk 0.0.138 → 0.0.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/shared/ai/schemas.d.ts +20 -15
- package/dist/shared/ai/schemas.d.ts.map +1 -1
- package/dist/shared/ai/schemas.js +31 -57
- package/dist/shared/ai/schemas.js.map +1 -1
- package/dist/shared/ai/types.d.ts +193 -190
- package/dist/shared/ai/types.d.ts.map +1 -1
- package/dist/shared/ai/types.js +1 -3
- package/dist/shared/analytics/init.d.ts +4 -1
- package/dist/shared/analytics/init.d.ts.map +1 -1
- package/dist/shared/analytics/init.js +14 -20
- package/dist/shared/analytics/init.js.map +1 -1
- package/dist/shared/analytics/track.d.ts +6 -2
- package/dist/shared/analytics/track.d.ts.map +1 -1
- package/dist/shared/analytics/track.js +14 -24
- package/dist/shared/analytics/track.js.map +1 -1
- package/dist/shared/analytics/types.d.ts +10 -8
- package/dist/shared/analytics/types.d.ts.map +1 -1
- package/dist/shared/analytics/types.js +1 -3
- package/dist/shared/attributes.d.ts +488 -483
- package/dist/shared/attributes.d.ts.map +1 -1
- package/dist/shared/attributes.js +369 -45
- package/dist/shared/attributes.js.map +1 -1
- package/dist/shared/brick-manifest.d.ts +126 -108
- package/dist/shared/brick-manifest.d.ts.map +1 -1
- package/dist/shared/brick-manifest.js +36 -12
- package/dist/shared/brick-manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/_types.d.ts +11 -7
- package/dist/shared/bricks/manifests/_types.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/_types.js +1 -3
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts +83 -76
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.js +389 -24
- package/dist/shared/bricks/manifests/accordion.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/all-manifests.d.ts +15 -10
- package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +128 -61
- package/dist/shared/bricks/manifests/all-manifests.js.map +1 -1
- package/dist/shared/bricks/manifests/all-props.d.ts +1510 -1505
- package/dist/shared/bricks/manifests/all-props.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/all-props.js +167 -241
- package/dist/shared/bricks/manifests/all-props.js.map +1 -1
- package/dist/shared/bricks/manifests/box.manifest.d.ts +87 -80
- package/dist/shared/bricks/manifests/box.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/box.manifest.js +548 -27
- package/dist/shared/bricks/manifests/box.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/button.manifest.d.ts +75 -68
- package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/button.manifest.js +308 -23
- package/dist/shared/bricks/manifests/button.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/card.manifest.d.ts +96 -89
- package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/card.manifest.js +392 -28
- package/dist/shared/bricks/manifests/card.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +86 -79
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +775 -26
- package/dist/shared/bricks/manifests/carousel.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +117 -110
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +864 -25
- package/dist/shared/bricks/manifests/footer.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.d.ts +94 -87
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.js +324 -25
- package/dist/shared/bricks/manifests/form.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +80 -73
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +202 -24
- package/dist/shared/bricks/manifests/hero.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/html.manifest.d.ts +68 -61
- package/dist/shared/bricks/manifests/html.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/html.manifest.js +95 -18
- package/dist/shared/bricks/manifests/html.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +74 -67
- package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.js +239 -24
- package/dist/shared/bricks/manifests/icon.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/image.manifest.d.ts +97 -90
- package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/image.manifest.js +456 -27
- package/dist/shared/bricks/manifests/image.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +93 -86
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +598 -25
- package/dist/shared/bricks/manifests/images-gallery.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/map.manifest.d.ts +78 -71
- package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/map.manifest.js +138 -23
- package/dist/shared/bricks/manifests/map.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts +117 -110
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/navbar.manifest.js +370 -28
- package/dist/shared/bricks/manifests/navbar.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +94 -87
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.js +69 -24
- package/dist/shared/bricks/manifests/sidebar.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +84 -77
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js +465 -24
- package/dist/shared/bricks/manifests/social-links.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/spacer.manifest.d.ts +65 -58
- package/dist/shared/bricks/manifests/spacer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/spacer.manifest.js +39 -18
- package/dist/shared/bricks/manifests/spacer.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/table.manifest.d.ts +93 -86
- package/dist/shared/bricks/manifests/table.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/table.manifest.js +771 -25
- package/dist/shared/bricks/manifests/table.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/tabs.manifest.d.ts +91 -84
- package/dist/shared/bricks/manifests/tabs.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/tabs.manifest.js +119 -25
- package/dist/shared/bricks/manifests/tabs.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +97 -90
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.js +223 -28
- package/dist/shared/bricks/manifests/testimonials.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/text.manifest.d.ts +76 -69
- package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/text.manifest.js +199 -23
- package/dist/shared/bricks/manifests/text.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts +102 -95
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/timeline.manifest.js +401 -25
- package/dist/shared/bricks/manifests/timeline.manifest.js.map +1 -1
- package/dist/shared/bricks/manifests/video.manifest.d.ts +74 -67
- package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/video.manifest.js +97 -21
- package/dist/shared/bricks/manifests/video.manifest.js.map +1 -1
- package/dist/shared/bricks/props/align.d.ts +12 -7
- package/dist/shared/bricks/props/align.d.ts.map +1 -1
- package/dist/shared/bricks/props/align.js +74 -13
- package/dist/shared/bricks/props/align.js.map +1 -1
- package/dist/shared/bricks/props/background.d.ts +21 -17
- package/dist/shared/bricks/props/background.d.ts.map +1 -1
- package/dist/shared/bricks/props/background.js +63 -11
- package/dist/shared/bricks/props/background.js.map +1 -1
- package/dist/shared/bricks/props/boolean.d.ts +6 -2
- package/dist/shared/bricks/props/boolean.d.ts.map +1 -1
- package/dist/shared/bricks/props/boolean.js +12 -8
- package/dist/shared/bricks/props/boolean.js.map +1 -1
- package/dist/shared/bricks/props/border.d.ts +12 -7
- package/dist/shared/bricks/props/border.d.ts.map +1 -1
- package/dist/shared/bricks/props/border.js +85 -12
- package/dist/shared/bricks/props/border.js.map +1 -1
- package/dist/shared/bricks/props/color-preset.d.ts +331 -327
- package/dist/shared/bricks/props/color-preset.d.ts.map +1 -1
- package/dist/shared/bricks/props/color-preset.js +378 -10
- package/dist/shared/bricks/props/color-preset.js.map +1 -1
- package/dist/shared/bricks/props/color.d.ts +10 -5
- package/dist/shared/bricks/props/color.d.ts.map +1 -1
- package/dist/shared/bricks/props/color.js +27 -10
- package/dist/shared/bricks/props/color.js.map +1 -1
- package/dist/shared/bricks/props/common.d.ts +32 -28
- package/dist/shared/bricks/props/common.d.ts.map +1 -1
- package/dist/shared/bricks/props/common.js +42 -13
- package/dist/shared/bricks/props/common.js.map +1 -1
- package/dist/shared/bricks/props/css-length.d.ts +10 -5
- package/dist/shared/bricks/props/css-length.d.ts.map +1 -1
- package/dist/shared/bricks/props/css-length.js +39 -12
- package/dist/shared/bricks/props/css-length.js.map +1 -1
- package/dist/shared/bricks/props/datarecord.d.ts +8 -3
- package/dist/shared/bricks/props/datarecord.d.ts.map +1 -1
- package/dist/shared/bricks/props/datarecord.js +12 -8
- package/dist/shared/bricks/props/datarecord.js.map +1 -1
- package/dist/shared/bricks/props/datasource.d.ts +18 -13
- package/dist/shared/bricks/props/datasource.d.ts.map +1 -1
- package/dist/shared/bricks/props/datasource.js +61 -84
- package/dist/shared/bricks/props/datasource.js.map +1 -1
- package/dist/shared/bricks/props/date.d.ts +8 -3
- package/dist/shared/bricks/props/date.d.ts.map +1 -1
- package/dist/shared/bricks/props/date.js +19 -23
- package/dist/shared/bricks/props/date.js.map +1 -1
- package/dist/shared/bricks/props/direction.d.ts +8 -3
- package/dist/shared/bricks/props/direction.d.ts.map +1 -1
- package/dist/shared/bricks/props/direction.js +16 -9
- package/dist/shared/bricks/props/direction.js.map +1 -1
- package/dist/shared/bricks/props/dynamic.d.ts +39 -34
- package/dist/shared/bricks/props/dynamic.d.ts.map +1 -1
- package/dist/shared/bricks/props/dynamic.js +92 -13
- package/dist/shared/bricks/props/dynamic.js.map +1 -1
- package/dist/shared/bricks/props/effects.d.ts +18 -11
- package/dist/shared/bricks/props/effects.d.ts.map +1 -1
- package/dist/shared/bricks/props/effects.js +81 -13
- package/dist/shared/bricks/props/effects.js.map +1 -1
- package/dist/shared/bricks/props/file.d.ts +6 -1
- package/dist/shared/bricks/props/file.d.ts.map +1 -1
- package/dist/shared/bricks/props/file.js +11 -14
- package/dist/shared/bricks/props/file.js.map +1 -1
- package/dist/shared/bricks/props/geolocation.d.ts +15 -10
- package/dist/shared/bricks/props/geolocation.d.ts.map +1 -1
- package/dist/shared/bricks/props/geolocation.js +28 -40
- package/dist/shared/bricks/props/geolocation.js.map +1 -1
- package/dist/shared/bricks/props/grow.d.ts +7 -2
- package/dist/shared/bricks/props/grow.d.ts.map +1 -1
- package/dist/shared/bricks/props/grow.js +14 -8
- package/dist/shared/bricks/props/grow.js.map +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +32 -24
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
- package/dist/shared/bricks/props/helpers.js +50 -19
- package/dist/shared/bricks/props/helpers.js.map +1 -1
- package/dist/shared/bricks/props/image.d.ts +15 -12
- package/dist/shared/bricks/props/image.d.ts.map +1 -1
- package/dist/shared/bricks/props/image.js +109 -9
- package/dist/shared/bricks/props/image.js.map +1 -1
- package/dist/shared/bricks/props/number.d.ts +8 -4
- package/dist/shared/bricks/props/number.d.ts.map +1 -1
- package/dist/shared/bricks/props/number.js +11 -8
- package/dist/shared/bricks/props/number.js.map +1 -1
- package/dist/shared/bricks/props/position.d.ts +8 -3
- package/dist/shared/bricks/props/position.d.ts.map +1 -1
- package/dist/shared/bricks/props/position.js +12 -8
- package/dist/shared/bricks/props/position.js.map +1 -1
- package/dist/shared/bricks/props/string.d.ts +13 -9
- package/dist/shared/bricks/props/string.d.ts.map +1 -1
- package/dist/shared/bricks/props/string.js +34 -12
- package/dist/shared/bricks/props/string.js.map +1 -1
- package/dist/shared/bricks/props/tags.d.ts +8 -3
- package/dist/shared/bricks/props/tags.d.ts.map +1 -1
- package/dist/shared/bricks/props/tags.js +16 -8
- package/dist/shared/bricks/props/tags.js.map +1 -1
- package/dist/shared/bricks/props/text.d.ts +22 -11
- package/dist/shared/bricks/props/text.d.ts.map +1 -1
- package/dist/shared/bricks/props/text.js +79 -13
- package/dist/shared/bricks/props/text.js.map +1 -1
- package/dist/shared/bricks/props/types.d.ts +52 -49
- package/dist/shared/bricks/props/types.d.ts.map +1 -1
- package/dist/shared/bricks/props/types.js +1 -3
- package/dist/shared/bricks.d.ts +183 -179
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +271 -78
- package/dist/shared/bricks.js.map +1 -1
- package/dist/shared/context.d.ts +405 -398
- package/dist/shared/context.d.ts.map +1 -1
- package/dist/shared/context.js +22 -93
- package/dist/shared/context.js.map +1 -1
- package/dist/shared/datarecords/external/airtable/handler.d.ts +40 -20
- package/dist/shared/datarecords/external/airtable/handler.d.ts.map +1 -1
- package/dist/shared/datarecords/external/airtable/handler.js +242 -366
- package/dist/shared/datarecords/external/airtable/handler.js.map +1 -1
- package/dist/shared/datarecords/external/airtable/oauth/config.d.ts +14 -9
- package/dist/shared/datarecords/external/airtable/oauth/config.d.ts.map +1 -1
- package/dist/shared/datarecords/external/airtable/oauth/config.js +12 -15
- package/dist/shared/datarecords/external/airtable/oauth/config.js.map +1 -1
- package/dist/shared/datarecords/external/airtable/types.d.ts +39 -35
- package/dist/shared/datarecords/external/airtable/types.d.ts.map +1 -1
- package/dist/shared/datarecords/external/airtable/types.js +44 -13
- package/dist/shared/datarecords/external/airtable/types.js.map +1 -1
- package/dist/shared/datarecords/external/generic-webhook/handler.d.ts +6 -2
- package/dist/shared/datarecords/external/generic-webhook/handler.d.ts.map +1 -1
- package/dist/shared/datarecords/external/generic-webhook/handler.js +9 -14
- package/dist/shared/datarecords/external/generic-webhook/handler.js.map +1 -1
- package/dist/shared/datarecords/external/generic-webhook/options.d.ts +10 -5
- package/dist/shared/datarecords/external/generic-webhook/options.d.ts.map +1 -1
- package/dist/shared/datarecords/external/generic-webhook/options.js +14 -16
- package/dist/shared/datarecords/external/generic-webhook/options.js.map +1 -1
- package/dist/shared/datarecords/external/google/oauth/config.d.ts +28 -24
- package/dist/shared/datarecords/external/google/oauth/config.d.ts.map +1 -1
- package/dist/shared/datarecords/external/google/oauth/config.js +25 -34
- package/dist/shared/datarecords/external/google/oauth/config.js.map +1 -1
- package/dist/shared/datarecords/external/google/sheets/client.d.ts +11 -9
- package/dist/shared/datarecords/external/google/sheets/client.d.ts.map +1 -1
- package/dist/shared/datarecords/external/google/sheets/client.js +75 -8
- package/dist/shared/datarecords/external/google/sheets/client.js.map +1 -1
- package/dist/shared/datarecords/external/google/sheets/handler.d.ts +36 -18
- package/dist/shared/datarecords/external/google/sheets/handler.d.ts.map +1 -1
- package/dist/shared/datarecords/external/google/sheets/handler.js +103 -176
- package/dist/shared/datarecords/external/google/sheets/handler.js.map +1 -1
- package/dist/shared/datarecords/external/google/sheets/types.d.ts +12 -7
- package/dist/shared/datarecords/external/google/sheets/types.d.ts.map +1 -1
- package/dist/shared/datarecords/external/google/sheets/types.js +11 -8
- package/dist/shared/datarecords/external/google/sheets/types.js.map +1 -1
- package/dist/shared/datarecords/external/notion/handler.d.ts +48 -26
- package/dist/shared/datarecords/external/notion/handler.d.ts.map +1 -1
- package/dist/shared/datarecords/external/notion/handler.js +233 -386
- package/dist/shared/datarecords/external/notion/handler.js.map +1 -1
- package/dist/shared/datarecords/external/notion/oauth/config.d.ts +10 -5
- package/dist/shared/datarecords/external/notion/oauth/config.d.ts.map +1 -1
- package/dist/shared/datarecords/external/notion/oauth/config.js +8 -11
- package/dist/shared/datarecords/external/notion/oauth/config.js.map +1 -1
- package/dist/shared/datarecords/external/notion/types.d.ts +20 -15
- package/dist/shared/datarecords/external/notion/types.d.ts.map +1 -1
- package/dist/shared/datarecords/external/notion/types.js +14 -8
- package/dist/shared/datarecords/external/notion/types.js.map +1 -1
- package/dist/shared/datarecords/types.d.ts +24 -19
- package/dist/shared/datarecords/types.d.ts.map +1 -1
- package/dist/shared/datarecords/types.js +144 -16
- package/dist/shared/datarecords/types.js.map +1 -1
- package/dist/shared/datarecords.d.ts +6 -2
- package/dist/shared/datarecords.d.ts.map +1 -1
- package/dist/shared/datarecords.js +5 -9
- package/dist/shared/datarecords.js.map +1 -1
- package/dist/shared/datasources/external/facebook/posts/fetcher.d.ts +8 -5
- package/dist/shared/datasources/external/facebook/posts/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/facebook/posts/fetcher.js +38 -48
- package/dist/shared/datasources/external/facebook/posts/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/facebook/posts/schema.d.ts +30 -25
- package/dist/shared/datasources/external/facebook/posts/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/facebook/posts/schema.js +29 -36
- package/dist/shared/datasources/external/facebook/posts/schema.js.map +1 -1
- package/dist/shared/datasources/external/http-json/fetcher.d.ts +7 -3
- package/dist/shared/datasources/external/http-json/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/http-json/fetcher.js +16 -28
- package/dist/shared/datasources/external/http-json/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/http-json/options.d.ts +10 -5
- package/dist/shared/datasources/external/http-json/options.d.ts.map +1 -1
- package/dist/shared/datasources/external/http-json/options.js +8 -11
- package/dist/shared/datasources/external/http-json/options.js.map +1 -1
- package/dist/shared/datasources/external/http-json/schema.d.ts +9 -4
- package/dist/shared/datasources/external/http-json/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/http-json/schema.js +6 -10
- package/dist/shared/datasources/external/http-json/schema.js.map +1 -1
- package/dist/shared/datasources/external/instagram/feed/fetcher.d.ts +8 -5
- package/dist/shared/datasources/external/instagram/feed/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/instagram/feed/fetcher.js +26 -28
- package/dist/shared/datasources/external/instagram/feed/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/instagram/feed/schema.d.ts +22 -17
- package/dist/shared/datasources/external/instagram/feed/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/instagram/feed/schema.js +26 -29
- package/dist/shared/datasources/external/instagram/feed/schema.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/account/fetcher.d.ts +7 -4
- package/dist/shared/datasources/external/mastodon/account/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/account/fetcher.js +10 -8
- package/dist/shared/datasources/external/mastodon/account/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/account/schema.d.ts +43 -38
- package/dist/shared/datasources/external/mastodon/account/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/account/schema.js +42 -8
- package/dist/shared/datasources/external/mastodon/account/schema.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/options.d.ts +9 -4
- package/dist/shared/datasources/external/mastodon/options.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/options.js +5 -10
- package/dist/shared/datasources/external/mastodon/options.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/fetcher.d.ts +7 -4
- package/dist/shared/datasources/external/mastodon/status/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/fetcher.js +20 -31
- package/dist/shared/datasources/external/mastodon/status/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/sample.array.d.ts +50 -47
- package/dist/shared/datasources/external/mastodon/status/sample.array.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/sample.array.js +54 -62
- package/dist/shared/datasources/external/mastodon/status/sample.array.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/sample.single.d.ts +50 -47
- package/dist/shared/datasources/external/mastodon/status/sample.single.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/sample.single.js +54 -60
- package/dist/shared/datasources/external/mastodon/status/sample.single.js.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/schema.d.ts +252 -247
- package/dist/shared/datasources/external/mastodon/status/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/mastodon/status/schema.js +108 -108
- package/dist/shared/datasources/external/mastodon/status/schema.js.map +1 -1
- package/dist/shared/datasources/external/meta/oauth/config.d.ts +29 -25
- package/dist/shared/datasources/external/meta/oauth/config.d.ts.map +1 -1
- package/dist/shared/datasources/external/meta/oauth/config.js +15 -20
- package/dist/shared/datasources/external/meta/oauth/config.js.map +1 -1
- package/dist/shared/datasources/external/meta/options.d.ts +9 -4
- package/dist/shared/datasources/external/meta/options.d.ts.map +1 -1
- package/dist/shared/datasources/external/meta/options.js +5 -10
- package/dist/shared/datasources/external/meta/options.js.map +1 -1
- package/dist/shared/datasources/external/rss/fetcher.d.ts +7 -4
- package/dist/shared/datasources/external/rss/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/rss/fetcher.js +14 -25
- package/dist/shared/datasources/external/rss/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/rss/options.d.ts +9 -4
- package/dist/shared/datasources/external/rss/options.d.ts.map +1 -1
- package/dist/shared/datasources/external/rss/options.js +5 -10
- package/dist/shared/datasources/external/rss/options.js.map +1 -1
- package/dist/shared/datasources/external/rss/sample.js +25 -0
- package/dist/shared/datasources/external/rss/sample.js.map +1 -0
- package/dist/shared/datasources/external/rss/schema.d.ts +13 -8
- package/dist/shared/datasources/external/rss/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/rss/schema.js +30 -8
- package/dist/shared/datasources/external/rss/schema.js.map +1 -1
- package/dist/shared/datasources/external/threads/media/fetcher.d.ts +9 -5
- package/dist/shared/datasources/external/threads/media/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/threads/media/fetcher.js +37 -46
- package/dist/shared/datasources/external/threads/media/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/threads/media/schema.d.ts +29 -24
- package/dist/shared/datasources/external/threads/media/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/threads/media/schema.js +32 -36
- package/dist/shared/datasources/external/threads/media/schema.js.map +1 -1
- package/dist/shared/datasources/external/tiktok/oauth/config.d.ts +31 -27
- package/dist/shared/datasources/external/tiktok/oauth/config.d.ts.map +1 -1
- package/dist/shared/datasources/external/tiktok/oauth/config.js +15 -18
- package/dist/shared/datasources/external/tiktok/oauth/config.js.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/fetcher.d.ts +8 -5
- package/dist/shared/datasources/external/tiktok/video/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/fetcher.js +31 -33
- package/dist/shared/datasources/external/tiktok/video/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/options.d.ts +10 -5
- package/dist/shared/datasources/external/tiktok/video/options.d.ts.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/options.js +8 -11
- package/dist/shared/datasources/external/tiktok/video/options.js.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/schema.d.ts +24 -19
- package/dist/shared/datasources/external/tiktok/video/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/tiktok/video/schema.js +23 -30
- package/dist/shared/datasources/external/tiktok/video/schema.js.map +1 -1
- package/dist/shared/datasources/external/youtube/list/fetcher.d.ts +8 -5
- package/dist/shared/datasources/external/youtube/list/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/external/youtube/list/fetcher.js +20 -31
- package/dist/shared/datasources/external/youtube/list/fetcher.js.map +1 -1
- package/dist/shared/datasources/external/youtube/list/options.d.ts +13 -8
- package/dist/shared/datasources/external/youtube/list/options.d.ts.map +1 -1
- package/dist/shared/datasources/external/youtube/list/options.js +11 -14
- package/dist/shared/datasources/external/youtube/list/options.js.map +1 -1
- package/dist/shared/datasources/external/youtube/list/sample.js +33 -0
- package/dist/shared/datasources/external/youtube/list/sample.js.map +1 -0
- package/dist/shared/datasources/external/youtube/list/schema.d.ts +33 -28
- package/dist/shared/datasources/external/youtube/list/schema.d.ts.map +1 -1
- package/dist/shared/datasources/external/youtube/list/schema.js +36 -8
- package/dist/shared/datasources/external/youtube/list/schema.js.map +1 -1
- package/dist/shared/datasources/external/youtube/oauth/config.d.ts +22 -18
- package/dist/shared/datasources/external/youtube/oauth/config.d.ts.map +1 -1
- package/dist/shared/datasources/external/youtube/oauth/config.js +15 -18
- package/dist/shared/datasources/external/youtube/oauth/config.js.map +1 -1
- package/dist/shared/datasources/fetcher.d.ts +10 -6
- package/dist/shared/datasources/fetcher.d.ts.map +1 -1
- package/dist/shared/datasources/fetcher.js +1 -3
- package/dist/shared/datasources/internal/blog/schema.d.ts +20 -15
- package/dist/shared/datasources/internal/blog/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/blog/schema.js +59 -75
- package/dist/shared/datasources/internal/blog/schema.js.map +1 -1
- package/dist/shared/datasources/internal/changelog/schema.d.ts +15 -10
- package/dist/shared/datasources/internal/changelog/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/changelog/schema.js +36 -51
- package/dist/shared/datasources/internal/changelog/schema.js.map +1 -1
- package/dist/shared/datasources/internal/contact-info/schema.d.ts +21 -16
- package/dist/shared/datasources/internal/contact-info/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/contact-info/schema.js +21 -25
- package/dist/shared/datasources/internal/contact-info/schema.js.map +1 -1
- package/dist/shared/datasources/internal/cv/schema.d.ts +71 -66
- package/dist/shared/datasources/internal/cv/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/cv/schema.js +155 -222
- package/dist/shared/datasources/internal/cv/schema.js.map +1 -1
- package/dist/shared/datasources/internal/faq/schema.d.ts +13 -8
- package/dist/shared/datasources/internal/faq/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/faq/schema.js +20 -30
- package/dist/shared/datasources/internal/faq/schema.js.map +1 -1
- package/dist/shared/datasources/internal/job-board/schema.d.ts +86 -81
- package/dist/shared/datasources/internal/job-board/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/job-board/schema.js +194 -224
- package/dist/shared/datasources/internal/job-board/schema.js.map +1 -1
- package/dist/shared/datasources/internal/links/schema.d.ts +12 -7
- package/dist/shared/datasources/internal/links/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/links/schema.js +20 -8
- package/dist/shared/datasources/internal/links/schema.js.map +1 -1
- package/dist/shared/datasources/internal/recipes/schema.d.ts +19 -14
- package/dist/shared/datasources/internal/recipes/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/recipes/schema.js +23 -45
- package/dist/shared/datasources/internal/recipes/schema.js.map +1 -1
- package/dist/shared/datasources/internal/restaurant/schema.d.ts +82 -77
- package/dist/shared/datasources/internal/restaurant/schema.d.ts.map +1 -1
- package/dist/shared/datasources/internal/restaurant/schema.js +154 -226
- package/dist/shared/datasources/internal/restaurant/schema.js.map +1 -1
- package/dist/shared/datasources/samples.d.ts +7 -3
- package/dist/shared/datasources/samples.d.ts.map +1 -1
- package/dist/shared/datasources/samples.js +9 -69
- package/dist/shared/datasources/samples.js.map +1 -1
- package/dist/shared/datasources/schemas.d.ts +43 -38
- package/dist/shared/datasources/schemas.d.ts.map +1 -1
- package/dist/shared/datasources/schemas.js +10 -34
- package/dist/shared/datasources/schemas.js.map +1 -1
- package/dist/shared/datasources/types.d.ts +142 -138
- package/dist/shared/datasources/types.d.ts.map +1 -1
- package/dist/shared/datasources/types.js +384 -20
- package/dist/shared/datasources/types.js.map +1 -1
- package/dist/shared/datasources/utils.d.ts +8 -4
- package/dist/shared/datasources/utils.d.ts.map +1 -1
- package/dist/shared/datasources/utils.js +15 -12
- package/dist/shared/datasources/utils.js.map +1 -1
- package/dist/shared/datasources.d.ts +22 -9
- package/dist/shared/datasources.d.ts.map +1 -1
- package/dist/shared/datasources.js +65 -44
- package/dist/shared/datasources.js.map +1 -1
- package/dist/shared/env.d.ts +25 -21
- package/dist/shared/env.d.ts.map +1 -1
- package/dist/shared/env.js +1 -3
- package/dist/shared/errors.d.ts +2 -2
- package/dist/shared/errors.js +2 -9
- package/dist/shared/images.d.ts +21 -16
- package/dist/shared/images.d.ts.map +1 -1
- package/dist/shared/images.js +24 -11
- package/dist/shared/images.js.map +1 -1
- package/dist/shared/index.d.ts +4 -2
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +4 -10
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/layout-constants.d.ts +8 -5
- package/dist/shared/layout-constants.d.ts.map +1 -1
- package/dist/shared/layout-constants.js +15 -15
- package/dist/shared/layout-constants.js.map +1 -1
- package/dist/shared/manifest.d.ts +17 -12
- package/dist/shared/manifest.d.ts.map +1 -1
- package/dist/shared/manifest.js +26 -52
- package/dist/shared/manifest.js.map +1 -1
- package/dist/shared/oauth.d.ts +14 -9
- package/dist/shared/oauth.d.ts.map +1 -1
- package/dist/shared/oauth.js +14 -9
- package/dist/shared/oauth.js.map +1 -1
- package/dist/shared/page.d.ts +250 -243
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +29 -62
- package/dist/shared/page.js.map +1 -1
- package/dist/shared/prompt.d.ts +8 -3
- package/dist/shared/prompt.d.ts.map +1 -1
- package/dist/shared/prompt.js +10 -8
- package/dist/shared/prompt.js.map +1 -1
- package/dist/shared/responsive.d.ts +8 -3
- package/dist/shared/responsive.d.ts.map +1 -1
- package/dist/shared/responsive.js +5 -10
- package/dist/shared/responsive.js.map +1 -1
- package/dist/shared/site.d.ts +629 -622
- package/dist/shared/site.d.ts.map +1 -1
- package/dist/shared/site.js +56 -70
- package/dist/shared/site.js.map +1 -1
- package/dist/shared/sitemap.d.ts +21 -14
- package/dist/shared/sitemap.d.ts.map +1 -1
- package/dist/shared/sitemap.js +29 -63
- package/dist/shared/sitemap.js.map +1 -1
- package/dist/shared/social-icons.d.ts +6 -3
- package/dist/shared/social-icons.d.ts.map +1 -1
- package/dist/shared/social-icons.js +309 -313
- package/dist/shared/social-icons.js.map +1 -1
- package/dist/shared/theme.d.ts +83 -78
- package/dist/shared/theme.d.ts.map +1 -1
- package/dist/shared/theme.js +261 -18
- package/dist/shared/theme.js.map +1 -1
- package/dist/shared/themes/color-system.d.ts +16 -12
- package/dist/shared/themes/color-system.d.ts.map +1 -1
- package/dist/shared/themes/color-system.js +81 -89
- package/dist/shared/themes/color-system.js.map +1 -1
- package/dist/shared/utils/canvas-data-uri.d.ts +4 -1
- package/dist/shared/utils/canvas-data-uri.d.ts.map +1 -1
- package/dist/shared/utils/canvas-data-uri.js +4 -8
- package/dist/shared/utils/canvas-data-uri.js.map +1 -1
- package/dist/shared/utils/invariant.d.ts +4 -1
- package/dist/shared/utils/invariant.d.ts.map +1 -1
- package/dist/shared/utils/invariant.js +10 -8
- package/dist/shared/utils/invariant.js.map +1 -1
- package/dist/shared/utils/json-date.d.ts +9 -4
- package/dist/shared/utils/json-date.d.ts.map +1 -1
- package/dist/shared/utils/json-date.js +6 -8
- package/dist/shared/utils/json-date.js.map +1 -1
- package/dist/shared/utils/llm.d.ts +7 -2
- package/dist/shared/utils/llm.d.ts.map +1 -1
- package/dist/shared/utils/llm.js +57 -8
- package/dist/shared/utils/llm.js.map +1 -1
- package/dist/shared/utils/merge.d.ts +4 -1
- package/dist/shared/utils/merge.d.ts.map +1 -1
- package/dist/shared/utils/merge.js +11 -8
- package/dist/shared/utils/merge.js.map +1 -1
- package/dist/shared/utils/object-hash.d.ts +4 -1
- package/dist/shared/utils/object-hash.d.ts.map +1 -1
- package/dist/shared/utils/object-hash.js +8 -13
- package/dist/shared/utils/object-hash.js.map +1 -1
- package/dist/shared/utils/schema.d.ts +13 -10
- package/dist/shared/utils/schema.d.ts.map +1 -1
- package/dist/shared/utils/schema.js +91 -14
- package/dist/shared/utils/schema.js.map +1 -1
- package/dist/shared/utils/string-enum.d.ts +13 -8
- package/dist/shared/utils/string-enum.d.ts.map +1 -1
- package/dist/shared/utils/string-enum.js +18 -8
- package/dist/shared/utils/string-enum.js.map +1 -1
- package/dist/shared/utils/try-catch.d.ts +4 -2
- package/dist/shared/utils/try-catch.d.ts.map +1 -1
- package/dist/shared/utils/try-catch.js +12 -13
- package/dist/shared/utils/try-catch.js.map +1 -1
- package/package.json +10 -20
- package/src/shared/ai/schemas.ts +5 -3
- package/src/shared/attributes.ts +10 -6
- package/src/shared/bricks/manifests/card.manifest.ts +2 -5
- package/src/shared/bricks/manifests/image.manifest.ts +1 -5
- package/src/shared/bricks/props/color.ts +3 -2
- package/src/shared/bricks/props/dynamic.ts +4 -1
- package/src/shared/bricks/props/image.ts +2 -3
- package/src/shared/bricks.ts +3 -2
- package/src/shared/datarecords/types.ts +41 -33
- package/src/shared/datasources/external/rss/fetcher.ts +0 -6
- package/src/shared/datasources.ts +13 -5
- package/src/shared/prompt.ts +1 -1
- package/src/shared/site.ts +2 -1
- package/src/shared/sitemap.ts +7 -0
- package/src/shared/utils/schema.ts +12 -43
- package/src/shared/utils/tests/schema.test.ts +53 -28
- package/dist/shared/ai/types.js.map +0 -1
- package/dist/shared/ajv.d.ts +0 -7
- package/dist/shared/ajv.d.ts.map +0 -1
- package/dist/shared/ajv.js +0 -6866
- package/dist/shared/ajv.js.map +0 -1
- package/dist/shared/analytics/types.js.map +0 -1
- package/dist/shared/bricks/manifests/_types.js.map +0 -1
- package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts +0 -2
- package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts.map +0 -1
- package/dist/shared/bricks/props/tests/background.test.d.ts +0 -2
- package/dist/shared/bricks/props/tests/background.test.d.ts.map +0 -1
- package/dist/shared/bricks/props/tests/border.test.d.ts +0 -2
- package/dist/shared/bricks/props/tests/border.test.d.ts.map +0 -1
- package/dist/shared/bricks/props/tests/effects.test.d.ts +0 -2
- package/dist/shared/bricks/props/tests/effects.test.d.ts.map +0 -1
- package/dist/shared/bricks/props/tests/helpers.test.d.ts +0 -2
- package/dist/shared/bricks/props/tests/helpers.test.d.ts.map +0 -1
- package/dist/shared/bricks/props/tests/image.test.d.ts +0 -2
- package/dist/shared/bricks/props/tests/image.test.d.ts.map +0 -1
- package/dist/shared/bricks/props/tests/string.test.d.ts +0 -2
- package/dist/shared/bricks/props/tests/string.test.d.ts.map +0 -1
- package/dist/shared/bricks/props/types.js.map +0 -1
- package/dist/shared/chunk-2BPYOTKA.js +0 -21
- package/dist/shared/chunk-2BPYOTKA.js.map +0 -1
- package/dist/shared/chunk-2EOCK66Z.js +0 -19
- package/dist/shared/chunk-2EOCK66Z.js.map +0 -1
- package/dist/shared/chunk-2U5U3CCJ.js +0 -90
- package/dist/shared/chunk-2U5U3CCJ.js.map +0 -1
- package/dist/shared/chunk-2UEPTT5J.js +0 -67
- package/dist/shared/chunk-2UEPTT5J.js.map +0 -1
- package/dist/shared/chunk-2Z5WOCFS.js +0 -126
- package/dist/shared/chunk-2Z5WOCFS.js.map +0 -1
- package/dist/shared/chunk-34IUWNRX.js +0 -346
- package/dist/shared/chunk-34IUWNRX.js.map +0 -1
- package/dist/shared/chunk-3ZDN5BWN.js +0 -18
- package/dist/shared/chunk-3ZDN5BWN.js.map +0 -1
- package/dist/shared/chunk-55C6MTX2.js +0 -21
- package/dist/shared/chunk-55C6MTX2.js.map +0 -1
- package/dist/shared/chunk-57NRTXRA.js +0 -309
- package/dist/shared/chunk-57NRTXRA.js.map +0 -1
- package/dist/shared/chunk-5HJT5NJ3.js +0 -422
- package/dist/shared/chunk-5HJT5NJ3.js.map +0 -1
- package/dist/shared/chunk-5J4Y43RM.js +0 -388
- package/dist/shared/chunk-5J4Y43RM.js.map +0 -1
- package/dist/shared/chunk-5OVOXUFX.js +0 -61
- package/dist/shared/chunk-5OVOXUFX.js.map +0 -1
- package/dist/shared/chunk-5RCC2STG.js +0 -58
- package/dist/shared/chunk-5RCC2STG.js.map +0 -1
- package/dist/shared/chunk-5SNSUC6Q.js +0 -364
- package/dist/shared/chunk-5SNSUC6Q.js.map +0 -1
- package/dist/shared/chunk-6TVVKUWM.js +0 -15
- package/dist/shared/chunk-6TVVKUWM.js.map +0 -1
- package/dist/shared/chunk-6WIMWLCJ.js +0 -17
- package/dist/shared/chunk-6WIMWLCJ.js.map +0 -1
- package/dist/shared/chunk-7LAWWRU7.js +0 -21
- package/dist/shared/chunk-7LAWWRU7.js.map +0 -1
- package/dist/shared/chunk-B5T2LFV2.js +0 -494
- package/dist/shared/chunk-B5T2LFV2.js.map +0 -1
- package/dist/shared/chunk-BHARJBEK.js +0 -27
- package/dist/shared/chunk-BHARJBEK.js.map +0 -1
- package/dist/shared/chunk-DCM4732T.js +0 -146
- package/dist/shared/chunk-DCM4732T.js.map +0 -1
- package/dist/shared/chunk-E3ZW57HF.js +0 -843
- package/dist/shared/chunk-E3ZW57HF.js.map +0 -1
- package/dist/shared/chunk-EID5HPF3.js +0 -63
- package/dist/shared/chunk-EID5HPF3.js.map +0 -1
- package/dist/shared/chunk-EMF5TCPX.js +0 -389
- package/dist/shared/chunk-EMF5TCPX.js.map +0 -1
- package/dist/shared/chunk-EUFVTHAG.js +0 -33
- package/dist/shared/chunk-EUFVTHAG.js.map +0 -1
- package/dist/shared/chunk-FC52EHCC.js +0 -104
- package/dist/shared/chunk-FC52EHCC.js.map +0 -1
- package/dist/shared/chunk-FD7YYFRI.js +0 -225
- package/dist/shared/chunk-FD7YYFRI.js.map +0 -1
- package/dist/shared/chunk-FVV27R73.js +0 -269
- package/dist/shared/chunk-FVV27R73.js.map +0 -1
- package/dist/shared/chunk-FYGFB5U5.js +0 -57
- package/dist/shared/chunk-FYGFB5U5.js.map +0 -1
- package/dist/shared/chunk-GDYCCB3B.js +0 -22
- package/dist/shared/chunk-GDYCCB3B.js.map +0 -1
- package/dist/shared/chunk-GLV6QIIM.js +0 -41
- package/dist/shared/chunk-GLV6QIIM.js.map +0 -1
- package/dist/shared/chunk-GNTJT7MR.js +0 -56
- package/dist/shared/chunk-GNTJT7MR.js.map +0 -1
- package/dist/shared/chunk-HHUFGV7J.js +0 -259
- package/dist/shared/chunk-HHUFGV7J.js.map +0 -1
- package/dist/shared/chunk-HPCCD6V5.js +0 -17
- package/dist/shared/chunk-HPCCD6V5.js.map +0 -1
- package/dist/shared/chunk-IEMCCHM4.js +0 -389
- package/dist/shared/chunk-IEMCCHM4.js.map +0 -1
- package/dist/shared/chunk-IMDOF55E.js +0 -137
- package/dist/shared/chunk-IMDOF55E.js.map +0 -1
- package/dist/shared/chunk-IPWYNE6Y.js +0 -213
- package/dist/shared/chunk-IPWYNE6Y.js.map +0 -1
- package/dist/shared/chunk-J6R3GSKS.js +0 -386
- package/dist/shared/chunk-J6R3GSKS.js.map +0 -1
- package/dist/shared/chunk-KNREHAPN.js +0 -13
- package/dist/shared/chunk-KNREHAPN.js.map +0 -1
- package/dist/shared/chunk-KRODRZNS.js +0 -440
- package/dist/shared/chunk-KRODRZNS.js.map +0 -1
- package/dist/shared/chunk-KT7SSWMM.js +0 -24
- package/dist/shared/chunk-KT7SSWMM.js.map +0 -1
- package/dist/shared/chunk-KTA7XES3.js +0 -168
- package/dist/shared/chunk-KTA7XES3.js.map +0 -1
- package/dist/shared/chunk-L4W4B2RQ.js +0 -174
- package/dist/shared/chunk-L4W4B2RQ.js.map +0 -1
- package/dist/shared/chunk-MO6CRLQA.js +0 -73
- package/dist/shared/chunk-MO6CRLQA.js.map +0 -1
- package/dist/shared/chunk-NTP6BKRU.js +0 -516
- package/dist/shared/chunk-NTP6BKRU.js.map +0 -1
- package/dist/shared/chunk-O53V22BK.js +0 -469
- package/dist/shared/chunk-O53V22BK.js.map +0 -1
- package/dist/shared/chunk-O5PQISX4.js +0 -51
- package/dist/shared/chunk-O5PQISX4.js.map +0 -1
- package/dist/shared/chunk-OJ6KL7FU.js +0 -32
- package/dist/shared/chunk-OJ6KL7FU.js.map +0 -1
- package/dist/shared/chunk-OJP4HMJT.js +0 -22
- package/dist/shared/chunk-OJP4HMJT.js.map +0 -1
- package/dist/shared/chunk-ORIUCOED.js +0 -129
- package/dist/shared/chunk-ORIUCOED.js.map +0 -1
- package/dist/shared/chunk-OSJ6KGPX.js +0 -16
- package/dist/shared/chunk-OSJ6KGPX.js.map +0 -1
- package/dist/shared/chunk-OXYXZHP2.js +0 -48
- package/dist/shared/chunk-OXYXZHP2.js.map +0 -1
- package/dist/shared/chunk-PFZMRSHJ.js +0 -616
- package/dist/shared/chunk-PFZMRSHJ.js.map +0 -1
- package/dist/shared/chunk-QHKOAIOK.js +0 -243
- package/dist/shared/chunk-QHKOAIOK.js.map +0 -1
- package/dist/shared/chunk-QLQVDZIL.js +0 -11
- package/dist/shared/chunk-QLQVDZIL.js.map +0 -1
- package/dist/shared/chunk-RDOCVLCF.js +0 -422
- package/dist/shared/chunk-RDOCVLCF.js.map +0 -1
- package/dist/shared/chunk-RFH7PEVS.js +0 -38
- package/dist/shared/chunk-RFH7PEVS.js.map +0 -1
- package/dist/shared/chunk-T3UPW5OW.js +0 -79
- package/dist/shared/chunk-T3UPW5OW.js.map +0 -1
- package/dist/shared/chunk-TGKNA2JS.js +0 -847
- package/dist/shared/chunk-TGKNA2JS.js.map +0 -1
- package/dist/shared/chunk-TKMWY2VN.js +0 -18
- package/dist/shared/chunk-TKMWY2VN.js.map +0 -1
- package/dist/shared/chunk-TZ6X7ZM5.js +0 -158
- package/dist/shared/chunk-TZ6X7ZM5.js.map +0 -1
- package/dist/shared/chunk-UC75KRLX.js +0 -67
- package/dist/shared/chunk-UC75KRLX.js.map +0 -1
- package/dist/shared/chunk-VMIJ6MG5.js +0 -368
- package/dist/shared/chunk-VMIJ6MG5.js.map +0 -1
- package/dist/shared/chunk-VYA2FCTY.js +0 -83
- package/dist/shared/chunk-VYA2FCTY.js.map +0 -1
- package/dist/shared/chunk-WPZV3LYL.js +0 -24
- package/dist/shared/chunk-WPZV3LYL.js.map +0 -1
- package/dist/shared/chunk-XCWMZVF5.js +0 -89
- package/dist/shared/chunk-XCWMZVF5.js.map +0 -1
- package/dist/shared/chunk-XCZVD5H6.js +0 -13
- package/dist/shared/chunk-XCZVD5H6.js.map +0 -1
- package/dist/shared/chunk-XFZQGRRL.js +0 -101
- package/dist/shared/chunk-XFZQGRRL.js.map +0 -1
- package/dist/shared/chunk-XYWSIMZ6.js +0 -59
- package/dist/shared/chunk-XYWSIMZ6.js.map +0 -1
- package/dist/shared/chunk-XZ6WJZHN.js +0 -10
- package/dist/shared/chunk-XZ6WJZHN.js.map +0 -1
- package/dist/shared/chunk-ZEFOWKYP.js +0 -44
- package/dist/shared/chunk-ZEFOWKYP.js.map +0 -1
- package/dist/shared/chunk-ZGQ3AQBG.js +0 -33
- package/dist/shared/chunk-ZGQ3AQBG.js.map +0 -1
- package/dist/shared/chunk-ZRBTAC3G.js +0 -53
- package/dist/shared/chunk-ZRBTAC3G.js.map +0 -1
- package/dist/shared/chunk-ZYQZUWF7.js +0 -537
- package/dist/shared/chunk-ZYQZUWF7.js.map +0 -1
- package/dist/shared/chunk-ZZVYD4BG.js +0 -41
- package/dist/shared/chunk-ZZVYD4BG.js.map +0 -1
- package/dist/shared/datasources/external/facebook/posts/sample.d.ts +0 -26
- package/dist/shared/datasources/external/facebook/posts/sample.d.ts.map +0 -1
- package/dist/shared/datasources/external/facebook/posts/tests/fetcher.test.d.ts +0 -2
- package/dist/shared/datasources/external/facebook/posts/tests/fetcher.test.d.ts.map +0 -1
- package/dist/shared/datasources/external/http-json/tests/fetcher.test.d.ts +0 -2
- package/dist/shared/datasources/external/http-json/tests/fetcher.test.d.ts.map +0 -1
- package/dist/shared/datasources/external/instagram/feed/sample.d.ts +0 -3
- package/dist/shared/datasources/external/instagram/feed/sample.d.ts.map +0 -1
- package/dist/shared/datasources/external/instagram/feed/tests/fetcher.test.d.ts +0 -2
- package/dist/shared/datasources/external/instagram/feed/tests/fetcher.test.d.ts.map +0 -1
- package/dist/shared/datasources/external/mastodon/account/sample.d.ts +0 -30
- package/dist/shared/datasources/external/mastodon/account/sample.d.ts.map +0 -1
- package/dist/shared/datasources/external/mastodon/account/tests/fetcher.test.d.ts +0 -2
- package/dist/shared/datasources/external/mastodon/account/tests/fetcher.test.d.ts.map +0 -1
- package/dist/shared/datasources/external/mastodon/status/tests/fetcher.test.d.ts +0 -2
- package/dist/shared/datasources/external/mastodon/status/tests/fetcher.test.d.ts.map +0 -1
- package/dist/shared/datasources/external/rss/sample.d.ts +0 -3
- package/dist/shared/datasources/external/rss/sample.d.ts.map +0 -1
- package/dist/shared/datasources/external/threads/media/sample.d.ts +0 -40
- package/dist/shared/datasources/external/threads/media/sample.d.ts.map +0 -1
- package/dist/shared/datasources/external/tiktok/video/sample.d.ts +0 -15
- package/dist/shared/datasources/external/tiktok/video/sample.d.ts.map +0 -1
- package/dist/shared/datasources/external/youtube/list/sample.d.ts +0 -29
- package/dist/shared/datasources/external/youtube/list/sample.d.ts.map +0 -1
- package/dist/shared/datasources/fetcher.js.map +0 -1
- package/dist/shared/env.js.map +0 -1
- package/dist/shared/errors.d.ts.map +0 -1
- package/dist/shared/errors.js.map +0 -1
- package/dist/shared/tests/attributes.test.d.ts +0 -2
- package/dist/shared/tests/attributes.test.d.ts.map +0 -1
- package/dist/shared/themes/tests/color-system.test.d.ts +0 -2
- package/dist/shared/themes/tests/color-system.test.d.ts.map +0 -1
- package/dist/shared/utils/tests/schema.test.d.ts +0 -2
- package/dist/shared/utils/tests/schema.test.d.ts.map +0 -1
- package/src/shared/ajv.ts +0 -123
|
@@ -1,92 +1,99 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
import { BrickCategory } from "../../brick-manifest.js";
|
|
2
|
+
import { BrickExample } from "./_types.js";
|
|
3
|
+
import * as _sinclair_typebox2334 from "@sinclair/typebox";
|
|
4
|
+
import * as react_icons_lib3 from "react-icons/lib";
|
|
5
|
+
|
|
6
|
+
//#region src/shared/bricks/manifests/card.manifest.d.ts
|
|
7
|
+
declare const manifest: {
|
|
8
|
+
readonly icon: react_icons_lib3.IconType;
|
|
9
|
+
readonly props: _sinclair_typebox2334.TObject<{
|
|
10
|
+
lastTouched: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TNumber>;
|
|
11
|
+
hidden: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TObject<{
|
|
12
|
+
desktop: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TBoolean>;
|
|
13
|
+
mobile: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TBoolean>;
|
|
14
|
+
}>>;
|
|
15
|
+
editable: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TBoolean>;
|
|
16
|
+
width: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TString>;
|
|
17
|
+
height: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TString>;
|
|
18
|
+
grow: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TBoolean>;
|
|
19
|
+
alignSelf: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch">>;
|
|
20
|
+
} & {
|
|
21
|
+
colorPreset: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TObject<{
|
|
22
|
+
color: _sinclair_typebox2334.TUnsafe<"primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200" | "none">;
|
|
23
|
+
gradientDirection: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
|
|
24
|
+
}>>;
|
|
25
|
+
cardImage: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TObject<{
|
|
26
|
+
src: _sinclair_typebox2334.TString;
|
|
27
|
+
alt: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TString>;
|
|
28
|
+
aspectRatio: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original">>;
|
|
29
|
+
fit: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down">>;
|
|
30
|
+
position: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right">>;
|
|
31
|
+
}>>;
|
|
32
|
+
imagePosition: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"bottom" | "top" | "middle">>;
|
|
33
|
+
noTitle: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TBoolean>;
|
|
34
|
+
title: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TString>;
|
|
35
|
+
text: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TString>;
|
|
36
|
+
rounding: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"rounded-md" | "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
|
|
37
|
+
border: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TObject<{
|
|
38
|
+
width: _sinclair_typebox2334.TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
|
|
39
|
+
color: _sinclair_typebox2334.TString;
|
|
40
|
+
}>>;
|
|
41
|
+
shadow: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>;
|
|
42
|
+
loop: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TObject<{
|
|
43
|
+
over: _sinclair_typebox2334.TString;
|
|
44
|
+
overrideLimit: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TNumber>;
|
|
45
|
+
}>>;
|
|
46
|
+
button: _sinclair_typebox2334.TObject<{
|
|
47
|
+
label: _sinclair_typebox2334.TString;
|
|
48
|
+
url: _sinclair_typebox2334.TUnion<[_sinclair_typebox2334.TString, _sinclair_typebox2334.TString]>;
|
|
49
|
+
color: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TUnsafe<"btn-neutral" | "btn-primary" | "btn-secondary" | "btn-accent">>;
|
|
47
50
|
}>;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
readonly
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
readonly
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
51
|
+
grow: _sinclair_typebox2334.TOptional<_sinclair_typebox2334.TBoolean>;
|
|
52
|
+
}>;
|
|
53
|
+
readonly category: BrickCategory;
|
|
54
|
+
readonly defaultInspectorTab: "preset" | "style" | "content";
|
|
55
|
+
readonly hideInLibrary: boolean;
|
|
56
|
+
readonly deletable: boolean;
|
|
57
|
+
readonly movable: boolean;
|
|
58
|
+
readonly resizable: boolean | "horizontal" | "vertical";
|
|
59
|
+
readonly duplicatable: boolean;
|
|
60
|
+
readonly isContainer: boolean;
|
|
61
|
+
readonly isGlobalBrick: boolean;
|
|
62
|
+
readonly defaultWidth: {
|
|
63
|
+
readonly mobile: string;
|
|
64
|
+
readonly desktop: string;
|
|
65
|
+
};
|
|
66
|
+
readonly defaultHeight: {
|
|
67
|
+
readonly mobile: string;
|
|
68
|
+
readonly desktop: string;
|
|
69
|
+
};
|
|
70
|
+
readonly type: string;
|
|
71
|
+
readonly name: string;
|
|
72
|
+
readonly iconClassName?: string;
|
|
73
|
+
readonly staticClasses?: string;
|
|
74
|
+
readonly description?: string;
|
|
75
|
+
readonly minWidth?: {
|
|
76
|
+
mobile?: number;
|
|
77
|
+
desktop?: number;
|
|
78
|
+
};
|
|
79
|
+
readonly maxWidth?: {
|
|
80
|
+
mobile?: number;
|
|
81
|
+
desktop?: number;
|
|
82
|
+
};
|
|
83
|
+
readonly minHeight?: {
|
|
84
|
+
mobile?: number;
|
|
85
|
+
desktop?: number;
|
|
86
|
+
};
|
|
87
|
+
readonly maxHeight?: {
|
|
88
|
+
mobile?: number;
|
|
89
|
+
desktop?: number;
|
|
90
|
+
};
|
|
91
|
+
readonly consumesMultipleQueryRows?: boolean;
|
|
92
|
+
readonly inlineDragDisabled?: boolean;
|
|
93
|
+
readonly aiInstructions?: string;
|
|
89
94
|
};
|
|
90
|
-
|
|
91
|
-
|
|
95
|
+
type Manifest = typeof manifest;
|
|
96
|
+
declare const examples: BrickExample<Manifest>[];
|
|
97
|
+
//#endregion
|
|
98
|
+
export { Manifest, examples, manifest };
|
|
92
99
|
//# sourceMappingURL=card.manifest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.manifest.d.ts","
|
|
1
|
+
{"version":3,"file":"card.manifest.d.ts","names":[],"sources":["../../../../src/shared/bricks/manifests/card.manifest.ts"],"sourcesContent":[],"mappings":";;;;;;cAea;iBA0GX,gBAAA,CAAA;;;;MA1GW,OA0GX,iCAAA,gCAAA;MAAA,MAAA,iCAAA,gCAAA;IAAA,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEU,CAAA;EAEC,SAAA,SA0OZ,CAAA,EAAA;IAAA,MAAA,CAAA,EAAA,MAAA;IA1OmC,OAAA,CAAA,EAAA,MAAA;;EAAD,SAAA,SAAA,CAAA,EAAA;;;;;;;;KAFvB,QAAA,UAAkB;cAEjB,UAAU,aAAa"}
|
|
@@ -1,30 +1,394 @@
|
|
|
1
|
-
|
|
1
|
+
import { StringEnum } from "../../utils/string-enum.js";
|
|
2
|
+
import { defineBrickManifest } from "../../brick-manifest.js";
|
|
3
|
+
import { grow } from "../props/grow.js";
|
|
4
|
+
import { defineProps } from "../props/helpers.js";
|
|
5
|
+
import { urlOrPageId } from "../props/string.js";
|
|
6
|
+
import { image } from "../props/image.js";
|
|
7
|
+
import { textContent } from "../props/text.js";
|
|
8
|
+
import { shadow } from "../props/effects.js";
|
|
9
|
+
import { colorPreset } from "../props/color-preset.js";
|
|
10
|
+
import { loop } from "../props/dynamic.js";
|
|
11
|
+
import { border, rounding } from "../props/border.js";
|
|
12
|
+
import { Type } from "@sinclair/typebox";
|
|
13
|
+
import { BsCardText } from "react-icons/bs";
|
|
2
14
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
15
|
+
//#region src/shared/bricks/manifests/card.manifest.ts
|
|
16
|
+
const manifest = defineBrickManifest({
|
|
17
|
+
type: "card",
|
|
18
|
+
name: "Card",
|
|
19
|
+
description: "A card that can have a title, image, content, and button.",
|
|
20
|
+
aiInstructions: `Use this brick to create visually distinct content blocks (product, feature, event, article, blog post, etc.).
|
|
21
|
+
|
|
22
|
+
Guidelines:
|
|
23
|
+
- Always provide a short button label (1-3 words) and pick a color matching semantic weight (primary/accent for primary actions, neutral/secondary for low emphasis).
|
|
24
|
+
- Set noTitle: true when the card is intentionally title-less (e.g. a quote card or pure media focus).
|
|
25
|
+
- Use dynamic tokens (e.g. {{products.price}}) instead of duplicating literal values.
|
|
26
|
+
- A good value for the "colorPreset" is base-100 for light mode and neutral-800 for dark mode.
|
|
27
|
+
- border + rounding + shadow should be cohesive: stronger borders pair well with larger rounding + moderate shadow; minimal / flat cards may use border-0 + no shadow.
|
|
28
|
+
- For internal navigation, always supply a page ID (e.g. 'about') instead of a full URL. Use placeholders like {{page.$slug}} for dynamic page links.
|
|
29
|
+
- Keep HTML inside text minimal (<strong>, <em>, <br>, <p>) — for richer structure consider multiple bricks instead.
|
|
30
|
+
- Avoid mixing noTitle with large heading text embedded inside the text field — in that case keep a proper title.`,
|
|
31
|
+
icon: BsCardText,
|
|
32
|
+
defaultWidth: {
|
|
33
|
+
desktop: "400px",
|
|
34
|
+
mobile: "100%"
|
|
35
|
+
},
|
|
36
|
+
minWidth: { desktop: 300 },
|
|
37
|
+
minHeight: {
|
|
38
|
+
mobile: 200,
|
|
39
|
+
desktop: 200
|
|
40
|
+
},
|
|
41
|
+
maxWidth: { desktop: 650 },
|
|
42
|
+
props: defineProps({
|
|
43
|
+
colorPreset: Type.Optional(colorPreset({ title: "Color preset" })),
|
|
44
|
+
cardImage: Type.Optional(image({
|
|
45
|
+
"ui:responsive": "desktop",
|
|
46
|
+
metadata: { category: "content" }
|
|
47
|
+
})),
|
|
48
|
+
imagePosition: Type.Optional(StringEnum([
|
|
49
|
+
"top",
|
|
50
|
+
"middle",
|
|
51
|
+
"bottom"
|
|
52
|
+
], {
|
|
53
|
+
enumNames: [
|
|
54
|
+
"Top",
|
|
55
|
+
"Middle",
|
|
56
|
+
"Bottom"
|
|
57
|
+
],
|
|
58
|
+
title: "Image Position",
|
|
59
|
+
description: "Where the image should be placed in the card",
|
|
60
|
+
"ui:responsive": "desktop",
|
|
61
|
+
metadata: {
|
|
62
|
+
category: "content",
|
|
63
|
+
filter: (manifestProps, formData) => {
|
|
64
|
+
return !!formData.cardImage?.src;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
})),
|
|
68
|
+
noTitle: Type.Optional(Type.Boolean({
|
|
69
|
+
title: "No Title",
|
|
70
|
+
description: "Whether to hide the card title",
|
|
71
|
+
"ui:responsive": "desktop"
|
|
72
|
+
})),
|
|
73
|
+
title: Type.Optional(textContent({ title: "Title" })),
|
|
74
|
+
text: Type.Optional(textContent({ title: "Text" })),
|
|
75
|
+
rounding: Type.Optional(rounding({ default: "rounded-md" })),
|
|
76
|
+
border: Type.Optional(border({})),
|
|
77
|
+
shadow: Type.Optional(shadow({ default: "shadow-sm" })),
|
|
78
|
+
loop: Type.Optional(loop()),
|
|
79
|
+
button: Type.Object({
|
|
80
|
+
label: Type.String({
|
|
81
|
+
title: "Button label",
|
|
82
|
+
default: "Click me",
|
|
83
|
+
examples: [
|
|
84
|
+
"Learn more",
|
|
85
|
+
"Buy now",
|
|
86
|
+
"Sign up"
|
|
87
|
+
],
|
|
88
|
+
metadata: { category: "content" }
|
|
89
|
+
}),
|
|
90
|
+
url: urlOrPageId({
|
|
91
|
+
title: "Button URL",
|
|
92
|
+
description: "The URL or page id the button should link to.",
|
|
93
|
+
metadata: { category: "content" }
|
|
94
|
+
}),
|
|
95
|
+
color: Type.Optional(StringEnum([
|
|
96
|
+
"btn-neutral",
|
|
97
|
+
"btn-primary",
|
|
98
|
+
"btn-secondary",
|
|
99
|
+
"btn-accent"
|
|
100
|
+
], {
|
|
101
|
+
enumNames: [
|
|
102
|
+
"Neutral",
|
|
103
|
+
"Primary",
|
|
104
|
+
"Secondary",
|
|
105
|
+
"Accent"
|
|
106
|
+
],
|
|
107
|
+
title: "Color",
|
|
108
|
+
default: "btn-primary"
|
|
109
|
+
}))
|
|
110
|
+
}, {
|
|
111
|
+
title: "Button",
|
|
112
|
+
description: "Button displayed at the bottom of the card"
|
|
113
|
+
}),
|
|
114
|
+
grow: Type.Optional(grow({ default: true }))
|
|
115
|
+
})
|
|
116
|
+
});
|
|
117
|
+
const examples = [
|
|
118
|
+
{
|
|
119
|
+
description: "A simple card with a title and content",
|
|
120
|
+
type: "card",
|
|
121
|
+
props: {
|
|
122
|
+
title: "Card Title",
|
|
123
|
+
text: "This is the body of the card.",
|
|
124
|
+
button: {
|
|
125
|
+
label: "Learn more",
|
|
126
|
+
url: "/learn-more",
|
|
127
|
+
color: "btn-primary"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
description: "Feature highlight card with centered image (imagePosition=middle)",
|
|
133
|
+
type: "card",
|
|
134
|
+
props: {
|
|
135
|
+
cardImage: {
|
|
136
|
+
src: "https://via.placeholder.com/420x240",
|
|
137
|
+
alt: "Feature visual"
|
|
138
|
+
},
|
|
139
|
+
imagePosition: "middle",
|
|
140
|
+
title: "Blazing Performance",
|
|
141
|
+
text: "Our new engine reduces processing time by 45% while maintaining reliability.",
|
|
142
|
+
colorPreset: { color: "primary-100" },
|
|
143
|
+
border: {
|
|
144
|
+
width: "border",
|
|
145
|
+
color: "border-primary-200"
|
|
146
|
+
},
|
|
147
|
+
rounding: "rounded-lg",
|
|
148
|
+
shadow: "shadow-sm",
|
|
149
|
+
button: {
|
|
150
|
+
label: "Learn More",
|
|
151
|
+
url: "/features/performance",
|
|
152
|
+
color: "btn-primary"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
description: "Case study card with image at the bottom (imagePosition=bottom)",
|
|
158
|
+
type: "card",
|
|
159
|
+
props: {
|
|
160
|
+
title: "Case Study: ScaleOps",
|
|
161
|
+
text: "How ScaleOps handled 10x growth with zero downtime using our platform.",
|
|
162
|
+
cardImage: {
|
|
163
|
+
src: "https://via.placeholder.com/600x260",
|
|
164
|
+
alt: "Scale graph"
|
|
165
|
+
},
|
|
166
|
+
imagePosition: "bottom",
|
|
167
|
+
colorPreset: { color: "secondary-50" },
|
|
168
|
+
rounding: "rounded-md",
|
|
169
|
+
shadow: "shadow-sm",
|
|
170
|
+
button: {
|
|
171
|
+
label: "Read Study",
|
|
172
|
+
url: "/cases/scaleops",
|
|
173
|
+
color: "btn-secondary"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
description: "Quote / testimonial style card without a title (uses noTitle=true)",
|
|
179
|
+
type: "card",
|
|
180
|
+
props: {
|
|
181
|
+
noTitle: true,
|
|
182
|
+
text: "\"This toolkit accelerated our launch by weeks — the component quality is outstanding.\"<br><em>— CTO, FinEdge</em>",
|
|
183
|
+
colorPreset: { color: "neutral-100" },
|
|
184
|
+
border: {
|
|
185
|
+
width: "border",
|
|
186
|
+
color: "border-neutral-300"
|
|
187
|
+
},
|
|
188
|
+
rounding: "rounded-xl",
|
|
189
|
+
shadow: "shadow-sm",
|
|
190
|
+
button: {
|
|
191
|
+
label: "See More",
|
|
192
|
+
url: "/testimonials",
|
|
193
|
+
color: "btn-neutral"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
description: "Internal navigation card using a page ID for the button URL (page id = 'about')",
|
|
199
|
+
type: "card",
|
|
200
|
+
props: {
|
|
201
|
+
title: "About Our Mission",
|
|
202
|
+
text: "Learn how we're building an open, extensible site generation platform for modern teams.",
|
|
203
|
+
colorPreset: { color: "base-100" },
|
|
204
|
+
rounding: "rounded-md",
|
|
205
|
+
button: {
|
|
206
|
+
label: "About Us",
|
|
207
|
+
url: "about",
|
|
208
|
+
color: "btn-primary"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
description: "High-emphasis promotional card using gradient background and thick border, linking to the page with id 'pricing-page'",
|
|
214
|
+
type: "card",
|
|
215
|
+
props: {
|
|
216
|
+
title: "Limited Time Offer",
|
|
217
|
+
text: "Upgrade now and receive a complimentary strategy session plus extended analytics access.",
|
|
218
|
+
colorPreset: {
|
|
219
|
+
color: "primary-gradient-400",
|
|
220
|
+
gradientDirection: "bg-gradient-to-tr"
|
|
221
|
+
},
|
|
222
|
+
border: {
|
|
223
|
+
width: "border-4",
|
|
224
|
+
color: "border-primary-400"
|
|
225
|
+
},
|
|
226
|
+
rounding: "rounded-xl",
|
|
227
|
+
shadow: "shadow-lg",
|
|
228
|
+
button: {
|
|
229
|
+
label: "Upgrade",
|
|
230
|
+
url: "pricing-page",
|
|
231
|
+
color: "btn-accent"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
description: "Minimal flat information card (border-0, no shadow) linking to the page with id 'status-page'",
|
|
237
|
+
type: "card",
|
|
238
|
+
props: {
|
|
239
|
+
title: "Maintenance Window",
|
|
240
|
+
text: "Scheduled maintenance on Saturday 02:00–03:00 UTC. API responses may be delayed.",
|
|
241
|
+
colorPreset: { color: "neutral-50" },
|
|
242
|
+
border: {
|
|
243
|
+
width: "border-0",
|
|
244
|
+
color: "border-neutral-200"
|
|
245
|
+
},
|
|
246
|
+
button: {
|
|
247
|
+
label: "Status Page",
|
|
248
|
+
url: "status-page",
|
|
249
|
+
color: "btn-neutral"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
description: "Feature card with large padding and background, linking to a dynamic product page",
|
|
255
|
+
type: "card",
|
|
256
|
+
props: {
|
|
257
|
+
title: "Key Feature",
|
|
258
|
+
text: "This feature provides exceptional value and enhances user experience significantly.",
|
|
259
|
+
colorPreset: { color: "primary-50" },
|
|
260
|
+
border: {
|
|
261
|
+
width: "border",
|
|
262
|
+
color: "border-primary-200"
|
|
263
|
+
},
|
|
264
|
+
rounding: "rounded-lg",
|
|
265
|
+
shadow: "shadow-sm",
|
|
266
|
+
button: {
|
|
267
|
+
label: "Discover More",
|
|
268
|
+
url: "/product/{{ product.$slug }}",
|
|
269
|
+
color: "btn-primary"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
description: "Blog post card with image at the bottom, linking to a dynamic blog post",
|
|
275
|
+
type: "card",
|
|
276
|
+
props: {
|
|
277
|
+
title: "Future of Tech",
|
|
278
|
+
text: "Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",
|
|
279
|
+
cardImage: {
|
|
280
|
+
src: "https://via.placeholder.com/400x200",
|
|
281
|
+
alt: "Technology concept"
|
|
282
|
+
},
|
|
283
|
+
button: {
|
|
284
|
+
label: "Read More",
|
|
285
|
+
url: "/blog/{{ blogPosts.$slug }}",
|
|
286
|
+
color: "btn-primary"
|
|
287
|
+
},
|
|
288
|
+
loop: { over: "blogPosts" }
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
description: "Dynamic product card using products query with pricing and details",
|
|
293
|
+
type: "card",
|
|
294
|
+
props: {
|
|
295
|
+
cardImage: {
|
|
296
|
+
src: "{{products.image}}",
|
|
297
|
+
alt: "{{products.name}}"
|
|
298
|
+
},
|
|
299
|
+
title: "{{products.name}}",
|
|
300
|
+
text: "{{products.description}}<br><strong>Price: ${{products.price}}</strong><br>Category: {{products.category}}",
|
|
301
|
+
colorPreset: { color: "primary-50" },
|
|
302
|
+
border: {
|
|
303
|
+
width: "border",
|
|
304
|
+
color: "border-primary-200"
|
|
305
|
+
},
|
|
306
|
+
rounding: "rounded-lg",
|
|
307
|
+
shadow: "shadow-md",
|
|
308
|
+
button: {
|
|
309
|
+
label: "Buy Now",
|
|
310
|
+
url: "{{products.purchaseUrl}}",
|
|
311
|
+
color: "btn-primary"
|
|
312
|
+
},
|
|
313
|
+
loop: { over: "products" }
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
description: "Employee profile card using teamMembers query with contact information",
|
|
318
|
+
type: "card",
|
|
319
|
+
props: {
|
|
320
|
+
cardImage: {
|
|
321
|
+
src: "{{teamMembers.photo}}",
|
|
322
|
+
alt: "Photo of {{teamMembers.fullName}}"
|
|
323
|
+
},
|
|
324
|
+
imagePosition: "top",
|
|
325
|
+
title: "{{teamMembers.fullName}}",
|
|
326
|
+
text: "<strong>{{teamMembers.position}}</strong><br>{{teamMembers.department}}<br>Email: {{teamMembers.email}}<br>Phone: {{teamMembers.phone}}",
|
|
327
|
+
colorPreset: { color: "neutral-100" },
|
|
328
|
+
rounding: "rounded-xl",
|
|
329
|
+
shadow: "shadow-lg",
|
|
330
|
+
button: {
|
|
331
|
+
label: "Contact",
|
|
332
|
+
url: "mailto:{{teamMembers.email}}",
|
|
333
|
+
color: "btn-neutral"
|
|
334
|
+
},
|
|
335
|
+
loop: { over: "teamMembers" }
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
description: "Blog post card using blogPosts query with author and date",
|
|
340
|
+
type: "card",
|
|
341
|
+
props: {
|
|
342
|
+
cardImage: {
|
|
343
|
+
src: "{{blogPosts.featuredImage}}",
|
|
344
|
+
alt: "{{blogPosts.title}}"
|
|
345
|
+
},
|
|
346
|
+
imagePosition: "top",
|
|
347
|
+
title: "{{blogPosts.title}}",
|
|
348
|
+
text: "{{blogPosts.excerpt}}<br><br><em>By {{blogPosts.author}} • {{blogPosts.publishDate}}</em><br>Tags: {{blogPosts.tags}}",
|
|
349
|
+
colorPreset: { color: "secondary-50" },
|
|
350
|
+
border: {
|
|
351
|
+
width: "border",
|
|
352
|
+
color: "border-secondary-300"
|
|
353
|
+
},
|
|
354
|
+
rounding: "rounded-md",
|
|
355
|
+
shadow: "shadow-sm",
|
|
356
|
+
button: {
|
|
357
|
+
label: "Read More",
|
|
358
|
+
url: "{{blogPosts.url}}",
|
|
359
|
+
color: "btn-secondary"
|
|
360
|
+
},
|
|
361
|
+
loop: { over: "blogPosts" }
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
description: "Event listing card using upcomingEvents query with venue details",
|
|
366
|
+
type: "card",
|
|
367
|
+
props: {
|
|
368
|
+
cardImage: {
|
|
369
|
+
src: "{{upcomingEvents.banner}}",
|
|
370
|
+
alt: "{{upcomingEvents.title}}"
|
|
371
|
+
},
|
|
372
|
+
imagePosition: "top",
|
|
373
|
+
title: "{{upcomingEvents.title}}",
|
|
374
|
+
text: "<strong>{{upcomingEvents.date}} at {{upcomingEvents.time}}</strong><br>{{upcomingEvents.venue}}, {{upcomingEvents.city}}<br><br>{{upcomingEvents.description}}<br><br>Tickets: ${{upcomingEvents.price}}",
|
|
375
|
+
colorPreset: { color: "accent-100" },
|
|
376
|
+
border: {
|
|
377
|
+
width: "border-2",
|
|
378
|
+
color: "border-accent-400"
|
|
379
|
+
},
|
|
380
|
+
rounding: "rounded-lg",
|
|
381
|
+
shadow: "shadow-md",
|
|
382
|
+
button: {
|
|
383
|
+
label: "Book Tickets",
|
|
384
|
+
url: "{{upcomingEvents.ticketUrl}}",
|
|
385
|
+
color: "btn-accent"
|
|
386
|
+
},
|
|
387
|
+
loop: { over: "upcomingEvents" }
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
];
|
|
391
|
+
|
|
392
|
+
//#endregion
|
|
393
|
+
export { examples, manifest };
|
|
30
394
|
//# sourceMappingURL=card.manifest.js.map
|