@ebrains/react 0.9.1-beta → 0.9.3-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/color-primary-palette_6.entry.esm.js +106 -106
- package/components-section.entry.esm.js +1 -1
- package/correct-use-of-colors.entry.esm.js +33 -33
- package/docs-palettes.entry.esm.js +1 -1
- package/docs-tokens.entry.esm.js +1 -1
- package/eds-accordion.entry.esm.js +9 -9
- package/eds-alert.entry.esm.js +2 -2
- package/eds-app-root.entry.esm.js +4 -4
- package/{eds-avatar_26.entry.esm.js → eds-avatar_27.entry.esm.js} +53 -27
- package/eds-card-desc_2.entry.esm.js +4 -4
- 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 +5 -5
- package/eds-frame.entry.esm.js +4 -4
- package/eds-icon-arrow-diagonal.entry.esm.js +1 -1
- package/eds-icon-arrow-right.entry.esm.js +1 -1
- package/eds-icon-bluesky.entry.esm.js +1 -1
- package/eds-icon-bookmark.entry.esm.js +1 -1
- 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 +1 -1
- package/eds-icon-facebook.entry.esm.js +1 -1
- package/eds-icon-gitlab.entry.esm.js +1 -1
- package/eds-icon-linkedin.entry.esm.js +1 -1
- package/eds-icon-loader.entry.esm.js +1 -1
- package/eds-icon-mastodon.entry.esm.js +1 -1
- package/eds-icon-menu.entry.esm.js +1 -1
- package/eds-icon-minus.entry.esm.js +1 -1
- package/eds-icon-more.entry.esm.js +1 -1
- package/eds-icon-paper.entry.esm.js +1 -1
- package/eds-icon-plus.entry.esm.js +1 -1
- package/eds-icon-portal.entry.esm.js +1 -1
- package/eds-icon-private.entry.esm.js +1 -1
- package/eds-icon-public.entry.esm.js +1 -1
- 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 +1 -1
- package/eds-icon-twitter.entry.esm.js +1 -1
- package/eds-icon-unknown.entry.esm.js +1 -1
- package/eds-icon-updown.entry.esm.js +1 -1
- package/eds-icon-user.entry.esm.js +1 -1
- package/eds-icon-youtube.entry.esm.js +1 -1
- package/eds-login_2.entry.esm.js +2 -2
- package/eds-matomo-notice.entry.esm.js +3 -3
- package/eds-pagination_2.entry.esm.js +12 -12
- package/eds-progress-bar.entry.esm.js +2 -2
- package/eds-rating.entry.esm.js +1 -1
- package/eds-section-core_2.entry.esm.js +5 -5
- package/eds-spinner.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 +5 -5
- package/eds-toast-manager.entry.esm.js +1 -1
- package/eds-tooltip.entry.esm.js +3 -3
- package/eds-trl.entry.esm.js +2 -2
- package/incorrect-use-of-colors.entry.esm.js +7 -7
- package/index.esm2.js +3 -6
- package/logo-space.entry.esm.js +9 -9
- package/logo-variations-horizontal_2.entry.esm.js +28 -28
- package/logo-variations-tabs.entry.esm.js +1 -1
- package/logo-wrong-usage.entry.esm.js +25 -25
- package/package.json +1 -1
- package/svg-repository.entry.esm.js +2 -2
- package/token-list_3.entry.esm.js +5 -5
- package/token-ratios.entry.esm.js +3 -3
- package/token-typography.entry.esm.js +2 -2
- package/eds-modal.entry.esm.js +0 -142
|
@@ -18,10 +18,10 @@ const EdsCardDesc = class {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
return h("p", {
|
|
21
|
-
key: '
|
|
21
|
+
key: '3ea345f69bed29135df8231c79eaea0f06e813df',
|
|
22
22
|
class: `text-light ${this.descClass}`
|
|
23
23
|
}, h("span", {
|
|
24
|
-
key: '
|
|
24
|
+
key: '99c383485ec0852be81a05fe0999cb429fee4a27',
|
|
25
25
|
class: this.getTruncateClass()
|
|
26
26
|
}, this.description));
|
|
27
27
|
}
|
|
@@ -70,10 +70,10 @@ const EdsCardTitle = class {
|
|
|
70
70
|
//const Tag = this.getTag();
|
|
71
71
|
const Heading = this.headingLevel;
|
|
72
72
|
return h(Heading, {
|
|
73
|
-
key: '
|
|
73
|
+
key: '9914950b1581456a3a875ed7383975710c05fa7f',
|
|
74
74
|
class: this.getTitleClass()
|
|
75
75
|
}, h("a", {
|
|
76
|
-
key: '
|
|
76
|
+
key: '9b3298d8bacd8fbaecd8c714329ef5e6ac7192c7',
|
|
77
77
|
class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none",
|
|
78
78
|
href: this.url,
|
|
79
79
|
target: this.externalLink ? '_blank' : undefined,
|
|
@@ -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: '1ffb83f3e694811d5f3d4c8235c50591bca4dec5',
|
|
54
54
|
class: cardClasses,
|
|
55
55
|
onClick: event => this.handleClick(event)
|
|
56
56
|
}, h("div", {
|
|
57
|
-
key: '
|
|
57
|
+
key: 'e8d7f04e95722dc8ec8bcb7f90b2b8495b8c13ef',
|
|
58
58
|
class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}`
|
|
59
59
|
}, h("div", {
|
|
60
|
-
key: '
|
|
60
|
+
key: '5ab94ee81425c5f7a143e7f1eb7981da6508e307',
|
|
61
61
|
class: "lg:max-w-[720px]"
|
|
62
62
|
}, h("eds-card-title", {
|
|
63
|
-
key: '
|
|
63
|
+
key: 'd303425849c5df81c0b72e096313a96031d1c435',
|
|
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: '3d4c6b9422d02e4d40d29d7875e3fc651d2f7bd4',
|
|
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: '2b14dee584d20e90dac0da3b93dff1dbc6f36470',
|
|
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: 'cd02551d76731563ebdad89a141f70cbce5bca76',
|
|
76
76
|
label: this.categoryTitle
|
|
77
77
|
}))), this.parsedImage && h("div", {
|
|
78
|
-
key: '
|
|
78
|
+
key: '5b5cae3820ab870a7588d801151390be494d5c7e',
|
|
79
79
|
class: imageClasses
|
|
80
80
|
}, h("div", {
|
|
81
|
-
key: '
|
|
81
|
+
key: 'e7bb9f3b090f5497b315a4d2495592cfbe5a4aa0',
|
|
82
82
|
class: "aspect-1x1 w-full"
|
|
83
83
|
}, h("eds-img", Object.assign({
|
|
84
|
-
key: '
|
|
84
|
+
key: '8fdecaed876c671a08067fdb272f4932b67ae406',
|
|
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: '7547e8ffafc22884fb26e7b5cd1da49e588fc590',
|
|
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: '92103cb449fbdfd41adaeb29053746fb652a5203',
|
|
66
66
|
class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`,
|
|
67
67
|
onClick: () => this.handleClick()
|
|
68
68
|
}, h("eds-card-title", {
|
|
69
|
-
key: '
|
|
69
|
+
key: '8aebade7b0cfe5ac529ff552113509314ffa4061',
|
|
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: '38abb7a59054c6fce836322c26eab77bb508845f',
|
|
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: '99158cab0d83e64bf9c45e00c06572efe7328516',
|
|
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: '7a191039487c388e752c964c8fd47fb397943994',
|
|
23
23
|
class: articleClasses
|
|
24
24
|
}, h("slot", {
|
|
25
|
-
key: '
|
|
25
|
+
key: 'ac497c9f36089467abcb6b52e3e356405616dfd6'
|
|
26
26
|
}), this.hasSlot('footer') && h("div", {
|
|
27
|
-
key: '
|
|
27
|
+
key: 'eba2425d01514dffa83ec4b4fdfe1878719addd8',
|
|
28
28
|
class: "mt-auto"
|
|
29
29
|
}, h("slot", {
|
|
30
|
-
key: '
|
|
30
|
+
key: '57f799838be78cdc8b61b9071d68f913b8eef51b',
|
|
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: '6c1a418d4cf1d02ea9216f9196cbbdbfdf7f7315',
|
|
2251
2251
|
class: "relative bg-stronger rounded-sm"
|
|
2252
2252
|
}, h("div", {
|
|
2253
|
-
key: '
|
|
2253
|
+
key: '118cfa439e27f3b6c8ed7f3308535a744c1fac29',
|
|
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: '5c557849fb320c69ec830f7028f9e0ee7099d5f1',
|
|
2265
2265
|
"aria-hidden": "true",
|
|
2266
2266
|
class: "w-20 h-20 mt-8"
|
|
2267
2267
|
}, h("eds-icon-wrapper", {
|
|
2268
|
-
key: '
|
|
2268
|
+
key: 'c11a154a82a8b3eaff418f235a7820209579554b',
|
|
2269
2269
|
icon: this.copied ? 'success' : 'copy',
|
|
2270
2270
|
onClick: () => this.copyToClipboard()
|
|
2271
2271
|
})), h("span", {
|
|
2272
|
-
key: '
|
|
2272
|
+
key: '9537d56544ca139ea847d34091c093c7f852f12c',
|
|
2273
2273
|
class: "sr-only"
|
|
2274
2274
|
}, "Copy Code")), this.language && h("pre", {
|
|
2275
|
-
key: '
|
|
2275
|
+
key: '8cc48bb7da216db0e181587a33c25dc88b91bbbc',
|
|
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: '7fd391c14a4344fd7e98ad5d32283a498085064d',
|
|
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: 'ce716958892ee4d324efeb2399885c13d63ff0bb'
|
|
33
33
|
}, h("eds-link", {
|
|
34
|
-
key: '
|
|
34
|
+
key: 'de191023658c2f4c59144d334075d8e1f4fa6133',
|
|
35
35
|
size: "small",
|
|
36
36
|
intent: this.intent,
|
|
37
37
|
label: this.buttonText,
|
|
@@ -56,20 +56,20 @@ const EdsFeedback = class {
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
return h("div", {
|
|
59
|
-
key: '
|
|
59
|
+
key: 'a8cf97bdcd7957b98dfca11e178361acf667c23c',
|
|
60
60
|
class: "grid inline"
|
|
61
61
|
}, h("h1", {
|
|
62
|
-
key: '
|
|
62
|
+
key: '231bb9f49dc6084045a392b1d93c9b4454bbf268',
|
|
63
63
|
class: "f-heading-01 my-4"
|
|
64
64
|
}, this.label), h("p", {
|
|
65
|
-
key: '
|
|
65
|
+
key: 'a70274de05139c8ab40b5a4a2e599dc14b3d3a9f',
|
|
66
66
|
class: "f-body-01 text-light"
|
|
67
67
|
}, this.description), h("eds-rating", {
|
|
68
|
-
key: '
|
|
68
|
+
key: '5353b7616112591240819e4b762790224a1b7cc7',
|
|
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: 'e5f8f10fb052a6de080b61cf78c309a55d081576',
|
|
73
73
|
class: "f-ui-04 text-lighter"
|
|
74
74
|
}, this.parsedMappings[this.selectedRating - 1]));
|
|
75
75
|
}
|
package/eds-frame.entry.esm.js
CHANGED
|
@@ -73,13 +73,13 @@ const EdsFrame = class {
|
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
return h("div", {
|
|
76
|
-
key: '
|
|
76
|
+
key: '69d47526ffca56defb1e9da214c46822fa963c14',
|
|
77
77
|
class: this.articleClasses()
|
|
78
78
|
}, h("div", {
|
|
79
|
-
key: '
|
|
79
|
+
key: 'cab7cd55b15afaa77a4f4b713c55a6776dcb6a2d',
|
|
80
80
|
class: "effect-height flex items-center justify-between py-8 px-12"
|
|
81
81
|
}, h("span", {
|
|
82
|
-
key: '
|
|
82
|
+
key: '99b5499c4bf992cc7101d6ea6812000283a34968',
|
|
83
83
|
class: "f-ui-02"
|
|
84
84
|
}, this.frameLabel), !this.iframeError ? h("eds-link", {
|
|
85
85
|
label: this.urlLabel,
|
|
@@ -90,7 +90,7 @@ const EdsFrame = class {
|
|
|
90
90
|
disabled: false,
|
|
91
91
|
icon: "arrow-diagonal"
|
|
92
92
|
}) : null), h("div", {
|
|
93
|
-
key: '
|
|
93
|
+
key: '275490ec93896eafe8a7042b86769b1f96e8bc8f',
|
|
94
94
|
class: "border-softer"
|
|
95
95
|
}, this.iframeError ? h("div", {
|
|
96
96
|
class: "container ml-8 mr-8 mt-16"
|
package/eds-icon-eu.entry.esm.js
CHANGED
package/eds-login_2.entry.esm.js
CHANGED
|
@@ -1732,10 +1732,10 @@ const EdsLogin = class {
|
|
|
1732
1732
|
}
|
|
1733
1733
|
render() {
|
|
1734
1734
|
return h("div", {
|
|
1735
|
-
key: '
|
|
1735
|
+
key: '041846174aaad541acce03588a087793d10daa1e',
|
|
1736
1736
|
class: "block"
|
|
1737
1737
|
}, !this.authenticated && h("eds-button", {
|
|
1738
|
-
key: '
|
|
1738
|
+
key: '360a84ec79a15c9293e3898b77df649c469d9529',
|
|
1739
1739
|
label: "Login",
|
|
1740
1740
|
intent: "primary",
|
|
1741
1741
|
"extra-class": "text-default",
|