@kickstartds/ds-agency-premium 1.6.71--canary.45.1846.0 → 1.7.0--canary.46.1791.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/BlogOverviewProps-9f207f1c.d.ts +2 -2
- package/dist/BlogPostProps-6b3cff22.d.ts +3 -3
- 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/{FeaturesProps-a9041d97.d.ts → FeaturesProps-e58616a5.d.ts} +4 -9
- 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-f704d270.d.ts} +4 -9
- 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-1cfcf6e8.d.ts} +9 -14
- package/dist/{SliderProps-babe4ee6.d.ts → SliderProps-93230a76.d.ts} +5 -5
- package/dist/{StatProps-12a3eae0.d.ts → StatProps-79109ad0.d.ts} +1 -1
- package/dist/StatsProps-bf5ef578.d.ts +1 -1
- package/dist/{TeaserCardProps-994cb119.d.ts → TeaserCardProps-b9c28e78.d.ts} +4 -4
- 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 +8 -16
- package/dist/components/blog-aside/blog-aside.schema.json +4 -4
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +3 -3
- package/dist/components/blog-author/blog-author.schema.dereffed.json +4 -12
- package/dist/components/blog-author/index.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +115 -210
- package/dist/components/blog-post/blog-post.schema.dereffed.json +123 -226
- package/dist/components/blog-post/index.js +2 -4
- package/dist/components/blog-teaser/blog-teaser.css +2 -2
- package/dist/components/blog-teaser/index.js +7 -5
- package/dist/components/button/button.css +2 -2
- package/dist/components/button/button.schema.dereffed.json +3 -3
- package/dist/components/button/button.schema.json +3 -3
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/button-group.schema.dereffed.json +3 -3
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/contact/contact.css +16 -10
- package/dist/components/contact/contact.schema.dereffed.json +5 -13
- package/dist/components/contact/contact.schema.json +5 -11
- package/dist/components/contact/index.d.ts +1 -6
- package/dist/components/contact/index.js +1 -1
- package/dist/components/cta/cta.css +71 -48
- package/dist/components/cta/cta.schema.dereffed.json +11 -28
- package/dist/components/cta/cta.schema.json +10 -23
- package/dist/components/cta/index.d.ts +1 -1
- package/dist/components/cta/index.js +26 -25
- package/dist/components/feature/feature.schema.dereffed.json +3 -13
- package/dist/components/feature/feature.schema.json +3 -11
- package/dist/components/feature/index.d.ts +3 -8
- package/dist/components/feature/index.js +3 -2
- package/dist/components/features/features.css +37 -17
- package/dist/components/features/features.schema.dereffed.json +3 -13
- package/dist/components/features/features.schema.json +2 -5
- package/dist/components/features/index.d.ts +1 -1
- package/dist/components/features/index.js +2 -2
- package/dist/components/footer/footer.css +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +12 -12
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/gallery/gallery.schema.dereffed.json +1 -2
- package/dist/components/gallery/gallery.schema.json +1 -2
- package/dist/components/gallery/index.js +1 -1
- package/dist/components/header/header.css +9 -52
- package/dist/components/header/header.schema.dereffed.json +12 -12
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +5 -5
- package/dist/components/headline/headline.css +40 -32
- package/dist/components/hero/hero.css +27 -63
- package/dist/components/hero/hero.schema.dereffed.json +4 -10
- package/dist/components/hero/hero.schema.json +3 -9
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/hero/index.js +39 -39
- package/dist/components/image-story/image-story.css +6 -9
- package/dist/components/image-story/image-story.schema.dereffed.json +3 -3
- package/dist/components/image-text/image-text.css +4 -4
- package/dist/components/index/index.d.ts +2 -3
- package/dist/components/logos/index.js +1 -1
- package/dist/components/logos/logos.css +2 -2
- package/dist/components/logos/logos.schema.dereffed.json +6 -6
- package/dist/components/logos/logos.schema.json +6 -6
- package/dist/components/mosaic/index.js +1 -1
- package/dist/components/mosaic/mosaic.css +7 -5
- package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -3
- package/dist/components/nav-dropdown/index.d.ts +1 -1
- 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 -2
- 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 -5
- 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 -2
- 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/page.schema.dereffed.json +104 -182
- package/dist/components/page-wrapper/index.js +0 -50
- package/dist/components/page-wrapper/tokens.css +732 -428
- package/dist/components/presets.json +456 -1834
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +16 -10
- package/dist/components/section/section.css +58 -38
- package/dist/components/section/section.schema.dereffed.json +104 -182
- package/dist/components/section/section.schema.json +10 -10
- package/dist/components/settings/settings.schema.dereffed.json +24 -24
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider.css +9 -14
- package/dist/components/slider/slider.schema.dereffed.json +46 -79
- package/dist/components/slider/slider.schema.json +1 -1
- package/dist/components/split/index.d.ts +14 -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 +1 -1
- package/dist/components/stat/index.js +12 -3
- package/dist/components/stat/stat.schema.dereffed.json +6 -5
- package/dist/components/stat/stat.schema.json +2 -2
- package/dist/components/stats/stats.schema.dereffed.json +6 -5
- package/dist/components/teaser-card/index.d.ts +1 -1
- package/dist/components/teaser-card/index.js +9 -9
- 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/testimonials/index.d.ts +1 -1
- package/dist/components/testimonials/testimonials.css +0 -4
- package/dist/components/text/text.css +2 -2
- package/dist/components/tile/tile.schema.dereffed.json +3 -3
- package/dist/components/tile/tile.schema.json +2 -2
- package/dist/components/video-curtain/index.d.ts +1 -1
- package/dist/components/video-curtain/index.js +4 -12
- package/dist/components/video-curtain/video-curtain.css +31 -54
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +5 -7
- package/dist/components/video-curtain/video-curtain.schema.json +4 -4
- package/dist/global.css +63 -293
- 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/blog-blog-head--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-teaser--default.png +0 -0
- package/dist/static/img/screenshots/components-contact--wide-image.png +0 -0
- package/dist/static/img/screenshots/components-cta--align-bottom.png +0 -0
- package/dist/static/img/screenshots/components-cta--angled-image.png +0 -0
- package/dist/static/img/screenshots/components-cta--banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--colored-banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--contact-banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--highlighted.png +0 -0
- package/dist/static/img/screenshots/components-cta--left-aligned.png +0 -0
- package/dist/static/img/screenshots/components-cta--product-advertisement.png +0 -0
- package/dist/static/img/screenshots/components-cta--split-banner.png +0 -0
- package/dist/static/img/screenshots/components-faq--dropdown-list.png +0 -0
- package/dist/static/img/screenshots/components-faq--single-dropdown.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-beside-with-link-in-text.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-centered.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-intext-with-link.png +0 -0
- package/dist/static/img/screenshots/components-features--list-view.png +0 -0
- package/dist/static/img/screenshots/components-features--stack-with-button.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-1.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-2.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-3.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-4.png +0 -0
- package/dist/static/img/screenshots/components-headline--order-swapped.png +0 -0
- package/dist/static/img/screenshots/components-headline--with-markdown.png +0 -0
- package/dist/static/img/screenshots/components-headline--with-subheadline.png +0 -0
- package/dist/static/img/screenshots/components-hero--text-box-on-full-screen.png +0 -0
- package/dist/static/img/screenshots/components-hero--text-on-image-with-overlay.png +0 -0
- package/dist/static/img/screenshots/components-html--html.png +0 -0
- package/dist/static/img/screenshots/components-html--with-consent.png +0 -0
- package/dist/static/img/screenshots/components-html--with-script.png +0 -0
- package/dist/static/img/screenshots/components-logos--centered-with-button.png +0 -0
- package/dist/static/img/screenshots/components-logos--left-aligned-with-text-link.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-testimonials--alternating-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--list-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--simple.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/components-testimonials--with-title.png +0 -0
- package/dist/static/img/screenshots/form-select-field--default.png +0 -0
- package/dist/static/img/screenshots/form-text-area--default.png +0 -0
- package/dist/static/img/screenshots/form-text-field--default.png +0 -0
- package/dist/static/img/screenshots/layout-divider--accent.png +0 -0
- package/dist/static/img/screenshots/layout-footer--footer.png +0 -0
- package/dist/static/img/screenshots/layout-header--header.png +0 -0
- package/dist/static/img/screenshots/layout-section--accent-background.png +0 -0
- package/dist/static/img/screenshots/layout-section--background-image.png +0 -0
- package/dist/static/img/screenshots/layout-section--bold-background.png +0 -0
- package/dist/static/img/screenshots/layout-section--cards.png +0 -0
- package/dist/static/img/screenshots/layout-section--colorful-gradient.png +0 -0
- package/dist/static/img/screenshots/layout-section--flex-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--inverted.png +0 -0
- package/dist/static/img/screenshots/layout-section--list-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--slider.png +0 -0
- package/dist/static/img/screenshots/layout-section--spotlight.png +0 -0
- package/dist/static/img/screenshots/layout-section--stagelights.png +0 -0
- package/dist/static/img/screenshots/layout-section--tile-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--with-buttons.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-overview.png → page-archetypes-blog-overview--blog-overview.png} +0 -0
- package/dist/static/img/screenshots/page-archetypes-blog-post--blog-post.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-landingpage--landingpage.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-overview--overview.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-showcase--showcase.png +0 -0
- package/dist/static/logo-inverted.svg +25 -12
- package/dist/static/logo.svg +25 -12
- package/dist/tokens/IconSprite.js +0 -50
- package/dist/tokens/icon-sprite.html +0 -18
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +732 -428
- package/dist/tokens/tokens.js +730 -629
- package/package.json +5 -4
- 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/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/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/components-image--custom-aspect-ratio.png +0 -0
- package/dist/static/img/screenshots/components-image--preset-size.png +0 -0
- package/dist/static/img/screenshots/components-image--responsive-image.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--blog-post.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--content.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--overview.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--start.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
|
@@ -36,6 +36,12 @@
|
|
|
36
36
|
"default": false,
|
|
37
37
|
"type": "boolean"
|
|
38
38
|
},
|
|
39
|
+
"fullWidth": {
|
|
40
|
+
"title": "Width",
|
|
41
|
+
"description": "Set the width of the content to the full width of the element",
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"default": false
|
|
44
|
+
},
|
|
39
45
|
"buttons": {
|
|
40
46
|
"type": "array",
|
|
41
47
|
"items": {
|
|
@@ -48,8 +54,8 @@
|
|
|
48
54
|
"icon": {
|
|
49
55
|
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/icon"
|
|
50
56
|
},
|
|
51
|
-
"
|
|
52
|
-
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/
|
|
57
|
+
"target": {
|
|
58
|
+
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/target"
|
|
53
59
|
}
|
|
54
60
|
}
|
|
55
61
|
}
|
|
@@ -81,13 +87,6 @@
|
|
|
81
87
|
"title": "Alt text",
|
|
82
88
|
"description": "Image description",
|
|
83
89
|
"type": "string"
|
|
84
|
-
},
|
|
85
|
-
"align": {
|
|
86
|
-
"title": "Vertical alignment of the image",
|
|
87
|
-
"description": "Select a vertical alignment for the image",
|
|
88
|
-
"type": "string",
|
|
89
|
-
"enum": ["center", "top", "bottom"],
|
|
90
|
-
"default": "center"
|
|
91
90
|
}
|
|
92
91
|
},
|
|
93
92
|
"additionalProperties": false
|
|
@@ -119,24 +118,12 @@
|
|
|
119
118
|
"type": "string",
|
|
120
119
|
"default": "left"
|
|
121
120
|
},
|
|
122
|
-
"
|
|
121
|
+
"contentAlign": {
|
|
123
122
|
"title": "Vertical alignment of the content",
|
|
124
|
-
"description": "Select a vertical alignment for the
|
|
123
|
+
"description": "Select a vertical alignment for the image",
|
|
125
124
|
"type": "string",
|
|
126
125
|
"enum": ["center", "top", "bottom"],
|
|
127
126
|
"default": "center"
|
|
128
|
-
},
|
|
129
|
-
"padding": {
|
|
130
|
-
"title": "Padding",
|
|
131
|
-
"description": "Toggle padding of the content",
|
|
132
|
-
"type": "boolean",
|
|
133
|
-
"default": false
|
|
134
|
-
},
|
|
135
|
-
"inverted": {
|
|
136
|
-
"title": "Inverted",
|
|
137
|
-
"description": "Toggle inversion of the component",
|
|
138
|
-
"type": "boolean",
|
|
139
|
-
"default": false
|
|
140
127
|
}
|
|
141
128
|
},
|
|
142
129
|
"additionalProperties": false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { CtaProps } from "../../CtaProps-
|
|
3
|
+
import { CtaProps } from "../../CtaProps-93230a76.js";
|
|
4
4
|
declare const CtaContextDefault: import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const CtaContext: import("react").Context<import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Cta: import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import "./cta.css";
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { forwardRef, createContext, useContext } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { Storytelling } from '@kickstartds/content/lib/storytelling';
|
|
5
5
|
import { ButtonContext } from '@kickstartds/base/lib/button';
|
|
6
6
|
import classnames from 'classnames';
|
|
7
7
|
import { useButtonGroup } from '../button-group/index.js';
|
|
8
|
-
import { Container } from '@kickstartds/core/lib/container';
|
|
9
8
|
import '@kickstartds/base/lib/button-group';
|
|
10
9
|
|
|
11
|
-
const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, image, text, textAlign, backgroundImage, backgroundColor, colorNeutral,
|
|
10
|
+
const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, image, text, textAlign, backgroundImage, backgroundColor, colorNeutral, contentAlign, order, fullWidth = false, buttons = [], ...rest }, ref) => {
|
|
12
11
|
const ButtonGroup = useButtonGroup();
|
|
13
12
|
return (jsx(ButtonContext.Provider
|
|
14
13
|
// @ts-expect-error
|
|
15
14
|
, {
|
|
16
15
|
// @ts-expect-error
|
|
17
|
-
value: ButtonGroup, children: jsx(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
16
|
+
value: ButtonGroup, children: jsx(Storytelling, { ...rest, ref: ref, className: classnames("dsa-cta", fullWidth ? `dsa-cta--full-width` : "", highlightText ? `dsa-cta--highlight-text` : "", colorNeutral ? `dsa-cta--color-neutral` : "", contentAlign && contentAlign !== "center"
|
|
17
|
+
? `dsa-cta--align-${contentAlign}`
|
|
18
|
+
: ""), backgroundImage: backgroundImage, backgroundColor: backgroundColor, full: image?.padding === false, image: {
|
|
19
|
+
source: image?.src,
|
|
20
|
+
order: order,
|
|
21
|
+
vAlign: contentAlign,
|
|
22
|
+
}, box: {
|
|
23
|
+
text: text,
|
|
24
|
+
textAlign: textAlign,
|
|
25
|
+
vAlign: contentAlign,
|
|
26
|
+
link: {
|
|
27
|
+
buttons,
|
|
28
|
+
colorNeutral: colorNeutral,
|
|
29
|
+
arrangement: textAlign,
|
|
30
|
+
},
|
|
31
|
+
headline: {
|
|
32
|
+
text: headline,
|
|
33
|
+
level: "h2",
|
|
34
|
+
style: highlightText === true ? "h1" : undefined,
|
|
35
|
+
sub: sub,
|
|
36
|
+
spaceAfter: highlightText === true ? "large" : undefined,
|
|
37
|
+
align: textAlign,
|
|
38
|
+
},
|
|
39
|
+
} }) }));
|
|
39
40
|
});
|
|
40
41
|
const CtaContext = createContext(CtaContextDefault);
|
|
41
42
|
const Cta = forwardRef((props, ref) => {
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"title": "Call to Action",
|
|
48
48
|
"description": "The call to action",
|
|
49
49
|
"properties": {
|
|
50
|
-
"
|
|
50
|
+
"target": {
|
|
51
51
|
"type": "string",
|
|
52
|
-
"title": "Call to Action
|
|
53
|
-
"description": "The CTA
|
|
52
|
+
"title": "Call to Action target",
|
|
53
|
+
"description": "The CTA target",
|
|
54
54
|
"default": "#",
|
|
55
55
|
"format": "uri"
|
|
56
56
|
},
|
|
@@ -63,16 +63,6 @@
|
|
|
63
63
|
"See all our partners"
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
|
-
"icon": {
|
|
67
|
-
"type": "string",
|
|
68
|
-
"format": "icon",
|
|
69
|
-
"title": "Icon",
|
|
70
|
-
"description": "Icon for the link style of the cta",
|
|
71
|
-
"examples": [
|
|
72
|
-
"arrow-right"
|
|
73
|
-
],
|
|
74
|
-
"default": "arrow-right"
|
|
75
|
-
},
|
|
76
66
|
"toggle": {
|
|
77
67
|
"type": "boolean",
|
|
78
68
|
"title": "Call to Action Toggle",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"title": "Call to Action",
|
|
36
36
|
"description": "The call to action",
|
|
37
37
|
"properties": {
|
|
38
|
-
"
|
|
38
|
+
"target": {
|
|
39
39
|
"type": "string",
|
|
40
|
-
"title": "Call to Action
|
|
41
|
-
"description": "The CTA
|
|
40
|
+
"title": "Call to Action target",
|
|
41
|
+
"description": "The CTA target",
|
|
42
42
|
"default": "#",
|
|
43
43
|
"format": "uri"
|
|
44
44
|
},
|
|
@@ -49,14 +49,6 @@
|
|
|
49
49
|
"default": "See more",
|
|
50
50
|
"examples": ["See all our partners"]
|
|
51
51
|
},
|
|
52
|
-
"icon": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"format": "icon",
|
|
55
|
-
"title": "Icon",
|
|
56
|
-
"description": "Icon for the link style of the cta",
|
|
57
|
-
"examples": ["arrow-right"],
|
|
58
|
-
"default": "arrow-right"
|
|
59
|
-
},
|
|
60
52
|
"toggle": {
|
|
61
53
|
"type": "boolean",
|
|
62
54
|
"title": "Call to Action Toggle",
|
|
@@ -19,17 +19,13 @@ type Title = string;
|
|
|
19
19
|
*/
|
|
20
20
|
type Text = string;
|
|
21
21
|
/**
|
|
22
|
-
* The CTA
|
|
22
|
+
* The CTA target
|
|
23
23
|
*/
|
|
24
|
-
type
|
|
24
|
+
type CallToActionTarget = string;
|
|
25
25
|
/**
|
|
26
26
|
* The text label displayed on the link
|
|
27
27
|
*/
|
|
28
28
|
type LinkLabel = string;
|
|
29
|
-
/**
|
|
30
|
-
* Icon for the link style of the cta
|
|
31
|
-
*/
|
|
32
|
-
type Icon1 = string;
|
|
33
29
|
/**
|
|
34
30
|
* Activate/disable the CTAs
|
|
35
31
|
*/
|
|
@@ -48,9 +44,8 @@ interface FeatureProps {
|
|
|
48
44
|
* The call to action
|
|
49
45
|
*/
|
|
50
46
|
interface CallToAction {
|
|
51
|
-
|
|
47
|
+
target?: CallToActionTarget;
|
|
52
48
|
label?: LinkLabel;
|
|
53
|
-
icon?: Icon1;
|
|
54
49
|
toggle?: CallToActionToggle;
|
|
55
50
|
/**
|
|
56
51
|
* Choose the style of the CTA
|
|
@@ -4,9 +4,10 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { Icon } from '@kickstartds/base/lib/icon';
|
|
5
5
|
import { Button } from '../button/index.js';
|
|
6
6
|
import { Link } from '@kickstartds/base/lib/link';
|
|
7
|
+
import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
7
8
|
import '@kickstartds/base/lib/button';
|
|
8
9
|
|
|
9
|
-
const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon, cta, ...rest }, ref) => (jsxs("div", { ...rest, ref: ref, className: classnames(`dsa-feature dsa-feature--${style === `stack`
|
|
10
|
+
const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon, cta: { toggle = true, style: ctaStyle = "link", target, label = "Read more", }, ...rest }, ref) => (jsxs("div", { ...rest, ref: ref, className: classnames(`dsa-feature dsa-feature--${style === `stack`
|
|
10
11
|
? `stack dsa-feature--large`
|
|
11
12
|
: style === `besideSmall`
|
|
12
13
|
? `beside dsa-feature--small`
|
|
@@ -16,7 +17,7 @@ const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon,
|
|
|
16
17
|
? `intext dsa-feature--small`
|
|
17
18
|
: style === `centered`
|
|
18
19
|
? `centered dsa-feature--large`
|
|
19
|
-
: `${style}`}`), children: [jsxs("div", { className: "dsa-feature__header", children: [icon &&
|
|
20
|
+
: `${style}`}`), children: [jsxs("div", { className: "dsa-feature__header", children: [icon && jsx(Icon, { className: "dsa-feature__icon", icon: icon }), jsx("span", { className: "dsa-feature__title", children: title })] }), text || ctaStyle === "intext" ? (jsxs("div", { className: "dsa-feature__text", children: [jsx(RichText, { text: text }), ctaStyle === "intext" && toggle ? (jsxs(Fragment, { children: [" ", jsx(Link, { href: target, children: label ? label : "See more" })] })) : ("")] })) : (""), toggle && (ctaStyle === "link" || ctaStyle === "button") && (jsx("div", { className: "dsa-feature__cta", children: ctaStyle === "link" ? (jsxs(Link, { className: "dsa-feature__link", href: target, children: [label ? label : "See more", jsx(Icon, { icon: "arrow-right" })] })) : ctaStyle === "button" ? (jsx(Button, { className: "dsa-feature__button", size: "small", target: target, label: label ? label : "See more" })) : ("") }))] })));
|
|
20
21
|
const FeatureContext = createContext(FeatureContextDefault);
|
|
21
22
|
const Feature = forwardRef((props, ref) => {
|
|
22
23
|
const Component = useContext(FeatureContext);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--dsa-feature__title--color: var(--dsa-topic--color);
|
|
5
5
|
--dsa-feature__title--font: var(--ks-font-interface-m);
|
|
6
6
|
--dsa-feature__title--font-family: var(--dsa-topic--font-family);
|
|
7
|
-
--dsa-feature__copy--color: var(--
|
|
7
|
+
--dsa-feature__copy--color: var(--dsa-rich-text--color);
|
|
8
8
|
--dsa-feature__copy--font: var(--ks-font-copy-s);
|
|
9
9
|
--dsa-feature__link--font: var(--ks-font-copy-s);
|
|
10
10
|
--dsa-feature__link--font-weight: var(--dsa-link--font-weight);
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--dsa-feature__link--text-decoration_hover: none;
|
|
15
15
|
--dsa-feature__icon--color: var(--ks-text-color-primary);
|
|
16
16
|
--dsa-feature_small__icon--size: calc(var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m));
|
|
17
|
-
--dsa-feature_large__icon--size
|
|
17
|
+
--dsa-feature_large__icon--size: calc(var(--ks-font-size-copy-m) * 2.5);
|
|
18
18
|
--dsa-feature_small--gap: var(--ks-spacing-xs);
|
|
19
19
|
--dsa-feature_large--gap: var(--ks-spacing-s);
|
|
20
20
|
--dsa-feature_small__icon--gap: var(--ks-spacing-xs);
|
|
@@ -46,26 +46,40 @@
|
|
|
46
46
|
justify-content: center;
|
|
47
47
|
}
|
|
48
48
|
.dsa-features .dsa-feature {
|
|
49
|
-
--dsa-feature_large__icon--size: calc(
|
|
50
|
-
var(--dsa-feature_small__icon--size) * var(--dsa-feature_large__icon--size-multiplier)
|
|
51
|
-
);
|
|
52
49
|
display: flex;
|
|
53
50
|
position: relative;
|
|
54
51
|
flex-direction: column;
|
|
55
52
|
gap: var(--dsa-feature--gap);
|
|
56
53
|
}
|
|
57
54
|
.dsa-features .dsa-feature--large {
|
|
58
|
-
--dsa-feature__icon--size: var(
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
--dsa-feature__icon--size: var(
|
|
56
|
+
--dsa-feature_large__icon--size,
|
|
57
|
+
calc(var(--ks-font-size-copy-m) * 2.5)
|
|
58
|
+
);
|
|
59
|
+
--dsa-feature__icon--gap: var(
|
|
60
|
+
--dsa-feature_large__icon--gap,
|
|
61
|
+
var(--ks-spacing-xs)
|
|
62
|
+
);
|
|
63
|
+
--dsa-feature--gap: var(
|
|
64
|
+
--dsa-feature_large--gap,
|
|
65
|
+
var(--ks-spacing-stack-s)
|
|
66
|
+
);
|
|
61
67
|
}
|
|
62
68
|
.dsa-features .dsa-feature--small {
|
|
63
69
|
--dsa-feature__icon--size: var(
|
|
64
70
|
--dsa-feature_small__icon--size,
|
|
65
|
-
calc(
|
|
71
|
+
calc(
|
|
72
|
+
var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m)
|
|
73
|
+
)
|
|
74
|
+
);
|
|
75
|
+
--dsa-feature__icon--gap: var(
|
|
76
|
+
--dsa-feature_small__icon--gap,
|
|
77
|
+
var(--ks-spacing-xs)
|
|
78
|
+
);
|
|
79
|
+
--dsa-feature--gap: var(
|
|
80
|
+
--dsa-feature_small--gap,
|
|
81
|
+
var(--ks-spacing-stack-xs)
|
|
66
82
|
);
|
|
67
|
-
--dsa-feature__icon--gap: var(--dsa-feature_small__icon--gap, var(--ks-spacing-xs));
|
|
68
|
-
--dsa-feature--gap: var(--dsa-feature_small--gap, var(--ks-spacing-stack-xs));
|
|
69
83
|
}
|
|
70
84
|
.dsa-features .dsa-feature--beside {
|
|
71
85
|
padding-left: calc(var(--dsa-feature__icon--size) + var(--dsa-feature__icon--gap));
|
|
@@ -75,9 +89,6 @@
|
|
|
75
89
|
top: 0;
|
|
76
90
|
left: 0;
|
|
77
91
|
}
|
|
78
|
-
.dsa-features .dsa-feature--beside.dsa-feature--large {
|
|
79
|
-
padding-top: calc(var(--dsa-feature__icon--size) / 2 - var(--dsa-feature_small__icon--size) / 2);
|
|
80
|
-
}
|
|
81
92
|
.dsa-features .dsa-feature--stack .dsa-feature__header {
|
|
82
93
|
display: flex;
|
|
83
94
|
flex-direction: column;
|
|
@@ -106,15 +117,24 @@
|
|
|
106
117
|
}
|
|
107
118
|
.dsa-features .dsa-feature__title {
|
|
108
119
|
font: var(--dsa-feature__title--font, var(--ks-font-interface-m));
|
|
109
|
-
color: var(--dsa-feature__title--color, var(--
|
|
120
|
+
color: var(--dsa-feature__title--color, var(--ks-topic-color));
|
|
110
121
|
font-family: var(--dsa-feature__title--font-family, var(--ks-font-family-display));
|
|
111
122
|
font-weight: var(--dsa-feature__title--font-weight, var(--ks-font-weight-semi-bold));
|
|
112
123
|
}
|
|
113
124
|
.dsa-features .dsa-feature__text {
|
|
114
|
-
color: var(--dsa-feature__copy--color, var(--ks-text-color-copy));
|
|
115
|
-
font: var(--dsa-feature__copy--font, var(--ks-font-copy-s));
|
|
116
125
|
margin: 0;
|
|
117
126
|
}
|
|
127
|
+
.dsa-features .dsa-feature__text .c-rich-text {
|
|
128
|
+
--c-rich-text--font: var(
|
|
129
|
+
--dsa-feature__copy--font,
|
|
130
|
+
var(--ks-font-copy-s)
|
|
131
|
+
);
|
|
132
|
+
--c-rich-text--color: var(
|
|
133
|
+
--dsa-feature__copy--color,
|
|
134
|
+
var(--dsa-rich-text-color),
|
|
135
|
+
var(--ks-text-color-default)
|
|
136
|
+
);
|
|
137
|
+
}
|
|
118
138
|
.dsa-features .dsa-feature__icon {
|
|
119
139
|
color: var(--dsa-feature__icon--color, var(--ks-text-color-primary));
|
|
120
140
|
width: var(--dsa-feature__icon--size);
|
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
"cta": {
|
|
86
86
|
"type": "object",
|
|
87
87
|
"properties": {
|
|
88
|
-
"
|
|
88
|
+
"target": {
|
|
89
89
|
"type": "string",
|
|
90
|
-
"title": "Call to Action
|
|
91
|
-
"description": "The CTA
|
|
90
|
+
"title": "Call to Action target",
|
|
91
|
+
"description": "The CTA target",
|
|
92
92
|
"default": "#",
|
|
93
93
|
"format": "uri"
|
|
94
94
|
},
|
|
@@ -100,16 +100,6 @@
|
|
|
100
100
|
"examples": [
|
|
101
101
|
"See all our partners"
|
|
102
102
|
]
|
|
103
|
-
},
|
|
104
|
-
"icon": {
|
|
105
|
-
"type": "string",
|
|
106
|
-
"format": "icon",
|
|
107
|
-
"title": "Icon",
|
|
108
|
-
"description": "Icon for the link style of the cta",
|
|
109
|
-
"examples": [
|
|
110
|
-
"arrow-right"
|
|
111
|
-
],
|
|
112
|
-
"default": "arrow-right"
|
|
113
103
|
}
|
|
114
104
|
},
|
|
115
105
|
"additionalProperties": false
|
|
@@ -54,14 +54,11 @@
|
|
|
54
54
|
"cta": {
|
|
55
55
|
"type": "object",
|
|
56
56
|
"properties": {
|
|
57
|
-
"
|
|
58
|
-
"$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/
|
|
57
|
+
"target": {
|
|
58
|
+
"$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/target"
|
|
59
59
|
},
|
|
60
60
|
"label": {
|
|
61
61
|
"$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/label"
|
|
62
|
-
},
|
|
63
|
-
"icon": {
|
|
64
|
-
"$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/icon"
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { FeaturesProps } from "../../FeaturesProps-
|
|
3
|
+
import { FeaturesProps } from "../../FeaturesProps-e58616a5.js";
|
|
4
4
|
declare const FeaturesContextDefault: import("react").ForwardRefExoticComponent<FeaturesProps & Omit<HTMLAttributes<HTMLDivElement>, "style"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const FeaturesContext: import("react").Context<import("react").ForwardRefExoticComponent<FeaturesProps & Omit<HTMLAttributes<HTMLDivElement>, "style"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Features: import("react").ForwardRefExoticComponent<FeaturesProps & Omit<HTMLAttributes<HTMLDivElement>, "style"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -7,6 +7,7 @@ import '@kickstartds/base/lib/icon';
|
|
|
7
7
|
import '../button/index.js';
|
|
8
8
|
import '@kickstartds/base/lib/button';
|
|
9
9
|
import '@kickstartds/base/lib/link';
|
|
10
|
+
import '@kickstartds/base/lib/rich-text';
|
|
10
11
|
|
|
11
12
|
const FeaturesContextDefault = forwardRef(({ layout = "largeTiles", ctas = {
|
|
12
13
|
style: "link",
|
|
@@ -19,10 +20,9 @@ const FeaturesContextDefault = forwardRef(({ layout = "largeTiles", ctas = {
|
|
|
19
20
|
const { icon, title, text, cta, ...rest } = feature;
|
|
20
21
|
return (createElement(Feature, { ...rest, key: index, icon: icon, style: style, title: title, text: text, cta: {
|
|
21
22
|
label: cta?.label,
|
|
22
|
-
|
|
23
|
+
target: cta?.target,
|
|
23
24
|
style: ctas.style,
|
|
24
25
|
toggle: ctas.toggle,
|
|
25
|
-
icon: cta?.icon,
|
|
26
26
|
} }));
|
|
27
27
|
}) })));
|
|
28
28
|
const FeaturesContext = createContext(FeaturesContextDefault);
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
background-color: var(--dsa-footer--background-color, var(--ks-background-color-default));
|
|
28
28
|
}
|
|
29
29
|
.dsa-footer__content {
|
|
30
|
-
padding: var(--l-section--space-small) var(--dsa-content--
|
|
30
|
+
padding: var(--l-section--space-small) var(--dsa-content--spacing);
|
|
31
31
|
border-top: var(--dsa-footer--border-top, 1px solid var(--ks-border-color-default));
|
|
32
32
|
max-width: var(--dsa-footer--max-width, var(--dsa-content--width_wide));
|
|
33
33
|
width: 100%;
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"items": {
|
|
69
69
|
"type": "object",
|
|
70
70
|
"properties": {
|
|
71
|
-
"
|
|
71
|
+
"href": {
|
|
72
72
|
"type": "string",
|
|
73
73
|
"format": "uri"
|
|
74
74
|
},
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"items": {
|
|
84
84
|
"type": "object",
|
|
85
85
|
"properties": {
|
|
86
|
-
"
|
|
86
|
+
"href": {
|
|
87
87
|
"type": "string",
|
|
88
88
|
"format": "uri"
|
|
89
89
|
},
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
},
|
|
101
101
|
"additionalProperties": false,
|
|
102
102
|
"required": [
|
|
103
|
-
"
|
|
103
|
+
"href",
|
|
104
104
|
"label"
|
|
105
105
|
]
|
|
106
106
|
},
|
|
@@ -108,43 +108,43 @@
|
|
|
108
108
|
[
|
|
109
109
|
{
|
|
110
110
|
"label": "Active Item",
|
|
111
|
-
"
|
|
111
|
+
"href": "#",
|
|
112
112
|
"active": true
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"label": "Navigation Item",
|
|
116
|
-
"
|
|
116
|
+
"href": "#"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"label": "Dropdown",
|
|
120
|
-
"
|
|
120
|
+
"href": "#",
|
|
121
121
|
"items": [
|
|
122
122
|
{
|
|
123
123
|
"label": "Level 2 Item",
|
|
124
|
-
"
|
|
124
|
+
"href": "#"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"label": "Active Item",
|
|
128
128
|
"active": true,
|
|
129
|
-
"
|
|
129
|
+
"href": "#"
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"label": "An Item with a longer Label",
|
|
133
|
-
"
|
|
133
|
+
"href": "#"
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
"label": "And One last one",
|
|
137
|
-
"
|
|
137
|
+
"href": "#"
|
|
138
138
|
}
|
|
139
139
|
]
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"label": "One more Item",
|
|
143
|
-
"
|
|
143
|
+
"href": "#"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"label": "Last Item",
|
|
147
|
-
"
|
|
147
|
+
"href": "#"
|
|
148
148
|
}
|
|
149
149
|
]
|
|
150
150
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { FooterProps } from "../../FooterProps-
|
|
2
|
+
import { FooterProps } from "../../FooterProps-171a3067.js";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
declare const FooterContextDefault: import("react").ForwardRefExoticComponent<FooterProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const FooterContext: import("react").Context<import("react").ForwardRefExoticComponent<FooterProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -6,7 +6,7 @@ import { Link } from '@kickstartds/base/lib/link';
|
|
|
6
6
|
import { Logo } from '../logo/index.js';
|
|
7
7
|
import '@kickstartds/base/lib/picture';
|
|
8
8
|
|
|
9
|
-
const FooterContextDefault = forwardRef(({ byline, navItems, inverted, logo }, ref) => navItems && navItems.length > 0 ? (jsx("div", { className: classnames("dsa-footer"), "ks-inverted": inverted.toString(), ref: ref, children: jsxs("div", { className: "dsa-footer__content", children: [jsx(Logo, { ...logo, inverted: inverted }), byline && jsx("span", { className: "dsa-footer__byline", children: byline }), navItems.length > 0 ? (jsx("div", { className: "dsa-footer__links", children: navItems.map(({ label, active, ...linkProps }) => (createElement(Link, { ...linkProps, className: "dsa-footer__link", key: linkProps.
|
|
9
|
+
const FooterContextDefault = forwardRef(({ byline, navItems, inverted, logo }, ref) => navItems && navItems.length > 0 ? (jsx("div", { className: classnames("dsa-footer"), "ks-inverted": inverted.toString(), ref: ref, children: jsxs("div", { className: "dsa-footer__content", children: [jsx(Logo, { ...logo, inverted: inverted }), byline && jsx("span", { className: "dsa-footer__byline", children: byline }), navItems.length > 0 ? (jsx("div", { className: "dsa-footer__links", children: navItems.map(({ label, active, ...linkProps }) => (createElement(Link, { ...linkProps, className: "dsa-footer__link", key: linkProps.href + label }, label))) })) : null] }) })) : null);
|
|
10
10
|
const FooterContext = createContext(FooterContextDefault);
|
|
11
11
|
const Footer = forwardRef((props, ref) => {
|
|
12
12
|
const Component = useContext(FooterContext);
|
|
@@ -43,8 +43,7 @@
|
|
|
43
43
|
"type": "string",
|
|
44
44
|
"title": "Layout",
|
|
45
45
|
"description": "The layout of the gallery images",
|
|
46
|
-
"enum": ["stack", "smallTiles", "largeTiles"]
|
|
47
|
-
"default": "smallTiles"
|
|
46
|
+
"enum": ["stack", "smallTiles", "largeTiles"]
|
|
48
47
|
},
|
|
49
48
|
"aspectRatio": {
|
|
50
49
|
"type": "string",
|
|
@@ -4,7 +4,7 @@ import { forwardRef, useMemo, createContext, useContext } from 'react';
|
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { TextMedia } from '@kickstartds/base/lib/text-media';
|
|
6
6
|
|
|
7
|
-
const GalleryContextDefault = forwardRef(({ lightbox = false, layout = "
|
|
7
|
+
const GalleryContextDefault = forwardRef(({ lightbox = false, layout = "tiles", aspectRatio = "square", images = [], ...rest }, ref) => {
|
|
8
8
|
const galleryId = useMemo(() => `gallery-${Date.now()}`, []);
|
|
9
9
|
return (jsx("div", { ...rest, ref: ref, className: `dsa-gallery`, children: jsx("div", { className: classnames(`dsa-gallery__grid`, `dsa-gallery__grid--${layout === "smallTiles"
|
|
10
10
|
? "small-tiles"
|