@kickstartds/ds-agency-premium 1.7.0--canary.18.1660.0 → 1.7.0--canary.46.1797.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlogHeadProps-3f6e4072.d.ts → BlogHeadProps-c04a5ed8.d.ts} +6 -1
- package/dist/BlogOverviewProps-9f207f1c.d.ts +1 -1
- package/dist/BlogPostProps-6b3cff22.d.ts +2 -2
- package/dist/BlogTeaserProps-f5855e93.d.ts +9 -4
- package/dist/DividerProps-2ef31901.d.ts +26 -0
- package/dist/FeaturesProps-e58616a5.d.ts +62 -0
- package/dist/{HeroProps-cf82a16d.d.ts → HeroProps-f704d270.d.ts} +1 -1
- package/dist/HtmlProps-9d091769.d.ts +34 -0
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-83d399b4.d.ts → SectionProps-1cfcf6e8.d.ts} +12 -5
- package/dist/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/{TestimonialProps-94bdeac9.d.ts → TestimonialsProps-e344f597.d.ts} +22 -2
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +3 -1
- package/dist/components/blog-aside/blog-aside.schema.json +1 -0
- package/dist/components/blog-aside/index.d.ts +1 -0
- package/dist/components/blog-aside/index.js +6 -1
- package/dist/components/blog-author/blog-author.schema.dereffed.json +2 -1
- package/dist/components/blog-author/index.d.ts +1 -0
- package/dist/components/blog-author/index.js +10 -1
- package/dist/components/blog-head/blog-head.css +3 -3
- package/dist/components/blog-head/blog-head.schema.dereffed.json +8 -0
- package/dist/components/blog-head/blog-head.schema.json +6 -0
- package/dist/components/blog-head/index.d.ts +2 -1
- package/dist/components/blog-head/index.js +8 -3
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +212 -136
- package/dist/components/blog-overview/index.d.ts +1 -0
- package/dist/components/blog-overview/index.js +1 -0
- package/dist/components/blog-post/blog-post.schema.dereffed.json +181 -119
- package/dist/components/blog-post/index.d.ts +1 -0
- package/dist/components/blog-post/index.js +1 -0
- package/dist/components/blog-teaser/blog-teaser.css +7 -5
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +14 -6
- package/dist/components/blog-teaser/blog-teaser.schema.json +11 -5
- package/dist/components/blog-teaser/index.d.ts +4 -3
- package/dist/components/blog-teaser/index.js +14 -5
- package/dist/components/button/button.schema.dereffed.json +1 -0
- package/dist/components/button/button.schema.json +1 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button-group/button-group.schema.dereffed.json +1 -0
- package/dist/components/button-group/index.d.ts +1 -0
- package/dist/components/contact/contact.css +2 -0
- package/dist/components/contact/contact.schema.dereffed.json +2 -1
- package/dist/components/contact/contact.schema.json +2 -1
- package/dist/components/contact/index.d.ts +1 -0
- package/dist/components/contact/index.js +10 -1
- package/dist/components/cta/cta.css +3 -3
- package/dist/components/cta/cta.schema.dereffed.json +1 -0
- package/dist/components/cta/index.d.ts +1 -0
- package/dist/components/cta/index.js +20 -2
- package/dist/components/divider/divider.css +1 -1
- package/dist/components/divider/index.d.ts +2 -26
- package/dist/components/divider/index.js +6 -1
- package/dist/components/faq/index.d.ts +1 -0
- package/dist/components/faq/index.js +6 -1
- package/dist/components/feature/feature.schema.dereffed.json +1 -0
- package/dist/components/feature/feature.schema.json +1 -0
- package/dist/components/feature/index.d.ts +53 -1
- package/dist/components/feature/index.js +14 -2
- package/dist/components/features/features.css +43 -10
- package/dist/components/features/features.schema.dereffed.json +3 -40
- package/dist/components/features/features.schema.json +24 -1
- package/dist/components/features/index.d.ts +2 -1
- package/dist/components/features/index.js +23 -3
- package/dist/components/footer/footer.css +4 -4
- package/dist/components/footer/index.d.ts +1 -0
- package/dist/components/footer/index.js +11 -1
- package/dist/components/gallery/gallery.css +0 -18
- package/dist/components/gallery/index.d.ts +1 -0
- package/dist/components/gallery/index.js +8 -1
- package/dist/components/header/header.css +2 -3
- package/dist/components/header/index.d.ts +4 -3
- package/dist/components/header/index.js +14 -2
- package/dist/components/headline/headline.css +18 -2
- package/dist/components/headline/headline.schema.dereffed.json +5 -0
- package/dist/components/headline/headline.schema.json +5 -0
- package/dist/components/headline/index.d.ts +6 -0
- package/dist/components/headline/index.js +1 -1
- package/dist/components/hero/hero.css +38 -5
- package/dist/components/hero/hero.schema.dereffed.json +4 -2
- package/dist/components/hero/hero.schema.json +2 -2
- package/dist/components/hero/index.d.ts +2 -1
- package/dist/components/hero/index.js +19 -3
- package/dist/components/html/Html.client.d.ts +5 -0
- package/dist/components/html/Html.client.js +41 -0
- package/dist/components/html/html.css +52 -0
- package/dist/components/html/html.schema.dereffed.json +61 -0
- package/dist/components/html/html.schema.json +31 -3
- package/dist/components/html/index.d.ts +5 -26
- package/dist/components/html/index.js +25 -4
- package/dist/components/image-story/image-story.css +1 -1
- package/dist/components/image-story/image-story.schema.dereffed.json +1 -0
- package/dist/components/image-story/image-story.schema.json +5 -1
- package/dist/components/image-story/index.d.ts +1 -0
- package/dist/components/image-story/index.js +14 -2
- package/dist/components/image-text/index.d.ts +1 -0
- package/dist/components/image-text/index.js +7 -1
- package/dist/components/index/index.d.ts +6 -1
- package/dist/components/logo/index.d.ts +1 -0
- package/dist/components/logo/index.js +6 -1
- package/dist/components/logos/index.d.ts +1 -0
- package/dist/components/logos/index.js +12 -1
- package/dist/components/logos/logos.css +2 -2
- package/dist/components/mosaic/index.d.ts +1 -0
- package/dist/components/mosaic/index.js +8 -1
- package/dist/components/mosaic/mosaic.css +3 -0
- package/dist/components/mosaic/mosaic.schema.dereffed.json +1 -0
- package/dist/components/nav-dropdown/index.d.ts +1 -0
- package/dist/components/nav-flyout/index.d.ts +1 -0
- package/dist/components/nav-flyout/index.js +7 -1
- package/dist/components/nav-main/index.d.ts +1 -0
- package/dist/components/nav-main/index.js +11 -1
- package/dist/components/nav-topbar/index.d.ts +1 -0
- package/dist/components/nav-topbar/index.js +7 -1
- package/dist/components/page/index.d.ts +1 -0
- package/dist/components/page/page.schema.dereffed.json +169 -118
- package/dist/components/page-wrapper/index.js +107 -389
- package/dist/components/page-wrapper/tokens.css +55 -4
- package/dist/components/presets.json +182 -237
- package/dist/components/providers/index.js +2 -1
- package/dist/components/section/index.d.ts +2 -1
- package/dist/components/section/index.js +27 -3
- package/dist/components/section/js/Section.client.js +1 -1
- package/dist/components/section/section.css +50 -35
- package/dist/components/section/section.schema.dereffed.json +169 -118
- package/dist/components/section/section.schema.json +13 -2
- package/dist/components/settings/settings.schema.dereffed.json +5 -0
- package/dist/components/settings/settings.schema.json +5 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider.css +5 -0
- package/dist/components/slider/slider.schema.dereffed.json +37 -63
- package/dist/components/slider/slider.schema.json +1 -1
- package/dist/components/split/index.d.ts +1 -0
- package/dist/components/split/split.css +3 -3
- package/dist/components/stat/index.d.ts +2 -1
- package/dist/components/stat/index.js +16 -4
- package/dist/components/stat/stat.schema.dereffed.json +7 -5
- package/dist/components/stat/stat.schema.json +3 -2
- package/dist/components/stats/index.d.ts +1 -0
- package/dist/components/stats/index.js +6 -1
- package/dist/components/stats/stats.css +3 -7
- package/dist/components/stats/stats.schema.dereffed.json +7 -5
- package/dist/components/teaser-card/index.d.ts +1 -0
- package/dist/components/teaser-card/index.js +13 -2
- package/dist/components/testimonial/index.d.ts +49 -1
- package/dist/components/testimonial/index.js +11 -2
- package/dist/components/testimonial/testimonial.schema.dereffed.json +11 -0
- package/dist/components/testimonial/testimonial.schema.json +7 -0
- package/dist/components/testimonials/index.d.ts +2 -1
- package/dist/components/testimonials/index.js +10 -3
- package/dist/components/testimonials/testimonials.css +56 -28
- package/dist/components/testimonials/testimonials.schema.dereffed.json +11 -5
- package/dist/components/testimonials/testimonials.schema.json +30 -1
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +8 -1
- package/dist/components/tile/tile.schema.dereffed.json +1 -0
- package/dist/components/tile/tile.schema.json +8 -2
- package/dist/components/video-curtain/index.d.ts +1 -0
- package/dist/components/video-curtain/index.js +11 -1
- package/dist/components/video-curtain/video-curtain.css +4 -3
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +2 -1
- package/dist/components/video-curtain/video-curtain.schema.json +1 -1
- package/dist/global.css +66 -42
- package/dist/helpers-84d80d46.d.ts +5 -0
- package/dist/helpers-84d80d46.js +33 -0
- package/dist/static/img/screenshots/blog-blog-aside--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-author--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-head--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-teaser--default.png +0 -0
- package/dist/static/img/screenshots/components-contact--wide-image.png +0 -0
- package/dist/static/img/screenshots/components-cta--align-bottom.png +0 -0
- package/dist/static/img/screenshots/components-cta--angled-image.png +0 -0
- package/dist/static/img/screenshots/components-cta--banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--colored-banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--contact-banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--highlighted.png +0 -0
- package/dist/static/img/screenshots/components-cta--left-aligned.png +0 -0
- package/dist/static/img/screenshots/components-cta--product-advertisement.png +0 -0
- package/dist/static/img/screenshots/components-cta--split-banner.png +0 -0
- package/dist/static/img/screenshots/components-faq--dropdown-list.png +0 -0
- package/dist/static/img/screenshots/components-faq--single-dropdown.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-beside-with-link-in-text.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-centered.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-intext-with-link.png +0 -0
- package/dist/static/img/screenshots/components-features--list-view.png +0 -0
- package/dist/static/img/screenshots/components-features--stack-with-button.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-1.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-2.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-3.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-4.png +0 -0
- package/dist/static/img/screenshots/components-headline--order-swapped.png +0 -0
- package/dist/static/img/screenshots/components-headline--with-markdown.png +0 -0
- package/dist/static/img/screenshots/components-headline--with-subheadline.png +0 -0
- package/dist/static/img/screenshots/components-hero--text-box-on-full-screen.png +0 -0
- package/dist/static/img/screenshots/components-hero--text-on-image-with-overlay.png +0 -0
- package/dist/static/img/screenshots/components-html--html.png +0 -0
- package/dist/static/img/screenshots/components-html--with-consent.png +0 -0
- package/dist/static/img/screenshots/components-html--with-script.png +0 -0
- package/dist/static/img/screenshots/components-logos--centered-with-button.png +0 -0
- package/dist/static/img/screenshots/components-logos--left-aligned-with-text-link.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-description.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-icons.png +0 -0
- package/dist/static/img/screenshots/components-teaser-card--page-navigation.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-divider--default.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/tokens/IconSprite.js +105 -388
- package/dist/tokens/icon-sprite.html +54 -37
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +55 -4
- package/dist/tokens/tokens.js +49 -52
- package/package.json +13 -17
- package/dist/FeatureProps-f8a75850.d.ts +0 -52
- package/dist/FeaturesProps-b05859d6.d.ts +0 -34
- package/dist/TestimonialsProps-f7211553.d.ts +0 -22
- package/dist/components/image/image.css +0 -18
- package/dist/components/image/image.schema.dereffed.json +0 -105
- package/dist/components/image/image.schema.json +0 -95
- package/dist/components/image/index.d.ts +0 -87
- package/dist/components/image/index.js +0 -11
- package/dist/components/picture/picture.schema.json +0 -88
- 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
|
@@ -13,14 +13,15 @@ import '@kickstartds/core/lib/react';
|
|
|
13
13
|
import '@kickstartds/base/lib/section';
|
|
14
14
|
import '../section/js/Section.client.js';
|
|
15
15
|
import '@kickstartds/core/lib/component';
|
|
16
|
+
import '../../helpers-84d80d46.js';
|
|
16
17
|
import '@kickstartds/base/lib/teaser-box';
|
|
17
18
|
import '@kickstartds/core/lib/container';
|
|
19
|
+
import 'markdown-to-jsx';
|
|
18
20
|
import '@kickstartds/base/lib/picture';
|
|
19
21
|
import '@kickstartds/base/lib/contact';
|
|
20
22
|
import '@kickstartds/base/lib/link';
|
|
21
23
|
import '@kickstartds/base/lib/icon';
|
|
22
24
|
import '@kickstartds/base/lib/rich-text';
|
|
23
|
-
import 'markdown-to-jsx';
|
|
24
25
|
import '@kickstartds/base/lib/headline';
|
|
25
26
|
import '@kickstartds/base/lib/button-group';
|
|
26
27
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
import { SectionProps } from "../../SectionProps-
|
|
3
|
+
import { SectionProps } from "../../SectionProps-1cfcf6e8.js";
|
|
4
4
|
declare const SectionContextDefault: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const SectionContext: import("react").Context<import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Section: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const SectionProvider: FC<PropsWithChildren<any>>;
|
|
8
|
+
export type { SectionProps };
|
|
8
9
|
export { SectionContextDefault, SectionContext, Section, SectionProvider };
|
|
@@ -5,9 +5,33 @@ import classnames from 'classnames';
|
|
|
5
5
|
import { useKsComponent } from '@kickstartds/core/lib/react';
|
|
6
6
|
import { SectionContextDefault as SectionContextDefault$1, SectionContext as SectionContext$1 } from '@kickstartds/base/lib/section';
|
|
7
7
|
import { identifier } from './js/Section.client.js';
|
|
8
|
+
import { d as deepMergeDefaults } from '../../helpers-84d80d46.js';
|
|
8
9
|
import '@kickstartds/core/lib/component';
|
|
9
10
|
|
|
10
|
-
const
|
|
11
|
+
const defaults = {
|
|
12
|
+
"width": "default",
|
|
13
|
+
"backgroundColor": "default",
|
|
14
|
+
"spotlight": false,
|
|
15
|
+
"spaceBefore": "default",
|
|
16
|
+
"spaceAfter": "default",
|
|
17
|
+
"inverted": false,
|
|
18
|
+
"headerSpacing": false,
|
|
19
|
+
"headline": {
|
|
20
|
+
"large": false,
|
|
21
|
+
"width": "unset"
|
|
22
|
+
},
|
|
23
|
+
"content": {
|
|
24
|
+
"width": "unset",
|
|
25
|
+
"align": "center",
|
|
26
|
+
"gutter": "default",
|
|
27
|
+
"mode": "list",
|
|
28
|
+
"tileWidth": "default"
|
|
29
|
+
},
|
|
30
|
+
"components": [],
|
|
31
|
+
"buttons": []
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const SectionContextDefault = forwardRef(({ headline, content, headerSpacing, width = "default", style = "default", spotlight = false, backgroundColor = "default", backgroundImage, spaceBefore = "default", spaceAfter = "default", className, inverted, buttons = [], ...props }, ref) => {
|
|
11
35
|
const { large: headlineLarge = false, ...headlineRest } = {
|
|
12
36
|
align: "left",
|
|
13
37
|
...headline,
|
|
@@ -30,7 +54,7 @@ const SectionContextDefault = forwardRef(({ headline, content, headerSpacing, wi
|
|
|
30
54
|
? "symmetric-glow"
|
|
31
55
|
: style === "anchorGlow"
|
|
32
56
|
? "anchor-glow"
|
|
33
|
-
: style}`, headerSpacing && "dsa-section--header-spacing", spotlight && "dsa-section--spotlight", className), background: backgroundColor, content: content, headline: {
|
|
57
|
+
: style}`, headerSpacing && "dsa-section--header-spacing", spotlight && "dsa-section--spotlight", className), background: backgroundColor, backgroundImage: backgroundImage, content: content, headline: {
|
|
34
58
|
...headlineRest,
|
|
35
59
|
spaceAfter: "large",
|
|
36
60
|
// @ts-expect-error
|
|
@@ -46,7 +70,7 @@ const SectionContextDefault = forwardRef(({ headline, content, headerSpacing, wi
|
|
|
46
70
|
const SectionContext = createContext(SectionContextDefault);
|
|
47
71
|
const Section = forwardRef((props, ref) => {
|
|
48
72
|
const Component = useContext(SectionContext);
|
|
49
|
-
return jsx(Component, { ...props, ref: ref });
|
|
73
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
50
74
|
});
|
|
51
75
|
Section.displayName = "Section";
|
|
52
76
|
const SectionProvider = (props) => (jsx(SectionContext$1.Provider, { ...props, value: Section }));
|
|
@@ -4,7 +4,7 @@ const identifier = "dsa.section";
|
|
|
4
4
|
class Section extends Component {
|
|
5
5
|
constructor(element) {
|
|
6
6
|
super(element);
|
|
7
|
-
if (element.classList.contains("
|
|
7
|
+
if (element.classList.contains("dsa-section--spotlight")) {
|
|
8
8
|
import('./spotlight.client.js').then((mod) => {
|
|
9
9
|
const cleanup = mod.initSpotlight(element);
|
|
10
10
|
this.onDisconnect(cleanup);
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
+
.l-container--section {
|
|
2
|
+
/* stylelint-disable-next-line property-no-unknown */
|
|
3
|
+
container-name: section;
|
|
4
|
+
}
|
|
5
|
+
|
|
1
6
|
.dsa-section {
|
|
2
|
-
--dsa-section__col--min-width: var(--dsa-section_tile-width--default);
|
|
3
|
-
--dsa-section__col--max-width: 1fr;
|
|
4
7
|
--dsa-section__col--repeat: auto-fit;
|
|
8
|
+
--dsa-section__col--max-width: 1fr;
|
|
9
|
+
--dsa-section__col--min-width_smallest: var(--dsa-tile--width_smallest);
|
|
10
|
+
--dsa-section__col--min-width_small: var(--dsa-tile--width_small);
|
|
11
|
+
--dsa-section__col--min-width_medium: var(--dsa-tile--width_medium);
|
|
12
|
+
--dsa-section__col--min-width_large: var(--dsa-tile--width_large);
|
|
13
|
+
--dsa-section__col--min-width_largest: var(--dsa-tile--width_largest);
|
|
5
14
|
--dsa-section--space_default: var(--ks-spacing-xxl);
|
|
6
15
|
--dsa-section--space_small: calc(var(--ks-spacing-xxl) / 2);
|
|
7
|
-
--dsa-
|
|
8
|
-
--dsa-section__tile--width_default: 18rem;
|
|
9
|
-
--dsa-section__tile--width_medium: var(--l-section--content-width-narrow);
|
|
10
|
-
--dsa-section__tile--width_large: var(--l-section--content-width-default);
|
|
11
|
-
--dsa-section__tile--width_largest: var(--l-section--content-width-wide);
|
|
12
|
-
--dsa-section--gutter_small: var(--ks-spacing-xs);
|
|
16
|
+
--dsa-section--gutter_small: var(--ks-spacing-s);
|
|
13
17
|
--dsa-section--gutter_default: var(--ks-spacing-m);
|
|
14
|
-
--dsa-section--gutter_large: var(--ks-spacing-
|
|
18
|
+
--dsa-section--gutter_large: var(--ks-spacing-l);
|
|
15
19
|
--dsa-section__buttons--space-before: var(--ks-spacing-stack-m);
|
|
16
|
-
--dsa-section__content--width_narrow:
|
|
17
|
-
--dsa-section__content--width_default:
|
|
18
|
-
--dsa-section__content--width_wide:
|
|
20
|
+
--dsa-section__content--width_narrow: var(--dsa-content--width_narrow);
|
|
21
|
+
--dsa-section__content--width_default: var(--dsa-content--width_default);
|
|
22
|
+
--dsa-section__content--width_wide: var(--dsa-content--width_wide);
|
|
19
23
|
--dsa-section__content--width_max: 100vw;
|
|
20
24
|
--dsa-section__content--width_full: 100vw;
|
|
21
25
|
--dsa-section__content--padding: var(--dsa-content--spacing);
|
|
@@ -23,7 +27,6 @@
|
|
|
23
27
|
--dsa-section--background-color_accent: var(--ks-background-color-accent);
|
|
24
28
|
--dsa-section--background-color_bold: var(--ks-background-color-bold);
|
|
25
29
|
--dsa-section__slider-arrow--color: var(--ks-text-color-interface-interactive);
|
|
26
|
-
--dsa-section__slider-arrow--background-color: transparent;
|
|
27
30
|
--dsa-section__slider-arrow--size: 2rem;
|
|
28
31
|
--dsa-section__slider-arrow--padding: 0.5em;
|
|
29
32
|
--dsa-section__slider-arrow--opacity: 0.6;
|
|
@@ -73,26 +76,21 @@
|
|
|
73
76
|
}
|
|
74
77
|
|
|
75
78
|
.l-section.dsa-section {
|
|
76
|
-
--l-
|
|
77
|
-
--l-section_col--min-width: var(--dsa-section__col--min-width, var(--l-section_tile-width--default));
|
|
78
|
-
--l-section_col--max-width: var(--dsa-section__col--min-width, 1fr);
|
|
79
|
-
--l-section_col--repeat: var(--dsa-section__col--repeat, auto-fit);
|
|
80
|
-
--l-section_tile-width--smallest: var(--dsa-section__tile--width_smallest, 14rem);
|
|
81
|
-
--l-section_tile-width--default: var(--dsa-section__tile--width_default, 18rem);
|
|
82
|
-
--l-section_tile-width--medium: var(--dsa-section__tile--width_medium, var(--l-section--content-width-narrow));
|
|
83
|
-
--l-section_tile-width--large: var(--dsa-section__tile--width_large, var(--l-section--content-width-default));
|
|
84
|
-
--l-section_tile-width--largest: var(--dsa-section__tile--width_largest, var(--l-section--content-width-wide));
|
|
85
|
-
--l-section--content-width-narrow: var(--dsa-section__content--width_narrow, 46.5rem);
|
|
86
|
-
--l-section--content-width-default: var(--dsa-section__content--width_default, 62rem);
|
|
87
|
-
--l-section--content-width-wide: var(--dsa-section__content--width_wide, 75rem);
|
|
88
|
-
--l-section--content-width-max: var(--dsa-section__content--width_max, 120rem);
|
|
89
|
-
--l-section--content-width-full: var(--dsa-section__content--width_full, 120rem);
|
|
90
|
-
--l-section--content-padding: var(--dsa-section__content--padding, var(--ks-spacing-m));
|
|
79
|
+
--l-section_buttons--space-before: var(--dsa-section__buttons--space-before, var(--l-section--gutter));
|
|
91
80
|
--l-section--background-default: var(--dsa-section--background-color_default, var(--ks-background-color-default));
|
|
92
81
|
--l-section--background-accent: var(--dsa-section--background-color_accent, var(--ks-background-color-accent));
|
|
93
82
|
--l-section--background-bold: var(--dsa-section--background-color_bold, var(--ks-background-color-primary));
|
|
94
|
-
--l-
|
|
95
|
-
--l-
|
|
83
|
+
--l-section_col--min-width: var(--dsa-section__col--min-width, var(--l-section_tile-width--default));
|
|
84
|
+
--l-section_col--max-width: var(--dsa-section__col--max-width, 1fr);
|
|
85
|
+
--l-section_col--repeat: var(--dsa-section__col--repeat, auto-fit);
|
|
86
|
+
--l-section--content-width-narrow: var(--dsa-section__content--width_narrow, var(--dsa-content--width_narrow));
|
|
87
|
+
--l-section--content-width-default: var(--dsa-section__content--width_default, var(--dsa-content--width_default));
|
|
88
|
+
--l-section--content-width-wide: var(--dsa-section__content--width_wide, var(--dsa-content--width_wide));
|
|
89
|
+
--l-section--content-width-max: var(--dsa-section__content--width_max, var(--dsa-content--width_max));
|
|
90
|
+
--l-section--content-width-full: var(--dsa-section__content--width_full, var(--dsa-content--width_full));
|
|
91
|
+
--l-section--content-padding: var(--dsa-section__content--padding, var(--ks-spacing-m));
|
|
92
|
+
--l-section--gutter: var(--dsa-section--gutter_default);
|
|
93
|
+
--dsa-section--gutter_none: 0;
|
|
96
94
|
--l-section--gutter-small: var(--dsa-section--gutter_small, var(--ks-spacing-xs));
|
|
97
95
|
--l-section--gutter-default: var(--dsa-section--gutter_default, var(--ks-spacing-m));
|
|
98
96
|
--l-section--gutter-large: var(--dsa-section--gutter_large, var(--ks-spacing-xl));
|
|
@@ -100,12 +98,20 @@
|
|
|
100
98
|
--l-section_slider-arrow--padding: var(--dsa-section__slider-arrow--padding, var(--ks-spacing-xs));
|
|
101
99
|
--l-section_slider-arrow--color: var(--dsa-section__slider-arrow--color, var(--ks-text-color-interface-interactive));
|
|
102
100
|
--l-section_slider-arrow--opacity: var(--dsa-section__slider-arrow--opacity, 0.6);
|
|
103
|
-
--l-section_slider-arrow--opacity_hover: var(--dsa-section__slider-arrow--
|
|
101
|
+
--l-section_slider-arrow--opacity_hover: var(--dsa-section__slider-arrow--opacity_hover, 0.9);
|
|
104
102
|
--l-section_slider-arrow--opacity_disabled: var(--dsa-section__slider-arrow--opacity_disabled, 0.3);
|
|
105
103
|
--l-section_slider-arrow--background: var(--dsa-section__slider-arrow--background, transparent);
|
|
104
|
+
--l-section--space-default: var(--dsa-section--space_default, var(--ks-spacing-xxl));
|
|
105
|
+
--l-section--space-small: var(--dsa-section--space_small, calc(var(--l-section--space-default) / 2));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.l-section.dsa-section {
|
|
106
109
|
background-image: var(--dsa-section--background-image);
|
|
107
|
-
position: relative;
|
|
108
110
|
background-color: var(--dsa-section--background-color_default, var(--ks-color-bg));
|
|
111
|
+
position: relative;
|
|
112
|
+
}
|
|
113
|
+
.l-section.dsa-section .l-section__container {
|
|
114
|
+
font: var(--ks-font-copy-m);
|
|
109
115
|
}
|
|
110
116
|
.l-section.dsa-section.l-section--gutter-large {
|
|
111
117
|
--l-section--gutter: var(--dsa-section--gutter_large);
|
|
@@ -155,10 +161,14 @@
|
|
|
155
161
|
.l-section.dsa-section--spotlight {
|
|
156
162
|
position: relative;
|
|
157
163
|
}
|
|
158
|
-
.l-section.dsa-section--spotlight
|
|
164
|
+
.l-section.dsa-section--spotlight .l-section__container {
|
|
165
|
+
position: relative;
|
|
166
|
+
z-index: 1;
|
|
167
|
+
}
|
|
168
|
+
.l-section.dsa-section--spotlight:hover::after {
|
|
159
169
|
opacity: 1;
|
|
160
170
|
}
|
|
161
|
-
.l-section.dsa-section--spotlight::
|
|
171
|
+
.l-section.dsa-section--spotlight::after {
|
|
162
172
|
transition: opacity var(--ks-transition-fade);
|
|
163
173
|
opacity: 0;
|
|
164
174
|
top: 0;
|
|
@@ -167,9 +177,14 @@
|
|
|
167
177
|
width: 100%;
|
|
168
178
|
height: 100%;
|
|
169
179
|
position: absolute;
|
|
170
|
-
background-image: radial-gradient(var(--dsa-section__spotlight--size) circle, var(--dsa-section__spotlight--color) 0%, var(--dsa-section__spotlight--color) calc(100% - var(--dsa-section__spotlight--blur)), transparent 100%, transparent 100%);
|
|
180
|
+
background-image: radial-gradient(var(--dsa-section__spotlight--size) circle at var(--dsa-section__spotlight--left) var(--dsa-section__spotlight--top), var(--dsa-section__spotlight--color) 0%, var(--dsa-section__spotlight--color) calc(100% - var(--dsa-section__spotlight--blur)), transparent 100%, transparent 100%);
|
|
171
181
|
}
|
|
172
182
|
.l-section.dsa-section .l-section__content {
|
|
183
|
+
--l-section_tile-width--smallest: var(--dsa-section__col--min-width_smallest, var(--dsa-tile--width_smallest));
|
|
184
|
+
--l-section_tile-width--default: var(--dsa-section__col--min-width_small, var(--dsa-tile--width_small));
|
|
185
|
+
--l-section_tile-width--medium: var(--dsa-section__col--min-width_medium, var(--dsa-tile--width_medium));
|
|
186
|
+
--l-section_tile-width--large: var(--dsa-section__col--min-width_large, var(--dsa-tile--width_large));
|
|
187
|
+
--l-section_tile-width--largest: var(--dsa-section__col--min-width_largest, var(--dsa-tile--width_largest));
|
|
173
188
|
--l-section_buttons--space-before: var(--dsa-section__buttons--space-before, var(--l-section--gutter));
|
|
174
189
|
}
|
|
175
190
|
.l-section.dsa-section .l-section__content--slider {
|