@kickstartds/ds-agency-premium 1.6.71--canary.45.1846.0 → 1.7.0--canary.18.1660.0
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/{BlogAsideProps-c760fd2a.d.ts → BlogAsideProps-d9decb7c.d.ts} +5 -5
- package/dist/{BlogAuthorProps-fb0241df.d.ts → BlogAuthorProps-88a11566.d.ts} +2 -7
- package/dist/{BlogHeadProps-c04a5ed8.d.ts → BlogHeadProps-3f6e4072.d.ts} +1 -6
- package/dist/BlogOverviewProps-9f207f1c.d.ts +2 -2
- package/dist/BlogPostProps-6b3cff22.d.ts +4 -4
- package/dist/BlogTeaserProps-f5855e93.d.ts +4 -9
- package/dist/{ButtonProps-00ddee3a.d.ts → ButtonProps-03ff6d21.d.ts} +4 -4
- package/dist/{CtaProps-babe4ee6.d.ts → CtaProps-93230a76.d.ts} +11 -21
- package/dist/FeatureProps-f8a75850.d.ts +52 -0
- package/dist/FeaturesProps-b05859d6.d.ts +34 -0
- package/dist/{FooterProps-a0a104ca.d.ts → FooterProps-171a3067.d.ts} +2 -2
- package/dist/{HeaderProps-72763967.d.ts → HeaderProps-e22382f1.d.ts} +2 -2
- package/dist/{HeroProps-40f6c7f5.d.ts → HeroProps-cf82a16d.d.ts} +5 -10
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/MosaicProps-d52c7151.d.ts +4 -4
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-21d04028.d.ts → SectionProps-83d399b4.d.ts} +11 -23
- package/dist/{SliderProps-babe4ee6.d.ts → SliderProps-93230a76.d.ts} +5 -5
- package/dist/{TeaserCardProps-994cb119.d.ts → TeaserCardProps-b9c28e78.d.ts} +4 -4
- package/dist/{TestimonialsProps-e344f597.d.ts → TestimonialProps-94bdeac9.d.ts} +2 -22
- package/dist/TestimonialsProps-f7211553.d.ts +22 -0
- package/dist/{VideoCurtainProps-a2c0cc7f.d.ts → VideoCurtainProps-6c625a69.d.ts} +5 -5
- package/dist/components/blog-aside/blog-aside.css +4 -4
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +9 -19
- package/dist/components/blog-aside/blog-aside.schema.json +4 -5
- package/dist/components/blog-aside/index.d.ts +1 -2
- package/dist/components/blog-aside/index.js +3 -3
- package/dist/components/blog-author/blog-author.schema.dereffed.json +5 -14
- package/dist/components/blog-author/index.d.ts +1 -2
- package/dist/components/blog-head/blog-head.css +3 -3
- package/dist/components/blog-head/blog-head.schema.dereffed.json +0 -8
- package/dist/components/blog-head/blog-head.schema.json +0 -6
- package/dist/components/blog-head/index.d.ts +1 -2
- package/dist/components/blog-head/index.js +2 -2
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +192 -363
- package/dist/components/blog-overview/index.d.ts +0 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +183 -348
- package/dist/components/blog-post/index.d.ts +0 -1
- package/dist/components/blog-post/index.js +2 -4
- package/dist/components/blog-teaser/blog-teaser.css +7 -9
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +6 -14
- package/dist/components/blog-teaser/blog-teaser.schema.json +5 -11
- package/dist/components/blog-teaser/index.d.ts +3 -4
- package/dist/components/blog-teaser/index.js +10 -8
- package/dist/components/button/button.css +2 -2
- package/dist/components/button/button.schema.dereffed.json +3 -4
- package/dist/components/button/button.schema.json +3 -4
- package/dist/components/button/index.d.ts +1 -2
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/button-group.schema.dereffed.json +3 -4
- package/dist/components/button-group/index.d.ts +1 -2
- package/dist/components/contact/contact.css +16 -12
- package/dist/components/contact/contact.schema.dereffed.json +6 -15
- package/dist/components/contact/contact.schema.json +6 -13
- package/dist/components/contact/index.d.ts +1 -7
- package/dist/components/contact/index.js +1 -1
- package/dist/components/cta/cta.css +72 -49
- package/dist/components/cta/cta.schema.dereffed.json +11 -29
- package/dist/components/cta/cta.schema.json +10 -23
- package/dist/components/cta/index.d.ts +1 -2
- package/dist/components/cta/index.js +25 -25
- package/dist/components/divider/divider.css +1 -1
- package/dist/components/divider/index.d.ts +26 -2
- package/dist/components/faq/index.d.ts +0 -1
- package/dist/components/feature/feature.schema.dereffed.json +3 -14
- package/dist/components/feature/feature.schema.json +3 -12
- package/dist/components/feature/index.d.ts +1 -58
- package/dist/components/feature/index.js +2 -2
- package/dist/components/features/features.css +6 -19
- package/dist/components/features/features.schema.dereffed.json +40 -13
- package/dist/components/features/features.schema.json +1 -27
- package/dist/components/features/index.d.ts +1 -2
- package/dist/components/features/index.js +2 -11
- package/dist/components/footer/footer.css +5 -5
- package/dist/components/footer/footer.schema.dereffed.json +12 -12
- package/dist/components/footer/index.d.ts +1 -2
- package/dist/components/footer/index.js +1 -1
- package/dist/components/gallery/gallery.css +18 -0
- package/dist/components/gallery/gallery.schema.dereffed.json +1 -2
- package/dist/components/gallery/gallery.schema.json +1 -2
- package/dist/components/gallery/index.d.ts +0 -1
- package/dist/components/gallery/index.js +1 -1
- package/dist/components/header/header.css +11 -53
- package/dist/components/header/header.schema.dereffed.json +12 -12
- package/dist/components/header/index.d.ts +4 -5
- package/dist/components/header/index.js +5 -5
- package/dist/components/headline/headline.css +41 -49
- package/dist/components/headline/headline.schema.dereffed.json +0 -5
- package/dist/components/headline/headline.schema.json +0 -5
- package/dist/components/headline/index.d.ts +0 -6
- package/dist/components/headline/index.js +1 -1
- package/dist/components/hero/hero.css +22 -91
- package/dist/components/hero/hero.schema.dereffed.json +4 -12
- package/dist/components/hero/hero.schema.json +3 -9
- package/dist/components/hero/index.d.ts +1 -2
- package/dist/components/hero/index.js +37 -39
- package/dist/components/html/html.schema.json +3 -31
- package/dist/components/html/index.d.ts +26 -5
- package/dist/components/html/index.js +3 -17
- package/dist/components/image/image.css +18 -0
- package/dist/components/image/image.schema.dereffed.json +105 -0
- package/dist/components/image/image.schema.json +95 -0
- package/dist/components/image/index.d.ts +87 -0
- package/dist/components/image/index.js +11 -0
- package/dist/components/image-story/image-story.css +7 -10
- package/dist/components/image-story/image-story.schema.dereffed.json +3 -4
- package/dist/components/image-story/image-story.schema.json +1 -5
- package/dist/components/image-story/index.d.ts +0 -1
- package/dist/components/image-story/index.js +1 -0
- package/dist/components/image-text/image-text.css +4 -4
- package/dist/components/image-text/index.d.ts +0 -1
- package/dist/components/index/index.d.ts +3 -9
- package/dist/components/logo/index.d.ts +0 -1
- package/dist/components/logos/index.d.ts +0 -1
- package/dist/components/logos/index.js +1 -1
- package/dist/components/logos/logos.css +4 -4
- package/dist/components/logos/logos.schema.dereffed.json +6 -6
- package/dist/components/logos/logos.schema.json +6 -6
- package/dist/components/mosaic/index.d.ts +0 -1
- package/dist/components/mosaic/index.js +1 -1
- package/dist/components/mosaic/mosaic.css +7 -8
- package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -4
- package/dist/components/nav-dropdown/index.d.ts +1 -2
- package/dist/components/nav-dropdown/index.js +2 -2
- package/dist/components/nav-dropdown/nav-dropdown.css +4 -13
- package/dist/components/nav-dropdown/nav-dropdown.schema.dereffed.json +1 -1
- package/dist/components/nav-flyout/index.d.ts +2 -3
- package/dist/components/nav-flyout/index.js +8 -6
- package/dist/components/nav-flyout/nav-flyout.css +15 -29
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -12
- package/dist/components/nav-main/index.d.ts +5 -6
- package/dist/components/nav-main/index.js +2 -0
- package/dist/components/nav-main/nav-main.schema.dereffed.json +15 -15
- package/dist/components/nav-main/nav-main.schema.json +14 -14
- package/dist/components/nav-toggle/index.js +1 -1
- package/dist/components/nav-topbar/index.d.ts +2 -3
- package/dist/components/nav-topbar/index.js +2 -2
- package/dist/components/nav-topbar/nav-topbar.css +3 -16
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -12
- package/dist/components/page/index.d.ts +0 -1
- package/dist/components/page/page.schema.dereffed.json +163 -292
- package/dist/components/page-wrapper/index.js +368 -135
- package/dist/components/page-wrapper/tokens.css +692 -439
- package/dist/components/picture/picture.schema.json +88 -0
- package/dist/components/presets.json +560 -1883
- package/dist/components/providers/index.js +1 -1
- package/dist/components/section/index.d.ts +1 -2
- package/dist/components/section/index.js +16 -10
- package/dist/components/section/js/Section.client.js +1 -1
- package/dist/components/section/section.css +93 -88
- package/dist/components/section/section.schema.dereffed.json +163 -292
- package/dist/components/section/section.schema.json +10 -21
- package/dist/components/settings/settings.schema.dereffed.json +24 -29
- package/dist/components/settings/settings.schema.json +0 -5
- package/dist/components/slider/index.d.ts +1 -2
- package/dist/components/slider/slider.css +9 -19
- package/dist/components/slider/slider.schema.dereffed.json +71 -78
- package/dist/components/split/index.d.ts +13 -0
- package/dist/components/split/index.js +17 -0
- package/dist/components/split/split.css +53 -0
- package/dist/components/split/split.schema.dereffed.json +29 -0
- package/dist/components/split/split.schema.json +19 -0
- package/dist/components/stat/index.d.ts +0 -1
- package/dist/components/stat/stat.schema.dereffed.json +0 -1
- package/dist/components/stat/stat.schema.json +0 -1
- package/dist/components/stats/index.d.ts +0 -1
- package/dist/components/stats/stats.css +7 -3
- package/dist/components/stats/stats.schema.dereffed.json +0 -1
- package/dist/components/teaser-card/index.d.ts +1 -2
- package/dist/components/teaser-card/index.js +9 -10
- package/dist/components/teaser-card/teaser-card.css +48 -68
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +4 -4
- package/dist/components/teaser-card/teaser-card.schema.json +4 -4
- package/dist/components/testimonial/index.d.ts +1 -49
- package/dist/components/testimonial/index.js +1 -4
- package/dist/components/testimonial/testimonial.schema.dereffed.json +0 -11
- package/dist/components/testimonial/testimonial.schema.json +0 -7
- package/dist/components/testimonials/index.d.ts +2 -3
- package/dist/components/testimonials/index.js +2 -2
- package/dist/components/testimonials/testimonials.css +28 -60
- package/dist/components/testimonials/testimonials.schema.dereffed.json +5 -11
- package/dist/components/testimonials/testimonials.schema.json +1 -30
- package/dist/components/text/index.d.ts +0 -1
- package/dist/components/text/text.css +2 -2
- package/dist/components/tile/tile.schema.dereffed.json +3 -4
- package/dist/components/tile/tile.schema.json +4 -10
- package/dist/components/video-curtain/index.d.ts +1 -2
- package/dist/components/video-curtain/index.js +4 -12
- package/dist/components/video-curtain/video-curtain.css +33 -57
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +4 -7
- package/dist/components/video-curtain/video-curtain.schema.json +3 -3
- package/dist/global.css +86 -340
- package/dist/static/img/logos/logoipsum-212.svg +12 -0
- package/dist/static/img/logos/logoipsum-217.svg +4 -0
- package/dist/static/img/logos/logoipsum-239.svg +16 -0
- package/dist/static/img/logos/logoipsum-244.svg +19 -0
- package/dist/static/img/logos/logoipsum-250.svg +21 -0
- package/dist/static/img/logos/logoipsum-286.svg +20 -0
- package/dist/static/img/people/author-alex.png +0 -0
- package/dist/static/img/people/author-emily.png +0 -0
- package/dist/static/img/people/author-john.png +0 -0
- package/dist/static/img/screenshots/blog-blog-aside--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-author--default.png +0 -0
- package/dist/static/img/screenshots/components-contact--wide-image.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-description.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-icons.png +0 -0
- package/dist/static/img/screenshots/components-teaser-card--page-navigation.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--slider-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--with-rating.png +0 -0
- package/dist/static/img/screenshots/layout-footer--footer.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-arrows.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-autoplay.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-nav.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-teased-neighbours.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--blog-post.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--overview.png +0 -0
- package/dist/static/logo-inverted.svg +25 -12
- package/dist/static/logo.svg +25 -12
- package/dist/tokens/IconSprite.js +367 -134
- package/dist/tokens/icon-sprite.html +37 -72
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +692 -439
- package/dist/tokens/tokens.js +755 -651
- package/package.json +16 -11
- package/dist/DividerProps-2ef31901.d.ts +0 -26
- package/dist/EventAppointmentProps-443cd1ce.d.ts +0 -38
- package/dist/EventDetailProps-42a7eebe.d.ts +0 -387
- package/dist/EventFilterProps-b190eb86.d.ts +0 -73
- package/dist/EventLatestTeaserProps-fc9d3281.d.ts +0 -58
- package/dist/EventListTeaserProps-5cc94436.d.ts +0 -89
- package/dist/EventLocationProps-871bc198.d.ts +0 -41
- package/dist/FeaturesProps-a9041d97.d.ts +0 -67
- package/dist/HtmlProps-9d091769.d.ts +0 -34
- package/dist/SearchFilterProps-2fa6419b.d.ts +0 -29
- package/dist/SearchResultProps-224c2338.d.ts +0 -33
- package/dist/components/breadcrumb/breadcrumb.css +0 -32
- package/dist/components/breadcrumb/breadcrumb.schema.dereffed.json +0 -34
- package/dist/components/breadcrumb/breadcrumb.schema.json +0 -27
- package/dist/components/breadcrumb/index.d.ts +0 -28
- package/dist/components/breadcrumb/index.js +0 -17
- package/dist/components/content-nav/content-nav.css +0 -112
- package/dist/components/content-nav/content-nav.schema.dereffed.json +0 -61
- package/dist/components/content-nav/content-nav.schema.json +0 -52
- package/dist/components/content-nav/index.d.ts +0 -42
- package/dist/components/content-nav/index.js +0 -14
- package/dist/components/downloads/downloads.css +0 -153
- package/dist/components/downloads/downloads.schema.dereffed.json +0 -55
- package/dist/components/downloads/downloads.schema.json +0 -44
- package/dist/components/downloads/index.d.ts +0 -41
- package/dist/components/downloads/index.js +0 -18
- package/dist/components/event-appointment/event-appointment.css +0 -61
- package/dist/components/event-appointment/event-appointment.schema.dereffed.json +0 -56
- package/dist/components/event-appointment/event-appointment.schema.json +0 -47
- package/dist/components/event-appointment/index.d.ts +0 -7
- package/dist/components/event-appointment/index.js +0 -14
- package/dist/components/event-detail/event-detail.schema.dereffed.json +0 -287
- package/dist/components/event-detail/event-detail.schema.json +0 -74
- package/dist/components/event-detail/index.d.ts +0 -5
- package/dist/components/event-detail/index.js +0 -36
- package/dist/components/event-filter/event-filter.css +0 -31
- package/dist/components/event-filter/event-filter.schema.dereffed.json +0 -118
- package/dist/components/event-filter/event-filter.schema.json +0 -107
- package/dist/components/event-filter/index.d.ts +0 -7
- package/dist/components/event-filter/index.js +0 -34
- package/dist/components/event-header/event-header.css +0 -6
- package/dist/components/event-header/event-header.schema.dereffed.json +0 -38
- package/dist/components/event-header/event-header.schema.json +0 -34
- package/dist/components/event-header/index.d.ts +0 -35
- package/dist/components/event-header/index.js +0 -20
- package/dist/components/event-latest/event-latest.css +0 -5
- package/dist/components/event-latest/event-latest.schema.dereffed.json +0 -142
- package/dist/components/event-latest/event-latest.schema.json +0 -46
- package/dist/components/event-latest/index.d.ts +0 -30
- package/dist/components/event-latest/index.js +0 -19
- package/dist/components/event-latest-teaser/event-latest-teaser.css +0 -131
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.dereffed.json +0 -97
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.json +0 -73
- package/dist/components/event-latest-teaser/index.d.ts +0 -8
- package/dist/components/event-latest-teaser/index.js +0 -18
- package/dist/components/event-list/event-list.schema.dereffed.json +0 -284
- package/dist/components/event-list/event-list.schema.json +0 -18
- package/dist/components/event-list/index.d.ts +0 -19
- package/dist/components/event-list/index.js +0 -73
- package/dist/components/event-list-teaser/event-list-teaser.css +0 -141
- package/dist/components/event-list-teaser/event-list-teaser.schema.dereffed.json +0 -151
- package/dist/components/event-list-teaser/event-list-teaser.schema.json +0 -116
- package/dist/components/event-list-teaser/index.d.ts +0 -8
- package/dist/components/event-list-teaser/index.js +0 -21
- package/dist/components/event-location/event-location.css +0 -71
- package/dist/components/event-location/event-location.schema.dereffed.json +0 -126
- package/dist/components/event-location/event-location.schema.json +0 -61
- package/dist/components/event-location/index.d.ts +0 -7
- package/dist/components/event-location/index.js +0 -18
- package/dist/components/event-login/event-login.css +0 -31
- package/dist/components/event-login/event-login.schema.dereffed.json +0 -125
- package/dist/components/event-login/event-login.schema.json +0 -98
- package/dist/components/event-login/index.d.ts +0 -78
- package/dist/components/event-login/index.js +0 -21
- package/dist/components/event-registration/event-registration.css +0 -91
- package/dist/components/event-registration/event-registration.schema.dereffed.json +0 -174
- package/dist/components/event-registration/event-registration.schema.json +0 -138
- package/dist/components/event-registration/index.d.ts +0 -106
- package/dist/components/event-registration/index.js +0 -23
- package/dist/components/html/Html.client.d.ts +0 -5
- package/dist/components/html/Html.client.js +0 -41
- package/dist/components/html/html.css +0 -52
- package/dist/components/html/html.schema.dereffed.json +0 -61
- package/dist/components/pagination/index.d.ts +0 -47
- package/dist/components/pagination/index.js +0 -52
- package/dist/components/pagination/pagination.css +0 -66
- package/dist/components/pagination/pagination.schema.dereffed.json +0 -64
- package/dist/components/pagination/pagination.schema.json +0 -57
- package/dist/components/search/index.d.ts +0 -19
- package/dist/components/search/index.js +0 -39
- package/dist/components/search/search.schema.dereffed.json +0 -134
- package/dist/components/search/search.schema.json +0 -18
- package/dist/components/search-bar/index.d.ts +0 -35
- package/dist/components/search-bar/index.js +0 -17
- package/dist/components/search-bar/search-bar.css +0 -33
- package/dist/components/search-bar/search-bar.schema.dereffed.json +0 -48
- package/dist/components/search-bar/search-bar.schema.json +0 -35
- package/dist/components/search-filter/index.d.ts +0 -7
- package/dist/components/search-filter/index.js +0 -15
- package/dist/components/search-filter/search-filter.css +0 -20
- package/dist/components/search-filter/search-filter.schema.dereffed.json +0 -69
- package/dist/components/search-filter/search-filter.schema.json +0 -46
- package/dist/components/search-result/index.d.ts +0 -7
- package/dist/components/search-result/index.js +0 -15
- package/dist/components/search-result/search-result.css +0 -26
- package/dist/components/search-result/search-result.schema.dereffed.json +0 -50
- package/dist/components/search-result/search-result.schema.json +0 -41
- package/dist/components/split-even/index.d.ts +0 -74
- package/dist/components/split-even/index.js +0 -7
- package/dist/components/split-even/split-even.css +0 -100
- package/dist/components/split-even/split-even.schema.dereffed.json +0 -5899
- package/dist/components/split-even/split-even.schema.json +0 -170
- package/dist/components/split-weighted/index.d.ts +0 -104
- package/dist/components/split-weighted/index.js +0 -13
- package/dist/components/split-weighted/split-weighted.css +0 -133
- package/dist/components/split-weighted/split-weighted.schema.dereffed.json +0 -5959
- package/dist/components/split-weighted/split-weighted.schema.json +0 -212
- package/dist/static/fonts/systemics/Montserrat-Bold.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Light.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Medium.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Regular.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-SemiBold.woff2 +0 -0
- package/dist/static/img/about/angled-image.png +0 -0
- package/dist/static/img/about/cta.png +0 -0
- package/dist/static/img/about/cutout.png +0 -0
- package/dist/static/img/about/disclaimer.png +0 -0
- package/dist/static/img/about/purpose.png +0 -0
- package/dist/static/img/about/spoiler.png +0 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-01.svg +0 -72
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-02.svg +0 -112
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-03.svg +0 -197
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-04.svg +0 -76
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-05.svg +0 -82
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-06.svg +0 -219
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-07.svg +0 -85
- package/dist/static/img/logos/logoipsum-344.svg +0 -174
- package/dist/static/img/logos/logoipsum-347.svg +0 -52
- package/dist/static/img/logos/logoipsum-352.svg +0 -22
- package/dist/static/img/logos/logoipsum-356.svg +0 -20
- package/dist/static/img/logos/logoipsum-358.svg +0 -29
- package/dist/static/img/logos/logoipsum-369.svg +0 -20
- package/dist/static/img/logos/logoipsum-373.svg +0 -17
- package/dist/static/img/people/contact-person.png +0 -0
- package/dist/static/img/screenshots/layout-divider--accent.png +0 -0
- package/dist/static/img/screenshots/layout-divider--default.png +0 -0
- package/dist/static/logo-dark.svg +0 -13
- package/dist/static/logo-dsa-inverted.svg +0 -26
- package/dist/static/logo-dsa.svg +0 -26
|
@@ -1,42 +1,50 @@
|
|
|
1
1
|
:root, [ks-inverted], [ks-theme] {
|
|
2
2
|
--dsa-headline--color: var(--ks-text-color-display);
|
|
3
|
-
--dsa-headline--font-weight: var(--ks-font-weight-
|
|
3
|
+
--dsa-headline--font-weight: var(--ks-font-weight-medium);
|
|
4
4
|
--dsa-headline--text-transform: none;
|
|
5
5
|
--dsa-headline--gap: 0.25em;
|
|
6
6
|
--dsa-headline--space-after_large: var(--ks-spacing-stack-l);
|
|
7
7
|
--dsa-headline--space-after_small: var(--ks-spacing-stack-m);
|
|
8
8
|
--dsa-headline--space-after_minimum: var(--ks-spacing-stack-s);
|
|
9
|
-
--dsa-headline--higlight-background: var(--
|
|
10
|
-
--dsa-headline__subheadline--color: var(--ks-color-
|
|
11
|
-
--dsa-headline__subheadline--font-weight: var(--ks-font-weight-bold);
|
|
12
|
-
--dsa-headline__subheadline--text-transform: uppercase;
|
|
13
|
-
--dsa-headline__subheadline--letter-spacing: 0.045em;
|
|
14
|
-
--dsa-headline__subheadline--font-family: var(--ks-font-family-display);
|
|
9
|
+
--dsa-headline--higlight-background: linear-gradient(90deg, var(--ks-color-secondary), var(--ks-color-primary));
|
|
10
|
+
--dsa-headline__subheadline--color: var(--ks-text-color-primary);
|
|
11
|
+
--dsa-headline__subheadline--font-weight: var(--ks-font-weight-semi-bold);
|
|
15
12
|
--dsa-headline_h1--font: var(--ks-font-display-xxl);
|
|
16
|
-
--dsa-headline_h1__subheadline--font
|
|
13
|
+
--dsa-headline_h1__subheadline--font: var(--ks-font-copy-l);
|
|
17
14
|
--dsa-headline_h1--space-after_large: var(--ks-spacing-stack-l);
|
|
18
15
|
--dsa-headline_h1--space-after_small: var(--ks-spacing-stack-m);
|
|
19
16
|
--dsa-headline_h1--space-after_minimum: var(--ks-spacing-stack-s);
|
|
20
17
|
--dsa-headline_h2--font: var(--ks-font-display-xl);
|
|
21
|
-
--dsa-headline_h2__subheadline--font
|
|
18
|
+
--dsa-headline_h2__subheadline--font: var(--ks-font-copy-m);
|
|
22
19
|
--dsa-headline_h2--space-after_large: var(--ks-spacing-stack-l);
|
|
23
20
|
--dsa-headline_h2--space-after_small: var(--ks-spacing-stack-m);
|
|
24
|
-
--dsa-headline_h2--space-after_minimum:
|
|
21
|
+
--dsa-headline_h2--space-after_minimum: var(--ks-spacing-stack-s);
|
|
25
22
|
--dsa-headline_h3--font: var(--ks-font-display-l);
|
|
26
|
-
--dsa-headline_h3__subheadline--font
|
|
23
|
+
--dsa-headline_h3__subheadline--font: var(--ks-font-copy-m);
|
|
27
24
|
--dsa-headline_h3--space-after_large: var(--ks-spacing-stack-m);
|
|
28
25
|
--dsa-headline_h3--space-after_small: var(--ks-spacing-stack-s);
|
|
29
|
-
--dsa-headline_h3--space-after_minimum:
|
|
26
|
+
--dsa-headline_h3--space-after_minimum: var(--ks-spacing-stack-xs);
|
|
30
27
|
--dsa-headline_h4--font: var(--ks-font-display-m);
|
|
31
|
-
--dsa-headline_h4__subheadline--font
|
|
28
|
+
--dsa-headline_h4__subheadline--font: var(--ks-font-copy-s);
|
|
32
29
|
--dsa-headline_h4--space-after_large: var(--ks-spacing-stack-m);
|
|
33
30
|
--dsa-headline_h4--space-after_small: var(--ks-spacing-stack-s);
|
|
34
|
-
--dsa-headline_h4--space-after_minimum:
|
|
31
|
+
--dsa-headline_h4--space-after_minimum: var(--ks-spacing-stack-xs);
|
|
35
32
|
--dsa-headline_p--font: var(--ks-font-copy-m);
|
|
36
|
-
--dsa-
|
|
33
|
+
--dsa-headline__subheadline_p--font: var(--ks-font-copy-s);
|
|
34
|
+
--dsa-headline_p__subheadline--font: var(--ks-font-copy-s);
|
|
37
35
|
--dsa-headline_p--space-after_large: var(--ks-spacing-stack-xs);
|
|
38
36
|
--dsa-headline_p--space-after_small: var(--ks-spacing-xxs);
|
|
39
|
-
--dsa-headline_p--space-after_minimum:
|
|
37
|
+
--dsa-headline_p--space-after_minimum: none;
|
|
38
|
+
}
|
|
39
|
+
@media (min-width: 48em) {
|
|
40
|
+
:root, [ks-inverted], [ks-theme] {
|
|
41
|
+
--dsa-headline_h1__subheadline--font: var(--ks-font-copy-xl);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@media (min-width: 48em) {
|
|
45
|
+
:root, [ks-inverted], [ks-theme] {
|
|
46
|
+
--dsa-headline_h2__subheadline--font: var(--ks-font-copy-l);
|
|
47
|
+
}
|
|
40
48
|
}
|
|
41
49
|
|
|
42
50
|
.dsa-headline {
|
|
@@ -45,69 +53,57 @@
|
|
|
45
53
|
flex-direction: column;
|
|
46
54
|
gap: var(--dsa-headline--gap, 0.25em);
|
|
47
55
|
}
|
|
48
|
-
.dsa-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.dsa-headline__anchor {
|
|
52
|
-
--g-link--text-decoration: none;
|
|
53
|
-
visibility: hidden;
|
|
54
|
-
position: absolute;
|
|
55
|
-
margin: 0 var(--ks-spacing-inline-s);
|
|
56
|
-
}
|
|
57
|
-
.dsa-headline:hover .dsa-headline__anchor {
|
|
58
|
-
visibility: visible;
|
|
56
|
+
.dsa-headline .dsa-headline__headline {
|
|
57
|
+
font: var(--headline--font);
|
|
58
|
+
text-transform: var(--dsa-headline--text-transform);
|
|
59
59
|
}
|
|
60
60
|
.dsa-headline--h1 {
|
|
61
|
-
font: var(--dsa-headline_h1--font, var(--ks-font-display-xxl));
|
|
62
|
-
--subheadline--font
|
|
61
|
+
--headline--font: var(--dsa-headline_h1--font, var(--ks-font-display-xxl));
|
|
62
|
+
--subheadline--font: var(--dsa-headline_h1__subheadline--font, var(--ks-font-copy-xl));
|
|
63
63
|
--headline--space-after_minimum: var(--dsa-headline_h1--space-after_minimum);
|
|
64
64
|
--headline--space-after_small: var(--dsa-headline_h1--space-after_small);
|
|
65
65
|
--headline--space-after_large: var(--dsa-headline_h1--space-after_large);
|
|
66
66
|
}
|
|
67
67
|
.dsa-headline--h2 {
|
|
68
|
-
font: var(--dsa-headline_h2--font, var(--ks-font-display-xl));
|
|
69
|
-
--subheadline--font
|
|
68
|
+
--headline--font: var(--dsa-headline_h2--font, var(--ks-font-display-xl));
|
|
69
|
+
--subheadline--font: var(--dsa-headline_h2__subheadline--font, var(--ks-font-copy-l));
|
|
70
70
|
--headline--space-after_minimum: var(--dsa-headline_h2--space-after_minimum);
|
|
71
71
|
--headline--space-after_small: var(--dsa-headline_h2--space-after_small);
|
|
72
72
|
--headline--space-after_large: var(--dsa-headline_h2--space-after_large);
|
|
73
73
|
}
|
|
74
74
|
.dsa-headline--h3 {
|
|
75
|
-
font: var(--dsa-headline_h3--font, var(--ks-font-display-l));
|
|
76
|
-
--subheadline--font
|
|
75
|
+
--headline--font: var(--dsa-headline_h3--font, var(--ks-font-display-l));
|
|
76
|
+
--subheadline--font: var(--dsa-headline_h3__subheadline--font, var(--ks-font-copy-l));
|
|
77
77
|
--headline--space-after_minimum: var(--dsa-headline_h3--space-after_minimum);
|
|
78
78
|
--headline--space-after_small: var(--dsa-headline_h3--space-after_small);
|
|
79
79
|
--headline--space-after_large: var(--dsa-headline_h3--space-after_large);
|
|
80
80
|
}
|
|
81
81
|
.dsa-headline--h4 {
|
|
82
|
-
font: var(--dsa-headline_h4--font, var(--ks-font-display-m));
|
|
83
|
-
--subheadline--font
|
|
82
|
+
--headline--font: var(--dsa-headline_h4--font, var(--ks-font-display-m));
|
|
83
|
+
--subheadline--font: var(--dsa-headline_h4__subheadline--font, var(--ks-font-copy-m));
|
|
84
84
|
--headline--space-after_minimum: var(--dsa-headline_h4--space-after_minimum);
|
|
85
85
|
--headline--space-after_small: var(--dsa-headline_h4--space-after_small);
|
|
86
86
|
--headline--space-after_large: var(--dsa-headline_h4--space-after_large);
|
|
87
87
|
}
|
|
88
88
|
.dsa-headline--p {
|
|
89
|
-
font: var(--dsa-headline_p--font, var(--ks-font-copy-m));
|
|
90
|
-
--subheadline--font
|
|
89
|
+
--headline--font: var(--dsa-headline_p--font, var(--ks-font-copy-m));
|
|
90
|
+
--subheadline--font: var(--dsa-headline_p__subheadline--font, var(--ks-font-copy-s));
|
|
91
91
|
--headline--space-after_minimum: var(--dsa-headline_p--space-after_minimum);
|
|
92
92
|
--headline--space-after_small: var(--dsa-headline_p--space-after_small);
|
|
93
93
|
--headline--space-after_large: var(--dsa-headline_p--space-after_large);
|
|
94
94
|
}
|
|
95
95
|
.dsa-headline .dsa-headline__headline {
|
|
96
|
+
font: var(--headline--font);
|
|
96
97
|
color: var(--dsa-headline--color, var(--ks-text-color-display));
|
|
97
|
-
font: inherit;
|
|
98
98
|
font-weight: var(--dsa-headline--font-weight);
|
|
99
|
-
text-transform: var(--dsa-headline--text-transform);
|
|
100
99
|
margin: 0;
|
|
101
100
|
}
|
|
102
101
|
.dsa-headline .dsa-headline__subheadline {
|
|
103
|
-
font
|
|
104
|
-
font-size: var(--subheadline--font-size, 50%);
|
|
102
|
+
font: var(--subheadline--font);
|
|
105
103
|
margin: 0;
|
|
106
|
-
max-width: var(--
|
|
104
|
+
max-width: var(--l-section--content-width-default);
|
|
107
105
|
color: var(--dsa-headline__subheadline--color, var(--ks-text-color-primary));
|
|
108
|
-
font-weight: var(--dsa-headline__subheadline--font-weight, var(--ks-font-weight-bold));
|
|
109
|
-
text-transform: var(--dsa-headline__subheadline--text-transform, none);
|
|
110
|
-
letter-spacing: var(--dsa-headline__subheadline--letter-spacing, 0);
|
|
106
|
+
font-weight: var(--dsa-headline__subheadline--font-weight, var(--ks-font-weight-semi-bold));
|
|
111
107
|
}
|
|
112
108
|
.dsa-headline--space-after-minimum {
|
|
113
109
|
margin-bottom: var(--headline--space-after_minimum);
|
|
@@ -132,10 +128,6 @@
|
|
|
132
128
|
text-align: right;
|
|
133
129
|
margin-left: auto;
|
|
134
130
|
}
|
|
135
|
-
.dsa-headline--align-right .dsa-headline__anchor {
|
|
136
|
-
top: 0;
|
|
137
|
-
right: 100%;
|
|
138
|
-
}
|
|
139
131
|
|
|
140
132
|
.dsa-headline strong,
|
|
141
133
|
h1 strong,
|
|
@@ -36,10 +36,6 @@ type SpaceAfter = "minimum" | "small" | "large";
|
|
|
36
36
|
* Set a custom class name
|
|
37
37
|
*/
|
|
38
38
|
type ClassName = string;
|
|
39
|
-
/**
|
|
40
|
-
* Set a custom id attribute
|
|
41
|
-
*/
|
|
42
|
-
type ID = string;
|
|
43
39
|
/**
|
|
44
40
|
* Component used for headlines
|
|
45
41
|
*/
|
|
@@ -52,7 +48,6 @@ interface HeadlineProps {
|
|
|
52
48
|
style?: Style;
|
|
53
49
|
spaceAfter?: SpaceAfter;
|
|
54
50
|
className?: ClassName;
|
|
55
|
-
id?: ID;
|
|
56
51
|
}
|
|
57
52
|
interface RenderFunctions {
|
|
58
53
|
renderContent?: typeof defaultRenderFn;
|
|
@@ -60,5 +55,4 @@ interface RenderFunctions {
|
|
|
60
55
|
}
|
|
61
56
|
declare const Headline: import("react").ForwardRefExoticComponent<HeadlineProps & RenderFunctions & Omit<HTMLAttributes<HTMLElement>, "style"> & import("react").RefAttributes<HTMLElement>>;
|
|
62
57
|
declare const HeadlineProvider: FC<PropsWithChildren>;
|
|
63
|
-
export type { HeadlineProps };
|
|
64
58
|
export { Headline, HeadlineProvider };
|
|
@@ -9,7 +9,7 @@ const Headline = forwardRef(({ content, text = content, sub, align = "left", swi
|
|
|
9
9
|
// @ts-expect-error: Some kDS Components set the `styleAs`Props (e.g. https://github.com/kickstartDS/content/blob/next/source/storytelling/StorytellingComponent.tsx#L146)
|
|
10
10
|
styleAs, style = styleAs || "h2", spaceAfter = "small", className, renderContent = compiler, renderSubheadline = compiler, ...props }, ref) => {
|
|
11
11
|
const TagName = level;
|
|
12
|
-
return text || sub ? (jsxs("header", { className: classnames("dsa-headline", `dsa-headline--${style}`, style !== "none" && style !== level && `dsa-headline--${style}`, `dsa-headline--align-${align}`, spaceAfter && `dsa-headline--space-after-${spaceAfter}`, className), ref: ref, ...props, children: [sub && switchOrder && (jsx("p", { className: "dsa-headline__subheadline", children: renderSubheadline(sub) })), jsx(TagName, { className: classnames("dsa-headline__headline"), children:
|
|
12
|
+
return text || sub ? (jsxs("header", { className: classnames("dsa-headline", `dsa-headline--${style}`, style !== "none" && style !== level && `dsa-headline--${style}`, `dsa-headline--align-${align}`, spaceAfter && `dsa-headline--space-after-${spaceAfter}`, className), ref: ref, ...props, children: [sub && switchOrder && (jsx("p", { className: "dsa-headline__subheadline", children: renderSubheadline(sub) })), jsx(TagName, { className: classnames("dsa-headline__headline"), children: renderContent(text) }), sub && !switchOrder && (jsx("p", { className: "dsa-headline__subheadline", children: renderSubheadline(sub) }))] })) : null;
|
|
13
13
|
});
|
|
14
14
|
Headline.displayName = "Headline";
|
|
15
15
|
const HeadlineProvider = (props) => (jsx(HeadlineContext.Provider, { ...props, value: Headline }));
|
|
@@ -1,83 +1,33 @@
|
|
|
1
|
-
.l-container--hero {
|
|
2
|
-
/* stylelint-disable-next-line property-no-unknown */
|
|
3
|
-
container-name: hero;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
1
|
.dsa-hero {
|
|
7
|
-
--dsa-hero--min-height: 18rem;
|
|
8
|
-
--dsa-hero--min-height_small: 13.2rem;
|
|
9
2
|
--dsa-hero__headline--color: var(--dsa-headline--color);
|
|
10
3
|
--dsa-hero__subheadline--color: var(--dsa-headline__subheadline--color);
|
|
11
4
|
--dsa-hero_color-neutral__headline--color: var(--ks-text-color-default);
|
|
12
5
|
--dsa-hero_color-neutral__subheadline--color: var(--ks-text-color-default);
|
|
13
6
|
--dsa-hero__copy--color: var(--ks-text-color-default);
|
|
14
|
-
--dsa-hero__copy--font: var(--
|
|
7
|
+
--dsa-hero__copy--font: var(--dsa-rich-text--font);
|
|
15
8
|
--dsa-hero_highlight-text__copy--font: var(--ks-font-copy-l);
|
|
16
9
|
--dsa-hero_color-neutral__copy--color: var(--ks-text-color-default);
|
|
17
|
-
--dsa-hero__textbox--
|
|
18
|
-
--dsa-hero__textbox--backdrop-filter: var(--dsa-overlay-box_transparent--backdrop-filter);
|
|
19
|
-
--dsa-hero__textbox--box-shadow: none;
|
|
20
|
-
--dsa-hero__textbox--border-radius: var(--ks-border-radius-card);
|
|
21
|
-
--dsa-hero__textbox--max-width: var(--dsa-content--width_narrow);
|
|
22
|
-
--dsa-hero_below__textbox--max-width: var(--dsa-content--width_default);
|
|
10
|
+
--dsa-hero__textbox--border-radius: var(--ks-border-radius-surface);
|
|
23
11
|
--dsa-hero__textbox--padding: var(--ks-spacing-inset-squish-xl);
|
|
24
|
-
--dsa-
|
|
25
|
-
|
|
26
|
-
var(--ks-color-primary-alpha-5) 0%,
|
|
27
|
-
var(--ks-color-bg-alpha-4) 100%
|
|
28
|
-
);
|
|
29
|
-
--dsa-hero--below__overlay--background: linear-gradient(
|
|
30
|
-
0deg,
|
|
31
|
-
var(--ks-background-color-default) 15%,
|
|
32
|
-
transparent 50%
|
|
33
|
-
);
|
|
34
|
-
--dsa-hero--left__overlay--background: radial-gradient(
|
|
35
|
-
var(--dsa-hero__textbox--max-width) var(--dsa-hero__textbox--max-width) at
|
|
36
|
-
calc(var(--dsa-section__content--padding) * 2) 50%,
|
|
37
|
-
var(--ks-color-bg) 100%,
|
|
38
|
-
var(--ks-color-primary-alpha-5) 100%
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
@container hero (min-width: 640px) {
|
|
42
|
-
.dsa-hero {
|
|
43
|
-
--dsa-hero--min-height: 21rem;
|
|
44
|
-
--dsa-hero--min-height_small: 13.35rem;
|
|
45
|
-
--dsa-hero__textbox--max-width: 50vw;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
@container hero (min-width: 960px) {
|
|
49
|
-
.dsa-hero {
|
|
50
|
-
--dsa-hero--min-height: 31.5rem;
|
|
51
|
-
--dsa-hero--min-height_small: 15.8rem;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
@container hero (min-width: 1024px) {
|
|
55
|
-
.dsa-hero {
|
|
56
|
-
--dsa-hero--min-height: 42rem;
|
|
57
|
-
--dsa-hero--min-height_small: 20rem;
|
|
58
|
-
--dsa-hero__textbox--max-width: var(--dsa-content--width_narrow);
|
|
59
|
-
}
|
|
12
|
+
--dsa-hero__texbox--background-color: var(--ks-color-bg-alpha-2);
|
|
13
|
+
--dsa-hero__overlay--background: linear-gradient(0deg, var(--ks-background-color-default) 15%, transparent 50%);
|
|
60
14
|
}
|
|
61
15
|
|
|
62
|
-
.l-container--
|
|
16
|
+
.l-container--visual {
|
|
63
17
|
/* stylelint-disable-next-line property-no-unknown */
|
|
64
|
-
container-name:
|
|
18
|
+
container-name: visual;
|
|
65
19
|
}
|
|
66
20
|
|
|
67
21
|
.c-visual.dsa-hero {
|
|
68
22
|
--c-visual_overlay--background-size: 100%;
|
|
69
23
|
--c-visual_overlay--background: transparent;
|
|
70
|
-
min-height: var(--dsa-hero--min-height);
|
|
71
24
|
}
|
|
72
25
|
.c-visual.dsa-hero .c-visual__box {
|
|
73
|
-
--c-visual_box--background: var(
|
|
74
|
-
--dsa-hero__textbox--background-color,
|
|
75
|
-
var(--dsa-overlay-box_transparent--background-color)
|
|
76
|
-
);
|
|
26
|
+
--c-visual_box--background: var(--dsa-hero__texbox--background-color, var(--ks-color-bg-alpha-2));
|
|
77
27
|
--c-visual_box--color: var(--dsa-hero__copy--color, var(--ks-text-color-default));
|
|
78
|
-
--c-visual_box--border-radius: var(--dsa-hero__textbox--border-radius, var(--ks-border-radius-
|
|
28
|
+
--c-visual_box--border-radius: var(--dsa-hero__textbox--border-radius, var(--ks-border-radius-surface));
|
|
79
29
|
--c-visual_box--padding: var(--dsa-hero__textbox--padding, var(--ks-spacing-inset-squish-xl));
|
|
80
|
-
--c-visual_text--font: var(--dsa-hero__copy--font, var(--
|
|
30
|
+
--c-visual_text--font: var(--dsa-hero__copy--font, var(--dsa-rich-text--font));
|
|
81
31
|
}
|
|
82
32
|
.c-visual.dsa-hero--highlight-text.c-visual {
|
|
83
33
|
--dsa-hero__copy--font: var(--dsa-hero_highlight-text__copy--font, var(--ks-font-copy-l));
|
|
@@ -87,34 +37,22 @@
|
|
|
87
37
|
--dsa-hero__headline--color: var(--dsa-hero_color-neutral__copy--color, var(--ks-text-color-default));
|
|
88
38
|
--dsa-hero__subheadline--color: var(--dsa-hero_color-neutral__copy--color, var(--ks-text-color-default));
|
|
89
39
|
}
|
|
90
|
-
|
|
91
|
-
min-height: var(--dsa-hero--min-height_small);
|
|
92
|
-
}
|
|
93
|
-
@container hero (min-width: 640px) {
|
|
40
|
+
@container visual (min-width: 640px) {
|
|
94
41
|
.c-visual.dsa-hero {
|
|
95
|
-
--c-visual_overlay--background:
|
|
96
|
-
|
|
97
|
-
|
|
42
|
+
--c-visual_overlay--background: radial-gradient(
|
|
43
|
+
50% 125% at 100% 0%,
|
|
44
|
+
var(--ks-color-primary-alpha-5) 0%,
|
|
45
|
+
var(--ks-color-bg-alpha-5) 100%
|
|
98
46
|
);
|
|
99
47
|
}
|
|
100
48
|
.c-visual.dsa-hero.dsa-hero--content-below {
|
|
101
49
|
--c-visual_overlay--background: var(
|
|
102
|
-
--dsa-
|
|
103
|
-
linear-gradient(0deg, var(--ks-background-color-default) 15%, transparent 50%)
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
.c-visual.dsa-hero.dsa-hero--content-left {
|
|
107
|
-
--c-visual_overlay--background: var(
|
|
108
|
-
--dsa-hero--left__overlay--background,
|
|
50
|
+
--dsa-hero__overlay--background,
|
|
109
51
|
linear-gradient(0deg, var(--ks-background-color-default) 15%, transparent 50%)
|
|
110
52
|
);
|
|
111
53
|
}
|
|
112
54
|
.c-visual.dsa-hero .c-visual__box {
|
|
113
|
-
--c-visual_box--max-width:
|
|
114
|
-
}
|
|
115
|
-
.c-visual.dsa-hero .c-visual__box:not(.c-visual__box--transparent) {
|
|
116
|
-
backdrop-filter: var(--dsa-hero__textbox--backdrop-filter, var(--dsa-overlay-box_transparent--backdrop-filter));
|
|
117
|
-
box-shadow: var(--dsa-hero__textbox--box-shadow, var(--ks-box-shadow-card));
|
|
55
|
+
--c-visual_box--max-width: 50rem;
|
|
118
56
|
}
|
|
119
57
|
}
|
|
120
58
|
|
|
@@ -136,13 +74,9 @@
|
|
|
136
74
|
padding: var(--c-visual_box--padding);
|
|
137
75
|
}
|
|
138
76
|
.c-visual.dsa-hero .c-visual__content--indent {
|
|
139
|
-
max-width: var(--
|
|
77
|
+
max-width: var(--l-section--content-width-wide);
|
|
140
78
|
}
|
|
141
|
-
|
|
142
|
-
color: var(--dsa-overlay-text--text-color, var(--ks-color-fg));
|
|
143
|
-
filter: drop-shadow(var(--dsa-overlay-text--shadow, 0 0 10px var(--ks-color-bg-inverted-alpha-3-base)));
|
|
144
|
-
}
|
|
145
|
-
@container hero (min-width: 640px) {
|
|
79
|
+
@container visual (min-width: 640px) {
|
|
146
80
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__media {
|
|
147
81
|
position: relative;
|
|
148
82
|
}
|
|
@@ -150,17 +84,14 @@
|
|
|
150
84
|
height: var(--c-visual--min-height);
|
|
151
85
|
}
|
|
152
86
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__content {
|
|
153
|
-
padding: 0 var(--dsa-content--
|
|
87
|
+
padding: 0 var(--dsa-content--spacing);
|
|
154
88
|
margin-top: -10%;
|
|
155
89
|
position: relative;
|
|
156
90
|
}
|
|
157
91
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__content .c-visual__box {
|
|
158
|
-
--c-visual_box--max-width: var(--
|
|
159
|
-
}
|
|
160
|
-
.c-visual.dsa-hero.c-visual--no-crop {
|
|
161
|
-
--c-visual--min-height: 0;
|
|
92
|
+
--c-visual_box--max-width: var(--l-section--content-width-default);
|
|
162
93
|
}
|
|
163
|
-
@container
|
|
94
|
+
@container visual (min-width: 640px) {
|
|
164
95
|
.c-visual.dsa-hero.dsa-hero--content-below.c-visual--no-crop .c-visual__media .c-visual__image {
|
|
165
96
|
height: fit-content;
|
|
166
97
|
}
|
|
@@ -172,7 +103,7 @@
|
|
|
172
103
|
.c-visual.dsa-hero.dsa-hero--content-below.c-visual--full {
|
|
173
104
|
height: fit-content;
|
|
174
105
|
}
|
|
175
|
-
@container
|
|
106
|
+
@container visual (min-width: 640px) {
|
|
176
107
|
.c-visual.dsa-hero.dsa-hero--content-below.c-visual--full .c-visual__media .c-visual__image {
|
|
177
108
|
height: fit-content;
|
|
178
109
|
}
|
|
@@ -67,14 +67,13 @@
|
|
|
67
67
|
},
|
|
68
68
|
"icon": {
|
|
69
69
|
"type": "string",
|
|
70
|
-
"format": "icon",
|
|
71
70
|
"title": "Icon",
|
|
72
71
|
"description": "Choose an icon"
|
|
73
72
|
},
|
|
74
|
-
"
|
|
73
|
+
"target": {
|
|
75
74
|
"type": "string",
|
|
76
|
-
"title": "
|
|
77
|
-
"description": "
|
|
75
|
+
"title": "Target",
|
|
76
|
+
"description": "Target that should be linked, makes the button behave like a link semantically",
|
|
78
77
|
"format": "uri"
|
|
79
78
|
}
|
|
80
79
|
},
|
|
@@ -157,18 +156,11 @@
|
|
|
157
156
|
"center",
|
|
158
157
|
"below",
|
|
159
158
|
"left",
|
|
160
|
-
"right"
|
|
161
|
-
"corner"
|
|
159
|
+
"right"
|
|
162
160
|
],
|
|
163
161
|
"type": "string",
|
|
164
162
|
"default": "bottom"
|
|
165
163
|
},
|
|
166
|
-
"inverted": {
|
|
167
|
-
"type": "boolean",
|
|
168
|
-
"title": "Inverted",
|
|
169
|
-
"description": "Inverted color scheme for the box",
|
|
170
|
-
"default": false
|
|
171
|
-
},
|
|
172
164
|
"type": {
|
|
173
165
|
"const": "hero"
|
|
174
166
|
}
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"icon": {
|
|
59
59
|
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/icon"
|
|
60
60
|
},
|
|
61
|
-
"
|
|
62
|
-
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/
|
|
61
|
+
"target": {
|
|
62
|
+
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/target"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -73,15 +73,9 @@
|
|
|
73
73
|
"textPosition": {
|
|
74
74
|
"title": "Module aligment",
|
|
75
75
|
"description": "Choose the alginment of the module content",
|
|
76
|
-
"enum": ["center", "below", "left", "right"
|
|
76
|
+
"enum": ["center", "below", "left", "right"],
|
|
77
77
|
"type": "string",
|
|
78
78
|
"default": "bottom"
|
|
79
|
-
},
|
|
80
|
-
"inverted": {
|
|
81
|
-
"type": "boolean",
|
|
82
|
-
"title": "Inverted",
|
|
83
|
-
"description": "Inverted color scheme for the box",
|
|
84
|
-
"default": false
|
|
85
79
|
}
|
|
86
80
|
},
|
|
87
81
|
"additionalProperties": false
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { HeroProps } from "../../HeroProps-
|
|
3
|
+
import { HeroProps } from "../../HeroProps-cf82a16d.js";
|
|
4
4
|
declare const HeroContextDefault: import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const HeroContext: import("react").Context<import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Hero: import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export type { HeroProps };
|
|
8
7
|
export { HeroContextDefault, HeroContext, Hero };
|
|
@@ -8,51 +8,49 @@ import { ButtonContext } from '@kickstartds/base/lib/button';
|
|
|
8
8
|
import { useButtonGroup } from '../button-group/index.js';
|
|
9
9
|
import '@kickstartds/base/lib/button-group';
|
|
10
10
|
|
|
11
|
-
const HeroContextDefault = forwardRef(({ headline, sub, height, text, highlightText, textPosition = "center", colorNeutral,
|
|
11
|
+
const HeroContextDefault = forwardRef(({ headline, sub, height, text, highlightText, textPosition = "center", colorNeutral, image, overlay, textbox, className, buttons = [], ...rest }, ref) => {
|
|
12
12
|
const ButtonGroup = useButtonGroup();
|
|
13
13
|
return (jsx(ButtonContext.Provider
|
|
14
14
|
// @ts-expect-error
|
|
15
15
|
, {
|
|
16
16
|
// @ts-expect-error
|
|
17
|
-
value: ButtonGroup, children: jsx(Container, { name: "
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
value: ButtonGroup, children: jsx(Container, { name: "visual", children: jsx(VisualContextDefault, { ...rest, ref: ref, className: classnames(`dsa-hero dsa-hero--content-${textPosition}`, highlightText ? `dsa-hero--highlight-text` : "", colorNeutral ? `dsa-hero--color-neutral` : "", className), height: height, overlay: overlay, box: {
|
|
18
|
+
background: textbox === true ? "solid" : "transparent",
|
|
19
|
+
enabled: true,
|
|
20
|
+
vertical: textPosition === "below" ? "bottom" : "center",
|
|
21
|
+
horizontal: textPosition === "left"
|
|
22
|
+
? "left"
|
|
23
|
+
: textPosition === "right"
|
|
24
|
+
? "right"
|
|
22
25
|
: "center",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
srcTablet: image.srcTablet,
|
|
52
|
-
srcDesktop: image.srcDesktop,
|
|
53
|
-
src: image.src,
|
|
54
|
-
},
|
|
55
|
-
} }) }) }) }));
|
|
26
|
+
link: {
|
|
27
|
+
// @ts-expect-error
|
|
28
|
+
buttons,
|
|
29
|
+
colorNeutral,
|
|
30
|
+
enabled: buttons.length > 0,
|
|
31
|
+
arrangement: textPosition === "below" || textPosition === "center"
|
|
32
|
+
? "center"
|
|
33
|
+
: "left",
|
|
34
|
+
},
|
|
35
|
+
headline: {
|
|
36
|
+
align: textPosition === "below" || textPosition === "center"
|
|
37
|
+
? "center"
|
|
38
|
+
: "left",
|
|
39
|
+
text: headline,
|
|
40
|
+
sub: sub,
|
|
41
|
+
level: "h3",
|
|
42
|
+
style: highlightText ? "h1" : undefined,
|
|
43
|
+
},
|
|
44
|
+
text: text,
|
|
45
|
+
}, media: {
|
|
46
|
+
mode: "image",
|
|
47
|
+
image: {
|
|
48
|
+
srcMobile: image.srcMobile,
|
|
49
|
+
srcTablet: image.srcTablet,
|
|
50
|
+
srcDesktop: image.srcDesktop,
|
|
51
|
+
src: image.src,
|
|
52
|
+
},
|
|
53
|
+
} }) }) }));
|
|
56
54
|
});
|
|
57
55
|
const HeroContext = createContext(HeroContextDefault);
|
|
58
56
|
const Hero = forwardRef((props, ref) => {
|
|
@@ -1,42 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.
|
|
4
|
-
"title": "
|
|
3
|
+
"$id": "http://schema.kickstartds.com/base/html.schema.json",
|
|
4
|
+
"title": "HTML",
|
|
5
5
|
"description": "Display raw HTML.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"html": {
|
|
9
9
|
"title": "HTML string",
|
|
10
10
|
"type": "string",
|
|
11
|
-
"examples": [
|
|
12
|
-
"<p style=\"color: var(--ks-text-color-default);\">Hello World</p>"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
"consent": {
|
|
16
|
-
"title": "Show HTML after consent",
|
|
17
|
-
"type": "boolean",
|
|
18
|
-
"default": false
|
|
19
|
-
},
|
|
20
|
-
"consentText": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"consentButtonLabel": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
"consentBackgroundImage": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"format": "image"
|
|
29
|
-
},
|
|
30
|
-
"consentAspectRatio": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"enum": ["16:9", "16:10", "4:3", "1:1"],
|
|
33
|
-
"default": "16:9"
|
|
34
|
-
},
|
|
35
|
-
"inverted": {
|
|
36
|
-
"title": "Inverted",
|
|
37
|
-
"description": "Invert the colors of the HTML",
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"default": false
|
|
11
|
+
"examples": ["<p>Hello world!</p>"]
|
|
40
12
|
},
|
|
41
13
|
"className": {
|
|
42
14
|
"title": "Additional Classes",
|