@kickstartds/ds-agency-premium 1.6.70--canary.45.1748.0 → 1.6.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlogAsideProps-c760fd2a.d.ts → BlogAsideProps-d9decb7c.d.ts} +5 -5
- package/dist/{BlogAuthorProps-fb0241df.d.ts → BlogAuthorProps-88a11566.d.ts} +2 -7
- package/dist/BlogOverviewProps-9f207f1c.d.ts +2 -2
- package/dist/{BlogPostProps-6b3cff22.d.ts → BlogPostProps-d9decb7c.d.ts} +3 -3
- package/dist/{ButtonProps-00ddee3a.d.ts → ButtonProps-03ff6d21.d.ts} +4 -4
- package/dist/{CtaProps-babe4ee6.d.ts → CtaProps-93230a76.d.ts} +11 -21
- package/dist/{FeaturesProps-a9041d97.d.ts → FeaturesProps-e58616a5.d.ts} +4 -9
- package/dist/{FooterProps-a0a104ca.d.ts → FooterProps-171a3067.d.ts} +2 -2
- package/dist/{HeaderProps-72763967.d.ts → HeaderProps-e22382f1.d.ts} +2 -2
- package/dist/{HeroProps-40f6c7f5.d.ts → HeroProps-f704d270.d.ts} +4 -9
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/MosaicProps-d52c7151.d.ts +4 -4
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-7caa223c.d.ts → SectionProps-1cfcf6e8.d.ts} +9 -14
- package/dist/{SliderProps-babe4ee6.d.ts → SliderProps-93230a76.d.ts} +4 -4
- package/dist/{StatProps-12a3eae0.d.ts → StatProps-79109ad0.d.ts} +1 -1
- package/dist/StatsProps-bf5ef578.d.ts +1 -1
- package/dist/{TeaserCardProps-994cb119.d.ts → TeaserCardProps-b9c28e78.d.ts} +4 -4
- package/dist/{VideoCurtainProps-a2c0cc7f.d.ts → VideoCurtainProps-6c625a69.d.ts} +5 -5
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +8 -16
- package/dist/components/blog-aside/blog-aside.schema.json +4 -4
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +1 -1
- package/dist/components/blog-author/blog-author.schema.dereffed.json +4 -12
- package/dist/components/blog-author/index.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +89 -182
- package/dist/components/blog-post/blog-post.schema.dereffed.json +97 -198
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.js +7 -5
- package/dist/components/button/button.css +2 -2
- package/dist/components/button/button.schema.dereffed.json +3 -3
- package/dist/components/button/button.schema.json +3 -3
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/button-group.schema.dereffed.json +3 -3
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/contact/contact.schema.dereffed.json +5 -13
- package/dist/components/contact/contact.schema.json +5 -11
- package/dist/components/contact/index.d.ts +1 -6
- package/dist/components/contact/index.js +1 -1
- package/dist/components/cta/cta.css +56 -44
- package/dist/components/cta/cta.schema.dereffed.json +11 -28
- package/dist/components/cta/cta.schema.json +10 -23
- package/dist/components/cta/index.d.ts +1 -1
- package/dist/components/cta/index.js +26 -25
- package/dist/components/feature/feature.schema.dereffed.json +3 -13
- package/dist/components/feature/feature.schema.json +3 -11
- package/dist/components/feature/index.d.ts +3 -8
- package/dist/components/feature/index.js +3 -2
- package/dist/components/features/features.css +35 -15
- package/dist/components/features/features.schema.dereffed.json +3 -13
- package/dist/components/features/features.schema.json +2 -5
- package/dist/components/features/index.d.ts +1 -1
- package/dist/components/features/index.js +2 -2
- package/dist/components/footer/footer.css +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +12 -12
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/gallery/gallery.schema.dereffed.json +1 -2
- package/dist/components/gallery/gallery.schema.json +1 -2
- package/dist/components/gallery/index.js +1 -1
- package/dist/components/header/header.css +9 -47
- package/dist/components/header/header.schema.dereffed.json +12 -12
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +5 -5
- package/dist/components/headline/headline.css +2 -2
- package/dist/components/hero/hero.css +25 -61
- package/dist/components/hero/hero.schema.dereffed.json +3 -9
- package/dist/components/hero/hero.schema.json +2 -8
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/hero/index.js +39 -39
- package/dist/components/image-story/image-story.css +2 -5
- package/dist/components/image-story/image-story.schema.dereffed.json +3 -3
- package/dist/components/index/index.d.ts +3 -4
- package/dist/components/logos/index.js +1 -1
- package/dist/components/mosaic/index.js +1 -1
- package/dist/components/mosaic/mosaic.css +1 -1
- package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -3
- package/dist/components/nav-dropdown/index.d.ts +1 -1
- package/dist/components/nav-dropdown/index.js +2 -2
- package/dist/components/nav-dropdown/nav-dropdown.css +3 -12
- package/dist/components/nav-dropdown/nav-dropdown.schema.dereffed.json +1 -1
- package/dist/components/nav-flyout/index.d.ts +2 -2
- package/dist/components/nav-flyout/index.js +8 -6
- package/dist/components/nav-flyout/nav-flyout.css +15 -29
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -12
- package/dist/components/nav-main/index.d.ts +5 -5
- package/dist/components/nav-main/index.js +2 -0
- package/dist/components/nav-main/nav-main.schema.dereffed.json +15 -15
- package/dist/components/nav-main/nav-main.schema.json +14 -14
- package/dist/components/nav-toggle/index.js +1 -1
- package/dist/components/nav-topbar/index.d.ts +2 -2
- package/dist/components/nav-topbar/index.js +2 -2
- package/dist/components/nav-topbar/nav-topbar.css +2 -15
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -12
- package/dist/components/page/page.schema.dereffed.json +78 -154
- package/dist/components/page-wrapper/index.js +0 -42
- package/dist/components/page-wrapper/tokens.css +731 -427
- package/dist/components/presets.json +267 -863
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +3 -11
- package/dist/components/section/section.css +58 -38
- package/dist/components/section/section.schema.dereffed.json +78 -154
- package/dist/components/section/section.schema.json +10 -8
- package/dist/components/settings/settings.schema.dereffed.json +24 -24
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/slider.schema.dereffed.json +28 -61
- package/dist/components/split/split.css +2 -2
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +12 -3
- package/dist/components/stat/stat.schema.dereffed.json +6 -5
- package/dist/components/stat/stat.schema.json +2 -2
- package/dist/components/stats/stats.schema.dereffed.json +6 -5
- package/dist/components/teaser-card/index.d.ts +1 -1
- package/dist/components/teaser-card/index.js +9 -9
- package/dist/components/teaser-card/teaser-card.css +47 -67
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +4 -4
- package/dist/components/teaser-card/teaser-card.schema.json +4 -4
- package/dist/components/testimonials/index.d.ts +1 -1
- package/dist/components/tile/tile.schema.dereffed.json +3 -3
- package/dist/components/tile/tile.schema.json +2 -2
- package/dist/components/video-curtain/index.d.ts +1 -1
- package/dist/components/video-curtain/index.js +4 -12
- package/dist/components/video-curtain/video-curtain.css +29 -52
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +4 -6
- package/dist/components/video-curtain/video-curtain.schema.json +3 -3
- package/dist/global.css +59 -283
- package/dist/static/img/screenshots/blog-blog-aside--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-author--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-head--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-teaser--default.png +0 -0
- package/dist/static/img/screenshots/components-contact--wide-image.png +0 -0
- package/dist/static/img/screenshots/components-cta--align-bottom.png +0 -0
- package/dist/static/img/screenshots/components-cta--angled-image.png +0 -0
- package/dist/static/img/screenshots/components-cta--banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--colored-banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--contact-banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--highlighted.png +0 -0
- package/dist/static/img/screenshots/components-cta--left-aligned.png +0 -0
- package/dist/static/img/screenshots/components-cta--product-advertisement.png +0 -0
- package/dist/static/img/screenshots/components-cta--split-banner.png +0 -0
- package/dist/static/img/screenshots/components-faq--dropdown-list.png +0 -0
- package/dist/static/img/screenshots/components-faq--single-dropdown.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-beside-with-link-in-text.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-centered.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-intext-with-link.png +0 -0
- package/dist/static/img/screenshots/components-features--list-view.png +0 -0
- package/dist/static/img/screenshots/components-features--stack-with-button.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-1.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-2.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-3.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-4.png +0 -0
- package/dist/static/img/screenshots/components-headline--order-swapped.png +0 -0
- package/dist/static/img/screenshots/components-headline--with-markdown.png +0 -0
- package/dist/static/img/screenshots/components-headline--with-subheadline.png +0 -0
- package/dist/static/img/screenshots/components-hero--text-box-on-full-screen.png +0 -0
- package/dist/static/img/screenshots/components-hero--text-on-image-with-overlay.png +0 -0
- package/dist/static/img/screenshots/components-html--html.png +0 -0
- package/dist/static/img/screenshots/components-html--with-consent.png +0 -0
- package/dist/static/img/screenshots/components-html--with-script.png +0 -0
- package/dist/static/img/screenshots/components-logos--centered-with-button.png +0 -0
- package/dist/static/img/screenshots/components-logos--left-aligned-with-text-link.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-description.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-icons.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--alternating-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--list-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--simple.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--slider-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--with-rating.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--with-title.png +0 -0
- package/dist/static/img/screenshots/form-select-field--default.png +0 -0
- package/dist/static/img/screenshots/form-text-area--default.png +0 -0
- package/dist/static/img/screenshots/form-text-field--default.png +0 -0
- package/dist/static/img/screenshots/layout-divider--accent.png +0 -0
- package/dist/static/img/screenshots/layout-footer--footer.png +0 -0
- package/dist/static/img/screenshots/layout-header--header.png +0 -0
- package/dist/static/img/screenshots/layout-section--accent-background.png +0 -0
- package/dist/static/img/screenshots/layout-section--background-image.png +0 -0
- package/dist/static/img/screenshots/layout-section--bold-background.png +0 -0
- package/dist/static/img/screenshots/layout-section--cards.png +0 -0
- package/dist/static/img/screenshots/layout-section--colorful-gradient.png +0 -0
- package/dist/static/img/screenshots/layout-section--flex-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--inverted.png +0 -0
- package/dist/static/img/screenshots/layout-section--list-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--slider.png +0 -0
- package/dist/static/img/screenshots/layout-section--spotlight.png +0 -0
- package/dist/static/img/screenshots/layout-section--stagelights.png +0 -0
- package/dist/static/img/screenshots/layout-section--tile-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--with-buttons.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-arrows.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-autoplay.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-nav.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-teased-neighbours.png +0 -0
- package/dist/static/img/screenshots/{pages-archetypes--blog-overview.png → page-archetypes-blog-overview--blog-overview.png} +0 -0
- package/dist/static/img/screenshots/page-archetypes-blog-post--blog-post.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-landingpage--landingpage.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-overview--overview.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-showcase--showcase.png +0 -0
- package/dist/static/logo-inverted.svg +25 -12
- package/dist/static/logo.svg +25 -12
- package/dist/tokens/IconSprite.js +0 -42
- package/dist/tokens/icon-sprite.html +0 -16
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +731 -427
- package/dist/tokens/tokens.js +730 -628
- package/package.json +1 -1
- package/dist/EventAppointmentProps-443cd1ce.d.ts +0 -38
- package/dist/EventDetailProps-42a7eebe.d.ts +0 -387
- package/dist/EventLatestTeaserProps-fc9d3281.d.ts +0 -58
- package/dist/EventLocationProps-871bc198.d.ts +0 -41
- package/dist/components/breadcrumb/breadcrumb.css +0 -32
- package/dist/components/breadcrumb/breadcrumb.schema.dereffed.json +0 -34
- package/dist/components/breadcrumb/breadcrumb.schema.json +0 -27
- package/dist/components/breadcrumb/index.d.ts +0 -28
- package/dist/components/breadcrumb/index.js +0 -17
- package/dist/components/downloads/downloads.css +0 -153
- package/dist/components/downloads/downloads.schema.dereffed.json +0 -55
- package/dist/components/downloads/downloads.schema.json +0 -44
- package/dist/components/downloads/index.d.ts +0 -41
- package/dist/components/downloads/index.js +0 -18
- package/dist/components/event-appointment/event-appointment.css +0 -62
- package/dist/components/event-appointment/event-appointment.schema.dereffed.json +0 -56
- package/dist/components/event-appointment/event-appointment.schema.json +0 -47
- package/dist/components/event-appointment/index.d.ts +0 -7
- package/dist/components/event-appointment/index.js +0 -14
- package/dist/components/event-detail/event-detail.schema.dereffed.json +0 -287
- package/dist/components/event-detail/event-detail.schema.json +0 -74
- package/dist/components/event-detail/index.d.ts +0 -5
- package/dist/components/event-detail/index.js +0 -36
- package/dist/components/event-header/event-header.css +0 -6
- package/dist/components/event-header/event-header.schema.dereffed.json +0 -38
- package/dist/components/event-header/event-header.schema.json +0 -34
- package/dist/components/event-header/index.d.ts +0 -35
- package/dist/components/event-header/index.js +0 -20
- package/dist/components/event-latest/event-latest.css +0 -5
- package/dist/components/event-latest/event-latest.schema.dereffed.json +0 -142
- package/dist/components/event-latest/event-latest.schema.json +0 -46
- package/dist/components/event-latest/index.d.ts +0 -30
- package/dist/components/event-latest/index.js +0 -19
- package/dist/components/event-latest-teaser/event-latest-teaser.css +0 -128
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.dereffed.json +0 -97
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.json +0 -73
- package/dist/components/event-latest-teaser/index.d.ts +0 -8
- package/dist/components/event-latest-teaser/index.js +0 -18
- package/dist/components/event-location/event-location.css +0 -71
- package/dist/components/event-location/event-location.schema.dereffed.json +0 -126
- package/dist/components/event-location/event-location.schema.json +0 -61
- package/dist/components/event-location/index.d.ts +0 -7
- package/dist/components/event-location/index.js +0 -18
- package/dist/components/pagination/index.d.ts +0 -47
- package/dist/components/pagination/index.js +0 -52
- package/dist/components/pagination/pagination.css +0 -66
- package/dist/components/pagination/pagination.schema.dereffed.json +0 -64
- package/dist/components/pagination/pagination.schema.json +0 -57
- package/dist/static/fonts/systemics/Montserrat-Bold.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Light.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Medium.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Regular.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-SemiBold.woff2 +0 -0
- package/dist/static/img/about/angled-image.png +0 -0
- package/dist/static/img/about/cta.png +0 -0
- package/dist/static/img/about/cutout.png +0 -0
- package/dist/static/img/about/disclaimer.png +0 -0
- package/dist/static/img/about/purpose.png +0 -0
- package/dist/static/img/about/spoiler.png +0 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-01.svg +0 -72
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-02.svg +0 -112
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-03.svg +0 -197
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-04.svg +0 -76
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-05.svg +0 -82
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-06.svg +0 -219
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-07.svg +0 -85
- package/dist/static/img/screenshots/components-image--custom-aspect-ratio.png +0 -0
- package/dist/static/img/screenshots/components-image--preset-size.png +0 -0
- package/dist/static/img/screenshots/components-image--responsive-image.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--blog-post.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--content.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--overview.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--start.png +0 -0
- package/dist/static/logo-dark.svg +0 -13
- package/dist/static/logo-dsa-inverted.svg +0 -26
- package/dist/static/logo-dsa.svg +0 -26
package/package.json
CHANGED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Date of the appointment
|
|
8
|
-
*/
|
|
9
|
-
type Date = string;
|
|
10
|
-
/**
|
|
11
|
-
* Time of the appointment
|
|
12
|
-
*/
|
|
13
|
-
type Time = string;
|
|
14
|
-
/**
|
|
15
|
-
* Label for the call to action button
|
|
16
|
-
*/
|
|
17
|
-
type CTALabel = string;
|
|
18
|
-
/**
|
|
19
|
-
* URL for the call to action button
|
|
20
|
-
*/
|
|
21
|
-
type URL = string;
|
|
22
|
-
/**
|
|
23
|
-
* Whether the link should open in a new tab
|
|
24
|
-
*/
|
|
25
|
-
type OpenInNewTab = boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Aria label for the link
|
|
28
|
-
*/
|
|
29
|
-
type AriaLabel = string;
|
|
30
|
-
interface EventAppointmentProps {
|
|
31
|
-
date?: Date;
|
|
32
|
-
time?: Time;
|
|
33
|
-
label?: CTALabel;
|
|
34
|
-
url?: URL;
|
|
35
|
-
newTab?: OpenInNewTab;
|
|
36
|
-
ariaLabel?: AriaLabel;
|
|
37
|
-
}
|
|
38
|
-
export { Date, Time, CTALabel, URL, OpenInNewTab, AriaLabel, EventAppointmentProps };
|
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
import { EventLocationProps } from "./EventLocationProps-871bc198.js";
|
|
7
|
-
/**
|
|
8
|
-
* Title of the event
|
|
9
|
-
*/
|
|
10
|
-
type EventTitle = string;
|
|
11
|
-
/**
|
|
12
|
-
* Label of the category
|
|
13
|
-
*/
|
|
14
|
-
type Label = string;
|
|
15
|
-
/**
|
|
16
|
-
* Categories to which the event belongs
|
|
17
|
-
*/
|
|
18
|
-
type Categories = {
|
|
19
|
-
label?: Label;
|
|
20
|
-
}[];
|
|
21
|
-
/**
|
|
22
|
-
* Short intro text for the event
|
|
23
|
-
*/
|
|
24
|
-
type Intro = string;
|
|
25
|
-
/**
|
|
26
|
-
* List of locations with attendable appointments
|
|
27
|
-
*/
|
|
28
|
-
type Locations = EventLocationProps[];
|
|
29
|
-
/**
|
|
30
|
-
* Description of the event
|
|
31
|
-
*/
|
|
32
|
-
type Description = string;
|
|
33
|
-
/**
|
|
34
|
-
* The images to display in the gallery
|
|
35
|
-
*
|
|
36
|
-
* @minItems 1
|
|
37
|
-
* @maxItems 10
|
|
38
|
-
*/
|
|
39
|
-
type Images = [
|
|
40
|
-
{
|
|
41
|
-
src: Src;
|
|
42
|
-
alt?: AltText;
|
|
43
|
-
caption?: Caption;
|
|
44
|
-
}
|
|
45
|
-
] | [
|
|
46
|
-
{
|
|
47
|
-
src: Src;
|
|
48
|
-
alt?: AltText;
|
|
49
|
-
caption?: Caption;
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
src: Src;
|
|
53
|
-
alt?: AltText;
|
|
54
|
-
caption?: Caption;
|
|
55
|
-
}
|
|
56
|
-
] | [
|
|
57
|
-
{
|
|
58
|
-
src: Src;
|
|
59
|
-
alt?: AltText;
|
|
60
|
-
caption?: Caption;
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
src: Src;
|
|
64
|
-
alt?: AltText;
|
|
65
|
-
caption?: Caption;
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
src: Src;
|
|
69
|
-
alt?: AltText;
|
|
70
|
-
caption?: Caption;
|
|
71
|
-
}
|
|
72
|
-
] | [
|
|
73
|
-
{
|
|
74
|
-
src: Src;
|
|
75
|
-
alt?: AltText;
|
|
76
|
-
caption?: Caption;
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
src: Src;
|
|
80
|
-
alt?: AltText;
|
|
81
|
-
caption?: Caption;
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
src: Src;
|
|
85
|
-
alt?: AltText;
|
|
86
|
-
caption?: Caption;
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
src: Src;
|
|
90
|
-
alt?: AltText;
|
|
91
|
-
caption?: Caption;
|
|
92
|
-
}
|
|
93
|
-
] | [
|
|
94
|
-
{
|
|
95
|
-
src: Src;
|
|
96
|
-
alt?: AltText;
|
|
97
|
-
caption?: Caption;
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
src: Src;
|
|
101
|
-
alt?: AltText;
|
|
102
|
-
caption?: Caption;
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
src: Src;
|
|
106
|
-
alt?: AltText;
|
|
107
|
-
caption?: Caption;
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
src: Src;
|
|
111
|
-
alt?: AltText;
|
|
112
|
-
caption?: Caption;
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
src: Src;
|
|
116
|
-
alt?: AltText;
|
|
117
|
-
caption?: Caption;
|
|
118
|
-
}
|
|
119
|
-
] | [
|
|
120
|
-
{
|
|
121
|
-
src: Src;
|
|
122
|
-
alt?: AltText;
|
|
123
|
-
caption?: Caption;
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
src: Src;
|
|
127
|
-
alt?: AltText;
|
|
128
|
-
caption?: Caption;
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
src: Src;
|
|
132
|
-
alt?: AltText;
|
|
133
|
-
caption?: Caption;
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
src: Src;
|
|
137
|
-
alt?: AltText;
|
|
138
|
-
caption?: Caption;
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
src: Src;
|
|
142
|
-
alt?: AltText;
|
|
143
|
-
caption?: Caption;
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
src: Src;
|
|
147
|
-
alt?: AltText;
|
|
148
|
-
caption?: Caption;
|
|
149
|
-
}
|
|
150
|
-
] | [
|
|
151
|
-
{
|
|
152
|
-
src: Src;
|
|
153
|
-
alt?: AltText;
|
|
154
|
-
caption?: Caption;
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
src: Src;
|
|
158
|
-
alt?: AltText;
|
|
159
|
-
caption?: Caption;
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
src: Src;
|
|
163
|
-
alt?: AltText;
|
|
164
|
-
caption?: Caption;
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
src: Src;
|
|
168
|
-
alt?: AltText;
|
|
169
|
-
caption?: Caption;
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
src: Src;
|
|
173
|
-
alt?: AltText;
|
|
174
|
-
caption?: Caption;
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
src: Src;
|
|
178
|
-
alt?: AltText;
|
|
179
|
-
caption?: Caption;
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
src: Src;
|
|
183
|
-
alt?: AltText;
|
|
184
|
-
caption?: Caption;
|
|
185
|
-
}
|
|
186
|
-
] | [
|
|
187
|
-
{
|
|
188
|
-
src: Src;
|
|
189
|
-
alt?: AltText;
|
|
190
|
-
caption?: Caption;
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
src: Src;
|
|
194
|
-
alt?: AltText;
|
|
195
|
-
caption?: Caption;
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
src: Src;
|
|
199
|
-
alt?: AltText;
|
|
200
|
-
caption?: Caption;
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
src: Src;
|
|
204
|
-
alt?: AltText;
|
|
205
|
-
caption?: Caption;
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
src: Src;
|
|
209
|
-
alt?: AltText;
|
|
210
|
-
caption?: Caption;
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
src: Src;
|
|
214
|
-
alt?: AltText;
|
|
215
|
-
caption?: Caption;
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
src: Src;
|
|
219
|
-
alt?: AltText;
|
|
220
|
-
caption?: Caption;
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
src: Src;
|
|
224
|
-
alt?: AltText;
|
|
225
|
-
caption?: Caption;
|
|
226
|
-
}
|
|
227
|
-
] | [
|
|
228
|
-
{
|
|
229
|
-
src: Src;
|
|
230
|
-
alt?: AltText;
|
|
231
|
-
caption?: Caption;
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
src: Src;
|
|
235
|
-
alt?: AltText;
|
|
236
|
-
caption?: Caption;
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
src: Src;
|
|
240
|
-
alt?: AltText;
|
|
241
|
-
caption?: Caption;
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
src: Src;
|
|
245
|
-
alt?: AltText;
|
|
246
|
-
caption?: Caption;
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
src: Src;
|
|
250
|
-
alt?: AltText;
|
|
251
|
-
caption?: Caption;
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
src: Src;
|
|
255
|
-
alt?: AltText;
|
|
256
|
-
caption?: Caption;
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
src: Src;
|
|
260
|
-
alt?: AltText;
|
|
261
|
-
caption?: Caption;
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
src: Src;
|
|
265
|
-
alt?: AltText;
|
|
266
|
-
caption?: Caption;
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
src: Src;
|
|
270
|
-
alt?: AltText;
|
|
271
|
-
caption?: Caption;
|
|
272
|
-
}
|
|
273
|
-
] | [
|
|
274
|
-
{
|
|
275
|
-
src: Src;
|
|
276
|
-
alt?: AltText;
|
|
277
|
-
caption?: Caption;
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
src: Src;
|
|
281
|
-
alt?: AltText;
|
|
282
|
-
caption?: Caption;
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
src: Src;
|
|
286
|
-
alt?: AltText;
|
|
287
|
-
caption?: Caption;
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
src: Src;
|
|
291
|
-
alt?: AltText;
|
|
292
|
-
caption?: Caption;
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
src: Src;
|
|
296
|
-
alt?: AltText;
|
|
297
|
-
caption?: Caption;
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
src: Src;
|
|
301
|
-
alt?: AltText;
|
|
302
|
-
caption?: Caption;
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
src: Src;
|
|
306
|
-
alt?: AltText;
|
|
307
|
-
caption?: Caption;
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
src: Src;
|
|
311
|
-
alt?: AltText;
|
|
312
|
-
caption?: Caption;
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
src: Src;
|
|
316
|
-
alt?: AltText;
|
|
317
|
-
caption?: Caption;
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
src: Src;
|
|
321
|
-
alt?: AltText;
|
|
322
|
-
caption?: Caption;
|
|
323
|
-
}
|
|
324
|
-
];
|
|
325
|
-
/**
|
|
326
|
-
* The source of the image
|
|
327
|
-
*/
|
|
328
|
-
type Src = string;
|
|
329
|
-
/**
|
|
330
|
-
* Alt text of the image
|
|
331
|
-
*/
|
|
332
|
-
type AltText = string;
|
|
333
|
-
/**
|
|
334
|
-
* The caption of the image
|
|
335
|
-
*/
|
|
336
|
-
type Caption = string;
|
|
337
|
-
/**
|
|
338
|
-
* Label of the button
|
|
339
|
-
*/
|
|
340
|
-
type Label1 = string;
|
|
341
|
-
/**
|
|
342
|
-
* URL the button links to
|
|
343
|
-
*/
|
|
344
|
-
type Url = string;
|
|
345
|
-
interface EventDetailProps {
|
|
346
|
-
title?: EventTitle;
|
|
347
|
-
categories?: Categories;
|
|
348
|
-
intro?: Intro;
|
|
349
|
-
locations?: Locations;
|
|
350
|
-
downloads?: {
|
|
351
|
-
/**
|
|
352
|
-
* The name of the file
|
|
353
|
-
*/
|
|
354
|
-
name: string;
|
|
355
|
-
/**
|
|
356
|
-
* A brief description of the file
|
|
357
|
-
*/
|
|
358
|
-
description?: string;
|
|
359
|
-
/**
|
|
360
|
-
* A URL to an image that previews the file.
|
|
361
|
-
*/
|
|
362
|
-
previewImage?: string;
|
|
363
|
-
/**
|
|
364
|
-
* The URL to download the file from.
|
|
365
|
-
*/
|
|
366
|
-
url: string;
|
|
367
|
-
/**
|
|
368
|
-
* The size of the download file
|
|
369
|
-
*/
|
|
370
|
-
size?: string;
|
|
371
|
-
/**
|
|
372
|
-
* The format of the download file
|
|
373
|
-
*/
|
|
374
|
-
format?: string;
|
|
375
|
-
}[];
|
|
376
|
-
description?: Description;
|
|
377
|
-
images?: Images;
|
|
378
|
-
button?: Button;
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* Button at the bottom of the event detail
|
|
382
|
-
*/
|
|
383
|
-
interface Button {
|
|
384
|
-
label?: Label1;
|
|
385
|
-
url?: Url;
|
|
386
|
-
}
|
|
387
|
-
export { EventTitle, Label, Categories, Intro, Locations, Description, Images, Src, AltText, Caption, Label1, Url, EventDetailProps, Button };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* The date of the event
|
|
8
|
-
*/
|
|
9
|
-
type Date = string;
|
|
10
|
-
/**
|
|
11
|
-
* The month of the event
|
|
12
|
-
*/
|
|
13
|
-
type Month = string;
|
|
14
|
-
/**
|
|
15
|
-
* The day of the event
|
|
16
|
-
*/
|
|
17
|
-
type Day = string;
|
|
18
|
-
/**
|
|
19
|
-
* Title of the event
|
|
20
|
-
*/
|
|
21
|
-
type Headline = string;
|
|
22
|
-
/**
|
|
23
|
-
* Location of the event
|
|
24
|
-
*/
|
|
25
|
-
type Location = string;
|
|
26
|
-
/**
|
|
27
|
-
* The event entry URL to link
|
|
28
|
-
*/
|
|
29
|
-
type URL = string;
|
|
30
|
-
/**
|
|
31
|
-
* Text for the call to action
|
|
32
|
-
*/
|
|
33
|
-
type CallToAction = string;
|
|
34
|
-
/**
|
|
35
|
-
* ARIA label for accessibility
|
|
36
|
-
*/
|
|
37
|
-
type ARIALabel = string;
|
|
38
|
-
/**
|
|
39
|
-
* Display an event teaser with date, title and location
|
|
40
|
-
*/
|
|
41
|
-
interface EventLatestTeaserProps {
|
|
42
|
-
date: Date;
|
|
43
|
-
calendar?: Calendar;
|
|
44
|
-
title: Headline;
|
|
45
|
-
location: Location;
|
|
46
|
-
url?: URL;
|
|
47
|
-
cta?: CallToAction;
|
|
48
|
-
ariaLabel?: ARIALabel;
|
|
49
|
-
className?: string;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Calendar icon to display the date
|
|
53
|
-
*/
|
|
54
|
-
interface Calendar {
|
|
55
|
-
month?: Month;
|
|
56
|
-
day?: Day;
|
|
57
|
-
}
|
|
58
|
-
export { Date, Month, Day, Headline, Location, URL, CallToAction, ARIALabel, EventLatestTeaserProps, Calendar };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
import { EventAppointmentProps } from "./EventAppointmentProps-443cd1ce.js";
|
|
7
|
-
/**
|
|
8
|
-
* List of dates of the event
|
|
9
|
-
*/
|
|
10
|
-
type Dates = EventAppointmentProps[];
|
|
11
|
-
/**
|
|
12
|
-
* Name of the event location
|
|
13
|
-
*/
|
|
14
|
-
type LocationName = string;
|
|
15
|
-
/**
|
|
16
|
-
* Spacious is recommended for 1-2 appointments, Compact for more than 2.
|
|
17
|
-
*/
|
|
18
|
-
type DisplayMode = "spacious" | "compact";
|
|
19
|
-
/**
|
|
20
|
-
* Address of the appointment
|
|
21
|
-
*/
|
|
22
|
-
type Address = string;
|
|
23
|
-
/**
|
|
24
|
-
* Links related to the event location
|
|
25
|
-
*/
|
|
26
|
-
type Links = {
|
|
27
|
-
url: string;
|
|
28
|
-
label: string;
|
|
29
|
-
/**
|
|
30
|
-
* Open link in a new tab
|
|
31
|
-
*/
|
|
32
|
-
newTab?: boolean;
|
|
33
|
-
}[];
|
|
34
|
-
interface EventLocationProps {
|
|
35
|
-
dates?: Dates;
|
|
36
|
-
locationName?: LocationName;
|
|
37
|
-
displayMode?: DisplayMode;
|
|
38
|
-
address?: Address;
|
|
39
|
-
links?: Links;
|
|
40
|
-
}
|
|
41
|
-
export { Dates, LocationName, DisplayMode, Address, Links, EventLocationProps };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.dsa-breadcrumb {
|
|
2
|
-
--dsa-breadcrumb--gap: var(--ks-spacing-xxs);
|
|
3
|
-
--dsa-breadcrumb--font: var(--ks-font-interface-xs);
|
|
4
|
-
--dsa-breadcrumb--color: var(--ks-text-color-interface-interactive);
|
|
5
|
-
--dsa-breadcrumb--color_hover: var(--ks-text-color-interface-interactive-hover);
|
|
6
|
-
--dsa-breadcrumb__icon--size: 1.5em;
|
|
7
|
-
--dsa-breadcrumb__icon--color: var(--ks-color-fg-alpha-5);
|
|
8
|
-
--dsa-breadcrumb--color_active: var(--ks-text-color-interface-interactive-active);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.dsa-breadcrumb {
|
|
12
|
-
display: flex;
|
|
13
|
-
gap: var(--dsa-breadcrumb--gap, var(--ks-spacing-xxs));
|
|
14
|
-
flex-wrap: wrap;
|
|
15
|
-
align-items: flex-start;
|
|
16
|
-
font: var(--dsa-breadcrumb--font, var(--ks-font-interface-xs));
|
|
17
|
-
}
|
|
18
|
-
.dsa-breadcrumb__icon {
|
|
19
|
-
color: var(--dsa-breadcrumb__icon--color, var(--ks-color-fg-alpha-5));
|
|
20
|
-
width: var(--dsa-breadcrumb__icon--size, 1.5em);
|
|
21
|
-
height: var(--dsa-breadcrumb__icon--size, 1.5em);
|
|
22
|
-
}
|
|
23
|
-
.dsa-breadcrumb__link {
|
|
24
|
-
--g-link--color: var(--dsa-breadcrumb--color, var(--ks-text-color-interface-interactive));
|
|
25
|
-
--g-link--color-hover: var(--dsa-breadcrumb--color_hover, var(--ks-text-color-interface-interactive-hover));
|
|
26
|
-
font: inherit;
|
|
27
|
-
}
|
|
28
|
-
.dsa-breadcrumb__label {
|
|
29
|
-
color: var(--dsa-breadcrumb--color_active, var(--ks-text-color-interface-interactive-active));
|
|
30
|
-
font: inherit;
|
|
31
|
-
font-weight: var(--dsa-link--font-weight);
|
|
32
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/breadcrumb.schema.json",
|
|
4
|
-
"title": "Breadcrumb",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"pages": {
|
|
8
|
-
"type": "array",
|
|
9
|
-
"description": "An array of breadcrumb pages. Each page should have a URL and a label.",
|
|
10
|
-
"items": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"properties": {
|
|
13
|
-
"url": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "The URL to the page"
|
|
16
|
-
},
|
|
17
|
-
"label": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The label for the title of the page"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"url",
|
|
24
|
-
"label"
|
|
25
|
-
],
|
|
26
|
-
"additionalProperties": false
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"type": {
|
|
30
|
-
"const": "breadcrumb"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"additionalProperties": false
|
|
34
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/breadcrumb.schema.json",
|
|
4
|
-
"title": "Breadcrumb",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"pages": {
|
|
8
|
-
"type": "array",
|
|
9
|
-
"description": "An array of breadcrumb pages. Each page should have a URL and a label.",
|
|
10
|
-
"items": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"properties": {
|
|
13
|
-
"url": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "The URL to the page"
|
|
16
|
-
},
|
|
17
|
-
"label": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The label for the title of the page"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": ["url", "label"]
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"additionalProperties": false
|
|
27
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { HTMLAttributes } from "react";
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
6
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
7
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
8
|
-
*/
|
|
9
|
-
interface BreadcrumbProps {
|
|
10
|
-
/**
|
|
11
|
-
* An array of breadcrumb pages. Each page should have a URL and a label.
|
|
12
|
-
*/
|
|
13
|
-
pages?: {
|
|
14
|
-
/**
|
|
15
|
-
* The URL to the page
|
|
16
|
-
*/
|
|
17
|
-
url: string;
|
|
18
|
-
/**
|
|
19
|
-
* The label for the title of the page
|
|
20
|
-
*/
|
|
21
|
-
label: string;
|
|
22
|
-
}[];
|
|
23
|
-
}
|
|
24
|
-
declare const BreadcrumbContextDefault: import("react").ForwardRefExoticComponent<BreadcrumbProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
-
declare const BreadcrumbContext: import("react").Context<import("react").ForwardRefExoticComponent<BreadcrumbProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
26
|
-
declare const Breadcrumb: import("react").ForwardRefExoticComponent<BreadcrumbProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
-
export type { BreadcrumbProps };
|
|
28
|
-
export { BreadcrumbContextDefault, BreadcrumbContext, Breadcrumb };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "./breadcrumb.css";
|
|
2
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef, createContext, useContext } from 'react';
|
|
4
|
-
import { Icon } from '@kickstartds/base/lib/icon';
|
|
5
|
-
import { Link } from '@kickstartds/base/lib/link';
|
|
6
|
-
|
|
7
|
-
const BreadcrumbContextDefault = forwardRef(({ pages }, ref) => {
|
|
8
|
-
return (jsx("div", { className: "dsa-breadcrumb", ref: ref, children: pages.map((page, index) => index !== pages.length - 1 ? (jsxs(Fragment, { children: [jsx(Link, { href: page.url, className: "dsa-breadcrumb__link", children: page.label }), jsx(Icon, { className: "dsa-breadcrumb__icon", icon: "chevron-right" })] })) : (jsx("span", { className: "dsa-breadcrumb__label", children: page.label }))) }));
|
|
9
|
-
});
|
|
10
|
-
const BreadcrumbContext = createContext(BreadcrumbContextDefault);
|
|
11
|
-
const Breadcrumb = forwardRef((props, ref) => {
|
|
12
|
-
const Component = useContext(BreadcrumbContext);
|
|
13
|
-
return jsx(Component, { ...props, ref: ref });
|
|
14
|
-
});
|
|
15
|
-
Breadcrumb.displayName = "Breadcrumb";
|
|
16
|
-
|
|
17
|
-
export { Breadcrumb, BreadcrumbContext, BreadcrumbContextDefault };
|