@duetds/components 10.0.0-alpha.13 → 10.0.0-alpha.14
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/hydrate/index.d.ts +38 -7
- package/hydrate/index.js +7554 -3237
- package/hydrate/index.mjs +45083 -0
- package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
- package/lib/cjs/{a11y-utils-afeb2485.js → a11y-utils-CrefuUbk.js} +1 -1
- package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
- package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
- package/lib/cjs/{app-globals-540cd51d.js → app-globals-CkySA1aW.js} +2 -2
- package/lib/cjs/duet-action-button.cjs.entry.js +83 -28
- package/lib/cjs/duet-alert.cjs.entry.js +72 -30
- package/lib/cjs/duet-badge.cjs.entry.js +16 -6
- package/lib/cjs/duet-banner.cjs.entry.js +49 -23
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +32 -12
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +17 -11
- package/lib/cjs/duet-button_2.cjs.entry.js +147 -54
- package/lib/cjs/duet-callout.cjs.entry.js +10 -7
- package/lib/cjs/duet-caption_4.cjs.entry.js +175 -34
- package/lib/cjs/duet-card.cjs.entry.js +80 -30
- package/lib/cjs/duet-checkbox.cjs.entry.js +65 -29
- package/lib/cjs/duet-checkmark.cjs.entry.js +18 -6
- package/lib/cjs/duet-chip.cjs.entry.js +49 -29
- package/lib/cjs/duet-choice_2.cjs.entry.js +212 -74
- package/lib/cjs/duet-collapsible.cjs.entry.js +67 -25
- package/lib/cjs/duet-combobox.cjs.entry.js +79 -46
- package/lib/cjs/duet-contact-card.cjs.entry.js +14 -15
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +12 -9
- package/lib/cjs/duet-date-picker.cjs.entry.js +142 -52
- package/lib/cjs/duet-divider_2.cjs.entry.js +26 -10
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +477 -198
- package/lib/cjs/duet-empty-state.cjs.entry.js +12 -6
- package/lib/cjs/duet-fieldset.cjs.entry.js +38 -19
- package/lib/cjs/duet-file-chooser.cjs.entry.js +16 -9
- package/lib/cjs/duet-footer.cjs.entry.js +52 -26
- package/lib/cjs/duet-grid_2.cjs.entry.js +65 -12
- package/lib/cjs/duet-header_2.cjs.entry.js +250 -85
- package/lib/cjs/duet-hero.cjs.entry.js +110 -26
- package/lib/cjs/duet-icon.cjs.entry.js +50 -11
- package/lib/cjs/duet-input_2.cjs.entry.js +181 -69
- package/lib/cjs/duet-layout.cjs.entry.js +27 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +44 -9
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +21 -13
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +16 -11
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +16 -11
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +37 -16
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +15 -7
- package/lib/cjs/duet-menu-bar.cjs.entry.js +32 -22
- package/lib/cjs/duet-modal.cjs.entry.js +74 -18
- package/lib/cjs/duet-multiselect.cjs.entry.js +85 -39
- package/lib/cjs/duet-nav.cjs.entry.js +10 -6
- package/lib/cjs/duet-notification_2.cjs.entry.js +83 -27
- package/lib/cjs/duet-number-input.cjs.entry.js +175 -65
- package/lib/cjs/duet-overlay.cjs.entry.js +33 -12
- package/lib/cjs/duet-page-heading.cjs.entry.js +13 -8
- package/lib/cjs/duet-pagination_2.cjs.entry.js +147 -72
- package/lib/cjs/duet-phone-input.cjs.entry.js +76 -35
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +108 -54
- package/lib/cjs/duet-progress.cjs.entry.js +31 -12
- package/lib/cjs/duet-promo-card.cjs.entry.js +24 -10
- package/lib/cjs/duet-radio_2.cjs.entry.js +100 -47
- package/lib/cjs/duet-range-slider.cjs.entry.js +70 -34
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +172 -59
- package/lib/cjs/duet-section-layout.cjs.entry.js +13 -6
- package/lib/cjs/duet-select.cjs.entry.js +79 -37
- package/lib/cjs/duet-shaped-image.cjs.entry.js +13 -8
- package/lib/cjs/duet-show-more.cjs.entry.js +77 -35
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-link.cjs.entry.js +47 -14
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +18 -9
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +40 -23
- package/lib/cjs/duet-slideout.cjs.entry.js +37 -23
- package/lib/cjs/duet-status-icon.cjs.entry.js +14 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +52 -18
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +22 -7
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +22 -13
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +38 -17
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +16 -7
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +21 -15
- package/lib/cjs/duet-textarea.cjs.entry.js +98 -45
- package/lib/cjs/duet-toggle.cjs.entry.js +47 -26
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +19 -8
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +22 -11
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +43 -16
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +18 -7
- package/lib/cjs/duet-toolbar.cjs.entry.js +9 -7
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +11 -20
- package/lib/cjs/duet-tooltip.cjs.entry.js +91 -45
- package/lib/cjs/duet-tray.cjs.entry.js +60 -21
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +29 -10
- package/lib/cjs/duet-upload-item.cjs.entry.js +10 -20
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -5
- package/lib/cjs/duet.cjs.js +8 -8
- package/lib/cjs/{errorcodes.utils-b47aaa45.js → errorcodes.utils-mZFkq5Tt.js} +2 -2
- package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
- package/lib/cjs/{focus-utils-c4163f8f.js → focus-utils-dqd59YI6.js} +1 -1
- package/lib/cjs/form-search-CzPfHB80.js +21 -0
- package/lib/cjs/{index-00821d28.js → index-CdC7dzZ-.js} +1845 -1369
- package/lib/cjs/{label-3ce3ebad.js → label-BQpxsrOR.js} +1 -1
- package/lib/cjs/{language-utils-77bf1c27.js → language-utils-A7DfQayC.js} +2 -2
- package/lib/cjs/loader.cjs.js +3 -5
- package/lib/cjs/{slot-utils-acd4cc20.js → slot-utils-DgJchaT4.js} +1 -1
- package/lib/cjs/{token-utils-5000595c.js → token-utils-BcI9qaMX.js} +2 -2
- package/lib/cjs/{tokens-57e06fe4.js → tokens-Qt4x7zcB.js} +4 -4
- package/lib/cjs/{tokens.module-7c947029.js → tokens.module-Dzg9dTSm.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
- package/lib/collection/components/duet-alert/duet-alert.js +77 -32
- package/lib/collection/components/duet-badge/duet-badge.js +17 -4
- package/lib/collection/components/duet-banner/duet-banner.js +52 -23
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +18 -7
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +13 -4
- package/lib/collection/components/duet-button/duet-button.js +164 -80
- package/lib/collection/components/duet-callout/duet-callout.js +8 -2
- package/lib/collection/components/duet-caption/duet-caption.js +16 -4
- package/lib/collection/components/duet-card/duet-card.js +73 -32
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +83 -44
- package/lib/collection/components/duet-chip/duet-chip.js +56 -33
- package/lib/collection/components/duet-choice/duet-checkmark.js +20 -5
- package/lib/collection/components/duet-choice/duet-choice.js +162 -75
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +75 -32
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +68 -24
- package/lib/collection/components/duet-combobox/duet-combobox.js +83 -45
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +19 -17
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +10 -4
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +149 -67
- package/lib/collection/components/duet-divider/duet-divider.js +13 -3
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +81 -24
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +12 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +42 -20
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +16 -6
- package/lib/collection/components/duet-footer/duet-footer.js +51 -23
- package/lib/collection/components/duet-grid/duet-grid.js +38 -8
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +38 -11
- package/lib/collection/components/duet-header/duet-header.js +162 -74
- package/lib/collection/components/duet-heading/duet-heading.js +36 -12
- package/lib/collection/components/duet-hero/duet-hero.js +128 -41
- package/lib/collection/components/duet-icon/duet-icon.js +58 -16
- package/lib/collection/components/duet-input/duet-input.js +183 -93
- package/lib/collection/components/duet-label/duet-label.js +22 -7
- package/lib/collection/components/duet-layout/duet-layout.js +30 -7
- package/lib/collection/components/duet-link/duet-link.js +84 -26
- package/lib/collection/components/duet-list/duet-list.js +37 -8
- package/lib/collection/components/duet-list-item/duet-list-item.js +12 -2
- package/lib/collection/components/duet-logo/duet-logo.js +34 -7
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +33 -20
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +31 -20
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +16 -8
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +16 -8
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +37 -14
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +17 -6
- package/lib/collection/components/duet-modal/duet-modal.js +82 -23
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +95 -45
- package/lib/collection/components/duet-nav/duet-nav.js +9 -2
- package/lib/collection/components/duet-notification/duet-notification.js +37 -7
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +52 -22
- package/lib/collection/components/duet-number-input/duet-number-input.js +177 -87
- package/lib/collection/components/duet-overlay/duet-overlay.js +38 -14
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +15 -7
- package/lib/collection/components/duet-pagination/duet-pagination.js +119 -65
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +25 -6
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +89 -44
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +58 -33
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +59 -27
- package/lib/collection/components/duet-progress/duet-progress.js +36 -14
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +25 -8
- package/lib/collection/components/duet-radio/duet-radio.js +63 -45
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +67 -28
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +83 -44
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +41 -12
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +55 -18
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +13 -3
- package/lib/collection/components/duet-select/duet-select.js +98 -53
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +15 -7
- package/lib/collection/components/duet-show-more/duet-show-more.js +84 -35
- package/lib/collection/components/duet-slideout/duet-slideout.js +32 -15
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +4 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +48 -13
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +37 -17
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +19 -7
- package/lib/collection/components/duet-spacer/duet-spacer.js +13 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +18 -5
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +16 -4
- package/lib/collection/components/duet-step/duet-step.js +23 -14
- package/lib/collection/components/duet-stepper/duet-stepper.js +22 -5
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +20 -11
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +21 -9
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +24 -6
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +37 -14
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +16 -4
- package/lib/collection/components/duet-tab/duet-tab.js +35 -21
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +107 -40
- package/lib/collection/components/duet-table/duet-table.js +40 -11
- package/lib/collection/components/duet-textarea/duet-textarea.js +122 -66
- package/lib/collection/components/duet-toggle/duet-toggle.js +60 -36
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +9 -4
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +24 -10
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +21 -7
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +45 -16
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +21 -7
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +6 -9
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +10 -11
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +93 -44
- package/lib/collection/components/duet-tray/duet-tray.js +61 -19
- package/lib/collection/components/duet-upload/duet-upload.js +417 -211
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +34 -12
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +15 -16
- package/lib/collection/index.js +1 -0
- package/lib/collection/utils/test-utils.js +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-7a41a208.entry.js → p-022a948c.entry.js} +1 -1
- package/lib/duet/p-09fe69e4.entry.js +4 -0
- package/lib/duet/p-0e72751a.entry.js +4 -0
- package/lib/duet/p-138538b8.entry.js +4 -0
- package/lib/duet/{p-fa070e35.entry.js → p-15f95fae.entry.js} +1 -1
- package/lib/duet/p-190b9ab3.entry.js +4 -0
- package/lib/duet/{p-feda74a6.entry.js → p-1af2ca54.entry.js} +1 -1
- package/lib/duet/p-1e769f0d.entry.js +4 -0
- package/lib/duet/p-1f5989b6.entry.js +4 -0
- package/lib/duet/{p-76b4b8b8.entry.js → p-1f8695a5.entry.js} +1 -1
- package/lib/duet/p-29e1d491.entry.js +4 -0
- package/lib/duet/p-2cbe593b.entry.js +4 -0
- package/lib/duet/p-32f7b711.entry.js +4 -0
- package/lib/duet/p-362f6fc2.entry.js +4 -0
- package/lib/duet/p-38b70269.entry.js +4 -0
- package/lib/duet/p-3fca2738.entry.js +4 -0
- package/lib/duet/p-44f37fb5.entry.js +4 -0
- package/lib/duet/{p-0e04987f.entry.js → p-48af1ecb.entry.js} +1 -1
- package/lib/duet/{p-2013ff49.entry.js → p-4aa49986.entry.js} +1 -1
- package/lib/duet/p-4c281745.entry.js +4 -0
- package/lib/duet/{p-c41397de.entry.js → p-4e945a94.entry.js} +1 -1
- package/lib/duet/p-56354b6a.entry.js +4 -0
- package/lib/duet/p-56cb675d.entry.js +4 -0
- package/lib/duet/p-5a75c2dd.entry.js +4 -0
- package/lib/duet/p-5d8d8118.entry.js +4 -0
- package/lib/duet/p-5f5bcada.entry.js +4 -0
- package/lib/duet/p-5iZMFvpJ.js +4 -0
- package/lib/duet/p-64021c0d.entry.js +4 -0
- package/lib/duet/p-64419d69.entry.js +4 -0
- package/lib/duet/p-6b17ff88.entry.js +4 -0
- package/lib/duet/p-6e621f1a.entry.js +4 -0
- package/lib/duet/p-740f6f1f.entry.js +4 -0
- package/lib/duet/{p-b76c9a8c.entry.js → p-7699005d.entry.js} +1 -1
- package/lib/duet/p-79255eb6.entry.js +4 -0
- package/lib/duet/p-7a319135.entry.js +4 -0
- package/lib/duet/p-82f7e5b7.entry.js +4 -0
- package/lib/duet/{p-323de867.entry.js → p-839e770e.entry.js} +1 -1
- package/lib/duet/p-85316d42.entry.js +4 -0
- package/lib/duet/p-885c2f54.entry.js +4 -0
- package/lib/duet/p-893e65fc.entry.js +4 -0
- package/lib/duet/p-8ca095ab.entry.js +4 -0
- package/lib/duet/p-8fd3fed6.entry.js +4 -0
- package/lib/duet/{p-279fd0c9.entry.js → p-93336ef6.entry.js} +1 -1
- package/lib/duet/p-95f64c62.entry.js +4 -0
- package/lib/duet/{p-46df9e4b.entry.js → p-96f19678.entry.js} +1 -1
- package/lib/duet/p-98088a03.entry.js +4 -0
- package/lib/duet/{p-12674919.entry.js → p-9a05eda1.entry.js} +1 -1
- package/lib/duet/p-9c942b69.entry.js +4 -0
- package/lib/duet/{p-38d6a55c.entry.js → p-9ee7773f.entry.js} +1 -1
- package/lib/duet/p-BGuG-JHD.js +5 -0
- package/lib/duet/p-BSVeUfs_.js +4 -0
- package/lib/duet/p-BVgBUIYF.js +4 -0
- package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
- package/lib/duet/{p-465be57f.js → p-CKWzhSi1.js} +1 -1
- package/lib/duet/p-CwQkRqt4.js +4 -0
- package/lib/duet/p-DJ_0Rwfo.js +4 -0
- package/lib/duet/{p-744b8ee1.js → p-DQNSmB4A.js} +1 -1
- package/lib/duet/p-DWTFQwbu.js +4 -0
- package/lib/duet/{p-12b49f6f.js → p-DXDaS3zE.js} +1 -1
- package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
- package/lib/duet/p-DkXykZBx.js +4 -0
- package/lib/duet/p-DvwKrUS6.js +4 -0
- package/lib/duet/p-ObNrEFDJ.js +4 -0
- package/lib/duet/p-UQH7pb1d.js +4 -0
- package/lib/duet/{p-05a9d58f.entry.js → p-a0c26d74.entry.js} +1 -1
- package/lib/duet/{p-25109796.entry.js → p-a4613009.entry.js} +1 -1
- package/lib/duet/p-a57b80f6.entry.js +4 -0
- package/lib/duet/{p-d4dd9fea.entry.js → p-a7dc80d5.entry.js} +1 -1
- package/lib/duet/{p-0febcf5b.entry.js → p-a893d1f9.entry.js} +1 -1
- package/lib/duet/p-a95a9a4d.entry.js +4 -0
- package/lib/duet/p-a9b45f8b.entry.js +4 -0
- package/lib/duet/{p-29e6f9b7.entry.js → p-aadd810c.entry.js} +1 -1
- package/lib/duet/p-ae4af39c.entry.js +4 -0
- package/lib/duet/p-ae5e487c.entry.js +4 -0
- package/lib/duet/p-b6517bc0.entry.js +4 -0
- package/lib/duet/p-b96af1da.entry.js +4 -0
- package/lib/duet/{p-0d045bb2.entry.js → p-be665fb2.entry.js} +1 -1
- package/lib/duet/{p-c2f40f22.entry.js → p-be70c5b0.entry.js} +1 -1
- package/lib/duet/p-bfc2e504.entry.js +4 -0
- package/lib/duet/p-c00040f7.entry.js +4 -0
- package/lib/duet/p-c03603ba.entry.js +4 -0
- package/lib/duet/{p-23435148.entry.js → p-c089e413.entry.js} +1 -1
- package/lib/duet/p-c3aa1f9b.entry.js +4 -0
- package/lib/duet/p-c489f228.entry.js +4 -0
- package/lib/duet/p-c4d0a7f2.entry.js +4 -0
- package/lib/duet/p-c5dbeb9d.entry.js +4 -0
- package/lib/duet/p-c6237212.entry.js +4 -0
- package/lib/duet/p-cf728e59.entry.js +4 -0
- package/lib/duet/{p-760e5874.entry.js → p-d155856d.entry.js} +1 -1
- package/lib/duet/p-d1f5b0cb.entry.js +4 -0
- package/lib/duet/p-d386eb3c.entry.js +4 -0
- package/lib/duet/p-d8ceab90.entry.js +4 -0
- package/lib/duet/{p-750d4767.entry.js → p-dac62f09.entry.js} +1 -1
- package/lib/duet/p-e4156276.entry.js +4 -0
- package/lib/duet/p-e6b06321.entry.js +4 -0
- package/lib/duet/p-e6d38c72.entry.js +4 -0
- package/lib/duet/{p-5fb4ac45.entry.js → p-ec552dc7.entry.js} +1 -1
- package/lib/duet/p-ff5188ab.entry.js +4 -0
- package/lib/duet/p-vVCYtBMj.js +4 -0
- package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
- package/lib/{dist-custom-elements/p-afb6f7fb.js → esm/a11y-utils-Bdgp_pLF.js} +1 -1
- package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
- package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
- package/lib/esm/{app-globals-2c6c1103.js → app-globals-BM3P_KO9.js} +2 -2
- package/lib/esm/duet-action-button.entry.js +83 -26
- package/lib/esm/duet-alert.entry.js +72 -28
- package/lib/esm/duet-badge.entry.js +16 -4
- package/lib/esm/duet-banner.entry.js +49 -21
- package/lib/esm/duet-breadcrumb.entry.js +33 -11
- package/lib/esm/duet-breadcrumbs.entry.js +17 -9
- package/lib/esm/duet-button_2.entry.js +147 -52
- package/lib/esm/duet-callout.entry.js +10 -5
- package/lib/esm/duet-caption_4.entry.js +175 -32
- package/lib/esm/duet-card.entry.js +80 -28
- package/lib/esm/duet-checkbox.entry.js +65 -27
- package/lib/esm/duet-checkmark.entry.js +18 -4
- package/lib/esm/duet-chip.entry.js +49 -27
- package/lib/esm/duet-choice_2.entry.js +213 -73
- package/lib/esm/duet-collapsible.entry.js +67 -23
- package/lib/esm/duet-combobox.entry.js +79 -44
- package/lib/esm/duet-contact-card.entry.js +14 -13
- package/lib/esm/duet-cookie-consent.entry.js +12 -7
- package/lib/esm/duet-date-picker.entry.js +142 -50
- package/lib/esm/duet-divider_2.entry.js +26 -8
- package/lib/esm/duet-editable-table_3.entry.js +477 -196
- package/lib/esm/duet-empty-state.entry.js +12 -4
- package/lib/esm/duet-fieldset.entry.js +38 -17
- package/lib/esm/duet-file-chooser.entry.js +16 -7
- package/lib/esm/duet-footer.entry.js +52 -24
- package/lib/esm/duet-grid_2.entry.js +65 -10
- package/lib/esm/duet-header_2.entry.js +251 -84
- package/lib/esm/duet-hero.entry.js +110 -24
- package/lib/esm/duet-icon.entry.js +50 -9
- package/lib/esm/duet-input_2.entry.js +182 -68
- package/lib/esm/duet-layout.entry.js +27 -5
- package/lib/esm/duet-list_2.entry.js +44 -7
- package/lib/esm/duet-menu-bar-button.entry.js +21 -11
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +16 -9
- package/lib/esm/duet-menu-bar-dropdown.entry.js +16 -9
- package/lib/esm/duet-menu-bar-item.entry.js +37 -14
- package/lib/esm/duet-menu-bar-link.entry.js +15 -5
- package/lib/esm/duet-menu-bar.entry.js +32 -20
- package/lib/esm/duet-modal.entry.js +74 -16
- package/lib/esm/duet-multiselect.entry.js +85 -37
- package/lib/esm/duet-nav.entry.js +10 -4
- package/lib/esm/duet-notification_2.entry.js +83 -25
- package/lib/esm/duet-number-input.entry.js +176 -64
- package/lib/esm/duet-overlay.entry.js +33 -10
- package/lib/esm/duet-page-heading.entry.js +13 -6
- package/lib/esm/duet-pagination_2.entry.js +147 -70
- package/lib/esm/duet-phone-input.entry.js +76 -33
- package/lib/esm/duet-popup-menu_2.entry.js +105 -49
- package/lib/esm/duet-progress.entry.js +31 -10
- package/lib/esm/duet-promo-card.entry.js +24 -8
- package/lib/esm/duet-radio_2.entry.js +100 -45
- package/lib/esm/duet-range-slider.entry.js +70 -32
- package/lib/esm/duet-scrollable_3.entry.js +172 -57
- package/lib/esm/duet-section-layout.entry.js +13 -4
- package/lib/esm/duet-select.entry.js +79 -35
- package/lib/esm/duet-shaped-image.entry.js +13 -6
- package/lib/esm/duet-show-more.entry.js +77 -33
- package/lib/esm/duet-slideout-lang.entry.js +8 -6
- package/lib/esm/duet-slideout-link.entry.js +47 -12
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +18 -7
- package/lib/esm/duet-slideout-panel.entry.js +40 -21
- package/lib/esm/duet-slideout.entry.js +37 -21
- package/lib/esm/duet-status-icon.entry.js +14 -2
- package/lib/esm/duet-step_2.entry.js +53 -17
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +22 -5
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +22 -11
- package/lib/esm/duet-submenu-bar-item.entry.js +38 -15
- package/lib/esm/duet-submenu-bar-link.entry.js +16 -5
- package/lib/esm/duet-submenu-bar.entry.js +21 -13
- package/lib/esm/duet-textarea.entry.js +98 -43
- package/lib/esm/duet-toggle.entry.js +47 -24
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +19 -6
- package/lib/esm/duet-toolbar-dropdown.entry.js +22 -9
- package/lib/esm/duet-toolbar-item.entry.js +43 -14
- package/lib/esm/duet-toolbar-link.entry.js +18 -5
- package/lib/esm/duet-toolbar.entry.js +9 -5
- package/lib/esm/duet-tooltip-button_2.entry.js +11 -18
- package/lib/esm/duet-tooltip.entry.js +90 -42
- package/lib/esm/duet-tray.entry.js +60 -19
- package/lib/esm/duet-upload-aria-status.entry.js +29 -8
- package/lib/esm/duet-upload-item.entry.js +10 -18
- package/lib/esm/duet-visually-hidden.entry.js +2 -3
- package/lib/esm/duet.js +7 -6
- package/lib/esm/{errorcodes.utils-86af68b7.js → errorcodes.utils-BgVG3eUP.js} +3 -3
- package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
- package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-B1AOXMlP.js} +1 -1
- package/lib/esm/form-search-CevX33LA.js +19 -0
- package/lib/esm/{index-a830b2de.js → index-BGuG-JHD.js} +1843 -1365
- package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
- package/lib/{dist-custom-elements/p-42619f94.js → esm/label-BrSxwvH-.js} +1 -1
- package/lib/esm/{language-utils-40caac4f.js → language-utils-BxXgd2r7.js} +2 -2
- package/lib/esm/loader.js +4 -4
- package/lib/{dist-custom-elements/p-ad615991.js → esm/slot-utils-B1zQ6tzO.js} +2 -2
- package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-D2bU4zM_.js} +2 -2
- package/lib/esm/{tokens-84fb2357.js → tokens-DkXykZBx.js} +5 -5
- package/lib/{dist-custom-elements/p-cea716f7.js → esm/tokens.module-UQH7pb1d.js} +2 -2
- package/lib/index.js +1 -1
- package/lib/loader/cdn.js +1 -2
- package/lib/loader/index.cjs.js +1 -2
- package/lib/loader/index.es2017.js +0 -1
- package/lib/loader/index.js +1 -2
- package/lib/types/components.d.ts +1611 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/stencil-public-runtime.d.ts +35 -6
- package/package.json +23 -9
- package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
- package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
- package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
- package/lib/cjs/form-search-d61b2843.js +0 -8
- package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-action-button.js +0 -9
- package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
- package/lib/dist-custom-elements/duet-alert.js +0 -9
- package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
- package/lib/dist-custom-elements/duet-badge.js +0 -9
- package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
- package/lib/dist-custom-elements/duet-banner.js +0 -157
- package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
- package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
- package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
- package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
- package/lib/dist-custom-elements/duet-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-button.js +0 -9
- package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-callout.js +0 -72
- package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
- package/lib/dist-custom-elements/duet-caption.js +0 -9
- package/lib/dist-custom-elements/duet-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-card.js +0 -174
- package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
- package/lib/dist-custom-elements/duet-checkbox.js +0 -9
- package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
- package/lib/dist-custom-elements/duet-checkmark.js +0 -9
- package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
- package/lib/dist-custom-elements/duet-chip.js +0 -9
- package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-choice-group.js +0 -228
- package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
- package/lib/dist-custom-elements/duet-choice.js +0 -454
- package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
- package/lib/dist-custom-elements/duet-collapsible.js +0 -176
- package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
- package/lib/dist-custom-elements/duet-combobox.js +0 -706
- package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-contact-card.js +0 -134
- package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
- package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
- package/lib/dist-custom-elements/duet-date-picker.js +0 -939
- package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
- package/lib/dist-custom-elements/duet-divider.js +0 -9
- package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
- package/lib/dist-custom-elements/duet-editable-table.js +0 -258
- package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
- package/lib/dist-custom-elements/duet-empty-state.js +0 -9
- package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
- package/lib/dist-custom-elements/duet-fieldset.js +0 -9
- package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
- package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
- package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-footer.js +0 -223
- package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-grid-item.js +0 -9
- package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
- package/lib/dist-custom-elements/duet-grid.js +0 -9
- package/lib/dist-custom-elements/duet-header.d.ts +0 -11
- package/lib/dist-custom-elements/duet-header.js +0 -698
- package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
- package/lib/dist-custom-elements/duet-heading.js +0 -9
- package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
- package/lib/dist-custom-elements/duet-hero.js +0 -299
- package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
- package/lib/dist-custom-elements/duet-icon.js +0 -9
- package/lib/dist-custom-elements/duet-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-input.js +0 -9
- package/lib/dist-custom-elements/duet-label.d.ts +0 -11
- package/lib/dist-custom-elements/duet-label.js +0 -70
- package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-layout.js +0 -94
- package/lib/dist-custom-elements/duet-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-link.js +0 -9
- package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-list-item.js +0 -9
- package/lib/dist-custom-elements/duet-list.d.ts +0 -11
- package/lib/dist-custom-elements/duet-list.js +0 -9
- package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
- package/lib/dist-custom-elements/duet-logo.js +0 -9
- package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
- package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
- package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
- package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
- package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
- package/lib/dist-custom-elements/duet-modal.js +0 -382
- package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
- package/lib/dist-custom-elements/duet-multiselect.js +0 -346
- package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
- package/lib/dist-custom-elements/duet-nav.js +0 -54
- package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
- package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
- package/lib/dist-custom-elements/duet-notification.js +0 -95
- package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-number-input.js +0 -484
- package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
- package/lib/dist-custom-elements/duet-overlay.js +0 -9
- package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
- package/lib/dist-custom-elements/duet-page-heading.js +0 -87
- package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
- package/lib/dist-custom-elements/duet-pagination.js +0 -493
- package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
- package/lib/dist-custom-elements/duet-paragraph.js +0 -9
- package/lib/dist-custom-elements/duet-phone-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-phone-input.js +0 -2136
- package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
- package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
- package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
- package/lib/dist-custom-elements/duet-progress.js +0 -9
- package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-promo-card.js +0 -105
- package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-radio-group.js +0 -213
- package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
- package/lib/dist-custom-elements/duet-radio.js +0 -230
- package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
- package/lib/dist-custom-elements/duet-range-slider.js +0 -181
- package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
- package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
- package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
- package/lib/dist-custom-elements/duet-scrollable.js +0 -9
- package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-section-layout.js +0 -56
- package/lib/dist-custom-elements/duet-select.d.ts +0 -11
- package/lib/dist-custom-elements/duet-select.js +0 -9
- package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
- package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
- package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
- package/lib/dist-custom-elements/duet-show-more.js +0 -9
- package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
- package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-link.js +0 -98
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
- package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
- package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout.js +0 -328
- package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-spacer.js +0 -9
- package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
- package/lib/dist-custom-elements/duet-spinner.js +0 -9
- package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
- package/lib/dist-custom-elements/duet-status-icon.js +0 -9
- package/lib/dist-custom-elements/duet-step.d.ts +0 -11
- package/lib/dist-custom-elements/duet-step.js +0 -147
- package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
- package/lib/dist-custom-elements/duet-stepper.js +0 -151
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
- package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
- package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
- package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
- package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tab-group.js +0 -321
- package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tab.js +0 -150
- package/lib/dist-custom-elements/duet-table.d.ts +0 -11
- package/lib/dist-custom-elements/duet-table.js +0 -9
- package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
- package/lib/dist-custom-elements/duet-textarea.js +0 -301
- package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toggle.js +0 -146
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
- package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
- package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
- package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
- package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar.js +0 -67
- package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
- package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
- package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip.js +0 -9
- package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tray.js +0 -146
- package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
- package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload-item.js +0 -9
- package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload.js +0 -1450
- package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
- package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
- package/lib/dist-custom-elements/index.d.ts +0 -33
- package/lib/dist-custom-elements/index.js +0 -29
- package/lib/dist-custom-elements/p-0cd28b7b.js +0 -102
- package/lib/dist-custom-elements/p-0fb1efbc.js +0 -317
- package/lib/dist-custom-elements/p-115c79b6.js +0 -6
- package/lib/dist-custom-elements/p-15809286.js +0 -50
- package/lib/dist-custom-elements/p-18dee42a.js +0 -124
- package/lib/dist-custom-elements/p-1d115447.js +0 -268
- package/lib/dist-custom-elements/p-28c85b1c.js +0 -166
- package/lib/dist-custom-elements/p-35375593.js +0 -161
- package/lib/dist-custom-elements/p-3695c0cf.js +0 -614
- package/lib/dist-custom-elements/p-42c1fc90.js +0 -321
- package/lib/dist-custom-elements/p-44ae5535.js +0 -370
- package/lib/dist-custom-elements/p-49b8ef8e.js +0 -55
- package/lib/dist-custom-elements/p-4f6ac36d.js +0 -39
- package/lib/dist-custom-elements/p-605c5b0f.js +0 -61
- package/lib/dist-custom-elements/p-61a64a72.js +0 -110
- package/lib/dist-custom-elements/p-63200e87.js +0 -105
- package/lib/dist-custom-elements/p-65398a24.js +0 -63
- package/lib/dist-custom-elements/p-7b6a89e9.js +0 -237
- package/lib/dist-custom-elements/p-821de204.js +0 -1630
- package/lib/dist-custom-elements/p-83e0135b.js +0 -82
- package/lib/dist-custom-elements/p-861771fa.js +0 -73
- package/lib/dist-custom-elements/p-91688dd8.js +0 -84
- package/lib/dist-custom-elements/p-92d1b72f.js +0 -194
- package/lib/dist-custom-elements/p-959f2240.js +0 -645
- package/lib/dist-custom-elements/p-993aea39.js +0 -175
- package/lib/dist-custom-elements/p-999222a2.js +0 -154
- package/lib/dist-custom-elements/p-9a9b1ce5.js +0 -81
- package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
- package/lib/dist-custom-elements/p-a1b0454c.js +0 -56
- package/lib/dist-custom-elements/p-a39af5e2.js +0 -108
- package/lib/dist-custom-elements/p-a3d3c420.js +0 -60
- package/lib/dist-custom-elements/p-a95a6fb7.js +0 -453
- package/lib/dist-custom-elements/p-a9727b6a.js +0 -213
- package/lib/dist-custom-elements/p-b71858bd.js +0 -214
- package/lib/dist-custom-elements/p-c1e56f9a.js +0 -206
- package/lib/dist-custom-elements/p-cd328521.js +0 -80
- package/lib/dist-custom-elements/p-cde80d94.js +0 -198
- package/lib/dist-custom-elements/p-d004da5f.js +0 -6
- package/lib/dist-custom-elements/p-d5644004.js +0 -124
- package/lib/dist-custom-elements/p-ef48f2c7.js +0 -61
- package/lib/dist-custom-elements/p-f11208c3.js +0 -6
- package/lib/dist-custom-elements/p-f2c2f3d2.js +0 -2130
- package/lib/dist-custom-elements/p-f6000a03.js +0 -753
- package/lib/dist-custom-elements/p-f8ba399b.js +0 -63
- package/lib/dist-custom-elements/p-fb43ee87.js +0 -127
- package/lib/dist-custom-elements/p-fb723dff.js +0 -100
- package/lib/duet/duet.js +0 -127
- package/lib/duet/p-010dd6d5.entry.js +0 -4
- package/lib/duet/p-01ef338b.system.entry.js +0 -4
- package/lib/duet/p-020f583d.entry.js +0 -4
- package/lib/duet/p-03c96847.system.entry.js +0 -4
- package/lib/duet/p-04aad5a1.entry.js +0 -4
- package/lib/duet/p-0511fd26.system.js +0 -4
- package/lib/duet/p-05225696.system.entry.js +0 -4
- package/lib/duet/p-053b71e6.system.js +0 -4
- package/lib/duet/p-0562616e.system.entry.js +0 -4
- package/lib/duet/p-068cf3e6.system.entry.js +0 -4
- package/lib/duet/p-096ca5f2.system.entry.js +0 -4
- package/lib/duet/p-0a407ea6.entry.js +0 -4
- package/lib/duet/p-0c4bbd65.system.js +0 -4
- package/lib/duet/p-0c91e827.system.entry.js +0 -4
- package/lib/duet/p-0d738a25.entry.js +0 -4
- package/lib/duet/p-0d7da85a.js +0 -4
- package/lib/duet/p-0dc9089b.system.js +0 -4
- package/lib/duet/p-0f75edd4.system.entry.js +0 -4
- package/lib/duet/p-1047a738.system.entry.js +0 -4
- package/lib/duet/p-1054dba4.system.entry.js +0 -4
- package/lib/duet/p-10e56ab2.entry.js +0 -4
- package/lib/duet/p-115c79b6.js +0 -4
- package/lib/duet/p-145c3b24.entry.js +0 -4
- package/lib/duet/p-17004202.system.entry.js +0 -4
- package/lib/duet/p-18060b9c.system.entry.js +0 -4
- package/lib/duet/p-18e8baae.system.entry.js +0 -4
- package/lib/duet/p-19a0cdc0.system.entry.js +0 -4
- package/lib/duet/p-19c0e251.system.entry.js +0 -4
- package/lib/duet/p-1a1d3f9e.entry.js +0 -4
- package/lib/duet/p-1d6153e1.system.entry.js +0 -4
- package/lib/duet/p-201ec410.entry.js +0 -4
- package/lib/duet/p-205d2384.system.entry.js +0 -4
- package/lib/duet/p-21500424.entry.js +0 -4
- package/lib/duet/p-215bd94e.entry.js +0 -4
- package/lib/duet/p-217c18b8.entry.js +0 -4
- package/lib/duet/p-269e2b32.system.entry.js +0 -4
- package/lib/duet/p-2af64b95.system.entry.js +0 -4
- package/lib/duet/p-2ed426d9.system.entry.js +0 -4
- package/lib/duet/p-2f7a111a.entry.js +0 -4
- package/lib/duet/p-30e15c0b.system.entry.js +0 -4
- package/lib/duet/p-3214f981.system.entry.js +0 -4
- package/lib/duet/p-32f3a8fc.system.entry.js +0 -4
- package/lib/duet/p-361082c8.entry.js +0 -4
- package/lib/duet/p-372b9ced.system.entry.js +0 -4
- package/lib/duet/p-3767d0d2.system.entry.js +0 -4
- package/lib/duet/p-3c0d9ecf.system.entry.js +0 -4
- package/lib/duet/p-3dd22609.entry.js +0 -4
- package/lib/duet/p-3e2dceb1.entry.js +0 -4
- package/lib/duet/p-3f0f2506.system.entry.js +0 -4
- package/lib/duet/p-411babaf.entry.js +0 -4
- package/lib/duet/p-414698d0.system.entry.js +0 -4
- package/lib/duet/p-41982d26.system.js +0 -4
- package/lib/duet/p-44b36dbf.js +0 -5
- package/lib/duet/p-45700c8c.entry.js +0 -4
- package/lib/duet/p-46b1437a.system.entry.js +0 -4
- package/lib/duet/p-47dfb7d9.system.entry.js +0 -4
- package/lib/duet/p-49957220.system.js +0 -4
- package/lib/duet/p-4a3dae6f.js +0 -4
- package/lib/duet/p-4a836db3.entry.js +0 -4
- package/lib/duet/p-4aadd927.entry.js +0 -4
- package/lib/duet/p-4cff3036.system.js +0 -4
- package/lib/duet/p-4d81fd4b.system.entry.js +0 -4
- package/lib/duet/p-4e97bc75.entry.js +0 -4
- package/lib/duet/p-50b6d86c.system.entry.js +0 -4
- package/lib/duet/p-528fd238.entry.js +0 -4
- package/lib/duet/p-52d44078.entry.js +0 -4
- package/lib/duet/p-533f6503.system.entry.js +0 -4
- package/lib/duet/p-53ccc61f.entry.js +0 -4
- package/lib/duet/p-553e83f7.system.entry.js +0 -4
- package/lib/duet/p-5577da59.system.js +0 -4
- package/lib/duet/p-560c69af.system.entry.js +0 -4
- package/lib/duet/p-56ad7189.system.js +0 -4
- package/lib/duet/p-590a4048.system.entry.js +0 -4
- package/lib/duet/p-5a27a619.system.entry.js +0 -4
- package/lib/duet/p-5cf25ba2.entry.js +0 -4
- package/lib/duet/p-5e0654cc.system.js +0 -4
- package/lib/duet/p-5e3f9cd1.entry.js +0 -4
- package/lib/duet/p-5ed29c82.system.entry.js +0 -4
- package/lib/duet/p-6324b774.entry.js +0 -4
- package/lib/duet/p-63fef46e.system.entry.js +0 -4
- package/lib/duet/p-64a58c4a.entry.js +0 -4
- package/lib/duet/p-654b234a.system.entry.js +0 -4
- package/lib/duet/p-6970fc5d.entry.js +0 -4
- package/lib/duet/p-6ffbffc7.entry.js +0 -4
- package/lib/duet/p-707c7490.entry.js +0 -4
- package/lib/duet/p-72650200.system.entry.js +0 -4
- package/lib/duet/p-734350ef.system.js +0 -4
- package/lib/duet/p-737740f7.system.entry.js +0 -4
- package/lib/duet/p-739af934.entry.js +0 -4
- package/lib/duet/p-752fa0fc.system.js +0 -4
- package/lib/duet/p-7556653d.system.entry.js +0 -4
- package/lib/duet/p-76dc7014.system.entry.js +0 -4
- package/lib/duet/p-798f979f.system.js +0 -4
- package/lib/duet/p-7aa146c1.system.entry.js +0 -4
- package/lib/duet/p-7be1d938.entry.js +0 -4
- package/lib/duet/p-7c66ce9f.entry.js +0 -4
- package/lib/duet/p-7f6cbb90.entry.js +0 -4
- package/lib/duet/p-810d4680.entry.js +0 -4
- package/lib/duet/p-858b17a7.system.entry.js +0 -4
- package/lib/duet/p-85f6e856.system.entry.js +0 -4
- package/lib/duet/p-8c6f575c.system.entry.js +0 -4
- package/lib/duet/p-8dfc3a30.entry.js +0 -4
- package/lib/duet/p-8ea8b678.entry.js +0 -4
- package/lib/duet/p-8f477bd6.system.js +0 -4
- package/lib/duet/p-8faaaf5f.system.js +0 -4
- package/lib/duet/p-8fb2b5b5.entry.js +0 -4
- package/lib/duet/p-92757eb7.system.entry.js +0 -4
- package/lib/duet/p-928662aa.system.entry.js +0 -4
- package/lib/duet/p-96643444.system.entry.js +0 -4
- package/lib/duet/p-98535abd.entry.js +0 -4
- package/lib/duet/p-98636086.system.js +0 -4
- package/lib/duet/p-9a43132b.system.js +0 -4
- package/lib/duet/p-a20b744b.entry.js +0 -4
- package/lib/duet/p-a5eea99b.system.entry.js +0 -4
- package/lib/duet/p-a76b6eef.system.entry.js +0 -4
- package/lib/duet/p-a924233f.system.entry.js +0 -4
- package/lib/duet/p-a943a02a.entry.js +0 -4
- package/lib/duet/p-aa80ef8a.entry.js +0 -4
- package/lib/duet/p-aa885518.system.entry.js +0 -4
- package/lib/duet/p-abaf6d0e.entry.js +0 -4
- package/lib/duet/p-ad1c40f5.js +0 -4
- package/lib/duet/p-afad5fd3.system.js +0 -4
- package/lib/duet/p-afd43870.entry.js +0 -4
- package/lib/duet/p-b0e2884d.system.entry.js +0 -4
- package/lib/duet/p-b1f33063.system.js +0 -4
- package/lib/duet/p-b503bcdd.system.entry.js +0 -4
- package/lib/duet/p-b50ea79d.system.entry.js +0 -4
- package/lib/duet/p-b54723a9.system.entry.js +0 -4
- package/lib/duet/p-b7a34bd4.entry.js +0 -4
- package/lib/duet/p-b7f6339f.system.entry.js +0 -4
- package/lib/duet/p-b864159a.system.js +0 -4
- package/lib/duet/p-b8b21423.system.entry.js +0 -4
- package/lib/duet/p-b9e2b3ba.entry.js +0 -4
- package/lib/duet/p-ba03d034.system.js +0 -4
- package/lib/duet/p-c3a69e37.js +0 -4
- package/lib/duet/p-c5839bf5.entry.js +0 -4
- package/lib/duet/p-c7654999.entry.js +0 -4
- package/lib/duet/p-cbf629b3.system.entry.js +0 -4
- package/lib/duet/p-cc5e6288.system.js +0 -4
- package/lib/duet/p-cc67e773.js +0 -4
- package/lib/duet/p-cd0785ee.system.entry.js +0 -4
- package/lib/duet/p-cf6b88ae.entry.js +0 -4
- package/lib/duet/p-cff8b063.entry.js +0 -4
- package/lib/duet/p-d004da5f.js +0 -4
- package/lib/duet/p-d07eec56.system.entry.js +0 -4
- package/lib/duet/p-d35ab8b7.system.entry.js +0 -4
- package/lib/duet/p-d50d03f7.system.entry.js +0 -4
- package/lib/duet/p-d53d7fd5.entry.js +0 -4
- package/lib/duet/p-d55299c9.entry.js +0 -4
- package/lib/duet/p-d61d7080.entry.js +0 -4
- package/lib/duet/p-d6ed2033.system.entry.js +0 -4
- package/lib/duet/p-d90e530c.system.entry.js +0 -4
- package/lib/duet/p-db2ccb9d.system.js +0 -4
- package/lib/duet/p-e07ee017.system.entry.js +0 -4
- package/lib/duet/p-e12066c8.system.js +0 -4
- package/lib/duet/p-e17c5d6a.entry.js +0 -4
- package/lib/duet/p-e1c09dd8.system.entry.js +0 -4
- package/lib/duet/p-e216bea4.system.js +0 -4
- package/lib/duet/p-e4af314b.system.entry.js +0 -4
- package/lib/duet/p-e4c8559c.system.js +0 -4
- package/lib/duet/p-e5aecda6.system.entry.js +0 -4
- package/lib/duet/p-e6b5a1c7.system.js +0 -4
- package/lib/duet/p-e9cbe789.system.entry.js +0 -4
- package/lib/duet/p-ea787ed0.entry.js +0 -4
- package/lib/duet/p-eb463133.system.entry.js +0 -4
- package/lib/duet/p-eb83b46d.system.entry.js +0 -4
- package/lib/duet/p-ec581904.entry.js +0 -4
- package/lib/duet/p-ed3748dc.js +0 -4
- package/lib/duet/p-eecd1b93.system.entry.js +0 -4
- package/lib/duet/p-f0ee9aae.system.entry.js +0 -4
- package/lib/duet/p-f0fc3170.system.entry.js +0 -4
- package/lib/duet/p-f11208c3.js +0 -4
- package/lib/duet/p-f11e0e46.system.entry.js +0 -4
- package/lib/duet/p-f1273093.system.entry.js +0 -4
- package/lib/duet/p-f218ec0e.system.entry.js +0 -4
- package/lib/duet/p-f2d5c69e.system.js +0 -5
- package/lib/duet/p-f5f6aed8.system.js +0 -4
- package/lib/duet/p-f6000a03.js +0 -4
- package/lib/duet/p-f732fde1.entry.js +0 -4
- package/lib/duet/p-fe8cfa01.system.entry.js +0 -4
- package/lib/esm/a11y-utils-42080d56.js +0 -23
- package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
- package/lib/esm/action-new-window-small-1945be91.js +0 -6
- package/lib/esm/body-scroll-46854769.js +0 -234
- package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
- package/lib/esm/create-id-149a1b6d.js +0 -11
- package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
- package/lib/esm/focus-utils-9bbe977f.js +0 -18
- package/lib/esm/form-search-ea8e19ae.js +0 -6
- package/lib/esm/input-utils-85681162.js +0 -53
- package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
- package/lib/esm/js-utils-9b9e0039.js +0 -47
- package/lib/esm/keyboard-utils-daf80d44.js +0 -58
- package/lib/esm/label-52e2e3f9.js +0 -20
- package/lib/esm/polyfills/core-js.js +0 -11
- package/lib/esm/polyfills/dom.js +0 -79
- package/lib/esm/polyfills/es5-html-element.js +0 -1
- package/lib/esm/polyfills/index.js +0 -34
- package/lib/esm/polyfills/system.js +0 -6
- package/lib/esm/slot-utils-4096ff0d.js +0 -115
- package/lib/esm/string-utils-192eb3c8.js +0 -61
- package/lib/esm/teleport-aa27d5f9.js +0 -116
- package/lib/esm/themeable-component-860041c5.js +0 -13
- package/lib/esm/token-utils-b9ba8c5e.js +0 -138
- package/lib/esm/tokens.module-2d02f5ff.js +0 -503
- package/lib/esm/watch-options-e96ecd92.js +0 -57
- package/lib/esm-es5/a11y-utils-42080d56.js +0 -4
- package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
- package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
- package/lib/esm-es5/app-globals-2c6c1103.js +0 -4
- package/lib/esm-es5/body-scroll-46854769.js +0 -4
- package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
- package/lib/esm-es5/common-strings-af765cad.js +0 -4
- package/lib/esm-es5/create-id-149a1b6d.js +0 -4
- package/lib/esm-es5/duet-action-button.entry.js +0 -4
- package/lib/esm-es5/duet-alert.entry.js +0 -4
- package/lib/esm-es5/duet-badge.entry.js +0 -4
- package/lib/esm-es5/duet-banner.entry.js +0 -4
- package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
- package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
- package/lib/esm-es5/duet-button_2.entry.js +0 -4
- package/lib/esm-es5/duet-callout.entry.js +0 -4
- package/lib/esm-es5/duet-caption_4.entry.js +0 -4
- package/lib/esm-es5/duet-card.entry.js +0 -4
- package/lib/esm-es5/duet-checkbox.entry.js +0 -4
- package/lib/esm-es5/duet-checkmark.entry.js +0 -4
- package/lib/esm-es5/duet-chip.entry.js +0 -4
- package/lib/esm-es5/duet-choice_2.entry.js +0 -4
- package/lib/esm-es5/duet-collapsible.entry.js +0 -4
- package/lib/esm-es5/duet-combobox.entry.js +0 -4
- package/lib/esm-es5/duet-contact-card.entry.js +0 -4
- package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
- package/lib/esm-es5/duet-date-picker.entry.js +0 -4
- package/lib/esm-es5/duet-divider_2.entry.js +0 -4
- package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
- package/lib/esm-es5/duet-empty-state.entry.js +0 -4
- package/lib/esm-es5/duet-fieldset.entry.js +0 -4
- package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
- package/lib/esm-es5/duet-footer.entry.js +0 -4
- package/lib/esm-es5/duet-grid_2.entry.js +0 -4
- package/lib/esm-es5/duet-header_2.entry.js +0 -4
- package/lib/esm-es5/duet-hero.entry.js +0 -4
- package/lib/esm-es5/duet-icon.entry.js +0 -4
- package/lib/esm-es5/duet-input_2.entry.js +0 -4
- package/lib/esm-es5/duet-layout.entry.js +0 -4
- package/lib/esm-es5/duet-list_2.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
- package/lib/esm-es5/duet-modal.entry.js +0 -4
- package/lib/esm-es5/duet-multiselect.entry.js +0 -4
- package/lib/esm-es5/duet-nav.entry.js +0 -4
- package/lib/esm-es5/duet-notification_2.entry.js +0 -4
- package/lib/esm-es5/duet-number-input.entry.js +0 -4
- package/lib/esm-es5/duet-overlay.entry.js +0 -4
- package/lib/esm-es5/duet-page-heading.entry.js +0 -4
- package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
- package/lib/esm-es5/duet-phone-input.entry.js +0 -4
- package/lib/esm-es5/duet-popup-menu_2.entry.js +0 -4
- package/lib/esm-es5/duet-progress.entry.js +0 -4
- package/lib/esm-es5/duet-promo-card.entry.js +0 -4
- package/lib/esm-es5/duet-radio_2.entry.js +0 -4
- package/lib/esm-es5/duet-range-slider.entry.js +0 -4
- package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
- package/lib/esm-es5/duet-section-layout.entry.js +0 -4
- package/lib/esm-es5/duet-select.entry.js +0 -4
- package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
- package/lib/esm-es5/duet-show-more.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
- package/lib/esm-es5/duet-slideout.entry.js +0 -4
- package/lib/esm-es5/duet-status-icon.entry.js +0 -4
- package/lib/esm-es5/duet-step_2.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
- package/lib/esm-es5/duet-textarea.entry.js +0 -4
- package/lib/esm-es5/duet-toggle.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar.entry.js +0 -4
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
- package/lib/esm-es5/duet-tooltip.entry.js +0 -4
- package/lib/esm-es5/duet-tray.entry.js +0 -4
- package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
- package/lib/esm-es5/duet-upload-item.entry.js +0 -4
- package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
- package/lib/esm-es5/duet.js +0 -4
- package/lib/esm-es5/errorcodes.utils-86af68b7.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
- package/lib/esm-es5/focus-utils-9bbe977f.js +0 -4
- package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
- package/lib/esm-es5/index-a830b2de.js +0 -4
- package/lib/esm-es5/index.js +0 -3
- package/lib/esm-es5/input-utils-85681162.js +0 -4
- package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
- package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
- package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
- package/lib/esm-es5/label-52e2e3f9.js +0 -4
- package/lib/esm-es5/language-utils-40caac4f.js +0 -4
- package/lib/esm-es5/loader.js +0 -4
- package/lib/esm-es5/slot-utils-4096ff0d.js +0 -4
- package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
- package/lib/esm-es5/teleport-aa27d5f9.js +0 -4
- package/lib/esm-es5/themeable-component-860041c5.js +0 -4
- package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
- package/lib/esm-es5/tokens-84fb2357.js +0 -4
- package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
- package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
- package/lib/loader/package.json +0 -11
- /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
- /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
- /package/lib/cjs/{common-strings-2984301e.js → common-strings-BhhnIQp3.js} +0 -0
- /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
- /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
- /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
- /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
- /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
- /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
- /package/lib/cjs/{teleport-c0eede18.js → teleport-BIcrl_KV.js} +0 -0
- /package/lib/cjs/{themeable-component-996b489c.js → themeable-component-C57DSx5w.js} +0 -0
- /package/lib/cjs/{watch-options-30a12622.js → watch-options-CTB_6VOA.js} +0 -0
- /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
- /package/lib/duet/{p-7d8a2628.js → p-BgyaCAyh.js} +0 -0
- /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
- /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
- /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
- /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
- /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
- /package/lib/duet/{p-beeb12f1.js → p-D6YBFNe9.js} +0 -0
- /package/lib/duet/{p-8cb0e6bd.js → p-DWuCOI7R.js} +0 -0
- /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
- /package/lib/duet/{p-aaa7a7bd.js → p-WhCDf9tt.js} +0 -0
- /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
- /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
- /package/lib/esm/{common-strings-af765cad.js → common-strings-D6YBFNe9.js} +0 -0
- /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
- /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
- /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
- /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
- /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
- /package/lib/{dist-custom-elements/p-8cb0e6bd.js → esm/teleport-DWuCOI7R.js} +0 -0
- /package/lib/{dist-custom-elements/p-aaa7a7bd.js → esm/themeable-component-WhCDf9tt.js} +0 -0
- /package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BgyaCAyh.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
6
|
-
import { c as createID } from './create-id-
|
|
7
|
-
import { d as debounce } from './js-utils-
|
|
8
|
-
import {
|
|
9
|
-
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import {
|
|
11
|
-
import { r as regexEscape, p as parsePossibleJSON } from './string-utils-
|
|
4
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-BGuG-JHD.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-WhCDf9tt.js';
|
|
6
|
+
import { c as createID } from './create-id-Cfr_DJqU.js';
|
|
7
|
+
import { d as debounce } from './js-utils-BlUsLmbQ.js';
|
|
8
|
+
import { c as isEnterKey, a as isEscapeKey, b as isTabKey, e as isArrowUpKey, g as isArrowDownKey } from './keyboard-utils-Db8rvjPI.js';
|
|
9
|
+
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-BxXgd2r7.js';
|
|
10
|
+
import { g as getElementsFromDefaultSlot } from './slot-utils-B1zQ6tzO.js';
|
|
11
|
+
import { r as regexEscape, p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
|
|
12
12
|
|
|
13
13
|
const DuetComboBoxSelect = ({ item, activeDescendant, selected, label = undefined, clickHandler = e => {
|
|
14
14
|
e.preventDefault();
|
|
@@ -28,7 +28,6 @@ const DuetComboBoxSelect = ({ item, activeDescendant, selected, label = undefine
|
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
const duetComboboxCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(8, 42, 77)}:host a{color:rgb(8, 42, 77);transition:none}:host.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host.duet-theme-turva a{color:rgb(23, 28, 58)}.combobox-menu-container{width:var(--popup-width);max-height:200px}";
|
|
31
|
-
const DuetComboboxStyle0 = duetComboboxCss;
|
|
32
31
|
|
|
33
32
|
const DuetCombobox = class {
|
|
34
33
|
constructor(hostRef) {
|
|
@@ -49,6 +48,76 @@ const DuetCombobox = class {
|
|
|
49
48
|
this.listContainer.style.setProperty("--popup-width", `${currentWidth - 2 * popupMenuPadding}px`);
|
|
50
49
|
}
|
|
51
50
|
}, 100));
|
|
51
|
+
this.processedItems = null;
|
|
52
|
+
this.inputValue = "";
|
|
53
|
+
this.listOpen = false;
|
|
54
|
+
// the selected item is based upon the DuetComboboxItem.id value
|
|
55
|
+
this.selectedItems = new Set();
|
|
56
|
+
// the activeItem number is based upon the array.index of the array stored in processedItems
|
|
57
|
+
this.activeItem = undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Defaults for the accessible labels for the select items
|
|
60
|
+
*/
|
|
61
|
+
this.accessibleLabelDefaults = {
|
|
62
|
+
en: {
|
|
63
|
+
heading: "Select:",
|
|
64
|
+
item: "{name}",
|
|
65
|
+
itemFiltered: "{name}, {hiddenItems} filtered",
|
|
66
|
+
},
|
|
67
|
+
fi: {
|
|
68
|
+
heading: "Valitse:",
|
|
69
|
+
item: "{name}",
|
|
70
|
+
itemFiltered: "{name}, {hiddenItems} suodatettu",
|
|
71
|
+
},
|
|
72
|
+
sv: {
|
|
73
|
+
heading: "Välj:",
|
|
74
|
+
item: "{name}",
|
|
75
|
+
itemFiltered: "{name}, {hiddenItems} filtrerade",
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Accessible labels for the select items
|
|
80
|
+
*/
|
|
81
|
+
this.accessibleLabels = getLocaleString(this.accessibleLabelDefaults, getLanguage());
|
|
82
|
+
/**
|
|
83
|
+
* Label for the input if input is not provided as a slotted element.
|
|
84
|
+
*/
|
|
85
|
+
this.label = "";
|
|
86
|
+
/**
|
|
87
|
+
* Caption for the input if input is not provided as a slotted element.
|
|
88
|
+
*/
|
|
89
|
+
this.caption = "";
|
|
90
|
+
/**
|
|
91
|
+
* Theme of the combobox.
|
|
92
|
+
*/
|
|
93
|
+
this.theme = "";
|
|
94
|
+
/**
|
|
95
|
+
* Force the user to make a selection (typing things in the input field will only be used for list search).
|
|
96
|
+
* This property also sync input value with selected value on blur.
|
|
97
|
+
*/
|
|
98
|
+
this.force = false;
|
|
99
|
+
/**
|
|
100
|
+
* Allow multiple selections. Selections are displayed as DuetChips.
|
|
101
|
+
*/
|
|
102
|
+
this.multiple = false;
|
|
103
|
+
/**
|
|
104
|
+
* A hook to overwrite how the values are displayed in the input field after a User select an item
|
|
105
|
+
* @example (item) => `${item.name} (${item.value})`
|
|
106
|
+
* @default undefined
|
|
107
|
+
*/
|
|
108
|
+
this.formatter = (item) => item && item.name ? item.name : "";
|
|
109
|
+
/**
|
|
110
|
+
* Defines minimum number of characters that must be given to show search results
|
|
111
|
+
*/
|
|
112
|
+
this.minCharacters = 0;
|
|
113
|
+
/**
|
|
114
|
+
* Defines if items list should always open after clicking on input
|
|
115
|
+
*/
|
|
116
|
+
this.openListOnClick = false;
|
|
117
|
+
/**
|
|
118
|
+
* Defines if filtering of items should be done by includes or startsWith
|
|
119
|
+
*/
|
|
120
|
+
this.filterType = "startsWith";
|
|
52
121
|
this.onInputChange = async (e) => {
|
|
53
122
|
const newValue = e.detail.value;
|
|
54
123
|
this.inputValue = newValue;
|
|
@@ -145,40 +214,6 @@ const DuetCombobox = class {
|
|
|
145
214
|
}
|
|
146
215
|
return;
|
|
147
216
|
};
|
|
148
|
-
this.processedItems = null;
|
|
149
|
-
this.inputValue = "";
|
|
150
|
-
this.listOpen = false;
|
|
151
|
-
this.selectedItems = new Set();
|
|
152
|
-
this.activeItem = undefined;
|
|
153
|
-
this.accessibleLabelDefaults = {
|
|
154
|
-
en: {
|
|
155
|
-
heading: "Select:",
|
|
156
|
-
item: "{name}",
|
|
157
|
-
itemFiltered: "{name}, {hiddenItems} filtered",
|
|
158
|
-
},
|
|
159
|
-
fi: {
|
|
160
|
-
heading: "Valitse:",
|
|
161
|
-
item: "{name}",
|
|
162
|
-
itemFiltered: "{name}, {hiddenItems} suodatettu",
|
|
163
|
-
},
|
|
164
|
-
sv: {
|
|
165
|
-
heading: "Välj:",
|
|
166
|
-
item: "{name}",
|
|
167
|
-
itemFiltered: "{name}, {hiddenItems} filtrerade",
|
|
168
|
-
},
|
|
169
|
-
};
|
|
170
|
-
this.accessibleLabels = getLocaleString(this.accessibleLabelDefaults, getLanguage());
|
|
171
|
-
this.label = "";
|
|
172
|
-
this.caption = "";
|
|
173
|
-
this.theme = "";
|
|
174
|
-
this.force = false;
|
|
175
|
-
this.multiple = false;
|
|
176
|
-
this.items = undefined;
|
|
177
|
-
this.formatter = (item) => item && item.name ? item.name : "";
|
|
178
|
-
this.value = undefined;
|
|
179
|
-
this.minCharacters = 0;
|
|
180
|
-
this.openListOnClick = false;
|
|
181
|
-
this.filterType = "startsWith";
|
|
182
217
|
}
|
|
183
218
|
popupMenuOpenHandler() {
|
|
184
219
|
if (this.listOpen) {
|
|
@@ -578,6 +613,6 @@ const DuetCombobox = class {
|
|
|
578
613
|
"value": ["processValue"]
|
|
579
614
|
}; }
|
|
580
615
|
};
|
|
581
|
-
DuetCombobox.style =
|
|
616
|
+
DuetCombobox.style = duetComboboxCss;
|
|
582
617
|
|
|
583
618
|
export { DuetCombobox as duet_combobox };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
6
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
7
|
-
import './string-utils-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-BGuG-JHD.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-WhCDf9tt.js';
|
|
6
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-BxXgd2r7.js';
|
|
7
|
+
import './string-utils-C6E9F6QT.js';
|
|
8
8
|
|
|
9
9
|
const duetContactCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}";
|
|
10
|
-
const DuetContactCardStyle0 = duetContactCardCss;
|
|
11
10
|
|
|
12
11
|
const DuetContactCard = class {
|
|
13
12
|
constructor(hostRef) {
|
|
@@ -21,16 +20,18 @@ const DuetContactCard = class {
|
|
|
21
20
|
sv: "Telefon",
|
|
22
21
|
};
|
|
23
22
|
this.language = getLanguage();
|
|
23
|
+
/**
|
|
24
|
+
* Theme.
|
|
25
|
+
*/
|
|
24
26
|
this.theme = "";
|
|
27
|
+
/**
|
|
28
|
+
* Controls the margin of the component.
|
|
29
|
+
*/
|
|
25
30
|
this.margin = "auto";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
this.email = undefined;
|
|
30
|
-
this.phone = undefined;
|
|
31
|
-
this.buttonText = undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Button icon.
|
|
33
|
+
*/
|
|
32
34
|
this.buttonIcon = "form-date";
|
|
33
|
-
this.buttonUrl = undefined;
|
|
34
35
|
}
|
|
35
36
|
/**
|
|
36
37
|
* Component lifecycle events.
|
|
@@ -58,6 +59,6 @@ const DuetContactCard = class {
|
|
|
58
59
|
}
|
|
59
60
|
get element() { return getElement(this); }
|
|
60
61
|
};
|
|
61
|
-
DuetContactCard.style =
|
|
62
|
+
DuetContactCard.style = duetContactCardCss;
|
|
62
63
|
|
|
63
64
|
export { DuetContactCard as duet_contact_card };
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
6
|
-
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BGuG-JHD.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-WhCDf9tt.js';
|
|
6
|
+
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
|
|
7
7
|
|
|
8
8
|
const duetCookieConsentCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(4, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(4, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
9
|
-
const DuetCookieConsentStyle0 = duetCookieConsentCss;
|
|
10
9
|
|
|
11
10
|
const DuetCookieConsent = class {
|
|
12
11
|
constructor(hostRef) {
|
|
13
12
|
registerInstance(this, hostRef);
|
|
14
13
|
this.duetCookieConsent = createEvent(this, "duetCookieConsent", 7);
|
|
14
|
+
/**
|
|
15
|
+
* Adds accessible label for the cookie consent ok button.
|
|
16
|
+
*/
|
|
17
|
+
this.accessibleLabel = "Hyväksyn evästeiden käytön";
|
|
18
|
+
/**
|
|
19
|
+
* Theme of the cookie consent banner.
|
|
20
|
+
*/
|
|
21
|
+
this.theme = "";
|
|
15
22
|
this.handleClick = e => {
|
|
16
23
|
e.preventDefault();
|
|
17
24
|
this.duetCookieConsent.emit({ component: "duet-cookie-consent" });
|
|
18
25
|
};
|
|
19
|
-
this.accessibleLabel = "Hyväksyn evästeiden käytön";
|
|
20
|
-
this.theme = "";
|
|
21
26
|
}
|
|
22
27
|
handleFocusIn(event) {
|
|
23
28
|
const eventPath = event.composedPath();
|
|
@@ -50,6 +55,6 @@ const DuetCookieConsent = class {
|
|
|
50
55
|
}
|
|
51
56
|
get element() { return getElement(this); }
|
|
52
57
|
};
|
|
53
|
-
DuetCookieConsent.style =
|
|
58
|
+
DuetCookieConsent.style = duetCookieConsentCss;
|
|
54
59
|
|
|
55
60
|
export { DuetCookieConsent as duet_cookie_consent };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-
|
|
5
|
-
import { D as DuetInternalLabel } from './label-
|
|
6
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
7
|
-
import { c as createID } from './create-id-
|
|
8
|
-
import { F as FocusGuard } from './focus-utils-
|
|
9
|
-
import {
|
|
10
|
-
import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-
|
|
11
|
-
import './
|
|
4
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-BGuG-JHD.js';
|
|
5
|
+
import { D as DuetInternalLabel } from './label-BrSxwvH-.js';
|
|
6
|
+
import { i as inheritGlobalTheme } from './themeable-component-WhCDf9tt.js';
|
|
7
|
+
import { c as createID } from './create-id-Cfr_DJqU.js';
|
|
8
|
+
import { F as FocusGuard } from './focus-utils-B1AOXMlP.js';
|
|
9
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-BxXgd2r7.js';
|
|
10
|
+
import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-B1zQ6tzO.js';
|
|
11
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-DvwKrUS6.js';
|
|
12
|
+
import './string-utils-C6E9F6QT.js';
|
|
12
13
|
|
|
13
14
|
const formatOptionsShort = { day: "numeric", month: "long", weekday: "long" };
|
|
14
15
|
const formatOptionsLong = { day: "numeric", month: "long", year: "numeric" };
|
|
@@ -112,7 +113,18 @@ const i18n = {
|
|
|
112
113
|
},
|
|
113
114
|
};
|
|
114
115
|
|
|
115
|
-
var formDate
|
|
116
|
+
var formDate;
|
|
117
|
+
var hasRequiredFormDate;
|
|
118
|
+
|
|
119
|
+
function requireFormDate () {
|
|
120
|
+
if (hasRequiredFormDate) return formDate;
|
|
121
|
+
hasRequiredFormDate = 1;
|
|
122
|
+
formDate={"title":"form-date","tags":"form date calendar date picker","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z\"/><circle cx=\"5.625\" cy=\"13.875\" r=\"1.125\"/><circle cx=\"5.625\" cy=\"19.125\" r=\"1.125\"/><circle cx=\"12\" cy=\"13.875\" r=\"1.125\"/><circle cx=\"12\" cy=\"19.125\" r=\"1.125\"/><circle cx=\"18.375\" cy=\"13.875\" r=\"1.125\"/><path d=\"M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z\"/></svg>"};
|
|
123
|
+
return formDate;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
var formDateExports = requireFormDate();
|
|
127
|
+
var formDateIcon = /*@__PURE__*/getDefaultExportFromCjs(formDateExports);
|
|
116
128
|
|
|
117
129
|
const DatePickerInput = ({ onClick, placeholder, inputLabel, valueAsDate, formattedValue, language, identifier, theme, disabled, error, role, required, tooltip, tooltipDirection, labelHidden, buttonRef, inputRef, onInput, onBlur, onFocus, hasFocus, accessibleActiveDescendant, accessibleControls, accessibleOwns, accessibleDescribedBy, accessibleLiveError, echoPlaceholder, caption, }) => {
|
|
118
130
|
const { buttonLabel, selected, formatterLong } = i18n[language];
|
|
@@ -125,7 +137,7 @@ const DatePickerInput = ({ onClick, placeholder, inputLabel, valueAsDate, format
|
|
|
125
137
|
h("duet-input", { label: inputLabel, value: formattedValue, placeholder: placeholder, id: identifier, disabled: disabled, theme: theme, error: error, role: role, required: required, tooltip: tooltip, tooltipDirection: tooltipDirection, margin: "none", labelHidden: labelHidden, accessibleAutocomplete: "none", onDuetChange: e => e.stopImmediatePropagation(), onDuetInput: onInput, onDuetFocus: onFocus, onDuetBlur: onBlur, autoComplete: "off", disallowPattern: "[^0-9\\.\\-\\/]", expand: true, ref: inputRef, accessibleActiveDescendant: accessibleActiveDescendant, accessibleControls: accessibleControls, accessibleOwns: accessibleOwns, accessibleDescribedBy: accessibleDescribedBy, accessibleLiveError: accessibleLiveError, echoPlaceholder: echoPlaceholder, caption: caption, variation: "button" },
|
|
126
138
|
h("slot", { name: "tooltip" }),
|
|
127
139
|
h("button", { class: { "duet-date-button": true, "duet-no-label": labelHidden, "input-error": !!error }, onClick: onClick, disabled: disabled, ref: buttonRef, type: "button", slot: "button" },
|
|
128
|
-
h("duet-icon", { icon:
|
|
140
|
+
h("duet-icon", { icon: formDateIcon.svg, margin: "none", size: "small", color: "currentColor" }),
|
|
129
141
|
h("duet-visually-hidden", null,
|
|
130
142
|
buttonLabel,
|
|
131
143
|
valueAsDate && (h("span", null,
|
|
@@ -401,7 +413,6 @@ const DatePickerMonth = ({ selectedDate, focusedDate, labelledById, theme, langu
|
|
|
401
413
|
};
|
|
402
414
|
|
|
403
415
|
const duetDatePickerCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-date{position:relative;width:100%}.duet-date button,.duet-date-dialog button{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-theme-turva .duet-date-button{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva .duet-date-button:disabled{background:rgb(245, 247, 250) !important}.duet-date-button:disabled::before{display:none}.duet-date-button:disabled duet-icon{opacity:0.4}.duet-date-button duet-icon{transform:translateY(-1px)}.duet-date-button:active duet-icon{transform:translateY(0)}.duet-date-input-has-focus .duet-date-button,.duet-date-button:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.duet-date-input-has-focus .duet-date-button,.duet-theme-turva .duet-date-button:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva .duet-date-dialog-wrapper{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active .duet-date-dialog-wrapper{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-table th{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table .duet-date-table-cell{text-align:center}.duet-date-table .duet-date-table-cell:focus{outline:none}.duet-date-table-button{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva .duet-date-table-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva .duet-date-table-button:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-date-table-button.today{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true] .duet-date-table-button,:focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva [aria-pressed=true] .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva .duet-date-table-button:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}:focus .duet-date-table-button{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva :focus .duet-date-table-button{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva .duet-date-table-button.disabled{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva .duet-date-table-button.outside{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons{white-space:nowrap}.duet-date-dialog-buttons ::part(button){border:0}.duet-date-dialog-select{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select .duet-date-dialog-select-label{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva .duet-date-dialog-select .duet-date-dialog-select-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-dialog-select span{margin-right:4px}.duet-date-dialog-select select{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva .duet-date-dialog-mobile-header{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header duet-label{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header duet-label{display:none}}.duet-date-picker-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close{opacity:0}}.duet-theme-turva .duet-date-picker-close{background:rgb(245, 247, 250) !important}.duet-date-picker-close:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva .duet-date-picker-close:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close:focus{opacity:1}}.duet-theme-turva .duet-date-picker-close:focus{box-shadow:0 0 0 2px #171c3a !important}";
|
|
404
|
-
const DuetDatePickerStyle0 = duetDatePickerCss;
|
|
405
416
|
|
|
406
417
|
const DuetDatePicker = class {
|
|
407
418
|
constructor(hostRef) {
|
|
@@ -438,6 +449,125 @@ const DuetDatePicker = class {
|
|
|
438
449
|
sv: "Datum krävs",
|
|
439
450
|
},
|
|
440
451
|
};
|
|
452
|
+
this.open = false;
|
|
453
|
+
this.focusedDay = new Date();
|
|
454
|
+
this.inputValue = "";
|
|
455
|
+
this.inputHasFocus = false;
|
|
456
|
+
this.internalValidityError = "";
|
|
457
|
+
/**
|
|
458
|
+
* Theme of the component.
|
|
459
|
+
*/
|
|
460
|
+
this.theme = "";
|
|
461
|
+
/**
|
|
462
|
+
* Expands the date picker input to fill 100% of the container width.
|
|
463
|
+
*/
|
|
464
|
+
this.expand = false;
|
|
465
|
+
/**
|
|
466
|
+
* Name of the date picker input.
|
|
467
|
+
*/
|
|
468
|
+
this.name = "";
|
|
469
|
+
/**
|
|
470
|
+
* Adds a unique identifier for the date picker input.
|
|
471
|
+
*/
|
|
472
|
+
this.identifier = "";
|
|
473
|
+
/**
|
|
474
|
+
* Label for the date picker input.
|
|
475
|
+
*/
|
|
476
|
+
this.label = "";
|
|
477
|
+
/**
|
|
478
|
+
* Controls the margin of the component.
|
|
479
|
+
*/
|
|
480
|
+
this.margin = "auto";
|
|
481
|
+
/**
|
|
482
|
+
* The currently active language. This setting changes the month/year/day.
|
|
483
|
+
* names and button labels as well as all screen reader labels.
|
|
484
|
+
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing.
|
|
485
|
+
* @default "fi"
|
|
486
|
+
*/
|
|
487
|
+
this.language = getLanguage();
|
|
488
|
+
/**
|
|
489
|
+
* Placeholder defaults.
|
|
490
|
+
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
491
|
+
*/
|
|
492
|
+
this.placeholderDefaults = {
|
|
493
|
+
fi: "pp.kk.vvvv",
|
|
494
|
+
en: "dd.mm.yyyy",
|
|
495
|
+
sv: "dd.mm.åååå",
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* Hint text to display before the user types into the date picker input.
|
|
499
|
+
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
500
|
+
*/
|
|
501
|
+
this.placeholder = getLocaleString(this.placeholderDefaults, this.language);
|
|
502
|
+
/**
|
|
503
|
+
* If form input field has a placeholder text, and user types anything (causing the text to dissapear),
|
|
504
|
+
* settings this to true will "echo" it into the caption slot - this option will be false by default for the next few versions, but will eventually be true by default (scheduled for 4.30.0)
|
|
505
|
+
*/
|
|
506
|
+
this.echoPlaceholder = false;
|
|
507
|
+
/**
|
|
508
|
+
* Makes the date picker input component disabled. This prevents users from being able to
|
|
509
|
+
* interact with the input, and conveys its inactive state to assistive technologies.
|
|
510
|
+
*/
|
|
511
|
+
this.disabled = false;
|
|
512
|
+
/**
|
|
513
|
+
* Display the date picker input in error state along with an error message.
|
|
514
|
+
*/
|
|
515
|
+
this.error = "";
|
|
516
|
+
/**
|
|
517
|
+
* Date picker offers built-in error messages for invalid or missing entries. These can be disabled if the application handles those.
|
|
518
|
+
*/
|
|
519
|
+
this.disableBuiltInErrors = false;
|
|
520
|
+
/**
|
|
521
|
+
* Visually hide the label, but still show it to screen readers.
|
|
522
|
+
*/
|
|
523
|
+
this.labelHidden = false;
|
|
524
|
+
/**
|
|
525
|
+
* Set whether the input is required or not. Please note that this is necessary for
|
|
526
|
+
* accessible inputs when the user is required to fill them. When using this property
|
|
527
|
+
* you need to also set “novalidate” attribute to your form element to prevent
|
|
528
|
+
* browser from displaying its own validation errors.
|
|
529
|
+
*/
|
|
530
|
+
this.required = false;
|
|
531
|
+
/**
|
|
532
|
+
* Forces the opening direction of the calendar modal to be always left or right.
|
|
533
|
+
* This setting can be useful when the input is smaller than the opening date picker
|
|
534
|
+
* would be as by default the picker always opens towards right.
|
|
535
|
+
*/
|
|
536
|
+
this.direction = "right";
|
|
537
|
+
/**
|
|
538
|
+
* Tooltip to display next to the label of the date picker input.
|
|
539
|
+
*/
|
|
540
|
+
this.tooltip = "";
|
|
541
|
+
/**
|
|
542
|
+
* With direction setting you can force the tooltip to always open towards left
|
|
543
|
+
* or right instead of automatically determining the direction.
|
|
544
|
+
*/
|
|
545
|
+
this.tooltipDirection = "auto";
|
|
546
|
+
/**
|
|
547
|
+
* Date value. Must be in IS0-8601 format: YYYY-MM-DD
|
|
548
|
+
*/
|
|
549
|
+
this.value = "";
|
|
550
|
+
/**
|
|
551
|
+
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.
|
|
552
|
+
* This setting can be used alone or together with the max property.
|
|
553
|
+
*/
|
|
554
|
+
this.min = "";
|
|
555
|
+
/**
|
|
556
|
+
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.
|
|
557
|
+
* This setting can be used alone or together with the min property.
|
|
558
|
+
*/
|
|
559
|
+
this.max = "";
|
|
560
|
+
/**
|
|
561
|
+
* Increment to add to years, defaults to 10 for simplicity, if you need a larger selectionspace you can set it to 100
|
|
562
|
+
*/
|
|
563
|
+
this.incrementYears = 10;
|
|
564
|
+
/**
|
|
565
|
+
* The aria-live attribute for the error message. When the input is validated on blur, use "off", as using "polite" or "assertive"
|
|
566
|
+
* makes the screen reader read the error message twice. When the input is validated on submit, use "polite", as "off" would leave
|
|
567
|
+
* the messages unread by screen readers. Use "assertive" only in those rare cases when "polite" would leave the error message
|
|
568
|
+
* unread by screen readers.
|
|
569
|
+
*/
|
|
570
|
+
this.accessibleLiveError = "polite";
|
|
441
571
|
this.enableActiveFocus = () => {
|
|
442
572
|
this.focusTarget = "day-button";
|
|
443
573
|
};
|
|
@@ -550,44 +680,6 @@ const DuetDatePicker = class {
|
|
|
550
680
|
this.setValue(parsed);
|
|
551
681
|
}
|
|
552
682
|
};
|
|
553
|
-
this.open = false;
|
|
554
|
-
this.focusedDay = new Date();
|
|
555
|
-
this.inputValue = "";
|
|
556
|
-
this.inputHasFocus = false;
|
|
557
|
-
this.internalValidityError = "";
|
|
558
|
-
this.theme = "";
|
|
559
|
-
this.expand = false;
|
|
560
|
-
this.name = "";
|
|
561
|
-
this.identifier = "";
|
|
562
|
-
this.label = "";
|
|
563
|
-
this.caption = undefined;
|
|
564
|
-
this.margin = "auto";
|
|
565
|
-
this.language = getLanguage();
|
|
566
|
-
this.placeholderDefaults = {
|
|
567
|
-
fi: "pp.kk.vvvv",
|
|
568
|
-
en: "dd.mm.yyyy",
|
|
569
|
-
sv: "dd.mm.åååå",
|
|
570
|
-
};
|
|
571
|
-
this.placeholder = getLocaleString(this.placeholderDefaults, this.language);
|
|
572
|
-
this.echoPlaceholder = false;
|
|
573
|
-
this.disabled = false;
|
|
574
|
-
this.error = "";
|
|
575
|
-
this.disableBuiltInErrors = false;
|
|
576
|
-
this.labelHidden = false;
|
|
577
|
-
this.role = undefined;
|
|
578
|
-
this.accessibleActiveDescendant = undefined;
|
|
579
|
-
this.accessibleControls = undefined;
|
|
580
|
-
this.accessibleOwns = undefined;
|
|
581
|
-
this.accessibleDescribedBy = undefined;
|
|
582
|
-
this.required = false;
|
|
583
|
-
this.direction = "right";
|
|
584
|
-
this.tooltip = "";
|
|
585
|
-
this.tooltipDirection = "auto";
|
|
586
|
-
this.value = "";
|
|
587
|
-
this.min = "";
|
|
588
|
-
this.max = "";
|
|
589
|
-
this.incrementYears = 10;
|
|
590
|
-
this.accessibleLiveError = "polite";
|
|
591
683
|
}
|
|
592
684
|
/**
|
|
593
685
|
* This offers information relating to the current validity of the component.
|
|
@@ -806,6 +898,6 @@ const DuetDatePicker = class {
|
|
|
806
898
|
"required": ["updateValidity"]
|
|
807
899
|
}; }
|
|
808
900
|
};
|
|
809
|
-
DuetDatePicker.style =
|
|
901
|
+
DuetDatePicker.style = duetDatePickerCss;
|
|
810
902
|
|
|
811
903
|
export { DuetDatePicker as duet_date_picker };
|
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, g as getElement, H as Host } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
6
|
-
import { g as getColorByName } from './token-utils-
|
|
7
|
-
import './tokens.module-
|
|
4
|
+
import { r as registerInstance, h, g as getElement, H as Host } from './index-BGuG-JHD.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-WhCDf9tt.js';
|
|
6
|
+
import { g as getColorByName } from './token-utils-D2bU4zM_.js';
|
|
7
|
+
import './tokens.module-UQH7pb1d.js';
|
|
8
8
|
|
|
9
9
|
const duetDividerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(212, 223, 229)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(222, 224, 228)}";
|
|
10
|
-
const DuetDividerStyle0 = duetDividerCss;
|
|
11
10
|
|
|
12
11
|
const DuetDivider = class {
|
|
13
12
|
constructor(hostRef) {
|
|
14
13
|
registerInstance(this, hostRef);
|
|
14
|
+
/**
|
|
15
|
+
* Theme of the divider.
|
|
16
|
+
*/
|
|
15
17
|
this.theme = "";
|
|
18
|
+
/**
|
|
19
|
+
* Controls the margin of the component.
|
|
20
|
+
*/
|
|
16
21
|
this.margin = "auto";
|
|
22
|
+
/**
|
|
23
|
+
* Custom color, as a design token entered in camelCase or kebab-case.
|
|
24
|
+
* Example: "color-primary".
|
|
25
|
+
*/
|
|
17
26
|
this.color = "";
|
|
18
27
|
}
|
|
19
28
|
/**
|
|
@@ -37,16 +46,25 @@ const DuetDivider = class {
|
|
|
37
46
|
}
|
|
38
47
|
get element() { return getElement(this); }
|
|
39
48
|
};
|
|
40
|
-
DuetDivider.style =
|
|
49
|
+
DuetDivider.style = duetDividerCss;
|
|
41
50
|
|
|
42
51
|
const duetSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";
|
|
43
|
-
const DuetSpacerStyle0 = duetSpacerCss;
|
|
44
52
|
|
|
45
53
|
const DuetSpacer = class {
|
|
46
54
|
constructor(hostRef) {
|
|
47
55
|
registerInstance(this, hostRef);
|
|
56
|
+
/**
|
|
57
|
+
* Size variation of the spacer. Can be any of the spacing tokens.
|
|
58
|
+
*/
|
|
48
59
|
this.size = "medium";
|
|
60
|
+
/**
|
|
61
|
+
* Direction of the space added.
|
|
62
|
+
*/
|
|
49
63
|
this.direction = "vertical";
|
|
64
|
+
/**
|
|
65
|
+
* Adjusts the breakpoint where the spacer is shown in. The functionality
|
|
66
|
+
* follows 1:1 the media queries defined in design tokens.
|
|
67
|
+
*/
|
|
50
68
|
this.breakpoint = "";
|
|
51
69
|
}
|
|
52
70
|
/**
|
|
@@ -68,6 +86,6 @@ const DuetSpacer = class {
|
|
|
68
86
|
} }));
|
|
69
87
|
}
|
|
70
88
|
};
|
|
71
|
-
DuetSpacer.style =
|
|
89
|
+
DuetSpacer.style = duetSpacerCss;
|
|
72
90
|
|
|
73
91
|
export { DuetDivider as duet_divider, DuetSpacer as duet_spacer };
|