@ebrains/react 1.4.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/bin-37cad2f0.esm.js +3 -0
- 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/draft-dd5dada2.esm.js +3 -0
- 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-generic.entry.esm.js +4 -5
- package/eds-card-project.entry.esm.js +10 -11
- 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 +135 -0
- package/eds-frame.entry.esm.js +4 -4
- package/eds-fullscreen-menu.entry.esm.js +124 -0
- 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 +21 -0
- 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 +21 -0
- package/eds-icon-edit.entry.esm.js +21 -0
- 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 +21 -0
- 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 +150 -0
- 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 +74 -0
- package/eds-spinner.entry.esm.js +51 -14
- package/eds-splash-screen.entry.esm.js +1 -4
- package/eds-timeline.entry.esm.js +4 -4
- package/eds-toast-manager.entry.esm.js +1 -1
- package/eds-tooltip.entry.esm.js +12 -6
- 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 +37 -26
- 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/start-65126a4f.esm.js +3 -0
- package/svg-repository.entry.esm.js +15 -3
- 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/eds-accordion.entry.esm.js +0 -132
- package/eds-alert.entry.esm.js +0 -112
- package/eds-avatar_29.entry.esm.js +0 -3660
- 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-rating.entry.esm.js +0 -79
- package/eds-switch.entry.esm.js +0 -68
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
+
import { c as clone } from './clone-dab56639.esm.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
|
|
7
|
+
const EdsIconClone = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.class = '';
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("span", {
|
|
14
|
+
key: 'ebbda9e150151cc6e6d2677307287f2d2f1ab4db',
|
|
15
|
+
class: this.class,
|
|
16
|
+
innerHTML: clone
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { EdsIconClone as eds_icon_clone };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
+
import { d as draft } from './draft-dd5dada2.esm.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
|
|
7
|
+
const EdsIconDraft = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.class = '';
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("span", {
|
|
14
|
+
key: '13898eb065f5a243104bc79293a5e6afcd276230',
|
|
15
|
+
class: this.class,
|
|
16
|
+
innerHTML: draft
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { EdsIconDraft as eds_icon_draft };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index.esm2.js';
|
|
2
|
+
import { e as edit } from './edit-3893a517.esm.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
|
|
7
|
+
const EdsIconEdit = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.class = '';
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("span", {
|
|
14
|
+
key: '1758d925314772dc29c4349f71f186ba775d2b41',
|
|
15
|
+
class: this.class,
|
|
16
|
+
innerHTML: edit
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { EdsIconEdit as eds_icon_edit };
|
package/eds-icon-eu.entry.esm.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
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: 'a788a6ded2b42ad1138be4f74464d4dc08dc485f',
|
|
15
|
+
class: this.class,
|
|
16
|
+
innerHTML: start
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { EdsIconStart as eds_icon_start };
|
|
@@ -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 };
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index.esm2.js';
|
|
2
|
+
import { s as sendAnalytics } from './analytics-d99780e3.esm.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
|
|
7
|
+
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999999{z-index:9999999}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-0{top:0rem}.left-0{left:0rem}.top-20{top:1.25rem}.bottom-0{bottom:0rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.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)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.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}@media (min-width: 750px){.md\\:bottom-20{bottom:1.25rem}.md\\:w-auto{width:auto}.md\\:top-20{top:1.25rem}.md\\:top-1\\/2{top:50%}.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:gap-y-12{row-gap:0.75rem}}";
|
|
8
|
+
const EdsModalStyle0 = edsModalCss;
|
|
9
|
+
const EdsModal = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
registerInstance(this, hostRef);
|
|
12
|
+
this.heading = '';
|
|
13
|
+
this.truncate = 1;
|
|
14
|
+
this.position = 'middle';
|
|
15
|
+
this.inverseHeader = false;
|
|
16
|
+
this.isOpen = false;
|
|
17
|
+
}
|
|
18
|
+
getTruncateClass() {
|
|
19
|
+
return this.truncate ? `line-clamp-${this.truncate}` : '';
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns the Tailwind CSS classes to position the modal based on the `position` prop.
|
|
23
|
+
*
|
|
24
|
+
* @private
|
|
25
|
+
* @returns {string} The concatenated CSS classes for modal positioning.
|
|
26
|
+
*/
|
|
27
|
+
getModalPositionClasses() {
|
|
28
|
+
switch (this.position) {
|
|
29
|
+
case 'top':
|
|
30
|
+
return [
|
|
31
|
+
// mobile: pinned to top, full-width
|
|
32
|
+
'top-0', 'left-0', 'w-full',
|
|
33
|
+
// desktop: half-width centred and offset down
|
|
34
|
+
'md:left-1/2', 'md:w-auto', 'md:-translate-x-1/2', 'md:top-20'].join(' ');
|
|
35
|
+
case 'bottom':
|
|
36
|
+
return ['bottom-0', 'left-0', 'w-full', 'md:left-1/2', 'md:w-auto', 'md:-translate-x-1/2', 'md:bottom-20'].join(' ');
|
|
37
|
+
/*case 'left':
|
|
38
|
+
…
|
|
39
|
+
case 'right':
|
|
40
|
+
…*/
|
|
41
|
+
case 'middle':
|
|
42
|
+
default:
|
|
43
|
+
return [
|
|
44
|
+
// mobile: full-width, start from top with a little padding
|
|
45
|
+
'top-0', 'left-0', 'w-full', 'pt-4',
|
|
46
|
+
// desktop: centred both axes
|
|
47
|
+
'md:left-1/2', 'md:top-1/2', 'md:w-auto', 'md:-translate-x-1/2', 'md:-translate-y-1/2'].join(' ');
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Opens the modal.
|
|
52
|
+
*/
|
|
53
|
+
async open() {
|
|
54
|
+
var _a;
|
|
55
|
+
this.isOpen = true;
|
|
56
|
+
sendAnalytics({
|
|
57
|
+
category: 'ui-component',
|
|
58
|
+
parentContext: null,
|
|
59
|
+
tag: this.el.tagName.toLowerCase(),
|
|
60
|
+
name: ((_a = this.heading) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
|
|
61
|
+
action: 'opened'
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Closes the modal.
|
|
66
|
+
*/
|
|
67
|
+
async close() {
|
|
68
|
+
var _a;
|
|
69
|
+
this.isOpen = false;
|
|
70
|
+
sendAnalytics({
|
|
71
|
+
category: 'ui-component',
|
|
72
|
+
parentContext: null,
|
|
73
|
+
tag: this.el.tagName.toLowerCase(),
|
|
74
|
+
name: ((_a = this.heading) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
|
|
75
|
+
action: 'closed'
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Toggles the modal open or closed.
|
|
80
|
+
*/
|
|
81
|
+
async toggle() {
|
|
82
|
+
this.isOpen = !this.isOpen;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Listens for global custom events to open the modal.
|
|
86
|
+
*/
|
|
87
|
+
handleGlobalOpen() {
|
|
88
|
+
this.open();
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Listens for global custom events to close the modal.
|
|
92
|
+
*/
|
|
93
|
+
handleGlobalClose() {
|
|
94
|
+
this.close();
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Closes the modal when the Escape key is pressed.
|
|
98
|
+
*/
|
|
99
|
+
handleKeyDown(event) {
|
|
100
|
+
if (this.isOpen && event.key === 'Escape') {
|
|
101
|
+
this.close();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
render() {
|
|
105
|
+
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
106
|
+
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
107
|
+
return h("div", {
|
|
108
|
+
key: '14c35228e2aaf72d59f1766fd8e69fcd06ea5270',
|
|
109
|
+
id: "eds-modal",
|
|
110
|
+
class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`,
|
|
111
|
+
role: "dialog",
|
|
112
|
+
"aria-modal": "true",
|
|
113
|
+
"aria-labelledby": titleId
|
|
114
|
+
}, this.isOpen && h("div", {
|
|
115
|
+
key: '34b5dad3a31cd9a66135ce9d93d48215712529b9',
|
|
116
|
+
class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
117
|
+
,
|
|
118
|
+
|
|
119
|
+
onClick: () => this.close()
|
|
120
|
+
}), h("div", {
|
|
121
|
+
key: '5268780d170f080404d2c3ab0bb3f355b50895cb',
|
|
122
|
+
class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center`
|
|
123
|
+
}, h("div", {
|
|
124
|
+
key: '20c094f3fb3cd31280118d687dec311a8aa59f57',
|
|
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
|
+
}, h("span", {
|
|
127
|
+
key: 'de7ff288945cd6e0a8c97d9c40cf02cc5ba4ea41',
|
|
128
|
+
id: titleId,
|
|
129
|
+
class: `f-heading-04 ${this.getTruncateClass()}`
|
|
130
|
+
}, this.heading), h("eds-button", {
|
|
131
|
+
key: 'a46dc51081ad99856cfa81ccdf2ab060f644c7cb',
|
|
132
|
+
intent: "tertiary",
|
|
133
|
+
icon: "close",
|
|
134
|
+
"aria-label": "Close modal",
|
|
135
|
+
onClick: () => this.close(),
|
|
136
|
+
"extra-class": "ml-8 text-default"
|
|
137
|
+
})), h("div", {
|
|
138
|
+
key: '45557580b90ae4f5d176eaa4805ce527d6e59eec',
|
|
139
|
+
class: "pt-8 px-20 py-20"
|
|
140
|
+
}, h("slot", {
|
|
141
|
+
key: 'b67c888a32c615c5073768ec3cd4e342a34a84c6'
|
|
142
|
+
}))));
|
|
143
|
+
}
|
|
144
|
+
get el() {
|
|
145
|
+
return getElement(this);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
EdsModal.style = EdsModalStyle0;
|
|
149
|
+
|
|
150
|
+
export { EdsModal as eds_modal };
|
|
@@ -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
|
}
|