@baloise/ds-core 18.3.0 → 19.0.0-nightly.20250512
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 +8 -4
- package/components/all.js +12 -6
- package/components/bal-accordion-details.js +1 -1
- package/components/bal-accordion.js +1 -1
- package/components/bal-app.js +1 -93
- package/components/bal-app2.js +95 -0
- package/components/{bal-radio-button.d.ts → bal-check.d.ts} +4 -4
- package/components/bal-check.js +6 -0
- package/components/bal-check2.js +59 -0
- package/components/bal-checkbox-group.js +33 -42
- package/components/bal-checkbox2.js +110 -86
- package/components/bal-close2.js +1 -1
- package/components/bal-content2.js +1 -1
- package/components/bal-data-item.js +1 -1
- package/components/bal-data-label.js +1 -1
- package/components/bal-data-value.js +1 -1
- package/components/bal-data.js +1 -1
- package/components/bal-date-calendar-cell2.js +1 -1
- package/components/bal-date-calendar2.js +1 -1
- package/components/bal-date.js +1 -1
- package/components/bal-divider.js +1 -1
- package/components/{bal-checkbox-button.d.ts → bal-doc-app.d.ts} +4 -4
- package/components/bal-doc-app.js +262 -0
- package/components/bal-dropdown.js +2 -2
- package/components/bal-field-control.js +2 -2
- package/components/bal-field-hint.js +1 -1
- package/components/bal-field-label.js +1 -1
- package/components/bal-field-message.js +2 -2
- package/components/bal-field.js +2 -2
- package/components/bal-file-upload.js +4 -4
- package/components/bal-footer.js +4 -194
- package/components/bal-form-col.js +2 -2
- package/components/bal-form-grid.js +1 -1
- package/components/bal-form.js +1 -1
- package/components/bal-heading2.js +1 -1
- package/components/bal-hint-text2.js +1 -1
- package/components/bal-hint-title2.js +1 -1
- package/components/bal-hint2.js +7 -2
- package/components/bal-icon2.js +15 -2
- package/components/bal-input-date2.js +2 -2
- package/components/bal-input-group2.js +1 -1
- package/components/bal-input-slider.js +4 -4
- package/components/bal-input-stepper.js +3 -3
- package/components/bal-input.js +1 -1
- package/components/bal-label2.js +1 -1
- package/components/bal-list-item-content2.js +2 -2
- package/components/bal-list-item-icon2.js +2 -2
- package/components/bal-list-item-subtitle2.js +1 -1
- package/components/bal-list-item-title2.js +1 -1
- package/components/bal-list2.js +1 -1
- package/components/bal-modal-body.js +1 -1
- package/components/bal-modal-header.js +1 -1
- package/components/bal-modal.js +5 -5
- package/components/bal-nav-link-grid-col2.js +1 -1
- package/components/bal-nav-link-grid2.js +1 -1
- package/components/bal-nav-link-group.js +1 -1
- package/components/bal-nav-link2.js +6 -4
- package/components/bal-nav-menu-bar2.js +1 -1
- package/components/bal-nav-menu-flyout2.js +1 -1
- package/components/bal-nav-meta-bar2.js +1 -1
- package/components/bal-nav.js +42 -32
- package/components/bal-navbar-brand.js +1 -1
- package/components/bal-navbar-menu-end.js +1 -1
- package/components/bal-navbar-menu-start.js +1 -1
- package/components/bal-navbar-menu.js +1 -1
- package/components/bal-navbar.js +1 -1
- package/components/bal-notices.js +1 -1
- package/components/bal-notification.js +1 -1
- package/components/bal-number-input.js +1 -1
- package/components/bal-option-list.js +1 -1
- package/components/bal-option.js +9 -9
- package/components/bal-pagination.js +4 -4
- package/components/bal-popover-content2.js +1 -1
- package/components/bal-popup.js +1 -1
- package/components/bal-progress-bar.js +1 -1
- package/components/bal-radio-group.js +36 -38
- package/components/bal-radio-icon.d.ts +11 -0
- package/components/bal-radio-icon.js +6 -0
- package/components/bal-radio-icon2.js +53 -0
- package/components/bal-radio2.js +153 -87
- package/components/bal-segment-item.js +1 -1
- package/components/bal-segment.js +1 -1
- package/components/bal-select-option2.js +1 -1
- package/components/bal-select2.js +5 -5
- package/components/bal-shape2.js +4 -4
- package/components/bal-sheet.js +1 -1
- package/components/bal-snackbar.js +1 -1
- package/components/bal-spinner2.js +1 -1
- package/components/bal-stack2.js +1 -1
- package/components/bal-stage-back-link.js +2 -2
- package/components/bal-stage-body.js +1 -1
- package/components/bal-stage-foot.js +1 -1
- package/components/bal-stage-head.js +1 -1
- package/components/bal-stage-image.js +1 -1
- package/components/bal-stage.js +1 -1
- package/components/bal-step-item.js +2 -2
- package/components/bal-steps.js +7 -2
- package/components/bal-switch.d.ts +11 -0
- package/components/bal-switch.js +59 -0
- package/components/bal-tab-item.js +5 -2
- package/components/bal-table.js +2 -2
- package/components/bal-tabs2.js +11 -4
- package/components/bal-tag-group.js +1 -1
- package/components/bal-tag2.js +1 -1
- package/components/bal-text2.js +2 -2
- package/components/bal-textarea.js +1 -1
- package/components/bal-time-input.js +1 -1
- package/components/bal-toast.js +1 -1
- package/components/bal-tooltip.js +1 -1
- package/components/index.esm.js +200 -0
- package/components/index.js +8 -315
- package/components/initialize.js +312 -0
- package/components/tokens.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-7f87eea164.system.entry.js → p-00e36bd710.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e50a9800ba.entry.js → p-0193364e31.entry.js} +1 -1
- package/dist/baloise-design-system/p-01d1565bf3.entry.js +1 -0
- package/dist/baloise-design-system/p-051c054210.entry.js +1 -0
- package/dist/baloise-design-system/p-05a5de36af.entry.js +1 -0
- package/dist/baloise-design-system/{p-a01e0d6335.system.entry.js → p-06d14aacfc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-152b86b426.system.entry.js → p-07f614ba5e.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-082910ce81.entry.js +1 -0
- package/dist/baloise-design-system/{p-11447dc62e.system.entry.js → p-088aef322b.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-0b39e3fc7f.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0d07e6caf8.entry.js +1 -0
- package/dist/baloise-design-system/{p-3928a3ae1f.system.entry.js → p-0d3584a65f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c7cf7b2c6d.entry.js → p-0f8973edc6.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ac4e801e21.entry.js → p-160c193287.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d49d8917c3.system.entry.js → p-1846561401.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-18cab6ff5b.entry.js +1 -0
- package/dist/baloise-design-system/p-1a99fea403.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1e142b10.system.js +1 -0
- package/dist/baloise-design-system/{p-24898ae0b6.system.entry.js → p-1e517d518d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-89d4432ac2.entry.js → p-211fd73b2d.entry.js} +1 -1
- package/dist/baloise-design-system/p-240e3621c6.entry.js +1 -0
- package/dist/baloise-design-system/{p-1812c4e712.system.entry.js → p-242625df10.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-25617878.system.js → p-2737d38c.system.js} +1 -1
- package/dist/baloise-design-system/p-294f38c2.js +1 -0
- package/dist/baloise-design-system/{p-e85c10c09b.system.entry.js → p-2c5c5716e7.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-2c909ec2ed.entry.js +1 -0
- package/dist/baloise-design-system/{p-3f3ebc8590.entry.js → p-2ff3021da9.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ac2d4c2c2b.system.entry.js → p-2fffe828ac.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a8b8e39162.entry.js → p-3032d4ad66.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9da6a64729.system.entry.js → p-3153f3e507.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9b78ab02f8.system.entry.js → p-3156541849.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0aeaf649aa.system.entry.js → p-31b93623ab.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-343cc097d4.entry.js +1 -0
- package/dist/baloise-design-system/{p-cce29204c3.system.entry.js → p-3470477d17.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-69ceb45b58.entry.js → p-34b6d66663.entry.js} +1 -1
- package/dist/baloise-design-system/p-3913c6ae.js +1 -1
- package/dist/baloise-design-system/{p-108886df74.system.entry.js → p-39c2321045.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ade97788.js → p-3a37254c.js} +1 -1
- package/dist/baloise-design-system/{p-74cf083d69.system.entry.js → p-3b6395d90b.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-3e0254a61f.entry.js +1 -0
- package/dist/baloise-design-system/{p-2697b3c0.system.js → p-3effa853.system.js} +1 -1
- package/dist/baloise-design-system/p-41388a733d.entry.js +1 -0
- package/dist/baloise-design-system/{p-1d78f65898.entry.js → p-41f36f7375.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8839179d19.system.entry.js → p-42629a573a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-42bdcaf489.system.entry.js +1 -0
- package/dist/baloise-design-system/p-42e66219.system.js +1 -0
- package/dist/baloise-design-system/p-45d69189d4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-472a8efc29.entry.js +1 -0
- package/dist/baloise-design-system/{p-86997be9b6.entry.js → p-4743791e3f.entry.js} +1 -1
- package/dist/baloise-design-system/p-47f0669a.js +1 -0
- package/dist/baloise-design-system/{p-038c618cc5.entry.js → p-4be91fd12f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-471441221c.system.entry.js → p-4f49822899.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a2ea159e.system.js → p-516583fd.system.js} +1 -1
- package/dist/baloise-design-system/p-539afc859c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-eedc7103b3.entry.js → p-5569e7774f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-513711e292.system.entry.js → p-56f686f295.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-57b41c6504.system.entry.js +1 -0
- package/dist/baloise-design-system/p-5960a6204e.entry.js +1 -0
- package/dist/baloise-design-system/p-5b81a72518.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-259e90ef2b.system.entry.js → p-5ce42985d4.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-5e1f2c26.js +1 -0
- package/dist/baloise-design-system/{p-f863ef794a.system.entry.js → p-6077b576a9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5d84d62ded.system.entry.js → p-61b67b07b2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a3cb7f216f.entry.js → p-631d91db6c.entry.js} +1 -1
- package/dist/baloise-design-system/p-659ecadc.system.js +1 -1
- package/dist/baloise-design-system/{p-934c6104.system.js → p-65a66741.system.js} +1 -1
- package/dist/baloise-design-system/{p-40977d8619.entry.js → p-65e20456c6.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c1a3776980.entry.js → p-697c0e64eb.entry.js} +1 -1
- package/dist/baloise-design-system/{p-72a3289f25.system.entry.js → p-69fdd6fa9c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6ce02b4115.entry.js → p-6c1136af87.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9ee4bb3be6.system.entry.js → p-6c2777822f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-7079261c26.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-b4b81faccc.system.entry.js → p-72414b93ef.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-72c837904a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-748e3f7c7d.entry.js +1 -0
- package/dist/baloise-design-system/{p-14901b6156.system.entry.js → p-7632019f26.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-77c6d65eb1.entry.js +1 -0
- package/dist/baloise-design-system/{p-91a7fe0fc1.system.entry.js → p-78b209fdb3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2e7c157f61.entry.js → p-79e27fc12a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1ba2dc4b48.entry.js → p-7cbb14c480.entry.js} +1 -1
- package/dist/baloise-design-system/{p-456114b8.system.js → p-83512f21.system.js} +1 -1
- package/dist/baloise-design-system/p-83d19315e3.entry.js +1 -0
- package/dist/baloise-design-system/{p-277384b233.entry.js → p-848aa73224.entry.js} +1 -1
- package/dist/baloise-design-system/p-894423fd.system.js +1 -0
- package/dist/baloise-design-system/p-8bec751e53.system.entry.js +1 -0
- package/dist/baloise-design-system/p-96301206d3.system.entry.js +1 -0
- package/dist/baloise-design-system/p-97bb957512.entry.js +1 -0
- package/dist/baloise-design-system/p-99c12a1d83.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-cd8072c189.system.entry.js → p-9df40521e4.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-82c5915caf.entry.js → p-a06f682955.entry.js} +1 -1
- package/dist/baloise-design-system/{p-60c0b0fb.js → p-a0a2db81.js} +1 -1
- package/dist/baloise-design-system/{p-9070cf534c.system.entry.js → p-a1449d0827.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a2dff75011.entry.js → p-a1f9823d65.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9ca539a218.system.entry.js → p-a7de0bf339.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fb95929111.system.entry.js → p-a9b6d4d151.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aebe807c86.entry.js → p-a9d4b48e46.entry.js} +1 -1
- package/dist/baloise-design-system/{p-42e06975cf.system.entry.js → p-aa16fc7aa2.system.entry.js} +2 -2
- package/dist/baloise-design-system/{p-fed37bccaa.entry.js → p-abaa6b209d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-50e3e41042.entry.js → p-ac25ede4f4.entry.js} +1 -1
- package/dist/baloise-design-system/{p-712e5c9739.system.entry.js → p-ad243dde55.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-190cd62ab2.system.entry.js → p-afe7f75fcf.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-b5b4c144a0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b794110da2.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ca80a03f51.entry.js → p-b80f4f2be5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-57b6f2900e.entry.js → p-bb0bea1a12.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ef911c2b87.entry.js → p-c1181d7258.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a1d4fd7a40.entry.js → p-c2f253d9fd.entry.js} +2 -2
- package/dist/baloise-design-system/{p-9effa7fc0c.system.entry.js → p-c5fc0e842c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c647c929fa.entry.js +1 -0
- package/dist/baloise-design-system/{p-0f9d3cbaaf.entry.js → p-c90cd86f85.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c0c4b24075.entry.js → p-c9839298b0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c4320b3a46.system.entry.js → p-cb928814d9.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d112488f3c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-3113f8a2a0.entry.js → p-d2b585ae74.entry.js} +1 -1
- package/dist/baloise-design-system/{p-47d8602fd8.entry.js → p-d41614f898.entry.js} +1 -1
- package/dist/baloise-design-system/{p-50084ba924.entry.js → p-da86fecd46.entry.js} +1 -1
- package/dist/baloise-design-system/{p-60c0470d4a.entry.js → p-de44e8a65c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-68a9ea13a0.system.entry.js → p-de8600efe8.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-dfbe7bab7e.entry.js +1 -0
- package/dist/baloise-design-system/{p-b5e8f8c5b5.system.entry.js → p-e5604d449d.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e6a5286b.js +1 -0
- package/dist/baloise-design-system/p-e87f91527f.entry.js +1 -0
- package/dist/baloise-design-system/p-ec777a9167.entry.js +1 -0
- package/dist/baloise-design-system/p-f001f0a469.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-52a97b97f8.system.entry.js → p-f4f96647cf.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-f817eedc81.entry.js +1 -0
- package/dist/baloise-design-system/p-faab35937e.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-bd4f20f9ed.entry.js → p-ff36efab94.entry.js} +1 -1
- package/dist/cjs/app-globals-f63c33e7.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +2 -2
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-check.cjs.entry.js +36 -0
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +127 -105
- package/dist/cjs/bal-close.cjs.entry.js +1 -1
- package/dist/cjs/bal-content.cjs.entry.js +1 -1
- package/dist/cjs/bal-data_4.cjs.entry.js +4 -4
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +1 -1
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-date.cjs.entry.js +1 -1
- package/dist/cjs/bal-divider.cjs.entry.js +1 -1
- package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/bal-field_5.cjs.entry.js +8 -8
- package/dist/cjs/bal-file-upload.cjs.entry.js +4 -4
- package/dist/cjs/bal-footer.cjs.entry.js +9 -196
- package/dist/cjs/bal-form-col_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-form.cjs.entry.js +1 -1
- package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_5.cjs.entry.js +13 -8
- package/dist/cjs/bal-icon.cjs.entry.js +13 -2
- package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-slider.cjs.entry.js +4 -4
- package/dist/cjs/bal-input-stepper.cjs.entry.js +3 -3
- package/dist/cjs/bal-input.cjs.entry.js +1 -1
- package/dist/cjs/bal-label.cjs.entry.js +1 -1
- package/dist/cjs/bal-list_8.cjs.entry.js +10 -10
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-modal_3.cjs.entry.js +7 -7
- package/dist/cjs/bal-nav_8.cjs.entry.js +56 -45
- package/dist/cjs/bal-navbar_5.cjs.entry.js +8 -8
- package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-notification.cjs.entry.js +1 -1
- package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
- package/dist/cjs/bal-option_2.cjs.entry.js +8 -8
- package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
- package/dist/cjs/bal-popup.cjs.entry.js +1 -1
- package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/bal-radio-icon.cjs.entry.js +36 -0
- package/dist/cjs/bal-radio_2.cjs.entry.js +157 -111
- package/dist/cjs/bal-segment_2.cjs.entry.js +6 -6
- package/dist/cjs/bal-select_2.cjs.entry.js +6 -6
- package/dist/cjs/bal-shape.cjs.entry.js +5 -5
- package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bal-stack.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +7 -7
- package/dist/cjs/bal-step-item.cjs.entry.js +2 -2
- package/dist/cjs/bal-steps.cjs.entry.js +10 -5
- package/dist/cjs/bal-switch.cjs.entry.js +34 -0
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +17 -9
- package/dist/cjs/bal-table.cjs.entry.js +2 -2
- package/dist/cjs/bal-tag_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-textarea.cjs.entry.js +1 -1
- package/dist/cjs/bal-time-input.cjs.entry.js +1 -1
- package/dist/cjs/bal-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-a75a8dbc.js → breakpoints.decorator-d16aa7d7.js} +1 -1
- package/dist/cjs/{breakpoints.subject-99007fbd.js → breakpoints.subject-1a5906e4.js} +1 -1
- package/dist/cjs/{app-globals-0d8db19e.js → global-2a76769b.js} +2 -4
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/index.esm-1f386b07.js +205 -0
- package/dist/cjs/initialize-2e8978a4.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{tokens.esm-836b8c42.js → tokens.esm-af603697.js} +1 -1
- package/dist/cjs/{window-resize.decorator-dd0ecc12.js → window-resize.decorator-ca02b6a0.js} +1 -1
- package/dist/collection/collection-manifest.json +5 -3
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.css +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion.css +1 -1
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.css +1 -0
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +165 -0
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.css +1 -0
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +40 -37
- package/dist/collection/components/bal-checkbox/bal-checkbox.css +1 -0
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +219 -143
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.css +1 -0
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +143 -0
- package/dist/collection/components/bal-close/bal-close.js +1 -1
- package/dist/collection/components/bal-content/bal-content.js +1 -1
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +1 -1
- package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +1 -1
- package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +1 -1
- package/dist/collection/components/bal-data/bal-data.js +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +1 -1
- package/dist/collection/components/bal-date/bal-date.js +1 -1
- package/dist/collection/components/bal-divider/bal-divider.js +1 -1
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +2 -2
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +2 -2
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +1 -1
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +1 -1
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +2 -2
- package/dist/collection/components/bal-field/bal-field.js +2 -2
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +4 -4
- package/dist/collection/components/bal-footer/bal-footer.js +3 -3
- package/dist/collection/components/bal-form/bal-form.js +1 -1
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +2 -2
- package/dist/collection/components/bal-form-grid/bal-form-grid.js +1 -1
- package/dist/collection/components/bal-heading/bal-heading.js +1 -1
- package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +1 -1
- package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +1 -1
- package/dist/collection/components/bal-hint/bal-hint.css +1 -1
- package/dist/collection/components/bal-hint/bal-hint.js +6 -1
- package/dist/collection/components/bal-icon/bal-icon.js +63 -2
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +2 -2
- package/dist/collection/components/bal-input/bal-input.js +1 -1
- package/dist/collection/components/bal-input-group/bal-input-group.js +1 -1
- package/dist/collection/components/bal-input-slider/bal-input-slider.css +1 -1
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +3 -3
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +3 -3
- package/dist/collection/components/bal-label/bal-label.js +1 -1
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +2 -2
- package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +1 -1
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +1 -1
- package/dist/collection/components/bal-list/bal-list.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal.js +5 -5
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +24 -4
- package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav.i18n.js +30 -20
- package/dist/collection/components/bal-nav/bal-nav.js +5 -5
- package/dist/collection/components/bal-nav/models/bal-nav-link-item.js +1 -1
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +2 -2
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar.js +1 -1
- package/dist/collection/components/bal-notices/bal-notices.js +1 -1
- package/dist/collection/components/bal-notification/bal-notification.js +1 -1
- package/dist/collection/components/bal-number-input/bal-number-input.js +1 -1
- package/dist/collection/components/bal-option/bal-option.css +1 -1
- package/dist/collection/components/bal-option/bal-option.js +5 -5
- package/dist/collection/components/bal-option-list/bal-option-list.js +1 -1
- package/dist/collection/components/bal-pagination/bal-pagination.js +4 -4
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
- package/dist/collection/components/bal-popup/bal-popup.js +1 -1
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.css +1 -0
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +78 -80
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.css +1 -0
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +165 -0
- package/dist/collection/components/bal-radio/bal-radio.css +1 -0
- package/dist/collection/components/bal-radio/bal-radio.js +273 -113
- package/dist/collection/components/bal-radio/utils/bal-radio.util.js +1 -1
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
- package/dist/collection/components/bal-segment/bal-segment.js +1 -1
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
- package/dist/collection/components/bal-select/bal-select.js +5 -5
- package/dist/collection/components/bal-shape/bal-shape.js +4 -4
- package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
- package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
- package/dist/collection/components/bal-stack/bal-stack.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
- package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage.js +1 -1
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
- package/dist/collection/components/bal-steps/bal-steps.css +1 -1
- package/dist/collection/components/bal-steps/components/step-button.js +4 -1
- package/dist/collection/components/bal-table/bal-table.css +1 -1
- package/dist/collection/components/bal-table/bal-table.js +1 -1
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +23 -2
- package/dist/collection/components/bal-tabs/bal-tabs.js +29 -4
- package/dist/collection/components/bal-tabs/components/tab-button.js +1 -0
- package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
- package/dist/collection/components/bal-tag/bal-tag.js +1 -1
- package/dist/collection/components/bal-text/bal-text.js +2 -2
- package/dist/collection/components/bal-textarea/bal-textarea.js +1 -1
- package/dist/collection/components/bal-time-input/bal-time-input.js +1 -1
- package/dist/collection/components/bal-toast/bal-toast.js +1 -1
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +247 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/esm/app-globals-1ecf000f.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +2 -2
- package/dist/esm/bal-carousel_2.entry.js +3 -3
- package/dist/esm/bal-check.entry.js +32 -0
- package/dist/esm/bal-checkbox_2.entry.js +127 -105
- package/dist/esm/bal-close.entry.js +1 -1
- package/dist/esm/bal-content.entry.js +1 -1
- package/dist/esm/bal-data_4.entry.js +4 -4
- package/dist/esm/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm/bal-date-calendar_2.entry.js +3 -3
- package/dist/esm/bal-date.entry.js +1 -1
- package/dist/esm/bal-divider.entry.js +1 -1
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-dropdown.entry.js +2 -2
- package/dist/esm/bal-field_5.entry.js +8 -8
- package/dist/esm/bal-file-upload.entry.js +4 -4
- package/dist/esm/bal-footer.entry.js +7 -194
- package/dist/esm/bal-form-col_2.entry.js +3 -3
- package/dist/esm/bal-form.entry.js +1 -1
- package/dist/esm/bal-heading_2.entry.js +3 -3
- package/dist/esm/bal-hint_5.entry.js +13 -8
- package/dist/esm/bal-icon.entry.js +13 -2
- package/dist/esm/bal-input-group.entry.js +1 -1
- package/dist/esm/bal-input-slider.entry.js +4 -4
- package/dist/esm/bal-input-stepper.entry.js +3 -3
- package/dist/esm/bal-input.entry.js +1 -1
- package/dist/esm/bal-label.entry.js +1 -1
- package/dist/esm/bal-list_8.entry.js +10 -10
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-modal_3.entry.js +7 -7
- package/dist/esm/bal-nav_8.entry.js +56 -45
- package/dist/esm/bal-navbar_5.entry.js +8 -8
- package/dist/esm/bal-notices_3.entry.js +3 -3
- package/dist/esm/bal-notification.entry.js +1 -1
- package/dist/esm/bal-number-input.entry.js +1 -1
- package/dist/esm/bal-option_2.entry.js +8 -8
- package/dist/esm/bal-pagination.entry.js +7 -7
- package/dist/esm/bal-popup.entry.js +1 -1
- package/dist/esm/bal-progress-bar.entry.js +5 -5
- package/dist/esm/bal-radio-icon.entry.js +32 -0
- package/dist/esm/bal-radio_2.entry.js +157 -111
- package/dist/esm/bal-segment_2.entry.js +6 -6
- package/dist/esm/bal-select_2.entry.js +6 -6
- package/dist/esm/bal-shape.entry.js +5 -5
- package/dist/esm/bal-sheet.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +1 -1
- package/dist/esm/bal-stack.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +7 -7
- package/dist/esm/bal-step-item.entry.js +2 -2
- package/dist/esm/bal-steps.entry.js +10 -5
- package/dist/esm/bal-switch.entry.js +30 -0
- package/dist/esm/bal-tab-item_2.entry.js +17 -9
- package/dist/esm/bal-table.entry.js +2 -2
- package/dist/esm/bal-tag_2.entry.js +2 -2
- package/dist/esm/bal-textarea.entry.js +1 -1
- package/dist/esm/bal-time-input.entry.js +1 -1
- package/dist/esm/bal-tooltip.entry.js +1 -1
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-3c6214ed.js → breakpoints.decorator-ce089c47.js} +1 -1
- package/dist/esm/{breakpoints.subject-6b4e30ba.js → breakpoints.subject-c19884ad.js} +1 -1
- package/dist/esm/{app-globals-5dd5fe6b.js → global-6e86728b.js} +2 -4
- package/dist/esm/index.esm-21c97d14.js +200 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/initialize-be160cc4.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{tokens.esm-2ce9e0f4.js → tokens.esm-52d4f4c3.js} +1 -1
- package/dist/esm/{window-resize.decorator-3ffd7301.js → window-resize.decorator-f5b15e65.js} +1 -1
- package/dist/esm-es5/app-globals-1ecf000f.js +1 -0
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-check.entry.js +1 -0
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-content.entry.js +1 -1
- package/dist/esm-es5/bal-data_4.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-divider.entry.js +1 -1
- package/dist/esm-es5/bal-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
- package/dist/esm-es5/bal-form.entry.js +1 -1
- package/dist/esm-es5/bal-heading_2.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-group.entry.js +1 -1
- package/dist/esm-es5/bal-input-slider.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
- package/dist/esm-es5/bal-input.entry.js +1 -1
- package/dist/esm-es5/bal-label.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-modal_3.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-notices_3.entry.js +1 -1
- package/dist/esm-es5/bal-notification.entry.js +1 -1
- package/dist/esm-es5/bal-number-input.entry.js +1 -1
- package/dist/esm-es5/bal-option_2.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popup.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-radio-icon.entry.js +1 -0
- package/dist/esm-es5/bal-radio_2.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-select_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-sheet.entry.js +1 -1
- package/dist/esm-es5/bal-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stack.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.entry.js +1 -1
- package/dist/esm-es5/bal-step-item.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-switch.entry.js +1 -0
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/bal-table.entry.js +1 -1
- package/dist/esm-es5/bal-tag_2.entry.js +1 -1
- package/dist/esm-es5/bal-textarea.entry.js +1 -1
- package/dist/esm-es5/bal-time-input.entry.js +1 -1
- package/dist/esm-es5/bal-tooltip.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-ce089c47.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-6b4e30ba.js → breakpoints.subject-c19884ad.js} +1 -1
- package/dist/esm-es5/global-6e86728b.js +1 -0
- package/dist/esm-es5/index.esm-21c97d14.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-be160cc4.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{window-resize.decorator-3ffd7301.js → window-resize.decorator-f5b15e65.js} +1 -1
- package/dist/html.html-data.json +167 -112
- package/dist/types/components/bal-checkbox/bal-check/bal-check.d.ts +36 -0
- package/dist/types/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.d.ts +5 -5
- package/dist/types/components/bal-checkbox/bal-checkbox.d.ts +34 -34
- package/dist/types/components/bal-checkbox/bal-checkbox.interfaces.d.ts +2 -12
- package/dist/types/components/bal-checkbox/bal-switch/bal-switch.d.ts +32 -0
- package/dist/types/components/bal-icon/bal-icon.d.ts +2 -0
- package/dist/types/components/bal-nav/bal-nav-link/bal-nav-link.d.ts +5 -0
- package/dist/types/components/bal-nav/bal-nav.i18n.d.ts +3 -2
- package/dist/types/components/bal-option/bal-option.d.ts +2 -2
- package/dist/types/components/bal-radio/bal-radio-group/bal-radio-group.d.ts +14 -15
- package/dist/types/components/bal-radio/bal-radio-icon/bal-radio-icon.d.ts +36 -0
- package/dist/types/components/bal-radio/bal-radio.d.ts +45 -16
- package/dist/types/components/bal-radio/bal-radio.interfaces.d.ts +2 -12
- package/dist/types/components/bal-radio/bal-radio.type.d.ts +0 -1
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +6 -0
- package/dist/types/components/bal-tabs/bal-tab.type.d.ts +1 -0
- package/dist/types/components/bal-tabs/bal-tabs.d.ts +8 -0
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +236 -186
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
- package/package.json +6 -6
- package/components/bal-checkbox-button.js +0 -236
- package/components/bal-radio-button.js +0 -236
- package/dist/baloise-design-system/p-002d7bb9.js +0 -1
- package/dist/baloise-design-system/p-13d1a22814.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1d482bc569.entry.js +0 -1
- package/dist/baloise-design-system/p-29908af0fd.entry.js +0 -1
- package/dist/baloise-design-system/p-32322fa69a.entry.js +0 -1
- package/dist/baloise-design-system/p-345aa92d.system.js +0 -1
- package/dist/baloise-design-system/p-34caa16d21.entry.js +0 -1
- package/dist/baloise-design-system/p-38a74d2653.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3a022b8d82.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3c02768646.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3f6d4b4d69.entry.js +0 -1
- package/dist/baloise-design-system/p-3f86c5d396.entry.js +0 -1
- package/dist/baloise-design-system/p-470ce384f4.entry.js +0 -1
- package/dist/baloise-design-system/p-4915eb7e22.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4a2f22bde2.entry.js +0 -1
- package/dist/baloise-design-system/p-5218b32665.entry.js +0 -1
- package/dist/baloise-design-system/p-58c4ff0652.entry.js +0 -1
- package/dist/baloise-design-system/p-61f268e54c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-63a1bc9737.entry.js +0 -1
- package/dist/baloise-design-system/p-68bcae4459.entry.js +0 -1
- package/dist/baloise-design-system/p-7a3ec63587.system.entry.js +0 -1
- package/dist/baloise-design-system/p-84fb413164.entry.js +0 -1
- package/dist/baloise-design-system/p-8ffd1803be.system.entry.js +0 -1
- package/dist/baloise-design-system/p-90a7f09c63.entry.js +0 -1
- package/dist/baloise-design-system/p-96876b3902.entry.js +0 -1
- package/dist/baloise-design-system/p-97ca986ad0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a13164e512.entry.js +0 -1
- package/dist/baloise-design-system/p-a779279aae.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a9cd77d64b.entry.js +0 -1
- package/dist/baloise-design-system/p-b21ea8fd1f.entry.js +0 -1
- package/dist/baloise-design-system/p-b75d2a74cd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ba40faa1d5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c2c574cb.js +0 -1
- package/dist/baloise-design-system/p-c7e205efa7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d4f12ff22c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-dc18c95e40.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e6646714bb.entry.js +0 -1
- package/dist/baloise-design-system/p-f1186421ec.entry.js +0 -1
- package/dist/cjs/bal-checkbox-button.cjs.entry.js +0 -210
- package/dist/cjs/bal-radio-button.cjs.entry.js +0 -210
- package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.js +0 -484
- package/dist/collection/components/bal-checkbox/radio-checkbox.css +0 -1
- package/dist/collection/components/bal-radio/bal-radio-button/bal-radio-button.css +0 -1
- package/dist/collection/components/bal-radio/bal-radio-button/bal-radio-button.js +0 -481
- package/dist/esm/bal-checkbox-button.entry.js +0 -206
- package/dist/esm/bal-radio-button.entry.js +0 -206
- package/dist/esm-es5/app-globals-5dd5fe6b.js +0 -1
- package/dist/esm-es5/bal-checkbox-button.entry.js +0 -1
- package/dist/esm-es5/bal-radio-button.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-3c6214ed.js +0 -1
- package/dist/types/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.d.ts +0 -102
- package/dist/types/components/bal-radio/bal-radio-button/bal-radio-button.d.ts +0 -102
- /package/dist/baloise-design-system/{p-1f610a13.system.js → p-45b37776.system.js} +0 -0
- /package/dist/baloise-design-system/{p-c8c2e2d9.js → p-78593d15.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-2ce9e0f4.js → tokens.esm-52d4f4c3.js} +0 -0
|
@@ -4,23 +4,27 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84f42282.js');
|
|
6
6
|
const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
7
|
-
const
|
|
7
|
+
const index_esm = require('./index.esm-1f386b07.js');
|
|
8
|
+
const aria = require('./aria-7672033f.js');
|
|
9
|
+
const attributes = require('./attributes-11acd153.js');
|
|
8
10
|
const bem = require('./bem-81bc6a2d.js');
|
|
9
11
|
const focusVisible = require('./focus-visible-264bd9b8.js');
|
|
10
|
-
const log = require('./log-33398c2a.js');
|
|
11
|
-
const attributes = require('./attributes-11acd153.js');
|
|
12
|
-
const formInput = require('./form-input-e9974433.js');
|
|
13
12
|
const form = require('./form-17c98ac2.js');
|
|
14
|
-
const
|
|
15
|
-
const
|
|
13
|
+
const formInput = require('./form-input-e9974433.js');
|
|
14
|
+
const helpers = require('./helpers-debb881a.js');
|
|
15
|
+
const log = require('./log-33398c2a.js');
|
|
16
|
+
const elementStates_decorator = require('./element-states.decorator-aa5126e2.js');
|
|
16
17
|
const focus_decorator = require('./focus.decorator-14a4a576.js');
|
|
17
18
|
const mutation_decorator = require('./mutation.decorator-485e250e.js');
|
|
19
|
+
require('./index-3b7f8988.js');
|
|
20
|
+
require('./_commonjsHelpers-68cdf74f.js');
|
|
21
|
+
require('./index-758765f7.js');
|
|
18
22
|
require('./browser-1d542d0f.js');
|
|
19
23
|
require('./config.utils-df30e424.js');
|
|
20
24
|
require('./listener-52d2e5fd.js');
|
|
21
25
|
|
|
22
|
-
const radioCheckboxCss = "@media (hover: hover)and (pointer: fine){.bal-radio-checkbox.bal-focused.bal-radio-checkbox--select-button,.bal-radio-checkbox.bal-focused .bal-radio-checkbox__input:not(.bal-radio-checkbox__input--select-button)+.bal-radio-checkbox__label::before{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-checkbox-symbol-size:1.5rem;--bal-radio-checkbox-symbol-width:calc(0.5rem - 1px);--bal-radio-checkbox-symbol-height:calc(0.875rem - 1px);--bal-radio-checkbox-symbol-left:calc(0.5rem + 1px);--bal-radio-checkbox-symbol-margin-top:0.25rem;--bal-radio-checkbox-label-min-height:1.5rem;--bal-radio-checkbox-select-button-background-hover:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-checked:var(--bal-color-primary);--bal-radio-checkbox-select-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-background-invalid:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-checkbox-select-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-checkbox-select-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-radio-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-radio-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-radio-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-radio-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-radio-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-radio-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-radio-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-radio-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-radio-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-radio-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-radio-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-radio-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-radio-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white);--bal-radio-checkbox-button-background:transparent;--bal-radio-checkbox-button-background-checked-green:var(--bal-color-green-1);--bal-radio-checkbox-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-checkbox-button-background-checked-red:var(--bal-color-red-1);--bal-radio-checkbox-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-checkbox-button-background-disabled:var(--bal-color-grey-1);--bal-radio-checkbox-button-background-hover:var(--bal-color-grey-1);--bal-radio-checkbox-select-button-border-color:var(--bal-color-primary);--bal-radio-checkbox-select-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-checkbox-select-button-border-color-active:var(--bal-color-primary-6);--bal-radio-checkbox-select-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-checkbox-select-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-checkbox-select-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-checkbox-select-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-checkbox-button-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-checkbox-button-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-checkbox-button-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-checkbox-button-border-color:var(--bal-color-border);--bal-radio-checkbox-button-border-color-checked:var(--bal-color-border-primary);--bal-radio-checkbox-button-border-color-disabled:var(--bal-color-border-grey-dark);--bal-radio-checkbox-button-border-color-invalid:var(--bal-color-border-danger)}bal-radio .bal-radio-checkbox__label::before,bal-radio .bal-radio-checkbox__label::after{margin-top:0px !important}.bal-radio-checkbox-group{display:inline-block;position:relative;width:100%}.bal-radio-checkbox-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--select-button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-checkbox-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--expanded .bal-radio-checkbox{width:100%}}.bal-radio-checkbox-group__inner--select-button.bal-radio-checkbox-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-checkbox-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-checkbox-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-checkbox-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}.bal-radio-checkbox{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:1.5rem;min-height:3rem}.bal-radio-checkbox--flat:not(.bal-radio-checkbox--select-button){min-height:1.5rem}.bal-radio-checkbox__input{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox--invisible{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio-checkbox:not(.bal-radio-checkbox--disabled),.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label,.bal-radio-checkbox:not(.bal-radio-checkbox--disabled) input+label>span{cursor:pointer}.bal-radio-checkbox__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;margin:0;line-height:1.5rem;contain:layout style;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:left;min-height:var(--bal-radio-checkbox-label-min-height);font-family:var(--bal-font-family-text)}.bal-radio-checkbox__label__text{padding-left:2rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox__label__text--hidden{padding-left:0;display:none}.bal-radio-checkbox__label__text--flat{padding-top:0;padding-bottom:0}.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::before,.bal-radio-checkbox__label--flat:not(.bal-radio-checkbox--select-button)::after{top:0px !important}.bal-radio-checkbox__label--hidden::before,.bal-radio-checkbox__label--hidden::after{top:0px !important}.bal-radio-checkbox__label::before,.bal-radio-checkbox__label::after{display:inline-block;position:absolute;left:0;top:.25rem;height:var(--bal-radio-checkbox-symbol-size);width:var(--bal-radio-checkbox-symbol-size);background-color:rgba(0,0,0,0);background-position:center;background-repeat:no-repeat;background-size:var(--bal-radio-checkbox-symbol-size) var(--bal-radio-checkbox-symbol-size)}.bal-radio-checkbox__label::before{content:\"\";border-style:var(--bal-form-field-control-border-style);border-width:2px}.bal-radio-checkbox__label::after{content:none}.bal-radio-checkbox__label--checked::after{content:\"\"}.bal-radio-checkbox__label--radio::before,.bal-radio-checkbox__label--radio::after{border-radius:50%}.bal-radio-checkbox__label--radio::after{left:0;-webkit-transform:scale(0.25);transform:scale(0.25)}.bal-radio-checkbox__label--checkbox::before{border-radius:var(--bal-form-field-control-radius)}.bal-radio-checkbox__label--checkbox::after{border-top:0;border-right-style:var(--bal-form-field-control-border-style);border-right-width:2px;border-bottom-style:var(--bal-form-field-control-border-style);border-bottom-width:2px;border-left:0;border-radius:1px;width:var(--bal-radio-checkbox-symbol-width);height:var(--bal-radio-checkbox-symbol-height);left:var(--bal-radio-checkbox-symbol-left);margin-top:var(--bal-radio-checkbox-symbol-margin-top);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-primary);background:var(--bal-color-transparent)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-light-blue-5);background:var(--bal-color-grey-2)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-blue-6);background:var(--bal-color-grey-2)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-danger);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-5);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-danger-6);background:var(--bal-color-danger-1)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-border-grey-dark);background:var(--bal-color-grey-2)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-primary)}.bal-radio-checkbox:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-light-blue-5)}.bal-radio-checkbox:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-blue-6)}.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-border-danger)}.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-5)}.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--invalid.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-danger-6)}.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--hovered .bal-radio-checkbox__label .bal-radio-checkbox__label__text,.bal-radio-checkbox--disabled.bal-radio-checkbox--pressed .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-text-grey)}.bal-radio-checkbox--inline{display:inline}.bal-radio-checkbox--select-button{padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-checkbox-select-button-border-color)}.bal-radio-checkbox--select-button:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-hover);background:var(--bal-radio-checkbox-select-button-background-hover)}.bal-radio-checkbox--select-button:active{border-color:var(--bal-radio-checkbox-select-button-border-color-active);background:var(--bal-radio-checkbox-select-button-background-active)}.bal-radio-checkbox--select-button label::before{top:unset}.bal-radio-checkbox--select-button label::after{top:unset;margin-top:-3px}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::before{top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat::after{margin-top:-3px;top:unset !important}.bal-radio-checkbox--select-button .bal-radio-checkbox__label--flat .bal-radio-checkbox__label__text--flat{padding-top:.25rem;padding-bottom:.25rem}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked{background:var(--bal-radio-checkbox-select-button-background-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-radio-checkbox-select-button-link-text-color-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover{background:var(--bal-radio-checkbox-select-button-background-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active{background:var(--bal-radio-checkbox-select-button-background-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-primary)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-light-blue-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-blue-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--checked:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text{color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid);background:var(--bal-radio-checkbox-select-button-background-invalid)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-danger-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-active);background:var(--bal-radio-checkbox-select-button-background-invalid-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked);background:var(--bal-radio-checkbox-select-button-background-invalid-checked)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-hover);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-hover)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-invalid-checked-active);background:var(--bal-radio-checkbox-select-button-background-invalid-checked-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-danger)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-5)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-danger-6)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label .bal-radio-checkbox__label__text .is-link{color:var(--bal-form-field-label-disabled-color)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active{border-color:var(--bal-radio-checkbox-select-button-border-color-disabled-checked-hover-active);background:var(--bal-radio-checkbox-select-button-background-disabled-checked-hover-active)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch)::before{border-color:var(--bal-color-white);background:var(--bal-color-transparent)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::after{background:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--radio.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox::after{border-right-color:var(--bal-color-white);border-bottom-color:var(--bal-color-white)}.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before,.bal-radio-checkbox--select-button.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label:not(.bal-radio-checkbox__label--switch).bal-radio-checkbox__label--checkbox.bal-radio-checkbox__label--checked::before{background:var(--bal-color-border-grey-dark)}.bal-radio-checkbox--switch{min-width:2.5rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label{padding-left:1rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{border-radius:1.5rem;position:absolute;display:block;top:0;left:0;width:2.5rem;height:1.5rem;border:1.6px solid rgba(0,0,0,0);content:\"\";-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;margin-top:.25rem}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{border:none;margin:0;border-radius:50%;display:block;position:absolute;top:.25rem !important;left:.25rem;width:1rem;height:1rem;z-index:2;margin-top:.25rem;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:left .25s ease-out,background .25s ease-out;transition:left .25s ease-out,background .25s ease-out;content:\"\"}.bal-radio-checkbox--switch .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-before)}.bal-radio-checkbox--switch .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-after)}.bal-radio-checkbox--switch:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-hover-after)}.bal-radio-checkbox--switch:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--flat .bal-radio-checkbox__label::after{margin-top:0}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{left:1.25rem;background:var(--bal-radio-checkbox-switch-label-background-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:hover .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-hover-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-hover-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--invalid.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-invalid-checked-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-hover-active-after)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::before,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::before{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:hover .bal-radio-checkbox__label::after,.bal-radio-checkbox--switch.bal-radio-checkbox--disabled.bal-radio-checkbox--checked:active .bal-radio-checkbox__label::after{background:var(--bal-radio-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-radio-checkbox__icon{position:absolute !important;left:5.5px;z-index:1}.bal-radio-checkbox__icon--hidden{display:none !important}";
|
|
23
|
-
const BalRadioStyle0 =
|
|
26
|
+
const balRadioCss = "@media (hover: hover)and (pointer: fine){.bal-radio.bal-focused{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-radio-symbol-size:1.5rem;--bal-radio-symbol-border-width:2px;--bal-radio-symbol-background:transparent;--bal-radio-label-min-height:1.5rem;--bal-radio-button-background-hover:var(--bal-color-grey-2);--bal-radio-button-background-active:var(--bal-color-grey-2);--bal-radio-button-background-checked:var(--bal-color-primary);--bal-radio-button-background-checked-hover:var(--bal-color-light-blue-5);--bal-radio-button-background-checked-active:var(--bal-color-primary-6);--bal-radio-button-background-invalid:var(--bal-color-danger-1);--bal-radio-button-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-button-background-invalid-active:var(--bal-color-danger-1);--bal-radio-button-background-invalid-checked:var(--bal-color-border-danger);--bal-radio-button-background-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-button-background-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-button-background-disabled-hover-active:var(--bal-color-grey-2);--bal-radio-button-background-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-button-background:transparent;--bal-radio-button-background-checked-green:var(--bal-color-green-1);--bal-radio-button-background-checked-purple:var(--bal-color-purple-1);--bal-radio-button-background-checked-red:var(--bal-color-red-1);--bal-radio-button-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-button-background-disabled:var(--bal-color-grey-1);--bal-radio-button-background-hover:var(--bal-color-grey-1);--bal-radio-button-border-color:var(--bal-color-primary);--bal-radio-button-border-color-hover:var(--bal-color-light-blue-5);--bal-radio-button-border-color-active:var(--bal-color-primary-6);--bal-radio-button-border-color-invalid:var(--bal-color-border-danger);--bal-radio-button-border-color-invalid-hover:var(--bal-color-danger-5);--bal-radio-button-border-color-invalid-active:var(--bal-color-danger-6);--bal-radio-button-border-color-invalid-checked:var(--bal-color-border-danger);--bal-radio-button-border-color-invalid-checked-hover:var(--bal-color-danger-5);--bal-radio-button-border-color-invalid-checked-active:var(--bal-color-danger-6);--bal-radio-button-border-color-disabled-hover-active:var(--bal-color-border-grey-dark);--bal-radio-button-border-color-disabled-checked-hover-active:var(--bal-color-border-grey-dark);--bal-radio-tile-background:transparent;--bal-radio-tile-background-hover:var(--bal-color-grey-1);--bal-radio-tile-background-disabled:var(--bal-color-grey-1);--bal-radio-tile-background-invalid-hover:var(--bal-color-danger-1);--bal-radio-tile-background-invalid-active:var(--bal-color-danger-1);--bal-radio-tile-background-checked-green:var(--bal-color-green-1);--bal-radio-tile-background-checked-purple:var(--bal-color-purple-1);--bal-radio-tile-background-checked-red:var(--bal-color-red-1);--bal-radio-tile-background-checked-yellow:var(--bal-color-yellow-1);--bal-radio-tile-border-style:var(--bal-form-field-control-border-style);--bal-radio-tile-border-radius:var(--bal-form-field-control-radius);--bal-radio-tile-border-width:var(--bal-form-field-control-border-width);--bal-radio-tile-padding:var(--bal-text-size-medium);--bal-radio-tile-border-color:var(--bal-color-border);--bal-radio-tile-border-color-hover:var(--bal-color-border-primary-hovered);--bal-radio-tile-border-color-active:var(--bal-color-border-primary-pressed);--bal-radio-tile-border-color-invalid-hover:var(--bal-color-border-danger-hovered);--bal-radio-tile-border-color-invalid-active:var(--bal-color-border-danger-pressed);--bal-radio-tile-border-color-checked:var(--bal-color-border-primary);--bal-radio-tile-border-color-invalid:var(--bal-color-border-danger);--bal-radio-tile-border-color-disabled:var(--bal-color-border-grey-dark)}.bal-radio{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;outline:none;min-width:var(--bal-radio-symbol-size);border-radius:var(--bal-radius-normal);cursor:pointer}.bal-radio .bal-radio__label{cursor:pointer}.bal-radio--invisible{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-radio.bal-radio--flat{min-height:var(--bal-radio-symbol-size)}.bal-radio:not(.bal-radio--flat){min-height:3rem}.bal-radio--invalid{color:var(--bal-form-field-label-danger-color)}.bal-radio--disabled,.bal-radio--disabled .bal-radio__label{color:var(--bal-form-field-label-disabled-color);cursor:default}.bal-radio__input{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden;width:100%;height:100%}.bal-radio__label{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:.5rem;-ms-flex-direction:row;flex-direction:row}.bal-radio__label__text{-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;text-align:left;contain:layout style;font-family:var(--bal-font-family-text);padding-top:.25rem;padding-bottom:.25rem;width:100%}.bal-radio__label__text--hidden{display:none}.bal-radio__label__icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}@media (hover: hover)and (pointer: fine){.bal-radio:not(.bal-radio--button):not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--hovered .bal-radio__label__text,.bal-radio:not(.bal-radio--button):not(.bal-radio--disabled):not(.bal-radio--invalid):hover .bal-radio__label__text{color:var(--bal-color-text-primary-hovered)}.bal-radio:not(.bal-radio--button):not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--hovered .bal-radio__label__icon,.bal-radio:not(.bal-radio--button):not(.bal-radio--disabled):not(.bal-radio--invalid):hover .bal-radio__label__icon{color:var(--bal-color-text-primary-hovered)}}.bal-radio:not(.bal-radio--button):not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--pressed .bal-radio__label__text,.bal-radio:not(.bal-radio--button):not(.bal-radio--disabled):not(.bal-radio--invalid):active .bal-radio__label__text{color:var(--bal-color-text-primary-pressed)}.bal-radio:not(.bal-radio--button):not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--pressed .bal-radio__label__icon,.bal-radio:not(.bal-radio--button):not(.bal-radio--disabled):not(.bal-radio--invalid):active .bal-radio__label__icon{color:var(--bal-color-text-primary-pressed)}@media (hover: hover)and (pointer: fine){.bal-radio--invalid:not(.bal-radio--button):not(.bal-radio--disabled).bal-radio--hovered .bal-radio__label__text,.bal-radio--invalid:not(.bal-radio--button):not(.bal-radio--disabled):hover .bal-radio__label__text{color:var(--bal-color-text-danger-hovered)}.bal-radio--invalid:not(.bal-radio--button):not(.bal-radio--disabled).bal-radio--hovered .bal-radio__label__icon,.bal-radio--invalid:not(.bal-radio--button):not(.bal-radio--disabled):hover .bal-radio__label__icon{color:var(--bal-color-text-danger-hovered)}}.bal-radio--invalid:not(.bal-radio--button):not(.bal-radio--disabled).bal-radio--pressed .bal-radio__label__text,.bal-radio--invalid:not(.bal-radio--button):not(.bal-radio--disabled):active .bal-radio__label__text{color:var(--bal-color-text-danger-pressed)}.bal-radio--invalid:not(.bal-radio--button):not(.bal-radio--disabled).bal-radio--pressed .bal-radio__label__icon,.bal-radio--invalid:not(.bal-radio--button):not(.bal-radio--disabled):active .bal-radio__label__icon{color:var(--bal-color-text-danger-pressed)}.bal-radio--button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-x-small);-ms-flex-pack:center;justify-content:center;-ms-flex-align:start;align-items:flex-start;padding-left:.75rem;padding-right:.75rem;min-width:3rem;border-width:2px;border-style:var(--bal-form-field-control-border-style);border-radius:var(--bal-form-field-control-radius);border-color:var(--bal-radio-button-border-color)}.bal-radio--button.bal-radio--checked{background:var(--bal-radio-button-background-checked);color:var(--bal-color-white)}.bal-radio--button.bal-radio--checked .bal-radio__label__text,.bal-radio--button.bal-radio--checked .bal-radio__label__text .link{color:var(--bal-color-white)}.bal-radio--button.bal-radio--invalid{border-color:var(--bal-color-border-danger);color:var(--bal-color-text-danger-hovered);background:var(--bal-color-danger-1)}.bal-radio--button.bal-radio--invalid.bal-radio--checked{color:var(--bal-color-white);background:var(--bal-color-border-danger)}.bal-radio--button.bal-radio--invalid.bal-radio--checked .bal-radio__label__text,.bal-radio--button.bal-radio--invalid.bal-radio--checked .bal-radio__label__text .link{color:var(--bal-color-white)}.bal-radio--button.bal-radio--disabled{border-color:var(--bal-color-grey-4);background:var(--bal-color-grey-2)}.bal-radio--button.bal-radio--disabled .bal-radio__label__text{color:var(--bal-color-text-grey)}.bal-radio--button.bal-radio--disabled.bal-radio--checked{background:var(--bal-color-grey-4);color:var(--bal-color-white)}.bal-radio--button.bal-radio--disabled.bal-radio--checked .bal-radio__label__text,.bal-radio--button.bal-radio--disabled.bal-radio--checked .bal-radio__label__text .link{color:var(--bal-color-white)}@media (hover: hover)and (pointer: fine){.bal-radio--button:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--hovered,.bal-radio--button:not(.bal-radio--disabled):not(.bal-radio--invalid):hover{background:var(--bal-color-grey-2);border-color:var(--bal-color-border-primary-hovered)}.bal-radio--button:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--hovered .bal-radio__label__text,.bal-radio--button:not(.bal-radio--disabled):not(.bal-radio--invalid):hover .bal-radio__label__text{color:var(--bal-color-text-primary-hovered)}}.bal-radio--button:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--pressed,.bal-radio--button:not(.bal-radio--disabled):not(.bal-radio--invalid):active{background:var(--bal-color-grey-2);border-color:var(--bal-color-border-primary-pressed)}.bal-radio--button:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--pressed .bal-radio__label__text,.bal-radio--button:not(.bal-radio--disabled):not(.bal-radio--invalid):active .bal-radio__label__text{color:var(--bal-color-text-primary-pressed)}@media (hover: hover)and (pointer: fine){.bal-radio--button.bal-radio--checked:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--hovered,.bal-radio--button.bal-radio--checked:not(.bal-radio--disabled):not(.bal-radio--invalid):hover{background:var(--bal-color-border-primary-hovered);border-color:var(--bal-color-border-primary-hovered)}.bal-radio--button.bal-radio--checked:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--hovered .bal-radio__label__text,.bal-radio--button.bal-radio--checked:not(.bal-radio--disabled):not(.bal-radio--invalid):hover .bal-radio__label__text{color:var(--bal-color-white)}}.bal-radio--button.bal-radio--checked:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--pressed,.bal-radio--button.bal-radio--checked:not(.bal-radio--disabled):not(.bal-radio--invalid):active{background:var(--bal-color-border-primary-pressed);border-color:var(--bal-color-border-primary-pressed)}.bal-radio--button.bal-radio--checked:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--pressed .bal-radio__label__text,.bal-radio--button.bal-radio--checked:not(.bal-radio--disabled):not(.bal-radio--invalid):active .bal-radio__label__text{color:var(--bal-color-white)}@media (hover: hover)and (pointer: fine){.bal-radio--button.bal-radio--invalid:not(.bal-radio--disabled).bal-radio--hovered,.bal-radio--button.bal-radio--invalid:not(.bal-radio--disabled):hover{background:var(--bal-color-danger-1);border-color:var(--bal-color-border-danger-hovered)}.bal-radio--button.bal-radio--invalid:not(.bal-radio--disabled).bal-radio--hovered .bal-radio__label__text,.bal-radio--button.bal-radio--invalid:not(.bal-radio--disabled):hover .bal-radio__label__text{color:var(--bal-color-text-danger-hovered)}}.bal-radio--button.bal-radio--invalid:not(.bal-radio--disabled).bal-radio--pressed,.bal-radio--button.bal-radio--invalid:not(.bal-radio--disabled):active{background:var(--bal-color-danger-1);border-color:var(--bal-color-border-danger-pressed)}.bal-radio--button.bal-radio--invalid:not(.bal-radio--disabled).bal-radio--pressed .bal-radio__label__text,.bal-radio--button.bal-radio--invalid:not(.bal-radio--disabled):active .bal-radio__label__text{color:var(--bal-color-text-danger-pressed)}@media (hover: hover)and (pointer: fine){.bal-radio--button.bal-radio--invalid.bal-radio--checked:not(.bal-radio--disabled).bal-radio--hovered,.bal-radio--button.bal-radio--invalid.bal-radio--checked:not(.bal-radio--disabled):hover{background:var(--bal-color-border-danger-hovered);border-color:var(--bal-color-border-danger-hovered)}.bal-radio--button.bal-radio--invalid.bal-radio--checked:not(.bal-radio--disabled).bal-radio--hovered .bal-radio__label__text,.bal-radio--button.bal-radio--invalid.bal-radio--checked:not(.bal-radio--disabled):hover .bal-radio__label__text{color:var(--bal-color-white)}}.bal-radio--button.bal-radio--invalid.bal-radio--checked:not(.bal-radio--disabled).bal-radio--pressed,.bal-radio--button.bal-radio--invalid.bal-radio--checked:not(.bal-radio--disabled):active{background:var(--bal-color-border-danger-pressed);border-color:var(--bal-color-border-danger-pressed)}.bal-radio--button.bal-radio--invalid.bal-radio--checked:not(.bal-radio--disabled).bal-radio--pressed .bal-radio__label__text,.bal-radio--button.bal-radio--invalid.bal-radio--checked:not(.bal-radio--disabled):active .bal-radio__label__text{color:var(--bal-color-white)}.bal-radio--tile{display:block;-ms-flex:0 0 100%;flex:0 0 100%;background:var(--bal-radio-tile-background);border-style:var(--bal-radio-tile-border-style);border-radius:var(--bal-radio-tile-border-radius);border-width:var(--bal-radio-tile-border-width);border-color:var(--bal-radio-tile-border-color);padding:var(--bal-radio-tile-padding)}.bal-radio--tile .bal-radio__label{height:100%;-ms-flex-align:stretch;align-items:stretch}.bal-radio--tile.bal-radio--checked{border-color:var(--bal-radio-tile-border-color-checked)}.bal-radio--tile.bal-radio--invalid{border-color:var(--bal-radio-tile-border-color-invalid)}.bal-radio--tile.bal-radio--disabled{background:var(--bal-radio-tile-background-disabled);border-color:var(--bal-radio-tile-border-color-disabled);cursor:default}@media (hover: hover)and (pointer: fine){.bal-radio--tile:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--hovered,.bal-radio--tile:not(.bal-radio--disabled):not(.bal-radio--invalid):hover{background:var(--bal-radio-tile-background-hover);border-color:var(--bal-radio-tile-border-color-hover)}}.bal-radio--tile:not(.bal-radio--disabled):not(.bal-radio--invalid).bal-radio--pressed,.bal-radio--tile:not(.bal-radio--disabled):not(.bal-radio--invalid):active{background:var(--bal-radio-tile-background-hover);border-color:var(--bal-radio-tile-border-color-active)}@media (hover: hover)and (pointer: fine){.bal-radio--tile.bal-radio--invalid:not(.bal-radio--disabled).bal-radio--hovered,.bal-radio--tile.bal-radio--invalid:not(.bal-radio--disabled):hover{background:var(--bal-radio-tile-background-invalid-hover);border-color:var(--bal-radio-tile-border-color-invalid-hover)}}.bal-radio--tile.bal-radio--invalid:not(.bal-radio--disabled).bal-radio--pressed,.bal-radio--tile.bal-radio--invalid:not(.bal-radio--disabled):active{background:var(--bal-radio-tile-background-invalid-active);border-color:var(--bal-radio-tile-border-color-invalid-active)}.bal-radio--tile-color-green:not(.bal-radio--disabled).bal-radio--checked,.bal-radio--tile-color-green:not(.bal-radio--disabled).bal-radio--checked.bal-radio--hovered,.bal-radio--tile-color-green:not(.bal-radio--disabled).bal-radio--checked:hover{background:var(--bal-radio-tile-background-checked-green)}.bal-radio--tile-color-red:not(.bal-radio--disabled).bal-radio--checked,.bal-radio--tile-color-red:not(.bal-radio--disabled).bal-radio--checked.bal-radio--hovered,.bal-radio--tile-color-red:not(.bal-radio--disabled).bal-radio--checked:hover{background:var(--bal-radio-tile-background-checked-red)}.bal-radio--tile-color-purple:not(.bal-radio--disabled).bal-radio--checked,.bal-radio--tile-color-purple:not(.bal-radio--disabled).bal-radio--checked.bal-radio--hovered,.bal-radio--tile-color-purple:not(.bal-radio--disabled).bal-radio--checked:hover{background:var(--bal-radio-tile-background-checked-purple)}.bal-radio--tile-color-yellow:not(.bal-radio--disabled).bal-radio--checked,.bal-radio--tile-color-yellow:not(.bal-radio--disabled).bal-radio--checked.bal-radio--hovered,.bal-radio--tile-color-yellow:not(.bal-radio--disabled).bal-radio--checked:hover{background:var(--bal-radio-tile-background-checked-yellow)}@media screen and (min-width: 769px),print{.bal-radio--column-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-radio--column-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-radio--column-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (max-width: 768px){.bal-radio--column-mobile-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-radio--column-mobile-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-radio--column-mobile-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (min-width: 769px),print{.bal-radio--column-tablet-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-radio--column-tablet-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-radio--column-tablet-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}@media screen and (min-width: 1024px){.bal-radio--column-2{-ms-flex:0 0 calc(50% - var(--bal-space-normal)*1/2);flex:0 0 calc(50% - var(--bal-space-normal)*1/2)}.bal-radio--column-3{-ms-flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3);flex:0 0 calc(33.3333333333% - var(--bal-space-normal)*2/3)}.bal-radio--column-4{-ms-flex:0 0 calc(25% - var(--bal-space-normal)*3/4);flex:0 0 calc(25% - var(--bal-space-normal)*3/4)}}";
|
|
27
|
+
const BalRadioStyle0 = balRadioCss;
|
|
24
28
|
|
|
25
29
|
const Radio = class {
|
|
26
30
|
constructor(hostRef) {
|
|
@@ -31,35 +35,35 @@ const Radio = class {
|
|
|
31
35
|
this.inputId = `bal-rb-${radioIds++}`;
|
|
32
36
|
this.inheritedAttributes = {};
|
|
33
37
|
this.keyboardMode = true;
|
|
34
|
-
this.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
this.outerElementState = {
|
|
39
|
+
hovered: false,
|
|
40
|
+
pressed: false,
|
|
41
|
+
};
|
|
42
|
+
this.innerElementState = {
|
|
43
|
+
hovered: false,
|
|
44
|
+
pressed: false,
|
|
45
|
+
};
|
|
46
|
+
this.setChecked = (state) => {
|
|
47
|
+
this.checked = state;
|
|
48
|
+
this.balChange.emit(this.checked);
|
|
49
|
+
};
|
|
50
|
+
this.toggleChecked = (ev) => {
|
|
51
|
+
ev.preventDefault();
|
|
52
|
+
this.setFocus();
|
|
53
|
+
this.setChecked(!this.checked);
|
|
48
54
|
};
|
|
49
55
|
this.onClick = (ev) => {
|
|
50
|
-
|
|
56
|
+
if (this.disabled) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
51
59
|
const element = ev.target;
|
|
52
60
|
if (element.href) {
|
|
53
61
|
return;
|
|
54
62
|
}
|
|
55
|
-
if (
|
|
56
|
-
this.
|
|
57
|
-
(_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
58
|
-
ev.preventDefault();
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
formInput.stopEventBubbling(ev);
|
|
63
|
+
if (this.wasFocused) {
|
|
64
|
+
this.focused = true;
|
|
62
65
|
}
|
|
66
|
+
this.toggleChecked(ev);
|
|
63
67
|
};
|
|
64
68
|
this.onFocus = (ev) => {
|
|
65
69
|
if (this.disabled || this.readonly) {
|
|
@@ -69,6 +73,7 @@ const Radio = class {
|
|
|
69
73
|
this.balFocus.emit(ev);
|
|
70
74
|
if (this.keyboardMode) {
|
|
71
75
|
this.focused = true;
|
|
76
|
+
this.wasFocused = true;
|
|
72
77
|
}
|
|
73
78
|
};
|
|
74
79
|
this.onBlur = (ev) => {
|
|
@@ -79,15 +84,24 @@ const Radio = class {
|
|
|
79
84
|
this.focused = false;
|
|
80
85
|
};
|
|
81
86
|
this.onPointerDown = () => (this.keyboardMode = false);
|
|
82
|
-
this.onKeydown = (ev) =>
|
|
87
|
+
this.onKeydown = (ev) => {
|
|
88
|
+
if (!index_esm.isSpaceKey(ev)) {
|
|
89
|
+
this.wasFocused = false;
|
|
90
|
+
}
|
|
91
|
+
this.keyboardMode = focusVisible.FOCUS_KEYS.includes(ev.key);
|
|
92
|
+
};
|
|
93
|
+
this.wasFocused = false;
|
|
83
94
|
this.checked = false;
|
|
84
95
|
this.focused = false;
|
|
85
96
|
this.buttonTabindex = undefined;
|
|
86
97
|
this.ariaForm = form.defaultBalAriaForm;
|
|
98
|
+
this.mergedElementState = {
|
|
99
|
+
hovered: false,
|
|
100
|
+
pressed: false,
|
|
101
|
+
};
|
|
87
102
|
this.name = this.inputId;
|
|
88
103
|
this.value = undefined;
|
|
89
104
|
this.label = '';
|
|
90
|
-
this.invisible = false;
|
|
91
105
|
this.labelHidden = false;
|
|
92
106
|
this.flat = false;
|
|
93
107
|
this.interface = 'radio';
|
|
@@ -98,25 +112,40 @@ const Radio = class {
|
|
|
98
112
|
this.invalid = false;
|
|
99
113
|
this.hovered = false;
|
|
100
114
|
this.pressed = false;
|
|
115
|
+
this.color = undefined;
|
|
116
|
+
this.colSize = 1;
|
|
117
|
+
this.colSizeTablet = 1;
|
|
118
|
+
this.colSizeMobile = 1;
|
|
101
119
|
}
|
|
102
120
|
createLogger(log) {
|
|
103
121
|
this.log = log;
|
|
104
122
|
}
|
|
123
|
+
hoveredChanged() {
|
|
124
|
+
this.innerElementState = {
|
|
125
|
+
hovered: this.hovered,
|
|
126
|
+
pressed: this.pressed,
|
|
127
|
+
};
|
|
128
|
+
this.mergeElementState();
|
|
129
|
+
}
|
|
130
|
+
pressedChanged() {
|
|
131
|
+
this.innerElementState = {
|
|
132
|
+
hovered: this.hovered,
|
|
133
|
+
pressed: this.pressed,
|
|
134
|
+
};
|
|
135
|
+
this.mergeElementState();
|
|
136
|
+
}
|
|
105
137
|
/**
|
|
106
138
|
* LIFECYCLE
|
|
107
139
|
* ------------------------------------------------------
|
|
108
140
|
*/
|
|
109
141
|
connectedCallback() {
|
|
142
|
+
this.hoveredChanged();
|
|
110
143
|
if (this.value === undefined) {
|
|
111
144
|
this.value = this.inputId;
|
|
112
145
|
}
|
|
113
|
-
|
|
114
|
-
const radioGroup = this.radioGroup;
|
|
115
|
-
if (radioButton || radioGroup) {
|
|
146
|
+
if (this.group) {
|
|
116
147
|
this.updateState();
|
|
117
|
-
|
|
118
|
-
if (radioGroup) {
|
|
119
|
-
radioGroup.addEventListener('balInput', this.updateState);
|
|
148
|
+
this.group.addEventListener('balChange', this.updateState);
|
|
120
149
|
}
|
|
121
150
|
this.el.addEventListener('keydown', this.onKeydown);
|
|
122
151
|
this.el.addEventListener('touchstart', this.onPointerDown);
|
|
@@ -125,10 +154,16 @@ const Radio = class {
|
|
|
125
154
|
componentWillLoad() {
|
|
126
155
|
this.inheritedAttributes = attributes.inheritAttributes(this.el, ['aria-label', 'tabindex', 'title']);
|
|
127
156
|
}
|
|
157
|
+
componentWillRender() {
|
|
158
|
+
this.interactionChildElements.forEach(el => {
|
|
159
|
+
el.disabled = this.disabled || this.readonly;
|
|
160
|
+
el.invalid = this.invalid;
|
|
161
|
+
el.checked = this.checked;
|
|
162
|
+
});
|
|
163
|
+
}
|
|
128
164
|
disconnectedCallback() {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
radioGroup.removeEventListener('balInput', this.updateState);
|
|
165
|
+
if (this.group) {
|
|
166
|
+
this.group.removeEventListener('balChange', this.updateState);
|
|
132
167
|
}
|
|
133
168
|
this.el.removeEventListener('keydown', this.onKeydown);
|
|
134
169
|
this.el.removeEventListener('touchstart', this.onPointerDown);
|
|
@@ -145,25 +180,31 @@ const Radio = class {
|
|
|
145
180
|
formInput.stopEventBubbling(ev);
|
|
146
181
|
}
|
|
147
182
|
}
|
|
183
|
+
elementStateListener(info) {
|
|
184
|
+
this.outerElementState = info;
|
|
185
|
+
this.mergeElementState();
|
|
186
|
+
}
|
|
148
187
|
/**
|
|
149
188
|
* PUBLIC METHODS
|
|
150
189
|
* ------------------------------------------------------
|
|
151
190
|
*/
|
|
152
|
-
/**
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
191
|
+
/**
|
|
192
|
+
* Sets the focus on the checkbox input element.
|
|
193
|
+
*/
|
|
194
|
+
async setFocus() {
|
|
195
|
+
formInput.inputSetFocus(this);
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Sets blur on the native `input`. Use this method instead of the global
|
|
199
|
+
* `input.blur()`.
|
|
200
|
+
* @internal
|
|
201
|
+
*/
|
|
202
|
+
async setBlur() {
|
|
203
|
+
formInput.inputSetBlur(this);
|
|
158
204
|
}
|
|
159
205
|
/** @internal */
|
|
160
206
|
async setButtonTabindex(value) {
|
|
161
|
-
|
|
162
|
-
this.buttonTabindex = -1;
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
this.buttonTabindex = value;
|
|
166
|
-
}
|
|
207
|
+
this.buttonTabindex = value;
|
|
167
208
|
}
|
|
168
209
|
/**
|
|
169
210
|
* Returns the native `<input>` element used under the hood.
|
|
@@ -182,18 +223,18 @@ const Radio = class {
|
|
|
182
223
|
* Options of the tab like label, value etc.
|
|
183
224
|
*/
|
|
184
225
|
async updateState() {
|
|
185
|
-
if (this.
|
|
186
|
-
const newChecked = this.
|
|
226
|
+
if (this.group) {
|
|
227
|
+
const newChecked = this.group.value === this.value;
|
|
187
228
|
if (newChecked !== this.checked) {
|
|
188
229
|
this.checked = newChecked;
|
|
189
230
|
}
|
|
190
231
|
}
|
|
191
|
-
if (this.radioButton) {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
232
|
+
// if (this.radioButton) {
|
|
233
|
+
// this.buttonTabindex = -1
|
|
234
|
+
// if (this.radioButton.setChecked) {
|
|
235
|
+
// this.radioButton.setChecked(this.checked)
|
|
236
|
+
// }
|
|
237
|
+
// }
|
|
197
238
|
}
|
|
198
239
|
/**
|
|
199
240
|
* @internal
|
|
@@ -205,16 +246,12 @@ const Radio = class {
|
|
|
205
246
|
* GETTERS
|
|
206
247
|
* ------------------------------------------------------
|
|
207
248
|
*/
|
|
208
|
-
get
|
|
209
|
-
return this.el.closest('bal-radio-button');
|
|
210
|
-
}
|
|
211
|
-
get radioGroup() {
|
|
249
|
+
get group() {
|
|
212
250
|
return this.el.closest('bal-radio-group');
|
|
213
251
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
*/
|
|
252
|
+
get interactionChildElements() {
|
|
253
|
+
return Array.from(this.el.querySelectorAll('bal-radio-icon, bal-icon'));
|
|
254
|
+
}
|
|
218
255
|
get option() {
|
|
219
256
|
return {
|
|
220
257
|
name: this.name,
|
|
@@ -227,7 +264,6 @@ const Radio = class {
|
|
|
227
264
|
readonly: this.readonly,
|
|
228
265
|
required: this.required,
|
|
229
266
|
nonSubmit: this.nonSubmit,
|
|
230
|
-
invisible: this.invisible,
|
|
231
267
|
invalid: this.invalid,
|
|
232
268
|
};
|
|
233
269
|
}
|
|
@@ -235,38 +271,50 @@ const Radio = class {
|
|
|
235
271
|
* EVENT BINDING
|
|
236
272
|
* ------------------------------------------------------
|
|
237
273
|
*/
|
|
238
|
-
|
|
239
|
-
this.
|
|
240
|
-
|
|
241
|
-
|
|
274
|
+
mergeElementState() {
|
|
275
|
+
this.mergedElementState = {
|
|
276
|
+
hovered: this.outerElementState.hovered || this.innerElementState.hovered,
|
|
277
|
+
pressed: this.outerElementState.pressed || this.innerElementState.pressed,
|
|
278
|
+
};
|
|
279
|
+
this.interactionChildElements.forEach(el => {
|
|
280
|
+
el.hovered = this.mergedElementState.hovered;
|
|
281
|
+
el.pressed = this.mergedElementState.pressed;
|
|
282
|
+
});
|
|
242
283
|
}
|
|
243
284
|
/**
|
|
244
285
|
* RENDER
|
|
245
286
|
* ------------------------------------------------------
|
|
246
287
|
*/
|
|
247
288
|
render() {
|
|
248
|
-
const block = bem.BEM.block('radio
|
|
289
|
+
const block = bem.BEM.block('radio');
|
|
249
290
|
const inputEl = block.element('input');
|
|
250
291
|
const labelEl = block.element('label');
|
|
251
292
|
const labelTextEl = labelEl.element('text');
|
|
293
|
+
const labelIconEl = labelEl.element('icon');
|
|
252
294
|
const focused = this.focused && this.buttonTabindex !== -1;
|
|
253
295
|
const value = typeof this.value === 'boolean' ? JSON.stringify(this.value) : this.value;
|
|
296
|
+
const hasFormControl = !this.nonSubmit;
|
|
297
|
+
const id = this.ariaForm.controlId || this.inputId;
|
|
298
|
+
const labelId = this.ariaForm.labelId || null;
|
|
299
|
+
const LabelTag = hasFormControl ? 'label' : 'span';
|
|
254
300
|
const inputAttributes = this.inheritedAttributes;
|
|
255
301
|
if (this.buttonTabindex !== undefined) {
|
|
256
302
|
inputAttributes.tabIndex = this.buttonTabindex;
|
|
257
303
|
}
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
const LabelTag = this.labelHidden ? 'span' : 'label';
|
|
261
|
-
const labelAttributes = {};
|
|
262
|
-
if (!this.labelHidden) {
|
|
263
|
-
labelId = `${labelId || ''} ${id}-lbl`.trim();
|
|
264
|
-
labelAttributes.id = `${id}-lbl`;
|
|
265
|
-
labelAttributes.htmlFor = id;
|
|
304
|
+
if (this.labelHidden) {
|
|
305
|
+
inputAttributes['aria-labelledby'] = labelId;
|
|
266
306
|
}
|
|
267
|
-
return (index.h(index.Host, { key: '
|
|
307
|
+
return (index.h(index.Host, { key: '9c108eed067c8d47d94180715714ed97d7c2df2d', "aria-checked": `${this.checked}`, "aria-disabled": aria.ariaBooleanToString(this.disabled), "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-hidden": this.disabled ? 'true' : null, "aria-focused": focused ? 'true' : null, "aria-labelledby": labelId, "aria-describedby": this.ariaForm.messageId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ 'bal-focused': focused }, block.class()), block.modifier('button').class(this.interface === 'button')), block.modifier('tile').class(this.interface === 'tile')), block.modifier(`tile-color-${this.color}`).class(this.interface === 'tile' && !!this.color)), block.modifier('invalid').class(this.invalid)), block.modifier('checked').class(this.checked)), block.modifier('flat').class(this.flat)), block.modifier('disabled').class(this.disabled || this.readonly)), block.modifier('hovered').class(this.hovered)), block.modifier('pressed').class(this.pressed)), block.modifier(`column-${this.colSize}`).class(this.interface === 'tile' && this.colSize > 1)), block
|
|
308
|
+
.modifier(`column-tablet-${this.colSizeTablet}`)
|
|
309
|
+
.class(this.interface === 'tile' && this.colSizeTablet > 1)), block
|
|
310
|
+
.modifier(`column-mobile-${this.colSizeMobile}`)
|
|
311
|
+
.class(this.interface === 'tile' && this.colSizeMobile > 1)), onClick: this.onClick }, index.h(LabelTag, { key: '4b3d8626b04257821c3fe1ef713fe9ff9bf0a925', class: Object.assign({}, labelEl.class()), "data-testid": "bal-radio-label" }, hasFormControl ? (index.h("input", Object.assign({ id: id, type: "radio", "data-testid": "bal-radio-input", name: this.name, value: value, checked: this.checked, required: this.required, disabled: this.disabled || this.nonSubmit, readonly: this.readonly, class: Object.assign({}, inputEl.class()), "aria-hidden": aria.ariaBooleanToString(this.nonSubmit), "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-describedby": this.ariaForm.messageId, onChange: ev => this.toggleChecked(ev), onFocus: ev => this.onFocus(ev), onBlur: ev => this.onBlur(ev), ref: inputEl => (this.nativeInput = inputEl) }, inputAttributes))) : (''), this.interface !== 'tile' ? (index.h("div", { class: Object.assign({}, labelIconEl.class()) }, index.h("bal-radio-icon", { checked: this.checked, disabled: this.disabled || this.readonly, invalid: this.invalid, inverted: this.interface === 'button' && this.checked, hovered: this.mergedElementState.hovered, pressed: this.mergedElementState.pressed }))) : (''), index.h("div", { key: 'de3d15790b976a11a18435e5e7c816f9cc9918c3', class: Object.assign(Object.assign({}, labelTextEl.class()), labelTextEl.modifier('hidden').class(this.labelHidden)) }, index.h("slot", { key: '0a6ef4b1a0ebbdd01b1367c8965cfedf05b9acec' })))));
|
|
268
312
|
}
|
|
269
313
|
get el() { return index.getElement(this); }
|
|
314
|
+
static get watchers() { return {
|
|
315
|
+
"hovered": ["hoveredChanged"],
|
|
316
|
+
"pressed": ["pressedChanged"]
|
|
317
|
+
}; }
|
|
270
318
|
};
|
|
271
319
|
tslib_es6.__decorate([
|
|
272
320
|
log.Logger('bal-radio'),
|
|
@@ -274,9 +322,18 @@ tslib_es6.__decorate([
|
|
|
274
322
|
tslib_es6.__metadata("design:paramtypes", [Function]),
|
|
275
323
|
tslib_es6.__metadata("design:returntype", void 0)
|
|
276
324
|
], Radio.prototype, "createLogger", null);
|
|
325
|
+
tslib_es6.__decorate([
|
|
326
|
+
elementStates_decorator.ListenToElementStates(),
|
|
327
|
+
tslib_es6.__metadata("design:type", Function),
|
|
328
|
+
tslib_es6.__metadata("design:paramtypes", [Object]),
|
|
329
|
+
tslib_es6.__metadata("design:returntype", void 0)
|
|
330
|
+
], Radio.prototype, "elementStateListener", null);
|
|
277
331
|
let radioIds = 0;
|
|
278
332
|
Radio.style = BalRadioStyle0;
|
|
279
333
|
|
|
334
|
+
const balRadioGroupCss = ".bal-radio-group{display:inline-block;position:relative;width:100%}.bal-radio-group__inner{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-normal)}.bal-radio-group__inner--button{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex:1;flex:1;gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-radio-group__inner--button{-ms-flex-direction:row;flex-direction:row}}.bal-radio-group__inner--expanded{-ms-flex-align:stretch;align-items:stretch}.bal-radio-group__inner--expanded .bal-radio{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-radio-group__inner--expanded .bal-radio{width:100%}}.bal-radio-group__inner--button.bal-radio-group__inner--vertical{gap:var(--bal-space-x-small)}.bal-radio-group__inner--vertical{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}@media screen and (min-width: 769px),print{.bal-radio-group__inner--vertical{-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 768px){.bal-radio-group__inner--vertical-mobile{-ms-flex-direction:column;flex-direction:column;border-radius:var(--bal-radius-normal);gap:0}}";
|
|
335
|
+
const BalRadioGroupStyle0 = balRadioGroupCss;
|
|
336
|
+
|
|
280
337
|
const RadioGroup = class {
|
|
281
338
|
constructor(hostRef) {
|
|
282
339
|
index.registerInstance(this, hostRef);
|
|
@@ -340,17 +397,17 @@ const RadioGroup = class {
|
|
|
340
397
|
};
|
|
341
398
|
this.ariaForm = form.defaultBalAriaForm;
|
|
342
399
|
this.options = undefined;
|
|
400
|
+
this.interface = undefined;
|
|
343
401
|
this.allowEmptySelection = false;
|
|
344
402
|
this.name = this.inputId;
|
|
345
|
-
this.value = undefined;
|
|
346
|
-
this.interface = undefined;
|
|
347
403
|
this.vertical = false;
|
|
348
404
|
this.verticalOnMobile = false;
|
|
349
405
|
this.expanded = false;
|
|
350
406
|
this.invalid = undefined;
|
|
351
407
|
this.disabled = undefined;
|
|
352
408
|
this.readonly = undefined;
|
|
353
|
-
this.
|
|
409
|
+
this.value = undefined;
|
|
410
|
+
this.columns = 1;
|
|
354
411
|
this.columnsTablet = 1;
|
|
355
412
|
this.columnsMobile = 1;
|
|
356
413
|
this.autoInvalidOff = false;
|
|
@@ -362,17 +419,11 @@ const RadioGroup = class {
|
|
|
362
419
|
this.onOptionChange();
|
|
363
420
|
this.mutationObserverActive = this.options === undefined;
|
|
364
421
|
}
|
|
365
|
-
valueChanged() {
|
|
366
|
-
this.onOptionChange();
|
|
367
|
-
}
|
|
368
422
|
invalidChanged(value) {
|
|
369
423
|
if (value !== undefined) {
|
|
370
424
|
this.getRadios().forEach(radio => {
|
|
371
425
|
radio.invalid = value;
|
|
372
426
|
});
|
|
373
|
-
this.getRadioButtons().forEach(radio => {
|
|
374
|
-
radio.invalid = value;
|
|
375
|
-
});
|
|
376
427
|
}
|
|
377
428
|
}
|
|
378
429
|
disabledChanged(value) {
|
|
@@ -380,9 +431,6 @@ const RadioGroup = class {
|
|
|
380
431
|
this.getRadios().forEach(radio => {
|
|
381
432
|
radio.disabled = value;
|
|
382
433
|
});
|
|
383
|
-
this.getRadioButtons().forEach(radio => {
|
|
384
|
-
radio.disabled = value;
|
|
385
|
-
});
|
|
386
434
|
}
|
|
387
435
|
}
|
|
388
436
|
readonlyChanged(value) {
|
|
@@ -390,19 +438,19 @@ const RadioGroup = class {
|
|
|
390
438
|
this.getRadios().forEach(radio => {
|
|
391
439
|
radio.readonly = value;
|
|
392
440
|
});
|
|
393
|
-
this.getRadioButtons().forEach(radio => {
|
|
394
|
-
radio.readonly = value;
|
|
395
|
-
});
|
|
396
441
|
}
|
|
397
442
|
}
|
|
443
|
+
valueChanged() {
|
|
444
|
+
this.onOptionChange();
|
|
445
|
+
}
|
|
398
446
|
columnsChanged(value) {
|
|
399
|
-
this.
|
|
447
|
+
this.getRadios().forEach(radio => (radio.colSize = value));
|
|
400
448
|
}
|
|
401
449
|
columnsTabletChanged(value) {
|
|
402
|
-
this.
|
|
450
|
+
this.getRadios().forEach(radio => (radio.colSizeTablet = value));
|
|
403
451
|
}
|
|
404
452
|
columnsMobileChanged(value) {
|
|
405
|
-
this.
|
|
453
|
+
this.getRadios().forEach(radio => (radio.colSizeMobile = value));
|
|
406
454
|
}
|
|
407
455
|
/**
|
|
408
456
|
* LIFECYCLE
|
|
@@ -417,7 +465,7 @@ const RadioGroup = class {
|
|
|
417
465
|
this.disabledChanged(this.disabled);
|
|
418
466
|
this.readonlyChanged(this.readonly);
|
|
419
467
|
this.invalidChanged(this.invalid);
|
|
420
|
-
this.columnsChanged(this.
|
|
468
|
+
this.columnsChanged(this.columns);
|
|
421
469
|
this.columnsTabletChanged(this.columnsTablet);
|
|
422
470
|
this.columnsMobileChanged(this.columnsMobile);
|
|
423
471
|
this.onOptionChange();
|
|
@@ -434,7 +482,7 @@ const RadioGroup = class {
|
|
|
434
482
|
this.disabledChanged(this.disabled);
|
|
435
483
|
this.readonlyChanged(this.readonly);
|
|
436
484
|
this.invalidChanged(this.invalid);
|
|
437
|
-
this.columnsChanged(this.
|
|
485
|
+
this.columnsChanged(this.columns);
|
|
438
486
|
this.columnsTabletChanged(this.columnsTablet);
|
|
439
487
|
this.columnsMobileChanged(this.columnsMobile);
|
|
440
488
|
this.onOptionChange();
|
|
@@ -545,15 +593,12 @@ const RadioGroup = class {
|
|
|
545
593
|
getRadios() {
|
|
546
594
|
return Array.from(this.el.querySelectorAll('bal-radio'));
|
|
547
595
|
}
|
|
548
|
-
getRadioButtons() {
|
|
549
|
-
return Array.from(this.el.querySelectorAll('bal-radio-button'));
|
|
550
|
-
}
|
|
551
596
|
/**
|
|
552
597
|
* RENDER
|
|
553
598
|
* ------------------------------------------------------
|
|
554
599
|
*/
|
|
555
600
|
render() {
|
|
556
|
-
const block = bem.BEM.block('radio-
|
|
601
|
+
const block = bem.BEM.block('radio-group');
|
|
557
602
|
const innerEl = block.element('inner');
|
|
558
603
|
const rawOptions = this.options || [];
|
|
559
604
|
const options = rawOptions.map(option => {
|
|
@@ -562,16 +607,16 @@ const RadioGroup = class {
|
|
|
562
607
|
}
|
|
563
608
|
return option;
|
|
564
609
|
});
|
|
565
|
-
return (index.h(index.Host, Object.assign({ class: Object.assign({}, block.class()), role: "radiogroup", "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-disabled": aria.ariaBooleanToString(this.disabled), onClick: this.onClick }, this.inheritedAttributes), index.h("div", { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, innerEl.class()), innerEl.modifier('vertical-mobile').class(this.verticalOnMobile)), innerEl.modifier('vertical').class(this.vertical)), innerEl.modifier('expanded').class(this.expanded)), innerEl.modifier('
|
|
610
|
+
return (index.h(index.Host, Object.assign({ class: Object.assign({}, block.class()), role: "radiogroup", "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-disabled": aria.ariaBooleanToString(this.disabled), onClick: this.onClick }, this.inheritedAttributes), index.h("div", { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, innerEl.class()), innerEl.modifier('vertical-mobile').class(this.verticalOnMobile)), innerEl.modifier('vertical').class(this.vertical)), innerEl.modifier('expanded').class(this.expanded)), innerEl.modifier('button').class(this.interface === 'button')) }, index.h("slot", null), options.map(option => (index.h("bal-radio", { key: option.value, name: option.name || this.name, value: option.value, labelHidden: option.labelHidden, flat: option.flat, interface: option.interface, disabled: option.disabled, readonly: option.readonly, required: option.required, nonSubmit: !!option.nonSubmit, invalid: option.invalid, innerHTML: option.html }))))));
|
|
566
611
|
}
|
|
567
612
|
get el() { return index.getElement(this); }
|
|
568
613
|
static get watchers() { return {
|
|
569
614
|
"options": ["optionChanged"],
|
|
570
|
-
"value": ["valueChanged"],
|
|
571
615
|
"invalid": ["invalidChanged"],
|
|
572
616
|
"disabled": ["disabledChanged"],
|
|
573
617
|
"readonly": ["readonlyChanged"],
|
|
574
|
-
"
|
|
618
|
+
"value": ["valueChanged"],
|
|
619
|
+
"columns": ["columnsChanged"],
|
|
575
620
|
"columnsTablet": ["columnsTabletChanged"],
|
|
576
621
|
"columnsMobile": ["columnsMobileChanged"]
|
|
577
622
|
}; }
|
|
@@ -601,6 +646,7 @@ tslib_es6.__decorate([
|
|
|
601
646
|
tslib_es6.__metadata("design:returntype", void 0)
|
|
602
647
|
], RadioGroup.prototype, "mutationListener", null);
|
|
603
648
|
let radioGroupIds = 0;
|
|
649
|
+
RadioGroup.style = BalRadioGroupStyle0;
|
|
604
650
|
|
|
605
651
|
exports.bal_radio = Radio;
|
|
606
652
|
exports.bal_radio_group = RadioGroup;
|