@kickstartds/ds-agency-premium 1.4.6--canary.767.c06aa08.0 → 1.4.6

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 (36) hide show
  1. package/dist/{BlogAsideProps-99489f0b.d.ts → BlogAsideProps-e1cbd5d3.d.ts} +4 -11
  2. package/dist/{BlogHeadProps-f9a49428.d.ts → BlogHeadProps-3f6e4072.d.ts} +2 -1
  3. package/dist/BlogOverviewProps-9f207f1c.d.ts +1 -1
  4. package/dist/BlogPostProps-440f88a5.d.ts +2 -2
  5. package/dist/BlogTagProps-f5855e93.d.ts +16 -0
  6. package/dist/{BlogTeaserProps-525f7f9f.d.ts → BlogTeaserProps-f5855e93.d.ts} +2 -1
  7. package/dist/components/blog-aside/blog-aside.css +5 -2
  8. package/dist/components/blog-aside/blog-aside.schema.dereffed.json +7 -21
  9. package/dist/components/blog-aside/blog-aside.schema.json +5 -16
  10. package/dist/components/blog-aside/index.d.ts +1 -1
  11. package/dist/components/blog-aside/index.js +2 -2
  12. package/dist/components/blog-head/blog-head.schema.dereffed.json +18 -4
  13. package/dist/components/blog-head/blog-head.schema.json +1 -2
  14. package/dist/components/blog-head/index.d.ts +1 -1
  15. package/dist/components/blog-head/index.js +1 -1
  16. package/dist/components/blog-overview/blog-overview.schema.dereffed.json +54 -12
  17. package/dist/components/blog-post/blog-post.schema.dereffed.json +25 -25
  18. package/dist/components/blog-tag/blog-tag.schema.dereffed.json +21 -0
  19. package/dist/components/blog-tag/blog-tag.schema.json +16 -0
  20. package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +18 -4
  21. package/dist/components/blog-teaser/blog-teaser.schema.json +1 -2
  22. package/dist/components/blog-teaser/index.d.ts +1 -1
  23. package/dist/components/blog-teaser/index.js +1 -1
  24. package/dist/components/page-wrapper/index.js +0 -6
  25. package/dist/components/page-wrapper/tokens.css +1 -1
  26. package/dist/components/presets.json +40 -92
  27. package/dist/components/providers/index.js +1 -7
  28. package/dist/tokens/themes.css +4 -4
  29. package/dist/tokens/tokens.css +1 -1
  30. package/dist/tokens/tokens.js +1 -1
  31. package/package.json +1 -1
  32. package/dist/components/contact/contact.css +0 -73
  33. package/dist/components/contact/contact.schema.dereffed.json +0 -108
  34. package/dist/components/contact/contact.schema.json +0 -94
  35. package/dist/components/contact/index.d.ts +0 -60
  36. package/dist/components/contact/index.js +0 -15
@@ -1,94 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://schema.mydesignsystem.com/contact.schema.json",
4
- "title": "Contact",
5
- "description": "Component used for user interaction",
6
- "type": "object",
7
- "properties": {
8
- "image": {
9
- "type": "object",
10
- "properties": {
11
- "src": {
12
- "type": "string",
13
- "format": "image",
14
- "title": "Image Source",
15
- "description": "URL of the image to display",
16
- "examples": ["img/people/author-emily.png"]
17
- },
18
- "alt": {
19
- "type": "string",
20
- "title": "Alt Text",
21
- "description": "Alt text of the image",
22
- "examples": ["Picture of Jane Smith"]
23
- }
24
- }
25
- },
26
- "title": {
27
- "title": "Title",
28
- "description": "Name, company name, etc.",
29
- "type": "string",
30
- "examples": ["Max Mütze"]
31
- },
32
- "subtitle": {
33
- "title": "Subtitle",
34
- "description": "Position, profession, department, location, etc.",
35
- "type": "string",
36
- "examples": ["Geschäftsführer"]
37
- },
38
- "links": {
39
- "type": "array",
40
- "items": {
41
- "type": "object",
42
- "properties": {
43
- "icon": {
44
- "type": "string"
45
- },
46
- "label": {
47
- "type": "string"
48
- },
49
- "href": {
50
- "type": "string",
51
- "format": "uri"
52
- },
53
- "newTab": {
54
- "title": "Open link in new Tab",
55
- "description": "Open link in new Tab",
56
- "type": "boolean",
57
- "default": false
58
- }
59
- },
60
- "additionalProperties": false
61
- },
62
- "examples": [
63
- [
64
- {
65
- "icon": "phone",
66
- "label": "0228 / 688 966 20",
67
- "href": "tel:+4922868896620"
68
- },
69
- {
70
- "icon": "email",
71
- "label": "mail@example.com",
72
- "href": "mailto:mail@example.com"
73
- }
74
- ]
75
- ]
76
- },
77
- "copy": {
78
- "title": "Copy text",
79
- "type": "string"
80
- },
81
- "className": {
82
- "title": "Class",
83
- "description": "Additional css classes attached to the wrapping element",
84
- "type": "string"
85
- },
86
- "component": {
87
- "title": "`ks-component` attribute",
88
- "description": "Optional custom component identifier",
89
- "type": "string"
90
- }
91
- },
92
- "additionalProperties": false,
93
- "required": ["name"]
94
- }
@@ -1,60 +0,0 @@
1
- /// <reference types="react" />
2
- import { HTMLAttributes, FC, PropsWithChildren } 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
- /**
10
- * URL of the image to display
11
- */
12
- type ImageSource = string;
13
- /**
14
- * Alt text of the image
15
- */
16
- type AltText = string;
17
- /**
18
- * Name, company name, etc.
19
- */
20
- type Title = string;
21
- /**
22
- * Position, profession, department, location, etc.
23
- */
24
- type Subtitle = string;
25
- /**
26
- * Open link in new Tab
27
- */
28
- type OpenLinkInNewTab = boolean;
29
- type CopyText = string;
30
- /**
31
- * Additional css classes attached to the wrapping element
32
- */
33
- type Class = string;
34
- /**
35
- * Optional custom component identifier
36
- */
37
- type KsComponentAttribute = string;
38
- /**
39
- * Component used for user interaction
40
- */
41
- interface ContactProps {
42
- image?: {
43
- src?: ImageSource;
44
- alt?: AltText;
45
- };
46
- title?: Title;
47
- subtitle?: Subtitle;
48
- links?: {
49
- icon?: string;
50
- label?: string;
51
- href?: string;
52
- newTab?: OpenLinkInNewTab;
53
- }[];
54
- copy?: CopyText;
55
- className?: Class;
56
- component?: KsComponentAttribute;
57
- }
58
- declare const Contact: import("react").ForwardRefExoticComponent<ContactProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLAnchorElement>>;
59
- declare const ContactProvider: FC<PropsWithChildren>;
60
- export { Contact, ContactProvider };
@@ -1,15 +0,0 @@
1
- import "./contact.css";
2
- import { jsxs, jsx } from 'react/jsx-runtime';
3
- import { forwardRef } from 'react';
4
- import classnames from 'classnames';
5
- import { Picture } from '@kickstartds/base/lib/picture';
6
- import { ContactContext } from '@kickstartds/base/lib/contact';
7
- import { Link } from '@kickstartds/base/lib/link';
8
- import { Icon } from '@kickstartds/base/lib/icon';
9
- import { RichText } from '@kickstartds/base/lib/rich-text';
10
-
11
- const Contact = forwardRef(({ title, subtitle, image, links, copy, className, ...props }, ref) => (jsxs("address", { className: classnames("dsa-contact", className), ref: ref, ...props, children: [image && image.src ? (jsx("div", { className: "dsa-contact__image", children: jsx(Picture, { ...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 })] })), 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))) })) : (""), copy && jsx(RichText, { text: copy, className: "dsa-contact__copy" })] })] })));
12
- Contact.displayName = "Contact";
13
- const ContactProvider = (props) => (jsx(ContactContext.Provider, { ...props, value: Contact }));
14
-
15
- export { Contact, ContactProvider };