@ds-autonomie/web-components 1.5.0 → 1.7.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/CHANGELOG.md +28 -0
- package/dist/chunks/chunk.2PA4QKLT.js +43 -0
- package/dist/chunks/{chunk.BNJQHJKO.js → chunk.4ABNA6LY.js} +1 -1
- package/dist/chunks/{chunk.E7NM6WTF.js → chunk.5LSEWF5M.js} +1 -1
- package/dist/chunks/{chunk.AO3M5GSN.js → chunk.5MXBL3PY.js} +1 -1
- package/dist/chunks/{chunk.BGNHUCCD.js → chunk.5T654YBW.js} +1 -1
- package/dist/chunks/chunk.672XI6OQ.js +108 -0
- package/dist/chunks/{chunk.7WQVFO44.js → chunk.6HEEXQ6Q.js} +11 -5
- package/dist/chunks/{chunk.D2QVNPSR.js → chunk.7FSWPNRP.js} +4 -4
- package/dist/chunks/{chunk.DXP3BNWO.js → chunk.7PKGNYXP.js} +1 -1
- package/dist/chunks/chunk.7RMRIPUN.js +87 -0
- package/dist/chunks/{chunk.IH3JU5S6.js → chunk.ADVUEL4K.js} +1 -1
- package/dist/chunks/{chunk.INCMVGXU.js → chunk.AJ4QV4YB.js} +1 -1
- package/dist/chunks/{chunk.OIS5HMFT.js → chunk.CHM74JXS.js} +21 -2
- package/dist/chunks/chunk.CWMR6PEK.js +227 -0
- package/dist/chunks/chunk.D3IQERM5.js +92 -0
- package/dist/chunks/{chunk.OUVQZNJQ.js → chunk.D5MIBH2P.js} +6 -3
- package/dist/chunks/chunk.DWASAPA2.js +29 -0
- package/dist/chunks/chunk.DY7O23OC.js +49 -0
- package/dist/chunks/{chunk.XV2S7PIY.js → chunk.EBCLOXNV.js} +1 -1
- package/dist/chunks/chunk.EVHNFCQF.js +121 -0
- package/dist/chunks/{chunk.YZHYOXYA.js → chunk.FKKOUYXE.js} +24 -69
- package/dist/chunks/{chunk.LC54322H.js → chunk.FYTGBKGY.js} +8 -4
- package/dist/chunks/{chunk.P7QMP76I.js → chunk.GENB7E6Z.js} +1 -1
- package/dist/chunks/{chunk.SCNCYZ35.js → chunk.GS7HSU6O.js} +1 -1
- package/dist/chunks/{chunk.HPK6C7NJ.js → chunk.GXQ7CTJX.js} +7 -2
- package/dist/chunks/{chunk.HCQNPYQZ.js → chunk.IAKOROM4.js} +1 -1
- package/dist/chunks/chunk.JOIYVWUG.js +32 -0
- package/dist/chunks/{chunk.BHLKMLHB.js → chunk.KG6MIENB.js} +33 -23
- package/dist/chunks/chunk.KUXAIXES.js +69 -0
- package/dist/chunks/{chunk.CWD6PMVD.js → chunk.L5HKY6WB.js} +4 -4
- package/dist/chunks/{chunk.ZU3MRZA4.js → chunk.MCMUWBT5.js} +1 -1
- package/dist/chunks/{chunk.4XH7INOL.js → chunk.NIYQMA5Y.js} +1 -1
- package/dist/chunks/{chunk.RNLKSRKQ.js → chunk.NNL36YA6.js} +17 -7
- package/dist/chunks/chunk.NNNXN334.js +32 -0
- package/dist/chunks/{chunk.7J7CS3BK.js → chunk.O2PIWM25.js} +1 -1
- package/dist/chunks/chunk.O3CX2C5Y.js +62 -0
- package/dist/chunks/{chunk.RVUFDCSS.js → chunk.PCJUYERL.js} +1 -1
- package/dist/chunks/{chunk.ZI2RZQPZ.js → chunk.PQD7VKIK.js} +4 -4
- package/dist/chunks/chunk.Q62BRBYD.js +68 -0
- package/dist/chunks/{chunk.OVCI74KS.js → chunk.QBPZ6I5Q.js} +7 -7
- package/dist/chunks/chunk.R3Y3IVO2.js +56 -0
- package/dist/chunks/chunk.R5PR2MDK.js +256 -0
- package/dist/chunks/{chunk.I33L3NO6.js → chunk.RB6TMBWW.js} +5 -0
- package/dist/chunks/{chunk.FSXPFNBX.js → chunk.RBJL56T2.js} +1 -1
- package/dist/chunks/{chunk.PCT24AYO.js → chunk.RC2LGXYT.js} +1 -1
- package/dist/chunks/chunk.RTNJV3ZL.js +52 -0
- package/dist/chunks/{chunk.5QKVQDMN.js → chunk.RXBDBWWT.js} +12 -1
- package/dist/chunks/{chunk.TUZ72ZDQ.js → chunk.SL4M42DS.js} +1 -1
- package/dist/chunks/{chunk.2FVPNPAG.js → chunk.SN4AILXB.js} +27 -6
- package/dist/chunks/chunk.SUFR3KIW.js +41 -0
- package/dist/chunks/{chunk.5DKPV25M.js → chunk.TFMB54OO.js} +1 -1
- package/dist/chunks/{chunk.3QQPH6YB.js → chunk.UENLYHK4.js} +8 -1
- package/dist/chunks/{chunk.N5ZXUW7H.js → chunk.UTAUMIPE.js} +1 -1
- package/dist/chunks/{chunk.VRU3XH45.js → chunk.V7MYOBN4.js} +5 -5
- package/dist/chunks/{chunk.5ND4OP7Q.js → chunk.WGN7OZLZ.js} +27 -1
- package/dist/chunks/chunk.WI3DWLXW.js +99 -0
- package/dist/chunks/chunk.X3FXKNLH.js +92 -0
- package/dist/chunks/{chunk.TMG7TJJO.js → chunk.X6ZGA6WS.js} +2 -2
- package/dist/chunks/{chunk.VFYKLPN2.js → chunk.XVDH3KHQ.js} +9 -0
- package/dist/chunks/{chunk.7BYKP4SA.js → chunk.Y5M7ZKHX.js} +16 -0
- package/dist/chunks/chunk.YTZRADK4.js +31 -0
- package/dist/chunks/{chunk.DX25IW4S.js → chunk.ZC74GTBL.js} +4 -0
- package/dist/chunks/{chunk.T4H7RAXS.js → chunk.ZCKAXIC4.js} +4 -4
- package/dist/chunks/chunk.ZOKFJBTV.js +150 -0
- package/dist/chunks/{chunk.WF42CVOM.js → chunk.ZQQCFKOX.js} +4 -4
- package/dist/components/accordion/accordion.d.ts +3 -1
- package/dist/components/accordion/accordion.js +7 -7
- package/dist/components/accordion/accordion.styles.js +1 -1
- package/dist/components/alert/alert.d.ts +9 -0
- package/dist/components/alert/alert.js +6 -6
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +7 -7
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/checkbox-button/checkbox-button.d.ts +3 -0
- package/dist/components/checkbox-button/checkbox-button.js +6 -6
- package/dist/components/checkbox-button/checkbox-button.styles.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/combobox/combobox.d.ts +8 -15
- package/dist/components/combobox/combobox.js +8 -9
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/download-card/download-card.d.ts +35 -0
- package/dist/components/download-card/download-card.js +19 -0
- package/dist/components/download-card/download-card.styles.d.ts +2 -0
- package/dist/components/download-card/download-card.styles.js +7 -0
- package/dist/components/download-link/download-link.d.ts +36 -0
- package/dist/components/download-link/download-link.js +19 -0
- package/dist/components/download-link/download-link.styles.d.ts +2 -0
- package/dist/components/download-link/download-link.styles.js +7 -0
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.d.ts +23 -0
- package/dist/components/error-message-panel/error-message-panel.js +11 -0
- package/dist/components/error-message-panel/error-message-panel.styles.d.ts +2 -0
- package/dist/components/error-message-panel/error-message-panel.styles.js +7 -0
- package/dist/components/file-upload/file-upload.d.ts +65 -0
- package/dist/components/file-upload/file-upload.js +16 -0
- package/dist/components/file-upload/file-upload.styles.d.ts +2 -0
- package/dist/components/file-upload/file-upload.styles.js +9 -0
- package/dist/components/file-upload-item/file-upload-item.d.ts +33 -0
- package/dist/components/file-upload-item/file-upload-item.js +12 -0
- package/dist/components/file-upload-item/file-upload-item.styles.d.ts +2 -0
- package/dist/components/file-upload-item/file-upload-item.styles.js +8 -0
- package/dist/components/footer/footer.assets.d.ts +1 -0
- package/dist/components/footer/footer.assets.js +7 -0
- package/dist/components/footer/footer.d.ts +13 -0
- package/dist/components/footer/footer.js +14 -0
- package/dist/components/footer/footer.styles.d.ts +2 -0
- package/dist/components/footer/footer.styles.js +8 -0
- package/dist/components/footer-content-block/footer-content-block.d.ts +20 -0
- package/dist/components/footer-content-block/footer-content-block.js +12 -0
- package/dist/components/footer-content-block/footer-content-block.styles.d.ts +2 -0
- package/dist/components/footer-content-block/footer-content-block.styles.js +8 -0
- package/dist/components/footer-inline-divider/footer-inline-divider.d.ts +22 -0
- package/dist/components/footer-inline-divider/footer-inline-divider.js +12 -0
- package/dist/components/footer-inline-divider/footer-inline-divider.styles.d.ts +2 -0
- package/dist/components/footer-inline-divider/footer-inline-divider.styles.js +8 -0
- package/dist/components/footer-sitemap/footer-sitemap.d.ts +23 -0
- package/dist/components/footer-sitemap/footer-sitemap.js +11 -0
- package/dist/components/footer-sitemap/footer-sitemap.styles.d.ts +2 -0
- package/dist/components/footer-sitemap/footer-sitemap.styles.js +8 -0
- package/dist/components/footer-sitemap-item/footer-sitemap-item.d.ts +20 -0
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +12 -0
- package/dist/components/footer-sitemap-item/footer-sitemap-item.styles.d.ts +2 -0
- package/dist/components/footer-sitemap-item/footer-sitemap-item.styles.js +8 -0
- package/dist/components/format-bytes/format-bytes.js +2 -2
- package/dist/components/format-date/format-date.js +2 -2
- package/dist/components/format-number/format-number.js +2 -2
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/input/input.js +6 -6
- package/dist/components/input-mask/input-mask.js +3 -3
- package/dist/components/input-phone/input-phone.js +13 -13
- package/dist/components/menu-item/menu-item.js +4 -4
- package/dist/components/option/option.js +6 -6
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/radio/radio.d.ts +2 -0
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.d.ts +4 -2
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-button/radio-button.styles.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/select/select.js +7 -7
- package/dist/components/skip-link-item/skip-link-item.d.ts +5 -0
- package/dist/components/skip-link-item/skip-link-item.js +1 -1
- package/dist/components/skip-links/skip-links.d.ts +1 -0
- package/dist/components/skip-links/skip-links.js +2 -2
- package/dist/components/skip-links/skip-links.styles.js +1 -1
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +7 -7
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.js +7 -7
- package/dist/custom-elements.json +3484 -2147
- package/dist/design-system.d.ts +10 -0
- package/dist/design-system.js +155 -105
- package/dist/events/dsa-file-upload.d.ts +9 -0
- package/dist/events/dsa-file-upload.js +1 -0
- package/dist/events/events.d.ts +1 -0
- package/dist/themes/dsa-wc-theme.css +220 -19
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +231 -19
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +4 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.d.ts +1 -0
- package/dist/utilities/storybook.js +23 -0
- package/dist/vscode.html-custom-data.json +458 -204
- package/dist/web-types.json +1596 -891
- package/package.json +2 -2
- package/dist/chunks/chunk.HRBNFVC5.js +0 -16
- package/dist/utilities/debounce.d.ts +0 -1
- package/dist/utilities/debounce.js +0 -7
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.TUVJKY7S.js";
|
|
4
|
+
|
|
5
|
+
// src/components/footer/footer.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var footer_styles_default = css`
|
|
8
|
+
${component_styles_default}
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
display: block;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[part~='base'] {
|
|
15
|
+
background: var(--dsa-wc-footer-background);
|
|
16
|
+
padding: var(--dsa-wc-footer-padding-y) var(--dsa-wc-footer-padding-x);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Dividers */
|
|
20
|
+
dsa-divider {
|
|
21
|
+
--spacing-start: var(--dsa-wc-footer-divider-spacing);
|
|
22
|
+
--spacing-end: var(--dsa-wc-footer-divider-spacing);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.footer-top-divider {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.footer--has-top-section .footer-top-divider {
|
|
30
|
+
display: block;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.footer-center-divider {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.footer--has-center-section .footer-center-divider {
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[part~='footer-top'] {
|
|
42
|
+
display: grid;
|
|
43
|
+
grid-template-columns: repeat(2, 1fr);
|
|
44
|
+
gap: var(--dsa-wc-footer-top-spacing);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[part~='footer-top']::slotted(*) {
|
|
48
|
+
grid-column: span 2;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[part~='meta'] > p {
|
|
52
|
+
margin: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[part~='footer-bottom-container'] {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
gap: var(--dsa-wc-footer-bottom-spacing);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media only screen and (min-width: 720px) {
|
|
62
|
+
[part~='base'] {
|
|
63
|
+
padding: var(--dsa-wc-footer-medium-padding-y)
|
|
64
|
+
var(--dsa-wc-footer-medium-padding-x);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[part~='footer-top'] {
|
|
68
|
+
grid-template-columns: repeat(8, 1fr);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[part~='footer-bottom-container'] {
|
|
72
|
+
flex-direction: row;
|
|
73
|
+
justify-content: space-between;
|
|
74
|
+
align-items: center;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media only screen and (min-width: 1440px) {
|
|
79
|
+
[part~='base'] {
|
|
80
|
+
padding: var(--dsa-wc-footer-x-large-padding-y)
|
|
81
|
+
var(--dsa-wc-footer-x-large-padding-x);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[part~='footer-top'] {
|
|
85
|
+
grid-template-columns: repeat(12, 1fr);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
`;
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
footer_styles_default
|
|
92
|
+
};
|
|
@@ -240,7 +240,7 @@ var DSARadioGroup = class extends ShoelaceElement {
|
|
|
240
240
|
if (!target) {
|
|
241
241
|
return;
|
|
242
242
|
}
|
|
243
|
-
if (target.disabled) {
|
|
243
|
+
if (target.disabled || "readonly" in target && target.readonly) {
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
246
|
const radios = this.getAllRadios();
|
|
@@ -265,7 +265,9 @@ var DSARadioGroup = class extends ShoelaceElement {
|
|
|
265
265
|
)) {
|
|
266
266
|
return;
|
|
267
267
|
}
|
|
268
|
-
const radios = this.getAllRadios().filter(
|
|
268
|
+
const radios = this.getAllRadios().filter(
|
|
269
|
+
(radio) => !radio.disabled && !("readonly" in radio && radio.readonly)
|
|
270
|
+
);
|
|
269
271
|
const focusedCheckboxIndex = radios.findIndex((t) => t.matches(":focus"));
|
|
270
272
|
const incr = event.key === " " ? 0 : ["ArrowUp", "ArrowLeft"].includes(event.key) ? -1 : 1;
|
|
271
273
|
const oldValue = this.value;
|
|
@@ -365,12 +367,13 @@ var DSARadioGroup = class extends ShoelaceElement {
|
|
|
365
367
|
updateCheckedRadio() {
|
|
366
368
|
const radios = this.getAllRadios();
|
|
367
369
|
radios.forEach((radio, index) => {
|
|
370
|
+
var _a;
|
|
368
371
|
radio.checked = radio.value === this.value;
|
|
369
372
|
const shouldFocus = this.value === "" && index === 0;
|
|
370
373
|
if (this.hasRadioButtons) {
|
|
371
374
|
const radioButton = radio;
|
|
372
375
|
radioButton.button.tabIndex = shouldFocus || radio.checked ? 0 : -1;
|
|
373
|
-
|
|
376
|
+
radioButton.disabled = (_a = this.readonlyRadioButtonValue.get(this.value)) != null ? _a : radioButton.disabled;
|
|
374
377
|
if (shouldFocus) {
|
|
375
378
|
radioButton.button.focus();
|
|
376
379
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// src/components/footer/footer.assets.ts
|
|
2
|
+
import { html } from "lit";
|
|
3
|
+
var footerLogoSvg = html`
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="118" height="55" fill="none">
|
|
5
|
+
<g clip-path="url(#a)">
|
|
6
|
+
<path
|
|
7
|
+
fill="#5025AE"
|
|
8
|
+
d="m15.97 14.76.714-1.014c.64.426 1.31.65 1.86.65.485 0 .705-.163.705-.406v-.02c0-.335-.572-.447-1.222-.629-.825-.223-1.76-.578-1.76-1.633v-.02c0-1.106.968-1.725 2.157-1.725.748 0 1.562.234 2.2.629l-.638 1.064c-.583-.314-1.166-.507-1.596-.507-.43 0-.616.162-.616.376v.02c0 .305.56.447 1.2.65.825.253 1.782.618 1.782 1.613v.02c0 1.207-.98 1.755-2.256 1.755a4.36 4.36 0 0 1-2.53-.822Zm5.7-1.967v-.02c0-1.552 1.2-2.83 2.916-2.83 1.97 0 2.873 1.41 2.873 2.95 0 .123-.012.265-.023.406h-4.105c.166.7.694 1.065 1.442 1.065.561 0 .968-.162 1.43-.558l.958.78c-.551.63-1.343 1.015-2.41 1.015-1.771 0-3.082-1.146-3.082-2.81l.001.002Zm4.16-.456c-.098-.69-.54-1.157-1.243-1.157-.705 0-1.145.457-1.277 1.157h2.52Zm2.872-2.292h1.672v1.095c.341-.75.892-1.237 1.883-1.196v1.613h-.088c-1.112 0-1.794.618-1.794 1.917v2.008h-1.672v-5.436l-.001-.001Zm4.071 0h1.771l1.32 3.641 1.333-3.641h1.739l-2.323 5.477h-1.518l-2.322-5.477Zm7.165-1.969h1.76v1.37h-1.76v-1.37Zm.044 1.968h1.672v5.436h-1.672v-5.436Zm2.96 2.749v-.02c0-1.552 1.287-2.83 3.092-2.83 1.111 0 1.805.345 2.355.913l-1.022 1.014c-.375-.365-.749-.599-1.343-.599-.837 0-1.43.68-1.43 1.481v.021c0 .831.582 1.502 1.496 1.502.561 0 .947-.223 1.354-.579l.98.913c-.572.579-1.233.994-2.41.994-1.772 0-3.071-1.258-3.071-2.81h-.001Zm6.284 0v-.02c0-1.552 1.2-2.83 2.916-2.83 1.97 0 2.872 1.41 2.872 2.95 0 .123-.01.265-.022.406h-4.105c.166.7.693 1.065 1.442 1.065.56 0 .968-.162 1.43-.558l.958.78c-.551.63-1.343 1.015-2.41 1.015-1.772 0-3.082-1.146-3.082-2.81v.002Zm4.16-.456c-.099-.69-.54-1.157-1.244-1.157s-1.145.457-1.276 1.157h2.52Zm6.173-2.292h1.672v.781c.408-.508.969-.882 1.838-.882 1.376 0 2.686.994 2.686 2.81v.02c0 1.816-1.287 2.81-2.686 2.81-.892 0-1.441-.376-1.838-.812v2.333H59.56v-7.06Zm4.523 2.729v-.02c0-.903-.66-1.502-1.441-1.502s-1.43.599-1.43 1.502v.02c0 .903.649 1.502 1.43 1.502.78 0 1.441-.589 1.441-1.502Zm2.861.79v-3.52h1.673v3.034c0 .73.374 1.106 1.013 1.106.638 0 1.044-.376 1.044-1.106v-3.033h1.673v5.437h-1.672v-.771c-.386.456-.881.872-1.729.872-1.266 0-2.003-.771-2.003-2.019h.001Zm8.573 1.207v.71h-1.673V8.076h1.673v2.749c.407-.508.968-.882 1.838-.882 1.376 0 2.685.994 2.685 2.81v.02c0 1.816-1.287 2.81-2.685 2.81-.892 0-1.442-.376-1.838-.812Zm2.85-1.998v-.02c0-.903-.661-1.502-1.442-1.502-.78 0-1.43.599-1.43 1.501v.02c0 .904.65 1.502 1.43 1.502.78 0 1.442-.588 1.442-1.501Zm2.982-4.697h1.672v7.405h-1.672V8.076Zm3.279 0h1.76v1.37h-1.76v-1.37Zm.045 1.968h1.672v5.436h-1.672v-5.436Zm2.959 2.749v-.02c0-1.552 1.287-2.83 3.092-2.83 1.112 0 1.805.345 2.356.913l-1.024 1.014c-.374-.365-.749-.599-1.343-.599-.836 0-1.43.68-1.43 1.481v.021c0 .831.583 1.502 1.497 1.502.56 0 .946-.223 1.354-.579l.98.913c-.573.579-1.234.994-2.41.994-1.772 0-3.072-1.258-3.072-2.81ZM10.06 23.726v-.02c0-1.817 1.287-2.81 2.685-2.81.892 0 1.442.375 1.839.811V19.03h1.672v7.405h-1.672v-.78c-.408.506-.969.882-1.838.882-1.377 0-2.686-.994-2.686-2.81Zm4.545 0v-.02c0-.904-.65-1.502-1.43-1.502-.782 0-1.442.588-1.442 1.501v.02c0 .904.66 1.502 1.441 1.502s1.43-.598 1.43-1.501Zm2.86.02v-.02c0-1.552 1.2-2.83 2.917-2.83 1.97 0 2.872 1.41 2.872 2.95 0 .122-.011.265-.022.406h-4.105c.165.7.693 1.065 1.442 1.065.56 0 .968-.162 1.43-.558l.957.78c-.55.63-1.342 1.015-2.41 1.015-1.771 0-3.082-1.146-3.082-2.81l.002.002Zm4.16-.456c-.098-.69-.539-1.157-1.243-1.157-.704 0-1.145.457-1.277 1.157h2.52Zm6.252-4.26h1.672v7.404h-1.672V19.03Zm3.323.304h1.87v.052l-1.199 3.184h-.87l.198-3.236Zm2.718 5.538v-.02c0-1.186.98-1.734 2.377-1.734.594 0 1.023.091 1.441.223v-.091c0-.639-.428-.994-1.266-.994-.638 0-1.09.111-1.629.294l-.419-1.176c.65-.264 1.288-.436 2.29-.436.912 0 1.573.223 1.992.609.44.405.638 1.004.638 1.734v3.155h-1.618v-.59c-.407.416-.968.69-1.782.69-1.112 0-2.025-.588-2.025-1.663h.001Zm3.84-.355v-.273a2.784 2.784 0 0 0-1.067-.203c-.715 0-1.155.264-1.155.75v.021c0 .416.374.66.913.66.782 0 1.31-.396 1.31-.954Zm2.982 0v-3.52h1.673v3.034c0 .73.374 1.105 1.013 1.105.638 0 1.045-.375 1.045-1.105v-3.033h1.672v5.436h-1.672v-.77c-.386.456-.88.872-1.728.872-1.266 0-2.003-.771-2.003-2.019Zm7.176.376v-2.577h-.704v-1.318h.704v-1.39h1.673v1.39h1.387v1.318h-1.387v2.323c0 .355.165.527.54.527.307 0 .582-.07.825-.192v1.237c-.352.193-.76.314-1.321.314-1.024 0-1.717-.375-1.717-1.632Zm4.005-1.147v-.02c0-1.562 1.365-2.83 3.202-2.83s3.18 1.247 3.18 2.81v.02c0 1.562-1.364 2.83-3.202 2.83-1.838 0-3.181-1.248-3.181-2.81h.001Zm4.732 0v-.02c0-.802-.627-1.502-1.551-1.502-.924 0-1.53.68-1.53 1.481v.02c0 .802.628 1.502 1.552 1.502s1.53-.68 1.53-1.48Zm2.861-2.748h1.673v.77c.385-.456.88-.872 1.728-.872 1.266 0 2.002.771 2.002 2.02v3.518h-1.672v-3.033c0-.73-.375-1.105-1.013-1.105-.639 0-1.045.376-1.045 1.105v3.033h-1.673v-5.436Zm6.571 2.748v-.02c0-1.562 1.364-2.83 3.203-2.83 1.838 0 3.18 1.247 3.18 2.81v.02c0 1.562-1.365 2.83-3.202 2.83s-3.18-1.248-3.18-2.81h-.001Zm4.732 0v-.02c0-.802-.628-1.502-1.552-1.502s-1.53.68-1.53 1.481v.02c0 .802.628 1.502 1.552 1.502s1.53-.68 1.53-1.48Zm2.861-2.748h1.672v.77c.386-.456.892-.872 1.74-.872.77 0 1.353.315 1.661.862.517-.557 1.134-.861 1.937-.861 1.244 0 1.992.69 1.992 1.998v3.54h-1.672V23.4c0-.73-.352-1.105-.98-1.105-.627 0-1.013.376-1.013 1.105v3.033h-1.672V23.4c0-.73-.352-1.105-.98-1.105-.627 0-1.013.376-1.013 1.105v3.033h-1.672v-5.436Zm10.487-1.968h1.76v1.369h-1.76v-1.37Zm.045 1.967h1.672v5.436H84.21v-5.436Zm2.96 2.749v-.02c0-1.552 1.199-2.83 2.916-2.83 1.97 0 2.872 1.41 2.872 2.95 0 .122-.011.265-.022.406H88.83c.165.7.693 1.065 1.442 1.065.56 0 .968-.162 1.43-.558l.957.78c-.55.63-1.342 1.015-2.41 1.015-1.771 0-3.082-1.146-3.082-2.81l.002.002Zm4.16-.456c-.099-.69-.54-1.157-1.244-1.157s-1.145.457-1.276 1.157h2.52Z"
|
|
9
|
+
/>
|
|
10
|
+
<path
|
|
11
|
+
fill="#8CB63A"
|
|
12
|
+
d="M16.684 0C7.456.074 0 6.987 0 15.51h5.52c0-5.713 4.985-10.349 11.164-10.421V0Z"
|
|
13
|
+
/>
|
|
14
|
+
<path
|
|
15
|
+
fill="#5025AE"
|
|
16
|
+
d="M118 13.775a39.534 39.534 0 0 1-3.723 15.434c-2.351 5.037-5.694 9.556-9.935 13.435-4.244 3.88-9.176 6.926-14.66 9.05-5.34 2.07-10.988 3.18-16.81 3.306V41.694c16.562-.523 29.909-12.706 30.688-27.919H118Z"
|
|
17
|
+
/>
|
|
18
|
+
</g>
|
|
19
|
+
<defs>
|
|
20
|
+
<clipPath id="a">
|
|
21
|
+
<path fill="#fff" d="M0 0h118v55H0z" />
|
|
22
|
+
</clipPath>
|
|
23
|
+
</defs>
|
|
24
|
+
</svg>
|
|
25
|
+
`;
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
footerLogoSvg
|
|
29
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.TUVJKY7S.js";
|
|
4
|
+
|
|
5
|
+
// src/components/footer-sitemap/footer-sitemap.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var footer_sitemap_styles_default = css`
|
|
8
|
+
${component_styles_default}
|
|
9
|
+
|
|
10
|
+
.footer-sitemap {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: var(--dsa-wc-footer-sitemap-spacing);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[part~='list'] {
|
|
17
|
+
font: var(--dsa-wc-footer-sitemap-list-font);
|
|
18
|
+
display: flex;
|
|
19
|
+
list-style-type: none;
|
|
20
|
+
align-self: stretch;
|
|
21
|
+
gap: var(--dsa-wc-footer-sitemap-list-spacing);
|
|
22
|
+
margin: 0;
|
|
23
|
+
padding: 0;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.footer-sitemap--has-vertical [part~='list'] {
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
gap: var(--dsa-wc-footer-sitemap-list-vertical-spacing);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.label {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.footer-sitemap--has-label .label {
|
|
37
|
+
display: block;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.footer-sitemap--has-label .label::slotted(*) {
|
|
41
|
+
margin: var(--dsa-wc-footer-sitemap-label-margin);
|
|
42
|
+
font: var(--dsa-wc-footer-sitemap-label-font);
|
|
43
|
+
color: var(--dsa-wc-footer-sitemap-label-color);
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
|
|
47
|
+
export {
|
|
48
|
+
footer_sitemap_styles_default
|
|
49
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// src/components/download-link/download-link.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var download_link_styles_default = css`
|
|
4
|
+
.document-link {
|
|
5
|
+
font: var(--dsa-wc-link-font);
|
|
6
|
+
--icon-size: var(--dsa-spacing-24);
|
|
7
|
+
}
|
|
8
|
+
.document-link--x-large {
|
|
9
|
+
font: var(--dsa-wc-link-font-x-large);
|
|
10
|
+
--icon-size: var(--dsa-spacing-32);
|
|
11
|
+
}
|
|
12
|
+
.document-link--large {
|
|
13
|
+
font: var(--dsa-wc-link-font-large);
|
|
14
|
+
--icon-size: 28px;
|
|
15
|
+
}
|
|
16
|
+
.document-link--small {
|
|
17
|
+
font: var(--dsa-wc-link-font-small);
|
|
18
|
+
--icon-size: 20px;
|
|
19
|
+
}
|
|
20
|
+
.document-link--x-small {
|
|
21
|
+
font: var(--dsa-wc-link-font-x-small);
|
|
22
|
+
--icon-size: var(--dsa-spacing-16);
|
|
23
|
+
}
|
|
24
|
+
.document-link--2x-small {
|
|
25
|
+
font: var(--dsa-wc-link-font-2x-small);
|
|
26
|
+
--icon-size: 14px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.link {
|
|
30
|
+
color: var(--dsa-wc-link-on-base-color);
|
|
31
|
+
text-decoration: none;
|
|
32
|
+
border-bottom-width: var(--dsa-wc-link-underline-thickness);
|
|
33
|
+
border-bottom-style: solid;
|
|
34
|
+
transition: border-width 0.1s ease-out;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.link--on-contrasted {
|
|
38
|
+
color: var(--dsa-wc-link-on-contrasted-color);
|
|
39
|
+
}
|
|
40
|
+
.link--on-layer {
|
|
41
|
+
color: var(--dsa-wc-link-on-layer-color);
|
|
42
|
+
}
|
|
43
|
+
.link--floating-menu {
|
|
44
|
+
color: var(--dsa-wc-link-floating-menu-color);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.link:hover {
|
|
48
|
+
color: var(--dsa-wc-link-hover-on-base-color);
|
|
49
|
+
border-bottom-width: calc(
|
|
50
|
+
var(--dsa-wc-link-underline-thickness) *
|
|
51
|
+
var(--dsa-wc-link-hover-underline-thickness-multiplier)
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
.link--on-contrasted:hover {
|
|
55
|
+
color: var(--dsa-wc-link-hover-on-contrasted-color);
|
|
56
|
+
}
|
|
57
|
+
.link--on-layer:hover {
|
|
58
|
+
color: var(--dsa-wc-link-hover-on-layer-color);
|
|
59
|
+
}
|
|
60
|
+
.link--floating-menu:hover {
|
|
61
|
+
color: var(--dsa-wc-link-hover-floating-menu-color);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.link:visited {
|
|
65
|
+
color: var(--dsa-wc-link-visited-on-base-color);
|
|
66
|
+
}
|
|
67
|
+
.link--on-contrasted:visited {
|
|
68
|
+
color: var(--dsa-wc-link-visited-on-contrasted-color);
|
|
69
|
+
}
|
|
70
|
+
.link--on-layer:visited {
|
|
71
|
+
color: var(--dsa-wc-link-visited-on-layer-color);
|
|
72
|
+
}
|
|
73
|
+
.link--floating-menu:visited {
|
|
74
|
+
color: var(--dsa-wc-link-visited-floating-menu-color);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.link:active {
|
|
78
|
+
color: var(--dsa-wc-link-active-on-base-color);
|
|
79
|
+
}
|
|
80
|
+
.link--on-contrasted:active {
|
|
81
|
+
color: var(--dsa-wc-link-active-on-contrasted-color);
|
|
82
|
+
}
|
|
83
|
+
.link--on-layer:active {
|
|
84
|
+
color: var(--dsa-wc-link-active-on-layer-color);
|
|
85
|
+
}
|
|
86
|
+
.link--floating-menu:active {
|
|
87
|
+
color: var(--dsa-wc-link-active-floating-menu-color);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.link:focus-visible {
|
|
91
|
+
outline: var(--dsa-wc-focus-ring);
|
|
92
|
+
border-radius: var(--dsa-wc-focus-ring-radius);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.document-info {
|
|
96
|
+
color: var(--dsa-wc-link-document-info-on-base-color);
|
|
97
|
+
margin-top: var(--dsa-spacing-8);
|
|
98
|
+
margin-bottom: 0;
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
}
|
|
101
|
+
.document-info--on-layer {
|
|
102
|
+
color: var(--dsa-wc-link-document-info-on-layer-color);
|
|
103
|
+
}
|
|
104
|
+
.document-info--on-contrasted {
|
|
105
|
+
color: var(--dsa-wc-link-document-info-on-contrasted-color);
|
|
106
|
+
}
|
|
107
|
+
.document-info--floating-menu {
|
|
108
|
+
color: var(--dsa-wc-link-document-info-floating-menu-color);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
dsa-icon {
|
|
112
|
+
width: var(--icon-size);
|
|
113
|
+
height: var(--icon-size);
|
|
114
|
+
margin-inline-start: var(--dsa-spacing-8);
|
|
115
|
+
vertical-align: bottom;
|
|
116
|
+
}
|
|
117
|
+
`;
|
|
118
|
+
|
|
119
|
+
export {
|
|
120
|
+
download_link_styles_default
|
|
121
|
+
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
debounce
|
|
3
|
-
} from "./chunk.HRBNFVC5.js";
|
|
4
1
|
import {
|
|
5
2
|
scrollIntoView
|
|
6
3
|
} from "./chunk.EMIT7S33.js";
|
|
@@ -29,7 +26,7 @@ import {
|
|
|
29
26
|
} from "./chunk.V7RJROLH.js";
|
|
30
27
|
import {
|
|
31
28
|
LocalizeController
|
|
32
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.Y5M7ZKHX.js";
|
|
33
30
|
import {
|
|
34
31
|
watch
|
|
35
32
|
} from "./chunk.6IH66JBY.js";
|
|
@@ -58,11 +55,11 @@ var DSACombobox = class extends ShoelaceElement {
|
|
|
58
55
|
);
|
|
59
56
|
this.localize = new LocalizeController(this);
|
|
60
57
|
this.hasVisualFocus = false;
|
|
61
|
-
this.fetchingState = "success";
|
|
62
58
|
this.displayLabel = "";
|
|
63
59
|
this.selectedOptions = [];
|
|
64
60
|
this.allOptions = [];
|
|
65
61
|
this.filteredOptions = [];
|
|
62
|
+
this.debounceTimerId = null;
|
|
66
63
|
this.name = "";
|
|
67
64
|
this.title = "";
|
|
68
65
|
this.open = false;
|
|
@@ -85,8 +82,8 @@ var DSACombobox = class extends ShoelaceElement {
|
|
|
85
82
|
this.items = void 0;
|
|
86
83
|
this.multiple = false;
|
|
87
84
|
this.maxOptionsVisible = 3;
|
|
88
|
-
this.onSearch = void 0;
|
|
89
85
|
this.debounceTimeout = 300;
|
|
86
|
+
this.fetchingState = "success";
|
|
90
87
|
}
|
|
91
88
|
/** Gets the validity state object */
|
|
92
89
|
get validity() {
|
|
@@ -96,18 +93,13 @@ var DSACombobox = class extends ShoelaceElement {
|
|
|
96
93
|
get validationMessage() {
|
|
97
94
|
return this.valueInput.validationMessage;
|
|
98
95
|
}
|
|
99
|
-
|
|
100
|
-
var _a;
|
|
96
|
+
connectedCallback() {
|
|
101
97
|
super.connectedCallback();
|
|
102
98
|
this.handleDocumentFocusIn = this.handleDocumentFocusIn.bind(this);
|
|
103
99
|
this.handleDocumentMouseDown = this.handleDocumentMouseDown.bind(this);
|
|
104
100
|
this.handleDocumentKeyDown = this.handleDocumentKeyDown.bind(this);
|
|
105
101
|
this.open = false;
|
|
106
|
-
|
|
107
|
-
this.allOptions = (_a = await this.getRemoteOptions()) != null ? _a : [];
|
|
108
|
-
} else {
|
|
109
|
-
this.allOptions = this.getAllOptions();
|
|
110
|
-
}
|
|
102
|
+
this.allOptions = this.getAllOptions();
|
|
111
103
|
this.filteredOptions = [...this.allOptions];
|
|
112
104
|
}
|
|
113
105
|
/** Input events */
|
|
@@ -153,41 +145,23 @@ var DSACombobox = class extends ShoelaceElement {
|
|
|
153
145
|
}
|
|
154
146
|
this.filterOptions(this.displayLabel);
|
|
155
147
|
}
|
|
156
|
-
|
|
157
|
-
var _a
|
|
148
|
+
handleInput() {
|
|
149
|
+
var _a;
|
|
158
150
|
this.displayLabel = this.displayInput.value;
|
|
159
151
|
this.show();
|
|
160
|
-
this.
|
|
152
|
+
if (this.debounceTimerId !== null) {
|
|
153
|
+
clearTimeout(this.debounceTimerId);
|
|
154
|
+
}
|
|
155
|
+
this.debounceTimerId = setTimeout(
|
|
156
|
+
() => this.emit("dsa-input"),
|
|
157
|
+
this.debounceTimeout
|
|
158
|
+
);
|
|
161
159
|
if (!this.multiple) {
|
|
162
160
|
if (this.displayLabel !== ((_a = this.selectedOptions[0]) == null ? void 0 : _a.getTextLabel())) {
|
|
163
161
|
this.clearSelectedOptions();
|
|
164
162
|
}
|
|
165
163
|
}
|
|
166
|
-
|
|
167
|
-
const remoteOptions = (_b = await this.getRemoteOptions()) != null ? _b : [];
|
|
168
|
-
this.filterRemoteOptions(remoteOptions);
|
|
169
|
-
} else {
|
|
170
|
-
this.filterOptions(this.displayLabel);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
filterRemoteOptions(remoteOptions) {
|
|
174
|
-
const nonSelectedOptions = remoteOptions.filter(
|
|
175
|
-
(option) => this.selectedOptions.every((selectedOption) => {
|
|
176
|
-
return selectedOption.value !== option.value;
|
|
177
|
-
})
|
|
178
|
-
);
|
|
179
|
-
this.allOptions = [...this.selectedOptions, ...nonSelectedOptions];
|
|
180
|
-
this.filteredOptions = [...this.selectedOptions, ...nonSelectedOptions];
|
|
181
|
-
}
|
|
182
|
-
asyncFetchOptions() {
|
|
183
|
-
if (this.onSearch !== void 0) {
|
|
184
|
-
const debouncedOnSearch = debounce(this.onSearch, this.debounceTimeout);
|
|
185
|
-
return debouncedOnSearch(
|
|
186
|
-
this.displayLabel,
|
|
187
|
-
this.selectedOptions.map((option) => option.value)
|
|
188
|
-
);
|
|
189
|
-
}
|
|
190
|
-
return void 0;
|
|
164
|
+
this.filterOptions(this.displayLabel);
|
|
191
165
|
}
|
|
192
166
|
handleClearClick(event) {
|
|
193
167
|
event.stopPropagation();
|
|
@@ -202,11 +176,9 @@ var DSACombobox = class extends ShoelaceElement {
|
|
|
202
176
|
}
|
|
203
177
|
}
|
|
204
178
|
filterOptions(filter) {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
});
|
|
209
|
-
}
|
|
179
|
+
this.filteredOptions = this.allOptions.filter((option) => {
|
|
180
|
+
return option.innerText.toLowerCase().includes(filter.toLowerCase());
|
|
181
|
+
});
|
|
210
182
|
}
|
|
211
183
|
// Toggles an option's selected state
|
|
212
184
|
toggleOptionSelection(option, force) {
|
|
@@ -271,23 +243,6 @@ var DSACombobox = class extends ShoelaceElement {
|
|
|
271
243
|
});
|
|
272
244
|
return allOptions;
|
|
273
245
|
}
|
|
274
|
-
// Gets an array of all remote <dsa-option> elements
|
|
275
|
-
async getRemoteOptions() {
|
|
276
|
-
var _a;
|
|
277
|
-
let remoteOptions = [];
|
|
278
|
-
try {
|
|
279
|
-
this.fetchingState = "loading";
|
|
280
|
-
remoteOptions = (_a = await this.asyncFetchOptions()) != null ? _a : [];
|
|
281
|
-
this.fetchingState = "success";
|
|
282
|
-
this.emit("dsa-load");
|
|
283
|
-
} catch (e) {
|
|
284
|
-
remoteOptions = [];
|
|
285
|
-
this.fetchingState = "error";
|
|
286
|
-
this.emit("dsa-error");
|
|
287
|
-
throw e;
|
|
288
|
-
}
|
|
289
|
-
return remoteOptions;
|
|
290
|
-
}
|
|
291
246
|
clearSelectedOptions() {
|
|
292
247
|
this.allOptions.forEach((el) => {
|
|
293
248
|
el.selected = false;
|
|
@@ -809,9 +764,6 @@ __decorateClass([
|
|
|
809
764
|
__decorateClass([
|
|
810
765
|
state()
|
|
811
766
|
], DSACombobox.prototype, "hasVisualFocus", 2);
|
|
812
|
-
__decorateClass([
|
|
813
|
-
state()
|
|
814
|
-
], DSACombobox.prototype, "fetchingState", 2);
|
|
815
767
|
__decorateClass([
|
|
816
768
|
state()
|
|
817
769
|
], DSACombobox.prototype, "displayLabel", 2);
|
|
@@ -827,6 +779,9 @@ __decorateClass([
|
|
|
827
779
|
__decorateClass([
|
|
828
780
|
state()
|
|
829
781
|
], DSACombobox.prototype, "filteredOptions", 2);
|
|
782
|
+
__decorateClass([
|
|
783
|
+
state()
|
|
784
|
+
], DSACombobox.prototype, "debounceTimerId", 2);
|
|
830
785
|
__decorateClass([
|
|
831
786
|
property()
|
|
832
787
|
], DSACombobox.prototype, "name", 2);
|
|
@@ -904,12 +859,12 @@ __decorateClass([
|
|
|
904
859
|
__decorateClass([
|
|
905
860
|
property({ attribute: "max-options-visible", type: Number })
|
|
906
861
|
], DSACombobox.prototype, "maxOptionsVisible", 2);
|
|
907
|
-
__decorateClass([
|
|
908
|
-
property({ type: Function, attribute: false })
|
|
909
|
-
], DSACombobox.prototype, "onSearch", 2);
|
|
910
862
|
__decorateClass([
|
|
911
863
|
property({ type: Number, attribute: "debounce-timeout" })
|
|
912
864
|
], DSACombobox.prototype, "debounceTimeout", 2);
|
|
865
|
+
__decorateClass([
|
|
866
|
+
property({ attribute: "fetching-state" })
|
|
867
|
+
], DSACombobox.prototype, "fetchingState", 2);
|
|
913
868
|
__decorateClass([
|
|
914
869
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
915
870
|
], DSACombobox.prototype, "handleDisabledChange", 1);
|
|
@@ -25,6 +25,10 @@ var accordion_styles_default = css`
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.accordion__header {
|
|
28
|
+
border-radius: inherit;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.accordion__header-button {
|
|
28
32
|
display: flex;
|
|
29
33
|
align-items: center;
|
|
30
34
|
border-radius: inherit;
|
|
@@ -40,19 +44,19 @@ var accordion_styles_default = css`
|
|
|
40
44
|
border-color: var(--dsa-wc-accordion-hover-border-color);
|
|
41
45
|
}
|
|
42
46
|
|
|
43
|
-
.accordion:hover:not(.accordion--disabled) .accordion__header {
|
|
47
|
+
.accordion:hover:not(.accordion--disabled) .accordion__header-button {
|
|
44
48
|
background-color: var(--dsa-wc-accordion-header-hover-background-color);
|
|
45
49
|
}
|
|
46
50
|
|
|
47
|
-
.accordion__header:not(accordion--open):focus-visible {
|
|
51
|
+
.accordion__header-button:not(accordion--open):focus-visible {
|
|
48
52
|
outline: none;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
.accordion--disabled .accordion__header {
|
|
55
|
+
.accordion--disabled .accordion__header-button {
|
|
52
56
|
cursor: not-allowed;
|
|
53
57
|
}
|
|
54
58
|
|
|
55
|
-
.accordion--disabled .accordion__header:focus-visible {
|
|
59
|
+
.accordion--disabled .accordion__header-button:focus-visible {
|
|
56
60
|
outline: none;
|
|
57
61
|
box-shadow: none;
|
|
58
62
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
radio_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XVDH3KHQ.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.6IH66JBY.js";
|
|
@@ -22,6 +22,7 @@ var DSARadio = class extends ShoelaceElement {
|
|
|
22
22
|
this.hasFocus = false;
|
|
23
23
|
this.size = "medium";
|
|
24
24
|
this.disabled = false;
|
|
25
|
+
this.readonly = false;
|
|
25
26
|
this.error = false;
|
|
26
27
|
}
|
|
27
28
|
connectedCallback() {
|
|
@@ -50,7 +51,7 @@ var DSARadio = class extends ShoelaceElement {
|
|
|
50
51
|
this.emit("dsa-blur");
|
|
51
52
|
}
|
|
52
53
|
handleClick() {
|
|
53
|
-
if (!this.disabled) {
|
|
54
|
+
if (!this.disabled && !this.readonly) {
|
|
54
55
|
this.checked = true;
|
|
55
56
|
}
|
|
56
57
|
}
|
|
@@ -82,6 +83,7 @@ var DSARadio = class extends ShoelaceElement {
|
|
|
82
83
|
class=${classMap({
|
|
83
84
|
radio: true,
|
|
84
85
|
"radio--checked": this.checked,
|
|
86
|
+
"radio--readonly": this.readonly,
|
|
85
87
|
"radio--disabled": this.disabled,
|
|
86
88
|
"radio--focused": this.hasFocus,
|
|
87
89
|
"radio--small": this.size === "small",
|
|
@@ -129,6 +131,9 @@ __decorateClass([
|
|
|
129
131
|
__decorateClass([
|
|
130
132
|
property({ type: Boolean, reflect: true })
|
|
131
133
|
], DSARadio.prototype, "disabled", 2);
|
|
134
|
+
__decorateClass([
|
|
135
|
+
property({ type: Boolean, reflect: true })
|
|
136
|
+
], DSARadio.prototype, "readonly", 2);
|
|
132
137
|
__decorateClass([
|
|
133
138
|
property({ type: Boolean })
|
|
134
139
|
], DSARadio.prototype, "error", 2);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
footer_sitemap_item_styles_default
|
|
3
|
+
} from "./chunk.2PA4QKLT.js";
|
|
4
|
+
import {
|
|
5
|
+
ShoelaceElement
|
|
6
|
+
} from "./chunk.YCXTCVAZ.js";
|
|
7
|
+
import {
|
|
8
|
+
__decorateClass
|
|
9
|
+
} from "./chunk.6M63UXML.js";
|
|
10
|
+
|
|
11
|
+
// src/components/footer-sitemap-item/footer-sitemap-item.ts
|
|
12
|
+
import { html } from "lit";
|
|
13
|
+
import { customElement } from "lit/decorators.js";
|
|
14
|
+
var DSAFooterSitemapItem = class extends ShoelaceElement {
|
|
15
|
+
connectedCallback() {
|
|
16
|
+
if (!this.hasAttribute("role")) {
|
|
17
|
+
this.setAttribute("role", "listitem");
|
|
18
|
+
}
|
|
19
|
+
super.connectedCallback();
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
return html` <slot></slot> `;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
DSAFooterSitemapItem.styles = footer_sitemap_item_styles_default;
|
|
26
|
+
DSAFooterSitemapItem = __decorateClass([
|
|
27
|
+
customElement("dsa-footer-sitemap-item")
|
|
28
|
+
], DSAFooterSitemapItem);
|
|
29
|
+
|
|
30
|
+
export {
|
|
31
|
+
DSAFooterSitemapItem
|
|
32
|
+
};
|