@kickstartds/ds-agency-premium 1.4.7--canary.15.776.0 → 1.4.7
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-99489f0b.d.ts → BlogAsideProps-e1cbd5d3.d.ts} +4 -11
- package/dist/{BlogHeadProps-f9a49428.d.ts → BlogHeadProps-3f6e4072.d.ts} +2 -1
- package/dist/{BlogOverviewProps-83d399b4.d.ts → BlogOverviewProps-9f207f1c.d.ts} +1 -1
- package/dist/{BlogPostProps-83d399b4.d.ts → BlogPostProps-440f88a5.d.ts} +2 -2
- package/dist/BlogTagProps-f5855e93.d.ts +16 -0
- package/dist/{BlogTeaserProps-525f7f9f.d.ts → BlogTeaserProps-f5855e93.d.ts} +2 -1
- package/dist/SectionProps-83d399b4.d.ts +1 -1
- package/dist/components/blog-aside/blog-aside.css +16 -8
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +7 -21
- package/dist/components/blog-aside/blog-aside.schema.json +5 -16
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +2 -2
- package/dist/components/blog-head/blog-head.schema.dereffed.json +18 -4
- package/dist/components/blog-head/blog-head.schema.json +1 -2
- package/dist/components/blog-head/index.d.ts +1 -1
- package/dist/components/blog-head/index.js +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +54 -12
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +25 -25
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +1 -1
- package/dist/components/blog-tag/blog-tag.schema.dereffed.json +21 -0
- package/dist/components/blog-tag/blog-tag.schema.json +16 -0
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +18 -4
- package/dist/components/blog-teaser/blog-teaser.schema.json +1 -2
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.js +1 -1
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +2 -2
- package/dist/components/nav-topbar/nav-topbar.css +1 -1
- package/dist/components/page-wrapper/index.js +0 -6
- package/dist/components/page-wrapper/tokens.css +3 -3
- package/dist/components/presets.json +42 -94
- package/dist/components/providers/index.js +1 -7
- package/dist/components/split/index.d.ts +1 -2
- package/dist/components/split/index.js +1 -11
- package/dist/components/split/split.css +10 -36
- package/dist/components/split/split.schema.dereffed.json +3 -12
- package/dist/components/split/split.schema.json +1 -7
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +3 -3
- package/dist/tokens/tokens.js +3 -3
- package/package.json +1 -1
- package/dist/components/contact/contact.css +0 -73
- package/dist/components/contact/contact.schema.dereffed.json +0 -108
- package/dist/components/contact/contact.schema.json +0 -94
- package/dist/components/contact/index.d.ts +0 -60
- package/dist/components/contact/index.js +0 -15
- package/dist/components/html/html.schema.json +0 -25
- package/dist/components/html/index.d.ts +0 -26
- package/dist/components/html/index.js +0 -6
- /package/dist/{ImageStoryProps-03ff6d21.d.ts → ImageStoryProps-e853e1e7.d.ts} +0 -0
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
.dsa-contact {
|
|
2
|
-
--dsa-contact--gap: var(--ks-spacing-stack-m) var(--ks-spacing-inline-m);
|
|
3
|
-
--dsa-contact__header--gap: 0;
|
|
4
|
-
--dsa-contact__body--gap: var(--ks-spacing-stack-s) var(--ks-spacing-inline-m);
|
|
5
|
-
--dsa-contact__title--color: var(--ks-text-color-display);
|
|
6
|
-
--dsa-contact__title--font: var(--ks-font-copy-l);
|
|
7
|
-
--dsa-contact__title--font-weight: var(--ks-font-weight-bold);
|
|
8
|
-
--dsa-contact__subtitle--color: var(--ks-text-color-copy);
|
|
9
|
-
--dsa-contact__subtitle--font: var(--ks-font-copy-m);
|
|
10
|
-
--dsa-contact__subtitle--font-weight: var(--ks-font-weight-regular);
|
|
11
|
-
--dsa-contact__links--gap: 0;
|
|
12
|
-
--dsa-contact__links--color: var(--dsa-link--color);
|
|
13
|
-
--dsa-contact__links--font: var(--ks-font-interface-s);
|
|
14
|
-
--dsa-contact__links__icon--margin-right: var(--ks-spacing-inline-xs);
|
|
15
|
-
--dsa-contact__links__icon--size: 1.5rem;
|
|
16
|
-
--dsa-contact__links__icon--color: var(--dsa-link--color);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.dsa-contact {
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-wrap: wrap;
|
|
22
|
-
gap: var(--dsa-contact--gap);
|
|
23
|
-
justify-content: center;
|
|
24
|
-
}
|
|
25
|
-
.dsa-contact__image, .dsa-contact__body {
|
|
26
|
-
flex-grow: 1;
|
|
27
|
-
}
|
|
28
|
-
.dsa-contact__body {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
gap: var(--dsa-contact__body--gap);
|
|
32
|
-
}
|
|
33
|
-
.dsa-contact__header {
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
gap: var(--dsa-contact__header--gap);
|
|
37
|
-
}
|
|
38
|
-
.dsa-contact__title {
|
|
39
|
-
font: var(--dsa-contact__title--font);
|
|
40
|
-
color: var(--dsa-contact__title--color);
|
|
41
|
-
font-weight: var(--dsa-contact__title--font-weight);
|
|
42
|
-
}
|
|
43
|
-
.dsa-contact__subtitle {
|
|
44
|
-
font: var(--dsa-contact__subtitle--font);
|
|
45
|
-
color: var(--dsa-contact__subtitle--color);
|
|
46
|
-
font-weight: var(--dsa-contact__subtitle--font-weight);
|
|
47
|
-
}
|
|
48
|
-
.dsa-contact__image {
|
|
49
|
-
text-align: center;
|
|
50
|
-
}
|
|
51
|
-
.dsa-contact__links {
|
|
52
|
-
display: flex;
|
|
53
|
-
flex-direction: column;
|
|
54
|
-
gap: var(--dsa-contact__links--gap);
|
|
55
|
-
font: var(--dsa-contact__links--font);
|
|
56
|
-
list-style: none;
|
|
57
|
-
padding: 0;
|
|
58
|
-
margin: 0;
|
|
59
|
-
}
|
|
60
|
-
.dsa-contact__links .icon {
|
|
61
|
-
width: var(--dsa-contact__links__icon--size);
|
|
62
|
-
height: var(--dsa-contact__links__icon--size);
|
|
63
|
-
color: var(--dsa-contact__links__icon--color);
|
|
64
|
-
margin-right: var(--dsa-contact__links__icon--margin-right);
|
|
65
|
-
}
|
|
66
|
-
.dsa-contact .c-headline {
|
|
67
|
-
--c-headline--color: var(--dsa-contact__headline--color);
|
|
68
|
-
--c-headline--font: var(--dsa-contact__headline--font);
|
|
69
|
-
--c-headline--font-weight: var(--dsa-contact__headline--font-weight);
|
|
70
|
-
--c-headline__subheadline--color: var(--dsa-contact__headline__subheadline--color);
|
|
71
|
-
--c-headline__subheadline--font: var(--dsa-contact__headline__subheadline--font);
|
|
72
|
-
--c-headline__subheadline--font-weight: var(--dsa-contact__headline__subheadline--font-weight);
|
|
73
|
-
}
|
|
@@ -1,108 +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": [
|
|
17
|
-
"img/people/author-emily.png"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"alt": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"title": "Alt Text",
|
|
23
|
-
"description": "Alt text of the image",
|
|
24
|
-
"examples": [
|
|
25
|
-
"Picture of Jane Smith"
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"additionalProperties": false
|
|
30
|
-
},
|
|
31
|
-
"title": {
|
|
32
|
-
"title": "Title",
|
|
33
|
-
"description": "Name, company name, etc.",
|
|
34
|
-
"type": "string",
|
|
35
|
-
"examples": [
|
|
36
|
-
"Jane Smith"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
"subtitle": {
|
|
40
|
-
"title": "Subtitle",
|
|
41
|
-
"description": "Position, profession, department, location, etc.",
|
|
42
|
-
"type": "string",
|
|
43
|
-
"examples": [
|
|
44
|
-
"CEO at Company"
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
"links": {
|
|
48
|
-
"type": "array",
|
|
49
|
-
"items": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"properties": {
|
|
52
|
-
"icon": {
|
|
53
|
-
"type": "string"
|
|
54
|
-
},
|
|
55
|
-
"label": {
|
|
56
|
-
"type": "string"
|
|
57
|
-
},
|
|
58
|
-
"href": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"format": "uri"
|
|
61
|
-
},
|
|
62
|
-
"newTab": {
|
|
63
|
-
"title": "Open link in new Tab",
|
|
64
|
-
"description": "Open link in new Tab",
|
|
65
|
-
"type": "boolean",
|
|
66
|
-
"default": false
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"additionalProperties": false
|
|
70
|
-
},
|
|
71
|
-
"examples": [
|
|
72
|
-
[
|
|
73
|
-
{
|
|
74
|
-
"icon": "phone",
|
|
75
|
-
"label": "0228 / 688 966 20",
|
|
76
|
-
"href": "tel:+4922868896620"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"icon": "email",
|
|
80
|
-
"label": "mail@example.com",
|
|
81
|
-
"href": "mailto:mail@example.com"
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
"copy": {
|
|
87
|
-
"title": "Copy text",
|
|
88
|
-
"type": "string"
|
|
89
|
-
},
|
|
90
|
-
"className": {
|
|
91
|
-
"title": "Class",
|
|
92
|
-
"description": "Additional css classes attached to the wrapping element",
|
|
93
|
-
"type": "string"
|
|
94
|
-
},
|
|
95
|
-
"component": {
|
|
96
|
-
"title": "`ks-component` attribute",
|
|
97
|
-
"description": "Optional custom component identifier",
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"type": {
|
|
101
|
-
"const": "contact"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"additionalProperties": false,
|
|
105
|
-
"required": [
|
|
106
|
-
"name"
|
|
107
|
-
]
|
|
108
|
-
}
|
|
@@ -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": ["Jane Smith"]
|
|
31
|
-
},
|
|
32
|
-
"subtitle": {
|
|
33
|
-
"title": "Subtitle",
|
|
34
|
-
"description": "Position, profession, department, location, etc.",
|
|
35
|
-
"type": "string",
|
|
36
|
-
"examples": ["CEO at Company"]
|
|
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 };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.kickstartds.com/base/html.schema.json",
|
|
4
|
-
"title": "HTML",
|
|
5
|
-
"description": "Display raw HTML.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"html": {
|
|
9
|
-
"title": "HTML string",
|
|
10
|
-
"type": "string",
|
|
11
|
-
"examples": ["<p>Hello world!</p>"]
|
|
12
|
-
},
|
|
13
|
-
"className": {
|
|
14
|
-
"title": "Additional Classes",
|
|
15
|
-
"description": "Add additional css classes that should be applied to the element",
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"component": {
|
|
19
|
-
"title": "`ks-component` attribute",
|
|
20
|
-
"description": "Optional custom component identifier",
|
|
21
|
-
"type": "string"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"additionalProperties": false
|
|
25
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ForwardRefRenderFunction, HTMLAttributes } from 'react';
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
-
* and run `yarn run schema` to regenerate this file.
|
|
7
|
-
*/
|
|
8
|
-
type HTMLString = string;
|
|
9
|
-
/**
|
|
10
|
-
* Add additional css classes that should be applied to the element
|
|
11
|
-
*/
|
|
12
|
-
type AdditionalClasses = string;
|
|
13
|
-
/**
|
|
14
|
-
* Optional custom component identifier
|
|
15
|
-
*/
|
|
16
|
-
type KsComponentAttribute = string;
|
|
17
|
-
/**
|
|
18
|
-
* Display raw HTML.
|
|
19
|
-
*/
|
|
20
|
-
interface HTMLProps {
|
|
21
|
-
html?: HTMLString;
|
|
22
|
-
className?: AdditionalClasses;
|
|
23
|
-
component?: KsComponentAttribute;
|
|
24
|
-
}
|
|
25
|
-
declare const HtmlComponent: ForwardRefRenderFunction<HTMLDivElement, HTMLProps & HTMLAttributes<HTMLDivElement>>;
|
|
26
|
-
export { HTMLProps, HtmlComponent };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import classnames from 'classnames';
|
|
3
|
-
|
|
4
|
-
const HtmlComponent = ({ html, className, component, ...props }, ref) => (jsx("div", { className: classnames('c-html', className), dangerouslySetInnerHTML: { __html: html }, "ks-component": component, ref: ref, ...props }));
|
|
5
|
-
|
|
6
|
-
export { HtmlComponent };
|
|
File without changes
|