@designsystem-se/af 37.0.2-beta.0 → 37.0.2
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 +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 +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.js +1 -1
- package/components/digi-form-receipt.js +1 -1
- package/components/digi-form-select-filter.js +3 -3
- 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 +3 -3
- package/components/digi-info-card.js +2 -2
- package/components/digi-link-internal.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.js +3 -3
- package/components/digi-tools-theme-provider.js +5 -18
- package/components/index.js +1 -1
- package/components/{p-a79e144f.js → p-2ac136a0.js} +1 -1
- package/components/{p-7d3fb535.js → p-44f143ea.js} +2 -2
- package/components/p-4bad4fb0.js +7 -0
- package/components/{p-e756fda7.js → p-62a0008b.js} +2 -2
- package/components/{p-29f63312.js → p-7ff04204.js} +2 -2
- package/components/p-8bdc6d6b.js +157 -0
- package/components/{p-117e7b18.js → p-9466c4e0.js} +1 -1
- package/components/p-9dd1da8c.js +177 -0
- package/components/p-b57677c1.js +66 -0
- package/components/p-e8fc33ed.js +165 -0
- package/components/{p-d2a95a3e.js → p-f53eb01a.js} +1 -1
- package/custom-elements.json +0 -4
- package/dist/cjs/button-size.enum-1fd86b9e.js +7 -0
- package/dist/cjs/button-type.enum-406723db.js +8 -0
- package/dist/cjs/{code-example-variation.enum-1611825e.js → code-example-variation.enum-c6557727.js} +0 -6
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-button_2.cjs.entry.js +262 -0
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +2603 -0
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +51 -50
- package/dist/cjs/digi-calendar_2.cjs.entry.js +464 -0
- package/dist/cjs/digi-code-block_3.cjs.entry.js +244 -0
- package/dist/cjs/digi-code-example.cjs.entry.js +5 -4
- package/dist/cjs/digi-dialog.cjs.entry.js +20 -6
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +97 -0
- package/dist/cjs/digi-footer.cjs.entry.js +18 -4
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +121 -0
- package/dist/cjs/digi-form-error-list.cjs.entry.js +18 -4
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +11 -10
- package/dist/cjs/digi-form-input-search.cjs.entry.js +8 -6
- package/dist/cjs/digi-form-input.cjs.entry.js +194 -0
- package/dist/cjs/digi-form-label_3.cjs.entry.js +129 -0
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +80 -0
- package/dist/cjs/digi-form-receipt.cjs.entry.js +18 -4
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +568 -0
- package/dist/cjs/digi-form-select_2.cjs.entry.js +186 -0
- package/dist/cjs/digi-header-avatar.cjs.entry.js +1 -1
- package/dist/cjs/digi-header-navigation.cjs.entry.js +18 -4
- package/dist/cjs/digi-header.cjs.entry.js +19 -5
- package/dist/cjs/digi-icon-check.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-copy.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +53 -0
- package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +92 -0
- package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
- package/dist/cjs/digi-link.cjs.entry.js +75 -0
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +18 -4
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +150 -0
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +177 -0
- package/dist/cjs/digi-notification-alert.cjs.entry.js +18 -4
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +18 -4
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +137 -0
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-title-logo.cjs.entry.js +18 -4
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +21 -7
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +28 -0
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +38 -0
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +20 -0
- package/dist/cjs/digi-typography.cjs.entry.js +26 -0
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +83 -0
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +64 -0
- package/dist/cjs/expandable-faq-item-variation.enum-89427195.js +18 -0
- package/dist/cjs/form-checkbox-variation.enum-d2ca879e.js +19 -0
- package/dist/cjs/{form-validation-message-variation.enum-c5ec3e2d.js → form-file-upload-variation.enum-634cfae8.js} +0 -7
- package/dist/cjs/form-input-search-variation.enum-c50239bc.js +8 -0
- package/dist/cjs/{form-input-type.enum-1fb2180a.js → form-input-type.enum-9c8ee12a.js} +0 -14
- package/dist/cjs/form-input-variation.enum-c750520c.js +29 -0
- package/dist/cjs/form-radiogroup-validation.enum-03a17d4d.js +9 -0
- package/dist/cjs/form-select-variation.enum-528c1bf0.js +16 -0
- package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +8 -0
- package/dist/cjs/index-7a477838.js +108 -4
- package/dist/cjs/{index-acb7b350.js → index-ac8e01b4.js} +19 -189
- package/dist/cjs/index-cad91a90.js +66 -0
- package/dist/cjs/index-e8333bcc.js +174 -0
- package/dist/cjs/index.cjs.js +166 -158
- package/dist/cjs/layout-container-max-width.enum-7e637f44.js +21 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/navigation-vertical-menu-variation.enum-c237edd3.js +13 -0
- package/dist/cjs/progress-indicator-variation.enum-7cf8e0e4.js +13 -0
- package/dist/cjs/tools-theme-provider.brand.enum-bc855272.js +7 -0
- package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +17 -0
- package/dist/cjs/{typography-variation.enum-e41bd69d.js → typography-variation.enum-50512a4e.js} +0 -158
- package/dist/collection/components/_button/button/button.css +6 -6
- package/dist/collection/components/_calendar/calendar/calendar.css +2 -7
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +102 -347
- package/dist/collection/components/_code/code-example/code-example.css +0 -6
- package/dist/collection/components/_dialog/dialog/dialog.css +1 -1
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.css +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +110 -355
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +23 -3
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +3 -4
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.css +7 -2
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +23 -3
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.css +4 -0
- package/dist/collection/components/_form/form-select/form-select.css +2 -2
- package/dist/collection/components/_form/form-select-filter/form-select-filter.css +1 -1
- package/dist/collection/components/_header/header-avatar/header-avatar.css +101 -346
- package/dist/collection/components/_info-card/info-card/info-card.css +2 -2
- package/dist/collection/components/_link/link-internal/link-internal.css +101 -346
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.css +3 -3
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +3 -4
- package/dist/collection/components/_quote/quote/quote.css +2 -2
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +1 -1
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.css +2 -113
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +2 -43
- 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 +2 -3
- package/dist/collection/design-tokens/components/_dialog.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-file-upload.variables.scss +0 -2
- package/dist/collection/design-tokens/components/_form-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 +0 -1
- package/dist/collection/styles/src/_alias.mixin.scss +128 -274
- package/dist/collection/styles/src/themes/_common.mixin.scss +0 -7
- package/dist/collection/styles/src/themes/_theme-af25.mixin.scss +0 -143
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +764 -1647
- 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 +2 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_dialog.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_expandable-faq-item.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-file-upload.variables.scss +0 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-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-00219e81.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-07985aef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-19c30198.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f956af8.js +1 -0
- package/dist/digi-arbetsformedlingen/p-24fe2189.js +1 -0
- package/dist/digi-arbetsformedlingen/p-260620fe.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2693c1d8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2698dd2a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2a86cc73.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2b7b69cd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-300aa9ef.js +1 -0
- package/dist/digi-arbetsformedlingen/p-33349e7e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-38627816.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3a76bfde.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3b20ec86.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3d7fff3c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-41bc039f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4bad4fb0.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4e36c467.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-51149879.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-55f525dd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-57319a80.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-57a0cc63.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5a602122.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5d3383f9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-681e7beb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6bd60ab6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6d864e79.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-75309c9a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-78c99e87.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7933b555.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7aacd45f.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8142cc73.js +1 -0
- package/dist/digi-arbetsformedlingen/p-826ad49e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-89b457e8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-905ccb30.js +1 -0
- package/dist/digi-arbetsformedlingen/p-93766b5e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-95330112.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-96987381.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9a6ea3b7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9b7f0707.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9dd5d6c8.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a34dfc04.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bc3d2778.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c24aab43.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c29ab968.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7949525.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cd50f570.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cdf86efc.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d055d564.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d1886fff.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d4145a3e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d5376b7c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d7aa8315.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-dc9b6144.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e6b65415.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e7e39ee7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e844d4cc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e9abb2b1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee4cb21a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee9589e6.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f40f4b2a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f447b984.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f8391f37.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fdecd798.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/_alias.mixin.scss +128 -274
- package/dist/digi-arbetsformedlingen/styles/src/themes/_common.mixin.scss +0 -7
- package/dist/digi-arbetsformedlingen/styles/src/themes/_theme-af25.mixin.scss +0 -143
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +764 -1647
- package/dist/esm/button-size.enum-d5ff6ff3.js +7 -0
- package/dist/esm/button-type.enum-5250ae0b.js +8 -0
- package/dist/esm/{code-example-variation.enum-e656d235.js → code-example-variation.enum-e9f9fced.js} +1 -7
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-button_2.entry.js +257 -0
- package/dist/esm/digi-calendar-datepicker.entry.js +2599 -0
- package/dist/esm/digi-calendar-week-view.entry.js +2 -1
- package/dist/esm/digi-calendar_2.entry.js +459 -0
- package/dist/esm/digi-code-block_3.entry.js +238 -0
- package/dist/esm/digi-code-example.entry.js +3 -2
- package/dist/esm/digi-dialog.entry.js +19 -5
- package/dist/esm/digi-expandable-faq-item.entry.js +93 -0
- package/dist/esm/digi-footer.entry.js +18 -4
- package/dist/esm/digi-form-category-filter.entry.js +117 -0
- package/dist/esm/digi-form-error-list.entry.js +18 -4
- package/dist/esm/digi-form-file-upload.entry.js +3 -2
- package/dist/esm/digi-form-input-search.entry.js +3 -1
- package/dist/esm/digi-form-input.entry.js +190 -0
- package/dist/esm/digi-form-label_3.entry.js +123 -0
- package/dist/esm/digi-form-radiogroup.entry.js +76 -0
- package/dist/esm/digi-form-receipt.entry.js +18 -4
- package/dist/esm/digi-form-select-filter.entry.js +564 -0
- package/dist/esm/digi-form-select_2.entry.js +181 -0
- package/dist/esm/digi-header-avatar.entry.js +1 -1
- package/dist/esm/digi-header-navigation.entry.js +18 -4
- package/dist/esm/digi-header.entry.js +18 -4
- package/dist/esm/digi-icon-check.entry.js +26 -0
- package/dist/esm/digi-icon-chevron-down.entry.js +26 -0
- package/dist/esm/digi-icon-chevron-left_2.entry.js +48 -0
- package/dist/esm/digi-icon-copy.entry.js +26 -0
- package/dist/esm/digi-icon-minus_2.entry.js +48 -0
- package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
- package/dist/esm/digi-info-card.entry.js +1 -1
- package/dist/esm/digi-layout-block_2.entry.js +87 -0
- package/dist/esm/digi-link-internal.entry.js +1 -1
- package/dist/esm/digi-link.entry.js +71 -0
- package/dist/esm/digi-navigation-pagination.entry.js +18 -4
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +146 -0
- package/dist/esm/digi-navigation-vertical-menu.entry.js +173 -0
- package/dist/esm/digi-notification-alert.entry.js +18 -4
- package/dist/esm/digi-notification-error-page.entry.js +18 -4
- package/dist/esm/digi-progress-indicator.entry.js +133 -0
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-title-logo.entry.js +18 -4
- package/dist/esm/digi-tools-feedback.entry.js +19 -5
- package/dist/esm/digi-tools-theme-provider.entry.js +24 -0
- package/dist/esm/digi-typography-heading-jumbo.entry.js +34 -0
- package/dist/esm/digi-typography-preamble.entry.js +16 -0
- package/dist/esm/digi-typography.entry.js +22 -0
- package/dist/esm/digi-util-keydown-handler.entry.js +79 -0
- package/dist/esm/digi-util-mutation-observer.entry.js +60 -0
- package/dist/esm/expandable-faq-item-variation.enum-a8cb225b.js +18 -0
- package/dist/esm/form-checkbox-variation.enum-83e906fc.js +19 -0
- package/dist/esm/{form-validation-message-variation.enum-f7835fc5.js → form-file-upload-variation.enum-9c49ec5e.js} +1 -8
- package/dist/esm/form-input-search-variation.enum-f9d669f2.js +8 -0
- package/dist/esm/{form-input-type.enum-a6bba983.js → form-input-type.enum-3da3db27.js} +1 -15
- package/dist/esm/form-input-variation.enum-64d9450f.js +29 -0
- package/dist/esm/form-radiogroup-validation.enum-d790fc66.js +9 -0
- package/dist/esm/form-select-variation.enum-f2f6098d.js +16 -0
- package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +8 -0
- package/dist/esm/index-148a7577.js +108 -4
- package/dist/esm/{index-dc6b83f7.js → index-2fce392f.js} +3 -170
- package/dist/esm/index-5b6c95c6.js +63 -0
- package/dist/esm/index-8685f88d.js +170 -0
- package/dist/esm/index.js +18 -4
- package/dist/esm/layout-container-max-width.enum-c40018ac.js +21 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/navigation-vertical-menu-variation.enum-c30b0ea9.js +13 -0
- package/dist/esm/progress-indicator-variation.enum-b12ba50a.js +13 -0
- package/dist/esm/tools-theme-provider.brand.enum-8c5a98c9.js +7 -0
- package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +17 -0
- package/dist/esm/{typography-variation.enum-b07f76c9.js → typography-variation.enum-8c3ff25c.js} +1 -159
- package/dist/types/components/_form/form-checkbox/form-checkbox.d.ts +8 -0
- package/dist/types/components/_form/form-radiobutton/form-radiobutton.d.ts +8 -0
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.d.ts +0 -9
- package/dist/types/components.d.ts +0 -12
- package/dist/types/enums.d.ts +0 -1
- package/hydrate/index.js +57 -48
- package/hydrate/index.mjs +57 -48
- package/package.json +1 -1
- package/components/p-0d568c4b.js +0 -66
- package/components/p-5fd00d55.js +0 -143
- package/components/p-606ba731.js +0 -165
- package/components/p-d7ef9cb1.js +0 -13
- package/components/p-f77cb7ae.js +0 -163
- package/dist/cjs/digi-button_38.cjs.entry.js +0 -5759
- package/dist/cjs/digi-code-block.cjs.entry.js +0 -89
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.js +0 -5
- package/dist/digi-arbetsformedlingen/p-0f543000.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-13120f18.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-180663ef.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1a619dd3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-26e8ea70.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3887bb40.js +0 -1
- package/dist/digi-arbetsformedlingen/p-52a3c86a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-53d9556b.js +0 -1
- package/dist/digi-arbetsformedlingen/p-54d9bd3e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5ca38506.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-64b65586.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-67e32cc2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-76ec3619.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-780519ec.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-800b764b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-82225661.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-920aee36.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9b6e8cf8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a105d9fe.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c64b4626.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d9bcab5f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e540b80f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e5fee242.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7ee9bea.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f601908d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fa44ce49.entry.js +0 -1
- package/dist/esm/digi-button_38.entry.js +0 -5718
- package/dist/esm/digi-code-block.entry.js +0 -85
- package/dist/types/components/_tools/tools-theme-provider/tools-theme-provider.theme.enum.d.ts +0 -4
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-148a7577.js';
|
|
2
|
-
import { C as CodeBlockVariation, B as ButtonSize } from './code-example-variation.enum-e656d235.js';
|
|
3
|
-
import { a as CodeBlockLanguage } from './typography-variation.enum-b07f76c9.js';
|
|
4
|
-
import { P as Prism } from './prism-git-92a0d5cd.js';
|
|
5
|
-
import './badge-notification-shape.enum-e15a6245.js';
|
|
6
|
-
import './badge-status-variation.enum-8d6370ff.js';
|
|
7
|
-
import './form-input-type.enum-a6bba983.js';
|
|
8
|
-
import { B as ButtonVariation } from './button-variation.enum-94fffdd6.js';
|
|
9
|
-
import './calendar-week-view-heading-level.enum-6774297c.js';
|
|
10
|
-
import './bar-chart-variation.enum-97c0b47f.js';
|
|
11
|
-
import './code-variation.enum-1eee7c7a.js';
|
|
12
|
-
import './expandable-accordion-header-level.enum-85681e2f.js';
|
|
13
|
-
import './expandable-faq-variation.enum-6934c367.js';
|
|
14
|
-
import './footer-card-variation.enum-cc732148.js';
|
|
15
|
-
import './form-validation-message-variation.enum-f7835fc5.js';
|
|
16
|
-
import './form-textarea-variation.enum-05017e8e.js';
|
|
17
|
-
import './info-card-multi-type.enum-07ee124f.js';
|
|
18
|
-
import './info-card-variation.enum-2ccc52c1.js';
|
|
19
|
-
import './layout-block-variation.enum-b7a20db4.js';
|
|
20
|
-
import './layout-columns-variation.enum-34f7754e.js';
|
|
21
|
-
import './link-button-variation.enum-84d4976f.js';
|
|
22
|
-
import './list-type.enum-fbb331ad.js';
|
|
23
|
-
import './loader-skeleton-variation.enum-f9f867b4.js';
|
|
24
|
-
import './loader-spinner-size.enum-0b246fa0.js';
|
|
25
|
-
import './logo-variation.enum-5b68b79f.js';
|
|
26
|
-
import './media-figure-alignment.enum-a1d36567.js';
|
|
27
|
-
import './navigation-sidebar-variation.enum-8fead764.js';
|
|
28
|
-
import './progress-list-item-variation.enum-384b9a3a.js';
|
|
29
|
-
import './progress-list-variation.enum-300bd89d.js';
|
|
30
|
-
import './progressbar-variation.enum-40adaab4.js';
|
|
31
|
-
import './quote-image-inner-position.enum-8e9b1e65.js';
|
|
32
|
-
import './table-variation.enum-dd9366b6.js';
|
|
33
|
-
import './tag-media-icon.enum-fefa191c.js';
|
|
34
|
-
import './tag-size.enum-403e0cd8.js';
|
|
35
|
-
import './tools-feedback-banner-type.enum-74b4e580.js';
|
|
36
|
-
import './tools-feedback-rating-variation.enum-29058ff2.js';
|
|
37
|
-
import './typography-meta-variation.enum-1f7c2878.js';
|
|
38
|
-
import './typography-time-variation.enum-34c830ef.js';
|
|
39
|
-
import './util-breakpoint-observer-breakpoints.enum-6d004731.js';
|
|
40
|
-
import { _ as _t } from './text-8f88c0f6.js';
|
|
41
|
-
|
|
42
|
-
const codeBlockCss = "digi-code-block{--digi--code-block--background:var(--digi--color--background--primary);--digi--code-block--border-radius:0.3rem;--digi--code-block--border:1px solid var(--digi--grayscale--900);display:block}digi-code-block .digi-code-block{border-radius:var(--digi--code-block--border-radius);border:var(--digi--code-block--border);overflow:hidden;position:relative}digi-code-block .digi-code-block pre{margin:0}digi-code-block .digi-code-block--light{}digi-code-block .digi-code-block--light code[class*=language-],digi-code-block .digi-code-block--light pre[class*=language-]{color:#545454;background:none;font-family:var(--digi--global--typography--font-family--mono);text-align:left;white-space:pre-wrap;word-spacing:normal;word-break:break-word;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}digi-code-block .digi-code-block--light pre[class*=language-]{padding:1em;overflow:auto}digi-code-block .digi-code-block--light :not(pre)>code[class*=language-],digi-code-block .digi-code-block--light pre[class*=language-]{background:#fefefe}digi-code-block .digi-code-block--light :not(pre)>code[class*=language-]{padding:0.1em;white-space:normal}digi-code-block .digi-code-block--light .token.comment,digi-code-block .digi-code-block--light .token.prolog,digi-code-block .digi-code-block--light .token.doctype,digi-code-block .digi-code-block--light .token.cdata{color:#696969}digi-code-block .digi-code-block--light .token.punctuation{color:#545454}digi-code-block .digi-code-block--light .token.property,digi-code-block .digi-code-block--light .token.tag,digi-code-block .digi-code-block--light .token.constant,digi-code-block .digi-code-block--light .token.symbol,digi-code-block .digi-code-block--light .token.deleted{color:#007faa}digi-code-block .digi-code-block--light .token.boolean,digi-code-block .digi-code-block--light .token.number{color:#008000}digi-code-block .digi-code-block--light .token.selector,digi-code-block .digi-code-block--light .token.attr-name,digi-code-block .digi-code-block--light .token.string,digi-code-block .digi-code-block--light .token.char,digi-code-block .digi-code-block--light .token.builtin,digi-code-block .digi-code-block--light .token.inserted{color:#aa5d00}digi-code-block .digi-code-block--light .token.operator,digi-code-block .digi-code-block--light .token.entity,digi-code-block .digi-code-block--light .token.url,digi-code-block .digi-code-block--light .language-css .token.string,digi-code-block .digi-code-block--light .style .token.string,digi-code-block .digi-code-block--light .token.variable{color:#008000}digi-code-block .digi-code-block--light .token.atrule,digi-code-block .digi-code-block--light .token.attr-value,digi-code-block .digi-code-block--light .token.function{color:#aa5d00}digi-code-block .digi-code-block--light .token.keyword{color:#d91e18}digi-code-block .digi-code-block--light .token.regex,digi-code-block .digi-code-block--light .token.important{color:#d91e18}digi-code-block .digi-code-block--light .token.important,digi-code-block .digi-code-block--light .token.bold{font-weight:bold}digi-code-block .digi-code-block--light .token.italic{font-style:italic}digi-code-block .digi-code-block--light .token.entity{cursor:help}@media screen and (-ms-high-contrast: active){digi-code-block .digi-code-block--light code[class*=language-],digi-code-block .digi-code-block--light pre[class*=language-]{color:windowText;background:window}digi-code-block .digi-code-block--light :not(pre)>code[class*=language-],digi-code-block .digi-code-block--light pre[class*=language-]{background:window}digi-code-block .digi-code-block--light .token.important{background:highlight;color:window;font-weight:normal}digi-code-block .digi-code-block--light .token.atrule,digi-code-block .digi-code-block--light .token.attr-value,digi-code-block .digi-code-block--light .token.function,digi-code-block .digi-code-block--light .token.keyword,digi-code-block .digi-code-block--light .token.operator,digi-code-block .digi-code-block--light .token.selector{font-weight:bold}digi-code-block .digi-code-block--light .token.attr-value,digi-code-block .digi-code-block--light .token.comment,digi-code-block .digi-code-block--light .token.doctype,digi-code-block .digi-code-block--light .token.function,digi-code-block .digi-code-block--light .token.keyword,digi-code-block .digi-code-block--light .token.operator,digi-code-block .digi-code-block--light .token.property,digi-code-block .digi-code-block--light .token.string{color:highlight}digi-code-block .digi-code-block--light .token.attr-value,digi-code-block .digi-code-block--light .token.url{font-weight:normal}}digi-code-block .digi-code-block--dark{}digi-code-block .digi-code-block--dark .digi-code-block__button{--digi--button--color--text--function--default:var(--digi--color--text--secondary);--digi--button--color--text--function--hover:var(--digi--color--text--secondary);--digi--button--color--icon--function--default:var(--digi--color--text--secondary);--digi--button--color--icon--function--hover:var(--digi--color--text--secondary);--digi--button--color--text--function--focus:var(--digi--color--text--secondary);--digi--button--color--icon--function--focus:var(--digi--color--text--secondary)}digi-code-block .digi-code-block--dark code[class*=language-],digi-code-block .digi-code-block--dark pre[class*=language-]{color:#f8f8f2;background:none;font-family:var(--digi--global--typography--font-family--mono);text-align:left;white-space:pre-wrap;word-spacing:normal;word-break:break-word;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}digi-code-block .digi-code-block--dark pre[class*=language-]{padding:1em;overflow:auto}digi-code-block .digi-code-block--dark :not(pre)>code[class*=language-],digi-code-block .digi-code-block--dark pre[class*=language-]{background:#272727}digi-code-block .digi-code-block--dark :not(pre)>code[class*=language-]{padding:0.1em;white-space:normal}digi-code-block .digi-code-block--dark .token.comment,digi-code-block .digi-code-block--dark .token.prolog,digi-code-block .digi-code-block--dark .token.doctype,digi-code-block .digi-code-block--dark .token.cdata{color:#d4d0ab}digi-code-block .digi-code-block--dark .token.punctuation{color:#fefefe}digi-code-block .digi-code-block--dark .token.property,digi-code-block .digi-code-block--dark .token.tag,digi-code-block .digi-code-block--dark .token.constant,digi-code-block .digi-code-block--dark .token.symbol,digi-code-block .digi-code-block--dark .token.deleted{color:#ffa07a}digi-code-block .digi-code-block--dark .token.boolean,digi-code-block .digi-code-block--dark .token.number{color:#00e0e0}digi-code-block .digi-code-block--dark .token.selector,digi-code-block .digi-code-block--dark .token.attr-name,digi-code-block .digi-code-block--dark .token.string,digi-code-block .digi-code-block--dark .token.char,digi-code-block .digi-code-block--dark .token.builtin,digi-code-block .digi-code-block--dark .token.inserted{color:#abe338}digi-code-block .digi-code-block--dark .token.operator,digi-code-block .digi-code-block--dark .token.entity,digi-code-block .digi-code-block--dark .token.url,digi-code-block .digi-code-block--dark .language-css .token.string,digi-code-block .digi-code-block--dark .style .token.string,digi-code-block .digi-code-block--dark .token.variable{color:#00e0e0}digi-code-block .digi-code-block--dark .token.atrule,digi-code-block .digi-code-block--dark .token.attr-value,digi-code-block .digi-code-block--dark .token.function{color:#ffd700}digi-code-block .digi-code-block--dark .token.keyword{color:#00e0e0}digi-code-block .digi-code-block--dark .token.regex,digi-code-block .digi-code-block--dark .token.important{color:#ffd700}digi-code-block .digi-code-block--dark .token.important,digi-code-block .digi-code-block--dark .token.bold{font-weight:bold}digi-code-block .digi-code-block--dark .token.italic{font-style:italic}digi-code-block .digi-code-block--dark .token.entity{cursor:help}@media screen and (-ms-high-contrast: active){digi-code-block .digi-code-block--dark code[class*=language-],digi-code-block .digi-code-block--dark pre[class*=language-]{color:windowText;background:window}digi-code-block .digi-code-block--dark :not(pre)>code[class*=language-],digi-code-block .digi-code-block--dark pre[class*=language-]{background:window}digi-code-block .digi-code-block--dark .token.important{background:highlight;color:window;font-weight:normal}digi-code-block .digi-code-block--dark .token.atrule,digi-code-block .digi-code-block--dark .token.attr-value,digi-code-block .digi-code-block--dark .token.function,digi-code-block .digi-code-block--dark .token.keyword,digi-code-block .digi-code-block--dark .token.operator,digi-code-block .digi-code-block--dark .token.selector{font-weight:bold}digi-code-block .digi-code-block--dark .token.attr-value,digi-code-block .digi-code-block--dark .token.comment,digi-code-block .digi-code-block--dark .token.doctype,digi-code-block .digi-code-block--dark .token.function,digi-code-block .digi-code-block--dark .token.keyword,digi-code-block .digi-code-block--dark .token.operator,digi-code-block .digi-code-block--dark .token.property,digi-code-block .digi-code-block--dark .token.string{color:highlight}digi-code-block .digi-code-block--dark .token.attr-value,digi-code-block .digi-code-block--dark .token.url{font-weight:normal}}digi-code-block .digi-code-block__toolbar{padding-bottom:0.5rem;display:flex;justify-content:flex-end;position:absolute;bottom:0;width:100%}digi-code-block .digi-code-block__button{margin-right:var(--digi--margin--smaller)}";
|
|
43
|
-
const DigiCodeBlockStyle0 = codeBlockCss;
|
|
44
|
-
|
|
45
|
-
const CodeBlock = class {
|
|
46
|
-
constructor(hostRef) {
|
|
47
|
-
registerInstance(this, hostRef);
|
|
48
|
-
this.highlightedCode = undefined;
|
|
49
|
-
this.afCode = undefined;
|
|
50
|
-
this.afVariation = CodeBlockVariation.DARK;
|
|
51
|
-
this.afLanguage = CodeBlockLanguage.HTML;
|
|
52
|
-
this.afLang = 'en';
|
|
53
|
-
this.afHideToolbar = false;
|
|
54
|
-
}
|
|
55
|
-
componentWillLoad() {
|
|
56
|
-
Prism.manual = true;
|
|
57
|
-
this.formatCode();
|
|
58
|
-
}
|
|
59
|
-
formatCode() {
|
|
60
|
-
this.highlightedCode = Prism.highlight(this.afCode, Prism.languages[this.afLanguage], this.afLanguage);
|
|
61
|
-
}
|
|
62
|
-
copyButtonClickHandler() {
|
|
63
|
-
navigator.clipboard.writeText(this.afCode).then(() => {
|
|
64
|
-
// console.log('hurra!');
|
|
65
|
-
}, (err) => {
|
|
66
|
-
// console.log('åh nej!', err);
|
|
67
|
-
console.error(err);
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
get cssModifiers() {
|
|
71
|
-
return {
|
|
72
|
-
'digi-code-block--light': this.afVariation === CodeBlockVariation.LIGHT,
|
|
73
|
-
'digi-code-block--dark': this.afVariation === CodeBlockVariation.DARK
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
render() {
|
|
77
|
-
return (h("div", { key: 'efc4eab4b814bc5ec01559f89d951d694ed695e1', class: Object.assign({ 'digi-code-block': true }, this.cssModifiers) }, h("pre", { key: '85b42423a9f62a227739e3107972251f9a825a97', class: `digi-code-block__pre language-${this.afLanguage}` }, h("code", { key: '266c28f90184f60eab0fc1febf743a53f46aab3b', class: "digi-code-block__code", lang: this.afLang, innerHTML: this.highlightedCode })), !this.afHideToolbar && (h("div", { key: '6230d33b96b03f7ea584d3b93efff81f636bad18', class: "digi-code-block__toolbar" }, h("digi-button", { key: 'b54ad1cc57faafeb0f82cc0de0865cf3e585fddf', class: "digi-code-block__button", onAfOnClick: () => this.copyButtonClickHandler(), afVariation: ButtonVariation.FUNCTION, afSize: ButtonSize.SMALL }, h("digi-icon-copy", { key: 'f223bd2e83be5d853c78c0322d69c7fe34cd257a', class: "digi-code-block__icon", "aria-hidden": "true", slot: "icon" }), _t.code.copy)))));
|
|
78
|
-
}
|
|
79
|
-
static get watchers() { return {
|
|
80
|
-
"afCode": ["formatCode"]
|
|
81
|
-
}; }
|
|
82
|
-
};
|
|
83
|
-
CodeBlock.style = DigiCodeBlockStyle0;
|
|
84
|
-
|
|
85
|
-
export { CodeBlock as digi_code_block };
|