@duetds/components 4.32.0 → 4.33.0
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 +1933 -87
- package/lib/cjs/{dom-a28e5c5f.js → dom-c850c8d7.js} +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +17 -10
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +40 -18
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +7 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table-button_3.cjs.entry.js +232 -0
- package/lib/cjs/{duet-table.cjs.entry.js → duet-editable-table_3.cjs.entry.js} +206 -2
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +52 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +75 -0
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-select.cjs.entry.js +5 -5
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-tab_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload.cjs.entry.js +1089 -0
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/{focus-utils-55b5a616.js → focus-utils-a7a1fb8b.js} +1 -1
- package/lib/cjs/{index-03ed1f55.js → index-b724d698.js} +5 -2
- package/lib/cjs/js-utils-33a9dbe3.js +16 -0
- package/lib/cjs/{language-utils-48b8860b.js → language-utils-aa282901.js} +6 -2
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{shadow-css-6560c90c.js → shadow-css-e3edeed1.js} +9 -10
- package/lib/cjs/{token-utils-13e5d13e.js → token-utils-63a9c8dc.js} +1 -1
- package/lib/cjs/{tokens.module-53b3bd92.js → tokens.module-6b2df1c2.js} +2 -0
- package/lib/cjs/{watch-options-3877c082.js → watch-options-d88afac0.js} +29 -6
- package/lib/collection/collection-manifest.json +15 -2
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
- package/lib/collection/components/duet-choice/duet-choice.js +95 -21
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +9 -9
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.css +32 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.js +218 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.css +36 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.js +203 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +13 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +16 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +348 -0
- package/lib/collection/components/duet-grid/duet-grid.js +57 -6
- package/lib/collection/components/duet-heading/duet-heading.css +3 -0
- package/lib/collection/components/duet-heading/duet-heading.js +7 -6
- package/lib/collection/components/duet-icon/duet-icon.js +2 -6
- package/lib/collection/components/duet-input/duet-input.css +15 -0
- package/lib/collection/components/duet-input/duet-input.js +4 -4
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +6 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +34 -3
- package/lib/collection/components/duet-progress/duet-progress.css +103 -0
- package/lib/collection/components/duet-progress/duet-progress.js +240 -0
- package/lib/collection/components/duet-select/duet-select.css +15 -0
- package/lib/collection/components/duet-select/duet-select.js +3 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.css +19 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +5 -4
- package/lib/collection/components/duet-upload/duet-upload-aria-status.js +217 -0
- package/lib/collection/components/duet-upload/duet-upload-editable-item-error.js +16 -0
- package/lib/collection/components/duet-upload/duet-upload-editable-item-inprogres.js +8 -0
- package/lib/collection/components/duet-upload/duet-upload-editable-item-success.js +30 -0
- package/lib/collection/components/duet-upload/duet-upload-validators.js +93 -0
- package/lib/collection/components/duet-upload/duet-upload.css +64 -0
- package/lib/collection/components/duet-upload/duet-upload.js +1838 -0
- package/lib/collection/components/duet-upload/errorcodes.utils.js +32 -0
- package/lib/collection/components/duet-upload/mock.helpers.js +91 -0
- package/lib/collection/components/duet-upload/upload.helpers.js +13 -0
- package/lib/collection/components/duet-upload/xhr.helpers.js +30 -0
- package/lib/collection/utils/js-utils.js +12 -0
- package/lib/collection/utils/language-utils.js +6 -3
- package/lib/collection/utils/watch-options.js +35 -6
- package/lib/custom-elements-bundle/index.d.ts +36 -0
- package/lib/custom-elements-bundle/index.js +1917 -277
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-1391ec53.entry.js → p-00735436.entry.js} +1 -1
- package/lib/duet/p-060d79be.entry.js +4 -0
- package/lib/duet/p-0d22396e.system.js +16 -0
- package/lib/duet/p-10deead0.system.js +4 -0
- package/lib/duet/{p-72fd384a.entry.js → p-1208c84f.entry.js} +1 -1
- package/lib/duet/p-12721178.js +4 -0
- package/lib/duet/p-155ef581.system.entry.js +4 -0
- package/lib/duet/{p-08729381.entry.js → p-16c48c5d.entry.js} +1 -1
- package/lib/duet/p-1797df7b.system.entry.js +4 -0
- package/lib/duet/p-1a08fc22.system.entry.js +4 -0
- package/lib/duet/{p-b6a0caf8.system.entry.js → p-237e47b4.system.entry.js} +1 -1
- package/lib/duet/{p-4fcbcecd.system.entry.js → p-2443bdca.system.entry.js} +1 -1
- package/lib/duet/{p-432ba72e.system.entry.js → p-263bc9cd.system.entry.js} +1 -1
- package/lib/duet/p-2764f081.js +4 -0
- package/lib/duet/{p-b0bbbdba.system.entry.js → p-27d80cef.system.entry.js} +1 -1
- package/lib/duet/p-28e02c08.entry.js +4 -0
- package/lib/duet/{p-8740fa38.entry.js → p-2bb1460c.entry.js} +1 -1
- package/lib/duet/p-33c58756.entry.js +4 -0
- package/lib/duet/{p-9cdd361e.js → p-35a3794e.js} +0 -0
- package/lib/duet/{p-8c511832.system.entry.js → p-374fb7e6.system.entry.js} +1 -1
- package/lib/duet/{p-5a817929.system.entry.js → p-387823af.system.entry.js} +1 -1
- package/lib/duet/{p-a678da8c.entry.js → p-3af5d66f.entry.js} +1 -1
- package/lib/duet/{p-322d1c38.js → p-3c1971d8.js} +1 -1
- package/lib/duet/{p-d13874cb.entry.js → p-4607af59.entry.js} +1 -1
- package/lib/duet/{p-2c0dd9ba.system.entry.js → p-48d1eb1f.system.entry.js} +1 -1
- package/lib/duet/p-4a87e9ab.system.entry.js +4 -0
- package/lib/duet/{p-92103298.system.entry.js → p-4b6ebe40.system.entry.js} +1 -1
- package/lib/duet/{p-6cf41bfe.system.entry.js → p-4e28da18.system.entry.js} +1 -1
- package/lib/duet/p-548d484e.js +4 -0
- package/lib/duet/{p-2c679963.entry.js → p-5826523b.entry.js} +1 -1
- package/lib/duet/{p-7331f2fe.system.entry.js → p-58750bae.system.entry.js} +1 -1
- package/lib/duet/{p-7a868085.entry.js → p-597d99c7.entry.js} +1 -1
- package/lib/duet/p-5ea0cd19.entry.js +4 -0
- package/lib/duet/p-63d5bf73.system.entry.js +4 -0
- package/lib/duet/{p-68d09837.system.entry.js → p-67d9a9a9.system.entry.js} +1 -1
- package/lib/duet/{p-9542c540.entry.js → p-6a19b5ec.entry.js} +1 -1
- package/lib/duet/p-6cc3be76.system.entry.js +4 -0
- package/lib/duet/p-6e363557.system.js +4 -0
- package/lib/duet/{p-3b3bac3f.system.entry.js → p-6e6e76db.system.entry.js} +1 -1
- package/lib/duet/p-70fafc98.system.js +4 -0
- package/lib/duet/{p-2d1e2b23.system.entry.js → p-7368b14e.system.entry.js} +1 -1
- package/lib/duet/{p-2a3411b5.system.entry.js → p-751542a0.system.entry.js} +1 -1
- package/lib/duet/{p-b75c5f13.entry.js → p-794659ac.entry.js} +1 -1
- package/lib/duet/{p-b04d738f.system.entry.js → p-7e8d5bb9.system.entry.js} +1 -1
- package/lib/duet/p-7fee0d23.system.entry.js +4 -0
- package/lib/duet/p-81867417.system.js +4 -0
- package/lib/duet/{p-84ece735.entry.js → p-86daec1c.entry.js} +1 -1
- package/lib/duet/{p-94a5fd74.system.entry.js → p-8b5ca0e7.system.entry.js} +1 -1
- package/lib/duet/{p-ffc2ffff.entry.js → p-8cb7416d.entry.js} +1 -1
- package/lib/duet/p-8f826843.system.entry.js +4 -0
- package/lib/duet/p-94169303.entry.js +4 -0
- package/lib/duet/{p-807b2087.entry.js → p-9481e312.entry.js} +1 -1
- package/lib/duet/{p-977f2826.entry.js → p-984576c9.entry.js} +1 -1
- package/lib/duet/p-987edcd0.js +15 -0
- package/lib/duet/p-9d73343a.entry.js +4 -0
- package/lib/duet/{p-8652a7ab.system.entry.js → p-9dca5c22.system.entry.js} +1 -1
- package/lib/duet/p-a207b008.entry.js +4 -0
- package/lib/duet/p-a5b9c192.system.entry.js +4 -0
- package/lib/duet/p-a6a84ec6.entry.js +4 -0
- package/lib/duet/{p-9f0f5674.entry.js → p-a890da72.entry.js} +1 -1
- package/lib/duet/{p-0f2a478e.entry.js → p-a9859a82.entry.js} +1 -1
- package/lib/duet/{p-3040debf.entry.js → p-aba68b7b.entry.js} +1 -1
- package/lib/duet/p-acc57c77.entry.js +4 -0
- package/lib/duet/{p-2826f987.js → p-ad07f399.js} +1 -1
- package/lib/duet/{p-fb898d94.system.entry.js → p-aee24388.system.entry.js} +1 -1
- package/lib/duet/p-aef1b720.system.entry.js +4 -0
- package/lib/duet/{p-00eac879.system.entry.js → p-af41d894.system.entry.js} +1 -1
- package/lib/duet/p-b25d3769.js +4 -0
- package/lib/duet/{p-43dde575.system.entry.js → p-b32224fe.system.entry.js} +1 -1
- package/lib/duet/{p-f13a0883.entry.js → p-b3744481.entry.js} +1 -1
- package/lib/duet/{p-b374d7c2.system.js → p-b42d81c3.system.js} +1 -1
- package/lib/duet/{p-ed479d09.system.entry.js → p-b4e87f02.system.entry.js} +1 -1
- package/lib/duet/{p-b9683731.entry.js → p-bf93a991.entry.js} +1 -1
- package/lib/duet/{p-a962c8c1.system.js → p-c18a599e.system.js} +0 -0
- package/lib/duet/p-c2e77278.entry.js +4 -0
- package/lib/duet/p-c34329f3.entry.js +4 -0
- package/lib/duet/{p-c19094dd.entry.js → p-c36b4da0.entry.js} +1 -1
- package/lib/duet/{p-8002a095.entry.js → p-cdd70b93.entry.js} +1 -1
- package/lib/duet/p-d1c19f04.system.entry.js +4 -0
- package/lib/duet/{p-cc0bd28f.system.entry.js → p-d3a3c3c7.system.entry.js} +1 -1
- package/lib/duet/{p-19c28d99.system.entry.js → p-d4118b6e.system.entry.js} +1 -1
- package/lib/duet/{p-abd3bfb4.system.entry.js → p-d744d188.system.entry.js} +1 -1
- package/lib/duet/p-ddb6344c.system.js +4 -0
- package/lib/duet/p-de07c7d7.entry.js +4 -0
- package/lib/duet/{p-57cb58d4.system.entry.js → p-dfe79666.system.entry.js} +1 -1
- package/lib/duet/{p-c723d36e.system.js → p-e12f2b8b.system.js} +1 -1
- package/lib/duet/p-e2a44156.js +4 -0
- package/lib/duet/p-e76b722f.entry.js +4 -0
- package/lib/duet/{p-0b9b6393.entry.js → p-e964d062.entry.js} +1 -1
- package/lib/duet/p-eb55ccd2.system.js +4 -0
- package/lib/duet/p-f0a4b68d.system.entry.js +4 -0
- package/lib/duet/p-f364eb96.entry.js +4 -0
- package/lib/duet/{p-fbb7d194.entry.js → p-f8ce39fb.entry.js} +1 -1
- package/lib/esm/{dom-8516b24e.js → dom-58cd15f6.js} +1 -1
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +17 -10
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +41 -19
- package/lib/esm/duet-collapsible.entry.js +4 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +7 -7
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table-button_3.entry.js +226 -0
- package/lib/esm/{duet-table.entry.js → duet-editable-table_3.entry.js} +205 -3
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +52 -4
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +6 -6
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +71 -0
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-select.entry.js +5 -5
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-tab_2.entry.js +3 -3
- package/lib/esm/duet-textarea.entry.js +5 -5
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload.entry.js +1085 -0
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{focus-utils-6a282066.js → focus-utils-1fe0dcd0.js} +1 -1
- package/lib/esm/{index-3a265449.js → index-84d97bd1.js} +5 -2
- package/lib/esm/js-utils-b69f17df.js +14 -0
- package/lib/esm/{language-utils-d5c38f65.js → language-utils-344d894c.js} +6 -3
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{shadow-css-9178c864.js → shadow-css-7c726abb.js} +9 -10
- package/lib/esm/{token-utils-5a35377f.js → token-utils-590d9413.js} +1 -1
- package/lib/esm/{tokens.module-edb66c04.js → tokens.module-49cbf963.js} +3 -1
- package/lib/esm/watch-options-dd55bce8.js +57 -0
- package/lib/esm-es5/{dom-8516b24e.js → dom-58cd15f6.js} +0 -0
- 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-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.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-button_3.entry.js +4 -0
- package/lib/esm-es5/duet-editable-table_3.entry.js +4 -0
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +4 -0
- 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-select.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-tab_2.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload.entry.js +4 -0
- 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-6a282066.js → focus-utils-1fe0dcd0.js} +1 -1
- package/lib/esm-es5/index-84d97bd1.js +4 -0
- package/lib/esm-es5/js-utils-b69f17df.js +4 -0
- package/lib/esm-es5/{language-utils-d5c38f65.js → language-utils-344d894c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/shadow-css-7c726abb.js +15 -0
- package/lib/esm-es5/{token-utils-5a35377f.js → token-utils-590d9413.js} +1 -1
- package/lib/esm-es5/tokens.module-49cbf963.js +4 -0
- package/lib/esm-es5/watch-options-dd55bce8.js +4 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +20 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +5 -5
- package/lib/types/components/duet-editable-table/duet-editable-table-button.d.ts +72 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-item.d.ts +72 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +7 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +84 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +16 -2
- package/lib/types/components/duet-heading/duet-heading.d.ts +2 -2
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +9 -1
- package/lib/types/components/duet-progress/duet-progress.d.ts +64 -0
- package/lib/types/components/duet-upload/duet-upload-aria-status.d.ts +49 -0
- package/lib/types/components/duet-upload/duet-upload-editable-item-error.d.ts +7 -0
- package/lib/types/components/duet-upload/duet-upload-editable-item-inprogres.d.ts +7 -0
- package/lib/types/components/duet-upload/duet-upload-editable-item-success.d.ts +8 -0
- package/lib/types/components/duet-upload/duet-upload-validators.d.ts +12 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +380 -0
- package/lib/types/components/duet-upload/errorcodes.utils.d.ts +8 -0
- package/lib/types/components/duet-upload/mock.helpers.d.ts +2 -0
- package/lib/types/components/duet-upload/upload.helpers.d.ts +1 -0
- package/lib/types/components/duet-upload/xhr.helpers.d.ts +18 -0
- package/lib/types/components.d.ts +789 -19
- package/lib/types/utils/js-utils.d.ts +1 -0
- package/lib/types/utils/language-utils.d.ts +5 -1
- package/lib/types/utils/watch-options.d.ts +2 -0
- package/package.json +6 -6
- package/lib/cjs/duet-fieldset.cjs.entry.js +0 -62
- package/lib/duet/p-0058512b.js +0 -4
- package/lib/duet/p-0b00e8d6.system.js +0 -16
- package/lib/duet/p-15922601.system.js +0 -4
- package/lib/duet/p-194e25ce.system.entry.js +0 -4
- package/lib/duet/p-1d87ea02.system.entry.js +0 -4
- package/lib/duet/p-3618aaee.entry.js +0 -4
- package/lib/duet/p-40d68321.entry.js +0 -4
- package/lib/duet/p-418b2ce7.system.js +0 -4
- package/lib/duet/p-43e39d98.system.js +0 -4
- package/lib/duet/p-4603830b.entry.js +0 -4
- package/lib/duet/p-52d7fbec.entry.js +0 -4
- package/lib/duet/p-60478325.system.entry.js +0 -4
- package/lib/duet/p-64ed7add.entry.js +0 -4
- package/lib/duet/p-6a356ab1.system.js +0 -4
- package/lib/duet/p-753b406c.entry.js +0 -4
- package/lib/duet/p-76c00d0c.entry.js +0 -4
- package/lib/duet/p-85fe1132.js +0 -4
- package/lib/duet/p-8c8e82aa.system.js +0 -4
- package/lib/duet/p-9a89ec39.js +0 -4
- package/lib/duet/p-a11df1b6.js +0 -15
- package/lib/duet/p-a1eccee1.system.entry.js +0 -4
- package/lib/duet/p-a89e88a3.js +0 -4
- package/lib/duet/p-ade33230.entry.js +0 -4
- package/lib/duet/p-cb827bb7.entry.js +0 -4
- package/lib/duet/p-d85fba2c.system.entry.js +0 -4
- package/lib/duet/p-dfa90f8a.system.entry.js +0 -4
- package/lib/duet/p-e6b9bd1d.entry.js +0 -4
- package/lib/duet/p-ec3eef3a.entry.js +0 -4
- package/lib/duet/p-ee64d6be.system.entry.js +0 -4
- package/lib/duet/p-f113671b.system.entry.js +0 -4
- package/lib/duet/p-f2f04396.entry.js +0 -4
- package/lib/duet/p-f364ce8b.system.entry.js +0 -4
- package/lib/duet/p-fc6624fe.system.entry.js +0 -4
- package/lib/esm/duet-fieldset.entry.js +0 -58
- package/lib/esm/watch-options-de55ea78.js +0 -35
- package/lib/esm-es5/duet-fieldset.entry.js +0 -4
- package/lib/esm-es5/duet-table.entry.js +0 -4
- package/lib/esm-es5/index-3a265449.js +0 -4
- package/lib/esm-es5/shadow-css-9178c864.js +0 -15
- package/lib/esm-es5/tokens.module-edb66c04.js +0 -4
- package/lib/esm-es5/watch-options-de55ea78.js +0 -4
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { Component, Element, h, Host, Prop, Watch } from "@stencil/core";
|
|
5
|
-
import { watchForOptions } from "../../utils/watch-options";
|
|
4
|
+
import { Component, Element, h, Host, Prop, State, Watch } from "@stencil/core";
|
|
5
|
+
import { watchForElement, watchForOptions } from "../../utils/watch-options";
|
|
6
6
|
function isGridItem(element) {
|
|
7
7
|
return element.tagName.toLowerCase() === "duet-grid-item";
|
|
8
8
|
}
|
|
9
9
|
export class DuetGrid {
|
|
10
10
|
constructor() {
|
|
11
|
+
this.distributeFormElement = false;
|
|
11
12
|
/**
|
|
12
13
|
* Enable or disable the automatic responsive behaviour of the grid component.
|
|
13
14
|
* Setting this option to "true" makes sure that contents are stacked vertically
|
|
@@ -24,7 +25,9 @@ export class DuetGrid {
|
|
|
24
25
|
*/
|
|
25
26
|
this.direction = "horizontal";
|
|
26
27
|
/**
|
|
27
|
-
* Adjusts the vertical alignment of the grid items
|
|
28
|
+
* Adjusts the vertical alignment of the grid items, if set to "form_distribute"
|
|
29
|
+
* the grid will try to calculate correct paddings for any duet-input fields inside duet-grid-items,
|
|
30
|
+
* so that they align even when displaying errors.
|
|
28
31
|
*/
|
|
29
32
|
this.alignment = "top";
|
|
30
33
|
/**
|
|
@@ -36,14 +39,34 @@ export class DuetGrid {
|
|
|
36
39
|
*/
|
|
37
40
|
this.mobile = "";
|
|
38
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Private functions
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Returns the element height including margins
|
|
47
|
+
* @param element - element
|
|
48
|
+
* @returns {number}
|
|
49
|
+
*/
|
|
50
|
+
outerHeight(element) {
|
|
51
|
+
const height = element.offsetHeight, style = window.getComputedStyle(element);
|
|
52
|
+
return ["top", "bottom"]
|
|
53
|
+
.map(side => parseInt(style[`margin-${side}`]))
|
|
54
|
+
.reduce((total, side) => total + side, height);
|
|
55
|
+
}
|
|
39
56
|
/**
|
|
40
57
|
* Component lifecycle events.
|
|
41
58
|
*/
|
|
42
59
|
async connectedCallback() {
|
|
43
60
|
const el = this.element;
|
|
61
|
+
this.distributeFormElement = this.alignment === "form_distribute";
|
|
44
62
|
this.mutationO = watchForOptions(el, "duet-grid-item", () => {
|
|
45
63
|
this.updateGridItems();
|
|
46
64
|
});
|
|
65
|
+
if (this.distributeFormElement) {
|
|
66
|
+
this.mutation1 = watchForElement(el, "duet-input", () => {
|
|
67
|
+
this.updateGridItemsWithInputFields();
|
|
68
|
+
});
|
|
69
|
+
}
|
|
47
70
|
this.updateGridItems();
|
|
48
71
|
}
|
|
49
72
|
disconnectedCallback() {
|
|
@@ -51,6 +74,10 @@ export class DuetGrid {
|
|
|
51
74
|
this.mutationO.disconnect();
|
|
52
75
|
this.mutationO = undefined;
|
|
53
76
|
}
|
|
77
|
+
if (this.mutation1) {
|
|
78
|
+
this.mutation1.disconnect();
|
|
79
|
+
this.mutation1 = undefined;
|
|
80
|
+
}
|
|
54
81
|
}
|
|
55
82
|
/**
|
|
56
83
|
* Local methods
|
|
@@ -62,6 +89,27 @@ export class DuetGrid {
|
|
|
62
89
|
item.breakpoint = this.breakpoint;
|
|
63
90
|
});
|
|
64
91
|
}
|
|
92
|
+
async updateGridItemsWithInputFields() {
|
|
93
|
+
const items = Array.from(this.element.children).filter(isGridItem);
|
|
94
|
+
let maxHeight = 0;
|
|
95
|
+
const sizes = [];
|
|
96
|
+
items.forEach(item => {
|
|
97
|
+
const inputErrorDom = item.querySelector("span.duet-input-error");
|
|
98
|
+
const height = inputErrorDom ? this.outerHeight(inputErrorDom) : 0;
|
|
99
|
+
sizes.push(height);
|
|
100
|
+
});
|
|
101
|
+
maxHeight = Math.max(...sizes);
|
|
102
|
+
items.forEach(item => {
|
|
103
|
+
const inputErrorDom = item.querySelector("span.duet-input-error");
|
|
104
|
+
const height = inputErrorDom ? this.outerHeight(inputErrorDom) : 0;
|
|
105
|
+
if (height < maxHeight) {
|
|
106
|
+
item.setAttribute("style", `padding-bottom: ${maxHeight - height}px;`);
|
|
107
|
+
}
|
|
108
|
+
else if (height === maxHeight) {
|
|
109
|
+
item.setAttribute("style", `padding-bottom: 0px;`);
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
}
|
|
65
113
|
/**
|
|
66
114
|
* render() function
|
|
67
115
|
* Always the last one in the class.
|
|
@@ -71,7 +119,7 @@ export class DuetGrid {
|
|
|
71
119
|
"duet-grid": true,
|
|
72
120
|
"duet-no-stacking": !this.responsive,
|
|
73
121
|
"duet-grid-align-top": this.alignment === "top",
|
|
74
|
-
"duet-grid-align-bottom": this.alignment === "bottom",
|
|
122
|
+
"duet-grid-align-bottom": this.alignment === "bottom" || this.alignment === "form_distribute",
|
|
75
123
|
"duet-grid-align-center": this.alignment === "center",
|
|
76
124
|
"duet-grid-align-stretch": this.alignment === "stretch",
|
|
77
125
|
"duet-grid-align-baseline": this.alignment === "baseline",
|
|
@@ -169,7 +217,7 @@ export class DuetGrid {
|
|
|
169
217
|
"mutable": false,
|
|
170
218
|
"complexType": {
|
|
171
219
|
"original": "DuetGridAlignment",
|
|
172
|
-
"resolved": "\"baseline\" | \"bottom\" | \"center\" | \"stretch\" | \"top\"",
|
|
220
|
+
"resolved": "\"baseline\" | \"bottom\" | \"center\" | \"form_distribute\" | \"stretch\" | \"top\"",
|
|
173
221
|
"references": {
|
|
174
222
|
"DuetGridAlignment": {
|
|
175
223
|
"location": "local"
|
|
@@ -180,7 +228,7 @@ export class DuetGrid {
|
|
|
180
228
|
"optional": false,
|
|
181
229
|
"docs": {
|
|
182
230
|
"tags": [],
|
|
183
|
-
"text": "Adjusts the vertical alignment of the grid items."
|
|
231
|
+
"text": "Adjusts the vertical alignment of the grid items, if set to \"form_distribute\"\nthe grid will try to calculate correct paddings for any duet-input fields inside duet-grid-items,\nso that they align even when displaying errors."
|
|
184
232
|
},
|
|
185
233
|
"attribute": "alignment",
|
|
186
234
|
"reflect": false,
|
|
@@ -231,6 +279,9 @@ export class DuetGrid {
|
|
|
231
279
|
"defaultValue": "\"\""
|
|
232
280
|
}
|
|
233
281
|
}; }
|
|
282
|
+
static get states() { return {
|
|
283
|
+
"distributeFormElement": {}
|
|
284
|
+
}; }
|
|
234
285
|
static get elementRef() { return "element"; }
|
|
235
286
|
static get watchers() { return [{
|
|
236
287
|
"propName": "responsive",
|
|
@@ -16,7 +16,7 @@ export class DuetHeading {
|
|
|
16
16
|
*/
|
|
17
17
|
this.margin = "auto";
|
|
18
18
|
/**
|
|
19
|
-
* Enable or disable the border underneath the heading
|
|
19
|
+
* Enable or disable the border underneath the heading, solid will darken the border
|
|
20
20
|
*/
|
|
21
21
|
this.border = false;
|
|
22
22
|
/**
|
|
@@ -53,7 +53,8 @@ export class DuetHeading {
|
|
|
53
53
|
const color = getColorByName(this.color);
|
|
54
54
|
return (h(TagName, { class: {
|
|
55
55
|
"duet-heading": true,
|
|
56
|
-
"duet-heading-border": this.border,
|
|
56
|
+
"duet-heading-border": this.border !== false,
|
|
57
|
+
"duet-heading-border-solid": this.border === "solid",
|
|
57
58
|
"duet-semibold": this.weight === "semibold",
|
|
58
59
|
"duet-heading-hyphenate": this.hyphenate,
|
|
59
60
|
"duet-m-0": this.margin === "none",
|
|
@@ -140,18 +141,18 @@ export class DuetHeading {
|
|
|
140
141
|
"reflect": false
|
|
141
142
|
},
|
|
142
143
|
"border": {
|
|
143
|
-
"type": "
|
|
144
|
+
"type": "any",
|
|
144
145
|
"mutable": false,
|
|
145
146
|
"complexType": {
|
|
146
|
-
"original": "boolean",
|
|
147
|
-
"resolved": "boolean",
|
|
147
|
+
"original": "boolean | \"solid\"",
|
|
148
|
+
"resolved": "\"solid\" | boolean",
|
|
148
149
|
"references": {}
|
|
149
150
|
},
|
|
150
151
|
"required": false,
|
|
151
152
|
"optional": false,
|
|
152
153
|
"docs": {
|
|
153
154
|
"tags": [],
|
|
154
|
-
"text": "Enable or disable the border underneath the heading
|
|
155
|
+
"text": "Enable or disable the border underneath the heading, solid will darken the border"
|
|
155
156
|
},
|
|
156
157
|
"attribute": "border",
|
|
157
158
|
"reflect": false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { Component, Element, h, Host, Prop, State, Watch } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../utils/themeable-component";
|
|
6
6
|
import { getColorByName } from "../../utils/token-utils";
|
|
7
7
|
import { buildIconUrl, fetchIconByUrl } from "./icon-utils";
|
|
@@ -58,7 +58,7 @@ export class DuetIcon {
|
|
|
58
58
|
if (this.src && this.icon) {
|
|
59
59
|
console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence", "icon:", this.icon, "src:", this.src);
|
|
60
60
|
}
|
|
61
|
-
this.loadIcon();
|
|
61
|
+
return this.loadIcon();
|
|
62
62
|
}
|
|
63
63
|
async loadIcon() {
|
|
64
64
|
// static icon known at build-time, so we can set it synchronously
|
|
@@ -66,10 +66,6 @@ export class DuetIcon {
|
|
|
66
66
|
this.svgContent = this.icon;
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
|
-
// on server, don't make requests
|
|
70
|
-
if (!Build.isBrowser) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
69
|
// dynamically load icon from url
|
|
74
70
|
const src = this.src ? this.src : buildIconUrl(this.name);
|
|
75
71
|
try {
|
|
@@ -63,6 +63,21 @@ duet-caption:not(:last-of-type) {
|
|
|
63
63
|
margin-bottom: 0;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
.duet-input-placeholder {
|
|
67
|
+
position: absolute;
|
|
68
|
+
top: -9px;
|
|
69
|
+
left: 9px;
|
|
70
|
+
z-index: 200;
|
|
71
|
+
display: block;
|
|
72
|
+
width: auto;
|
|
73
|
+
max-width: 60%;
|
|
74
|
+
padding: 0 0.25rem;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
text-overflow: ellipsis;
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
background: white;
|
|
79
|
+
}
|
|
80
|
+
|
|
66
81
|
.duet-input-icon {
|
|
67
82
|
position: absolute;
|
|
68
83
|
top: 50%;
|
|
@@ -140,7 +140,7 @@ export class DuetInput {
|
|
|
140
140
|
// (in webkit based browsers settings value trigger cursor position and will set it to EndOfText)
|
|
141
141
|
restoreCursor();
|
|
142
142
|
}
|
|
143
|
-
this.isCaptionVisible = !!
|
|
143
|
+
this.isCaptionVisible = !!this.caption;
|
|
144
144
|
const emitEvent = () => this.duetChange.emit({
|
|
145
145
|
value: this.value,
|
|
146
146
|
component: "duet-input",
|
|
@@ -159,7 +159,7 @@ export class DuetInput {
|
|
|
159
159
|
componentWillLoad() {
|
|
160
160
|
inheritGlobalTheme(this);
|
|
161
161
|
this.disallowedPatternChange();
|
|
162
|
-
this.isCaptionVisible = !!
|
|
162
|
+
this.isCaptionVisible = !!this.caption;
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
165
|
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
@@ -199,8 +199,8 @@ export class DuetInput {
|
|
|
199
199
|
h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label),
|
|
200
200
|
this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)),
|
|
201
201
|
this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)),
|
|
202
|
-
this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, size: "small" }, this.placeholder)),
|
|
203
202
|
h("div", { class: "duet-input-relative" },
|
|
203
|
+
this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)),
|
|
204
204
|
h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.type, class: {
|
|
205
205
|
"duet-input": true,
|
|
206
206
|
disabled: this.disabled,
|
|
@@ -212,7 +212,7 @@ export class DuetInput {
|
|
|
212
212
|
this.icon && (h("div", { class: "duet-input-icon" },
|
|
213
213
|
h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))),
|
|
214
214
|
h("slot", null)),
|
|
215
|
-
h("span", { class: "duet-input-help", id: this.errorId, "aria-live": "assertive", "aria-relevant": "additions removals" }, this.error && h("span",
|
|
215
|
+
h("span", { class: "duet-input-help", id: this.errorId, "aria-live": "assertive", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
216
216
|
}
|
|
217
217
|
static get is() { return "duet-input"; }
|
|
218
218
|
static get encapsulation() { return "scoped"; }
|
|
@@ -52,6 +52,12 @@
|
|
|
52
52
|
.duet-paragraph.duet-paragraph-small {
|
|
53
53
|
font-size: 0.875rem;
|
|
54
54
|
}
|
|
55
|
+
.duet-paragraph.duet-paragraph-semi-bold {
|
|
56
|
+
font-weight: 600;
|
|
57
|
+
}
|
|
58
|
+
.duet-paragraph.duet-paragraph-bold {
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
}
|
|
55
61
|
.duet-paragraph.duet-m-0 {
|
|
56
62
|
margin: 0 !important;
|
|
57
63
|
}
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
import { Component, Element, h, Prop } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../utils/themeable-component";
|
|
6
6
|
import { getColorByName } from "../../utils/token-utils";
|
|
7
|
+
/**
|
|
8
|
+
* @part duet-paragraph - piercing selector for styling the paragraph
|
|
9
|
+
*/
|
|
7
10
|
export class DuetParagraph {
|
|
8
11
|
constructor() {
|
|
9
12
|
/**
|
|
10
|
-
* Theme of the
|
|
13
|
+
* Theme of the paragraph.
|
|
11
14
|
*/
|
|
12
15
|
this.theme = "";
|
|
13
16
|
/**
|
|
@@ -18,6 +21,10 @@ export class DuetParagraph {
|
|
|
18
21
|
* Controls the size of the paragraph.
|
|
19
22
|
*/
|
|
20
23
|
this.size = "medium";
|
|
24
|
+
/**
|
|
25
|
+
* Controls the Font-Weight of the paragraph.
|
|
26
|
+
*/
|
|
27
|
+
this.weight = undefined;
|
|
21
28
|
/**
|
|
22
29
|
* Style variation of the paragraph.
|
|
23
30
|
*/
|
|
@@ -43,10 +50,12 @@ export class DuetParagraph {
|
|
|
43
50
|
return (h("p", { class: {
|
|
44
51
|
"duet-paragraph": true,
|
|
45
52
|
"duet-paragraph-small": this.size === "small",
|
|
53
|
+
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
54
|
+
"duet-paragraph-bold": this.weight === "bold",
|
|
46
55
|
"duet-m-0": this.margin === "none",
|
|
47
56
|
[this.variation]: true,
|
|
48
57
|
"duet-theme-turva": this.theme === "turva",
|
|
49
|
-
}, style: { color } },
|
|
58
|
+
}, style: { color }, part: "duet-paragraph" },
|
|
50
59
|
h("slot", null)));
|
|
51
60
|
}
|
|
52
61
|
static get is() { return "duet-paragraph"; }
|
|
@@ -75,7 +84,7 @@ export class DuetParagraph {
|
|
|
75
84
|
"optional": false,
|
|
76
85
|
"docs": {
|
|
77
86
|
"tags": [],
|
|
78
|
-
"text": "Theme of the
|
|
87
|
+
"text": "Theme of the paragraph."
|
|
79
88
|
},
|
|
80
89
|
"attribute": "theme",
|
|
81
90
|
"reflect": false,
|
|
@@ -126,6 +135,28 @@ export class DuetParagraph {
|
|
|
126
135
|
"reflect": false,
|
|
127
136
|
"defaultValue": "\"medium\""
|
|
128
137
|
},
|
|
138
|
+
"weight": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "DuetParagraphWeight",
|
|
143
|
+
"resolved": "\"bold\" | \"semi-bold\"",
|
|
144
|
+
"references": {
|
|
145
|
+
"DuetParagraphWeight": {
|
|
146
|
+
"location": "local"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": false,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [],
|
|
154
|
+
"text": "Controls the Font-Weight of the paragraph."
|
|
155
|
+
},
|
|
156
|
+
"attribute": "weight",
|
|
157
|
+
"reflect": false,
|
|
158
|
+
"defaultValue": "undefined"
|
|
159
|
+
},
|
|
129
160
|
"variation": {
|
|
130
161
|
"type": "string",
|
|
131
162
|
"mutable": false,
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
height: inherit;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.duet-progress {
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
padding: 0;
|
|
30
|
+
margin: 0;
|
|
31
|
+
background: transparent;
|
|
32
|
+
border: 0;
|
|
33
|
+
-moz-appearance: none;
|
|
34
|
+
-webkit-appearance: none;
|
|
35
|
+
appearance: none;
|
|
36
|
+
display: block;
|
|
37
|
+
width: 100%;
|
|
38
|
+
min-height: 1px;
|
|
39
|
+
/* fallback design of the default appearance */
|
|
40
|
+
}
|
|
41
|
+
.duet-progress .progress-bar {
|
|
42
|
+
position: relative;
|
|
43
|
+
display: block;
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: inherit;
|
|
46
|
+
min-height: 1px;
|
|
47
|
+
background-color: #f3f9fc;
|
|
48
|
+
border-radius: 0;
|
|
49
|
+
box-shadow: none;
|
|
50
|
+
}
|
|
51
|
+
.duet-theme-turva .duet-progress .progress-bar {
|
|
52
|
+
background-color: #fcf3f4;
|
|
53
|
+
}
|
|
54
|
+
.duet-progress .progress-bar > span {
|
|
55
|
+
display: block;
|
|
56
|
+
height: inherit;
|
|
57
|
+
text-indent: -9999px;
|
|
58
|
+
background-color: #0077b3;
|
|
59
|
+
border-radius: 0;
|
|
60
|
+
}
|
|
61
|
+
.duet-theme-turva .duet-progress .progress-bar > span {
|
|
62
|
+
background-color: #c60c30;
|
|
63
|
+
}
|
|
64
|
+
.duet-progress progress[value] {
|
|
65
|
+
display: flex;
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: inherit;
|
|
68
|
+
min-height: 1px;
|
|
69
|
+
/* For IE10 */
|
|
70
|
+
color: #0077b3;
|
|
71
|
+
/* Get rid of default border in Firefox. */
|
|
72
|
+
border: 0 none;
|
|
73
|
+
/* Reset the default appearance */
|
|
74
|
+
-webkit-appearance: none;
|
|
75
|
+
-moz-appearance: none;
|
|
76
|
+
appearance: none;
|
|
77
|
+
}
|
|
78
|
+
.duet-theme-turva .duet-progress progress[value] {
|
|
79
|
+
color: #c60c30;
|
|
80
|
+
}
|
|
81
|
+
.duet-progress progress[value]::-webkit-progress-bar {
|
|
82
|
+
background-color: #f3f9fc;
|
|
83
|
+
border-radius: 0;
|
|
84
|
+
}
|
|
85
|
+
.duet-theme-turva .duet-progress progress[value]::-webkit-progress-bar {
|
|
86
|
+
background-color: #fcf3f4;
|
|
87
|
+
}
|
|
88
|
+
.duet-progress progress[value]::-webkit-progress-value {
|
|
89
|
+
background-color: #0077b3;
|
|
90
|
+
background-size: 35px 20px, 100% 100%, 100% 100%;
|
|
91
|
+
border-radius: 0;
|
|
92
|
+
-webkit-animation: animate-stripes 5s linear infinite;
|
|
93
|
+
animation: animate-stripes 5s linear infinite;
|
|
94
|
+
}
|
|
95
|
+
.duet-theme-turva .duet-progress progress[value]::-webkit-progress-value {
|
|
96
|
+
background-color: #c60c30;
|
|
97
|
+
}
|
|
98
|
+
.duet-progress progress[value] ::-moz-progress-bar {
|
|
99
|
+
background-color: #f3f9fc;
|
|
100
|
+
}
|
|
101
|
+
.duet-theme-turva .duet-progress progress[value] ::-moz-progress-bar {
|
|
102
|
+
background-color: #fcf3f4;
|
|
103
|
+
}
|