@duetds/components 6.1.0 → 6.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +1156 -227
- 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 +10 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- 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 +5 -17
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
- 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 +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +8 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +49 -0
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +65 -0
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +46 -0
- package/lib/cjs/duet-menu-bar-menu-dropdown-link.cjs.entry.js +58 -0
- package/lib/cjs/duet-menu-bar-menu-dropdown.cjs.entry.js +65 -0
- package/lib/cjs/duet-menu-bar-menu-link.cjs.entry.js +50 -0
- package/lib/cjs/duet-menu-bar-menu.cjs.entry.js +65 -0
- package/lib/cjs/duet-menu-bar.cjs.entry.js +76 -0
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -6
- package/lib/cjs/duet-nav.cjs.entry.js +116 -0
- 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 +1 -1
- 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-section-layout.cjs.entry.js +42 -0
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +54 -0
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +78 -0
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +50 -0
- package/lib/cjs/duet-toolbar.cjs.entry.js +38 -0
- package/lib/cjs/duet-tooltip.cjs.entry.js +38 -16
- 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 +2 -2
- package/lib/cjs/{focus-utils-5bf92cc0.js → focus-utils-f315752c.js} +1 -1
- package/lib/cjs/{index-d380d72b.js → index-8b766a00.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{token-utils-f6e2f4ef.js → token-utils-2e10264d.js} +17 -1
- package/lib/cjs/{tokens-4c69b122.js → tokens-21b244ee.js} +1 -0
- package/lib/cjs/{tokens.module-1bb2d45e.js → tokens.module-69170ddd.js} +3 -0
- package/lib/collection/collection-manifest.json +19 -0
- package/lib/collection/components/duet-card/duet-card.css +45 -0
- package/lib/collection/components/duet-card/duet-card.js +29 -0
- package/lib/collection/components/duet-choice/duet-choice.css +3 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +1 -0
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +2 -2
- package/lib/collection/components/duet-input/duet-input.js +3 -3
- package/lib/collection/components/duet-layout/duet-layout.css +45 -0
- package/lib/collection/components/duet-layout/duet-layout.js +29 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +62 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +109 -0
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +125 -0
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +150 -0
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +52 -0
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +110 -0
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +61 -0
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +107 -0
- package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.css +113 -0
- package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.js +147 -0
- package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.css +113 -0
- package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js +150 -0
- package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.css +60 -0
- package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js +156 -0
- package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.css +65 -0
- package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js +129 -0
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +1 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +15 -5
- package/lib/collection/components/duet-nav/duet-nav.css +24 -0
- package/lib/collection/components/duet-nav/duet-nav.js +177 -0
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +100 -0
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +85 -0
- package/lib/collection/components/duet-select/duet-select.css +1 -0
- package/lib/collection/components/duet-select/duet-select.js +2 -2
- package/lib/collection/components/duet-table/duet-table.js +4 -16
- package/lib/collection/components/duet-textarea/duet-textarea.css +5 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +5 -5
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +43 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +67 -0
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +117 -0
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +181 -0
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +60 -0
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +133 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +78 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +129 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +41 -17
- package/lib/collection/utils/token-utils.js +15 -0
- 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 +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- 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 +12 -5
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +8 -8
- 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 +4 -4
- 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 +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- 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 +10 -3
- 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.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +73 -0
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +89 -0
- package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-link.js +70 -0
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.js +84 -0
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.js +89 -0
- package/lib/dist-custom-elements/duet-menu-bar-menu-link.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-menu-link.js +75 -0
- package/lib/dist-custom-elements/duet-menu-bar-menu.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-menu.js +83 -0
- package/lib/dist-custom-elements/duet-menu-bar.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar.js +99 -0
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +17 -14
- package/lib/dist-custom-elements/duet-nav.d.ts +11 -0
- package/lib/dist-custom-elements/duet-nav.js +132 -0
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +7 -7
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- 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 +6 -6
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.d.ts +11 -0
- package/lib/dist-custom-elements/duet-section-layout.js +59 -0
- 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 +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +8 -8
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +11 -0
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +79 -0
- package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +11 -0
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +103 -0
- package/lib/dist-custom-elements/duet-toolbar-link.d.ts +11 -0
- package/lib/dist-custom-elements/duet-toolbar-link.js +75 -0
- package/lib/dist-custom-elements/duet-toolbar.d.ts +11 -0
- package/lib/dist-custom-elements/duet-toolbar.js +54 -0
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +4 -4
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-4dd0d2e0.js → p-0d0af8e2.js} +1 -1
- package/lib/dist-custom-elements/{p-a10df7a8.js → p-0dbd8ead.js} +1 -1
- package/lib/dist-custom-elements/{p-eef3373f.js → p-1660a543.js} +5 -17
- package/lib/dist-custom-elements/{p-5368b90e.js → p-16bbf7e7.js} +1 -1
- package/lib/dist-custom-elements/{p-3f5248cc.js → p-16d983ad.js} +9 -9
- package/lib/dist-custom-elements/{p-c2c3e421.js → p-1f959cea.js} +2 -2
- package/lib/dist-custom-elements/{p-15cca1fa.js → p-2a5e75c0.js} +2 -2
- package/lib/dist-custom-elements/{p-a0188402.js → p-2d1cf7e3.js} +5 -5
- package/lib/dist-custom-elements/{p-c2260d50.js → p-31f00dce.js} +5 -5
- package/lib/{esm/tokens.module-385c4cf8.js → dist-custom-elements/p-33e00967.js} +1 -1
- package/lib/dist-custom-elements/{p-a19a3c64.js → p-3bec3104.js} +2 -2
- package/lib/dist-custom-elements/{p-76a12869.js → p-3e0ead30.js} +2 -2
- package/lib/dist-custom-elements/{p-a720eb56.js → p-3ed61ce7.js} +2 -2
- package/lib/dist-custom-elements/{p-40964c90.js → p-53eddb5a.js} +2 -2
- package/lib/dist-custom-elements/{p-2b6e0098.js → p-5bdcbd0e.js} +1 -1
- package/lib/dist-custom-elements/{p-3f9960ee.js → p-6081cf65.js} +1 -1
- package/lib/dist-custom-elements/{p-e436e97c.js → p-66fc1eed.js} +5 -5
- package/lib/dist-custom-elements/{p-df05a117.js → p-6ece5282.js} +1 -1
- package/lib/dist-custom-elements/{p-f5d54803.js → p-707df62e.js} +2 -2
- package/lib/dist-custom-elements/{p-025242f2.js → p-9a47afcf.js} +9 -9
- package/lib/dist-custom-elements/{p-260d7413.js → p-9a796e5f.js} +2 -2
- package/lib/{esm/token-utils-ebf797ab.js → dist-custom-elements/p-9ed347f9.js} +17 -2
- package/lib/dist-custom-elements/{p-f06badc1.js → p-9f2c945f.js} +4 -4
- package/lib/dist-custom-elements/{p-84036192.js → p-a1ee57d9.js} +3 -3
- package/lib/dist-custom-elements/{p-b828da80.js → p-a2eb4904.js} +7 -7
- package/lib/dist-custom-elements/{p-b125807e.js → p-ab4d6c41.js} +1 -1
- package/lib/dist-custom-elements/{p-e06d804b.js → p-b0d3c21f.js} +1 -1
- package/lib/dist-custom-elements/{p-dde39f08.js → p-b8f705bf.js} +2 -2
- package/lib/dist-custom-elements/{p-5c30c1e6.js → p-bf5ba2a1.js} +43 -19
- package/lib/dist-custom-elements/{p-02305a1e.js → p-c4d8cad0.js} +1 -1
- package/lib/dist-custom-elements/{p-35856a5f.js → p-c7aa42d8.js} +1 -1
- package/lib/dist-custom-elements/{p-6352244e.js → p-e1f6ab98.js} +1 -1
- package/lib/dist-custom-elements/{p-983633e4.js → p-e2f50452.js} +2 -2
- package/lib/dist-custom-elements/{p-14799264.js → p-f052029f.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-fb97dc52.entry.js → p-003cf430.entry.js} +1 -1
- package/lib/duet/{p-9ff90002.entry.js → p-00535da0.entry.js} +1 -1
- package/lib/duet/{p-bedf7cb7.system.entry.js → p-0374ca9f.system.entry.js} +1 -1
- package/lib/duet/p-04194ad5.js +4 -0
- package/lib/duet/{p-8db9e436.system.entry.js → p-04ca1bb2.system.entry.js} +1 -1
- package/lib/duet/p-102bbb59.system.entry.js +4 -0
- package/lib/duet/p-10688c3d.system.entry.js +4 -0
- package/lib/duet/{p-d4a24199.entry.js → p-13492066.entry.js} +1 -1
- package/lib/duet/{p-55f8c851.system.entry.js → p-144b1e79.system.entry.js} +1 -1
- package/lib/duet/{p-6cc20670.system.entry.js → p-1602c1fc.system.entry.js} +1 -1
- package/lib/duet/p-17063917.system.js +4 -0
- package/lib/duet/p-17ae7919.system.entry.js +4 -0
- package/lib/duet/p-18520e88.entry.js +4 -0
- package/lib/duet/{p-f01eb4ea.system.entry.js → p-19473005.system.entry.js} +1 -1
- package/lib/duet/{p-3ab707be.system.entry.js → p-210f384c.system.entry.js} +1 -1
- package/lib/duet/{p-1034d5d8.system.entry.js → p-21cd817d.system.entry.js} +1 -1
- package/lib/duet/{p-48f15ed7.entry.js → p-22702ae6.entry.js} +1 -1
- package/lib/duet/p-23dc1c60.entry.js +4 -0
- package/lib/duet/p-250895df.system.entry.js +4 -0
- package/lib/duet/p-2da25166.entry.js +4 -0
- package/lib/duet/{p-6d2d9897.entry.js → p-2e4ea7e1.entry.js} +1 -1
- package/lib/duet/p-2f344dbb.system.entry.js +4 -0
- package/lib/duet/{p-5f4a200f.system.entry.js → p-3050a8e3.system.entry.js} +1 -1
- package/lib/duet/{p-3287e496.entry.js → p-31c64b6b.entry.js} +1 -1
- package/lib/duet/p-31e85d0f.entry.js +4 -0
- package/lib/duet/p-3278bc0e.entry.js +4 -0
- package/lib/duet/p-33c4ce85.system.js +5 -0
- package/lib/duet/{p-0c1fdd7c.entry.js → p-36f24299.entry.js} +1 -1
- package/lib/duet/p-37f784b3.system.entry.js +4 -0
- package/lib/duet/p-38aab2f6.entry.js +4 -0
- package/lib/duet/{p-f6240801.system.entry.js → p-392ad86e.system.entry.js} +1 -1
- package/lib/duet/{p-0bc10576.system.entry.js → p-3a4b3061.system.entry.js} +1 -1
- package/lib/duet/{p-88e3d858.entry.js → p-3af68d87.entry.js} +1 -1
- package/lib/duet/p-3d51c851.entry.js +4 -0
- package/lib/duet/{p-5174a8af.system.entry.js → p-4115c4f6.system.entry.js} +1 -1
- package/lib/duet/{p-89b3c614.entry.js → p-44b472d6.entry.js} +1 -1
- package/lib/duet/{p-33bbde60.entry.js → p-4502c616.entry.js} +1 -1
- package/lib/duet/{p-08c8edc7.system.js → p-45d0dfd1.system.js} +1 -1
- package/lib/duet/{p-3f6487d8.entry.js → p-470004db.entry.js} +1 -1
- package/lib/duet/{p-69d0a2ce.system.entry.js → p-4ab63c96.system.entry.js} +1 -1
- package/lib/duet/{p-1e8365c3.entry.js → p-4b423e3b.entry.js} +1 -1
- package/lib/duet/{p-a4acf397.entry.js → p-4e95b48e.entry.js} +1 -1
- package/lib/duet/{p-db9db173.system.entry.js → p-525d2afb.system.entry.js} +1 -1
- package/lib/duet/{p-2957055a.system.entry.js → p-52666cd9.system.entry.js} +1 -1
- package/lib/duet/{p-d2a55128.system.entry.js → p-56e96787.system.entry.js} +1 -1
- package/lib/duet/{p-4fee02ae.system.entry.js → p-59015b45.system.entry.js} +1 -1
- package/lib/duet/p-5ad3ed6b.entry.js +4 -0
- package/lib/duet/p-5aec4a35.entry.js +4 -0
- package/lib/duet/p-5d46f619.system.js +4 -0
- package/lib/duet/{p-33814c22.entry.js → p-5efa213f.entry.js} +1 -1
- package/lib/duet/p-6080d9b5.system.entry.js +4 -0
- package/lib/duet/{p-134bbc67.entry.js → p-60a566c1.entry.js} +1 -1
- package/lib/duet/p-6151b365.entry.js +4 -0
- package/lib/duet/{p-c055fcd1.entry.js → p-617b1da2.entry.js} +1 -1
- package/lib/duet/{p-351fbda4.entry.js → p-712b5542.entry.js} +1 -1
- package/lib/duet/{p-88eabc52.entry.js → p-731712d2.entry.js} +1 -1
- package/lib/duet/{p-20df1f28.entry.js → p-75c19e1c.entry.js} +1 -1
- package/lib/duet/p-77415057.entry.js +4 -0
- package/lib/duet/p-77fb82af.entry.js +4 -0
- package/lib/duet/{p-c8e84baf.entry.js → p-7950ec0a.entry.js} +1 -1
- package/lib/duet/p-79a9746e.js +4 -0
- package/lib/duet/{p-a8e38895.system.entry.js → p-7b5c6a76.system.entry.js} +1 -1
- package/lib/duet/p-7b5e9d57.system.entry.js +4 -0
- package/lib/duet/{p-be9d7718.entry.js → p-7dc684c1.entry.js} +1 -1
- package/lib/duet/p-8078b081.system.js +4 -0
- package/lib/duet/p-82b158e7.system.entry.js +4 -0
- package/lib/duet/p-85eb473a.entry.js +4 -0
- package/lib/duet/{p-10a9fe19.system.entry.js → p-88f3ef96.system.entry.js} +1 -1
- package/lib/duet/{p-d50688a8.entry.js → p-89635fde.entry.js} +1 -1
- package/lib/duet/{p-2b7f998c.system.entry.js → p-8c846d3c.system.entry.js} +1 -1
- package/lib/duet/{p-73c3092e.system.entry.js → p-8eb24fb8.system.entry.js} +1 -1
- package/lib/duet/{p-db2cfc87.system.entry.js → p-8fbb8b77.system.entry.js} +2 -2
- package/lib/duet/p-8fbd4fc0.system.entry.js +4 -0
- package/lib/duet/p-9052b6f5.js +4 -0
- package/lib/duet/p-9153e014.entry.js +4 -0
- package/lib/duet/{p-fd1ed521.entry.js → p-91a3a356.entry.js} +1 -1
- package/lib/duet/p-94d5a7bd.entry.js +4 -0
- package/lib/duet/{p-97b281b2.system.entry.js → p-964b34f4.system.entry.js} +1 -1
- package/lib/duet/p-97e43d0c.entry.js +4 -0
- package/lib/duet/{p-a883b01d.entry.js → p-9b0a412d.entry.js} +1 -1
- package/lib/duet/p-9b0f8f98.system.entry.js +4 -0
- package/lib/duet/p-a404df7a.system.entry.js +4 -0
- package/lib/duet/p-a9b03459.entry.js +4 -0
- package/lib/duet/{p-4d6b04f1.system.entry.js → p-aae0b654.system.entry.js} +1 -1
- package/lib/duet/p-ae290a42.system.entry.js +4 -0
- package/lib/duet/p-af18ff58.entry.js +4 -0
- package/lib/duet/p-b062dc37.entry.js +4 -0
- package/lib/duet/{p-e19ba091.entry.js → p-b0962b4e.entry.js} +1 -1
- package/lib/duet/p-b1ae18f7.js +5 -0
- package/lib/duet/{p-07c53212.entry.js → p-b4e086e7.entry.js} +1 -1
- package/lib/duet/p-b559c7ab.entry.js +4 -0
- package/lib/duet/{p-4a97bbae.system.entry.js → p-b73840c1.system.entry.js} +1 -1
- package/lib/duet/{p-2d906752.entry.js → p-b8ad772d.entry.js} +1 -1
- package/lib/duet/{p-bdbe682d.system.entry.js → p-b910648a.system.entry.js} +2 -2
- package/lib/duet/{p-7ed493e6.system.entry.js → p-b993ab57.system.entry.js} +1 -1
- package/lib/duet/p-c4d8cad0.js +4 -0
- package/lib/duet/p-c5f2418b.entry.js +4 -0
- package/lib/duet/p-c619dc03.system.entry.js +4 -0
- package/lib/duet/{p-18c2588a.entry.js → p-c6fb22f9.entry.js} +1 -1
- package/lib/duet/{p-2a2b5109.entry.js → p-c8dbf785.entry.js} +1 -1
- package/lib/duet/{p-b2da699d.system.entry.js → p-c9df8e9f.system.entry.js} +1 -1
- package/lib/duet/{p-79eada30.system.entry.js → p-cae5ab1c.system.entry.js} +1 -1
- package/lib/duet/{p-6def950d.system.entry.js → p-ce456bdb.system.entry.js} +1 -1
- package/lib/duet/p-d0550118.entry.js +4 -0
- package/lib/duet/p-d1a97884.entry.js +4 -0
- package/lib/duet/p-d3bdb846.system.entry.js +4 -0
- package/lib/duet/{p-2b822122.entry.js → p-d6194a62.entry.js} +1 -1
- package/lib/duet/{p-e4c320e2.system.entry.js → p-d72eb61f.system.entry.js} +1 -1
- package/lib/duet/p-d7848577.entry.js +4 -0
- package/lib/duet/p-d82c8036.system.entry.js +4 -0
- package/lib/duet/{p-8c17003f.system.entry.js → p-da204830.system.entry.js} +1 -1
- package/lib/duet/{p-35351cf2.system.entry.js → p-dbd3f4fb.system.entry.js} +1 -1
- package/lib/duet/{p-24b890e9.entry.js → p-dc3768df.entry.js} +1 -1
- package/lib/duet/{p-c8a46ebb.system.entry.js → p-e05b7ca5.system.entry.js} +1 -1
- package/lib/duet/p-e29e2e8a.system.entry.js +4 -0
- package/lib/duet/p-e6f8da2c.system.entry.js +4 -0
- package/lib/duet/{p-e13a54c8.system.entry.js → p-ebad8ba3.system.entry.js} +1 -1
- package/lib/duet/p-ebd46875.entry.js +4 -0
- package/lib/duet/{p-9343afe6.system.entry.js → p-ecdeabef.system.entry.js} +1 -1
- package/lib/duet/p-eef165b8.system.js +4 -0
- package/lib/duet/p-f4601404.system.entry.js +4 -0
- package/lib/duet/p-f5001902.entry.js +4 -0
- package/lib/duet/{p-17213a02.system.entry.js → p-f8b63e2b.system.entry.js} +1 -1
- package/lib/duet/{p-e86917b0.system.entry.js → p-fbdc3487.system.entry.js} +1 -1
- package/lib/duet/{p-b0b61064.system.entry.js → p-ff6accaf.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 +10 -4
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- 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 +5 -17
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +4 -4
- 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 +4 -4
- package/lib/esm/duet-layout.entry.js +8 -2
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +45 -0
- package/lib/esm/duet-menu-bar-dropdown.entry.js +61 -0
- package/lib/esm/duet-menu-bar-link.entry.js +42 -0
- package/lib/esm/duet-menu-bar-menu-dropdown-link.entry.js +54 -0
- package/lib/esm/duet-menu-bar-menu-dropdown.entry.js +61 -0
- package/lib/esm/duet-menu-bar-menu-link.entry.js +46 -0
- package/lib/esm/duet-menu-bar-menu.entry.js +61 -0
- package/lib/esm/duet-menu-bar.entry.js +72 -0
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +9 -6
- package/lib/esm/duet-nav.entry.js +112 -0
- 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 +1 -1
- 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-section-layout.entry.js +38 -0
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +5 -5
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +50 -0
- package/lib/esm/duet-toolbar-dropdown.entry.js +74 -0
- package/lib/esm/duet-toolbar-link.entry.js +46 -0
- package/lib/esm/duet-toolbar.entry.js +34 -0
- package/lib/esm/duet-tooltip.entry.js +38 -16
- 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 +2 -2
- package/lib/esm/{focus-utils-f6146965.js → focus-utils-6d867f9e.js} +1 -1
- package/lib/esm/{index-81967d12.js → index-85cd77f2.js} +1 -1
- package/lib/esm/loader.js +2 -2
- package/lib/{dist-custom-elements/p-86faf728.js → esm/token-utils-b531747a.js} +17 -2
- package/lib/esm/{tokens-b9d87fda.js → tokens-0963dc8b.js} +1 -1
- package/lib/{dist-custom-elements/p-266411cf.js → esm/tokens.module-d3321092.js} +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- 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 +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 +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-menu-bar-dropdown-link.entry.js +4 -0
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +4 -0
- package/lib/esm-es5/duet-menu-bar-link.entry.js +4 -0
- package/lib/esm-es5/duet-menu-bar-menu-dropdown-link.entry.js +4 -0
- package/lib/esm-es5/duet-menu-bar-menu-dropdown.entry.js +4 -0
- package/lib/esm-es5/duet-menu-bar-menu-link.entry.js +4 -0
- package/lib/esm-es5/duet-menu-bar-menu.entry.js +4 -0
- package/lib/esm-es5/duet-menu-bar.entry.js +4 -0
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +4 -0
- 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-section-layout.entry.js +4 -0
- 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 +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +4 -0
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +4 -0
- package/lib/esm-es5/duet-toolbar-link.entry.js +4 -0
- package/lib/esm-es5/duet-toolbar.entry.js +4 -0
- 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-f6146965.js → focus-utils-6d867f9e.js} +1 -1
- package/lib/esm-es5/index-85cd77f2.js +5 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/token-utils-b531747a.js +4 -0
- package/lib/esm-es5/{tokens-b9d87fda.js → tokens-0963dc8b.js} +1 -1
- package/lib/esm-es5/{tokens.module-385c4cf8.js → tokens.module-d3321092.js} +1 -1
- package/lib/types/components/duet-card/duet-card.d.ts +6 -0
- package/lib/types/components/duet-layout/duet-layout.d.ts +6 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +35 -0
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +49 -0
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +32 -0
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +32 -0
- package/lib/types/components/duet-menu-bar-menu/duet-menu-bar-menu.d.ts +49 -0
- package/lib/types/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.d.ts +49 -0
- package/lib/types/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.d.ts +40 -0
- package/lib/types/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.d.ts +36 -0
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -1
- package/lib/types/components/duet-nav/duet-nav.d.ts +42 -0
- package/lib/types/components/duet-section-layout/duet-section-layout.d.ts +21 -0
- package/lib/types/components/duet-table/duet-table.d.ts +1 -12
- package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +28 -0
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +53 -0
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +36 -0
- package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +36 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +6 -2
- package/lib/types/components.d.ts +563 -0
- package/lib/types/utils/token-utils.d.ts +12 -0
- package/package.json +5 -5
- package/lib/duet/p-02305a1e.js +0 -4
- package/lib/duet/p-1fc60a60.system.js +0 -4
- package/lib/duet/p-2f183314.js +0 -4
- package/lib/duet/p-3166de44.entry.js +0 -4
- package/lib/duet/p-32f7178a.system.js +0 -4
- package/lib/duet/p-363c6807.entry.js +0 -4
- package/lib/duet/p-4056c348.entry.js +0 -4
- package/lib/duet/p-4c3bfd8a.entry.js +0 -4
- package/lib/duet/p-532e9db7.js +0 -4
- package/lib/duet/p-545177af.entry.js +0 -4
- package/lib/duet/p-588be556.js +0 -4
- package/lib/duet/p-709654f2.entry.js +0 -4
- package/lib/duet/p-8c2a2440.entry.js +0 -4
- package/lib/duet/p-8cea8546.system.js +0 -4
- package/lib/duet/p-95340ddf.system.entry.js +0 -4
- package/lib/duet/p-9c2d276b.entry.js +0 -4
- package/lib/duet/p-9e9b3182.system.js +0 -5
- package/lib/duet/p-aba4b236.entry.js +0 -4
- package/lib/duet/p-b2a940b5.system.entry.js +0 -4
- package/lib/duet/p-cc7f44f9.system.entry.js +0 -4
- package/lib/duet/p-cf9027e3.system.entry.js +0 -4
- package/lib/duet/p-d209191d.system.js +0 -4
- package/lib/duet/p-d8ae3650.system.entry.js +0 -4
- package/lib/duet/p-dc6fd9c6.js +0 -5
- package/lib/duet/p-e2adbecc.entry.js +0 -4
- package/lib/duet/p-f493ae81.entry.js +0 -4
- package/lib/duet/p-f827b4b6.entry.js +0 -4
- package/lib/esm-es5/index-81967d12.js +0 -5
- package/lib/esm-es5/token-utils-ebf797ab.js +0 -4
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"./components/duet-layout/duet-layout.js",
|
|
27
27
|
"./components/duet-list/duet-list.js",
|
|
28
28
|
"./components/duet-logo/duet-logo.js",
|
|
29
|
+
"./components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js",
|
|
30
|
+
"./components/duet-menu-bar-menu/duet-menu-bar-menu.js",
|
|
31
|
+
"./components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js",
|
|
29
32
|
"./components/duet-modal/duet-modal.js",
|
|
30
33
|
"./components/duet-multiselect/duet-multiselect.js",
|
|
31
34
|
"./components/duet-notification-drawer/duet-notification-drawer.js",
|
|
@@ -43,6 +46,7 @@
|
|
|
43
46
|
"./components/duet-tab-group/duet-tab-group.js",
|
|
44
47
|
"./components/duet-textarea/duet-textarea.js",
|
|
45
48
|
"./components/duet-toggle/duet-toggle.js",
|
|
49
|
+
"./components/duet-toolbar-dropdown/duet-toolbar-dropdown.js",
|
|
46
50
|
"./components/duet-tooltip/duet-tooltip.js",
|
|
47
51
|
"./components/duet-upload-aria-status/duet-upload-aria-status.js",
|
|
48
52
|
"./components/duet-upload/duet-upload.js",
|
|
@@ -54,11 +58,21 @@
|
|
|
54
58
|
"./components/duet-grid-item/duet-grid-item.js",
|
|
55
59
|
"./components/duet-link/duet-link.js",
|
|
56
60
|
"./components/duet-list-item/duet-list-item.js",
|
|
61
|
+
"./components/duet-menu-bar/duet-menu-bar.js",
|
|
62
|
+
"./components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js",
|
|
63
|
+
"./components/duet-menu-bar-link/duet-menu-bar-link.js",
|
|
64
|
+
"./components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js",
|
|
65
|
+
"./components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js",
|
|
66
|
+
"./components/duet-nav/duet-nav.js",
|
|
57
67
|
"./components/duet-notification/duet-notification.js",
|
|
58
68
|
"./components/duet-progress/duet-progress.js",
|
|
59
69
|
"./components/duet-radio-group/duet-radio-group.js",
|
|
60
70
|
"./components/duet-scrollable/duet-scrollable.js",
|
|
71
|
+
"./components/duet-section-layout/duet-section-layout.js",
|
|
61
72
|
"./components/duet-tab/duet-tab.js",
|
|
73
|
+
"./components/duet-toolbar/duet-toolbar.js",
|
|
74
|
+
"./components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js",
|
|
75
|
+
"./components/duet-toolbar-link/duet-toolbar-link.js",
|
|
62
76
|
"./components/duet-tray/duet-tray.js",
|
|
63
77
|
"./components/duet-visually-hidden/duet-visually-hidden.js"
|
|
64
78
|
],
|
|
@@ -109,6 +123,11 @@
|
|
|
109
123
|
"duet-layout"
|
|
110
124
|
]
|
|
111
125
|
},
|
|
126
|
+
{
|
|
127
|
+
"components": [
|
|
128
|
+
"duet-section-layout"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
112
131
|
{
|
|
113
132
|
"components": [
|
|
114
133
|
"duet-number-input"
|
|
@@ -62,6 +62,51 @@
|
|
|
62
62
|
.duet-theme-turva .duet-card:focus, .duet-card:focus.duet-theme-turva {
|
|
63
63
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
64
64
|
}
|
|
65
|
+
@media (max-width: 20.5em) {
|
|
66
|
+
.duet-card.shadow-xxx-small {
|
|
67
|
+
box-shadow: none;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
@media (max-width: 22.5em) {
|
|
71
|
+
.duet-card.shadow-xx-small {
|
|
72
|
+
box-shadow: none;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
@media (max-width: 35.9375em) {
|
|
76
|
+
.duet-card.shadow-x-small {
|
|
77
|
+
box-shadow: none;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
@media (min-width: 36em) {
|
|
81
|
+
.duet-card.shadow-small {
|
|
82
|
+
box-shadow: none;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
@media (min-width: 48em) {
|
|
86
|
+
.duet-card.shadow-medium {
|
|
87
|
+
box-shadow: none;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
@media (min-width: 62em) {
|
|
91
|
+
.duet-card.shadow-large {
|
|
92
|
+
box-shadow: none;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
@media (min-width: 64.0625em) {
|
|
96
|
+
.duet-card.shadow-x-large {
|
|
97
|
+
box-shadow: none;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
@media (min-width: 76.25em) {
|
|
101
|
+
.duet-card.shadow-xx-large {
|
|
102
|
+
box-shadow: none;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
@media (min-width: 106.25em) {
|
|
106
|
+
.duet-card.shadow-xxx-large {
|
|
107
|
+
box-shadow: none;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
65
110
|
@media (min-width: 36em) {
|
|
66
111
|
.duet-card {
|
|
67
112
|
padding: 28px !important;
|
|
@@ -66,6 +66,11 @@ export class DuetCard {
|
|
|
66
66
|
* Theme of the card.
|
|
67
67
|
*/
|
|
68
68
|
this.theme = "";
|
|
69
|
+
/**
|
|
70
|
+
* Breakpoint used to remove shadow around card. These match to
|
|
71
|
+
* similar media query tokens: $media-query-small and $media-query-medium.
|
|
72
|
+
*/
|
|
73
|
+
this.shadowBreakpoint = undefined;
|
|
69
74
|
/**
|
|
70
75
|
* Local methods.
|
|
71
76
|
*/
|
|
@@ -144,6 +149,7 @@ export class DuetCard {
|
|
|
144
149
|
"duet-card": true,
|
|
145
150
|
[this.padding]: true,
|
|
146
151
|
[this.variation]: true,
|
|
152
|
+
[`shadow-${this.shadowBreakpoint}`]: !!this.shadowBreakpoint,
|
|
147
153
|
"duet-p-0": this.padding === "none",
|
|
148
154
|
"duet-theme-turva": this.theme === "turva",
|
|
149
155
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
@@ -447,6 +453,29 @@ export class DuetCard {
|
|
|
447
453
|
},
|
|
448
454
|
"attribute": "url",
|
|
449
455
|
"reflect": false
|
|
456
|
+
},
|
|
457
|
+
"shadowBreakpoint": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"mutable": false,
|
|
460
|
+
"complexType": {
|
|
461
|
+
"original": "DuetBreakpoints",
|
|
462
|
+
"resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\" | \"xxx-large\" | \"xxx-small\"",
|
|
463
|
+
"references": {
|
|
464
|
+
"DuetBreakpoints": {
|
|
465
|
+
"location": "import",
|
|
466
|
+
"path": "../../utils/token-utils"
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"required": false,
|
|
471
|
+
"optional": true,
|
|
472
|
+
"docs": {
|
|
473
|
+
"tags": [],
|
|
474
|
+
"text": "Breakpoint used to remove shadow around card. These match to\nsimilar media query tokens: $media-query-small and $media-query-medium."
|
|
475
|
+
},
|
|
476
|
+
"attribute": "shadow-breakpoint",
|
|
477
|
+
"reflect": false,
|
|
478
|
+
"defaultValue": "undefined"
|
|
450
479
|
}
|
|
451
480
|
}; }
|
|
452
481
|
static get events() { return [{
|
|
@@ -440,9 +440,7 @@ input[disabled] + .duet-choice-label .duet-checkmark {
|
|
|
440
440
|
|
|
441
441
|
.duet-choice-input {
|
|
442
442
|
position: absolute !important;
|
|
443
|
-
width:
|
|
444
|
-
height:
|
|
445
|
-
|
|
446
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
447
|
-
color: transparent;
|
|
443
|
+
width: 100%;
|
|
444
|
+
height: 100%;
|
|
445
|
+
opacity: 0;
|
|
448
446
|
}
|
|
@@ -101,6 +101,7 @@ legend {
|
|
|
101
101
|
margin-top: 12px;
|
|
102
102
|
}
|
|
103
103
|
.duet-theme-turva .duet-fieldset-help {
|
|
104
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
104
105
|
color: #e02a0d;
|
|
105
106
|
}
|
|
106
107
|
|
|
@@ -42,7 +42,7 @@ export class DuetFieldset {
|
|
|
42
42
|
*/
|
|
43
43
|
render() {
|
|
44
44
|
return (h(Host, { class: { "duet-m-0": this.margin === "none" } },
|
|
45
|
-
h("fieldset", { "aria-labelledby": `${this.
|
|
45
|
+
h("fieldset", { "aria-labelledby": `${this.errorId} ${this.labelId}`, "aria-errormessage": this.error ? this.errorId : null, class: {
|
|
46
46
|
"duet-fieldset": true,
|
|
47
47
|
"duet-theme-turva": this.theme === "turva",
|
|
48
48
|
} },
|
|
@@ -61,7 +61,7 @@ export class DuetFieldset {
|
|
|
61
61
|
this.caption && (h("div", { class: "duet-fieldset-caption", "aria-hidden": "true" },
|
|
62
62
|
h("duet-caption", { margin: "none" }, this.caption)))),
|
|
63
63
|
h("slot", null),
|
|
64
|
-
h("span", { class: "duet-fieldset-help", id: this.errorId, "aria-live": "
|
|
64
|
+
h("span", { class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", null, this.error)))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "duet-fieldset"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -320,8 +320,8 @@ export class DuetInput {
|
|
|
320
320
|
"is-number": this.component === "number",
|
|
321
321
|
"is-date": this.component === "date",
|
|
322
322
|
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy
|
|
323
|
-
? `${this.
|
|
324
|
-
: `${this.
|
|
323
|
+
? `${this.errorId} ${this.labelId} ${this.accessibleLabelledBy}`
|
|
324
|
+
: `${this.errorId} ${this.labelId}`, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-errormessage": this.error ? this.errorId : null, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)),
|
|
325
325
|
!this.icon &&
|
|
326
326
|
this.type !== "text" &&
|
|
327
327
|
this.type !== "tel" &&
|
|
@@ -336,7 +336,7 @@ export class DuetInput {
|
|
|
336
336
|
h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))),
|
|
337
337
|
this.variation === "button" && h("slot", { name: "button" }),
|
|
338
338
|
h("slot", null)),
|
|
339
|
-
h("span", { class: "duet-input-help", id: this.errorId, "aria-live": "
|
|
339
|
+
h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
340
340
|
}
|
|
341
341
|
static get is() { return "duet-input"; }
|
|
342
342
|
static get encapsulation() { return "scoped"; }
|
|
@@ -55,6 +55,51 @@
|
|
|
55
55
|
padding: 0 16px;
|
|
56
56
|
margin: 48px auto 36px;
|
|
57
57
|
}
|
|
58
|
+
@media (max-width: 20.5em) {
|
|
59
|
+
.duet-layout.padding-xxx-small {
|
|
60
|
+
padding: 0;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
@media (max-width: 22.5em) {
|
|
64
|
+
.duet-layout.padding-xx-small {
|
|
65
|
+
padding: 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
@media (max-width: 35.9375em) {
|
|
69
|
+
.duet-layout.padding-x-small {
|
|
70
|
+
padding: 0;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
@media (min-width: 36em) {
|
|
74
|
+
.duet-layout.padding-small {
|
|
75
|
+
padding: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
@media (min-width: 48em) {
|
|
79
|
+
.duet-layout.padding-medium {
|
|
80
|
+
padding: 0;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
@media (min-width: 62em) {
|
|
84
|
+
.duet-layout.padding-large {
|
|
85
|
+
padding: 0;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
@media (min-width: 64.0625em) {
|
|
89
|
+
.duet-layout.padding-x-large {
|
|
90
|
+
padding: 0;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
@media (min-width: 76.25em) {
|
|
94
|
+
.duet-layout.padding-xx-large {
|
|
95
|
+
padding: 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
@media (min-width: 106.25em) {
|
|
99
|
+
.duet-layout.padding-xxx-large {
|
|
100
|
+
padding: 0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
58
103
|
@media (min-width: 36em) {
|
|
59
104
|
.duet-layout {
|
|
60
105
|
margin-top: 72px;
|
|
@@ -40,6 +40,11 @@ export class DuetLayout {
|
|
|
40
40
|
* Align container vertically in the middle when the space allows it.
|
|
41
41
|
*/
|
|
42
42
|
this.middle = false;
|
|
43
|
+
/**
|
|
44
|
+
* Breakpoint used to remove padding. These match to
|
|
45
|
+
* similar media query tokens: $media-query-small and $media-query-medium.
|
|
46
|
+
*/
|
|
47
|
+
this.paddingBreakpoint = undefined;
|
|
43
48
|
}
|
|
44
49
|
/**
|
|
45
50
|
* Component lifecycle events.
|
|
@@ -73,6 +78,7 @@ export class DuetLayout {
|
|
|
73
78
|
"has-sidebar": this.hasSidebar,
|
|
74
79
|
"duet-m-0": this.margin === "none",
|
|
75
80
|
"duet-center": this.center,
|
|
81
|
+
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
76
82
|
} },
|
|
77
83
|
h("main", { class: "duet-main" },
|
|
78
84
|
h("slot", { name: "main" })),
|
|
@@ -210,6 +216,29 @@ export class DuetLayout {
|
|
|
210
216
|
"attribute": "middle",
|
|
211
217
|
"reflect": false,
|
|
212
218
|
"defaultValue": "false"
|
|
219
|
+
},
|
|
220
|
+
"paddingBreakpoint": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"mutable": false,
|
|
223
|
+
"complexType": {
|
|
224
|
+
"original": "DuetBreakpoints",
|
|
225
|
+
"resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\" | \"xxx-large\" | \"xxx-small\"",
|
|
226
|
+
"references": {
|
|
227
|
+
"DuetBreakpoints": {
|
|
228
|
+
"location": "import",
|
|
229
|
+
"path": "../../utils/token-utils"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"required": false,
|
|
234
|
+
"optional": true,
|
|
235
|
+
"docs": {
|
|
236
|
+
"tags": [],
|
|
237
|
+
"text": "Breakpoint used to remove padding. These match to\nsimilar media query tokens: $media-query-small and $media-query-medium."
|
|
238
|
+
},
|
|
239
|
+
"attribute": "padding-breakpoint",
|
|
240
|
+
"reflect": false,
|
|
241
|
+
"defaultValue": "undefined"
|
|
213
242
|
}
|
|
214
243
|
}; }
|
|
215
244
|
static get elementRef() { return "element"; }
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.duet-menu-bar {
|
|
27
|
+
position: relative;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 5rem;
|
|
33
|
+
padding: 0 28px;
|
|
34
|
+
background: white;
|
|
35
|
+
border-top: 1px solid #e1e3e6;
|
|
36
|
+
box-shadow: 0 3px 6px 0 rgba(0, 41, 77, 0.1);
|
|
37
|
+
}
|
|
38
|
+
.duet-menu-bar > * {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
height: 100%;
|
|
43
|
+
}
|
|
44
|
+
.duet-menu-bar > :first-child {
|
|
45
|
+
flex-basis: 0;
|
|
46
|
+
flex-grow: 1;
|
|
47
|
+
justify-content: flex-start;
|
|
48
|
+
}
|
|
49
|
+
.duet-menu-bar > :last-child {
|
|
50
|
+
flex-basis: 0;
|
|
51
|
+
flex-grow: 1;
|
|
52
|
+
justify-content: flex-end;
|
|
53
|
+
}
|
|
54
|
+
.duet-menu-bar ::slotted(*) {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
height: 100%;
|
|
59
|
+
}
|
|
60
|
+
.duet-menu-bar.duet-theme-turva {
|
|
61
|
+
background: white;
|
|
62
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { media_query_large, media_query_xx_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
|
+
import { Component, Element, h, Host, Prop, State } from "@stencil/core";
|
|
6
|
+
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
+
/**
|
|
8
|
+
* @slot center - Slot for content in center.
|
|
9
|
+
* @slot right - Slot for content in right side.
|
|
10
|
+
*/
|
|
11
|
+
export class DuetMenuBar {
|
|
12
|
+
constructor() {
|
|
13
|
+
/**
|
|
14
|
+
* Own Properties.
|
|
15
|
+
*/
|
|
16
|
+
this.mql = [
|
|
17
|
+
window.matchMedia(media_query_large.replace(/'/g, "")),
|
|
18
|
+
window.matchMedia(media_query_xx_large.replace(/'/g, "")),
|
|
19
|
+
];
|
|
20
|
+
this.boundMqlFunctions = [];
|
|
21
|
+
this.logoSize = "large";
|
|
22
|
+
/**
|
|
23
|
+
* Theme.
|
|
24
|
+
*/
|
|
25
|
+
this.theme = "";
|
|
26
|
+
this.changeLogoSize = () => {
|
|
27
|
+
if (this.mql[1].matches) {
|
|
28
|
+
this.logoSize = "large";
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
this.logoSize = "medium";
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Component lifecycle events.
|
|
37
|
+
*/
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
inheritGlobalTheme(this);
|
|
40
|
+
}
|
|
41
|
+
connectedCallback() {
|
|
42
|
+
this.changeLogoSize();
|
|
43
|
+
for (let i = 0; i < this.mql.length; i++) {
|
|
44
|
+
// addEventListener is not available in Stencil hydrate
|
|
45
|
+
if (this.mql[i].addEventListener) {
|
|
46
|
+
const bound = this.changeLogoSize.bind(this);
|
|
47
|
+
this.mql[i].addEventListener("change", bound);
|
|
48
|
+
this.boundMqlFunctions[i] = bound;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
disconnectedCallback() {
|
|
53
|
+
for (let i = 0; i < this.mql.length; i++) {
|
|
54
|
+
// removeEventListener is not available in Stencil hydrate
|
|
55
|
+
if (this.mql[i].removeEventListener) {
|
|
56
|
+
this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
this.boundMqlFunctions = [];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* render() function
|
|
63
|
+
* Always the last one in the class.
|
|
64
|
+
*/
|
|
65
|
+
render() {
|
|
66
|
+
return (h(Host, null,
|
|
67
|
+
h("div", { class: { "duet-menu-bar": true, "duet-theme-turva": this.theme === "turva" }, role: "menubar" },
|
|
68
|
+
h("duet-logo", { size: this.logoSize, margin: "none" }),
|
|
69
|
+
h("slot", { name: "center" }),
|
|
70
|
+
h("slot", { name: "right" }))));
|
|
71
|
+
}
|
|
72
|
+
static get is() { return "duet-menu-bar"; }
|
|
73
|
+
static get encapsulation() { return "shadow"; }
|
|
74
|
+
static get originalStyleUrls() { return {
|
|
75
|
+
"$": ["duet-menu-bar.scss"]
|
|
76
|
+
}; }
|
|
77
|
+
static get styleUrls() { return {
|
|
78
|
+
"$": ["duet-menu-bar.css"]
|
|
79
|
+
}; }
|
|
80
|
+
static get properties() { return {
|
|
81
|
+
"theme": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"mutable": true,
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "DuetTheme",
|
|
86
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
87
|
+
"references": {
|
|
88
|
+
"DuetTheme": {
|
|
89
|
+
"location": "import",
|
|
90
|
+
"path": "../../common-types"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"required": false,
|
|
95
|
+
"optional": false,
|
|
96
|
+
"docs": {
|
|
97
|
+
"tags": [],
|
|
98
|
+
"text": "Theme."
|
|
99
|
+
},
|
|
100
|
+
"attribute": "theme",
|
|
101
|
+
"reflect": false,
|
|
102
|
+
"defaultValue": "\"\""
|
|
103
|
+
}
|
|
104
|
+
}; }
|
|
105
|
+
static get states() { return {
|
|
106
|
+
"logoSize": {}
|
|
107
|
+
}; }
|
|
108
|
+
static get elementRef() { return "element"; }
|
|
109
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.duet-menu-bar-dropdown {
|
|
27
|
+
position: relative;
|
|
28
|
+
height: 100%;
|
|
29
|
+
}
|
|
30
|
+
.duet-menu-bar-dropdown button {
|
|
31
|
+
position: relative;
|
|
32
|
+
display: flex;
|
|
33
|
+
gap: 8px;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
height: 100%;
|
|
37
|
+
min-height: 5rem;
|
|
38
|
+
padding: 0 12px;
|
|
39
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
40
|
+
font-size: 0.875rem;
|
|
41
|
+
font-weight: 400;
|
|
42
|
+
line-height: 1.25;
|
|
43
|
+
color: #004d80;
|
|
44
|
+
text-align: center;
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
@media (min-width: 62em) {
|
|
49
|
+
.duet-menu-bar-dropdown button {
|
|
50
|
+
padding: 0 20px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
@media (min-width: 64.0625em) {
|
|
54
|
+
.duet-menu-bar-dropdown button {
|
|
55
|
+
padding: 0 28px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.duet-menu-bar-dropdown button .label {
|
|
59
|
+
display: flex;
|
|
60
|
+
gap: 0.5rem;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
}
|
|
64
|
+
.duet-menu-bar-dropdown button:hover {
|
|
65
|
+
color: #0077b3;
|
|
66
|
+
}
|
|
67
|
+
.duet-menu-bar-dropdown button.active {
|
|
68
|
+
color: #0077b3;
|
|
69
|
+
}
|
|
70
|
+
.duet-menu-bar-dropdown button.active .caret {
|
|
71
|
+
transform: rotate(180deg);
|
|
72
|
+
}
|
|
73
|
+
.duet-theme-turva .duet-menu-bar-dropdown button.active {
|
|
74
|
+
color: #c60c30;
|
|
75
|
+
}
|
|
76
|
+
.duet-menu-bar-dropdown button.active::after {
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: auto;
|
|
79
|
+
bottom: 2px;
|
|
80
|
+
left: 0;
|
|
81
|
+
display: block;
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 2px;
|
|
84
|
+
content: "";
|
|
85
|
+
background: #0077b3;
|
|
86
|
+
transition: 300ms ease;
|
|
87
|
+
transform: translateY(2px);
|
|
88
|
+
}
|
|
89
|
+
.duet-theme-turva .duet-menu-bar-dropdown button.active::after {
|
|
90
|
+
background: #c60c30;
|
|
91
|
+
}
|
|
92
|
+
.duet-menu-bar-dropdown .items {
|
|
93
|
+
position: absolute;
|
|
94
|
+
right: 0%;
|
|
95
|
+
left: auto;
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
min-width: 225px;
|
|
101
|
+
padding: 1rem 0;
|
|
102
|
+
color: #00294d;
|
|
103
|
+
background: #f3f9fc;
|
|
104
|
+
border-radius: 0 0 8px 8px;
|
|
105
|
+
box-shadow: 0 6px 6px 0 rgba(0, 41, 77, 0.1);
|
|
106
|
+
}
|
|
107
|
+
.duet-menu-bar-dropdown .items.hidden {
|
|
108
|
+
display: none;
|
|
109
|
+
}
|
|
110
|
+
.duet-menu-bar-dropdown.duet-theme-turva button {
|
|
111
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
112
|
+
color: #940925;
|
|
113
|
+
}
|
|
114
|
+
.duet-menu-bar-dropdown.duet-theme-turva button:hover {
|
|
115
|
+
color: #c60c30;
|
|
116
|
+
}
|
|
117
|
+
.duet-menu-bar-dropdown.duet-theme-turva button.active {
|
|
118
|
+
color: #c60c30;
|
|
119
|
+
}
|
|
120
|
+
.duet-menu-bar-dropdown.duet-theme-turva button.active::after {
|
|
121
|
+
background: #c60c30;
|
|
122
|
+
}
|
|
123
|
+
.duet-menu-bar-dropdown.duet-theme-turva .items {
|
|
124
|
+
background: #f5f5f7;
|
|
125
|
+
}
|