@ds-autonomie/web-components 1.4.0 → 1.6.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 +32 -0
- package/dist/chunks/{chunk.N7ZCXHGU.js → chunk.2FVPNPAG.js} +2 -1
- package/dist/chunks/{chunk.F6FCZQ67.js → chunk.2PVIV5ZH.js} +2 -2
- package/dist/chunks/{chunk.AO3M5GSN.js → chunk.2SUJL5O6.js} +1 -1
- package/dist/chunks/{chunk.C7CCBBLF.js → chunk.3QQPH6YB.js} +3 -1
- package/dist/chunks/{chunk.TSK67ZZE.js → chunk.5YABZV2L.js} +2 -2
- package/dist/chunks/{chunk.XV2S7PIY.js → chunk.6DSM44NV.js} +1 -1
- package/dist/chunks/{chunk.5ND4OP7Q.js → chunk.6SWOU4CL.js} +1 -1
- package/dist/chunks/{chunk.IV2XMACC.js → chunk.6Y5VNWAK.js} +7 -7
- package/dist/chunks/{chunk.E7NM6WTF.js → chunk.7F5X7SQN.js} +1 -1
- package/dist/chunks/{chunk.A3UKO7AU.js → chunk.7WQVFO44.js} +24 -3
- package/dist/chunks/{chunk.MTZZV3NB.js → chunk.AQC66RY2.js} +1 -1
- package/dist/chunks/chunk.ATDDIVPX.js +87 -0
- package/dist/chunks/{chunk.3RBCYA4F.js → chunk.AXG2LFB3.js} +55 -4
- package/dist/chunks/{chunk.5DKPV25M.js → chunk.B5NS5VQR.js} +1 -1
- package/dist/chunks/{chunk.O4XPNLT4.js → chunk.B6CXFMFM.js} +1 -1
- package/dist/chunks/{chunk.HCQNPYQZ.js → chunk.CBFLGIED.js} +1 -1
- package/dist/chunks/chunk.CHM74JXS.js +74 -0
- package/dist/chunks/{chunk.RVUFDCSS.js → chunk.CICCL52W.js} +1 -1
- package/dist/chunks/{chunk.7BYKP4SA.js → chunk.CKDL37GT.js} +2 -0
- package/dist/chunks/{chunk.3Y56GJS7.js → chunk.CSQ2UP6E.js} +31 -6
- package/dist/chunks/{chunk.WF42CVOM.js → chunk.DDLGH65N.js} +4 -4
- package/dist/chunks/{chunk.YRBTSDUN.js → chunk.DQNPP74X.js} +53 -36
- package/dist/chunks/{chunk.DXP3BNWO.js → chunk.DUJFQEVS.js} +1 -1
- package/dist/chunks/{chunk.3GJ3KGGY.js → chunk.DXQY7NLW.js} +17 -0
- package/dist/chunks/chunk.EVHNFCQF.js +121 -0
- package/dist/chunks/{chunk.FSXPFNBX.js → chunk.FFFHQKNB.js} +1 -1
- package/dist/chunks/{chunk.LC54322H.js → chunk.FYTGBKGY.js} +8 -4
- package/dist/chunks/{chunk.GY5KJYSY.js → chunk.HCI6BR7B.js} +34 -74
- package/dist/chunks/{chunk.P7QMP76I.js → chunk.HDSA2CY2.js} +1 -1
- package/dist/chunks/{chunk.YY6AEXJK.js → chunk.HXH4JLAN.js} +1 -1
- package/dist/chunks/{chunk.EXIGM5NV.js → chunk.K2ICEURU.js} +10 -1
- package/dist/chunks/{chunk.BNJQHJKO.js → chunk.KFZV2L7L.js} +1 -1
- package/dist/chunks/{chunk.4TRQBTMY.js → chunk.KGPFHLUW.js} +2 -2
- package/dist/chunks/chunk.KTY3ESVG.js +88 -0
- package/dist/chunks/chunk.KUXAIXES.js +69 -0
- package/dist/chunks/{chunk.JT7UJED5.js → chunk.LSECPSSR.js} +1 -1
- package/dist/chunks/{chunk.VRU3XH45.js → chunk.M3FN3PFT.js} +1 -1
- package/dist/chunks/{chunk.SCNCYZ35.js → chunk.M7UZ33WG.js} +1 -1
- package/dist/chunks/{chunk.IH3JU5S6.js → chunk.NMOENRSD.js} +1 -1
- package/dist/chunks/{chunk.5NO4YOTV.js → chunk.NQSQUH4H.js} +25 -17
- package/dist/chunks/{chunk.7J7CS3BK.js → chunk.O2PIWM25.js} +1 -1
- package/dist/chunks/{chunk.5324JGM4.js → chunk.OUVQZNJQ.js} +28 -3
- package/dist/chunks/{chunk.N3ADQCT7.js → chunk.PZTXAAW2.js} +27 -3
- package/dist/chunks/chunk.Q62BRBYD.js +68 -0
- package/dist/chunks/{chunk.2WSMYCPC.js → chunk.QATKXCGU.js} +4 -0
- package/dist/chunks/{chunk.WE6IG5XG.js → chunk.R4PCVUXB.js} +1 -1
- package/dist/chunks/{chunk.I33L3NO6.js → chunk.RB6TMBWW.js} +5 -0
- package/dist/chunks/{chunk.D2QVNPSR.js → chunk.RJBMUBMI.js} +4 -4
- package/dist/chunks/{chunk.BL4IZFBA.js → chunk.RNLKSRKQ.js} +2 -1
- package/dist/chunks/{chunk.T4H7RAXS.js → chunk.RV652CSU.js} +4 -4
- package/dist/chunks/chunk.RXBDBWWT.js +60 -0
- package/dist/chunks/{chunk.UQYPPFBJ.js → chunk.TMG7TJJO.js} +2 -1
- package/dist/chunks/chunk.U24CXNHC.js +38 -0
- package/dist/chunks/{chunk.PCT24AYO.js → chunk.VLRL3RJT.js} +1 -1
- package/dist/chunks/chunk.WI3DWLXW.js +99 -0
- package/dist/chunks/{chunk.BGNHUCCD.js → chunk.WK3IHF2A.js} +1 -1
- package/dist/chunks/{chunk.XCG5TV7T.js → chunk.WLJH2IWB.js} +2 -2
- package/dist/chunks/chunk.X3FXKNLH.js +92 -0
- package/dist/chunks/{chunk.4XH7INOL.js → chunk.XQZX6LVO.js} +1 -1
- package/dist/chunks/{chunk.2HV2U4RQ.js → chunk.XRHDURFE.js} +1 -1
- package/dist/chunks/chunk.YDCBGMSA.js +161 -0
- package/dist/chunks/{chunk.BHLKMLHB.js → chunk.YS2LUMKB.js} +33 -23
- package/dist/chunks/{chunk.VRY3E2XG.js → chunk.YZ66DKLU.js} +1 -1
- package/dist/chunks/{chunk.D6DEGG4H.js → chunk.Z2QW2HUR.js} +1 -1
- package/dist/chunks/{chunk.N5ZXUW7H.js → chunk.Z7QPOCQO.js} +1 -1
- package/dist/chunks/chunk.ZC74GTBL.js +39 -0
- package/dist/chunks/{chunk.NHYFVEGM.js → chunk.ZR7AGQFC.js} +1 -1
- 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.js +8 -8
- package/dist/components/animation/animation.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/button/button.js +8 -8
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +7 -7
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.d.ts +1 -1
- package/dist/components/checkbox-button/checkbox-button.js +7 -7
- package/dist/components/checkbox-button/checkbox-button.styles.js +2 -2
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.d.ts +8 -15
- package/dist/components/combobox/combobox.js +12 -13
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/dialog/dialog.js +9 -9
- 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 +9 -9
- 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/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.d.ts +3 -1
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.d.ts +3 -0
- package/dist/components/input/input.js +8 -8
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/input-mask/input-mask.js +4 -4
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-phone/input-phone.js +18 -18
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- 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.js +4 -4
- package/dist/components/radio-button/radio-button.d.ts +1 -1
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-button/radio-button.styles.js +2 -2
- package/dist/components/radio-group/radio-group.js +3 -3
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/select/select.js +11 -11
- package/dist/components/select/select.styles.js +2 -2
- package/dist/components/skip-link-item/skip-link-item.d.ts +26 -0
- package/dist/components/skip-link-item/skip-link-item.js +10 -0
- package/dist/components/skip-link-item/skip-link-item.styles.d.ts +2 -0
- package/dist/components/skip-link-item/skip-link-item.styles.js +8 -0
- package/dist/components/skip-links/skip-links.d.ts +23 -0
- package/dist/components/skip-links/skip-links.js +10 -0
- package/dist/components/skip-links/skip-links.styles.d.ts +2 -0
- package/dist/components/skip-links/skip-links.styles.js +8 -0
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.d.ts +3 -1
- package/dist/components/step/step.js +7 -7
- package/dist/components/step/step.styles.js +1 -1
- package/dist/components/stepper/stepper.d.ts +5 -1
- package/dist/components/stepper/stepper.js +3 -2
- package/dist/components/stepper/stepper.styles.js +1 -1
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tag/tag.js +8 -8
- package/dist/components/textarea/textarea.d.ts +3 -0
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +12 -12
- package/dist/components/tree-item/tree-item.js +10 -10
- package/dist/custom-elements.json +747 -83
- package/dist/design-system.d.ts +5 -0
- package/dist/design-system.js +107 -83
- package/dist/events/dsa-focus-in.d.ts +7 -0
- package/dist/events/dsa-focus-in.js +1 -0
- package/dist/events/dsa-focus-out.d.ts +7 -0
- package/dist/events/dsa-focus-out.js +1 -0
- package/dist/internal/components/button-group/button-group.d.ts +1 -0
- package/dist/internal/components/button-group/button-group.js +9 -1
- package/dist/internal/components/button-group/button-group.styles.js +10 -0
- package/dist/styles/form-control.styles.js +55 -4
- package/dist/themes/dsa-wc-theme.css +215 -26
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +222 -26
- 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 +1 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.d.ts +3 -1
- package/dist/utilities/storybook.js +35 -0
- package/dist/vscode.html-custom-data.json +160 -4
- package/dist/web-types.json +417 -34
- package/package.json +3 -3
- package/dist/chunks/chunk.HRBNFVC5.js +0 -16
- package/dist/chunks/chunk.QFJA3MTV.js +0 -66
- package/dist/chunks/chunk.QSNJ4FV6.js +0 -54
- package/dist/utilities/debounce.d.ts +0 -1
- package/dist/utilities/debounce.js +0 -7
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
component_styles_default
|
|
3
|
-
} from "./chunk.TUVJKY7S.js";
|
|
4
|
-
|
|
5
|
-
// src/components/icon-button/icon-button.styles.ts
|
|
6
|
-
import { css } from "lit";
|
|
7
|
-
var icon_button_styles_default = css`
|
|
8
|
-
${component_styles_default}
|
|
9
|
-
|
|
10
|
-
:host {
|
|
11
|
-
--padding: var(
|
|
12
|
-
--dsa-wc-internal-icon-button-padding,
|
|
13
|
-
--dsa-wc-icon-button-padding
|
|
14
|
-
);
|
|
15
|
-
display: inline-block;
|
|
16
|
-
color: var(--dsa-wc-icon-button-color);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.icon-button {
|
|
20
|
-
flex: 0 0 auto;
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
background: none;
|
|
24
|
-
border: none;
|
|
25
|
-
border-radius: var(--dsa-wc-icon-button-border-radius);
|
|
26
|
-
font-size: inherit;
|
|
27
|
-
color: inherit;
|
|
28
|
-
padding: var(--padding);
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
transition: var(--dsa-wc-transition-x-fast) color;
|
|
31
|
-
-webkit-appearance: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.icon-button--focused:hover,
|
|
35
|
-
.icon-button:hover:not(.icon-button--disabled),
|
|
36
|
-
.icon-button:focus-visible:not(.icon-button--disabled) {
|
|
37
|
-
color: var(--dsa-wc-icon-button-color-hover);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.icon-button:active:not(.icon-button--disabled) {
|
|
41
|
-
color: var(--dsa-wc-icon-button-color-active);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.icon-button:focus {
|
|
45
|
-
outline: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.icon-button--disabled {
|
|
49
|
-
color: var(--dsa-wc-icon-button-color-disabled);
|
|
50
|
-
cursor: not-allowed;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.icon-button:focus-visible {
|
|
54
|
-
outline: var(--dsa-wc-focus-ring);
|
|
55
|
-
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
56
|
-
border-radius: var(--dsa-wc-focus-ring-radius);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.icon-button__icon {
|
|
60
|
-
pointer-events: none;
|
|
61
|
-
}
|
|
62
|
-
`;
|
|
63
|
-
|
|
64
|
-
export {
|
|
65
|
-
icon_button_styles_default
|
|
66
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
stepper_styles_default
|
|
3
|
-
} from "./chunk.2WSMYCPC.js";
|
|
4
|
-
import {
|
|
5
|
-
ShoelaceElement
|
|
6
|
-
} from "./chunk.YCXTCVAZ.js";
|
|
7
|
-
import {
|
|
8
|
-
__decorateClass
|
|
9
|
-
} from "./chunk.6M63UXML.js";
|
|
10
|
-
|
|
11
|
-
// src/components/stepper/stepper.ts
|
|
12
|
-
import { html } from "lit";
|
|
13
|
-
import { customElement, property } from "lit/decorators.js";
|
|
14
|
-
var STEP_TAG = "dsa-step";
|
|
15
|
-
var DSAStepper = class extends ShoelaceElement {
|
|
16
|
-
connectedCallback() {
|
|
17
|
-
super.connectedCallback();
|
|
18
|
-
}
|
|
19
|
-
// Gets an array of all <dsa-step> elements
|
|
20
|
-
getAllSteps() {
|
|
21
|
-
return [...this.querySelectorAll(STEP_TAG)];
|
|
22
|
-
}
|
|
23
|
-
handleDefaultSlotChange() {
|
|
24
|
-
const allSteps = this.getAllSteps();
|
|
25
|
-
if (customElements.get(STEP_TAG)) {
|
|
26
|
-
if (this.hideLabel) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
allSteps.forEach((step, index) => {
|
|
30
|
-
step.index = index;
|
|
31
|
-
});
|
|
32
|
-
} else {
|
|
33
|
-
customElements.whenDefined(STEP_TAG).then(() => this.handleDefaultSlotChange());
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
return html`
|
|
38
|
-
<div role="list" class="stepper">
|
|
39
|
-
<slot @slotchange=${this.handleDefaultSlotChange}> </slot>
|
|
40
|
-
</div>
|
|
41
|
-
`;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
DSAStepper.styles = stepper_styles_default;
|
|
45
|
-
__decorateClass([
|
|
46
|
-
property()
|
|
47
|
-
], DSAStepper.prototype, "hideLabel", 2);
|
|
48
|
-
DSAStepper = __decorateClass([
|
|
49
|
-
customElement("dsa-stepper")
|
|
50
|
-
], DSAStepper);
|
|
51
|
-
|
|
52
|
-
export {
|
|
53
|
-
DSAStepper
|
|
54
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function debounce<T>(fn: (search: string, selectedOptions: string[]) => T | Promise<T>, time: number): (search: string, selectedOptions: string[]) => Promise<T>;
|