@designsystem-se/af 39.1.0-beta.2 → 39.1.0-beta.3
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/components/digi-bar-chart.js +1 -1
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-week-view.js +2 -2
- package/components/digi-chart-line.js +1 -1
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +2 -2
- package/components/digi-context-menu.js +1 -1
- package/components/digi-dialog.js +1 -1
- package/components/digi-form-category-filter.js +1 -1
- package/components/digi-form-error-list.js +2 -2
- package/components/digi-form-file-upload.js +1 -1
- package/components/digi-form-filter.js +1 -1
- package/components/digi-form-input-search.js +2 -2
- package/components/digi-form-select-filter.js +1 -1
- package/components/digi-header-navigation.js +1 -1
- package/components/digi-header.js +2 -2
- package/components/digi-navigation-pagination.js +1 -1
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-tag.js +1 -1
- package/components/digi-tools-feedback-banner.js +7 -2
- package/components/digi-tools-feedback.js +1 -1
- package/components/p-3IdGnhr5.js +172 -0
- package/components/{p-DDZ0nalw.js → p-B-hL6z4l.js} +1 -1
- package/components/{p-Dq9EWvk8.js → p-BOM-CTrq.js} +1 -1
- package/components/{p-C32dTT4K.js → p-BZkK1uIs.js} +1 -1
- package/dist/cjs/button-type.enum-2UH0KkO-.js +8 -0
- package/dist/cjs/{button-variation.enum-DkUalo9f.js → button-variation.enum-ngMqFLdW.js} +6 -0
- package/dist/cjs/{code-example-variation.enum-BCENTUV2.js → code-example-variation.enum-Cq-BioXW.js} +0 -6
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/{digi-calendar-week-view.cjs.entry.js → digi-button_5.cjs.entry.js} +260 -72
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +10 -6
- package/dist/cjs/digi-code-block_3.cjs.entry.js +10 -6
- package/dist/cjs/digi-code-example.cjs.entry.js +4 -4
- package/dist/cjs/digi-dialog.cjs.entry.js +10 -6
- package/dist/cjs/digi-footer.cjs.entry.js +9 -5
- package/dist/cjs/digi-form-error-list.cjs.entry.js +9 -5
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +11 -10
- package/dist/cjs/digi-form-input-search.cjs.entry.js +9 -7
- package/dist/cjs/digi-form-input.cjs.entry.js +205 -0
- package/dist/cjs/digi-form-label_3.cjs.entry.js +147 -0
- package/dist/cjs/digi-form-receipt.cjs.entry.js +9 -5
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +649 -0
- package/dist/cjs/digi-header-navigation.cjs.entry.js +9 -5
- package/dist/cjs/digi-header.cjs.entry.js +9 -5
- package/dist/cjs/digi-icon-check.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +51 -0
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +9 -5
- package/dist/cjs/digi-notification-alert.cjs.entry.js +9 -5
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +9 -5
- package/dist/cjs/digi-title-logo.cjs.entry.js +9 -5
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +7 -2
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +11 -7
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +81 -0
- package/dist/cjs/{form-validation-message-variation.enum-DgkifAnP.js → form-file-upload-variation.enum-xcEOoggr.js} +0 -7
- package/dist/cjs/form-input-search-variation.enum-VVfvlVeM.js +8 -0
- package/dist/cjs/{form-input-type.enum-B2CsNSBg.js → form-input-type.enum-DvF_MTHK.js} +0 -14
- package/dist/cjs/form-input-variation.enum-kpoXNUuI.js +29 -0
- package/dist/cjs/form-validation-message-variation.enum-BA5nmCiw.js +8 -0
- package/dist/cjs/index-tbq85ezH.js +26 -10
- package/dist/cjs/index.cjs.js +52 -48
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{typography-variation.enum-4snUBTF7.js → typography-variation.enum-BDSt7CVI.js} +0 -28
- package/dist/collection/components/_button/button/button.css +23 -0
- package/dist/collection/components/_calendar/week-view/calendar-week-view.css +36 -47
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +11 -15
- package/dist/collection/components/_form/form-input-search/form-input-search.css +0 -4
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +7 -2
- package/dist/collection/design-tokens/components/_button.variables.scss +6 -0
- package/dist/collection/design-tokens/components/_logo.variables.scss +17 -15
- package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +6 -0
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/p-0a993ca4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0b0009eb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-21853656.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-23d8d58c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-28f335d8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2f65802b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-77d355fe.entry.js → p-4336cdff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4c9a428d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4ee14c12.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4smNltRI.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5c7e6e61.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-60928fb0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-68e721b1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7da0451b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-87e306b0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8848ce2b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-91a0e1ca.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9d3da044.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-B8hpiXmh.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BMQm4N5I.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BSJH8Lpg.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BfyJgcLA.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BvWKyXb_.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DGI7Jkg2.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DShzaNrQ.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DfWZa2Wv.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a563f0f4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ad7e2dc6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-beab4698.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c9c140af.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d62e264c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ef47f143.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f9a2a80e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-feaeab97.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-DbBOgLZR.js → p-xwICssEK.js} +1 -1
- package/dist/esm/button-type.enum-DShzaNrQ.js +8 -0
- package/dist/esm/{button-variation.enum-y5Nm4oWF.js → button-variation.enum-BMQm4N5I.js} +7 -1
- package/dist/esm/{code-example-variation.enum-Ooszw6tl.js → code-example-variation.enum-DGI7Jkg2.js} +1 -7
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/{digi-calendar-week-view.entry.js → digi-button_5.entry.js} +190 -6
- package/dist/esm/digi-calendar-datepicker.entry.js +10 -6
- package/dist/esm/digi-code-block_3.entry.js +9 -5
- package/dist/esm/digi-code-example.entry.js +2 -2
- package/dist/esm/digi-dialog.entry.js +9 -5
- package/dist/esm/digi-footer.entry.js +9 -5
- package/dist/esm/digi-form-error-list.entry.js +9 -5
- package/dist/esm/digi-form-file-upload.entry.js +3 -2
- package/dist/esm/digi-form-input-search.entry.js +4 -2
- package/dist/esm/digi-form-input.entry.js +203 -0
- package/dist/esm/digi-form-label_3.entry.js +143 -0
- package/dist/esm/digi-form-receipt.entry.js +9 -5
- package/dist/esm/digi-form-select-filter.entry.js +647 -0
- package/dist/esm/digi-header-navigation.entry.js +9 -5
- package/dist/esm/digi-header.entry.js +9 -5
- package/dist/esm/digi-icon-check.entry.js +26 -0
- package/dist/esm/digi-icon-chevron-down.entry.js +26 -0
- package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
- package/dist/esm/digi-navigation-pagination.entry.js +9 -5
- package/dist/esm/digi-notification-alert.entry.js +9 -5
- package/dist/esm/digi-notification-error-page.entry.js +9 -5
- package/dist/esm/digi-title-logo.entry.js +9 -5
- package/dist/esm/digi-tools-feedback-banner.entry.js +7 -2
- package/dist/esm/digi-tools-feedback.entry.js +9 -5
- package/dist/esm/digi-util-keydown-handler.entry.js +79 -0
- package/dist/esm/{form-validation-message-variation.enum-9n7Okhf1.js → form-file-upload-variation.enum-BfyJgcLA.js} +1 -8
- package/dist/esm/form-input-search-variation.enum-BvWKyXb_.js +8 -0
- package/dist/esm/{form-input-type.enum-CN1mgrt1.js → form-input-type.enum-BSJH8Lpg.js} +1 -15
- package/dist/esm/form-input-variation.enum-DfWZa2Wv.js +29 -0
- package/dist/esm/form-validation-message-variation.enum-B8hpiXmh.js +8 -0
- package/dist/esm/{index-DnTiPaEs.js → index-B1Je6g2n.js} +1 -1
- package/dist/esm/index-Co_lVhh_.js +26 -10
- package/dist/esm/index.js +9 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{typography-variation.enum-BDBYHWrh.js → typography-variation.enum-4smNltRI.js} +1 -29
- package/dist/types/components/_tools/tools-feedback-banner/tools-feedback-banner.d.ts +1 -0
- package/hydrate/index.js +11 -6
- package/hydrate/index.mjs +11 -6
- package/package.json +1 -1
- package/components/p--RxphPe_.js +0 -172
- package/dist/cjs/digi-button_11.cjs.entry.js +0 -1274
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -51
- package/dist/cjs/digi-typography.cjs.entry.js +0 -22
- package/dist/digi-arbetsformedlingen/p-0dc8c1f1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-14d011c8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-31d3b121.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-38d6c196.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-44c16261.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-45f30e15.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-478dd735.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-591509af.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8c4b642e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8fb4e6a3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-93367afb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9n7Okhf1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BDBYHWrh.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CN1mgrt1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-Ooszw6tl.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aaeddc10.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ab84eed8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bd635299.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c273763e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c73ddbe2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cd90ab0b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cfe0bcf9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d441cad3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fd330ef0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-y5Nm4oWF.js +0 -1
- package/dist/esm/digi-button_11.entry.js +0 -1262
- package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
- package/dist/esm/digi-typography.entry.js +0 -20
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, d as getElement } from './index-Co_lVhh_.js';
|
|
2
2
|
import './badge-notification-shape.enum-CKoZU0-H.js';
|
|
3
|
-
import { H as HeaderCenterContentWidth } from './typography-variation.enum-
|
|
3
|
+
import { H as HeaderCenterContentWidth } from './typography-variation.enum-4smNltRI.js';
|
|
4
4
|
import './badge-status-variation.enum-C0A-p3cU.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './button-variation.enum-y5Nm4oWF.js';
|
|
5
|
+
import './button-variation.enum-BMQm4N5I.js';
|
|
6
|
+
import './button-type.enum-DShzaNrQ.js';
|
|
8
7
|
import './calendar-week-view-heading-level.enum-DH_-wpLB.js';
|
|
9
8
|
import './bar-chart-variation.enum-DPeoHh1J.js';
|
|
9
|
+
import './code-example-variation.enum-DGI7Jkg2.js';
|
|
10
10
|
import './code-variation.enum-qc6KRZue.js';
|
|
11
11
|
import './expandable-accordion-header-level.enum-DwNlf6Sh.js';
|
|
12
12
|
import './expandable-faq-item-variation.enum-C6B2KRZo.js';
|
|
13
13
|
import './expandable-faq-variation.enum-CES5gUEo.js';
|
|
14
14
|
import './footer-card-variation.enum-DzSu1-K0.js';
|
|
15
15
|
import './form-checkbox-variation.enum-6-MpaVf8.js';
|
|
16
|
-
import './form-
|
|
16
|
+
import './form-file-upload-variation.enum-BfyJgcLA.js';
|
|
17
|
+
import './form-input-search-variation.enum-BvWKyXb_.js';
|
|
18
|
+
import './form-input-type.enum-BSJH8Lpg.js';
|
|
19
|
+
import './form-input-variation.enum-DfWZa2Wv.js';
|
|
17
20
|
import './form-radiogroup-validation.enum-DcnvI7UR.js';
|
|
18
21
|
import './form-select-variation.enum-DCS1KcvC.js';
|
|
19
22
|
import './form-textarea-variation.enum-DogB9kfH.js';
|
|
23
|
+
import './form-validation-message-variation.enum-B8hpiXmh.js';
|
|
20
24
|
import './info-card-multi-type.enum-CkIb3cUS.js';
|
|
21
25
|
import './info-card-variation.enum-_ycZeBN4.js';
|
|
22
26
|
import './layout-container-max-width.enum-CuhrrYGE.js';
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { r as registerInstance, h, d as getElement } from './index-Co_lVhh_.js';
|
|
2
2
|
import './badge-notification-shape.enum-CKoZU0-H.js';
|
|
3
|
-
import { H as HeaderCenterContentWidth } from './typography-variation.enum-
|
|
3
|
+
import { H as HeaderCenterContentWidth } from './typography-variation.enum-4smNltRI.js';
|
|
4
4
|
import './badge-status-variation.enum-C0A-p3cU.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './button-variation.enum-y5Nm4oWF.js';
|
|
5
|
+
import './button-variation.enum-BMQm4N5I.js';
|
|
6
|
+
import './button-type.enum-DShzaNrQ.js';
|
|
8
7
|
import './calendar-week-view-heading-level.enum-DH_-wpLB.js';
|
|
9
8
|
import './bar-chart-variation.enum-DPeoHh1J.js';
|
|
9
|
+
import './code-example-variation.enum-DGI7Jkg2.js';
|
|
10
10
|
import './code-variation.enum-qc6KRZue.js';
|
|
11
11
|
import './expandable-accordion-header-level.enum-DwNlf6Sh.js';
|
|
12
12
|
import './expandable-faq-item-variation.enum-C6B2KRZo.js';
|
|
13
13
|
import './expandable-faq-variation.enum-CES5gUEo.js';
|
|
14
14
|
import './footer-card-variation.enum-DzSu1-K0.js';
|
|
15
15
|
import './form-checkbox-variation.enum-6-MpaVf8.js';
|
|
16
|
-
import './form-
|
|
16
|
+
import './form-file-upload-variation.enum-BfyJgcLA.js';
|
|
17
|
+
import './form-input-search-variation.enum-BvWKyXb_.js';
|
|
18
|
+
import './form-input-type.enum-BSJH8Lpg.js';
|
|
19
|
+
import './form-input-variation.enum-DfWZa2Wv.js';
|
|
17
20
|
import './form-radiogroup-validation.enum-DcnvI7UR.js';
|
|
18
21
|
import './form-select-variation.enum-DCS1KcvC.js';
|
|
19
22
|
import './form-textarea-variation.enum-DogB9kfH.js';
|
|
23
|
+
import './form-validation-message-variation.enum-B8hpiXmh.js';
|
|
20
24
|
import './info-card-multi-type.enum-CkIb3cUS.js';
|
|
21
25
|
import './info-card-variation.enum-_ycZeBN4.js';
|
|
22
26
|
import { L as LayoutBlockContainer } from './layout-container-max-width.enum-CuhrrYGE.js';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-Co_lVhh_.js';
|
|
2
|
+
import { r as randomIdGenerator } from './randomIdGenerator.util-BGaIliX6.js';
|
|
3
|
+
|
|
4
|
+
const iconCheckCss = () => `.sc-digi-icon-check-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-check-h svg.sc-digi-icon-check{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}`;
|
|
5
|
+
|
|
6
|
+
const IconCheck = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* För att dölja ikonen för skärmläsare. Default är satt till true.
|
|
11
|
+
* @en Hides the icon for screen readers. Default is set to true.
|
|
12
|
+
*/
|
|
13
|
+
this.afSvgAriaHidden = true;
|
|
14
|
+
this.titleId = randomIdGenerator('icontitle');
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (h("svg", { key: '6f876190ee1cdd56d449aab39acdd01f080d6cd6', class: "digi-icon-check", width: "23", height: "18", viewBox: "0 0 23 18", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
18
|
+
? this.afSvgAriaLabelledby
|
|
19
|
+
: this.afTitle
|
|
20
|
+
? this.titleId
|
|
21
|
+
: undefined }, this.afTitle && h("title", { key: 'bef781ca98e73396b1fe60b65796e2a1e2f9dc05', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '9d4a13004fbaaed886b59fc22dbee79245af10de' }, this.afDesc), h("path", { key: '102e5f0057f44c0e8a33888386a7777a4ce58b96', class: "digi-icon-check__shape", d: "M20.547.18L7.315 13.627 2.453 8.686a.597.597 0 00-.853 0L.177 10.132a.62.62 0 000 .868l6.711 6.82c.236.24.618.24.854 0L22.823 2.493a.62.62 0 000-.867L21.4.18a.597.597 0 00-.853 0z", fill: "currentColor", "fill-rule": "nonzero" })));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
IconCheck.style = iconCheckCss();
|
|
25
|
+
|
|
26
|
+
export { IconCheck as digi_icon_check };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-Co_lVhh_.js';
|
|
2
|
+
import { r as randomIdGenerator } from './randomIdGenerator.util-BGaIliX6.js';
|
|
3
|
+
|
|
4
|
+
const iconChevronDownCss = () => `.sc-digi-icon-chevron-down-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-chevron-down-h svg.sc-digi-icon-chevron-down{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}`;
|
|
5
|
+
|
|
6
|
+
const IconChevronDown = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* För att dölja ikonen för skärmläsare. Default är satt till true.
|
|
11
|
+
* @en Hides the icon for screen readers. Default is set to true.
|
|
12
|
+
*/
|
|
13
|
+
this.afSvgAriaHidden = true;
|
|
14
|
+
this.titleId = randomIdGenerator('icontitle');
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (h("svg", { key: '14c50bb9ce94f2ae7e6b89e99417668515a0e1fa', class: "digi-icon-chevron-down", width: "14", height: "8", viewBox: "0 0 14 8", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
18
|
+
? this.afSvgAriaLabelledby
|
|
19
|
+
: this.afTitle
|
|
20
|
+
? this.titleId
|
|
21
|
+
: undefined }, this.afTitle && h("title", { key: '4692fea634337c2e89e5eeac67c707c84f919563', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '3948943affb34ebc1967aeb54389b0c3230e6daf' }, this.afDesc), h("path", { key: '252f72d574b43e0d794341fa05f5a2cf39cedb4d', class: "digi-icon-chevron-down__shape", d: "M1 1l6.074 6L13 1.147", stroke: "currentColor", "stroke-width": "2", fill: "none", "fill-rule": "evenodd" })));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
IconChevronDown.style = iconChevronDownCss();
|
|
25
|
+
|
|
26
|
+
export { IconChevronDown as digi_icon_chevron_down };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-Co_lVhh_.js';
|
|
2
|
+
import { r as randomIdGenerator } from './randomIdGenerator.util-BGaIliX6.js';
|
|
3
|
+
|
|
4
|
+
const iconValidationErrorCss = () => `.sc-digi-icon-validation-error-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-validation-error-h svg.sc-digi-icon-validation-error{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}`;
|
|
5
|
+
|
|
6
|
+
const IconValidationError = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* För att dölja ikonen för skärmläsare. Default är satt till true.
|
|
11
|
+
* @en Hides the icon for screen readers. Default is set to true.
|
|
12
|
+
*/
|
|
13
|
+
this.afSvgAriaHidden = true;
|
|
14
|
+
this.titleId = randomIdGenerator('icontitle');
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (h("svg", { key: 'b20fb61395f90adad2b9e5be72d3e2ea3c5a3feb', class: "digi-icon-validation-error", width: "48", height: "48", viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
18
|
+
? this.afSvgAriaLabelledby
|
|
19
|
+
: this.afTitle
|
|
20
|
+
? this.titleId
|
|
21
|
+
: undefined }, this.afTitle && h("title", { key: '5e08a1b947d534b913fff06e02109b53c607a0be', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'f016b92eb4957943a5308d12db1ce2f1b73fae3f' }, this.afDesc), h("path", { key: 'f5ba662eeb6689959a6990ae2e880edc42670490', class: "digi-icon-validation-error__shape", d: "M34.4328058,0 C35.5494848,0 36.5900526,0.609146757 37.1483921,1.58958113 L47.5812454,19.9104189 C48.1395849,20.8909496 48.1395849,22.1090504 47.5812454,23.0895811 L37.1483921,41.4104189 C36.5900526,42.3908532 35.5494848,43 34.4328058,43 L13.5671942,43 C12.4505152,43 11.4099474,42.3908532 10.8516079,41.4104189 L0.41875464,23.0895811 C-0.13958488,22.1090504 -0.13958488,20.8909496 0.41875464,19.9104189 L10.8516079,1.58958113 C11.4099474,0.609146757 12.4505152,0 13.5671942,0 Z M18.6736823,12.3728178 C18.2711762,11.964729 17.6203819,11.964729 17.2178757,12.3728178 L15.2825964,14.334939 C14.8800903,14.7430278 14.8800903,15.4028485 15.2825964,15.8109373 L20.6089616,21.2111779 L15.2825964,26.6114185 C14.8800903,27.0195074 14.8800903,27.6793281 15.2825964,28.0874169 L17.2178757,30.049538 C17.6203819,30.4576269 18.2711762,30.4576269 18.6736823,30.049538 L24.0000475,24.6492974 L29.3264127,30.049538 C29.7289188,30.4576269 30.3797132,30.4576269 30.7822193,30.049538 L32.7174986,28.0874169 C33.1200048,27.6793281 33.1200048,27.0195074 32.7174986,26.6114185 L27.3911334,21.2111779 L32.7174986,15.8109373 C33.1200048,15.4028485 33.1200048,14.7430278 32.7174986,14.334939 L30.7822193,12.3728178 C30.3797132,11.964729 29.7289188,11.964729 29.3264127,12.3728178 L24.0000475,17.7730584 Z", fill: "currentColor", "fill-rule": "nonzero" })));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
IconValidationError.style = iconValidationErrorCss();
|
|
25
|
+
|
|
26
|
+
const iconValidationWarningCss = () => `.sc-digi-icon-validation-warning-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-validation-warning-h svg.sc-digi-icon-validation-warning{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}`;
|
|
27
|
+
|
|
28
|
+
const IconValidationWarning = class {
|
|
29
|
+
constructor(hostRef) {
|
|
30
|
+
registerInstance(this, hostRef);
|
|
31
|
+
/**
|
|
32
|
+
* För att dölja ikonen för skärmläsare. Default är satt till true.
|
|
33
|
+
* @en Hides the icon for screen readers. Default is set to true.
|
|
34
|
+
*/
|
|
35
|
+
this.afSvgAriaHidden = true;
|
|
36
|
+
this.titleId = randomIdGenerator('icontitle');
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return (h("div", { key: '7017a09730cca2dafe42548b11d18e34a693f81b' }, h("svg", { key: 'd56b196f88aaf6dd87bb416e422d399667e80202', class: "digi-icon-validation-warning", width: "18", height: "18", viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
40
|
+
? this.afSvgAriaLabelledby
|
|
41
|
+
: this.afTitle
|
|
42
|
+
? this.titleId
|
|
43
|
+
: undefined }, this.afTitle && h("title", { key: '25751b0fd552d8dcabc3402345ba8528126dd973', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '41476cbdf1b92dd9b7c44d8791481a5cf00186ca' }, this.afDesc), h("g", { key: '6607df5c4713e5680fcaa2e9ea29b7cab5064e3d', fill: "none", "fill-rule": "evenodd" }, h("circle", { key: 'c87e6472093671bc2f1f6b3d7eb0b34f512468c1', cx: "9", cy: "9", r: "6.75", fill: "#333" }), h("path", { key: '17b79d3e780ecbb2394b38586388ea457c65a2f7', d: "m18 9c0 4.9717-4.0298 9-9 9-4.9702 0-9-4.0283-9-9 0-4.9688 4.0298-9 9-9 4.9702 0 9 4.0312 9 9zm-9 1.8145c-0.92196 0-1.6694 0.7474-1.6694 1.6694 0 0.92196 0.7474 1.6694 1.6694 1.6694s1.6694-0.7474 1.6694-1.6694c0-0.92196-0.7474-1.6694-1.6694-1.6694zm-1.3157-1.065c0.012593 0.23095 0.20355 0.41175 0.43483 0.41175h1.7618c0.23128 0 0.42224-0.1808 0.43483-0.41175l0.2692-4.9355c0.013609-0.24946-0.18501-0.45922-0.43483-0.45922h-2.3002c-0.24982 0-0.4484 0.20976-0.43479 0.45922l0.2692 4.9355z", fill: "#FFE200" })))));
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
IconValidationWarning.style = iconValidationWarningCss();
|
|
47
|
+
|
|
48
|
+
export { IconValidationError as digi_icon_validation_error, IconValidationWarning as digi_icon_validation_warning };
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-Co_lVhh_.js';
|
|
2
2
|
import { r as randomIdGenerator } from './randomIdGenerator.util-BGaIliX6.js';
|
|
3
3
|
import './badge-notification-shape.enum-CKoZU0-H.js';
|
|
4
|
-
import './typography-variation.enum-
|
|
4
|
+
import './typography-variation.enum-4smNltRI.js';
|
|
5
5
|
import './badge-status-variation.enum-C0A-p3cU.js';
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import { B as ButtonVariation } from './button-variation.enum-y5Nm4oWF.js';
|
|
6
|
+
import { a as ButtonVariation } from './button-variation.enum-BMQm4N5I.js';
|
|
7
|
+
import './button-type.enum-DShzaNrQ.js';
|
|
9
8
|
import './calendar-week-view-heading-level.enum-DH_-wpLB.js';
|
|
10
9
|
import './bar-chart-variation.enum-DPeoHh1J.js';
|
|
10
|
+
import './code-example-variation.enum-DGI7Jkg2.js';
|
|
11
11
|
import './code-variation.enum-qc6KRZue.js';
|
|
12
12
|
import './expandable-accordion-header-level.enum-DwNlf6Sh.js';
|
|
13
13
|
import './expandable-faq-item-variation.enum-C6B2KRZo.js';
|
|
14
14
|
import './expandable-faq-variation.enum-CES5gUEo.js';
|
|
15
15
|
import './footer-card-variation.enum-DzSu1-K0.js';
|
|
16
16
|
import './form-checkbox-variation.enum-6-MpaVf8.js';
|
|
17
|
-
import './form-
|
|
17
|
+
import './form-file-upload-variation.enum-BfyJgcLA.js';
|
|
18
|
+
import './form-input-search-variation.enum-BvWKyXb_.js';
|
|
19
|
+
import './form-input-type.enum-BSJH8Lpg.js';
|
|
20
|
+
import './form-input-variation.enum-DfWZa2Wv.js';
|
|
18
21
|
import './form-radiogroup-validation.enum-DcnvI7UR.js';
|
|
19
22
|
import './form-select-variation.enum-DCS1KcvC.js';
|
|
20
23
|
import './form-textarea-variation.enum-DogB9kfH.js';
|
|
24
|
+
import './form-validation-message-variation.enum-B8hpiXmh.js';
|
|
21
25
|
import './info-card-multi-type.enum-CkIb3cUS.js';
|
|
22
26
|
import './info-card-variation.enum-_ycZeBN4.js';
|
|
23
27
|
import './layout-container-max-width.enum-CuhrrYGE.js';
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, d as getElement } from './index-Co_lVhh_.js';
|
|
2
2
|
import { r as randomIdGenerator } from './randomIdGenerator.util-BGaIliX6.js';
|
|
3
|
-
import { N as NotificationAlertHeadingLevel,
|
|
3
|
+
import { N as NotificationAlertHeadingLevel, p as NotificationAlertSize, q as NotificationAlertVariation, u as TypographyVariation } from './typography-variation.enum-4smNltRI.js';
|
|
4
4
|
import './badge-notification-shape.enum-CKoZU0-H.js';
|
|
5
5
|
import './badge-status-variation.enum-C0A-p3cU.js';
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import { B as ButtonVariation } from './button-variation.enum-y5Nm4oWF.js';
|
|
6
|
+
import { a as ButtonVariation } from './button-variation.enum-BMQm4N5I.js';
|
|
7
|
+
import './button-type.enum-DShzaNrQ.js';
|
|
9
8
|
import './calendar-week-view-heading-level.enum-DH_-wpLB.js';
|
|
10
9
|
import './bar-chart-variation.enum-DPeoHh1J.js';
|
|
10
|
+
import './code-example-variation.enum-DGI7Jkg2.js';
|
|
11
11
|
import './code-variation.enum-qc6KRZue.js';
|
|
12
12
|
import './expandable-accordion-header-level.enum-DwNlf6Sh.js';
|
|
13
13
|
import './expandable-faq-item-variation.enum-C6B2KRZo.js';
|
|
14
14
|
import './expandable-faq-variation.enum-CES5gUEo.js';
|
|
15
15
|
import './footer-card-variation.enum-DzSu1-K0.js';
|
|
16
16
|
import './form-checkbox-variation.enum-6-MpaVf8.js';
|
|
17
|
-
import './form-
|
|
17
|
+
import './form-file-upload-variation.enum-BfyJgcLA.js';
|
|
18
|
+
import './form-input-search-variation.enum-BvWKyXb_.js';
|
|
19
|
+
import './form-input-type.enum-BSJH8Lpg.js';
|
|
20
|
+
import './form-input-variation.enum-DfWZa2Wv.js';
|
|
18
21
|
import './form-radiogroup-validation.enum-DcnvI7UR.js';
|
|
19
22
|
import './form-select-variation.enum-DCS1KcvC.js';
|
|
20
23
|
import './form-textarea-variation.enum-DogB9kfH.js';
|
|
24
|
+
import './form-validation-message-variation.enum-B8hpiXmh.js';
|
|
21
25
|
import './info-card-multi-type.enum-CkIb3cUS.js';
|
|
22
26
|
import './info-card-variation.enum-_ycZeBN4.js';
|
|
23
27
|
import './layout-container-max-width.enum-CuhrrYGE.js';
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { h, r as registerInstance, a as Host, d as getElement } from './index-Co_lVhh_.js';
|
|
2
|
-
import { E as ErrorPageStatusCodes } from './typography-variation.enum-
|
|
2
|
+
import { E as ErrorPageStatusCodes } from './typography-variation.enum-4smNltRI.js';
|
|
3
3
|
import { r as randomIdGenerator } from './randomIdGenerator.util-BGaIliX6.js';
|
|
4
4
|
import './badge-notification-shape.enum-CKoZU0-H.js';
|
|
5
5
|
import './badge-status-variation.enum-C0A-p3cU.js';
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './button-variation.enum-y5Nm4oWF.js';
|
|
6
|
+
import './button-variation.enum-BMQm4N5I.js';
|
|
7
|
+
import './button-type.enum-DShzaNrQ.js';
|
|
9
8
|
import './calendar-week-view-heading-level.enum-DH_-wpLB.js';
|
|
10
9
|
import './bar-chart-variation.enum-DPeoHh1J.js';
|
|
10
|
+
import './code-example-variation.enum-DGI7Jkg2.js';
|
|
11
11
|
import './code-variation.enum-qc6KRZue.js';
|
|
12
12
|
import './expandable-accordion-header-level.enum-DwNlf6Sh.js';
|
|
13
13
|
import './expandable-faq-item-variation.enum-C6B2KRZo.js';
|
|
14
14
|
import './expandable-faq-variation.enum-CES5gUEo.js';
|
|
15
15
|
import './footer-card-variation.enum-DzSu1-K0.js';
|
|
16
16
|
import './form-checkbox-variation.enum-6-MpaVf8.js';
|
|
17
|
-
import './form-
|
|
17
|
+
import './form-file-upload-variation.enum-BfyJgcLA.js';
|
|
18
|
+
import './form-input-search-variation.enum-BvWKyXb_.js';
|
|
19
|
+
import './form-input-type.enum-BSJH8Lpg.js';
|
|
20
|
+
import './form-input-variation.enum-DfWZa2Wv.js';
|
|
18
21
|
import './form-radiogroup-validation.enum-DcnvI7UR.js';
|
|
19
22
|
import './form-select-variation.enum-DCS1KcvC.js';
|
|
20
23
|
import './form-textarea-variation.enum-DogB9kfH.js';
|
|
24
|
+
import './form-validation-message-variation.enum-B8hpiXmh.js';
|
|
21
25
|
import './info-card-multi-type.enum-CkIb3cUS.js';
|
|
22
26
|
import './info-card-variation.enum-_ycZeBN4.js';
|
|
23
27
|
import './layout-container-max-width.enum-CuhrrYGE.js';
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { r as registerInstance, h, d as getElement } from './index-Co_lVhh_.js';
|
|
2
2
|
import './badge-notification-shape.enum-CKoZU0-H.js';
|
|
3
|
-
import { T as TitleLogoVariation } from './typography-variation.enum-
|
|
3
|
+
import { T as TitleLogoVariation } from './typography-variation.enum-4smNltRI.js';
|
|
4
4
|
import './badge-status-variation.enum-C0A-p3cU.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './button-variation.enum-y5Nm4oWF.js';
|
|
5
|
+
import './button-variation.enum-BMQm4N5I.js';
|
|
6
|
+
import './button-type.enum-DShzaNrQ.js';
|
|
8
7
|
import './calendar-week-view-heading-level.enum-DH_-wpLB.js';
|
|
9
8
|
import './bar-chart-variation.enum-DPeoHh1J.js';
|
|
9
|
+
import './code-example-variation.enum-DGI7Jkg2.js';
|
|
10
10
|
import './code-variation.enum-qc6KRZue.js';
|
|
11
11
|
import './expandable-accordion-header-level.enum-DwNlf6Sh.js';
|
|
12
12
|
import './expandable-faq-item-variation.enum-C6B2KRZo.js';
|
|
13
13
|
import './expandable-faq-variation.enum-CES5gUEo.js';
|
|
14
14
|
import './footer-card-variation.enum-DzSu1-K0.js';
|
|
15
15
|
import './form-checkbox-variation.enum-6-MpaVf8.js';
|
|
16
|
-
import './form-
|
|
16
|
+
import './form-file-upload-variation.enum-BfyJgcLA.js';
|
|
17
|
+
import './form-input-search-variation.enum-BvWKyXb_.js';
|
|
18
|
+
import './form-input-type.enum-BSJH8Lpg.js';
|
|
19
|
+
import './form-input-variation.enum-DfWZa2Wv.js';
|
|
17
20
|
import './form-radiogroup-validation.enum-DcnvI7UR.js';
|
|
18
21
|
import './form-select-variation.enum-DCS1KcvC.js';
|
|
19
22
|
import './form-textarea-variation.enum-DogB9kfH.js';
|
|
23
|
+
import './form-validation-message-variation.enum-B8hpiXmh.js';
|
|
20
24
|
import './info-card-multi-type.enum-CkIb3cUS.js';
|
|
21
25
|
import './info-card-variation.enum-_ycZeBN4.js';
|
|
22
26
|
import './layout-container-max-width.enum-CuhrrYGE.js';
|
|
@@ -65,8 +65,13 @@ const FeedbackBanner = class {
|
|
|
65
65
|
this.validateLinks();
|
|
66
66
|
this.validateHeading();
|
|
67
67
|
}
|
|
68
|
+
getSlottedLinks() {
|
|
69
|
+
const slotRoot = this.hostElement.querySelector('.digi-tools-feedback-banner__slot');
|
|
70
|
+
const root = slotRoot !== null && slotRoot !== void 0 ? slotRoot : this.hostElement;
|
|
71
|
+
return Array.from(root.querySelectorAll('a')).filter((el) => !el.closest('digi-link, digi-link-external'));
|
|
72
|
+
}
|
|
68
73
|
validateLinks() {
|
|
69
|
-
const links =
|
|
74
|
+
const links = this.getSlottedLinks();
|
|
70
75
|
if (links.length < 1 || links.length > 3) {
|
|
71
76
|
logger.warn(`The slot contains no link elements or there are more than 3 links specified (only 3 can be showed)`, this.hostElement);
|
|
72
77
|
return;
|
|
@@ -103,7 +108,7 @@ const FeedbackBanner = class {
|
|
|
103
108
|
}), h("div", { hidden: true, class: "digi-tools-feedback-banner__slot" }, h("slot", { onSlotchange: () => this.validateLinks() })))));
|
|
104
109
|
}
|
|
105
110
|
render() {
|
|
106
|
-
return (h("div", { key: '
|
|
111
|
+
return (h("div", { key: '739456a931baad879c5b7c99b9e3782d2056a161', class: Object.assign({ 'digi-tools-feedback-banner': true }, this.cssModifiers) }, this.afType === ToolsFeedbackBannerType.FULLWIDTH && (h("digi-layout-block", { key: 'b77c706fb75fcdc26d17f8fbb9e0e1fdbca397dd', afVariation: LayoutBlockVariation.TRANSPARENT }, this.content)), this.afType !== ToolsFeedbackBannerType.FULLWIDTH && this.content));
|
|
107
112
|
}
|
|
108
113
|
get hostElement() { return getElement(this); }
|
|
109
114
|
static get watchers() { return {
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, d as getElement } from './index-Co_lVhh_.js';
|
|
2
2
|
import { r as randomIdGenerator } from './randomIdGenerator.util-BGaIliX6.js';
|
|
3
|
-
import {
|
|
3
|
+
import { t as FeedbackVariation, s as ToolsFeedbackType, r as ToolsFeedbackHeadingLevel } from './typography-variation.enum-4smNltRI.js';
|
|
4
4
|
import { L as LayoutBlockVariation } from './layout-block-variation.enum-CWFirwyE.js';
|
|
5
5
|
import './badge-notification-shape.enum-CKoZU0-H.js';
|
|
6
6
|
import './badge-status-variation.enum-C0A-p3cU.js';
|
|
7
|
-
import { B as ButtonSize } from './
|
|
8
|
-
import './
|
|
9
|
-
import { B as ButtonVariation } from './button-variation.enum-y5Nm4oWF.js';
|
|
7
|
+
import { a as ButtonVariation, B as ButtonSize } from './button-variation.enum-BMQm4N5I.js';
|
|
8
|
+
import './button-type.enum-DShzaNrQ.js';
|
|
10
9
|
import './calendar-week-view-heading-level.enum-DH_-wpLB.js';
|
|
11
10
|
import './bar-chart-variation.enum-DPeoHh1J.js';
|
|
11
|
+
import './code-example-variation.enum-DGI7Jkg2.js';
|
|
12
12
|
import './code-variation.enum-qc6KRZue.js';
|
|
13
13
|
import './expandable-accordion-header-level.enum-DwNlf6Sh.js';
|
|
14
14
|
import './expandable-faq-item-variation.enum-C6B2KRZo.js';
|
|
15
15
|
import './expandable-faq-variation.enum-CES5gUEo.js';
|
|
16
16
|
import './footer-card-variation.enum-DzSu1-K0.js';
|
|
17
17
|
import './form-checkbox-variation.enum-6-MpaVf8.js';
|
|
18
|
-
import './form-
|
|
18
|
+
import './form-file-upload-variation.enum-BfyJgcLA.js';
|
|
19
|
+
import './form-input-search-variation.enum-BvWKyXb_.js';
|
|
20
|
+
import './form-input-type.enum-BSJH8Lpg.js';
|
|
21
|
+
import './form-input-variation.enum-DfWZa2Wv.js';
|
|
19
22
|
import './form-radiogroup-validation.enum-DcnvI7UR.js';
|
|
20
23
|
import './form-select-variation.enum-DCS1KcvC.js';
|
|
21
24
|
import './form-textarea-variation.enum-DogB9kfH.js';
|
|
25
|
+
import './form-validation-message-variation.enum-B8hpiXmh.js';
|
|
22
26
|
import './info-card-multi-type.enum-CkIb3cUS.js';
|
|
23
27
|
import './info-card-variation.enum-_ycZeBN4.js';
|
|
24
28
|
import './layout-container-max-width.enum-CuhrrYGE.js';
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-Co_lVhh_.js';
|
|
2
|
+
import { K as KEY_CODE, k as keyboardHandler } from './keyboardHandler.util-CflatMTG.js';
|
|
3
|
+
|
|
4
|
+
const UtilKeydownHandler = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
this.afOnEsc = createEvent(this, "afOnEsc", 7);
|
|
8
|
+
this.afOnEnter = createEvent(this, "afOnEnter", 7);
|
|
9
|
+
this.afOnTab = createEvent(this, "afOnTab", 7);
|
|
10
|
+
this.afOnSpace = createEvent(this, "afOnSpace", 7);
|
|
11
|
+
this.afOnShiftTab = createEvent(this, "afOnShiftTab", 7);
|
|
12
|
+
this.afOnUp = createEvent(this, "afOnUp", 7);
|
|
13
|
+
this.afOnDown = createEvent(this, "afOnDown", 7);
|
|
14
|
+
this.afOnLeft = createEvent(this, "afOnLeft", 7);
|
|
15
|
+
this.afOnRight = createEvent(this, "afOnRight", 7);
|
|
16
|
+
this.afOnHome = createEvent(this, "afOnHome", 7);
|
|
17
|
+
this.afOnEnd = createEvent(this, "afOnEnd", 7);
|
|
18
|
+
this.afOnKeyDown = createEvent(this, "afOnKeyDown", 7);
|
|
19
|
+
}
|
|
20
|
+
keydownHandler(e) {
|
|
21
|
+
const key = keyboardHandler(e);
|
|
22
|
+
switch (key) {
|
|
23
|
+
case KEY_CODE.SHIFT_TAB:
|
|
24
|
+
this.afOnShiftTab.emit(e);
|
|
25
|
+
break;
|
|
26
|
+
case KEY_CODE.DOWN_ARROW:
|
|
27
|
+
this.afOnDown.emit(e);
|
|
28
|
+
this.afOnKeyDown.emit(e);
|
|
29
|
+
break;
|
|
30
|
+
case KEY_CODE.UP_ARROW:
|
|
31
|
+
this.afOnUp.emit(e);
|
|
32
|
+
this.afOnKeyDown.emit(e);
|
|
33
|
+
break;
|
|
34
|
+
case KEY_CODE.LEFT_ARROW:
|
|
35
|
+
this.afOnLeft.emit(e);
|
|
36
|
+
this.afOnKeyDown.emit(e);
|
|
37
|
+
break;
|
|
38
|
+
case KEY_CODE.RIGHT_ARROW:
|
|
39
|
+
this.afOnRight.emit(e);
|
|
40
|
+
this.afOnKeyDown.emit(e);
|
|
41
|
+
break;
|
|
42
|
+
case KEY_CODE.ENTER:
|
|
43
|
+
this.afOnEnter.emit(e);
|
|
44
|
+
this.afOnKeyDown.emit(e);
|
|
45
|
+
break;
|
|
46
|
+
case KEY_CODE.ESCAPE:
|
|
47
|
+
this.afOnEsc.emit(e);
|
|
48
|
+
this.afOnKeyDown.emit(e);
|
|
49
|
+
break;
|
|
50
|
+
case KEY_CODE.TAB:
|
|
51
|
+
this.afOnTab.emit(e);
|
|
52
|
+
this.afOnKeyDown.emit(e);
|
|
53
|
+
break;
|
|
54
|
+
case KEY_CODE.SPACE:
|
|
55
|
+
this.afOnSpace.emit(e);
|
|
56
|
+
this.afOnKeyDown.emit(e);
|
|
57
|
+
break;
|
|
58
|
+
case KEY_CODE.HOME:
|
|
59
|
+
this.afOnHome.emit(e);
|
|
60
|
+
this.afOnKeyDown.emit(e);
|
|
61
|
+
break;
|
|
62
|
+
case KEY_CODE.END:
|
|
63
|
+
this.afOnEnd.emit(e);
|
|
64
|
+
this.afOnKeyDown.emit(e);
|
|
65
|
+
break;
|
|
66
|
+
case KEY_CODE.ANY:
|
|
67
|
+
this.afOnKeyDown.emit(e);
|
|
68
|
+
break;
|
|
69
|
+
default:
|
|
70
|
+
this.afOnKeyDown.emit(e);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
render() {
|
|
75
|
+
return h("slot", { key: 'c0a9e056eb5e48ce215370d38ee65a62ca2e33d9' });
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export { UtilKeydownHandler as digi_util_keydown_handler };
|
|
@@ -21,11 +21,4 @@ var FormFileUploadVariation;
|
|
|
21
21
|
FormFileUploadVariation["LARGE"] = "large";
|
|
22
22
|
})(FormFileUploadVariation || (FormFileUploadVariation = {}));
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
(function (FormValidationMessageVariation) {
|
|
26
|
-
FormValidationMessageVariation["SUCCESS"] = "success";
|
|
27
|
-
FormValidationMessageVariation["ERROR"] = "error";
|
|
28
|
-
FormValidationMessageVariation["WARNING"] = "warning";
|
|
29
|
-
})(FormValidationMessageVariation || (FormValidationMessageVariation = {}));
|
|
30
|
-
|
|
31
|
-
export { FormFileUploadHeadingLevel as F, FormFileUploadValidation as a, FormFileUploadVariation as b, FormValidationMessageVariation as c };
|
|
24
|
+
export { FormFileUploadHeadingLevel as F, FormFileUploadValidation as a, FormFileUploadVariation as b };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var FormInputSearchVariation;
|
|
2
|
+
(function (FormInputSearchVariation) {
|
|
3
|
+
FormInputSearchVariation["SMALL"] = "small";
|
|
4
|
+
FormInputSearchVariation["MEDIUM"] = "medium";
|
|
5
|
+
FormInputSearchVariation["LARGE"] = "large";
|
|
6
|
+
})(FormInputSearchVariation || (FormInputSearchVariation = {}));
|
|
7
|
+
|
|
8
|
+
export { FormInputSearchVariation as F };
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
var ButtonType;
|
|
2
|
-
(function (ButtonType) {
|
|
3
|
-
ButtonType["BUTTON"] = "button";
|
|
4
|
-
ButtonType["SUBMIT"] = "submit";
|
|
5
|
-
ButtonType["RESET"] = "reset";
|
|
6
|
-
})(ButtonType || (ButtonType = {}));
|
|
7
|
-
|
|
8
|
-
var FormInputSearchVariation;
|
|
9
|
-
(function (FormInputSearchVariation) {
|
|
10
|
-
FormInputSearchVariation["SMALL"] = "small";
|
|
11
|
-
FormInputSearchVariation["MEDIUM"] = "medium";
|
|
12
|
-
FormInputSearchVariation["LARGE"] = "large";
|
|
13
|
-
})(FormInputSearchVariation || (FormInputSearchVariation = {}));
|
|
14
|
-
|
|
15
1
|
var FormInputButtonVariation;
|
|
16
2
|
(function (FormInputButtonVariation) {
|
|
17
3
|
FormInputButtonVariation["PRIMARY"] = "primary";
|
|
@@ -36,4 +22,4 @@ var FormInputType;
|
|
|
36
22
|
FormInputType["WEEK"] = "week";
|
|
37
23
|
})(FormInputType || (FormInputType = {}));
|
|
38
24
|
|
|
39
|
-
export {
|
|
25
|
+
export { FormInputButtonVariation as F, FormInputType as a };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var FormInputMode;
|
|
2
|
+
(function (FormInputMode) {
|
|
3
|
+
FormInputMode["DEFAULT"] = "";
|
|
4
|
+
FormInputMode["NONE"] = "none";
|
|
5
|
+
FormInputMode["TEXT"] = "text";
|
|
6
|
+
FormInputMode["DECIMAL"] = "decimal";
|
|
7
|
+
FormInputMode["NUMERIC"] = "numeric";
|
|
8
|
+
FormInputMode["TEL"] = "tel";
|
|
9
|
+
FormInputMode["SEARCH"] = "search";
|
|
10
|
+
FormInputMode["EMAIL"] = "email";
|
|
11
|
+
FormInputMode["URL"] = "url";
|
|
12
|
+
})(FormInputMode || (FormInputMode = {}));
|
|
13
|
+
|
|
14
|
+
var FormInputValidation;
|
|
15
|
+
(function (FormInputValidation) {
|
|
16
|
+
FormInputValidation["SUCCESS"] = "success";
|
|
17
|
+
FormInputValidation["ERROR"] = "error";
|
|
18
|
+
FormInputValidation["WARNING"] = "warning";
|
|
19
|
+
FormInputValidation["NEUTRAL"] = "neutral";
|
|
20
|
+
})(FormInputValidation || (FormInputValidation = {}));
|
|
21
|
+
|
|
22
|
+
var FormInputVariation;
|
|
23
|
+
(function (FormInputVariation) {
|
|
24
|
+
FormInputVariation["SMALL"] = "small";
|
|
25
|
+
FormInputVariation["MEDIUM"] = "medium";
|
|
26
|
+
FormInputVariation["LARGE"] = "large";
|
|
27
|
+
})(FormInputVariation || (FormInputVariation = {}));
|
|
28
|
+
|
|
29
|
+
export { FormInputMode as F, FormInputValidation as a, FormInputVariation as b };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var FormValidationMessageVariation;
|
|
2
|
+
(function (FormValidationMessageVariation) {
|
|
3
|
+
FormValidationMessageVariation["SUCCESS"] = "success";
|
|
4
|
+
FormValidationMessageVariation["ERROR"] = "error";
|
|
5
|
+
FormValidationMessageVariation["WARNING"] = "warning";
|
|
6
|
+
})(FormValidationMessageVariation || (FormValidationMessageVariation = {}));
|
|
7
|
+
|
|
8
|
+
export { FormValidationMessageVariation as F };
|
|
@@ -853,4 +853,4 @@ function throwProtectedError(token, format, input) {
|
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
|
|
856
|
-
export { getUTCWeek as a,
|
|
856
|
+
export { getUTCWeek as a, getUTCISOWeekYear as b, getUTCWeekYear as c, getTimezoneOffsetInMilliseconds as d, longFormatters as e, throwProtectedError as f, getUTCISOWeek as g, isProtectedDayOfYearToken as h, isProtectedWeekYearToken as i, buildFormatLongFn as j, buildLocalizeFn as k, locale as l, buildMatchFn as m, buildMatchPatternFn as n, startOfUTCISOWeek as o, startOfUTCWeek as p, subMilliseconds as s, toInteger as t };
|