@ebrains/react 2.0.0 → 2.1.0
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/clone-dab56639.esm.js +3 -0
- 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/edit-3893a517.esm.js +3 -0
- package/eds-accordion_33.entry.esm.js +1123 -0
- package/eds-app-root.entry.esm.js +4 -4
- 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-cookies-preference.entry.esm.js +2 -2
- package/eds-feedback.entry.esm.js +5 -5
- package/eds-footer.entry.esm.js +20 -14
- package/eds-frame.entry.esm.js +4 -4
- package/eds-gauge.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-bin.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-clone.entry.esm.js +21 -0
- package/eds-icon-close.entry.esm.js +1 -1
- package/eds-icon-copy.entry.esm.js +1 -1
- package/eds-icon-draft.entry.esm.js +1 -1
- package/eds-icon-edit.entry.esm.js +2 -2
- 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-start.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-view.entry.esm.js +21 -0
- package/eds-icon-youtube.entry.esm.js +1 -1
- package/eds-modal.entry.esm.js +8 -8
- package/eds-progress-bar.entry.esm.js +4 -4
- package/eds-section-core_2.entry.esm.js +5 -5
- package/eds-social-networks.entry.esm.js +3 -3
- package/eds-spinner.entry.esm.js +4 -4
- package/eds-timeline.entry.esm.js +4 -4
- 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 +8 -8
- package/index.esm.js +1 -1
- package/index.esm2.js +14 -24
- 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/src/components.d.ts +1 -0
- package/svg-repository.entry.esm.js +8 -4
- package/token-list_3.entry.esm.js +5 -5
- package/token-ratios.entry.esm.js +3 -3
- package/token-spacing.entry.esm.js +26 -26
- package/token-typography.entry.esm.js +2 -2
- package/view-e900f2d4.esm.js +3 -0
- package/edit-1dc8d11b.esm.js +0 -3
- package/eds-accordion.entry.esm.js +0 -133
- package/eds-alert.entry.esm.js +0 -112
- package/eds-avatar_26.entry.esm.js +0 -3409
- package/eds-breadcrumb.entry.esm.js +0 -179
- package/eds-code-block.entry.esm.js +0 -2290
- package/eds-matomo-notice.entry.esm.js +0 -159
- package/eds-switch.entry.esm.js +0 -70
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
+
import { v as view } from './view-e900f2d4.esm.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
|
|
7
|
+
const EdsIconView = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.class = '';
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("span", {
|
|
14
|
+
key: '652ea6ae2a82611114e71ed2d2422ad579f7ab54',
|
|
15
|
+
class: this.class,
|
|
16
|
+
innerHTML: view
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { EdsIconView as eds_icon_view };
|
package/eds-modal.entry.esm.js
CHANGED
|
@@ -105,40 +105,40 @@ const EdsModal = class {
|
|
|
105
105
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
106
106
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
107
107
|
return h("div", {
|
|
108
|
-
key: '
|
|
108
|
+
key: '14c35228e2aaf72d59f1766fd8e69fcd06ea5270',
|
|
109
109
|
id: "eds-modal",
|
|
110
110
|
class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`,
|
|
111
111
|
role: "dialog",
|
|
112
112
|
"aria-modal": "true",
|
|
113
113
|
"aria-labelledby": titleId
|
|
114
114
|
}, this.isOpen && h("div", {
|
|
115
|
-
key: '
|
|
115
|
+
key: '34b5dad3a31cd9a66135ce9d93d48215712529b9',
|
|
116
116
|
class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
117
117
|
,
|
|
118
118
|
|
|
119
119
|
onClick: () => this.close()
|
|
120
120
|
}), h("div", {
|
|
121
|
-
key: '
|
|
121
|
+
key: '5268780d170f080404d2c3ab0bb3f355b50895cb',
|
|
122
122
|
class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center`
|
|
123
123
|
}, h("div", {
|
|
124
|
-
key: '
|
|
124
|
+
key: '20c094f3fb3cd31280118d687dec311a8aa59f57',
|
|
125
125
|
class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}`
|
|
126
126
|
}, h("span", {
|
|
127
|
-
key: '
|
|
127
|
+
key: 'de7ff288945cd6e0a8c97d9c40cf02cc5ba4ea41',
|
|
128
128
|
id: titleId,
|
|
129
129
|
class: `f-heading-04 ${this.getTruncateClass()}`
|
|
130
130
|
}, this.heading), h("eds-button", {
|
|
131
|
-
key: '
|
|
131
|
+
key: 'a46dc51081ad99856cfa81ccdf2ab060f644c7cb',
|
|
132
132
|
intent: "tertiary",
|
|
133
133
|
icon: "close",
|
|
134
134
|
"aria-label": "Close modal",
|
|
135
135
|
onClick: () => this.close(),
|
|
136
136
|
"extra-class": "ml-8 text-default"
|
|
137
137
|
})), h("div", {
|
|
138
|
-
key: '
|
|
138
|
+
key: '45557580b90ae4f5d176eaa4805ce527d6e59eec',
|
|
139
139
|
class: "pt-8 px-20 py-20"
|
|
140
140
|
}, h("slot", {
|
|
141
|
-
key: '
|
|
141
|
+
key: 'b67c888a32c615c5073768ec3cd4e342a34a84c6'
|
|
142
142
|
}))));
|
|
143
143
|
}
|
|
144
144
|
get el() {
|
|
@@ -25,7 +25,7 @@ const EdsProgressBar = class {
|
|
|
25
25
|
// Fill bar classes (conditionally rounded only when >0)
|
|
26
26
|
const fillClasses = ['inner', 'h-full', 'transition-all', 'duration-300', 'bg-accent', progressValue > 0 && this.rounded ? 'rounded-lg' : '', 'z-0'].filter(Boolean).join(' ');
|
|
27
27
|
return h("div", {
|
|
28
|
-
key: '
|
|
28
|
+
key: '2a620231eaa84ba7e89e05da48175624fdc92d31',
|
|
29
29
|
role: "progressbar",
|
|
30
30
|
"aria-valuemin": "0",
|
|
31
31
|
"aria-valuemax": "100",
|
|
@@ -33,16 +33,16 @@ const EdsProgressBar = class {
|
|
|
33
33
|
"aria-valuetext": `${progressValue}%`,
|
|
34
34
|
class: outerClasses
|
|
35
35
|
}, h("div", {
|
|
36
|
-
key: '
|
|
36
|
+
key: '660e2c84ad358c0de1d9548b730308505e79bcd6',
|
|
37
37
|
class: fillClasses,
|
|
38
38
|
style: {
|
|
39
39
|
width: `${progressValue}%`
|
|
40
40
|
}
|
|
41
41
|
}), h("div", {
|
|
42
|
-
key: '
|
|
42
|
+
key: '4d0fa2a209d315b658f80906b95a0bf255c82c78',
|
|
43
43
|
class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10"
|
|
44
44
|
}, h("span", {
|
|
45
|
-
key: '
|
|
45
|
+
key: '0d423e16659d84b2d050f7d60ced4aefeeef9022',
|
|
46
46
|
class: "text-default f-body-02"
|
|
47
47
|
}, progressValue, "%")));
|
|
48
48
|
}
|
|
@@ -15,13 +15,13 @@ const EdsSectionCore = class {
|
|
|
15
15
|
render() {
|
|
16
16
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
17
17
|
return h(TagType, {
|
|
18
|
-
key: '
|
|
18
|
+
key: 'b77b5af1c6f3acbc2696a9608b55199ed4110d71'
|
|
19
19
|
}, h("eds-section-heading", {
|
|
20
|
-
key: '
|
|
20
|
+
key: '464dd4c67d69d1ef3ed1d932081c3195a2b51503',
|
|
21
21
|
headingLevel: this.headingLevel,
|
|
22
22
|
sectionTitle: this.sectionTitle
|
|
23
23
|
}), h("slot", {
|
|
24
|
-
key: '
|
|
24
|
+
key: 'b5dbd4f55aee2df3bcbc44e21a134544ffd733f7'
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
@@ -52,7 +52,7 @@ const EdsSectionHeading = class {
|
|
|
52
52
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
53
53
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
54
54
|
return h(TagType, {
|
|
55
|
-
key: '
|
|
55
|
+
key: '4ae69ea354156a0e35a8884a63d7556ead8ada24',
|
|
56
56
|
class: {
|
|
57
57
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
58
58
|
container: this.withContainer,
|
|
@@ -60,7 +60,7 @@ const EdsSectionHeading = class {
|
|
|
60
60
|
'pt-28': !this.spacingLarge
|
|
61
61
|
}
|
|
62
62
|
}, h(HeadingTag, {
|
|
63
|
-
key: '
|
|
63
|
+
key: 'a3549fb733687c3ff31f17bdc362275eb0b29e31',
|
|
64
64
|
class: this.getHeadingClass()
|
|
65
65
|
}, this.sectionTitle));
|
|
66
66
|
}
|
|
@@ -50,12 +50,12 @@ const EdsSocialNetworks = class {
|
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
52
|
return h("div", {
|
|
53
|
-
key: '
|
|
53
|
+
key: '7241de6d0a20687523e17a4455dff1dfac59a191'
|
|
54
54
|
}, h("p", {
|
|
55
|
-
key: '
|
|
55
|
+
key: '8292c0dde1b3518ada53dddc2ea0134ff3035e83',
|
|
56
56
|
class: "f-ui-02"
|
|
57
57
|
}, this.heading), h("ul", {
|
|
58
|
-
key: '
|
|
58
|
+
key: 'b30922e6d1f51a52300c889464824fafad775f74',
|
|
59
59
|
class: "mt-12 flex gap-4"
|
|
60
60
|
}, this.socialNetworks.map((network, index) => h("li", {
|
|
61
61
|
key: index
|
package/eds-spinner.entry.esm.js
CHANGED
|
@@ -84,17 +84,17 @@ const EdsSpinner = class {
|
|
|
84
84
|
justifyContent: 'center'
|
|
85
85
|
};
|
|
86
86
|
return h(Host, {
|
|
87
|
-
key: '
|
|
87
|
+
key: 'cbf9cead7c7c6bc5314c074f7249c920eb60d326'
|
|
88
88
|
}, h("div", {
|
|
89
|
-
key: '
|
|
89
|
+
key: 'd22c71a76af3f53c649e547538e0f1627cd9ecd0',
|
|
90
90
|
class: "spinner-overlay",
|
|
91
91
|
style: overlayStyle
|
|
92
92
|
}, h("span", {
|
|
93
|
-
key: '
|
|
93
|
+
key: '83b42f7ee9ba4d356bd82097989b8be1db8a8ef9',
|
|
94
94
|
class: "spinner",
|
|
95
95
|
style: spinnerStyle
|
|
96
96
|
}), this.message && h("p", {
|
|
97
|
-
key: '
|
|
97
|
+
key: '0a2c4efe46b8f86a037d29de699534441bf7585e',
|
|
98
98
|
class: "f-body-01"
|
|
99
99
|
}, this.message)));
|
|
100
100
|
}
|
|
@@ -46,16 +46,16 @@ const EdsTimeline = class {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
return h("div", {
|
|
49
|
-
key: '
|
|
49
|
+
key: '3abe8b96a25fa575acc503eafa345c63b0c4c971',
|
|
50
50
|
class: "max-w-sidebar mx-auto px-4 py-8"
|
|
51
51
|
}, h("div", {
|
|
52
|
-
key: '
|
|
52
|
+
key: '23039a03d10a38aa96310be6456283b5d36041e7',
|
|
53
53
|
class: "relative"
|
|
54
54
|
}, h("div", {
|
|
55
|
-
key: '
|
|
55
|
+
key: '2bf447e7dd77a33b953ee1c7b49c72bb3e79a938',
|
|
56
56
|
class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0"
|
|
57
57
|
}), h("div", {
|
|
58
|
-
key: '
|
|
58
|
+
key: 'db44af20a0e09666b402e77ec739262a3506da48',
|
|
59
59
|
class: "space-y-16"
|
|
60
60
|
}, this.parsedEvents.map((event, index) => h("div", {
|
|
61
61
|
class: "relative flex"
|
package/eds-tooltip.entry.esm.js
CHANGED
|
@@ -24,12 +24,12 @@ const EdsTooltip = class {
|
|
|
24
24
|
render() {
|
|
25
25
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
26
26
|
return h("div", {
|
|
27
|
-
key: '
|
|
27
|
+
key: 'ee76b787881bdaef986b73fb2775c900a8c33d05',
|
|
28
28
|
class: "relative w-full inline-block group"
|
|
29
29
|
}, h("slot", {
|
|
30
|
-
key: '
|
|
30
|
+
key: 'a5f9ade50e829efab02ef28ecff3edeedae9d469'
|
|
31
31
|
}), h("div", {
|
|
32
|
-
key: '
|
|
32
|
+
key: '31bdc63d6263090578f6600ae32027c2b050b2bf',
|
|
33
33
|
class: `absolute ${positionClass}
|
|
34
34
|
rounded-xs bg-strongest text-inverse
|
|
35
35
|
f-ui-03-light pointer-events-none
|
package/eds-trl.entry.esm.js
CHANGED
|
@@ -51,10 +51,10 @@ const EdsTrl = class {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
return h("div", {
|
|
54
|
-
key: '
|
|
54
|
+
key: '51e2ef0877ef34a3c413d8bb690d659525845a92',
|
|
55
55
|
class: "container mx-auto px-4 py-8"
|
|
56
56
|
}, h("eds-table", {
|
|
57
|
-
key: '
|
|
57
|
+
key: 'b682cb9ce8182302b82042173fcc93aed65f7006',
|
|
58
58
|
"table-data": JSON.stringify(tableData),
|
|
59
59
|
config: JSON.stringify(tableConfig),
|
|
60
60
|
"rows-per-page": "2",
|
|
@@ -29,23 +29,23 @@ const IncorrectUseOfColors = class {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
return h("div", {
|
|
32
|
-
key: '
|
|
32
|
+
key: '99f72ce6be806d58cdbe053d86a07e7769e7c298',
|
|
33
33
|
class: "container"
|
|
34
34
|
}, h("div", {
|
|
35
|
-
key: '
|
|
35
|
+
key: '4689bc35f56681d07747158f45bed8960bd764bb',
|
|
36
36
|
class: "mb-8"
|
|
37
37
|
}, h("eds-alert", {
|
|
38
|
-
key: '
|
|
38
|
+
key: 'bda983921ff3779dc947d13ff7b3c4f0509154ea',
|
|
39
39
|
message: "Note that, each of the four colour tones cannot be mixed in the same composition.",
|
|
40
40
|
intent: "error"
|
|
41
41
|
})), h("div", {
|
|
42
|
-
key: '
|
|
42
|
+
key: 'ef02b05fb6fb761cae3cc5120478d9670ae65508',
|
|
43
43
|
class: "flex"
|
|
44
44
|
}, h("div", {
|
|
45
|
-
key: '
|
|
45
|
+
key: '968ccc8bc1acec2856325c921d737f0ac2d0e26d',
|
|
46
46
|
class: "w-full"
|
|
47
47
|
}, h("ul", {
|
|
48
|
-
key: '
|
|
48
|
+
key: 'aafe0547a6f6185216cf5ba08cca1e5ed97f7fb8',
|
|
49
49
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
50
50
|
}, primary.map(color => h("li", {
|
|
51
51
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
|
@@ -55,10 +55,10 @@ const IncorrectUseOfColors = class {
|
|
|
55
55
|
backgroundColor: color.background
|
|
56
56
|
}
|
|
57
57
|
}))))), h("div", {
|
|
58
|
-
key: '
|
|
58
|
+
key: 'f8af94ee21c7ed37b177fa3b5285e9bfe76e8e46',
|
|
59
59
|
class: "w-full"
|
|
60
60
|
}, h("ul", {
|
|
61
|
-
key: '
|
|
61
|
+
key: 'ef52e37263e0bfda9d631f7aa6abe2074cbebe78',
|
|
62
62
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
63
63
|
}, incorrect.map(color => h("li", {
|
|
64
64
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
|
package/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as EdsAccordion, a as EdsAlert, b as EdsAvatar, d as EdsBlockBreak, e as EdsBreadcrumb, f as EdsButton, i as EdsCardGeneric, j as EdsCardSection, k as EdsCodeBlock, l as EdsDropdown, m as EdsFeedback, n as EdsFooter, o as EdsForm, p as EdsFullscreenMenu, q as EdsGauge, s as EdsHeader, t as EdsIconWrapper, u as EdsImg, v as EdsInputField, w as EdsInputFooter, x as EdsInputLabel, y as EdsLink, z as EdsLogo, A as EdsMatomoNotice, B as EdsModal, C as
|
|
1
|
+
export { E as EdsAccordion, a as EdsAlert, b as EdsAvatar, d as EdsBlockBreak, e as EdsBreadcrumb, f as EdsButton, i as EdsCardGeneric, j as EdsCardSection, k as EdsCodeBlock, l as EdsDropdown, m as EdsFeedback, n as EdsFooter, o as EdsForm, p as EdsFullscreenMenu, q as EdsGauge, s as EdsHeader, t as EdsIconWrapper, u as EdsImg, v as EdsInputField, w as EdsInputFooter, x as EdsInputLabel, y as EdsLink, z as EdsLogo, A as EdsMatomoNotice, B as EdsModal, C as EdsNps, D as EdsPagination, F as EdsPie, G as EdsProgressBar, I as EdsRating, J as EdsSocialNetworks, K as EdsSpinner, L as EdsSplashScreen, M as EdsSteps, N as EdsStepsV2, O as EdsSwitch, P as EdsTable, Q as EdsTabs, R as EdsTag, S as EdsToast, T as EdsTooltip, U as EdsUser } from './index.esm2.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom';
|