@duetds/components 6.2.4 → 6.2.6
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 +1 -1
- package/hydrate/index.js +2385 -4366
- package/lib/cjs/{dom-96576bce.js → dom-bcfa684c.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +14 -77
- package/lib/cjs/duet-alert.cjs.entry.js +10 -42
- package/lib/cjs/duet-badge.cjs.entry.js +1 -10
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -10
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +30 -119
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -78
- package/lib/cjs/duet-card.cjs.entry.js +16 -55
- package/lib/cjs/duet-checkbox.cjs.entry.js +21 -49
- package/lib/cjs/duet-choice_2.cjs.entry.js +52 -153
- package/lib/cjs/duet-collapsible.cjs.entry.js +8 -41
- package/lib/cjs/duet-combobox.cjs.entry.js +26 -50
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -9
- package/lib/cjs/duet-date-picker.cjs.entry.js +37 -108
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -17
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +163 -404
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -10
- package/lib/cjs/duet-fieldset.cjs.entry.js +8 -14
- package/lib/cjs/duet-footer.cjs.entry.js +13 -42
- package/lib/cjs/duet-grid_2.cjs.entry.js +3 -43
- package/lib/cjs/duet-header_2.cjs.entry.js +56 -163
- package/lib/cjs/duet-hero.cjs.entry.js +15 -90
- package/lib/cjs/duet-icon.cjs.entry.js +4 -35
- package/lib/cjs/duet-input_2.cjs.entry.js +41 -115
- package/lib/cjs/duet-layout.cjs.entry.js +1 -24
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -23
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +15 -11
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +28 -26
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +22 -12
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -8
- package/lib/cjs/duet-modal.cjs.entry.js +4 -59
- package/lib/cjs/duet-multiselect.cjs.entry.js +18 -59
- package/lib/cjs/duet-nav.cjs.entry.js +2 -83
- package/lib/cjs/duet-notification_2.cjs.entry.js +15 -74
- package/lib/cjs/duet-number-input.cjs.entry.js +53 -142
- package/lib/cjs/duet-pagination_2.cjs.entry.js +51 -125
- package/lib/cjs/duet-progress.cjs.entry.js +4 -26
- package/lib/cjs/duet-radio_2.cjs.entry.js +36 -84
- package/lib/cjs/duet-range-slider.cjs.entry.js +21 -62
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +25 -88
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -7
- package/lib/cjs/duet-select.cjs.entry.js +25 -65
- package/lib/cjs/duet-step_2.cjs.entry.js +8 -34
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +43 -0
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +51 -0
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +37 -0
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +35 -0
- package/lib/cjs/duet-textarea.cjs.entry.js +31 -79
- package/lib/cjs/duet-toggle.cjs.entry.js +15 -38
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -13
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +11 -28
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -14
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -5
- package/lib/cjs/duet-tooltip.cjs.entry.js +25 -77
- package/lib/cjs/duet-tray.cjs.entry.js +11 -53
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +8 -29
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/{focus-utils-25247ce1.js → focus-utils-0d18f24e.js} +1 -1
- package/lib/cjs/{index-e009343b.js → index-14a34a4b.js} +1438 -1235
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{shadow-css-38b9e725.js → shadow-css-1ea48714.js} +1 -1
- package/lib/collection/collection-manifest.json +8 -8
- package/lib/collection/common/a11y-component.js +0 -3
- package/lib/collection/common/form-components.js +0 -3
- package/lib/collection/components/duet-action-button/duet-action-button.js +403 -461
- package/lib/collection/components/duet-alert/duet-alert.js +259 -289
- package/lib/collection/components/duet-badge/duet-badge.js +84 -89
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +96 -101
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +47 -48
- package/lib/collection/components/duet-button/duet-button.js +838 -912
- package/lib/collection/components/duet-caption/duet-caption.js +96 -103
- package/lib/collection/components/duet-card/duet-card.js +381 -431
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +476 -498
- package/lib/collection/components/duet-choice/duet-choice.css +6 -1
- package/lib/collection/components/duet-choice/duet-choice.js +731 -819
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +282 -308
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +208 -237
- package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +1 -5
- package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -3
- package/lib/collection/components/duet-combobox/duet-combobox.css +47 -14
- package/lib/collection/components/duet-combobox/duet-combobox.js +257 -269
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +77 -82
- package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -3
- package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -12
- package/lib/collection/components/duet-date-picker/date-picker-month.js +6 -12
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +703 -795
- package/lib/collection/components/duet-divider/duet-divider.js +57 -57
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +316 -381
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +83 -90
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +2 -0
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +143 -153
- package/lib/collection/components/duet-footer/duet-footer.js +337 -378
- package/lib/collection/components/duet-grid/duet-grid.js +149 -162
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +153 -164
- package/lib/collection/components/duet-header/duet-header-dropdown.js +11 -19
- package/lib/collection/components/duet-header/duet-header-hamburger.js +1 -5
- package/lib/collection/components/duet-header/duet-header-icon.js +1 -2
- package/lib/collection/components/duet-header/duet-header.js +872 -1023
- package/lib/collection/components/duet-heading/duet-heading.js +183 -200
- package/lib/collection/components/duet-hero/duet-hero.js +568 -660
- package/lib/collection/components/duet-icon/duet-icon.js +240 -263
- package/lib/collection/components/duet-input/duet-input.js +937 -1009
- package/lib/collection/components/duet-label/duet-label.js +95 -100
- package/lib/collection/components/duet-layout/duet-layout.js +163 -189
- package/lib/collection/components/duet-link/duet-link.js +204 -223
- package/lib/collection/components/duet-list/duet-list.js +181 -196
- package/lib/collection/components/duet-list-item/duet-list-item.js +12 -12
- package/lib/collection/components/duet-logo/duet-logo.js +171 -190
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +8 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +62 -43
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +4 -3
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +110 -120
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +10 -2
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +105 -80
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +47 -7
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +108 -77
- package/lib/collection/components/duet-modal/duet-modal.js +466 -520
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +411 -454
- package/lib/collection/components/duet-nav/duet-nav.css +5 -0
- package/lib/collection/components/duet-nav/duet-nav.js +38 -152
- package/lib/collection/components/duet-notification/duet-notification.js +201 -231
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +284 -312
- package/lib/collection/components/duet-number-input/duet-number-input.js +851 -944
- package/lib/collection/components/duet-pagination/duet-pagination.js +374 -439
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +140 -154
- package/lib/collection/components/duet-progress/duet-progress.js +223 -253
- package/lib/collection/components/duet-radio/duet-radio.js +519 -531
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +282 -308
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +468 -505
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +187 -204
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +98 -106
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +58 -61
- package/lib/collection/components/duet-select/duet-select.js +565 -606
- package/lib/collection/components/duet-spacer/duet-spacer.js +77 -81
- package/lib/collection/components/duet-spinner/duet-spinner.js +99 -107
- package/lib/collection/components/duet-step/duet-step.js +206 -219
- package/lib/collection/components/duet-stepper/duet-stepper.js +148 -156
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +37 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +63 -0
- package/lib/collection/components/{duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.css → duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css} +28 -18
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +124 -0
- package/lib/collection/components/{duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.css → duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css} +6 -6
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +143 -0
- package/lib/collection/components/{duet-menu-bar-menu-link/duet-menu-bar-menu-link.css → duet-submenu-bar-link/duet-submenu-bar-link.css} +5 -17
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +101 -0
- package/lib/collection/components/duet-tab/duet-tab.js +95 -96
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +367 -405
- package/lib/collection/components/duet-table/duet-table.js +144 -160
- package/lib/collection/components/duet-textarea/duet-textarea.js +694 -747
- package/lib/collection/components/duet-toggle/duet-toggle.js +388 -404
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +1 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +38 -38
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +2 -3
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +116 -145
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +93 -102
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +89 -98
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +349 -401
- package/lib/collection/components/duet-tray/duet-tray.js +235 -276
- package/lib/collection/components/duet-upload/duet-upload.js +1371 -1549
- package/lib/collection/components/duet-upload/upload-editable-item-error.js +1 -6
- package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +1 -6
- package/lib/collection/components/duet-upload/upload-editable-item-pending.js +1 -4
- package/lib/collection/components/duet-upload/upload-editable-item-success.js +5 -21
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +137 -153
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +12 -9
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -11
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +19 -58
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +19 -49
- package/lib/dist-custom-elements/duet-choice.js +43 -114
- package/lib/dist-custom-elements/duet-collapsible.js +10 -43
- package/lib/dist-custom-elements/duet-combobox.js +29 -59
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -14
- package/lib/dist-custom-elements/duet-date-picker.js +45 -116
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +1 -1
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +16 -45
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +65 -152
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +23 -98
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -24
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +18 -13
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +30 -28
- package/lib/dist-custom-elements/duet-menu-bar-link.js +24 -13
- package/lib/dist-custom-elements/duet-menu-bar.js +9 -10
- package/lib/dist-custom-elements/duet-modal.js +10 -65
- package/lib/dist-custom-elements/duet-multiselect.js +25 -66
- package/lib/dist-custom-elements/duet-nav.js +3 -84
- package/lib/dist-custom-elements/duet-notification-drawer.js +18 -48
- package/lib/dist-custom-elements/duet-notification.js +2 -31
- package/lib/dist-custom-elements/duet-number-input.js +59 -148
- package/lib/dist-custom-elements/duet-pagination.js +51 -101
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +19 -49
- package/lib/dist-custom-elements/duet-radio.js +23 -41
- package/lib/dist-custom-elements/duet-range-slider.js +23 -64
- package/lib/dist-custom-elements/duet-range-stepper.js +10 -34
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -7
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +11 -20
- package/lib/dist-custom-elements/duet-stepper.js +2 -19
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +11 -0
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +69 -0
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +11 -0
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +75 -0
- package/lib/dist-custom-elements/{duet-menu-bar-menu-link.d.ts → duet-submenu-bar-link.d.ts} +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +61 -0
- package/lib/dist-custom-elements/{duet-menu-bar-menu.d.ts → duet-submenu-bar.d.ts} +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +51 -0
- package/lib/dist-custom-elements/duet-tab-group.js +26 -72
- package/lib/dist-custom-elements/duet-tab.js +3 -9
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +38 -86
- package/lib/dist-custom-elements/duet-toggle.js +16 -39
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -14
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +13 -30
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -15
- package/lib/dist-custom-elements/duet-toolbar.js +2 -5
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +14 -56
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +165 -332
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.d.ts +75 -5
- package/lib/dist-custom-elements/index.js +76 -1
- package/lib/dist-custom-elements/{p-dcffd5be.js → p-0145dc9f.js} +1 -7
- package/lib/dist-custom-elements/{p-0938933e.js → p-029208b5.js} +20 -71
- package/lib/dist-custom-elements/{p-f674e164.js → p-076044f7.js} +17 -80
- package/lib/dist-custom-elements/{p-c5d74817.js → p-0bc5bea3.js} +2 -22
- package/lib/dist-custom-elements/{p-b4b809ff.js → p-11621a52.js} +33 -109
- package/lib/dist-custom-elements/{p-bd4ab88c.js → p-1c5a0ab0.js} +21 -49
- package/lib/dist-custom-elements/{p-70d1ca9f.js → p-2d3fc462.js} +1 -1
- package/lib/dist-custom-elements/{p-396cb7a5.js → p-2f9f54eb.js} +9 -30
- package/lib/dist-custom-elements/{p-8c0cf877.js → p-31b3a82e.js} +27 -79
- package/lib/dist-custom-elements/{p-29b4f008.js → p-3b1bc8f3.js} +5 -26
- package/lib/dist-custom-elements/{p-c4165359.js → p-4905133d.js} +1 -13
- package/lib/dist-custom-elements/{p-0347f9ec.js → p-49d5f105.js} +1 -1
- package/lib/dist-custom-elements/{p-1302f6e8.js → p-52471a7a.js} +5 -27
- package/lib/dist-custom-elements/{p-9ed347f9.js → p-535ce3ec.js} +1 -1
- package/lib/dist-custom-elements/{p-33e00967.js → p-55325c49.js} +1 -1
- package/lib/dist-custom-elements/{p-279dedcd.js → p-5846a06a.js} +2 -11
- package/lib/dist-custom-elements/{p-e57df145.js → p-626f0ed7.js} +2 -25
- package/lib/dist-custom-elements/{p-c4d8cad0.js → p-738bd3c5.js} +1 -1
- package/lib/dist-custom-elements/{p-862c60cc.js → p-7b1b2eef.js} +3 -16
- package/lib/dist-custom-elements/{p-6e81048c.js → p-88b72658.js} +30 -70
- package/lib/dist-custom-elements/{p-908c1151.js → p-91098fd5.js} +5 -36
- package/lib/dist-custom-elements/{p-0b8f16f1.js → p-9986919d.js} +1 -1
- package/lib/dist-custom-elements/{p-3fa8edce.js → p-9d08c707.js} +45 -111
- package/lib/dist-custom-elements/{p-4367369a.js → p-a1724291.js} +475 -272
- package/lib/dist-custom-elements/{p-b89983b2.js → p-a5f24f49.js} +1 -10
- package/lib/dist-custom-elements/{p-ed503468.js → p-ab04760e.js} +3 -20
- package/lib/dist-custom-elements/{p-2a509b17.js → p-becb3aa3.js} +2 -21
- package/lib/dist-custom-elements/{p-1fef1f90.js → p-cc5bc0c6.js} +9 -15
- package/lib/dist-custom-elements/{p-464a80f2.js → p-ce42be86.js} +1 -23
- package/lib/dist-custom-elements/{p-e987e04b.js → p-d188f26e.js} +1 -11
- package/lib/dist-custom-elements/{p-4bb2e37b.js → p-db985827.js} +6 -17
- package/lib/dist-custom-elements/{p-d4c234ed.js → p-e2cd1c98.js} +1 -1
- package/lib/dist-custom-elements/{p-b9058029.js → p-e4a60f42.js} +8 -0
- package/lib/dist-custom-elements/{p-9cfc3bee.js → p-e4c2e7eb.js} +14 -46
- package/lib/dist-custom-elements/{p-1f03397c.js → p-f079cc55.js} +7 -30
- package/lib/dist-custom-elements/{p-f51d88cc.js → p-f4d2face.js} +2 -10
- package/lib/dist-custom-elements/{p-ca2b02bc.js → p-fe5341bf.js} +3 -25
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +2 -1
- package/lib/duet/{p-61baccc6.system.entry.js → p-01a95d2f.system.entry.js} +1 -1
- package/lib/duet/p-06a4aee0.system.entry.js +4 -0
- package/lib/duet/{p-3b31184e.js → p-07970d29.js} +0 -0
- package/lib/duet/p-07a46bc0.entry.js +4 -0
- package/lib/duet/p-0818ae38.entry.js +4 -0
- package/lib/duet/{p-a5dcf047.entry.js → p-08f88403.entry.js} +1 -1
- package/lib/duet/{p-2cf9ce9f.system.entry.js → p-140c2b23.system.entry.js} +2 -2
- package/lib/duet/{p-e60b3dc2.entry.js → p-16665db1.entry.js} +1 -1
- package/lib/duet/{p-a585455c.system.entry.js → p-16803126.system.entry.js} +1 -1
- package/lib/duet/{p-71f1a210.system.entry.js → p-18bdd586.system.entry.js} +1 -1
- package/lib/duet/p-1bde084c.entry.js +4 -0
- package/lib/duet/p-1c8bd070.system.entry.js +4 -0
- package/lib/duet/p-1d75f8c8.system.entry.js +4 -0
- package/lib/duet/{p-eb94a92c.system.entry.js → p-1f1ce7cb.system.entry.js} +1 -1
- package/lib/duet/{p-21e8b3cb.system.entry.js → p-250c73cb.system.entry.js} +1 -1
- package/lib/duet/p-25bbc964.system.entry.js +4 -0
- package/lib/duet/p-2821969c.system.entry.js +4 -0
- package/lib/duet/{p-a5f977bc.system.entry.js → p-2ddfb202.system.entry.js} +2 -2
- package/lib/duet/{p-995fe7b5.entry.js → p-2e21973b.entry.js} +1 -1
- package/lib/duet/p-321b7e1b.entry.js +4 -0
- package/lib/duet/{p-71e54f66.system.entry.js → p-38c7c72f.system.entry.js} +1 -1
- package/lib/duet/{p-ace82109.system.entry.js → p-3d2b34f3.system.entry.js} +2 -2
- package/lib/duet/{p-4c7ae11f.system.entry.js → p-3e4a074c.system.entry.js} +1 -1
- package/lib/duet/p-3e4cfd2d.entry.js +4 -0
- package/lib/duet/p-428f4378.entry.js +4 -0
- package/lib/duet/p-44fb0cd4.entry.js +4 -0
- package/lib/duet/{p-15b79ed1.entry.js → p-453bb082.entry.js} +1 -1
- package/lib/duet/{p-465c7f64.system.entry.js → p-476affb5.system.entry.js} +1 -1
- package/lib/duet/p-498a337c.entry.js +4 -0
- package/lib/duet/p-49f74a78.system.entry.js +4 -0
- package/lib/duet/p-4afc265b.entry.js +4 -0
- package/lib/duet/p-4bf9ce5d.entry.js +4 -0
- package/lib/duet/{p-14e5b2e7.system.entry.js → p-4d7701cf.system.entry.js} +1 -1
- package/lib/duet/p-4e5a7d50.entry.js +4 -0
- package/lib/duet/{p-32c587da.entry.js → p-4e669043.entry.js} +1 -1
- package/lib/duet/p-52b1ae9c.entry.js +4 -0
- package/lib/duet/{p-870e88b7.system.entry.js → p-589d18c0.system.entry.js} +1 -1
- package/lib/duet/{p-daa920e3.system.entry.js → p-5be0eb10.system.entry.js} +1 -1
- package/lib/duet/p-5d2799c7.system.entry.js +4 -0
- package/lib/duet/p-5d3d3ef4.entry.js +4 -0
- package/lib/duet/p-5ffa7084.entry.js +4 -0
- package/lib/duet/p-61208b24.system.entry.js +4 -0
- package/lib/duet/p-665fc09a.entry.js +4 -0
- package/lib/duet/{p-fe87f458.system.entry.js → p-6801edc9.system.entry.js} +1 -1
- package/lib/duet/{p-fc200674.system.entry.js → p-68802a44.system.entry.js} +2 -2
- package/lib/duet/p-6ba131a6.entry.js +4 -0
- package/lib/duet/{p-d164cdeb.system.entry.js → p-6dcb5ddf.system.entry.js} +1 -1
- package/lib/duet/{p-2bcf54bb.entry.js → p-71669602.entry.js} +1 -1
- package/lib/duet/p-71b48d4c.entry.js +4 -0
- package/lib/duet/{p-b668b67c.system.js → p-73900354.system.js} +0 -0
- package/lib/duet/p-73b840aa.entry.js +4 -0
- package/lib/duet/{p-caf8cc5f.system.entry.js → p-7758cfac.system.entry.js} +2 -2
- package/lib/duet/p-79740f92.entry.js +4 -0
- package/lib/duet/p-7aa97a75.js +5 -0
- package/lib/duet/{p-66f1bdce.entry.js → p-7c171bac.entry.js} +1 -1
- package/lib/duet/p-7d6c1aee.entry.js +4 -0
- package/lib/duet/p-7e2dd844.system.entry.js +4 -0
- package/lib/duet/p-7e3dd6a8.system.entry.js +4 -0
- package/lib/duet/p-80b2336e.entry.js +4 -0
- package/lib/duet/p-80e9768b.entry.js +4 -0
- package/lib/duet/p-80ee2e1e.entry.js +4 -0
- package/lib/duet/p-821b780e.entry.js +4 -0
- package/lib/duet/{p-f8133fe1.system.entry.js → p-86cc218e.system.entry.js} +2 -2
- package/lib/duet/{p-7ea15c5c.system.entry.js → p-882e9987.system.entry.js} +1 -1
- package/lib/duet/p-88cd99ba.entry.js +4 -0
- package/lib/duet/{p-eb168145.system.js → p-8b50f74e.system.js} +1 -1
- package/lib/duet/p-8bf3f0e9.js +4 -0
- package/lib/duet/p-92867eb0.entry.js +4 -0
- package/lib/duet/{p-e1dc6e7f.system.entry.js → p-93825b5f.system.entry.js} +1 -1
- package/lib/duet/p-9663117c.entry.js +4 -0
- package/lib/duet/{p-93138df9.entry.js → p-96c274ff.entry.js} +1 -1
- package/lib/duet/p-98821736.entry.js +4 -0
- package/lib/duet/{p-1c2bc99b.system.entry.js → p-99577e5e.system.entry.js} +1 -1
- package/lib/duet/{p-9ea3b585.system.entry.js → p-9ab64b1c.system.entry.js} +2 -2
- package/lib/duet/{p-5a61c374.system.entry.js → p-9adf9ec0.system.entry.js} +1 -1
- package/lib/duet/p-9b946c8f.system.entry.js +4 -0
- package/lib/duet/p-9ba30a52.system.entry.js +4 -0
- package/lib/duet/p-9c0ae091.system.js +5 -0
- package/lib/duet/{p-a2d89ed8.system.entry.js → p-9f02fd3a.system.entry.js} +1 -1
- package/lib/duet/p-a03ec953.system.entry.js +4 -0
- package/lib/duet/{p-aa10446f.system.entry.js → p-a238f10c.system.entry.js} +1 -1
- package/lib/duet/p-a259e3da.system.entry.js +4 -0
- package/lib/duet/p-a345635b.system.entry.js +4 -0
- package/lib/duet/p-a5a7be5e.entry.js +4 -0
- package/lib/duet/{p-b09e3f47.system.entry.js → p-a5af4cc5.system.entry.js} +1 -1
- package/lib/duet/{p-c8ba8ed5.system.entry.js → p-b20f40db.system.entry.js} +1 -1
- package/lib/duet/p-b21e895c.entry.js +4 -0
- package/lib/duet/{p-0734bdd5.system.entry.js → p-b31232db.system.entry.js} +1 -1
- package/lib/duet/{p-5d9ec5ef.entry.js → p-b3fd554a.entry.js} +1 -1
- package/lib/duet/p-b5ee9c33.system.entry.js +4 -0
- package/lib/duet/{p-ed024bd6.entry.js → p-b624c8ec.entry.js} +1 -1
- package/lib/duet/{p-617872b5.system.entry.js → p-b68e7921.system.entry.js} +1 -1
- package/lib/duet/p-b8adb02e.entry.js +4 -0
- package/lib/duet/{p-37b5759b.entry.js → p-bb33769c.entry.js} +1 -1
- package/lib/duet/p-bfab9d81.entry.js +4 -0
- package/lib/duet/{p-fc2cda87.system.entry.js → p-c33cfdf4.system.entry.js} +2 -2
- package/lib/duet/p-c346b2c2.system.entry.js +4 -0
- package/lib/duet/{p-fe0cb2a5.entry.js → p-ccae1572.entry.js} +1 -1
- package/lib/duet/p-cdbad668.system.js +4 -0
- package/lib/duet/{p-41110e9b.system.entry.js → p-ce6d729c.system.entry.js} +1 -1
- package/lib/duet/{p-ce3fc2bd.entry.js → p-cf202e49.entry.js} +1 -1
- package/lib/duet/p-d3a8e2e6.entry.js +4 -0
- package/lib/duet/{p-176c64c4.system.entry.js → p-d3b1d4dc.system.entry.js} +1 -1
- package/lib/duet/p-d6045a19.entry.js +4 -0
- package/lib/duet/{p-a629e72a.system.entry.js → p-d64a3684.system.entry.js} +1 -1
- package/lib/duet/{p-ff46ec81.system.js → p-da0d4ee3.system.js} +0 -0
- package/lib/duet/p-daa9f332.system.entry.js +4 -0
- package/lib/duet/{p-436b415a.system.entry.js → p-dd594b0c.system.entry.js} +1 -1
- package/lib/duet/{p-15743dbe.system.entry.js → p-df2f8d6d.system.entry.js} +1 -1
- package/lib/duet/{p-d4c234ed.js → p-e2cd1c98.js} +0 -0
- package/lib/duet/p-e2f77664.entry.js +4 -0
- package/lib/duet/p-e651e225.entry.js +4 -0
- package/lib/duet/p-e6f8fb38.entry.js +4 -0
- package/lib/duet/p-e78f9d3b.entry.js +4 -0
- package/lib/duet/p-e8da082b.entry.js +4 -0
- package/lib/duet/{p-fc34b8a0.system.entry.js → p-e9259242.system.entry.js} +1 -1
- package/lib/duet/p-ea769354.entry.js +4 -0
- package/lib/duet/{p-67a7ac4f.entry.js → p-efbe9082.entry.js} +1 -1
- package/lib/duet/{p-8755500b.entry.js → p-f17dd3be.entry.js} +1 -1
- package/lib/duet/{p-ad0cf0f5.system.entry.js → p-f1d8bc66.system.entry.js} +2 -2
- package/lib/duet/p-f3f652cb.entry.js +4 -0
- package/lib/duet/{p-db64d031.system.entry.js → p-f6665a9b.system.entry.js} +1 -1
- package/lib/duet/p-fb7e3c61.entry.js +4 -0
- package/lib/esm/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +14 -77
- package/lib/esm/duet-alert.entry.js +10 -42
- package/lib/esm/duet-badge.entry.js +1 -10
- package/lib/esm/duet-breadcrumb.entry.js +2 -10
- package/lib/esm/duet-breadcrumbs.entry.js +2 -4
- package/lib/esm/duet-button_2.entry.js +30 -119
- package/lib/esm/duet-caption_4.entry.js +4 -78
- package/lib/esm/duet-card.entry.js +16 -55
- package/lib/esm/duet-checkbox.entry.js +21 -49
- package/lib/esm/duet-choice_2.entry.js +52 -153
- package/lib/esm/duet-collapsible.entry.js +8 -41
- package/lib/esm/duet-combobox.entry.js +26 -50
- package/lib/esm/duet-cookie-consent.entry.js +3 -9
- package/lib/esm/duet-date-picker.entry.js +37 -108
- package/lib/esm/duet-divider_2.entry.js +1 -17
- package/lib/esm/duet-editable-table_3.entry.js +163 -404
- package/lib/esm/duet-empty-state.entry.js +1 -10
- package/lib/esm/duet-fieldset.entry.js +8 -14
- package/lib/esm/duet-footer.entry.js +13 -42
- package/lib/esm/duet-grid_2.entry.js +3 -43
- package/lib/esm/duet-header_2.entry.js +56 -163
- package/lib/esm/duet-hero.entry.js +15 -90
- package/lib/esm/duet-icon.entry.js +4 -35
- package/lib/esm/duet-input_2.entry.js +41 -115
- package/lib/esm/duet-layout.entry.js +1 -24
- package/lib/esm/duet-list_2.entry.js +1 -23
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +15 -11
- package/lib/esm/duet-menu-bar-dropdown.entry.js +28 -26
- package/lib/esm/duet-menu-bar-link.entry.js +22 -12
- package/lib/esm/duet-menu-bar.entry.js +6 -8
- package/lib/esm/duet-modal.entry.js +4 -59
- package/lib/esm/duet-multiselect.entry.js +18 -59
- package/lib/esm/duet-nav.entry.js +2 -83
- package/lib/esm/duet-notification_2.entry.js +15 -74
- package/lib/esm/duet-number-input.entry.js +53 -142
- package/lib/esm/duet-pagination_2.entry.js +51 -125
- package/lib/esm/duet-progress.entry.js +4 -26
- package/lib/esm/duet-radio_2.entry.js +36 -84
- package/lib/esm/duet-range-slider.entry.js +21 -62
- package/lib/esm/duet-scrollable_3.entry.js +25 -88
- package/lib/esm/duet-section-layout.entry.js +1 -7
- package/lib/esm/duet-select.entry.js +25 -65
- package/lib/esm/duet-step_2.entry.js +8 -34
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +39 -0
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +47 -0
- package/lib/esm/duet-submenu-bar-link.entry.js +33 -0
- package/lib/esm/duet-submenu-bar.entry.js +31 -0
- package/lib/esm/duet-textarea.entry.js +31 -79
- package/lib/esm/duet-toggle.entry.js +15 -38
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -13
- package/lib/esm/duet-toolbar-dropdown.entry.js +11 -28
- package/lib/esm/duet-toolbar-link.entry.js +2 -14
- package/lib/esm/duet-toolbar.entry.js +2 -5
- package/lib/esm/duet-tooltip.entry.js +25 -77
- package/lib/esm/duet-tray.entry.js +11 -53
- package/lib/esm/duet-upload-aria-status.entry.js +8 -29
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{focus-utils-c6e25a2b.js → focus-utils-25584abb.js} +1 -1
- package/lib/esm/{index-adbabdb3.js → index-f74e4d6a.js} +1438 -1235
- package/lib/esm/loader.js +3 -3
- package/lib/esm/polyfills/css-shim.js +1 -1
- package/lib/esm/{shadow-css-501eda9a.js → shadow-css-a011f1fe.js} +1 -1
- package/lib/esm-es5/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +0 -0
- 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 +2 -2
- package/lib/esm-es5/duet-button_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- 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-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.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 +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +4 -0
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +4 -0
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +4 -0
- package/lib/esm-es5/duet-submenu-bar.entry.js +4 -0
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- 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-25584abb.js +4 -0
- package/lib/esm-es5/index-f74e4d6a.js +5 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{shadow-css-501eda9a.js → shadow-css-a011f1fe.js} +0 -0
- package/lib/loader/package.json +1 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -2
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +4 -0
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +2 -16
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +5 -0
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +5 -0
- package/lib/types/components/duet-nav/duet-nav.d.ts +0 -18
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +24 -0
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +34 -0
- package/lib/types/components/{duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.d.ts → duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts} +1 -1
- package/lib/types/components/{duet-menu-bar-menu-link/duet-menu-bar-menu-link.d.ts → duet-submenu-bar-link/duet-submenu-bar-link.d.ts} +1 -5
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +1 -16
- package/lib/types/components.d.ts +158 -194
- package/lib/types/stencil-public-runtime.d.ts +20 -4
- package/package.json +8 -10
- package/lib/cjs/duet-menu-bar-menu-dropdown-link.cjs.entry.js +0 -58
- package/lib/cjs/duet-menu-bar-menu-dropdown.cjs.entry.js +0 -65
- package/lib/cjs/duet-menu-bar-menu-link.cjs.entry.js +0 -50
- package/lib/cjs/duet-menu-bar-menu.cjs.entry.js +0 -65
- package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.css +0 -113
- package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.js +0 -147
- package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js +0 -150
- package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js +0 -156
- package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js +0 -129
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.js +0 -84
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.js +0 -89
- package/lib/dist-custom-elements/duet-menu-bar-menu-link.js +0 -75
- package/lib/dist-custom-elements/duet-menu-bar-menu.js +0 -83
- package/lib/duet/p-03ac8c12.entry.js +0 -4
- package/lib/duet/p-0b0b1a31.js +0 -4
- package/lib/duet/p-1b3fc470.system.entry.js +0 -4
- package/lib/duet/p-1b4da2a6.entry.js +0 -4
- package/lib/duet/p-22793750.entry.js +0 -4
- package/lib/duet/p-2482298d.entry.js +0 -4
- package/lib/duet/p-2be7affe.system.entry.js +0 -4
- package/lib/duet/p-2e2eca0e.entry.js +0 -4
- package/lib/duet/p-2e71b284.system.js +0 -4
- package/lib/duet/p-3198246d.system.entry.js +0 -4
- package/lib/duet/p-31a8380d.entry.js +0 -4
- package/lib/duet/p-3d96bd35.entry.js +0 -4
- package/lib/duet/p-48d5c614.entry.js +0 -4
- package/lib/duet/p-4fd9fab5.entry.js +0 -4
- package/lib/duet/p-526c88d9.system.entry.js +0 -4
- package/lib/duet/p-570786a7.system.entry.js +0 -4
- package/lib/duet/p-5bbac6e9.system.entry.js +0 -4
- package/lib/duet/p-5be11a3f.entry.js +0 -4
- package/lib/duet/p-6198dd87.entry.js +0 -4
- package/lib/duet/p-6226ebc9.entry.js +0 -4
- package/lib/duet/p-6ef4c26f.system.entry.js +0 -4
- package/lib/duet/p-73b1bfff.system.js +0 -5
- package/lib/duet/p-74a85e06.entry.js +0 -4
- package/lib/duet/p-74edab4b.system.entry.js +0 -4
- package/lib/duet/p-7ac15184.system.entry.js +0 -4
- package/lib/duet/p-7e0d3659.entry.js +0 -4
- package/lib/duet/p-8e12f166.entry.js +0 -4
- package/lib/duet/p-8e83ab80.entry.js +0 -4
- package/lib/duet/p-925f5739.entry.js +0 -4
- package/lib/duet/p-9e5192fd.entry.js +0 -4
- package/lib/duet/p-a4575910.entry.js +0 -4
- package/lib/duet/p-a57f8242.entry.js +0 -4
- package/lib/duet/p-aeee20b5.system.entry.js +0 -4
- package/lib/duet/p-b0fa24ea.system.entry.js +0 -4
- package/lib/duet/p-b252c6c7.entry.js +0 -4
- package/lib/duet/p-b28b7458.entry.js +0 -4
- package/lib/duet/p-bb2dab53.system.entry.js +0 -4
- package/lib/duet/p-bbc7c22c.js +0 -5
- package/lib/duet/p-bce4669c.entry.js +0 -4
- package/lib/duet/p-bf165746.entry.js +0 -4
- package/lib/duet/p-bf4e00b1.system.entry.js +0 -4
- package/lib/duet/p-c0732300.system.entry.js +0 -4
- package/lib/duet/p-c4375ca3.entry.js +0 -4
- package/lib/duet/p-c4f57811.entry.js +0 -4
- package/lib/duet/p-cd5358ce.entry.js +0 -4
- package/lib/duet/p-d1da9fe1.system.entry.js +0 -4
- package/lib/duet/p-d448c7fc.system.entry.js +0 -4
- package/lib/duet/p-d770b87e.entry.js +0 -4
- package/lib/duet/p-d7d944f5.entry.js +0 -4
- package/lib/duet/p-d7fa0c7c.entry.js +0 -4
- package/lib/duet/p-d83f8247.entry.js +0 -4
- package/lib/duet/p-dc9b21ad.entry.js +0 -4
- package/lib/duet/p-dcf2df11.entry.js +0 -4
- package/lib/duet/p-de024983.entry.js +0 -4
- package/lib/duet/p-e01e9f71.entry.js +0 -4
- package/lib/duet/p-e7196c1b.system.entry.js +0 -4
- package/lib/duet/p-e7808045.entry.js +0 -4
- package/lib/duet/p-e9cf0568.entry.js +0 -4
- package/lib/duet/p-ebbe496d.entry.js +0 -4
- package/lib/duet/p-f015180c.entry.js +0 -4
- package/lib/duet/p-f084d355.system.entry.js +0 -4
- package/lib/duet/p-f0e4ccb6.entry.js +0 -4
- package/lib/duet/p-f0f8a1fd.entry.js +0 -4
- package/lib/duet/p-f5149c67.entry.js +0 -4
- package/lib/esm/duet-menu-bar-menu-dropdown-link.entry.js +0 -54
- package/lib/esm/duet-menu-bar-menu-dropdown.entry.js +0 -61
- package/lib/esm/duet-menu-bar-menu-link.entry.js +0 -46
- package/lib/esm/duet-menu-bar-menu.entry.js +0 -61
- package/lib/esm-es5/duet-menu-bar-menu-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-menu-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-menu-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-menu.entry.js +0 -4
- package/lib/esm-es5/focus-utils-c6e25a2b.js +0 -4
- package/lib/esm-es5/index-adbabdb3.js +0 -5
- package/lib/types/components/duet-menu-bar-menu/duet-menu-bar-menu.d.ts +0 -49
- package/lib/types/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.d.ts +0 -49
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-a1724291.js';
|
|
5
5
|
import { a as actionNewWindowSmall } from './p-f11208c3.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString } from './p-ede854e1.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
10
|
-
import { d as defineCustomElement$9 } from './p-
|
|
11
|
-
import { d as defineCustomElement$8 } from './p-
|
|
12
|
-
import { d as defineCustomElement$7 } from './p-
|
|
13
|
-
import { d as defineCustomElement$6 } from './p-
|
|
14
|
-
import { d as defineCustomElement$5 } from './p-
|
|
15
|
-
import { d as defineCustomElement$4 } from './p-
|
|
16
|
-
import { d as defineCustomElement$3 } from './p-
|
|
17
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$9 } from './p-11621a52.js';
|
|
11
|
+
import { d as defineCustomElement$8 } from './p-fe5341bf.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './p-91098fd5.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './p-ce42be86.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './p-49d5f105.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-becb3aa3.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-7b1b2eef.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-2d3fc462.js';
|
|
18
18
|
|
|
19
19
|
const duetHeroCss = "*,*::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-hero{position:relative;display:block;width:100%;padding:48px 28px;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;line-height:1.5;text-decoration:none;text-shadow:none;text-transform:none;background:#00294d}.duet-hero.duet-p-0{padding:0 !important}.duet-hero.duet-m-0{margin:0 !important}.duet-hero.duet-hero-text-center{text-align:center !important}.duet-hero.duet-hero-light{padding-bottom:0 !important}@media (min-width: 62em){.duet-hero.duet-hero-light{padding-bottom:28px !important}}.duet-hero.duet-hero-with-image{padding-bottom:20px !important;margin-bottom:-36px}@media (min-width: 48em){.duet-hero.duet-hero-with-image{padding-bottom:28px !important}}@media (min-width: 62em){.duet-hero.duet-hero-with-image{padding-bottom:36px !important;margin-bottom:-20px}}.duet-hero.duet-hero-light,.duet-hero.duet-hero-with-image{color:#00294d;background-color:white;background-image:linear-gradient(#f3f9fc, #f9fcfe)}.duet-hero.duet-hero-light::before,.duet-hero.duet-hero-with-image::before{position:absolute;top:100%;left:0;z-index:-1;width:100%;height:400px;content:\"\";background-image:linear-gradient(#f9fcfe, white)}.duet-hero.duet-hero-light.duet-theme-turva,.duet-hero.duet-hero-with-image.duet-theme-turva{color:#171c3a;background-image:linear-gradient(#f5f5f7, #fafafb)}.duet-hero.duet-hero-light.duet-theme-turva::before,.duet-hero.duet-hero-with-image.duet-theme-turva::before{background-image:linear-gradient(#fafafb, white)}.duet-hero.duet-hero-gray{color:#00294d;background:#f5f8fa}.duet-hero.duet-hero-gray.duet-theme-turva{background:#f5f5f7}@media (min-width: 62em){.duet-hero.duet-hero-gray .duet-hero-text{display:inline-block;vertical-align:top}.duet-hero.duet-hero-gray .duet-hero-icon+.duet-hero-text{margin-left:28px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-actions{padding-bottom:65.4545454545px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-back{padding-top:72px}}.duet-hero.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:#c60c30}@media (min-width: 62em){.duet-hero{min-height:290px;padding:111.6px 56px;overflow:visible}}.duet-hero-icon{display:inline-block;vertical-align:top}@media (min-width: 62em){.duet-hero-icon{margin-top:-8px}}@media (min-width: 62em){.duet-hero-heading{margin-top:12px}}@media (min-width: 62em){.duet-hero-heading-has-pre{margin-top:0}}.duet-hero-wrapper{position:relative;width:100%;max-width:1110px;margin:0 auto;text-align:center}.duet-hero-left-align .duet-hero-wrapper{text-align:left}.duet-hero-with-image .duet-hero-wrapper{position:static}@media (min-width: 62em){.duet-hero-wrapper{text-align:left}}.duet-hero-text{max-width:50rem;margin:0 auto}.duet-hero-text-center .duet-hero-text{text-align:center !important}@media (min-width: 48em){.duet-hero-text{width:80%}.duet-hero-left-align .duet-hero-text{margin:0}}@media (min-width: 62em){.duet-hero-text{width:52%;max-width:none;margin-top:-10px;margin-left:0}.duet-hero-text-center .duet-hero-text{margin-left:auto}}.duet-hero:not(.duet-hero-with-image) .duet-hero-image{width:100%;max-width:400px;height:0;padding-bottom:50%;margin:28px auto 0;background-repeat:no-repeat;background-position:50% 50%;background-size:contain}@media (min-width: 36em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{padding-bottom:40%}}@media (min-width: 48em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:420px;padding-bottom:34%}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:540px}}@media (min-width: 62em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{position:absolute;top:50%;right:0;padding-bottom:30%;margin:0;transform:translateY(-50%)}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-60px;padding-bottom:26%}.duet-hero-gray .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}@media (min-width: 62em){.duet-hero-gray:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}.duet-hero-image-wrapper{position:relative;width:80%;height:0;padding-bottom:80%;margin:-30px auto 36px;overflow:hidden;border-radius:28%;box-shadow:0 0 20px rgba(255, 255, 255, 0.5);transform:rotate(10deg)}.duet-theme-turva .duet-hero-image-wrapper{padding-bottom:68%;border-radius:44% 47% 38% 54%;transform:none}@media screen and (min-width: 440px){.duet-hero-image-wrapper{width:300px;padding-bottom:300px}.duet-theme-turva .duet-hero-image-wrapper{width:80%;padding-bottom:68%}}@media (min-width: 62em){.duet-hero-image-wrapper{position:absolute;top:-60px;right:-50px;width:470px;padding-bottom:470px;margin:0}.duet-theme-turva .duet-hero-image-wrapper{top:-40px;right:-80px;width:536px;padding-bottom:470px}}@media (min-width: 76.25em){.duet-hero-image-wrapper{top:-70px;right:-60px;width:600px;padding-bottom:600px}.duet-theme-turva .duet-hero-image-wrapper{top:-70px;right:-60px;width:650px;padding-bottom:600px}}@media screen and (min-width: 1450px){.duet-hero-image-wrapper{top:-70px;right:25px}.duet-theme-turva .duet-hero-image-wrapper{right:0}}.duet-hero-image-wrapper .duet-hero-image{position:absolute;top:-5%;left:-5%;width:110%;height:110%;background-repeat:no-repeat;background-position:50% 50%;background-size:cover;transform:rotate(-10deg)}.duet-theme-turva .duet-hero-image-wrapper .duet-hero-image{top:0;left:0;width:100%;height:100%;transform:none}.duet-hero-image-mask{position:relative;margin:-48px auto 0;overflow:hidden}@media (min-width: 62em){.duet-hero-image-mask{position:absolute;top:0;right:0;width:470px;height:460px;margin:0}}@media (min-width: 76.25em){.duet-hero-image-mask{width:650px;height:580px}}@media screen and (min-width: 1450px){.duet-hero-image-mask{right:50%;transform:translateX(110%)}.duet-theme-turva .duet-hero-image-mask{transform:translateX(108%)}}duet-heading+duet-button{margin-top:12px !important}.duet-hero-links{width:calc(100% + 56px);margin-top:48px;margin-left:-28px}.duet-hero-minimal .duet-hero-links{margin-top:28px}@media (min-width: 36em){.duet-hero-links{margin-top:72px}.duet-hero-minimal .duet-hero-links{margin-top:28px}}@media (min-width: 62em){.duet-hero-links{width:auto;margin:36px 0 0}.duet-hero-minimal .duet-hero-links{margin-top:28px}}.duet-hero-link{display:flex;align-items:center;width:100%;padding:16px 16px 8px;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.25;color:#0077b3;text-align:left;text-decoration:none;border-bottom:1px solid #e1e3e6;transition:background-color 300ms ease}.duet-hero-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-hero-link:focus,.duet-hero-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-hero-link:hover,.duet-hero-link:hover .duet-hero-action-arrow{color:#004d80 !important;background:transparent !important}.duet-theme-turva .duet-hero-link:hover,.duet-theme-turva .duet-hero-link:hover .duet-hero-action-arrow{color:#940925 !important}.duet-theme-turva .duet-hero-link{color:#c60c30}@media (min-width: 36em){.duet-hero-link{padding:16px 16px 16px 28px}}@media (min-width: 62em){.duet-hero-link{display:inline-flex;width:auto;max-width:350px;padding:0;margin:0 28px 16px 0;border:0;border-radius:4px}}.duet-hero-link:hover{background:rgba(0, 0, 0, 0.02)}@media (min-width: 62em){.duet-hero-link:hover{background:transparent}}.duet-hero-link:first-of-type{border-top:1px solid #e1e3e6}@media (min-width: 62em){.duet-hero-link:first-of-type{margin-top:0;border:0}}.duet-hero-link:last-of-type{margin-bottom:-48px}@media (min-width: 62em){.duet-hero-link:last-of-type{margin-right:0;margin-bottom:0}}.duet-hero-link span{margin-top:-8px}@media (min-width: 36em){.duet-hero-link span{margin:0}}.duet-hero-action-icon{margin-right:8px}@media (min-width: 36em){.duet-hero-action-icon{margin-right:12px}}.duet-hero-action-arrow{margin:0 0 0 8px;color:#0077b3}@media (max-width: 35.9375em){.duet-hero-action-arrow{margin-top:-9px}}.duet-theme-turva .duet-hero-action-arrow{color:#c60c30}.duet-hero-back{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center}.duet-hero-left-align .duet-hero-back{align-items:self-start;justify-content:flex-start}@media (min-width: 36em){.duet-hero-back{margin-bottom:36px !important}.duet-hero-minimal .duet-hero-back{margin-bottom:28px !important}}@media (min-width: 62em){.duet-hero-back{display:block}}.duet-hero-pre{display:inline-block;width:auto;margin-right:8px}.duet-hero-pre+duet-heading{margin-top:0 !important}";
|
|
20
20
|
|
|
@@ -26,119 +26,44 @@ const DuetHero$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
26
26
|
this.duetClick = createEvent(this, "duetClick", 7);
|
|
27
27
|
this.duetAnalytics = createEvent(this, "duetAnalytics", 7);
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
* Inlined decorator, alphabetical order.
|
|
29
|
+
* Component event handling.
|
|
31
30
|
*/
|
|
31
|
+
this.handleClick = (ev, data) => {
|
|
32
|
+
if (data && data.analytics) {
|
|
33
|
+
this.duetAnalytics.emit({
|
|
34
|
+
component: "duet-hero",
|
|
35
|
+
analyticsId: data.analytics,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
this.emitChange(ev, data);
|
|
39
|
+
};
|
|
32
40
|
this.processedListItems = null;
|
|
33
41
|
this.processedActions = null;
|
|
34
42
|
this.processedBack = null;
|
|
35
|
-
/**
|
|
36
|
-
* Theme of the hero area.
|
|
37
|
-
*/
|
|
38
43
|
this.theme = "";
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated please use heading slot instead.
|
|
41
|
-
* The heading of the hero area, rendered in an H1 tag. P.S. you can control
|
|
42
|
-
* the level of the HTML heading by using “level” prop. If empty, heading
|
|
43
|
-
* will be hidden.
|
|
44
|
-
*/
|
|
45
44
|
this.heading = "";
|
|
46
|
-
/**
|
|
47
|
-
* The headline shown before heading.
|
|
48
|
-
*/
|
|
49
45
|
this.preHeading = "";
|
|
50
|
-
/**
|
|
51
|
-
* The level of the heading.
|
|
52
|
-
*/
|
|
53
46
|
this.level = "h1";
|
|
54
|
-
/**
|
|
55
|
-
* The description of the hero area, rendered in a P tag. If empty, description
|
|
56
|
-
* will be hidden.
|
|
57
|
-
*/
|
|
58
47
|
this.description = "";
|
|
59
|
-
/**
|
|
60
|
-
* Icon to display to the left of the button content. If empty, icon will be hidden.
|
|
61
|
-
*/
|
|
62
48
|
this.icon = "";
|
|
63
|
-
/**
|
|
64
|
-
* Icon size for the button.
|
|
65
|
-
*/
|
|
66
49
|
this.iconSize = "medium";
|
|
67
|
-
/**
|
|
68
|
-
* Show icon on the right side of the button content.
|
|
69
|
-
*/
|
|
70
50
|
this.iconRight = false;
|
|
71
|
-
/**
|
|
72
|
-
* Icon to display to the left of the heading in gray hero area variation. If empty, icon will be hidden.
|
|
73
|
-
*/
|
|
74
51
|
this.categoryIcon = "";
|
|
75
|
-
/**
|
|
76
|
-
* Icon color to use for the category icon that can be used in gray hero area variation.
|
|
77
|
-
*/
|
|
78
52
|
this.categoryIconColor = "category-pet";
|
|
79
|
-
/**
|
|
80
|
-
* Text label shown inside the button. If empty, button will be hidden.
|
|
81
|
-
*/
|
|
82
53
|
this.buttonLabel = "";
|
|
83
|
-
/**
|
|
84
|
-
* The currently active language. This setting changes the accessible labels to match the
|
|
85
|
-
* chosen language.
|
|
86
|
-
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
87
|
-
* @default "fi"
|
|
88
|
-
*/
|
|
89
54
|
this.language = getLanguage();
|
|
90
|
-
/**
|
|
91
|
-
* Defaults for accessibleLabelExternal
|
|
92
|
-
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
93
|
-
*/
|
|
94
55
|
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
95
|
-
/**
|
|
96
|
-
* Adds accessible label for tooltip that is shown in external link (url & external have both been set)
|
|
97
|
-
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
98
|
-
*/
|
|
99
56
|
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
100
|
-
/**
|
|
101
|
-
* URL that the button links to.
|
|
102
|
-
*/
|
|
103
57
|
this.buttonUrl = "#";
|
|
104
|
-
/**
|
|
105
|
-
* ID for the button.
|
|
106
|
-
*/
|
|
107
58
|
this.buttonId = "";
|
|
108
|
-
|
|
109
|
-
* Centers the text in hero area.
|
|
110
|
-
*/
|
|
59
|
+
this.buttonData = undefined;
|
|
111
60
|
this.textCenter = false;
|
|
112
|
-
/**
|
|
113
|
-
* Forces all items in the header to be leftAligned
|
|
114
|
-
* This can be used on mobiles to create leftAligned hero areas that either are only leftaligned on smaller devices
|
|
115
|
-
* or allways leftAligned (you must manually switch this parameter if you need special breakpoints)
|
|
116
|
-
* this nullifies textCenter prop
|
|
117
|
-
*/
|
|
118
61
|
this.leftAlign = false;
|
|
119
|
-
/**
|
|
120
|
-
* URL of the image shown inside the hero area. The width of the displayed image
|
|
121
|
-
* should be 800px. Optimal aspect ratio is 3:2. When using “image” variation of
|
|
122
|
-
* Hero Area the required image size is 1200x1200px (1:1 ratio). If this
|
|
123
|
-
* property is left empty, image will be hidden.
|
|
124
|
-
*/
|
|
125
62
|
this.image = "";
|
|
126
|
-
/**
|
|
127
|
-
* Style variation of the hero area.
|
|
128
|
-
*/
|
|
129
63
|
this.variation = "default";
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
this.handleClick = (ev, data) => {
|
|
134
|
-
if (data && data.analytics) {
|
|
135
|
-
this.duetAnalytics.emit({
|
|
136
|
-
component: "duet-hero",
|
|
137
|
-
analyticsId: data.analytics,
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
this.emitChange(ev, data);
|
|
141
|
-
};
|
|
64
|
+
this.back = undefined;
|
|
65
|
+
this.listItems = undefined;
|
|
66
|
+
this.actions = undefined;
|
|
142
67
|
}
|
|
143
68
|
/**
|
|
144
69
|
* Component lifecycle events.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetIcon$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetIcon$1, d as defineCustomElement$1 } from './p-91098fd5.js';
|
|
5
5
|
|
|
6
6
|
const DuetIcon = DuetIcon$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetInput$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetInput$1, d as defineCustomElement$1 } from './p-9d08c707.js';
|
|
5
5
|
|
|
6
6
|
const DuetInput = DuetInput$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetLabel$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetLabel$1, d as defineCustomElement$1 } from './p-f4d2face.js';
|
|
5
5
|
|
|
6
6
|
const DuetLabel = DuetLabel$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-a1724291.js';
|
|
5
5
|
import { i as isInternetExplorer } from './p-704245ef.js';
|
|
6
6
|
|
|
7
7
|
const duetLayoutCss = "*,*::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;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-layout-has-top{margin-top:0}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%;margin:72px auto 0}.duet-layout-top.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
@@ -16,35 +16,12 @@ const DuetLayout$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
16
16
|
*/
|
|
17
17
|
this.hasSidebar = false;
|
|
18
18
|
this.hasTop = false;
|
|
19
|
-
/**
|
|
20
|
-
* Makes the sidebar stick to the top of the window when scrolling down.
|
|
21
|
-
*/
|
|
22
19
|
this.sticky = false;
|
|
23
|
-
/**
|
|
24
|
-
* Controls the margin of the component.
|
|
25
|
-
*/
|
|
26
20
|
this.margin = "auto";
|
|
27
|
-
/**
|
|
28
|
-
* Adjust sticky sidebar’s distance to duet navigation component using this property.
|
|
29
|
-
*/
|
|
30
21
|
this.stickyDistance = "with-links";
|
|
31
|
-
/**
|
|
32
|
-
* Center align all direct children of this component.
|
|
33
|
-
*/
|
|
34
22
|
this.center = false;
|
|
35
|
-
/**
|
|
36
|
-
* If set to true, the sidebar position will be adjusted to take tabs inside main content
|
|
37
|
-
* area into account.
|
|
38
|
-
*/
|
|
39
23
|
this.tabs = false;
|
|
40
|
-
/**
|
|
41
|
-
* Align container vertically in the middle when the space allows it.
|
|
42
|
-
*/
|
|
43
24
|
this.middle = false;
|
|
44
|
-
/**
|
|
45
|
-
* Breakpoint used to remove padding. These match to
|
|
46
|
-
* similar media query tokens: $media-query-small and $media-query-medium.
|
|
47
|
-
*/
|
|
48
25
|
this.paddingBreakpoint = undefined;
|
|
49
26
|
}
|
|
50
27
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetLink$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetLink$1, d as defineCustomElement$1 } from './p-3b1bc8f3.js';
|
|
5
5
|
|
|
6
6
|
const DuetLink = DuetLink$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetListItem$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetListItem$1, d as defineCustomElement$1 } from './p-49d5f105.js';
|
|
5
5
|
|
|
6
6
|
const DuetListItem = DuetListItem$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetList$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetList$1, d as defineCustomElement$1 } from './p-ce42be86.js';
|
|
5
5
|
|
|
6
6
|
const DuetList = DuetList$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetLogo$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetLogo$1, d as defineCustomElement$1 } from './p-0bc5bea3.js';
|
|
5
5
|
|
|
6
6
|
const DuetLogo = DuetLogo$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-a1724291.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-91098fd5.js';
|
|
7
7
|
|
|
8
|
-
const duetMenuBarDropdownLinkCss = "*,*::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;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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;font-weight:400;line-height:1.25;color:#00294d;text-align:center;text-decoration:none}.duet-menu-bar-dropdown-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:#171c3a}.duet-menu-bar-dropdown-link:hover{background:#e6f2f8}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:#e4e4e6}";
|
|
8
|
+
const duetMenuBarDropdownLinkCss = "*,*::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;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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;font-weight:400;line-height:1.25;color:#00294d;text-align:center;text-decoration:none}.duet-menu-bar-dropdown-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:#171c3a}.duet-menu-bar-dropdown-link--slot-right:hover{background:#e6f2f8}.duet-menu-bar-dropdown-link--slot-right:hover.duet-theme-turva{background:#e4e4e6}.duet-menu-bar-dropdown-link--slot-below:hover{color:#004d80;background:#f3f9fc}.duet-menu-bar-dropdown-link--slot-below:hover.duet-theme-turva{color:#940925;background:#e4e4e6}";
|
|
9
9
|
|
|
10
10
|
const DuetMenuBarDropdownLink$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.__attachShadow();
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
this.getVariant = () => {
|
|
16
|
+
const slot = this.element.parentElement.parentElement.getAttribute("slot");
|
|
17
|
+
switch (slot) {
|
|
18
|
+
case "center":
|
|
19
|
+
return "right";
|
|
20
|
+
case "right":
|
|
21
|
+
return "right";
|
|
22
|
+
default:
|
|
23
|
+
return "right";
|
|
24
|
+
}
|
|
25
|
+
};
|
|
18
26
|
this.theme = "";
|
|
19
|
-
/**
|
|
20
|
-
* Href
|
|
21
|
-
*/
|
|
22
27
|
this.href = "#";
|
|
23
|
-
/**
|
|
24
|
-
* Icon
|
|
25
|
-
*/
|
|
26
28
|
this.icon = undefined;
|
|
29
|
+
this.caret = false;
|
|
27
30
|
}
|
|
28
31
|
/**
|
|
29
32
|
* Component lifecycle events.
|
|
@@ -38,6 +41,7 @@ const DuetMenuBarDropdownLink$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
|
38
41
|
render() {
|
|
39
42
|
return (h(Host, null, h("a", { class: {
|
|
40
43
|
"duet-menu-bar-dropdown-link": true,
|
|
44
|
+
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
41
45
|
"duet-theme-turva": this.theme === "turva",
|
|
42
46
|
}, href: this.href, role: "menuitem" }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("slot", null))));
|
|
43
47
|
}
|
|
@@ -46,7 +50,8 @@ const DuetMenuBarDropdownLink$1 = /*@__PURE__*/ proxyCustomElement(class extends
|
|
|
46
50
|
}, [1, "duet-menu-bar-dropdown-link", {
|
|
47
51
|
"theme": [1025],
|
|
48
52
|
"href": [1025],
|
|
49
|
-
"icon": [1537]
|
|
53
|
+
"icon": [1537],
|
|
54
|
+
"caret": [1028]
|
|
50
55
|
}]);
|
|
51
56
|
function defineCustomElement$1() {
|
|
52
57
|
if (typeof customElements === "undefined") {
|
|
@@ -1,43 +1,40 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H,
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-a1724291.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-91098fd5.js';
|
|
7
7
|
|
|
8
|
-
const duetMenuBarDropdownCss = "*,*::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;height:100%}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;min-height:5rem;padding:0 12px;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;line-height:1.25;color:#004d80;text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 20px}}@media (min-width: 64.0625em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button
|
|
8
|
+
const duetMenuBarDropdownCss = "*,*::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;height:100%}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;min-height:5rem;padding:0 12px;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;line-height:1.25;color:#004d80;text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 20px}}@media (min-width: 64.0625em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:#0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:#0077b3}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:#c60c30}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:\"\";background:#0077b3;transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:#c60c30}.duet-menu-bar-dropdown .items{position:absolute;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:1rem 0;color:#00294d;background:#f3f9fc;border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#940925}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:#c60c30}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:#c60c30}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:#c60c30}.duet-menu-bar-dropdown.duet-theme-turva .items{background:#f5f5f7}";
|
|
9
9
|
|
|
10
10
|
const DuetMenuBarDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.__attachShadow();
|
|
15
|
-
this.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
this.onClick = () => {
|
|
16
|
+
this.open = !this.open;
|
|
17
|
+
};
|
|
18
|
+
this.getVariant = () => {
|
|
19
|
+
const slot = this.element.parentElement.getAttribute("slot");
|
|
20
|
+
switch (slot) {
|
|
21
|
+
case "center":
|
|
22
|
+
return "right";
|
|
23
|
+
case "right":
|
|
24
|
+
return "right";
|
|
25
|
+
default:
|
|
26
|
+
return "right";
|
|
27
|
+
}
|
|
28
|
+
};
|
|
19
29
|
this.theme = "";
|
|
20
|
-
/**
|
|
21
|
-
* Open
|
|
22
|
-
*/
|
|
23
30
|
this.open = false;
|
|
24
|
-
/**
|
|
25
|
-
* Icon
|
|
26
|
-
*/
|
|
27
31
|
this.icon = undefined;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
component: "duet-menu-bar-dropdown",
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
this.onClick = (e) => {
|
|
38
|
-
this.toggleMenu(e);
|
|
39
|
-
e.stopImmediatePropagation();
|
|
40
|
-
};
|
|
32
|
+
}
|
|
33
|
+
handleFocus(e) {
|
|
34
|
+
const isClickOutside = e.composedPath().every(node => node !== this.element);
|
|
35
|
+
if (isClickOutside) {
|
|
36
|
+
this.open = false;
|
|
37
|
+
}
|
|
41
38
|
}
|
|
42
39
|
/**
|
|
43
40
|
* Component lifecycle events.
|
|
@@ -50,7 +47,12 @@ const DuetMenuBarDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
50
47
|
* Always the last one in the class.
|
|
51
48
|
*/
|
|
52
49
|
render() {
|
|
53
|
-
return (h(Host, null, h("div", { class: {
|
|
50
|
+
return (h(Host, null, h("div", { class: {
|
|
51
|
+
"duet-menu-bar-dropdown": true,
|
|
52
|
+
"duet-theme-turva": this.theme === "turva",
|
|
53
|
+
active: this.open,
|
|
54
|
+
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
55
|
+
} }, h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
54
56
|
active: this.open,
|
|
55
57
|
}, onClick: this.onClick }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
56
58
|
items: true,
|
|
@@ -63,7 +65,7 @@ const DuetMenuBarDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
63
65
|
"theme": [1025],
|
|
64
66
|
"open": [1540],
|
|
65
67
|
"icon": [1537]
|
|
66
|
-
}]);
|
|
68
|
+
}, [[8, "click", "handleFocus"]]]);
|
|
67
69
|
function defineCustomElement$1() {
|
|
68
70
|
if (typeof customElements === "undefined") {
|
|
69
71
|
return;
|
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-a1724291.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-91098fd5.js';
|
|
7
7
|
|
|
8
|
-
const duetMenuBarLinkCss = "*,*::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;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";
|
|
8
|
+
const duetMenuBarLinkCss = "*,*::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;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";text-align:center;text-decoration:none}@media (min-width: 62em){.duet-menu-bar-link{padding:0 20px}}@media (min-width: 64.0625em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:#0077b3}.duet-theme-turva .duet-menu-bar-link.active{color:#c60c30}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:\"\";background:#0077b3;transition:300ms ease;transform:translateY(2px)}.duet-menu-bar-link--slot-center{font-size:1rem;font-weight:600;line-height:1.25;color:#00294d}.duet-menu-bar-link--slot-center.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:#940925}.duet-menu-bar-link--slot-center.active.duet-theme-turva::after{background:#c60c30}.duet-menu-bar-link--slot-center:hover{color:#0077b3}.duet-menu-bar-link--slot-center:hover.duet-theme-turva{color:#c60c30}.duet-menu-bar-link--slot-right{font-size:0.875rem;font-weight:400;line-height:1.25;color:#004d80}.duet-menu-bar-link--slot-right.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:#940925}.duet-menu-bar-link--slot-right:hover{color:#0077b3}.duet-menu-bar-link--slot-right:hover.duet-theme-turva{color:#c60c30}";
|
|
9
9
|
|
|
10
10
|
const DuetMenuBarLink$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.__attachShadow();
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
this.getVariant = () => {
|
|
16
|
+
const slot = this.element.parentElement.getAttribute("slot");
|
|
17
|
+
switch (slot) {
|
|
18
|
+
case "center":
|
|
19
|
+
return "center";
|
|
20
|
+
case "right":
|
|
21
|
+
return "right";
|
|
22
|
+
case "below":
|
|
23
|
+
return "below";
|
|
24
|
+
default:
|
|
25
|
+
return "center";
|
|
26
|
+
}
|
|
27
|
+
};
|
|
18
28
|
this.theme = "";
|
|
19
|
-
|
|
20
|
-
* Href
|
|
21
|
-
*/
|
|
29
|
+
this.active = false;
|
|
22
30
|
this.href = "#";
|
|
23
|
-
/**
|
|
24
|
-
* Icon
|
|
25
|
-
*/
|
|
26
31
|
this.icon = undefined;
|
|
27
32
|
}
|
|
28
33
|
/**
|
|
@@ -36,12 +41,18 @@ const DuetMenuBarLink$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
36
41
|
* Always the last one in the class.
|
|
37
42
|
*/
|
|
38
43
|
render() {
|
|
39
|
-
return (h(Host, null, h("a", { class: {
|
|
44
|
+
return (h(Host, null, h("a", { class: {
|
|
45
|
+
"duet-menu-bar-link": true,
|
|
46
|
+
"duet-theme-turva": this.theme === "turva",
|
|
47
|
+
active: this.active,
|
|
48
|
+
[`duet-menu-bar-link--slot-${this.getVariant()}`]: true,
|
|
49
|
+
}, href: this.href }, this.icon && h("duet-icon", { size: "x-small", name: this.icon, margin: "none" }), h("slot", null))));
|
|
40
50
|
}
|
|
41
51
|
get element() { return this; }
|
|
42
52
|
static get style() { return duetMenuBarLinkCss; }
|
|
43
53
|
}, [1, "duet-menu-bar-link", {
|
|
44
54
|
"theme": [1025],
|
|
55
|
+
"active": [1028],
|
|
45
56
|
"href": [1025],
|
|
46
57
|
"icon": [1537]
|
|
47
58
|
}]);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
5
|
-
import { m as media_query_large,
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-a1724291.js';
|
|
5
|
+
import { m as media_query_large, a as media_query_xx_large } from './p-738bd3c5.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-0bc5bea3.js';
|
|
8
8
|
|
|
9
|
-
const duetMenuBarCss = "*,*::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;width:100%}.duet-menu-bar{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;height:5rem;padding:0
|
|
9
|
+
const duetMenuBarCss = "*,*::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;width:100%}.duet-menu-bar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;height:5rem;padding:0 8px 0 20px;background:white;border-top:1px solid #e1e3e6;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}@media ((min-width: 62em)){.duet-menu-bar{padding:0 28px}}.duet-menu-bar>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:white}";
|
|
10
10
|
|
|
11
11
|
const DuetMenuBar$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
12
12
|
constructor() {
|
|
@@ -21,11 +21,6 @@ const DuetMenuBar$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
21
21
|
window.matchMedia(media_query_xx_large.replace(/'/g, "")),
|
|
22
22
|
];
|
|
23
23
|
this.boundMqlFunctions = [];
|
|
24
|
-
this.logoSize = "large";
|
|
25
|
-
/**
|
|
26
|
-
* Theme.
|
|
27
|
-
*/
|
|
28
|
-
this.theme = "";
|
|
29
24
|
this.changeLogoSize = () => {
|
|
30
25
|
if (this.mql[1].matches) {
|
|
31
26
|
this.logoSize = "large";
|
|
@@ -34,6 +29,9 @@ const DuetMenuBar$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
34
29
|
this.logoSize = "medium";
|
|
35
30
|
}
|
|
36
31
|
};
|
|
32
|
+
this.logoSize = "large";
|
|
33
|
+
this.theme = "";
|
|
34
|
+
this.logoHref = undefined;
|
|
37
35
|
}
|
|
38
36
|
/**
|
|
39
37
|
* Component lifecycle events.
|
|
@@ -66,12 +64,13 @@ const DuetMenuBar$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
66
64
|
* Always the last one in the class.
|
|
67
65
|
*/
|
|
68
66
|
render() {
|
|
69
|
-
return (h(Host, null, h("div", { class: { "duet-menu-bar": true, "duet-theme-turva": this.theme === "turva" }, role: "menubar" }, h("duet-logo", { size: this.logoSize, margin: "none" }), h("slot", { name: "center" }), h("slot", { name: "right" }))));
|
|
67
|
+
return (h(Host, null, h("div", { class: { "duet-menu-bar": true, "duet-theme-turva": this.theme === "turva" }, role: "menubar" }, h("duet-logo", { size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref }), h("slot", { name: "center" }), h("slot", { name: "right" }))));
|
|
70
68
|
}
|
|
71
69
|
get element() { return this; }
|
|
72
70
|
static get style() { return duetMenuBarCss; }
|
|
73
71
|
}, [1, "duet-menu-bar", {
|
|
74
72
|
"theme": [1025],
|
|
73
|
+
"logoHref": [1025, "logo-href"],
|
|
75
74
|
"logoSize": [32]
|
|
76
75
|
}]);
|
|
77
76
|
function defineCustomElement$1() {
|