@duetds/components 6.0.3 → 6.0.5
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.js +77 -70
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +10 -9
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +17 -14
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +25 -27
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +1 -1
- package/lib/cjs/{focus-utils-15207057.js → focus-utils-bbba1f98.js} +1 -1
- package/lib/cjs/{index-28a9133b.js → index-af927d29.js} +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/cjs/{token-utils-fef5b4eb.js → token-utils-f6e2f4ef.js} +1 -1
- package/lib/cjs/{tokens-29450bcb.js → tokens-4c69b122.js} +18 -15
- package/lib/cjs/{tokens.module-ef598645.js → tokens.module-1bb2d45e.js} +12 -10
- package/lib/collection/components/duet-choice/duet-choice.js +4 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +4 -3
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +25 -27
- package/lib/collection/components/duet-upload/duet-upload.js +18 -15
- package/lib/dist-custom-elements/duet-action-button.d.ts +11 -0
- package/lib/dist-custom-elements/duet-action-button.js +9 -0
- package/lib/dist-custom-elements/duet-alert.d.ts +11 -0
- package/lib/dist-custom-elements/duet-alert.js +9 -0
- package/lib/dist-custom-elements/duet-badge.d.ts +11 -0
- package/lib/dist-custom-elements/duet-badge.js +9 -0
- package/lib/dist-custom-elements/duet-breadcrumb.d.ts +11 -0
- package/lib/dist-custom-elements/duet-breadcrumb.js +73 -0
- package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +11 -0
- package/lib/dist-custom-elements/duet-breadcrumbs.js +90 -0
- package/lib/dist-custom-elements/duet-button.d.ts +11 -0
- package/lib/dist-custom-elements/duet-button.js +9 -0
- package/lib/dist-custom-elements/duet-caption.d.ts +11 -0
- package/lib/dist-custom-elements/duet-caption.js +9 -0
- package/lib/dist-custom-elements/duet-card.d.ts +11 -0
- package/lib/dist-custom-elements/duet-card.js +190 -0
- package/lib/dist-custom-elements/duet-checkbox.d.ts +11 -0
- package/lib/dist-custom-elements/duet-checkbox.js +163 -0
- package/lib/dist-custom-elements/duet-choice-group.d.ts +11 -0
- package/lib/dist-custom-elements/duet-choice-group.js +227 -0
- package/lib/dist-custom-elements/duet-choice.d.ts +11 -0
- package/lib/dist-custom-elements/duet-choice.js +390 -0
- package/lib/dist-custom-elements/duet-collapsible.d.ts +11 -0
- package/lib/dist-custom-elements/duet-collapsible.js +170 -0
- package/lib/dist-custom-elements/duet-combobox.d.ts +11 -0
- package/lib/dist-custom-elements/duet-combobox.js +432 -0
- package/lib/dist-custom-elements/duet-cookie-consent.d.ts +11 -0
- package/lib/dist-custom-elements/duet-cookie-consent.js +94 -0
- package/lib/dist-custom-elements/duet-date-picker.d.ts +11 -0
- package/lib/dist-custom-elements/duet-date-picker.js +906 -0
- package/lib/dist-custom-elements/duet-divider.d.ts +11 -0
- package/lib/dist-custom-elements/duet-divider.js +9 -0
- package/lib/dist-custom-elements/duet-editable-table.d.ts +11 -0
- package/lib/dist-custom-elements/duet-editable-table.js +9 -0
- package/lib/dist-custom-elements/duet-empty-state.d.ts +11 -0
- package/lib/dist-custom-elements/duet-empty-state.js +9 -0
- package/lib/dist-custom-elements/duet-fieldset.d.ts +11 -0
- package/lib/dist-custom-elements/duet-fieldset.js +9 -0
- package/lib/dist-custom-elements/duet-footer.d.ts +11 -0
- package/lib/dist-custom-elements/duet-footer.js +199 -0
- package/lib/dist-custom-elements/duet-grid-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-grid-item.js +9 -0
- package/lib/dist-custom-elements/duet-grid.d.ts +11 -0
- package/lib/dist-custom-elements/duet-grid.js +9 -0
- package/lib/dist-custom-elements/duet-header.d.ts +11 -0
- package/lib/dist-custom-elements/duet-header.js +764 -0
- package/lib/dist-custom-elements/duet-heading.d.ts +11 -0
- package/lib/dist-custom-elements/duet-heading.js +9 -0
- package/lib/dist-custom-elements/duet-hero.d.ts +11 -0
- package/lib/dist-custom-elements/duet-hero.js +314 -0
- package/lib/dist-custom-elements/duet-icon.d.ts +11 -0
- package/lib/dist-custom-elements/duet-icon.js +9 -0
- package/lib/dist-custom-elements/duet-input.d.ts +11 -0
- package/lib/dist-custom-elements/duet-input.js +9 -0
- package/lib/dist-custom-elements/duet-label.d.ts +11 -0
- package/lib/dist-custom-elements/duet-label.js +9 -0
- package/lib/dist-custom-elements/duet-layout.d.ts +11 -0
- package/lib/dist-custom-elements/duet-layout.js +107 -0
- package/lib/dist-custom-elements/duet-link.d.ts +11 -0
- package/lib/dist-custom-elements/duet-link.js +9 -0
- package/lib/dist-custom-elements/duet-list-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-list-item.js +9 -0
- package/lib/dist-custom-elements/duet-list.d.ts +11 -0
- package/lib/dist-custom-elements/duet-list.js +9 -0
- package/lib/dist-custom-elements/duet-logo.d.ts +11 -0
- package/lib/dist-custom-elements/duet-logo.js +9 -0
- package/lib/dist-custom-elements/duet-modal.d.ts +11 -0
- package/lib/dist-custom-elements/duet-modal.js +331 -0
- package/lib/dist-custom-elements/duet-notification-drawer.d.ts +11 -0
- package/lib/dist-custom-elements/duet-notification-drawer.js +194 -0
- package/lib/dist-custom-elements/duet-notification.d.ts +11 -0
- package/lib/dist-custom-elements/duet-notification.js +114 -0
- package/lib/dist-custom-elements/duet-number-input.d.ts +11 -0
- package/lib/dist-custom-elements/duet-number-input.js +516 -0
- package/lib/dist-custom-elements/duet-pagination.d.ts +11 -0
- package/lib/dist-custom-elements/duet-pagination.js +396 -0
- package/lib/dist-custom-elements/duet-paragraph.d.ts +11 -0
- package/lib/dist-custom-elements/duet-paragraph.js +9 -0
- package/lib/dist-custom-elements/duet-progress.d.ts +11 -0
- package/lib/dist-custom-elements/duet-progress.js +9 -0
- package/lib/dist-custom-elements/duet-radio-group.d.ts +11 -0
- package/lib/dist-custom-elements/duet-radio-group.js +216 -0
- package/lib/dist-custom-elements/duet-radio.d.ts +11 -0
- package/lib/dist-custom-elements/duet-radio.js +167 -0
- package/lib/dist-custom-elements/duet-range-slider.d.ts +11 -0
- package/lib/dist-custom-elements/duet-range-slider.js +209 -0
- package/lib/dist-custom-elements/duet-range-stepper.d.ts +11 -0
- package/lib/dist-custom-elements/duet-range-stepper.js +223 -0
- package/lib/dist-custom-elements/duet-scrollable.d.ts +11 -0
- package/lib/dist-custom-elements/duet-scrollable.js +9 -0
- package/lib/dist-custom-elements/duet-select.d.ts +11 -0
- package/lib/dist-custom-elements/duet-select.js +9 -0
- package/lib/dist-custom-elements/duet-spacer.d.ts +11 -0
- package/lib/dist-custom-elements/duet-spacer.js +9 -0
- package/lib/dist-custom-elements/duet-spinner.d.ts +11 -0
- package/lib/dist-custom-elements/duet-spinner.js +9 -0
- package/lib/dist-custom-elements/duet-step.d.ts +11 -0
- package/lib/dist-custom-elements/duet-step.js +150 -0
- package/lib/dist-custom-elements/duet-stepper.d.ts +11 -0
- package/lib/dist-custom-elements/duet-stepper.js +164 -0
- package/lib/dist-custom-elements/duet-tab-group.d.ts +11 -0
- package/lib/dist-custom-elements/duet-tab-group.js +301 -0
- package/lib/dist-custom-elements/duet-tab.d.ts +11 -0
- package/lib/dist-custom-elements/duet-tab.js +59 -0
- package/lib/dist-custom-elements/duet-table.d.ts +11 -0
- package/lib/dist-custom-elements/duet-table.js +9 -0
- package/lib/dist-custom-elements/duet-textarea.d.ts +11 -0
- package/lib/dist-custom-elements/duet-textarea.js +297 -0
- package/lib/dist-custom-elements/duet-toggle.d.ts +11 -0
- package/lib/dist-custom-elements/duet-toggle.js +150 -0
- package/lib/dist-custom-elements/duet-tooltip.d.ts +11 -0
- package/lib/dist-custom-elements/duet-tooltip.js +9 -0
- package/lib/dist-custom-elements/duet-tray.d.ts +11 -0
- package/lib/dist-custom-elements/duet-tray.js +175 -0
- package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +11 -0
- package/lib/dist-custom-elements/duet-upload-aria-status.js +9 -0
- package/lib/dist-custom-elements/duet-upload.d.ts +11 -0
- package/lib/dist-custom-elements/duet-upload.js +1514 -0
- package/lib/dist-custom-elements/duet-visually-hidden.d.ts +11 -0
- package/lib/dist-custom-elements/duet-visually-hidden.js +9 -0
- package/lib/dist-custom-elements/index.d.ts +26 -0
- package/lib/dist-custom-elements/index.js +37 -0
- package/lib/{esm/tokens-8ff8c570.js → dist-custom-elements/p-02305a1e.js} +18 -15
- package/lib/dist-custom-elements/p-0b3f675e.js +47 -0
- package/lib/{esm/focus-utils-559691b3.js → dist-custom-elements/p-0b8f16f1.js} +1 -1
- package/lib/dist-custom-elements/p-0ce83b83.js +154 -0
- package/lib/dist-custom-elements/p-0f5b2dfe.js +287 -0
- package/lib/dist-custom-elements/p-115c79b6.js +6 -0
- package/lib/dist-custom-elements/p-12721178.js +57 -0
- package/lib/dist-custom-elements/p-166d7b9c.js +199 -0
- package/lib/dist-custom-elements/p-1ad6b04e.js +1666 -0
- package/lib/dist-custom-elements/p-21887c28.js +275 -0
- package/lib/dist-custom-elements/p-24c2ac51.js +114 -0
- package/lib/dist-custom-elements/p-266411cf.js +307 -0
- package/lib/dist-custom-elements/p-2bb345c0.js +193 -0
- package/lib/dist-custom-elements/p-32a67b55.js +87 -0
- package/lib/dist-custom-elements/p-4c52333e.js +341 -0
- package/lib/dist-custom-elements/p-4ebf1618.js +13 -0
- package/lib/dist-custom-elements/p-4f516732.js +214 -0
- package/lib/dist-custom-elements/p-53a0c93d.js +37 -0
- package/lib/dist-custom-elements/p-544d933d.js +61 -0
- package/lib/dist-custom-elements/p-56118313.js +53 -0
- package/lib/dist-custom-elements/p-56b5945f.js +160 -0
- package/lib/dist-custom-elements/p-5a9d75e1.js +55 -0
- package/lib/dist-custom-elements/p-692cc270.js +125 -0
- package/lib/dist-custom-elements/p-6cae0682.js +75 -0
- package/lib/dist-custom-elements/p-704245ef.js +9 -0
- package/lib/dist-custom-elements/p-76f00bd5.js +10 -0
- package/lib/dist-custom-elements/p-7a003d73.js +37 -0
- package/lib/dist-custom-elements/p-7f5ad01d.js +64 -0
- package/lib/{esm/token-utils-df78f4d8.js → dist-custom-elements/p-86faf728.js} +1 -1
- package/lib/dist-custom-elements/p-8f69f7ca.js +428 -0
- package/lib/dist-custom-elements/p-92012dcc.js +71 -0
- package/lib/dist-custom-elements/p-9af8e9da.js +70 -0
- package/lib/dist-custom-elements/p-a087e30a.js +86 -0
- package/lib/dist-custom-elements/p-b9058029.js +138 -0
- package/lib/dist-custom-elements/p-bd779757.js +184 -0
- package/lib/dist-custom-elements/p-c0469b33.js +133 -0
- package/lib/dist-custom-elements/p-c1325e35.js +11 -0
- package/lib/dist-custom-elements/p-c8d44e6d.js +87 -0
- package/lib/dist-custom-elements/p-cfab50b5.js +110 -0
- package/lib/dist-custom-elements/p-d004da5f.js +6 -0
- package/lib/dist-custom-elements/p-d11287e1.js +129 -0
- package/lib/dist-custom-elements/p-d4c234ed.js +390 -0
- package/lib/dist-custom-elements/p-d8549efe.js +20 -0
- package/lib/dist-custom-elements/p-db91a981.js +98 -0
- package/lib/dist-custom-elements/p-e121eb6d.js +241 -0
- package/lib/dist-custom-elements/p-ede854e1.js +92 -0
- package/lib/dist-custom-elements/p-ee9a63c3.js +65 -0
- package/lib/dist-custom-elements/p-f11208c3.js +6 -0
- package/lib/dist-custom-elements/p-f1d0dca7.js +275 -0
- package/lib/dist-custom-elements/p-fb6be4e4.js +66 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-4c93a18e.system.entry.js → p-01ec746a.system.entry.js} +1 -1
- package/lib/duet/p-02305a1e.js +4 -0
- package/lib/duet/{p-674e546f.system.entry.js → p-02a0c4f6.system.entry.js} +1 -1
- package/lib/duet/{p-b01e2523.entry.js → p-02fec3bd.entry.js} +1 -1
- package/lib/duet/{p-300147ad.entry.js → p-032a5071.entry.js} +1 -1
- package/lib/duet/{p-0626271f.entry.js → p-08fe21b1.entry.js} +1 -1
- package/lib/duet/{p-d0cee171.entry.js → p-0b0c7f09.entry.js} +1 -1
- package/lib/duet/{p-1931d33f.system.js → p-100c6ed7.system.js} +1 -1
- package/lib/duet/{p-dab594cf.system.entry.js → p-168a22df.system.entry.js} +1 -1
- package/lib/duet/p-1fc60a60.system.js +4 -0
- package/lib/duet/{p-bb9624c3.entry.js → p-24dafa59.entry.js} +1 -1
- package/lib/duet/{p-d444107c.system.entry.js → p-28fcab59.system.entry.js} +1 -1
- package/lib/duet/{p-db15d420.system.entry.js → p-292ab686.system.entry.js} +1 -1
- package/lib/duet/{p-de986d77.system.entry.js → p-293b8c58.system.entry.js} +1 -1
- package/lib/duet/{p-9308c1e6.entry.js → p-2c698aec.entry.js} +1 -1
- package/lib/duet/p-32f7178a.system.js +4 -0
- package/lib/duet/{p-92d95bde.system.entry.js → p-3967595b.system.entry.js} +1 -1
- package/lib/duet/{p-72443e94.system.entry.js → p-414b1ba7.system.entry.js} +1 -1
- package/lib/duet/{p-ae515c54.entry.js → p-422d7157.entry.js} +1 -1
- package/lib/duet/{p-9fcac068.system.entry.js → p-4df190b5.system.entry.js} +1 -1
- package/lib/duet/{p-c41b07d7.entry.js → p-50eb1959.entry.js} +1 -1
- package/lib/duet/{p-de3c0f4d.js → p-532e9db7.js} +1 -1
- package/lib/duet/{p-16521f2d.entry.js → p-552ce747.entry.js} +1 -1
- package/lib/duet/{p-398a79a0.js → p-588be556.js} +1 -1
- package/lib/duet/{p-b008fe25.entry.js → p-58c58219.entry.js} +1 -1
- package/lib/duet/{p-2bd79d6b.entry.js → p-5b7db3d5.entry.js} +1 -1
- package/lib/duet/{p-5d967d15.entry.js → p-5bb6f856.entry.js} +1 -1
- package/lib/duet/{p-20271117.entry.js → p-62ff683a.entry.js} +1 -1
- package/lib/duet/{p-e1654a8b.system.entry.js → p-65206bf2.system.entry.js} +1 -1
- package/lib/duet/{p-2bba6489.entry.js → p-66bb00c2.entry.js} +1 -1
- package/lib/duet/{p-49db53a1.system.entry.js → p-6cc35a71.system.entry.js} +1 -1
- package/lib/duet/{p-63dbd5af.system.entry.js → p-7431ad27.system.entry.js} +1 -1
- package/lib/duet/{p-df11c241.system.entry.js → p-74bcd39f.system.entry.js} +1 -1
- package/lib/duet/{p-e2ac0727.system.entry.js → p-76fd11ff.system.entry.js} +1 -1
- package/lib/duet/{p-339e5901.system.js → p-7871ef0a.system.js} +1 -1
- package/lib/duet/{p-1aca544d.entry.js → p-79160b90.entry.js} +1 -1
- package/lib/duet/{p-23ad5f8a.entry.js → p-7d71fd3b.entry.js} +1 -1
- package/lib/duet/{p-946aa901.system.entry.js → p-7d866e2a.system.entry.js} +1 -1
- package/lib/duet/{p-9e54127f.system.entry.js → p-83120829.system.entry.js} +1 -1
- package/lib/duet/{p-d0f72f22.js → p-85c3f82e.js} +1 -1
- package/lib/duet/{p-06ab2787.system.entry.js → p-85df6ff1.system.entry.js} +1 -1
- package/lib/duet/{p-68c3b19f.entry.js → p-86567f28.entry.js} +1 -1
- package/lib/duet/{p-104bf1b5.entry.js → p-8669b09e.entry.js} +1 -1
- package/lib/duet/{p-9f18afd6.entry.js → p-88819152.entry.js} +1 -1
- package/lib/duet/{p-5d1787cb.entry.js → p-89dc739e.entry.js} +1 -1
- package/lib/duet/{p-6c875cfa.system.entry.js → p-8a4d7ae9.system.entry.js} +1 -1
- package/lib/duet/{p-571440c7.system.entry.js → p-8edd208a.system.entry.js} +1 -1
- package/lib/duet/{p-691f609b.entry.js → p-8efd9495.entry.js} +1 -1
- package/lib/duet/{p-c5499bc3.entry.js → p-8f222a1b.entry.js} +1 -1
- package/lib/duet/{p-6b0a4b3b.entry.js → p-98ba3424.entry.js} +1 -1
- package/lib/duet/{p-31004a7b.system.entry.js → p-996ba330.system.entry.js} +1 -1
- package/lib/duet/{p-de815460.system.entry.js → p-9999e5fa.system.entry.js} +1 -1
- package/lib/duet/{p-de146ffa.system.entry.js → p-9bae46c2.system.entry.js} +1 -1
- package/lib/duet/{p-ab2f08b3.system.entry.js → p-9cb366b1.system.entry.js} +1 -1
- package/lib/duet/{p-8c409ffe.system.entry.js → p-a3de163c.system.entry.js} +1 -1
- package/lib/duet/{p-064dd5fd.entry.js → p-a40a7074.entry.js} +1 -1
- package/lib/duet/{p-1010fb94.entry.js → p-a463d7ba.entry.js} +1 -1
- package/lib/duet/{p-087d72dd.system.entry.js → p-a755f378.system.entry.js} +1 -1
- package/lib/duet/{p-b066a6b7.entry.js → p-a78c751d.entry.js} +1 -1
- package/lib/duet/{p-c8d9da51.entry.js → p-aae486b1.entry.js} +1 -1
- package/lib/duet/{p-0f7f7e7d.system.entry.js → p-ade95c1a.system.entry.js} +1 -1
- package/lib/duet/{p-9f8a51b4.system.entry.js → p-ae270d5c.system.entry.js} +1 -1
- package/lib/duet/{p-94c07a46.system.entry.js → p-afd48ab5.system.entry.js} +1 -1
- package/lib/duet/{p-f2eaad1e.js → p-b1931fae.js} +1 -1
- package/lib/duet/{p-e3983bfe.entry.js → p-b1b6bfaf.entry.js} +1 -1
- package/lib/duet/{p-6eecfced.system.entry.js → p-bcaa46bc.system.entry.js} +1 -1
- package/lib/duet/{p-eb54474f.system.entry.js → p-bd95bbac.system.entry.js} +1 -1
- package/lib/duet/{p-09364233.entry.js → p-c14e364f.entry.js} +1 -1
- package/lib/duet/{p-074bfd45.entry.js → p-cd24ed34.entry.js} +1 -1
- package/lib/duet/{p-8157e5bb.system.entry.js → p-ceaefc71.system.entry.js} +1 -1
- package/lib/duet/{p-18cc5627.system.js → p-d209191d.system.js} +1 -1
- package/lib/duet/{p-5658ac20.system.entry.js → p-d33ad700.system.entry.js} +1 -1
- package/lib/duet/{p-41cb95cb.entry.js → p-d5700477.entry.js} +1 -1
- package/lib/duet/{p-b3dc55a6.system.entry.js → p-d8c1e717.system.entry.js} +1 -1
- package/lib/duet/{p-cca9c605.system.entry.js → p-d8e4683f.system.entry.js} +1 -1
- package/lib/duet/{p-0ae59d7c.entry.js → p-db5582e2.entry.js} +1 -1
- package/lib/duet/{p-f7ac05dd.system.entry.js → p-dc3379cf.system.entry.js} +1 -1
- package/lib/duet/{p-cfa50753.system.js → p-ddc42b65.system.js} +1 -1
- package/lib/duet/{p-3cc55c8a.system.entry.js → p-e1c35023.system.entry.js} +1 -1
- package/lib/duet/p-e6d75fab.entry.js +4 -0
- package/lib/duet/{p-89048c6f.entry.js → p-e99cfa9a.entry.js} +1 -1
- package/lib/duet/{p-4034b322.system.entry.js → p-ec08089e.system.entry.js} +1 -1
- package/lib/duet/{p-bec24271.system.entry.js → p-ec45b5c6.system.entry.js} +1 -1
- package/lib/duet/{p-5beb69ac.entry.js → p-ed41265b.entry.js} +1 -1
- package/lib/duet/{p-744ce6ce.entry.js → p-ed985877.entry.js} +1 -1
- package/lib/duet/p-f5cac1af.entry.js +4 -0
- package/lib/duet/{p-e0f6ebf4.system.entry.js → p-f6725c7b.system.entry.js} +1 -1
- package/lib/duet/{p-c2e37fb4.entry.js → p-f7012b1f.entry.js} +1 -1
- package/lib/duet/{p-23ba48a5.system.entry.js → p-f7856429.system.entry.js} +1 -1
- package/lib/duet/{p-97a369d6.entry.js → p-f9d05a5c.entry.js} +1 -1
- package/lib/duet/{p-ef4b4f35.entry.js → p-fb798cb8.entry.js} +1 -1
- package/lib/duet/{p-47ed8218.entry.js → p-fcbf70a6.entry.js} +1 -1
- package/lib/duet/{p-3d029dce.system.entry.js → p-fcc58f66.system.entry.js} +1 -1
- package/lib/duet/{p-db115036.entry.js → p-fdd0a7df.entry.js} +1 -1
- package/lib/duet/{p-6841adb8.system.entry.js → p-feae179e.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +3 -3
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +10 -9
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +17 -14
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +25 -27
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +1 -1
- package/lib/esm/focus-utils-b515b88b.js +18 -0
- package/lib/esm/{index-f600b8dc.js → index-d8c3ba71.js} +1 -1
- package/lib/esm/loader.js +1 -1
- package/lib/esm/token-utils-ebf797ab.js +92 -0
- package/lib/esm/tokens-b9d87fda.js +459 -0
- package/lib/esm/{tokens.module-f4572ed7.js → tokens.module-385c4cf8.js} +12 -10
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-559691b3.js → focus-utils-b515b88b.js} +1 -1
- package/lib/esm-es5/{index-f600b8dc.js → index-d8c3ba71.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-df78f4d8.js → token-utils-ebf797ab.js} +1 -1
- package/lib/esm-es5/tokens-b9d87fda.js +4 -0
- package/lib/esm-es5/{tokens.module-f4572ed7.js → tokens.module-385c4cf8.js} +1 -1
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +2 -2
- package/lib/types/components/duet-upload/duet-upload.d.ts +8 -8
- package/lib/types/components.d.ts +6 -6
- package/package.json +5 -5
- package/lib/custom-elements-bundle/index.d.ts +0 -399
- package/lib/custom-elements-bundle/index.js +0 -14110
- package/lib/duet/p-6002f3d2.system.js +0 -4
- package/lib/duet/p-7c198c75.entry.js +0 -4
- package/lib/duet/p-a93a04b9.system.js +0 -4
- package/lib/duet/p-d1746325.js +0 -4
- package/lib/duet/p-f2ab3e5c.entry.js +0 -4
- package/lib/esm-es5/tokens-8ff8c570.js +0 -4
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
const isComplexType = (o) => {
|
|
5
|
+
// https://jsperf.com/typeof-fn-object/5
|
|
6
|
+
o = typeof o;
|
|
7
|
+
return o === 'object' || o === 'function';
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Production h() function based on Preact by
|
|
11
|
+
* Jason Miller (@developit)
|
|
12
|
+
* Licensed under the MIT License
|
|
13
|
+
* https://github.com/developit/preact/blob/master/LICENSE
|
|
14
|
+
*
|
|
15
|
+
* Modified for Stencil's compiler and vdom
|
|
16
|
+
*/
|
|
17
|
+
// const stack: any[] = [];
|
|
18
|
+
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
|
|
19
|
+
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
20
|
+
const h = (nodeName, vnodeData, ...children) => {
|
|
21
|
+
let child = null;
|
|
22
|
+
let key = null;
|
|
23
|
+
let slotName = null;
|
|
24
|
+
let simple = false;
|
|
25
|
+
let lastSimple = false;
|
|
26
|
+
const vNodeChildren = [];
|
|
27
|
+
const walk = (c) => {
|
|
28
|
+
for (let i = 0; i < c.length; i++) {
|
|
29
|
+
child = c[i];
|
|
30
|
+
if (Array.isArray(child)) {
|
|
31
|
+
walk(child);
|
|
32
|
+
}
|
|
33
|
+
else if (child != null && typeof child !== 'boolean') {
|
|
34
|
+
if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
|
|
35
|
+
child = String(child);
|
|
36
|
+
}
|
|
37
|
+
if (simple && lastSimple) {
|
|
38
|
+
// If the previous child was simple (string), we merge both
|
|
39
|
+
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
// Append a new vNode, if it's text, we create a text vNode
|
|
43
|
+
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
|
44
|
+
}
|
|
45
|
+
lastSimple = simple;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
walk(children);
|
|
50
|
+
if (vnodeData) {
|
|
51
|
+
// normalize class / classname attributes
|
|
52
|
+
if (vnodeData.key) {
|
|
53
|
+
key = vnodeData.key;
|
|
54
|
+
}
|
|
55
|
+
if (vnodeData.name) {
|
|
56
|
+
slotName = vnodeData.name;
|
|
57
|
+
}
|
|
58
|
+
{
|
|
59
|
+
const classData = vnodeData.className || vnodeData.class;
|
|
60
|
+
if (classData) {
|
|
61
|
+
vnodeData.class =
|
|
62
|
+
typeof classData !== 'object'
|
|
63
|
+
? classData
|
|
64
|
+
: Object.keys(classData)
|
|
65
|
+
.filter((k) => classData[k])
|
|
66
|
+
.join(' ');
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (typeof nodeName === 'function') {
|
|
71
|
+
// nodeName is a functional component
|
|
72
|
+
return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
|
|
73
|
+
}
|
|
74
|
+
const vnode = newVNode(nodeName, null);
|
|
75
|
+
vnode.$attrs$ = vnodeData;
|
|
76
|
+
if (vNodeChildren.length > 0) {
|
|
77
|
+
vnode.$children$ = vNodeChildren;
|
|
78
|
+
}
|
|
79
|
+
{
|
|
80
|
+
vnode.$key$ = key;
|
|
81
|
+
}
|
|
82
|
+
{
|
|
83
|
+
vnode.$name$ = slotName;
|
|
84
|
+
}
|
|
85
|
+
return vnode;
|
|
86
|
+
};
|
|
87
|
+
const newVNode = (tag, text) => {
|
|
88
|
+
const vnode = {
|
|
89
|
+
$flags$: 0,
|
|
90
|
+
$tag$: tag,
|
|
91
|
+
$text$: text,
|
|
92
|
+
$elm$: null,
|
|
93
|
+
$children$: null,
|
|
94
|
+
};
|
|
95
|
+
{
|
|
96
|
+
vnode.$attrs$ = null;
|
|
97
|
+
}
|
|
98
|
+
{
|
|
99
|
+
vnode.$key$ = null;
|
|
100
|
+
}
|
|
101
|
+
{
|
|
102
|
+
vnode.$name$ = null;
|
|
103
|
+
}
|
|
104
|
+
return vnode;
|
|
105
|
+
};
|
|
106
|
+
const vdomFnUtils = {
|
|
107
|
+
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
108
|
+
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
109
|
+
};
|
|
110
|
+
const convertToPublic = (node) => ({
|
|
111
|
+
vattrs: node.$attrs$,
|
|
112
|
+
vchildren: node.$children$,
|
|
113
|
+
vkey: node.$key$,
|
|
114
|
+
vname: node.$name$,
|
|
115
|
+
vtag: node.$tag$,
|
|
116
|
+
vtext: node.$text$,
|
|
117
|
+
});
|
|
118
|
+
const convertToPrivate = (node) => {
|
|
119
|
+
if (typeof node.vtag === 'function') {
|
|
120
|
+
const vnodeData = Object.assign({}, node.vattrs);
|
|
121
|
+
if (node.vkey) {
|
|
122
|
+
vnodeData.key = node.vkey;
|
|
123
|
+
}
|
|
124
|
+
if (node.vname) {
|
|
125
|
+
vnodeData.name = node.vname;
|
|
126
|
+
}
|
|
127
|
+
return h(node.vtag, vnodeData, ...(node.vchildren || []));
|
|
128
|
+
}
|
|
129
|
+
const vnode = newVNode(node.vtag, node.vtext);
|
|
130
|
+
vnode.$attrs$ = node.vattrs;
|
|
131
|
+
vnode.$children$ = node.vchildren;
|
|
132
|
+
vnode.$key$ = node.vkey;
|
|
133
|
+
vnode.$name$ = node.vname;
|
|
134
|
+
return vnode;
|
|
135
|
+
};
|
|
136
|
+
const Fragment = (_, children) => children;
|
|
137
|
+
|
|
138
|
+
export { Fragment as F, h };
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
// Older browsers don't support event options, feature detect it.
|
|
5
|
+
|
|
6
|
+
// Adopted and modified solution from Bohdan Didukh (2017)
|
|
7
|
+
// https://stackoverflow.com/questions/41594997/ios-10-safari-prevent-scrolling-behind-a-fixed-overlay-and-maintain-scroll-posi
|
|
8
|
+
|
|
9
|
+
let hasPassiveEvents = false;
|
|
10
|
+
if (typeof window !== 'undefined') {
|
|
11
|
+
const passiveTestOptions = {
|
|
12
|
+
get passive() {
|
|
13
|
+
hasPassiveEvents = true;
|
|
14
|
+
return undefined;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
window.addEventListener('testPassive', null, passiveTestOptions);
|
|
18
|
+
window.removeEventListener('testPassive', null, passiveTestOptions);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const isIosDevice = typeof window !== 'undefined' && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === 'MacIntel' && window.navigator.maxTouchPoints > 1);
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
let locks = [];
|
|
25
|
+
let documentListenerAdded = false;
|
|
26
|
+
let initialClientY = -1;
|
|
27
|
+
let previousBodyOverflowSetting;
|
|
28
|
+
let previousBodyPaddingRight;
|
|
29
|
+
|
|
30
|
+
// returns true if `el` should be allowed to receive touchmove events.
|
|
31
|
+
const allowTouchMove = el => locks.some(lock => {
|
|
32
|
+
if (lock.options.allowTouchMove && lock.options.allowTouchMove(el)) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return false;
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
const preventDefault = rawEvent => {
|
|
40
|
+
const e = rawEvent || window.event;
|
|
41
|
+
|
|
42
|
+
// For the case whereby consumers adds a touchmove event listener to document.
|
|
43
|
+
// Recall that we do document.addEventListener('touchmove', preventDefault, { passive: false })
|
|
44
|
+
// in disableBodyScroll - so if we provide this opportunity to allowTouchMove, then
|
|
45
|
+
// the touchmove event on document will break.
|
|
46
|
+
if (allowTouchMove(e.target)) {
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Do not prevent if the event has more than one touch (usually meaning this is a multi touch gesture like pinch to zoom).
|
|
51
|
+
if (e.touches.length > 1) return true;
|
|
52
|
+
|
|
53
|
+
if (e.preventDefault) e.preventDefault();
|
|
54
|
+
|
|
55
|
+
return false;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const setOverflowHidden = options => {
|
|
59
|
+
// If previousBodyPaddingRight is already set, don't set it again.
|
|
60
|
+
if (previousBodyPaddingRight === undefined) {
|
|
61
|
+
const reserveScrollBarGap = !!options && options.reserveScrollBarGap === true;
|
|
62
|
+
const scrollBarGap = window.innerWidth - document.documentElement.clientWidth;
|
|
63
|
+
|
|
64
|
+
if (reserveScrollBarGap && scrollBarGap > 0) {
|
|
65
|
+
previousBodyPaddingRight = document.body.style.paddingRight;
|
|
66
|
+
document.body.style.paddingRight = `${scrollBarGap}px`;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// If previousBodyOverflowSetting is already set, don't set it again.
|
|
71
|
+
if (previousBodyOverflowSetting === undefined) {
|
|
72
|
+
previousBodyOverflowSetting = document.body.style.overflow;
|
|
73
|
+
document.body.style.overflow = 'hidden';
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
const restoreOverflowSetting = () => {
|
|
78
|
+
if (previousBodyPaddingRight !== undefined) {
|
|
79
|
+
document.body.style.paddingRight = previousBodyPaddingRight;
|
|
80
|
+
|
|
81
|
+
// Restore previousBodyPaddingRight to undefined so setOverflowHidden knows it
|
|
82
|
+
// can be set again.
|
|
83
|
+
previousBodyPaddingRight = undefined;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if (previousBodyOverflowSetting !== undefined) {
|
|
87
|
+
document.body.style.overflow = previousBodyOverflowSetting;
|
|
88
|
+
|
|
89
|
+
// Restore previousBodyOverflowSetting to undefined
|
|
90
|
+
// so setOverflowHidden knows it can be set again.
|
|
91
|
+
previousBodyOverflowSetting = undefined;
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight#Problems_and_solutions
|
|
96
|
+
const isTargetElementTotallyScrolled = targetElement => targetElement ? targetElement.scrollHeight - targetElement.scrollTop <= targetElement.clientHeight : false;
|
|
97
|
+
|
|
98
|
+
const handleScroll = (event, targetElement) => {
|
|
99
|
+
const clientY = event.targetTouches[0].clientY - initialClientY;
|
|
100
|
+
|
|
101
|
+
if (allowTouchMove(event.target)) {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (targetElement && targetElement.scrollTop === 0 && clientY > 0) {
|
|
106
|
+
// element is at the top of its scroll.
|
|
107
|
+
return preventDefault(event);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (isTargetElementTotallyScrolled(targetElement) && clientY < 0) {
|
|
111
|
+
// element is at the bottom of its scroll.
|
|
112
|
+
return preventDefault(event);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
event.stopPropagation();
|
|
116
|
+
return true;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
const disableBodyScroll = (targetElement, options) => {
|
|
120
|
+
// targetElement must be provided
|
|
121
|
+
if (!targetElement) {
|
|
122
|
+
// eslint-disable-next-line no-console
|
|
123
|
+
console.error('disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.');
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
// disableBodyScroll must not have been called on this targetElement before
|
|
128
|
+
if (locks.some(lock => lock.targetElement === targetElement)) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const lock = {
|
|
133
|
+
targetElement,
|
|
134
|
+
options: options || {}
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
locks = [...locks, lock];
|
|
138
|
+
|
|
139
|
+
if (isIosDevice) {
|
|
140
|
+
targetElement.ontouchstart = event => {
|
|
141
|
+
if (event.targetTouches.length === 1) {
|
|
142
|
+
// detect single touch.
|
|
143
|
+
initialClientY = event.targetTouches[0].clientY;
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
targetElement.ontouchmove = event => {
|
|
147
|
+
if (event.targetTouches.length === 1) {
|
|
148
|
+
// detect single touch.
|
|
149
|
+
handleScroll(event, targetElement);
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
if (!documentListenerAdded) {
|
|
154
|
+
document.addEventListener('touchmove', preventDefault, hasPassiveEvents ? { passive: false } : undefined);
|
|
155
|
+
documentListenerAdded = true;
|
|
156
|
+
}
|
|
157
|
+
} else {
|
|
158
|
+
setOverflowHidden(options);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
const enableBodyScroll = targetElement => {
|
|
163
|
+
if (!targetElement) {
|
|
164
|
+
// eslint-disable-next-line no-console
|
|
165
|
+
console.error('enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.');
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
locks = locks.filter(lock => lock.targetElement !== targetElement);
|
|
170
|
+
|
|
171
|
+
if (isIosDevice) {
|
|
172
|
+
targetElement.ontouchstart = null;
|
|
173
|
+
targetElement.ontouchmove = null;
|
|
174
|
+
|
|
175
|
+
if (documentListenerAdded && locks.length === 0) {
|
|
176
|
+
document.removeEventListener('touchmove', preventDefault, hasPassiveEvents ? { passive: false } : undefined);
|
|
177
|
+
documentListenerAdded = false;
|
|
178
|
+
}
|
|
179
|
+
} else if (!locks.length) {
|
|
180
|
+
restoreOverflowSetting();
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
export { disableBodyScroll as d, enableBodyScroll as e };
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-1ad6b04e.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
import { w as watchForOptions } from './p-12721178.js';
|
|
7
|
+
|
|
8
|
+
const duetListCss = "*,*::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-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";
|
|
9
|
+
|
|
10
|
+
const DuetList = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
this.__attachShadow();
|
|
15
|
+
/**
|
|
16
|
+
* Theme of the list.
|
|
17
|
+
*/
|
|
18
|
+
this.theme = "";
|
|
19
|
+
/**
|
|
20
|
+
* Controls the margin of the component.
|
|
21
|
+
*/
|
|
22
|
+
this.margin = "auto";
|
|
23
|
+
/**
|
|
24
|
+
* Controls the padding of the component.
|
|
25
|
+
*/
|
|
26
|
+
this.padding = "auto";
|
|
27
|
+
/**
|
|
28
|
+
* Adjusts the alignment of the list items on mobile breakpoint.
|
|
29
|
+
*/
|
|
30
|
+
this.mobile = "left";
|
|
31
|
+
/**
|
|
32
|
+
* Switch the breakpoint used to trigger the content stacking. These match to
|
|
33
|
+
* similar media query tokens: $media-query-small and $media-query-large.
|
|
34
|
+
*/
|
|
35
|
+
this.breakpoint = "small";
|
|
36
|
+
/**
|
|
37
|
+
* Style variation of the list.
|
|
38
|
+
*/
|
|
39
|
+
this.variation = "default";
|
|
40
|
+
/**
|
|
41
|
+
* Set the column width of the first column in percentages.
|
|
42
|
+
*/
|
|
43
|
+
this.labelWidth = "30";
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Component lifecycle events.
|
|
47
|
+
*/
|
|
48
|
+
componentWillLoad() {
|
|
49
|
+
inheritGlobalTheme(this);
|
|
50
|
+
}
|
|
51
|
+
async connectedCallback() {
|
|
52
|
+
const el = this.element;
|
|
53
|
+
this.mutationO = watchForOptions(el, "duet-list-item", () => {
|
|
54
|
+
this.updateListItems();
|
|
55
|
+
});
|
|
56
|
+
this.updateListItems();
|
|
57
|
+
}
|
|
58
|
+
disconnectedCallback() {
|
|
59
|
+
if (this.mutationO) {
|
|
60
|
+
this.mutationO.disconnect();
|
|
61
|
+
this.mutationO = undefined;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Local methods
|
|
66
|
+
*/
|
|
67
|
+
toggleClass(elem, className, force) {
|
|
68
|
+
if (force) {
|
|
69
|
+
elem.classList.add(className);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
elem.classList.remove(className);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
async updateListItems() {
|
|
76
|
+
const items = Array.from(this.element.querySelectorAll("duet-list-item"));
|
|
77
|
+
items.forEach(item => {
|
|
78
|
+
// Use classes to apply styles for SSR compatibility
|
|
79
|
+
item.classList.add(`duet-list-width-${this.labelWidth}`);
|
|
80
|
+
item.classList.add(`duet-list-variation-${this.variation}`);
|
|
81
|
+
// If padding is set to 0
|
|
82
|
+
this.toggleClass(item, "duet-p-0", this.padding === "none");
|
|
83
|
+
// If text is centered for mobile
|
|
84
|
+
this.toggleClass(item, "duet-list-mobile-center", this.mobile === "center");
|
|
85
|
+
// If breakpoint is adjusted
|
|
86
|
+
this.toggleClass(item, "duet-list-breakpoint-large", this.breakpoint === "large");
|
|
87
|
+
// Create zebra striping if striped variation is used
|
|
88
|
+
this.toggleClass(item, "duet-list-striped", this.variation === "striped");
|
|
89
|
+
// Finally apply turva theme if necessary
|
|
90
|
+
this.toggleClass(item, "duet-theme-turva", this.theme === "turva");
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* render() function
|
|
95
|
+
* Always the last one in the class.
|
|
96
|
+
*/
|
|
97
|
+
render() {
|
|
98
|
+
return (h("dl", { class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", null)));
|
|
99
|
+
}
|
|
100
|
+
get element() { return this; }
|
|
101
|
+
static get watchers() { return {
|
|
102
|
+
"theme": ["updateListItems"],
|
|
103
|
+
"padding": ["updateListItems"],
|
|
104
|
+
"mobile": ["updateListItems"],
|
|
105
|
+
"breakpoint": ["updateListItems"],
|
|
106
|
+
"variation": ["updateListItems"],
|
|
107
|
+
"labelWidth": ["updateListItems"]
|
|
108
|
+
}; }
|
|
109
|
+
static get style() { return duetListCss; }
|
|
110
|
+
}, [1, "duet-list", {
|
|
111
|
+
"theme": [1025],
|
|
112
|
+
"margin": [1],
|
|
113
|
+
"padding": [1],
|
|
114
|
+
"mobile": [1],
|
|
115
|
+
"breakpoint": [1],
|
|
116
|
+
"variation": [1],
|
|
117
|
+
"labelWidth": [1, "label-width"]
|
|
118
|
+
}]);
|
|
119
|
+
function defineCustomElement() {
|
|
120
|
+
if (typeof customElements === "undefined") {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
const components = ["duet-list"];
|
|
124
|
+
components.forEach(tagName => { switch (tagName) {
|
|
125
|
+
case "duet-list":
|
|
126
|
+
if (!customElements.get(tagName)) {
|
|
127
|
+
customElements.define(tagName, DuetList);
|
|
128
|
+
}
|
|
129
|
+
break;
|
|
130
|
+
} });
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export { DuetList as D, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
function chr4() {
|
|
5
|
+
return Math.random().toString(16).slice(-4);
|
|
6
|
+
}
|
|
7
|
+
function createID(prefix) {
|
|
8
|
+
return `${prefix}-${chr4()}${chr4()}-${chr4()}-${chr4()}-${chr4()}-${chr4()}${chr4()}${chr4()}`;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { createID as c };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-1ad6b04e.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
import { g as getColorByName } from './p-86faf728.js';
|
|
7
|
+
|
|
8
|
+
const duetParagraphCss = "*,*::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:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display: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\";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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:#171c3a}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:#0077b3;text-decoration:underline;transition:300ms ease}::slotted(a).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:#c60c30}::slotted(a):hover{color:#004d80;text-decoration:none}::slotted(a):hover.duet-theme-turva{color:#940925}::slotted(a):active{opacity:0.75;transition:none}";
|
|
9
|
+
|
|
10
|
+
const DuetParagraph = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
this.__attachShadow();
|
|
15
|
+
/**
|
|
16
|
+
* Theme of the paragraph.
|
|
17
|
+
*/
|
|
18
|
+
this.theme = "";
|
|
19
|
+
/**
|
|
20
|
+
* Controls the margin of the component.
|
|
21
|
+
*/
|
|
22
|
+
this.margin = "auto";
|
|
23
|
+
/**
|
|
24
|
+
* Controls the size of the paragraph.
|
|
25
|
+
*/
|
|
26
|
+
this.size = "medium";
|
|
27
|
+
/**
|
|
28
|
+
* Controls the Font-Weight of the paragraph.
|
|
29
|
+
*/
|
|
30
|
+
this.weight = undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Style variation of the paragraph.
|
|
33
|
+
*/
|
|
34
|
+
this.variation = "default";
|
|
35
|
+
/**
|
|
36
|
+
* Custom color to be used for text, as a design token entered in camelCase or kebab-case.
|
|
37
|
+
* Example: "color-primary".
|
|
38
|
+
*/
|
|
39
|
+
this.color = "";
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Component lifecycle events.
|
|
43
|
+
*/
|
|
44
|
+
componentWillLoad() {
|
|
45
|
+
inheritGlobalTheme(this);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* render() function
|
|
49
|
+
* Always the last one in the class.
|
|
50
|
+
*/
|
|
51
|
+
render() {
|
|
52
|
+
const color = getColorByName(this.color);
|
|
53
|
+
return (h("p", { class: {
|
|
54
|
+
"duet-paragraph": true,
|
|
55
|
+
"duet-paragraph-small": this.size === "small",
|
|
56
|
+
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
57
|
+
"duet-paragraph-bold": this.weight === "bold",
|
|
58
|
+
"duet-m-0": this.margin === "none",
|
|
59
|
+
[this.variation]: true,
|
|
60
|
+
"duet-theme-turva": this.theme === "turva",
|
|
61
|
+
}, style: { color }, part: "duet-paragraph" }, h("slot", null)));
|
|
62
|
+
}
|
|
63
|
+
get element() { return this; }
|
|
64
|
+
static get style() { return duetParagraphCss; }
|
|
65
|
+
}, [1, "duet-paragraph", {
|
|
66
|
+
"theme": [1025],
|
|
67
|
+
"margin": [1],
|
|
68
|
+
"size": [1],
|
|
69
|
+
"weight": [1],
|
|
70
|
+
"variation": [1],
|
|
71
|
+
"color": [1]
|
|
72
|
+
}]);
|
|
73
|
+
function defineCustomElement() {
|
|
74
|
+
if (typeof customElements === "undefined") {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const components = ["duet-paragraph"];
|
|
78
|
+
components.forEach(tagName => { switch (tagName) {
|
|
79
|
+
case "duet-paragraph":
|
|
80
|
+
if (!customElements.get(tagName)) {
|
|
81
|
+
customElements.define(tagName, DuetParagraph);
|
|
82
|
+
}
|
|
83
|
+
break;
|
|
84
|
+
} });
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export { DuetParagraph as D, defineCustomElement as d };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, b as Host } from './p-1ad6b04e.js';
|
|
5
|
+
import { a as actionNewWindowSmall } from './p-f11208c3.js';
|
|
6
|
+
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
7
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
8
|
+
import { a as getLanguage, g as getLocaleString } from './p-ede854e1.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-4f516732.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './p-53a0c93d.js';
|
|
11
|
+
|
|
12
|
+
const duetLinkCss = "*,*::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:inline}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:#0077b3;text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.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:#c60c30}.duet-link:hover{color:#004d80;text-decoration:none}.duet-link:hover.duet-theme-turva{color:#940925}.duet-link:active{opacity:0.75;transition:none}.duet-link-external{margin-left:4px}";
|
|
13
|
+
|
|
14
|
+
const DuetLink = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
this.__registerHost();
|
|
18
|
+
this.__attachShadow();
|
|
19
|
+
/**
|
|
20
|
+
* The currently active language. This setting changes the external link
|
|
21
|
+
* accessible label to match the chosen language.
|
|
22
|
+
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
23
|
+
* @default "fi"
|
|
24
|
+
*/
|
|
25
|
+
this.language = getLanguage();
|
|
26
|
+
/**
|
|
27
|
+
* Defaults for accessibleLabelExternal
|
|
28
|
+
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
29
|
+
*/
|
|
30
|
+
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
31
|
+
/**
|
|
32
|
+
* Adds accessible label for tooltip that is shown in external link (url & external have both been set)
|
|
33
|
+
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
34
|
+
*/
|
|
35
|
+
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
36
|
+
/**
|
|
37
|
+
* Theme of the button.
|
|
38
|
+
*/
|
|
39
|
+
this.theme = "";
|
|
40
|
+
/**
|
|
41
|
+
* A destination to link to, rendered in the href attribute of a link.
|
|
42
|
+
*/
|
|
43
|
+
this.url = "#";
|
|
44
|
+
/**
|
|
45
|
+
* Forces URL to open in a new browser tab. Used together with URL prop.
|
|
46
|
+
*/
|
|
47
|
+
this.external = false;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Component lifecycle events.
|
|
51
|
+
*/
|
|
52
|
+
componentWillLoad() {
|
|
53
|
+
inheritGlobalTheme(this);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Sets focus on the specified `duet-link`. Use this method instead of the global
|
|
57
|
+
* `link.focus()`.
|
|
58
|
+
*/
|
|
59
|
+
async setFocus(options) {
|
|
60
|
+
this.nativeLink.focus(options);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* render() function
|
|
64
|
+
* Always the last one in the class.
|
|
65
|
+
*/
|
|
66
|
+
render() {
|
|
67
|
+
return (h(Host, null, h("a", { href: this.url, class: {
|
|
68
|
+
"duet-link": true,
|
|
69
|
+
"duet-link-is-external": this.external,
|
|
70
|
+
"duet-theme-turva": this.theme === "turva",
|
|
71
|
+
}, target: this.external ? "_blank" : "_self", "aria-label": this.accessibleLabel, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, h("slot", null), this.external && (h(Fragment, null, h("duet-visually-hidden", null, this.accessibleLabelExternal), h("span", { class: "duet-link-external" }, h("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))))));
|
|
72
|
+
}
|
|
73
|
+
static get delegatesFocus() { return true; }
|
|
74
|
+
static get style() { return duetLinkCss; }
|
|
75
|
+
}, [17, "duet-link", {
|
|
76
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
77
|
+
"language": [1025],
|
|
78
|
+
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
79
|
+
"accessibleLabelExternal": [1, "accessible-label-external"],
|
|
80
|
+
"identifier": [1],
|
|
81
|
+
"theme": [1025],
|
|
82
|
+
"url": [513],
|
|
83
|
+
"external": [4],
|
|
84
|
+
"setFocus": [64]
|
|
85
|
+
}]);
|
|
86
|
+
function defineCustomElement() {
|
|
87
|
+
if (typeof customElements === "undefined") {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
const components = ["duet-link", "duet-icon", "duet-visually-hidden"];
|
|
91
|
+
components.forEach(tagName => { switch (tagName) {
|
|
92
|
+
case "duet-link":
|
|
93
|
+
if (!customElements.get(tagName)) {
|
|
94
|
+
customElements.define(tagName, DuetLink);
|
|
95
|
+
}
|
|
96
|
+
break;
|
|
97
|
+
case "duet-icon":
|
|
98
|
+
if (!customElements.get(tagName)) {
|
|
99
|
+
defineCustomElement$2();
|
|
100
|
+
}
|
|
101
|
+
break;
|
|
102
|
+
case "duet-visually-hidden":
|
|
103
|
+
if (!customElements.get(tagName)) {
|
|
104
|
+
defineCustomElement$1();
|
|
105
|
+
}
|
|
106
|
+
break;
|
|
107
|
+
} });
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { DuetLink as D, defineCustomElement as d };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
var formSearch={"title":"form-search","tags":"form search magnifying glass","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M23.245 23.996a.743.743 0 0 1-.53-.22L16.2 17.26a9.824 9.824 0 0 1-2.553 1.579 9.766 9.766 0 0 1-7.51.069 9.745 9.745 0 0 1-5.359-5.262c-1.025-2.412-1.05-5.08-.069-7.51S3.558 1.802 5.97.777a9.744 9.744 0 0 1 7.51-.069c2.431.981 4.334 2.849 5.359 5.262s1.05 5.08.069 7.51a9.807 9.807 0 0 1-1.649 2.718l6.517 6.518a.75.75 0 0 1-.531 1.28zM9.807 1.49a8.259 8.259 0 0 0-3.25.667c-2.044.869-3.627 2.481-4.458 4.54s-.81 4.318.058 6.362a8.26 8.26 0 0 0 4.54 4.458 8.259 8.259 0 0 0 6.362-.059 8.285 8.285 0 0 0 2.594-1.736.365.365 0 0 1 .077-.076 8.245 8.245 0 0 0 1.786-2.728 8.255 8.255 0 0 0-.059-6.362 8.257 8.257 0 0 0-4.54-4.458 8.28 8.28 0 0 0-3.11-.608z\"/></svg>"};
|
|
5
|
+
|
|
6
|
+
export { formSearch as f };
|