@baloise/ds-core 18.3.0 → 19.0.0-nightly.20250509
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-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-082910ce81.entry.js +1 -0
- package/dist/baloise-design-system/p-082a89fd30.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-72a3289f25.system.entry.js → p-20e3bfbb0c.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-2572c23123.system.entry.js +1 -0
- package/dist/baloise-design-system/p-27c3dc7c50.system.entry.js +1 -0
- package/dist/baloise-design-system/p-294f38c2.js +1 -0
- package/dist/baloise-design-system/p-2bbb01c474.entry.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-343cc097d4.entry.js +1 -0
- 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-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-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-4268eae868.entry.js +1 -0
- package/dist/baloise-design-system/p-42e66219.system.js +1 -0
- package/dist/baloise-design-system/{p-038c618cc5.entry.js → p-43df3f96b2.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fb95929111.system.entry.js → p-4412395268.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-444609cbe9.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-c4320b3a46.system.entry.js → p-451b8097a4.system.entry.js} +1 -1
- 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-4b7465452a.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-2e7c157f61.entry.js → p-4d4079953a.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-c1a3776980.entry.js → p-5123c3e1e0.entry.js} +1 -1
- package/dist/baloise-design-system/p-52c3489583.entry.js +1 -0
- package/dist/baloise-design-system/p-5324a7ab.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-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-712e5c9739.system.entry.js → p-60c68d25c4.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-659ecadc.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-a2dff75011.entry.js → p-666a9d55c7.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-ade97788.js → p-6c11a4c3.js} +1 -1
- 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-25617878.system.js → p-7b156b4d.system.js} +1 -1
- package/dist/baloise-design-system/{p-1ba2dc4b48.entry.js → p-7cbb14c480.entry.js} +1 -1
- package/dist/baloise-design-system/{p-60c0b0fb.js → p-7da7cd7c.js} +1 -1
- package/dist/baloise-design-system/{p-9ee4bb3be6.system.entry.js → p-8283bbef6f.system.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-2697b3c0.system.js → p-8b10b332.system.js} +1 -1
- package/dist/baloise-design-system/p-8bec751e53.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-aebe807c86.entry.js → p-94bc056cae.entry.js} +1 -1
- 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-9070cf534c.system.entry.js → p-a1449d0827.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a3cb7f216f.entry.js → p-a5d11f6c62.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-42e06975cf.system.entry.js → p-aa16fc7aa2.system.entry.js} +2 -2
- package/dist/baloise-design-system/p-aa9757a2ea.entry.js +1 -0
- 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-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-c0c4b24075.entry.js → p-bc43872fb6.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-0f9d3cbaaf.entry.js → p-c90cd86f85.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0aeaf649aa.system.entry.js → p-ca695a8138.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-152b86b426.system.entry.js → p-caf5a6e146.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cce29204c3.system.entry.js → p-cb7d0a8cb9.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-934c6104.system.js → p-e41812bb.system.js} +1 -1
- package/dist/baloise-design-system/{p-a2ea159e.system.js → p-e4d8ae4c.system.js} +1 -1
- package/dist/baloise-design-system/{p-b5e8f8c5b5.system.entry.js → p-e5604d449d.system.entry.js} +1 -1
- 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-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-10b2b667.js} +1 -1
- package/dist/cjs/{breakpoints.subject-99007fbd.js → breakpoints.subject-8005c9b5.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-4aa78904.js} +1 -1
- package/dist/cjs/{window-resize.decorator-dd0ecc12.js → window-resize.decorator-affeaa95.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-e80940e3.js} +1 -1
- package/dist/esm/{breakpoints.subject-6b4e30ba.js → breakpoints.subject-aec2b7f5.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-81c8add4.js} +1 -1
- package/dist/esm/{window-resize.decorator-3ffd7301.js → window-resize.decorator-b5f242c8.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-3c6214ed.js → breakpoints.decorator-e80940e3.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-6b4e30ba.js → breakpoints.subject-aec2b7f5.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-b5f242c8.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/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-c8c2e2d9.js → p-023ed22f.js} +0 -0
- /package/dist/baloise-design-system/{p-1f610a13.system.js → p-c9190d73.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-2ce9e0f4.js → tokens.esm-81c8add4.js} +0 -0
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { isSpaceKey } from "@baloise/web-app-utils";
|
|
2
3
|
import { h, Host, } from "@stencil/core";
|
|
3
|
-
import {
|
|
4
|
+
import { ariaBooleanToString } from "../../utils/aria";
|
|
5
|
+
import { inheritAttributes } from "../../utils/attributes";
|
|
4
6
|
import { BEM } from "../../utils/bem";
|
|
7
|
+
import { ListenToElementStates } from "../../utils/element-states";
|
|
5
8
|
import { FOCUS_KEYS } from "../../utils/focus-visible";
|
|
6
|
-
import { Logger } from "../../utils/log";
|
|
7
|
-
import { inheritAttributes } from "../../utils/attributes";
|
|
8
|
-
import { stopEventBubbling } from "../../utils/form-input";
|
|
9
|
-
import { isSpaceKey } from "../../utils/keyboard";
|
|
10
9
|
import { defaultBalAriaForm } from "../../utils/form";
|
|
11
|
-
import {
|
|
10
|
+
import { inputSetBlur, inputSetFocus, stopEventBubbling } from "../../utils/form-input";
|
|
11
|
+
import { isDescendant } from "../../utils/helpers";
|
|
12
|
+
import { Logger } from "../../utils/log";
|
|
12
13
|
export class Radio {
|
|
13
14
|
constructor() {
|
|
14
15
|
this.inputId = `bal-rb-${radioIds++}`;
|
|
15
16
|
this.inheritedAttributes = {};
|
|
16
17
|
this.keyboardMode = true;
|
|
17
|
-
this.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
this.outerElementState = {
|
|
19
|
+
hovered: false,
|
|
20
|
+
pressed: false,
|
|
21
|
+
};
|
|
22
|
+
this.innerElementState = {
|
|
23
|
+
hovered: false,
|
|
24
|
+
pressed: false,
|
|
25
|
+
};
|
|
26
|
+
this.setChecked = (state) => {
|
|
27
|
+
this.checked = state;
|
|
28
|
+
this.balChange.emit(this.checked);
|
|
29
|
+
};
|
|
30
|
+
this.toggleChecked = (ev) => {
|
|
31
|
+
ev.preventDefault();
|
|
32
|
+
this.setFocus();
|
|
33
|
+
this.setChecked(!this.checked);
|
|
31
34
|
};
|
|
32
35
|
this.onClick = (ev) => {
|
|
33
|
-
|
|
36
|
+
if (this.disabled) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
34
39
|
const element = ev.target;
|
|
35
40
|
if (element.href) {
|
|
36
41
|
return;
|
|
37
42
|
}
|
|
38
|
-
if (
|
|
39
|
-
this.
|
|
40
|
-
(_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
41
|
-
ev.preventDefault();
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
stopEventBubbling(ev);
|
|
43
|
+
if (this.wasFocused) {
|
|
44
|
+
this.focused = true;
|
|
45
45
|
}
|
|
46
|
+
this.toggleChecked(ev);
|
|
46
47
|
};
|
|
47
48
|
this.onFocus = (ev) => {
|
|
48
49
|
if (this.disabled || this.readonly) {
|
|
@@ -52,6 +53,7 @@ export class Radio {
|
|
|
52
53
|
this.balFocus.emit(ev);
|
|
53
54
|
if (this.keyboardMode) {
|
|
54
55
|
this.focused = true;
|
|
56
|
+
this.wasFocused = true;
|
|
55
57
|
}
|
|
56
58
|
};
|
|
57
59
|
this.onBlur = (ev) => {
|
|
@@ -62,15 +64,24 @@ export class Radio {
|
|
|
62
64
|
this.focused = false;
|
|
63
65
|
};
|
|
64
66
|
this.onPointerDown = () => (this.keyboardMode = false);
|
|
65
|
-
this.onKeydown = (ev) =>
|
|
67
|
+
this.onKeydown = (ev) => {
|
|
68
|
+
if (!isSpaceKey(ev)) {
|
|
69
|
+
this.wasFocused = false;
|
|
70
|
+
}
|
|
71
|
+
this.keyboardMode = FOCUS_KEYS.includes(ev.key);
|
|
72
|
+
};
|
|
73
|
+
this.wasFocused = false;
|
|
66
74
|
this.checked = false;
|
|
67
75
|
this.focused = false;
|
|
68
76
|
this.buttonTabindex = undefined;
|
|
69
77
|
this.ariaForm = defaultBalAriaForm;
|
|
78
|
+
this.mergedElementState = {
|
|
79
|
+
hovered: false,
|
|
80
|
+
pressed: false,
|
|
81
|
+
};
|
|
70
82
|
this.name = this.inputId;
|
|
71
83
|
this.value = undefined;
|
|
72
84
|
this.label = '';
|
|
73
|
-
this.invisible = false;
|
|
74
85
|
this.labelHidden = false;
|
|
75
86
|
this.flat = false;
|
|
76
87
|
this.interface = 'radio';
|
|
@@ -81,25 +92,40 @@ export class Radio {
|
|
|
81
92
|
this.invalid = false;
|
|
82
93
|
this.hovered = false;
|
|
83
94
|
this.pressed = false;
|
|
95
|
+
this.color = undefined;
|
|
96
|
+
this.colSize = 1;
|
|
97
|
+
this.colSizeTablet = 1;
|
|
98
|
+
this.colSizeMobile = 1;
|
|
84
99
|
}
|
|
85
100
|
createLogger(log) {
|
|
86
101
|
this.log = log;
|
|
87
102
|
}
|
|
103
|
+
hoveredChanged() {
|
|
104
|
+
this.innerElementState = {
|
|
105
|
+
hovered: this.hovered,
|
|
106
|
+
pressed: this.pressed,
|
|
107
|
+
};
|
|
108
|
+
this.mergeElementState();
|
|
109
|
+
}
|
|
110
|
+
pressedChanged() {
|
|
111
|
+
this.innerElementState = {
|
|
112
|
+
hovered: this.hovered,
|
|
113
|
+
pressed: this.pressed,
|
|
114
|
+
};
|
|
115
|
+
this.mergeElementState();
|
|
116
|
+
}
|
|
88
117
|
/**
|
|
89
118
|
* LIFECYCLE
|
|
90
119
|
* ------------------------------------------------------
|
|
91
120
|
*/
|
|
92
121
|
connectedCallback() {
|
|
122
|
+
this.hoveredChanged();
|
|
93
123
|
if (this.value === undefined) {
|
|
94
124
|
this.value = this.inputId;
|
|
95
125
|
}
|
|
96
|
-
|
|
97
|
-
const radioGroup = this.radioGroup;
|
|
98
|
-
if (radioButton || radioGroup) {
|
|
126
|
+
if (this.group) {
|
|
99
127
|
this.updateState();
|
|
100
|
-
|
|
101
|
-
if (radioGroup) {
|
|
102
|
-
radioGroup.addEventListener('balInput', this.updateState);
|
|
128
|
+
this.group.addEventListener('balChange', this.updateState);
|
|
103
129
|
}
|
|
104
130
|
this.el.addEventListener('keydown', this.onKeydown);
|
|
105
131
|
this.el.addEventListener('touchstart', this.onPointerDown);
|
|
@@ -108,10 +134,16 @@ export class Radio {
|
|
|
108
134
|
componentWillLoad() {
|
|
109
135
|
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label', 'tabindex', 'title']);
|
|
110
136
|
}
|
|
137
|
+
componentWillRender() {
|
|
138
|
+
this.interactionChildElements.forEach(el => {
|
|
139
|
+
el.disabled = this.disabled || this.readonly;
|
|
140
|
+
el.invalid = this.invalid;
|
|
141
|
+
el.checked = this.checked;
|
|
142
|
+
});
|
|
143
|
+
}
|
|
111
144
|
disconnectedCallback() {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
radioGroup.removeEventListener('balInput', this.updateState);
|
|
145
|
+
if (this.group) {
|
|
146
|
+
this.group.removeEventListener('balChange', this.updateState);
|
|
115
147
|
}
|
|
116
148
|
this.el.removeEventListener('keydown', this.onKeydown);
|
|
117
149
|
this.el.removeEventListener('touchstart', this.onPointerDown);
|
|
@@ -128,25 +160,31 @@ export class Radio {
|
|
|
128
160
|
stopEventBubbling(ev);
|
|
129
161
|
}
|
|
130
162
|
}
|
|
163
|
+
elementStateListener(info) {
|
|
164
|
+
this.outerElementState = info;
|
|
165
|
+
this.mergeElementState();
|
|
166
|
+
}
|
|
131
167
|
/**
|
|
132
168
|
* PUBLIC METHODS
|
|
133
169
|
* ------------------------------------------------------
|
|
134
170
|
*/
|
|
135
|
-
/**
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
this
|
|
140
|
-
|
|
171
|
+
/**
|
|
172
|
+
* Sets the focus on the checkbox input element.
|
|
173
|
+
*/
|
|
174
|
+
async setFocus() {
|
|
175
|
+
inputSetFocus(this);
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Sets blur on the native `input`. Use this method instead of the global
|
|
179
|
+
* `input.blur()`.
|
|
180
|
+
* @internal
|
|
181
|
+
*/
|
|
182
|
+
async setBlur() {
|
|
183
|
+
inputSetBlur(this);
|
|
141
184
|
}
|
|
142
185
|
/** @internal */
|
|
143
186
|
async setButtonTabindex(value) {
|
|
144
|
-
|
|
145
|
-
this.buttonTabindex = -1;
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
this.buttonTabindex = value;
|
|
149
|
-
}
|
|
187
|
+
this.buttonTabindex = value;
|
|
150
188
|
}
|
|
151
189
|
/**
|
|
152
190
|
* Returns the native `<input>` element used under the hood.
|
|
@@ -165,18 +203,18 @@ export class Radio {
|
|
|
165
203
|
* Options of the tab like label, value etc.
|
|
166
204
|
*/
|
|
167
205
|
async updateState() {
|
|
168
|
-
if (this.
|
|
169
|
-
const newChecked = this.
|
|
206
|
+
if (this.group) {
|
|
207
|
+
const newChecked = this.group.value === this.value;
|
|
170
208
|
if (newChecked !== this.checked) {
|
|
171
209
|
this.checked = newChecked;
|
|
172
210
|
}
|
|
173
211
|
}
|
|
174
|
-
if (this.radioButton) {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
212
|
+
// if (this.radioButton) {
|
|
213
|
+
// this.buttonTabindex = -1
|
|
214
|
+
// if (this.radioButton.setChecked) {
|
|
215
|
+
// this.radioButton.setChecked(this.checked)
|
|
216
|
+
// }
|
|
217
|
+
// }
|
|
180
218
|
}
|
|
181
219
|
/**
|
|
182
220
|
* @internal
|
|
@@ -188,16 +226,12 @@ export class Radio {
|
|
|
188
226
|
* GETTERS
|
|
189
227
|
* ------------------------------------------------------
|
|
190
228
|
*/
|
|
191
|
-
get
|
|
192
|
-
return this.el.closest('bal-radio-button');
|
|
193
|
-
}
|
|
194
|
-
get radioGroup() {
|
|
229
|
+
get group() {
|
|
195
230
|
return this.el.closest('bal-radio-group');
|
|
196
231
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
*/
|
|
232
|
+
get interactionChildElements() {
|
|
233
|
+
return Array.from(this.el.querySelectorAll('bal-radio-icon, bal-icon'));
|
|
234
|
+
}
|
|
201
235
|
get option() {
|
|
202
236
|
return {
|
|
203
237
|
name: this.name,
|
|
@@ -210,7 +244,6 @@ export class Radio {
|
|
|
210
244
|
readonly: this.readonly,
|
|
211
245
|
required: this.required,
|
|
212
246
|
nonSubmit: this.nonSubmit,
|
|
213
|
-
invisible: this.invisible,
|
|
214
247
|
invalid: this.invalid,
|
|
215
248
|
};
|
|
216
249
|
}
|
|
@@ -218,46 +251,55 @@ export class Radio {
|
|
|
218
251
|
* EVENT BINDING
|
|
219
252
|
* ------------------------------------------------------
|
|
220
253
|
*/
|
|
221
|
-
|
|
222
|
-
this.
|
|
223
|
-
|
|
224
|
-
|
|
254
|
+
mergeElementState() {
|
|
255
|
+
this.mergedElementState = {
|
|
256
|
+
hovered: this.outerElementState.hovered || this.innerElementState.hovered,
|
|
257
|
+
pressed: this.outerElementState.pressed || this.innerElementState.pressed,
|
|
258
|
+
};
|
|
259
|
+
this.interactionChildElements.forEach(el => {
|
|
260
|
+
;
|
|
261
|
+
el.hovered = this.mergedElementState.hovered;
|
|
262
|
+
el.pressed = this.mergedElementState.pressed;
|
|
263
|
+
});
|
|
225
264
|
}
|
|
226
265
|
/**
|
|
227
266
|
* RENDER
|
|
228
267
|
* ------------------------------------------------------
|
|
229
268
|
*/
|
|
230
269
|
render() {
|
|
231
|
-
const block = BEM.block('radio
|
|
270
|
+
const block = BEM.block('radio');
|
|
232
271
|
const inputEl = block.element('input');
|
|
233
272
|
const labelEl = block.element('label');
|
|
234
273
|
const labelTextEl = labelEl.element('text');
|
|
274
|
+
const labelIconEl = labelEl.element('icon');
|
|
235
275
|
const focused = this.focused && this.buttonTabindex !== -1;
|
|
236
276
|
const value = typeof this.value === 'boolean' ? JSON.stringify(this.value) : this.value;
|
|
277
|
+
const hasFormControl = !this.nonSubmit;
|
|
278
|
+
const id = this.ariaForm.controlId || this.inputId;
|
|
279
|
+
const labelId = this.ariaForm.labelId || null;
|
|
280
|
+
const LabelTag = hasFormControl ? 'label' : 'span';
|
|
237
281
|
const inputAttributes = this.inheritedAttributes;
|
|
238
282
|
if (this.buttonTabindex !== undefined) {
|
|
239
283
|
inputAttributes.tabIndex = this.buttonTabindex;
|
|
240
284
|
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
const LabelTag = this.labelHidden ? 'span' : 'label';
|
|
244
|
-
const labelAttributes = {};
|
|
245
|
-
if (!this.labelHidden) {
|
|
246
|
-
labelId = `${labelId || ''} ${id}-lbl`.trim();
|
|
247
|
-
labelAttributes.id = `${id}-lbl`;
|
|
248
|
-
labelAttributes.htmlFor = id;
|
|
285
|
+
if (this.labelHidden) {
|
|
286
|
+
inputAttributes['aria-labelledby'] = labelId;
|
|
249
287
|
}
|
|
250
|
-
return (h(Host, { key: '
|
|
288
|
+
return (h(Host, { key: '9c108eed067c8d47d94180715714ed97d7c2df2d', "aria-checked": `${this.checked}`, "aria-disabled": 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
|
|
289
|
+
.modifier(`column-tablet-${this.colSizeTablet}`)
|
|
290
|
+
.class(this.interface === 'tile' && this.colSizeTablet > 1)), block
|
|
291
|
+
.modifier(`column-mobile-${this.colSizeMobile}`)
|
|
292
|
+
.class(this.interface === 'tile' && this.colSizeMobile > 1)), onClick: this.onClick }, h(LabelTag, { key: '4b3d8626b04257821c3fe1ef713fe9ff9bf0a925', class: Object.assign({}, labelEl.class()), "data-testid": "bal-radio-label" }, hasFormControl ? (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": 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' ? (h("div", { class: Object.assign({}, labelIconEl.class()) }, 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 }))) : (''), h("div", { key: 'de3d15790b976a11a18435e5e7c816f9cc9918c3', class: Object.assign(Object.assign({}, labelTextEl.class()), labelTextEl.modifier('hidden').class(this.labelHidden)) }, h("slot", { key: '0a6ef4b1a0ebbdd01b1367c8965cfedf05b9acec' })))));
|
|
251
293
|
}
|
|
252
294
|
static get is() { return "bal-radio"; }
|
|
253
295
|
static get originalStyleUrls() {
|
|
254
296
|
return {
|
|
255
|
-
"$": ["
|
|
297
|
+
"$": ["bal-radio.sass"]
|
|
256
298
|
};
|
|
257
299
|
}
|
|
258
300
|
static get styleUrls() {
|
|
259
301
|
return {
|
|
260
|
-
"$": ["
|
|
302
|
+
"$": ["bal-radio.css"]
|
|
261
303
|
};
|
|
262
304
|
}
|
|
263
305
|
static get properties() {
|
|
@@ -321,26 +363,6 @@ export class Radio {
|
|
|
321
363
|
"reflect": false,
|
|
322
364
|
"defaultValue": "''"
|
|
323
365
|
},
|
|
324
|
-
"invisible": {
|
|
325
|
-
"type": "boolean",
|
|
326
|
-
"mutable": false,
|
|
327
|
-
"complexType": {
|
|
328
|
-
"original": "boolean",
|
|
329
|
-
"resolved": "boolean",
|
|
330
|
-
"references": {}
|
|
331
|
-
},
|
|
332
|
-
"required": false,
|
|
333
|
-
"optional": false,
|
|
334
|
-
"docs": {
|
|
335
|
-
"tags": [],
|
|
336
|
-
"text": "If `true` the radio is invisible, but sill active"
|
|
337
|
-
},
|
|
338
|
-
"getter": false,
|
|
339
|
-
"setter": false,
|
|
340
|
-
"attribute": "invisible",
|
|
341
|
-
"reflect": false,
|
|
342
|
-
"defaultValue": "false"
|
|
343
|
-
},
|
|
344
366
|
"labelHidden": {
|
|
345
367
|
"type": "boolean",
|
|
346
368
|
"mutable": false,
|
|
@@ -386,7 +408,7 @@ export class Radio {
|
|
|
386
408
|
"mutable": false,
|
|
387
409
|
"complexType": {
|
|
388
410
|
"original": "BalProps.BalRadioInterface",
|
|
389
|
-
"resolved": "\"radio\" | \"
|
|
411
|
+
"resolved": "\"button\" | \"radio\" | \"tile\"",
|
|
390
412
|
"references": {
|
|
391
413
|
"BalProps": {
|
|
392
414
|
"location": "global",
|
|
@@ -551,15 +573,125 @@ export class Radio {
|
|
|
551
573
|
"attribute": "pressed",
|
|
552
574
|
"reflect": false,
|
|
553
575
|
"defaultValue": "false"
|
|
576
|
+
},
|
|
577
|
+
"color": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"mutable": false,
|
|
580
|
+
"complexType": {
|
|
581
|
+
"original": "BalProps.BalRadioTileColor",
|
|
582
|
+
"resolved": "\"\" | \"green\" | \"purple\" | \"red\" | \"yellow\"",
|
|
583
|
+
"references": {
|
|
584
|
+
"BalProps": {
|
|
585
|
+
"location": "global",
|
|
586
|
+
"id": "global::BalProps"
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
"required": false,
|
|
591
|
+
"optional": true,
|
|
592
|
+
"docs": {
|
|
593
|
+
"tags": [],
|
|
594
|
+
"text": "Defines the color of the tile radio."
|
|
595
|
+
},
|
|
596
|
+
"getter": false,
|
|
597
|
+
"setter": false,
|
|
598
|
+
"attribute": "color",
|
|
599
|
+
"reflect": false
|
|
600
|
+
},
|
|
601
|
+
"colSize": {
|
|
602
|
+
"type": "number",
|
|
603
|
+
"mutable": false,
|
|
604
|
+
"complexType": {
|
|
605
|
+
"original": "BalProps.BalRadioGroupColumns",
|
|
606
|
+
"resolved": "1 | 2 | 3 | 4",
|
|
607
|
+
"references": {
|
|
608
|
+
"BalProps": {
|
|
609
|
+
"location": "global",
|
|
610
|
+
"id": "global::BalProps"
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"required": false,
|
|
615
|
+
"optional": false,
|
|
616
|
+
"docs": {
|
|
617
|
+
"tags": [{
|
|
618
|
+
"name": "internal",
|
|
619
|
+
"text": undefined
|
|
620
|
+
}],
|
|
621
|
+
"text": ""
|
|
622
|
+
},
|
|
623
|
+
"getter": false,
|
|
624
|
+
"setter": false,
|
|
625
|
+
"attribute": "col-size",
|
|
626
|
+
"reflect": false,
|
|
627
|
+
"defaultValue": "1"
|
|
628
|
+
},
|
|
629
|
+
"colSizeTablet": {
|
|
630
|
+
"type": "number",
|
|
631
|
+
"mutable": false,
|
|
632
|
+
"complexType": {
|
|
633
|
+
"original": "BalProps.BalRadioGroupColumns",
|
|
634
|
+
"resolved": "1 | 2 | 3 | 4",
|
|
635
|
+
"references": {
|
|
636
|
+
"BalProps": {
|
|
637
|
+
"location": "global",
|
|
638
|
+
"id": "global::BalProps"
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"required": false,
|
|
643
|
+
"optional": false,
|
|
644
|
+
"docs": {
|
|
645
|
+
"tags": [{
|
|
646
|
+
"name": "internal",
|
|
647
|
+
"text": undefined
|
|
648
|
+
}],
|
|
649
|
+
"text": ""
|
|
650
|
+
},
|
|
651
|
+
"getter": false,
|
|
652
|
+
"setter": false,
|
|
653
|
+
"attribute": "col-size-tablet",
|
|
654
|
+
"reflect": false,
|
|
655
|
+
"defaultValue": "1"
|
|
656
|
+
},
|
|
657
|
+
"colSizeMobile": {
|
|
658
|
+
"type": "number",
|
|
659
|
+
"mutable": false,
|
|
660
|
+
"complexType": {
|
|
661
|
+
"original": "BalProps.BalRadioGroupColumns",
|
|
662
|
+
"resolved": "1 | 2 | 3 | 4",
|
|
663
|
+
"references": {
|
|
664
|
+
"BalProps": {
|
|
665
|
+
"location": "global",
|
|
666
|
+
"id": "global::BalProps"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
"required": false,
|
|
671
|
+
"optional": false,
|
|
672
|
+
"docs": {
|
|
673
|
+
"tags": [{
|
|
674
|
+
"name": "internal",
|
|
675
|
+
"text": undefined
|
|
676
|
+
}],
|
|
677
|
+
"text": ""
|
|
678
|
+
},
|
|
679
|
+
"getter": false,
|
|
680
|
+
"setter": false,
|
|
681
|
+
"attribute": "col-size-mobile",
|
|
682
|
+
"reflect": false,
|
|
683
|
+
"defaultValue": "1"
|
|
554
684
|
}
|
|
555
685
|
};
|
|
556
686
|
}
|
|
557
687
|
static get states() {
|
|
558
688
|
return {
|
|
689
|
+
"wasFocused": {},
|
|
559
690
|
"checked": {},
|
|
560
691
|
"focused": {},
|
|
561
692
|
"buttonTabindex": {},
|
|
562
|
-
"ariaForm": {}
|
|
693
|
+
"ariaForm": {},
|
|
694
|
+
"mergedElementState": {}
|
|
563
695
|
};
|
|
564
696
|
}
|
|
565
697
|
static get events() {
|
|
@@ -629,12 +761,8 @@ export class Radio {
|
|
|
629
761
|
return {
|
|
630
762
|
"setFocus": {
|
|
631
763
|
"complexType": {
|
|
632
|
-
"signature": "(
|
|
633
|
-
"parameters": [
|
|
634
|
-
"name": "ev",
|
|
635
|
-
"type": "any",
|
|
636
|
-
"docs": ""
|
|
637
|
-
}],
|
|
764
|
+
"signature": "() => Promise<void>",
|
|
765
|
+
"parameters": [],
|
|
638
766
|
"references": {
|
|
639
767
|
"Promise": {
|
|
640
768
|
"location": "global",
|
|
@@ -644,7 +772,24 @@ export class Radio {
|
|
|
644
772
|
"return": "Promise<void>"
|
|
645
773
|
},
|
|
646
774
|
"docs": {
|
|
647
|
-
"text": "",
|
|
775
|
+
"text": "Sets the focus on the checkbox input element.",
|
|
776
|
+
"tags": []
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"setBlur": {
|
|
780
|
+
"complexType": {
|
|
781
|
+
"signature": "() => Promise<void>",
|
|
782
|
+
"parameters": [],
|
|
783
|
+
"references": {
|
|
784
|
+
"Promise": {
|
|
785
|
+
"location": "global",
|
|
786
|
+
"id": "global::Promise"
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
"return": "Promise<void>"
|
|
790
|
+
},
|
|
791
|
+
"docs": {
|
|
792
|
+
"text": "Sets blur on the native `input`. Use this method instead of the global\n`input.blur()`.",
|
|
648
793
|
"tags": [{
|
|
649
794
|
"name": "internal",
|
|
650
795
|
"text": undefined
|
|
@@ -770,6 +915,15 @@ export class Radio {
|
|
|
770
915
|
};
|
|
771
916
|
}
|
|
772
917
|
static get elementRef() { return "el"; }
|
|
918
|
+
static get watchers() {
|
|
919
|
+
return [{
|
|
920
|
+
"propName": "hovered",
|
|
921
|
+
"methodName": "hoveredChanged"
|
|
922
|
+
}, {
|
|
923
|
+
"propName": "pressed",
|
|
924
|
+
"methodName": "pressedChanged"
|
|
925
|
+
}];
|
|
926
|
+
}
|
|
773
927
|
static get listeners() {
|
|
774
928
|
return [{
|
|
775
929
|
"name": "click",
|
|
@@ -786,4 +940,10 @@ __decorate([
|
|
|
786
940
|
__metadata("design:paramtypes", [Function]),
|
|
787
941
|
__metadata("design:returntype", void 0)
|
|
788
942
|
], Radio.prototype, "createLogger", null);
|
|
943
|
+
__decorate([
|
|
944
|
+
ListenToElementStates(),
|
|
945
|
+
__metadata("design:type", Function),
|
|
946
|
+
__metadata("design:paramtypes", [Object]),
|
|
947
|
+
__metadata("design:returntype", void 0)
|
|
948
|
+
], Radio.prototype, "elementStateListener", null);
|
|
789
949
|
let radioIds = 0;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const newBalRadioOption = (option) => {
|
|
2
|
-
return Object.assign(Object.assign({ interface: 'radio', labelHidden: false, flat: false, disabled: false, readonly: false, required: false, nonSubmit: false,
|
|
2
|
+
return Object.assign(Object.assign({ interface: 'radio', labelHidden: false, flat: false, disabled: false, readonly: false, required: false, nonSubmit: false, invalid: false }, option), { label: '', html: option.label });
|
|
3
3
|
};
|
|
@@ -152,7 +152,7 @@ export class SegmentItem {
|
|
|
152
152
|
'aria-describedby': this.ariaForm.messageId,
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
return (h(Host, { key: '
|
|
155
|
+
return (h(Host, { key: '2f0eccf481abba284cae7bb7ebb9d9ca88f2339e', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('vertical').class(vertical)), block.modifier('disabled').class(disabled)), block.modifier('checked').class(checked)), block.modifier('invalid').class(invalid)), block.modifier('last').class(this.isLast && !checked)) }, h("button", Object.assign({ key: '317c8da87c9e196082f46e69e639d7b5761401ba', id: id, role: "radio", "aria-checked": checked ? 'true' : 'false' }, buttonAttributes, { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, buttonBem.class()), buttonBem.modifier('checked').class(checked)), buttonBem.modifier('invalid').class(invalid)), buttonBem.modifier('disabled').class(disabled)), buttonBem.modifier('focused').class(focused)), buttonBem.modifier('vertical').class(vertical)), type: 'button', tabIndex: hasTabindex ? 0 : -1, part: "native", disabled: disabled, ref: el => (this.nativeEl = el) }, this.inheritedAttributes), h("bal-icon", { key: '749649163977298b320ebff6ff5dd5565c98bc4d', name: "check", size: "small", class: Object.assign(Object.assign(Object.assign({}, buttonBem.element('icon').class()), buttonBem.element('icon').modifier('animated').class(checked)), buttonBem.element('icon').modifier('vertical').class(vertical)), color: disabled ? 'grey-dark' : invalid ? 'white' : 'primary' }), h("bal-stack", { key: '67a2bce84c38c0f49a47da1c6ec0189f8ac6b987', space: "x-small", layout: 'horizontal' }, h("bal-content", { key: '38eaad5948f5b034ba3567619533e67f2c6a3016', space: "none" }, h("bal-label", { key: 'a761aee3fad22f05cd0ce66f74710c3da61acd81', htmlId: `bal-si-${this.internalId}-label` }, label), h("span", { key: '99b2524c94a243b8f4c884008919fe9bd92271ff', part: "slot", class: Object.assign({}, buttonBem.element('slot').modifier('hidden').class(!this.hasSlotContent)) }, ' ', h("slot", { key: 'e5a89b88d1c49ec722a83f2887215d69e6f43ebb', onSlotchange: this.onSlottedItemsChange }))))), h("div", { key: 'a7b16c5d48c09846fcb3103c1a5dd4f38dbf1b46', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, indicatorBem.class()), indicatorBem.modifier('animated').class()), indicatorBem.modifier('background').class()), indicatorBem.modifier('disabled').class(disabled)), indicatorBem.modifier('invalid').class(invalid)), indicatorBem.modifier('checked').class(checked)), indicatorBem.modifier('vertical').class(vertical)) })));
|
|
156
156
|
}
|
|
157
157
|
static get is() { return "bal-segment-item"; }
|
|
158
158
|
static get originalStyleUrls() {
|
|
@@ -313,7 +313,7 @@ export class Segment {
|
|
|
313
313
|
render() {
|
|
314
314
|
const { invalid, isVertical, scrollable, keyboardMode, expanded, isMobile, disabled } = this;
|
|
315
315
|
const block = BEM.block('segment');
|
|
316
|
-
return (h(Host, { key: '
|
|
316
|
+
return (h(Host, { key: 'd374c489107b4f4cea5994673d396392b4db7d6d', role: "radiogroup", id: this.ariaForm.controlId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('invalid').class(invalid)), block.modifier('vertical').class(isVertical)), block.modifier('scrollable').class(scrollable)), block.modifier('keyboard').class(keyboardMode)), block.modifier('disabled').class(disabled)), block.modifier('expanded').class((expanded || isMobile) && !isVertical)), onClick: this.onClick }, h("slot", { key: 'e42649f221772809d983d614fc76738174e514b7', onSlotchange: this.onSlottedItemsChange })));
|
|
317
317
|
}
|
|
318
318
|
static get is() { return "bal-segment"; }
|
|
319
319
|
static get originalStyleUrls() {
|
|
@@ -12,7 +12,7 @@ export class SelectOption {
|
|
|
12
12
|
this.log = log;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '42c10fcd28b41d1158304ee9a7936c2fa0c52d85', style: { display: 'none' } }, h("slot", { key: 'da6a2841c0dd48aa662bf38926151669a4525048' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "bal-select-option"; }
|
|
18
18
|
static get properties() {
|