@kickstartds/ds-agency-premium 1.6.71--canary.54.2407.0 → 1.6.71
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-c760fd2a.d.ts → BlogPostProps-6b3cff22.d.ts} +3 -3
- package/dist/{ButtonProps-4e2b2ecf.d.ts → ButtonProps-03ff6d21.d.ts} +4 -6
- package/dist/{CtaProps-789f8508.d.ts → CtaProps-93230a76.d.ts} +11 -16
- package/dist/{FaqProps-78384db5.d.ts → FaqProps-ad618cd5.d.ts} +12 -7
- package/dist/{FeaturesProps-d1a200e6.d.ts → FeaturesProps-e58616a5.d.ts} +4 -14
- 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-fec6b267.d.ts → HeroProps-f704d270.d.ts} +5 -15
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/{LogosProps-d4677d2c.d.ts → LogosProps-f9474fe2.d.ts} +23 -1
- package/dist/MosaicProps-d52c7151.d.ts +4 -4
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-7cac90e5.d.ts → SectionProps-1cfcf6e8.d.ts} +13 -27
- package/dist/{SliderProps-789f8508.d.ts → SliderProps-93230a76.d.ts} +6 -6
- package/dist/{TeaserCardProps-d069476f.d.ts → TeaserCardProps-b9c28e78.d.ts} +4 -9
- 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 +14 -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 +4 -9
- package/dist/components/blog-author/blog-author.schema.dereffed.json +7 -12
- package/dist/components/blog-author/index.d.ts +1 -1
- package/dist/components/blog-author/index.js +1 -10
- package/dist/components/blog-head/blog-head.schema.dereffed.json +6 -0
- package/dist/components/blog-head/index.js +1 -6
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +1603 -17146
- package/dist/components/blog-overview/blog-overview.schema.json +2 -2
- package/dist/components/blog-overview/index.js +0 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +1607 -17164
- package/dist/components/blog-post/blog-post.schema.json +2 -2
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +2 -5
- package/dist/components/blog-tag/blog-tag.schema.dereffed.json +3 -0
- package/dist/components/blog-teaser/blog-teaser.css +2 -2
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +6 -0
- package/dist/components/blog-teaser/index.js +8 -15
- package/dist/components/button/button.css +5 -7
- package/dist/components/button/button.schema.dereffed.json +4 -10
- package/dist/components/button/button.schema.json +3 -8
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +9 -19
- package/dist/components/button-group/button-group.schema.dereffed.json +9 -12
- package/dist/components/button-group/index.d.ts +4 -4
- package/dist/components/button-group/index.js +2 -11
- package/dist/components/contact/contact.css +17 -11
- package/dist/components/contact/contact.schema.dereffed.json +8 -13
- package/dist/components/contact/contact.schema.json +5 -11
- package/dist/components/contact/index.d.ts +65 -1
- package/dist/components/contact/index.js +2 -11
- package/dist/components/cta/cta.css +71 -48
- package/dist/components/cta/cta.schema.dereffed.json +13 -21
- package/dist/components/cta/cta.schema.json +10 -17
- package/dist/components/cta/index.d.ts +1 -1
- package/dist/components/cta/index.js +27 -44
- package/dist/components/divider/divider.schema.dereffed.json +3 -0
- package/dist/components/divider/index.js +1 -6
- package/dist/components/faq/faq.css +1 -1
- package/dist/components/faq/faq.schema.dereffed.json +5 -2
- package/dist/components/faq/faq.schema.json +1 -2
- package/dist/components/faq/index.d.ts +7 -24
- package/dist/components/faq/index.js +2 -7
- package/dist/components/feature/feature.schema.dereffed.json +6 -19
- package/dist/components/feature/feature.schema.json +3 -17
- package/dist/components/feature/index.d.ts +3 -13
- package/dist/components/feature/index.js +4 -17
- package/dist/components/features/features.css +41 -28
- package/dist/components/features/features.schema.dereffed.json +6 -19
- package/dist/components/features/features.schema.json +2 -8
- package/dist/components/features/index.d.ts +1 -1
- package/dist/components/features/index.js +3 -15
- package/dist/components/footer/footer.css +3 -4
- package/dist/components/footer/footer.schema.dereffed.json +21 -117
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/footer/index.js +2 -12
- package/dist/components/gallery/gallery.schema.dereffed.json +4 -2
- package/dist/components/gallery/gallery.schema.json +1 -2
- package/dist/components/gallery/index.js +2 -10
- package/dist/components/header/header.css +10 -53
- package/dist/components/header/header.schema.dereffed.json +21 -117
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +6 -18
- package/dist/components/headline/headline.css +41 -33
- package/dist/components/headline/headline.schema.dereffed.json +3 -0
- package/dist/components/headline/index.d.ts +53 -1
- package/dist/components/headline/index.js +4 -13
- package/dist/components/hero/hero.css +57 -161
- package/dist/components/hero/hero.schema.dereffed.json +8 -19
- package/dist/components/hero/hero.schema.json +4 -24
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/hero/index.js +40 -66
- package/dist/components/html/html.schema.dereffed.json +3 -0
- package/dist/components/html/index.js +1 -8
- package/dist/components/image-story/image-story.css +6 -13
- package/dist/components/image-story/image-story.schema.dereffed.json +7 -10
- package/dist/components/image-story/index.js +1 -14
- package/dist/components/image-text/image-text.css +4 -4
- package/dist/components/image-text/image-text.schema.dereffed.json +3 -0
- package/dist/components/image-text/index.js +1 -7
- package/dist/components/index/index.d.ts +3 -4
- package/dist/components/logo/index.js +1 -6
- package/dist/components/logo/logo.schema.dereffed.json +3 -0
- package/dist/components/logos/index.d.ts +1 -1
- package/dist/components/logos/index.js +2 -13
- package/dist/components/logos/logos.css +2 -2
- package/dist/components/logos/logos.schema.dereffed.json +11 -7
- package/dist/components/logos/logos.schema.json +8 -7
- package/dist/components/mosaic/index.js +2 -9
- package/dist/components/mosaic/mosaic.css +7 -5
- package/dist/components/mosaic/mosaic.schema.dereffed.json +9 -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 +4 -1
- package/dist/components/nav-flyout/index.d.ts +2 -2
- package/dist/components/nav-flyout/index.js +9 -13
- package/dist/components/nav-flyout/nav-flyout.css +15 -29
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +24 -117
- package/dist/components/nav-main/index.d.ts +5 -5
- package/dist/components/nav-main/index.js +3 -11
- package/dist/components/nav-main/nav-main.schema.dereffed.json +27 -120
- package/dist/components/nav-main/nav-main.schema.json +20 -119
- 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 +3 -9
- package/dist/components/nav-topbar/nav-topbar.css +4 -17
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +21 -117
- package/dist/components/page/page.schema.dereffed.json +1576 -17129
- package/dist/components/page/page.schema.json +2 -2
- package/dist/components/page-wrapper/index.js +0 -51
- package/dist/components/page-wrapper/tokens.css +580 -546
- package/dist/components/presets.json +549 -2689
- package/dist/components/providers/index.js +0 -1
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +17 -39
- package/dist/components/section/section.css +58 -45
- package/dist/components/section/section.schema.dereffed.json +1556 -17115
- package/dist/components/section/section.schema.json +11 -37
- package/dist/components/seo/seo.schema.dereffed.json +7 -4
- package/dist/components/seo/seo.schema.json +3 -4
- package/dist/components/settings/settings.schema.dereffed.json +53 -239
- package/dist/components/settings/settings.schema.json +2 -2
- package/dist/components/slider/index.d.ts +2 -4
- package/dist/components/slider/index.js +3 -19
- package/dist/components/slider/slider.css +9 -14
- package/dist/components/slider/slider.schema.dereffed.json +76 -87
- 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.js +1 -4
- package/dist/components/stat/stat.schema.dereffed.json +3 -0
- package/dist/components/stats/index.js +1 -6
- package/dist/components/stats/stats.schema.dereffed.json +6 -0
- package/dist/components/teaser-card/index.d.ts +1 -1
- package/dist/components/teaser-card/index.js +10 -21
- package/dist/components/teaser-card/teaser-card.css +53 -104
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +7 -10
- package/dist/components/teaser-card/teaser-card.schema.json +4 -10
- package/dist/components/testimonial/index.js +1 -7
- package/dist/components/testimonial/testimonial.schema.dereffed.json +3 -0
- package/dist/components/testimonials/index.d.ts +1 -1
- package/dist/components/testimonials/index.js +1 -8
- package/dist/components/testimonials/testimonials.css +0 -4
- package/dist/components/testimonials/testimonials.schema.dereffed.json +3 -0
- package/dist/components/text/index.js +1 -8
- package/dist/components/text/text.css +2 -2
- package/dist/components/text/text.schema.dereffed.json +3 -0
- package/dist/components/tile/tile.schema.dereffed.json +6 -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 +5 -23
- package/dist/components/video-curtain/video-curtain.css +31 -54
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +8 -7
- package/dist/components/video-curtain/video-curtain.schema.json +4 -4
- package/dist/global.css +98 -340
- package/dist/static/fonts/business/novelpro-regular.woff +0 -0
- package/dist/static/fonts/business/novelsanspro-bold.woff +0 -0
- package/dist/static/fonts/business/novelsanspro-regular.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Bold.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Bold.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Light.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Light.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Medium.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Medium.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Regular.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Regular.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-SemiBold.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-SemiBold.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-300.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-300.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-600.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-600.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-800.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-800.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-Regular.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-Regular.woff2 +0 -0
- package/dist/static/fonts/google/google-sans-18pt.woff2 +0 -0
- package/dist/static/fonts/google/google-sans-display.woff2 +0 -0
- package/dist/static/fonts/google/google-sans-text-medium.woff2 +0 -0
- package/dist/static/fonts/google/google-sans-text.woff2 +0 -0
- package/dist/static/fonts/telekom/teleneo-bold-woff-data.woff +0 -0
- package/dist/static/fonts/telekom/teleneo-extrabold-woff-data.woff +0 -0
- package/dist/static/fonts/telekom/teleneo-medium-woff-data.woff +0 -0
- package/dist/static/fonts/telekom/teleneo-thin-woff-data.woff +0 -0
- 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-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/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--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/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 +580 -546
- package/dist/tokens/tokens.js +901 -890
- package/package.json +6 -17
- package/dist/BusinessCardProps-e10e7b62.d.ts +0 -101
- package/dist/ContactProps-7cac90e5.d.ts +0 -70
- package/dist/ContentNavProps-0e282a9f.d.ts +0 -36
- package/dist/DownloadsProps-a49a977e.d.ts +0 -34
- 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/HeadlineProps-e1305784.d.ts +0 -53
- package/dist/PageTeaserProps-3d09c534.d.ts +0 -38
- package/dist/SearchBarProps-26263244.d.ts +0 -29
- package/dist/SearchFilterProps-2fa6419b.d.ts +0 -29
- package/dist/SearchFormProps-3d2c3462.d.ts +0 -30
- package/dist/SearchResultMatchProps-777cd47c.d.ts +0 -23
- package/dist/SearchResultProps-f6f07017.d.ts +0 -44
- package/dist/SplitEvenProps-7cac90e5.d.ts +0 -72
- package/dist/SplitWeightedProps-7cac90e5.d.ts +0 -102
- package/dist/components/breadcrumb/breadcrumb.css +0 -32
- package/dist/components/breadcrumb/breadcrumb.schema.dereffed.json +0 -31
- 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 -22
- package/dist/components/business-card/business-card.css +0 -186
- package/dist/components/business-card/business-card.schema.dereffed.json +0 -141
- package/dist/components/business-card/business-card.schema.json +0 -126
- package/dist/components/business-card/index.d.ts +0 -7
- package/dist/components/business-card/index.js +0 -31
- package/dist/components/content-nav/content-nav.css +0 -122
- package/dist/components/content-nav/content-nav.schema.dereffed.json +0 -58
- package/dist/components/content-nav/content-nav.schema.json +0 -52
- package/dist/components/content-nav/index.d.ts +0 -7
- package/dist/components/content-nav/index.js +0 -21
- package/dist/components/cookie-consent/C15t.client.d.ts +0 -5
- package/dist/components/cookie-consent/C15t.client.js +0 -123
- package/dist/components/cookie-consent/CookieConsent.client.d.ts +0 -29
- package/dist/components/cookie-consent/CookieConsent.client.js +0 -84
- package/dist/components/cookie-consent/cookie-consent.css +0 -255
- package/dist/components/cookie-consent/cookie-consent.schema.dereffed.json +0 -256
- package/dist/components/cookie-consent/cookie-consent.schema.json +0 -224
- package/dist/components/cookie-consent/index.d.ts +0 -143
- package/dist/components/cookie-consent/index.js +0 -26
- package/dist/components/downloads/downloads.css +0 -158
- package/dist/components/downloads/downloads.schema.dereffed.json +0 -52
- package/dist/components/downloads/downloads.schema.json +0 -44
- package/dist/components/downloads/index.d.ts +0 -8
- package/dist/components/downloads/index.js +0 -23
- package/dist/components/energy-calculator/energy-calculator.css +0 -54
- package/dist/components/energy-calculator/index.d.ts +0 -6
- package/dist/components/energy-calculator/index.js +0 -52
- package/dist/components/event-appointment/event-appointment.css +0 -63
- package/dist/components/event-appointment/event-appointment.schema.dereffed.json +0 -53
- 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 -21
- package/dist/components/event-detail/event-detail.schema.dereffed.json +0 -278
- 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 -37
- package/dist/components/event-filter/event-filter.css +0 -31
- package/dist/components/event-filter/event-filter.schema.dereffed.json +0 -115
- 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 -61
- package/dist/components/event-header/event-header.css +0 -6
- package/dist/components/event-header/event-header.schema.dereffed.json +0 -35
- 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 -25
- package/dist/components/event-latest/event-latest.css +0 -5
- package/dist/components/event-latest/event-latest.schema.dereffed.json +0 -136
- 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 -24
- 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 -94
- 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 -23
- package/dist/components/event-list/event-list.schema.dereffed.json +0 -275
- 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 -74
- package/dist/components/event-list-teaser/event-list-teaser.css +0 -143
- package/dist/components/event-list-teaser/event-list-teaser.schema.dereffed.json +0 -148
- 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 -28
- package/dist/components/event-location/event-location.css +0 -71
- package/dist/components/event-location/event-location.schema.dereffed.json +0 -120
- 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 -25
- package/dist/components/event-login/event-login.css +0 -31
- package/dist/components/event-login/event-login.schema.dereffed.json +0 -122
- 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 -31
- package/dist/components/event-registration/event-registration.css +0 -88
- package/dist/components/event-registration/event-registration.schema.dereffed.json +0 -171
- 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 -36
- package/dist/components/page-teaser/index.d.ts +0 -8
- package/dist/components/page-teaser/index.js +0 -30
- package/dist/components/page-teaser/page-teaser.css +0 -101
- package/dist/components/page-teaser/page-teaser.schema.dereffed.json +0 -67
- package/dist/components/page-teaser/page-teaser.schema.json +0 -56
- package/dist/components/pagination/index.d.ts +0 -55
- package/dist/components/pagination/index.js +0 -58
- package/dist/components/pagination/pagination.css +0 -90
- package/dist/components/pagination/pagination.schema.dereffed.json +0 -64
- package/dist/components/pagination/pagination.schema.json +0 -60
- package/dist/components/search/index.d.ts +0 -29
- package/dist/components/search/index.js +0 -53
- package/dist/components/search/search.schema.dereffed.json +0 -301
- package/dist/components/search/search.schema.json +0 -24
- package/dist/components/search-bar/index.d.ts +0 -7
- package/dist/components/search-bar/index.js +0 -20
- package/dist/components/search-bar/search-bar.css +0 -33
- package/dist/components/search-bar/search-bar.schema.dereffed.json +0 -45
- 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 -20
- package/dist/components/search-filter/search-filter.css +0 -22
- package/dist/components/search-filter/search-filter.schema.dereffed.json +0 -66
- package/dist/components/search-filter/search-filter.schema.json +0 -46
- package/dist/components/search-form/SearchForm.client.d.ts +0 -25
- package/dist/components/search-form/SearchForm.client.js +0 -228
- package/dist/components/search-form/SearchFormPagefind.client.d.ts +0 -5
- package/dist/components/search-form/SearchFormPagefind.client.js +0 -40
- package/dist/components/search-form/index.d.ts +0 -4
- package/dist/components/search-form/index.js +0 -25
- package/dist/components/search-form/search-form.css +0 -10
- package/dist/components/search-form/search-form.schema.dereffed.json +0 -49
- package/dist/components/search-form/search-form.schema.json +0 -38
- package/dist/components/search-modal/RadioEmit.client.d.ts +0 -5
- package/dist/components/search-modal/RadioEmit.client.js +0 -17
- package/dist/components/search-modal/SearchModal.client.d.ts +0 -5
- package/dist/components/search-modal/SearchModal.client.js +0 -31
- package/dist/components/search-modal/index.d.ts +0 -18
- package/dist/components/search-modal/index.js +0 -39
- package/dist/components/search-modal/search-modal.css +0 -27
- package/dist/components/search-modal/search-modal.schema.dereffed.json +0 -70
- package/dist/components/search-modal/search-modal.schema.json +0 -24
- package/dist/components/search-result/index.d.ts +0 -7
- package/dist/components/search-result/index.js +0 -29
- package/dist/components/search-result/search-result.css +0 -76
- package/dist/components/search-result/search-result.schema.dereffed.json +0 -90
- package/dist/components/search-result/search-result.schema.json +0 -52
- package/dist/components/search-result-match/index.d.ts +0 -7
- package/dist/components/search-result-match/index.js +0 -18
- package/dist/components/search-result-match/search-result-match.css +0 -18
- package/dist/components/search-result-match/search-result-match.schema.dereffed.json +0 -33
- package/dist/components/search-result-match/search-result-match.schema.json +0 -31
- package/dist/components/select-button/index.d.ts +0 -56
- package/dist/components/select-button/index.js +0 -17
- package/dist/components/select-button/select-button.css +0 -31
- package/dist/components/selection-rack/index.d.ts +0 -43
- package/dist/components/selection-rack/index.js +0 -28
- package/dist/components/selection-rack/selection-rack.css +0 -45
- package/dist/components/selection-rack/selection-rack.schema.dereffed.json +0 -39
- package/dist/components/selection-rack/selection-rack.schema.json +0 -35
- package/dist/components/signpost/Signpost.client.d.ts +0 -13
- package/dist/components/signpost/Signpost.client.js +0 -46
- package/dist/components/signpost/index.d.ts +0 -37
- package/dist/components/signpost/index.js +0 -33
- package/dist/components/signpost/signpost.css +0 -131
- package/dist/components/signpost/signpost.schema.dereffed.json +0 -105
- package/dist/components/signpost/signpost.schema.json +0 -40
- package/dist/components/split-even/index.d.ts +0 -12
- package/dist/components/split-even/index.js +0 -26
- package/dist/components/split-even/split-even.css +0 -103
- package/dist/components/split-even/split-even.schema.dereffed.json +0 -7346
- package/dist/components/split-even/split-even.schema.json +0 -212
- package/dist/components/split-weighted/index.d.ts +0 -12
- package/dist/components/split-weighted/index.js +0 -42
- package/dist/components/split-weighted/split-weighted.css +0 -133
- package/dist/components/split-weighted/split-weighted.schema.dereffed.json +0 -7406
- package/dist/components/split-weighted/split-weighted.schema.json +0 -254
- package/dist/components/trip-planner/index.d.ts +0 -6
- package/dist/components/trip-planner/index.js +0 -23
- package/dist/components/trip-planner/trip-planner.css +0 -43
- package/dist/helpers-12f48df8.d.ts +0 -6
- package/dist/helpers-12f48df8.js +0 -40
- package/dist/static/fonts/dsa/Defaults.woff +0 -0
- package/dist/static/fonts/dsa/MyriadPro-Bold.woff2 +0 -0
- package/dist/static/fonts/dsa/MyriadPro-Regular.woff2 +0 -0
- package/dist/static/fonts/dsa/MyriadPro-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/gws/Familie-in-der-Kueche-1650x600px.jpg +0 -0
- package/dist/static/img/gws/Teaser_Bauen.jpg +0 -0
- package/dist/static/img/gws/Teaser_E-Mobilitaet.jpg +0 -0
- package/dist/static/img/gws/Teaser_Energiesparen.jpg +0 -0
- package/dist/static/img/gws/Teaser_ErsteWhg.jpg +0 -0
- package/dist/static/img/gws/Teaser_Stromversorgung.jpg +0 -0
- package/dist/static/img/gws/Teaser_Wasserwerk.jpg +0 -0
- package/dist/static/img/gws/Teaser_Zaehlerstanduebermittlung.jpg +0 -0
- package/dist/static/img/gws/blur.svg +0 -25
- package/dist/static/img/gws/contact.png +0 -0
- package/dist/static/img/gws/green-energy-with-hand-holding-environmental-light-bulb-background-20.jpg +0 -0
- package/dist/static/img/gws/green-energy-with-hand-holding-environmental-light-bulb-background-20.png +0 -0
- package/dist/static/img/gws/parallax.jpg +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/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/layout-section--dynamic-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--framed.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-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-search--search.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
- package/dist/static/logo.png +0 -0
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
.dsa-pagination {
|
|
2
|
-
--dsa-pagination--gap: var(--ks-spacing-stack-xs);
|
|
3
|
-
--dsa-pagination--background: transparent;
|
|
4
|
-
--dsa-pagination--background_hover: var(--ks-color-fg-alpha-8);
|
|
5
|
-
--dsa-pagination--color: var(--ks-text-color-interface-interactive);
|
|
6
|
-
--dsa-pagination--color_hover: var(--ks-text-color-interface-interactive);
|
|
7
|
-
--dsa-pagination--border-radius: var(--ks-border-radius-control);
|
|
8
|
-
--dsa-pagination--border: var(--ks-border-width-default) solid var(--ks-border-color-interface-interactive);
|
|
9
|
-
--dsa-pagination--width: 3.75em;
|
|
10
|
-
--dsa-pagination--font: var(--ks-font-interface-s);
|
|
11
|
-
--dsa-pagination--padding: 0.5em;
|
|
12
|
-
--dsa-pagination__icon--size: 1.25em;
|
|
13
|
-
--dsa-pagination--background_active: var(--ks-background-color-primary-interactive);
|
|
14
|
-
--dsa-pagination--background_active_hover: var(--ks-background-color-primary-interactive-hover);
|
|
15
|
-
--dsa-pagination--color_active: var(--dsa-text-color-on-primary);
|
|
16
|
-
--dsa-pagination--color_active_hover: var(--dsa-text-color-on-primary);
|
|
17
|
-
}
|
|
18
|
-
@media (min-width: 768px) {
|
|
19
|
-
.dsa-pagination {
|
|
20
|
-
--dsa-pagination--border: none;
|
|
21
|
-
--dsa-pagination--width: 3em;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.dsa-pagination {
|
|
26
|
-
display: flex;
|
|
27
|
-
gap: var(--dsa-pagination--gap, var(--ks-spacing-stack-xs));
|
|
28
|
-
flex-wrap: wrap;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
}
|
|
31
|
-
.dsa-pagination__link, .dsa-pagination__placeholder {
|
|
32
|
-
--g-link--background: var(--dsa-pagination--background, transparent);
|
|
33
|
-
--g-link--background-hover: var(
|
|
34
|
-
--dsa-pagination--background_hover,
|
|
35
|
-
var(--ks-color-fg-alpha-8)
|
|
36
|
-
);
|
|
37
|
-
--g-link--color: var(
|
|
38
|
-
--dsa-pagination--color,
|
|
39
|
-
var(--ks-text-color-interface-interactive)
|
|
40
|
-
);
|
|
41
|
-
--g-link--color-hover: var(
|
|
42
|
-
--dsa-pagination--color_hover,
|
|
43
|
-
var(--ks-text-color-interface-interactive)
|
|
44
|
-
);
|
|
45
|
-
--g-link--border-radius: var(
|
|
46
|
-
--dsa-pagination--border-radius,
|
|
47
|
-
var(--ks-border-radius-control)
|
|
48
|
-
);
|
|
49
|
-
border: var(--dsa-pagination--border, var(--ks-border-width-default) solid var(--ks-border-color-interface-interactive));
|
|
50
|
-
border-radius: var(--dsa-pagination--border-radius, var(--ks-border-radius-control));
|
|
51
|
-
width: var(--dsa-pagination--width, 4em);
|
|
52
|
-
font: var(--dsa-pagination--font, var(--ks-font-interface-s));
|
|
53
|
-
line-height: 1;
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
justify-content: center;
|
|
57
|
-
padding: var(--dsa-pagination--padding, 0.5em);
|
|
58
|
-
aspect-ratio: 1;
|
|
59
|
-
}
|
|
60
|
-
.dsa-pagination__link--icon .icon, .dsa-pagination__placeholder--icon .icon {
|
|
61
|
-
width: var(--dsa-pagination__icon--size, 1.25em);
|
|
62
|
-
height: var(--dsa-pagination__icon--size, 1.25em);
|
|
63
|
-
}
|
|
64
|
-
.dsa-pagination__link[aria-current=page] {
|
|
65
|
-
--g-link--background: var(
|
|
66
|
-
--dsa-pagination--background_active,
|
|
67
|
-
var(--ks-background-color-primary-interactive)
|
|
68
|
-
);
|
|
69
|
-
--g-link--background-hover: var(
|
|
70
|
-
--dsa-pagination--background_active,
|
|
71
|
-
var(--ks-background-color-primary-interactive-hover)
|
|
72
|
-
);
|
|
73
|
-
--g-link--color: var(
|
|
74
|
-
--dsa-pagination--color_active,
|
|
75
|
-
var(--dsa-text-color-on-primary)
|
|
76
|
-
);
|
|
77
|
-
--g-link--color-hover: var(
|
|
78
|
-
--dsa-pagination--color_active_hover,
|
|
79
|
-
var(--dsa-text-color-on-primary)
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
.dsa-pagination__placeholder {
|
|
83
|
-
line-height: 0.25;
|
|
84
|
-
}
|
|
85
|
-
.dsa-pagination__placeholder span {
|
|
86
|
-
transform: translateY(-0.15em);
|
|
87
|
-
}
|
|
88
|
-
.dsa-pagination__pages {
|
|
89
|
-
display: contents;
|
|
90
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/pagination.schema.json",
|
|
4
|
-
"title": "Pagination",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"truncate": {
|
|
8
|
-
"type": "boolean"
|
|
9
|
-
},
|
|
10
|
-
"ariaLabels": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"properties": {
|
|
13
|
-
"previousPage": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Aria label for the previous page link",
|
|
16
|
-
"default": "Go to previous page"
|
|
17
|
-
},
|
|
18
|
-
"nextPage": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "Aria label for the next page link",
|
|
21
|
-
"default": "Go to next page"
|
|
22
|
-
},
|
|
23
|
-
"skipToFirstPage": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"description": "Aria label for the link to skip to the first page",
|
|
26
|
-
"default": "Skip to first page"
|
|
27
|
-
},
|
|
28
|
-
"skipToLastPage": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"description": "Aria label for the link to skip to the last page",
|
|
31
|
-
"default": "Skip to last page"
|
|
32
|
-
},
|
|
33
|
-
"goToPage": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Aria label for the link to go to a specific page (will be placed before the page number)",
|
|
36
|
-
"default": "Go to page"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"additionalProperties": false
|
|
40
|
-
},
|
|
41
|
-
"pages": {
|
|
42
|
-
"type": "array",
|
|
43
|
-
"items": {
|
|
44
|
-
"type": "object",
|
|
45
|
-
"properties": {
|
|
46
|
-
"url": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"description": "The URL to the page"
|
|
49
|
-
},
|
|
50
|
-
"active": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"description": "Indicates if the page is currently active",
|
|
53
|
-
"default": false
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"required": [
|
|
57
|
-
"url"
|
|
58
|
-
],
|
|
59
|
-
"additionalProperties": false
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"additionalProperties": false
|
|
64
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/pagination.schema.json",
|
|
4
|
-
"title": "Pagination",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"truncate": {
|
|
8
|
-
"type": "boolean"
|
|
9
|
-
},
|
|
10
|
-
"ariaLabels": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"properties": {
|
|
13
|
-
"previousPage": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Aria label for the previous page link",
|
|
16
|
-
"default": "Go to previous page"
|
|
17
|
-
},
|
|
18
|
-
"nextPage": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "Aria label for the next page link",
|
|
21
|
-
"default": "Go to next page"
|
|
22
|
-
},
|
|
23
|
-
"skipToFirstPage": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"description": "Aria label for the link to skip to the first page",
|
|
26
|
-
"default": "Skip to first page"
|
|
27
|
-
},
|
|
28
|
-
"skipToLastPage": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"description": "Aria label for the link to skip to the last page",
|
|
31
|
-
"default": "Skip to last page"
|
|
32
|
-
},
|
|
33
|
-
"goToPage": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Aria label for the link to go to a specific page (will be placed before the page number)",
|
|
36
|
-
"default": "Go to page"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"pages": {
|
|
41
|
-
"type": "array",
|
|
42
|
-
"items": {
|
|
43
|
-
"type": "object",
|
|
44
|
-
"properties": {
|
|
45
|
-
"url": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"description": "The URL to the page"
|
|
48
|
-
},
|
|
49
|
-
"active": {
|
|
50
|
-
"type": "boolean",
|
|
51
|
-
"description": "Indicates if the page is currently active",
|
|
52
|
-
"default": false
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"required": ["url"]
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"additionalProperties": false
|
|
60
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
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 };
|
|
@@ -1,53 +0,0 @@
|
|
|
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 };
|
|
@@ -1,301 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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 };
|
|
@@ -1,20 +0,0 @@
|
|
|
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 };
|