@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
|
@@ -683,13 +683,13 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class Dropdown extends HTMLEle
|
|
|
683
683
|
const hasTheme = this.theme !== '';
|
|
684
684
|
const theme = `theme-${this.theme}`;
|
|
685
685
|
const focused = this.theme === 'purple' ? this.hasFocus && this.isKeyboardMode : this.hasFocus;
|
|
686
|
-
return (h(Host, { key: '
|
|
686
|
+
return (h(Host, { key: '1b075647fbe8923e1d12974c621e391e6557cc48', class: Object.assign({}, block.class()), tabindex: "-1", id: `${this.inputId}` }, h("div", { key: 'a71a4bd3a2c803b6890f89a78fdfb611fbde8f5a', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').class()), block.element('root').modifier('focused').class(focused)), block.element('root').modifier('invalid').class(this.invalid)), block.element('root').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').modifier('autofill').class(this.isAutoFilled)), block.element('root').modifier(size).class(hasSize)), block.element('root').modifier(theme).class(hasTheme)), block
|
|
687
687
|
.element('root')
|
|
688
688
|
.modifier(theme + '-filled')
|
|
689
689
|
.class(isFilled && hasTheme)), block
|
|
690
690
|
.element('root')
|
|
691
691
|
.modifier(theme + '-expanded')
|
|
692
|
-
.class(this.isExpanded && hasTheme)), "data-test": "bal-dropdown-trigger", onClick: ev => this.eventsUtil.handleClick(ev) }, h("span", { key: '
|
|
692
|
+
.class(this.isExpanded && hasTheme)), "data-test": "bal-dropdown-trigger", onClick: ev => this.eventsUtil.handleClick(ev) }, h("span", { key: 'a65ae5081e4c747a9c16fe8b499c67b23763d806', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').element('content').class()), block.element('root').element('content').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').element('content').modifier('placeholder').class(!this.valueUtil.isFilled())), block.element('root').element('content').modifier(size).class(hasSize)) }, h(DropdownValue, { key: '174ce02d638806795cccbc8dc9990d07f4cfe630', filled: this.valueUtil.isFilled(), inlineLabel: this.inlineLabel, chips: this.chips, placeholder: this.placeholder, choices: this.choices, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, onRemoveChip: option => this.valueUtil.removeOption(option) })), h(DropdownInput, { key: 'e7b31122122f29e7f9dd52b4caeb797ae5584c38', inputId: this.inputId, httpFormSubmit: this.httpFormSubmit, ariaForm: this.ariaForm, rawValue: this.rawValue, autocomplete: this.autocomplete, required: this.required, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, expanded: this.isExpanded, invalid: this.invalid, language: this.language, inputLabel: this.inputLabel, inheritedAttributes: this.inheritedAttributes, refInputEl: el => (this.nativeEl = el), onChange: ev => this.handleAutoFill(ev), onFocus: ev => this.eventsUtil.handleFocus(ev), onBlur: ev => this.eventsUtil.handleBlur(ev), onKeyDown: ev => this.handleKeyDown(ev) }), h(DropdownNativeSelect, { key: '86c3712230c6610e8b96280f91d5b6069d82edbf', name: this.name, httpFormSubmit: this.httpFormSubmit, multiple: this.multiple, required: this.required, disabled: this.valueUtil.isDisabled(), rawValue: this.rawValue, refSelectEl: el => (this.selectEl = el) }), h(DropdownIcon, { key: '36fdd2af649f0ccc5f7d30df90c6a1cce14eda2e', icon: this.icon, size: this.size, theme: this.theme, language: this.language, loading: this.loading, clearable: this.clearable, invalid: this.invalid, expanded: this.isExpanded, filled: isFilled, disabled: this.valueUtil.isDisabled() })), h(DropdownOptionList, { key: 'ba4a9e84148ea1431033da83477e7563a61e0826', inputId: this.inputId, block: this.inputId, filter: this.filter, required: this.required, isExpanded: this.isExpanded, isDisabled: this.valueUtil.isDisabled(), hasPropOptions: this.optionUtil.hasPropOptions(), multiple: this.multiple, contentHeight: this.contentHeight, rawOptions: this.rawOptions, refPanelEl: el => (this.panelEl = el), refListEl: el => (this.listEl = el) }, h("slot", { key: '046f4677bcf864dcd9f6d8e5e55ff95276cd9166' }))));
|
|
693
693
|
}
|
|
694
694
|
get el() { return this; }
|
|
695
695
|
static get watchers() { return {
|
|
@@ -23,14 +23,14 @@ const FieldControl = /*@__PURE__*/ proxyCustomElement(class FieldControl extends
|
|
|
23
23
|
return '';
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '4aecfd6cf7bc49df8feb26cd3161af9174097fcc', class: {
|
|
27
27
|
'bal-field-control': true,
|
|
28
28
|
'control': true,
|
|
29
29
|
'has-icons-left': !!this.iconLeft,
|
|
30
30
|
'has-icons-right': !!this.iconRight,
|
|
31
31
|
'is-loading': this.loading,
|
|
32
32
|
'bal-field-control--expanded-on-mobile': !!this.expandedOnMobile,
|
|
33
|
-
} }, h("slot", { key: '
|
|
33
|
+
} }, h("slot", { key: 'b1d4c61b4ba0cbd96c11d5540e12dafcc4b2518e' }), this.buildIconLeftTemplate, this.buildIconRightTemplate));
|
|
34
34
|
}
|
|
35
35
|
}, [6, "bal-field-control", {
|
|
36
36
|
"iconRight": [1, "icon-right"],
|
|
@@ -20,7 +20,7 @@ const FieldHint = /*@__PURE__*/ proxyCustomElement(class FieldHint extends HTMLE
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const block = BEM.block('field-hint');
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '77490edbe70ab5796e9359501cc7c7c13b38ff35', class: Object.assign({}, block.class()) }, h("bal-hint", { key: '51c69843812a75f1b22629fb76f25c99aeb5104e', class: Object.assign({}, block.element('hint').class()), "data-testid": "bal-field-hint", closeLabel: this.closeLabel, small: this.small }, this.subject ? h("bal-hint-title", null, this.subject) : '', h("bal-hint-text", { key: '68f54f8473467fcfbbe7dde4d1fed735f57bdcd7' }, h("slot", { key: '568fcc10257812cd18401d15819916f9ea2fb312' })))));
|
|
24
24
|
}
|
|
25
25
|
}, [6, "bal-field-hint", {
|
|
26
26
|
"subject": [1],
|
|
@@ -36,7 +36,7 @@ const FieldLabel = /*@__PURE__*/ proxyCustomElement(class FieldLabel extends HTM
|
|
|
36
36
|
* ------------------------------------------------------
|
|
37
37
|
*/
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '049f3e7c80126a7ffbc005e6c69a1bdc8203979b', class: "bal-field-label" }, h("bal-label", { key: '269ecb6de6a5daf2f4d4504b37f3980d05b1a121', multiline: true, size: this.size, htmlFor: this.htmlFor, required: this.required, valid: this.valid, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, weight: this.weight }, h("slot", { key: 'd832133cb85456ec6b7b1a999b5459044579e783' }))));
|
|
40
40
|
}
|
|
41
41
|
get element() { return this; }
|
|
42
42
|
}, [6, "bal-field-label", {
|
|
@@ -19,14 +19,14 @@ const FieldMessage = /*@__PURE__*/ proxyCustomElement(class FieldMessage extends
|
|
|
19
19
|
this.ariaForm = Object.assign({}, ariaForm);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '61a31ecf947fffa55b3cb3e18fdf3c4fb4348437', id: this.ariaForm.messageId, class: {
|
|
23
23
|
'bal-field-message': true,
|
|
24
24
|
'help': true,
|
|
25
25
|
'is-danger': this.invalid,
|
|
26
26
|
'is-success': this.valid,
|
|
27
27
|
'is-disabled': this.disabled || this.readonly,
|
|
28
28
|
[`is-${this.color}`]: !!this.color,
|
|
29
|
-
} }, h("slot", { key: '
|
|
29
|
+
} }, h("slot", { key: '94cabb752b176e43e39e290afadeb706a7fc64cb' })));
|
|
30
30
|
}
|
|
31
31
|
}, [4, "bal-field-message", {
|
|
32
32
|
"color": [1],
|
package/components/bal-field.js
CHANGED
|
@@ -173,12 +173,12 @@ const Field = /*@__PURE__*/ proxyCustomElement(class Field extends HTMLElement {
|
|
|
173
173
|
components.forEach(c => callback(c));
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h(Host, { key: '
|
|
176
|
+
return (h(Host, { key: '2d5f00847eed504077334ab0a99e7d8ec2d5e933', id: this.fieldId, class: {
|
|
177
177
|
'bal-field': true,
|
|
178
178
|
'field': true,
|
|
179
179
|
'bal-field--invalid': this.invalid === true,
|
|
180
180
|
'bal-field--horizontal': this.horizontal === true,
|
|
181
|
-
} }, h("slot", { key: '
|
|
181
|
+
} }, h("slot", { key: '7e84f2c3b7a5070c3d44616d4f61c798ed201708' }), h("span", { key: 'b7999bd90707cf04144c23ee94cf6ef5e8605ba1', class: "bal-field-hidden" })));
|
|
182
182
|
}
|
|
183
183
|
get el() { return this; }
|
|
184
184
|
static get watchers() { return {
|
|
@@ -340,16 +340,16 @@ const FileUpload = /*@__PURE__*/ proxyCustomElement(class FileUpload extends HTM
|
|
|
340
340
|
*/
|
|
341
341
|
render() {
|
|
342
342
|
const id = this.ariaForm.controlId || this.fileUploadId;
|
|
343
|
-
return (h(Host, { key: '
|
|
343
|
+
return (h(Host, { key: 'dc5b0ffa01094b304728a6bd20e8364ee410c877', onClick: this.onHostClick, "aria-disabled": ariaBooleanToString(this.disabled), class: {
|
|
344
344
|
'bal-file-upload': true,
|
|
345
|
-
} }, h("div", { key: '
|
|
345
|
+
} }, h("div", { key: 'fa20226a3185331523ede065a729410b7a1469d6', class: {
|
|
346
346
|
'file': true,
|
|
347
347
|
'is-disabled': this.disabled || this.readonly || this.loading,
|
|
348
348
|
'is-danger': this.invalid,
|
|
349
|
-
} }, h("label", { key: '
|
|
349
|
+
} }, h("label", { key: 'a27ba82c67898305a907a24c1a5101c78d4c0859', htmlFor: id, ref: el => (this.labelEl = el), class: {
|
|
350
350
|
'file-label': true,
|
|
351
351
|
'is-disabled': this.disabled || this.loading || this.readonly,
|
|
352
|
-
} }, h("input", { key: '
|
|
352
|
+
} }, h("input", { key: '7ee35dcb15d921f92a7055a4234d710253282f03', class: "file-input", type: "file", id: id, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), name: this.name, multiple: this.multiple, disabled: this.disabled || this.loading || this.readonly, readonly: this.readonly, required: this.required, accept: this.accept, onClick: this.onInputClick, onChange: this.onInputChange, onFocus: this.onInputFocus, onBlur: this.onInputBlur, ref: el => (this.nativeInput = el), "data-testid": "bal-file-upload-input" }), this.loading ? (h("span", { class: "file-cta" }, h("bal-spinner", null))) : (h("span", { class: "file-cta" }, h("span", { class: "file-icon" }, h("bal-icon", { name: "upload", size: "medium", color: this.disabled || this.loading || this.readonly ? 'grey-light' : this.invalid ? 'danger' : 'blue' })), h("span", { class: "file-label", "data-testid": "bal-file-upload-label" }, this.label))))), this.hasFileList && this.files.length > 0 ? (h(FileListComponent, { files: this.files, disabled: this.disabled || this.readonly || this.loading, subTitle: this.subTitle, onRemoveFile: this.onRemoveFile })) : ('')));
|
|
353
353
|
}
|
|
354
354
|
get el() { return this; }
|
|
355
355
|
static get watchers() { return {
|
package/components/bal-footer.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import './
|
|
4
|
-
import './index5.js';
|
|
5
|
-
import { c as commonjsGlobal } from './_commonjsHelpers.js';
|
|
3
|
+
import { l as loadFooterLinks, a as loadSocialMediaLinks, L as Language } from './index.esm.js';
|
|
6
4
|
import { B as BEM } from './bem.js';
|
|
7
5
|
import { L as Logger } from './log.js';
|
|
8
6
|
import { p as rIC } from './helpers.js';
|
|
@@ -12,194 +10,6 @@ import { e as updateBalLanguage } from './config.utils.js';
|
|
|
12
10
|
import { d as defaultConfig } from './config.default.js';
|
|
13
11
|
import { L as ListenToConfig } from './config.decorator.js';
|
|
14
12
|
|
|
15
|
-
var lodash_isdate = {exports: {}};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* lodash (Custom Build) <https://lodash.com/>
|
|
19
|
-
* Build: `lodash modularize exports="npm" -o ./`
|
|
20
|
-
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
21
|
-
* Released under MIT license <https://lodash.com/license>
|
|
22
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
23
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
(function (module, exports) {
|
|
27
|
-
/** `Object#toString` result references. */
|
|
28
|
-
var dateTag = '[object Date]';
|
|
29
|
-
|
|
30
|
-
/** Detect free variable `global` from Node.js. */
|
|
31
|
-
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
32
|
-
|
|
33
|
-
/** Detect free variable `exports`. */
|
|
34
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
35
|
-
|
|
36
|
-
/** Detect free variable `module`. */
|
|
37
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
38
|
-
|
|
39
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
40
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
41
|
-
|
|
42
|
-
/** Detect free variable `process` from Node.js. */
|
|
43
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
|
44
|
-
|
|
45
|
-
/** Used to access faster Node.js helpers. */
|
|
46
|
-
var nodeUtil = (function() {
|
|
47
|
-
try {
|
|
48
|
-
return freeProcess && freeProcess.binding('util');
|
|
49
|
-
} catch (e) {}
|
|
50
|
-
}());
|
|
51
|
-
|
|
52
|
-
/* Node.js helper references. */
|
|
53
|
-
var nodeIsDate = nodeUtil && nodeUtil.isDate;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* The base implementation of `_.unary` without support for storing metadata.
|
|
57
|
-
*
|
|
58
|
-
* @private
|
|
59
|
-
* @param {Function} func The function to cap arguments for.
|
|
60
|
-
* @returns {Function} Returns the new capped function.
|
|
61
|
-
*/
|
|
62
|
-
function baseUnary(func) {
|
|
63
|
-
return function(value) {
|
|
64
|
-
return func(value);
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/** Used for built-in method references. */
|
|
69
|
-
var objectProto = Object.prototype;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Used to resolve the
|
|
73
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
|
|
74
|
-
* of values.
|
|
75
|
-
*/
|
|
76
|
-
var objectToString = objectProto.toString;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* The base implementation of `_.isDate` without Node.js optimizations.
|
|
80
|
-
*
|
|
81
|
-
* @private
|
|
82
|
-
* @param {*} value The value to check.
|
|
83
|
-
* @returns {boolean} Returns `true` if `value` is a date object, else `false`.
|
|
84
|
-
*/
|
|
85
|
-
function baseIsDate(value) {
|
|
86
|
-
return isObjectLike(value) && objectToString.call(value) == dateTag;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Checks if `value` is classified as a `Date` object.
|
|
91
|
-
*
|
|
92
|
-
* @static
|
|
93
|
-
* @memberOf _
|
|
94
|
-
* @since 0.1.0
|
|
95
|
-
* @category Lang
|
|
96
|
-
* @param {*} value The value to check.
|
|
97
|
-
* @returns {boolean} Returns `true` if `value` is a date object, else `false`.
|
|
98
|
-
* @example
|
|
99
|
-
*
|
|
100
|
-
* _.isDate(new Date);
|
|
101
|
-
* // => true
|
|
102
|
-
*
|
|
103
|
-
* _.isDate('Mon April 23 2012');
|
|
104
|
-
* // => false
|
|
105
|
-
*/
|
|
106
|
-
var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
110
|
-
* and has a `typeof` result of "object".
|
|
111
|
-
*
|
|
112
|
-
* @static
|
|
113
|
-
* @memberOf _
|
|
114
|
-
* @since 4.0.0
|
|
115
|
-
* @category Lang
|
|
116
|
-
* @param {*} value The value to check.
|
|
117
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
118
|
-
* @example
|
|
119
|
-
*
|
|
120
|
-
* _.isObjectLike({});
|
|
121
|
-
* // => true
|
|
122
|
-
*
|
|
123
|
-
* _.isObjectLike([1, 2, 3]);
|
|
124
|
-
* // => true
|
|
125
|
-
*
|
|
126
|
-
* _.isObjectLike(_.noop);
|
|
127
|
-
* // => false
|
|
128
|
-
*
|
|
129
|
-
* _.isObjectLike(null);
|
|
130
|
-
* // => false
|
|
131
|
-
*/
|
|
132
|
-
function isObjectLike(value) {
|
|
133
|
-
return !!value && typeof value == 'object';
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
module.exports = isDate;
|
|
137
|
-
}(lodash_isdate, lodash_isdate.exports));
|
|
138
|
-
|
|
139
|
-
var RequestState;
|
|
140
|
-
(function (RequestState) {
|
|
141
|
-
RequestState[RequestState["INIT"] = 0] = "INIT";
|
|
142
|
-
RequestState[RequestState["RUNNING"] = 1] = "RUNNING";
|
|
143
|
-
RequestState[RequestState["SUCCESS"] = 2] = "SUCCESS";
|
|
144
|
-
RequestState[RequestState["ERROR"] = 3] = "ERROR";
|
|
145
|
-
})(RequestState || (RequestState = {}));
|
|
146
|
-
|
|
147
|
-
class Language {
|
|
148
|
-
constructor(key) {
|
|
149
|
-
this.key = key;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
new Language('de');
|
|
154
|
-
new Language('fr');
|
|
155
|
-
new Language('it');
|
|
156
|
-
new Language('en');
|
|
157
|
-
new Language('nl');
|
|
158
|
-
new Language('lb');
|
|
159
|
-
|
|
160
|
-
const INTEGRATION_BASE_URL = 'https://www.baloise.ch';
|
|
161
|
-
const INTEGRATION_BASE_PATH = '/app-integration';
|
|
162
|
-
const getIntegrationBaseUrl = () => {
|
|
163
|
-
const host = getHost();
|
|
164
|
-
if (host && host.indexOf('www.baloise.ch') >= 0) {
|
|
165
|
-
return `https://${host}`;
|
|
166
|
-
}
|
|
167
|
-
return INTEGRATION_BASE_URL;
|
|
168
|
-
};
|
|
169
|
-
const getIntegrationUrl = (lang, region = 'CH', type = IntegrationType.FOOTER, version = 'v2') => {
|
|
170
|
-
let langPath = lang.key;
|
|
171
|
-
if (type === IntegrationType.ONETRUST) {
|
|
172
|
-
langPath = 'all';
|
|
173
|
-
}
|
|
174
|
-
else {
|
|
175
|
-
if (region === 'DE') {
|
|
176
|
-
langPath = 'de';
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
return `${getIntegrationBaseUrl()}${INTEGRATION_BASE_PATH}/${version}/${region.toLowerCase()}/${type}/${langPath}.json`;
|
|
180
|
-
};
|
|
181
|
-
const getHost = () => { var _a; return ((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.host) || undefined; };
|
|
182
|
-
var IntegrationType;
|
|
183
|
-
(function (IntegrationType) {
|
|
184
|
-
IntegrationType["FOOTER"] = "footer";
|
|
185
|
-
IntegrationType["SOCIAL_MEDIA"] = "socialmediachannels";
|
|
186
|
-
IntegrationType["ONETRUST"] = "onetrust";
|
|
187
|
-
})(IntegrationType || (IntegrationType = {}));
|
|
188
|
-
|
|
189
|
-
const loadFooterLinks = (lang, region = 'CH') => {
|
|
190
|
-
const url = getIntegrationUrl(lang, region, IntegrationType.FOOTER);
|
|
191
|
-
return fetch(url)
|
|
192
|
-
.then(res => res.json())
|
|
193
|
-
.then(res => res);
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
const loadSocialMediaLinks = (lang, region = 'CH') => {
|
|
197
|
-
const url = getIntegrationUrl(lang, region, IntegrationType.SOCIAL_MEDIA, 'v1');
|
|
198
|
-
return fetch(url)
|
|
199
|
-
.then(res => res.json())
|
|
200
|
-
.then(res => res);
|
|
201
|
-
};
|
|
202
|
-
|
|
203
13
|
const i18nBalFooter = {
|
|
204
14
|
en: {
|
|
205
15
|
name: 'English',
|
|
@@ -322,14 +132,14 @@ const Footer = /*@__PURE__*/ proxyCustomElement(class Footer extends HTMLElement
|
|
|
322
132
|
const elWrapper = elLanguage.element('wrapper');
|
|
323
133
|
const elLegalLinks = elLinksContainer.element('legal-links');
|
|
324
134
|
const elSocialMediaLinks = elLinksContainer.element('social-media-links');
|
|
325
|
-
return (h(Host, { key: '
|
|
135
|
+
return (h(Host, { key: 'dbb10b62df792021f3ee814990225a5141906dcf', class: Object.assign({}, block.class()) }, h("footer", { key: '9bb866cae3936c2caf1cc7e63879c4681d2ee1a8', class: Object.assign({}, elInner.class()) }, h("div", { key: 'aee0462f8b07cf1c546647b67434bbbd0b0ce582', class: Object.assign({}, elInnerWrapper.class()) }, h("div", { key: '5b9b7a54156c1eb5dba8096c7a6add4939d0626d', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elHeaderContainer.class()) }, h("div", { key: '632b26b347fe91b95d72e725db22bebcb303facf', class: Object.assign({}, elLogo.class()) }, h("bal-logo", { key: 'e91b5cd73918ff9fbd7910e563b29a1396299942', color: "white" })), h("div", { key: '25a3bc1c711f33114df091fe4ed4de5f2e4298f6', class: Object.assign({}, elLanguage.class()), style: {
|
|
326
136
|
display: this.hideLanguageSelection || this.allowedLanguages.length <= 1 ? 'none' : 'flex',
|
|
327
|
-
} }, h("div", { key: '
|
|
137
|
+
} }, h("div", { key: '0d6f3a4ef5db0a8973c2baa293d02badbf25ab8c', class: Object.assign({}, elWrapper.class()) }, h("bal-icon", { key: 'ffa4e67aa6d2210f5739c5114127e46f50e2f31b', class: Object.assign({}, elWrapper.element('icon').class()), name: "web", color: "white" }), h("select", { key: '0d3061a89a4fe04aecbb5498fa03ce263e8447ab', class: Object.assign({}, elWrapper.element('select').class()), onChange: event => this.changeLanguage(event.target.value), "data-testid": "bal-footer-language" }, this.allowedLanguages.map(language => (h("option", { key: language, value: language, selected: language === this.language }, language.toLocaleUpperCase() + ' - ' + i18nBalFooter[language].name))))))), h("div", { key: 'ca5e0091909a9c8fd92ca69f3d8937d0b976bee2', class: Object.assign({}, elSlot.class()) }, h("slot", { key: '42575b0eb8ecc7e12679b28786ed27484088d01d' })), h("div", { key: '3600fe32dfeeea73ff2afac7ce8549d5e52bfb04', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elLinksContainer.class()) }, h("div", { key: '697a4f34081dbc8255b02425b2f2fcd0285670bf', class: Object.assign({}, elSocialMediaLinks.class()), style: {
|
|
328
138
|
display: !this.showSocialMedia ? 'none' : 'flex',
|
|
329
139
|
} }, this.socialMediaLinks.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
|
|
330
140
|
'link': true,
|
|
331
141
|
'is-inverted': true,
|
|
332
|
-
} }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '
|
|
142
|
+
} }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '3b91222ee07a7c7d5e1995f5180398272fd6d92e', class: Object.assign({}, elLegalLinks.class()), style: { display: this.hideLinks ? 'none' : 'flex' } }, this.links.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
|
|
333
143
|
'link': true,
|
|
334
144
|
'is-light': true,
|
|
335
145
|
} }, link.label)))))))));
|
|
@@ -8,7 +8,7 @@ const FormCol = /*@__PURE__*/ proxyCustomElement(class FormCol extends HTMLEleme
|
|
|
8
8
|
this.size = 'full';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '5ee1da91eaa100771f43f5ca80e01ac5a47a5d5f', class: {
|
|
12
12
|
[`${this.colClass}`]: true,
|
|
13
13
|
'py-none': true,
|
|
14
14
|
'touch:is-12': true,
|
|
@@ -18,7 +18,7 @@ const FormCol = /*@__PURE__*/ proxyCustomElement(class FormCol extends HTMLEleme
|
|
|
18
18
|
'is-8': this.size === 'two-thirds',
|
|
19
19
|
'is-3': this.size === 'one-quarter',
|
|
20
20
|
'is-9': this.size === 'three-quarters',
|
|
21
|
-
} }, h("slot", { key: '
|
|
21
|
+
} }, h("slot", { key: '498c7e5a0b163c2cb3e465cb43087db432f92650' })));
|
|
22
22
|
}
|
|
23
23
|
get el() { return this; }
|
|
24
24
|
}, [4, "bal-form-col", {
|
|
@@ -9,7 +9,7 @@ const FormGrid = /*@__PURE__*/ proxyCustomElement(class FormGrid extends HTMLEle
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '7dd05e54b6f2070956b4630a542c249734981731', class: `bal-form-grid grid is-multiline my-none py-none` }, h("slot", { key: 'd9490a9e4153d985dad9258dc795ea1b092930f4' })));
|
|
13
13
|
}
|
|
14
14
|
static get style() { return BalFormGridStyle0; }
|
|
15
15
|
}, [4, "bal-form-grid"]);
|
package/components/bal-form.js
CHANGED
|
@@ -29,7 +29,7 @@ const Form = /*@__PURE__*/ proxyCustomElement(class Form extends HTMLElement {
|
|
|
29
29
|
novalidate: this.novalidate,
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'ed6e199a51186247ccad8e06989ba9819e43bed2' }, h(NativeEl, Object.assign({ key: 'de4a61e1690819e10096cd1c35eecc0371d73aae' }, attrs, { class: this.formClass }), h("slot", { key: 'f35cce725fc54ad822aada77aabaf6f0babd4141' }))));
|
|
33
33
|
}
|
|
34
34
|
get el() { return this; }
|
|
35
35
|
static get style() { return BalFormStyle0; }
|
|
@@ -143,7 +143,7 @@ const Heading = /*@__PURE__*/ proxyCustomElement(class Heading extends HTMLEleme
|
|
|
143
143
|
const bemTextEl = block.element('text');
|
|
144
144
|
const Heading = this.tag;
|
|
145
145
|
const fontColor = this.fontColor;
|
|
146
|
-
return (h(Host, { key: '
|
|
146
|
+
return (h(Host, { key: '0a723b1f41cbd6af93aecd84ce5ee39ef6c29d24', class: Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`space-${this.space}`).class(this.space !== undefined)), block.modifier(`level-${this.level}`).class()) }, h(Heading, { key: '16e782645408fb537c1f466ee547301f61b71b24', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, bemTextEl.class()), bemTextEl.modifier('no-wrap').class(this.noWrap)), bemTextEl.modifier('subtitle').class(this.subtitle)), bemTextEl.modifier('shadow').class(this.shadow)), bemTextEl.modifier(`color-${fontColor}`).class()), bemTextEl.modifier(`size-${this.autoFontSize}`).class()), ref: (headingEl) => (this.headingEl = headingEl), "data-testid": "bal-heading" }, h("slot", { key: 'c9a7f343eada2e03fe4b58f70ffb9856842b1137' }))));
|
|
147
147
|
}
|
|
148
148
|
get el() { return this; }
|
|
149
149
|
static get watchers() { return {
|
|
@@ -11,7 +11,7 @@ const HintText = /*@__PURE__*/ proxyCustomElement(class HintText extends HTMLEle
|
|
|
11
11
|
const elContent = block.element('content');
|
|
12
12
|
const elText = elContent.element('text');
|
|
13
13
|
const elTextField = elText.element('field');
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '24898db6c3c51d19a7df6552a2e0f370c8812f95', class: Object.assign({}, elText.class()) }, h("p", { key: '2ff7501b81213d1a553f2a9a9c98df6d9577e5e8', class: Object.assign({}, elTextField.class()) }, h("slot", { key: 'e2f5ecd78ad99fc53713576807011f39884ad7fb' }))));
|
|
15
15
|
}
|
|
16
16
|
}, [4, "bal-hint-text"]);
|
|
17
17
|
function defineCustomElement() {
|
|
@@ -11,7 +11,7 @@ const HintTitle = /*@__PURE__*/ proxyCustomElement(class HintTitle extends HTMLE
|
|
|
11
11
|
const elContent = block.element('content');
|
|
12
12
|
const elTitle = elContent.element('title');
|
|
13
13
|
const elHeading = elTitle.element('heading');
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '6304fd03629ecdbaeff48777da6e9950a02e02bf', class: Object.assign({}, elTitle.class()) }, h("h3", { key: '5cdfc4c2319f7b8b17f23d02aeae7cbc534134af', class: Object.assign({}, elHeading.class()) }, h("span", { key: '6e5ce498f0574fe356778d87fb98f59b446bd8e3' }, h("slot", { key: '9604fad3ee38908e2a51ab295e7d17dad7b3d7fc' })))));
|
|
15
15
|
}
|
|
16
16
|
}, [4, "bal-hint-title"]);
|
|
17
17
|
function defineCustomElement() {
|
package/components/bal-hint2.js
CHANGED
|
@@ -14,7 +14,7 @@ import { L as ListenToBreakpoints } from './breakpoints.decorator.js';
|
|
|
14
14
|
import { L as ListenToConfig } from './config.decorator.js';
|
|
15
15
|
import { i as isEnterKey, a as isSpaceKey } from './keyboard.helpers.js';
|
|
16
16
|
|
|
17
|
-
const balHintCss = ":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}
|
|
17
|
+
const balHintCss = "@media (hover: hover)and (pointer: fine){.bal-hint__icon:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle{fill:var(--bal-color-light-blue-5)}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__content__text__field{font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);line-height:var(--bal-text-line-height-text);font-size:var(--bal-text-size-normal)}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";
|
|
18
18
|
const BalHintStyle0 = balHintCss;
|
|
19
19
|
|
|
20
20
|
const Hint = /*@__PURE__*/ proxyCustomElement(class Hint extends HTMLElement {
|
|
@@ -120,7 +120,12 @@ const Hint = /*@__PURE__*/ proxyCustomElement(class Hint extends HTMLElement {
|
|
|
120
120
|
const padding = this.isMobile ? 0 : 8;
|
|
121
121
|
const offsetY = this.isMobile ? 0 : 16;
|
|
122
122
|
const TriggerIcon = () => {
|
|
123
|
-
return (h("bal-icon", { class: Object.assign({}, elIcon.class()), "data-testid": "bal-hint-trigger", "bal-popover-trigger": true, "aria-haspopup": "true", role: "button", name: "info-circle", tabindex: 0, onClick: () => this.toggle(), onKeyDown: event =>
|
|
123
|
+
return (h("bal-icon", { class: Object.assign({}, elIcon.class()), "data-testid": "bal-hint-trigger", "bal-popover-trigger": true, "aria-haspopup": "true", role: "button", name: "info-circle", tabindex: 0, onClick: () => this.toggle(), onKeyDown: event => {
|
|
124
|
+
if (isEnterKey(event) || isSpaceKey(event)) {
|
|
125
|
+
event.preventDefault();
|
|
126
|
+
this.toggle();
|
|
127
|
+
}
|
|
128
|
+
} }));
|
|
124
129
|
};
|
|
125
130
|
const HintContent = () => {
|
|
126
131
|
return (h("div", { class: Object.assign({}, elContent.class()), "data-testid": "bal-hint-content" }, h("div", { ref: el => (this.hintContentEl = el) }), h("bal-button-group", { class: Object.assign(Object.assign({}, elButtons.class()), elButtons.modifier('is-hidden-desktop').class(this.small)) }, h("bal-button", { "data-testid": "bal-hint-close", color: "info", onClick: () => this.dismiss() }, this.closeLabel ? this.closeLabel : this.innerCloseLabel))));
|
package/components/bal-icon2.js
CHANGED
|
@@ -2296,6 +2296,8 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
2296
2296
|
this.svg = '';
|
|
2297
2297
|
this.size = '';
|
|
2298
2298
|
this.color = '';
|
|
2299
|
+
this.colorHovered = '';
|
|
2300
|
+
this.colorPressed = '';
|
|
2299
2301
|
this.tile = false;
|
|
2300
2302
|
this.tileColor = '';
|
|
2301
2303
|
this.inline = false;
|
|
@@ -2332,6 +2334,15 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
2332
2334
|
this.generateSvgContent(this.name);
|
|
2333
2335
|
}
|
|
2334
2336
|
parseColor() {
|
|
2337
|
+
if (this.colorHovered && this.hovered) {
|
|
2338
|
+
return this.colorHovered;
|
|
2339
|
+
}
|
|
2340
|
+
if (this.colorPressed && this.pressed) {
|
|
2341
|
+
return this.colorPressed;
|
|
2342
|
+
}
|
|
2343
|
+
if (this.colorHovered && this.colorPressed) {
|
|
2344
|
+
return this.color;
|
|
2345
|
+
}
|
|
2335
2346
|
if (!!this.disabled) {
|
|
2336
2347
|
return 'grey';
|
|
2337
2348
|
}
|
|
@@ -2346,7 +2357,7 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
2346
2357
|
return 'danger';
|
|
2347
2358
|
}
|
|
2348
2359
|
}
|
|
2349
|
-
if (this.color !== 'auto') {
|
|
2360
|
+
if (this.color !== 'auto' && (this.color === 'primary' || this.color === '')) {
|
|
2350
2361
|
if (this.pressed) {
|
|
2351
2362
|
return 'primary-dark';
|
|
2352
2363
|
}
|
|
@@ -2384,7 +2395,7 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
2384
2395
|
render() {
|
|
2385
2396
|
const color = this.parseColor();
|
|
2386
2397
|
const block = BEM.block('icon');
|
|
2387
|
-
return (h(Host, { key: '
|
|
2398
|
+
return (h(Host, { key: 'f7695780e70a99f7d74c95c8b5895480fbd21198', "aria-hidden": "true", class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('tile').class(this.tile)), block.modifier(`tile-color-${this.tileColor}`).class(this.tile && !!this.tileColor)), block.modifier('is-inverted').class(this.inverted)), block.modifier('is-inline').class(this.inline)), block.modifier('shadow').class(this.shadow)), block.modifier(`is-${this.size}`).class(!!this.size)), block.modifier(`is-${color}`).class()) }, h("div", { key: 'd6c9a271d20bdd2a30ddec595ed60433c428b193', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('inner').class()), block.element('inner').modifier(`turn-${this.name}`).class(this.turn)), block.element('inner').modifier('tile').class(this.tile)), block.modifier(`is-${this.size}`).class(!!this.size)), innerHTML: this.svgContent })));
|
|
2388
2399
|
}
|
|
2389
2400
|
static get watchers() { return {
|
|
2390
2401
|
"name": ["nameChanged"],
|
|
@@ -2396,6 +2407,8 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
|
|
|
2396
2407
|
"svg": [1],
|
|
2397
2408
|
"size": [1],
|
|
2398
2409
|
"color": [1],
|
|
2410
|
+
"colorHovered": [1, "color-hovered"],
|
|
2411
|
+
"colorPressed": [1, "color-pressed"],
|
|
2399
2412
|
"tile": [4],
|
|
2400
2413
|
"tileColor": [1, "tile-color"],
|
|
2401
2414
|
"inline": [4],
|
|
@@ -989,14 +989,14 @@ const InputDate = /*@__PURE__*/ proxyCustomElement(class InputDate extends HTMLE
|
|
|
989
989
|
render() {
|
|
990
990
|
const block = BEM.block('input-date');
|
|
991
991
|
const native = block.element('native');
|
|
992
|
-
return (h(Host, { key: '
|
|
992
|
+
return (h(Host, { key: 'f40927d913ec705fdc87137c6b47aadd7549f187', onClick: (event) => this.maskAdapter.bindHostClick(event), class: Object.assign({}, block.class()) }, h("input", Object.assign({ key: '175e4b3d9ff2df12c4b663bd4927dee2fddd14ab', class: {
|
|
993
993
|
'input': true,
|
|
994
994
|
'is-disabled': this.disabled || this.readonly,
|
|
995
995
|
'is-danger': this.invalid,
|
|
996
996
|
'is-clickable': this.clickable && !(this.disabled || this.readonly),
|
|
997
997
|
'bal-focusable': !this.disabled,
|
|
998
998
|
'has-icon-right': this.hasIconRight,
|
|
999
|
-
}, "data-testid": "bal-date-input", ref: el => (this.nativeInput = el), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), required: this.required, disabled: this.disabled, readonly: this.readonly, autoComplete: this.autocomplete }, this.maskAdapter.attributes, this.inheritedAttributes, { placeholder: this.placeholder, value: this.inputValue, onKeyDown: event => this.maskAdapter.bindKeyDown(event), onClick: event => this.maskAdapter.bindClick(event), onFocus: event => this.maskAdapter.bindFocus(event), onBlur: event => this.maskAdapter.bindBlur(event), onPaste: event => this.maskAdapter.bindPaste(event) })), h("input", { key: '
|
|
999
|
+
}, "data-testid": "bal-date-input", ref: el => (this.nativeInput = el), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), required: this.required, disabled: this.disabled, readonly: this.readonly, autoComplete: this.autocomplete }, this.maskAdapter.attributes, this.inheritedAttributes, { placeholder: this.placeholder, value: this.inputValue, onKeyDown: event => this.maskAdapter.bindKeyDown(event), onClick: event => this.maskAdapter.bindClick(event), onFocus: event => this.maskAdapter.bindFocus(event), onBlur: event => this.maskAdapter.bindBlur(event), onPaste: event => this.maskAdapter.bindPaste(event) })), h("input", { key: 'c1dfb6ccecd24a345e3de3dfb33e436dfbf98615', type: "date", class: Object.assign({}, native.class()), name: this.name, min: this.min, max: this.max, value: this.value, tabindex: -1, "aria-hidden": "true" })));
|
|
1000
1000
|
}
|
|
1001
1001
|
get el() { return this; }
|
|
1002
1002
|
static get watchers() { return {
|
|
@@ -18,7 +18,7 @@ const InputGroup = /*@__PURE__*/ proxyCustomElement(class InputGroup extends HTM
|
|
|
18
18
|
const hasDanger = this.invalid;
|
|
19
19
|
const disabledClass = 'is-disabled';
|
|
20
20
|
const hasDisabled = this.disabled || this.readonly;
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '8f4dbc85cf4f85478b35d74e150a0776ede42446', class: Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(dangerClass).class(hasDanger)), block.modifier(disabledClass).class(hasDisabled)) }, h("slot", { key: 'd3060925b6928994bebeb78791a0028ffc6ac5ac' })));
|
|
22
22
|
}
|
|
23
23
|
get el() { return this; }
|
|
24
24
|
static get style() { return BalInputGroupStyle0; }
|
|
@@ -6,7 +6,7 @@ import { B as BEM } from './bem.js';
|
|
|
6
6
|
import { d as defaultBalAriaForm } from './form.js';
|
|
7
7
|
import { a as ariaBooleanToString } from './aria.js';
|
|
8
8
|
|
|
9
|
-
const balInputSliderCss = ".bal-input-slider{display:block;position:relative;width:100%;-ms-flex:1;flex:1;font-family:var(--bal-font-family-text);-ms-flex-direction:column;flex-direction:column;min-height:3rem}.bal-input-slider__background{position:absolute;top:1rem;left:0px;right:0px;z-index:0;border-radius:var(--bal-radius-rounded);background:var(--bal-color-green);height:1rem;width:100%;overflow:hidden}.bal-input-slider__background__upper,.bal-input-slider__background__lower{position:absolute;top:0;width:50%;margin:0;cursor:pointer}.bal-input-slider__background__upper>div,.bal-input-slider__background__lower>div{height:1rem;border-radius:0}.bal-input-slider__background__upper{right:0px}.bal-input-slider__background__upper>div{background:var(--bal-color-green);border-top-right-radius:var(--bal-radius-rounded);border-bottom-right-radius:var(--bal-radius-rounded)}.bal-input-slider__background__lower{left:0px}.bal-input-slider__background__lower>div{background:var(--bal-color-green-5);border-top-left-radius:var(--bal-radius-rounded);border-bottom-left-radius:var(--bal-radius-rounded)}.bal-input-slider__background--disabled{cursor:default;pointer-events:none;background:var(--bal-color-grey-2)}.bal-input-slider__background--disabled .bal-input-slider__background__upper__inner{background:var(--bal-color-grey-2)}.bal-input-slider__background--disabled .bal-input-slider__background__lower__inner{background:var(--bal-color-grey-4)}.bal-input-slider__input{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;min-height:3rem}.bal-input-slider__input__native{-webkit-appearance:none;margin:0;background:rgba(0,0,0,0);z-index:1;outline:none;min-width:12.5rem;width:100%}.bal-input-slider__input__native::-webkit-slider-runnable-track{width:100%;cursor:pointer;border:none}.bal-input-slider__input__native::-webkit-slider-thumb{-webkit-box-shadow:none;box-shadow:none;border:3px solid var(--bal-color-white);height:1rem;width:1rem;border-radius:var(--bal-radius-rounded);background:var(--bal-color-primary);cursor:pointer;-webkit-appearance:none}.bal-input-slider__input__native:focus-visible{outline:none}.bal-input-slider__input__native:focus-visible::-webkit-slider-thumb
|
|
9
|
+
const balInputSliderCss = ".bal-input-slider{display:block;position:relative;width:100%;-ms-flex:1;flex:1;font-family:var(--bal-font-family-text);-ms-flex-direction:column;flex-direction:column;min-height:3rem}.bal-input-slider__background{position:absolute;top:1rem;left:0px;right:0px;z-index:0;border-radius:var(--bal-radius-rounded);background:var(--bal-color-green);height:1rem;width:100%;overflow:hidden}.bal-input-slider__background__upper,.bal-input-slider__background__lower{position:absolute;top:0;width:50%;margin:0;cursor:pointer}.bal-input-slider__background__upper>div,.bal-input-slider__background__lower>div{height:1rem;border-radius:0}.bal-input-slider__background__upper{right:0px}.bal-input-slider__background__upper>div{background:var(--bal-color-green);border-top-right-radius:var(--bal-radius-rounded);border-bottom-right-radius:var(--bal-radius-rounded)}.bal-input-slider__background__lower{left:0px}.bal-input-slider__background__lower>div{background:var(--bal-color-green-5);border-top-left-radius:var(--bal-radius-rounded);border-bottom-left-radius:var(--bal-radius-rounded)}.bal-input-slider__background--disabled{cursor:default;pointer-events:none;background:var(--bal-color-grey-2)}.bal-input-slider__background--disabled .bal-input-slider__background__upper__inner{background:var(--bal-color-grey-2)}.bal-input-slider__background--disabled .bal-input-slider__background__lower__inner{background:var(--bal-color-grey-4)}.bal-input-slider__input{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;min-height:3rem}.bal-input-slider__input__native{-webkit-appearance:none;margin:0;background:rgba(0,0,0,0);z-index:1;outline:none;min-width:12.5rem;width:100%}.bal-input-slider__input__native::-webkit-slider-runnable-track{width:100%;cursor:pointer;border:none}.bal-input-slider__input__native::-webkit-slider-thumb{-webkit-box-shadow:none;box-shadow:none;border:3px solid var(--bal-color-white);height:1rem;width:1rem;border-radius:var(--bal-radius-rounded);background:var(--bal-color-primary);cursor:pointer;-webkit-appearance:none}.bal-input-slider__input__native:focus-visible{outline:none}.bal-input-slider__input__native:focus-visible::-webkit-slider-thumb{height:1.5rem;width:1.5rem;background:var(--bal-color-white);border:4px solid var(--bal-color-primary);-webkit-box-shadow:0 0 0 .75rem rgba(255,255,255,.3);box-shadow:0 0 0 .75rem rgba(255,255,255,.3);outline:none;position:relative}.bal-input-slider__input__native:focus-visible::-moz-range-thumb{height:1.5rem;width:1.5rem;background:var(--bal-color-white);border:4px solid var(--bal-color-primary);box-shadow:0 0 0 .75rem rgba(255,255,255,.3);outline:none;position:relative}.bal-input-slider__input__native::-moz-range-track{cursor:pointer;box-shadow:none;background:rgba(0,0,0,0);width:100%;border:none;z-index:2}.bal-input-slider__input__native::-moz-range-thumb{box-shadow:none;border:3px solid var(--bal-color-white);height:.625rem;width:.625rem;border-radius:var(--bal-radius-rounded);background:var(--bal-color-primary);cursor:pointer}.bal-input-slider__input__native::-ms-track{cursor:pointer;box-shadow:none;background:rgba(0,0,0,0);width:100%;border:none;z-index:2}.bal-input-slider__input__native::-ms-fill-lower{background:rgba(0,0,0,0);border:none;box-shadow:none}.bal-input-slider__input__native::-ms-fill-upper{background:rgba(0,0,0,0);border:none;box-shadow:none}.bal-input-slider__input__native::-ms-thumb{box-shadow:none;border:3px solid var(--bal-color-white);height:1rem;width:1rem;border-radius:var(--bal-radius-rounded);background:var(--bal-color-primary);cursor:pointer;-webkit-appearance:none;z-index:2}.bal-input-slider__input__native:focus::-ms-fill-lower{background:rgba(0,0,0,0)}.bal-input-slider__input__native:focus::-ms-fill-upper{background:rgba(0,0,0,0)}.bal-input-slider__input__native--disabled::-webkit-slider-thumb{background:var(--bal-color-grey-5)}.bal-input-slider__input__native--disabled::-ms-thumb{background:var(--bal-color-grey-5)}.bal-input-slider__input__native--disabled::-moz-range-thumb{background:var(--bal-color-grey-5)}.bal-input-slider__steps{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;min-height:.5rem;margin:-0.625rem .5rem;-ms-flex-pack:justify;justify-content:space-between}.bal-input-slider__steps__item{width:.125rem;border-radius:var(--bal-radius-rounded);background-color:var(--bal-color-primary)}.bal-input-slider__steps__item--disabled{background:var(--bal-color-grey-4)}@-moz-document url-prefix(){.bal-input-slider__steps{margin:0 .5rem !important}}";
|
|
10
10
|
const BalInputSliderStyle0 = balInputSliderCss;
|
|
11
11
|
|
|
12
12
|
const InputSlider = /*@__PURE__*/ proxyCustomElement(class InputSlider extends HTMLElement {
|
|
@@ -157,11 +157,11 @@ const InputSlider = /*@__PURE__*/ proxyCustomElement(class InputSlider extends H
|
|
|
157
157
|
const inputValueRightEl = inputValueEl.modifier('right');
|
|
158
158
|
const stepsEl = block.element('steps');
|
|
159
159
|
const stepsItemEl = stepsEl.element('item');
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'ced88f04a8412d9c00f64f4a588259083d9986b2', class: Object.assign(Object.assign({}, block.class()), block.modifier('disabled').class(this.disabled || this.readonly)), onClick: this.handleClick, "aria-disabled": ariaBooleanToString(this.disabled || this.readonly) }, h("div", { key: 'ec99e4442438f51fb47e6ee7da080649c4ec9ebb', class: Object.assign(Object.assign({}, backgroundEl.class()), backgroundEl.modifier('disabled').class(this.disabled || this.readonly)) }, h("div", { key: '4afda06efc6af4a027ef6291b4ad5cc3af3a1c70', class: Object.assign({}, backgroundUpperEl.class()), style: {
|
|
161
161
|
width: this.cssWidth(),
|
|
162
|
-
} }, h("div", { key: '
|
|
162
|
+
} }, h("div", { key: '1cdfcacd60179c9b7cb2a4cb2f8cc265b9ff3bf9', class: Object.assign({}, backgroundUpperInnerEl.class()) })), h("div", { key: 'b78eb2d0286cccd8394bcb460f7fd9cbc66124fc', class: Object.assign({}, backgroundLowerEl.class()), style: {
|
|
163
163
|
width: this.cssWidth(true),
|
|
164
|
-
} }, h("div", { key: '
|
|
164
|
+
} }, h("div", { key: 'bf7c89eeeb25df825521a0462e070dccd65df7dc', class: Object.assign({}, backgroundLowerInnerEl.class()) }))), h("div", { key: 'f3d7033c33b696170c85a1bc6a4f0557eed2a45f', class: Object.assign({}, inputEl.class()) }, h("div", { key: '237300025fdb1ea927bf9ba2d79f908735b7b0d5', class: Object.assign(Object.assign({}, inputValueEl.class()), inputValueLeftEl.class()) }), h("input", { key: '7437e049efcf5cac5fb2d1d107b9696afd745ed8', type: "range", class: Object.assign(Object.assign({}, inputNativeEl.class()), inputNativeEl.modifier('disabled').class(this.disabled || this.readonly)), ref: inputEl => (this.nativeInput = inputEl), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-disabled": ariaBooleanToString(this.disabled), "aria-invalid": this.invalid === true ? 'true' : 'false', disabled: this.disabled, readonly: this.readonly, name: this.name, required: this.required, tabIndex: this.balTabindex, step: this.step, min: this.min, max: this.max, value: this.value !== '' && this.value !== undefined ? this.value : 0, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyPress: e => this.balKeyPress.emit(e), "data-testid": "bal-input-slider" }), h("div", { key: '17bdbd21ccb347ab53f9fb117156a0b1cc881791', class: Object.assign(Object.assign({}, inputValueEl.class()), inputValueRightEl.class()) })), h("div", { key: 'd4f74ee7793bf63c96bd272774bcbbdef0bdcaeb', class: Object.assign({}, stepsEl.class()), style: { display: this.hasTicks ? 'flex' : 'none' } }, this.getNumberOfSteps().map(step => (h("div", { key: step, class: Object.assign(Object.assign({}, stepsItemEl.class()), stepsItemEl.modifier('disabled').class(this.disabled || this.readonly)), "data-step-id": step }))))));
|
|
165
165
|
}
|
|
166
166
|
get el() { return this; }
|
|
167
167
|
static get watchers() { return {
|