@designsystem-se/af 38.2.1-beta.0 → 38.2.1-beta.dark-mode
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-bar-chart.js +1 -1
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +4 -4
- package/components/digi-calendar-week-view.js +1 -1
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +1 -1
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +3 -3
- package/components/digi-context-menu.js +2 -2
- package/components/digi-dialog.js +3 -3
- package/components/digi-expandable-faq-item.js +1 -1
- package/components/digi-footer.js +1 -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 +3 -3
- package/components/digi-form-file-upload.js +1 -1
- package/components/digi-form-filter.js +3 -3
- package/components/digi-form-input-search.js +1 -1
- package/components/digi-form-receipt.js +1 -1
- package/components/digi-form-select-filter.js +50 -87
- package/components/digi-form-select.js +1 -1
- package/components/digi-header-avatar.js +1 -1
- package/components/digi-header-navigation.js +2 -2
- package/components/digi-header.js +5 -5
- package/components/digi-info-card-multi.js +1 -1
- package/components/digi-info-card.js +2 -2
- package/components/digi-link-button.js +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-navigation-pagination.js +2 -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 +1 -1
- package/components/digi-progress-indicator.js +1 -1
- package/components/digi-quote.js +1 -1
- package/components/digi-tag.js +1 -1
- package/components/digi-title-logo.js +1 -1
- package/components/digi-tools-feedback.js +3 -3
- package/components/digi-tools-theme-provider.js +18 -5
- package/components/index.js +1 -1
- package/components/{p-9df35672.js → p-0207ebef.js} +1 -1
- package/components/p-24e68936.js +165 -0
- package/components/p-4b1d11d0.js +66 -0
- package/components/{p-75c8d67e.js → p-78154d00.js} +2 -2
- package/components/{p-bc5b7057.js → p-8562da9d.js} +2 -2
- package/components/p-8c4cbca6.js +177 -0
- package/components/{p-dbb0665a.js → p-99793659.js} +2 -2
- package/components/{p-e2a68e2b.js → p-b94458ed.js} +1 -1
- package/components/p-d7ef9cb1.js +13 -0
- package/custom-elements.json +4 -0
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-button_84.cjs.entry.js +8421 -0
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +50 -51
- package/dist/cjs/{digi-code-block_3.cjs.entry.js → digi-code-block_2.cjs.entry.js} +1 -132
- package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
- package/dist/cjs/digi-dialog.cjs.entry.js +2 -18
- package/dist/cjs/digi-form-error-list.cjs.entry.js +1 -17
- package/dist/cjs/digi-form-receipt.cjs.entry.js +1 -17
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +1 -17
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +1 -17
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +2 -18
- package/dist/cjs/index-7a477838.js +4 -220
- package/dist/cjs/{index-ac8e01b4.js → index-acb7b350.js} +189 -19
- package/dist/cjs/index.cjs.js +179 -189
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{typography-variation.enum-9aab5027.js → typography-variation.enum-ad1b2403.js} +235 -0
- package/dist/collection/components/_button/button/button.css +14 -14
- package/dist/collection/components/_calendar/calendar/calendar.css +8 -3
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +426 -106
- package/dist/collection/components/_code/code-example/code-example.css +6 -0
- 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 +426 -106
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +6 -5
- package/dist/collection/components/_form/form-filter/form-filter.css +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 +3 -3
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +48 -85
- package/dist/collection/components/_header/header/header.js +2 -2
- package/dist/collection/components/_header/header-avatar/header-avatar.css +425 -105
- 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-button/link-button.css +3 -3
- package/dist/collection/components/_link/link-internal/link-internal.css +425 -105
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.css +3 -2
- 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 +4 -3
- package/dist/collection/components/_quote/quote/quote.css +2 -2
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +1 -1
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +166 -2
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +43 -2
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +5 -0
- package/dist/collection/design-tokens/components/_button.variables.scss +14 -14
- package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_calendar.variables.scss +4 -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 +2 -0
- package/dist/collection/design-tokens/components/_form-filter.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +3 -3
- 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/_link-button.variables.scss +3 -3
- 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 +1 -0
- package/dist/collection/styles/src/_alias.mixin.scss +252 -105
- package/dist/collection/styles/src/themes/_brand-af18.mixin.scss +19 -0
- package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +144 -0
- package/dist/collection/styles/src/themes/_brand-common.mixin.scss +7 -0
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +160 -4
- package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +14 -14
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +4 -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 +2 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-filter.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +3 -3
- 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/_link-button.variables.scss +3 -3
- 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-c3e0f6dd.entry.js → p-06704534.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b3283953.entry.js → p-160165b9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-655cda00.entry.js → p-1efcad5b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-3ae13b8a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-72ef7f99.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-80500b2d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8d055a17.js +1 -0
- package/dist/digi-arbetsformedlingen/p-922f4556.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a105d9fe.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c59e5f69.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ca8d7464.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ede12626.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f601908d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +252 -105
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af18.mixin.scss +19 -0
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +144 -0
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-common.mixin.scss +7 -0
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +160 -4
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-button_84.entry.js +8334 -0
- package/dist/esm/digi-calendar-week-view.entry.js +1 -2
- package/dist/esm/{digi-code-block_3.entry.js → digi-code-block_2.entry.js} +3 -133
- package/dist/esm/digi-code-example.entry.js +1 -1
- package/dist/esm/digi-dialog.entry.js +2 -18
- package/dist/esm/digi-form-error-list.entry.js +1 -17
- package/dist/esm/digi-form-receipt.entry.js +1 -17
- package/dist/esm/digi-navigation-pagination.entry.js +1 -17
- package/dist/esm/digi-notification-error-page.entry.js +1 -17
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-tools-feedback.entry.js +2 -18
- package/dist/esm/index-148a7577.js +4 -220
- package/dist/esm/{index-2fce392f.js → index-dc6b83f7.js} +170 -3
- package/dist/esm/index.js +1 -17
- package/dist/esm/loader.js +1 -1
- package/dist/esm/typography-variation.enum-7319240b.js +501 -0
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +3 -22
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +9 -0
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +4 -0
- package/dist/types/components.d.ts +14 -2
- package/dist/types/enums.d.ts +1 -0
- package/hydrate/index.js +92 -110
- package/hydrate/index.mjs +92 -110
- package/package.json +2 -4
- package/components/p-4bad4fb0.js +0 -7
- package/components/p-70fad0ea.js +0 -165
- package/components/p-ab07faba.js +0 -66
- package/components/p-f84f590e.js +0 -177
- package/dist/cjs/digi-button_11.cjs.entry.js +0 -1194
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2601
- package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -464
- package/dist/cjs/digi-context-menu.cjs.entry.js +0 -240
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -97
- package/dist/cjs/digi-footer-card.cjs.entry.js +0 -29
- package/dist/cjs/digi-footer.cjs.entry.js +0 -74
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +0 -121
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +0 -139
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +0 -601
- package/dist/cjs/digi-form-filter.cjs.entry.js +0 -248
- package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -186
- package/dist/cjs/digi-header-avatar.cjs.entry.js +0 -114
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +0 -27
- package/dist/cjs/digi-header-navigation.cjs.entry.js +0 -228
- package/dist/cjs/digi-header-notification.cjs.entry.js +0 -23
- package/dist/cjs/digi-header.cjs.entry.js +0 -115
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-bars.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +0 -99
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-icon-copy.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +0 -60
- package/dist/cjs/digi-icon-globe.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +0 -145
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +0 -99
- package/dist/cjs/digi-icon-sign.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +0 -31
- package/dist/cjs/digi-icon-x.cjs.entry.js +0 -30
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +0 -22
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +0 -58
- package/dist/cjs/digi-info-card.cjs.entry.js +0 -79
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +0 -92
- package/dist/cjs/digi-layout-columns.cjs.entry.js +0 -33
- package/dist/cjs/digi-link-button.cjs.entry.js +0 -66
- package/dist/cjs/digi-link-internal.cjs.entry.js +0 -37
- package/dist/cjs/digi-link.cjs.entry.js +0 -75
- package/dist/cjs/digi-logo.cjs.entry.js +0 -49
- package/dist/cjs/digi-media-image_2.cjs.entry.js +0 -167
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +0 -30
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +0 -150
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +0 -177
- package/dist/cjs/digi-notification-alert.cjs.entry.js +0 -112
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -137
- package/dist/cjs/digi-tag-media.cjs.entry.js +0 -47
- package/dist/cjs/digi-title-logo.cjs.entry.js +0 -133
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +0 -28
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -38
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +0 -20
- package/dist/cjs/digi-typography.cjs.entry.js +0 -26
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +0 -48
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -64
- package/dist/cjs/expandable-faq-item-variation.enum-89427195.js +0 -18
- package/dist/cjs/footer-card-variation.enum-99555edc.js +0 -8
- package/dist/cjs/form-checkbox-variation.enum-d2ca879e.js +0 -19
- package/dist/cjs/form-select-variation.enum-528c1bf0.js +0 -16
- package/dist/cjs/form-validation-message-variation.enum-c5ec3e2d.js +0 -31
- package/dist/cjs/index-cad91a90.js +0 -66
- package/dist/cjs/index-e8333bcc.js +0 -174
- package/dist/cjs/info-card-multi-type.enum-14746572.js +0 -8
- package/dist/cjs/info-card-variation.enum-64cef637.js +0 -24
- package/dist/cjs/layout-columns-variation.enum-65675649.js +0 -23
- package/dist/cjs/layout-container-max-width.enum-7e637f44.js +0 -21
- package/dist/cjs/link-button-variation.enum-137785e3.js +0 -9
- package/dist/cjs/logo-color.enum-76f6c506.js +0 -7
- package/dist/cjs/navigation-vertical-menu-variation.enum-c237edd3.js +0 -13
- package/dist/cjs/progress-indicator-variation.enum-7cf8e0e4.js +0 -13
- package/dist/cjs/tag-media-icon.enum-372563c5.js +0 -11
- package/dist/cjs/tools-theme-provider.brand.enum-bc855272.js +0 -7
- package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +0 -17
- package/dist/digi-arbetsformedlingen/p-02731621.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-07303cb5.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0ef5ec06.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0f6c0360.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0fbe6e50.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-10261517.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-13ee320b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1486034d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2295239c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-25371300.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2a023831.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2c685e4f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-300aa9ef.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3887bb40.js +0 -1
- package/dist/digi-arbetsformedlingen/p-398d0f60.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3b20ec86.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3c9195db.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3efa2f0b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3f9dfdb0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-408e9b2a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-416992c0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4b8cae8a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4bad4fb0.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4e9f2f05.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51149879.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-55bcba7c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-55d02ef7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-577f6995.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5f20045a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5f4ece29.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6abd8d58.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6fb0f1a4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-70da2307.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7aacd45f.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e77bbe7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e85c9e3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8142cc73.js +0 -1
- package/dist/digi-arbetsformedlingen/p-814ca2ad.js +0 -1
- package/dist/digi-arbetsformedlingen/p-820e795b.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8713df13.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8d9f4f10.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8ef41ad9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8fa50755.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-915b2a14.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-986a1582.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9dd41cc4.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9f47d4b7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a0c77dff.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2008b0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a969ba67.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-af72f16f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b3d93b8b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-beba49c2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bf80a488.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c04ae2fc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c06930c2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c553b73b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c604694f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c604a480.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7949525.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7a512ee.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7d079d0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c9dfda73.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d182d8bb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d1886fff.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d6d7b1d8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-db246e29.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-de22ce43.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ecc2e481.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ee88e3f1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f2e16531.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f40f4b2a.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f447b984.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f4edca16.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f5bcd77b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f87c0b45.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fa77fcf7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fb9b3544.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fdca581c.entry.js +0 -1
- package/dist/esm/digi-button_11.entry.js +0 -1180
- package/dist/esm/digi-calendar-datepicker.entry.js +0 -2597
- package/dist/esm/digi-calendar_2.entry.js +0 -459
- package/dist/esm/digi-context-menu.entry.js +0 -236
- package/dist/esm/digi-expandable-faq-item.entry.js +0 -93
- package/dist/esm/digi-footer-card.entry.js +0 -25
- package/dist/esm/digi-footer.entry.js +0 -70
- package/dist/esm/digi-form-category-filter.entry.js +0 -117
- package/dist/esm/digi-form-checkbox.entry.js +0 -135
- package/dist/esm/digi-form-file-upload.entry.js +0 -597
- package/dist/esm/digi-form-filter.entry.js +0 -244
- package/dist/esm/digi-form-select_2.entry.js +0 -181
- package/dist/esm/digi-header-avatar.entry.js +0 -110
- package/dist/esm/digi-header-navigation-item.entry.js +0 -23
- package/dist/esm/digi-header-navigation.entry.js +0 -224
- package/dist/esm/digi-header-notification.entry.js +0 -19
- package/dist/esm/digi-header.entry.js +0 -111
- package/dist/esm/digi-icon-accessibility-universal.entry.js +0 -26
- package/dist/esm/digi-icon-bars.entry.js +0 -26
- package/dist/esm/digi-icon-bell-filled.entry.js +0 -26
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +0 -92
- package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
- package/dist/esm/digi-icon-copy.entry.js +0 -26
- package/dist/esm/digi-icon-envelope.entry.js +0 -26
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +0 -55
- package/dist/esm/digi-icon-globe.entry.js +0 -26
- package/dist/esm/digi-icon-list-ul_6.entry.js +0 -136
- package/dist/esm/digi-icon-minus_2.entry.js +0 -48
- package/dist/esm/digi-icon-notification-error_4.entry.js +0 -92
- package/dist/esm/digi-icon-sign.entry.js +0 -26
- package/dist/esm/digi-icon-spinner.entry.js +0 -27
- package/dist/esm/digi-icon-x.entry.js +0 -26
- package/dist/esm/digi-info-card-multi-container.entry.js +0 -18
- package/dist/esm/digi-info-card-multi.entry.js +0 -54
- package/dist/esm/digi-info-card.entry.js +0 -75
- package/dist/esm/digi-layout-block_2.entry.js +0 -87
- package/dist/esm/digi-layout-columns.entry.js +0 -29
- package/dist/esm/digi-link-button.entry.js +0 -62
- package/dist/esm/digi-link-internal.entry.js +0 -33
- package/dist/esm/digi-link.entry.js +0 -71
- package/dist/esm/digi-logo.entry.js +0 -45
- package/dist/esm/digi-media-image_2.entry.js +0 -162
- package/dist/esm/digi-navigation-sidebar-button.entry.js +0 -26
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +0 -146
- package/dist/esm/digi-navigation-vertical-menu.entry.js +0 -173
- package/dist/esm/digi-notification-alert.entry.js +0 -108
- package/dist/esm/digi-progress-indicator.entry.js +0 -133
- package/dist/esm/digi-tag-media.entry.js +0 -43
- package/dist/esm/digi-title-logo.entry.js +0 -129
- package/dist/esm/digi-tools-theme-provider.entry.js +0 -24
- package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -34
- package/dist/esm/digi-typography-preamble.entry.js +0 -16
- package/dist/esm/digi-typography.entry.js +0 -22
- package/dist/esm/digi-util-breakpoint-observer.entry.js +0 -44
- package/dist/esm/digi-util-mutation-observer.entry.js +0 -60
- package/dist/esm/expandable-faq-item-variation.enum-a8cb225b.js +0 -18
- package/dist/esm/footer-card-variation.enum-cc732148.js +0 -8
- package/dist/esm/form-checkbox-variation.enum-83e906fc.js +0 -19
- package/dist/esm/form-select-variation.enum-f2f6098d.js +0 -16
- package/dist/esm/form-validation-message-variation.enum-f7835fc5.js +0 -31
- package/dist/esm/index-5b6c95c6.js +0 -63
- package/dist/esm/index-8685f88d.js +0 -170
- package/dist/esm/info-card-multi-type.enum-07ee124f.js +0 -8
- package/dist/esm/info-card-variation.enum-2ccc52c1.js +0 -24
- package/dist/esm/layout-columns-variation.enum-34f7754e.js +0 -23
- package/dist/esm/layout-container-max-width.enum-c40018ac.js +0 -21
- package/dist/esm/link-button-variation.enum-84d4976f.js +0 -9
- package/dist/esm/logo-color.enum-8593dca6.js +0 -7
- package/dist/esm/navigation-vertical-menu-variation.enum-c30b0ea9.js +0 -13
- package/dist/esm/progress-indicator-variation.enum-b12ba50a.js +0 -13
- package/dist/esm/tag-media-icon.enum-fefa191c.js +0 -11
- package/dist/esm/tools-theme-provider.brand.enum-8c5a98c9.js +0 -7
- package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +0 -17
- package/dist/esm/typography-variation.enum-fdda731c.js +0 -266
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-148a7577.js';
|
|
2
|
-
|
|
3
|
-
const typographyCss = "digi-typography{--digi--typography--h1--margin--small:var(--digi--margin--h1-small);--digi--typography--h1--margin--medium:var(--digi--margin--h1-medium);--digi--typography--h1--margin--large:var(--digi--margin--h1-large);--digi--typography--h2--margin--small:var(--digi--margin--h2-small);--digi--typography--h2--margin--large:var(--digi--margin--h2-large);--digi--typography--h3--margin--small:var(--digi--margin--h3-small);--digi--typography--h3--margin--large:var(--digi--margin--h3-large);--digi--typography--h4--margin--small:var(--digi--margin--h4-h6-small);--digi--typography--h4--margin--large:var(--digi--margin--h4-h6-large);--digi--typography--h5--margin--small:var(--digi--margin--h4-h6-small);--digi--typography--h6--margin--large:var(--digi--margin--h4-h6-large);--digi--typography--paragraph--margin--small:var(--digi--margin--text-small);--digi--typography--paragraph--margin--large:var(--digi--margin--text-large);--digi--typography--paragraph--margin-top:initial;--digi--typography--color--text:var(--digi--color--text--primary);--digi--typography--text-decoration-thickness--hover:0.156em;--digi--typography--text-decoration-thickness--default:0.05em;--digi--typography--text-underline-offset:3px;font-family:var(--digi--global--typography--font-family--default);color:var(--digi--typography--color--text);font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY);--FONT-SIZE--BODY:var(--digi--typography--body--font-size--mobile);--LINE-HEIGHT--BODY:var(--digi--typography--body--line-height--mobile);--FONT-WEIGHT--BODY:var(--digi--typography--body--font-weight--mobile);--TEXT-DECORATION--BODY:var(\n --digi--typography--body--text-decoration--mobile\n );--MARGIN--BODY:var(--digi--typography--paragraph--margin--small);--FONT-SIZE--LINK:var(--digi--typography--link--font-size--mobile);--LINE-HEIGHT--LINK:var(--digi--typography--link--line-height--mobile);--FONT-WEIGHT--LINK:var(--digi--typography--link--font-weight--mobile);--TEXT-DECORATION--LINK:var(\n --digi--typography--link--text-decoration--mobile\n );--FONT-SIZE--HEADING-1:var(--digi--typography--heading-1--font-size--mobile);--LINE-HEIGHT--HEADING-1:var(\n --digi--typography--heading-1--line-height--mobile\n );--FONT-WEIGHT--HEADING-1:var(\n --digi--typography--heading-1--font-weight--mobile\n );--TEXT-DECORATION--HEADING-1:var(\n --digi--typography--heading-1--text-decoration--mobile\n );--MARGIN--HEADING-1:var(--digi--typography--h1--margin--small);--FONT-SIZE--HEADING-2:var(--digi--typography--heading-2--font-size--mobile);--LINE-HEIGHT--HEADING-2:var(\n --digi--typography--heading-2--line-height--mobile\n );--FONT-WEIGHT--HEADING-2:var(\n --digi--typography--heading-2--font-weight--mobile\n );--TEXT-DECORATION--HEADING-2:var(\n --digi--typography--heading-2--text-decoration--mobile\n );--MARGIN--HEADING-2:var(--digi--typography--h2--margin--small);--FONT-SIZE--HEADING-3:var(--digi--typography--heading-3--font-size--mobile);--LINE-HEIGHT--HEADING-3:var(\n --digi--typography--heading-3--line-height--mobile\n );--FONT-WEIGHT--HEADING-3:var(\n --digi--typography--heading-3--font-weight--mobile\n );--TEXT-DECORATION--HEADING-3:var(\n --digi--typography--heading-3--text-decoration--mobile\n );--MARGIN--HEADING-3:var(--digi--typography--h3--margin--small);--FONT-SIZE--HEADING-4:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-4:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-4:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-4:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-4:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-5:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-5:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-5:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-5:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-5:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-6:var(--digi--typography--heading-4--font-size--mobile);--LINE-HEIGHT--HEADING-6:var(\n --digi--typography--heading-4--line-height--mobile\n );--FONT-WEIGHT--HEADING-6:var(\n --digi--typography--heading-4--font-weight--mobile\n );--TEXT-DECORATION--HEADING-6:var(\n --digi--typography--heading-4--text-decoration--mobile\n );--MARGIN--HEADING-6:var(--digi--typography--h4--margin--small)}@media (min-width: 61.9375rem){digi-typography{--FONT-SIZE--BODY:var(--digi--typography--body--font-size--desktop);--LINE-HEIGHT--BODY:var(--digi--typography--body--line-height--desktop);--FONT-WEIGHT--BODY:var(--digi--typography--body--font-weight--desktop);--TEXT-DECORATION--BODY:var(\n --digi--typography--body--text-decoration--desktop\n );--MARGIN--BODY:var(--digi--typography--paragraph--margin--small);--FONT-SIZE--LINK:var(--digi--typography--link--font-size--desktop);--LINE-HEIGHT--LINK:var(--digi--typography--link--line-height--desktop);--FONT-WEIGHT--LINK:var(--digi--typography--link--font-weight--desktop);--TEXT-DECORATION--LINK:var(\n --digi--typography--link--text-decoration--desktop\n );--FONT-SIZE--HEADING-1:var(\n --digi--typography--heading-1--font-size--desktop\n );--LINE-HEIGHT--HEADING-1:var(\n --digi--typography--heading-1--line-height--desktop\n );--FONT-WEIGHT--HEADING-1:var(\n --digi--typography--heading-1--font-weight--desktop\n );--TEXT-DECORATION--HEADING-1:var(\n --digi--typography--heading-1--text-decoration--desktop\n );--MARGIN--HEADING-1:var(--digi--typography--h1--margin--medium);--FONT-SIZE--HEADING-2:var(\n --digi--typography--heading-2--font-size--desktop\n );--LINE-HEIGHT--HEADING-2:var(\n --digi--typography--heading-2--line-height--desktop\n );--FONT-WEIGHT--HEADING-2:var(\n --digi--typography--heading-2--font-weight--desktop\n );--TEXT-DECORATION--HEADING-2:var(\n --digi--typography--heading-2--text-decoration--desktop\n );--MARGIN--HEADING-2:var(--digi--typography--h2--margin--small);--FONT-SIZE--HEADING-3:var(\n --digi--typography--heading-3--font-size--desktop\n );--LINE-HEIGHT--HEADING-3:var(\n --digi--typography--heading-3--line-height--desktop\n );--FONT-WEIGHT--HEADING-3:var(\n --digi--typography--heading-3--font-weight--desktop\n );--TEXT-DECORATION--HEADING-3:var(\n --digi--typography--heading-3--text-decoration--desktop\n );--MARGIN--HEADING-3:var(--digi--typography--h3--margin--small);--FONT-SIZE--HEADING-4:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-4:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-4:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-4:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-4:var(--digi--typography--h4--margin--small);--FONT-SIZE--HEADING-5:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-5:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-5:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-5:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-5:var(--digi--typography--h5--margin--small);--FONT-SIZE--HEADING-6:var(\n --digi--typography--heading-4--font-size--desktop\n );--LINE-HEIGHT--HEADING-6:var(\n --digi--typography--heading-4--line-height--desktop\n );--FONT-WEIGHT--HEADING-6:var(\n --digi--typography--heading-4--font-weight--desktop\n );--TEXT-DECORATION--HEADING-6:var(\n --digi--typography--heading-4--text-decoration--desktop\n );--MARGIN--HEADING-6:var(--digi--typography--h6--margin--small)}}digi-typography h1,digi-typography h2,digi-typography h3,digi-typography h4,digi-typography h5,digi-typography h6{margin-top:0;}digi-typography h1,digi-typography .digi-h1{font-size:var(--FONT-SIZE--HEADING-1);line-height:var(--LINE-HEIGHT--HEADING-1);font-weight:var(--FONT-WEIGHT--HEADING-1);text-decoration:var(--TEXT-DECORATION--HEADING-1);margin-bottom:var(--MARGIN--HEADING-1)}digi-typography h2,digi-typography .digi-h2{font-size:var(--FONT-SIZE--HEADING-2);line-height:var(--LINE-HEIGHT--HEADING-2);font-weight:var(--FONT-WEIGHT--HEADING-2);text-decoration:var(--TEXT-DECORATION--HEADING-2);margin-bottom:var(--MARGIN--HEADING-2)}digi-typography h3,digi-typography .digi-h3{font-size:var(--FONT-SIZE--HEADING-3);line-height:var(--LINE-HEIGHT--HEADING-3);font-weight:var(--FONT-WEIGHT--HEADING-3);text-decoration:var(--TEXT-DECORATION--HEADING-3);margin-bottom:var(--MARGIN--HEADING-3)}digi-typography h4,digi-typography .digi-h4{font-size:var(--FONT-SIZE--HEADING-4);line-height:var(--LINE-HEIGHT--HEADING-4);font-weight:var(--FONT-WEIGHT--HEADING-4);text-decoration:var(--TEXT-DECORATION--HEADING-4);margin-bottom:var(--MARGIN--HEADING-4)}digi-typography h5,digi-typography .digi-h5{font-size:var(--FONT-SIZE--HEADING-5);line-height:var(--LINE-HEIGHT--HEADING-5);font-weight:var(--FONT-WEIGHT--HEADING-5);text-decoration:var(--TEXT-DECORATION--HEADING-5);margin-bottom:var(--MARGIN--HEADING-5)}digi-typography h6,digi-typography .digi-h6{font-size:var(--FONT-SIZE--HEADING-6);line-height:var(--LINE-HEIGHT--HEADING-6);font-weight:var(--FONT-WEIGHT--HEADING-6);text-decoration:var(--TEXT-DECORATION--HEADING-6);margin-bottom:var(--MARGIN--HEADING-6)}digi-typography p,digi-typography blockquote{font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY);margin-top:initial;margin-bottom:var(--MARGIN--BODY);max-width:var(--digi--paragraph-width--medium)}digi-typography p:last-child,digi-typography blockquote:last-child{margin-bottom:0}digi-typography blockquote{margin-inline:0}digi-typography digi-typography-preamble{display:block;margin-bottom:var(--MARGIN--BODY)}digi-typography digi-typography-preamble:last-child{margin-bottom:0}digi-typography ul,digi-typography ol,digi-typography dl{font-size:var(--FONT-SIZE--BODY);line-height:var(--LINE-HEIGHT--BODY);font-weight:var(--FONT-WEIGHT--BODY);text-decoration:var(--TEXT-DECORATION--BODY);max-width:var(--digi--paragraph-width--medium);margin-bottom:var(--MARGIN--BODY)}digi-typography ul,digi-typography ol{margin:0 0 var(--MARGIN--BODY) 0;padding-inline-start:1.5rem}digi-typography ul li,digi-typography ol li{margin-top:initial;margin-bottom:0.5rem;box-sizing:border-box;width:100%;padding-left:0}digi-typography ul li:last-child,digi-typography ol li:last-child{margin-bottom:0}digi-typography a{font-size:1em;line-height:var(--LINE-HEIGHT--LINK);font-weight:inherit;text-decoration:var(--TEXT-DECORATION--LINK);color:var(--digi--color--text--interactive--primary);text-decoration-thickness:var(--digi--typography--text-decoration-thickness--default);text-underline-offset:var(--digi--typography--text-underline-offset)}digi-typography a:hover{text-decoration:var(--TEXT-DECORATION--LINK);text-decoration-thickness:var(--digi--typography--text-decoration-thickness--hover)}digi-typography a:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}digi-typography a:visited{color:var(--digi--color--text--interactive--visited)}digi-typography .digi-typography--hide-visited a:visited{color:var(--digi--color--text--interactive--primary)}digi-typography strong{font-weight:var(--digi--typography--label--font-weight--desktop)}";
|
|
4
|
-
const DigiTypographyStyle0 = typographyCss;
|
|
5
|
-
|
|
6
|
-
const Typography = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.hideVisitedColor = undefined;
|
|
10
|
-
}
|
|
11
|
-
get cssModifiers() {
|
|
12
|
-
return {
|
|
13
|
-
'digi-typography--hide-visited': this.hideVisitedColor
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return (h("div", { key: '50437a6253cd108f81aa9375be96b444f74fdaa7', class: Object.assign({ 'digi-typography': true }, this.cssModifiers) }, h("slot", { key: '0d229970db0f141afb8a40c4fde52957c776f0d2' })));
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
Typography.style = DigiTypographyStyle0;
|
|
21
|
-
|
|
22
|
-
export { Typography as digi_typography };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-148a7577.js';
|
|
2
|
-
import { U as UtilBreakpointObserverBreakpoints } from './util-breakpoint-observer-breakpoints.enum-6d004731.js';
|
|
3
|
-
|
|
4
|
-
const utilBreakpointObserverCss = ".sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer.sc-digi-util-breakpoint-observer{--SMALL:small;--MEDIUM:medium;--LARGE:large;--XLARGE:xlarge}.sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer__observer.sc-digi-util-breakpoint-observer{--digi--util-breakpoint-observer--breakpoint:var(--SMALL);border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;pointer-events:none;transition:transform 0.01s;transform:rotate(0deg)}@media (min-width: 48rem){.sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer__observer.sc-digi-util-breakpoint-observer{--digi--util-breakpoint-observer--breakpoint:var(--MEDIUM);transform:rotate(10deg)}}@media (min-width: 61.9375rem){.sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer__observer.sc-digi-util-breakpoint-observer{--digi--util-breakpoint-observer--breakpoint:var(--LARGE);transform:rotate(20deg)}}@media (min-width: 75rem){.sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer__observer.sc-digi-util-breakpoint-observer{--digi--util-breakpoint-observer--breakpoint:var(--XLARGE);transform:rotate(30deg)}}";
|
|
5
|
-
const DigiUtilBreakpointObserverStyle0 = utilBreakpointObserverCss;
|
|
6
|
-
|
|
7
|
-
const UtilBreakpointObserver = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.afOnChange = createEvent(this, "afOnChange", 7);
|
|
11
|
-
this.afOnSmall = createEvent(this, "afOnSmall", 7);
|
|
12
|
-
this.afOnMedium = createEvent(this, "afOnMedium", 7);
|
|
13
|
-
this.afOnLarge = createEvent(this, "afOnLarge", 7);
|
|
14
|
-
this.afOnXLarge = createEvent(this, "afOnXLarge", 7);
|
|
15
|
-
}
|
|
16
|
-
componentDidLoad() {
|
|
17
|
-
this.handleBreakpoint();
|
|
18
|
-
}
|
|
19
|
-
handleBreakpoint(e) {
|
|
20
|
-
const observerCSSVariables = window.getComputedStyle(this._observer);
|
|
21
|
-
const value = observerCSSVariables.getPropertyValue('--digi--util-breakpoint-observer--breakpoint');
|
|
22
|
-
this.afOnChange.emit({ value, e });
|
|
23
|
-
switch (value) {
|
|
24
|
-
case UtilBreakpointObserverBreakpoints.SMALL:
|
|
25
|
-
this.afOnSmall.emit({ value, e });
|
|
26
|
-
break;
|
|
27
|
-
case UtilBreakpointObserverBreakpoints.MEDIUM:
|
|
28
|
-
this.afOnMedium.emit({ value, e });
|
|
29
|
-
break;
|
|
30
|
-
case UtilBreakpointObserverBreakpoints.LARGE:
|
|
31
|
-
this.afOnLarge.emit({ value, e });
|
|
32
|
-
break;
|
|
33
|
-
case UtilBreakpointObserverBreakpoints.XLARGE:
|
|
34
|
-
this.afOnXLarge.emit({ value, e });
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
render() {
|
|
38
|
-
return (h(Host, { key: 'fa76f2542c87860d7a6b501698cdd9ea28385fd7' }, h("div", { key: 'a4fc9b5eab47cf889040f6e3816f179961a28003', class: "digi-util-breakpoint-observer" }, h("div", { key: '12ce5bbab68aa3f29f9839f9d18a4717c0d256d0', ref: (el) => (this._observer = el), onTransitionEnd: (e) => this.handleBreakpoint(e), class: "digi-util-breakpoint-observer__observer" }), h("slot", { key: '0772066a14b4d34a52b4a3a0488411ea092e68ee' }))));
|
|
39
|
-
}
|
|
40
|
-
get hostElement() { return getElement(this); }
|
|
41
|
-
};
|
|
42
|
-
UtilBreakpointObserver.style = DigiUtilBreakpointObserverStyle0;
|
|
43
|
-
|
|
44
|
-
export { UtilBreakpointObserver as digi_util_breakpoint_observer };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-148a7577.js';
|
|
2
|
-
import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';
|
|
3
|
-
|
|
4
|
-
const UtilMutationObserver = class {
|
|
5
|
-
constructor(hostRef) {
|
|
6
|
-
registerInstance(this, hostRef);
|
|
7
|
-
this.afOnChange = createEvent(this, "afOnChange", 7);
|
|
8
|
-
this._observer = null;
|
|
9
|
-
this._isObserving = false;
|
|
10
|
-
this.afId = randomIdGenerator('digi-util-mutation-observer');
|
|
11
|
-
this.afOptions = {
|
|
12
|
-
attributes: false,
|
|
13
|
-
childList: true,
|
|
14
|
-
subtree: false,
|
|
15
|
-
characterData: false
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
afOptionsWatcher(newValue) {
|
|
19
|
-
this._afOptions =
|
|
20
|
-
typeof newValue === 'string' ? JSON.parse(newValue) : newValue;
|
|
21
|
-
}
|
|
22
|
-
componentWillLoad() {
|
|
23
|
-
this.afOptionsWatcher(this.afOptions);
|
|
24
|
-
this.initObserver();
|
|
25
|
-
}
|
|
26
|
-
disconnectedCallback() {
|
|
27
|
-
if (this._isObserving) {
|
|
28
|
-
this.removeObserver();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
initObserver() {
|
|
32
|
-
this._observer = new MutationObserver((mutationsList) => {
|
|
33
|
-
for (const mutation of mutationsList) {
|
|
34
|
-
if (mutation.type === 'childList' ||
|
|
35
|
-
mutation.type === 'attributes' ||
|
|
36
|
-
mutation.type === 'characterData') {
|
|
37
|
-
this.changeHandler(mutation);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
this._observer.observe(this.$el, this._afOptions);
|
|
42
|
-
this._isObserving = true;
|
|
43
|
-
}
|
|
44
|
-
removeObserver() {
|
|
45
|
-
this._observer.disconnect();
|
|
46
|
-
this._isObserving = false;
|
|
47
|
-
}
|
|
48
|
-
changeHandler(e) {
|
|
49
|
-
this.afOnChange.emit(e);
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
h("div", { id: this.afId, ref: (el) => (this.$el = el) }, h("slot", null));
|
|
53
|
-
}
|
|
54
|
-
get $el() { return getElement(this); }
|
|
55
|
-
static get watchers() { return {
|
|
56
|
-
"afOptions": ["afOptionsWatcher"]
|
|
57
|
-
}; }
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export { UtilMutationObserver as digi_util_mutation_observer };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var ExpandableFaqItemHeadingLevel;
|
|
2
|
-
(function (ExpandableFaqItemHeadingLevel) {
|
|
3
|
-
ExpandableFaqItemHeadingLevel["H1"] = "h1";
|
|
4
|
-
ExpandableFaqItemHeadingLevel["H2"] = "h2";
|
|
5
|
-
ExpandableFaqItemHeadingLevel["H3"] = "h3";
|
|
6
|
-
ExpandableFaqItemHeadingLevel["H4"] = "h4";
|
|
7
|
-
ExpandableFaqItemHeadingLevel["H5"] = "h5";
|
|
8
|
-
ExpandableFaqItemHeadingLevel["H6"] = "h6";
|
|
9
|
-
})(ExpandableFaqItemHeadingLevel || (ExpandableFaqItemHeadingLevel = {}));
|
|
10
|
-
|
|
11
|
-
var ExpandableFaqItemVariation;
|
|
12
|
-
(function (ExpandableFaqItemVariation) {
|
|
13
|
-
ExpandableFaqItemVariation["PRIMARY"] = "primary";
|
|
14
|
-
ExpandableFaqItemVariation["SECONDARY"] = "secondary";
|
|
15
|
-
ExpandableFaqItemVariation["TERTIARY"] = "tertiary";
|
|
16
|
-
})(ExpandableFaqItemVariation || (ExpandableFaqItemVariation = {}));
|
|
17
|
-
|
|
18
|
-
export { ExpandableFaqItemHeadingLevel as E, ExpandableFaqItemVariation as a };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var FooterCardVariation;
|
|
2
|
-
(function (FooterCardVariation) {
|
|
3
|
-
FooterCardVariation["NONE"] = "none";
|
|
4
|
-
FooterCardVariation["ICON"] = "icon";
|
|
5
|
-
FooterCardVariation["BORDER"] = "border";
|
|
6
|
-
})(FooterCardVariation || (FooterCardVariation = {}));
|
|
7
|
-
|
|
8
|
-
export { FooterCardVariation as F };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
var FormCheckboxLayout;
|
|
2
|
-
(function (FormCheckboxLayout) {
|
|
3
|
-
FormCheckboxLayout["INLINE"] = "inline";
|
|
4
|
-
FormCheckboxLayout["BLOCK"] = "block";
|
|
5
|
-
})(FormCheckboxLayout || (FormCheckboxLayout = {}));
|
|
6
|
-
|
|
7
|
-
var FormCheckboxValidation;
|
|
8
|
-
(function (FormCheckboxValidation) {
|
|
9
|
-
FormCheckboxValidation["ERROR"] = "error";
|
|
10
|
-
FormCheckboxValidation["WARNING"] = "warning";
|
|
11
|
-
})(FormCheckboxValidation || (FormCheckboxValidation = {}));
|
|
12
|
-
|
|
13
|
-
var FormCheckboxVariation;
|
|
14
|
-
(function (FormCheckboxVariation) {
|
|
15
|
-
FormCheckboxVariation["PRIMARY"] = "primary";
|
|
16
|
-
FormCheckboxVariation["SECONDARY"] = "secondary";
|
|
17
|
-
})(FormCheckboxVariation || (FormCheckboxVariation = {}));
|
|
18
|
-
|
|
19
|
-
export { FormCheckboxLayout as F, FormCheckboxValidation as a, FormCheckboxVariation as b };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
var FormSelectValidation;
|
|
2
|
-
(function (FormSelectValidation) {
|
|
3
|
-
FormSelectValidation["SUCCESS"] = "success";
|
|
4
|
-
FormSelectValidation["ERROR"] = "error";
|
|
5
|
-
FormSelectValidation["WARNING"] = "warning";
|
|
6
|
-
FormSelectValidation["NEUTRAL"] = "neutral";
|
|
7
|
-
})(FormSelectValidation || (FormSelectValidation = {}));
|
|
8
|
-
|
|
9
|
-
var FormSelectVariation;
|
|
10
|
-
(function (FormSelectVariation) {
|
|
11
|
-
FormSelectVariation["SMALL"] = "small";
|
|
12
|
-
FormSelectVariation["MEDIUM"] = "medium";
|
|
13
|
-
FormSelectVariation["LARGE"] = "large";
|
|
14
|
-
})(FormSelectVariation || (FormSelectVariation = {}));
|
|
15
|
-
|
|
16
|
-
export { FormSelectValidation as F, FormSelectVariation as a };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var FormFileUploadHeadingLevel;
|
|
2
|
-
(function (FormFileUploadHeadingLevel) {
|
|
3
|
-
FormFileUploadHeadingLevel["H1"] = "h1";
|
|
4
|
-
FormFileUploadHeadingLevel["H2"] = "h2";
|
|
5
|
-
FormFileUploadHeadingLevel["H3"] = "h3";
|
|
6
|
-
FormFileUploadHeadingLevel["H4"] = "h4";
|
|
7
|
-
FormFileUploadHeadingLevel["H5"] = "h5";
|
|
8
|
-
FormFileUploadHeadingLevel["H6"] = "h6";
|
|
9
|
-
})(FormFileUploadHeadingLevel || (FormFileUploadHeadingLevel = {}));
|
|
10
|
-
|
|
11
|
-
var FormFileUploadValidation;
|
|
12
|
-
(function (FormFileUploadValidation) {
|
|
13
|
-
FormFileUploadValidation["ENABLED"] = "enabled";
|
|
14
|
-
FormFileUploadValidation["DISABLED"] = "disabled";
|
|
15
|
-
})(FormFileUploadValidation || (FormFileUploadValidation = {}));
|
|
16
|
-
|
|
17
|
-
var FormFileUploadVariation;
|
|
18
|
-
(function (FormFileUploadVariation) {
|
|
19
|
-
FormFileUploadVariation["SMALL"] = "small";
|
|
20
|
-
FormFileUploadVariation["MEDIUM"] = "medium";
|
|
21
|
-
FormFileUploadVariation["LARGE"] = "large";
|
|
22
|
-
})(FormFileUploadVariation || (FormFileUploadVariation = {}));
|
|
23
|
-
|
|
24
|
-
var FormValidationMessageVariation;
|
|
25
|
-
(function (FormValidationMessageVariation) {
|
|
26
|
-
FormValidationMessageVariation["SUCCESS"] = "success";
|
|
27
|
-
FormValidationMessageVariation["ERROR"] = "error";
|
|
28
|
-
FormValidationMessageVariation["WARNING"] = "warning";
|
|
29
|
-
})(FormValidationMessageVariation || (FormValidationMessageVariation = {}));
|
|
30
|
-
|
|
31
|
-
export { FormFileUploadHeadingLevel as F, FormFileUploadValidation as a, FormFileUploadVariation as b, FormValidationMessageVariation as c };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { r as requiredArgs, t as toDate } from './index-8685f88d.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @name isAfter
|
|
5
|
-
* @category Common Helpers
|
|
6
|
-
* @summary Is the first date after the second one?
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Is the first date after the second one?
|
|
10
|
-
*
|
|
11
|
-
* ### v2.0.0 breaking changes:
|
|
12
|
-
*
|
|
13
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
14
|
-
*
|
|
15
|
-
* @param {Date|Number} date - the date that should be after the other one to return true
|
|
16
|
-
* @param {Date|Number} dateToCompare - the date to compare with
|
|
17
|
-
* @returns {Boolean} the first date is after the second date
|
|
18
|
-
* @throws {TypeError} 2 arguments required
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // Is 10 July 1989 after 11 February 1987?
|
|
22
|
-
* var result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
|
23
|
-
* //=> true
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
function isAfter(dirtyDate, dirtyDateToCompare) {
|
|
27
|
-
requiredArgs(2, arguments);
|
|
28
|
-
var date = toDate(dirtyDate);
|
|
29
|
-
var dateToCompare = toDate(dirtyDateToCompare);
|
|
30
|
-
return date.getTime() > dateToCompare.getTime();
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @name isBefore
|
|
35
|
-
* @category Common Helpers
|
|
36
|
-
* @summary Is the first date before the second one?
|
|
37
|
-
*
|
|
38
|
-
* @description
|
|
39
|
-
* Is the first date before the second one?
|
|
40
|
-
*
|
|
41
|
-
* ### v2.0.0 breaking changes:
|
|
42
|
-
*
|
|
43
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
44
|
-
*
|
|
45
|
-
* @param {Date|Number} date - the date that should be before the other one to return true
|
|
46
|
-
* @param {Date|Number} dateToCompare - the date to compare with
|
|
47
|
-
* @returns {Boolean} the first date is before the second date
|
|
48
|
-
* @throws {TypeError} 2 arguments required
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* // Is 10 July 1989 before 11 February 1987?
|
|
52
|
-
* var result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
|
53
|
-
* //=> false
|
|
54
|
-
*/
|
|
55
|
-
|
|
56
|
-
function isBefore(dirtyDate, dirtyDateToCompare) {
|
|
57
|
-
requiredArgs(2, arguments);
|
|
58
|
-
var date = toDate(dirtyDate);
|
|
59
|
-
var dateToCompare = toDate(dirtyDateToCompare);
|
|
60
|
-
return date.getTime() < dateToCompare.getTime();
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export { isAfter as a, isBefore as i };
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
function requiredArgs(required, args) {
|
|
2
|
-
if (args.length < required) {
|
|
3
|
-
throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @name toDate
|
|
9
|
-
* @category Common Helpers
|
|
10
|
-
* @summary Convert the given argument to an instance of Date.
|
|
11
|
-
*
|
|
12
|
-
* @description
|
|
13
|
-
* Convert the given argument to an instance of Date.
|
|
14
|
-
*
|
|
15
|
-
* If the argument is an instance of Date, the function returns its clone.
|
|
16
|
-
*
|
|
17
|
-
* If the argument is a number, it is treated as a timestamp.
|
|
18
|
-
*
|
|
19
|
-
* If the argument is none of the above, the function returns Invalid Date.
|
|
20
|
-
*
|
|
21
|
-
* **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
|
|
22
|
-
*
|
|
23
|
-
* @param {Date|Number} argument - the value to convert
|
|
24
|
-
* @returns {Date} the parsed date in the local time zone
|
|
25
|
-
* @throws {TypeError} 1 argument required
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* // Clone the date:
|
|
29
|
-
* const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
|
|
30
|
-
* //=> Tue Feb 11 2014 11:30:30
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* // Convert the timestamp to date:
|
|
34
|
-
* const result = toDate(1392098430000)
|
|
35
|
-
* //=> Tue Feb 11 2014 11:30:30
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
|
-
function toDate(argument) {
|
|
39
|
-
requiredArgs(1, arguments);
|
|
40
|
-
var argStr = Object.prototype.toString.call(argument); // Clone the date
|
|
41
|
-
|
|
42
|
-
if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {
|
|
43
|
-
// Prevent the date to lose the milliseconds when passed to new Date() in IE10
|
|
44
|
-
return new Date(argument.getTime());
|
|
45
|
-
} else if (typeof argument === 'number' || argStr === '[object Number]') {
|
|
46
|
-
return new Date(argument);
|
|
47
|
-
} else {
|
|
48
|
-
if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
|
|
49
|
-
// eslint-disable-next-line no-console
|
|
50
|
-
console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"); // eslint-disable-next-line no-console
|
|
51
|
-
|
|
52
|
-
console.warn(new Error().stack);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
return new Date(NaN);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @name isDate
|
|
61
|
-
* @category Common Helpers
|
|
62
|
-
* @summary Is the given value a date?
|
|
63
|
-
*
|
|
64
|
-
* @description
|
|
65
|
-
* Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
|
|
66
|
-
*
|
|
67
|
-
* ### v2.0.0 breaking changes:
|
|
68
|
-
*
|
|
69
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
70
|
-
*
|
|
71
|
-
* @param {*} value - the value to check
|
|
72
|
-
* @returns {boolean} true if the given value is a date
|
|
73
|
-
* @throws {TypeError} 1 arguments required
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* // For a valid date:
|
|
77
|
-
* const result = isDate(new Date())
|
|
78
|
-
* //=> true
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* // For an invalid date:
|
|
82
|
-
* const result = isDate(new Date(NaN))
|
|
83
|
-
* //=> true
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* // For some value:
|
|
87
|
-
* const result = isDate('2014-02-31')
|
|
88
|
-
* //=> false
|
|
89
|
-
*
|
|
90
|
-
* @example
|
|
91
|
-
* // For an object:
|
|
92
|
-
* const result = isDate({})
|
|
93
|
-
* //=> false
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
function isDate(value) {
|
|
97
|
-
requiredArgs(1, arguments);
|
|
98
|
-
return value instanceof Date || typeof value === 'object' && Object.prototype.toString.call(value) === '[object Date]';
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @name isValid
|
|
103
|
-
* @category Common Helpers
|
|
104
|
-
* @summary Is the given date valid?
|
|
105
|
-
*
|
|
106
|
-
* @description
|
|
107
|
-
* Returns false if argument is Invalid Date and true otherwise.
|
|
108
|
-
* Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
|
|
109
|
-
* Invalid Date is a Date, whose time value is NaN.
|
|
110
|
-
*
|
|
111
|
-
* Time value of Date: http://es5.github.io/#x15.9.1.1
|
|
112
|
-
*
|
|
113
|
-
* ### v2.0.0 breaking changes:
|
|
114
|
-
*
|
|
115
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
116
|
-
*
|
|
117
|
-
* - Now `isValid` doesn't throw an exception
|
|
118
|
-
* if the first argument is not an instance of Date.
|
|
119
|
-
* Instead, argument is converted beforehand using `toDate`.
|
|
120
|
-
*
|
|
121
|
-
* Examples:
|
|
122
|
-
*
|
|
123
|
-
* | `isValid` argument | Before v2.0.0 | v2.0.0 onward |
|
|
124
|
-
* |---------------------------|---------------|---------------|
|
|
125
|
-
* | `new Date()` | `true` | `true` |
|
|
126
|
-
* | `new Date('2016-01-01')` | `true` | `true` |
|
|
127
|
-
* | `new Date('')` | `false` | `false` |
|
|
128
|
-
* | `new Date(1488370835081)` | `true` | `true` |
|
|
129
|
-
* | `new Date(NaN)` | `false` | `false` |
|
|
130
|
-
* | `'2016-01-01'` | `TypeError` | `false` |
|
|
131
|
-
* | `''` | `TypeError` | `false` |
|
|
132
|
-
* | `1488370835081` | `TypeError` | `true` |
|
|
133
|
-
* | `NaN` | `TypeError` | `false` |
|
|
134
|
-
*
|
|
135
|
-
* We introduce this change to make *date-fns* consistent with ECMAScript behavior
|
|
136
|
-
* that try to coerce arguments to the expected type
|
|
137
|
-
* (which is also the case with other *date-fns* functions).
|
|
138
|
-
*
|
|
139
|
-
* @param {*} date - the date to check
|
|
140
|
-
* @returns {Boolean} the date is valid
|
|
141
|
-
* @throws {TypeError} 1 argument required
|
|
142
|
-
*
|
|
143
|
-
* @example
|
|
144
|
-
* // For the valid date:
|
|
145
|
-
* const result = isValid(new Date(2014, 1, 31))
|
|
146
|
-
* //=> true
|
|
147
|
-
*
|
|
148
|
-
* @example
|
|
149
|
-
* // For the value, convertable into a date:
|
|
150
|
-
* const result = isValid(1393804800000)
|
|
151
|
-
* //=> true
|
|
152
|
-
*
|
|
153
|
-
* @example
|
|
154
|
-
* // For the invalid date:
|
|
155
|
-
* const result = isValid(new Date(''))
|
|
156
|
-
* //=> false
|
|
157
|
-
*/
|
|
158
|
-
|
|
159
|
-
function isValid(dirtyDate) {
|
|
160
|
-
requiredArgs(1, arguments);
|
|
161
|
-
|
|
162
|
-
if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {
|
|
163
|
-
return false;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
var date = toDate(dirtyDate);
|
|
167
|
-
return !isNaN(Number(date));
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export { isValid as i, requiredArgs as r, toDate as t };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var InfoCardMultiType;
|
|
2
|
-
(function (InfoCardMultiType) {
|
|
3
|
-
InfoCardMultiType["MEDIA"] = "media";
|
|
4
|
-
InfoCardMultiType["RELATED"] = "related";
|
|
5
|
-
InfoCardMultiType["ENTRY"] = "entry";
|
|
6
|
-
})(InfoCardMultiType || (InfoCardMultiType = {}));
|
|
7
|
-
|
|
8
|
-
export { InfoCardMultiType as I };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
var InfoCardBorderPosition;
|
|
2
|
-
(function (InfoCardBorderPosition) {
|
|
3
|
-
InfoCardBorderPosition["TOP"] = "top";
|
|
4
|
-
InfoCardBorderPosition["LEFT"] = "left";
|
|
5
|
-
})(InfoCardBorderPosition || (InfoCardBorderPosition = {}));
|
|
6
|
-
|
|
7
|
-
var InfoCardSize;
|
|
8
|
-
(function (InfoCardSize) {
|
|
9
|
-
InfoCardSize["STANDARD"] = "standard";
|
|
10
|
-
})(InfoCardSize || (InfoCardSize = {}));
|
|
11
|
-
|
|
12
|
-
var InfoCardType;
|
|
13
|
-
(function (InfoCardType) {
|
|
14
|
-
InfoCardType["TIP"] = "tip";
|
|
15
|
-
InfoCardType["RELATED"] = "related";
|
|
16
|
-
})(InfoCardType || (InfoCardType = {}));
|
|
17
|
-
|
|
18
|
-
var InfoCardVariation;
|
|
19
|
-
(function (InfoCardVariation) {
|
|
20
|
-
InfoCardVariation["PRIMARY"] = "primary";
|
|
21
|
-
InfoCardVariation["SECONDARY"] = "secondary";
|
|
22
|
-
})(InfoCardVariation || (InfoCardVariation = {}));
|
|
23
|
-
|
|
24
|
-
export { InfoCardBorderPosition as I, InfoCardSize as a, InfoCardType as b, InfoCardVariation as c };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
var LayoutColumnsGap;
|
|
2
|
-
(function (LayoutColumnsGap) {
|
|
3
|
-
LayoutColumnsGap["DEFAULT"] = "default";
|
|
4
|
-
LayoutColumnsGap["GAP_32"] = "32";
|
|
5
|
-
})(LayoutColumnsGap || (LayoutColumnsGap = {}));
|
|
6
|
-
|
|
7
|
-
var LayoutColumnsElement;
|
|
8
|
-
(function (LayoutColumnsElement) {
|
|
9
|
-
LayoutColumnsElement["DIV"] = "div";
|
|
10
|
-
LayoutColumnsElement["UL"] = "ul";
|
|
11
|
-
LayoutColumnsElement["OL"] = "ol";
|
|
12
|
-
})(LayoutColumnsElement || (LayoutColumnsElement = {}));
|
|
13
|
-
|
|
14
|
-
var LayoutColumnsVariation;
|
|
15
|
-
(function (LayoutColumnsVariation) {
|
|
16
|
-
LayoutColumnsVariation["FOUR"] = "four";
|
|
17
|
-
LayoutColumnsVariation["THREE"] = "three";
|
|
18
|
-
LayoutColumnsVariation["TWO"] = "two";
|
|
19
|
-
LayoutColumnsVariation["ONE"] = "one";
|
|
20
|
-
LayoutColumnsVariation["NONE"] = "none";
|
|
21
|
-
})(LayoutColumnsVariation || (LayoutColumnsVariation = {}));
|
|
22
|
-
|
|
23
|
-
export { LayoutColumnsGap as L, LayoutColumnsElement as a, LayoutColumnsVariation as b };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var LayoutBlockContainer;
|
|
2
|
-
(function (LayoutBlockContainer) {
|
|
3
|
-
LayoutBlockContainer["STATIC"] = "static";
|
|
4
|
-
LayoutBlockContainer["FLUID"] = "fluid";
|
|
5
|
-
LayoutBlockContainer["NONE"] = "none";
|
|
6
|
-
})(LayoutBlockContainer || (LayoutBlockContainer = {}));
|
|
7
|
-
|
|
8
|
-
var LayoutContainerVariation;
|
|
9
|
-
(function (LayoutContainerVariation) {
|
|
10
|
-
LayoutContainerVariation["STATIC"] = "static";
|
|
11
|
-
LayoutContainerVariation["FLUID"] = "fluid";
|
|
12
|
-
LayoutContainerVariation["NONE"] = "none";
|
|
13
|
-
})(LayoutContainerVariation || (LayoutContainerVariation = {}));
|
|
14
|
-
|
|
15
|
-
var LayoutContainerMaxWidth;
|
|
16
|
-
(function (LayoutContainerMaxWidth) {
|
|
17
|
-
LayoutContainerMaxWidth["WIDTH_1200"] = "1200";
|
|
18
|
-
LayoutContainerMaxWidth["WIDTH_1400"] = "1400";
|
|
19
|
-
})(LayoutContainerMaxWidth || (LayoutContainerMaxWidth = {}));
|
|
20
|
-
|
|
21
|
-
export { LayoutBlockContainer as L, LayoutContainerVariation as a, LayoutContainerMaxWidth as b };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var LinkButtonVariation;
|
|
2
|
-
(function (LinkButtonVariation) {
|
|
3
|
-
LinkButtonVariation["PRIMARY"] = "primary";
|
|
4
|
-
LinkButtonVariation["SECONDARY"] = "secondary";
|
|
5
|
-
LinkButtonVariation["PRIMARY_ALT"] = "primary-alt";
|
|
6
|
-
LinkButtonVariation["SECONDARY_ALT"] = "secondary-alt";
|
|
7
|
-
})(LinkButtonVariation || (LinkButtonVariation = {}));
|
|
8
|
-
|
|
9
|
-
export { LinkButtonVariation as L };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var NavigationVerticalMenuActiveIndicatorSize;
|
|
2
|
-
(function (NavigationVerticalMenuActiveIndicatorSize) {
|
|
3
|
-
NavigationVerticalMenuActiveIndicatorSize["PRIMARY"] = "primary";
|
|
4
|
-
NavigationVerticalMenuActiveIndicatorSize["SECONDARY"] = "secondary";
|
|
5
|
-
})(NavigationVerticalMenuActiveIndicatorSize || (NavigationVerticalMenuActiveIndicatorSize = {}));
|
|
6
|
-
|
|
7
|
-
var NavigationVerticalMenuVariation;
|
|
8
|
-
(function (NavigationVerticalMenuVariation) {
|
|
9
|
-
NavigationVerticalMenuVariation["PRIMARY"] = "primary";
|
|
10
|
-
NavigationVerticalMenuVariation["SECONDARY"] = "secondary";
|
|
11
|
-
})(NavigationVerticalMenuVariation || (NavigationVerticalMenuVariation = {}));
|
|
12
|
-
|
|
13
|
-
export { NavigationVerticalMenuActiveIndicatorSize as N, NavigationVerticalMenuVariation as a };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var ProgressIndicatorRole;
|
|
2
|
-
(function (ProgressIndicatorRole) {
|
|
3
|
-
ProgressIndicatorRole["NONE"] = "";
|
|
4
|
-
ProgressIndicatorRole["STATUS"] = "status";
|
|
5
|
-
})(ProgressIndicatorRole || (ProgressIndicatorRole = {}));
|
|
6
|
-
|
|
7
|
-
var ProgressIndicatorVariation;
|
|
8
|
-
(function (ProgressIndicatorVariation) {
|
|
9
|
-
ProgressIndicatorVariation["PRIMARY"] = "primary";
|
|
10
|
-
ProgressIndicatorVariation["SECONDARY"] = "secondary";
|
|
11
|
-
})(ProgressIndicatorVariation || (ProgressIndicatorVariation = {}));
|
|
12
|
-
|
|
13
|
-
export { ProgressIndicatorRole as P, ProgressIndicatorVariation as a };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
var TagMediaIcon;
|
|
2
|
-
(function (TagMediaIcon) {
|
|
3
|
-
TagMediaIcon["NEWS"] = "news";
|
|
4
|
-
TagMediaIcon["PLAYLIST"] = "playlist";
|
|
5
|
-
TagMediaIcon["PODCAST"] = "podcast";
|
|
6
|
-
TagMediaIcon["FILM"] = "film";
|
|
7
|
-
TagMediaIcon["WEBTV"] = "webtv";
|
|
8
|
-
TagMediaIcon["WEBINAR"] = "webinar";
|
|
9
|
-
})(TagMediaIcon || (TagMediaIcon = {}));
|
|
10
|
-
|
|
11
|
-
export { TagMediaIcon as T };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var ToolsThemeProviderBrandEnum;
|
|
2
|
-
(function (ToolsThemeProviderBrandEnum) {
|
|
3
|
-
ToolsThemeProviderBrandEnum["AF25"] = "AF25";
|
|
4
|
-
ToolsThemeProviderBrandEnum["AF18"] = "AF18";
|
|
5
|
-
})(ToolsThemeProviderBrandEnum || (ToolsThemeProviderBrandEnum = {}));
|
|
6
|
-
|
|
7
|
-
export { ToolsThemeProviderBrandEnum as T };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var TypographyHeadingJumboLevel;
|
|
2
|
-
(function (TypographyHeadingJumboLevel) {
|
|
3
|
-
TypographyHeadingJumboLevel["H1"] = "h1";
|
|
4
|
-
TypographyHeadingJumboLevel["H2"] = "h2";
|
|
5
|
-
TypographyHeadingJumboLevel["H3"] = "h3";
|
|
6
|
-
TypographyHeadingJumboLevel["H4"] = "h4";
|
|
7
|
-
TypographyHeadingJumboLevel["H5"] = "h5";
|
|
8
|
-
TypographyHeadingJumboLevel["H6"] = "h6";
|
|
9
|
-
})(TypographyHeadingJumboLevel || (TypographyHeadingJumboLevel = {}));
|
|
10
|
-
|
|
11
|
-
var TypographyHeadingJumboVariation;
|
|
12
|
-
(function (TypographyHeadingJumboVariation) {
|
|
13
|
-
TypographyHeadingJumboVariation["PRIMARY"] = "primary";
|
|
14
|
-
TypographyHeadingJumboVariation["SECONDARY"] = "secondary";
|
|
15
|
-
})(TypographyHeadingJumboVariation || (TypographyHeadingJumboVariation = {}));
|
|
16
|
-
|
|
17
|
-
export { TypographyHeadingJumboLevel as T, TypographyHeadingJumboVariation as a };
|