@designsystem-se/af 38.1.0 → 38.2.1-beta.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/components/digi-calendar-datepicker.js +10 -6
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +33 -1
- package/components/digi-form-filter.js +1 -1
- package/components/digi-form-select-filter.js +84 -47
- package/components/{p-13c09880.js → p-f84f590e.js} +2 -2
- package/custom-elements.json +9 -1
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-button_11.cjs.entry.js +1194 -0
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +15 -13
- package/dist/cjs/digi-code-block_3.cjs.entry.js +6 -6
- package/dist/cjs/digi-dialog.cjs.entry.js +6 -6
- package/dist/cjs/digi-footer-card.cjs.entry.js +29 -0
- package/dist/cjs/digi-footer.cjs.entry.js +74 -0
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/digi-form-error-list.cjs.entry.js +39 -7
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +9 -10
- package/dist/cjs/digi-form-input-search.cjs.entry.js +6 -7
- package/dist/cjs/digi-form-receipt.cjs.entry.js +6 -6
- package/dist/cjs/digi-header-avatar.cjs.entry.js +114 -0
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +27 -0
- package/dist/cjs/digi-header-navigation.cjs.entry.js +228 -0
- package/dist/cjs/digi-header-notification.cjs.entry.js +23 -0
- package/dist/cjs/digi-header.cjs.entry.js +115 -0
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-bars.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +30 -0
- package/dist/cjs/{digi-link-external.cjs.entry.js → digi-icon-external-link-alt_2.cjs.entry.js} +24 -0
- package/dist/cjs/digi-icon-globe.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-sign.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-x.cjs.entry.js +30 -0
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +92 -0
- package/dist/cjs/digi-link.cjs.entry.js +75 -0
- package/dist/cjs/digi-logo.cjs.entry.js +49 -0
- package/dist/cjs/digi-media-image_2.cjs.entry.js +167 -0
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +6 -6
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +30 -0
- package/dist/cjs/digi-notification-alert.cjs.entry.js +6 -6
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +6 -6
- package/dist/cjs/digi-title-logo.cjs.entry.js +133 -0
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +6 -6
- package/dist/cjs/digi-typography.cjs.entry.js +26 -0
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +48 -0
- package/dist/cjs/footer-card-variation.enum-99555edc.js +8 -0
- package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-1fb2180a.js} +14 -0
- package/dist/cjs/{form-file-upload-variation.enum-634cfae8.js → form-validation-message-variation.enum-c5ec3e2d.js} +7 -0
- package/dist/cjs/index-7a477838.js +84 -20
- package/dist/cjs/index.cjs.js +73 -73
- package/dist/cjs/layout-container-max-width.enum-7e637f44.js +21 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-color.enum-76f6c506.js +7 -0
- package/dist/cjs/{typography-variation.enum-c0ef9190.js → typography-variation.enum-9aab5027.js} +28 -33
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +53 -6
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +8 -5
- package/dist/collection/components/_form/form-error-list/form-error-list.js +20 -1
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +85 -48
- package/dist/collection/design-tokens/components/_logo.variables.scss +17 -15
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +2 -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-8833044b.entry.js → p-02731621.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-0ef5ec06.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-10261517.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-37c0ea9e.entry.js → p-2295239c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-97f66789.entry.js → p-25371300.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-2c685e4f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-300aa9ef.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3887bb40.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3efa2f0b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-47ab0b39.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4e9f2f05.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ddd659bf.entry.js → p-655cda00.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-6abd8d58.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7e77bbe7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7e85c9e3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8713df13.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8d9f4f10.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8ef41ad9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-18880083.entry.js → p-986a1582.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9dd41cc4.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a0c77dff.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a2008b0a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e5bd5a7e.entry.js → p-b3283953.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-beba49c2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bf80a488.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a186888d.entry.js → p-c3e0f6dd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c553b73b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c604694f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c604a480.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c64b4626.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7a512ee.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7d079d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c9dfda73.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d6d7b1d8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-db246e29.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-39468f49.entry.js → p-de22ce43.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ecc2e481.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee88e3f1.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f2e16531.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f5bcd77b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f87c0b45.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fa77fcf7.entry.js +1 -0
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-button_11.entry.js +1180 -0
- package/dist/esm/digi-calendar-datepicker.entry.js +14 -12
- package/dist/esm/digi-code-block_3.entry.js +6 -6
- package/dist/esm/digi-dialog.entry.js +6 -6
- package/dist/esm/digi-footer-card.entry.js +25 -0
- package/dist/esm/digi-footer.entry.js +70 -0
- package/dist/esm/digi-form-checkbox.entry.js +2 -2
- package/dist/esm/digi-form-error-list.entry.js +39 -7
- 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 +6 -6
- package/dist/esm/digi-header-avatar.entry.js +110 -0
- package/dist/esm/digi-header-navigation-item.entry.js +23 -0
- package/dist/esm/digi-header-navigation.entry.js +224 -0
- package/dist/esm/digi-header-notification.entry.js +19 -0
- package/dist/esm/digi-header.entry.js +111 -0
- package/dist/esm/digi-icon-accessibility-universal.entry.js +26 -0
- package/dist/esm/digi-icon-bars.entry.js +26 -0
- package/dist/esm/digi-icon-bell-filled.entry.js +26 -0
- package/dist/esm/digi-icon-envelope.entry.js +26 -0
- package/dist/esm/{digi-link-external.entry.js → digi-icon-external-link-alt_2.entry.js} +25 -2
- package/dist/esm/digi-icon-globe.entry.js +26 -0
- package/dist/esm/digi-icon-sign.entry.js +26 -0
- package/dist/esm/digi-icon-x.entry.js +26 -0
- package/dist/esm/digi-layout-block_2.entry.js +87 -0
- package/dist/esm/digi-link.entry.js +71 -0
- package/dist/esm/digi-logo.entry.js +45 -0
- package/dist/esm/digi-media-image_2.entry.js +162 -0
- package/dist/esm/digi-navigation-pagination.entry.js +6 -6
- package/dist/esm/digi-navigation-sidebar-button.entry.js +26 -0
- package/dist/esm/digi-notification-alert.entry.js +6 -6
- package/dist/esm/digi-notification-error-page.entry.js +6 -6
- package/dist/esm/digi-title-logo.entry.js +129 -0
- package/dist/esm/digi-tools-feedback.entry.js +6 -6
- package/dist/esm/digi-typography.entry.js +22 -0
- package/dist/esm/digi-util-breakpoint-observer.entry.js +44 -0
- package/dist/esm/footer-card-variation.enum-cc732148.js +8 -0
- package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-a6bba983.js} +15 -1
- package/dist/esm/{form-file-upload-variation.enum-9c49ec5e.js → form-validation-message-variation.enum-f7835fc5.js} +8 -1
- package/dist/esm/index-148a7577.js +84 -20
- package/dist/esm/index.js +6 -6
- package/dist/esm/layout-container-max-width.enum-c40018ac.js +21 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-color.enum-8593dca6.js +7 -0
- package/dist/esm/{typography-variation.enum-c85d7857.js → typography-variation.enum-fdda731c.js} +29 -34
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +10 -0
- package/dist/types/components/_form/form-checkbox/form-checkbox.d.ts +5 -2
- package/dist/types/components/_form/form-error-list/form-error-list.d.ts +3 -0
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +22 -3
- package/dist/types/components.d.ts +26 -6
- package/hydrate/index.js +129 -56
- package/hydrate/index.mjs +129 -56
- package/package.json +1 -1
- package/dist/cjs/digi-button_27.cjs.entry.js +0 -1380
- package/dist/cjs/digi-form-input.cjs.entry.js +0 -194
- package/dist/cjs/digi-form-label_3.cjs.entry.js +0 -129
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +0 -564
- package/dist/cjs/digi-icon-check.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +0 -53
- package/dist/cjs/form-input-search-variation.enum-e0e025b1.js +0 -15
- package/dist/cjs/form-input-variation.enum-c750520c.js +0 -29
- package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +0 -8
- package/dist/digi-arbetsformedlingen/p-111fb07d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1f956af8.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2788683e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2d2f6950.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-30dc159d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4841b4e1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-59073668.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7933b555.js +0 -1
- package/dist/digi-arbetsformedlingen/p-82611050.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-82a74908.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
- package/dist/digi-arbetsformedlingen/p-905ccb30.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9c053cf8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9dae073c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d595e8a3.js +0 -1
- package/dist/digi-arbetsformedlingen/p-eda570be.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ef689144.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f0a405ca.entry.js +0 -1
- package/dist/esm/digi-button_27.entry.js +0 -1350
- package/dist/esm/digi-form-input.entry.js +0 -190
- package/dist/esm/digi-form-label_3.entry.js +0 -123
- package/dist/esm/digi-form-select-filter.entry.js +0 -560
- package/dist/esm/digi-icon-check.entry.js +0 -26
- 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/form-input-search-variation.enum-6d8dc10a.js +0 -15
- package/dist/esm/form-input-variation.enum-64d9450f.js +0 -29
- package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +0 -8
package/dist/esm/{typography-variation.enum-c85d7857.js → typography-variation.enum-fdda731c.js}
RENAMED
|
@@ -49,13 +49,6 @@ var DialogVariation;
|
|
|
49
49
|
DialogVariation["SECONDARY"] = "secondary";
|
|
50
50
|
})(DialogVariation || (DialogVariation = {}));
|
|
51
51
|
|
|
52
|
-
var FooterCardVariation;
|
|
53
|
-
(function (FooterCardVariation) {
|
|
54
|
-
FooterCardVariation["NONE"] = "none";
|
|
55
|
-
FooterCardVariation["ICON"] = "icon";
|
|
56
|
-
FooterCardVariation["BORDER"] = "border";
|
|
57
|
-
})(FooterCardVariation || (FooterCardVariation = {}));
|
|
58
|
-
|
|
59
52
|
var FooterVariation;
|
|
60
53
|
(function (FooterVariation) {
|
|
61
54
|
FooterVariation["LARGE"] = "large";
|
|
@@ -72,6 +65,34 @@ var FormErrorListHeadingLevel;
|
|
|
72
65
|
FormErrorListHeadingLevel["H6"] = "h6";
|
|
73
66
|
})(FormErrorListHeadingLevel || (FormErrorListHeadingLevel = {}));
|
|
74
67
|
|
|
68
|
+
var FormInputMode;
|
|
69
|
+
(function (FormInputMode) {
|
|
70
|
+
FormInputMode["DEFAULT"] = "";
|
|
71
|
+
FormInputMode["NONE"] = "none";
|
|
72
|
+
FormInputMode["TEXT"] = "text";
|
|
73
|
+
FormInputMode["DECIMAL"] = "decimal";
|
|
74
|
+
FormInputMode["NUMERIC"] = "numeric";
|
|
75
|
+
FormInputMode["TEL"] = "tel";
|
|
76
|
+
FormInputMode["SEARCH"] = "search";
|
|
77
|
+
FormInputMode["EMAIL"] = "email";
|
|
78
|
+
FormInputMode["URL"] = "url";
|
|
79
|
+
})(FormInputMode || (FormInputMode = {}));
|
|
80
|
+
|
|
81
|
+
var FormInputValidation;
|
|
82
|
+
(function (FormInputValidation) {
|
|
83
|
+
FormInputValidation["SUCCESS"] = "success";
|
|
84
|
+
FormInputValidation["ERROR"] = "error";
|
|
85
|
+
FormInputValidation["WARNING"] = "warning";
|
|
86
|
+
FormInputValidation["NEUTRAL"] = "neutral";
|
|
87
|
+
})(FormInputValidation || (FormInputValidation = {}));
|
|
88
|
+
|
|
89
|
+
var FormInputVariation;
|
|
90
|
+
(function (FormInputVariation) {
|
|
91
|
+
FormInputVariation["SMALL"] = "small";
|
|
92
|
+
FormInputVariation["MEDIUM"] = "medium";
|
|
93
|
+
FormInputVariation["LARGE"] = "large";
|
|
94
|
+
})(FormInputVariation || (FormInputVariation = {}));
|
|
95
|
+
|
|
75
96
|
var FormFieldsetValidation;
|
|
76
97
|
(function (FormFieldsetValidation) {
|
|
77
98
|
FormFieldsetValidation["SUCCESS"] = "success";
|
|
@@ -177,32 +198,6 @@ var InfoCardHeadingLevel;
|
|
|
177
198
|
InfoCardHeadingLevel["H6"] = "h6";
|
|
178
199
|
})(InfoCardHeadingLevel || (InfoCardHeadingLevel = {}));
|
|
179
200
|
|
|
180
|
-
var LayoutBlockContainer;
|
|
181
|
-
(function (LayoutBlockContainer) {
|
|
182
|
-
LayoutBlockContainer["STATIC"] = "static";
|
|
183
|
-
LayoutBlockContainer["FLUID"] = "fluid";
|
|
184
|
-
LayoutBlockContainer["NONE"] = "none";
|
|
185
|
-
})(LayoutBlockContainer || (LayoutBlockContainer = {}));
|
|
186
|
-
|
|
187
|
-
var LayoutContainerVariation;
|
|
188
|
-
(function (LayoutContainerVariation) {
|
|
189
|
-
LayoutContainerVariation["STATIC"] = "static";
|
|
190
|
-
LayoutContainerVariation["FLUID"] = "fluid";
|
|
191
|
-
LayoutContainerVariation["NONE"] = "none";
|
|
192
|
-
})(LayoutContainerVariation || (LayoutContainerVariation = {}));
|
|
193
|
-
|
|
194
|
-
var LayoutContainerMaxWidth;
|
|
195
|
-
(function (LayoutContainerMaxWidth) {
|
|
196
|
-
LayoutContainerMaxWidth["WIDTH_1200"] = "1200";
|
|
197
|
-
LayoutContainerMaxWidth["WIDTH_1400"] = "1400";
|
|
198
|
-
})(LayoutContainerMaxWidth || (LayoutContainerMaxWidth = {}));
|
|
199
|
-
|
|
200
|
-
var LogoColor;
|
|
201
|
-
(function (LogoColor) {
|
|
202
|
-
LogoColor["PRIMARY"] = "primary";
|
|
203
|
-
LogoColor["SECONDARY"] = "secondary";
|
|
204
|
-
})(LogoColor || (LogoColor = {}));
|
|
205
|
-
|
|
206
201
|
var NotificationAlertHeadingLevel;
|
|
207
202
|
(function (NotificationAlertHeadingLevel) {
|
|
208
203
|
NotificationAlertHeadingLevel["H1"] = "h1";
|
|
@@ -268,4 +263,4 @@ var TypographyVariation;
|
|
|
268
263
|
TypographyVariation["LARGE"] = "large";
|
|
269
264
|
})(TypographyVariation || (TypographyVariation = {}));
|
|
270
265
|
|
|
271
|
-
export { BadgeNotificationType as B, CalendarDatepickerValidation as C, DialogHeadingLevel as D, ErrorPageStatusCodes as E,
|
|
266
|
+
export { BadgeNotificationType as B, CalendarDatepickerValidation as C, DialogHeadingLevel as D, ErrorPageStatusCodes as E, FooterVariation as F, HeaderCenterContentWidth as H, InfoCardMultiContainerHeadingLevel as I, NotificationAlertHeadingLevel as N, TitleLogoVariation as T, CodeBlockLanguage as a, DialogSize as b, DialogVariation as c, FormErrorListHeadingLevel as d, FormInputMode as e, FormInputValidation as f, FormInputVariation as g, FormFieldsetValidation as h, FormRadiobuttonLayout as i, FormRadiobuttonValidation as j, FormRadiobuttonVariation as k, FormReceiptHeadingLevel as l, FormReceiptType as m, FormReceiptVariation as n, FormSelectFilterValidation as o, InfoCardMultiHeadingLevel as p, InfoCardMultiVariation as q, InfoCardHeadingLevel as r, NotificationAlertSize as s, NotificationAlertVariation as t, ToolsFeedbackHeadingLevel as u, ToolsFeedbackType as v, FeedbackVariation as w, TypographyVariation as x };
|
|
@@ -141,6 +141,16 @@ export declare class CalendarDatepicker {
|
|
|
141
141
|
*/
|
|
142
142
|
afErrorMessageIsAlert: boolean | string;
|
|
143
143
|
get errorMessageIsAlert(): boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Sätt denna till true om formuläret innehåller fler obligatoriska fält än valfria.
|
|
146
|
+
* @en Set this to true if the form contains more required fields than optional fields.
|
|
147
|
+
*/
|
|
148
|
+
afAnnounceIfOptional: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Sätter text för afAnnounceIfOptional.
|
|
151
|
+
* @en Set text for afAnnounceIfOptional.
|
|
152
|
+
*/
|
|
153
|
+
afAnnounceIfOptionalText: string;
|
|
144
154
|
/**
|
|
145
155
|
* Skickar värdet som en array av Date-objekt när datumet uppdateras
|
|
146
156
|
* @en Sends the value as an array of Date objects when the date is updated
|
|
@@ -116,8 +116,11 @@ export declare class FormCheckbox {
|
|
|
116
116
|
*/
|
|
117
117
|
afAutofocus: boolean;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
119
|
+
* @ignore
|
|
120
|
+
* Sätter specifikt tabindex för input. Används till vår komponent Multifiter
|
|
121
|
+
* där vi vill manipulera tabbordningen för att underlätta navigeringen för tangentbordsanvändare
|
|
122
|
+
* @en Set specific tabindex for input. Used in our component Multifilter
|
|
123
|
+
* where we want to manipulate the tab order to facilitate navigation for keyboard users.
|
|
121
124
|
*/
|
|
122
125
|
afTabIndex: number;
|
|
123
126
|
/**
|
|
@@ -50,11 +50,14 @@ export declare class FormErrorList {
|
|
|
50
50
|
* @en When the component and slots are loaded and initialized this event will trigger.
|
|
51
51
|
*/
|
|
52
52
|
afOnReady: EventEmitter;
|
|
53
|
+
private observer;
|
|
53
54
|
/**
|
|
54
55
|
* Sätter fokus på rubriken.
|
|
55
56
|
* @en Sets focus on the heading.
|
|
56
57
|
*/
|
|
57
58
|
afMSetHeadingFocus(): Promise<void>;
|
|
59
|
+
connectedCallback(): void;
|
|
60
|
+
disconnectedCallback(): void;
|
|
58
61
|
componentDidLoad(): void;
|
|
59
62
|
setHeadingFocus(): void;
|
|
60
63
|
clickResponse(e: CustomEvent): void;
|
|
@@ -20,6 +20,10 @@ export declare class FormSelectFilter {
|
|
|
20
20
|
private _toggleButton;
|
|
21
21
|
private _submitButton;
|
|
22
22
|
private _searchQuery;
|
|
23
|
+
/** True when `value` was set from outside (e.g. Angular CVA) — then value is selection master. */
|
|
24
|
+
private _valueIsMaster;
|
|
25
|
+
/** Guards internal `value` writes so they don't flip `_valueIsMaster`. */
|
|
26
|
+
private _updatingValueInternally;
|
|
23
27
|
/**
|
|
24
28
|
* En valfri beskrivningstext.
|
|
25
29
|
* @en An optional description text.
|
|
@@ -71,9 +75,14 @@ export declare class FormSelectFilter {
|
|
|
71
75
|
sortAlphabetically: boolean;
|
|
72
76
|
/**
|
|
73
77
|
* @ignore
|
|
78
|
+
* Propertyn `value` finns inte dokumenterad på komponentens sida på dokumentationswebben, utan
|
|
79
|
+
* är endast till för att användas tillsammans med Angulars Control Value Accessors (CVA).
|
|
80
|
+
* Används CVA för att hantera komponentens värden så ska inte afListItems användas för att
|
|
81
|
+
* påverka vilka val som är gjorda eller ej.
|
|
82
|
+
* Exempel på båda sätten att hantera datat finns i Angular Playground.
|
|
74
83
|
*/
|
|
75
84
|
value: IListItem[];
|
|
76
|
-
onValueChanged(
|
|
85
|
+
onValueChanged(newValue: IListItem[] | string): void;
|
|
77
86
|
/**
|
|
78
87
|
* Sätts till true om det ska gå att välja flera val från listan.
|
|
79
88
|
* @en Set to true if you should be able to choose multiple items from the list.
|
|
@@ -201,7 +210,18 @@ export declare class FormSelectFilter {
|
|
|
201
210
|
* @en Listens for when focus is set on the custom element and propagates it down to the toggle butto.
|
|
202
211
|
*/
|
|
203
212
|
focusOnElement(): void;
|
|
204
|
-
|
|
213
|
+
componentWillLoad(): void;
|
|
214
|
+
private bootstrapInitialValue;
|
|
215
|
+
/**
|
|
216
|
+
* Keep `value` and `afListItems[].selected` in sync.
|
|
217
|
+
* - If `value` was set externally (`_valueIsMaster`), value wins on list updates.
|
|
218
|
+
* - Otherwise selection is seeded from `afListItems[].selected` (React/vanilla data-as-master).
|
|
219
|
+
* Does not emit `afOnSelect` — that is reserved for user interaction so Angular Control Value Accessors
|
|
220
|
+
* does not get feedback loops on prop sync.
|
|
221
|
+
*/
|
|
222
|
+
syncValueAndSelectedListItems(whereDidTheChangeComeFrom: 'valueChange' | 'afListItemsChange'): void;
|
|
223
|
+
private applyValueToListItems;
|
|
224
|
+
private setValueInternally;
|
|
205
225
|
setClosed(focusToggleButton?: boolean): void;
|
|
206
226
|
setScroll(scrollY: number): void;
|
|
207
227
|
setOpen(): void;
|
|
@@ -210,7 +230,6 @@ export declare class FormSelectFilter {
|
|
|
210
230
|
toggleDropdown(): void;
|
|
211
231
|
inputItem(identifier: any, index: any): HTMLInputElement;
|
|
212
232
|
emitFilterClosedEvent(): void;
|
|
213
|
-
componentWillLoad(): void;
|
|
214
233
|
setFocusItem(): void;
|
|
215
234
|
setFocusSearch(): void;
|
|
216
235
|
incrementFocusItem(): void;
|
|
@@ -510,6 +510,16 @@ export namespace Components {
|
|
|
510
510
|
* @valueAccessor TextValueAccessor
|
|
511
511
|
*/
|
|
512
512
|
interface DigiCalendarDatepicker {
|
|
513
|
+
/**
|
|
514
|
+
* Sätt denna till true om formuläret innehåller fler obligatoriska fält än valfria.
|
|
515
|
+
* @en Set this to true if the form contains more required fields than optional fields.
|
|
516
|
+
*/
|
|
517
|
+
"afAnnounceIfOptional": boolean;
|
|
518
|
+
/**
|
|
519
|
+
* Sätter text för afAnnounceIfOptional.
|
|
520
|
+
* @en Set text for afAnnounceIfOptional.
|
|
521
|
+
*/
|
|
522
|
+
"afAnnounceIfOptionalText": string;
|
|
513
523
|
/**
|
|
514
524
|
* Aria-label till knappen som stänger kalendern
|
|
515
525
|
* @en Aria-label for the button that closes the calendar
|
|
@@ -1122,8 +1132,8 @@ export namespace Components {
|
|
|
1122
1132
|
*/
|
|
1123
1133
|
"afRequired": boolean;
|
|
1124
1134
|
/**
|
|
1125
|
-
*
|
|
1126
|
-
* @
|
|
1135
|
+
* @ignore Sätter specifikt tabindex för input. Används till vår komponent Multifiter där vi vill manipulera tabbordningen för att underlätta navigeringen för tangentbordsanvändare
|
|
1136
|
+
* @en Set specific tabindex for input. Used in our component Multifilter where we want to manipulate the tab order to facilitate navigation for keyboard users.
|
|
1127
1137
|
*/
|
|
1128
1138
|
"afTabIndex": number;
|
|
1129
1139
|
/**
|
|
@@ -2193,7 +2203,7 @@ export namespace Components {
|
|
|
2193
2203
|
*/
|
|
2194
2204
|
"sortAlphabetically": boolean;
|
|
2195
2205
|
/**
|
|
2196
|
-
* @ignore
|
|
2206
|
+
* @ignore Propertyn `value` finns inte dokumenterad på komponentens sida på dokumentationswebben, utan är endast till för att användas tillsammans med Angulars Control Value Accessors (CVA). Används CVA för att hantera komponentens värden så ska inte afListItems användas för att påverka vilka val som är gjorda eller ej. Exempel på båda sätten att hantera datat finns i Angular Playground.
|
|
2197
2207
|
*/
|
|
2198
2208
|
"value": IListItem[];
|
|
2199
2209
|
}
|
|
@@ -11941,6 +11951,16 @@ declare namespace LocalJSX {
|
|
|
11941
11951
|
* @valueAccessor TextValueAccessor
|
|
11942
11952
|
*/
|
|
11943
11953
|
interface DigiCalendarDatepicker {
|
|
11954
|
+
/**
|
|
11955
|
+
* Sätt denna till true om formuläret innehåller fler obligatoriska fält än valfria.
|
|
11956
|
+
* @en Set this to true if the form contains more required fields than optional fields.
|
|
11957
|
+
*/
|
|
11958
|
+
"afAnnounceIfOptional"?: boolean;
|
|
11959
|
+
/**
|
|
11960
|
+
* Sätter text för afAnnounceIfOptional.
|
|
11961
|
+
* @en Set text for afAnnounceIfOptional.
|
|
11962
|
+
*/
|
|
11963
|
+
"afAnnounceIfOptionalText"?: string;
|
|
11944
11964
|
/**
|
|
11945
11965
|
* Aria-label till knappen som stänger kalendern
|
|
11946
11966
|
* @en Aria-label for the button that closes the calendar
|
|
@@ -12623,8 +12643,8 @@ declare namespace LocalJSX {
|
|
|
12623
12643
|
*/
|
|
12624
12644
|
"afRequired"?: boolean;
|
|
12625
12645
|
/**
|
|
12626
|
-
*
|
|
12627
|
-
* @
|
|
12646
|
+
* @ignore Sätter specifikt tabindex för input. Används till vår komponent Multifiter där vi vill manipulera tabbordningen för att underlätta navigeringen för tangentbordsanvändare
|
|
12647
|
+
* @en Set specific tabindex for input. Used in our component Multifilter where we want to manipulate the tab order to facilitate navigation for keyboard users.
|
|
12628
12648
|
*/
|
|
12629
12649
|
"afTabIndex"?: number;
|
|
12630
12650
|
/**
|
|
@@ -13929,7 +13949,7 @@ declare namespace LocalJSX {
|
|
|
13929
13949
|
*/
|
|
13930
13950
|
"sortAlphabetically"?: boolean;
|
|
13931
13951
|
/**
|
|
13932
|
-
* @ignore
|
|
13952
|
+
* @ignore Propertyn `value` finns inte dokumenterad på komponentens sida på dokumentationswebben, utan är endast till för att användas tillsammans med Angulars Control Value Accessors (CVA). Används CVA för att hantera komponentens värden så ska inte afListItems användas för att påverka vilka val som är gjorda eller ej. Exempel på båda sätten att hantera datat finns i Angular Playground.
|
|
13933
13953
|
*/
|
|
13934
13954
|
"value"?: IListItem[];
|
|
13935
13955
|
}
|