@ebrains/react 0.7.0-alpha.0 → 0.9.0-beta
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/README.md +3 -3
- package/bookmark-c200037c.esm.js +16 -0
- package/color-primary-palette_6.entry.esm.js +163 -141
- package/components-section.entry.esm.js +165 -0
- package/correct-use-of-colors.entry.esm.js +49 -49
- package/{eds-docs-palettes.entry.esm.js → docs-palettes.entry.esm.js} +3 -3
- package/{eds-docs-tokens.entry.esm.js → docs-tokens.entry.esm.js} +3 -3
- package/eds-accordion.entry.esm.js +132 -0
- package/eds-alert.entry.esm.js +14 -6
- package/eds-app-root.entry.esm.js +4 -4
- package/eds-avatar_24.entry.esm.js +275 -0
- package/eds-breadcrumb.entry.esm.js +6 -3
- package/{eds-avatar_4.entry.esm.js → eds-card-desc_3.entry.esm.js} +6 -66
- package/eds-card-generic.entry.esm.js +1 -1
- package/eds-card-project.entry.esm.js +10 -10
- package/eds-card-tags.entry.esm.js +1 -1
- package/eds-card-tool.entry.esm.js +4 -4
- package/eds-card-wrapper.entry.esm.js +4 -4
- package/eds-code-block.entry.esm.js +7 -7
- package/eds-cookies-preference.entry.esm.js +2 -2
- package/eds-feedback.entry.esm.js +9 -9
- package/eds-frame.entry.esm.js +11 -17
- package/eds-icon-arrow-diagonal.entry.esm.js +3 -3
- package/eds-icon-arrow-right.entry.esm.js +1 -1
- package/eds-icon-bookmark.entry.esm.js +21 -0
- package/eds-icon-chevron-down.entry.esm.js +1 -1
- package/eds-icon-chevron-left.entry.esm.js +1 -1
- package/eds-icon-chevron-right.entry.esm.js +1 -1
- package/eds-icon-chevron-up.entry.esm.js +1 -1
- package/eds-icon-close.entry.esm.js +1 -1
- package/eds-icon-copy.entry.esm.js +1 -1
- package/eds-icon-eu.entry.esm.js +1 -1
- package/eds-icon-external.entry.esm.js +21 -0
- package/eds-icon-gitlab.entry.esm.js +1 -1
- package/eds-icon-loader.entry.esm.js +1 -1
- package/eds-icon-menu.entry.esm.js +1 -1
- package/eds-icon-minus.entry.esm.js +21 -0
- package/eds-icon-more.entry.esm.js +1 -1
- package/eds-icon-paper.entry.esm.js +21 -0
- package/eds-icon-plus.entry.esm.js +21 -0
- package/eds-icon-portal.entry.esm.js +21 -0
- package/eds-icon-private.entry.esm.js +21 -0
- package/eds-icon-public.entry.esm.js +21 -0
- package/eds-icon-search.entry.esm.js +1 -1
- package/eds-icon-star.entry.esm.js +1 -1
- package/eds-icon-success.entry.esm.js +1 -1
- package/eds-icon-thumbs-down.entry.esm.js +1 -1
- package/eds-icon-thumbs-up.entry.esm.js +1 -1
- package/eds-icon-tutorial.entry.esm.js +21 -0
- package/eds-icon-unknown.entry.esm.js +21 -0
- package/eds-icon-updown.entry.esm.js +21 -0
- package/eds-login_2.entry.esm.js +27 -15
- package/eds-matomo-notice.entry.esm.js +162 -0
- package/eds-modal.entry.esm.js +13 -13
- package/eds-pagination_2.entry.esm.js +493 -0
- package/eds-section-core_2.entry.esm.js +3 -3
- package/eds-switch.entry.esm.js +5 -5
- package/eds-tabs.entry.esm.js +4 -4
- package/eds-timeline.entry.esm.js +7 -4
- package/eds-toast-manager.entry.esm.js +1 -1
- package/eds-tooltip.entry.esm.js +3 -3
- package/eds-trl.entry.esm.js +3 -3
- package/incorrect-use-of-colors.entry.esm.js +9 -9
- package/index.esm.js +1 -1
- package/index.esm2.js +66 -46
- package/logo-space.entry.esm.js +28 -12
- package/logo-variations-horizontal_2.entry.esm.js +73 -66
- package/{eds-logo-variations.entry.esm.js → logo-variations-tabs.entry.esm.js} +3 -3
- package/logo-wrong-usage.entry.esm.js +71 -107
- package/minus-b30a7c71.esm.js +11 -0
- package/package.json +1 -1
- package/paper-8e74ea31.esm.js +15 -0
- package/plus-89c07be2.esm.js +12 -0
- package/portal-d6c8ce56.esm.js +18 -0
- package/private-1c25ff8e.esm.js +25 -0
- package/public-d4d8c585.esm.js +16 -0
- package/src/components.d.ts +1 -5
- package/{eds-svg-repository.entry.esm.js → svg-repository.entry.esm.js} +35 -29
- package/token-list_3.entry.esm.js +9 -9
- package/token-ratios.entry.esm.js +3 -3
- package/token-typography.entry.esm.js +10 -7
- package/tutotial-150ee1fd.esm.js +27 -0
- package/unknown-ed01a24c.esm.js +22 -0
- package/up-and-down-d747abee.esm.js +12 -0
- package/eds-accordion_22.entry.esm.js +0 -269
- package/eds-components-section.entry.esm.js +0 -158
- package/eds-dropdown.entry.esm.js +0 -156
- package/eds-form.entry.esm.js +0 -410
- package/eds-steps.entry.esm.js +0 -89
- package/eds-user.entry.esm.js +0 -95
- package/eds-vertical-stepper.entry.esm.js +0 -81
- package/formUtils-ac68474d.esm.js +0 -247
- package/token-spacing.entry.esm.js +0 -93
|
@@ -18,8 +18,11 @@ const EdsBreadcrumb = class {
|
|
|
18
18
|
this.maxVisibleItems = 3;
|
|
19
19
|
this.isSmallScreen = true;
|
|
20
20
|
} else if (width <= 1024) {
|
|
21
|
-
this.maxVisibleItems =
|
|
21
|
+
this.maxVisibleItems = 3;
|
|
22
22
|
this.isSmallScreen = true;
|
|
23
|
+
} else if (width <= 2200) {
|
|
24
|
+
this.maxVisibleItems = 4;
|
|
25
|
+
this.isSmallScreen = false;
|
|
23
26
|
} else {
|
|
24
27
|
this.maxVisibleItems = 6;
|
|
25
28
|
this.isSmallScreen = false;
|
|
@@ -123,10 +126,10 @@ const EdsBreadcrumb = class {
|
|
|
123
126
|
render() {
|
|
124
127
|
const itemsToRender = this.getTruncatedItems();
|
|
125
128
|
return h("nav", {
|
|
126
|
-
key: '
|
|
129
|
+
key: '75bb5629a10de2a2a7bd0b2bbef04e5f699f5fe2',
|
|
127
130
|
"aria-label": "Breadcrumb"
|
|
128
131
|
}, h("ol", {
|
|
129
|
-
key: '
|
|
132
|
+
key: '7a5cc115b70d60bc878aa3d865802662f30948c1',
|
|
130
133
|
class: "flex items-center space-x-2"
|
|
131
134
|
}, itemsToRender.map((item, index) => {
|
|
132
135
|
const isLast = index === itemsToRender.length - 1;
|
|
@@ -1,69 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { g as gradientBGColorVariants } from './color-2554aad6.esm.js';
|
|
3
2
|
import { c as cva } from './index-39c58238.esm.js';
|
|
4
3
|
import 'react';
|
|
5
4
|
import 'react/jsx-runtime';
|
|
6
5
|
import 'react-dom';
|
|
7
6
|
|
|
8
|
-
const edsAvatarCss = ".border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border: 2px solid rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-pill {\n &::after {\n border-radius: 100px;\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-inverse {\n &::after {\n border: 2px solid rgba(255, 255, 255, 0.3);\n }\n\n &::after {\n content: '';\n }\n}\n\n.aspect-1x1 {\n aspect-ratio: 1/1;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.px-4 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.rounded-pill {\n border-radius: 100px;\n}\n\n.rounded-sm {\n border-radius: 8px;\n}\n\n.rounded-xs {\n border-radius: 4px;\n}\n\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-darker {\n background-color: var(--grey-400);\n}\n\n.bg-stronger {\n background-color: var(--grey-900);\n}\n\n.bg-strongest {\n background-color: var(--black);\n}\n\n.text-accent {\n color: var(--green-500);\n}\n\n.text-default {\n color: var(--black);\n}\n\n.\\!no-underline {\n text-decoration-line: none !important;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n.w-32 {\n width: 2rem;\n}\n\n.w-44 {\n width: 2.75rem;\n}\n\n.w-\\[54px\\] {\n width: 54px;\n}";
|
|
9
|
-
const EdsAvatarStyle0 = edsAvatarCss;
|
|
10
|
-
const EdsAvatar = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
registerInstance(this, hostRef);
|
|
13
|
-
this.firstName = 'User';
|
|
14
|
-
this.lastName = 'Avatar';
|
|
15
|
-
this.picture = undefined;
|
|
16
|
-
this.initials = undefined;
|
|
17
|
-
this.color = undefined;
|
|
18
|
-
this.rounded = false;
|
|
19
|
-
this.initialsStrong = false;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Computed initials based on the provided `initials` prop or derived from `firstName` and `lastName`.
|
|
23
|
-
* @returns {string | undefined} Initials for display in the avatar.
|
|
24
|
-
*/
|
|
25
|
-
get computedInitials() {
|
|
26
|
-
if (this.initials) {
|
|
27
|
-
return (this.initials.match(/.{1,3}/g) || [])[0] || '';
|
|
28
|
-
} else if (this.firstName && this.lastName) {
|
|
29
|
-
return `${this.firstName.charAt(0)}${this.lastName.charAt(0)}`.toUpperCase();
|
|
30
|
-
}
|
|
31
|
-
return undefined;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Computes the CSS classes for the avatar container based on provided props like `rounded`, `color`, and `picture`.
|
|
35
|
-
* @returns {string} List of CSS classes to apply to the avatar container.
|
|
36
|
-
*/
|
|
37
|
-
get containerClasses() {
|
|
38
|
-
return ['border-inside', 'aspect-1x1', 'flex', 'items-center', 'justify-center', 'overflow-hidden', this.picture ? '' : 'px-4', this.rounded ? 'rounded-pill border-inside-pill w-32' : 'w-[54px] rounded-sm', this.color ? 'border-inside-inverse' : '', this.color === 'grey' ? 'bg-dark' : this.color && !this.picture ? gradientBGColorVariants({
|
|
39
|
-
color: this.color,
|
|
40
|
-
direction: 'top',
|
|
41
|
-
pseudo: false
|
|
42
|
-
}) : !this.picture ? 'bg-strongest text-accent' : ''].join(' ');
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Renders the avatar component. Displays either an image using `eds-img` or initials depending on whether `picture` or `computedInitials` is set.
|
|
46
|
-
* @returns {JSX.Element} The rendered avatar component.
|
|
47
|
-
*/
|
|
48
|
-
render() {
|
|
49
|
-
return h("div", {
|
|
50
|
-
key: '47ee5ffd12c0f90c536dea77b3ffa9120d67f37f',
|
|
51
|
-
class: this.containerClasses
|
|
52
|
-
}, this.picture ? h("eds-img", {
|
|
53
|
-
src: this.picture,
|
|
54
|
-
width: 54,
|
|
55
|
-
height: 54,
|
|
56
|
-
sizes: "120px",
|
|
57
|
-
alt: `${this.firstName} ${this.lastName}`,
|
|
58
|
-
lazyload: true,
|
|
59
|
-
withBg: true
|
|
60
|
-
}) : h("abbr", {
|
|
61
|
-
title: this.computedInitials || `${this.firstName} ${this.lastName}`,
|
|
62
|
-
class: "!no-underline f-ui-01"
|
|
63
|
-
}, this.computedInitials));
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
EdsAvatar.style = EdsAvatarStyle0;
|
|
67
7
|
const edsCardDescCss = ".f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}";
|
|
68
8
|
const EdsCardDescStyle0 = edsCardDescCss;
|
|
69
9
|
const EdsCardDesc = class {
|
|
@@ -79,10 +19,10 @@ const EdsCardDesc = class {
|
|
|
79
19
|
}
|
|
80
20
|
render() {
|
|
81
21
|
return h("p", {
|
|
82
|
-
key: '
|
|
22
|
+
key: '96ba520be4ef9acf871a6e992d5ea74aaf17c962',
|
|
83
23
|
class: `text-light ${this.descClass}`
|
|
84
24
|
}, h("span", {
|
|
85
|
-
key: '
|
|
25
|
+
key: '951358bd0c992426175e3c1b3c580f2f9be4027f',
|
|
86
26
|
class: this.getTruncateClass()
|
|
87
27
|
}, this.description));
|
|
88
28
|
}
|
|
@@ -131,10 +71,10 @@ const EdsCardTitle = class {
|
|
|
131
71
|
//const Tag = this.getTag();
|
|
132
72
|
const Heading = this.headingLevel;
|
|
133
73
|
return h(Heading, {
|
|
134
|
-
key: '
|
|
74
|
+
key: '57ce97f35ee52623d32fac0b6b1a576ca8b5aa70',
|
|
135
75
|
class: this.getTitleClass()
|
|
136
76
|
}, h("a", {
|
|
137
|
-
key: '
|
|
77
|
+
key: '60fb313d2b8753974658f73aaddd359a63548a79',
|
|
138
78
|
class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none",
|
|
139
79
|
href: this.url,
|
|
140
80
|
target: this.externalLink ? '_blank' : undefined,
|
|
@@ -175,11 +115,11 @@ const EdsTag = class {
|
|
|
175
115
|
intent: this.intent
|
|
176
116
|
});
|
|
177
117
|
return h("span", {
|
|
178
|
-
key: '
|
|
118
|
+
key: '55a6039b040436e5dded9aaf1007668b97091ba3',
|
|
179
119
|
class: classes
|
|
180
120
|
}, this.label);
|
|
181
121
|
}
|
|
182
122
|
};
|
|
183
123
|
EdsTag.style = EdsTagStyle0;
|
|
184
124
|
|
|
185
|
-
export {
|
|
125
|
+
export { EdsCardDesc as eds_card_desc, EdsCardTitle as eds_card_title, EdsTag as eds_tag };
|
|
@@ -5,7 +5,7 @@ import 'react';
|
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom';
|
|
7
7
|
|
|
8
|
-
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15
|
|
8
|
+
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
|
|
9
9
|
const EdsCardGenericStyle0 = edsCardGenericCss;
|
|
10
10
|
const EdsCardGeneric = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -50,38 +50,38 @@ const EdsCardProject = class {
|
|
|
50
50
|
}) : 'bg-default', this.bgOnHover && this.color ? 'effect-background bg-default focus-within:bg-transparent hover:bg-transparent' : 'effect-background hover:bg-default', this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'].join(' ');
|
|
51
51
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
52
52
|
return h("article", {
|
|
53
|
-
key: '
|
|
53
|
+
key: '067a30c2b0860d71dc13d1d3d875a7e288de842b',
|
|
54
54
|
class: cardClasses,
|
|
55
55
|
onClick: event => this.handleClick(event)
|
|
56
56
|
}, h("div", {
|
|
57
|
-
key: '
|
|
57
|
+
key: '3e2e62ecc9ad5973c359b7bbceefd8c2ac682d0b',
|
|
58
58
|
class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}`
|
|
59
59
|
}, h("div", {
|
|
60
|
-
key: '
|
|
60
|
+
key: 'e07a666f80d6955b5cf16c18a999a756dcfe10f0',
|
|
61
61
|
class: "lg:max-w-[720px]"
|
|
62
62
|
}, h("eds-card-title", {
|
|
63
|
-
key: '
|
|
63
|
+
key: 'b1ef62c888e9d69f1146fc218a7012015ddc78e1',
|
|
64
64
|
"heading-level": this.headingLevel,
|
|
65
65
|
titleClass: this.image ? 'f-ui-01' : undefined,
|
|
66
66
|
"card-title": this.titleProject,
|
|
67
67
|
url: this.url
|
|
68
68
|
}), this.editorialTitle && h("span", {
|
|
69
|
-
key: '
|
|
69
|
+
key: '79cf1af876a0a358a9f65036a1ff1c4944604435',
|
|
70
70
|
class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}`
|
|
71
71
|
}, this.editorialTitle)), this.categoryTitle && h("div", {
|
|
72
|
-
key: '
|
|
72
|
+
key: 'ce7e525b0bdbbc94d3e2ec8055c692be9d521042',
|
|
73
73
|
class: "mt-auto flex items-center gap-x-12 pt-12"
|
|
74
74
|
}, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", {
|
|
75
|
-
key: '
|
|
75
|
+
key: '23e3527a3772970642dcb07a4abc381415132155',
|
|
76
76
|
label: this.categoryTitle
|
|
77
77
|
}))), this.parsedImage && h("div", {
|
|
78
|
-
key: '
|
|
78
|
+
key: '178ef2273b2506070c045c3f2e7a287d4b175414',
|
|
79
79
|
class: imageClasses
|
|
80
80
|
}, h("div", {
|
|
81
|
-
key: '
|
|
81
|
+
key: 'f77fb56cd2ed1bdcafd07db9adcf0f7b6a44cdb7',
|
|
82
82
|
class: "aspect-1x1 w-full"
|
|
83
83
|
}, h("eds-img", Object.assign({
|
|
84
|
-
key: '
|
|
84
|
+
key: 'b9734f48ab685280b801cfb75cc96f5aa109ca6f',
|
|
85
85
|
sizes: this.vertical ? this.parsedImage.sizes || '' : '192px'
|
|
86
86
|
}, this.parsedImage)))));
|
|
87
87
|
}
|
|
@@ -13,7 +13,7 @@ const EdsCardTags = class {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
return h("div", {
|
|
16
|
-
key: '
|
|
16
|
+
key: 'df8937e32907eb978f27565d04f7ca56f2485c87',
|
|
17
17
|
class: "flex flex-wrap gap-y-4"
|
|
18
18
|
}, this.tags.map((tag, index) => h("eds-tag", {
|
|
19
19
|
key: index,
|
|
@@ -62,11 +62,11 @@ const EdsCardTool = class {
|
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
64
|
return h("article", {
|
|
65
|
-
key: '
|
|
65
|
+
key: '5ecce6667d066e78586f795ab260bed569434c4f',
|
|
66
66
|
class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`,
|
|
67
67
|
onClick: () => this.handleClick()
|
|
68
68
|
}, h("eds-card-title", {
|
|
69
|
-
key: '
|
|
69
|
+
key: 'a6ff863ade669db7494c763d563809dbfddb3f2c',
|
|
70
70
|
"heading-level": this.headingLevel,
|
|
71
71
|
titleClass: this.image ? 'f-ui-01' : undefined,
|
|
72
72
|
"card-title": this.cardTitle,
|
|
@@ -74,7 +74,7 @@ const EdsCardTool = class {
|
|
|
74
74
|
"external-link": this.external,
|
|
75
75
|
hierarchy: this.hierarchy
|
|
76
76
|
}), this.description && h("eds-card-desc", {
|
|
77
|
-
key: '
|
|
77
|
+
key: '6f5328fba79a564e6e0d737b2d64a31e50ea6434',
|
|
78
78
|
class: "mt-8",
|
|
79
79
|
"truncate-lines": "3",
|
|
80
80
|
description: this.description
|
|
@@ -88,7 +88,7 @@ const EdsCardTool = class {
|
|
|
88
88
|
picture: this.avatar,
|
|
89
89
|
initials: this.shortAbbreviation
|
|
90
90
|
}) : null, h("div", {
|
|
91
|
-
key: '
|
|
91
|
+
key: 'b1a42a1db9274ebf1098143d56e1ad8a08825c4c',
|
|
92
92
|
class: "flex flex-wrap gap-y-4"
|
|
93
93
|
}, this.parsedTags.map((tag, index) => h("eds-tag", {
|
|
94
94
|
key: index,
|
|
@@ -19,15 +19,15 @@ const EdsCardWrapper = class {
|
|
|
19
19
|
render() {
|
|
20
20
|
const articleClasses = [this.tiny ? 'min-h-120' : 'min-h-156', this.withBg ? 'bg-inverse' : 'bg-default', this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '', 'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'].join(' ');
|
|
21
21
|
return h("article", {
|
|
22
|
-
key: '
|
|
22
|
+
key: 'b860e65a1a943216793a5ce2f5a08d01249fc671',
|
|
23
23
|
class: articleClasses
|
|
24
24
|
}, h("slot", {
|
|
25
|
-
key: '
|
|
25
|
+
key: '3ea351da205f375ed746695762efc1f28d1fc3f0'
|
|
26
26
|
}), this.hasSlot('footer') && h("div", {
|
|
27
|
-
key: '
|
|
27
|
+
key: '84d24bd248033d4855dd63dfa5042585ae61d64d',
|
|
28
28
|
class: "mt-auto"
|
|
29
29
|
}, h("slot", {
|
|
30
|
-
key: '
|
|
30
|
+
key: 'c7a2530d70a93705097b9ac3b8be1a21551dd1fb',
|
|
31
31
|
name: "footer"
|
|
32
32
|
})));
|
|
33
33
|
}
|
|
@@ -2247,10 +2247,10 @@ const EdsCodeBlock = class {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
render() {
|
|
2249
2249
|
return h("div", {
|
|
2250
|
-
key: '
|
|
2250
|
+
key: '98f5fe5e215e87c1eb024969b5e4f3ae1bd0cb0d',
|
|
2251
2251
|
class: "relative bg-stronger rounded-sm"
|
|
2252
2252
|
}, h("div", {
|
|
2253
|
-
key: '
|
|
2253
|
+
key: '173be873a0f41398bd080758d5a0bbdcc977dcf5',
|
|
2254
2254
|
class: "text-inverse flex justify-between items-center p-8"
|
|
2255
2255
|
}, this.language ? h("span", {
|
|
2256
2256
|
class: "f-ui-03"
|
|
@@ -2261,23 +2261,23 @@ const EdsCodeBlock = class {
|
|
|
2261
2261
|
}, h("code", {
|
|
2262
2262
|
innerHTML: this.getHighlightedCode()
|
|
2263
2263
|
})), h("span", {
|
|
2264
|
-
key: '
|
|
2264
|
+
key: 'f8cb36cf89d19bf306c57168e61ccfde9a4d18ff',
|
|
2265
2265
|
"aria-hidden": "true",
|
|
2266
2266
|
class: "w-20 h-20 mt-8"
|
|
2267
2267
|
}, h("eds-icon-wrapper", {
|
|
2268
|
-
key: '
|
|
2268
|
+
key: '74f214c47dc647c2c254f3f9f96fba71e35133df',
|
|
2269
2269
|
icon: this.copied ? 'success' : 'copy',
|
|
2270
2270
|
onClick: () => this.copyToClipboard()
|
|
2271
2271
|
})), h("span", {
|
|
2272
|
-
key: '
|
|
2272
|
+
key: '74e628574b481d68c2d2132a12fd07bb62c86fde',
|
|
2273
2273
|
class: "sr-only"
|
|
2274
2274
|
}, "Copy Code")), this.language && h("pre", {
|
|
2275
|
-
key: '
|
|
2275
|
+
key: '19d2b813b6e86451a8a9047b954d99340fc3cd85',
|
|
2276
2276
|
class: `language-${this.language} bg-stronger pl-8 pb-8`,
|
|
2277
2277
|
role: "region",
|
|
2278
2278
|
"aria-label": `Code block in ${this.language}`
|
|
2279
2279
|
}, h("code", {
|
|
2280
|
-
key: '
|
|
2280
|
+
key: '974eb2e2ef0d7dc90e012e421d64bf5b735761d1',
|
|
2281
2281
|
innerHTML: this.getHighlightedCode()
|
|
2282
2282
|
})));
|
|
2283
2283
|
}
|
|
@@ -29,9 +29,9 @@ const EdsCookiesPreference = class {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
return h("div", {
|
|
32
|
-
key: '
|
|
32
|
+
key: 'fe3330180b8f3a5ff6b02156f5d76afb8cdf7edd'
|
|
33
33
|
}, h("eds-link", {
|
|
34
|
-
key: '
|
|
34
|
+
key: 'c5d63e486cb63bcb28b89babe606ac1eae525fe0',
|
|
35
35
|
size: "small",
|
|
36
36
|
intent: this.intent,
|
|
37
37
|
label: this.buttonText,
|
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom';
|
|
6
6
|
|
|
7
|
-
const edsFeedbackCss = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}";
|
|
7
|
+
const edsFeedbackCss = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}";
|
|
8
8
|
const EdsFeedbackStyle0 = edsFeedbackCss;
|
|
9
9
|
const EdsFeedback = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -56,20 +56,20 @@ const EdsFeedback = class {
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
return h("div", {
|
|
59
|
-
key: '
|
|
59
|
+
key: '5fbf2af8386c318134b64c1323553bc00ee2fe2c',
|
|
60
60
|
class: "grid inline"
|
|
61
|
-
}, h("
|
|
62
|
-
key: '
|
|
63
|
-
class: "f-heading-
|
|
61
|
+
}, h("h1", {
|
|
62
|
+
key: 'f5ec1e3cbbfa9c1d549a69c76e01609253c6dfea',
|
|
63
|
+
class: "f-heading-01 my-4"
|
|
64
64
|
}, this.label), h("p", {
|
|
65
|
-
key: '
|
|
66
|
-
class: "f-body-
|
|
65
|
+
key: '60348466e10a5295fdb861f512c1037cdf8fbf27',
|
|
66
|
+
class: "f-body-01 text-light"
|
|
67
67
|
}, this.description), h("eds-rating", {
|
|
68
|
-
key: '
|
|
68
|
+
key: 'ed559e7844c20081e82ccc0cddd4a34691a7ad1d',
|
|
69
69
|
"rating-type": this.type,
|
|
70
70
|
"rating-count": this.count
|
|
71
71
|
}), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && h("span", {
|
|
72
|
-
key: '
|
|
72
|
+
key: 'b4ab49d3c936649c75714ef2cd9fc09f9a213437',
|
|
73
73
|
class: "f-ui-04 text-lighter"
|
|
74
74
|
}, this.parsedMappings[this.selectedRating - 1]));
|
|
75
75
|
}
|
package/eds-frame.entry.esm.js
CHANGED
|
@@ -3,16 +3,16 @@ import 'react';
|
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom';
|
|
5
5
|
|
|
6
|
-
const edsFrameCss = ".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border-color:rgba(0, 0, 0, .1 )}.border-softest{border-color:rgba(0, 0, 0, .05 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1 )}.border-2{border:1px solid rgba(0, 0, 0, .1 )}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}";
|
|
6
|
+
const edsFrameCss = ".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border-color:rgba(0, 0, 0, .1 )}.border-softest{border-color:rgba(0, 0, 0, .05 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1 )}.border-2{border:1px solid rgba(0, 0, 0, .1 )}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}";
|
|
7
7
|
const EdsFrameStyle0 = edsFrameCss;
|
|
8
8
|
const EdsFrame = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.frameLabel = undefined;
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
15
|
-
this.
|
|
12
|
+
this.frameSrc = undefined;
|
|
13
|
+
this.urlLabel = 'Open';
|
|
14
|
+
this.errorMessage = 'Could not load the requested content. Please check the URL or try again later.';
|
|
15
|
+
this.url = undefined;
|
|
16
16
|
this.intent = 'strong';
|
|
17
17
|
this.size = 'auto';
|
|
18
18
|
this.iframeError = false;
|
|
@@ -43,7 +43,7 @@ const EdsFrame = class {
|
|
|
43
43
|
linkElement.dispatchEvent(event);
|
|
44
44
|
}
|
|
45
45
|
articleClasses() {
|
|
46
|
-
return ['bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2', 'w-full h-
|
|
46
|
+
return ['bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2', 'w-full h-auto'].join(' ');
|
|
47
47
|
}
|
|
48
48
|
getFrameHeight() {
|
|
49
49
|
switch (this.size) {
|
|
@@ -71,32 +71,26 @@ const EdsFrame = class {
|
|
|
71
71
|
this.iframeError = true;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
get storyLink() {
|
|
75
|
-
return `${this.storybookUrl}/?path=/story/${this.storyPath}`;
|
|
76
|
-
}
|
|
77
|
-
get frameSrc() {
|
|
78
|
-
return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
|
|
79
|
-
}
|
|
80
74
|
render() {
|
|
81
75
|
return h("div", {
|
|
82
|
-
key: '
|
|
76
|
+
key: 'b26229611868992daf5f4ca5037e1e10b2540ee5',
|
|
83
77
|
class: this.articleClasses()
|
|
84
78
|
}, h("div", {
|
|
85
|
-
key: '
|
|
79
|
+
key: '4cf9ff78b27ce7f88db50feccc9d267c2e727a2c',
|
|
86
80
|
class: "effect-height flex items-center justify-between py-8 px-12"
|
|
87
81
|
}, h("span", {
|
|
88
|
-
key: '
|
|
82
|
+
key: 'bf2c1607d3fcbbf152691ec4e6134e737f6d1082',
|
|
89
83
|
class: "f-ui-02"
|
|
90
84
|
}, this.frameLabel), !this.iframeError ? h("eds-link", {
|
|
91
85
|
label: this.urlLabel,
|
|
92
|
-
url: this.
|
|
86
|
+
url: this.url,
|
|
93
87
|
intent: this.intent,
|
|
94
88
|
class: "ml-auto",
|
|
95
89
|
external: true,
|
|
96
90
|
disabled: false,
|
|
97
91
|
icon: "arrow-diagonal"
|
|
98
92
|
}) : null), h("div", {
|
|
99
|
-
key: '
|
|
93
|
+
key: 'd9f059766c509d7325ea734c63e29d7995cc8065',
|
|
100
94
|
class: "border-softer"
|
|
101
95
|
}, this.iframeError ? h("div", {
|
|
102
96
|
class: "container ml-8 mr-8 mt-16"
|
|
@@ -7,12 +7,12 @@ import 'react-dom';
|
|
|
7
7
|
const EdsIconArrowDiagonal = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
|
-
this.
|
|
10
|
+
this.class = '';
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
return h("span", {
|
|
14
|
-
key: '
|
|
15
|
-
class: this.
|
|
14
|
+
key: 'd19f08d99908a8e47198e49b91a213aadb1dd619',
|
|
15
|
+
class: this.class,
|
|
16
16
|
innerHTML: arrowDiagonal
|
|
17
17
|
});
|
|
18
18
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
+
import { b as bookmark } from './bookmark-c200037c.esm.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
|
|
7
|
+
const EdsIconBookmark = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.class = '';
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("span", {
|
|
14
|
+
key: '9cc4aa1805e43ca6275305e26d2fff79e2818862',
|
|
15
|
+
class: this.class,
|
|
16
|
+
innerHTML: bookmark
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { EdsIconBookmark as eds_icon_bookmark };
|
package/eds-icon-eu.entry.esm.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
+
import { a as arrowDiagonal } from './arrow-diagonal-black-8f0494c3.esm.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
|
|
7
|
+
const EdsIconExternal = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.class = '';
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("span", {
|
|
14
|
+
key: '8b5169456f56b7294d86af4e75a9aeec20a20174',
|
|
15
|
+
class: this.class,
|
|
16
|
+
innerHTML: arrowDiagonal
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { EdsIconExternal as eds_icon_external };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
+
import { m as minus } from './minus-b30a7c71.esm.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
|
|
7
|
+
const EdsIconMinus = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.class = '';
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("span", {
|
|
14
|
+
key: 'e615c57f7195878310f596124ede34304fcce5e1',
|
|
15
|
+
class: this.class,
|
|
16
|
+
innerHTML: minus
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { EdsIconMinus as eds_icon_minus };
|