@ds-autonomie/web-components 1.7.0 → 1.9.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 +31 -0
- package/dist/chunks/{chunk.Y5M7ZKHX.js → chunk.27JQOQHL.js} +61 -5
- package/dist/chunks/{chunk.AQC66RY2.js → chunk.2AEUQXKH.js} +18 -1
- package/dist/chunks/chunk.2CCVOCSE.js +66 -0
- package/dist/chunks/chunk.2TCYCYJQ.js +187 -0
- package/dist/chunks/chunk.3BOLT7UM.js +168 -0
- package/dist/chunks/{chunk.NIYQMA5Y.js → chunk.3EDVQPST.js} +1 -1
- package/dist/chunks/chunk.47IWI2IO.js +51 -0
- package/dist/chunks/{chunk.YDCBGMSA.js → chunk.4Z3LVWYW.js} +51 -3
- package/dist/chunks/chunk.5L7UO75X.js +17 -0
- package/dist/chunks/{chunk.5MXBL3PY.js → chunk.5QYMKLPJ.js} +1 -1
- package/dist/chunks/{chunk.SL4M42DS.js → chunk.5X3ZLYWR.js} +2 -2
- package/dist/chunks/chunk.65HTBW2L.js +31 -0
- package/dist/chunks/{chunk.5KOTVDN5.js → chunk.66WACVGP.js} +13 -2
- package/dist/chunks/{chunk.HXH4JLAN.js → chunk.6RX5APL3.js} +1 -1
- package/dist/chunks/{chunk.FKKOUYXE.js → chunk.74YBAWFQ.js} +2 -2
- package/dist/chunks/{chunk.XVDH3KHQ.js → chunk.7KYHO6CO.js} +4 -2
- package/dist/chunks/chunk.7NRLP2GK.js +172 -0
- package/dist/chunks/{chunk.5LSEWF5M.js → chunk.7PEABCEV.js} +1 -1
- package/dist/chunks/{chunk.EBCLOXNV.js → chunk.7ZBFOFLF.js} +2 -2
- package/dist/chunks/{chunk.X6ZGA6WS.js → chunk.A5II52AY.js} +20 -6
- package/dist/chunks/chunk.AFFFEIW7.js +154 -0
- package/dist/chunks/chunk.AHPXKIVU.js +24 -0
- package/dist/chunks/{chunk.D5MIBH2P.js → chunk.B3VBH7AS.js} +44 -178
- package/dist/chunks/chunk.BFG2T6XK.js +76 -0
- package/dist/chunks/{chunk.QBPZ6I5Q.js → chunk.BMSQX3ZA.js} +134 -118
- package/dist/chunks/{chunk.IFXLU6P3.js → chunk.BVRGK5ZO.js} +27 -4
- package/dist/chunks/{chunk.MCMUWBT5.js → chunk.BWQBVIRR.js} +6 -1
- package/dist/chunks/{chunk.RC2LGXYT.js → chunk.CFTA3QKA.js} +1 -1
- package/dist/chunks/chunk.CHKVYEHB.js +53 -0
- package/dist/chunks/{chunk.L5HKY6WB.js → chunk.CPEI3G7E.js} +4 -4
- package/dist/chunks/{chunk.IAKOROM4.js → chunk.CURRLKGD.js} +1 -1
- package/dist/chunks/{chunk.R5PR2MDK.js → chunk.CW4YJC4U.js} +1 -1
- package/dist/chunks/{chunk.GXQ7CTJX.js → chunk.D2VOYAK5.js} +9 -3
- package/dist/chunks/{chunk.4ABNA6LY.js → chunk.DAQJDIFW.js} +1 -1
- package/dist/chunks/{chunk.B6CXFMFM.js → chunk.DJDCH3MP.js} +1 -1
- package/dist/chunks/{chunk.ZC74GTBL.js → chunk.DX25IW4S.js} +0 -4
- package/dist/chunks/{chunk.2PVIV5ZH.js → chunk.EETYUDWR.js} +20 -4
- package/dist/chunks/chunk.EFCI6CBB.js +168 -0
- package/dist/chunks/chunk.ESYJVRG3.js +129 -0
- package/dist/chunks/chunk.FWOMF5BY.js +23 -0
- package/dist/chunks/{chunk.AJ4QV4YB.js → chunk.G2S6QEJM.js} +2 -2
- package/dist/chunks/{chunk.ZR7AGQFC.js → chunk.GOSPYXFS.js} +6 -9
- package/dist/chunks/chunk.H4XXY6QB.js +73 -0
- package/dist/chunks/{chunk.PZTXAAW2.js → chunk.H7OOLAC7.js} +1 -1
- package/dist/chunks/chunk.HAJSA7VP.js +53 -0
- package/dist/chunks/chunk.HB7A2UQ7.js +16 -0
- package/dist/chunks/chunk.HW4HC4GP.js +61 -0
- package/dist/chunks/{chunk.CWMR6PEK.js → chunk.HXWTBL6A.js} +1 -1
- package/dist/chunks/{chunk.Z2QW2HUR.js → chunk.ICD5HBUY.js} +5 -2
- package/dist/chunks/{chunk.LSECPSSR.js → chunk.IDMVVAVX.js} +1 -1
- package/dist/chunks/{chunk.K2ICEURU.js → chunk.IEBTPGUT.js} +16 -2
- package/dist/chunks/{chunk.Z6TBD2AC.js → chunk.INLQD4SQ.js} +1 -2
- package/dist/chunks/{chunk.CJIL3BLA.js → chunk.JJ67JVYV.js} +2 -0
- package/dist/chunks/{chunk.7FSWPNRP.js → chunk.KAXMDDPV.js} +1 -1
- package/dist/chunks/chunk.KUC4IPNW.js +229 -0
- package/dist/chunks/{chunk.UTAUMIPE.js → chunk.LG4WLLQM.js} +1 -1
- package/dist/chunks/chunk.LJ7Y3MBX.js +26 -0
- package/dist/chunks/{chunk.5T654YBW.js → chunk.MHEF6WDT.js} +1 -1
- package/dist/chunks/{chunk.ZQQCFKOX.js → chunk.MMHCJ5DA.js} +1 -1
- package/dist/chunks/chunk.N5UMZAXE.js +264 -0
- package/dist/chunks/chunk.N7H2OIPT.js +82 -0
- package/dist/chunks/{chunk.7PKGNYXP.js → chunk.NZK7MHS3.js} +22 -1
- package/dist/chunks/{chunk.AXG2LFB3.js → chunk.O3TGEE3I.js} +2 -1
- package/dist/chunks/chunk.ONIFK4NH.js +156 -0
- package/dist/chunks/{chunk.YZ66DKLU.js → chunk.OQ2AY2BC.js} +1 -1
- package/dist/chunks/chunk.OSR4H2UW.js +17 -0
- package/dist/chunks/{chunk.KG6MIENB.js → chunk.OXPE4AH7.js} +1 -1
- package/dist/chunks/chunk.OZWZRPR2.js +56 -0
- package/dist/chunks/{chunk.WGN7OZLZ.js → chunk.P6TKBTE3.js} +3 -2
- package/dist/chunks/chunk.PFGVYROJ.js +26 -0
- package/dist/chunks/{chunk.GS7HSU6O.js → chunk.POJ5NHBX.js} +1 -1
- package/dist/chunks/{chunk.XRHDURFE.js → chunk.Q255SJAB.js} +1 -1
- package/dist/chunks/chunk.R4Y6XOHR.js +99 -0
- package/dist/chunks/chunk.RB5YRDTE.js +77 -0
- package/dist/chunks/{chunk.TFMB54OO.js → chunk.RFLSIZXC.js} +1 -1
- package/dist/chunks/{chunk.PQD7VKIK.js → chunk.RZ3LYIA4.js} +4 -4
- package/dist/chunks/{chunk.RBJL56T2.js → chunk.S7OQV6LL.js} +1 -1
- package/dist/chunks/chunk.S7VHPQOI.js +239 -0
- package/dist/chunks/chunk.T7VLQ7RI.js +19 -0
- package/dist/chunks/{chunk.ZCKAXIC4.js → chunk.TUWCKMLU.js} +2 -2
- package/dist/chunks/chunk.TWRM2VNQ.js +131 -0
- package/dist/chunks/{chunk.PCJUYERL.js → chunk.UVCXXEVO.js} +1 -1
- package/dist/chunks/{chunk.7RMRIPUN.js → chunk.UXKJPQ6X.js} +1 -1
- package/dist/chunks/{chunk.GENB7E6Z.js → chunk.UXXDCLQD.js} +1 -1
- package/dist/chunks/chunk.V5O2GRVM.js +45 -0
- package/dist/chunks/{chunk.EKWYMXQO.js → chunk.VNAE4DJZ.js} +1 -0
- package/dist/chunks/{chunk.RXBDBWWT.js → chunk.VWZFYMC7.js} +6 -0
- package/dist/chunks/{chunk.ADVUEL4K.js → chunk.WNODOQAI.js} +1 -1
- package/dist/chunks/chunk.XM5ZLNIT.js +32 -0
- package/dist/chunks/chunk.YA5XTUZW.js +76 -0
- package/dist/chunks/{chunk.R4PCVUXB.js → chunk.YAF5P5CP.js} +36 -10
- package/dist/chunks/chunk.YDZQSSJE.js +77 -0
- package/dist/components/accordion/accordion.js +6 -5
- package/dist/components/alert/alert.js +9 -8
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.d.ts +3 -0
- package/dist/components/badge/badge.js +3 -2
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +6 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -2
- package/dist/components/button/button.d.ts +2 -0
- package/dist/components/button/button.js +7 -6
- package/dist/components/checkbox/checkbox.d.ts +5 -0
- package/dist/components/checkbox/checkbox.js +7 -6
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.d.ts +4 -0
- 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 +0 -1
- package/dist/components/combobox/combobox.js +12 -11
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/dialog/dialog.js +8 -7
- package/dist/components/download-card/download-card.js +3 -3
- package/dist/components/download-link/download-link.js +3 -3
- package/dist/components/drawer/drawer.js +8 -7
- package/dist/components/dropdown/dropdown.js +3 -2
- package/dist/components/error-message-panel/error-message-panel.js +3 -2
- package/dist/components/file-upload/file-upload.js +3 -3
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
- package/dist/components/format-bytes/format-bytes.js +3 -2
- package/dist/components/format-date/format-date.js +3 -2
- package/dist/components/format-number/format-number.js +3 -2
- package/dist/components/header/header.assets.d.ts +2 -0
- package/dist/components/header/header.assets.js +9 -0
- package/dist/components/header/header.d.ts +37 -0
- package/dist/components/header/header.js +17 -0
- package/dist/components/header/header.styles.d.ts +2 -0
- package/dist/components/header/header.styles.js +8 -0
- package/dist/components/header-external-link/header-external-link.d.ts +18 -0
- package/dist/components/header-external-link/header-external-link.js +9 -0
- package/dist/components/header-external-link/header-external-link.style.d.ts +2 -0
- package/dist/components/header-external-link/header-external-link.style.js +18 -0
- package/dist/components/header-search/header-search.d.ts +45 -0
- package/dist/components/header-search/header-search.js +12 -0
- package/dist/components/header-search/header-search.styles.d.ts +2 -0
- package/dist/components/header-search/header-search.styles.js +8 -0
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.d.ts +4 -1
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.js +8 -7
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/input-mask/input-mask.js +5 -4
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-phone/input-phone.configs.d.ts +4 -3
- package/dist/components/input-phone/input-phone.configs.js +3 -3
- package/dist/components/input-phone/input-phone.d.ts +8 -8
- package/dist/components/input-phone/input-phone.js +19 -18
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-phone/input-phone.utils.d.ts +3 -3
- package/dist/components/input-phone/input-phone.utils.js +5 -5
- package/dist/components/menu-item/menu-item.js +3 -3
- package/dist/components/option/option.js +6 -5
- package/dist/components/pagination/pagination.d.ts +33 -0
- package/dist/components/pagination/pagination.js +38 -0
- package/dist/components/pagination/pagination.styles.d.ts +2 -0
- package/dist/components/pagination/pagination.styles.js +8 -0
- package/dist/components/pagination-button/pagination-button.d.ts +27 -0
- package/dist/components/pagination-button/pagination-button.js +12 -0
- package/dist/components/pagination-button/pagination-button.styles.d.ts +2 -0
- package/dist/components/pagination-button/pagination-button.styles.js +9 -0
- package/dist/components/progress-bar/progress-bar.js +3 -2
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-group/radio-group.d.ts +4 -0
- package/dist/components/radio-group/radio-group.js +4 -3
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -2
- package/dist/components/select/select.js +11 -10
- package/dist/components/select/select.styles.js +2 -2
- package/dist/components/skeleton/skeleton.d.ts +1 -0
- package/dist/components/skeleton/skeleton.js +5 -3
- package/dist/components/skip-link-item/skip-link-item.d.ts +1 -0
- package/dist/components/skip-link-item/skip-link-item.js +1 -1
- package/dist/components/skip-links/skip-links.d.ts +0 -6
- 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 +3 -2
- package/dist/components/step/step.js +7 -6
- package/dist/components/tab/tab.js +3 -2
- package/dist/components/tab-group/tab-group.js +3 -2
- package/dist/components/table/defs.d.ts +6 -0
- package/dist/components/table/defs.js +9 -0
- package/dist/components/table/table-body/table-body.d.ts +24 -0
- package/dist/components/table/table-body/table-body.js +14 -0
- package/dist/components/table/table-body/table-body.styles.d.ts +2 -0
- package/dist/components/table/table-body/table-body.styles.js +8 -0
- package/dist/components/table/table-caption/table-caption.d.ts +25 -0
- package/dist/components/table/table-caption/table-caption.js +17 -0
- package/dist/components/table/table-caption/table-caption.styles.d.ts +2 -0
- package/dist/components/table/table-caption/table-caption.styles.js +8 -0
- package/dist/components/table/table-cell/table-cell.d.ts +23 -0
- package/dist/components/table/table-cell/table-cell.js +14 -0
- package/dist/components/table/table-cell/table-cell.styles.d.ts +2 -0
- package/dist/components/table/table-cell/table-cell.styles.js +8 -0
- package/dist/components/table/table-expanded-row/table-expanded-row.d.ts +17 -0
- package/dist/components/table/table-expanded-row/table-expanded-row.js +47 -0
- package/dist/components/table/table-expanded-row/table-expanded-row.styles.d.ts +2 -0
- package/dist/components/table/table-expanded-row/table-expanded-row.styles.js +8 -0
- package/dist/components/table/table-head/table-head.d.ts +24 -0
- package/dist/components/table/table-head/table-head.js +14 -0
- package/dist/components/table/table-head/table-head.styles.d.ts +2 -0
- package/dist/components/table/table-head/table-head.styles.js +8 -0
- package/dist/components/table/table-header-cell/table-header-cell.d.ts +51 -0
- package/dist/components/table/table-header-cell/table-header-cell.js +18 -0
- package/dist/components/table/table-header-cell/table-header-cell.styles.d.ts +2 -0
- package/dist/components/table/table-header-cell/table-header-cell.styles.js +8 -0
- package/dist/components/table/table-header-row/table-header-row.d.ts +19 -0
- package/dist/components/table/table-header-row/table-header-row.js +15 -0
- package/dist/components/table/table-header-row/table-header-row.styles.d.ts +2 -0
- package/dist/components/table/table-header-row/table-header-row.styles.js +8 -0
- package/dist/components/table/table-row/table-row.d.ts +70 -0
- package/dist/components/table/table-row/table-row.js +13 -0
- package/dist/components/table/table-row/table-row.styles.d.ts +2 -0
- package/dist/components/table/table-row/table-row.styles.js +8 -0
- package/dist/components/table/table.d.ts +52 -0
- package/dist/components/table/table.js +11 -0
- package/dist/components/table/table.styles.d.ts +2 -0
- package/dist/components/table/table.styles.js +8 -0
- package/dist/components/table/types.d.ts +5 -0
- package/dist/components/table/types.js +12 -0
- package/dist/components/table-container/table-container.d.ts +19 -0
- package/dist/components/table-container/table-container.js +12 -0
- package/dist/components/table-container/table-container.styles.d.ts +2 -0
- package/dist/components/table-container/table-container.styles.js +8 -0
- package/dist/components/tag/tag.d.ts +2 -0
- package/dist/components/tag/tag.js +8 -7
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +3 -2
- package/dist/components/tree/tree.js +13 -11
- package/dist/components/tree-item/tree-item.js +12 -10
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/custom-elements.json +10246 -7327
- package/dist/design-system.d.ts +14 -0
- package/dist/design-system.js +165 -92
- package/dist/events/dsa-page-change.d.ts +9 -0
- package/dist/events/dsa-page-change.js +1 -0
- package/dist/events/dsa-submit.d.ts +7 -0
- package/dist/events/dsa-submit.js +1 -0
- package/dist/events/dsa-table-header-cell-sort.d.ts +11 -0
- package/dist/events/dsa-table-header-cell-sort.js +1 -0
- package/dist/events/dsa-table-row-all-change-selection.d.ts +7 -0
- package/dist/events/dsa-table-row-all-change-selection.js +1 -0
- package/dist/events/dsa-table-row-all-selected.d.ts +10 -0
- package/dist/events/dsa-table-row-all-selected.js +1 -0
- package/dist/events/dsa-table-row-change-selection.d.ts +7 -0
- package/dist/events/dsa-table-row-change-selection.js +1 -0
- package/dist/events/dsa-table-row-click.d.ts +7 -0
- package/dist/events/dsa-table-row-click.js +1 -0
- package/dist/events/dsa-table-row-expand-change.d.ts +7 -0
- package/dist/events/dsa-table-row-expand-change.js +1 -0
- package/dist/events/dsa-table-row-selected.d.ts +11 -0
- package/dist/events/dsa-table-row-selected.js +1 -0
- package/dist/events/events.d.ts +8 -0
- package/dist/internal/components/button-group/button-group.js +1 -1
- package/dist/internal/loading-state-element.d.ts +7 -0
- package/dist/internal/loading-state-element.js +23 -0
- package/dist/styles/form-control.styles.js +2 -1
- package/dist/themes/dsa-wc-theme.css +116 -3
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +124 -3
- package/dist/translations/en-gb.js +2 -1
- package/dist/translations/en.js +2 -1
- package/dist/translations/fr.js +2 -1
- package/dist/utilities/localize.d.ts +20 -0
- package/dist/utilities/localize.js +2 -1
- package/dist/utilities/storybook.d.ts +1 -0
- package/dist/utilities/storybook.js +12 -0
- package/dist/vscode.html-custom-data.json +649 -273
- package/dist/web-types.json +3949 -2399
- package/package.json +1 -1
- package/dist/chunks/chunk.6ZQ4OQ2C.js +0 -51
- package/dist/chunks/chunk.CHM74JXS.js +0 -74
- package/dist/chunks/chunk.UCJGKOXX.js +0 -10
- package/dist/chunks/{chunk.JOIYVWUG.js → chunk.5MB36CJO.js} +1 -1
- package/dist/chunks/{chunk.V7MYOBN4.js → chunk.QZTW3WMM.js} +3 -3
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
table_cell_styles_default
|
|
3
|
+
} from "./chunk.AHPXKIVU.js";
|
|
4
|
+
import {
|
|
5
|
+
LoadingStateElement
|
|
6
|
+
} from "./chunk.PFGVYROJ.js";
|
|
7
|
+
import {
|
|
8
|
+
watch
|
|
9
|
+
} from "./chunk.6IH66JBY.js";
|
|
10
|
+
import {
|
|
11
|
+
__decorateClass
|
|
12
|
+
} from "./chunk.6M63UXML.js";
|
|
13
|
+
|
|
14
|
+
// src/components/table/table-cell/table-cell.ts
|
|
15
|
+
import { html } from "lit";
|
|
16
|
+
import { customElement, property } from "lit/decorators.js";
|
|
17
|
+
var DSATableCell = class extends LoadingStateElement {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.role = "cell";
|
|
21
|
+
}
|
|
22
|
+
handleLoading() {
|
|
23
|
+
this.setAttribute("aria-hidden", this.loading.toString());
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
if (this.loading) {
|
|
27
|
+
return html`<dsa-skeleton effect=${this.skeletonEffect}></dsa-skeleton>`;
|
|
28
|
+
}
|
|
29
|
+
return html`<slot></slot> `;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
DSATableCell.styles = table_cell_styles_default;
|
|
33
|
+
__decorateClass([
|
|
34
|
+
property({ reflect: true })
|
|
35
|
+
], DSATableCell.prototype, "role", 2);
|
|
36
|
+
__decorateClass([
|
|
37
|
+
watch("loading")
|
|
38
|
+
], DSATableCell.prototype, "handleLoading", 1);
|
|
39
|
+
DSATableCell = __decorateClass([
|
|
40
|
+
customElement("dsa-table-cell")
|
|
41
|
+
], DSATableCell);
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
DSATableCell
|
|
45
|
+
};
|
|
@@ -30,6 +30,12 @@ var DSASkipLinkItem = class extends ShoelaceElement {
|
|
|
30
30
|
blur() {
|
|
31
31
|
this.anchor.blur();
|
|
32
32
|
}
|
|
33
|
+
connectedCallback() {
|
|
34
|
+
super.connectedCallback();
|
|
35
|
+
if (!this.hasAttribute("role")) {
|
|
36
|
+
this.setAttribute("role", "listitem");
|
|
37
|
+
}
|
|
38
|
+
}
|
|
33
39
|
render() {
|
|
34
40
|
return html`
|
|
35
41
|
<a
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
skip_links_styles_default
|
|
3
|
+
} from "./chunk.DX25IW4S.js";
|
|
4
|
+
import {
|
|
5
|
+
ShoelaceElement
|
|
6
|
+
} from "./chunk.YCXTCVAZ.js";
|
|
7
|
+
import {
|
|
8
|
+
__decorateClass
|
|
9
|
+
} from "./chunk.6M63UXML.js";
|
|
10
|
+
|
|
11
|
+
// src/components/skip-links/skip-links.ts
|
|
12
|
+
import { html } from "lit";
|
|
13
|
+
import { customElement } from "lit/decorators.js";
|
|
14
|
+
var DSASkipLinks = class extends ShoelaceElement {
|
|
15
|
+
render() {
|
|
16
|
+
return html`
|
|
17
|
+
<nav part="base" class="skip-links">
|
|
18
|
+
<ul class="skip-links__list">
|
|
19
|
+
<slot></slot>
|
|
20
|
+
</ul>
|
|
21
|
+
</nav>
|
|
22
|
+
`;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
DSASkipLinks.styles = skip_links_styles_default;
|
|
26
|
+
DSASkipLinks = __decorateClass([
|
|
27
|
+
customElement("dsa-skip-links")
|
|
28
|
+
], DSASkipLinks);
|
|
29
|
+
|
|
30
|
+
export {
|
|
31
|
+
DSASkipLinks
|
|
32
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import {
|
|
2
|
+
table_caption_styles_default
|
|
3
|
+
} from "./chunk.2CCVOCSE.js";
|
|
4
|
+
import {
|
|
5
|
+
LoadingStateElement
|
|
6
|
+
} from "./chunk.PFGVYROJ.js";
|
|
7
|
+
import {
|
|
8
|
+
HasSlotController
|
|
9
|
+
} from "./chunk.YIY5RM53.js";
|
|
10
|
+
import {
|
|
11
|
+
LocalizeController
|
|
12
|
+
} from "./chunk.27JQOQHL.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.6IH66JBY.js";
|
|
16
|
+
import {
|
|
17
|
+
__decorateClass
|
|
18
|
+
} from "./chunk.6M63UXML.js";
|
|
19
|
+
|
|
20
|
+
// src/components/table/table-caption/table-caption.ts
|
|
21
|
+
import { html } from "lit";
|
|
22
|
+
import { customElement } from "lit/decorators.js";
|
|
23
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
24
|
+
var DSATableCaption = class extends LoadingStateElement {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
this.hasSlotController = new HasSlotController(
|
|
28
|
+
this,
|
|
29
|
+
"subtitle",
|
|
30
|
+
"total-items"
|
|
31
|
+
);
|
|
32
|
+
this.localize = new LocalizeController(this);
|
|
33
|
+
}
|
|
34
|
+
handleLoading() {
|
|
35
|
+
this.setAttribute("aria-busy", this.loading.toString());
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
const hasSubtitle = this.hasSlotController.test("subtitle");
|
|
39
|
+
const hasTotalItems = this.hasSlotController.test("total-items");
|
|
40
|
+
return html`
|
|
41
|
+
<slot part="title" name="title"></slot>
|
|
42
|
+
${this.loading && hasSubtitle ? html`<dsa-skeleton
|
|
43
|
+
class="subtitle-skeleton"
|
|
44
|
+
effect=${this.skeletonEffect}
|
|
45
|
+
></dsa-skeleton>` : html` <slot part="subtitle" name="subtitle"></slot> `}
|
|
46
|
+
${this.loading && hasTotalItems ? html`<dsa-skeleton
|
|
47
|
+
class="total-items-skeleton"
|
|
48
|
+
effect=${this.skeletonEffect}
|
|
49
|
+
></dsa-skeleton>` : html`
|
|
50
|
+
<p
|
|
51
|
+
part="total-items"
|
|
52
|
+
class=${classMap({
|
|
53
|
+
"has-total-items": hasTotalItems
|
|
54
|
+
})}
|
|
55
|
+
aria-hidden=${hasTotalItems ? "false" : "true"}
|
|
56
|
+
>
|
|
57
|
+
<slot name="total-items"></slot>
|
|
58
|
+
<span part="total-item--indicator"
|
|
59
|
+
>${this.localize.term("results")}</span
|
|
60
|
+
>
|
|
61
|
+
</p>
|
|
62
|
+
`}
|
|
63
|
+
`;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
DSATableCaption.styles = table_caption_styles_default;
|
|
67
|
+
__decorateClass([
|
|
68
|
+
watch("loading")
|
|
69
|
+
], DSATableCaption.prototype, "handleLoading", 1);
|
|
70
|
+
DSATableCaption = __decorateClass([
|
|
71
|
+
customElement("dsa-table-caption")
|
|
72
|
+
], DSATableCaption);
|
|
73
|
+
|
|
74
|
+
export {
|
|
75
|
+
DSATableCaption
|
|
76
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
form_control_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.O3TGEE3I.js";
|
|
4
4
|
import {
|
|
5
5
|
component_styles_default
|
|
6
6
|
} from "./chunk.TUVJKY7S.js";
|
|
@@ -85,15 +85,21 @@ var checkbox_styles_default = css`
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* Hover */
|
|
88
|
-
.checkbox:not(.checkbox--checked):not(.checkbox--disabled):
|
|
88
|
+
.checkbox:not(.checkbox--checked):not(.checkbox--disabled):not(
|
|
89
|
+
.checkbox--readonly
|
|
90
|
+
):hover
|
|
89
91
|
.checkbox__control,
|
|
90
|
-
.checkbox:not(.checkbox--checked):not(.checkbox--disabled)
|
|
92
|
+
.checkbox:not(.checkbox--checked):not(.checkbox--disabled):not(
|
|
93
|
+
.checkbox--readonly
|
|
94
|
+
)
|
|
91
95
|
.checkbox__control:hover {
|
|
92
96
|
border-color: var(--dsa-wc-checkbox-color-hover);
|
|
93
97
|
}
|
|
94
98
|
|
|
95
99
|
/* Focus */
|
|
96
|
-
.checkbox:not(.checkbox--checked):not(.checkbox--disabled)
|
|
100
|
+
.checkbox:not(.checkbox--checked):not(.checkbox--disabled):not(
|
|
101
|
+
.checkbox--readonly
|
|
102
|
+
)
|
|
97
103
|
.checkbox__input:focus-visible
|
|
98
104
|
~ .checkbox__control {
|
|
99
105
|
outline: var(--dsa-wc-focus-ring);
|
|
@@ -108,18 +114,23 @@ var checkbox_styles_default = css`
|
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
/* Checked/indeterminate + hover */
|
|
111
|
-
.checkbox.checkbox--checked:not(.checkbox--disabled)
|
|
112
|
-
|
|
117
|
+
.checkbox.checkbox--checked:not(.checkbox--disabled):not(.checkbox--readonly)
|
|
118
|
+
.checkbox__control:hover,
|
|
119
|
+
.checkbox.checkbox--indeterminate:not(.checkbox--disabled):not(
|
|
120
|
+
.checkbox--readonly
|
|
121
|
+
)
|
|
113
122
|
.checkbox__control:hover {
|
|
114
123
|
border-color: var(--dsa-wc-checkbox-color-active);
|
|
115
124
|
background-color: var(--dsa-wc-checkbox-color-active);
|
|
116
125
|
}
|
|
117
126
|
|
|
118
127
|
/* Checked/indeterminate + focus */
|
|
119
|
-
.checkbox.checkbox--checked:not(.checkbox--disabled)
|
|
128
|
+
.checkbox.checkbox--checked:not(.checkbox--disabled):not(.checkbox--readonly)
|
|
120
129
|
.checkbox__input:focus-visible
|
|
121
130
|
~ .checkbox__control,
|
|
122
|
-
.checkbox.checkbox--indeterminate:not(.checkbox--disabled)
|
|
131
|
+
.checkbox.checkbox--indeterminate:not(.checkbox--disabled):not(
|
|
132
|
+
.checkbox--readonly
|
|
133
|
+
)
|
|
123
134
|
.checkbox__input:focus-visible
|
|
124
135
|
~ .checkbox__control {
|
|
125
136
|
outline: var(--dsa-wc-focus-ring);
|
|
@@ -127,6 +138,10 @@ var checkbox_styles_default = css`
|
|
|
127
138
|
}
|
|
128
139
|
|
|
129
140
|
.checkbox__label:not(.checkbox--disabled) {
|
|
141
|
+
display: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.checkbox--has-label .checkbox__label:not(.checkbox--disabled) {
|
|
130
145
|
display: inline-block;
|
|
131
146
|
color: var(--dsa-wc-checkbox-color);
|
|
132
147
|
line-height: var(--toggle-size);
|
|
@@ -149,14 +164,25 @@ var checkbox_styles_default = css`
|
|
|
149
164
|
.checkbox--indeterminate.checkbox--disabled .checkbox__control {
|
|
150
165
|
background-color: var(--dsa-wc-checkbox-color-disabled);
|
|
151
166
|
}
|
|
152
|
-
.checkbox--disabled .checkbox__label {
|
|
167
|
+
.checkbox--disabled:not(.checkbox--readonly) .checkbox__label {
|
|
153
168
|
color: var(--dsa-wc-checkbox-label-color-disabled);
|
|
154
169
|
}
|
|
155
170
|
|
|
156
171
|
/* Error */
|
|
157
|
-
.checkbox--error
|
|
172
|
+
.checkbox--error:not(.checkbox--disabled):not(.checkbox--readonly)
|
|
173
|
+
> .checkbox__label {
|
|
158
174
|
color: var(--dsa-wc-checkbox-label-color-error);
|
|
159
175
|
}
|
|
176
|
+
|
|
177
|
+
/* Readonly */
|
|
178
|
+
.checkbox--readonly {
|
|
179
|
+
cursor: not-allowed;
|
|
180
|
+
}
|
|
181
|
+
.checkbox--disabled.checkbox--readonly .checkbox__control {
|
|
182
|
+
border-color: var(--dsa-wc-checkbox-border-color-readonly);
|
|
183
|
+
color: var(--dsa-wc-checkbox-color-readonly);
|
|
184
|
+
background-color: var(--dsa-wc-checkbox-background-color);
|
|
185
|
+
}
|
|
160
186
|
`;
|
|
161
187
|
|
|
162
188
|
export {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import {
|
|
2
|
+
table_head_styles_default
|
|
3
|
+
} from "./chunk.5L7UO75X.js";
|
|
4
|
+
import {
|
|
5
|
+
DSATable
|
|
6
|
+
} from "./chunk.S7VHPQOI.js";
|
|
7
|
+
import {
|
|
8
|
+
LoadingStateElement
|
|
9
|
+
} from "./chunk.PFGVYROJ.js";
|
|
10
|
+
import {
|
|
11
|
+
watch
|
|
12
|
+
} from "./chunk.6IH66JBY.js";
|
|
13
|
+
import {
|
|
14
|
+
__decorateClass
|
|
15
|
+
} from "./chunk.6M63UXML.js";
|
|
16
|
+
|
|
17
|
+
// src/components/table/table-head/table-head.ts
|
|
18
|
+
import { html } from "lit";
|
|
19
|
+
import { customElement, property } from "lit/decorators.js";
|
|
20
|
+
var DSATableHead = class extends LoadingStateElement {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.role = "rowgroup";
|
|
24
|
+
}
|
|
25
|
+
handleDefaultSlotChange() {
|
|
26
|
+
const parent = this.parentElement;
|
|
27
|
+
if (parent instanceof DSATable) {
|
|
28
|
+
parent.handleHeaderRowExpandable();
|
|
29
|
+
parent.handleHeaderRowSelectable();
|
|
30
|
+
parent.handleAlignmentChange();
|
|
31
|
+
parent.handleHeaderCellsCount();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
// Gets an array of all <dsa-table-header-row> elements
|
|
35
|
+
getAllRows() {
|
|
36
|
+
return [
|
|
37
|
+
...this.querySelectorAll("dsa-table-header-row")
|
|
38
|
+
];
|
|
39
|
+
}
|
|
40
|
+
// Gets an array of all <dsa-table-header-cell> elements
|
|
41
|
+
getAllCells() {
|
|
42
|
+
return [
|
|
43
|
+
...this.querySelectorAll("dsa-table-header-cell")
|
|
44
|
+
];
|
|
45
|
+
}
|
|
46
|
+
handleLoading() {
|
|
47
|
+
this.setAttribute("aria-busy", this.loading.toString());
|
|
48
|
+
const allRows = this.getAllRows();
|
|
49
|
+
allRows.forEach((el) => el.loading = this.loading);
|
|
50
|
+
const allCells = this.getAllCells();
|
|
51
|
+
allCells.forEach((el) => el.loading = this.loading);
|
|
52
|
+
}
|
|
53
|
+
handleSkeletonEffectChange() {
|
|
54
|
+
const allCells = this.getAllCells();
|
|
55
|
+
allCells.forEach((el) => el.skeletonEffect = this.skeletonEffect);
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
return html` <slot @slotchange=${this.handleDefaultSlotChange}></slot> `;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
DSATableHead.styles = table_head_styles_default;
|
|
62
|
+
__decorateClass([
|
|
63
|
+
property({ reflect: true })
|
|
64
|
+
], DSATableHead.prototype, "role", 2);
|
|
65
|
+
__decorateClass([
|
|
66
|
+
watch("loading")
|
|
67
|
+
], DSATableHead.prototype, "handleLoading", 1);
|
|
68
|
+
__decorateClass([
|
|
69
|
+
watch("skeletonEffect")
|
|
70
|
+
], DSATableHead.prototype, "handleSkeletonEffectChange", 1);
|
|
71
|
+
DSATableHead = __decorateClass([
|
|
72
|
+
customElement("dsa-table-head")
|
|
73
|
+
], DSATableHead);
|
|
74
|
+
|
|
75
|
+
export {
|
|
76
|
+
DSATableHead
|
|
77
|
+
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAAccordion
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.OXPE4AH7.js";
|
|
4
4
|
import "../../chunks/chunk.FYTGBKGY.js";
|
|
5
5
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
6
6
|
import "../../chunks/chunk.2FK6USFR.js";
|
|
7
7
|
import "../../chunks/chunk.V7RJROLH.js";
|
|
8
|
-
import "../../chunks/chunk.
|
|
9
|
-
import "../../chunks/chunk.
|
|
10
|
-
import "../../chunks/chunk.
|
|
11
|
-
import "../../chunks/chunk.XNEONNEJ.js";
|
|
8
|
+
import "../../chunks/chunk.27JQOQHL.js";
|
|
9
|
+
import "../../chunks/chunk.HB7A2UQ7.js";
|
|
10
|
+
import "../../chunks/chunk.QZTW3WMM.js";
|
|
12
11
|
import "../../chunks/chunk.LMJPQPQT.js";
|
|
13
12
|
import "../../chunks/chunk.O2PIWM25.js";
|
|
14
13
|
import "../../chunks/chunk.RDGMZ5XB.js";
|
|
15
14
|
import "../../chunks/chunk.RB6TMBWW.js";
|
|
15
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
16
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
16
17
|
import "../../chunks/chunk.6IH66JBY.js";
|
|
17
18
|
import "../../chunks/chunk.FDYFSRSX.js";
|
|
18
19
|
import "../../chunks/chunk.YCXTCVAZ.js";
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAAlert
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.P6TKBTE3.js";
|
|
4
|
+
import "../../chunks/chunk.IEBTPGUT.js";
|
|
5
|
+
import "../../chunks/chunk.4Z3LVWYW.js";
|
|
6
6
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
7
7
|
import "../../chunks/chunk.2FK6USFR.js";
|
|
8
8
|
import "../../chunks/chunk.V7RJROLH.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
10
|
-
import "../../chunks/chunk.
|
|
11
|
-
import "../../chunks/chunk.
|
|
12
|
-
import "../../chunks/chunk.XNEONNEJ.js";
|
|
9
|
+
import "../../chunks/chunk.27JQOQHL.js";
|
|
10
|
+
import "../../chunks/chunk.HB7A2UQ7.js";
|
|
11
|
+
import "../../chunks/chunk.QZTW3WMM.js";
|
|
13
12
|
import "../../chunks/chunk.LMJPQPQT.js";
|
|
14
13
|
import "../../chunks/chunk.O2PIWM25.js";
|
|
15
14
|
import "../../chunks/chunk.RDGMZ5XB.js";
|
|
16
15
|
import "../../chunks/chunk.RB6TMBWW.js";
|
|
16
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
17
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
17
18
|
import "../../chunks/chunk.6IH66JBY.js";
|
|
18
19
|
import "../../chunks/chunk.FDYFSRSX.js";
|
|
19
|
-
import "../../chunks/chunk.
|
|
20
|
+
import "../../chunks/chunk.INLQD4SQ.js";
|
|
20
21
|
import "../../chunks/chunk.ZQJVCRB2.js";
|
|
21
22
|
import "../../chunks/chunk.YCXTCVAZ.js";
|
|
22
23
|
import "../../chunks/chunk.TUVJKY7S.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAAvatar
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.5QYMKLPJ.js";
|
|
4
4
|
import "../../chunks/chunk.NHRDZGLI.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.23TOS4ZE.js";
|
|
7
|
-
import "../../chunks/chunk.XNEONNEJ.js";
|
|
5
|
+
import "../../chunks/chunk.QZTW3WMM.js";
|
|
8
6
|
import "../../chunks/chunk.LMJPQPQT.js";
|
|
9
7
|
import "../../chunks/chunk.O2PIWM25.js";
|
|
10
8
|
import "../../chunks/chunk.RDGMZ5XB.js";
|
|
11
9
|
import "../../chunks/chunk.RB6TMBWW.js";
|
|
10
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
11
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
12
12
|
import "../../chunks/chunk.6IH66JBY.js";
|
|
13
13
|
import "../../chunks/chunk.FDYFSRSX.js";
|
|
14
14
|
import "../../chunks/chunk.ZQJVCRB2.js";
|
|
@@ -8,8 +8,11 @@ import { ShoelaceElement } from '../../internal/shoelace-element';
|
|
|
8
8
|
*/
|
|
9
9
|
export default class DSABadge extends ShoelaceElement {
|
|
10
10
|
static styles: CSSResultGroup;
|
|
11
|
+
private readonly hasSlotController;
|
|
11
12
|
/** The badge's theme variant. */
|
|
12
13
|
variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger';
|
|
14
|
+
/** The badge's size. */
|
|
15
|
+
size: 'medium' | 'small';
|
|
13
16
|
/** Makes the badge pulsate to draw attention. */
|
|
14
17
|
pulse: boolean;
|
|
15
18
|
render(): import("lit").TemplateResult<1>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSABadge
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.66WACVGP.js";
|
|
4
|
+
import "../../chunks/chunk.YIY5RM53.js";
|
|
5
|
+
import "../../chunks/chunk.BVRGK5ZO.js";
|
|
5
6
|
import "../../chunks/chunk.YCXTCVAZ.js";
|
|
6
7
|
import "../../chunks/chunk.TUVJKY7S.js";
|
|
7
8
|
import "../../chunks/chunk.6M63UXML.js";
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSABreadcrumb
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.POJ5NHBX.js";
|
|
4
4
|
import "../../chunks/chunk.IGYXUK7A.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
8
|
-
import "../../chunks/chunk.XNEONNEJ.js";
|
|
5
|
+
import "../../chunks/chunk.27JQOQHL.js";
|
|
6
|
+
import "../../chunks/chunk.HB7A2UQ7.js";
|
|
7
|
+
import "../../chunks/chunk.QZTW3WMM.js";
|
|
9
8
|
import "../../chunks/chunk.LMJPQPQT.js";
|
|
10
9
|
import "../../chunks/chunk.O2PIWM25.js";
|
|
11
10
|
import "../../chunks/chunk.RDGMZ5XB.js";
|
|
12
11
|
import "../../chunks/chunk.RB6TMBWW.js";
|
|
12
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
13
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
13
14
|
import "../../chunks/chunk.6IH66JBY.js";
|
|
14
15
|
import "../../chunks/chunk.FDYFSRSX.js";
|
|
15
16
|
import "../../chunks/chunk.YCXTCVAZ.js";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSABreadcrumbItem
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.UXXDCLQD.js";
|
|
4
4
|
import "../../chunks/chunk.PULHNCDM.js";
|
|
5
5
|
import "../../chunks/chunk.YIY5RM53.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.27JQOQHL.js";
|
|
7
|
+
import "../../chunks/chunk.HB7A2UQ7.js";
|
|
7
8
|
import "../../chunks/chunk.YCXTCVAZ.js";
|
|
8
9
|
import "../../chunks/chunk.TUVJKY7S.js";
|
|
9
10
|
import "../../chunks/chunk.6M63UXML.js";
|
|
@@ -82,6 +82,8 @@ export default class DSAButton extends ShoelaceElement implements ShoelaceFormCo
|
|
|
82
82
|
formNoValidate: boolean;
|
|
83
83
|
/** Used to override the form owner's `target` attribute. */
|
|
84
84
|
formTarget: '_self' | '_blank' | '_parent' | '_top' | string;
|
|
85
|
+
/** Provides an accessible label for the button element */
|
|
86
|
+
ariaLabel: string;
|
|
85
87
|
/** Gets the validity state object */
|
|
86
88
|
get validity(): ValidityState;
|
|
87
89
|
/** Gets the validation message */
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAButton
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.BWQBVIRR.js";
|
|
4
|
+
import "../../chunks/chunk.LG4WLLQM.js";
|
|
5
5
|
import "../../chunks/chunk.S4ATPBQN.js";
|
|
6
6
|
import "../../chunks/chunk.KIFBWPW5.js";
|
|
7
7
|
import "../../chunks/chunk.YIY5RM53.js";
|
|
8
8
|
import "../../chunks/chunk.DXQY7NLW.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
10
|
-
import "../../chunks/chunk.
|
|
11
|
-
import "../../chunks/chunk.
|
|
12
|
-
import "../../chunks/chunk.XNEONNEJ.js";
|
|
9
|
+
import "../../chunks/chunk.27JQOQHL.js";
|
|
10
|
+
import "../../chunks/chunk.HB7A2UQ7.js";
|
|
11
|
+
import "../../chunks/chunk.QZTW3WMM.js";
|
|
13
12
|
import "../../chunks/chunk.LMJPQPQT.js";
|
|
14
13
|
import "../../chunks/chunk.O2PIWM25.js";
|
|
15
14
|
import "../../chunks/chunk.RDGMZ5XB.js";
|
|
16
15
|
import "../../chunks/chunk.RB6TMBWW.js";
|
|
16
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
17
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
17
18
|
import "../../chunks/chunk.6IH66JBY.js";
|
|
18
19
|
import "../../chunks/chunk.FDYFSRSX.js";
|
|
19
20
|
import "../../chunks/chunk.ZQJVCRB2.js";
|
|
@@ -22,6 +22,7 @@ import '../icon/icon';
|
|
|
22
22
|
export default class DSACheckbox extends ShoelaceElement implements ShoelaceFormControl {
|
|
23
23
|
static styles: CSSResultGroup;
|
|
24
24
|
private readonly formControlController;
|
|
25
|
+
private readonly hasSlotController;
|
|
25
26
|
input: HTMLInputElement;
|
|
26
27
|
private hasFocus;
|
|
27
28
|
title: string;
|
|
@@ -42,6 +43,8 @@ export default class DSACheckbox extends ShoelaceElement implements ShoelaceForm
|
|
|
42
43
|
indeterminate: boolean;
|
|
43
44
|
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
44
45
|
defaultChecked: boolean;
|
|
46
|
+
/** Sets the checkbox in readonly. */
|
|
47
|
+
readonly: boolean;
|
|
45
48
|
/** Indicates whether the checkbox's should be in error state */
|
|
46
49
|
error: boolean;
|
|
47
50
|
/** An error message that is shown when `error` is set to true */
|
|
@@ -54,6 +57,8 @@ export default class DSACheckbox extends ShoelaceElement implements ShoelaceForm
|
|
|
54
57
|
form: string;
|
|
55
58
|
/** Makes the checkbox a required field. */
|
|
56
59
|
required: boolean;
|
|
60
|
+
/** Provides an accessible label for the button element */
|
|
61
|
+
ariaLabel: string;
|
|
57
62
|
/** Gets the validity state object */
|
|
58
63
|
get validity(): ValidityState;
|
|
59
64
|
/** Gets the validation message */
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSACheckbox
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.EETYUDWR.js";
|
|
4
4
|
import "../../chunks/chunk.CMJ2SRTL.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.YAF5P5CP.js";
|
|
6
6
|
import "../../chunks/chunk.CPXD6UYZ.js";
|
|
7
7
|
import "../../chunks/chunk.EYZGEU3G.js";
|
|
8
|
-
import "../../chunks/chunk.
|
|
8
|
+
import "../../chunks/chunk.O3TGEE3I.js";
|
|
9
9
|
import "../../chunks/chunk.KIFBWPW5.js";
|
|
10
|
-
import "../../chunks/chunk.
|
|
11
|
-
import "../../chunks/chunk.
|
|
12
|
-
import "../../chunks/chunk.XNEONNEJ.js";
|
|
10
|
+
import "../../chunks/chunk.YIY5RM53.js";
|
|
11
|
+
import "../../chunks/chunk.QZTW3WMM.js";
|
|
13
12
|
import "../../chunks/chunk.LMJPQPQT.js";
|
|
14
13
|
import "../../chunks/chunk.O2PIWM25.js";
|
|
15
14
|
import "../../chunks/chunk.RDGMZ5XB.js";
|
|
16
15
|
import "../../chunks/chunk.RB6TMBWW.js";
|
|
16
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
17
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
17
18
|
import "../../chunks/chunk.6IH66JBY.js";
|
|
18
19
|
import "../../chunks/chunk.FDYFSRSX.js";
|
|
19
20
|
import "../../chunks/chunk.ZQJVCRB2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkbox_styles_default
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.YAF5P5CP.js";
|
|
4
|
+
import "../../chunks/chunk.O3TGEE3I.js";
|
|
5
5
|
import "../../chunks/chunk.TUVJKY7S.js";
|
|
6
6
|
import "../../chunks/chunk.6M63UXML.js";
|
|
7
7
|
export {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import "../../chunks/chunk.6HEEXQ6Q.js";
|
|
5
5
|
import "../../chunks/chunk.YIY5RM53.js";
|
|
6
6
|
import "../../chunks/chunk.DXQY7NLW.js";
|
|
7
|
-
import "../../chunks/chunk.
|
|
8
|
-
import "../../chunks/chunk.23TOS4ZE.js";
|
|
9
|
-
import "../../chunks/chunk.XNEONNEJ.js";
|
|
7
|
+
import "../../chunks/chunk.QZTW3WMM.js";
|
|
10
8
|
import "../../chunks/chunk.LMJPQPQT.js";
|
|
11
9
|
import "../../chunks/chunk.O2PIWM25.js";
|
|
12
10
|
import "../../chunks/chunk.RDGMZ5XB.js";
|
|
13
11
|
import "../../chunks/chunk.RB6TMBWW.js";
|
|
12
|
+
import "../../chunks/chunk.23TOS4ZE.js";
|
|
13
|
+
import "../../chunks/chunk.XNEONNEJ.js";
|
|
14
14
|
import "../../chunks/chunk.6IH66JBY.js";
|
|
15
15
|
import "../../chunks/chunk.FDYFSRSX.js";
|
|
16
16
|
import "../../chunks/chunk.YCXTCVAZ.js";
|
|
@@ -48,6 +48,10 @@ export default class DSACheckboxGroup extends ShoelaceElement implements Shoelac
|
|
|
48
48
|
form: string;
|
|
49
49
|
/** Ensures a child checkbox is checked before allowing the containing form to submit. */
|
|
50
50
|
required: boolean;
|
|
51
|
+
/** Disables children checkboxes */
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
/** Sets children checkboxes to readonly. */
|
|
54
|
+
readonly: boolean;
|
|
51
55
|
/** Sets the orientation of the checkbox options */
|
|
52
56
|
horizontal: boolean;
|
|
53
57
|
/** Indicates whether the group should be in error state */
|