@kickstartds/ds-agency-premium 1.3.48 → 1.3.50--canary.663.b100f6e.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.
Files changed (45) hide show
  1. package/dist/{FooterProps-10c950a6.d.ts → FooterProps-22e0307b.d.ts} +6 -0
  2. package/dist/{HeaderProps-7be94a61.d.ts → HeaderProps-dd2071a8.d.ts} +16 -2
  3. package/dist/components/cta/cta.css +37 -37
  4. package/dist/components/feature/index.js +7 -7
  5. package/dist/components/features/features.css +26 -28
  6. package/dist/components/features/index.js +1 -1
  7. package/dist/components/footer/footer.schema.dereffed.json +36 -2
  8. package/dist/components/footer/index.d.ts +1 -1
  9. package/dist/components/header/header.css +3 -1
  10. package/dist/components/header/header.schema.dereffed.json +44 -6
  11. package/dist/components/header/header.schema.json +5 -3
  12. package/dist/components/header/index.d.ts +1 -1
  13. package/dist/components/header/index.js +10 -6
  14. package/dist/components/image/image.css +8 -8
  15. package/dist/components/image/index.js +1 -1
  16. package/dist/components/index/index.d.ts +2 -2
  17. package/dist/components/nav-dropdown/index.d.ts +23 -0
  18. package/dist/components/nav-dropdown/index.js +9 -0
  19. package/dist/components/nav-flyout/index.d.ts +8 -0
  20. package/dist/components/nav-flyout/index.js +15 -0
  21. package/dist/components/nav-flyout/nav-flyout.css +63 -0
  22. package/dist/components/nav-main/index.d.ts +33 -7
  23. package/dist/components/nav-main/index.js +14 -14
  24. package/dist/components/nav-main/nav-main.schema.dereffed.json +70 -2
  25. package/dist/components/nav-main/nav-main.schema.json +52 -3
  26. package/dist/components/nav-toggle/index.d.ts +3 -0
  27. package/dist/components/nav-toggle/index.js +6 -0
  28. package/dist/components/nav-topbar/index.d.ts +7 -0
  29. package/dist/components/nav-topbar/index.js +12 -0
  30. package/dist/components/nav-topbar/nav-topbar.css +139 -0
  31. package/dist/components/page-wrapper/tokens.css +1 -1
  32. package/dist/components/presets.json +29 -4
  33. package/dist/components/settings/settings.schema.dereffed.json +80 -8
  34. package/dist/tokens/themes.css +4 -4
  35. package/dist/tokens/tokens.css +1 -1
  36. package/dist/tokens/tokens.js +1 -1
  37. package/package.json +1 -1
  38. package/dist/components/nav-main/nav-main.css +0 -194
  39. /package/dist/components/{nav-main → nav}/js/NavToggle.client.d.ts +0 -0
  40. /package/dist/components/{nav-main → nav}/js/NavToggle.client.js +0 -0
  41. /package/dist/components/{nav-main → nav}/js/body.client.d.ts +0 -0
  42. /package/dist/components/{nav-main → nav}/js/body.client.js +0 -0
  43. /package/dist/components/{nav-main → nav}/js/navMainEvents.client.d.ts +0 -0
  44. /package/dist/components/{nav-main → nav}/js/navMainEvents.client.js +0 -0
  45. /package/dist/components/{nav-main → nav-toggle}/nav-toggle.css +0 -0
@@ -39,6 +39,12 @@ interface FooterProps {
39
39
  href: string;
40
40
  label: string;
41
41
  active?: boolean;
42
+ items?: {
43
+ href?: string;
44
+ id?: string;
45
+ label?: string;
46
+ active?: boolean;
47
+ }[];
42
48
  }[];
43
49
  }
44
50
  interface Logo {
@@ -27,6 +27,10 @@ type Height = number;
27
27
  * Toggle the inversion of the flyout navigation
28
28
  */
29
29
  type FlyoutInverted = boolean;
30
+ /**
31
+ * Toggle the inversion of the dropdown navigation
32
+ */
33
+ type DropdownInverted = boolean;
30
34
  /**
31
35
  * Make the header float over the first Section
32
36
  */
@@ -35,15 +39,25 @@ type Floating = boolean;
35
39
  * Invert the color scheme of the header
36
40
  */
37
41
  type Inverted = boolean;
42
+ /**
43
+ * Header layered on top by the CMS
44
+ */
38
45
  interface HeaderProps {
39
- logo: Logo;
46
+ logo?: Logo;
40
47
  flyoutInverted?: FlyoutInverted;
48
+ dropdownInverted?: DropdownInverted;
41
49
  floating?: Floating;
42
50
  inverted?: Inverted;
43
51
  navItems?: {
44
52
  href: string;
45
53
  label: string;
46
54
  active?: boolean;
55
+ items?: {
56
+ href?: string;
57
+ id?: string;
58
+ label?: string;
59
+ active?: boolean;
60
+ }[];
47
61
  }[];
48
62
  }
49
63
  interface Logo {
@@ -54,4 +68,4 @@ interface Logo {
54
68
  width?: Width;
55
69
  height?: Height;
56
70
  }
57
- export { Source, Source1, AltText, Width, Height, FlyoutInverted, Floating, Inverted, HeaderProps, Logo };
71
+ export { Source, Source1, AltText, Width, Height, FlyoutInverted, DropdownInverted, Floating, Inverted, HeaderProps, Logo };
@@ -15,27 +15,19 @@
15
15
  --dsa-cta_highlight-text__copy--font: var(--ks-font-copy-l);
16
16
  }
17
17
 
18
- @media (min-width: 640px) {
19
- .dsa-header--floating + .l-container--storytelling .c-storytelling.dsa-cta,
20
- .dsa-header--floating + .l-section .l-container--storytelling:first-child .c-storytelling.dsa-cta {
21
- padding-top: calc(var(--dsa-header--height) + var(--dsa-cta--horizontal-padding, var(--l-section--content-padding)));
22
- z-index: 1;
23
- }
24
- }
25
-
26
- .c-storytelling.dsa-cta {
18
+ .dsa-cta.c-storytelling {
27
19
  --c-storytelling--padding-ratio: 2;
28
20
  --c-storytelling--horizontal-padding: var(--l-section--content-padding);
29
21
  justify-content: center;
30
22
  align-items: center;
31
23
  padding: 0;
32
24
  }
33
- .c-storytelling.dsa-cta--color-neutral {
25
+ .dsa-cta.c-storytelling--color-neutral {
34
26
  --dsa-cta__copy--color: var(--dsa-cta_color-neutral__copy--color, var(--ks-text-color-default));
35
27
  --dsa-cta__headline--color: var(--dsa-cta_color-neutral__headline--color, var(--ks-text-color-default));
36
28
  --dsa-cta__subheadline--color: var(--dsa-cta_color-neutral__subheadline--color, var(--ks-text-color-default));
37
29
  }
38
- .c-storytelling.dsa-cta--highlight-text {
30
+ .dsa-cta.c-storytelling--highlight-text {
39
31
  --dsa-cta__copy--font: var(--dsa-cta_highlight-text__copy--font, var(--ks-font-copy-l));
40
32
  --dsa-cta__headline--font: var(--dsa-cta_highlight-text__headline--font, var(--dsa-headline_h1--font));
41
33
  --dsa-cta__subheadline--font: var(
@@ -43,90 +35,98 @@
43
35
  var(--dsa-headline_h1__subheadline--font)
44
36
  );
45
37
  }
46
- .c-storytelling.dsa-cta.c-storytelling--full {
38
+ .dsa-cta.c-storytelling.c-storytelling--full {
47
39
  --c-storytelling--padding-ratio: 1;
48
40
  }
49
- .c-storytelling.dsa-cta.c-storytelling--full.c-storytelling--order-desktop-image-last .c-storytelling__box {
41
+ .dsa-cta.c-storytelling.c-storytelling--full.c-storytelling--order-desktop-image-last .c-storytelling__box {
50
42
  padding-left: var(--dsa-cta--horizontal-padding);
51
43
  }
52
- .c-storytelling.dsa-cta.dsa-cta--align-top {
44
+ .dsa-cta.c-storytelling.dsa-cta--align-top {
53
45
  align-items: flex-start;
54
46
  }
55
- .c-storytelling.dsa-cta.dsa-cta--align-bottom {
47
+ .dsa-cta.c-storytelling.dsa-cta--align-bottom {
56
48
  align-items: flex-end;
57
49
  }
58
- .c-storytelling.dsa-cta.dsa-cta--highlight-text .c-storytelling__text {
50
+ .dsa-cta.c-storytelling.dsa-cta--highlight-text .c-storytelling__text {
59
51
  font: var(--ks-font-copy-l);
60
52
  color: var(--ks-color-fg);
61
53
  }
62
- .c-storytelling.dsa-cta .c-storytelling__box {
54
+ .dsa-cta.c-storytelling .c-storytelling__box {
63
55
  width: 100%;
64
56
  padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--l-section--content-padding));
65
57
  }
66
58
  @container storytelling (max-width: 640px) {
67
- .c-storytelling.dsa-cta .c-storytelling__box {
59
+ .dsa-cta.c-storytelling .c-storytelling__box {
68
60
  padding-top: calc(var(--dsa-cta--vertical-padding, var(--l-section--space-default)) / var(--c-storytelling--padding-ratio));
69
61
  }
70
- .c-storytelling.dsa-cta .c-storytelling__box:only-child {
62
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
71
63
  padding-top: var(--dsa-cta--vertical-padding, var(--l-section--space-default));
72
64
  }
73
65
  }
74
- .c-storytelling.dsa-cta .c-storytelling__box:only-child {
66
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
75
67
  padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--l-section--content-padding));
76
68
  }
77
- .c-storytelling.dsa-cta .c-storytelling__box__content {
69
+ .dsa-cta.c-storytelling .c-storytelling__box__content {
78
70
  max-width: 100%;
79
71
  }
80
- .c-storytelling.dsa-cta .c-storytelling__box .dsa-headline__headline {
72
+ .dsa-cta.c-storytelling .c-storytelling__box .dsa-headline__headline {
81
73
  font: var(--dsa-cta__headline--font, var(--dsa-headline_h2--font, var(--ks-font-display-xl)));
82
74
  color: var(--dsa-cta__headline--color, var(--ks-text-color-display));
83
75
  font-weight: var(--dsa-headline--font-weight, var(--ks-font-weight-semi-bold));
84
76
  }
85
- .c-storytelling.dsa-cta .c-storytelling__box .dsa-headline__subheadline {
77
+ .dsa-cta.c-storytelling .c-storytelling__box .dsa-headline__subheadline {
86
78
  font: var(--dsa-cta__subheadline--font, var(--dsa-headline_h2__subheadline--font, var(--ks-font-display-xl)));
87
79
  color: var(--dsa-cta__subheadline--color, var(--ks-text-color-primary));
88
80
  font-weight: var(--dsa-headline__subheadline--font-weight, var(--ks-font-weight-medium));
89
81
  }
90
- .c-storytelling.dsa-cta .c-storytelling__box .c-rich-text {
82
+ .dsa-cta.c-storytelling .c-storytelling__box .c-rich-text {
91
83
  font: var(--dsa-cta__copy--font, var(--dsa-rich-text--font, var(--ks-font-copy-m)));
92
84
  color: var(--dsa-cta__copy--color, var(--dsa-rich-text--color, var(--ks-text-color-copy)));
93
85
  }
94
- .c-storytelling.dsa-cta .c-storytelling__box:only-child {
86
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
95
87
  --dsa-cta--horizontal-padding: var(--l-section--content-padding);
96
88
  }
97
- .c-storytelling.dsa-cta .c-storytelling__image {
89
+ .dsa-cta.c-storytelling .c-storytelling__image {
98
90
  margin: 0;
99
91
  }
100
92
  @container storytelling (min-width: 640px) {
101
- .c-storytelling.dsa-cta.c-storytelling--order-desktop-image-last .c-storytelling__image {
93
+ .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__image {
102
94
  padding-left: calc(var(--dsa-cta--horizontal-padding, var(--l-section--content-padding)) / var(--c-storytelling--padding-ratio));
103
95
  }
104
- .c-storytelling.dsa-cta.c-storytelling--order-desktop-image-last .c-storytelling__box {
96
+ .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__box {
105
97
  padding-right: calc(var(--dsa-cta--horizontal-padding, var(--l-section--content-padding)) / var(--c-storytelling--padding-ratio));
106
98
  }
107
- .c-storytelling.dsa-cta .c-storytelling__box {
99
+ .dsa-cta.c-storytelling .c-storytelling__box {
108
100
  padding-left: calc(var(--dsa-cta--horizontal-padding, var(--l-section--content-padding)) / var(--c-storytelling--padding-ratio));
109
101
  }
110
- .c-storytelling.dsa-cta .c-storytelling__box__content--center .c-button-group {
102
+ .dsa-cta.c-storytelling .c-storytelling__box__content--center .c-button-group {
111
103
  justify-content: center;
112
104
  }
113
- .c-storytelling.dsa-cta .c-storytelling__box:only-child {
105
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
114
106
  width: 100%;
115
107
  max-width: calc(var(--l-section--content-width-default) - var(--l-section--content-padding) * var(--c-storytelling--padding-ratio));
116
108
  }
117
- .c-storytelling.dsa-cta > .c-storytelling__image {
109
+ .dsa-cta.c-storytelling > .c-storytelling__image {
118
110
  padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--l-section--content-padding));
119
111
  padding-right: calc(var(--dsa-cta--horizontal-padding, var(--l-section--content-padding)) / var(--c-storytelling--padding-ratio));
120
112
  }
121
- .c-storytelling.dsa-cta.c-storytelling--full > .c-storytelling__image {
113
+ .dsa-cta.c-storytelling.c-storytelling--full > .c-storytelling__image {
122
114
  padding: 0;
123
115
  }
124
- .c-storytelling.dsa-cta > .c-storytelling__image,
125
- .c-storytelling.dsa-cta > .c-storytelling__box {
116
+ .dsa-cta.c-storytelling > .c-storytelling__image,
117
+ .dsa-cta.c-storytelling > .c-storytelling__box {
126
118
  max-width: calc(var(--l-section--content-width-wide) / 2);
127
119
  }
128
- .c-storytelling.dsa-cta.dsa-cta--full-width > .c-storytelling__image,
129
- .c-storytelling.dsa-cta.dsa-cta--full-width > .c-storytelling__box {
120
+ .dsa-cta.c-storytelling.dsa-cta--full-width > .c-storytelling__image,
121
+ .dsa-cta.c-storytelling.dsa-cta--full-width > .c-storytelling__box {
130
122
  max-width: 100%;
131
123
  }
124
+ }
125
+
126
+ @media (min-width: 640px) {
127
+ .dsa-header--floating + .l-container--storytelling .c-storytelling.dsa-cta,
128
+ .dsa-header--floating + .l-section .l-container--storytelling:first-child .c-storytelling.dsa-cta {
129
+ padding-top: calc(var(--dsa-header--height) + var(--dsa-cta--horizontal-padding, var(--l-section--content-padding)));
130
+ z-index: 1;
131
+ }
132
132
  }
@@ -6,17 +6,17 @@ import { Button } from '../button/index.js';
6
6
  import { Link } from '@kickstartds/base/lib/link';
7
7
  import '@kickstartds/base/lib/button';
8
8
 
9
- const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon, cta: { toggle = true, style: ctaStyle = "link", target, label = "Read more", }, ...rest }, ref) => (jsxs("div", { ...rest, ref: ref, className: classnames(`c-feature c-feature--${style === `stack`
10
- ? `stack c-feature--large`
9
+ const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon, cta: { toggle = true, style: ctaStyle = "link", target, label = "Read more", }, ...rest }, ref) => (jsxs("div", { ...rest, ref: ref, className: classnames(`dsa-feature dsa-feature--${style === `stack`
10
+ ? `stack dsa-feature--large`
11
11
  : style === `besideSmall`
12
- ? `beside c-feature--small`
12
+ ? `beside dsa-feature--small`
13
13
  : style === `besideLarge`
14
- ? `beside c-feature--large`
14
+ ? `beside dsa-feature--large`
15
15
  : style === `intext`
16
- ? `intext c-feature--small`
16
+ ? `intext dsa-feature--small`
17
17
  : style === `centered`
18
- ? `centered c-feature--large`
19
- : `${style}`}`), children: [jsxs("div", { className: "c-feature__header", children: [icon && jsx(Icon, { className: "c-feature__icon", icon: icon }), jsx("span", { className: "c-feature__title", children: title })] }), text || ctaStyle === "intext" ? (jsxs("p", { className: "c-feature__text", children: [text, ctaStyle === "intext" && toggle ? (jsxs(Fragment, { children: [" ", jsx(Link, { href: target, children: label ? label : "See more" })] })) : ("")] })) : (""), toggle && (ctaStyle === "link" || ctaStyle === "button") && (jsx("div", { className: "c-feature__cta", children: ctaStyle === "link" ? (jsxs(Link, { className: "c-feature__link", href: target, children: [label ? label : "See more", jsx(Icon, { icon: "arrow-right" })] })) : ctaStyle === "button" ? (jsx(Button, { className: "c-feature__button", size: "small", target: target, label: label ? label : "See more" })) : ("") }))] })));
18
+ ? `centered dsa-feature--large`
19
+ : `${style}`}`), children: [jsxs("div", { className: "dsa-feature__header", children: [icon && jsx(Icon, { className: "dsa-feature__icon", icon: icon }), jsx("span", { className: "dsa-feature__title", children: title })] }), text || ctaStyle === "intext" ? (jsxs("p", { className: "dsa-feature__text", children: [text, ctaStyle === "intext" && toggle ? (jsxs(Fragment, { children: [" ", jsx(Link, { href: target, children: label ? label : "See more" })] })) : ("")] })) : (""), toggle && (ctaStyle === "link" || ctaStyle === "button") && (jsx("div", { className: "dsa-feature__cta", children: ctaStyle === "link" ? (jsxs(Link, { className: "dsa-feature__link", href: target, children: [label ? label : "See more", jsx(Icon, { icon: "arrow-right" })] })) : ctaStyle === "button" ? (jsx(Button, { className: "dsa-feature__button", size: "small", target: target, label: label ? label : "See more" })) : ("") }))] })));
20
20
  const FeatureContext = createContext(FeatureContextDefault);
21
21
  const Feature = forwardRef((props, ref) => {
22
22
  const Component = useContext(FeatureContext);
@@ -1,4 +1,4 @@
1
- .c-features {
1
+ .dsa-features {
2
2
  --dsa-features--gap-vertical: var(--ks-spacing-stack-l);
3
3
  --dsa-features--gap-horizontal: var(--ks-spacing-inline-m);
4
4
  --dsa-feature__title--color: var(--dsa-topic--color);
@@ -8,9 +8,7 @@
8
8
  --dsa-feature__copy--font: var(--ks-font-copy-s);
9
9
  --dsa-feature__link-font: var(--ks-font-copy-s);
10
10
  --dsa-feature__icon--color: var(--ks-text-color-primary);
11
- --dsa-feature_small__icon--size: calc(
12
- var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m)
13
- );
11
+ --dsa-feature_small__icon--size: calc(var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m));
14
12
  --dsa-feature_large__icon--size: calc(var(--ks-font-size-copy-m) * 2.5);
15
13
  --dsa-feature_small--gap: var(--ks-spacing-stack-xs);
16
14
  --dsa-feature_large--gap: var(--ks-spacing-stack-s);
@@ -18,42 +16,42 @@
18
16
  --dsa-feature_large__icon--gap: var(--ks-spacing-s);
19
17
  }
20
18
 
21
- .c-features {
19
+ .dsa-features {
22
20
  gap: var(--dsa-features--gap-vertical, var(--ks-spacing-stack-l)) var(--dsa-features--gap-horizontal, var(--ks-spacing-inline-m));
23
21
  }
24
- .c-features--list {
22
+ .dsa-features--list {
25
23
  display: flex;
26
24
  flex-direction: column;
27
25
  gap: var(--dsa-features--gap-vertical);
28
26
  }
29
- .c-features--large-tiles {
27
+ .dsa-features--large-tiles {
30
28
  display: grid;
31
29
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
32
30
  }
33
- .c-features--large-tiles .c-feature {
31
+ .dsa-features--large-tiles .dsa-feature {
34
32
  flex-basis: 300px;
35
33
  flex-grow: 1;
36
34
  flex-shrink: 0;
37
35
  }
38
- .c-features--small-tiles {
36
+ .dsa-features--small-tiles {
39
37
  display: grid;
40
38
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
41
39
  }
42
- .l-section--align-center .c-features--small-tiles {
40
+ .l-section--align-center .dsa-features--small-tiles {
43
41
  justify-content: center;
44
42
  }
45
- .c-features .c-feature {
43
+ .dsa-features .dsa-feature {
46
44
  display: flex;
47
45
  position: relative;
48
46
  flex-direction: column;
49
47
  gap: var(--dsa-feature--gap);
50
48
  }
51
- .c-features .c-feature--large {
49
+ .dsa-features .dsa-feature--large {
52
50
  --dsa-feature__icon--size: var(--dsa-feature_large__icon--size, calc(var(--ks-font-size-copy-m) * 2.5));
53
51
  --dsa-feature__icon--gap: var(--dsa-feature_large__icon--gap, var(--ks-spacing-xs));
54
52
  --dsa-feature--gap: var(--dsa-feature_large--gap, var(--ks-spacing-stack-s));
55
53
  }
56
- .c-features .c-feature--small {
54
+ .dsa-features .dsa-feature--small {
57
55
  --dsa-feature__icon--size: var(
58
56
  --dsa-feature_small__icon--size,
59
57
  calc(var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m))
@@ -61,67 +59,67 @@
61
59
  --dsa-feature__icon--gap: var(--dsa-feature_small__icon--gap, var(--ks-spacing-xs));
62
60
  --dsa-feature--gap: var(--dsa-feature_small--gap, var(--ks-spacing-stack-xs));
63
61
  }
64
- .c-features .c-feature--beside {
62
+ .dsa-features .dsa-feature--beside {
65
63
  padding-left: calc(var(--dsa-feature__icon--size) + var(--dsa-feature__icon--gap));
66
64
  }
67
- .c-features .c-feature--beside .c-feature__icon {
65
+ .dsa-features .dsa-feature--beside .dsa-feature__icon {
68
66
  position: absolute;
69
67
  top: 0;
70
68
  left: 0;
71
69
  }
72
- .c-features .c-feature--stack .c-feature__header {
70
+ .dsa-features .dsa-feature--stack .dsa-feature__header {
73
71
  display: flex;
74
72
  flex-direction: column;
75
73
  align-items: flex-start;
76
74
  }
77
- .c-features .c-feature--centered .c-feature__header {
75
+ .dsa-features .dsa-feature--centered .dsa-feature__header {
78
76
  display: flex;
79
77
  flex-direction: column;
80
78
  align-items: center;
81
79
  }
82
- .c-features .c-feature--centered .c-feature__title,
83
- .c-features .c-feature--centered .c-feature__text {
80
+ .dsa-features .dsa-feature--centered .dsa-feature__title,
81
+ .dsa-features .dsa-feature--centered .dsa-feature__text {
84
82
  text-align: center;
85
83
  }
86
- .c-features .c-feature--centered .c-feature__cta {
84
+ .dsa-features .dsa-feature--centered .dsa-feature__cta {
87
85
  display: flex;
88
86
  justify-content: center;
89
87
  }
90
- .c-features .c-feature__header {
88
+ .dsa-features .dsa-feature__header {
91
89
  display: flex;
92
90
  align-items: center;
93
91
  gap: var(--dsa-feature__icon--gap);
94
92
  }
95
- .c-features .c-feature__title {
93
+ .dsa-features .dsa-feature__title {
96
94
  font: var(--dsa-feature__title--font, var(--ks-font-interface-m));
97
95
  color: var(--dsa-feature__title--color, var(--ks-topic-color));
98
96
  font-family: var(--dsa-feature__title--font-family, var(--ks-font-family-display));
99
97
  font-weight: var(--dsa-feature__title--font-weight, var(--ks-font-weight-semi-bold));
100
98
  }
101
- .c-features .c-feature__text {
99
+ .dsa-features .dsa-feature__text {
102
100
  color: var(--dsa-feature__copy--color, var(--dsa-rich-text-color), var(--ks-text-color-default));
103
101
  font: var(--dsa-feature__copy--font, var(--ks-font-copy-s));
104
102
  margin: 0;
105
103
  }
106
- .c-features .c-feature__icon {
104
+ .dsa-features .dsa-feature__icon {
107
105
  color: var(--dsa-feature__icon--color, var(--ks-text-color-primary));
108
106
  width: var(--dsa-feature__icon--size);
109
107
  height: var(--dsa-feature__icon--size);
110
108
  }
111
- .c-features .c-feature__cta {
109
+ .dsa-features .dsa-feature__cta {
112
110
  margin-top: auto;
113
111
  }
114
- .c-features .c-feature__link {
112
+ .dsa-features .dsa-feature__link {
115
113
  font: var(--dsa-feature__link-font, var(--ks-font-copy-s));
116
114
  display: flex;
117
115
  align-items: center;
118
116
  gap: var(--ks-spacing-xxs);
119
117
  width: fit-content;
120
118
  }
121
- .c-features .c-feature__link .icon {
119
+ .dsa-features .dsa-feature__link .icon {
122
120
  width: 1.125em;
123
121
  height: 1.125em;
124
122
  }
125
- .c-features .c-feature__button {
123
+ .dsa-features .dsa-feature__button {
126
124
  margin-top: calc(var(--dsa-feature--gap) * 0.5);
127
125
  }
@@ -11,7 +11,7 @@ import '@kickstartds/base/lib/link';
11
11
  const FeaturesContextDefault = forwardRef(({ layout = "largeTiles", ctas = {
12
12
  style: "link",
13
13
  toggle: true,
14
- }, style = "intext", feature: features = [], ...rest }, ref) => (jsx("div", { ...rest, ref: ref, className: classnames(`c-features c-features--${layout === "largeTiles"
14
+ }, style = "intext", feature: features = [], ...rest }, ref) => (jsx("div", { ...rest, ref: ref, className: classnames(`dsa-features dsa-features--${layout === "largeTiles"
15
15
  ? "large-tiles"
16
16
  : layout === "smallTiles"
17
17
  ? "small-tiles"
@@ -77,6 +77,28 @@
77
77
  },
78
78
  "active": {
79
79
  "type": "boolean"
80
+ },
81
+ "items": {
82
+ "type": "array",
83
+ "items": {
84
+ "type": "object",
85
+ "properties": {
86
+ "href": {
87
+ "type": "string",
88
+ "format": "uri"
89
+ },
90
+ "id": {
91
+ "type": "string"
92
+ },
93
+ "label": {
94
+ "type": "string"
95
+ },
96
+ "active": {
97
+ "type": "boolean"
98
+ }
99
+ },
100
+ "additionalProperties": false
101
+ }
80
102
  }
81
103
  },
82
104
  "additionalProperties": false,
@@ -88,8 +110,20 @@
88
110
  "examples": [
89
111
  [
90
112
  {
91
- "label": "Nav Item",
92
- "href": "#"
113
+ "label": "Nav With Children",
114
+ "href": "#",
115
+ "items": [
116
+ {
117
+ "label": "TEST1",
118
+ "href": "#",
119
+ "id": "TEST1"
120
+ },
121
+ {
122
+ "label": "TEST2",
123
+ "href": "#",
124
+ "id": "TEST2"
125
+ }
126
+ ]
93
127
  },
94
128
  {
95
129
  "label": "Active Item",
@@ -1,4 +1,4 @@
1
1
  import { FC } from "react";
2
- import { FooterProps } from "../../FooterProps-10c950a6.js";
2
+ import { FooterProps } from "../../FooterProps-22e0307b.js";
3
3
  declare const Footer: FC<FooterProps>;
4
4
  export { Footer };
@@ -1,4 +1,6 @@
1
- :root, [ks-inverted], [ks-theme] {
1
+ :root,
2
+ [ks-theme],
3
+ [ks-inverted] {
2
4
  --dsa-header--spacing-vertical: var(--ks-spacing-stack-m);
3
5
  --dsa-header--spacing-horizontal: var(--l-section--content-padding);
4
6
  }
@@ -2,6 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "http://schema.mydesignsystem.com/header.schema.json",
4
4
  "title": "Header",
5
+ "description": "Header layered on top by the CMS",
5
6
  "type": "object",
6
7
  "properties": {
7
8
  "logo": {
@@ -57,6 +58,12 @@
57
58
  "description": "Toggle the inversion of the flyout navigation",
58
59
  "default": false
59
60
  },
61
+ "dropdownInverted": {
62
+ "type": "boolean",
63
+ "title": "Dropdown Inverted",
64
+ "description": "Toggle the inversion of the dropdown navigation",
65
+ "default": false
66
+ },
60
67
  "floating": {
61
68
  "type": "boolean",
62
69
  "title": "Floating",
@@ -83,6 +90,28 @@
83
90
  },
84
91
  "active": {
85
92
  "type": "boolean"
93
+ },
94
+ "items": {
95
+ "type": "array",
96
+ "items": {
97
+ "type": "object",
98
+ "properties": {
99
+ "href": {
100
+ "type": "string",
101
+ "format": "uri"
102
+ },
103
+ "id": {
104
+ "type": "string"
105
+ },
106
+ "label": {
107
+ "type": "string"
108
+ },
109
+ "active": {
110
+ "type": "boolean"
111
+ }
112
+ },
113
+ "additionalProperties": false
114
+ }
86
115
  }
87
116
  },
88
117
  "additionalProperties": false,
@@ -94,8 +123,20 @@
94
123
  "examples": [
95
124
  [
96
125
  {
97
- "label": "Nav Item",
98
- "href": "#"
126
+ "label": "Nav With Children",
127
+ "href": "#",
128
+ "items": [
129
+ {
130
+ "label": "TEST1",
131
+ "href": "#",
132
+ "id": "TEST1"
133
+ },
134
+ {
135
+ "label": "TEST2",
136
+ "href": "#",
137
+ "id": "TEST2"
138
+ }
139
+ ]
99
140
  },
100
141
  {
101
142
  "label": "Active Item",
@@ -121,8 +162,5 @@
121
162
  "const": "header"
122
163
  }
123
164
  },
124
- "additionalProperties": false,
125
- "required": [
126
- "logo"
127
- ]
165
+ "additionalProperties": false
128
166
  }
@@ -2,6 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "http://schema.mydesignsystem.com/header.schema.json",
4
4
  "title": "Header",
5
+ "description": "Header layered on top by the CMS",
5
6
  "type": "object",
6
7
  "properties": {
7
8
  "logo": {
@@ -31,6 +32,9 @@
31
32
  "flyoutInverted": {
32
33
  "$ref": "http://schema.mydesignsystem.com/nav-main.schema.json#/properties/flyoutInverted"
33
34
  },
35
+ "dropdownInverted": {
36
+ "$ref": "http://schema.mydesignsystem.com/nav-main.schema.json#/properties/dropdownInverted"
37
+ },
34
38
  "floating": {
35
39
  "type": "boolean",
36
40
  "title": "Floating",
@@ -46,7 +50,5 @@
46
50
  "navItems": {
47
51
  "$ref": "http://schema.mydesignsystem.com/nav-main.schema.json#/properties/items"
48
52
  }
49
- },
50
- "additionalProperties": false,
51
- "required": ["logo"]
53
+ }
52
54
  }
@@ -1,4 +1,4 @@
1
1
  import { FC } from "react";
2
- import { HeaderProps } from "../../HeaderProps-7be94a61.js";
2
+ import { HeaderProps } from "../../HeaderProps-dd2071a8.js";
3
3
  declare const Header: FC<HeaderProps>;
4
4
  export { Header };
@@ -3,16 +3,20 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
3
  import classnames from 'classnames';
4
4
  import { NavMain } from '../nav-main/index.js';
5
5
  import { Logo } from '../logo/index.js';
6
- import 'react';
7
- import '@kickstartds/base/lib/link';
8
- import '../nav-main/js/NavToggle.client.js';
6
+ import '../nav/js/NavToggle.client.js';
9
7
  import '@kickstartds/core/lib/component';
10
- import '../nav-main/js/navMainEvents.client.js';
8
+ import '../nav/js/navMainEvents.client.js';
11
9
  import '@kickstartds/core/lib/core';
12
- import '../nav-main/js/body.client.js';
10
+ import '../nav/js/body.client.js';
11
+ import '../nav-toggle/index.js';
12
+ import '../nav-topbar/index.js';
13
+ import '@kickstartds/base/lib/link';
14
+ import '@kickstartds/base/lib/icon';
15
+ import '../nav-dropdown/index.js';
16
+ import '../nav-flyout/index.js';
13
17
  import '@kickstartds/base/lib/picture';
14
18
 
15
- const Header = ({ logo, floating, inverted = false, flyoutInverted = false, navItems = [], }) => (jsx(Fragment, { children: jsx("div", { className: classnames("dsa-header", floating ? `dsa-header--floating` : ""), "ks-inverted": inverted.toString(), children: jsxs("div", { className: "dsa-header__content", children: [jsx(Logo, { ...logo, className: "dsa-header__logo", inverted: inverted }), jsx(NavMain, { flyoutInverted: flyoutInverted, items: navItems, logo: {
19
+ const Header = ({ logo, floating, inverted = false, flyoutInverted = false, dropdownInverted = false, navItems = [], }) => (jsx(Fragment, { children: jsx("div", { className: classnames("dsa-header", floating ? `dsa-header--floating` : ""), "ks-inverted": inverted.toString(), children: jsxs("div", { className: "dsa-header__content", children: [jsx(Logo, { ...logo, className: "dsa-header__logo", inverted: inverted }), jsx(NavMain, { flyoutInverted: flyoutInverted, dropdownInverted: dropdownInverted, items: navItems, logo: {
16
20
  ...logo,
17
21
  inverted: flyoutInverted,
18
22
  } })] }) }) }));
@@ -1,18 +1,18 @@
1
- .c-image {
2
- --c-image--ratio-square: 1/1;
3
- --c-image--ratio-wide: 4/3;
4
- --c-image--ratio-landscape: 16/9;
1
+ .dsa-image {
2
+ --dsa-image--ratio-square: 1/1;
3
+ --dsa-image--ratio-wide: 4/3;
4
+ --dsa-image--ratio-landscape: 16/9;
5
5
  }
6
6
 
7
- .c-image {
7
+ .dsa-image {
8
8
  object-fit: cover;
9
9
  }
10
- .c-image--square {
10
+ .dsa-image--square {
11
11
  aspect-ratio: var(--c-image--ratio-square);
12
12
  }
13
- .c-image--wide {
13
+ .dsa-image--wide {
14
14
  aspect-ratio: var(--c-image--ratio-wide);
15
15
  }
16
- .c-image--landscape {
16
+ .dsa-image--landscape {
17
17
  aspect-ratio: var(--c-image--ratio-landscape);
18
18
  }
@@ -4,7 +4,7 @@ import classnames from 'classnames';
4
4
  import { forwardRef } from 'react';
5
5
  import { PictureContextDefault, PictureContext } from '@kickstartds/base/lib/picture';
6
6
 
7
- const Image = forwardRef(({ src, srcSet, alt, width, height, aspectRatio, className, id, itemProp, style, lazy, sources, pictureClassName, ...props }, ref) => (jsx(PictureContextDefault, { ...props, src: src, srcSet: srcSet, alt: alt, width: width, height: height, id: id, itemProp: itemProp, style: style, lazy: lazy, sources: sources, pictureClassName: pictureClassName, ref: ref, className: classnames("c-image", aspectRatio !== "unset" && `c-image--${aspectRatio}`, className) })));
7
+ const Image = forwardRef(({ src, srcSet, alt, width, height, aspectRatio, className, id, itemProp, style, lazy, sources, pictureClassName, ...props }, ref) => (jsx(PictureContextDefault, { ...props, src: src, srcSet: srcSet, alt: alt, width: width, height: height, id: id, itemProp: itemProp, style: style, lazy: lazy, sources: sources, pictureClassName: pictureClassName, ref: ref, className: classnames("dsa-image", aspectRatio !== "unset" && `dsa-image--${aspectRatio}`, className) })));
8
8
  Image.displayName = "Image";
9
9
  const ImageProvider = (props) => (jsx(PictureContext.Provider, { ...props, value: Image }));
10
10