@kickstartds/ds-agency-premium 1.5.7 → 1.5.9

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.
@@ -9,7 +9,7 @@ import { Icon } from '@kickstartds/base/lib/icon';
9
9
  import { RichText } from '@kickstartds/base/lib/rich-text';
10
10
  import { Container } from '@kickstartds/core/lib/container';
11
11
 
12
- const ContactContextDefault = forwardRef(({ title, subtitle, image, links, copy, className, ...props }, ref) => (jsx(Container, { name: "contact", children: jsxs("address", { className: classnames("dsa-contact", image?.aspectRatio && `dsa-contact--image-${image?.aspectRatio}`, image?.fullWidth && `dsa-contact--image-full-width`, className), ref: ref, ...props, children: [image && image.src ? (jsx("div", { className: "dsa-contact__image-wrap", children: jsx(Picture, { ...image, className: "dsa-contact__image" }) })) : (""), jsxs("div", { className: "dsa-contact__body", children: [title && (jsxs("div", { className: "dsa-contact__header", children: [jsx("span", { className: "dsa-contact__title", children: title }), jsx("span", { className: "dsa-contact__subtitle", children: subtitle })] })), copy && jsx(RichText, { text: copy, className: "dsa-contact__copy" }), links && links.length ? (jsx("ul", { className: "dsa-contact__links", children: links.map(({ icon, href, label, newTab }, i) => (jsx("li", { children: jsxs(Link, { className: "dsa-contact__link", href: href, ...(newTab ? { target: "_blank", rel: "noopener" } : {}), children: [jsx(Icon, { icon: icon }), label] }) }, i))) })) : ("")] })] }) })));
12
+ const ContactContextDefault = forwardRef(({ title, subtitle, image, links, copy, className, ...props }, ref) => (jsx(Container, { name: "contact", children: jsxs("address", { className: classnames("dsa-contact", image?.aspectRatio && `dsa-contact--image-${image?.aspectRatio}`, image?.fullWidth && `dsa-contact--image-full-width`, className), ref: ref, ...props, children: [image && image.src ? (jsx("div", { className: "dsa-contact__image-wrap", children: jsx(Picture, { src: image?.src, alt: image?.alt, className: "dsa-contact__image" }) })) : (""), jsxs("div", { className: "dsa-contact__body", children: [title && (jsxs("div", { className: "dsa-contact__header", children: [jsx("span", { className: "dsa-contact__title", children: title }), jsx("span", { className: "dsa-contact__subtitle", children: subtitle })] })), copy && jsx(RichText, { text: copy, className: "dsa-contact__copy" }), links && links.length ? (jsx("ul", { className: "dsa-contact__links", children: links.map(({ icon, href, label, newTab }, i) => (jsx("li", { children: jsxs(Link, { className: "dsa-contact__link", href: href, ...(newTab ? { target: "_blank", rel: "noopener" } : {}), children: [jsx(Icon, { icon: icon }), label] }) }, i))) })) : ("")] })] }) })));
13
13
  const ContactContext = createContext(ContactContextDefault);
14
14
  const Contact = forwardRef((props, ref) => {
15
15
  const Component = useContext(ContactContext);
@@ -6,7 +6,12 @@
6
6
  --dsa-feature__title--font-family: var(--dsa-topic--font-family);
7
7
  --dsa-feature__copy--color: var(--dsa-rich-text--color);
8
8
  --dsa-feature__copy--font: var(--ks-font-copy-s);
9
- --dsa-feature__link-font: var(--ks-font-copy-s);
9
+ --dsa-feature__link--font: var(--ks-font-copy-s);
10
+ --dsa-feature__link--font-weight: var(--dsa-link--font-weight);
11
+ --dsa-feature__link--color: var(--dsa-link--color);
12
+ --dsa-feature__link--gap: 0.35em;
13
+ --dsa-feature__link--text-decoration: none;
14
+ --dsa-feature__link--text-decoration_hover: none;
10
15
  --dsa-feature__icon--color: var(--ks-text-color-primary);
11
16
  --dsa-feature_small__icon--size: calc(var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m));
12
17
  --dsa-feature_large__icon--size: calc(var(--ks-font-size-copy-m) * 2.5);
@@ -110,12 +115,19 @@
110
115
  margin-top: auto;
111
116
  }
112
117
  .dsa-features .dsa-feature__link {
113
- font: var(--dsa-feature__link-font, var(--ks-font-copy-s));
118
+ font: var(--dsa-feature__link--font, var(--ks-font-copy-s));
119
+ color: var(--dsa-feature__link--color, var(--dsa-link--color));
120
+ font-weight: var(--dsa-feature__link--font-weight, var(--dsa-link--font-weight));
121
+ text-decoration: var(--dsa-feature__link--text-decoration, var(--dsa-link--text-decoration));
114
122
  display: flex;
115
123
  align-items: center;
116
- gap: var(--ks-spacing-xxs);
124
+ gap: var(--dsa-feature__link--gap, 0.35em);
117
125
  width: fit-content;
118
126
  }
127
+ .dsa-features .dsa-feature__link:hover {
128
+ color: var(--dsa-feature__link--color_hover, var(--dsa-link--color_hover));
129
+ text-decoration: var(--dsa-feature__link--text-decoration_hover, var(--dsa-link--text-decoration_hover));
130
+ }
119
131
  .dsa-features .dsa-feature__link .icon {
120
132
  width: 1.125em;
121
133
  height: 1.125em;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 09:30:56 GMT
3
+ * Generated on Wed, 04 Sep 2024 09:50:45 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 09:30:58 GMT
3
+ * Generated on Wed, 04 Sep 2024 09:50:47 GMT
4
4
  */
5
5
  :root [ks-theme=business] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -2727,7 +2727,7 @@
2727
2727
  }
2728
2728
  /**
2729
2729
  * Do not edit directly
2730
- * Generated on Wed, 04 Sep 2024 09:31:02 GMT
2730
+ * Generated on Wed, 04 Sep 2024 09:50:51 GMT
2731
2731
  */
2732
2732
  :root [ks-theme=google] {
2733
2733
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -5458,7 +5458,7 @@
5458
5458
  }
5459
5459
  /**
5460
5460
  * Do not edit directly
5461
- * Generated on Wed, 04 Sep 2024 09:31:00 GMT
5461
+ * Generated on Wed, 04 Sep 2024 09:50:49 GMT
5462
5462
  */
5463
5463
  :root [ks-theme=ngo] {
5464
5464
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -8459,7 +8459,7 @@
8459
8459
  }
8460
8460
  /**
8461
8461
  * Do not edit directly
8462
- * Generated on Wed, 04 Sep 2024 09:31:04 GMT
8462
+ * Generated on Wed, 04 Sep 2024 09:50:53 GMT
8463
8463
  */
8464
8464
  :root [ks-theme=telekom] {
8465
8465
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 09:30:56 GMT
3
+ * Generated on Wed, 04 Sep 2024 09:50:45 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 04 Sep 2024 09:30:56 GMT
3
+ * Generated on Wed, 04 Sep 2024 09:50:45 GMT
4
4
  */
5
5
 
6
6
  export const KsBackgroundColorAccentBase = "#230a2b";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kickstartds/ds-agency-premium",
3
- "version": "1.5.7",
3
+ "version": "1.5.9",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
6
6
  "bugs": {