@ebrains/react 1.2.0 → 1.3.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-app-root.entry.esm.js +4 -4
- package/eds-avatar_28.entry.esm.js +85 -78
- 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-progress-bar.entry.esm.js +4 -4
- 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-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 +4 -2
- 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 +2 -0
- 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-spacing.entry.esm.js +26 -26
- package/token-typography.entry.esm.js +2 -2
|
@@ -447,7 +447,7 @@ const EdsFooter = class {
|
|
|
447
447
|
*/
|
|
448
448
|
render() {
|
|
449
449
|
return h("footer", {
|
|
450
|
-
key: '
|
|
450
|
+
key: '97eecea73acf5ee3d125a446939010055c24e3f3'
|
|
451
451
|
}, this.social ? h("div", {
|
|
452
452
|
class: "border-softest border-t-2 pt-20 md:pt-28"
|
|
453
453
|
}, h("div", {
|
|
@@ -459,39 +459,39 @@ const EdsFooter = class {
|
|
|
459
459
|
}, h("eds-social-networks", {
|
|
460
460
|
class: "mt-28"
|
|
461
461
|
}))))) : null, h("div", {
|
|
462
|
-
key: '
|
|
462
|
+
key: 'b7592d90406aa7b5e4d71e2947335a85dbbf70ae',
|
|
463
463
|
class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28`
|
|
464
464
|
}, h("div", {
|
|
465
|
-
key: '
|
|
465
|
+
key: '054190192082a4fdd2435ef62e5e7765386149f5',
|
|
466
466
|
class: "container flex items-center gap-20 lg:flex-nowrap"
|
|
467
467
|
}, h("div", {
|
|
468
|
-
key: '
|
|
468
|
+
key: 'baa874cda99a882f33643609ffd2b99f09db3646',
|
|
469
469
|
class: "flex items-center gap-x-12"
|
|
470
470
|
}, h("a", {
|
|
471
|
-
key: '
|
|
471
|
+
key: 'f47a0e02c7db660ab2c5b9894fd6ef1f820239cf',
|
|
472
472
|
target: "_blank",
|
|
473
473
|
rel: "noopener noreferrer",
|
|
474
474
|
class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0",
|
|
475
475
|
href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en",
|
|
476
476
|
"aria-label": "Learn about Horizon Europe funding"
|
|
477
477
|
}, h("eds-img", {
|
|
478
|
-
key: '
|
|
478
|
+
key: '470f3ccae44a83383ad7f5bfcab880365b203a50',
|
|
479
479
|
width: 54,
|
|
480
480
|
height: 41,
|
|
481
481
|
src: "https://www.ebrains.eu/flags/4x3/eu.svg",
|
|
482
482
|
alt: "European Union Flag"
|
|
483
483
|
}))), h("div", {
|
|
484
|
-
key: '
|
|
484
|
+
key: 'a02153ae5b772b105272eac575911826747ea246'
|
|
485
485
|
}, h("div", {
|
|
486
|
-
key: '
|
|
486
|
+
key: 'a274e52402142dce7df575b29ce8802d1d662368',
|
|
487
487
|
class: "f-ui-04 text-light"
|
|
488
488
|
}, h("p", {
|
|
489
|
-
key: '
|
|
489
|
+
key: 'ae2c393b8585aecd25d08ad20fe8bd712f9c12b5'
|
|
490
490
|
}, this.fundedBy), h("div", {
|
|
491
|
-
key: '
|
|
491
|
+
key: '9ef102155624ef47071d4285ea00c65d66d8606e',
|
|
492
492
|
class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block"
|
|
493
493
|
}, h("span", {
|
|
494
|
-
key: '
|
|
494
|
+
key: '86f5992c7570fcd88c80f7877f08cd4b357ca291',
|
|
495
495
|
class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4"
|
|
496
496
|
}, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? h("eds-link", {
|
|
497
497
|
label: this.cookiesPreferences,
|
|
@@ -501,7 +501,7 @@ const EdsFooter = class {
|
|
|
501
501
|
this.toggleCookiesConsent();
|
|
502
502
|
}
|
|
503
503
|
}) : null))), h("div", {
|
|
504
|
-
key: '
|
|
504
|
+
key: '3ffce63f46352acd80eff48fb121b5ee165c1ad5',
|
|
505
505
|
class: "ml-auto pl-12"
|
|
506
506
|
}, this.enableScrollTop ? h("eds-button", {
|
|
507
507
|
id: "backToTop",
|
|
@@ -942,14 +942,14 @@ const EdsForm = class {
|
|
|
942
942
|
const hiddenFields = this.parsedFields.filter(field => field.type === 'hidden');
|
|
943
943
|
const otherFields = this.parsedFields.filter(field => field.type !== 'hidden');
|
|
944
944
|
return h("form", {
|
|
945
|
-
key: '
|
|
945
|
+
key: '1a53a4f0d2b8420a14db6fe35548a86cfeb8b698',
|
|
946
946
|
ref: el => this.formEl = el,
|
|
947
947
|
autocomplete: "on",
|
|
948
948
|
onSubmit: this.handleSubmit
|
|
949
949
|
}, h("div", {
|
|
950
|
-
key: '
|
|
950
|
+
key: '8fdd2fa6b73f24c025b43d6f0b34cdbb22e0ec82'
|
|
951
951
|
}, h("slot", {
|
|
952
|
-
key: '
|
|
952
|
+
key: '385f8c71b86b7ab9a74c1b7a0204331d0022467f'
|
|
953
953
|
}), hiddenFields.map((field, index) => h("eds-input", {
|
|
954
954
|
key: index,
|
|
955
955
|
type: "hidden",
|
|
@@ -983,10 +983,10 @@ const EdsForm = class {
|
|
|
983
983
|
options: field.options
|
|
984
984
|
});
|
|
985
985
|
})), this.formBtn && h("div", {
|
|
986
|
-
key: '
|
|
986
|
+
key: '0a120557c574112a8686087cfe2dbf3aae3feaa5',
|
|
987
987
|
class: "mt-20"
|
|
988
988
|
}, h("eds-button", {
|
|
989
|
-
key: '
|
|
989
|
+
key: '277a39f0d82e01f549966aa0c91347e090a82bc7',
|
|
990
990
|
intent: "primary",
|
|
991
991
|
label: this.formBtnLabel,
|
|
992
992
|
disabled: this.isSubmitting,
|
|
@@ -1171,20 +1171,20 @@ const EdsHeader = class {
|
|
|
1171
1171
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
1172
1172
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
1173
1173
|
return h("header", {
|
|
1174
|
-
key: '
|
|
1174
|
+
key: '635e25577674250c4ce8cdc91e29fa0c93b7e821',
|
|
1175
1175
|
class: `flex items-center justify-between relative z-10 ${classes}`
|
|
1176
1176
|
}, h("div", {
|
|
1177
|
-
key: '
|
|
1177
|
+
key: '41275c9aedeff533f00348dfa85b49fdb1a3f25e',
|
|
1178
1178
|
class: "mr-auto w-[200px] h-[85px]"
|
|
1179
1179
|
}, h("eds-logo", {
|
|
1180
|
-
key: '
|
|
1180
|
+
key: 'fa8949ebbeab567b3770c6795a890f9187b66cf2',
|
|
1181
1181
|
type: logoType,
|
|
1182
1182
|
href: this.homeUrl
|
|
1183
1183
|
})), this.parsedLinks && h("nav", {
|
|
1184
|
-
key: '
|
|
1184
|
+
key: '64428c01fee019a77b15b2ad43fbdb18cf5cc1e9',
|
|
1185
1185
|
class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex"
|
|
1186
1186
|
}, h("ul", {
|
|
1187
|
-
key: '
|
|
1187
|
+
key: '8b6e7e82f077409987e0271f1d1c57d3473a0921',
|
|
1188
1188
|
class: "flex gap-x-2"
|
|
1189
1189
|
}, this.parsedLinks.map(link => h("eds-link", {
|
|
1190
1190
|
label: link.label,
|
|
@@ -1196,12 +1196,12 @@ const EdsHeader = class {
|
|
|
1196
1196
|
external: link.external,
|
|
1197
1197
|
"extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100"
|
|
1198
1198
|
})))), h("slot", {
|
|
1199
|
-
key: '
|
|
1199
|
+
key: '7ba569eafe18d902e78978840520d708b665a91b'
|
|
1200
1200
|
}), this.menuEnabled && h("div", {
|
|
1201
|
-
key: '
|
|
1201
|
+
key: '54c21f2e71a44049c56e4b31ba241996a1e658c3',
|
|
1202
1202
|
class: "md:hidden flex overflow-hidden px-16"
|
|
1203
1203
|
}, h("eds-button", {
|
|
1204
|
-
key: '
|
|
1204
|
+
key: 'e0bcc14abcad7151cacf19a4c50f238e39538754',
|
|
1205
1205
|
"aria-label": "Menu",
|
|
1206
1206
|
intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse',
|
|
1207
1207
|
icon: "menu",
|
|
@@ -1522,8 +1522,7 @@ const EdsInputField = class {
|
|
|
1522
1522
|
checked: this.checked
|
|
1523
1523
|
};
|
|
1524
1524
|
return h("div", {
|
|
1525
|
-
key: '
|
|
1526
|
-
class: "space-y-8"
|
|
1525
|
+
key: '6f048dc1418d0738fc097d3c48148ccfdf70fbdc'
|
|
1527
1526
|
}, this.type === 'checkbox' || this.type === 'radio' ? this.parsedOptions.length > 0 ? h("fieldset", {
|
|
1528
1527
|
class: "space-y-4 mt-8"
|
|
1529
1528
|
}, h("div", {
|
|
@@ -1593,21 +1592,26 @@ const EdsInputField = class {
|
|
|
1593
1592
|
step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value,
|
|
1594
1593
|
value: numberValue
|
|
1595
1594
|
}));
|
|
1596
|
-
})() : h("eds-input", Object.assign({}, inputOpts))), h("
|
|
1597
|
-
key: '
|
|
1595
|
+
})() : h("eds-input", Object.assign({}, inputOpts))), h("div", {
|
|
1596
|
+
key: '27fb201362b478009fdc68a285395bfc24e84d45',
|
|
1597
|
+
class: "mt-4"
|
|
1598
|
+
}, h("eds-input-footer", {
|
|
1599
|
+
key: 'cd3d5742879b13ab62f9ba989971290b527be3ca',
|
|
1598
1600
|
id: `${this.name}-footer`,
|
|
1599
1601
|
name: this.name,
|
|
1600
1602
|
message: this.message,
|
|
1601
1603
|
"error-message": this.errorMessage,
|
|
1602
1604
|
error: this.error,
|
|
1603
1605
|
link: this.link
|
|
1604
|
-
}));
|
|
1606
|
+
})));
|
|
1605
1607
|
}
|
|
1606
1608
|
get hostEl() {
|
|
1607
1609
|
return getElement(this);
|
|
1608
1610
|
}
|
|
1609
1611
|
};
|
|
1610
1612
|
EdsInputField.style = EdsInputFieldStyle0;
|
|
1613
|
+
const edsInputFooterCss = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.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)}.ml-4{margin-left:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.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)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}";
|
|
1614
|
+
const EdsInputFooterStyle0 = edsInputFooterCss;
|
|
1611
1615
|
const EdsInputFooter = class {
|
|
1612
1616
|
constructor(hostRef) {
|
|
1613
1617
|
registerInstance(this, hostRef);
|
|
@@ -1619,31 +1623,33 @@ const EdsInputFooter = class {
|
|
|
1619
1623
|
}
|
|
1620
1624
|
render() {
|
|
1621
1625
|
return h("div", {
|
|
1622
|
-
key: '
|
|
1623
|
-
class: "space-y-4 mt-4"
|
|
1626
|
+
key: 'a9f24f8726c7d5bcc3adfcb1d93a6076b0e672d8'
|
|
1624
1627
|
}, this.error && this.errorMessage && h("div", {
|
|
1625
|
-
key: '
|
|
1628
|
+
key: '5ed4b0881215887ed5532b4f6619cfe22f896773',
|
|
1626
1629
|
id: `error_${this.name}`,
|
|
1627
1630
|
class: "text-error flex items-center"
|
|
1628
1631
|
}, h("eds-icon-wrapper", {
|
|
1629
|
-
key: '
|
|
1632
|
+
key: '978b51b85d34c05f5f86ffa228404514e7572145',
|
|
1630
1633
|
icon: "warning"
|
|
1631
1634
|
}), h("p", {
|
|
1632
|
-
key: '
|
|
1635
|
+
key: '10c97eea1f6a835ad6c85618578fd4fa58a7d5f5',
|
|
1633
1636
|
class: "f-ui-04 ml-4",
|
|
1634
1637
|
innerHTML: this.errorMessage
|
|
1635
1638
|
})), this.message && h("p", {
|
|
1636
|
-
key: '
|
|
1639
|
+
key: '61db4e71da9136a1c2ede4bd30edb6c8f61e05d2',
|
|
1637
1640
|
id: `desc_${this.name}`,
|
|
1638
1641
|
class: "f-ui-05 text-lighter",
|
|
1639
1642
|
innerHTML: this.message
|
|
1640
1643
|
}), this.link && h("a", {
|
|
1641
|
-
key: '
|
|
1644
|
+
key: 'f44a7c6c17be59a6e6361a1a10c842f9c99f4b47',
|
|
1642
1645
|
href: this.link.url,
|
|
1643
1646
|
class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4"
|
|
1644
1647
|
}, this.link.label));
|
|
1645
1648
|
}
|
|
1646
1649
|
};
|
|
1650
|
+
EdsInputFooter.style = EdsInputFooterStyle0;
|
|
1651
|
+
const edsInputLabelCss = ".input-label{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)}.input-label b,.input-label strong{font-weight:var(--f-ui-04---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}";
|
|
1652
|
+
const EdsInputLabelStyle0 = edsInputLabelCss;
|
|
1647
1653
|
const EdsInputLabel = class {
|
|
1648
1654
|
constructor(hostRef) {
|
|
1649
1655
|
registerInstance(this, hostRef);
|
|
@@ -1654,20 +1660,21 @@ const EdsInputLabel = class {
|
|
|
1654
1660
|
}
|
|
1655
1661
|
render() {
|
|
1656
1662
|
return h("label", {
|
|
1657
|
-
key: '
|
|
1663
|
+
key: '4007d3a533b1d4f199cd143fe0c1d3851a4906b1',
|
|
1658
1664
|
htmlFor: this.name,
|
|
1659
1665
|
class: `input-label ${this.disabled ? 'text-lighter' : ''}`
|
|
1660
1666
|
}, this.label, this.required && h("span", {
|
|
1661
|
-
key: '
|
|
1667
|
+
key: '319f85ff60d45e24ba8e21ace46b44534f9e1cbf'
|
|
1662
1668
|
}, h("span", {
|
|
1663
|
-
key: '
|
|
1669
|
+
key: '329b9936137fafa7aae9a442296eb44baaf1ab85',
|
|
1664
1670
|
"aria-hidden": "true"
|
|
1665
1671
|
}, "*"), h("span", {
|
|
1666
|
-
key: '
|
|
1672
|
+
key: 'acac48485fa35c9245bb8795cab0a2b40eb1cee2',
|
|
1667
1673
|
class: "sr-only"
|
|
1668
1674
|
}, "required")));
|
|
1669
1675
|
}
|
|
1670
1676
|
};
|
|
1677
|
+
EdsInputLabel.style = EdsInputLabelStyle0;
|
|
1671
1678
|
const EdsInputRange = class {
|
|
1672
1679
|
constructor(hostRef) {
|
|
1673
1680
|
registerInstance(this, hostRef);
|
|
@@ -2078,7 +2085,7 @@ const EdsLink = class {
|
|
|
2078
2085
|
const labelClasses = this.hideLabelOnSmallScreen ? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
2079
2086
|
: '';
|
|
2080
2087
|
return h(ComponentType, {
|
|
2081
|
-
key: '
|
|
2088
|
+
key: 'bdb8851264265b71dab033b807389ccd26519696',
|
|
2082
2089
|
class: `${classes || ''} ${this.extraClass || ''}`,
|
|
2083
2090
|
href: !this.disabled ? this.url : undefined,
|
|
2084
2091
|
target: this.external && !this.disabled ? '_blank' : undefined,
|
|
@@ -2089,10 +2096,10 @@ const EdsLink = class {
|
|
|
2089
2096
|
download: this.download ? '' : undefined,
|
|
2090
2097
|
onClick: event => this.handleClick(event)
|
|
2091
2098
|
}, h("span", {
|
|
2092
|
-
key: '
|
|
2099
|
+
key: 'fdf681ed48873939fb147c51fce59c7ff8ae772e',
|
|
2093
2100
|
class: "z-1 relative inline-flex items-center justify-center"
|
|
2094
2101
|
}, this.renderLeftIcon(), h("span", {
|
|
2095
|
-
key: '
|
|
2102
|
+
key: 'aa2ac0a8c0d12197a4c2c3263b1550f83a1df72f',
|
|
2096
2103
|
class: labelClasses
|
|
2097
2104
|
}, this.label), this.renderRightIcon()));
|
|
2098
2105
|
}
|
|
@@ -2163,13 +2170,13 @@ const EdsLogo = class {
|
|
|
2163
2170
|
render() {
|
|
2164
2171
|
const logoContent = this.getLogo();
|
|
2165
2172
|
return h("a", {
|
|
2166
|
-
key: '
|
|
2173
|
+
key: 'ff5c1ee09b325dca504a73b2d9eb4910fb67835d',
|
|
2167
2174
|
href: this.href,
|
|
2168
2175
|
onClick: () => this.handleClick(),
|
|
2169
2176
|
class: "eds-logo-wrapper",
|
|
2170
2177
|
"aria-label": this.label
|
|
2171
2178
|
}, h("div", {
|
|
2172
|
-
key: '
|
|
2179
|
+
key: '10ef011b7e3725231cf12771be38b209661709ed',
|
|
2173
2180
|
innerHTML: logoContent
|
|
2174
2181
|
}));
|
|
2175
2182
|
}
|
|
@@ -2279,40 +2286,40 @@ const EdsModal = class {
|
|
|
2279
2286
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
2280
2287
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
2281
2288
|
return h("div", {
|
|
2282
|
-
key: '
|
|
2289
|
+
key: '064613bfc4ada7e980d47b7ccb37b21e313731ca',
|
|
2283
2290
|
id: "eds-modal",
|
|
2284
2291
|
class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`,
|
|
2285
2292
|
role: "dialog",
|
|
2286
2293
|
"aria-modal": "true",
|
|
2287
2294
|
"aria-labelledby": titleId
|
|
2288
2295
|
}, this.isOpen && h("div", {
|
|
2289
|
-
key: '
|
|
2296
|
+
key: '6430a5e2734f948e40ccdc7bfcbd6e934070ff25',
|
|
2290
2297
|
class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
2291
2298
|
,
|
|
2292
2299
|
|
|
2293
2300
|
onClick: () => this.close()
|
|
2294
2301
|
}), h("div", {
|
|
2295
|
-
key: '
|
|
2302
|
+
key: '468ce4425ce69c7612d9dbca6b812d7b0c2f869a',
|
|
2296
2303
|
class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center`
|
|
2297
2304
|
}, h("div", {
|
|
2298
|
-
key: '
|
|
2305
|
+
key: 'e694805e5c39df16801fd2f13eaf2f113fbe2c5e',
|
|
2299
2306
|
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'}`
|
|
2300
2307
|
}, h("span", {
|
|
2301
|
-
key: '
|
|
2308
|
+
key: 'f4c1204f3971618138bd8385b15face3acd1ea71',
|
|
2302
2309
|
id: titleId,
|
|
2303
2310
|
class: `f-heading-04 ${this.getTruncateClass()}`
|
|
2304
2311
|
}, this.heading), h("eds-button", {
|
|
2305
|
-
key: '
|
|
2312
|
+
key: '813ba1a0c5d357187fc73964bb66230a15593ddc',
|
|
2306
2313
|
intent: "tertiary",
|
|
2307
2314
|
icon: "close",
|
|
2308
2315
|
"aria-label": "Close modal",
|
|
2309
2316
|
onClick: () => this.close(),
|
|
2310
2317
|
"extra-class": "ml-8 text-default"
|
|
2311
2318
|
})), h("div", {
|
|
2312
|
-
key: '
|
|
2319
|
+
key: '9ae10bc0e79c4553c2a5bdd2dbacd7a97d99f50c',
|
|
2313
2320
|
class: "pt-8 px-20 py-20"
|
|
2314
2321
|
}, h("slot", {
|
|
2315
|
-
key: '
|
|
2322
|
+
key: 'f460df4582e298289ab7abcd5417b7ef8d8ac827'
|
|
2316
2323
|
}))));
|
|
2317
2324
|
}
|
|
2318
2325
|
get el() {
|
|
@@ -2487,12 +2494,12 @@ const EdsPagination = class {
|
|
|
2487
2494
|
}
|
|
2488
2495
|
render() {
|
|
2489
2496
|
return h("div", {
|
|
2490
|
-
key: '
|
|
2497
|
+
key: 'a92aad013df27ce619c50ee8ed273c4799d9b55b'
|
|
2491
2498
|
}, this.total > 0 && this.mode === 'default' && h("p", {
|
|
2492
|
-
key: '
|
|
2499
|
+
key: '33b6a436765a10356cf201c19b837f668a74a035',
|
|
2493
2500
|
class: "f-ui-03 text-lightest mb-28 w-full text-center"
|
|
2494
2501
|
}, h("span", {
|
|
2495
|
-
key: '
|
|
2502
|
+
key: '0c45ab429986ba7537abbdaafddd4b960b92f41a',
|
|
2496
2503
|
class: "sr-only"
|
|
2497
2504
|
}, "Results:"), this.pageResults()), this.mode === 'navigator' || this.lastPage && this.lastPage > 1 ? h("nav", {
|
|
2498
2505
|
"aria-label": "Pagination"
|
|
@@ -2621,12 +2628,12 @@ const EdsSocialNetworks = class {
|
|
|
2621
2628
|
*/
|
|
2622
2629
|
render() {
|
|
2623
2630
|
return h("div", {
|
|
2624
|
-
key: '
|
|
2631
|
+
key: '6d52d64b09170108d1b61157d0ab126cefa794be'
|
|
2625
2632
|
}, h("p", {
|
|
2626
|
-
key: '
|
|
2633
|
+
key: '97e929fdaff0bcd4360140428007da0294567ea9',
|
|
2627
2634
|
class: "f-ui-02"
|
|
2628
2635
|
}, this.heading), h("ul", {
|
|
2629
|
-
key: '
|
|
2636
|
+
key: '3264e9e0ac366c4a502b69f6aa8545935b8536e7',
|
|
2630
2637
|
class: "mt-12 flex gap-4"
|
|
2631
2638
|
}, this.socialNetworks.map((network, index) => h("li", {
|
|
2632
2639
|
key: index
|
|
@@ -3340,13 +3347,13 @@ const EdsTabs = class {
|
|
|
3340
3347
|
}
|
|
3341
3348
|
render() {
|
|
3342
3349
|
return h("div", {
|
|
3343
|
-
key: '
|
|
3350
|
+
key: 'dd41d2d7ccbe03e08d3c20a2e9a370e69dfd1459',
|
|
3344
3351
|
id: `${this.identifier}`
|
|
3345
3352
|
}, h("div", {
|
|
3346
|
-
key: '
|
|
3353
|
+
key: '14c95711c8e7df2b7f6f0557ce233bc1a68ad31b',
|
|
3347
3354
|
class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28"
|
|
3348
3355
|
}, h("nav", {
|
|
3349
|
-
key: '
|
|
3356
|
+
key: '3ed1c5cc5d0aa1e7cb4bebe337885c7e5687aa68',
|
|
3350
3357
|
ref: el => this.tabContainer = el,
|
|
3351
3358
|
class: "inline-flex",
|
|
3352
3359
|
"aria-label": this.navAriaLabel
|
|
@@ -3359,7 +3366,7 @@ const EdsTabs = class {
|
|
|
3359
3366
|
onClick: () => this.handleTabClick(index, tab.label)
|
|
3360
3367
|
}), tab.label || tab.ariaLabel);
|
|
3361
3368
|
}))), h("div", {
|
|
3362
|
-
key: '
|
|
3369
|
+
key: '63399c53b2e5d642676d7f884bdecec0f8c515de',
|
|
3363
3370
|
class: "tab-panels"
|
|
3364
3371
|
}, this.parsedTabs.map((_, index) => h("div", {
|
|
3365
3372
|
hidden: index !== this.activeIndex
|
|
@@ -3420,7 +3427,7 @@ const EdsTag = class {
|
|
|
3420
3427
|
size: this.size
|
|
3421
3428
|
});
|
|
3422
3429
|
return h("span", {
|
|
3423
|
-
key: '
|
|
3430
|
+
key: 'a0d8788511615d0099fd764501449476126d343f',
|
|
3424
3431
|
class: classes
|
|
3425
3432
|
}, this.label);
|
|
3426
3433
|
}
|
|
@@ -3457,13 +3464,13 @@ const EdsUser = class {
|
|
|
3457
3464
|
render() {
|
|
3458
3465
|
const user = this.parsedUser;
|
|
3459
3466
|
return h("div", {
|
|
3460
|
-
key: '
|
|
3467
|
+
key: 'b30b0a30a94c6bd9046b234cd793da80c1b16de8',
|
|
3461
3468
|
class: "block"
|
|
3462
3469
|
}, h("div", {
|
|
3463
|
-
key: '
|
|
3470
|
+
key: '9ecea595c3d900aeda7c75a6aa5ae84999d775e1',
|
|
3464
3471
|
class: "flex items-center"
|
|
3465
3472
|
}, h("eds-dropdown", {
|
|
3466
|
-
key: '
|
|
3473
|
+
key: '6a4c4751aaeaa6426ee4c89305b5c419ee912ced',
|
|
3467
3474
|
label: `Hi, ${user.preferred_username}`,
|
|
3468
3475
|
intent: "tertiary",
|
|
3469
3476
|
"aria-label": "User Menu",
|
|
@@ -3472,36 +3479,36 @@ const EdsUser = class {
|
|
|
3472
3479
|
icon: "chevron-down",
|
|
3473
3480
|
class: "text-default"
|
|
3474
3481
|
}, h("div", {
|
|
3475
|
-
key: '
|
|
3482
|
+
key: '8e695af42fd229ca71e5d8f6fe367ed5ecc4184b',
|
|
3476
3483
|
class: "min-w-[280px] p-8"
|
|
3477
3484
|
}, h("div", {
|
|
3478
|
-
key: '
|
|
3485
|
+
key: 'd28e78ace074d7513a002297558219afae079646',
|
|
3479
3486
|
class: "flex gap-x-16"
|
|
3480
3487
|
}, h("eds-avatar", {
|
|
3481
|
-
key: '
|
|
3488
|
+
key: 'e9895e380ece01d116c14dbf0424061b1a039261',
|
|
3482
3489
|
"first-name": user.given_name,
|
|
3483
3490
|
"last-name": user.family_name,
|
|
3484
3491
|
initials: this.initials,
|
|
3485
3492
|
color: "grey"
|
|
3486
3493
|
}), h("div", {
|
|
3487
|
-
key: '
|
|
3494
|
+
key: '1597248135606e3300546b3278114cd8cc36d4b5',
|
|
3488
3495
|
class: "max-w-full"
|
|
3489
3496
|
}, user.name && h("p", {
|
|
3490
|
-
key: '
|
|
3497
|
+
key: 'fa04e93e50f3cf6d1e3d49dafc02d0dd5233a9f4',
|
|
3491
3498
|
class: "f-ui-01 text-default w-full text-ellipsis"
|
|
3492
3499
|
}, user.name), user.preferred_username && h("p", {
|
|
3493
|
-
key: '
|
|
3500
|
+
key: '1203bf8078cb1c2a4d31effbe96e7aefd9222eb2',
|
|
3494
3501
|
class: "f-ui-03-light text-light mt-4"
|
|
3495
3502
|
}, user.preferred_username), user.email && h("p", {
|
|
3496
|
-
key: '
|
|
3503
|
+
key: '6fcd932e87eb6e086daf61d2d8d16e6f8f27f12a',
|
|
3497
3504
|
class: "f-ui-03-light text-light mt-4"
|
|
3498
3505
|
}, user.email))), h("eds-block-break", {
|
|
3499
|
-
key: '
|
|
3506
|
+
key: '5811252802eecc3f5c001705c8e8fb94fb33e1bb'
|
|
3500
3507
|
}), h("div", {
|
|
3501
|
-
key: '
|
|
3508
|
+
key: 'd28913e74e9924f51e9b1e92a0f42691c733c438',
|
|
3502
3509
|
class: "text-default flex w-full flex-col gap-y-8"
|
|
3503
3510
|
}, h("slot", {
|
|
3504
|
-
key: '
|
|
3511
|
+
key: 'bb003f9bff1042b2778a7a924dc87c7baf1a9fb7'
|
|
3505
3512
|
}))))));
|
|
3506
3513
|
}
|
|
3507
3514
|
get hostEl() {
|
|
@@ -29,9 +29,9 @@ const EdsCookiesPreference = class {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
return h("div", {
|
|
32
|
-
key: '
|
|
32
|
+
key: '4563e11542b6cab4f509ec25646a0e1f8380af6c'
|
|
33
33
|
}, h("eds-link", {
|
|
34
|
-
key: '
|
|
34
|
+
key: '24185ecd7818920490c1ca5c742e0f1a884f27da',
|
|
35
35
|
size: "small",
|
|
36
36
|
intent: this.intent,
|
|
37
37
|
label: this.buttonText,
|
|
@@ -61,20 +61,20 @@ const EdsFeedback = class {
|
|
|
61
61
|
const levelNum = this.headingLevel.replace('h', '');
|
|
62
62
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
63
63
|
return h("div", {
|
|
64
|
-
key: '
|
|
64
|
+
key: 'b51bb78eea70babd1b1ca98ed5e657184d8e459f',
|
|
65
65
|
class: "grid inline"
|
|
66
66
|
}, h(HeadingTag, {
|
|
67
|
-
key: '
|
|
67
|
+
key: 'eb84cce3a03aec99d0980ecd3c4aa4338f8d14e2',
|
|
68
68
|
class: headingClass
|
|
69
69
|
}, this.label), h("p", {
|
|
70
|
-
key: '
|
|
70
|
+
key: '5923739b4a7e73dc1c83710fe1535d51d6289b02',
|
|
71
71
|
class: "f-body-01 text-light"
|
|
72
72
|
}, this.description), h("eds-rating", {
|
|
73
|
-
key: '
|
|
73
|
+
key: '08d4b80838bc758cfdcf6f909f4bb41ae00d4c40',
|
|
74
74
|
"rating-type": this.type,
|
|
75
75
|
"rating-count": this.count
|
|
76
76
|
}), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && h("span", {
|
|
77
|
-
key: '
|
|
77
|
+
key: '849014d7a3c2ebf78b1de434d7ad92549c0ae2de',
|
|
78
78
|
class: "f-ui-04 text-lighter"
|
|
79
79
|
}, this.parsedMappings[this.selectedRating - 1]));
|
|
80
80
|
}
|
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: 'acfa57c701b5c683b3ff48ac2ff6a7c782977cd4',
|
|
77
77
|
class: this.articleClasses()
|
|
78
78
|
}, h("div", {
|
|
79
|
-
key: '
|
|
79
|
+
key: 'd62b6f7f67e41a6c8f0948c9d94e991d83dbe273',
|
|
80
80
|
class: "effect-height flex items-center justify-between py-8 px-12"
|
|
81
81
|
}, h("span", {
|
|
82
|
-
key: '
|
|
82
|
+
key: '40618b0353599888578e08a5422da754f97455d0',
|
|
83
83
|
class: "f-ui-02"
|
|
84
84
|
}, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? 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: '96656482b2732aa766d1bcb45f28189991adb493',
|
|
94
94
|
class: "border-softer"
|
|
95
95
|
}, this.iframeError ? h("div", {
|
|
96
96
|
class: "container ml-8 mr-8 mt-16"
|
|
@@ -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: '4d1905ce42ee1b539519c8bdbcc9cf8d8aad9f03',
|
|
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: '7feec42063d2111f68e9957e1b5ca5550df284d0',
|
|
37
37
|
class: fillClasses,
|
|
38
38
|
style: {
|
|
39
39
|
width: `${progressValue}%`
|
|
40
40
|
}
|
|
41
41
|
}), h("div", {
|
|
42
|
-
key: '
|
|
42
|
+
key: '13ab32e048f0b9e68e8bef96775b5204b653ed95',
|
|
43
43
|
class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10"
|
|
44
44
|
}, h("span", {
|
|
45
|
-
key: '
|
|
45
|
+
key: 'e46641bd65faf5ae4fb3a3c0542d312c9e9f1565',
|
|
46
46
|
class: "text-default f-body-02"
|
|
47
47
|
}, progressValue, "%")));
|
|
48
48
|
}
|
package/eds-rating.entry.esm.js
CHANGED
|
@@ -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: '0593fd387e636b25fd817a985db481b654ef169b'
|
|
19
19
|
}, h("eds-section-heading", {
|
|
20
|
-
key: '
|
|
20
|
+
key: '98805f9d6bdeb1a10f351d6d8277e7fb877b0e63',
|
|
21
21
|
headingLevel: this.headingLevel,
|
|
22
22
|
sectionTitle: this.sectionTitle
|
|
23
23
|
}), h("slot", {
|
|
24
|
-
key: '
|
|
24
|
+
key: '6432856b8bf5f311a42406f4c6126982b2e05cf1'
|
|
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: '4fa6ecdd941eb943faa7311e94d9b67b63273414',
|
|
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: '945d7d615601806d670ab666971bc6b07e1f442c',
|
|
64
64
|
class: this.getHeadingClass()
|
|
65
65
|
}, this.sectionTitle));
|
|
66
66
|
}
|
package/eds-spinner.entry.esm.js
CHANGED
|
@@ -50,13 +50,13 @@ const EdsSpinner = class {
|
|
|
50
50
|
justifyContent: 'center'
|
|
51
51
|
};
|
|
52
52
|
return h(Host, {
|
|
53
|
-
key: '
|
|
53
|
+
key: '7f8e9654757478a1b5298d133739d955dbf9a15f'
|
|
54
54
|
}, h("div", {
|
|
55
|
-
key: '
|
|
55
|
+
key: '245e9e61a19c1cdff34ab8b9f70b7e69f1a229f7',
|
|
56
56
|
class: "spinner-overlay",
|
|
57
57
|
style: overlayStyle
|
|
58
58
|
}, h("span", {
|
|
59
|
-
key: '
|
|
59
|
+
key: 'e8befeaef6af66d45e3c3b20042a3f626754cfc5',
|
|
60
60
|
class: "spinner",
|
|
61
61
|
style: spinnerStyle
|
|
62
62
|
})));
|
package/eds-switch.entry.esm.js
CHANGED
|
@@ -32,13 +32,13 @@ const EdsSwitch = class {
|
|
|
32
32
|
// Compute an accessible name based on state.
|
|
33
33
|
const accessibleLabel = this.labelOn || this.labelOff ? this.checked ? this.labelOn : this.labelOff : 'Toggle switch';
|
|
34
34
|
return h("div", {
|
|
35
|
-
key: '
|
|
35
|
+
key: 'f2c3cd27a317b64ac05b5b2841f87827ff9f18fc',
|
|
36
36
|
class: "switch-container"
|
|
37
37
|
}, this.labelOff && h("span", {
|
|
38
|
-
key: '
|
|
38
|
+
key: '08e47e239c5a6de0440b731589fd5f365919df24',
|
|
39
39
|
class: "switch-label switch-label--off mr-8"
|
|
40
40
|
}, this.labelOff), h("button", {
|
|
41
|
-
key: '
|
|
41
|
+
key: 'd731fa56f93b67daaeaac22c1080a7171360525c',
|
|
42
42
|
type: "button",
|
|
43
43
|
role: "switch",
|
|
44
44
|
"aria-checked": this.checked ? 'true' : 'false',
|
|
@@ -52,10 +52,10 @@ const EdsSwitch = class {
|
|
|
52
52
|
onClick: this.toggleSwitch,
|
|
53
53
|
disabled: this.disabled
|
|
54
54
|
}, h("span", {
|
|
55
|
-
key: '
|
|
55
|
+
key: '8bbe2bd4c2050dbda4723615b4eb0fa2936d35d8',
|
|
56
56
|
class: "switch-handle"
|
|
57
57
|
})), this.labelOn && h("span", {
|
|
58
|
-
key: '
|
|
58
|
+
key: '73991400f5a8e0e6c6d1c09196639add3e98c71f',
|
|
59
59
|
class: "switch-label switch-label--on ml-8"
|
|
60
60
|
}, this.labelOn));
|
|
61
61
|
}
|