@baloise/ds-core 20.0.0-next.6 → 20.0.0-next.7
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-badge.js +1 -1
- package/components/ds-button.js +1 -1
- package/components/ds-card-content.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-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-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-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--EKmxaBS.js +4 -0
- package/components/{p-BfXZJ1Fe.js → p-ABj0eATe.js} +1 -1
- package/components/{p-BU0dY8pq.js → p-BwwAKEvn.js} +1 -1
- package/components/{p-B1gnrQ9b.js → p-CWDuQL1i.js} +1 -1
- package/components/{p-bGV2P6rT.js → p-D5zw5ezD.js} +1 -1
- package/components/{p-CjIxf5zy.js → p-DSeYzuO7.js} +1 -1
- package/components/{p-Ctnm_MBD.js → p-DY0y8uLL.js} +1 -1
- package/components/{p-DokkRjWC.js → p-VsWv65bD.js} +1 -1
- package/components/p-gz0Nxl39.js +4 -0
- package/components/{p-CYWn3X22.js → p-qaSW94OG.js} +1 -1
- package/components/{p-Btdh3fq7.js → p-u5aa74vh.js} +1 -1
- 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-DY5iYsA5.js} +1 -1
- package/dist/cjs/{breakpoints.subject-XNcGwhzh.js → breakpoints.subject-CzhLlIwN.js} +3 -3
- package/dist/cjs/{config.decorator-ThGLtT-3.js → config.decorator-C64wi-MA.js} +1 -1
- package/dist/cjs/{config.utils-MhZvq4Qm.js → config.utils-BhWbrVRz.js} +1 -1
- package/dist/cjs/{create-validator-decorator-BIgFqrMJ.js → create-validator-decorator-Ctd288ve.js} +1 -1
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{device-BnjBOLnP.js → device-CIliLOe9.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 +6 -6
- package/dist/cjs/ds-badge.cjs.entry.js +7 -7
- package/dist/cjs/ds-button-group.cjs.entry.js +6 -6
- package/dist/cjs/ds-button_2.cjs.entry.js +9 -9
- 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 +6 -6
- package/dist/cjs/ds-card-title.cjs.entry.js +6 -6
- 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 +34 -16
- package/dist/cjs/ds-checkbox.cjs.entry.js +19 -10
- package/dist/cjs/ds-content_2.cjs.entry.js +8 -8
- 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 +10 -10
- 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 +13 -12
- package/dist/cjs/ds-footer.cjs.entry.js +7 -7
- package/dist/cjs/ds-heading.cjs.entry.js +7 -7
- 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 +14 -13
- package/dist/cjs/ds-input-slider.cjs.entry.js +2885 -0
- package/dist/cjs/ds-input.cjs.entry.js +10 -10
- package/dist/cjs/ds-item.cjs.entry.js +6 -6
- 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 +22 -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 +29 -12
- 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 +13 -13
- 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 +11 -11
- package/dist/cjs/ds-shape.cjs.entry.js +5 -5
- package/dist/cjs/ds-snackbar.cjs.entry.js +12 -12
- 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 +8 -8
- package/dist/cjs/ds-text.cjs.entry.js +10 -10
- package/dist/cjs/ds-textarea.cjs.entry.js +10 -10
- package/dist/cjs/ds-toast.cjs.entry.js +11 -11
- 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-g9nhtuZH.js} +1 -1
- package/dist/cjs/{focus-D3VVgpM7.js → focus-BUszBnbl.js} +1 -1
- package/dist/cjs/{form-control-CtMcJUuC.js → form-control-B4Qf8fg-.js} +1 -1
- package/dist/cjs/{has-value-DK0oRqXI.js → has-value-rj502MLA.js} +1 -1
- package/dist/cjs/{index-sC3JnTlJ.js → index-CqInh7Vc.js} +6 -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-1PZJDuOW.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{one-of-BZGRIMtQ.js → one-of-BotLfpAZ.js} +1 -1
- package/dist/cjs/{required-COz3Unzu.js → required-BAhZ8oRM.js} +1 -1
- package/dist/cjs/{resize.decorator-DWM_fQgv.js → resize.decorator-Sqefy8ta.js} +2 -2
- package/dist/cjs/{scroll-CUuEh4xd.js → scroll--5tnvpG1.js} +1 -1
- package/dist/cjs/{tslib.es6-CxyosZMg.js → tslib.es6-BIB10hMZ.js} +1 -1
- package/dist/cjs/{type-hmc4CJcO.js → type-Br_NbeTX.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/badge/badge.host.css +1 -1
- package/dist/collection/components/card/card-content/card-content.host.css +1 -1
- 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 +40 -3
- 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 +3 -0
- package/dist/collection/components/heading/heading.host.css +1 -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 +961 -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 +27 -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 +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 +40 -3
- 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 +3 -0
- package/dist/collection/components/segment/segment/segment.js +3 -3
- package/dist/collection/components/segment/segment-item.js +1 -1
- 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.js +2 -2
- package/dist/collection/components/shape/shape.js +1 -1
- package/dist/collection/components/spinner/spinner.js +2 -2
- package/dist/collection/components/stack/stack.js +2 -2
- 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.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/textarea.js +1 -1
- 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/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-afd8bbe699.entry.js → p-00e6b1b780.entry.js} +1 -1
- package/dist/design-system/{p-774b89ed0b.entry.js → p-0bf3d4d939.entry.js} +1 -1
- package/dist/design-system/{p-dcb749efc7.entry.js → p-0ea6cdd218.entry.js} +1 -1
- package/dist/design-system/{p-9f2dd0b55b.entry.js → p-0f2a87fa39.entry.js} +1 -1
- package/dist/design-system/{p-0ff0be5b83.entry.js → p-138be1f0cc.entry.js} +1 -1
- package/dist/design-system/{p-650289138a.entry.js → p-16b03e0b02.entry.js} +1 -1
- package/dist/design-system/{p-d5f8d8f5e1.entry.js → p-1750b3c4f1.entry.js} +1 -1
- package/dist/design-system/{p-BkTv_bQR.js → p-1A9jKraP.js} +1 -1
- package/dist/design-system/{p-3134821ac6.entry.js → p-1b1e3ad99c.entry.js} +1 -1
- package/dist/design-system/p-24c85e99f5.entry.js +4 -0
- package/dist/design-system/p-2b038255c5.entry.js +4 -0
- package/dist/design-system/{p-6b6531379b.entry.js → p-2bb98dfa2f.entry.js} +1 -1
- package/dist/design-system/{p-c37f266740.entry.js → p-2eb6067210.entry.js} +1 -1
- package/dist/design-system/p-32e156bc72.entry.js +4 -0
- package/dist/design-system/p-3824068ae7.entry.js +4 -0
- package/dist/design-system/{p-ad2b17b0a0.entry.js → p-3aa3841834.entry.js} +1 -1
- package/dist/design-system/{p-53dda5d400.entry.js → p-3d2539929c.entry.js} +1 -1
- package/dist/design-system/{p-372bf379f9.entry.js → p-3d675c6507.entry.js} +1 -1
- package/dist/design-system/{p-e7472337ed.entry.js → p-3e3a6799d6.entry.js} +1 -1
- package/dist/design-system/{p-7e702193fc.entry.js → p-3e43fa2bc6.entry.js} +1 -1
- package/dist/design-system/{p-2f51e1d39b.entry.js → p-4284d6d646.entry.js} +1 -1
- package/dist/design-system/{p-8406f6faf1.entry.js → p-44981aaf8d.entry.js} +1 -1
- package/dist/design-system/{p-df5899b930.entry.js → p-4b2a59576c.entry.js} +1 -1
- package/dist/design-system/{p-0663d7c0f1.entry.js → p-4bfc094a03.entry.js} +1 -1
- package/dist/design-system/p-53d9a40010.entry.js +4 -0
- package/dist/design-system/p-564ee4d78f.entry.js +4 -0
- package/dist/design-system/{p-a62b7985a0.entry.js → p-599a693db3.entry.js} +1 -1
- package/dist/design-system/p-5a6c6959fa.entry.js +4 -0
- package/dist/design-system/{p-0bd2ce2da3.entry.js → p-5d4a5d0b61.entry.js} +1 -1
- package/dist/design-system/{p-13d1ce3158.entry.js → p-5ded2b6438.entry.js} +1 -1
- package/dist/design-system/{p-f0119fe693.entry.js → p-5f1a8be21c.entry.js} +1 -1
- package/dist/design-system/p-5f28436626.entry.js +4 -0
- package/dist/design-system/p-6c60833550.entry.js +4 -0
- package/dist/design-system/{p-01430d5c28.entry.js → p-7246bfb9a0.entry.js} +1 -1
- package/dist/design-system/p-77e7a6a068.entry.js +4 -0
- package/dist/design-system/{p-a8de98dd7b.entry.js → p-78112e7b35.entry.js} +1 -1
- package/dist/design-system/p-7ebdd14afc.entry.js +4 -0
- package/dist/design-system/p-7f42c18249.entry.js +4 -0
- package/dist/design-system/p-85bf3794f9.entry.js +4 -0
- package/dist/design-system/p-8a9d617f75.entry.js +4 -0
- package/dist/design-system/p-908e7b073a.entry.js +4 -0
- package/dist/design-system/{p-7c353652a9.entry.js → p-9f9364d7df.entry.js} +1 -1
- package/dist/design-system/p-B-v2Wm-V.js +5 -0
- package/dist/design-system/{p-BhdSNuGP.js → p-B8PCdo6e.js} +1 -1
- package/dist/design-system/{p-C7i6xLTJ.js → p-C5Rtikeh.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-Dm2lqE3-.js → p-CfgwSore.js} +1 -1
- package/dist/design-system/p-ChSKXFK5.js +4 -0
- package/dist/design-system/{p-hLAmwHiq.js → p-Chgme2NJ.js} +1 -1
- package/dist/design-system/{p-DTxLRTYr.js → p-CrYAd3JT.js} +1 -1
- package/dist/design-system/p-CziF75uh.js +4 -0
- package/dist/design-system/{p-B1e0kNRJ.js → p-DJBD4skP.js} +2 -2
- package/dist/design-system/{p-78NZc8PM.js → p-DOvdnojj.js} +1 -1
- package/dist/design-system/p-DYPX3A8m.js +4 -0
- package/dist/design-system/p-DiUgZKWs.js +4 -0
- package/dist/design-system/{p-HwbqEzpk.js → p-Dk0GEN2t.js} +1 -1
- package/dist/design-system/p-DkhJaoXg.js +4 -0
- package/dist/design-system/{p-CvTcEsXg.js → p-DoHCSvjl.js} +1 -1
- package/dist/design-system/p-DypNSUAh.js +4 -0
- package/dist/design-system/{p-DgVaaZT_.js → p-Y0rKqVvm.js} +1 -1
- package/dist/design-system/p-Z0zrglhd.js +4 -0
- package/dist/design-system/p-a42ecb68a0.entry.js +4 -0
- package/dist/design-system/{p-dd38f8f206.entry.js → p-a782c877ea.entry.js} +1 -1
- package/dist/design-system/p-a8df8f067b.entry.js +4 -0
- package/dist/design-system/{p-a465c1acce.entry.js → p-aa3aee2591.entry.js} +1 -1
- package/dist/design-system/p-aa3c0ff536.entry.js +4 -0
- package/dist/design-system/{p-6ef31a3c07.entry.js → p-ab8bee7022.entry.js} +1 -1
- package/dist/design-system/p-adc58b2821.entry.js +4 -0
- package/dist/design-system/{p-8353961d39.entry.js → p-b390490b0d.entry.js} +1 -1
- package/dist/design-system/p-b44641ec28.entry.js +4 -0
- package/dist/design-system/{p-5d17209d91.entry.js → p-b4738dc266.entry.js} +1 -1
- package/dist/design-system/p-b851a43fff.entry.js +4 -0
- package/dist/design-system/{p-4e6638d14e.entry.js → p-b8669a617c.entry.js} +1 -1
- package/dist/design-system/p-b8f626bf28.entry.js +4 -0
- package/dist/design-system/{p-202ecb8f01.entry.js → p-bd543e1baf.entry.js} +1 -1
- package/dist/design-system/p-ce67cbbed5.entry.js +4 -0
- package/dist/design-system/{p-60d29d8b8e.entry.js → p-d3a80b8422.entry.js} +1 -1
- package/dist/design-system/p-d4d9205dda.entry.js +4 -0
- package/dist/design-system/p-dbd3d3b3d3.entry.js +4 -0
- package/dist/design-system/{p-BATOumsf.js → p-dziB1ufg.js} +1 -1
- package/dist/design-system/{p-014d464627.entry.js → p-e0b2d6e296.entry.js} +1 -1
- package/dist/design-system/p-e94ee7391c.entry.js +4 -0
- package/dist/design-system/{p-10c136d00d.entry.js → p-ee76bf354e.entry.js} +1 -1
- package/dist/design-system/p-f7be5b6114.entry.js +4 -0
- package/dist/design-system/{p-f4958b9e97.entry.js → p-fa613cd0d1.entry.js} +1 -1
- package/dist/design-system/p-faf75173db.entry.js +4 -0
- package/dist/design-system/{p-68c9f4f630.entry.js → p-fff38e1ca7.entry.js} +1 -1
- package/dist/design-system/{p-LCY5n5tq.js → p-x2KazRjl.js} +1 -1
- 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-D9M4v98c.js} +1 -1
- package/dist/esm/{breakpoints.subject-BNnXcKMw.js → breakpoints.subject-DHZ7TzYV.js} +3 -3
- package/dist/esm/{config.decorator-ZQ0_Zx5y.js → config.decorator-CRYVBTkX.js} +1 -1
- package/dist/esm/{config.utils-D9o7rffC.js → config.utils-CR4Xudpz.js} +1 -1
- package/dist/esm/{create-validator-decorator-DovxquEu.js → create-validator-decorator-fUav5byo.js} +1 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{device-CRuIJzXR.js → device-CapioAfe.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 +6 -6
- package/dist/esm/ds-badge.entry.js +7 -7
- package/dist/esm/ds-button-group.entry.js +6 -6
- package/dist/esm/ds-button_2.entry.js +9 -9
- 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 +6 -6
- package/dist/esm/ds-card-title.entry.js +6 -6
- 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 +34 -16
- package/dist/esm/ds-checkbox.entry.js +19 -10
- package/dist/esm/ds-content_2.entry.js +8 -8
- 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 +10 -10
- 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 +13 -12
- package/dist/esm/ds-footer.entry.js +7 -7
- package/dist/esm/ds-heading.entry.js +7 -7
- 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 +12 -11
- package/dist/esm/ds-input-slider.entry.js +2883 -0
- package/dist/esm/ds-input.entry.js +10 -10
- package/dist/esm/ds-item.entry.js +6 -6
- 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 +15 -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 +29 -12
- 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 +13 -13
- 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 +11 -11
- package/dist/esm/ds-shape.entry.js +5 -5
- package/dist/esm/ds-snackbar.entry.js +12 -12
- 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 +8 -8
- package/dist/esm/ds-text.entry.js +10 -10
- package/dist/esm/ds-textarea.entry.js +10 -10
- package/dist/esm/ds-toast.entry.js +11 -11
- 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-neIQBS-h.js} +1 -1
- package/dist/esm/{focus-ZxHImoOj.js → focus-6OAqvfus.js} +1 -1
- package/dist/esm/{form-control-DvJo0GKN.js → form-control-DhinyMa9.js} +1 -1
- package/dist/esm/{has-value-DU9L2JaI.js → has-value-Dmsj8ZQw.js} +1 -1
- package/dist/esm/{index-C6MVahkC.js → index-B-v2Wm-V.js} +6 -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-DIZDQOuO.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{one-of-CKPv0Nqm.js → one-of-CjRvS2Tk.js} +1 -1
- package/dist/esm/{required-Dqsbx5fH.js → required-Dtml5IID.js} +1 -1
- package/dist/esm/{resize.decorator-B8h8D676.js → resize.decorator-eogZBBk6.js} +2 -2
- package/dist/esm/{scroll-CsH7NHo5.js → scroll-v2MaEkiZ.js} +1 -1
- package/dist/esm/{tslib.es6-C9GKXw-5.js → tslib.es6-n47B6oUi.js} +1 -1
- package/dist/esm/{type-DzkhLOG_.js → type-7qEQcw90.js} +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox-group/checkbox-group.d.ts +6 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -0
- package/dist/types/components/input-slider/input-slider.d.ts +186 -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/radio/radio-group/radio-group.d.ts +6 -0
- package/dist/types/components/radio/radio.d.ts +4 -0
- package/dist/types/components.d.ts +308 -3
- 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/docs/cem.json +573 -4
- package/docs/components.json +1471 -448
- package/docs/html.html-data.json +123 -0
- package/docs/tags.json +1 -0
- package/package.json +9 -8
- package/sbom.cdx.json +10768 -6272
- package/components/p-DsvYY32v.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-27d181c5ac.entry.js +0 -4
- package/dist/design-system/p-2a35e0b9b0.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-68ebed7eee.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-BLGVE-7Z.js +0 -4
- package/dist/design-system/p-BvEM6oCl.js +0 -4
- package/dist/design-system/p-C6MVahkC.js +0 -5
- package/dist/design-system/p-CwCAiaMq.js +0 -4
- package/dist/design-system/p-DHeVI6dR.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-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-ij4OEkzJ.js +0 -4
- package/dist/design-system/p-tl_BegdE.js +0 -4
|
@@ -328,7 +328,7 @@ export class Popup {
|
|
|
328
328
|
* ------------------------------------------------------
|
|
329
329
|
*/
|
|
330
330
|
render() {
|
|
331
|
-
return (h(Host, { key: '
|
|
331
|
+
return (h(Host, { key: '63b4cf37af2e73b271f9c7fee523e7c68986081f', class: { 'is-open': this.isOpen, 'is-animated': this.animated, 'is-closable': this.closable } }, this.backdrop && h("div", { key: '208a95330c83c4dd2328ce9e87a06b7aab7ab404', part: "backdrop" }), h("div", { key: '969fde6073490ce0803c0cadcaa9ec06a7704361', part: "panel", ref: el => (this.panelEl = el), role: this.role, "aria-modal": this.role === 'dialog' ? 'true' : undefined, "aria-label": this.label || undefined, tabindex: "-1", "data-testid": "ds-popup-panel" }, this.arrow && h("div", { key: '228d1a47041090c57e395e240f2ebb5678f9c8e1', part: "arrow", ref: el => (this.arrowEl = el) }), this.closable && h("ds-close", { key: 'd18c4ac4848e7ee31256384be4e7e8dd2b8b5a49', part: "close", onClick: this.handleCloseClick }), h("slot", { key: 'ad9430d619bccde71bfeee2faffd1dde34dc43bd' }))));
|
|
332
332
|
}
|
|
333
333
|
static get is() { return "ds-popup"; }
|
|
334
334
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,7 +85,7 @@ export class ProgressBar {
|
|
|
85
85
|
* ------------------------------------------------------
|
|
86
86
|
*/
|
|
87
87
|
render() {
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: 'f58b0f36bace8a5e6afa02993dd51b9f22c02ec8', role: "progressbar", "aria-label": `${i18nDsProgressBar[this.language].progress}: ${this.value}%`, "aria-valuenow": this.value, "aria-valuemin": "0", "aria-valuemax": "100", class: {
|
|
89
89
|
'is-light': hasValue(this.background) && this.background === 'light',
|
|
90
90
|
'is-dark': !hasValue(this.background) || this.background === 'dark',
|
|
91
91
|
'is-primary': !hasValue(this.color) || this.color === 'primary',
|
|
@@ -93,7 +93,7 @@ export class ProgressBar {
|
|
|
93
93
|
'is-yellow': hasValue(this.color) && this.color === 'yellow',
|
|
94
94
|
'is-red': hasValue(this.color) && this.color === 'red',
|
|
95
95
|
'is-green': hasValue(this.color) && this.color === 'green',
|
|
96
|
-
} }, h("div", { key: '
|
|
96
|
+
} }, h("div", { key: '512721ca39c4c559b40bdd0a4d7d51da7d5ef6f2', id: "line", part: "line", class: {
|
|
97
97
|
'is-animated': this.animated,
|
|
98
98
|
}, ref: lineEl => (this.lineEl = lineEl) })));
|
|
99
99
|
}
|
|
@@ -86,6 +86,10 @@ export class RadioGroup {
|
|
|
86
86
|
* Defines the layout of the input
|
|
87
87
|
*/
|
|
88
88
|
this.tile = false;
|
|
89
|
+
/**
|
|
90
|
+
* If `true` and `tile` is set, the radio circle is visually hidden on every radio in the group.
|
|
91
|
+
*/
|
|
92
|
+
this.hideTrigger = false;
|
|
89
93
|
/**
|
|
90
94
|
* Defines the color of the tile checkbox.
|
|
91
95
|
*/
|
|
@@ -102,6 +106,10 @@ export class RadioGroup {
|
|
|
102
106
|
this.setRadioTabindex(this.value);
|
|
103
107
|
this.setRadioChecked();
|
|
104
108
|
};
|
|
109
|
+
this.handleSlotChange = () => {
|
|
110
|
+
this.passDownAttributes();
|
|
111
|
+
this.handleValueChange();
|
|
112
|
+
};
|
|
105
113
|
this.handleClick = (ev) => {
|
|
106
114
|
const element = ev.target;
|
|
107
115
|
if (element.href) {
|
|
@@ -144,6 +152,9 @@ export class RadioGroup {
|
|
|
144
152
|
componentWillUpdate() {
|
|
145
153
|
this.passDownAttributes();
|
|
146
154
|
}
|
|
155
|
+
componentDidLoad() {
|
|
156
|
+
this.handleSlotChange();
|
|
157
|
+
}
|
|
147
158
|
/**
|
|
148
159
|
* PUBLIC LISTENERS
|
|
149
160
|
* ------------------------------------------------------
|
|
@@ -232,6 +243,7 @@ export class RadioGroup {
|
|
|
232
243
|
*/
|
|
233
244
|
passDownAttributes() {
|
|
234
245
|
this.getRadios().forEach(radio => {
|
|
246
|
+
var _a;
|
|
235
247
|
if (this.disabled !== undefined) {
|
|
236
248
|
radio.disabled = this.disabled;
|
|
237
249
|
}
|
|
@@ -243,7 +255,8 @@ export class RadioGroup {
|
|
|
243
255
|
}
|
|
244
256
|
radio.labelPosition = this.labelPosition;
|
|
245
257
|
radio.tile = this.tile;
|
|
246
|
-
radio.
|
|
258
|
+
radio.hideTrigger = this.hideTrigger;
|
|
259
|
+
radio.tileColor = (_a = radio.getAttribute('tile-color')) !== null && _a !== void 0 ? _a : this.tileColor;
|
|
247
260
|
radio.cols = this.cols;
|
|
248
261
|
radio.colsTablet = this.colsTablet;
|
|
249
262
|
radio.colsMobile = this.colsMobile;
|
|
@@ -280,10 +293,10 @@ export class RadioGroup {
|
|
|
280
293
|
* ------------------------------------------------------
|
|
281
294
|
*/
|
|
282
295
|
render() {
|
|
283
|
-
return (h(Field, { key: '
|
|
296
|
+
return (h(Field, { key: 'e52d1c8b0aafdbf523cd91bae9dfc0d563eb5002', role: "fieldset", disabled: this.disabled, color: this.color, invalid: this.invalid, loading: this.loading, label: this.label, description: this.description, invalidText: this.invalidText, required: this.required, language: this.language, cssClasses: {
|
|
284
297
|
'is-vertical': this.vertical,
|
|
285
298
|
'is-tile': this.tile,
|
|
286
|
-
}, onClick: this.handleClick }, h("slot", { key: '
|
|
299
|
+
}, onClick: this.handleClick }, h("slot", { key: 'd235eec63f1e13a9de4988b841ea124f05d9a2a3', onSlotchange: this.handleSlotChange })));
|
|
287
300
|
}
|
|
288
301
|
static get is() { return "ds-radio-group"; }
|
|
289
302
|
static get encapsulation() { return "shadow"; }
|
|
@@ -655,6 +668,26 @@ export class RadioGroup {
|
|
|
655
668
|
"attribute": "tile",
|
|
656
669
|
"defaultValue": "false"
|
|
657
670
|
},
|
|
671
|
+
"hideTrigger": {
|
|
672
|
+
"type": "boolean",
|
|
673
|
+
"mutable": false,
|
|
674
|
+
"complexType": {
|
|
675
|
+
"original": "boolean",
|
|
676
|
+
"resolved": "boolean",
|
|
677
|
+
"references": {}
|
|
678
|
+
},
|
|
679
|
+
"required": false,
|
|
680
|
+
"optional": false,
|
|
681
|
+
"docs": {
|
|
682
|
+
"tags": [],
|
|
683
|
+
"text": "If `true` and `tile` is set, the radio circle is visually hidden on every radio in the group."
|
|
684
|
+
},
|
|
685
|
+
"getter": false,
|
|
686
|
+
"setter": false,
|
|
687
|
+
"reflect": false,
|
|
688
|
+
"attribute": "hide-trigger",
|
|
689
|
+
"defaultValue": "false"
|
|
690
|
+
},
|
|
658
691
|
"tileColor": {
|
|
659
692
|
"type": "string",
|
|
660
693
|
"mutable": false,
|
|
@@ -968,6 +1001,10 @@ __decorate([
|
|
|
968
1001
|
Type('boolean'),
|
|
969
1002
|
__metadata("design:type", Boolean)
|
|
970
1003
|
], RadioGroup.prototype, "tile", void 0);
|
|
1004
|
+
__decorate([
|
|
1005
|
+
Type('boolean'),
|
|
1006
|
+
__metadata("design:type", Boolean)
|
|
1007
|
+
], RadioGroup.prototype, "hideTrigger", void 0);
|
|
971
1008
|
__decorate([
|
|
972
1009
|
OneOf(RADIO_TILE_COLORS),
|
|
973
1010
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:host{--_radio-gap: var(--radio-gap, var(--mod-radio-gap, 0.5rem));--_radio-label-base-color: var(--radio-label-base-color, var(--mod-radio-label-base-color, inherit));--_radio-label-hover-color: var(--radio-label-hover-color, var(--mod-radio-label-hover-color, var(--ds-global-color-sky-5)));--_radio-label-active-color: var(--radio-label-active-color, var(--mod-radio-label-active-color, var(--ds-global-color-primary-6)));--_radio-size: var(--radio-size, var(--mod-radio-size, 1.5rem));--_radio-border-width: var(--radio-border-width, var(--mod-radio-border-width, var(--ds-alias-border-width-base)));--_radio-radius: var(--radio-radius, var(--mod-radio-radius, var(--ds-alias-radius-rounded)));--_radio-tile-radius: var(--radio-tile-radius, var(--mod-radio-tile-radius, var(--ds-alias-radius-base)));--_radio-tile-padding: var(--radio-tile-padding, var(--mod-radio-tile-padding, 1rem));--_radio-tile-border-width: var(--radio-tile-border-width, var(--mod-radio-tile-border-width, var(--ds-alias-border-width-base)));--_radio-tile-base-background-color: var(--radio-tile-base-background-color, var(--mod-radio-tile-base-background-color, inherit));--_radio-tile-base-border-color: var(--radio-tile-base-border-color, var(--mod-radio-tile-base-border-color, var(--ds-global-color-grey-3)));--_radio-tile-hover-background-color: var(--radio-tile-hover-background-color, var(--mod-radio-tile-hover-background-color, var(--ds-global-color-grey-2)));--_radio-tile-hover-border-color: var(--radio-tile-hover-border-color, var(--mod-radio-tile-hover-border-color, var(--ds-global-color-sky-5)));--_radio-tile-active-background-color: var(--radio-tile-active-background-color, var(--mod-radio-tile-active-background-color, var(--ds-global-color-grey-2)));--_radio-tile-active-border-color: var(--radio-tile-active-border-color, var(--mod-radio-tile-active-border-color, var(--ds-global-color-primary-6)));--_radio-unchecked-base-color-background: var(--radio-unchecked-base-color-background, var(--mod-radio-unchecked-base-color-background, transparent));--_radio-unchecked-base-color-border: var(--radio-unchecked-base-color-border, var(--mod-radio-unchecked-base-color-border, var(--ds-global-color-primary-5)));--_radio-unchecked-hover-color-background: var(--radio-unchecked-hover-color-background, var(--mod-radio-unchecked-hover-color-background, var(--ds-global-color-grey-2)));--_radio-unchecked-hover-color-border: var(--radio-unchecked-hover-color-border, var(--mod-radio-unchecked-hover-color-border, var(--ds-global-color-sky-5)));--_radio-unchecked-active-color-background: var(--radio-unchecked-active-color-background, var(--mod-radio-unchecked-active-color-background, var(--ds-global-color-grey-2)));--_radio-unchecked-active-color-border: var(--radio-unchecked-active-color-border, var(--mod-radio-unchecked-active-color-border, var(--ds-global-color-primary-6)));--_radio-checked-base-color-background: var(--radio-checked-base-color-background, var(--mod-radio-checked-base-color-background, var(--ds-global-color-primary-5)));--_radio-checked-base-color-border: var(--radio-checked-base-color-border, var(--mod-radio-checked-base-color-border, var(--ds-global-color-primary-5)));--_radio-checked-base-color-icon: var(--radio-checked-base-color-icon, var(--mod-radio-checked-base-color-icon, var(--ds-global-color-white)));--_radio-checked-hover-color-background: var(--radio-checked-hover-color-background, var(--mod-radio-checked-hover-color-background, var(--ds-global-color-sky-5)));--_radio-checked-hover-color-border: var(--radio-checked-hover-color-border, var(--mod-radio-checked-hover-color-border, var(--ds-global-color-sky-5)));--_radio-checked-active-color-background: var(--radio-checked-active-color-background, var(--mod-radio-checked-active-color-background, var(--ds-global-color-primary-6)));--_radio-checked-active-color-border: var(--radio-checked-active-color-border, var(--mod-radio-checked-active-color-border, var(--ds-global-color-primary-6)))}:host{display:inline-block;box-sizing:border-box !important;outline:none}label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;display:inline-flex;align-items:center;gap:var(--_radio-gap);cursor:pointer;user-select:none;color:var(--_radio-label-base-color);font-family:var(--ds-global-font-family-text);line-height:var(--ds-typography-line-height-base);padding-top:.25rem;padding-bottom:.25rem;min-height:3rem}@media(hover: hover)and (pointer: fine){label:hover{color:var(--_radio-label-hover-color)}}label:active{color:var(--_radio-label-active-color)}label #slot{flex:1}:host input[type=radio]{position:relative;appearance:none;flex:none;display:inline-flex;width:var(--_radio-size);height:var(--_radio-size);background:var(--_radio-unchecked-base-color-background);border:var(--_radio-border-width) solid var(--_radio-unchecked-base-color-border);border-radius:var(--_radio-radius);vertical-align:top;cursor:pointer;transition:background .3s ease-in-out,border-color .3s ease-in-out}:host input[type=radio]:disabled{cursor:default}:host input[type=radio]:focus-visible{outline:var(--ds-alias-interaction-focus-width, 2px) solid var(--ds-alias-interaction-focus-color-base);outline-offset:2px;border-radius:var(--_radio-radius)}:host input[type=radio]:not(:disabled):hover,:host:hover input[type=radio]:not(:disabled):not(:checked){background:var(--_radio-unchecked-hover-color-background);border-color:var(--_radio-unchecked-hover-color-border)}:host input[type=radio]:not(:disabled):active,:host:active input[type=radio]:not(:disabled):not(:checked){background:var(--_radio-unchecked-active-color-background);border-color:var(--_radio-unchecked-active-color-border)}:host input[type=radio]:checked{background:var(--_radio-checked-base-color-background);border-color:var(--_radio-checked-base-color-border)}:host input[type=radio]:checked:not(:disabled):hover,:host:hover input[type=radio]:checked:not(:disabled){background:var(--_radio-checked-hover-color-background);border-color:var(--_radio-checked-hover-color-border)}:host input[type=radio]:checked:not(:disabled):active,:host:active input[type=radio]:checked:not(:disabled){background:var(--_radio-checked-active-color-background);border-color:var(--_radio-checked-active-color-border)}:host input[type=radio]::after{content:"";display:block;border-radius:var(--_radio-radius);height:0;width:0;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0;background:rgba(0,0,0,0);transition:opacity .3s ease-in-out,width .3s ease-in-out,height .3s ease-in-out}:host input[type=radio]:checked::after{background-color:var(--_radio-checked-base-color-icon);height:.5rem;width:.5rem;opacity:1}:host(.is-invalid:not(.is-disabled)){--mod-radio-label-base-color: var(--ds-global-color-danger-4);--mod-radio-label-hover-color: var(--ds-global-color-danger-5);--mod-radio-label-active-color: var(--ds-global-color-danger-6);--mod-radio-unchecked-base-color-background: transparent;--mod-radio-unchecked-base-color-border: var(--ds-divider-color-danger);--mod-radio-unchecked-hover-color-background: var(--ds-global-color-danger-1);--mod-radio-unchecked-hover-color-border: var(--ds-divider-color-danger-dark);--mod-radio-unchecked-active-color-background: var(--ds-global-color-danger-1);--mod-radio-unchecked-active-color-border: var(--ds-divider-color-danger-darker);--mod-radio-checked-base-color-background: var(--ds-divider-color-danger);--mod-radio-checked-base-color-border: var(--ds-divider-color-danger);--mod-radio-checked-hover-color-background: var(--ds-divider-color-danger-dark);--mod-radio-checked-hover-color-border: var(--ds-divider-color-danger-dark);--mod-radio-checked-active-color-background: var(--ds-divider-color-danger-darker);--mod-radio-checked-active-color-border: var(--ds-divider-color-danger-darker)}:host(.is-disabled){cursor:default;pointer-events:none;--mod-radio-label-base-color: var(--ds-global-color-grey-5);--mod-radio-label-hover-color: var(--ds-global-color-grey-5);--mod-radio-label-active-color: var(--ds-global-color-grey-5);--mod-radio-unchecked-base-color-background: var(--ds-global-color-grey-2);--mod-radio-unchecked-base-color-border: var(--ds-alias-border-color-disabled);--mod-radio-checked-base-color-background: var(--ds-alias-border-color-disabled);--mod-radio-checked-base-color-border: var(--ds-alias-border-color-disabled)}:host(.has-label-left) label{flex-direction:row-reverse}:host(.has-label-top) label{flex-direction:column-reverse}:host(.is-tile){display:block;flex:0 0 100%}:host(.is-tile) label{width:100%;height:100%;padding:var(--_radio-tile-padding);border-style:solid;border-width:var(--_radio-tile-border-width);border-radius:var(--_radio-tile-radius);border-color:var(--_radio-tile-base-border-color);background:var(--_radio-tile-base-background-color)}@media(hover: hover)and (pointer: fine){:host(.is-tile) label:hover{border-color:var(--_radio-tile-hover-border-color);background:var(--_radio-tile-hover-background-color)}}:host(.is-tile) label:active{border-color:var(--_radio-tile-active-border-color);background:var(--_radio-tile-active-background-color)}:host(.is-tile.is-checked){--mod-radio-tile-base-border-color: var(--_radio-checked-base-color-background)}:host(.is-tile.has-tile-green.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-green-1)}:host(.is-tile.has-tile-red.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-red-1)}:host(.is-tile.has-tile-yellow.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-yellow-1)}:host(.is-tile.has-tile-purple.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-purple-1)}:host(.is-tile.is-disabled){--icon-brand-color: var(--ds-global-color-grey-5)}:host(.is-tile.is-invalid){--mod-radio-tile-hover-background-color: var(--ds-global-color-danger-1);--mod-radio-tile-active-background-color: var(--ds-global-color-danger-1);--mod-radio-tile-hover-border-color: var(--ds-global-color-danger-5);--mod-radio-tile-active-border-color: var(--ds-global-color-danger-6)}:host(.is-tile.is-invalid) label{--icon-brand-color: var(--ds-global-color-danger-4)}@media(hover: hover)and (pointer: fine){:host(.is-tile.is-invalid) label:hover{--icon-brand-color: var(--ds-global-color-danger-5)}}:host(.is-tile.is-invalid) label:active{--icon-brand-color: var(--ds-global-color-danger-6)}@media screen and (min-width: 769px){:host(.is-tile.has-cols-2){flex:0 0 calc(50% - var(--ds-alias-space-base)*1/2)}:host(.is-tile.has-cols-3){flex:0 0 calc(33.3333333333% - var(--ds-alias-space-base)*2/3)}:host(.is-tile.has-cols-4){flex:0 0 calc(25% - var(--ds-alias-space-base)*3/4)}}@media screen and (max-width: 768px){:host(.is-tile.has-cols-2-mobile){flex:0 0 calc(50% - var(--ds-alias-space-base)*1/2)}:host(.is-tile.has-cols-3-mobile){flex:0 0 calc(33.3333333333% - var(--ds-alias-space-base)*2/3)}:host(.is-tile.has-cols-4-mobile){flex:0 0 calc(25% - var(--ds-alias-space-base)*3/4)}}@media screen and (min-width: 769px){:host(.is-tile.has-cols-2-tablet){flex:0 0 calc(50% - var(--ds-alias-space-base)*1/2)}:host(.is-tile.has-cols-3-tablet){flex:0 0 calc(33.3333333333% - var(--ds-alias-space-base)*2/3)}:host(.is-tile.has-cols-4-tablet){flex:0 0 calc(25% - var(--ds-alias-space-base)*3/4)}}@media screen and (min-width: 1024px){:host(.is-tile.has-cols-2-desktop){flex:0 0 calc(50% - var(--ds-alias-space-base)*1/2)}:host(.is-tile.has-cols-3-desktop){flex:0 0 calc(33.3333333333% - var(--ds-alias-space-base)*2/3)}:host(.is-tile.has-cols-4-desktop){flex:0 0 calc(25% - var(--ds-alias-space-base)*3/4)}}
|
|
1
|
+
:host{--_radio-gap: var(--radio-gap, var(--mod-radio-gap, 0.5rem));--_radio-label-base-color: var(--radio-label-base-color, var(--mod-radio-label-base-color, inherit));--_radio-label-hover-color: var(--radio-label-hover-color, var(--mod-radio-label-hover-color, var(--ds-global-color-sky-5)));--_radio-label-active-color: var(--radio-label-active-color, var(--mod-radio-label-active-color, var(--ds-global-color-primary-6)));--_radio-size: var(--radio-size, var(--mod-radio-size, 1.5rem));--_radio-border-width: var(--radio-border-width, var(--mod-radio-border-width, var(--ds-alias-border-width-base)));--_radio-radius: var(--radio-radius, var(--mod-radio-radius, var(--ds-alias-radius-rounded)));--_radio-tile-radius: var(--radio-tile-radius, var(--mod-radio-tile-radius, var(--ds-alias-radius-base)));--_radio-tile-padding: var(--radio-tile-padding, var(--mod-radio-tile-padding, 1rem));--_radio-tile-border-width: var(--radio-tile-border-width, var(--mod-radio-tile-border-width, var(--ds-alias-border-width-base)));--_radio-tile-base-background-color: var(--radio-tile-base-background-color, var(--mod-radio-tile-base-background-color, inherit));--_radio-tile-base-border-color: var(--radio-tile-base-border-color, var(--mod-radio-tile-base-border-color, var(--ds-global-color-grey-3)));--_radio-tile-hover-background-color: var(--radio-tile-hover-background-color, var(--mod-radio-tile-hover-background-color, var(--ds-global-color-grey-0)));--_radio-tile-hover-border-color: var(--radio-tile-hover-border-color, var(--mod-radio-tile-hover-border-color, var(--ds-global-color-sky-5)));--_radio-tile-active-background-color: var(--radio-tile-active-background-color, var(--mod-radio-tile-active-background-color, var(--ds-global-color-grey-0)));--_radio-tile-active-border-color: var(--radio-tile-active-border-color, var(--mod-radio-tile-active-border-color, var(--ds-global-color-primary-6)));--_radio-unchecked-base-color-background: var(--radio-unchecked-base-color-background, var(--mod-radio-unchecked-base-color-background, transparent));--_radio-unchecked-base-color-border: var(--radio-unchecked-base-color-border, var(--mod-radio-unchecked-base-color-border, var(--ds-global-color-primary-5)));--_radio-unchecked-hover-color-background: var(--radio-unchecked-hover-color-background, var(--mod-radio-unchecked-hover-color-background, var(--ds-global-color-grey-1)));--_radio-unchecked-hover-color-border: var(--radio-unchecked-hover-color-border, var(--mod-radio-unchecked-hover-color-border, var(--ds-global-color-sky-5)));--_radio-unchecked-active-color-background: var(--radio-unchecked-active-color-background, var(--mod-radio-unchecked-active-color-background, var(--ds-global-color-grey-2)));--_radio-unchecked-active-color-border: var(--radio-unchecked-active-color-border, var(--mod-radio-unchecked-active-color-border, var(--ds-global-color-primary-6)));--_radio-checked-base-color-background: var(--radio-checked-base-color-background, var(--mod-radio-checked-base-color-background, var(--ds-global-color-primary-5)));--_radio-checked-base-color-border: var(--radio-checked-base-color-border, var(--mod-radio-checked-base-color-border, var(--ds-global-color-primary-5)));--_radio-checked-base-color-icon: var(--radio-checked-base-color-icon, var(--mod-radio-checked-base-color-icon, var(--ds-global-color-white)));--_radio-checked-hover-color-background: var(--radio-checked-hover-color-background, var(--mod-radio-checked-hover-color-background, var(--ds-global-color-sky-5)));--_radio-checked-hover-color-border: var(--radio-checked-hover-color-border, var(--mod-radio-checked-hover-color-border, var(--ds-global-color-sky-5)));--_radio-checked-active-color-background: var(--radio-checked-active-color-background, var(--mod-radio-checked-active-color-background, var(--ds-global-color-primary-6)));--_radio-checked-active-color-border: var(--radio-checked-active-color-border, var(--mod-radio-checked-active-color-border, var(--ds-global-color-primary-6)))}:host{display:inline-block;box-sizing:border-box !important;outline:none}label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;display:inline-flex;align-items:center;gap:var(--_radio-gap);cursor:pointer;user-select:none;color:var(--_radio-label-base-color);font-family:var(--ds-global-font-family-text);line-height:var(--ds-typography-line-height-base);padding-top:.25rem;padding-bottom:.25rem;min-height:3rem}@media(hover: hover)and (pointer: fine){label:hover{color:var(--_radio-label-hover-color)}}label:active{color:var(--_radio-label-active-color)}label #slot{flex:1}:host input[type=radio]{position:relative;appearance:none;flex:none;display:inline-flex;width:var(--_radio-size);height:var(--_radio-size);background:var(--_radio-unchecked-base-color-background);border:var(--_radio-border-width) solid var(--_radio-unchecked-base-color-border);border-radius:var(--_radio-radius);vertical-align:top;cursor:pointer;transition:background .3s ease-in-out,border-color .3s ease-in-out}:host input[type=radio]:disabled{cursor:default}:host input[type=radio]:focus-visible{outline:var(--ds-alias-interaction-focus-width, 2px) solid var(--ds-alias-interaction-focus-color-base);outline-offset:2px;border-radius:var(--_radio-radius)}:host input[type=radio]:not(:disabled):hover,:host:hover input[type=radio]:not(:disabled):not(:checked){background:var(--_radio-unchecked-hover-color-background);border-color:var(--_radio-unchecked-hover-color-border)}:host input[type=radio]:not(:disabled):active,:host:active input[type=radio]:not(:disabled):not(:checked){background:var(--_radio-unchecked-active-color-background);border-color:var(--_radio-unchecked-active-color-border)}:host input[type=radio]:checked{background:var(--_radio-checked-base-color-background);border-color:var(--_radio-checked-base-color-border)}:host input[type=radio]:checked:not(:disabled):hover,:host:hover input[type=radio]:checked:not(:disabled){background:var(--_radio-checked-hover-color-background);border-color:var(--_radio-checked-hover-color-border)}:host input[type=radio]:checked:not(:disabled):active,:host:active input[type=radio]:checked:not(:disabled){background:var(--_radio-checked-active-color-background);border-color:var(--_radio-checked-active-color-border)}:host input[type=radio]::after{content:"";display:block;border-radius:var(--_radio-radius);height:0;width:0;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0;background:rgba(0,0,0,0);transition:opacity .3s ease-in-out,width .3s ease-in-out,height .3s ease-in-out}:host input[type=radio]:checked::after{background-color:var(--_radio-checked-base-color-icon);height:.5rem;width:.5rem;opacity:1}:host(.is-invalid:not(.is-disabled)){--mod-radio-label-base-color: var(--ds-global-color-danger-4);--mod-radio-label-hover-color: var(--ds-global-color-danger-5);--mod-radio-label-active-color: var(--ds-global-color-danger-6);--mod-radio-unchecked-base-color-background: transparent;--mod-radio-unchecked-base-color-border: var(--ds-divider-color-danger);--mod-radio-unchecked-hover-color-background: var(--ds-global-color-danger-1);--mod-radio-unchecked-hover-color-border: var(--ds-divider-color-danger-dark);--mod-radio-unchecked-active-color-background: var(--ds-global-color-danger-1);--mod-radio-unchecked-active-color-border: var(--ds-divider-color-danger-darker);--mod-radio-checked-base-color-background: var(--ds-divider-color-danger);--mod-radio-checked-base-color-border: var(--ds-divider-color-danger);--mod-radio-checked-hover-color-background: var(--ds-divider-color-danger-dark);--mod-radio-checked-hover-color-border: var(--ds-divider-color-danger-dark);--mod-radio-checked-active-color-background: var(--ds-divider-color-danger-darker);--mod-radio-checked-active-color-border: var(--ds-divider-color-danger-darker)}:host(.is-disabled){cursor:default;pointer-events:none;--mod-radio-label-base-color: var(--ds-global-color-grey-5);--mod-radio-label-hover-color: var(--ds-global-color-grey-5);--mod-radio-label-active-color: var(--ds-global-color-grey-5);--mod-radio-unchecked-base-color-background: var(--ds-global-color-grey-2);--mod-radio-unchecked-base-color-border: var(--ds-alias-border-color-disabled);--mod-radio-checked-base-color-background: var(--ds-alias-border-color-disabled);--mod-radio-checked-base-color-border: var(--ds-alias-border-color-disabled)}:host(.has-label-left) label{flex-direction:row-reverse}:host(.has-label-top) label{flex-direction:column-reverse}:host(.is-tile){display:block;flex:0 0 100%}:host(.is-tile) label{width:100%;height:100%;padding:var(--_radio-tile-padding);border-style:solid;border-width:var(--_radio-tile-border-width);border-radius:var(--_radio-tile-radius);border-color:var(--_radio-tile-base-border-color);background:var(--_radio-tile-base-background-color)}@media(hover: hover)and (pointer: fine){:host(.is-tile) label:hover{border-color:var(--_radio-tile-hover-border-color);background:var(--_radio-tile-hover-background-color)}}:host(.is-tile) label:active{border-color:var(--_radio-tile-active-border-color);background:var(--_radio-tile-active-background-color)}:host(.is-tile.is-checked){--mod-radio-tile-base-border-color: var(--_radio-checked-base-color-background)}:host(.is-tile.hide-trigger) label{position:relative}:host(.is-tile.hide-trigger) input[type=radio]{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(.is-tile.hide-trigger.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-primary-1);--mod-radio-tile-hover-background-color: var(--ds-global-color-primary-1);--mod-radio-tile-active-background-color: var(--ds-global-color-primary-1)}:host(.is-tile.has-tile-green.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-green-1);--mod-radio-tile-hover-background-color: var(--ds-global-color-green-1);--mod-radio-tile-active-background-color: var(--ds-global-color-green-1)}:host(.is-tile.has-tile-red.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-red-1);--mod-radio-tile-hover-background-color: var(--ds-global-color-red-1);--mod-radio-tile-active-background-color: var(--ds-global-color-red-1)}:host(.is-tile.has-tile-yellow.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-yellow-1);--mod-radio-tile-hover-background-color: var(--ds-global-color-yellow-1);--mod-radio-tile-active-background-color: var(--ds-global-color-yellow-1)}:host(.is-tile.has-tile-purple.is-checked){--mod-radio-tile-base-background-color: var(--ds-global-color-purple-1);--mod-radio-tile-hover-background-color: var(--ds-global-color-purple-1);--mod-radio-tile-active-background-color: var(--ds-global-color-purple-1)}:host(.is-tile.is-disabled){--icon-brand-color: var(--ds-global-color-grey-5)}:host(.is-tile.is-invalid){--mod-radio-tile-hover-background-color: var(--ds-global-color-danger-1);--mod-radio-tile-active-background-color: var(--ds-global-color-danger-1);--mod-radio-tile-hover-border-color: var(--ds-global-color-danger-5);--mod-radio-tile-active-border-color: var(--ds-global-color-danger-6)}:host(.is-tile.is-invalid) label{--icon-brand-color: var(--ds-global-color-danger-4)}@media(hover: hover)and (pointer: fine){:host(.is-tile.is-invalid) label:hover{--icon-brand-color: var(--ds-global-color-danger-5)}}:host(.is-tile.is-invalid) label:active{--icon-brand-color: var(--ds-global-color-danger-6)}@media screen and (min-width: 769px){:host(.is-tile.has-cols-2){flex:0 0 calc(50% - var(--ds-alias-space-base)*1/2)}:host(.is-tile.has-cols-3){flex:0 0 calc(33.3333333333% - var(--ds-alias-space-base)*2/3)}:host(.is-tile.has-cols-4){flex:0 0 calc(25% - var(--ds-alias-space-base)*3/4)}}@media screen and (max-width: 768px){:host(.is-tile.has-cols-2-mobile){flex:0 0 calc(50% - var(--ds-alias-space-base)*1/2)}:host(.is-tile.has-cols-3-mobile){flex:0 0 calc(33.3333333333% - var(--ds-alias-space-base)*2/3)}:host(.is-tile.has-cols-4-mobile){flex:0 0 calc(25% - var(--ds-alias-space-base)*3/4)}}@media screen and (min-width: 769px){:host(.is-tile.has-cols-2-tablet){flex:0 0 calc(50% - var(--ds-alias-space-base)*1/2)}:host(.is-tile.has-cols-3-tablet){flex:0 0 calc(33.3333333333% - var(--ds-alias-space-base)*2/3)}:host(.is-tile.has-cols-4-tablet){flex:0 0 calc(25% - var(--ds-alias-space-base)*3/4)}}@media screen and (min-width: 1024px){:host(.is-tile.has-cols-2-desktop){flex:0 0 calc(50% - var(--ds-alias-space-base)*1/2)}:host(.is-tile.has-cols-3-desktop){flex:0 0 calc(33.3333333333% - var(--ds-alias-space-base)*2/3)}:host(.is-tile.has-cols-4-desktop){flex:0 0 calc(25% - var(--ds-alias-space-base)*3/4)}}
|
|
@@ -79,6 +79,10 @@ export class Radio {
|
|
|
79
79
|
* Defines the layout of the input
|
|
80
80
|
*/
|
|
81
81
|
this.tile = false;
|
|
82
|
+
/**
|
|
83
|
+
* If `true` and `tile` is set, the radio circle is visually hidden. The tile remains fully clickable and keyboard-accessible.
|
|
84
|
+
*/
|
|
85
|
+
this.hideTrigger = false;
|
|
82
86
|
/**
|
|
83
87
|
* Defines the color of the tile radio.
|
|
84
88
|
*/
|
|
@@ -234,18 +238,19 @@ export class Radio {
|
|
|
234
238
|
if (this.buttonTabindex !== undefined) {
|
|
235
239
|
inputAttributes['tabIndex'] = this.buttonTabindex;
|
|
236
240
|
}
|
|
237
|
-
return (h(Host, { key: '
|
|
241
|
+
return (h(Host, { key: 'ade39da842204a93c8631bd36abc9ac3db2bccd0', "aria-disabled": this.disabled ? 'true' : null, "aria-checked": `${this.checked}`, "aria-invalid": this.invalid ? 'true' : null, class: {
|
|
238
242
|
'is-disabled': this.disabled || this.readonly,
|
|
239
243
|
'is-invalid': this.invalid,
|
|
240
244
|
'is-checked': this.checked,
|
|
241
245
|
'is-tile': this.tile,
|
|
242
246
|
[`has-tile-${this.tileColor}`]: this.tile && hasValue(this.tileColor),
|
|
247
|
+
'hide-trigger': this.tile && this.hideTrigger,
|
|
243
248
|
'has-label-left': this.labelPosition === 'left',
|
|
244
249
|
'has-label-top': this.labelPosition === 'top',
|
|
245
250
|
[`has-cols-${this.cols}`]: this.tile && this.cols > 1,
|
|
246
251
|
[`has-cols-${this.colsTablet}-tablet`]: this.tile && this.colsTablet > 1,
|
|
247
252
|
[`has-cols-${this.colsMobile}-mobile`]: this.tile && this.colsMobile > 1,
|
|
248
|
-
}, onClick: this.handleClick }, h("label", { key: '
|
|
253
|
+
}, onClick: this.handleClick }, h("label", { key: 'd2663ed469a577718444a0d9292733ee7a8623e3', id: "label", part: "label" }, h("input", Object.assign({ key: '10f6dff613d46d36d8bbd70392bd93c20e5065cd', type: "radio", part: "input", id: this.inputId, name: this.name, value: value, tabindex: this.buttonTabindex, checked: this.checked, disabled: this.disabled || this.readonly, required: this.required, "aria-invalid": this.invalid ? 'true' : null, onChange: ev => this.handleChange(ev), onFocus: this.handleFocus, onBlur: this.handleBlur, ref: inputEl => (this.nativeInput = inputEl) }, inputAttributes)), h("div", { key: '80fd2934e4cd19a31e039ed4085f8aaea2bc28d5', id: "slot", part: "slot" }, h("slot", { key: '688909562bc975627fd39ed70d6f74249815f95c' })))));
|
|
249
254
|
}
|
|
250
255
|
static get is() { return "ds-radio"; }
|
|
251
256
|
static get encapsulation() { return "shadow"; }
|
|
@@ -559,6 +564,26 @@ export class Radio {
|
|
|
559
564
|
"attribute": "tile",
|
|
560
565
|
"defaultValue": "false"
|
|
561
566
|
},
|
|
567
|
+
"hideTrigger": {
|
|
568
|
+
"type": "boolean",
|
|
569
|
+
"mutable": false,
|
|
570
|
+
"complexType": {
|
|
571
|
+
"original": "boolean",
|
|
572
|
+
"resolved": "boolean",
|
|
573
|
+
"references": {}
|
|
574
|
+
},
|
|
575
|
+
"required": false,
|
|
576
|
+
"optional": false,
|
|
577
|
+
"docs": {
|
|
578
|
+
"tags": [],
|
|
579
|
+
"text": "If `true` and `tile` is set, the radio circle is visually hidden. The tile remains fully clickable and keyboard-accessible."
|
|
580
|
+
},
|
|
581
|
+
"getter": false,
|
|
582
|
+
"setter": false,
|
|
583
|
+
"reflect": false,
|
|
584
|
+
"attribute": "hide-trigger",
|
|
585
|
+
"defaultValue": "false"
|
|
586
|
+
},
|
|
562
587
|
"tileColor": {
|
|
563
588
|
"type": "string",
|
|
564
589
|
"mutable": false,
|
|
@@ -838,6 +863,10 @@ __decorate([
|
|
|
838
863
|
Type('boolean'),
|
|
839
864
|
__metadata("design:type", Boolean)
|
|
840
865
|
], Radio.prototype, "tile", void 0);
|
|
866
|
+
__decorate([
|
|
867
|
+
Type('boolean'),
|
|
868
|
+
__metadata("design:type", Boolean)
|
|
869
|
+
], Radio.prototype, "hideTrigger", void 0);
|
|
841
870
|
__decorate([
|
|
842
871
|
OneOf(RADIO_TILE_COLORS),
|
|
843
872
|
__metadata("design:type", String)
|
|
@@ -32,6 +32,9 @@ const HOST_VARIANTS = [
|
|
|
32
32
|
'tile-disabled',
|
|
33
33
|
'tile-stack',
|
|
34
34
|
'tile-stack-centered',
|
|
35
|
+
'tile-stack-multicolor-selected',
|
|
36
|
+
'tile-stack-multicolor-selected-hide-trigger',
|
|
37
|
+
'tile-stack-multicolor-unselected',
|
|
35
38
|
];
|
|
36
39
|
const image = screenshot(TAG);
|
|
37
40
|
test.describe('style', () => {
|
|
@@ -245,19 +245,19 @@ export class Segment {
|
|
|
245
245
|
* ------------------------------------------------------
|
|
246
246
|
*/
|
|
247
247
|
render() {
|
|
248
|
-
return (h(Field, { key: '
|
|
248
|
+
return (h(Field, { key: '3623376042c1133c3c27368913914b7e3626761c', role: "fieldset", disabled: this.disabled, color: 'primary', invalid: this.invalid, loading: this.loading, label: this.label, description: this.description, invalidText: this.invalidText, required: this.required, language: this.language, cssClasses: {
|
|
249
249
|
'is-wide': this.wide,
|
|
250
250
|
'is-vertical': this.vertical,
|
|
251
251
|
'is-vertical-on-mobile': this.verticalOnMobile,
|
|
252
252
|
'is-auto-vertical': this.autoVertical,
|
|
253
|
-
}, onSlotChange: this.handleSlotChange }, h("div", { key: '
|
|
253
|
+
}, onSlotChange: this.handleSlotChange }, h("div", { key: 'b175ee856735bd12278ab68610792d8f35db0d50', id: "group" }, h("div", { key: '37ecfcd8b782e67b612fa9d0a799fafe98bf54ae', id: "pill" }), this.items.map(item => (h("label", Object.assign({ key: item.value, class: {
|
|
254
254
|
'is-selected': item.value === this.value,
|
|
255
255
|
}, "aria-invalid": this.invalid ? 'true' : null, "aria-disabled": this.disabled ? 'true' : null }, (this.iconOnly
|
|
256
256
|
? {
|
|
257
257
|
'aria-label': `${item.label}${item.description ? `- ${item.description}` : ''}`,
|
|
258
258
|
'title': `${item.label}${item.description ? `- ${item.description}` : ''}`,
|
|
259
259
|
}
|
|
260
|
-
: {})), h("input", { type: "radio", name: this.name, disabled: this.disabled, readOnly: this.readonly, value: item.value, checked: item.value === this.value, onClick: ev => this.handleInputClick(ev, item.value), onChange: () => this.handleInputChange(item.value), "aria-invalid": this.invalid ? 'true' : null }), item.icon && h("ds-icon", { name: item.icon }), item.svg && h("ds-icon", { svg: item.svg }), !this.iconOnly && (h("span", { id: "content" }, h("span", { class: "label" }, item.label), item.description && h("span", { class: "description" }, item.description))))))), h("div", { key: '
|
|
260
|
+
: {})), h("input", { type: "radio", name: this.name, disabled: this.disabled, readOnly: this.readonly, value: item.value, checked: item.value === this.value, onClick: ev => this.handleInputClick(ev, item.value), onChange: () => this.handleInputChange(item.value), "aria-invalid": this.invalid ? 'true' : null }), item.icon && h("ds-icon", { name: item.icon }), item.svg && h("ds-icon", { svg: item.svg }), !this.iconOnly && (h("span", { id: "content" }, h("span", { class: "label" }, item.label), item.description && h("span", { class: "description" }, item.description))))))), h("div", { key: 'f0815ad652c00b772f97d335c9c03d6518116bbc' }, h("slot", { key: '1bab00d80378d7ab2c5d3a8e50df85195287fb34', onSlotchange: () => this.handleSlotChange() }))));
|
|
261
261
|
}
|
|
262
262
|
static get is() { return "ds-segment"; }
|
|
263
263
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,7 +54,7 @@ export class SegmentItem {
|
|
|
54
54
|
* ------------------------------------------------------
|
|
55
55
|
*/
|
|
56
56
|
render() {
|
|
57
|
-
return h(Host, { key: '
|
|
57
|
+
return h(Host, { key: 'c703db008c250d8801d76bfdaddfb32e5985935e', "aria-hidden": "true" });
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "ds-segment-item"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,7 +30,7 @@ export class DsSelectOptgroup {
|
|
|
30
30
|
* ------------------------------------------------------
|
|
31
31
|
*/
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '4df6aaf4a621c79257e59d642d2a07c2a79cfa1c', "aria-hidden": "true" }, h("slot", { key: '7f9206b4c33676e1f431f2cd3cf9644441a473f8' })));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "ds-select-optgroup"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class DsSelectOption {
|
|
|
36
36
|
* ------------------------------------------------------
|
|
37
37
|
*/
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'ce770b34b31796d648f076575f4c1cf57b65c5af', "aria-hidden": "true" }, h("slot", { key: '4648de055b31a22a216b21f518b868a4e7791b0d' })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "ds-select-option"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -337,9 +337,9 @@ export class DsSelect {
|
|
|
337
337
|
* ------------------------------------------------------
|
|
338
338
|
*/
|
|
339
339
|
render() {
|
|
340
|
-
return (h(Field, { key: '
|
|
340
|
+
return (h(Field, { key: '2103a2629e45c8036560ccdb03068c5d65f6c9ec', disabled: this.disabled, color: this.color, invalid: this.invalid, label: this.label, description: this.description, invalidText: this.invalidText, required: this.required, language: this.language, inputId: this.selectId, onClick: ev => this.dsClick.emit(ev) }, h("select", Object.assign({ key: 'c885d952f4fa562ea44af769d46b45e4a8541f14', name: this.name, multiple: this.multiple, required: this.required, disabled: this.disabled, "aria-hidden": "true", tabindex: -1, ref: el => (this.selectEl = el) }, this.inheritedAttributes)), h("div", { key: '990eb82e3a5965fb34eebe9425202a98abe70c58', id: "popup", class: {
|
|
341
341
|
'is-multiple': this.multiple,
|
|
342
|
-
}, ref: el => (this.popupEl = el) }, h("slot", { key: '
|
|
342
|
+
}, ref: el => (this.popupEl = el) }, h("slot", { key: '52d66712a9baa34be8f6903b2620099b209cea36', onSlotchange: this.handleSlotChange }))));
|
|
343
343
|
}
|
|
344
344
|
static get is() { return "ds-select"; }
|
|
345
345
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class Shape {
|
|
|
39
39
|
* ─────────────────────────────────────────────────────
|
|
40
40
|
*/
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '7992728e9058b4aa1df34a66625315314a53b854', "aria-hidden": "true" }, h("svg", { key: '4a1384043bf0c8cb44971a726dd760f1046dde00', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 198 198", focusable: "false", "aria-hidden": "true" }, shapes[parseInt(this.variation) - 1])));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "ds-shape"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -190,14 +190,14 @@ export class Spinner {
|
|
|
190
190
|
if (this.small === true) {
|
|
191
191
|
size = 'sm';
|
|
192
192
|
}
|
|
193
|
-
return (h(Host, { key: '
|
|
193
|
+
return (h(Host, { key: '90ffeeb92884b2408cc07d2a3d254ae640bfba9f', role: "progressbar", "aria-label": ariaLabel, class: {
|
|
194
194
|
'is-animated': this.animated,
|
|
195
195
|
'is-circle': this.variation === 'circle',
|
|
196
196
|
'is-sm': size === 'sm',
|
|
197
197
|
'is-white': this.color === 'white',
|
|
198
198
|
'is-label-right': hasValue(this.label) && this.labelPosition === 'right',
|
|
199
199
|
'is-label-bottom': hasValue(this.label) && this.labelPosition === 'bottom',
|
|
200
|
-
} }, h("div", { key: '
|
|
200
|
+
} }, h("div", { key: '35831f8f32b083aef384956258f386ebb4de288c' }, h("div", { key: 'fad87eada8cabe36f7cfadc69767bb6251621226', id: "inner", part: "inner", ref: el => (this.innerEl = el) })), hasValue(this.label) && h("span", { key: 'f2f8a4f600fd5f1f53d54d7dec71578348520f2a', part: "label" }, this.label)));
|
|
201
201
|
}
|
|
202
202
|
static get is() { return "ds-spinner"; }
|
|
203
203
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,7 +66,7 @@ export class Stack {
|
|
|
66
66
|
if (hasValue(this.alignment)) {
|
|
67
67
|
alignValue = this.alignment.split(' ').join('-');
|
|
68
68
|
}
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'a5289c398e7099be2acc01e0860094b35c41f275', class: {
|
|
70
70
|
'stack': true,
|
|
71
71
|
'as-row': this.direction === 'row',
|
|
72
72
|
'as-col': this.direction === 'column',
|
|
@@ -79,7 +79,7 @@ export class Stack {
|
|
|
79
79
|
[`p-${p}`]: hasValue(this.p),
|
|
80
80
|
[`px-${px}`]: hasValue(this.px),
|
|
81
81
|
[`py-${py}`]: hasValue(this.py),
|
|
82
|
-
} }, h("slot", { key: '
|
|
82
|
+
} }, h("slot", { key: '2ea7be17d54af58bcaff6b452c8c656ce43cb441' })));
|
|
83
83
|
}
|
|
84
84
|
static get is() { return "ds-stack"; }
|
|
85
85
|
static get originalStyleUrls() {
|
|
@@ -28,7 +28,7 @@ export class StepPanel {
|
|
|
28
28
|
* ------------------------------------------------------
|
|
29
29
|
*/
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '069c37c16fab0a456e81b3994a5f130f555a1943', role: "tabpanel", class: { 'is-selected': this.selected }, "aria-hidden": this.selected ? null : 'true', tabIndex: this.selected ? 0 : -1 }, h("slot", { key: 'd5e51ed65c86e3b1f50f7978918ca48a760594bf' })));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "ds-step-panel"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,7 +28,7 @@ export class TabPanel {
|
|
|
28
28
|
* ------------------------------------------------------
|
|
29
29
|
*/
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '86e6f7c744c989963959401612dcee1e962bdb02', role: "tabpanel", class: { 'is-selected': this.selected }, "aria-hidden": this.selected ? null : 'true', tabIndex: this.selected ? 0 : -1 }, h("slot", { key: '9ddf8ff34a1293622f32abbcd7c40a6607aa59e3' })));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "ds-tab-panel"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -240,14 +240,14 @@ export class Tabs {
|
|
|
240
240
|
*/
|
|
241
241
|
render() {
|
|
242
242
|
const isNav = this.isNavigation();
|
|
243
|
-
const tablistDiv = (h("div", { key: '
|
|
243
|
+
const tablistDiv = (h("div", { key: 'b3b8934a8997c4ee17e2738c000b9df17e2db0c2', id: "tablist", part: "tablist", role: isNav ? undefined : 'tablist', "aria-orientation": !isNav && this.vertical ? 'vertical' : undefined, onKeyDown: this.handleKeyDown, ref: el => {
|
|
244
244
|
this.tablistEl = el;
|
|
245
|
-
} }, h("slot", { key: '
|
|
245
|
+
} }, h("slot", { key: 'dd98a77986591a17f0b627019dd5f2076dfcc4c6', name: "tab", onSlotchange: this.handleSlotChange }), h("div", { key: '34697c2c75688748ea5b2c2ea3ad83a4ee40efcf', class: "indicator", "aria-hidden": "true", ref: el => {
|
|
246
246
|
this.indicatorEl = el;
|
|
247
247
|
} })));
|
|
248
248
|
const i18n = i18nDsTabs[this.language];
|
|
249
249
|
const tablistContainer = this.vertical ? (tablistDiv) : (h("div", { class: "tablist-outer" }, h("button", { class: "scroll-btn scroll-btn--prev", "aria-label": i18n.scrollLeft, "aria-hidden": "true", tabIndex: -1, onClick: this.scrollPrev }, h("ds-icon", { name: "caret-left", size: "sm" })), tablistDiv, h("button", { class: "scroll-btn scroll-btn--next", "aria-label": i18n.scrollRight, "aria-hidden": "true", tabIndex: -1, onClick: this.scrollNext }, h("ds-icon", { name: "caret-right", size: "sm" }))));
|
|
250
|
-
return (h(Host, { key: '
|
|
250
|
+
return (h(Host, { key: 'a4509a1ab21b938602815e4d928a9c5925250472', class: {
|
|
251
251
|
'is-fullwidth': this.fullwidth,
|
|
252
252
|
'is-inverted': this.inverted,
|
|
253
253
|
'is-purple': this.color === 'purple',
|
|
@@ -260,7 +260,7 @@ export class Tabs {
|
|
|
260
260
|
'has-overflow': this.canScrollLeft || this.canScrollRight,
|
|
261
261
|
'can-scroll-left': this.canScrollLeft,
|
|
262
262
|
'can-scroll-right': this.canScrollRight,
|
|
263
|
-
} }, isNav ? h("nav", { "aria-label": this.label || undefined }, tablistContainer) : tablistContainer, h("slot", { key: '
|
|
263
|
+
} }, isNav ? h("nav", { "aria-label": this.label || undefined }, tablistContainer) : tablistContainer, h("slot", { key: '1d7f1a3897cd57c4f1fdc72aa581373f24c80637', onSlotchange: this.handleSlotChange })));
|
|
264
264
|
}
|
|
265
265
|
static get is() { return "ds-tabs"; }
|
|
266
266
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class TagGroup {
|
|
|
18
18
|
* ------------------------------------------------------
|
|
19
19
|
*/
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'a96c877fa4249aacb365574331462b5269347506' }, h("slot", { key: '7d0a574edd2fc4b6d2e7e64b309ccbfe6b3bc86f' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "ds-tag-group"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,14 +63,14 @@ export class Tag {
|
|
|
63
63
|
*/
|
|
64
64
|
render() {
|
|
65
65
|
const size = normalizeDeprecatedTShirtSize(this.size) || '';
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'b5661eb0f112158f6322cb7f68e8b2bc70b5539d', class: {
|
|
67
67
|
[`is-${this.color}`]: hasValue(this.color),
|
|
68
68
|
[`is-${size}`]: hasValue(this.size),
|
|
69
69
|
[`is-shape-${this.shape}`]: hasValue(this.shape),
|
|
70
70
|
'is-closable': this.closable,
|
|
71
71
|
'is-disabled': this.disabled,
|
|
72
72
|
'is-invalid': this.invalid,
|
|
73
|
-
} }, h("span", { key: '
|
|
73
|
+
} }, h("span", { key: '79a20487f389ed804a44e1a85596e7499a755282', part: "label" }, h("slot", { key: '012168b23c6da831bdaca31a514156da9d618b8d' })), this.closable && !this.disabled ? (h("ds-close", Object.assign({}, this.inheritedAttributesClose, { onClick: (ev) => this.dsCloseClick.emit(ev) }))) : ('')));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "ds-tag"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:host{--_text-position: var(--text-position, var(--mod-text-position, static));--_text-top: var(--text-top, var(--mod-text-top));--_text-right: var(--text-right, var(--mod-text-right));--_text-bottom: var(--text-bottom, var(--mod-text-bottom));--_text-left: var(--text-left, var(--mod-text-left));position:var(--_text-position);top:var(--_text-top);right:var(--_text-right);bottom:var(--_text-bottom);left:var(--_text-left);--_text-m: var(--text-m, var(--mod-text-m, 0));--_text-my: var(--text-my, var(--mod-text-my));--_text-mx: var(--text-mx, var(--mod-text-mx));--_text-ml: var(--text-ml, var(--mod-text-ml));--_text-mr: var(--text-mr, var(--mod-text-mr));--_text-mt: var(--text-mt, var(--mod-text-mt));--_text-mb: var(--text-mb, var(--mod-text-mb));margin:var(--_text-m);margin-inline:var(--_text-mx);margin-block:var(--_text-my);margin-left:var(--_text-ml);margin-right:var(--_text-mr);margin-top:var(--_text-mt);margin-bottom:var(--_text-mb);--_text-color: var(--text-color, var(--mod-text-color, inherit));--_text-align: var(--text-align, var(--mod-text-align, inherit));--_text-family: var(--text-family, var(--mod-text-family, var(--ds-body-family)));--_text-weight: var(--text-weight, var(--mod-text-weight, var(--ds-body-weight)));--_text-line-height: var(--text-line-height, var(--mod-text-line-height, var(--ds-body-line-height)));--_text-size: var(--text-size, var(--mod-text-size, var(--ds-text-size-base-device)));--_text-shadow: var(--text-shadow, var(--mod-text-shadow, var(--ds-alias-shadow-text)));--_text-space: var(--text-space, var(--mod-text-space, var(--ds-body-space)));--_text-shadow: var(--text-shadow, var(--mod-text-shadow, none))}#text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;box-sizing:content-box;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;text-align:var(--_text-align);color:var(--_text-color);font-family:var(--_text-family);font-weight:var(--_text-weight);line-height:var(--_text-line-height);font-size:var(--_text-size);text-shadow:var(--_text-shadow)}#text b,#text strong,#text .is-bold{font-weight:var(--ds-text-weight-bold)}:host(.has-no-wrap) #text.is-centered{--mod-text-align: center}:host(.has-no-wrap) #text.is-right{--mod-text-align: right}:host(.has-no-wrap) #text.is-justified{--mod-text-align: justify}:host(.has-no-wrap) #text{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host(.is-bold){--mod-text-weight: var(--ds-text-weight-bold)}:host(.has-shadow){--mod-text-shadow: var(--ds-text-shadow)}:host(.is-inline){display:inline}:host(.is-white){--mod-text-color: var(--ds-text-color-white)}:host(.is-black){--mod-text-color: var(--ds-text-color-black)}:host(.is-primary){--mod-text-color: var(--ds-text-color-primary)}:host(.is-primary-hover){--mod-text-color: var(--ds-text-color-primary-hover)}:host(.is-primary-active){--mod-text-color: var(--ds-text-color-primary-active)}:host(.is-inverted-primary){--mod-text-color: var(--ds-text-color-inverted-primary)}:host(.is-inverted-primary-hover){--mod-text-color: var(--ds-text-color-inverted-primary-hover)}:host(.is-inverted-primary-active){--mod-text-color: var(--ds-text-color-inverted-primary-active)}:host(.is-primary-light){--mod-text-color: var(--ds-text-color-primary-light)}:host(.is-hint){--mod-text-color: var(--ds-text-color-hint)}:host(.is-grey-light){--mod-text-color: var(--ds-text-color-grey-light)}:host(.is-grey){--mod-text-color: var(--ds-text-color-grey)}:host(.is-grey-dark){--mod-text-color: var(--ds-text-color-grey-dark)}:host(.is-disabled){--mod-text-color: var(--ds-text-color-disabled)}:host(.is-inverted-disabled){--mod-text-color: var(--ds-text-color-inverted-disabled)}:host(.is-info){--mod-text-color: var(--ds-text-color-info)}:host(.is-warning){--mod-text-color: var(--ds-text-color-warning)}:host(.is-success){--mod-text-color: var(--ds-text-color-success)}:host(.is-danger){--mod-text-color: var(--ds-text-color-danger)}:host(.is-danger-hover){--mod-text-color: var(--ds-text-color-danger-hover)}:host(.is-danger-active){--mod-text-color: var(--ds-text-color-danger-active)}:host(.is-xs){--mod-text-size: var(--ds-text-size-xs-device)}:host(.is-sm){--mod-text-size: var(--ds-text-size-sm-device)}:host(.is-base){--mod-text-size: var(--ds-text-size-base-device)}:host(.is-md){--mod-text-size: var(--ds-text-size-md-device)}:host(.is-lg){--mod-text-size: var(--ds-text-size-lg-device)}:host(.is-xl){--mod-text-size: var(--ds-text-size-xl-device)}:host(.is-2xl){--mod-text-size: var(--ds-text-size-2xl-device)}:host(.is-3xl){--mod-text-size: var(--ds-text-size-3xl-device)}:host(.is-4xl){--mod-text-size: var(--ds-text-size-4xl-device)}:host(.is-5xl){--mod-text-size: var(--ds-text-size-5xl-device)}:host(.is-small){--mod-text-size: var(--ds-text-size-sm-device)}:host(.is-lead){--mod-text-size: var(--ds-text-size-lg-device)}:host(.is-block){--mod-text-size: var(--ds-text-size-md-device)}:host(.is-heading){--mod-text-family: var(--ds-text-family-heading);--mod-text-weight: var(--ds-text-weight-bold);--mod-text-line-height: var(--ds-text-line-height-heading)}:host(.is-subtitle){--mod-text-family: var(--ds-text-family-heading);--mod-text-weight: var(--ds-text-weight-light);--mod-text-line-height: var(--ds-text-line-height-heading)}:host(.has-space-all){--text-mt: var(--_text-space);--text-mb: var(--_text-space)}:host(.has-space-top){--text-mt: var(--_text-space);--text-mb: 0}:host(.has-space-bottom){--text-mt: 0;--text-mb: var(--_text-space)}:host(.has-space-none){--text-mt: 0;--text-mb: 0}:host{display:block}
|
|
1
|
+
:host{--_text-position: var(--text-position, var(--mod-text-position, static));--_text-top: var(--text-top, var(--mod-text-top));--_text-right: var(--text-right, var(--mod-text-right));--_text-bottom: var(--text-bottom, var(--mod-text-bottom));--_text-left: var(--text-left, var(--mod-text-left));position:var(--_text-position);top:var(--_text-top);right:var(--_text-right);bottom:var(--_text-bottom);left:var(--_text-left);--_text-m: var(--text-m, var(--mod-text-m, 0));--_text-my: var(--text-my, var(--mod-text-my));--_text-mx: var(--text-mx, var(--mod-text-mx));--_text-ml: var(--text-ml, var(--mod-text-ml));--_text-mr: var(--text-mr, var(--mod-text-mr));--_text-mt: var(--text-mt, var(--mod-text-mt));--_text-mb: var(--text-mb, var(--mod-text-mb));margin:var(--_text-m);margin-inline:var(--_text-mx);margin-block:var(--_text-my);margin-left:var(--_text-ml);margin-right:var(--_text-mr);margin-top:var(--_text-mt);margin-bottom:var(--_text-mb);--_text-color: var(--text-color, var(--mod-text-color, inherit));--_text-align: var(--text-align, var(--mod-text-align, inherit));--_text-family: var(--text-family, var(--mod-text-family, var(--ds-body-family)));--_text-weight: var(--text-weight, var(--mod-text-weight, var(--ds-body-weight)));--_text-line-height: var(--text-line-height, var(--mod-text-line-height, var(--ds-body-line-height)));--_text-size: var(--text-size, var(--mod-text-size, var(--ds-alias-text-size-base-device)));--_text-shadow: var(--text-shadow, var(--mod-text-shadow, var(--ds-alias-shadow-text)));--_text-space: var(--text-space, var(--mod-text-space, var(--ds-body-space)));--_text-shadow: var(--text-shadow, var(--mod-text-shadow, none))}#text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;box-sizing:content-box;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;text-align:var(--_text-align);color:var(--_text-color);font-family:var(--_text-family);font-weight:var(--_text-weight);line-height:var(--_text-line-height);font-size:var(--_text-size);text-shadow:var(--_text-shadow)}#text b,#text strong,#text .is-bold{font-weight:var(--ds-alias-text-weight-bold)}:host(.has-no-wrap) #text.is-centered{--mod-text-align: center}:host(.has-no-wrap) #text.is-right{--mod-text-align: right}:host(.has-no-wrap) #text.is-justified{--mod-text-align: justify}:host(.has-no-wrap) #text{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host(.is-bold){--mod-text-weight: var(--ds-alias-text-weight-bold)}:host(.has-shadow){--mod-text-shadow: var(--ds-alias-text-shadow)}:host(.is-inline){display:inline}:host(.is-white){--mod-text-color: var(--ds-alias-text-color-white)}:host(.is-black){--mod-text-color: var(--ds-alias-text-color-black)}:host(.is-primary){--mod-text-color: var(--ds-alias-text-color-primary)}:host(.is-primary-hover){--mod-text-color: var(--ds-alias-text-color-primary-hover)}:host(.is-primary-active){--mod-text-color: var(--ds-alias-text-color-primary-active)}:host(.is-inverted-primary){--mod-text-color: var(--ds-alias-text-color-inverted-primary)}:host(.is-inverted-primary-hover){--mod-text-color: var(--ds-alias-text-color-inverted-primary-hover)}:host(.is-inverted-primary-active){--mod-text-color: var(--ds-alias-text-color-inverted-primary-active)}:host(.is-primary-light){--mod-text-color: var(--ds-alias-text-color-primary-light)}:host(.is-hint){--mod-text-color: var(--ds-alias-text-color-hint)}:host(.is-grey-light){--mod-text-color: var(--ds-alias-text-color-grey-light)}:host(.is-grey){--mod-text-color: var(--ds-alias-text-color-grey)}:host(.is-grey-dark){--mod-text-color: var(--ds-alias-text-color-grey-dark)}:host(.is-disabled){--mod-text-color: var(--ds-alias-text-color-disabled)}:host(.is-inverted-disabled){--mod-text-color: var(--ds-alias-text-color-inverted-disabled)}:host(.is-info){--mod-text-color: var(--ds-alias-text-color-info)}:host(.is-warning){--mod-text-color: var(--ds-alias-text-color-warning)}:host(.is-success){--mod-text-color: var(--ds-alias-text-color-success)}:host(.is-danger){--mod-text-color: var(--ds-alias-text-color-danger)}:host(.is-danger-hover){--mod-text-color: var(--ds-alias-text-color-danger-hover)}:host(.is-danger-active){--mod-text-color: var(--ds-alias-text-color-danger-active)}:host(.is-xs){--mod-text-size: var(--ds-alias-text-size-xs-device)}:host(.is-sm){--mod-text-size: var(--ds-alias-text-size-sm-device)}:host(.is-base){--mod-text-size: var(--ds-alias-text-size-base-device)}:host(.is-md){--mod-text-size: var(--ds-alias-text-size-md-device)}:host(.is-lg){--mod-text-size: var(--ds-alias-text-size-lg-device)}:host(.is-xl){--mod-text-size: var(--ds-alias-text-size-xl-device)}:host(.is-2xl){--mod-text-size: var(--ds-alias-text-size-2xl-device)}:host(.is-3xl){--mod-text-size: var(--ds-alias-text-size-3xl-device)}:host(.is-4xl){--mod-text-size: var(--ds-alias-text-size-4xl-device)}:host(.is-5xl){--mod-text-size: var(--ds-alias-text-size-5xl-device)}:host(.is-small){--mod-text-size: var(--ds-alias-text-size-sm-device)}:host(.is-lead){--mod-text-size: var(--ds-alias-text-size-lg-device)}:host(.is-block){--mod-text-size: var(--ds-alias-text-size-md-device)}:host(.is-heading){--mod-text-family: var(--ds-alias-text-family-heading);--mod-text-weight: var(--ds-alias-text-weight-bold);--mod-text-line-height: var(--ds-alias-text-line-height-heading)}:host(.is-subtitle){--mod-text-family: var(--ds-alias-text-family-heading);--mod-text-weight: var(--ds-alias-text-weight-light);--mod-text-line-height: var(--ds-alias-text-line-height-heading)}:host(.has-space-all){--text-mt: var(--_text-space);--text-mb: var(--_text-space)}:host(.has-space-top){--text-mt: var(--_text-space);--text-mb: 0}:host(.has-space-bottom){--text-mt: 0;--text-mb: var(--_text-space)}:host(.has-space-none){--text-mt: 0;--text-mb: 0}:host{display:block}
|
|
@@ -112,7 +112,7 @@ export class Text {
|
|
|
112
112
|
render() {
|
|
113
113
|
const Text = this.inline ? 'span' : 'p';
|
|
114
114
|
const color = this.parseColor();
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: 'aeb2a4c195c26472a6b220e9bf6b467fbb3c08b7', class: {
|
|
116
116
|
[`is-${color}`]: hasValue(color),
|
|
117
117
|
'is-bold': this.bold,
|
|
118
118
|
'has-shadow': this.shadow,
|
|
@@ -122,9 +122,9 @@ export class Text {
|
|
|
122
122
|
'has-no-wrap': this.noWrap,
|
|
123
123
|
[`has-space-${this.space}`]: hasValue(this.space),
|
|
124
124
|
[`is-${this.size}`]: hasValue(this.size),
|
|
125
|
-
} }, h(Text, { key: '
|
|
125
|
+
} }, h(Text, { key: '89cd8bb57e660ea18a684bb5e39722db7c488083', id: "text", part: "text", class: {
|
|
126
126
|
[`is-${this.align}`]: hasValue(this.align),
|
|
127
|
-
} }, h("slot", { key: '
|
|
127
|
+
} }, h("slot", { key: '27869591db1ec7e90acfcca7630f2bc3955f32be' }))));
|
|
128
128
|
}
|
|
129
129
|
static get is() { return "ds-text"; }
|
|
130
130
|
static get encapsulation() { return "shadow"; }
|
|
@@ -182,7 +182,7 @@ export class Textarea {
|
|
|
182
182
|
* ------------------------------------------------------
|
|
183
183
|
*/
|
|
184
184
|
render() {
|
|
185
|
-
return (h(Field, { key: '
|
|
185
|
+
return (h(Field, { key: '2e1e2729ed8faa5ccc854162ce77328251481a13', inputId: 'textarea', disabled: this.disabled, color: this.color, invalid: this.invalid, label: this.label, description: this.description, invalidText: this.invalidText, required: this.required, language: this.language }, h("textarea", Object.assign({ key: '8c037403989369aa837282250192ca463157262a', id: "textarea", part: "textarea", name: this.name, ref: el => (this.control.nativeEl = el), "aria-describedby": "description", "aria-invalid": this.invalid === true ? 'true' : 'false', disabled: this.disabled, autoCapitalize: this.autocapitalize, autocomplete: this.autocomplete, autofocus: this.autofocus, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder || '', readonly: this.readonly, required: this.required, inputMode: this.inputmode, cols: this.cols, rows: this.rows, wrap: this.wrap ? this.wrap : undefined, onClick: ev => this.handleClick(ev), onFocus: ev => this.handleFocus(ev), onBlur: ev => this.handleBlur(ev), onInput: ev => this.handleInput(ev), onKeyPress: ev => this.dsKeyPress.emit(ev) }, this.inheritedAttributes))));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "ds-textarea"; }
|
|
188
188
|
static get encapsulation() { return "shadow"; }
|
|
@@ -142,7 +142,7 @@ export class Toggle {
|
|
|
142
142
|
* ------------------------------------------------------
|
|
143
143
|
*/
|
|
144
144
|
render() {
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: '82e0075aa3e76cc231d0e507de6f6abbc6947fbd', "aria-disabled": this.disabled ? 'true' : null, "aria-checked": `${this.checked}`, "aria-invalid": this.invalid ? 'true' : null, class: {
|
|
146
146
|
'is-disabled': this.disabled || this.readonly,
|
|
147
147
|
'is-invalid': this.invalid,
|
|
148
148
|
'is-checked': this.checked,
|
|
@@ -153,7 +153,7 @@ export class Toggle {
|
|
|
153
153
|
[`has-cols-${this.cols}`]: this.tile && this.cols > 1,
|
|
154
154
|
[`has-cols-${this.colsTablet}-tablet`]: this.tile && this.colsTablet > 1,
|
|
155
155
|
[`has-cols-${this.colsMobile}-mobile`]: this.tile && this.colsMobile > 1,
|
|
156
|
-
} }, h("label", { key: '
|
|
156
|
+
} }, h("label", { key: '0a6ec1155840f00f9cba605ed1436744d7ea5c44', id: "label", part: "label" }, h("input", Object.assign({ key: 'fce712af56287d341b3e096b87338e75aa078e7e', type: "checkbox", part: "input", id: this.inputId, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, required: this.required, "aria-invalid": this.invalid ? 'true' : null, onChange: ev => this.handleChange(ev), onFocus: this.handleFocus, onBlur: this.handleBlur, ref: inputEl => (this.nativeInput = inputEl) }, this.inheritAttributes)), h("div", { key: 'ddabd79fa0110eb5d3bf25023814af1cd75c4c28', id: "slot", part: "slot" }, h("slot", { key: '05f2ca777a6d522ecc30e5bff1fba852ef32b3a5' })))));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "ds-toggle"; }
|
|
159
159
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,7 +155,7 @@ export class Tooltip {
|
|
|
155
155
|
* ------------------------------------------------------
|
|
156
156
|
*/
|
|
157
157
|
render() {
|
|
158
|
-
return (h(Host, { key: '
|
|
158
|
+
return (h(Host, { key: '70f12c4635b8547887442ac1be6a3384f0754f01', id: this.tooltipId, role: "tooltip", "aria-hidden": `${!this.presented}` }, h("div", { key: '6934ecd48ac24eabd34e190c9d00f7c40346102e', part: "container", ref: el => (this.containerEl = el) }, h("div", { key: 'c85391dbfa57c220d5176c6a65ccad6d88ecb135', part: "content", "data-testid": "ds-tooltip-content" }, h("slot", { key: '88af144938af076f3278e0a8579c75dccd71f36f' })))));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "ds-tooltip"; }
|
|
161
161
|
static get encapsulation() { return "shadow"; }
|