@ebrains/react 2.4.1 → 3.0.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/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_52.entry.esm.js +1823 -0
- package/eds-app-root.entry.esm.js +4 -4
- package/eds-cookies-preference.entry.esm.js +3 -3
- package/eds-feedback.entry.esm.js +5 -5
- package/eds-frame.entry.esm.js +7 -7
- package/eds-gauge.entry.esm.js +8 -9
- package/eds-gitlab-contributors.entry.esm.js +277 -0
- package/eds-icon-bluesky.entry.esm.js +1 -1
- package/eds-icon-eu.entry.esm.js +2 -2
- 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-mastodon.entry.esm.js +1 -1
- package/eds-icon-twitter.entry.esm.js +1 -1
- package/eds-icon-youtube.entry.esm.js +1 -1
- package/eds-modal.entry.esm.js +88 -31
- package/eds-pie.entry.esm.js +38 -4
- package/eds-section-core_2.entry.esm.js +5 -5
- package/eds-splash-screen.entry.esm.js +4 -12
- package/eds-timeline.entry.esm.js +8 -14
- package/eds-toast-manager.entry.esm.js +1 -1
- package/eu-8ac3e99c.esm.js +7 -0
- package/incorrect-use-of-colors.entry.esm.js +8 -8
- package/index.esm.js +1 -1
- package/index.esm2.js +14 -143
- package/logo-space.entry.esm.js +138 -17
- package/logo-variations-horizontal_2.entry.esm.js +28 -54
- package/logo-variations-tabs.entry.esm.js +1 -1
- package/logo-wrong-usage.entry.esm.js +33 -33
- package/negative-84eec72e.esm.js +104 -0
- package/package.json +1 -1
- package/positive-cc986d7c.esm.js +65 -0
- package/src/components.d.ts +8 -2
- package/src/generated/components.d.ts +0 -1
- package/svg-repository.entry.esm.js +7 -254
- package/token-list_3.entry.esm.js +79 -51
- package/token-ratios.entry.esm.js +3 -3
- package/token-spacing.entry.esm.js +26 -26
- package/token-typography.entry.esm.js +88 -79
- package/arrow-diagonal-black-8f0494c3.esm.js +0 -3
- package/arrow-right-9322ba8a.esm.js +0 -5
- package/bin-37cad2f0.esm.js +0 -3
- package/bookmark-c200037c.esm.js +0 -16
- package/chevron-down-6144c823.esm.js +0 -12
- package/chevron-left-ca6c66e1.esm.js +0 -11
- package/chevron-right-b88ed2d4.esm.js +0 -5
- package/chevron-up-c66bd477.esm.js +0 -12
- package/clone-dab56639.esm.js +0 -3
- package/close-87fc0d63.esm.js +0 -5
- package/copy-03b72cb6.esm.js +0 -5
- package/download-47746956.esm.js +0 -18
- package/draft-dd5dada2.esm.js +0 -3
- package/edit-3893a517.esm.js +0 -3
- package/eds-accordion_37.entry.esm.js +0 -1201
- package/eds-card-desc_2.entry.esm.js +0 -85
- package/eds-card-generic.entry.esm.js +0 -116
- package/eds-card-project.entry.esm.js +0 -209
- package/eds-card-section.entry.esm.js +0 -56
- package/eds-card-tags.entry.esm.js +0 -27
- package/eds-card-tool.entry.esm.js +0 -105
- package/eds-footer.entry.esm.js +0 -145
- package/eds-fullscreen-menu.entry.esm.js +0 -143
- package/eds-icon-arrow-diagonal.entry.esm.js +0 -21
- package/eds-icon-arrow-right.entry.esm.js +0 -21
- package/eds-icon-bin.entry.esm.js +0 -21
- package/eds-icon-bookmark.entry.esm.js +0 -21
- package/eds-icon-chevron-down.entry.esm.js +0 -21
- package/eds-icon-chevron-left.entry.esm.js +0 -21
- package/eds-icon-chevron-right.entry.esm.js +0 -21
- package/eds-icon-chevron-up.entry.esm.js +0 -21
- package/eds-icon-clone.entry.esm.js +0 -21
- package/eds-icon-close.entry.esm.js +0 -21
- package/eds-icon-copy.entry.esm.js +0 -21
- package/eds-icon-download.entry.esm.js +0 -21
- package/eds-icon-draft.entry.esm.js +0 -21
- package/eds-icon-edit.entry.esm.js +0 -21
- package/eds-icon-external.entry.esm.js +0 -21
- package/eds-icon-loader.entry.esm.js +0 -21
- package/eds-icon-menu.entry.esm.js +0 -21
- package/eds-icon-minus.entry.esm.js +0 -21
- package/eds-icon-more.entry.esm.js +0 -21
- package/eds-icon-paper.entry.esm.js +0 -21
- package/eds-icon-plus.entry.esm.js +0 -21
- package/eds-icon-portal.entry.esm.js +0 -21
- package/eds-icon-private.entry.esm.js +0 -21
- package/eds-icon-public.entry.esm.js +0 -21
- package/eds-icon-search.entry.esm.js +0 -21
- package/eds-icon-star.entry.esm.js +0 -21
- package/eds-icon-start.entry.esm.js +0 -21
- package/eds-icon-success.entry.esm.js +0 -21
- package/eds-icon-thumbs-down.entry.esm.js +0 -21
- package/eds-icon-thumbs-up.entry.esm.js +0 -21
- package/eds-icon-tutorial.entry.esm.js +0 -21
- package/eds-icon-unknown.entry.esm.js +0 -21
- package/eds-icon-updown.entry.esm.js +0 -21
- package/eds-icon-user.entry.esm.js +0 -21
- package/eds-icon-view.entry.esm.js +0 -21
- package/eds-progress-bar.entry.esm.js +0 -52
- package/eds-social-networks.entry.esm.js +0 -73
- package/eds-trl.entry.esm.js +0 -68
- package/eu-9ddde93a.esm.js +0 -30
- package/index-39c58238.esm.js +0 -58
- package/loader-c9628637.esm.js +0 -30
- package/logo-color-7f1fd803.esm.js +0 -115
- package/logo-color-margins-ff8ce71b.esm.js +0 -118
- package/logo-white-no-bg-f382f86f.esm.js +0 -1021
- package/menu-340ea948.esm.js +0 -11
- package/minus-b30a7c71.esm.js +0 -11
- package/more-4449d549.esm.js +0 -13
- package/paper-8e74ea31.esm.js +0 -15
- package/plus-89c07be2.esm.js +0 -12
- package/portal-d6c8ce56.esm.js +0 -18
- package/private-1c25ff8e.esm.js +0 -25
- package/public-d4d8c585.esm.js +0 -16
- package/search-fbcd79c2.esm.js +0 -12
- package/star-0da9b5e9.esm.js +0 -5
- package/start-65126a4f.esm.js +0 -3
- package/success-443809da.esm.js +0 -18
- package/thumbs-down-a18fd049.esm.js +0 -5
- package/thumbs-up-c19a71bc.esm.js +0 -6
- package/tutotial-150ee1fd.esm.js +0 -27
- package/unknown-ed01a24c.esm.js +0 -22
- package/up-and-down-8b69ca97.esm.js +0 -12
- package/user-71ebdc15.esm.js +0 -16
- package/view-e900f2d4.esm.js +0 -3
|
@@ -1,21 +0,0 @@
|
|
|
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: '4e9525934775adfffff9c709ee69c0a5ebf03565',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: minus
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconMinus as eds_icon_minus };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { m as more } from './more-4449d549.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconMore = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: 'e42d76e608591ec3ea4d1696affdaa6b1a764c31',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: more
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconMore as eds_icon_more };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { p as paper } from './paper-8e74ea31.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconPaper = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: '3da4ed49bfac513943d7655f4c52f48084efcda7',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: paper
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconPaper as eds_icon_paper };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { p as plus } from './plus-89c07be2.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconPlus = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: 'a0e18b454752151c3e2ca4e32814df065364bb34',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: plus
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconPlus as eds_icon_plus };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { p as portal } from './portal-d6c8ce56.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconPortal = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: 'f9bc952f9bb354dab1f4883c1909be98116b2416',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: portal
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconPortal as eds_icon_portal };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { p as privat } from './private-1c25ff8e.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconPrivate = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: '6a7653b8ef8137f6257a2e0c546200bc5afb1d2f',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: privat
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconPrivate as eds_icon_private };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { p as pub } from './public-d4d8c585.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconPublic = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: 'fc4ebd716a4e8e8f753c65febfa701e2dbb233a8',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: pub
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconPublic as eds_icon_public };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { s as search } from './search-fbcd79c2.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconSearch = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: '5be70ac50bac9b7b52a2d631dcb6b1449e7b3b0a',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: search
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconSearch as eds_icon_search };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { s as star } from './star-0da9b5e9.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconStar = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: 'fabdb04e16a6ba928a2cb2936f7433fa1aea18ce',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: star
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconStar as eds_icon_star };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { s as start } from './start-65126a4f.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconStart = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: '32b34d3e55370226bca150790f0791067b63ff23',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: start
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconStart as eds_icon_start };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { s as success } from './success-443809da.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconSuccess = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: '645920f5bbde45082ad1c093f3f6c546b73b707e',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: success
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconSuccess as eds_icon_success };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { t as thumbsDown } from './thumbs-down-a18fd049.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconThumbsDown = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: '15822639188c8a54d48097e5efb4e6b885d439ef',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: thumbsDown
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconThumbsDown as eds_icon_thumbs_down };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { t as thumbsUp } from './thumbs-up-c19a71bc.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconThumbsUp = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: 'a2fdeca95d1a8efb48324eb8c9c20d39e7ad31c5',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: thumbsUp
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconThumbsUp as eds_icon_thumbs_up };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { t as tutorial } from './tutotial-150ee1fd.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconTutorial = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: 'e1a54a7d3014760ad65851b961041f75eba7b581',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: tutorial
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconTutorial as eds_icon_tutorial };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { u as unknown } from './unknown-ed01a24c.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconUnknown = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: 'fa19613df173185cc312af7acef6bec4d187cab1',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: unknown
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconUnknown as eds_icon_unknown };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { u as upDown } from './up-and-down-8b69ca97.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconUpdown = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: '2339adac1ec08234dd1cf09e2bde6e4e55f35109',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: upDown
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconUpdown as eds_icon_updown };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import { u as user } from './user-71ebdc15.esm.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
|
|
7
|
-
const EdsIconUser = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.class = '';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("span", {
|
|
14
|
-
key: '6e4ca330f0095f1d0b96919a5d35e5ee09f22bdf',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: user
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconUser as eds_icon_user };
|
|
@@ -1,21 +0,0 @@
|
|
|
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: '3414ec5143236a2c8821f460a50684b0a6b565a9',
|
|
15
|
-
class: this.class,
|
|
16
|
-
innerHTML: view
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export { EdsIconView as eds_icon_view };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
import 'react-dom';
|
|
5
|
-
|
|
6
|
-
const edsProgressBarCss = ".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.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)}.absolute{position:absolute}.relative{position:relative}.z-0{z-index:0}.z-10{z-index:10}.inset-0{inset:0rem}.pointer-events-none{pointer-events:none}";
|
|
7
|
-
const EdsProgressBarStyle0 = edsProgressBarCss;
|
|
8
|
-
const EdsProgressBar = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.value = 0;
|
|
12
|
-
this.rounded = true;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Method to update the progress value externally.
|
|
16
|
-
* @param newValue The new progress value (0-100).
|
|
17
|
-
*/
|
|
18
|
-
async updateValue(newValue) {
|
|
19
|
-
this.value = Math.min(100, Math.max(0, newValue)); // Clamp 0–100
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
const progressValue = Math.min(100, Math.max(0, this.value));
|
|
23
|
-
// Outer container classes (conditionally rounded)
|
|
24
|
-
const outerClasses = ['outer', 'w-full', 'h-24', 'bg-default', 'border', 'border-softer', 'overflow-hidden', this.rounded ? 'rounded-lg' : '', 'relative'].filter(Boolean).join(' ');
|
|
25
|
-
// Fill bar classes (conditionally rounded only when >0)
|
|
26
|
-
const fillClasses = ['inner', 'h-full', 'transition-all', 'duration-300', 'bg-accent', progressValue > 0 && this.rounded ? 'rounded-lg' : '', 'z-0'].filter(Boolean).join(' ');
|
|
27
|
-
return h("div", {
|
|
28
|
-
key: 'a3a56c8ed86104fb26ce5a3f7d583d02705b59d0',
|
|
29
|
-
role: "progressbar",
|
|
30
|
-
"aria-valuemin": "0",
|
|
31
|
-
"aria-valuemax": "100",
|
|
32
|
-
"aria-valuenow": progressValue,
|
|
33
|
-
"aria-valuetext": `${progressValue}%`,
|
|
34
|
-
class: outerClasses
|
|
35
|
-
}, h("div", {
|
|
36
|
-
key: 'ef56ff5501bfec77174a90dafabdd35210936c9d',
|
|
37
|
-
class: fillClasses,
|
|
38
|
-
style: {
|
|
39
|
-
width: `${progressValue}%`
|
|
40
|
-
}
|
|
41
|
-
}), h("div", {
|
|
42
|
-
key: '69eec5cd3a6b8fec6defa621b69559da47df66a6',
|
|
43
|
-
class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10"
|
|
44
|
-
}, h("span", {
|
|
45
|
-
key: '7fdeea8fbe2e600daca350e67a27fbed9708c1e1',
|
|
46
|
-
class: "text-default f-body-02"
|
|
47
|
-
}, progressValue, "%")));
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
EdsProgressBar.style = EdsProgressBarStyle0;
|
|
51
|
-
|
|
52
|
-
export { EdsProgressBar as eds_progress_bar };
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
import 'react-dom';
|
|
5
|
-
|
|
6
|
-
const edsSocialNetworksCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.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)}.mt-12{margin-top:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}";
|
|
7
|
-
const EdsSocialNetworksStyle0 = edsSocialNetworksCss;
|
|
8
|
-
const EdsSocialNetworks = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
/**
|
|
12
|
-
* Array of social network objects, each containing label, URL, and icon.
|
|
13
|
-
* These are used to render the social network links.
|
|
14
|
-
*
|
|
15
|
-
* @private
|
|
16
|
-
* @type {SocialNetworks[]}
|
|
17
|
-
*/
|
|
18
|
-
this.socialNetworks = [{
|
|
19
|
-
label: 'Twitter',
|
|
20
|
-
url: 'https://twitter.com/ebrains_eu',
|
|
21
|
-
icon: 'twitter'
|
|
22
|
-
}, {
|
|
23
|
-
label: 'Linkedin',
|
|
24
|
-
url: 'https://www.linkedin.com/company/ebrains-eu/about/',
|
|
25
|
-
icon: 'linkedin'
|
|
26
|
-
}, {
|
|
27
|
-
label: 'Facebook',
|
|
28
|
-
url: 'https://www.facebook.com/people/Ebrains_eu/100046659909324/',
|
|
29
|
-
icon: 'facebook'
|
|
30
|
-
}, {
|
|
31
|
-
label: 'Youtube',
|
|
32
|
-
url: 'https://www.youtube.com/channel/UC6E796cVVR5Xrs2A5jJmleQ',
|
|
33
|
-
icon: 'youtube'
|
|
34
|
-
}, {
|
|
35
|
-
label: 'Mastodon',
|
|
36
|
-
url: 'https://mastodon.social/@ebrains',
|
|
37
|
-
icon: 'mastodon'
|
|
38
|
-
}, {
|
|
39
|
-
label: 'Bluesky',
|
|
40
|
-
url: 'https://bsky.app/profile/ebrains.bsky.social',
|
|
41
|
-
icon: 'bluesky'
|
|
42
|
-
}];
|
|
43
|
-
this.heading = 'Follow EBRAINS to keep up-to-date';
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Renders the component's HTML structure with links to EBRAINS social profiles.
|
|
47
|
-
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
48
|
-
*/
|
|
49
|
-
render() {
|
|
50
|
-
return h("nav", {
|
|
51
|
-
key: 'a18759794a383be1ce670ff3ac9f251b3c7327a5',
|
|
52
|
-
"aria-label": "Social media"
|
|
53
|
-
}, h("p", {
|
|
54
|
-
key: '404fbffecd29c6efdfc8ade90f0da9d68e6c7b8e',
|
|
55
|
-
class: "f-ui-02"
|
|
56
|
-
}, this.heading), h("ul", {
|
|
57
|
-
key: '959079149753b1c13e974dd610e3109e1f54c6f6',
|
|
58
|
-
class: "mt-12 flex gap-4"
|
|
59
|
-
}, this.socialNetworks.map((network, index) => h("li", {
|
|
60
|
-
key: index
|
|
61
|
-
}, h("eds-link", {
|
|
62
|
-
"extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm",
|
|
63
|
-
external: true,
|
|
64
|
-
"aria-label": `EBRAINS on ${network.label}`,
|
|
65
|
-
url: network.url,
|
|
66
|
-
icon: network.icon,
|
|
67
|
-
intent: "strong"
|
|
68
|
-
})))));
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
EdsSocialNetworks.style = EdsSocialNetworksStyle0;
|
|
72
|
-
|
|
73
|
-
export { EdsSocialNetworks as eds_social_networks };
|
package/eds-trl.entry.esm.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
import 'react-dom';
|
|
5
|
-
|
|
6
|
-
const EdsTrl = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.applications = undefined;
|
|
10
|
-
}
|
|
11
|
-
getParsedApplications() {
|
|
12
|
-
let apps = [];
|
|
13
|
-
// If applications is a string, attempt to parse it as JSON.
|
|
14
|
-
if (typeof this.applications === 'string') {
|
|
15
|
-
try {
|
|
16
|
-
apps = JSON.parse(this.applications || '[]');
|
|
17
|
-
} catch (error) {
|
|
18
|
-
// eslint-disable-next-line
|
|
19
|
-
console.error('Invalid applications trl JSON', error);
|
|
20
|
-
apps = [];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
// If applications is already an array, use it directly.
|
|
24
|
-
else if (Array.isArray(this.applications)) {
|
|
25
|
-
apps = this.applications;
|
|
26
|
-
}
|
|
27
|
-
return apps;
|
|
28
|
-
}
|
|
29
|
-
calculateProgress(currentTrl) {
|
|
30
|
-
const maxTrl = 9;
|
|
31
|
-
return Math.ceil(currentTrl / maxTrl * 100); // Calculate percentage and round up
|
|
32
|
-
}
|
|
33
|
-
render() {
|
|
34
|
-
const apps = this.getParsedApplications();
|
|
35
|
-
// Map applications into table-friendly data.
|
|
36
|
-
const tableData = apps.map(app => ({
|
|
37
|
-
Application: app.name,
|
|
38
|
-
'Current TRL Stage': `TRL ${app.currentTrl}`,
|
|
39
|
-
Progress: h("div", {
|
|
40
|
-
class: "w-[200px]"
|
|
41
|
-
}, h("eds-progress-bar", {
|
|
42
|
-
value: this.calculateProgress(app.currentTrl)
|
|
43
|
-
}))
|
|
44
|
-
}));
|
|
45
|
-
const tableConfig = {
|
|
46
|
-
Application: {
|
|
47
|
-
format: 'code'
|
|
48
|
-
},
|
|
49
|
-
'Current TRL Stage': {
|
|
50
|
-
format: 'text'
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
return h("div", {
|
|
54
|
-
key: 'a38f75e6defd9d618e3cc8a8404c6634adcd7cdb',
|
|
55
|
-
class: "container mx-auto px-4 py-8"
|
|
56
|
-
}, h("eds-table", {
|
|
57
|
-
key: '87ccaf97a5d635348347ce1c80c96d78e6631541',
|
|
58
|
-
"table-data": JSON.stringify(tableData),
|
|
59
|
-
config: JSON.stringify(tableConfig),
|
|
60
|
-
"rows-per-page": "2",
|
|
61
|
-
"pagination-enabled": "true",
|
|
62
|
-
"search-enabled": "true",
|
|
63
|
-
"column-size": "default"
|
|
64
|
-
}));
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export { EdsTrl as eds_trl };
|
package/eu-9ddde93a.esm.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const euSvg = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-eu" viewBox="0 0 640 480">
|
|
2
|
-
<defs>
|
|
3
|
-
<g id="d">
|
|
4
|
-
<g id="b">
|
|
5
|
-
<path id="a" d="m0-1-.3 1 .5.1z"/>
|
|
6
|
-
<use xlink:href="#a" transform="scale(-1 1)"/>
|
|
7
|
-
</g>
|
|
8
|
-
<g id="c">
|
|
9
|
-
<use xlink:href="#b" transform="rotate(72)"/>
|
|
10
|
-
<use xlink:href="#b" transform="rotate(144)"/>
|
|
11
|
-
</g>
|
|
12
|
-
<use xlink:href="#c" transform="scale(-1 1)"/>
|
|
13
|
-
</g>
|
|
14
|
-
</defs>
|
|
15
|
-
<path fill="#039" d="M0 0h640v480H0z"/>
|
|
16
|
-
<g fill="#fc0" transform="translate(320 242.3) scale(23.7037)">
|
|
17
|
-
<use xlink:href="#d" width="100%" height="100%" y="-6"/>
|
|
18
|
-
<use xlink:href="#d" width="100%" height="100%" y="6"/>
|
|
19
|
-
<g id="e">
|
|
20
|
-
<use xlink:href="#d" width="100%" height="100%" x="-6"/>
|
|
21
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(-144 -2.3 -2.1)"/>
|
|
22
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(144 -2.1 -2.3)"/>
|
|
23
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -4.7 -2)"/>
|
|
24
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -5 .5)"/>
|
|
25
|
-
</g>
|
|
26
|
-
<use xlink:href="#e" width="100%" height="100%" transform="scale(-1 1)"/>
|
|
27
|
-
</g>
|
|
28
|
-
</svg>`;
|
|
29
|
-
|
|
30
|
-
export { euSvg as e };
|