@designsystem-se/af 36.0.2-beta.1 → 36.0.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-bar-chart.js +1 -1
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +10 -10
- 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 +4 -4
- package/components/digi-context-menu.js +1 -1
- 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 +2 -2
- package/components/digi-form-input-search.js +4 -4
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.js +2 -2
- package/components/digi-form-receipt.js +1 -1
- package/components/digi-form-select-filter.js +11 -11
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.js +3 -3
- package/components/digi-header-avatar.js +1 -1
- package/components/digi-header-navigation.js +2 -2
- package/components/digi-header.js +3 -3
- package/components/digi-info-card.js +3 -3
- package/components/digi-link-button.js +1 -1
- package/components/digi-link-external.js +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-link.js +1 -1
- package/components/digi-logo.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-banner.js +2 -2
- package/components/digi-tools-feedback-rating.js +2 -2
- 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-6f595199.js → p-0c919531.js} +1 -1
- package/components/{p-779eecac.js → p-117e7b18.js} +5 -5
- package/components/{p-c65795d8.js → p-358965ba.js} +2 -2
- package/components/{p-fb2fd84c.js → p-36dad6f1.js} +9 -9
- package/components/{p-cd0370eb.js → p-3fad7281.js} +2 -2
- package/components/{p-f18dbbea.js → p-5fd00d55.js} +2 -2
- package/components/p-606ba731.js +165 -0
- package/components/p-8fee3d97.js +163 -0
- package/components/{p-ad4aaaaf.js → p-a79e144f.js} +2 -2
- package/components/p-b8c862c0.js +66 -0
- package/components/{p-f53eb01a.js → p-d2a95a3e.js} +1 -1
- package/components/p-d7ef9cb1.js +13 -0
- package/components/{p-bb0ffb59.js → p-dedeb670.js} +3 -3
- package/components/{p-62a0008b.js → p-e756fda7.js} +2 -2
- package/custom-elements.json +4 -0
- package/dist/cjs/{code-example-variation.enum-c6557727.js → code-example-variation.enum-1611825e.js} +6 -0
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-button_37.cjs.entry.js +5254 -0
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +50 -51
- package/dist/cjs/digi-code-block.cjs.entry.js +89 -0
- package/dist/cjs/digi-code-example.cjs.entry.js +4 -5
- package/dist/cjs/digi-dialog.cjs.entry.js +6 -20
- package/dist/cjs/digi-footer.cjs.entry.js +4 -18
- package/dist/cjs/digi-form-error-list.cjs.entry.js +4 -18
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +10 -11
- package/dist/cjs/digi-form-input-search.cjs.entry.js +8 -10
- package/dist/cjs/digi-form-receipt.cjs.entry.js +4 -18
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +12 -26
- package/dist/cjs/digi-form-textarea.cjs.entry.js +3 -3
- package/dist/cjs/digi-header-avatar.cjs.entry.js +1 -1
- package/dist/cjs/digi-header-navigation.cjs.entry.js +4 -18
- package/dist/cjs/digi-header.cjs.entry.js +5 -19
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-internal.cjs.entry.js +2 -2
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +4 -18
- package/dist/cjs/digi-notification-alert.cjs.entry.js +4 -18
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +4 -18
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-title-logo.cjs.entry.js +5 -19
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +7 -21
- package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-1fb2180a.js} +14 -0
- package/dist/cjs/{form-file-upload-variation.enum-634cfae8.js → form-validation-message-variation.enum-c5ec3e2d.js} +7 -0
- package/dist/cjs/index-7a477838.js +4 -92
- package/dist/cjs/{index-ac8e01b4.js → index-acb7b350.js} +189 -19
- package/dist/cjs/index.cjs.js +158 -166
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{typography-variation.enum-50512a4e.js → typography-variation.enum-e41bd69d.js} +158 -0
- package/dist/collection/components/_button/button/button.css +6 -6
- package/dist/collection/components/_calendar/calendar/calendar.css +5 -0
- package/dist/collection/components/_calendar/calendar/calendar.js +7 -7
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +339 -102
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +6 -5
- 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 +339 -102
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +3 -2
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +4 -3
- package/dist/collection/components/_form/form-input/form-input.js +4 -3
- package/dist/collection/components/_form/form-input-search/form-input-search.js +3 -2
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +3 -2
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +3 -2
- package/dist/collection/components/_form/form-select/form-select.css +2 -2
- package/dist/collection/components/_form/form-select/form-select.js +5 -4
- package/dist/collection/components/_form/form-select-filter/form-select-filter.css +1 -1
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +8 -7
- package/dist/collection/components/_form/form-textarea/form-textarea.js +4 -3
- package/dist/collection/components/_header/header-avatar/header-avatar.css +338 -101
- package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
- package/dist/collection/components/_link/link/link.js +2 -2
- package/dist/collection/components/_link/link-button/link-button.js +2 -2
- package/dist/collection/components/_link/link-external/link-external.js +2 -2
- package/dist/collection/components/_link/link-internal/link-internal.css +338 -101
- package/dist/collection/components/_link/link-internal/link-internal.js +2 -2
- package/dist/collection/components/_logo/title-logo/title-logo.js +1 -1
- 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 +105 -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 +6 -6
- package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_calendar.variables.scss +1 -0
- 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-select-filter.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-select.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_info-card.variables.scss +2 -2
- 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 +270 -128
- package/dist/collection/styles/src/themes/_common.mixin.scss +7 -0
- package/dist/collection/styles/src/themes/_theme-af25.mixin.scss +139 -0
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +1406 -323
- package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +6 -6
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +1 -0
- 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-select-filter.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_info-card.variables.scss +2 -2
- 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-014a7047.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c30f5cbf.entry.js → p-030e608e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-0f543000.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-13120f18.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-158037f8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-180663ef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1887ef59.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1a619dd3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-26e8ea70.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3887bb40.js +1 -0
- package/dist/digi-arbetsformedlingen/p-53d9556b.js +1 -0
- package/dist/digi-arbetsformedlingen/p-54d9bd3e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5ca38506.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-64b65586.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-67e32cc2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6bf36a39.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7a6a447c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-800b764b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-82225661.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a105d9fe.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a7372448.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-eada91bf.entry.js → p-c0b39654.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c64b4626.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-864542b1.entry.js → p-cc9a96ff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-cd77a916.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e540b80f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e5fee242.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f358d8b2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f601908d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fa44ce49.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +270 -128
- package/dist/digi-arbetsformedlingen/styles/src/themes/_common.mixin.scss +7 -0
- package/dist/digi-arbetsformedlingen/styles/src/themes/_theme-af25.mixin.scss +139 -0
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +1406 -323
- package/dist/esm/{code-example-variation.enum-e9f9fced.js → code-example-variation.enum-e656d235.js} +7 -1
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-button_37.entry.js +5214 -0
- package/dist/esm/digi-calendar-week-view.entry.js +1 -2
- package/dist/esm/digi-code-block.entry.js +85 -0
- package/dist/esm/digi-code-example.entry.js +2 -3
- package/dist/esm/digi-dialog.entry.js +5 -19
- package/dist/esm/digi-footer.entry.js +4 -18
- package/dist/esm/digi-form-error-list.entry.js +4 -18
- package/dist/esm/digi-form-file-upload.entry.js +2 -3
- package/dist/esm/digi-form-input-search.entry.js +3 -5
- package/dist/esm/digi-form-receipt.entry.js +4 -18
- package/dist/esm/digi-form-select-filter.entry.js +12 -26
- package/dist/esm/digi-form-textarea.entry.js +3 -3
- package/dist/esm/digi-header-avatar.entry.js +1 -1
- package/dist/esm/digi-header-navigation.entry.js +4 -18
- package/dist/esm/digi-header.entry.js +4 -18
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +1 -1
- package/dist/esm/digi-info-card.entry.js +1 -1
- package/dist/esm/digi-link-button.entry.js +1 -1
- package/dist/esm/digi-link-internal.entry.js +2 -2
- package/dist/esm/digi-navigation-pagination.entry.js +4 -18
- package/dist/esm/digi-notification-alert.entry.js +4 -18
- package/dist/esm/digi-notification-error-page.entry.js +4 -18
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-title-logo.entry.js +5 -19
- package/dist/esm/digi-tools-feedback.entry.js +5 -19
- package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-a6bba983.js} +15 -1
- package/dist/esm/{form-file-upload-variation.enum-9c49ec5e.js → form-validation-message-variation.enum-f7835fc5.js} +8 -1
- package/dist/esm/index-148a7577.js +4 -92
- package/dist/esm/{index-2fce392f.js → index-dc6b83f7.js} +170 -3
- package/dist/esm/index.js +4 -18
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{typography-variation.enum-8c3ff25c.js → typography-variation.enum-b07f76c9.js} +159 -1
- package/dist/types/components/_calendar/calendar/calendar.d.ts +1 -1
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +1 -0
- package/dist/types/components/_form/form-checkbox/form-checkbox.d.ts +1 -0
- package/dist/types/components/_form/form-input/form-input.d.ts +1 -0
- package/dist/types/components/_form/form-input-search/form-input-search.d.ts +1 -0
- package/dist/types/components/_form/form-radiobutton/form-radiobutton.d.ts +1 -0
- package/dist/types/components/_form/form-radiogroup/form-radiogroup.d.ts +1 -0
- package/dist/types/components/_form/form-select/form-select.d.ts +1 -0
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +1 -0
- package/dist/types/components/_form/form-textarea/form-textarea.d.ts +1 -0
- 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 +52 -4
- package/dist/types/enums.d.ts +1 -0
- package/hydrate/index.js +91 -63
- package/hydrate/index.mjs +91 -63
- package/package.json +1 -1
- package/components/p-4bad4fb0.js +0 -7
- package/components/p-93e21f44.js +0 -66
- package/components/p-c236a69d.js +0 -163
- package/components/p-e8fc33ed.js +0 -165
- package/dist/cjs/button-size.enum-1fd86b9e.js +0 -7
- package/dist/cjs/button-type.enum-406723db.js +0 -8
- package/dist/cjs/digi-button_9.cjs.entry.js +0 -533
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2603
- package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -464
- package/dist/cjs/digi-code-block_3.cjs.entry.js +0 -232
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +0 -97
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +0 -121
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +0 -127
- package/dist/cjs/digi-form-input.cjs.entry.js +0 -194
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +0 -80
- package/dist/cjs/digi-icon-check.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-icon-copy.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +0 -92
- package/dist/cjs/digi-link.cjs.entry.js +0 -75
- 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-progress-indicator.cjs.entry.js +0 -137
- 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-keydown-handler.cjs.entry.js +0 -83
- package/dist/cjs/expandable-faq-item-variation.enum-89427195.js +0 -18
- package/dist/cjs/form-checkbox-variation.enum-d2ca879e.js +0 -19
- package/dist/cjs/form-input-search-variation.enum-c50239bc.js +0 -8
- package/dist/cjs/form-input-variation.enum-c750520c.js +0 -29
- package/dist/cjs/form-radiogroup-validation.enum-03a17d4d.js +0 -9
- package/dist/cjs/form-select-variation.enum-528c1bf0.js +0 -16
- package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +0 -8
- package/dist/cjs/index-cad91a90.js +0 -66
- package/dist/cjs/index-e8333bcc.js +0 -174
- package/dist/cjs/layout-container-max-width.enum-7e637f44.js +0 -21
- 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/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-011d5a78.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0436c516.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-04413bed.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0461e19a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-14731327.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1f956af8.js +0 -1
- package/dist/digi-arbetsformedlingen/p-24fe2189.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2698dd2a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2a86cc73.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-300aa9ef.js +0 -1
- package/dist/digi-arbetsformedlingen/p-33349e7e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-38627816.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3a76bfde.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3b20ec86.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3d0c3803.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3d7fff3c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-41bc039f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-43178277.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4452f871.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4bad4fb0.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4e36c467.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-501697cd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-55f525dd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-57319a80.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5a602122.js +0 -1
- package/dist/digi-arbetsformedlingen/p-67d28f76.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-681e7beb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6d864e79.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6efa0bd8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7933b555.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7aacd45f.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8142cc73.js +0 -1
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
- package/dist/digi-arbetsformedlingen/p-89b457e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-905ccb30.js +0 -1
- package/dist/digi-arbetsformedlingen/p-93766b5e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-95330112.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-96987381.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-98eece1b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9dcedec5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a34dfc04.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a3cea8b4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b6048dc7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bc3d2778.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bf53daba.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c29ab968.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7949525.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cdf86efc.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d055d564.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d1886fff.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d5376b7c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d7aa8315.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dc13eeeb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7e39ee7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e9656bf8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e9abb2b1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ee4cb21a.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ee9589e6.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-f8391f37.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fdecd798.entry.js +0 -1
- package/dist/esm/button-size.enum-d5ff6ff3.js +0 -7
- package/dist/esm/button-type.enum-5250ae0b.js +0 -8
- package/dist/esm/digi-button_9.entry.js +0 -521
- package/dist/esm/digi-calendar-datepicker.entry.js +0 -2599
- package/dist/esm/digi-calendar_2.entry.js +0 -459
- package/dist/esm/digi-code-block_3.entry.js +0 -226
- package/dist/esm/digi-expandable-faq-item.entry.js +0 -93
- package/dist/esm/digi-form-category-filter.entry.js +0 -117
- package/dist/esm/digi-form-checkbox.entry.js +0 -123
- package/dist/esm/digi-form-input.entry.js +0 -190
- package/dist/esm/digi-form-radiogroup.entry.js +0 -76
- package/dist/esm/digi-icon-check.entry.js +0 -26
- package/dist/esm/digi-icon-chevron-down.entry.js +0 -26
- package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
- package/dist/esm/digi-icon-copy.entry.js +0 -26
- package/dist/esm/digi-icon-minus_2.entry.js +0 -48
- package/dist/esm/digi-layout-block_2.entry.js +0 -87
- package/dist/esm/digi-link.entry.js +0 -71
- 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-progress-indicator.entry.js +0 -133
- 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-keydown-handler.entry.js +0 -79
- package/dist/esm/expandable-faq-item-variation.enum-a8cb225b.js +0 -18
- package/dist/esm/form-checkbox-variation.enum-83e906fc.js +0 -19
- package/dist/esm/form-input-search-variation.enum-f9d669f2.js +0 -8
- package/dist/esm/form-input-variation.enum-64d9450f.js +0 -29
- package/dist/esm/form-radiogroup-validation.enum-d790fc66.js +0 -9
- package/dist/esm/form-select-variation.enum-f2f6098d.js +0 -16
- package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +0 -8
- package/dist/esm/index-5b6c95c6.js +0 -63
- package/dist/esm/index-8685f88d.js +0 -170
- package/dist/esm/layout-container-max-width.enum-c40018ac.js +0 -21
- 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/tools-theme-provider.brand.enum-8c5a98c9.js +0 -7
- package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +0 -17
|
@@ -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,8 +0,0 @@
|
|
|
1
|
-
var FormInputSearchVariation;
|
|
2
|
-
(function (FormInputSearchVariation) {
|
|
3
|
-
FormInputSearchVariation["SMALL"] = "small";
|
|
4
|
-
FormInputSearchVariation["MEDIUM"] = "medium";
|
|
5
|
-
FormInputSearchVariation["LARGE"] = "large";
|
|
6
|
-
})(FormInputSearchVariation || (FormInputSearchVariation = {}));
|
|
7
|
-
|
|
8
|
-
export { FormInputSearchVariation as F };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var FormInputMode;
|
|
2
|
-
(function (FormInputMode) {
|
|
3
|
-
FormInputMode["DEFAULT"] = "";
|
|
4
|
-
FormInputMode["NONE"] = "none";
|
|
5
|
-
FormInputMode["TEXT"] = "text";
|
|
6
|
-
FormInputMode["DECIMAL"] = "decimal";
|
|
7
|
-
FormInputMode["NUMERIC"] = "numeric";
|
|
8
|
-
FormInputMode["TEL"] = "tel";
|
|
9
|
-
FormInputMode["SEARCH"] = "search";
|
|
10
|
-
FormInputMode["EMAIL"] = "email";
|
|
11
|
-
FormInputMode["URL"] = "url";
|
|
12
|
-
})(FormInputMode || (FormInputMode = {}));
|
|
13
|
-
|
|
14
|
-
var FormInputValidation;
|
|
15
|
-
(function (FormInputValidation) {
|
|
16
|
-
FormInputValidation["SUCCESS"] = "success";
|
|
17
|
-
FormInputValidation["ERROR"] = "error";
|
|
18
|
-
FormInputValidation["WARNING"] = "warning";
|
|
19
|
-
FormInputValidation["NEUTRAL"] = "neutral";
|
|
20
|
-
})(FormInputValidation || (FormInputValidation = {}));
|
|
21
|
-
|
|
22
|
-
var FormInputVariation;
|
|
23
|
-
(function (FormInputVariation) {
|
|
24
|
-
FormInputVariation["SMALL"] = "small";
|
|
25
|
-
FormInputVariation["MEDIUM"] = "medium";
|
|
26
|
-
FormInputVariation["LARGE"] = "large";
|
|
27
|
-
})(FormInputVariation || (FormInputVariation = {}));
|
|
28
|
-
|
|
29
|
-
export { FormInputMode as F, FormInputValidation as a, FormInputVariation as b };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var FormRadiogroupValidation;
|
|
2
|
-
(function (FormRadiogroupValidation) {
|
|
3
|
-
FormRadiogroupValidation["SUCCESS"] = "success";
|
|
4
|
-
FormRadiogroupValidation["ERROR"] = "error";
|
|
5
|
-
FormRadiogroupValidation["WARNING"] = "warning";
|
|
6
|
-
FormRadiogroupValidation["NEUTRAL"] = "neutral";
|
|
7
|
-
})(FormRadiogroupValidation || (FormRadiogroupValidation = {}));
|
|
8
|
-
|
|
9
|
-
export { FormRadiogroupValidation as F };
|
|
@@ -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,8 +0,0 @@
|
|
|
1
|
-
var FormValidationMessageVariation;
|
|
2
|
-
(function (FormValidationMessageVariation) {
|
|
3
|
-
FormValidationMessageVariation["SUCCESS"] = "success";
|
|
4
|
-
FormValidationMessageVariation["ERROR"] = "error";
|
|
5
|
-
FormValidationMessageVariation["WARNING"] = "warning";
|
|
6
|
-
})(FormValidationMessageVariation || (FormValidationMessageVariation = {}));
|
|
7
|
-
|
|
8
|
-
export { FormValidationMessageVariation as F };
|
|
@@ -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,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,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,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 };
|