@baloise/ds-core 20.0.0-next.6 → 20.0.0-next.8
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/components/all.d.ts +2 -0
- package/components/all.js +3 -0
- package/components/ds-accordion.js +1 -1
- package/components/ds-app.js +1 -1
- package/components/ds-badge.js +1 -1
- package/components/ds-button-group.js +1 -1
- package/components/ds-button.js +1 -1
- package/components/ds-card-actions.js +1 -1
- package/components/ds-card-content.js +1 -1
- package/components/ds-card-subtitle.js +1 -1
- package/components/ds-card-title.js +1 -1
- package/components/ds-card.js +1 -1
- package/components/ds-carousel.js +1 -1
- package/components/ds-checkbox-group.js +1 -1
- package/components/ds-checkbox.js +1 -1
- package/components/ds-close.js +1 -1
- package/components/ds-content.js +1 -1
- package/components/ds-data-item.js +1 -1
- package/components/ds-date.js +1 -1
- package/components/ds-drawer.js +1 -1
- package/components/ds-file-upload.js +1 -1
- package/components/ds-footer.js +1 -1
- package/components/ds-heading.js +1 -1
- package/components/ds-hint.js +1 -1
- package/components/ds-icon.js +1 -1
- package/components/ds-input-slider.d.ts +11 -0
- package/components/ds-input-slider.js +4 -0
- package/components/ds-input.js +1 -1
- package/components/ds-item.js +1 -1
- package/components/ds-label.js +1 -1
- package/components/ds-list.js +1 -1
- package/components/ds-logo.js +1 -1
- package/components/ds-modal-body.js +1 -1
- package/components/ds-modal-header.js +1 -1
- package/components/ds-modal.js +1 -1
- package/components/ds-navbar.js +1 -1
- package/components/ds-notification.js +1 -1
- package/components/ds-number-input.js +1 -1
- package/components/ds-pagination.js +1 -1
- package/components/ds-popup.js +1 -1
- package/components/ds-progress-bar.js +1 -1
- package/components/ds-radio-group.js +1 -1
- package/components/ds-radio.js +1 -1
- package/components/ds-segment-item.js +1 -1
- package/components/ds-segment.js +1 -1
- package/components/ds-select-optgroup.js +1 -1
- package/components/ds-select-option.js +1 -1
- package/components/ds-select.js +1 -1
- package/components/ds-shape.js +1 -1
- package/components/ds-snackbar.js +1 -1
- package/components/ds-spinner.js +1 -1
- package/components/ds-stack.js +1 -1
- package/components/ds-step-panel.js +1 -1
- package/components/ds-step.js +1 -1
- package/components/ds-tab-panel.js +1 -1
- package/components/ds-tabs.js +1 -1
- package/components/ds-tag-group.js +1 -1
- package/components/ds-tag.js +1 -1
- package/components/ds-text.js +1 -1
- package/components/ds-textarea.js +1 -1
- package/components/ds-toast.js +1 -1
- package/components/ds-toggle.js +1 -1
- package/components/ds-tooltip.js +1 -1
- package/components/index.js +1 -1
- package/components/{p-DenZRIeA.js → p-BXJT6RzI.js} +1 -1
- package/components/p-BdLq-Ecc.js +4 -0
- package/components/{p-CjIxf5zy.js → p-BmKEBYP4.js} +1 -1
- package/components/p-BoWAkGY5.js +4 -0
- package/components/{p-DYTOWDAA.js → p-CTbJFS-e.js} +1 -1
- package/components/{p-DokkRjWC.js → p-CaMOovXn.js} +1 -1
- package/components/p-Ce8PV2ZO.js +4 -0
- package/components/p-CmBtAxar.js +4 -0
- package/components/p-D8gpyiFZ.js +4 -0
- package/components/{p-ng5ZzTOj.js → p-DBX_haol.js} +1 -1
- package/components/{p-BfXZJ1Fe.js → p-DPbhygsR.js} +1 -1
- package/components/{p-BU0dY8pq.js → p-DZzsZ_YH.js} +1 -1
- package/components/p-DbUsvqrz.js +4 -0
- package/components/p-Dbqy6lZU.js +5 -0
- package/{dist/design-system/p-BATOumsf.js → components/p-fS80bKHo.js} +1 -1
- package/components/{p-bGV2P6rT.js → p-hPpcXLRP.js} +1 -1
- package/components/p-o0H7eIVX.js +4 -0
- package/components/p-std0LSH2.js +4 -0
- package/components/{p-Btdh3fq7.js → p-u5aa74vh.js} +1 -1
- package/components/p-wud2RGEy.js +4 -0
- package/dist/cjs/{_getTag-B468r9bu.js → _getTag-DxZgmSPS.js} +1 -1
- package/dist/cjs/{array-CioNm_V1.js → array-CYn4ALBt.js} +10 -9
- package/dist/cjs/{breakpoints.decorator-C-Qm21UK.js → breakpoints.decorator-DbttiLa9.js} +1 -1
- package/dist/cjs/{breakpoints.subject-XNcGwhzh.js → breakpoints.subject-CNyiZaBe.js} +3 -3
- package/dist/cjs/{button.interfaces-CqlUGR-N.js → button.interfaces-BKyK0H_f.js} +0 -1
- package/dist/cjs/{config.decorator-ThGLtT-3.js → config.decorator-bU7c6ybP.js} +1 -1
- package/dist/cjs/{config.utils-MhZvq4Qm.js → config.utils-BhJig3l5.js} +1 -1
- package/dist/cjs/{create-validator-decorator-BIgFqrMJ.js → create-validator-decorator-CiRieHJL.js} +1 -1
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{device-BnjBOLnP.js → device-DM1GXL99.js} +1 -1
- package/dist/cjs/ds-accordion.cjs.entry.js +9 -9
- package/dist/cjs/ds-alert-container.cjs.entry.js +6 -6
- package/dist/cjs/ds-app.cjs.entry.js +35 -8
- package/dist/cjs/ds-badge.cjs.entry.js +20 -39
- package/dist/cjs/ds-button-group.cjs.entry.js +7 -7
- package/dist/cjs/ds-button_2.cjs.entry.js +20 -20
- package/dist/cjs/ds-card-actions.cjs.entry.js +4 -4
- package/dist/cjs/ds-card-content.cjs.entry.js +3 -3
- package/dist/cjs/ds-card-header.cjs.entry.js +5 -5
- package/dist/cjs/ds-card-subtitle.cjs.entry.js +10 -14
- package/dist/cjs/ds-card-title.cjs.entry.js +8 -14
- package/dist/cjs/ds-card.cjs.entry.js +14 -13
- package/dist/cjs/ds-carousel-item.cjs.entry.js +6 -6
- package/dist/cjs/ds-carousel.cjs.entry.js +8 -8
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +44 -19
- package/dist/cjs/ds-checkbox.cjs.entry.js +19 -10
- package/dist/cjs/ds-content_2.cjs.entry.js +18 -68
- package/dist/cjs/ds-data-item.cjs.entry.js +6 -6
- package/dist/cjs/ds-data-label.cjs.entry.js +4 -4
- package/dist/cjs/ds-data-value.cjs.entry.js +2 -2
- package/dist/cjs/ds-data.cjs.entry.js +4 -4
- package/dist/cjs/ds-date.cjs.entry.js +18 -12
- package/dist/cjs/ds-divider_2.cjs.entry.js +14 -14
- package/dist/cjs/ds-drawer_2.cjs.entry.js +10 -10
- package/dist/cjs/ds-file-upload.cjs.entry.js +22 -14
- package/dist/cjs/ds-footer.cjs.entry.js +7 -7
- package/dist/cjs/ds-heading.cjs.entry.js +21 -37
- package/dist/cjs/ds-hint-text.cjs.entry.js +2 -2
- package/dist/cjs/ds-hint-title.cjs.entry.js +2 -2
- package/dist/cjs/ds-hint.cjs.entry.js +11 -11
- package/dist/cjs/ds-icon_2.cjs.entry.js +23 -26
- package/dist/cjs/ds-input-slider.cjs.entry.js +2892 -0
- package/dist/cjs/ds-input.cjs.entry.js +20 -11
- package/dist/cjs/ds-item.cjs.entry.js +7 -7
- package/dist/cjs/ds-label.cjs.entry.js +11 -11
- package/dist/cjs/ds-list.cjs.entry.js +5 -5
- package/dist/cjs/ds-modal-body.cjs.entry.js +3 -3
- package/dist/cjs/ds-modal-header.cjs.entry.js +3 -3
- package/dist/cjs/ds-modal.cjs.entry.js +9 -9
- package/dist/cjs/ds-navbar.cjs.entry.js +17 -17
- package/dist/cjs/ds-notification.cjs.entry.js +11 -11
- package/dist/cjs/ds-number-input.cjs.entry.js +31 -117
- package/dist/cjs/ds-pagination.cjs.entry.js +17 -17
- package/dist/cjs/ds-progress-bar.cjs.entry.js +14 -14
- package/dist/cjs/ds-radio-group.cjs.entry.js +39 -15
- package/dist/cjs/ds-radio.cjs.entry.js +19 -10
- package/dist/cjs/ds-segment-item.cjs.entry.js +5 -5
- package/dist/cjs/ds-segment.cjs.entry.js +21 -15
- package/dist/cjs/ds-select-optgroup.cjs.entry.js +5 -5
- package/dist/cjs/ds-select-option.cjs.entry.js +5 -5
- package/dist/cjs/ds-select.cjs.entry.js +18 -13
- package/dist/cjs/ds-shape.cjs.entry.js +5 -5
- package/dist/cjs/ds-snackbar.cjs.entry.js +14 -14
- package/dist/cjs/ds-step-panel.cjs.entry.js +6 -6
- package/dist/cjs/ds-step.cjs.entry.js +5 -5
- package/dist/cjs/ds-steps.cjs.entry.js +6 -6
- package/dist/cjs/ds-tab-panel.cjs.entry.js +6 -6
- package/dist/cjs/ds-tab.cjs.entry.js +5 -5
- package/dist/cjs/ds-tabs.cjs.entry.js +12 -12
- package/dist/cjs/ds-tag-group.cjs.entry.js +3 -3
- package/dist/cjs/ds-tag.cjs.entry.js +9 -9
- package/dist/cjs/ds-text.cjs.entry.js +10 -10
- package/dist/cjs/ds-textarea.cjs.entry.js +19 -10
- package/dist/cjs/ds-toast.cjs.entry.js +12 -12
- package/dist/cjs/ds-toggle.cjs.entry.js +7 -7
- package/dist/cjs/ds-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/{field.util-L-DkeMVk.js → field.util-C7hgA41e.js} +32 -2
- package/dist/cjs/{focus-D3VVgpM7.js → focus-CHzvkERd.js} +1 -1
- package/dist/cjs/{form-control-CtMcJUuC.js → form-control-CmRONWa7.js} +1 -1
- package/dist/cjs/{has-value-DK0oRqXI.js → has-value-3s9rhB3K.js} +1 -1
- package/dist/cjs/{heading.interfaces-B5NJ2yjL.js → heading.interfaces-CAc5LNKb.js} +2 -3
- package/dist/cjs/{index-sC3JnTlJ.js → index-DD7qcaNz.js} +80 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/isArray-DvQst6zQ.js +42 -0
- package/dist/cjs/isNaN-DOSPWDkt.js +106 -0
- package/dist/cjs/{isObjectLike-h-ta_ikf.js → isObjectLike-BNz6hnAu.js} +0 -37
- package/dist/cjs/{listener-BwB_xent.js → listener-CAzIWSXQ.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{one-of-BZGRIMtQ.js → one-of-xdIxH9e7.js} +1 -1
- package/dist/cjs/{required-COz3Unzu.js → required-Dh6TQNa1.js} +1 -1
- package/dist/cjs/{resize.decorator-DWM_fQgv.js → resize.decorator-C53-TjuS.js} +2 -2
- package/dist/cjs/{scroll-CUuEh4xd.js → scroll-BOeiw1-E.js} +1 -1
- package/dist/cjs/{svg-D9RbiR8R.js → svg-B9eUbG7a.js} +96 -33
- package/dist/cjs/{tslib.es6-CxyosZMg.js → tslib.es6-DMgN1vwG.js} +1 -1
- package/dist/cjs/{type-hmc4CJcO.js → type-BcP2cAG-.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion/accordion.host.css +1 -1
- package/dist/collection/components/alert/snackbar/snackbar.host.css +1 -1
- package/dist/collection/components/alert/toast/toast.host.css +1 -1
- package/dist/collection/components/app/app.js +30 -3
- package/dist/collection/components/badge/badge.host.css +1 -1
- package/dist/collection/components/badge/badge.interfaces.js +3 -3
- package/dist/collection/components/badge/badge.js +20 -42
- package/dist/collection/components/button/button.interfaces.js +0 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/card/card-content/card-content.host.css +1 -1
- package/dist/collection/components/card/card-subtitle/card-subtitle.js +6 -11
- package/dist/collection/components/card/card-title/card-title.js +4 -11
- package/dist/collection/components/card/card.host.css +1 -1
- package/dist/collection/components/card/card.js +10 -9
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.js +54 -8
- package/dist/collection/components/checkbox/checkbox.host.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +31 -2
- package/dist/collection/components/checkbox/test/checkbox.visual.play.js +4 -0
- package/dist/collection/components/close/close.host.css +1 -1
- package/dist/collection/components/close/close.interfaces.js +1 -1
- package/dist/collection/components/close/close.js +14 -16
- package/dist/collection/components/content/content.host.css +1 -1
- package/dist/collection/components/content/content.interfaces.js +2 -3
- package/dist/collection/components/content/content.js +21 -60
- package/dist/collection/components/date/date.js +12 -4
- package/dist/collection/components/date/test/date.visual.play.js +1 -0
- package/dist/collection/components/file-upload/file-upload.js +13 -4
- package/dist/collection/components/file-upload/test/file-upload.visual.play.js +10 -1
- package/dist/collection/components/heading/heading.host.css +1 -1
- package/dist/collection/components/heading/heading.interfaces.js +2 -3
- package/dist/collection/components/heading/heading.js +25 -45
- package/dist/collection/components/input/field.util.js +1 -1
- package/dist/collection/components/input/input.js +14 -3
- package/dist/collection/components/input/test/input.visual.play.js +2 -1
- package/dist/collection/components/input-slider/input-slider.host.css +1 -0
- package/dist/collection/components/input-slider/input-slider.interfaces.js +4 -0
- package/dist/collection/components/input-slider/input-slider.js +970 -0
- package/dist/collection/components/input-slider/input-slider.picker.js +124 -0
- package/dist/collection/components/input-slider/input-slider.utils.js +32 -0
- package/dist/collection/components/input-slider/test/input-slider.a11y.play.js +36 -0
- package/dist/collection/components/input-slider/test/input-slider.component.play.js +87 -0
- package/dist/collection/components/input-slider/test/input-slider.visual.play.js +28 -0
- package/dist/collection/components/label/label.host.css +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/item/item.host.css +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/logo/logo.js +2 -2
- package/dist/collection/components/modal/modal-body/modal-body.js +1 -1
- package/dist/collection/components/modal/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/navbar/navbar.js +3 -3
- package/dist/collection/components/notification/notification.host.css +1 -1
- package/dist/collection/components/notification/notification.js +3 -3
- package/dist/collection/components/number-input/number-input.js +13 -2
- package/dist/collection/components/number-input/test/number-input.visual.play.js +1 -1
- package/dist/collection/components/pagination/pagination.js +5 -5
- package/dist/collection/components/popup/popup.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +2 -2
- package/dist/collection/components/radio/radio-group/radio-group.js +54 -8
- package/dist/collection/components/radio/radio.host.css +1 -1
- package/dist/collection/components/radio/radio.js +31 -2
- package/dist/collection/components/radio/test/radio.visual.play.js +4 -0
- package/dist/collection/components/segment/segment/segment.js +15 -7
- package/dist/collection/components/segment/segment-item.js +1 -1
- package/dist/collection/components/segment/test/segment.visual.play.js +1 -0
- package/dist/collection/components/select/select-optgroup.js +1 -1
- package/dist/collection/components/select/select-option.js +1 -1
- package/dist/collection/components/select/select.host.css +1 -1
- package/dist/collection/components/select/select.js +11 -4
- package/dist/collection/components/select/test/select.visual.play.js +2 -2
- package/dist/collection/components/shape/shape.js +1 -1
- package/dist/collection/components/spinner/spinner.host.css +1 -1
- package/dist/collection/components/spinner/spinner.interfaces.js +1 -1
- package/dist/collection/components/spinner/spinner.js +12 -16
- package/dist/collection/components/stack/stack.host.css +1 -1
- package/dist/collection/components/stack/stack.interfaces.js +1 -2
- package/dist/collection/components/stack/stack.js +13 -33
- package/dist/collection/components/steps/step-panel/step-panel.js +1 -1
- package/dist/collection/components/tabs/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/tabs/tabs/tabs.js +4 -4
- package/dist/collection/components/tag/tag-group/tag-group.js +1 -1
- package/dist/collection/components/tag/tag.host.css +1 -1
- package/dist/collection/components/tag/tag.js +2 -2
- package/dist/collection/components/text/text.host.css +1 -1
- package/dist/collection/components/text/text.js +3 -3
- package/dist/collection/components/textarea/test/textarea.visual.play.js +2 -2
- package/dist/collection/components/textarea/textarea.js +13 -2
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/global/constants/tags.constant.js +1 -0
- package/dist/collection/global/constants/version.constant.js +1 -1
- package/dist/collection/global/global.js +2 -0
- package/dist/collection/global/token-preview.js +75 -0
- package/dist/collection/global/token-preview.types.js +1 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/invalid-text-slot.js +31 -0
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-5d17209d91.entry.js → p-001b20140b.entry.js} +1 -1
- package/dist/design-system/p-0c031d8d90.entry.js +4 -0
- package/dist/design-system/p-0c18812daa.entry.js +4 -0
- package/dist/design-system/p-19e0638e5c.entry.js +4 -0
- package/dist/design-system/{p-10c136d00d.entry.js → p-1dc3406415.entry.js} +1 -1
- package/dist/design-system/{p-53dda5d400.entry.js → p-200a0ea72c.entry.js} +1 -1
- package/dist/design-system/p-2516721737.entry.js +4 -0
- package/dist/design-system/p-2a67e9b4eb.entry.js +4 -0
- package/dist/design-system/p-2cc9740eb6.entry.js +4 -0
- package/dist/design-system/p-33165c2b03.entry.js +4 -0
- package/dist/design-system/p-37295c3a5d.entry.js +4 -0
- package/dist/design-system/p-3d1f15112e.entry.js +4 -0
- package/dist/design-system/p-3de8e2b6c9.entry.js +4 -0
- package/dist/design-system/{p-774b89ed0b.entry.js → p-4042b35fee.entry.js} +1 -1
- package/dist/design-system/{p-afd8bbe699.entry.js → p-40b3d4d0f9.entry.js} +1 -1
- package/dist/design-system/{p-f0119fe693.entry.js → p-45af50a69f.entry.js} +1 -1
- package/dist/design-system/p-4df80c06f8.entry.js +4 -0
- package/dist/design-system/p-4f12c6449d.entry.js +4 -0
- package/dist/design-system/p-4f95f06b86.entry.js +4 -0
- package/dist/design-system/{p-c37f266740.entry.js → p-662983c8bd.entry.js} +1 -1
- package/dist/design-system/p-68693c06a1.entry.js +4 -0
- package/dist/design-system/{p-7c353652a9.entry.js → p-69784a200e.entry.js} +1 -1
- package/dist/design-system/{p-BhdSNuGP.js → p-6Iq8BM7N.js} +1 -1
- package/dist/design-system/p-6ba71ce374.entry.js +4 -0
- package/dist/design-system/{p-13d1ce3158.entry.js → p-72c08ce551.entry.js} +1 -1
- package/dist/design-system/p-72fe1ab876.entry.js +4 -0
- package/dist/design-system/p-73b26207bf.entry.js +4 -0
- package/dist/design-system/{p-4e6638d14e.entry.js → p-7576fb01bf.entry.js} +1 -1
- package/dist/design-system/p-819d71abe1.entry.js +4 -0
- package/dist/design-system/p-88682a66d5.entry.js +4 -0
- package/dist/design-system/{p-6ef31a3c07.entry.js → p-8a7c2f5b0a.entry.js} +1 -1
- package/dist/design-system/{p-0bd2ce2da3.entry.js → p-8bfcfd7b07.entry.js} +1 -1
- package/dist/design-system/p-9537ebc880.entry.js +4 -0
- package/dist/design-system/{p-e7472337ed.entry.js → p-96d37205c9.entry.js} +1 -1
- package/dist/design-system/{p-0663d7c0f1.entry.js → p-97ad0e648a.entry.js} +1 -1
- package/dist/design-system/p-9e0f190f06.entry.js +4 -0
- package/dist/design-system/p-9f746ea4e3.entry.js +4 -0
- package/dist/design-system/{p-B1e0kNRJ.js → p-B2dqoehY.js} +2 -2
- package/dist/design-system/p-B8PCdo6e.js +4 -0
- package/dist/design-system/p-B9ddSbbe.js +4 -0
- package/dist/design-system/p-BDcIydUK.js +4 -0
- package/dist/design-system/p-BdLq-Ecc.js +4 -0
- package/dist/design-system/{p-HwbqEzpk.js → p-BjaiDrCD.js} +1 -1
- package/dist/design-system/{p-CvTcEsXg.js → p-BnJgNfen.js} +1 -1
- package/dist/design-system/{p-78NZc8PM.js → p-Bnpwi9iD.js} +1 -1
- package/dist/design-system/p-C6AmBSV7.js +4 -0
- package/dist/design-system/{p-hLAmwHiq.js → p-CBGYLNZZ.js} +1 -1
- package/dist/design-system/p-CDhvZoCt.js +4 -0
- package/dist/design-system/p-CGHN-3RC.js +4 -0
- package/dist/design-system/{p-BkTv_bQR.js → p-CR2JnhVY.js} +1 -1
- package/dist/design-system/{p-Dm2lqE3-.js → p-ClSAXeZN.js} +1 -1
- package/dist/design-system/p-CziF75uh.js +4 -0
- package/dist/design-system/p-D-_px2sY.js +5 -0
- package/dist/design-system/{p-ij4OEkzJ.js → p-DNQg2PVW.js} +1 -1
- package/dist/design-system/p-DQGbRzw_.js +4 -0
- package/dist/design-system/{p-LCY5n5tq.js → p-DWdcUUdS.js} +1 -1
- package/dist/design-system/{p-C7i6xLTJ.js → p-DuKlHFAK.js} +1 -1
- package/dist/design-system/p-MUUOiuTm.js +5 -0
- package/dist/design-system/{p-BvEM6oCl.js → p-_Ywzmi-B.js} +1 -1
- package/dist/design-system/{p-DgVaaZT_.js → p-_rk5qARQ.js} +1 -1
- package/dist/design-system/{p-8406f6faf1.entry.js → p-a343b84e8a.entry.js} +1 -1
- package/dist/design-system/p-a3ed278181.entry.js +4 -0
- package/dist/design-system/{p-650289138a.entry.js → p-a71c22bc50.entry.js} +1 -1
- package/dist/design-system/{p-DTxLRTYr.js → p-aPnyJLhr.js} +1 -1
- package/dist/design-system/{p-f4958b9e97.entry.js → p-abcc8edf7e.entry.js} +1 -1
- package/dist/design-system/{p-372bf379f9.entry.js → p-ac55e3783c.entry.js} +1 -1
- package/dist/design-system/{p-7e702193fc.entry.js → p-ac7f3f89be.entry.js} +1 -1
- package/dist/design-system/{p-3134821ac6.entry.js → p-ae8753bf2a.entry.js} +1 -1
- package/dist/design-system/{p-60d29d8b8e.entry.js → p-afea3755c2.entry.js} +1 -1
- package/dist/design-system/{p-dcb749efc7.entry.js → p-bd31b396d8.entry.js} +1 -1
- package/dist/design-system/p-bd740897a1.entry.js +4 -0
- package/dist/design-system/{p-d5f8d8f5e1.entry.js → p-bf03129378.entry.js} +1 -1
- package/dist/design-system/p-bfd0557b47.entry.js +4 -0
- package/dist/design-system/{p-01430d5c28.entry.js → p-c07aa25e4d.entry.js} +1 -1
- package/dist/design-system/p-c19c74c2b1.entry.js +4 -0
- package/dist/design-system/{p-dd38f8f206.entry.js → p-d5d7700fd3.entry.js} +1 -1
- package/dist/design-system/p-d727654ec3.entry.js +4 -0
- package/dist/design-system/{p-a465c1acce.entry.js → p-dadd7a84bc.entry.js} +1 -1
- package/dist/design-system/p-dd5e815ef3.entry.js +4 -0
- package/dist/design-system/p-dfebad2acc.entry.js +4 -0
- package/{components/p-D9YYP2SG.js → dist/design-system/p-dziB1ufg.js} +1 -1
- package/dist/design-system/p-e16572468e.entry.js +4 -0
- package/dist/design-system/p-e23b6d59c0.entry.js +4 -0
- package/dist/design-system/p-e743fa4c17.entry.js +4 -0
- package/dist/design-system/p-e94b66c13e.entry.js +4 -0
- package/dist/design-system/{p-a8de98dd7b.entry.js → p-ec3f2ded29.entry.js} +1 -1
- package/dist/design-system/p-ed3f364d1f.entry.js +4 -0
- package/dist/design-system/{p-a62b7985a0.entry.js → p-eedaf7fe85.entry.js} +1 -1
- package/dist/design-system/p-ef1bf78788.entry.js +4 -0
- package/dist/design-system/{p-9f2dd0b55b.entry.js → p-f0b0376beb.entry.js} +1 -1
- package/dist/design-system/p-f7787fca37.entry.js +4 -0
- package/dist/design-system/p-fd868dc1f5.entry.js +4 -0
- package/dist/esm/{_getTag-DFxL3s3h.js → _getTag-BkweuRJc.js} +1 -1
- package/dist/esm/{array-dJH4dfMr.js → array-BJZA868l.js} +3 -2
- package/dist/esm/{breakpoints.decorator-DZ0xN4Np.js → breakpoints.decorator-CIweMjJQ.js} +1 -1
- package/dist/esm/{breakpoints.subject-BNnXcKMw.js → breakpoints.subject-CUVOWezN.js} +3 -3
- package/dist/esm/{button.interfaces-BPGfTrrM.js → button.interfaces-C6AmBSV7.js} +0 -1
- package/dist/esm/{config.decorator-ZQ0_Zx5y.js → config.decorator-CyvsD1EY.js} +1 -1
- package/dist/esm/{config.utils-D9o7rffC.js → config.utils-Db2OSTX3.js} +1 -1
- package/dist/esm/{create-validator-decorator-DovxquEu.js → create-validator-decorator-g9TfAa1g.js} +1 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{device-CRuIJzXR.js → device-CtidwsPr.js} +1 -1
- package/dist/esm/ds-accordion.entry.js +9 -9
- package/dist/esm/ds-alert-container.entry.js +6 -6
- package/dist/esm/ds-app.entry.js +35 -8
- package/dist/esm/ds-badge.entry.js +20 -39
- package/dist/esm/ds-button-group.entry.js +7 -7
- package/dist/esm/ds-button_2.entry.js +20 -20
- package/dist/esm/ds-card-actions.entry.js +4 -4
- package/dist/esm/ds-card-content.entry.js +3 -3
- package/dist/esm/ds-card-header.entry.js +5 -5
- package/dist/esm/ds-card-subtitle.entry.js +10 -14
- package/dist/esm/ds-card-title.entry.js +8 -14
- package/dist/esm/ds-card.entry.js +14 -13
- package/dist/esm/ds-carousel-item.entry.js +6 -6
- package/dist/esm/ds-carousel.entry.js +8 -8
- package/dist/esm/ds-checkbox-group.entry.js +44 -19
- package/dist/esm/ds-checkbox.entry.js +19 -10
- package/dist/esm/ds-content_2.entry.js +18 -68
- package/dist/esm/ds-data-item.entry.js +6 -6
- package/dist/esm/ds-data-label.entry.js +4 -4
- package/dist/esm/ds-data-value.entry.js +2 -2
- package/dist/esm/ds-data.entry.js +4 -4
- package/dist/esm/ds-date.entry.js +18 -12
- package/dist/esm/ds-divider_2.entry.js +14 -14
- package/dist/esm/ds-drawer_2.entry.js +10 -10
- package/dist/esm/ds-file-upload.entry.js +22 -14
- package/dist/esm/ds-footer.entry.js +7 -7
- package/dist/esm/ds-heading.entry.js +21 -37
- package/dist/esm/ds-hint-text.entry.js +2 -2
- package/dist/esm/ds-hint-title.entry.js +2 -2
- package/dist/esm/ds-hint.entry.js +11 -11
- package/dist/esm/ds-icon_2.entry.js +21 -24
- package/dist/esm/ds-input-slider.entry.js +2890 -0
- package/dist/esm/ds-input.entry.js +20 -11
- package/dist/esm/ds-item.entry.js +7 -7
- package/dist/esm/ds-label.entry.js +11 -11
- package/dist/esm/ds-list.entry.js +5 -5
- package/dist/esm/ds-modal-body.entry.js +3 -3
- package/dist/esm/ds-modal-header.entry.js +3 -3
- package/dist/esm/ds-modal.entry.js +9 -9
- package/dist/esm/ds-navbar.entry.js +17 -17
- package/dist/esm/ds-notification.entry.js +11 -11
- package/dist/esm/ds-number-input.entry.js +24 -110
- package/dist/esm/ds-pagination.entry.js +17 -17
- package/dist/esm/ds-progress-bar.entry.js +14 -14
- package/dist/esm/ds-radio-group.entry.js +39 -15
- package/dist/esm/ds-radio.entry.js +19 -10
- package/dist/esm/ds-segment-item.entry.js +5 -5
- package/dist/esm/ds-segment.entry.js +21 -15
- package/dist/esm/ds-select-optgroup.entry.js +5 -5
- package/dist/esm/ds-select-option.entry.js +5 -5
- package/dist/esm/ds-select.entry.js +18 -13
- package/dist/esm/ds-shape.entry.js +5 -5
- package/dist/esm/ds-snackbar.entry.js +14 -14
- package/dist/esm/ds-step-panel.entry.js +6 -6
- package/dist/esm/ds-step.entry.js +5 -5
- package/dist/esm/ds-steps.entry.js +6 -6
- package/dist/esm/ds-tab-panel.entry.js +6 -6
- package/dist/esm/ds-tab.entry.js +5 -5
- package/dist/esm/ds-tabs.entry.js +12 -12
- package/dist/esm/ds-tag-group.entry.js +3 -3
- package/dist/esm/ds-tag.entry.js +9 -9
- package/dist/esm/ds-text.entry.js +10 -10
- package/dist/esm/ds-textarea.entry.js +19 -10
- package/dist/esm/ds-toast.entry.js +12 -12
- package/dist/esm/ds-toggle.entry.js +7 -7
- package/dist/esm/ds-tooltip.entry.js +5 -5
- package/dist/esm/{field.util-BjZzAi09.js → field.util-Dl02gvlr.js} +32 -3
- package/dist/esm/{focus-ZxHImoOj.js → focus-C1_jVoAm.js} +1 -1
- package/dist/esm/{form-control-DvJo0GKN.js → form-control-BAP86QSm.js} +1 -1
- package/dist/esm/{has-value-DU9L2JaI.js → has-value-CADjf9QZ.js} +1 -1
- package/dist/esm/{heading.interfaces-Ceu7FIWM.js → heading.interfaces-BdLq-Ecc.js} +2 -3
- package/dist/esm/{index-C6MVahkC.js → index-MUUOiuTm.js} +80 -1
- package/dist/esm/index.js +10 -10
- package/dist/esm/isArray-B8PCdo6e.js +40 -0
- package/dist/esm/isNaN-BrbqGXXw.js +104 -0
- package/dist/esm/{isObjectLike-BAYao9w7.js → isObjectLike-BnBXjF_n.js} +1 -37
- package/dist/esm/{listener-DHP2OPMZ.js → listener-DiVrGAqj.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{one-of-CKPv0Nqm.js → one-of-rLykP5eX.js} +1 -1
- package/dist/esm/{required-Dqsbx5fH.js → required-BsfIY-qW.js} +1 -1
- package/dist/esm/{resize.decorator-B8h8D676.js → resize.decorator-BNy5tJCt.js} +2 -2
- package/dist/esm/{scroll-CsH7NHo5.js → scroll-D4cC-Fsr.js} +1 -1
- package/dist/esm/{svg-B8KVoKrH.js → svg-D-_px2sY.js} +96 -33
- package/dist/esm/{tslib.es6-C9GKXw-5.js → tslib.es6-C7vR-gMn.js} +1 -1
- package/dist/esm/{type-DzkhLOG_.js → type-Bqge296W.js} +1 -1
- package/dist/types/components/app/app.d.ts +23 -0
- package/dist/types/components/badge/badge.d.ts +12 -4
- package/dist/types/components/badge/badge.interfaces.d.ts +3 -3
- package/dist/types/components/button/button.interfaces.d.ts +1 -1
- package/dist/types/components/card/card-subtitle/card-subtitle.d.ts +1 -1
- package/dist/types/components/card/card-title/card-title.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox-group/checkbox-group.d.ts +10 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -0
- package/dist/types/components/close/close.d.ts +14 -2
- package/dist/types/components/close/close.interfaces.d.ts +1 -1
- package/dist/types/components/content/content.d.ts +6 -6
- package/dist/types/components/content/content.interfaces.d.ts +3 -3
- package/dist/types/components/date/date.d.ts +3 -0
- package/dist/types/components/file-upload/file-upload.d.ts +3 -0
- package/dist/types/components/heading/heading.d.ts +10 -10
- package/dist/types/components/heading/heading.interfaces.d.ts +3 -3
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/input-slider/input-slider.d.ts +189 -0
- package/dist/types/components/input-slider/input-slider.interfaces.d.ts +18 -0
- package/dist/types/components/input-slider/input-slider.picker.d.ts +37 -0
- package/dist/types/components/input-slider/input-slider.utils.d.ts +18 -0
- package/dist/types/components/input-slider/test/input-slider.a11y.play.d.ts +1 -0
- package/dist/types/components/input-slider/test/input-slider.component.play.d.ts +1 -0
- package/dist/types/components/input-slider/test/input-slider.visual.play.d.ts +1 -0
- package/dist/types/components/number-input/number-input.d.ts +4 -0
- package/dist/types/components/radio/radio-group/radio-group.d.ts +10 -0
- package/dist/types/components/radio/radio.d.ts +4 -0
- package/dist/types/components/segment/segment/segment.d.ts +3 -0
- package/dist/types/components/select/select.d.ts +3 -0
- package/dist/types/components/spinner/spinner.d.ts +8 -7
- package/dist/types/components/spinner/spinner.interfaces.d.ts +1 -1
- package/dist/types/components/stack/stack.d.ts +3 -3
- package/dist/types/components/stack/stack.interfaces.d.ts +2 -2
- package/dist/types/components/textarea/textarea.d.ts +4 -0
- package/dist/types/components.d.ts +334 -70
- package/dist/types/global/token-preview.d.ts +8 -0
- package/dist/types/global/token-preview.types.d.ts +20 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +1 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/input-slider.po.d.ts +18 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/invalid-text-slot.d.ts +9 -0
- package/docs/cem.json +792 -211
- package/docs/components.json +2434 -1559
- package/docs/html.html-data.json +124 -1
- package/docs/tags.json +1 -0
- package/docs/visual-pages.json +51 -0
- package/package.json +10 -9
- package/sbom.cdx.json +41369 -18745
- package/components/p-B1gnrQ9b.js +0 -4
- package/components/p-CA7G72wZ.js +0 -4
- package/components/p-CYWn3X22.js +0 -4
- package/components/p-Ceu7FIWM.js +0 -4
- package/components/p-Ctnm_MBD.js +0 -4
- package/components/p-DQBzmbR6.js +0 -4
- package/components/p-DsvYY32v.js +0 -4
- package/components/p-Du7QOHtz.js +0 -5
- package/components/p-FBQaJyH0.js +0 -4
- package/dist/design-system/p-014d464627.entry.js +0 -4
- package/dist/design-system/p-0ff0be5b83.entry.js +0 -4
- package/dist/design-system/p-11f34d0c7d.entry.js +0 -4
- package/dist/design-system/p-163d606781.entry.js +0 -4
- package/dist/design-system/p-1VXOIrN2.js +0 -4
- package/dist/design-system/p-202ecb8f01.entry.js +0 -4
- package/dist/design-system/p-27d181c5ac.entry.js +0 -4
- package/dist/design-system/p-2a35e0b9b0.entry.js +0 -4
- package/dist/design-system/p-2f51e1d39b.entry.js +0 -4
- package/dist/design-system/p-3292ae6a05.entry.js +0 -4
- package/dist/design-system/p-3895178b39.entry.js +0 -4
- package/dist/design-system/p-3c6b7a2967.entry.js +0 -4
- package/dist/design-system/p-3ef4bd1c59.entry.js +0 -4
- package/dist/design-system/p-493b18cc46.entry.js +0 -4
- package/dist/design-system/p-4a99464dae.entry.js +0 -4
- package/dist/design-system/p-5e51fa8df4.entry.js +0 -4
- package/dist/design-system/p-62cb503015.entry.js +0 -4
- package/dist/design-system/p-65c221261c.entry.js +0 -4
- package/dist/design-system/p-68c9f4f630.entry.js +0 -4
- package/dist/design-system/p-68ebed7eee.entry.js +0 -4
- package/dist/design-system/p-6b6531379b.entry.js +0 -4
- package/dist/design-system/p-6d168ba9ad.entry.js +0 -4
- package/dist/design-system/p-787bd92bcc.entry.js +0 -4
- package/dist/design-system/p-7c8bf0f33e.entry.js +0 -4
- package/dist/design-system/p-8353961d39.entry.js +0 -4
- package/dist/design-system/p-B8KVoKrH.js +0 -5
- package/dist/design-system/p-BLGVE-7Z.js +0 -4
- package/dist/design-system/p-BPGfTrrM.js +0 -4
- package/dist/design-system/p-C6MVahkC.js +0 -5
- package/dist/design-system/p-Ceu7FIWM.js +0 -4
- package/dist/design-system/p-CwCAiaMq.js +0 -4
- package/dist/design-system/p-DHeVI6dR.js +0 -4
- package/dist/design-system/p-ad2b17b0a0.entry.js +0 -4
- package/dist/design-system/p-b68bc14064.entry.js +0 -4
- package/dist/design-system/p-b955a93959.entry.js +0 -4
- package/dist/design-system/p-caad93b943.entry.js +0 -4
- package/dist/design-system/p-cca79bfeb1.entry.js +0 -4
- package/dist/design-system/p-ddf2a7dfee.entry.js +0 -4
- package/dist/design-system/p-df5899b930.entry.js +0 -4
- package/dist/design-system/p-e85c92ca1a.entry.js +0 -4
- package/dist/design-system/p-f62643c33d.entry.js +0 -4
- package/dist/design-system/p-fa9568abce.entry.js +0 -4
- package/dist/design-system/p-fcd98f22b7.entry.js +0 -4
- package/dist/design-system/p-feeef4a8cb.entry.js +0 -4
- package/dist/design-system/p-tl_BegdE.js +0 -4
|
@@ -3,7 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { expectScreenshot, screenshot, test } from "../../../../../../playwright/src/index";
|
|
5
5
|
const TAG = 'file-upload';
|
|
6
|
-
const VARIANTS = [
|
|
6
|
+
const VARIANTS = [
|
|
7
|
+
'basic',
|
|
8
|
+
'disabled',
|
|
9
|
+
'invalid',
|
|
10
|
+
'invalid-slot',
|
|
11
|
+
'valid',
|
|
12
|
+
'warning',
|
|
13
|
+
'loading',
|
|
14
|
+
'no-file-list',
|
|
15
|
+
];
|
|
7
16
|
const image = screenshot(TAG);
|
|
8
17
|
test.describe('host', () => {
|
|
9
18
|
test.beforeEach('Setup', async ({ page }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:host{--_heading-position: var(--heading-position, var(--mod-heading-position, static));--_heading-top: var(--heading-top, var(--mod-heading-top));--_heading-right: var(--heading-right, var(--mod-heading-right));--_heading-bottom: var(--heading-bottom, var(--mod-heading-bottom));--_heading-left: var(--heading-left, var(--mod-heading-left));position:var(--_heading-position);top:var(--_heading-top);right:var(--_heading-right);bottom:var(--_heading-bottom);left:var(--_heading-left);--_heading-m: var(--heading-m, var(--mod-heading-m, 0));--_heading-my: var(--heading-my, var(--mod-heading-my));--_heading-mx: var(--heading-mx, var(--mod-heading-mx));--_heading-ml: var(--heading-ml, var(--mod-heading-ml));--_heading-mr: var(--heading-mr, var(--mod-heading-mr));--_heading-mt: var(--heading-mt, var(--mod-heading-mt));--_heading-mb: var(--heading-mb, var(--mod-heading-mb));margin:var(--_heading-m);margin-inline:var(--_heading-mx);margin-block:var(--_heading-my);margin-left:var(--_heading-ml);margin-right:var(--_heading-mr);margin-top:var(--_heading-mt);margin-bottom:var(--_heading-mb);--_heading-color: var(--heading-color, var(--mod-heading-color, inherit));--_heading-family: var(--heading-family, var(--mod-heading-family, var(--ds-heading-family)));--_heading-weight: var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-weight)));--_heading-line-height: var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-line-height)));--_heading-font-size: var(--heading-font-size, var(--mod-heading-font-size, var(--ds-heading-1-size-device)));--_heading-space: var(--heading-space, var(--mod-heading-space, var(--ds-heading-1-space)));--_heading-shadow: var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align: var(--heading-text-align, var(--mod-heading-text-align, inherit))}#heading{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;box-sizing:content-box;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;color:var(--_heading-color);font-family:var(--_heading-family);font-weight:var(--_heading-weight);font-size:var(--_heading-font-size);line-height:var(--_heading-line-height);text-align:var(--_heading-text-align);text-shadow:var(--_heading-shadow)}#heading em:not(.text),#heading span:not(.text){font-weight:inherit}#heading b,#heading strong,#heading .is-bold{font-weight:var(--ds-text-weight-bold)}:host(.has-no-wrap) #heading{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host(.has-shadow){--mod-heading-shadow: var(--ds-heading-shadow)}:host(.is-subtitle){--mod-heading-family: var(--ds-heading-subtitle-family);--mod-heading-weight: var(--ds-heading-subtitle-weight);--mod-heading-line-height: var(--ds-heading-subtitle-line-height)}:host(.is-primary){--mod-heading-color: var(--ds-heading-color-
|
|
1
|
+
:host{--_heading-position: var(--heading-position, var(--mod-heading-position, static));--_heading-top: var(--heading-top, var(--mod-heading-top));--_heading-right: var(--heading-right, var(--mod-heading-right));--_heading-bottom: var(--heading-bottom, var(--mod-heading-bottom));--_heading-left: var(--heading-left, var(--mod-heading-left));position:var(--_heading-position);top:var(--_heading-top);right:var(--_heading-right);bottom:var(--_heading-bottom);left:var(--_heading-left);--_heading-m: var(--heading-m, var(--mod-heading-m, 0));--_heading-my: var(--heading-my, var(--mod-heading-my));--_heading-mx: var(--heading-mx, var(--mod-heading-mx));--_heading-ml: var(--heading-ml, var(--mod-heading-ml));--_heading-mr: var(--heading-mr, var(--mod-heading-mr));--_heading-mt: var(--heading-mt, var(--mod-heading-mt));--_heading-mb: var(--heading-mb, var(--mod-heading-mb));margin:var(--_heading-m);margin-inline:var(--_heading-mx);margin-block:var(--_heading-my);margin-left:var(--_heading-ml);margin-right:var(--_heading-mr);margin-top:var(--_heading-mt);margin-bottom:var(--_heading-mb);--_heading-color: var(--heading-color, var(--mod-heading-color, inherit));--_heading-family: var(--heading-family, var(--mod-heading-family, var(--ds-heading-font-family)));--_heading-weight: var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-font-weight)));--_heading-line-height: var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-line-height)));--_heading-font-size: var(--heading-font-size, var(--mod-heading-font-size, var(--ds-heading-1-size-device)));--_heading-space: var(--heading-space, var(--mod-heading-space, var(--ds-heading-1-space)));--_heading-shadow: var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align: var(--heading-text-align, var(--mod-heading-text-align, inherit))}#heading{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;box-sizing:content-box;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;color:var(--_heading-color);font-family:var(--_heading-family);font-weight:var(--_heading-weight);font-size:var(--_heading-font-size);line-height:var(--_heading-line-height);text-align:var(--_heading-text-align);text-shadow:var(--_heading-shadow)}#heading em:not(.text),#heading span:not(.text){font-weight:inherit}#heading b,#heading strong,#heading .is-bold{font-weight:var(--ds-alias-text-weight-bold)}:host(.has-no-wrap) #heading{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host(.has-shadow){--mod-heading-shadow: var(--ds-heading-shadow)}:host(.is-subtitle){--mod-heading-family: var(--ds-heading-subtitle-font-family);--mod-heading-weight: var(--ds-heading-subtitle-font-weight);--mod-heading-line-height: var(--ds-heading-subtitle-line-height)}:host(.is-primary){--mod-heading-color: var(--ds-heading-primary-color-base)}:host(.is-success){--mod-heading-color: var(--ds-heading-success-color-base)}:host(.is-warning){--mod-heading-color: var(--ds-heading-warning-color-base)}:host(.is-danger){--mod-heading-color: var(--ds-heading-danger-color-base)}:host(.is-white){--mod-heading-color: var(--ds-heading-white-color-base)}:host(.is-black){--mod-heading-color: var(--ds-heading-black-color-base)}:host(.is-3xl){--mod-heading-font-size: var(--ds-heading-1-size-device);--mod-heading-space: var(--ds-heading-1-space)}:host(.is-2xl){--mod-heading-font-size: var(--ds-heading-2-size-device);--mod-heading-space: var(--ds-heading-2-space)}:host(.is-xl){--mod-heading-font-size: var(--ds-heading-3-size-device);--mod-heading-space: var(--ds-heading-3-space)}:host(.is-lg){--mod-heading-font-size: var(--ds-heading-4-size-device);--mod-heading-space: var(--ds-heading-4-space)}:host(.is-base){--mod-heading-font-size: var(--ds-heading-5-size-device);--mod-heading-space: var(--ds-heading-5-space)}:host(.is-5xl){--mod-heading-font-size: var(--ds-heading-display-1-size-device);--mod-heading-space: var(--ds-heading-display-1-space)}:host(.is-4xl){--mod-heading-font-size: var(--ds-heading-display-2-size-device);--mod-heading-space: var(--ds-heading-display-2-space)}:host(.has-space-all){--heading-mt: var(--_heading-space);--heading-mb: var(--_heading-space)}:host(.has-space-top){--heading-mt: var(--_heading-space);--heading-mb: 0}:host(.has-space-bottom){--heading-mt: 0;--heading-mb: var(--_heading-space)}:host(.has-space-none){--heading-mt: 0;--heading-mb: 0}:host{display:block}
|
|
@@ -17,9 +17,8 @@ export const HEADING_VISUAL_LEVELS = [
|
|
|
17
17
|
'lg',
|
|
18
18
|
'md',
|
|
19
19
|
'base',
|
|
20
|
-
'',
|
|
21
20
|
];
|
|
22
|
-
export const HEADING_COLORS = ['primary', 'info', 'success', 'warning', 'danger', 'blue', 'white'
|
|
21
|
+
export const HEADING_COLORS = ['primary', 'info', 'success', 'warning', 'danger', 'blue', 'white'];
|
|
23
22
|
export const HEADING_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'span', 'p'];
|
|
24
23
|
export const HEADING_LEVELS = ['display', 'display-2', 'h1', 'h2', 'h3', 'h4', 'h5', 'span', 'p', ''];
|
|
25
|
-
export const HEADING_SPACES = ['none', 'bottom', 'top', 'all'
|
|
24
|
+
export const HEADING_SPACES = ['none', 'bottom', 'top', 'all'];
|
|
@@ -16,22 +16,12 @@ export class Heading {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
/**
|
|
18
18
|
* PUBLIC PROPERTY API
|
|
19
|
-
*
|
|
19
|
+
* ─────────────────────────────────────────────────────
|
|
20
20
|
*/
|
|
21
21
|
/**
|
|
22
22
|
* The actual heading level used in the HTML markup.
|
|
23
23
|
*/
|
|
24
24
|
this.level = 'h1';
|
|
25
|
-
/**
|
|
26
|
-
* Make the visual style mimic a specific heading level.
|
|
27
|
-
* This option allows you to make e.g. h1 visually look like h3,
|
|
28
|
-
* but still keep it h1 in the markup.
|
|
29
|
-
*/
|
|
30
|
-
this.visualLevel = '';
|
|
31
|
-
/**
|
|
32
|
-
* The actual heading level used in the HTML markup.
|
|
33
|
-
*/
|
|
34
|
-
this.autoLevel = '';
|
|
35
25
|
/**
|
|
36
26
|
* When true, the text will be truncated with a text overflow ellipsis instead of wrapping.
|
|
37
27
|
* Please note that text overflow can only occur in block or inline-block level elements,
|
|
@@ -42,14 +32,6 @@ export class Heading {
|
|
|
42
32
|
* If `true` the heading gets displayed slimmer.
|
|
43
33
|
*/
|
|
44
34
|
this.subtitle = false;
|
|
45
|
-
/**
|
|
46
|
-
* Defines at which position the heading has spacing.
|
|
47
|
-
*/
|
|
48
|
-
this.space = '';
|
|
49
|
-
/**
|
|
50
|
-
* The theme type of the toast.
|
|
51
|
-
*/
|
|
52
|
-
this.color = '';
|
|
53
35
|
/**
|
|
54
36
|
* If `true` the color gets inverted for dark backgrounds
|
|
55
37
|
*/
|
|
@@ -73,16 +55,17 @@ export class Heading {
|
|
|
73
55
|
}
|
|
74
56
|
/**
|
|
75
57
|
* LIFECYCLE
|
|
76
|
-
*
|
|
58
|
+
* ─────────────────────────────────────────────────────
|
|
77
59
|
*/
|
|
78
|
-
|
|
60
|
+
componentWillLoad() {
|
|
79
61
|
this.updateAutoFontSize();
|
|
80
62
|
}
|
|
81
63
|
componentDidRender() {
|
|
82
|
-
|
|
64
|
+
const autoLevel = this.autoLevel;
|
|
65
|
+
if (autoLevel && this.autoFontSize) {
|
|
83
66
|
const rows = this.rows;
|
|
84
67
|
if (rows > 1) {
|
|
85
|
-
const minSize = HEADING_SIZES[
|
|
68
|
+
const minSize = HEADING_SIZES[autoLevel];
|
|
86
69
|
if (minSize !== this.autoFontSize) {
|
|
87
70
|
const nextIndex = HEADING_ORDER.indexOf(this.autoFontSize) + 1;
|
|
88
71
|
this.autoFontSize = HEADING_ORDER[nextIndex];
|
|
@@ -94,8 +77,8 @@ export class Heading {
|
|
|
94
77
|
this.autoFontSize = this.fontSize;
|
|
95
78
|
}
|
|
96
79
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
80
|
+
* PRIVATE METHODS
|
|
81
|
+
* ─────────────────────────────────────────────────────
|
|
99
82
|
*/
|
|
100
83
|
get rows() {
|
|
101
84
|
if (this.headingEl && dsBrowser.hasWindow) {
|
|
@@ -110,7 +93,8 @@ export class Heading {
|
|
|
110
93
|
if (this.inverted) {
|
|
111
94
|
return 'white';
|
|
112
95
|
}
|
|
113
|
-
|
|
96
|
+
const color = this.color;
|
|
97
|
+
return color ? HEADING_COLOR_MAP[color] : undefined;
|
|
114
98
|
}
|
|
115
99
|
get fontSize() {
|
|
116
100
|
return HEADING_SIZES[this.visualLevel ? this.visualLevel : this.level];
|
|
@@ -120,18 +104,18 @@ export class Heading {
|
|
|
120
104
|
}
|
|
121
105
|
/**
|
|
122
106
|
* RENDER
|
|
123
|
-
*
|
|
107
|
+
* ─────────────────────────────────────────────────────
|
|
124
108
|
*/
|
|
125
109
|
render() {
|
|
126
110
|
const Heading = this.tag;
|
|
127
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: 'dd934a29bc764a7970f7c59a356d67f570631036', class: {
|
|
128
112
|
[`is-${this.autoFontSize}`]: this.autoFontSize !== undefined,
|
|
129
113
|
[`is-${this.fontColor}`]: hasValue(this.fontColor),
|
|
130
114
|
'is-subtitle': this.subtitle,
|
|
131
115
|
'has-no-wrap': this.noWrap,
|
|
132
116
|
'has-shadow': this.shadow,
|
|
133
117
|
[`has-space-${this.space}`]: hasValue(this.space),
|
|
134
|
-
} }, h(Heading, { key: '
|
|
118
|
+
} }, h(Heading, { key: 'b468e6437329a02b4878120e06d102abb8732cd3', id: "heading", part: "heading", ref: (headingEl) => (this.headingEl = headingEl) }, h("slot", { key: '594a1766c31537f993ae8af98b402f097834750b' }))));
|
|
135
119
|
}
|
|
136
120
|
static get is() { return "ds-heading"; }
|
|
137
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -179,7 +163,7 @@ export class Heading {
|
|
|
179
163
|
"mutable": false,
|
|
180
164
|
"complexType": {
|
|
181
165
|
"original": "HeadingVisualLevel",
|
|
182
|
-
"resolved": "\"
|
|
166
|
+
"resolved": "\"2xl\" | \"3xl\" | \"4xl\" | \"5xl\" | \"base\" | \"display\" | \"display-2\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"lg\" | \"md\" | \"xl\" | undefined",
|
|
183
167
|
"references": {
|
|
184
168
|
"HeadingVisualLevel": {
|
|
185
169
|
"location": "import",
|
|
@@ -190,7 +174,7 @@ export class Heading {
|
|
|
190
174
|
}
|
|
191
175
|
},
|
|
192
176
|
"required": false,
|
|
193
|
-
"optional":
|
|
177
|
+
"optional": true,
|
|
194
178
|
"docs": {
|
|
195
179
|
"tags": [],
|
|
196
180
|
"text": "Make the visual style mimic a specific heading level.\nThis option allows you to make e.g. h1 visually look like h3,\nbut still keep it h1 in the markup."
|
|
@@ -198,15 +182,14 @@ export class Heading {
|
|
|
198
182
|
"getter": false,
|
|
199
183
|
"setter": false,
|
|
200
184
|
"reflect": true,
|
|
201
|
-
"attribute": "visual-level"
|
|
202
|
-
"defaultValue": "''"
|
|
185
|
+
"attribute": "visual-level"
|
|
203
186
|
},
|
|
204
187
|
"autoLevel": {
|
|
205
188
|
"type": "string",
|
|
206
189
|
"mutable": false,
|
|
207
190
|
"complexType": {
|
|
208
191
|
"original": "HeadingVisualLevel",
|
|
209
|
-
"resolved": "\"
|
|
192
|
+
"resolved": "\"2xl\" | \"3xl\" | \"4xl\" | \"5xl\" | \"base\" | \"display\" | \"display-2\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"lg\" | \"md\" | \"xl\" | undefined",
|
|
210
193
|
"references": {
|
|
211
194
|
"HeadingVisualLevel": {
|
|
212
195
|
"location": "import",
|
|
@@ -217,7 +200,7 @@ export class Heading {
|
|
|
217
200
|
}
|
|
218
201
|
},
|
|
219
202
|
"required": false,
|
|
220
|
-
"optional":
|
|
203
|
+
"optional": true,
|
|
221
204
|
"docs": {
|
|
222
205
|
"tags": [],
|
|
223
206
|
"text": "The actual heading level used in the HTML markup."
|
|
@@ -225,8 +208,7 @@ export class Heading {
|
|
|
225
208
|
"getter": false,
|
|
226
209
|
"setter": false,
|
|
227
210
|
"reflect": true,
|
|
228
|
-
"attribute": "auto-level"
|
|
229
|
-
"defaultValue": "''"
|
|
211
|
+
"attribute": "auto-level"
|
|
230
212
|
},
|
|
231
213
|
"noWrap": {
|
|
232
214
|
"type": "boolean",
|
|
@@ -273,7 +255,7 @@ export class Heading {
|
|
|
273
255
|
"mutable": false,
|
|
274
256
|
"complexType": {
|
|
275
257
|
"original": "HeadingSpace",
|
|
276
|
-
"resolved": "\"
|
|
258
|
+
"resolved": "\"all\" | \"bottom\" | \"none\" | \"top\" | undefined",
|
|
277
259
|
"references": {
|
|
278
260
|
"HeadingSpace": {
|
|
279
261
|
"location": "import",
|
|
@@ -284,7 +266,7 @@ export class Heading {
|
|
|
284
266
|
}
|
|
285
267
|
},
|
|
286
268
|
"required": false,
|
|
287
|
-
"optional":
|
|
269
|
+
"optional": true,
|
|
288
270
|
"docs": {
|
|
289
271
|
"tags": [],
|
|
290
272
|
"text": "Defines at which position the heading has spacing."
|
|
@@ -292,15 +274,14 @@ export class Heading {
|
|
|
292
274
|
"getter": false,
|
|
293
275
|
"setter": false,
|
|
294
276
|
"reflect": true,
|
|
295
|
-
"attribute": "space"
|
|
296
|
-
"defaultValue": "''"
|
|
277
|
+
"attribute": "space"
|
|
297
278
|
},
|
|
298
279
|
"color": {
|
|
299
280
|
"type": "string",
|
|
300
281
|
"mutable": false,
|
|
301
282
|
"complexType": {
|
|
302
283
|
"original": "HeadingColor",
|
|
303
|
-
"resolved": "\"
|
|
284
|
+
"resolved": "\"blue\" | \"danger\" | \"info\" | \"primary\" | \"success\" | \"warning\" | \"white\" | undefined",
|
|
304
285
|
"references": {
|
|
305
286
|
"HeadingColor": {
|
|
306
287
|
"location": "import",
|
|
@@ -311,7 +292,7 @@ export class Heading {
|
|
|
311
292
|
}
|
|
312
293
|
},
|
|
313
294
|
"required": false,
|
|
314
|
-
"optional":
|
|
295
|
+
"optional": true,
|
|
315
296
|
"docs": {
|
|
316
297
|
"tags": [],
|
|
317
298
|
"text": "The theme type of the toast."
|
|
@@ -319,8 +300,7 @@ export class Heading {
|
|
|
319
300
|
"getter": false,
|
|
320
301
|
"setter": false,
|
|
321
302
|
"reflect": true,
|
|
322
|
-
"attribute": "color"
|
|
323
|
-
"defaultValue": "''"
|
|
303
|
+
"attribute": "color"
|
|
324
304
|
},
|
|
325
305
|
"inverted": {
|
|
326
306
|
"type": "boolean",
|
|
@@ -10,5 +10,5 @@ export const Field = (props, children) => {
|
|
|
10
10
|
const role = props.role === 'fieldset' ? 'group' : undefined;
|
|
11
11
|
const RoleTag = props.role === 'fieldset' ? 'fieldset' : 'div';
|
|
12
12
|
return (h(Host, { class: Object.assign({ 'ds-field ': true, 'is-disabled': !!props.disabled, 'is-danger': props.color === 'danger' || !!props.invalid, 'is-success': props.color === 'success' && !props.invalid, 'is-warning': props.color === 'warning' && !props.invalid }, props.cssClasses) }, h(RoleTag, { id: "inner", part: "inner", role: role, "aria-disabled": ariaBooleanToString(props.disabled), "aria-invalid": ariaBooleanToString(props.invalid), "aria-labelledby": "label", "aria-describedby": "description", onClick: (ev) => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, ev); } }, props.label &&
|
|
13
|
-
(props.role === 'fieldset' ? (h("legend", { part: "label", id: "label" }, h("slot", { name: "label" }, props.label), !props.required && h("span", null, I18nDsLabel[props.language].optional || ''))) : (h("label", { htmlFor: inputId, part: "label", id: "label" }, h("slot", { name: "label" }, props.label), !props.required && h("span", null, I18nDsLabel[props.language].optional || '')))), h("div", { id: "container", part: "control" }, h("slot", { name: "start" }), children, h("slot", { name: "end" }), props.loading === true && (h("ds-spinner", { small: true, variation: "circle", color: props.disabled ? 'white' : 'blue' }))), props.label && (h("span", { id: "description", part: "description", role: props.invalid && props.invalidText ? 'alert' : undefined }, props.invalid && props.invalidText && h("ds-icon", { name: "alert" }), h("slot", { name: "
|
|
13
|
+
(props.role === 'fieldset' ? (h("legend", { part: "label", id: "label" }, h("slot", { name: "label" }, props.label), !props.required && h("span", null, I18nDsLabel[props.language].optional || ''))) : (h("label", { htmlFor: inputId, part: "label", id: "label" }, h("slot", { name: "label" }, props.label), !props.required && h("span", null, I18nDsLabel[props.language].optional || '')))), h("div", { id: "container", part: "control" }, h("slot", { name: "start" }), children, h("slot", { name: "end" }), props.loading === true && (h("ds-spinner", { small: true, variation: "circle", color: props.disabled ? 'white' : 'blue' }))), props.label && (h("span", { id: "description", part: "description", role: props.invalid && props.invalidText ? 'alert' : undefined }, props.invalid && props.invalidText && h("ds-icon", { name: "alert" }), props.invalid ? (h("slot", { name: "invalid-text" }, props.invalidText || props.description)) : (h("slot", { name: "description" }, props.description)))))));
|
|
14
14
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { __decorate, __metadata } from "tslib";
|
|
5
5
|
import { h } from "@stencil/core";
|
|
6
6
|
import isNil from "lodash/isNil";
|
|
7
|
-
import { inheritAttributes, FormControl, stopEventBubbling, debounceEvent, Logger, hasValue, OneOf, Type, } from "../../utils/index";
|
|
7
|
+
import { inheritAttributes, FormControl, stopEventBubbling, debounceEvent, Logger, hasValue, OneOf, Type, watchInvalidTextSlot, } from "../../utils/index";
|
|
8
8
|
import { ACTION_KEYS, isCtrlOrCommandKey } from "../../global/index";
|
|
9
9
|
import { InputMaskUtil } from "./input.mask";
|
|
10
10
|
import { getMask } from "./masks";
|
|
@@ -14,6 +14,7 @@ import { INPUT_COLORS, INPUT_AUTOCORRECTS, INPUT_INPUT_MODES, INPUT_INPUT_TYPES,
|
|
|
14
14
|
/**
|
|
15
15
|
* Input renders a text input field with validation, masking, autocomplete, and optional help/error messaging.
|
|
16
16
|
*
|
|
17
|
+
* @slot invalid-text - Overrides the `invalidText` prop with custom markup, shown instead of the description when `invalid` is `true`.
|
|
17
18
|
* @part input - The native HTML input element.
|
|
18
19
|
* @part prefix - The prefix wrapper (if used).
|
|
19
20
|
* @part suffix - The suffix wrapper (if used).
|
|
@@ -27,6 +28,7 @@ export class Input {
|
|
|
27
28
|
this.focused = false;
|
|
28
29
|
this.language = defaultConfig.language;
|
|
29
30
|
this.region = defaultConfig.region;
|
|
31
|
+
this.hasInvalidTextSlotContent = false;
|
|
30
32
|
/**
|
|
31
33
|
* PUBLIC PROPERTY API
|
|
32
34
|
* ------------------------------------------------------
|
|
@@ -205,6 +207,13 @@ export class Input {
|
|
|
205
207
|
this.debounceChanged();
|
|
206
208
|
this.maskChanged();
|
|
207
209
|
this.control.connectedCallback();
|
|
210
|
+
this.disconnectInvalidTextSlotWatcher = watchInvalidTextSlot(this.el, hasContent => {
|
|
211
|
+
this.hasInvalidTextSlotContent = hasContent;
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
disconnectedCallback() {
|
|
215
|
+
var _a;
|
|
216
|
+
(_a = this.disconnectInvalidTextSlotWatcher) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
208
217
|
}
|
|
209
218
|
componentWillLoad() {
|
|
210
219
|
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label', 'tabindex', 'title', 'data-hj-allow']);
|
|
@@ -267,7 +276,8 @@ export class Input {
|
|
|
267
276
|
if (hasValue(this.pattern)) {
|
|
268
277
|
inputProps = { pattern: this.pattern };
|
|
269
278
|
}
|
|
270
|
-
|
|
279
|
+
const isInvalid = this.invalid || this.hasInvalidTextSlotContent;
|
|
280
|
+
return (h(Field, { key: '60462d9ab4b551b6ea128c4bae45f729cf939eed', disabled: this.disabled, color: this.color, invalid: isInvalid, loading: this.loading, label: this.label, description: this.description, invalidText: this.invalidText, required: this.required, language: this.language }, h("input", Object.assign({ key: '2557655b7d70ffc1605f20dd3b2887bee85db005', id: "input", part: "input", name: this.name, ref: inputEl => (this.control.nativeEl = inputEl), "aria-describedby": "description", "aria-invalid": isInvalid ? 'true' : 'false', disabled: this.disabled, accept: this.accept, inputMode: this.inputmode, autoCapitalize: this.autocapitalize, autocomplete: this.autocomplete, autocorrect: this.autocorrect, autofocus: this.autofocus, min: this.min, max: this.max, minLength: this.minLength, maxLength: this.maxLength, multiple: this.multiple, placeholder: this.placeholder || '', readonly: this.readonly, required: this.required, spellcheck: this.spellcheck, type: this.type, value: value, onClick: ev => this.handleClick(ev), onFocus: ev => this.handleFocus(ev), onBlur: ev => this.handleBlur(ev), onInput: ev => this.handleInput(ev), onKeyDown: ev => this.handleKeydown(ev), onKeyPress: ev => this.dsKeyPress.emit(ev) }, inputProps, this.inheritedAttributes))));
|
|
271
281
|
}
|
|
272
282
|
static get is() { return "ds-input"; }
|
|
273
283
|
static get encapsulation() { return "shadow"; }
|
|
@@ -948,7 +958,8 @@ export class Input {
|
|
|
948
958
|
return {
|
|
949
959
|
"focused": {},
|
|
950
960
|
"language": {},
|
|
951
|
-
"region": {}
|
|
961
|
+
"region": {},
|
|
962
|
+
"hasInvalidTextSlotContent": {}
|
|
952
963
|
};
|
|
953
964
|
}
|
|
954
965
|
static get events() {
|
|
@@ -7,6 +7,7 @@ const VARIANTS = [
|
|
|
7
7
|
'basic',
|
|
8
8
|
'disabled',
|
|
9
9
|
'invalid',
|
|
10
|
+
'invalid-slot',
|
|
10
11
|
'valid',
|
|
11
12
|
'warning',
|
|
12
13
|
'loading',
|
|
@@ -23,7 +24,7 @@ test.describe('style', () => {
|
|
|
23
24
|
test.beforeEach('Setup', async ({ page }) => {
|
|
24
25
|
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.style.html`);
|
|
25
26
|
});
|
|
26
|
-
VARIANTS.filter(v => !['slots', 'formatter'].includes(v)).forEach(variant => {
|
|
27
|
+
VARIANTS.filter(v => !['slots', 'formatter', 'invalid-slot'].includes(v)).forEach(variant => {
|
|
27
28
|
test(variant, async ({ page }) => {
|
|
28
29
|
const el = page.getByTestId(variant);
|
|
29
30
|
await expectScreenshot(el, image(`style-${variant}`));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit !important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#fafafa;border-radius:4px;border:1px solid #d3d3d3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connects{border-radius:3px}.noUi-connect{background:#3fb8af}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #d9d9d9;border-radius:3px;background:#fff;cursor:default;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb}.noUi-handle:before,.noUi-handle:after{content:"";display:block;position:absolute;height:14px;width:1px;background:#e8e7e6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:before,.noUi-vertical .noUi-handle:after{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#b8b8b8}[disabled].noUi-target,[disabled].noUi-handle,[disabled] .noUi-handle{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#ccc}.noUi-marker-sub{background:#aaa}.noUi-marker-large{background:#aaa}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%, 50%);transform:translate(-50%, 50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%, 50%);transform:translate(50%, 50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0, -50%);transform:translate(0, -50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0, 50%);transform:translate(0, 50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #d9d9d9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0, -50%);transform:translate(0, -50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%, 0);transform:translate(50%, 0);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0, -18px);transform:translate(0, -18px);top:auto;right:28px}:host{--_form-field-gap: var(--form-field-gap, var(--mod-form-field-gap, 0.25rem));--_form-label-color: var(--form-label-color, var(--mod-form-label-color, var(--ds-form-label-color-base)));--_form-label-family: var(--form-label-family, var(--mod-form-label-family, var(--ds-form-label-family)));--_form-label-weight: var(--form-label-weight, var(--mod-form-label-weight, var(--ds-form-label-weight)));--_form-label-line-height: var(--form-label-line-height, var(--mod-form-label-line-height, var(--ds-form-label-line-height)));--_form-label-size: var(--form-label-size, var(--mod-form-label-size, var(--ds-form-label-size-device)));--_form-description-color: var(--form-description-color, var(--mod-form-description-color, var(--ds-form-description-color-base)));--_form-description-family: var(--form-description-family, var(--mod-form-description-family, var(--ds-form-description-family)));--_form-description-weight: var(--form-description-weight, var(--mod-form-description-weight, var(--ds-form-description-weight)));--_form-description-line-height: var(--form-description-line-height, var(--mod-form-description-line-height, var(--ds-form-description-line-height)));--_form-description-size: var(--form-description-size, var(--mod-form-description-size, var(--ds-form-description-size-device)));--_input-slider-track-height: var(--input-slider-track-height, var(--mod-input-slider-track-height, 0.75rem));--_input-slider-track-radius: var(--input-slider-track-radius, var(--mod-input-slider-track-radius, var(--ds-alias-radius-rounded)));--_input-slider-track-color: var(--input-slider-track-color, var(--mod-input-slider-track-color, var(--ds-global-color-grey-2)));--_input-slider-connect-color: var(--input-slider-connect-color, var(--mod-input-slider-connect-color, var(--ds-global-color-primary-5)));--_input-slider-thumb-size: var(--input-slider-thumb-size, var(--mod-input-slider-thumb-size, 1.5rem));--_input-slider-thumb-radius: var(--input-slider-thumb-radius, var(--mod-input-slider-thumb-radius, var(--ds-alias-radius-rounded)));--_input-slider-thumb-color: var(--input-slider-thumb-color, var(--mod-input-slider-thumb-color, var(--ds-global-color-white)));--_input-slider-thumb-hover-color: var(--input-slider-thumb-hover-color, var(--mod-input-slider-thumb-hover-color, var(--ds-global-color-sky-1)));--_input-slider-thumb-active-color: var(--input-slider-thumb-active-color, var(--mod-input-slider-thumb-active-color, var(--ds-global-color-sky-1)));--_input-slider-thumb-border-color: var(--input-slider-thumb-border-color, var(--mod-input-slider-thumb-border-color, var(--ds-global-color-primary-5)));--_input-slider-thumb-border-color-hover: var(--input-slider-thumb-border-color-hover, var(--mod-input-slider-thumb-border-color-hover, var(--ds-global-color-sky-5)));--_input-slider-thumb-border-color-active: var(--input-slider-thumb-border-color-active, var(--mod-input-slider-thumb-border-color-active, var(--ds-global-color-primary-6)))}:host{position:relative;display:grid;gap:var(--_form-field-gap)}:host #container{box-sizing:border-box;clear:both;display:flex;width:100%;align-items:center;min-height:3rem;gap:.25rem}:host :where(fieldset){margin:0;padding:0;border:none}:host :where(legend){padding:0;float:left;width:100%}:host label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;box-sizing:content-box;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;min-width:0;color:var(--_form-label-color);font-family:var(--_form-label-family);font-weight:var(--_form-label-weight);font-size:var(--_form-label-size);line-height:var(--_form-label-line-height)}:host #description{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;box-sizing:content-box;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;min-width:0;gap:.25rem;min-height:1.125rem;color:var(--_form-description-color);font-family:var(--_form-description-family);font-weight:var(--_form-description-weight);font-size:var(--_form-description-size);line-height:var(--_form-description-line-height)}:host #description ds-icon{--icon-color: var(--_form-description-color)}:host #container{padding-inline:calc(var(--_input-slider-thumb-size)/2)}:host #slider{width:100%;cursor:pointer;height:var(--_input-slider-track-height);background:var(--_input-slider-track-color);border:none;border-radius:var(--_input-slider-track-radius);box-shadow:none}:host .noUi-connects{border-radius:var(--_input-slider-track-radius)}:host .noUi-connect{background:var(--_input-slider-connect-color)}:host .noUi-handle{width:var(--_input-slider-thumb-size);height:var(--_input-slider-thumb-size);top:calc((var(--_input-slider-track-height) - var(--_input-slider-thumb-size))/2);right:calc(var(--_input-slider-thumb-size)/-2);background:var(--_input-slider-thumb-color);border:2px solid var(--_input-slider-thumb-border-color);border-radius:var(--_input-slider-thumb-radius);box-shadow:#fff 0 0 0 2px;cursor:grab}:host .noUi-handle::before,:host .noUi-handle::after{display:none}@media(hover: hover)and (pointer: fine){:host .noUi-handle:hover{background:var(--_input-slider-thumb-hover-color);border-color:var(--_input-slider-thumb-border-color-hover)}}:host .noUi-handle:active,:host .noUi-handle.noUi-active{background:var(--_input-slider-thumb-active-color);border-color:var(--_input-slider-thumb-border-color-active);cursor:grabbing}:host .noUi-handle:focus-visible{outline:none}@media(hover: hover)and (pointer: fine){:host .noUi-handle:focus-visible{box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--ds-alias-interaction-focus-color-base) 0 0 0 5px !important}}:host .noUi-tooltip{background:var(--ds-global-color-primary-5);color:var(--ds-global-color-white);font-size:var(--ds-alias-font-size-small);font-weight:var(--ds-alias-text-weight-bold);font-family:var(--ds-alias-text-family-body);border-radius:var(--ds-alias-radius-rounded);line-height:1;padding:.4rem .4rem;bottom:130%;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%, 4px);transition:opacity 120ms cubic-bezier(0.4, 0, 1, 1),transform 120ms cubic-bezier(0.4, 0, 1, 1),visibility 0ms linear 120ms;will-change:opacity,transform}:host .noUi-handle.noUi-active .noUi-tooltip,:host .noUi-handle:hover .noUi-tooltip,:host .noUi-handle:active .noUi-tooltip,:host .noUi-handle:focus-visible .noUi-tooltip{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%, 0);transition:opacity 200ms cubic-bezier(0, 0, 0.2, 1),transform 200ms cubic-bezier(0, 0, 0.2, 1),visibility 0ms linear 0ms}@media(prefers-reduced-motion: reduce){:host .noUi-tooltip{transition:none !important}}:host(.is-danger){--mod-form-description-color: var(--ds-form-description-color-danger);--mod-input-slider-connect-color: var(--ds-form-container-color-danger-border);--mod-input-slider-thumb-border-color: var(--ds-form-container-color-danger-border)}:host(.is-success){--mod-form-description-color: var(--ds-form-description-color-success);--mod-input-slider-connect-color: var(--ds-form-container-color-success-border);--mod-input-slider-thumb-border-color: var(--ds-form-container-color-success-border)}:host(.is-warning){--mod-form-description-color: var(--ds-form-description-color-warning);--mod-input-slider-connect-color: var(--ds-form-container-color-warning-border);--mod-input-slider-thumb-border-color: var(--ds-form-container-color-warning-border)}:host(.is-brand-yellow){--mod-input-slider-track-color: var(--ds-global-color-yellow-2);--mod-input-slider-connect-color: var(--ds-global-color-yellow-4)}:host(.is-brand-purple){--mod-input-slider-track-color: var(--ds-global-color-purple-2);--mod-input-slider-connect-color: var(--ds-global-color-purple-4)}:host(.is-brand-red){--mod-input-slider-track-color: var(--ds-global-color-red-2);--mod-input-slider-connect-color: var(--ds-global-color-red-4)}:host(.is-brand-green){--mod-input-slider-track-color: var(--ds-global-color-green-2);--mod-input-slider-connect-color: var(--ds-global-color-green-4)}:host(.is-disabled),:host(.is-disabled) #label,:host(.is-disabled) #description,:host(.is-disabled) #slider{pointer-events:none;cursor:default}:host(.is-disabled){--mod-form-label-color: var(--ds-form-label-color-disabled);--mod-form-description-color: var(--ds-form-description-color-disabled);--mod-input-slider-track-color: var(--ds-global-color-grey-1);--mod-input-slider-connect-color: var(--ds-global-color-grey-3);--mod-input-slider-thumb-color: var(--ds-global-color-grey-3);--mod-input-slider-thumb-border-color: var(--ds-global-color-grey-3)}:host(.is-disabled) .noUi-handle{cursor:default}
|