@kickstartds/ds-agency-premium 1.7.0--canary.46.1927.0 → 1.7.0--canary.43.2352.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-d9decb7c.d.ts → BlogAsideProps-c760fd2a.d.ts} +5 -5
- package/dist/{BlogAuthorProps-88a11566.d.ts → BlogAuthorProps-fb0241df.d.ts} +7 -2
- package/dist/BlogOverviewProps-9f207f1c.d.ts +2 -2
- package/dist/{BlogPostProps-d9decb7c.d.ts → BlogPostProps-c760fd2a.d.ts} +3 -3
- package/dist/BusinessCardProps-e10e7b62.d.ts +101 -0
- package/dist/{ButtonProps-03ff6d21.d.ts → ButtonProps-4e2b2ecf.d.ts} +6 -4
- package/dist/ContactProps-7cac90e5.d.ts +70 -0
- package/dist/ContentNavProps-0e282a9f.d.ts +36 -0
- package/dist/{CtaProps-93230a76.d.ts → CtaProps-789f8508.d.ts} +16 -11
- package/dist/DownloadsProps-a49a977e.d.ts +34 -0
- package/dist/EventAppointmentProps-443cd1ce.d.ts +38 -0
- package/dist/EventDetailProps-42a7eebe.d.ts +387 -0
- package/dist/EventFilterProps-b190eb86.d.ts +73 -0
- package/dist/EventLatestTeaserProps-fc9d3281.d.ts +58 -0
- package/dist/EventListTeaserProps-5cc94436.d.ts +89 -0
- package/dist/EventLocationProps-871bc198.d.ts +41 -0
- package/dist/{FaqProps-ad618cd5.d.ts → FaqProps-78384db5.d.ts} +7 -12
- package/dist/{FeaturesProps-e58616a5.d.ts → FeaturesProps-a9041d97.d.ts} +9 -4
- package/dist/{FooterProps-171a3067.d.ts → FooterProps-a0a104ca.d.ts} +2 -2
- package/dist/{HeaderProps-e22382f1.d.ts → HeaderProps-72763967.d.ts} +2 -2
- package/dist/HeadlineProps-e1305784.d.ts +53 -0
- package/dist/{HeroProps-f704d270.d.ts → HeroProps-fec6b267.d.ts} +15 -5
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/{LogosProps-f9474fe2.d.ts → LogosProps-d4677d2c.d.ts} +1 -23
- package/dist/MosaicProps-d52c7151.d.ts +4 -4
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/SearchBarProps-26263244.d.ts +29 -0
- package/dist/SearchFilterProps-2fa6419b.d.ts +29 -0
- package/dist/SearchFormProps-3d2c3462.d.ts +30 -0
- package/dist/SearchResultMatchProps-777cd47c.d.ts +23 -0
- package/dist/SearchResultProps-f6f07017.d.ts +44 -0
- package/dist/{SectionProps-1cfcf6e8.d.ts → SectionProps-7cac90e5.d.ts} +27 -13
- package/dist/{SliderProps-93230a76.d.ts → SliderProps-789f8508.d.ts} +5 -5
- package/dist/SplitEvenProps-7cac90e5.d.ts +72 -0
- package/dist/SplitWeightedProps-7cac90e5.d.ts +102 -0
- package/dist/{TeaserCardProps-b9c28e78.d.ts → TeaserCardProps-d069476f.d.ts} +9 -4
- package/dist/{VideoCurtainProps-6c625a69.d.ts → VideoCurtainProps-a2c0cc7f.d.ts} +5 -5
- package/dist/components/blog-aside/blog-aside.css +4 -4
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +16 -14
- 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 +12 -7
- package/dist/components/blog-author/index.d.ts +1 -1
- package/dist/components/blog-head/blog-head.schema.dereffed.json +0 -6
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +17053 -1570
- package/dist/components/blog-post/blog-post.schema.dereffed.json +17068 -1571
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +5 -3
- package/dist/components/blog-tag/blog-tag.schema.dereffed.json +0 -3
- package/dist/components/blog-teaser/blog-teaser.css +2 -2
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +0 -6
- package/dist/components/blog-teaser/index.js +5 -7
- package/dist/components/breadcrumb/breadcrumb.css +32 -0
- package/dist/components/breadcrumb/breadcrumb.schema.dereffed.json +31 -0
- package/dist/components/breadcrumb/breadcrumb.schema.json +27 -0
- package/dist/components/breadcrumb/index.d.ts +28 -0
- package/dist/components/breadcrumb/index.js +22 -0
- package/dist/components/business-card/business-card.css +186 -0
- package/dist/components/business-card/business-card.schema.dereffed.json +141 -0
- package/dist/components/business-card/business-card.schema.json +126 -0
- package/dist/components/business-card/index.d.ts +7 -0
- package/dist/components/business-card/index.js +31 -0
- package/dist/components/button/button.css +5 -2
- package/dist/components/button/button.schema.dereffed.json +10 -4
- package/dist/components/button/button.schema.json +8 -3
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +19 -9
- package/dist/components/button-group/button-group.schema.dereffed.json +12 -9
- package/dist/components/button-group/index.d.ts +4 -4
- package/dist/components/button-group/index.js +11 -2
- package/dist/components/contact/contact.css +11 -17
- package/dist/components/contact/contact.schema.dereffed.json +13 -8
- package/dist/components/contact/contact.schema.json +11 -5
- package/dist/components/contact/index.d.ts +1 -65
- package/dist/components/contact/index.js +1 -1
- package/dist/components/content-nav/content-nav.css +122 -0
- package/dist/components/content-nav/content-nav.schema.dereffed.json +58 -0
- package/dist/components/content-nav/content-nav.schema.json +52 -0
- package/dist/components/content-nav/index.d.ts +7 -0
- package/dist/components/content-nav/index.js +21 -0
- package/dist/components/cookie-consent/C15t.client.d.ts +5 -0
- package/dist/components/cookie-consent/C15t.client.js +123 -0
- package/dist/components/cookie-consent/CookieConsent.client.d.ts +29 -0
- package/dist/components/cookie-consent/CookieConsent.client.js +84 -0
- package/dist/components/cookie-consent/cookie-consent.css +255 -0
- package/dist/components/cookie-consent/cookie-consent.schema.dereffed.json +256 -0
- package/dist/components/cookie-consent/cookie-consent.schema.json +224 -0
- package/dist/components/cookie-consent/index.d.ts +143 -0
- package/dist/components/cookie-consent/index.js +26 -0
- package/dist/components/cta/cta.css +48 -71
- package/dist/components/cta/cta.schema.dereffed.json +21 -13
- package/dist/components/cta/cta.schema.json +17 -10
- package/dist/components/cta/index.d.ts +1 -1
- package/dist/components/cta/index.js +29 -29
- package/dist/components/divider/divider.schema.dereffed.json +0 -3
- package/dist/components/downloads/downloads.css +158 -0
- package/dist/components/downloads/downloads.schema.dereffed.json +52 -0
- package/dist/components/downloads/downloads.schema.json +44 -0
- package/dist/components/downloads/index.d.ts +8 -0
- package/dist/components/downloads/index.js +23 -0
- package/dist/components/event-appointment/event-appointment.css +63 -0
- package/dist/components/event-appointment/event-appointment.schema.dereffed.json +53 -0
- package/dist/components/event-appointment/event-appointment.schema.json +47 -0
- package/dist/components/event-appointment/index.d.ts +7 -0
- package/dist/components/event-appointment/index.js +21 -0
- package/dist/components/event-detail/event-detail.schema.dereffed.json +278 -0
- package/dist/components/event-detail/event-detail.schema.json +74 -0
- package/dist/components/event-detail/index.d.ts +5 -0
- package/dist/components/event-detail/index.js +37 -0
- package/dist/components/event-filter/event-filter.css +31 -0
- package/dist/components/event-filter/event-filter.schema.dereffed.json +115 -0
- package/dist/components/event-filter/event-filter.schema.json +107 -0
- package/dist/components/event-filter/index.d.ts +7 -0
- package/dist/components/event-filter/index.js +61 -0
- package/dist/components/event-header/event-header.css +6 -0
- package/dist/components/event-header/event-header.schema.dereffed.json +35 -0
- package/dist/components/event-header/event-header.schema.json +34 -0
- package/dist/components/event-header/index.d.ts +35 -0
- package/dist/components/event-header/index.js +25 -0
- package/dist/components/event-latest/event-latest.css +5 -0
- package/dist/components/event-latest/event-latest.schema.dereffed.json +136 -0
- package/dist/components/event-latest/event-latest.schema.json +46 -0
- package/dist/components/event-latest/index.d.ts +30 -0
- package/dist/components/event-latest/index.js +24 -0
- package/dist/components/event-latest-teaser/event-latest-teaser.css +131 -0
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.dereffed.json +94 -0
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.json +73 -0
- package/dist/components/event-latest-teaser/index.d.ts +8 -0
- package/dist/components/event-latest-teaser/index.js +23 -0
- package/dist/components/event-list/event-list.schema.dereffed.json +275 -0
- package/dist/components/event-list/event-list.schema.json +18 -0
- package/dist/components/event-list/index.d.ts +19 -0
- package/dist/components/event-list/index.js +74 -0
- package/dist/components/event-list-teaser/event-list-teaser.css +143 -0
- package/dist/components/event-list-teaser/event-list-teaser.schema.dereffed.json +148 -0
- package/dist/components/event-list-teaser/event-list-teaser.schema.json +116 -0
- package/dist/components/event-list-teaser/index.d.ts +8 -0
- package/dist/components/event-list-teaser/index.js +28 -0
- package/dist/components/event-location/event-location.css +71 -0
- package/dist/components/event-location/event-location.schema.dereffed.json +120 -0
- package/dist/components/event-location/event-location.schema.json +61 -0
- package/dist/components/event-location/index.d.ts +7 -0
- package/dist/components/event-location/index.js +25 -0
- package/dist/components/event-login/event-login.css +31 -0
- package/dist/components/event-login/event-login.schema.dereffed.json +122 -0
- package/dist/components/event-login/event-login.schema.json +98 -0
- package/dist/components/event-login/index.d.ts +78 -0
- package/dist/components/event-login/index.js +31 -0
- package/dist/components/event-registration/event-registration.css +88 -0
- package/dist/components/event-registration/event-registration.schema.dereffed.json +171 -0
- package/dist/components/event-registration/event-registration.schema.json +138 -0
- package/dist/components/event-registration/index.d.ts +106 -0
- package/dist/components/event-registration/index.js +36 -0
- package/dist/components/faq/faq.css +1 -1
- package/dist/components/faq/faq.schema.dereffed.json +2 -5
- package/dist/components/faq/faq.schema.json +2 -1
- package/dist/components/faq/index.d.ts +24 -7
- package/dist/components/faq/index.js +1 -1
- package/dist/components/feature/feature.schema.dereffed.json +13 -6
- package/dist/components/feature/feature.schema.json +11 -3
- package/dist/components/feature/index.d.ts +8 -3
- package/dist/components/feature/index.js +5 -4
- package/dist/components/features/features.css +12 -14
- package/dist/components/features/features.schema.dereffed.json +13 -6
- package/dist/components/features/features.schema.json +5 -2
- package/dist/components/features/index.d.ts +1 -1
- package/dist/components/features/index.js +3 -2
- package/dist/components/footer/footer.css +4 -3
- package/dist/components/footer/footer.schema.dereffed.json +12 -15
- 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 +2 -4
- package/dist/components/gallery/gallery.schema.json +2 -1
- package/dist/components/gallery/index.js +2 -1
- package/dist/components/header/header.css +52 -9
- package/dist/components/header/header.schema.dereffed.json +12 -15
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +5 -5
- package/dist/components/headline/headline.css +33 -41
- package/dist/components/headline/headline.schema.dereffed.json +0 -3
- package/dist/components/headline/index.d.ts +1 -53
- package/dist/components/headline/index.js +13 -4
- package/dist/components/hero/hero.css +145 -52
- package/dist/components/hero/hero.schema.dereffed.json +19 -8
- package/dist/components/hero/hero.schema.json +24 -4
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/hero/index.js +52 -40
- package/dist/components/html/html.schema.dereffed.json +0 -3
- package/dist/components/image-story/image-story.css +13 -6
- package/dist/components/image-story/image-story.schema.dereffed.json +10 -7
- package/dist/components/image-text/image-text.css +4 -4
- package/dist/components/image-text/image-text.schema.dereffed.json +0 -3
- package/dist/components/index/index.d.ts +4 -3
- package/dist/components/logo/logo.schema.dereffed.json +0 -3
- package/dist/components/logos/index.d.ts +1 -1
- package/dist/components/logos/index.js +1 -1
- package/dist/components/logos/logos.css +2 -2
- package/dist/components/logos/logos.schema.dereffed.json +7 -11
- package/dist/components/logos/logos.schema.json +7 -8
- package/dist/components/mosaic/index.js +1 -1
- package/dist/components/mosaic/mosaic.css +5 -7
- package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -9
- 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 +13 -4
- package/dist/components/nav-dropdown/nav-dropdown.schema.dereffed.json +1 -4
- package/dist/components/nav-flyout/index.d.ts +2 -2
- package/dist/components/nav-flyout/index.js +6 -8
- package/dist/components/nav-flyout/nav-flyout.css +29 -15
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -18
- package/dist/components/nav-main/index.d.ts +5 -5
- package/dist/components/nav-main/index.js +0 -2
- package/dist/components/nav-main/nav-main.schema.dereffed.json +15 -21
- 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 +17 -4
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -15
- package/dist/components/page/page.schema.dereffed.json +17045 -1552
- package/dist/components/page-wrapper/index.js +51 -1
- package/dist/components/page-wrapper/tokens.css +448 -752
- package/dist/components/pagination/index.d.ts +55 -0
- package/dist/components/pagination/index.js +58 -0
- package/dist/components/pagination/pagination.css +90 -0
- package/dist/components/pagination/pagination.schema.dereffed.json +64 -0
- package/dist/components/pagination/pagination.schema.json +60 -0
- package/dist/components/presets.json +2314 -521
- package/dist/components/providers/index.js +1 -1
- package/dist/components/search/index.d.ts +29 -0
- package/dist/components/search/index.js +53 -0
- package/dist/components/search/search.schema.dereffed.json +301 -0
- package/dist/components/search/search.schema.json +24 -0
- package/dist/components/search-bar/index.d.ts +7 -0
- package/dist/components/search-bar/index.js +20 -0
- package/dist/components/search-bar/search-bar.css +33 -0
- package/dist/components/search-bar/search-bar.schema.dereffed.json +45 -0
- package/dist/components/search-bar/search-bar.schema.json +35 -0
- package/dist/components/search-filter/index.d.ts +7 -0
- package/dist/components/search-filter/index.js +20 -0
- package/dist/components/search-filter/search-filter.css +22 -0
- package/dist/components/search-filter/search-filter.schema.dereffed.json +66 -0
- package/dist/components/search-filter/search-filter.schema.json +46 -0
- package/dist/components/search-form/SearchForm.client.d.ts +25 -0
- package/dist/components/search-form/SearchForm.client.js +228 -0
- package/dist/components/search-form/SearchFormPagefind.client.d.ts +5 -0
- package/dist/components/search-form/SearchFormPagefind.client.js +40 -0
- package/dist/components/search-form/index.d.ts +4 -0
- package/dist/components/search-form/index.js +25 -0
- package/dist/components/search-form/search-form.css +10 -0
- package/dist/components/search-form/search-form.schema.dereffed.json +49 -0
- package/dist/components/search-form/search-form.schema.json +38 -0
- package/dist/components/search-modal/RadioEmit.client.d.ts +5 -0
- package/dist/components/search-modal/RadioEmit.client.js +17 -0
- package/dist/components/search-modal/SearchModal.client.d.ts +5 -0
- package/dist/components/search-modal/SearchModal.client.js +31 -0
- package/dist/components/search-modal/index.d.ts +18 -0
- package/dist/components/search-modal/index.js +39 -0
- package/dist/components/search-modal/search-modal.css +27 -0
- package/dist/components/search-modal/search-modal.schema.dereffed.json +70 -0
- package/dist/components/search-modal/search-modal.schema.json +24 -0
- package/dist/components/search-result/index.d.ts +7 -0
- package/dist/components/search-result/index.js +29 -0
- package/dist/components/search-result/search-result.css +76 -0
- package/dist/components/search-result/search-result.schema.dereffed.json +90 -0
- package/dist/components/search-result/search-result.schema.json +52 -0
- package/dist/components/search-result-match/index.d.ts +7 -0
- package/dist/components/search-result-match/index.js +18 -0
- package/dist/components/search-result-match/search-result-match.css +18 -0
- package/dist/components/search-result-match/search-result-match.schema.dereffed.json +33 -0
- package/dist/components/search-result-match/search-result-match.schema.json +31 -0
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +15 -17
- package/dist/components/section/section.css +45 -58
- package/dist/components/section/section.schema.dereffed.json +17045 -1546
- package/dist/components/section/section.schema.json +38 -11
- package/dist/components/seo/seo.schema.dereffed.json +0 -3
- package/dist/components/settings/settings.schema.dereffed.json +24 -36
- package/dist/components/slider/index.d.ts +4 -2
- package/dist/components/slider/index.js +19 -3
- package/dist/components/slider/slider.css +14 -9
- package/dist/components/slider/slider.schema.dereffed.json +72 -67
- package/dist/components/split-even/index.d.ts +12 -0
- package/dist/components/split-even/index.js +26 -0
- package/dist/components/split-even/split-even.css +103 -0
- package/dist/components/split-even/split-even.schema.dereffed.json +7322 -0
- package/dist/components/split-even/split-even.schema.json +212 -0
- package/dist/components/split-weighted/index.d.ts +12 -0
- package/dist/components/split-weighted/index.js +42 -0
- package/dist/components/split-weighted/split-weighted.css +133 -0
- package/dist/components/split-weighted/split-weighted.schema.dereffed.json +7382 -0
- package/dist/components/split-weighted/split-weighted.schema.json +254 -0
- package/dist/components/stat/stat.schema.dereffed.json +0 -3
- package/dist/components/stats/stats.schema.dereffed.json +0 -6
- package/dist/components/teaser-card/index.d.ts +1 -1
- package/dist/components/teaser-card/index.js +10 -9
- package/dist/components/teaser-card/teaser-card.css +106 -54
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +10 -7
- package/dist/components/teaser-card/teaser-card.schema.json +10 -4
- package/dist/components/testimonial/testimonial.schema.dereffed.json +0 -3
- package/dist/components/testimonials/index.d.ts +1 -1
- package/dist/components/testimonials/testimonials.css +4 -0
- package/dist/components/testimonials/testimonials.schema.dereffed.json +0 -3
- package/dist/components/text/text.css +2 -2
- package/dist/components/text/text.schema.dereffed.json +0 -3
- package/dist/components/tile/tile.schema.dereffed.json +3 -6
- 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 +12 -4
- package/dist/components/video-curtain/video-curtain.css +54 -31
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +6 -7
- package/dist/components/video-curtain/video-curtain.schema.json +3 -3
- package/dist/global.css +1310 -66
- 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 +72 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-02.svg +112 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-03.svg +197 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-04.svg +76 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-05.svg +82 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-06.svg +219 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-07.svg +85 -0
- package/dist/static/img/logos/logoipsum-344.svg +174 -0
- package/dist/static/img/logos/logoipsum-347.svg +52 -0
- package/dist/static/img/logos/logoipsum-352.svg +22 -0
- package/dist/static/img/logos/logoipsum-356.svg +20 -0
- package/dist/static/img/logos/logoipsum-358.svg +29 -0
- package/dist/static/img/logos/logoipsum-369.svg +20 -0
- package/dist/static/img/logos/logoipsum-373.svg +17 -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/people/contact-person.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-button--primary-button.png +0 -0
- package/dist/static/img/screenshots/components-button--primary-disabled-button.png +0 -0
- package/dist/static/img/screenshots/components-button--secondary-button.png +0 -0
- package/dist/static/img/screenshots/components-button--tertiary-button.png +0 -0
- package/dist/static/img/screenshots/components-contact--circular-avatar.png +0 -0
- package/dist/static/img/screenshots/components-contact--full-image-width.png +0 -0
- package/dist/static/img/screenshots/components-contact--vertical-image-with-paragraph.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-gallery--free-aspect-ratio.png +0 -0
- package/dist/static/img/screenshots/components-gallery--large-landscape-tiles.png +0 -0
- package/dist/static/img/screenshots/components-gallery--small-squares-with-lightbox.png +0 -0
- package/dist/static/img/screenshots/components-gallery--stack-landscape.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-below-image.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-image-story--sticky-image-next-to-scrolling-text.png +0 -0
- package/dist/static/img/screenshots/components-image-text--above-layout.png +0 -0
- package/dist/static/img/screenshots/components-image-text--beside-right-layout.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-logos--logo-row.png +0 -0
- package/dist/static/img/screenshots/components-logos--logo-wall.png +0 -0
- package/dist/static/img/screenshots/components-mosaic--colorful-text-with-illustrations.png +0 -0
- package/dist/static/img/screenshots/components-mosaic--colorful-tiles.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-teaser-card--product-tiles.png +0 -0
- package/dist/static/img/screenshots/components-teaser-card--showcase-preview.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/components-text--centered.png +0 -0
- package/dist/static/img/screenshots/components-text--highlight.png +0 -0
- package/dist/static/img/screenshots/components-text--multi-column.png +0 -0
- package/dist/static/img/screenshots/components-text--single-column.png +0 -0
- package/dist/static/img/screenshots/components-video-curtain--atmospheric-video-with-overlay.png +0 -0
- package/dist/static/img/screenshots/components-video-curtain--color-neutral-text.png +0 -0
- package/dist/static/img/screenshots/components-video-curtain--color-neutral-video.png +0 -0
- package/dist/static/img/screenshots/corporate-breadcrumb--default.png +0 -0
- package/dist/static/img/screenshots/corporate-business-card--centered.png +0 -0
- package/dist/static/img/screenshots/corporate-business-card--default.png +0 -0
- package/dist/static/img/screenshots/corporate-business-card--without-image.png +0 -0
- package/dist/static/img/screenshots/corporate-content-nav--default.png +0 -0
- package/dist/static/img/screenshots/corporate-cookie-consent--banner.png +0 -0
- package/dist/static/img/screenshots/corporate-cookie-consent--c-15-t.png +0 -0
- package/dist/static/img/screenshots/corporate-cookie-consent--card.png +0 -0
- package/dist/static/img/screenshots/corporate-downloads--complete.png +0 -0
- package/dist/static/img/screenshots/corporate-downloads--description-only.png +0 -0
- package/dist/static/img/screenshots/corporate-downloads--mixed.png +0 -0
- package/dist/static/img/screenshots/corporate-downloads--technical-details-only.png +0 -0
- package/dist/static/img/screenshots/corporate-pagination--default.png +0 -0
- package/dist/static/img/screenshots/corporate-search-bar--default.png +0 -0
- package/dist/static/img/screenshots/corporate-search-filter--default.png +0 -0
- package/dist/static/img/screenshots/corporate-search-form--pagefind.png +0 -0
- package/dist/static/img/screenshots/corporate-search-modal--pagefind.png +0 -0
- package/dist/static/img/screenshots/corporate-search-result--default.png +0 -0
- package/dist/static/img/screenshots/event-event-filter--default.png +0 -0
- package/dist/static/img/screenshots/event-event-header--default.png +0 -0
- package/dist/static/img/screenshots/event-event-latest--default.png +0 -0
- package/dist/static/img/screenshots/event-event-latest-teaser--default.png +0 -0
- package/dist/static/img/screenshots/event-event-list-teaser--default.png +0 -0
- package/dist/static/img/screenshots/event-event-location--default.png +0 -0
- package/dist/static/img/screenshots/event-event-login--default.png +0 -0
- package/dist/static/img/screenshots/event-event-registration--default.png +0 -0
- package/dist/static/img/screenshots/form-checkbox--default.png +0 -0
- package/dist/static/img/screenshots/form-radio--default.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-divider--default.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--dynamic-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--framed.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--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/layout-split-even--faq-with-form.png +0 -0
- package/dist/static/img/screenshots/layout-split-even--text-with-logos.png +0 -0
- package/dist/static/img/screenshots/layout-split-weighted--text-with-contact.png +0 -0
- package/dist/static/img/screenshots/layout-split-weighted--text-with-teaser.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-about--about.png +0 -0
- package/dist/static/img/screenshots/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-event-detail--event-detail.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-event-list--event-list.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-job-detail--job-detail.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-jobs--jobs.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-search--search.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-showcase--showcase.png +0 -0
- package/dist/static/logo-dark.svg +13 -0
- package/dist/static/logo-dsa-inverted.svg +26 -0
- package/dist/static/logo-dsa.svg +26 -0
- package/dist/static/logo-inverted.svg +12 -25
- package/dist/static/logo.svg +12 -25
- package/dist/tokens/IconSprite.js +50 -0
- package/dist/tokens/icon-sprite.html +18 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +448 -752
- package/dist/tokens/tokens.js +673 -774
- package/package.json +14 -5
- package/dist/components/split/index.d.ts +0 -14
- package/dist/components/split/index.js +0 -17
- package/dist/components/split/split.css +0 -53
- package/dist/components/split/split.schema.dereffed.json +0 -29
- package/dist/components/split/split.schema.json +0 -19
- package/dist/static/img/logos/logoipsum-212.svg +0 -12
- package/dist/static/img/logos/logoipsum-217.svg +0 -4
- package/dist/static/img/logos/logoipsum-239.svg +0 -16
- package/dist/static/img/logos/logoipsum-244.svg +0 -19
- package/dist/static/img/logos/logoipsum-250.svg +0 -21
- package/dist/static/img/logos/logoipsum-286.svg +0 -20
- 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--spotlight.png +0 -0
- package/dist/static/img/screenshots/layout-section--stagelights.png +0 -0
|
@@ -9,11 +9,11 @@ import { ButtonGroupProvider } from '../button-group/index.js';
|
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'classnames';
|
|
11
11
|
import '@kickstartds/base/lib/button';
|
|
12
|
+
import '../../helpers-12f48df8.js';
|
|
12
13
|
import '@kickstartds/core/lib/react';
|
|
13
14
|
import '@kickstartds/base/lib/section';
|
|
14
15
|
import '../section/js/Section.client.js';
|
|
15
16
|
import '@kickstartds/core/lib/component';
|
|
16
|
-
import '../../helpers-12f48df8.js';
|
|
17
17
|
import '@kickstartds/base/lib/teaser-box';
|
|
18
18
|
import '@kickstartds/core/lib/container';
|
|
19
19
|
import 'markdown-to-jsx';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
import { HeadlineProps } from "../../HeadlineProps-e1305784.js";
|
|
9
|
+
import { SearchBarProps } from "../../SearchBarProps-26263244.js";
|
|
10
|
+
import { SearchFilterProps } from "../../SearchFilterProps-2fa6419b.js";
|
|
11
|
+
import { SearchResultProps } from "../../SearchResultProps-f6f07017.js";
|
|
12
|
+
interface SearchProps {
|
|
13
|
+
/**
|
|
14
|
+
* Referenced component HeadlineProps
|
|
15
|
+
*/
|
|
16
|
+
headline?: HeadlineProps;
|
|
17
|
+
/**
|
|
18
|
+
* Referenced component SearchBarProps
|
|
19
|
+
*/
|
|
20
|
+
searchBar?: SearchBarProps;
|
|
21
|
+
/**
|
|
22
|
+
* Referenced component SearchFilterProps
|
|
23
|
+
*/
|
|
24
|
+
searchFilter?: SearchFilterProps;
|
|
25
|
+
searchResults?: SearchResultProps[];
|
|
26
|
+
}
|
|
27
|
+
declare const Search: FC<PropsWithChildren<SearchProps>>;
|
|
28
|
+
export type { SearchProps };
|
|
29
|
+
export { Search };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Section } from '../section/index.js';
|
|
3
|
+
import { SplitWeighted } from '../split-weighted/index.js';
|
|
4
|
+
import { SearchFilter } from '../search-filter/index.js';
|
|
5
|
+
import { SearchResult } from '../search-result/index.js';
|
|
6
|
+
import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
7
|
+
import { Pagination } from '../pagination/index.js';
|
|
8
|
+
import { SearchBar } from '../search-bar/index.js';
|
|
9
|
+
import { Headline } from '../headline/index.js';
|
|
10
|
+
import 'react';
|
|
11
|
+
import 'classnames';
|
|
12
|
+
import '@kickstartds/core/lib/react';
|
|
13
|
+
import '@kickstartds/base/lib/section';
|
|
14
|
+
import '../section/js/Section.client.js';
|
|
15
|
+
import '@kickstartds/core/lib/component';
|
|
16
|
+
import '../../helpers-12f48df8.js';
|
|
17
|
+
import 'markdown-to-jsx';
|
|
18
|
+
import '@kickstartds/base/lib/link';
|
|
19
|
+
import '@kickstartds/base/lib/picture';
|
|
20
|
+
import '@kickstartds/core/lib/container';
|
|
21
|
+
import '../search-result-match/index.js';
|
|
22
|
+
import '@kickstartds/base/lib/icon';
|
|
23
|
+
import '@kickstartds/form/lib/text-field';
|
|
24
|
+
import '@kickstartds/base/lib/headline';
|
|
25
|
+
|
|
26
|
+
const Search = ({ headline, searchBar, searchFilter, searchResults, }) => (jsxs(Fragment, { children: [jsxs(Section, { content: {
|
|
27
|
+
mode: "list",
|
|
28
|
+
gutter: "none",
|
|
29
|
+
}, spaceAfter: "small", children: [jsx(Headline, { ...headline }), jsx(SearchBar, { ...searchBar })] }), jsx(Section, { width: "wide", spaceBefore: "small", content: {
|
|
30
|
+
mode: "list",
|
|
31
|
+
}, children: jsx(SplitWeighted, { verticalAlign: "sticky", mainLayout: {
|
|
32
|
+
minWidth: "narrow",
|
|
33
|
+
gutter: "large",
|
|
34
|
+
}, asideLayout: {
|
|
35
|
+
gutter: "small",
|
|
36
|
+
}, order: {
|
|
37
|
+
desktop: "asideFirst",
|
|
38
|
+
mobile: "asideFirst",
|
|
39
|
+
}, aside: jsxs(Fragment, { children: [jsx(SearchFilter, { ...searchFilter }), jsx(RichText, { text: `Showing 6 out of 18 results` })] }), main: jsxs(Fragment, { children: [searchResults.map((searchResult, index) => (jsx(SearchResult, { ...searchResult }, index))), jsx(Pagination, { pages: [
|
|
40
|
+
{
|
|
41
|
+
url: "https://example.com/page1",
|
|
42
|
+
active: true,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
url: "https://example.com/page2",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
url: "https://example.com/page3",
|
|
49
|
+
},
|
|
50
|
+
] })] }) }) })] }));
|
|
51
|
+
Search.displayName = "Search";
|
|
52
|
+
|
|
53
|
+
export { Search };
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/cms/search.schema.json",
|
|
4
|
+
"title": "Search",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"headline": {
|
|
8
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
9
|
+
"$id": "http://schema.mydesignsystem.com/headline.schema.json",
|
|
10
|
+
"title": "Headline",
|
|
11
|
+
"description": "Component used for headlines",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"text": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "Text",
|
|
17
|
+
"description": "Text content of headline",
|
|
18
|
+
"format": "markdown"
|
|
19
|
+
},
|
|
20
|
+
"sub": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"title": "Sub",
|
|
23
|
+
"description": "Subheadline content",
|
|
24
|
+
"format": "markdown"
|
|
25
|
+
},
|
|
26
|
+
"switchOrder": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"title": "Switch order?",
|
|
29
|
+
"description": "Switch order of headline and subheadline",
|
|
30
|
+
"default": false
|
|
31
|
+
},
|
|
32
|
+
"align": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"title": "Section alignment",
|
|
35
|
+
"enum": [
|
|
36
|
+
"left",
|
|
37
|
+
"center",
|
|
38
|
+
"right"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"level": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"title": "Level",
|
|
44
|
+
"description": "Level of headline to use",
|
|
45
|
+
"enum": [
|
|
46
|
+
"h1",
|
|
47
|
+
"h2",
|
|
48
|
+
"h3",
|
|
49
|
+
"h4",
|
|
50
|
+
"p"
|
|
51
|
+
],
|
|
52
|
+
"default": "h2"
|
|
53
|
+
},
|
|
54
|
+
"style": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"title": "Style",
|
|
57
|
+
"description": "Style of headline to show",
|
|
58
|
+
"enum": [
|
|
59
|
+
"h1",
|
|
60
|
+
"h2",
|
|
61
|
+
"h3",
|
|
62
|
+
"h4",
|
|
63
|
+
"p"
|
|
64
|
+
],
|
|
65
|
+
"default": "h2"
|
|
66
|
+
},
|
|
67
|
+
"spaceAfter": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"title": "Space after?",
|
|
70
|
+
"description": "Whether to display space after headline",
|
|
71
|
+
"enum": [
|
|
72
|
+
"minimum",
|
|
73
|
+
"small",
|
|
74
|
+
"large"
|
|
75
|
+
],
|
|
76
|
+
"default": "small"
|
|
77
|
+
},
|
|
78
|
+
"className": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"title": "Class Name",
|
|
81
|
+
"description": "Set a custom class name"
|
|
82
|
+
},
|
|
83
|
+
"id": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"title": "ID",
|
|
86
|
+
"description": "Set a custom id attribute"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"additionalProperties": false,
|
|
90
|
+
"required": [
|
|
91
|
+
"level",
|
|
92
|
+
"text"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"searchBar": {
|
|
96
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
97
|
+
"$id": "http://schema.mydesignsystem.com/search-bar.schema.json",
|
|
98
|
+
"title": "Search Bar",
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"placeholder": {
|
|
102
|
+
"title": "Placeholder",
|
|
103
|
+
"type": "string",
|
|
104
|
+
"description": "Placeholder text for the search input field.",
|
|
105
|
+
"examples": [
|
|
106
|
+
"Search..."
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"buttonText": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "Text displayed on the search button.",
|
|
112
|
+
"examples": [
|
|
113
|
+
"Search"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"hint": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "Additional information or instructions related to the search functionality.",
|
|
119
|
+
"examples": [
|
|
120
|
+
"Press <kbd>Enter</kbd> to search"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"alternativeText": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Text to display when offering alternative results.",
|
|
126
|
+
"examples": [
|
|
127
|
+
"Did you mean"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"alternativeResult": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "The alternative result to display when offering suggestions.",
|
|
133
|
+
"examples": [
|
|
134
|
+
"AI Conference"
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"additionalProperties": false
|
|
139
|
+
},
|
|
140
|
+
"searchFilter": {
|
|
141
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
142
|
+
"$id": "http://schema.mydesignsystem.com/search-filter.schema.json",
|
|
143
|
+
"title": "Search Filter",
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {
|
|
146
|
+
"title": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"description": "The title of the search filter.",
|
|
149
|
+
"examples": [
|
|
150
|
+
"Search by category"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"categories": {
|
|
154
|
+
"type": "array",
|
|
155
|
+
"description": "The categories to filter by.",
|
|
156
|
+
"examples": [
|
|
157
|
+
[
|
|
158
|
+
{
|
|
159
|
+
"title": "Pages",
|
|
160
|
+
"amount": "10"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"title": "News",
|
|
164
|
+
"amount": "5"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"title": "Blog Posts",
|
|
168
|
+
"amount": "8"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
],
|
|
172
|
+
"items": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"properties": {
|
|
175
|
+
"title": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "The name of the category.",
|
|
178
|
+
"examples": [
|
|
179
|
+
"Pages",
|
|
180
|
+
"News"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"amount": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"description": "The number of items in the category.",
|
|
186
|
+
"examples": [
|
|
187
|
+
"10",
|
|
188
|
+
"5"
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"url": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"format": "uri",
|
|
194
|
+
"description": "The URL to filter by this category.",
|
|
195
|
+
"examples": [
|
|
196
|
+
"#"
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"additionalProperties": false
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"additionalProperties": false
|
|
205
|
+
},
|
|
206
|
+
"searchResults": {
|
|
207
|
+
"type": "array",
|
|
208
|
+
"items": {
|
|
209
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
210
|
+
"$id": "http://schema.mydesignsystem.com/search-result.schema.json",
|
|
211
|
+
"title": "Search Result",
|
|
212
|
+
"type": "object",
|
|
213
|
+
"properties": {
|
|
214
|
+
"url": {
|
|
215
|
+
"title": "URL",
|
|
216
|
+
"type": "string",
|
|
217
|
+
"description": "A URL linking to the search result or more information.",
|
|
218
|
+
"examples": [
|
|
219
|
+
"https://www.example.com/ai-conference-2023"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
"title": {
|
|
223
|
+
"title": "Title",
|
|
224
|
+
"type": "string",
|
|
225
|
+
"description": "The title of the search result.",
|
|
226
|
+
"examples": [
|
|
227
|
+
"AI Conference 2023"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
"imageColSize": {
|
|
231
|
+
"title": "Image Row Size",
|
|
232
|
+
"type": "string",
|
|
233
|
+
"description": "The reserved space of the image row.",
|
|
234
|
+
"default": "small",
|
|
235
|
+
"enum": [
|
|
236
|
+
"none",
|
|
237
|
+
"small",
|
|
238
|
+
"large"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"previewImage": {
|
|
242
|
+
"title": "Preview Image",
|
|
243
|
+
"type": "string",
|
|
244
|
+
"description": "A URL to an image preview for the search result."
|
|
245
|
+
},
|
|
246
|
+
"initialMatch": {
|
|
247
|
+
"title": "Initial Match",
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "The initial search match or summary of the search result."
|
|
250
|
+
},
|
|
251
|
+
"matches": {
|
|
252
|
+
"title": "Matches",
|
|
253
|
+
"type": "array",
|
|
254
|
+
"description": "An array of search matches.",
|
|
255
|
+
"items": {
|
|
256
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
257
|
+
"$id": "http://schema.mydesignsystem.com/search-result-match.schema.json",
|
|
258
|
+
"title": "Search Result Match",
|
|
259
|
+
"type": "object",
|
|
260
|
+
"properties": {
|
|
261
|
+
"title": {
|
|
262
|
+
"title": "Title",
|
|
263
|
+
"type": "string",
|
|
264
|
+
"description": "The title of the match.",
|
|
265
|
+
"examples": [
|
|
266
|
+
"Panel Discussion: Ethics in AI"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
"snippet": {
|
|
270
|
+
"title": "Text",
|
|
271
|
+
"type": "string",
|
|
272
|
+
"description": "The main content or description of the search result.",
|
|
273
|
+
"examples": [
|
|
274
|
+
"Experts debate the ethical challenges and responsibilities of deploying AI technologies."
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"url": {
|
|
278
|
+
"title": "URL",
|
|
279
|
+
"type": "string",
|
|
280
|
+
"description": "A URL linking to the specific match or more information.",
|
|
281
|
+
"examples": [
|
|
282
|
+
"https://www.example.com/ai-conference-2023/panel-discussion"
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"additionalProperties": false
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"showLink": {
|
|
290
|
+
"title": "Show Link",
|
|
291
|
+
"type": "boolean",
|
|
292
|
+
"description": "Whether to display the link to the search result.",
|
|
293
|
+
"default": true
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"additionalProperties": false
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"additionalProperties": false
|
|
301
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/cms/search.schema.json",
|
|
4
|
+
"title": "Search",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"headline": {
|
|
8
|
+
"$ref": "http://schema.mydesignsystem.com/headline.schema.json"
|
|
9
|
+
},
|
|
10
|
+
"searchBar": {
|
|
11
|
+
"$ref": "http://schema.mydesignsystem.com/search-bar.schema.json"
|
|
12
|
+
},
|
|
13
|
+
"searchFilter": {
|
|
14
|
+
"$ref": "http://schema.mydesignsystem.com/search-filter.schema.json"
|
|
15
|
+
},
|
|
16
|
+
"searchResults": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"$ref": "http://schema.mydesignsystem.com/search-result.schema.json"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SearchBarProps } from "../../SearchBarProps-26263244.js";
|
|
3
|
+
declare const SearchBarContextDefault: import("react").ForwardRefExoticComponent<SearchBarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const SearchBarContext: import("react").Context<import("react").ForwardRefExoticComponent<SearchBarProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
|
+
declare const SearchBar: import("react").ForwardRefExoticComponent<SearchBarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export type { SearchBarProps };
|
|
7
|
+
export { SearchBarContextDefault, SearchBarContext, SearchBar };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "./search-bar.css";
|
|
2
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
4
|
+
import { TextField } from '@kickstartds/form/lib/text-field';
|
|
5
|
+
import Markdown from 'markdown-to-jsx';
|
|
6
|
+
import { Icon } from '@kickstartds/base/lib/icon';
|
|
7
|
+
import { Link } from '@kickstartds/base/lib/link';
|
|
8
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
9
|
+
|
|
10
|
+
const defaults = {};
|
|
11
|
+
|
|
12
|
+
const SearchBarContextDefault = forwardRef(({ placeholder, hint = "Press <kbd>Enter</kbd> to search", alternativeText = "Did you mean", alternativeResult = "AI Conference", }, ref) => (jsxs("div", { className: "dsa-search-bar", ref: ref, children: [jsxs("div", { className: "dsa-search-bar__input-container", children: [jsx(TextField, { hideLabel: true, type: "search", placeholder: placeholder || "Search...", className: "dsa-search-bar__input", autoComplete: "off", name: "q" }), jsx(Icon, { icon: "search" })] }), hint && jsx(Markdown, { className: "dsa-search-bar__hint", children: hint }), alternativeResult && (jsx("p", { className: "dsa-search-bar__alternative-text", children: jsxs(Fragment, { children: [alternativeText + " ", jsx(Link, { href: "#", children: alternativeResult })] }) }))] })));
|
|
13
|
+
const SearchBarContext = createContext(SearchBarContextDefault);
|
|
14
|
+
const SearchBar = forwardRef((props, ref) => {
|
|
15
|
+
const Component = useContext(SearchBarContext);
|
|
16
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
17
|
+
});
|
|
18
|
+
SearchBar.displayName = "SearchBar";
|
|
19
|
+
|
|
20
|
+
export { SearchBar, SearchBarContext, SearchBarContextDefault };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.dsa-search-bar__input-container {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.dsa-search-bar__input-container .icon {
|
|
5
|
+
position: absolute;
|
|
6
|
+
left: var(--ks-spacing-inset-s);
|
|
7
|
+
top: 50%;
|
|
8
|
+
transform: translateY(-50%);
|
|
9
|
+
color: var(--ks-color-fg-alpha-6);
|
|
10
|
+
width: 1em;
|
|
11
|
+
height: 1em;
|
|
12
|
+
}
|
|
13
|
+
.dsa-search-bar__input.c-form-field__input {
|
|
14
|
+
padding: var(--ks-spacing-inset-xs);
|
|
15
|
+
font: var(--ks-font-interface-s);
|
|
16
|
+
padding-left: calc(var(--ks-spacing-inset-s) + 1em + var(--ks-spacing-xxs));
|
|
17
|
+
}
|
|
18
|
+
.dsa-search-bar__hint {
|
|
19
|
+
display: block;
|
|
20
|
+
font: var(--ks-font-interface-xs);
|
|
21
|
+
color: var(--ks-color-fg-alpha-4);
|
|
22
|
+
margin-top: var(--ks-spacing-stack-xs);
|
|
23
|
+
}
|
|
24
|
+
.dsa-search-bar__hint kbd {
|
|
25
|
+
font-size: 0.8em;
|
|
26
|
+
border-radius: 3px;
|
|
27
|
+
}
|
|
28
|
+
.dsa-search-bar__alternative-text {
|
|
29
|
+
margin-top: var(--ks-spacing-stack-s);
|
|
30
|
+
margin-bottom: 0;
|
|
31
|
+
font: var(--ks-font-interface-m);
|
|
32
|
+
color: var(--ks-text-color-interface);
|
|
33
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/search-bar.schema.json",
|
|
4
|
+
"title": "Search Bar",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"placeholder": {
|
|
8
|
+
"title": "Placeholder",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Placeholder text for the search input field.",
|
|
11
|
+
"examples": [
|
|
12
|
+
"Search..."
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"buttonText": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Text displayed on the search button.",
|
|
18
|
+
"examples": [
|
|
19
|
+
"Search"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"hint": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Additional information or instructions related to the search functionality.",
|
|
25
|
+
"examples": [
|
|
26
|
+
"Press <kbd>Enter</kbd> to search"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"alternativeText": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Text to display when offering alternative results.",
|
|
32
|
+
"examples": [
|
|
33
|
+
"Did you mean"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"alternativeResult": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "The alternative result to display when offering suggestions.",
|
|
39
|
+
"examples": [
|
|
40
|
+
"AI Conference"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"additionalProperties": false
|
|
45
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/search-bar.schema.json",
|
|
4
|
+
"title": "Search Bar",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"placeholder": {
|
|
8
|
+
"title": "Placeholder",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Placeholder text for the search input field.",
|
|
11
|
+
"examples": ["Search..."]
|
|
12
|
+
},
|
|
13
|
+
"buttonText": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Text displayed on the search button.",
|
|
16
|
+
"examples": ["Search"]
|
|
17
|
+
},
|
|
18
|
+
"hint": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Additional information or instructions related to the search functionality.",
|
|
21
|
+
"examples": ["Press <kbd>Enter</kbd> to search"]
|
|
22
|
+
},
|
|
23
|
+
"alternativeText": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Text to display when offering alternative results.",
|
|
26
|
+
"examples": ["Did you mean"]
|
|
27
|
+
},
|
|
28
|
+
"alternativeResult": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "The alternative result to display when offering suggestions.",
|
|
31
|
+
"examples": ["AI Conference"]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SearchFilterProps } from "../../SearchFilterProps-2fa6419b.js";
|
|
3
|
+
declare const SearchFilterContextDefault: import("react").ForwardRefExoticComponent<SearchFilterProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const SearchFilterContext: import("react").Context<import("react").ForwardRefExoticComponent<SearchFilterProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
|
+
declare const SearchFilter: import("react").ForwardRefExoticComponent<SearchFilterProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export type { SearchFilterProps };
|
|
7
|
+
export { SearchFilterContextDefault, SearchFilterContext, SearchFilter };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "./search-filter.css";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
4
|
+
import Markdown from 'markdown-to-jsx';
|
|
5
|
+
import { Link } from '@kickstartds/base/lib/link';
|
|
6
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
7
|
+
|
|
8
|
+
const defaults = {
|
|
9
|
+
"categories": []
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const SearchFilterContextDefault = forwardRef(({ title, categories }, ref) => (jsxs("div", { className: "dsa-search-filter", ref: ref, children: [title && jsx(Markdown, { className: "dsa-search-filter__title", children: title }), jsx("div", { className: "dsa-search-filter__categories", children: categories.map((category, index) => (jsxs("div", { className: "dsa-search-filter__category", children: [jsx(Link, { href: category.url, className: "dsa-search-filter__category-title", children: category.title }), jsx("span", { className: "dsa-search-filter__category-amount", children: " (" + category.amount + ")" })] }, index))) })] })));
|
|
13
|
+
const SearchFilterContext = createContext(SearchFilterContextDefault);
|
|
14
|
+
const SearchFilter = forwardRef((props, ref) => {
|
|
15
|
+
const Component = useContext(SearchFilterContext);
|
|
16
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
17
|
+
});
|
|
18
|
+
SearchFilter.displayName = "SearchFilter";
|
|
19
|
+
|
|
20
|
+
export { SearchFilter, SearchFilterContext, SearchFilterContextDefault };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.dsa-search-filter {
|
|
2
|
+
background-color: var(--ks-background-color-accent);
|
|
3
|
+
border-radius: var(--ks-border-radius-card);
|
|
4
|
+
padding: var(--ks-spacing-inset-m);
|
|
5
|
+
}
|
|
6
|
+
.dsa-search-filter__title {
|
|
7
|
+
font: var(--dsa-topic--font);
|
|
8
|
+
color: var(--dsa-topic--color);
|
|
9
|
+
font-weight: var(--dsa-topic--font-weight);
|
|
10
|
+
}
|
|
11
|
+
.dsa-search-filter__categories {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: var(--ks-spacing-xxs);
|
|
15
|
+
margin-top: var(--ks-spacing-stack-s);
|
|
16
|
+
}
|
|
17
|
+
.dsa-search-filter__category {
|
|
18
|
+
--g-link--text-decoration: none;
|
|
19
|
+
--g-link--text-decoration-hover: none;
|
|
20
|
+
font: var(--ks-font-interface-m);
|
|
21
|
+
color: var(--ks-text-color-interface);
|
|
22
|
+
}
|