@designsystem-se/af 39.2.2 → 39.2.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-expandable-accordion.js +18 -11
- package/components/digi-expandable-faq-item.js +21 -14
- package/components/digi-info-card.js +3 -3
- package/custom-elements.json +1 -1
- package/dist/cjs/badge-notification-shape.enum-CEyEo2G5.js +8 -0
- package/dist/cjs/button-size.enum-DgyvMkwE.js +7 -0
- package/dist/cjs/{button-variation.enum-ngMqFLdW.js → button-variation.enum-DkUalo9f.js} +0 -6
- package/dist/cjs/{calendar-week-view-heading-level.enum-BI2f9bbk.js → calendar-week-view-heading-level.enum-NEkm5SUq.js} +0 -7
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-badge-notification.cjs.entry.js +65 -0
- package/dist/cjs/digi-button.cjs.entry.js +131 -0
- package/dist/cjs/{digi-badge-notification_8.cjs.entry.js → digi-calendar-week-view.cjs.entry.js} +72 -645
- package/dist/cjs/{digi-calendar-datepicker.cjs.entry.js → digi-calendar_19.cjs.entry.js} +1613 -56
- package/dist/cjs/digi-code-block_3.cjs.entry.js +8 -13
- package/dist/cjs/digi-code-example.cjs.entry.js +4 -3
- package/dist/cjs/digi-dialog.cjs.entry.js +8 -13
- package/dist/cjs/digi-footer.cjs.entry.js +7 -12
- package/dist/cjs/digi-form-error-list.cjs.entry.js +7 -12
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +9 -10
- package/dist/cjs/digi-form-input-search.cjs.entry.js +5 -6
- package/dist/cjs/digi-form-receipt.cjs.entry.js +7 -12
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +8 -13
- package/dist/cjs/digi-header-navigation.cjs.entry.js +7 -12
- package/dist/cjs/digi-header.cjs.entry.js +7 -12
- package/dist/cjs/digi-info-card.cjs.entry.js +3 -3
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +7 -12
- package/dist/cjs/digi-notification-alert.cjs.entry.js +7 -12
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +7 -12
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +20 -0
- package/dist/cjs/digi-tablist.cjs.entry.js +312 -0
- package/dist/cjs/digi-title-logo.cjs.entry.js +7 -12
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +9 -14
- package/dist/cjs/{form-input-type.enum-DvF_MTHK.js → form-input-type.enum-CCCcY8gv.js} +7 -0
- package/dist/cjs/{form-file-upload-variation.enum-xcEOoggr.js → form-validation-message-variation.enum-DgkifAnP.js} +7 -0
- package/dist/cjs/index-Cn1hHaSy.js +16 -40
- package/dist/cjs/{index-Bdlw-Iuy.js → index-DUQtADgG.js} +189 -19
- package/dist/cjs/index.cjs.js +64 -69
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{typography-variation.enum-BDSt7CVI.js → typography-variation.enum-CVUvogxJ.js} +86 -0
- package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +18 -11
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +21 -14
- package/dist/collection/components/_info-card/info-card/info-card.js +5 -5
- package/dist/collection/design-tokens/components/_logo.variables.scss +0 -2
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/p-0230ec9b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0394e694.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-04bbbd14.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0cf25433.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-17824a0b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-25815f15.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3d4ac22e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4aefce1e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5ee5766d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-870a00f8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-88dc2ed4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9n7Okhf1.js +1 -0
- package/dist/digi-arbetsformedlingen/p-C6S1HfeA.js +1 -0
- package/dist/digi-arbetsformedlingen/p-C7xgnp99.js +1 -0
- package/dist/digi-arbetsformedlingen/p-CKoZU0-H.js +1 -0
- package/dist/digi-arbetsformedlingen/p-Cnyfh_8_.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-DwNlf6Sh.js → p-DH_-wpLB.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-Zivp2NJB.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a29b6fff.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-375ea6f8.entry.js → p-ace2e5fd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-b411a549.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b7712996.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bfccf413.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cdd65abb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d4406627.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-dd95c75e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e5396b1e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e7c10f6a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f91295ac.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ffb4fac6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-y5Nm4oWF.js +1 -0
- package/dist/esm/badge-notification-shape.enum-CKoZU0-H.js +8 -0
- package/dist/esm/button-size.enum-C7xgnp99.js +7 -0
- package/dist/esm/{button-variation.enum-BMQm4N5I.js → button-variation.enum-y5Nm4oWF.js} +1 -7
- package/dist/esm/{calendar-week-view-heading-level.enum-BBOpiDGx.js → calendar-week-view-heading-level.enum-DH_-wpLB.js} +1 -8
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-badge-notification.entry.js +63 -0
- package/dist/esm/digi-button.entry.js +129 -0
- package/dist/esm/{digi-badge-notification_8.entry.js → digi-calendar-week-view.entry.js} +6 -572
- package/dist/esm/{digi-calendar-datepicker.entry.js → digi-calendar_19.entry.js} +1557 -18
- package/dist/esm/digi-code-block_3.entry.js +7 -12
- package/dist/esm/digi-code-example.entry.js +2 -1
- package/dist/esm/digi-dialog.entry.js +7 -12
- package/dist/esm/digi-footer.entry.js +7 -12
- package/dist/esm/digi-form-error-list.entry.js +7 -12
- package/dist/esm/digi-form-file-upload.entry.js +1 -2
- package/dist/esm/digi-form-input-search.entry.js +1 -2
- package/dist/esm/digi-form-receipt.entry.js +7 -12
- package/dist/esm/digi-form-select-filter.entry.js +7 -12
- package/dist/esm/digi-header-navigation.entry.js +7 -12
- package/dist/esm/digi-header.entry.js +7 -12
- package/dist/esm/digi-info-card.entry.js +3 -3
- package/dist/esm/digi-navigation-pagination.entry.js +7 -12
- package/dist/esm/digi-notification-alert.entry.js +7 -12
- package/dist/esm/digi-notification-error-page.entry.js +7 -12
- package/dist/esm/digi-tablist-panel.entry.js +18 -0
- package/dist/esm/digi-tablist.entry.js +310 -0
- package/dist/esm/digi-title-logo.entry.js +7 -12
- package/dist/esm/digi-tools-feedback.entry.js +7 -12
- package/dist/esm/{form-input-type.enum-BSJH8Lpg.js → form-input-type.enum-C6S1HfeA.js} +8 -1
- package/dist/esm/{form-file-upload-variation.enum-BfyJgcLA.js → form-validation-message-variation.enum-9n7Okhf1.js} +8 -1
- package/dist/esm/index-BnKuq1L7.js +16 -40
- package/dist/esm/{index-B1Je6g2n.js → index-Cnyfh_8_.js} +170 -3
- package/dist/esm/index.js +7 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{typography-variation.enum-4smNltRI.js → typography-variation.enum-Zivp2NJB.js} +87 -1
- package/dist/types/components/_info-card/info-card/info-card.d.ts +2 -2
- package/dist/types/components.d.ts +4 -4
- package/hydrate/index.js +42 -28
- package/hydrate/index.mjs +42 -28
- package/package.json +1 -1
- package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -490
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +0 -121
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -119
- package/dist/cjs/digi-form-input.cjs.entry.js +0 -205
- package/dist/cjs/digi-form-label_3.cjs.entry.js +0 -147
- package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -201
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -28
- package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +0 -51
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -46
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +0 -81
- package/dist/cjs/expandable-accordion-header-level.enum-CjL9V3Kt.js +0 -11
- package/dist/cjs/expandable-faq-item-variation.enum-aKkYAQgd.js +0 -18
- package/dist/cjs/form-input-search-variation.enum-VVfvlVeM.js +0 -8
- package/dist/cjs/form-input-variation.enum-kpoXNUuI.js +0 -29
- package/dist/cjs/form-select-variation.enum-e6wjWyaS.js +0 -16
- package/dist/cjs/form-validation-message-variation.enum-BA5nmCiw.js +0 -8
- package/dist/cjs/index-Snltmefx.js +0 -174
- package/dist/cjs/index-r0sb9TCr.js +0 -66
- package/dist/cjs/typography-heading-jumbo-variation.enum-Di1Jeh0G.js +0 -17
- package/dist/digi-arbetsformedlingen/p-037a35bd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0f7e995a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-26f6a310.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3239fb1a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3b42582a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3c1f9629.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4384644b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4ddcae7b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4smNltRI.js +0 -1
- package/dist/digi-arbetsformedlingen/p-569c628c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-668d38d9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-66f34ca5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6931825c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6cb1c6ea.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-71a8478d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7688502e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-91265ee0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9a4eecde.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9df345c4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-B8hpiXmh.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BBOpiDGx.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BMQm4N5I.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BSJH8Lpg.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BfyJgcLA.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BixPaBHw.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BvWKyXb_.js +0 -1
- package/dist/digi-arbetsformedlingen/p-C6B2KRZo.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CgSR-RTl.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DCS1KcvC.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DNjGvZvz.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DfWZa2Wv.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a9a1bf57.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-beebbc90.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7ade486.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d065e751.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d07a1377.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d0b3c35b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d150094c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-df8efa59.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e2b0b070.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7b311da.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-xwICssEK.js +0 -1
- package/dist/esm/digi-calendar_2.entry.js +0 -487
- package/dist/esm/digi-expandable-accordion.entry.js +0 -119
- package/dist/esm/digi-expandable-faq-item.entry.js +0 -117
- package/dist/esm/digi-form-input.entry.js +0 -203
- package/dist/esm/digi-form-label_3.entry.js +0 -143
- package/dist/esm/digi-form-select_2.entry.js +0 -198
- package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
- package/dist/esm/digi-icon-validation-error_2.entry.js +0 -48
- package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -44
- package/dist/esm/digi-util-keydown-handler.entry.js +0 -79
- package/dist/esm/expandable-accordion-header-level.enum-DwNlf6Sh.js +0 -11
- package/dist/esm/expandable-faq-item-variation.enum-C6B2KRZo.js +0 -18
- package/dist/esm/form-input-search-variation.enum-BvWKyXb_.js +0 -8
- package/dist/esm/form-input-variation.enum-DfWZa2Wv.js +0 -29
- package/dist/esm/form-select-variation.enum-DCS1KcvC.js +0 -16
- package/dist/esm/form-validation-message-variation.enum-B8hpiXmh.js +0 -8
- package/dist/esm/index-BixPaBHw.js +0 -170
- package/dist/esm/index-BsIL3T_0.js +0 -63
- package/dist/esm/typography-heading-jumbo-variation.enum-DNjGvZvz.js +0 -17
package/dist/cjs/{typography-variation.enum-BDSt7CVI.js → typography-variation.enum-CVUvogxJ.js}
RENAMED
|
@@ -51,6 +51,33 @@ exports.DialogVariation = void 0;
|
|
|
51
51
|
DialogVariation["SECONDARY"] = "secondary";
|
|
52
52
|
})(exports.DialogVariation || (exports.DialogVariation = {}));
|
|
53
53
|
|
|
54
|
+
exports.ExpandableAccordionHeaderLevel = void 0;
|
|
55
|
+
(function (ExpandableAccordionHeaderLevel) {
|
|
56
|
+
ExpandableAccordionHeaderLevel["H1"] = "h1";
|
|
57
|
+
ExpandableAccordionHeaderLevel["H2"] = "h2";
|
|
58
|
+
ExpandableAccordionHeaderLevel["H3"] = "h3";
|
|
59
|
+
ExpandableAccordionHeaderLevel["H4"] = "h4";
|
|
60
|
+
ExpandableAccordionHeaderLevel["H5"] = "h5";
|
|
61
|
+
ExpandableAccordionHeaderLevel["H6"] = "h6";
|
|
62
|
+
})(exports.ExpandableAccordionHeaderLevel || (exports.ExpandableAccordionHeaderLevel = {}));
|
|
63
|
+
|
|
64
|
+
exports.ExpandableFaqItemHeadingLevel = void 0;
|
|
65
|
+
(function (ExpandableFaqItemHeadingLevel) {
|
|
66
|
+
ExpandableFaqItemHeadingLevel["H1"] = "h1";
|
|
67
|
+
ExpandableFaqItemHeadingLevel["H2"] = "h2";
|
|
68
|
+
ExpandableFaqItemHeadingLevel["H3"] = "h3";
|
|
69
|
+
ExpandableFaqItemHeadingLevel["H4"] = "h4";
|
|
70
|
+
ExpandableFaqItemHeadingLevel["H5"] = "h5";
|
|
71
|
+
ExpandableFaqItemHeadingLevel["H6"] = "h6";
|
|
72
|
+
})(exports.ExpandableFaqItemHeadingLevel || (exports.ExpandableFaqItemHeadingLevel = {}));
|
|
73
|
+
|
|
74
|
+
exports.ExpandableFaqItemVariation = void 0;
|
|
75
|
+
(function (ExpandableFaqItemVariation) {
|
|
76
|
+
ExpandableFaqItemVariation["PRIMARY"] = "primary";
|
|
77
|
+
ExpandableFaqItemVariation["SECONDARY"] = "secondary";
|
|
78
|
+
ExpandableFaqItemVariation["TERTIARY"] = "tertiary";
|
|
79
|
+
})(exports.ExpandableFaqItemVariation || (exports.ExpandableFaqItemVariation = {}));
|
|
80
|
+
|
|
54
81
|
exports.FooterVariation = void 0;
|
|
55
82
|
(function (FooterVariation) {
|
|
56
83
|
FooterVariation["LARGE"] = "large";
|
|
@@ -67,6 +94,34 @@ exports.FormErrorListHeadingLevel = void 0;
|
|
|
67
94
|
FormErrorListHeadingLevel["H6"] = "h6";
|
|
68
95
|
})(exports.FormErrorListHeadingLevel || (exports.FormErrorListHeadingLevel = {}));
|
|
69
96
|
|
|
97
|
+
exports.FormInputMode = void 0;
|
|
98
|
+
(function (FormInputMode) {
|
|
99
|
+
FormInputMode["DEFAULT"] = "";
|
|
100
|
+
FormInputMode["NONE"] = "none";
|
|
101
|
+
FormInputMode["TEXT"] = "text";
|
|
102
|
+
FormInputMode["DECIMAL"] = "decimal";
|
|
103
|
+
FormInputMode["NUMERIC"] = "numeric";
|
|
104
|
+
FormInputMode["TEL"] = "tel";
|
|
105
|
+
FormInputMode["SEARCH"] = "search";
|
|
106
|
+
FormInputMode["EMAIL"] = "email";
|
|
107
|
+
FormInputMode["URL"] = "url";
|
|
108
|
+
})(exports.FormInputMode || (exports.FormInputMode = {}));
|
|
109
|
+
|
|
110
|
+
exports.FormInputValidation = void 0;
|
|
111
|
+
(function (FormInputValidation) {
|
|
112
|
+
FormInputValidation["SUCCESS"] = "success";
|
|
113
|
+
FormInputValidation["ERROR"] = "error";
|
|
114
|
+
FormInputValidation["WARNING"] = "warning";
|
|
115
|
+
FormInputValidation["NEUTRAL"] = "neutral";
|
|
116
|
+
})(exports.FormInputValidation || (exports.FormInputValidation = {}));
|
|
117
|
+
|
|
118
|
+
exports.FormInputVariation = void 0;
|
|
119
|
+
(function (FormInputVariation) {
|
|
120
|
+
FormInputVariation["SMALL"] = "small";
|
|
121
|
+
FormInputVariation["MEDIUM"] = "medium";
|
|
122
|
+
FormInputVariation["LARGE"] = "large";
|
|
123
|
+
})(exports.FormInputVariation || (exports.FormInputVariation = {}));
|
|
124
|
+
|
|
70
125
|
exports.FormFieldsetValidation = void 0;
|
|
71
126
|
(function (FormFieldsetValidation) {
|
|
72
127
|
FormFieldsetValidation["SUCCESS"] = "success";
|
|
@@ -122,6 +177,21 @@ exports.FormSelectFilterValidation = void 0;
|
|
|
122
177
|
FormSelectFilterValidation["NEUTRAL"] = "neutral";
|
|
123
178
|
})(exports.FormSelectFilterValidation || (exports.FormSelectFilterValidation = {}));
|
|
124
179
|
|
|
180
|
+
exports.FormSelectValidation = void 0;
|
|
181
|
+
(function (FormSelectValidation) {
|
|
182
|
+
FormSelectValidation["SUCCESS"] = "success";
|
|
183
|
+
FormSelectValidation["ERROR"] = "error";
|
|
184
|
+
FormSelectValidation["WARNING"] = "warning";
|
|
185
|
+
FormSelectValidation["NEUTRAL"] = "neutral";
|
|
186
|
+
})(exports.FormSelectValidation || (exports.FormSelectValidation = {}));
|
|
187
|
+
|
|
188
|
+
exports.FormSelectVariation = void 0;
|
|
189
|
+
(function (FormSelectVariation) {
|
|
190
|
+
FormSelectVariation["SMALL"] = "small";
|
|
191
|
+
FormSelectVariation["MEDIUM"] = "medium";
|
|
192
|
+
FormSelectVariation["LARGE"] = "large";
|
|
193
|
+
})(exports.FormSelectVariation || (exports.FormSelectVariation = {}));
|
|
194
|
+
|
|
125
195
|
exports.HeaderCenterContentWidth = void 0;
|
|
126
196
|
(function (HeaderCenterContentWidth) {
|
|
127
197
|
HeaderCenterContentWidth["DEFAULT"] = "none";
|
|
@@ -231,6 +301,22 @@ exports.FeedbackVariation = void 0;
|
|
|
231
301
|
FeedbackVariation["SECONDARY"] = "secondary";
|
|
232
302
|
})(exports.FeedbackVariation || (exports.FeedbackVariation = {}));
|
|
233
303
|
|
|
304
|
+
exports.TypographyHeadingJumboLevel = void 0;
|
|
305
|
+
(function (TypographyHeadingJumboLevel) {
|
|
306
|
+
TypographyHeadingJumboLevel["H1"] = "h1";
|
|
307
|
+
TypographyHeadingJumboLevel["H2"] = "h2";
|
|
308
|
+
TypographyHeadingJumboLevel["H3"] = "h3";
|
|
309
|
+
TypographyHeadingJumboLevel["H4"] = "h4";
|
|
310
|
+
TypographyHeadingJumboLevel["H5"] = "h5";
|
|
311
|
+
TypographyHeadingJumboLevel["H6"] = "h6";
|
|
312
|
+
})(exports.TypographyHeadingJumboLevel || (exports.TypographyHeadingJumboLevel = {}));
|
|
313
|
+
|
|
314
|
+
exports.TypographyHeadingJumboVariation = void 0;
|
|
315
|
+
(function (TypographyHeadingJumboVariation) {
|
|
316
|
+
TypographyHeadingJumboVariation["PRIMARY"] = "primary";
|
|
317
|
+
TypographyHeadingJumboVariation["SECONDARY"] = "secondary";
|
|
318
|
+
})(exports.TypographyHeadingJumboVariation || (exports.TypographyHeadingJumboVariation = {}));
|
|
319
|
+
|
|
234
320
|
exports.TypographyVariation = void 0;
|
|
235
321
|
(function (TypographyVariation) {
|
|
236
322
|
TypographyVariation["SMALL"] = "small";
|
|
@@ -60,17 +60,21 @@ export class ExpandableAccordion {
|
|
|
60
60
|
componentDidLoad() {
|
|
61
61
|
const content = this.hostElement.querySelector(`#${this.afId}-content`);
|
|
62
62
|
if (!this.afExpanded) {
|
|
63
|
-
content.
|
|
63
|
+
content.style.visibility = 'hidden';
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
66
|
-
content.
|
|
66
|
+
content.style.overflowY = 'inherit';
|
|
67
|
+
content.style.height = 'auto';
|
|
67
68
|
}
|
|
68
69
|
content.addEventListener('transitionend', () => {
|
|
69
70
|
if (!this.afExpanded) {
|
|
70
|
-
content.
|
|
71
|
+
content.style.visibility = 'hidden';
|
|
72
|
+
content.style.height = '0px';
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
content.style.height = 'auto';
|
|
76
|
+
content.style.overflowY = 'inherit';
|
|
71
77
|
}
|
|
72
|
-
else
|
|
73
|
-
content.setAttribute('style', 'height: auto');
|
|
74
78
|
});
|
|
75
79
|
}
|
|
76
80
|
animateContentHeight() {
|
|
@@ -78,22 +82,25 @@ export class ExpandableAccordion {
|
|
|
78
82
|
const sectionHeight = content.firstElementChild
|
|
79
83
|
.offsetHeight;
|
|
80
84
|
if (!this.afExpanded && content.style.height === 'auto') {
|
|
81
|
-
content.
|
|
85
|
+
content.style.height = sectionHeight + 'px';
|
|
82
86
|
setTimeout(() => {
|
|
83
|
-
content.
|
|
87
|
+
content.style.height = '0';
|
|
88
|
+
content.style.overflowY = 'hidden';
|
|
84
89
|
});
|
|
85
90
|
return;
|
|
86
91
|
}
|
|
87
92
|
if (this.afExpanded) {
|
|
88
|
-
content.
|
|
93
|
+
content.style.height = sectionHeight + 'px';
|
|
94
|
+
content.style.visibility = 'visible';
|
|
89
95
|
if (!this.afAnimation) {
|
|
90
96
|
setTimeout(() => {
|
|
91
|
-
content.
|
|
97
|
+
content.style.height = 'auto';
|
|
98
|
+
content.style.overflowY = 'inherit';
|
|
92
99
|
});
|
|
93
100
|
}
|
|
94
101
|
}
|
|
95
102
|
else {
|
|
96
|
-
content.
|
|
103
|
+
content.style.height = '0px';
|
|
97
104
|
}
|
|
98
105
|
}
|
|
99
106
|
clickToggleHandler(e, resetFocus = false) {
|
|
@@ -105,7 +112,7 @@ export class ExpandableAccordion {
|
|
|
105
112
|
this.afOnClick.emit(e);
|
|
106
113
|
}
|
|
107
114
|
render() {
|
|
108
|
-
return (h("article", { key: '
|
|
115
|
+
return (h("article", { key: '2616819e45750577fb23f430d41b2787ca2210a5', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-accordion': true }, this.cssModifiers) }, h("header", { key: 'c77c15183eb4bba670ea2299d5dc3c19e243ea42', class: "digi-expandable-accordion__header" }, h(this.afHeadingLevel, { key: '20dc16774240b6d258eec3d94d4b5d9b9d0a735c', class: "digi-expandable-accordion__heading" }, h("button", { key: '23c45158f203517166cd4c5efe8801b849ea04e0', type: "button", class: "digi-expandable-accordion__button", onClick: (e) => this.clickToggleHandler(e), "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content`, ref: (el) => (this._button = el) }, h("digi-icon-chevron-down", { key: 'bd48367111a6aac92061bda052ffb6708d4f3967', class: "digi-expandable-accordion__toggle-icon" }), h("div", { key: '2e419d3fd48aa8fd31f33012b541a0fd86e60d78', class: "digi-expandable-accordion__heading-text" }, this.afHeading)))), h("section", { key: 'a28657a14024836c9bb1c7e825c573ed6c598eca', class: "digi-expandable-accordion__content", id: `${this.afId}-content` }, h("div", { key: 'e13b9e653c1714adefd5401300789ed89d4cc1b3' }, h("digi-typography", { key: '335442cf9f97ec3f821ab2ca296e1539b24354cf' }, h("slot", { key: '05da2edf48d9259187bb72bf73a6c60ec9077bc0' }))))));
|
|
109
116
|
}
|
|
110
117
|
static get is() { return "digi-expandable-accordion"; }
|
|
111
118
|
static get encapsulation() { return "scoped"; }
|
|
@@ -56,17 +56,21 @@ export class ExpandableFaqItem {
|
|
|
56
56
|
componentDidLoad() {
|
|
57
57
|
const content = this.hostElement.querySelector(`#${this.afId}-content`);
|
|
58
58
|
if (!this.afExpanded) {
|
|
59
|
-
content.
|
|
59
|
+
content.style.visibility = 'hidden';
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
62
|
-
content.
|
|
62
|
+
content.style.height = 'auto';
|
|
63
|
+
content.style.overflowY = 'inherit';
|
|
63
64
|
}
|
|
64
65
|
content.addEventListener('transitionend', () => {
|
|
65
66
|
if (!this.afExpanded) {
|
|
66
|
-
content.
|
|
67
|
+
content.style.visibility = 'hidden';
|
|
68
|
+
content.style.height = '0px';
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
content.style.height = 'auto';
|
|
72
|
+
content.style.overflowY = 'inherit';
|
|
67
73
|
}
|
|
68
|
-
else
|
|
69
|
-
content.setAttribute('style', 'height: auto');
|
|
70
74
|
});
|
|
71
75
|
}
|
|
72
76
|
animateContentHeight() {
|
|
@@ -74,37 +78,40 @@ export class ExpandableFaqItem {
|
|
|
74
78
|
const sectionHeight = content.firstElementChild
|
|
75
79
|
.offsetHeight;
|
|
76
80
|
if (!this.afExpanded && content.style.height === 'auto') {
|
|
77
|
-
content.
|
|
81
|
+
content.style.height = sectionHeight + 'px';
|
|
78
82
|
setTimeout(() => {
|
|
79
|
-
content.
|
|
83
|
+
content.style.height = '0';
|
|
84
|
+
content.style.overflowY = 'hidden';
|
|
80
85
|
});
|
|
81
86
|
return;
|
|
82
87
|
}
|
|
83
88
|
if (this.afExpanded) {
|
|
84
|
-
content.
|
|
89
|
+
content.style.height = sectionHeight + 'px';
|
|
90
|
+
content.style.visibility = 'visible';
|
|
85
91
|
if (!this.afAnimation) {
|
|
86
92
|
setTimeout(() => {
|
|
87
|
-
content.
|
|
93
|
+
content.style.height = 'auto';
|
|
94
|
+
content.style.overflowY = 'inherit';
|
|
88
95
|
});
|
|
89
96
|
}
|
|
90
97
|
}
|
|
91
98
|
else {
|
|
92
|
-
content.
|
|
99
|
+
content.style.height = '0px';
|
|
93
100
|
}
|
|
94
101
|
}
|
|
95
102
|
render() {
|
|
96
|
-
return (h("article", { key: '
|
|
103
|
+
return (h("article", { key: 'e0931c4256d2c4162911fe232132b6179968425f', "aria-expanded": this.afExpanded ? 'true' : 'false', class: Object.assign({ 'digi-expandable-faq-item': true }, this.cssModifiers) }, h("header", { key: '8f6befff5c82c63d5d1f10755f444791f17dafb7', class: "digi-expandable-faq-item__header" }, h(this.afHeadingLevel, { key: 'b9d58dcd28eb430d7b84365ba1bba99d3e86ebc9' }, h("button", { key: 'b2c20566cc84a2b4cbcbe2dcc2a35e44e8f0fcc9', type: "button", class: "digi-expandable-faq-item__button", onClick: (e) => {
|
|
97
104
|
e.preventDefault();
|
|
98
105
|
this.afExpanded = !this.afExpanded;
|
|
99
106
|
this.afOnClick.emit(e);
|
|
100
|
-
}, "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content` }, h("digi-icon-chevron-down", { key: '
|
|
107
|
+
}, "aria-expanded": this.afExpanded ? 'true' : 'false', "aria-controls": `${this.afId}-content` }, h("digi-icon-chevron-down", { key: '40e0a896b3d7d44bf282e8462a24c43060a29eff', class: {
|
|
101
108
|
'digi-expandable-faq-item__header--toggle-icon': true,
|
|
102
109
|
'digi-expandable-faq-item__header--toggle-icon--expanded': this.afExpanded
|
|
103
|
-
} }), h("div", { key: '
|
|
110
|
+
} }), h("div", { key: 'f58aa361553f3063bf1e5171f8d320e6cb8189c6', class: "digi-expandable-faq-item__header-text" }, this.afHeading)))), h("section", { key: 'b4d0dd00a3e6fe9e8367ef5a6f197696de55f4fd', class: {
|
|
104
111
|
'digi-expandable-faq-item__content': true,
|
|
105
112
|
'digi-expandable-faq-item__content--animation': this.afAnimation,
|
|
106
113
|
'digi-expandable-faq-item__content--hidden': !this.afExpanded
|
|
107
|
-
}, id: `${this.afId}-content` }, h("div", { key: '
|
|
114
|
+
}, id: `${this.afId}-content` }, h("div", { key: 'e9a9147164d3934584cd5da5cfc8080ba9374c76' }, h("digi-typography", { key: '398a0c4e0aa1092db5f4a2e3182218ebbe0c3624' }, h("slot", { key: 'be924dc541b7c41b19b4392d3a988b492144d585' }))))));
|
|
108
115
|
}
|
|
109
116
|
static get is() { return "digi-expandable-faq-item"; }
|
|
110
117
|
static get encapsulation() { return "scoped"; }
|
|
@@ -30,8 +30,8 @@ export class InfoCard {
|
|
|
30
30
|
*/
|
|
31
31
|
this.afBorderPosition = InfoCardBorderPosition.TOP;
|
|
32
32
|
/**
|
|
33
|
-
* Sätter variant. Kan vara 'primary' eller 'secondary'.
|
|
34
|
-
* @en Set info card variation. Can be 'primary' or 'secondary'.
|
|
33
|
+
* Sätter variant. Kan vara 'primary' eller 'secondary'.
|
|
34
|
+
* @en Set info card variation. Can be 'primary' or 'secondary'.
|
|
35
35
|
*/
|
|
36
36
|
this.afVariation = InfoCardVariation.PRIMARY;
|
|
37
37
|
this.activeLink = false;
|
|
@@ -77,7 +77,7 @@ export class InfoCard {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h("div", { key: '
|
|
80
|
+
return (h("div", { key: '56dc89fe307963c3088b9e8301700a5e29d36c22', class: Object.assign({ 'digi-info-card': true }, this.cssModifiers) }, h("div", { key: '504c5b7810f922a55ef5c887b24432a3ccb9ea78', class: "digi-info-card__content" }, h("div", { key: '6adb959fadb3c8a8182e0176cca3fd02686fadfb', class: "digi-info-card__icon" }, this.hasListIcon && (h("span", { key: '3a9c35f22e32d4b30dbcc0614c602541a7349fac', class: "digi-info-card__icon" }, h("slot", { key: '601de5d168bad7d3615c8d35b8dd464a392aef6c', name: "icon" })))), h(this.afHeadingLevel, { key: 'f6006f419904c85a05ea8efa3933b32c9373b655', class: "digi-info-card__heading" }, this.afHeading), h("digi-typography", { key: '3858f2e16f6b33a9f9bd72278c199ebc5b32e762' }, h("slot", { key: '5b0c1cc00581490aa189a5dd31a7d13f05ef6ce5' })), this.shouldRenderInternalLink && (h("digi-link-internal", { key: 'fcc04567e624c939c30c27dec8d3fd58fe0042eb', class: "digi-info-card__link", afHref: this.afLinkHref, onAfOnClick: (e) => this.clickLinkHandler(e), hideVisitedColor: this.hideVisitedColor }, this.afLinkText)))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "digi-info-card"; }
|
|
83
83
|
static get encapsulation() { return "scoped"; }
|
|
@@ -254,9 +254,9 @@ export class InfoCard {
|
|
|
254
254
|
"docs": {
|
|
255
255
|
"tags": [{
|
|
256
256
|
"name": "en",
|
|
257
|
-
"text": "Set info card variation. Can be 'primary' or 'secondary'.
|
|
257
|
+
"text": "Set info card variation. Can be 'primary' or 'secondary'."
|
|
258
258
|
}],
|
|
259
|
-
"text": "S\u00E4tter variant. Kan vara 'primary' eller 'secondary'.
|
|
259
|
+
"text": "S\u00E4tter variant. Kan vara 'primary' eller 'secondary'."
|
|
260
260
|
},
|
|
261
261
|
"getter": false,
|
|
262
262
|
"setter": false,
|
|
@@ -15,6 +15,4 @@
|
|
|
15
15
|
--digi--logo--secondary--symbol: var(--digi--color--logotype--secondary--symbol);
|
|
16
16
|
--digi--logo--primary--text: var(--digi--color--logotype--primary--text);
|
|
17
17
|
--digi--logo--secondary--text: var(--digi--color--logotype--secondary--text);
|
|
18
|
-
}g: 1.375rem;
|
|
19
|
-
--digi--title-logo-gap: 9px;
|
|
20
18
|
}
|