@designsystem-se/af 38.0.1-beta.1 → 38.1.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-bar-chart.js +171 -71
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +10 -9
- package/components/digi-calendar-week-view.js +1 -1
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +13 -9
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +4 -4
- package/components/digi-context-menu.js +2 -2
- package/components/digi-dialog.js +4 -3
- package/components/digi-expandable-faq-item.js +1 -1
- package/components/digi-footer.js +2 -1
- package/components/digi-form-category-filter.js +1 -1
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +5 -6
- package/components/digi-form-file-upload.js +24 -10
- package/components/digi-form-filter.js +3 -3
- package/components/digi-form-input-search.js +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-receipt.js +2 -1
- package/components/digi-form-select-filter.js +4 -3
- package/components/digi-form-select.js +1 -1
- package/components/digi-header-avatar.js +1 -1
- package/components/digi-header-navigation.js +3 -2
- package/components/digi-header.js +6 -5
- package/components/digi-info-card-multi.js +1 -1
- package/components/digi-info-card.js +2 -2
- package/components/digi-link-internal.js +1 -1
- package/components/digi-navigation-pagination.js +3 -2
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +1 -1
- package/components/digi-navigation-vertical-menu-item.js +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +2 -1
- package/components/digi-progress-circle.js +1 -6
- package/components/digi-progress-indicator.js +1 -1
- package/components/digi-quote.js +1 -1
- package/components/digi-tablist.js +5 -5
- package/components/digi-tag.js +2 -2
- package/components/digi-title-logo.js +2 -1
- package/components/digi-tools-feedback.js +4 -3
- package/components/digi-tools-theme-provider.js +5 -18
- package/components/index.js +2 -1
- package/components/p-13c09880.js +177 -0
- package/components/p-4bad4fb0.js +7 -0
- package/components/p-70fad0ea.js +165 -0
- package/components/{p-74c7dd5f.js → p-75c8d67e.js} +3 -2
- package/components/{p-b24c2842.js → p-77d8d575.js} +2 -2
- package/components/{p-fb8dd721.js → p-9df35672.js} +1 -1
- package/components/p-ab07faba.js +66 -0
- package/components/{p-4dc6d374.js → p-bc5b7057.js} +3 -2
- package/components/p-be4fd246.js +7 -0
- package/components/{p-90548d3f.js → p-dbb0665a.js} +2 -2
- package/components/{p-b94458ed.js → p-e2a68e2b.js} +1 -1
- package/custom-elements.json +0 -4
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-bar-chart.cjs.entry.js +170 -70
- package/dist/cjs/digi-button_27.cjs.entry.js +1380 -0
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +2599 -0
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +51 -50
- package/dist/cjs/digi-calendar_2.cjs.entry.js +464 -0
- package/dist/cjs/digi-chart-line.cjs.entry.js +12 -8
- package/dist/cjs/{digi-code-block_2.cjs.entry.js → digi-code-block_3.cjs.entry.js} +134 -2
- package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
- package/dist/cjs/digi-context-menu.cjs.entry.js +240 -0
- package/dist/cjs/digi-dialog.cjs.entry.js +20 -3
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +97 -0
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +121 -0
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +139 -0
- package/dist/cjs/digi-form-error-list.cjs.entry.js +20 -4
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +602 -0
- package/dist/cjs/digi-form-filter.cjs.entry.js +248 -0
- package/dist/cjs/digi-form-input-search.cjs.entry.js +7 -6
- package/dist/cjs/digi-form-input.cjs.entry.js +194 -0
- package/dist/cjs/digi-form-label_3.cjs.entry.js +129 -0
- package/dist/cjs/digi-form-receipt.cjs.entry.js +19 -2
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +564 -0
- package/dist/cjs/digi-form-select_2.cjs.entry.js +186 -0
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +99 -0
- package/dist/cjs/digi-icon-check.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-copy.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +145 -0
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +99 -0
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +31 -0
- package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +22 -0
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +58 -0
- package/dist/cjs/digi-info-card.cjs.entry.js +79 -0
- package/dist/cjs/digi-layout-columns.cjs.entry.js +33 -0
- package/dist/cjs/digi-link-button.cjs.entry.js +66 -0
- package/dist/cjs/digi-link-external.cjs.entry.js +36 -0
- package/dist/cjs/digi-link-internal.cjs.entry.js +37 -0
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +19 -2
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +150 -0
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +177 -0
- package/dist/cjs/digi-notification-alert.cjs.entry.js +112 -0
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +19 -2
- package/dist/cjs/digi-progress-circle.cjs.entry.js +4 -9
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +137 -0
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-tablist.cjs.entry.js +5 -5
- package/dist/cjs/digi-tag-media.cjs.entry.js +47 -0
- package/dist/cjs/digi-tag.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +20 -3
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +28 -0
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +38 -0
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +20 -0
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +64 -0
- package/dist/cjs/expandable-faq-item-variation.enum-89427195.js +18 -0
- package/dist/cjs/form-checkbox-variation.enum-d2ca879e.js +19 -0
- package/dist/cjs/form-file-upload-variation.enum-634cfae8.js +24 -0
- package/dist/cjs/form-input-search-variation.enum-e0e025b1.js +15 -0
- package/dist/cjs/{form-input-type.enum-1fb2180a.js → form-input-type.enum-9c8ee12a.js} +0 -14
- package/dist/cjs/form-input-variation.enum-c750520c.js +29 -0
- package/dist/cjs/form-select-variation.enum-528c1bf0.js +16 -0
- package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +8 -0
- package/dist/cjs/index-7a477838.js +156 -4
- package/dist/cjs/{index-acb7b350.js → index-ac8e01b4.js} +19 -189
- package/dist/cjs/index-cad91a90.js +66 -0
- package/dist/cjs/index-e8333bcc.js +174 -0
- package/dist/cjs/index.cjs.js +205 -188
- package/dist/cjs/info-card-multi-type.enum-14746572.js +8 -0
- package/dist/cjs/info-card-variation.enum-64cef637.js +24 -0
- package/dist/cjs/layout-columns-variation.enum-65675649.js +23 -0
- package/dist/cjs/link-button-variation.enum-137785e3.js +9 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/navigation-vertical-menu-variation.enum-c237edd3.js +13 -0
- package/dist/cjs/progress-circle-role.enum-b7fdcf0c.js +7 -0
- package/dist/cjs/progress-indicator-variation.enum-7cf8e0e4.js +13 -0
- package/dist/cjs/tag-media-icon.enum-372563c5.js +11 -0
- package/dist/cjs/tools-theme-provider.brand.enum-bc855272.js +7 -0
- package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +17 -0
- package/dist/cjs/{typography-variation.enum-ad1b2403.js → typography-variation.enum-c0ef9190.js} +0 -230
- package/dist/collection/components/_button/button/button.css +10 -10
- package/dist/collection/components/_calendar/calendar/calendar.css +2 -7
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +106 -411
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +5 -5
- package/dist/collection/components/_chart/bar-chart/bar-chart.js +171 -70
- package/dist/collection/components/_chart/chart-line/chart-line.js +12 -8
- package/dist/collection/components/_code/code-example/code-example.css +0 -6
- package/dist/collection/components/_dialog/dialog/dialog.css +1 -1
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.css +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +106 -411
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +2 -2
- package/dist/collection/components/_form/form-error-list/form-error-list.js +1 -7
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +3 -4
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +41 -8
- package/dist/collection/components/_form/form-filter/form-filter.css +1 -1
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +2 -2
- package/dist/collection/components/_form/form-select/form-select.css +2 -2
- package/dist/collection/components/_form/form-select-filter/form-select-filter.css +2 -2
- package/dist/collection/components/_header/header/header.js +2 -2
- package/dist/collection/components/_header/header-avatar/header-avatar.css +105 -410
- package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
- package/dist/collection/components/_info-card/info-card-multi/info-card-multi.css +1 -1
- package/dist/collection/components/_link/link-internal/link-internal.css +105 -410
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.css +2 -3
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.css +3 -3
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +3 -4
- package/dist/collection/components/_quote/quote/quote.css +2 -2
- package/dist/collection/components/_tag/tag/tag.js +1 -1
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +1 -1
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +2 -157
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +2 -43
- package/dist/collection/design-tokens/components/_button.variables.scss +10 -10
- package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_calendar.variables.scss +2 -3
- package/dist/collection/design-tokens/components/_dialog.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +0 -2
- package/dist/collection/design-tokens/components/_form-filter.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_form-select.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_info-card-multi.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_info-card.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_logo.variables.scss +14 -18
- package/dist/collection/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
- package/dist/collection/design-tokens/components/_quote.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_tools-feedback.variables.scss +1 -1
- package/dist/collection/enums.js +7 -1
- package/dist/collection/styles/src/_alias.mixin.scss +105 -246
- package/dist/collection/styles/src/themes/_brand-af18.mixin.scss +0 -16
- package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +0 -138
- package/dist/collection/styles/src/themes/_brand-common.mixin.scss +0 -7
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +14 -3171
- package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +10 -10
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +2 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_dialog.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +0 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-filter.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card-multi.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +0 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-vertical-menu-item.variables.scss +3 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_quote.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_tools-feedback.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-60738889.entry.js → p-01874a31.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-07303cb5.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0f6c0360.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0fbe6e50.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-111fb07d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-13ee320b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1486034d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-18880083.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f956af8.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2788683e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2a023831.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2d2f6950.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-30dc159d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-37c0ea9e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-39468f49.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-398d0f60.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3b20ec86.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3c9195db.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3f9dfdb0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-408e9b2a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-416992c0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4841b4e1.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4b8cae8a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4bad4fb0.js +1 -0
- package/dist/digi-arbetsformedlingen/p-501f9b16.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-51149879.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-d670e0e0.entry.js → p-54d5aa93.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-55bcba7c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-55d02ef7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-577f6995.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-59073668.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f20045a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f4ece29.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6fb0f1a4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-70da2307.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7933b555.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7aacd45f.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8142cc73.js +1 -0
- package/dist/digi-arbetsformedlingen/p-814ca2ad.js +1 -0
- package/dist/digi-arbetsformedlingen/p-820e795b.js +1 -0
- package/dist/digi-arbetsformedlingen/p-82611050.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-82a74908.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8833044b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8fa50755.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-905ccb30.js +1 -0
- package/dist/digi-arbetsformedlingen/p-915b2a14.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-97f66789.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9c053cf8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9dae073c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9f47d4b7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a186888d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a969ba67.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-af72f16f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b3d93b8b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-be4fd246.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c04ae2fc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c06930c2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7949525.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0a6d26f7.entry.js → p-cea5ef63.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d182d8bb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d1886fff.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-67ba87db.entry.js → p-d3e14568.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d595e8a3.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ddd659bf.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e5bd5a7e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-eda570be.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ef689144.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f0a405ca.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f40f4b2a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f447b984.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f4edca16.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fb9b3544.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fdca581c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +105 -246
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af18.mixin.scss +0 -16
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +0 -138
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-common.mixin.scss +0 -7
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +14 -3171
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-bar-chart.entry.js +170 -70
- package/dist/esm/digi-button_27.entry.js +1350 -0
- package/dist/esm/digi-calendar-datepicker.entry.js +2595 -0
- package/dist/esm/digi-calendar-week-view.entry.js +2 -1
- package/dist/esm/digi-calendar_2.entry.js +459 -0
- package/dist/esm/digi-chart-line.entry.js +12 -8
- package/dist/esm/{digi-code-block_2.entry.js → digi-code-block_3.entry.js} +135 -4
- package/dist/esm/digi-code-example.entry.js +1 -1
- package/dist/esm/digi-context-menu.entry.js +236 -0
- package/dist/esm/digi-dialog.entry.js +20 -3
- package/dist/esm/digi-expandable-faq-item.entry.js +93 -0
- package/dist/esm/digi-form-category-filter.entry.js +117 -0
- package/dist/esm/digi-form-checkbox.entry.js +135 -0
- package/dist/esm/digi-form-error-list.entry.js +20 -4
- package/dist/esm/digi-form-file-upload.entry.js +598 -0
- package/dist/esm/digi-form-filter.entry.js +244 -0
- package/dist/esm/digi-form-input-search.entry.js +2 -1
- package/dist/esm/digi-form-input.entry.js +190 -0
- package/dist/esm/digi-form-label_3.entry.js +123 -0
- package/dist/esm/digi-form-receipt.entry.js +19 -2
- package/dist/esm/digi-form-select-filter.entry.js +560 -0
- package/dist/esm/digi-form-select_2.entry.js +181 -0
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +92 -0
- 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-chevron-left_2.entry.js +48 -0
- package/dist/esm/digi-icon-copy.entry.js +26 -0
- package/dist/esm/digi-icon-list-ul_6.entry.js +136 -0
- package/dist/esm/digi-icon-minus_2.entry.js +48 -0
- package/dist/esm/digi-icon-notification-error_4.entry.js +92 -0
- package/dist/esm/digi-icon-spinner.entry.js +27 -0
- package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
- package/dist/esm/digi-info-card-multi-container.entry.js +18 -0
- package/dist/esm/digi-info-card-multi.entry.js +54 -0
- package/dist/esm/digi-info-card.entry.js +75 -0
- package/dist/esm/digi-layout-columns.entry.js +29 -0
- package/dist/esm/digi-link-button.entry.js +62 -0
- package/dist/esm/digi-link-external.entry.js +32 -0
- package/dist/esm/digi-link-internal.entry.js +33 -0
- package/dist/esm/digi-navigation-pagination.entry.js +19 -2
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +146 -0
- package/dist/esm/digi-navigation-vertical-menu.entry.js +173 -0
- package/dist/esm/digi-notification-alert.entry.js +108 -0
- package/dist/esm/digi-notification-error-page.entry.js +19 -2
- package/dist/esm/digi-progress-circle.entry.js +1 -6
- package/dist/esm/digi-progress-indicator.entry.js +133 -0
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-tablist.entry.js +5 -5
- package/dist/esm/digi-tag-media.entry.js +43 -0
- package/dist/esm/digi-tag.entry.js +1 -1
- package/dist/esm/digi-tools-feedback.entry.js +20 -3
- package/dist/esm/digi-tools-theme-provider.entry.js +24 -0
- package/dist/esm/digi-typography-heading-jumbo.entry.js +34 -0
- package/dist/esm/digi-typography-preamble.entry.js +16 -0
- package/dist/esm/digi-util-mutation-observer.entry.js +60 -0
- package/dist/esm/expandable-faq-item-variation.enum-a8cb225b.js +18 -0
- package/dist/esm/form-checkbox-variation.enum-83e906fc.js +19 -0
- package/dist/esm/form-file-upload-variation.enum-9c49ec5e.js +24 -0
- package/dist/esm/form-input-search-variation.enum-6d8dc10a.js +15 -0
- package/dist/esm/{form-input-type.enum-a6bba983.js → form-input-type.enum-3da3db27.js} +1 -15
- package/dist/esm/form-input-variation.enum-64d9450f.js +29 -0
- package/dist/esm/form-select-variation.enum-f2f6098d.js +16 -0
- package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +8 -0
- package/dist/esm/index-148a7577.js +156 -4
- package/dist/esm/{index-dc6b83f7.js → index-2fce392f.js} +3 -170
- package/dist/esm/index-5b6c95c6.js +63 -0
- package/dist/esm/index-8685f88d.js +170 -0
- package/dist/esm/index.js +19 -2
- package/dist/esm/info-card-multi-type.enum-07ee124f.js +8 -0
- package/dist/esm/info-card-variation.enum-2ccc52c1.js +24 -0
- package/dist/esm/layout-columns-variation.enum-34f7754e.js +23 -0
- package/dist/esm/link-button-variation.enum-84d4976f.js +9 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/navigation-vertical-menu-variation.enum-c30b0ea9.js +13 -0
- package/dist/esm/progress-circle-role.enum-7737a2c6.js +7 -0
- package/dist/esm/progress-indicator-variation.enum-b12ba50a.js +13 -0
- package/dist/esm/tag-media-icon.enum-fefa191c.js +11 -0
- package/dist/esm/tools-theme-provider.brand.enum-8c5a98c9.js +7 -0
- package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +17 -0
- package/dist/esm/typography-variation.enum-c85d7857.js +271 -0
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +2 -2
- package/dist/types/components/_form/form-error-list/form-error-list.d.ts +0 -1
- package/dist/types/components/_form/form-file-upload/form-file-upload.d.ts +5 -0
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +0 -9
- package/dist/types/components.d.ts +5 -12
- package/dist/types/enums.d.ts +7 -1
- package/hydrate/index.js +252 -155
- package/hydrate/index.mjs +252 -155
- package/package.json +1 -1
- package/components/p-1af1c5ea.js +0 -165
- package/components/p-adb4322e.js +0 -66
- package/components/p-bd92430e.js +0 -177
- package/components/p-d7ef9cb1.js +0 -13
- package/dist/cjs/digi-button_84.cjs.entry.js +0 -8405
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +0 -5
- package/dist/digi-arbetsformedlingen/p-0467a3ec.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1995b9cc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3f47ec44.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-47ab0b39.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5ad6d46d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6f2ac316.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-72ef7f99.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-740c6ad8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8d055a17.js +0 -1
- package/dist/digi-arbetsformedlingen/p-94ded2bd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a105d9fe.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b471f287.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c64b4626.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ed832d4e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ede12626.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f601908d.entry.js +0 -1
- package/dist/esm/digi-button_84.entry.js +0 -8318
- package/dist/esm/typography-variation.enum-7319240b.js +0 -501
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +0 -4
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index$
|
|
5
|
+
const index$2 = require('./index-7a477838.js');
|
|
6
6
|
const text = require('./text-65b1b58c.js');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index$1 = require('./index-ac8e01b4.js');
|
|
8
8
|
const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
|
|
9
9
|
const buttonVariation_enum = require('./button-variation.enum-bc521499.js');
|
|
10
10
|
const calendarWeekViewHeadingLevel_enum = require('./calendar-week-view-heading-level.enum-fd0c841b.js');
|
|
11
|
+
const index = require('./index-e8333bcc.js');
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* @name addDays
|
|
@@ -35,7 +36,7 @@ const calendarWeekViewHeadingLevel_enum = require('./calendar-week-view-heading-
|
|
|
35
36
|
function addDays(dirtyDate, dirtyAmount) {
|
|
36
37
|
index.requiredArgs(2, arguments);
|
|
37
38
|
var date = index.toDate(dirtyDate);
|
|
38
|
-
var amount = index.toInteger(dirtyAmount);
|
|
39
|
+
var amount = index$1.toInteger(dirtyAmount);
|
|
39
40
|
|
|
40
41
|
if (isNaN(amount)) {
|
|
41
42
|
return new Date(NaN);
|
|
@@ -87,8 +88,8 @@ function startOfWeek(dirtyDate, dirtyOptions) {
|
|
|
87
88
|
var options = dirtyOptions || {};
|
|
88
89
|
var locale = options.locale;
|
|
89
90
|
var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
|
|
90
|
-
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index.toInteger(localeWeekStartsOn);
|
|
91
|
-
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
91
|
+
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index$1.toInteger(localeWeekStartsOn);
|
|
92
|
+
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index$1.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
92
93
|
|
|
93
94
|
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
94
95
|
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
@@ -431,7 +432,7 @@ var formatters = {
|
|
|
431
432
|
},
|
|
432
433
|
// Local week-numbering year
|
|
433
434
|
Y: function (date, token, localize, options) {
|
|
434
|
-
var signedWeekYear = index.getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
435
|
+
var signedWeekYear = index$1.getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
435
436
|
|
|
436
437
|
var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year
|
|
437
438
|
|
|
@@ -452,7 +453,7 @@ var formatters = {
|
|
|
452
453
|
},
|
|
453
454
|
// ISO week-numbering year
|
|
454
455
|
R: function (date, token) {
|
|
455
|
-
var isoWeekYear = index.getUTCISOWeekYear(date); // Padding
|
|
456
|
+
var isoWeekYear = index$1.getUTCISOWeekYear(date); // Padding
|
|
456
457
|
|
|
457
458
|
return addLeadingZeros(isoWeekYear, token.length);
|
|
458
459
|
},
|
|
@@ -635,7 +636,7 @@ var formatters = {
|
|
|
635
636
|
},
|
|
636
637
|
// Local week of year
|
|
637
638
|
w: function (date, token, localize, options) {
|
|
638
|
-
var week = index.getUTCWeek(date, options);
|
|
639
|
+
var week = index$1.getUTCWeek(date, options);
|
|
639
640
|
|
|
640
641
|
if (token === 'wo') {
|
|
641
642
|
return localize.ordinalNumber(week, {
|
|
@@ -647,7 +648,7 @@ var formatters = {
|
|
|
647
648
|
},
|
|
648
649
|
// ISO week of year
|
|
649
650
|
I: function (date, token, localize) {
|
|
650
|
-
var isoWeek = index.getUTCISOWeek(date);
|
|
651
|
+
var isoWeek = index$1.getUTCISOWeek(date);
|
|
651
652
|
|
|
652
653
|
if (token === 'Io') {
|
|
653
654
|
return localize.ordinalNumber(isoWeek, {
|
|
@@ -1525,18 +1526,18 @@ function format(dirtyDate, dirtyFormatStr, dirtyOptions) {
|
|
|
1525
1526
|
index.requiredArgs(2, arguments);
|
|
1526
1527
|
var formatStr = String(dirtyFormatStr);
|
|
1527
1528
|
var options = dirtyOptions || {};
|
|
1528
|
-
var locale = options.locale || index.defaultLocale;
|
|
1529
|
+
var locale = options.locale || index$1.defaultLocale;
|
|
1529
1530
|
var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;
|
|
1530
|
-
var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : index.toInteger(localeFirstWeekContainsDate);
|
|
1531
|
-
var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : index.toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
|
|
1531
|
+
var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : index$1.toInteger(localeFirstWeekContainsDate);
|
|
1532
|
+
var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : index$1.toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
|
|
1532
1533
|
|
|
1533
1534
|
if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
|
|
1534
1535
|
throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
|
|
1535
1536
|
}
|
|
1536
1537
|
|
|
1537
1538
|
var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;
|
|
1538
|
-
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index.toInteger(localeWeekStartsOn);
|
|
1539
|
-
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
1539
|
+
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index$1.toInteger(localeWeekStartsOn);
|
|
1540
|
+
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index$1.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
1540
1541
|
|
|
1541
1542
|
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
1542
1543
|
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
@@ -1559,8 +1560,8 @@ function format(dirtyDate, dirtyFormatStr, dirtyOptions) {
|
|
|
1559
1560
|
// See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376
|
|
1560
1561
|
|
|
1561
1562
|
|
|
1562
|
-
var timezoneOffset = index.getTimezoneOffsetInMilliseconds(originalDate);
|
|
1563
|
-
var utcDate = index.subMilliseconds(originalDate, timezoneOffset);
|
|
1563
|
+
var timezoneOffset = index$1.getTimezoneOffsetInMilliseconds(originalDate);
|
|
1564
|
+
var utcDate = index$1.subMilliseconds(originalDate, timezoneOffset);
|
|
1564
1565
|
var formatterOptions = {
|
|
1565
1566
|
firstWeekContainsDate: firstWeekContainsDate,
|
|
1566
1567
|
weekStartsOn: weekStartsOn,
|
|
@@ -1571,7 +1572,7 @@ function format(dirtyDate, dirtyFormatStr, dirtyOptions) {
|
|
|
1571
1572
|
var firstCharacter = substring[0];
|
|
1572
1573
|
|
|
1573
1574
|
if (firstCharacter === 'p' || firstCharacter === 'P') {
|
|
1574
|
-
var longFormatter = index.longFormatters[firstCharacter];
|
|
1575
|
+
var longFormatter = index$1.longFormatters[firstCharacter];
|
|
1575
1576
|
return longFormatter(substring, locale.formatLong, formatterOptions);
|
|
1576
1577
|
}
|
|
1577
1578
|
|
|
@@ -1591,12 +1592,12 @@ function format(dirtyDate, dirtyFormatStr, dirtyOptions) {
|
|
|
1591
1592
|
var formatter = formatters$1[firstCharacter];
|
|
1592
1593
|
|
|
1593
1594
|
if (formatter) {
|
|
1594
|
-
if (!options.useAdditionalWeekYearTokens && index.isProtectedWeekYearToken(substring)) {
|
|
1595
|
-
index.throwProtectedError(substring, dirtyFormatStr, dirtyDate);
|
|
1595
|
+
if (!options.useAdditionalWeekYearTokens && index$1.isProtectedWeekYearToken(substring)) {
|
|
1596
|
+
index$1.throwProtectedError(substring, dirtyFormatStr, dirtyDate);
|
|
1596
1597
|
}
|
|
1597
1598
|
|
|
1598
|
-
if (!options.useAdditionalDayOfYearTokens && index.isProtectedDayOfYearToken(substring)) {
|
|
1599
|
-
index.throwProtectedError(substring, dirtyFormatStr, dirtyDate);
|
|
1599
|
+
if (!options.useAdditionalDayOfYearTokens && index$1.isProtectedDayOfYearToken(substring)) {
|
|
1600
|
+
index$1.throwProtectedError(substring, dirtyFormatStr, dirtyDate);
|
|
1600
1601
|
}
|
|
1601
1602
|
|
|
1602
1603
|
return formatter(utcDate, substring, locale.localize, formatterOptions);
|
|
@@ -1675,7 +1676,7 @@ function getISOWeek(dirtyDate) {
|
|
|
1675
1676
|
|
|
1676
1677
|
function subDays(dirtyDate, dirtyAmount) {
|
|
1677
1678
|
index.requiredArgs(2, arguments);
|
|
1678
|
-
var amount = index.toInteger(dirtyAmount);
|
|
1679
|
+
var amount = index$1.toInteger(dirtyAmount);
|
|
1679
1680
|
return addDays(dirtyDate, -amount);
|
|
1680
1681
|
}
|
|
1681
1682
|
|
|
@@ -1715,15 +1716,15 @@ function setDay(dirtyDate, dirtyDay, dirtyOptions) {
|
|
|
1715
1716
|
var options = dirtyOptions || {};
|
|
1716
1717
|
var locale = options.locale;
|
|
1717
1718
|
var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
|
|
1718
|
-
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index.toInteger(localeWeekStartsOn);
|
|
1719
|
-
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
1719
|
+
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index$1.toInteger(localeWeekStartsOn);
|
|
1720
|
+
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index$1.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
1720
1721
|
|
|
1721
1722
|
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
1722
1723
|
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
1723
1724
|
}
|
|
1724
1725
|
|
|
1725
1726
|
var date = index.toDate(dirtyDate);
|
|
1726
|
-
var day = index.toInteger(dirtyDay);
|
|
1727
|
+
var day = index$1.toInteger(dirtyDay);
|
|
1727
1728
|
var currentDay = date.getDay();
|
|
1728
1729
|
var remainder = day % 7;
|
|
1729
1730
|
var dayIndex = (remainder + 7) % 7;
|
|
@@ -1845,15 +1846,15 @@ var dateTimeFormats = {
|
|
|
1845
1846
|
short: '{{date}} {{time}}'
|
|
1846
1847
|
};
|
|
1847
1848
|
var formatLong = {
|
|
1848
|
-
date: index.buildFormatLongFn({
|
|
1849
|
+
date: index$1.buildFormatLongFn({
|
|
1849
1850
|
formats: dateFormats,
|
|
1850
1851
|
defaultWidth: 'full'
|
|
1851
1852
|
}),
|
|
1852
|
-
time: index.buildFormatLongFn({
|
|
1853
|
+
time: index$1.buildFormatLongFn({
|
|
1853
1854
|
formats: timeFormats,
|
|
1854
1855
|
defaultWidth: 'full'
|
|
1855
1856
|
}),
|
|
1856
|
-
dateTime: index.buildFormatLongFn({
|
|
1857
|
+
dateTime: index$1.buildFormatLongFn({
|
|
1857
1858
|
formats: dateTimeFormats,
|
|
1858
1859
|
defaultWidth: 'full'
|
|
1859
1860
|
})
|
|
@@ -1976,26 +1977,26 @@ function ordinalNumber(dirtyNumber) {
|
|
|
1976
1977
|
|
|
1977
1978
|
var localize = {
|
|
1978
1979
|
ordinalNumber: ordinalNumber,
|
|
1979
|
-
era: index.buildLocalizeFn({
|
|
1980
|
+
era: index$1.buildLocalizeFn({
|
|
1980
1981
|
values: eraValues,
|
|
1981
1982
|
defaultWidth: 'wide'
|
|
1982
1983
|
}),
|
|
1983
|
-
quarter: index.buildLocalizeFn({
|
|
1984
|
+
quarter: index$1.buildLocalizeFn({
|
|
1984
1985
|
values: quarterValues,
|
|
1985
1986
|
defaultWidth: 'wide',
|
|
1986
1987
|
argumentCallback: function (quarter) {
|
|
1987
1988
|
return Number(quarter) - 1;
|
|
1988
1989
|
}
|
|
1989
1990
|
}),
|
|
1990
|
-
month: index.buildLocalizeFn({
|
|
1991
|
+
month: index$1.buildLocalizeFn({
|
|
1991
1992
|
values: monthValues,
|
|
1992
1993
|
defaultWidth: 'wide'
|
|
1993
1994
|
}),
|
|
1994
|
-
day: index.buildLocalizeFn({
|
|
1995
|
+
day: index$1.buildLocalizeFn({
|
|
1995
1996
|
values: dayValues,
|
|
1996
1997
|
defaultWidth: 'wide'
|
|
1997
1998
|
}),
|
|
1998
|
-
dayPeriod: index.buildLocalizeFn({
|
|
1999
|
+
dayPeriod: index$1.buildLocalizeFn({
|
|
1999
2000
|
values: dayPeriodValues,
|
|
2000
2001
|
defaultWidth: 'wide',
|
|
2001
2002
|
formattingValues: formattingDayPeriodValues,
|
|
@@ -2056,20 +2057,20 @@ var parseDayPeriodPatterns = {
|
|
|
2056
2057
|
}
|
|
2057
2058
|
};
|
|
2058
2059
|
var match = {
|
|
2059
|
-
ordinalNumber: index.buildMatchPatternFn({
|
|
2060
|
+
ordinalNumber: index$1.buildMatchPatternFn({
|
|
2060
2061
|
matchPattern: matchOrdinalNumberPattern,
|
|
2061
2062
|
parsePattern: parseOrdinalNumberPattern,
|
|
2062
2063
|
valueCallback: function (value) {
|
|
2063
2064
|
return parseInt(value, 10);
|
|
2064
2065
|
}
|
|
2065
2066
|
}),
|
|
2066
|
-
era: index.buildMatchFn({
|
|
2067
|
+
era: index$1.buildMatchFn({
|
|
2067
2068
|
matchPatterns: matchEraPatterns,
|
|
2068
2069
|
defaultMatchWidth: 'wide',
|
|
2069
2070
|
parsePatterns: parseEraPatterns,
|
|
2070
2071
|
defaultParseWidth: 'any'
|
|
2071
2072
|
}),
|
|
2072
|
-
quarter: index.buildMatchFn({
|
|
2073
|
+
quarter: index$1.buildMatchFn({
|
|
2073
2074
|
matchPatterns: matchQuarterPatterns,
|
|
2074
2075
|
defaultMatchWidth: 'wide',
|
|
2075
2076
|
parsePatterns: parseQuarterPatterns,
|
|
@@ -2078,19 +2079,19 @@ var match = {
|
|
|
2078
2079
|
return index + 1;
|
|
2079
2080
|
}
|
|
2080
2081
|
}),
|
|
2081
|
-
month: index.buildMatchFn({
|
|
2082
|
+
month: index$1.buildMatchFn({
|
|
2082
2083
|
matchPatterns: matchMonthPatterns,
|
|
2083
2084
|
defaultMatchWidth: 'wide',
|
|
2084
2085
|
parsePatterns: parseMonthPatterns,
|
|
2085
2086
|
defaultParseWidth: 'any'
|
|
2086
2087
|
}),
|
|
2087
|
-
day: index.buildMatchFn({
|
|
2088
|
+
day: index$1.buildMatchFn({
|
|
2088
2089
|
matchPatterns: matchDayPatterns,
|
|
2089
2090
|
defaultMatchWidth: 'wide',
|
|
2090
2091
|
parsePatterns: parseDayPatterns,
|
|
2091
2092
|
defaultParseWidth: 'any'
|
|
2092
2093
|
}),
|
|
2093
|
-
dayPeriod: index.buildMatchFn({
|
|
2094
|
+
dayPeriod: index$1.buildMatchFn({
|
|
2094
2095
|
matchPatterns: matchDayPeriodPatterns,
|
|
2095
2096
|
defaultMatchWidth: 'any',
|
|
2096
2097
|
parsePatterns: parseDayPeriodPatterns,
|
|
@@ -2131,10 +2132,10 @@ const DigiCalendarWeekViewStyle0 = calendarWeekViewCss;
|
|
|
2131
2132
|
|
|
2132
2133
|
const CalendarWeekView = class {
|
|
2133
2134
|
constructor(hostRef) {
|
|
2134
|
-
index$
|
|
2135
|
-
this.afOnWeekChange = index$
|
|
2136
|
-
this.afOnDateChange = index$
|
|
2137
|
-
this.afOnReady = index$
|
|
2135
|
+
index$2.registerInstance(this, hostRef);
|
|
2136
|
+
this.afOnWeekChange = index$2.createEvent(this, "afOnWeekChange", 7);
|
|
2137
|
+
this.afOnDateChange = index$2.createEvent(this, "afOnDateChange", 7);
|
|
2138
|
+
this.afOnReady = index$2.createEvent(this, "afOnReady", 3);
|
|
2138
2139
|
this.minDate = new Date();
|
|
2139
2140
|
this.maxDate = new Date();
|
|
2140
2141
|
this.dates = [];
|
|
@@ -2234,7 +2235,7 @@ const CalendarWeekView = class {
|
|
|
2234
2235
|
format(new Date(lastDate), 'MMMM yyyy', { locale: svlocale });
|
|
2235
2236
|
}
|
|
2236
2237
|
render() {
|
|
2237
|
-
return (index$
|
|
2238
|
+
return (index$2.h("div", { key: '967ccb9710018973a960ae36d52157ba85dacfed', class: "digi-calendar-week-view" }, index$2.h("nav", { key: '6a9137d8f8a8e652d26d099ae652cb76e5665b51', class: "digi-calendar-week-view__timepicker" }, index$2.h("div", { key: 'a2b8aaeaa93e391e65847b2ea8f9b455e86474f1', class: "digi-calendar-week-view__dates" }, index$2.h("div", { key: '0cc675c0cd67d042e5e27a38a6665ab30e516cea', class: "digi-calendar-week-view__flex" }, index$2.h("digi-typography", { key: 'd47f59955354cb435dc80895059c6e4fd6eefa8a' }, index$2.h(this.afHeadingLevel, { key: 'f01725e82afff23b8ae357b30af909b325d85279', role: "status", class: "digi-calendar-week-view__heading" }, index$2.h("span", { key: 'bbfab19eec8776e640ed235654c0fd960faf5722', class: "digi-calendar-week-view__month" }, this.currentMonth), index$2.h("span", { key: 'a3a52801083cd83351056d474e01df926d8b0117', class: "digi-calendar-week-view__week" }, ' ', "v.", this.currentWeek))), index$2.h("ul", { key: 'a3f3703318fa5400cd32ee5d3af896900a032acd', class: "digi-calendar-week-view__date-list" }, this.weekDays.map((dateItem) => {
|
|
2238
2239
|
const date = format(new Date(dateItem), 'd', {
|
|
2239
2240
|
locale: svlocale
|
|
2240
2241
|
});
|
|
@@ -2244,25 +2245,25 @@ const CalendarWeekView = class {
|
|
|
2244
2245
|
const fullDay = format(new Date(dateItem), 'EEEE ', {
|
|
2245
2246
|
locale: svlocale
|
|
2246
2247
|
});
|
|
2247
|
-
return (index$
|
|
2248
|
+
return (index$2.h("li", { class: "digi-calendar-week-view__date-list-item", "aria-current": dateItem === this.todaysDate && 'date' }, index$2.h("digi-button", { onClick: () => (this.selectedDate = dateItem), afAriaLabel: `${fullDay} ${date}`, "aria-hidden": !this.dates.includes(dateItem) ? 'true' : 'false', "af-tabindex": !this.dates.includes(dateItem) ? -1 : null, "aria-pressed": this.selectedDate == dateItem ? 'true' : 'false', class: {
|
|
2248
2249
|
'digi-calendar-week-view__date-button': true,
|
|
2249
2250
|
'digi-calendar-week-view__date-button--active': this.selectedDate == dateItem,
|
|
2250
2251
|
'digi-calendar-week-view__date-button--no-value': !this.dates.includes(dateItem)
|
|
2251
|
-
}, "af-variation": buttonVariation_enum.ButtonVariation.SECONDARY }, index$
|
|
2252
|
+
}, "af-variation": buttonVariation_enum.ButtonVariation.SECONDARY }, index$2.h("span", { class: "digi-calendar-week-view__date-button-content", "aria-hidden": "true" }, index$2.h("span", { class: {
|
|
2252
2253
|
'digi-calendar-week-view__date-button-day': this.selectedDate != dateItem,
|
|
2253
2254
|
'digi-calendar-week-view__date-button-day--active': this.selectedDate == dateItem
|
|
2254
|
-
} }, day), index$
|
|
2255
|
+
} }, day), index$2.h("span", { class: "digi-calendar-week-view__date-button-date" }, date), index$2.h("span", { "aria-hidden": "true", class: {
|
|
2255
2256
|
'digi-calendar-week-view__date-button-circle': dateItem === this.todaysDate
|
|
2256
2257
|
} })))));
|
|
2257
|
-
})))), index$
|
|
2258
|
+
})))), index$2.h("digi-button", { key: '2edb685459c4cbf8a0120ab340672b17d0ea3f9f', onClick: () => this.prevWeek(), class: {
|
|
2258
2259
|
'digi-calendar-week-view__week-button digi-calendar-week-view__week-button--previous': true,
|
|
2259
2260
|
'digi-calendar-week-view__week-button--keep-left': this.currentWeek == getISOWeek(this.maxDate),
|
|
2260
2261
|
'digi-calendar-week-view__week-button--hidden': !(this.currentWeek > getISOWeek(this.minDate))
|
|
2261
|
-
}, "af-variation": "secondary" }, index$
|
|
2262
|
+
}, "af-variation": "secondary" }, index$2.h("digi-icon-chevron-left", { key: '8948b12a1654f9ef46728ea8de3b1df5f40addcd', slot: "icon" }), this.prevWeekText), index$2.h("digi-button", { key: '729ed8eebce68168b66c5365588a52b1279eec3f', onClick: () => this.nextWeek(), class: {
|
|
2262
2263
|
'digi-calendar-week-view__week-button digi-calendar-week-view__week-button--next': true,
|
|
2263
2264
|
'digi-calendar-week-view__week-button--keep-right': this.currentWeek == getISOWeek(this.minDate),
|
|
2264
2265
|
'digi-calendar-week-view__week-button--hidden': !(this.currentWeek < getISOWeek(this.maxDate))
|
|
2265
|
-
}, "af-variation": "secondary" }, index$
|
|
2266
|
+
}, "af-variation": "secondary" }, index$2.h("digi-icon-chevron-right", { key: '75bf1669a5d9dd3f618661c79202dc8e69f6c8ea', slot: "icon-secondary" }), this.nextWeekText)), index$2.h("div", { key: 'c7379a321936f28783d2f7a4e1e94d0b119de471', role: "status", "aria-live": "assertive", class: "digi-calendar-week-view__result", id: `${this.afId}-result` }, index$2.h("digi-typography", { key: 'f7e55435a94c5bff18a3b4b7bfa5d397291f7e8c' }, index$2.h("slot", { key: '7c59e144a47c721f5f4a454b9776c708f6d2f15c' })))));
|
|
2266
2267
|
}
|
|
2267
2268
|
static get watchers() { return {
|
|
2268
2269
|
"selectedDate": ["selectedDateChangeHandler"],
|